:root {
  --paper: #faf5ec;        /* warm off-white */
  --paper-2: #f1e7d5;      /* slightly deeper cream */
  --ink: #1f1810;          /* near-black warm brown — high contrast body */
  --ink-2: #4a3d2f;        /* secondary text, still AA on paper */
  --espresso: #1b130d;     /* dark section bg */
  --espresso-2: #241910;
  --wine: #6e2230;         /* deep bordeaux */
  --wine-bright: #8a2c3c;
  --gold: #a8762f;         /* brass accent */
  --gold-soft: #c79a52;
  --cream: #f4ead6;        /* text on dark */
  --cream-dim: #d8c8ad;
  --line: rgba(31, 24, 16, 0.14);
  --line-light: rgba(244, 234, 214, 0.16);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; width: 100%; }
.narrow { max-width: 680px; }
.center { text-align: center; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(250, 245, 236, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--wine);
}
.brand span { color: var(--ink); font-style: italic; font-weight: 400; }
.header__right { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.nav { display: flex; gap: 34px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500; }
.lang {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600;
}
.lang span { color: var(--line); }
.lang a { color: var(--ink-2); transition: color 0.15s var(--ease-out); }
.lang a:hover { color: var(--wine); }
.lang a.is-active { color: var(--wine); }
.lang a:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 2px; }
.nav a { color: var(--ink-2); position: relative; padding: 4px 0; transition: color 0.15s var(--ease-out); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--wine); transition: width 0.2s var(--ease-out); }
.nav a:hover { color: var(--wine); }
.nav a:hover::after { width: 100%; }
.nav a:focus-visible, .brand:focus-visible, .btn:focus-visible, .hero__cue:focus-visible {
  outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #1b130d url("assets/hero.jpg") center 58% / cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(86deg, rgba(15,10,6,0.80) 0%, rgba(15,10,6,0.42) 48%, rgba(15,10,6,0.10) 100%),
    linear-gradient(180deg, rgba(15,10,6,0.35) 0%, rgba(15,10,6,0) 28%, rgba(15,10,6,0.55) 100%);
}
.hero__content { position: relative; color: var(--cream); }
.hero h1 {
  font-size: clamp(3.6rem, 11vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0.16em 0 0.34em;
  color: #fdf6e8;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero__lead {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 24ch;
  color: #f3e8d4;
}
.hero__cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(244,234,214,0.8);
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.22em;
}
.hero__cue svg { animation: bob 2s var(--ease-out) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero__cue svg { animation: none; } }

/* ---- Eyebrows / labels ---- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--dark { color: var(--wine); }
.eyebrow--gold { color: var(--gold-soft); }

.index {
  font-family: var(--display);
  font-size: 1.05rem; font-weight: 500; font-style: italic;
  color: var(--gold); margin-bottom: 0.5rem; letter-spacing: 0;
}
.index--light { color: var(--gold-soft); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 1em 2.2em;
  background: var(--wine);
  color: var(--cream);
  font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  border-radius: 2px;
  transition: background 0.15s var(--ease-out), transform 0.12s var(--ease-out);
}
.btn:hover { background: var(--wine-bright); }
.btn:active { transform: translateY(1px); }

/* ---- Sections ---- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section[id], #top { scroll-margin-top: 84px; }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0.45em 0 0;
  max-width: 17ch;
  color: var(--ink);
}
.section__head h2 { margin-top: 0.3em; }
.section p { color: var(--ink-2); font-size: 1.08rem; }
.section__intro { font-size: 1.22rem !important; max-width: 56ch; margin-top: 1.4rem; color: var(--ink-2); }

/* Region split layout */
.split { display: grid; grid-template-columns: 200px 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split__aside { position: sticky; top: 120px; }
.split__aside .index { font-size: 1.6rem; }
.split__body > h2 { margin-bottom: 0.7em; }
.split__body p { margin-bottom: 1.3em; max-width: 62ch; }
.split__body p:last-child { margin-bottom: 0; }
.lead-para {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem) !important;
  font-weight: 300; line-height: 1.42; color: var(--ink) !important;
  margin-bottom: 1.5em;
}
.split__body strong { font-weight: 500; color: var(--wine); }

