:root {
  --paper: #f6f4ef;
  --ink: #26231f;
  --soft: #69635b;
  --muted: #8b8379;
  --line: rgba(38, 35, 31, 0.1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --header-height: 76px;
  --side: clamp(22px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--side) 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s ease, border-color 0.45s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 244, 239, 0.95);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.site-brand {
  display: block;
  line-height: 0;
}

.site-brand img {
  width: clamp(104px, 8vw, 126px);
  height: auto;
}

.menu-toggle,
.header-contact {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu-toggle {
  justify-self: start;
  gap: 11px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle i {
  position: relative;
  width: 18px;
  height: 8px;
}

.menu-toggle i::before,
.menu-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: top 0.45s var(--ease), transform 0.45s var(--ease);
}

.menu-toggle i::before {
  top: 1px;
}

.menu-toggle i::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] i::before {
  top: 4px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::after {
  top: 4px;
  transform: rotate(-45deg);
}

.header-contact {
  justify-self: end;
  justify-content: flex-end;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) var(--side) 36px;
  background: rgba(246, 244, 239, 0.99);
  opacity: 0;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

.site-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.45s ease, visibility 0s linear 0s;
}

.site-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3.2vh, 30px);
}

.site-menu nav a {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}

.site-menu nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.site-menu nav a:hover::after,
.site-menu nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-menu__footer {
  position: absolute;
  right: var(--side);
  bottom: 30px;
  left: var(--side);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-menu__footer div {
  display: flex;
  gap: 25px;
}

.site-menu__footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding:
    calc(var(--header-height) + env(safe-area-inset-top, 0px) + 30px)
    var(--side)
    clamp(54px, 7vh, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__art {
  width: min(58vw, 660px);
  margin-top: auto;
  opacity: 0.9;
  mix-blend-mode: multiply;
}

.hero__art img {
  width: 100%;
  height: auto;
}

.hero__copy {
  margin: clamp(22px, 3vh, 32px) 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.65vw, 25px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
}

.hero__copy p {
  margin: 5px 0 0;
  color: var(--soft);
  font-family: var(--serif);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.45;
  text-wrap: balance;
}

.js .hero__art,
.js .hero__copy {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 1.35s ease, transform 1.35s var(--ease);
}

.js .hero__copy {
  transition-delay: 0.18s;
}

.is-ready .hero__art {
  opacity: 0.9;
  transform: translateY(0);
}

.is-ready .hero__copy {
  opacity: 1;
  transform: translateY(0);
}

.about {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(140px, 16vw, 230px) var(--side);
  text-align: center;
}

.section-label {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about__copy {
  max-width: 570px;
  margin: 0 auto;
}

.about h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
}

.about__body {
  margin: 24px auto 0;
  color: var(--soft);
  font-family: var(--serif);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.62;
  text-wrap: pretty;
}

.vignerons {
  padding: clamp(110px, 13vw, 180px) var(--side);
  border-top: 1px solid var(--line);
}

.vignerons__heading {
  max-width: 620px;
  margin: 0 auto clamp(72px, 9vw, 112px);
  text-align: center;
}

.vignerons__heading .section-label {
  margin-bottom: 24px;
}

.vignerons__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
}

.regions {
  max-width: 900px;
  margin: 0 auto;
}

.region {
  padding: clamp(28px, 3.5vw, 42px) 0;
  text-align: center;
}

.region + .region {
  border-top: 1px solid var(--line);
}

.region h3 {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.producer-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.05em;
  row-gap: 0.06em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
}

.producer-list li {
  white-space: nowrap;
}

.contact {
  min-height: 78vh;
  min-height: 78svh;
  padding: clamp(110px, 15vw, 200px) var(--side) 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact__mark {
  width: clamp(68px, 7vw, 88px);
  height: auto;
  margin-top: 24px;
  opacity: 0.76;
  mix-blend-mode: multiply;
}

.contact__email {
  margin-top: 36px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.04em;
}

.contact__social {
  display: flex;
  gap: 28px;
  margin-top: 25px;
}

.contact__social a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer {
  width: 100%;
  margin-top: auto;
  padding-top: clamp(80px, 12vw, 150px);
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 1.05s ease, transform 1.05s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  :root {
    --header-height: 70px;
  }

  .menu-toggle > span,
  .header-contact {
    display: none;
  }

  .hero {
    min-height: auto;
    padding:
      calc(var(--header-height) + env(safe-area-inset-top, 0px) + 16px)
      var(--side)
      56px;
    justify-content: flex-start;
  }

  .hero__art {
    width: min(82vw, 460px);
    margin-top: clamp(16px, 3vh, 28px);
  }

  .hero__copy {
    margin: 22px 0 0;
  }

  .about {
    padding-top: 72px;
    padding-bottom: 112px;
    text-align: center;
  }

  .vignerons__heading {
    text-align: center;
  }

  .producer-list {
    line-height: 1.55;
  }

  .site-menu__footer {
    flex-direction: column;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .hero__art {
    opacity: 0.9;
    transform: none;
  }

  .js .hero__copy,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
