@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #ca5b60;
  --red-dark: #ac474b;
  --ink: #2c2c2c;
  --yellow: #ffc700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  height: 155px;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 892px;
  height: 155px;
  margin: 0 auto;
}

.brand {
  flex: 0 0 115px;
  width: 115px;
  height: 115px;
}

.brand img {
  width: 115px;
  height: 115px;
}

.navigation {
  display: flex;
  align-items: center;
  margin-left: 39px;
}

.navigation a {
  padding: 30px;
  color: var(--ink);
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
}

.navigation a:hover,
.navigation a:focus-visible {
  color: var(--red);
}

.navigation .contact-link {
  margin-left: 21px;
  padding: 15px 25px;
  line-height: 15px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
}

.navigation .contact-link:hover,
.navigation .contact-link:focus-visible {
  background: var(--red-dark);
  color: #fff;
}

.menu-toggle,
.menu-close,
.menu-overlay,
.tablet-contact {
  display: none;
}

.hero {
  position: relative;
  height: 619px;
}

.hero-inner {
  position: relative;
  width: min(1140px, 100%);
  height: 100%;
  margin: 0 auto;
}

.doodle {
  position: absolute;
  z-index: 1;
  width: 560px;
  height: 560px;
}

.doodle-left {
  top: -0.5px;
  left: -314px;
}

.doodle-right {
  top: -0.5px;
  right: -86px;
  opacity: 0.5;
}

.hero-copy {
  position: absolute;
  z-index: 3;
  top: 176px;
  left: 122px;
  width: 380px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--red);
  font-size: 58px;
  font-weight: 700;
  line-height: 69px;
}

.hero-copy p {
  width: 342px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 400;
  line-height: 36px;
}

.hero-art {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 409px;
  width: 577px;
  height: 577px;
}

.site-footer {
  margin-top: 12vw;
}

.grapes {
  height: 110px;
  background: url("images/grapes.jpg") center center / cover no-repeat;
}

.footer-brand {
  height: 151px;
  background: var(--yellow);
}

.footer-inner {
  position: relative;
  width: min(1140px, 100%);
  height: 100%;
  margin: 0 auto;
}

.footer-inner img {
  position: absolute;
  top: 25px;
  right: 0;
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 1024px) and (min-width: 768px) {
  .site-header {
    height: calc(15.23vw + 18px);
  }

  .header-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .brand {
    position: absolute;
    top: 20px;
    left: calc(8vw + 18px);
    width: calc(15.23vw - 22px);
    height: calc(15.23vw - 22px);
  }

  .brand img {
    width: 100%;
    height: 100%;
  }

  .menu-toggle {
    position: absolute;
    top: calc(7.42vw - 5px);
    left: calc(61.72vw - 78px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 45px;
    height: 29px;
    padding: 7px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 27px;
    height: 1px;
    background: rgb(0 0 0 / 50%);
  }

  .tablet-contact {
    position: absolute;
    top: calc(7.42vw - 12px);
    left: calc(61.72vw - 13px);
    display: block;
    width: 105px;
    padding: 15px 0;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    text-decoration: none;
  }

  .tablet-contact:hover,
  .tablet-contact:focus-visible {
    background: var(--red-dark);
  }

  .navigation {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(350px, 90vw);
    height: 100dvh;
    margin: 0;
    padding-top: 70px;
    transform: translateX(105%);
    background: #fff;
    box-shadow: -4px 0 20px rgb(0 0 0 / 12%);
    transition: transform 180ms ease;
  }

  .navigation a {
    margin: 0;
    padding: 10px 15px;
    background: transparent;
    color: #000;
  }

  .navigation .contact-link {
    display: none;
  }

  .menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: block;
    width: 45px;
    height: 45px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 18px;
    cursor: pointer;
  }

  .menu-overlay {
    position: fixed;
    z-index: 40;
    inset: 0;
    border: 0;
    background: rgb(0 0 0 / 45%);
  }

  body.menu-open .navigation {
    transform: translateX(0);
  }

  body.menu-open .menu-overlay {
    display: block;
  }

  .hero {
    height: calc(26.17vw + 252px);
  }

  .hero-copy {
    top: calc(26.95vw - 93px);
    left: calc(5.86vw + 21px);
    width: calc(17.58vw + 180px);
  }

  .hero-copy h1 {
    font-size: 40px;
    line-height: 45px;
  }

  .hero-copy p {
    width: calc(42.97vw - 60px);
    margin-top: 20px;
    font-size: 22px;
    line-height: 28px;
  }

  .hero-art {
    top: 19px;
    left: calc(49.61vw - 111px);
    width: calc(42.97vw + 80px);
    height: calc(42.97vw + 80px);
  }

  .doodle-left {
    top: 8px;
    left: calc(7.42vw - 566px);
    width: 560px;
    height: 560px;
  }

  .doodle-right {
    top: -19px;
    right: calc(10.94vw - 560px);
    width: 560px;
    height: 560px;
  }

  .footer-inner img {
    right: -50px;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 120px;
  }

  .header-inner {
    align-items: flex-start;
    justify-content: space-between;
    width: auto;
    height: 120px;
    margin: 0;
    padding: 20px 74px 0 42px;
  }

  .brand,
  .brand img {
    width: 72px;
    height: 72px;
  }

  .brand {
    flex-basis: 72px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 45px;
    height: 29px;
    margin-top: 22px;
    padding: 7px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 27px;
    height: 1px;
    background: rgb(0 0 0 / 50%);
  }

  .navigation {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(350px, 90vw);
    height: 100dvh;
    margin: 0;
    padding-top: 70px;
    transform: translateX(105%);
    background: #fff;
    box-shadow: -4px 0 20px rgb(0 0 0 / 12%);
    transition: transform 180ms ease;
  }

  .navigation a,
  .navigation .contact-link {
    margin: 0;
    padding: 10px 15px;
    border-radius: 0;
    background: transparent;
    color: #000;
  }

  .menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: block;
    width: 45px;
    height: 45px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 18px;
    cursor: pointer;
  }

  .menu-overlay {
    position: fixed;
    z-index: 40;
    inset: 0;
    border: 0;
    background: rgb(0 0 0 / 45%);
  }

  body.menu-open .navigation {
    transform: translateX(0);
  }

  body.menu-open .menu-overlay {
    display: block;
  }

  .hero {
    height: 395px;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-copy {
    top: 13px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero-copy h1 {
    width: 201px;
    font-size: 28px;
    line-height: 38px;
  }

  .hero-copy p {
    width: 100%;
    margin-top: 14px;
    font-size: 18px;
    line-height: 28px;
  }

  .doodle-left {
    top: 185px;
    left: -116px;
    width: 205px;
    height: 205px;
  }

  .doodle-right {
    top: 9px;
    right: -165px;
    width: 320px;
    height: 320px;
  }

  .hero-art {
    top: 116px;
    left: 87px;
    width: 261px;
    height: 261px;
  }

  .site-footer {
    margin-top: 55vw;
  }

  .footer-brand {
    height: 85px;
  }

  .footer-inner img {
    top: 25px;
    right: -23px;
    width: 75px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .navigation {
    transition: none;
  }
}