/* ---- Dark terroir section ---- */
.section--dark { background: var(--espresso); color: var(--cream); position: relative; }
.section--dark h2 { color: #fbf2e2; }
.section--dark .section__head p:not(.eyebrow):not(.index) { color: var(--cream-dim); }

.traits { list-style: none; border-top: 1px solid var(--line-light); }
.trait {
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line-light);
}
.trait__no {
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: 1.3rem; color: var(--gold-soft); margin-bottom: 0.5rem;
}
.trait h3 { font-size: clamp(1.45rem, 5vw, 1.9rem); color: #fbf2e2; margin-bottom: 0.6rem; }
.trait p { color: var(--cream-dim); font-size: 1.04rem; max-width: 62ch; margin: 0; }
@media (min-width: 760px) {
  .trait {
    display: grid;
    grid-template-columns: 80px 1fr 2fr;
    gap: 3rem;
    align-items: baseline;
  }
  .trait__no { margin-bottom: 0; }
  .trait h3 { margin-bottom: 0; }
}

/* ---- Producers ---- */
.producers { border-top: 1px solid var(--line); }
.producer {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: clamp(1.25rem, 4vw, 2.5rem);
  row-gap: 0.5rem;
  padding: clamp(2.2rem, 4.5vw, 3.4rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.producer__media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.producer__media img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: top center;
  /* white product backgrounds dissolve into the cream page */
  mix-blend-mode: multiply;
}
.producer__no {
  font-family: var(--display); font-style: italic; font-size: 1.15rem;
  color: var(--gold); letter-spacing: 0.02em; margin-bottom: 0.3rem;
}
.producer h3 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); margin-bottom: 0.35rem; }
.producer__meta {
  font-family: var(--sans);
  font-size: 0.74rem !important; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold) !important; font-weight: 600;
  margin-bottom: 1.1rem;
}
.producer__main > p:not(.producer__meta) { max-width: 68ch; color: var(--ink-2); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.3rem; }
.tags li {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 0.4em 0.85em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--paper-2);
}
@media (min-width: 820px) {
  .producer { grid-template-columns: 200px 1fr; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .producer__media img { max-height: 380px; }
}

/* ---- More / wider community ---- */
.section--soft { background: var(--paper-2); }

.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.note { border-top: 2px solid var(--wine); padding-top: 1.4rem; }
.note h3 { font-size: clamp(1.6rem, 3vw, 2.05rem); color: var(--ink); margin-bottom: 0.35rem; }
.note__loc {
  font-size: 0.72rem !important; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600; color: var(--gold) !important; margin-bottom: 0.9rem !important;
}
.note p { font-size: 1rem; color: var(--ink-2); }

.growers__label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 600; color: var(--ink-2); margin-bottom: 0.4rem;
}
.growers {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.grower {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.grower__name {
  font-family: var(--display);
  font-size: 1.35rem; line-height: 1.2;
  color: var(--ink);
}
.grower__loc {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600; color: var(--gold);
}

/* ---- CTA ---- */
.section--cta { background: var(--wine); color: var(--cream); text-align: center; }
.section--cta h2 { color: #fbf2e2; margin: 0 auto; max-width: 14ch; }
.section--cta p { max-width: 56ch; margin: 1.4rem auto 0; color: #f3e2d3; font-size: 1.15rem; }

/* ---- Footer ---- */
.site-footer { background: var(--espresso); color: var(--cream-dim); padding: 64px 0; text-align: center; }
.brand--footer { display: block; font-size: 1.7rem; margin-bottom: 0.7rem; color: var(--cream); }
.brand--footer span { color: var(--gold-soft); }
.footer__note { color: var(--cream-dim); font-size: 0.98rem; margin-bottom: 0.45rem; }
.footer__fine { color: #9c8a6f; font-size: 0.82rem; }

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .nav { display: none; }
  .split { grid-template-columns: 1fr; gap: 1.4rem; }
  .split__aside { position: static; display: flex; align-items: baseline; gap: 1rem; }
  .split__aside .index { font-size: 1.2rem; margin-bottom: 0; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
}
