/* ==========================================================================
   Monarey Winery — design tokens
   ========================================================================== */
:root {
  /* Surfaces */
  --ink: #0b0a09;
  --ink-2: #14110f;
  --ink-3: #1f1a17;
  --paper: #faf7f2;
  --bone: #f3eee6;
  --stone: #e8e1d6;

  /* Text */
  --on-dark: #f3eee6;
  --on-dark-muted: #b3aca3;
  --on-light: #1a1512;
  --on-light-muted: #5b5149;

  /* Brand (from the butterfly mark) */
  --wine: #7d1520;
  --wine-bright: #a3202b;
  --amber: #e38b2c;
  --gold: #c7a26a;

  --line-dark: rgba(243, 238, 230, 0.16);
  --line-light: rgba(26, 21, 18, 0.14);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.8rem);
  --step-5: clamp(3rem, 2rem + 4.8vw, 6.4rem);

  /* Space (spacious 8pt rhythm) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: clamp(5rem, 3rem + 7vw, 10rem);

  --container: 1320px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  --header-h: 84px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 450ms;
  --dur-slow: 1100ms;

  --z-header: 100;
  --z-menu: 200;
  --z-gate: 1000;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--wine); color: var(--on-dark); }

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 9999;
  background: var(--bone); color: var(--on-light); padding: 0.75rem 1.25rem;
}
.skip-link:focus { top: var(--s-2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-family: var(--font-sans); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 var(--s-3);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }

.display {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.06em; line-height: 1.02; text-wrap: balance;
}
.display em { font-style: italic; text-transform: none; letter-spacing: 0; color: var(--gold); font-weight: 400; }
.h-xl { font-size: var(--step-5); }
.h-lg { font-size: var(--step-4); }
.h-md { font-size: var(--step-3); }
.h-sm { font-size: var(--step-2); }
.lede {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 400;
  line-height: 1.35; text-wrap: balance;
}
.muted { color: var(--on-dark-muted); }
.prose { max-width: 62ch; }
.prose p { color: var(--on-dark-muted); }
.theme-light .prose p, .theme-stone .prose p { color: var(--on-light-muted); }
.center { text-align: center; margin-inline: auto; }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  --btn-fg: var(--on-dark); --btn-bd: var(--on-dark); --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75em;
  min-height: 52px; padding: 0.9rem 2rem;
  border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
  cursor: pointer; touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--on-dark); --btn-fg: var(--ink); }
.btn--solid { --btn-bg: var(--wine); --btn-bd: var(--wine); --btn-fg: var(--on-dark); }
.btn--solid:hover { --btn-bg: var(--wine-bright); --btn-bd: var(--wine-bright); --btn-fg: var(--on-dark); }
.btn--dark { --btn-fg: var(--on-light); --btn-bd: var(--on-light); }
.btn--dark:hover { --btn-bg: var(--on-light); --btn-fg: var(--bone); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.72rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.8em;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  padding-block: 0.6rem; border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Announcement bar + header
   ========================================================================== */
.announce {
  position: relative; z-index: calc(var(--z-header) + 1);
  background: var(--wine); color: var(--on-dark);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400;
  text-align: center; padding: 0.6rem var(--gutter);
}
.announce a { border-bottom: 1px solid rgba(243, 238, 230, 0.5); padding-bottom: 1px; }
.announce a:hover { border-color: var(--on-dark); }
.announce__short { display: none; }
@media (max-width: 640px) {
  .announce { letter-spacing: 0.16em; }
  .announce__long { display: none; }
  .announce__short { display: inline; }
}

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  height: var(--header-h); margin-bottom: calc(-1 * var(--header-h));
  color: var(--on-dark);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 10, 9, 0.7), rgba(11, 10, 9, 0));
  transition: opacity var(--dur) ease;
}
.site-header.is-solid { background: rgba(11, 10, 9, 0.96); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-solid::before { opacity: 0; }
.site-header__inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-3);
}
.site-header__logo { display: block; width: clamp(170px, 14vw, 220px); }
.site-header__logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.5rem); }
.nav--right { justify-content: flex-end; }
.nav a {
  position: relative; font-size: 0.74rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; padding-block: 0.75rem;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.4rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle {
  display: none; justify-self: start;
  width: 48px; height: 48px; margin-left: -12px;
  background: none; border: 0; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 1px; background: currentColor; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.header-cta-mobile { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__logo { justify-self: center; width: 160px; }
  .header-cta-mobile { display: inline-flex; justify-self: end; }
}
@media (max-width: 420px) {
  .header-cta-mobile { padding-inline: 0.8rem; letter-spacing: 0.16em; }
  .site-header__logo { width: 136px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column;
  padding: var(--s-2) var(--gutter) var(--s-5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) ease, visibility 0s linear var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur) ease; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-menu__close {
  width: 48px; height: 48px; margin-right: -12px; background: none; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-menu__close svg { width: 26px; height: 26px; }
.mobile-menu nav { margin-top: var(--s-6); display: grid; gap: var(--s-1); }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem);
  text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3;
  border-bottom: 1px solid var(--line-dark); padding-block: 0.5rem;
}
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.mobile-menu__foot { margin-top: auto; color: var(--on-dark-muted); font-size: 0.9rem; }
.mobile-menu__foot a { display: block; color: var(--on-dark); padding-block: 0.5rem; }

/* ==========================================================================
   Sections & themes
   ========================================================================== */
.section { padding-block: var(--s-8); position: relative; }
.section--tight { padding-block: var(--s-7); }.theme-dark { background: var(--ink); color: var(--on-dark); }
.theme-dark-2 { background: var(--ink-2); color: var(--on-dark); }
.theme-light { background: var(--paper); color: var(--on-light); }
.theme-stone { background: var(--bone); color: var(--on-light); }
.theme-wine { background: var(--wine); color: var(--on-dark); }
.theme-light .eyebrow, .theme-stone .eyebrow { color: var(--wine); }
.theme-light .display em, .theme-stone .display em { color: var(--wine); }
.theme-light .muted, .theme-stone .muted { color: var(--on-light-muted); }
.theme-wine .eyebrow, .theme-wine .display em { color: var(--bone); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-4); margin-bottom: var(--s-6); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ==========================================================================
   Age gate
   ========================================================================== */
.age-gate {
  position: fixed; inset: 0; z-index: var(--z-gate);
  display: grid; place-items: center; padding: var(--gutter);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(125, 21, 32, 0.45), transparent 60%),
    var(--ink);
  color: var(--on-dark); text-align: center;
}
.age-gate[hidden] { display: none; }
.age-gate__panel { max-width: 520px; }
.age-gate__logo { width: 240px; margin: 0 auto var(--s-5); opacity: 0.95; }
.age-gate h2 { font-family: var(--font-display); font-size: var(--step-3); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.1; margin-bottom: var(--s-2); }
.age-gate p { color: var(--on-dark-muted); font-size: 0.95rem; }
.age-gate__actions { display: flex; gap: var(--s-2); justify-content: center; margin: var(--s-4) 0; }
.age-gate__actions .btn { min-width: 150px; }
.age-gate__denied { color: var(--amber); }
.age-gate__legal { font-size: 0.8rem; max-width: 42ch; margin-inline: auto; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
/* The hero photograph is a portrait (2:3). It gets its own column at full
   height so the whole composition — glass, bottle, cork — is always visible. */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero__media {
  position: relative; order: 2; height: 100svh; min-height: 640px; max-height: 1500px;
  aspect-ratio: 2 / 3; max-width: 58vw; overflow: hidden;
}
.hero__scroll { display: none !important; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 10, 9, 0.55) 6%, rgba(11, 10, 9, 0) 16%);
}
.hero > .container { width: auto; margin: 0; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: var(--s-5); }
.hero__content { padding-block: calc(var(--header-h) + var(--s-5)) var(--s-6); max-width: 640px; margin-left: auto; margin-right: 0; }
.hero__title { margin-bottom: var(--s-4); }
.hero__meta { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--on-dark-muted); margin-bottom: var(--s-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }
.hero__scroll {
  position: absolute; left: 50%; bottom: var(--s-4); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.6rem;
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark-muted);
}
.hero__scroll::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--on-dark-muted), transparent); animation: scrollcue 2.4s var(--ease-out) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 1100px) {
  .hero__content { margin-left: 0; }
  .hero .h-xl { font-size: var(--step-4); }
}
@media (max-width: 700px) {
  .hero { display: block; }
  .hero__media { height: auto; min-height: 0; max-height: none; max-width: none; width: 100%; }
  .hero__media::after {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(11, 10, 9, 0) 12%),
      linear-gradient(180deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0) 14%);
  }
  .hero > .container { padding: 0 var(--gutter); }
  .hero__content { padding-block: var(--s-3) var(--s-6); }
  .hero .h-xl { font-size: var(--step-5); }
  .hero__scroll { display: none; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; min-height: min(78svh, 760px); display: grid; align-items: end;
  overflow: hidden; isolation: isolate; background: var(--ink);
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 10, 9, 0.92) 0%, rgba(11, 10, 9, 0.45) 45%, rgba(11, 10, 9, 0.35) 100%);
}
.page-hero__content { padding-block: calc(var(--header-h) + var(--s-6)) var(--s-7); max-width: 900px; }
.page-hero__content .lede { color: var(--on-dark-muted); margin-top: var(--s-3); max-width: 40ch; }

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { text-align: center; }
.statement__icon { width: 54px; margin: 0 auto var(--s-4); }
.statement blockquote { margin: 0; }
.statement__quote {
  font-family: var(--font-display); font-weight: 400; font-size: var(--step-4);
  line-height: 1.12; text-wrap: balance; max-width: 22ch; margin-inline: auto;
}
.statement__quote em { color: var(--gold); }
.statement__cite { display: block; margin-top: var(--s-4); font-style: normal; font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ==========================================================================
   Collection (bottles)
   ========================================================================== */
.collection { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.wine-card { position: relative; display: flex; flex-direction: column; text-align: center; }
.wine-card__stage {
  position: relative; aspect-ratio: 3 / 4.4; display: grid; place-items: end center;
  padding: 12% 0 8%; overflow: hidden;
  background: radial-gradient(ellipse at 50% 85%, #fff 0%, var(--stone) 70%);
}
.theme-dark .wine-card__stage, .theme-dark-2 .wine-card__stage {
  background: radial-gradient(ellipse at 50% 80%, #2a221e 0%, var(--ink-3) 55%, var(--ink-2) 100%);
}
.wine-card__stage::after {
  content: ""; position: absolute; left: 50%; bottom: 7%; width: 44%; height: 16px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28), transparent 70%); z-index: 0;
}
.wine-card__stage img {
  position: absolute; z-index: 1; left: 50%; bottom: 8%; height: 80%; width: auto; max-width: none;
  transform: translateX(-50%);
  transition: transform var(--dur-slow) var(--ease-out);
}
@media (hover: hover) { .wine-card:hover .wine-card__stage img { transform: translateX(-50%) translateY(-10px) scale(1.02); } }
.collection > * { min-width: 0; }
.wine-card__body { padding: var(--s-3) var(--s-1) 0; display: grid; gap: 0.35rem; justify-items: center; }
.wine-card__range { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--wine); font-weight: 500; }
.theme-dark .wine-card__range, .theme-dark-2 .wine-card__range { color: var(--gold); }
.wine-card__name { font-family: var(--font-display); font-size: var(--step-2); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.1; }
.wine-card__meta { font-size: 0.9rem; color: var(--on-light-muted); font-variant-numeric: tabular-nums; }
.theme-dark .wine-card__meta, .theme-dark-2 .wine-card__meta { color: var(--on-dark-muted); }
.wine-card__link { position: absolute; inset: 0; z-index: 2; }
.wine-card__cta { margin-top: var(--s-2); }

@media (max-width: 1024px) { .collection { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-3); } }
@media (max-width: 520px) {
  .collection { gap: var(--s-4) var(--s-2); }
  .wine-card__stage { aspect-ratio: 3 / 4.6; }
  .wine-card__name { font-size: var(--step-1); }
  .wine-card__range { font-size: 0.62rem; letter-spacing: 0.18em; }
}

/* Carousel (homepage collection) */
.carousel { --carousel-gap: var(--s-5); }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--carousel-gap)) / 3);
  gap: var(--carousel-gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; min-width: 0; }
.carousel .wine-card__stage { aspect-ratio: 3 / 3.8; }
.carousel__controls { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.carousel__controls[hidden] { display: none; }
.carousel__progress { position: relative; flex: 1; height: 3px; background: linear-gradient(var(--line-light), var(--line-light)) center / 100% 1px no-repeat; }
.carousel__bar { position: absolute; top: 0; left: 0; height: 3px; width: 33%; background: var(--wine); transition: left var(--dur) var(--ease-out), width var(--dur) var(--ease-out); }
.carousel__buttons { display: flex; gap: var(--s-2); }
.carousel__btn {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--on-light); border-radius: 50%; background: transparent; color: var(--on-light);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn:hover:not(:disabled) { background: var(--on-light); color: var(--bone); }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 1024px) {
  .carousel { --carousel-gap: var(--s-3); }
  .carousel__track { grid-auto-columns: calc((100% - var(--carousel-gap)) / 2); }
}
@media (max-width: 640px) {
  .carousel__track { grid-auto-columns: 80%; }
  .carousel .wine-card__stage { aspect-ratio: 3 / 4.2; }
  .carousel__controls { margin-top: var(--s-4); }
}

/* ==========================================================================
   Feature split (image + text)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--landscape img { aspect-ratio: 5 / 4; }
.split__media figcaption { margin-top: var(--s-2); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--on-dark-muted); }
.theme-light .split__media figcaption, .theme-stone .split__media figcaption { color: var(--on-light-muted); }
.split__inset {
  position: absolute; width: 42%; right: -8%; bottom: -10%;
  border: 10px solid var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.theme-stone .split__inset { border-color: var(--bone); }
.theme-light .split__inset { border-color: var(--paper); }
.split__inset img { aspect-ratio: 3 / 4; }
.split__text h2 { margin-bottom: var(--s-4); }
.split__text .link-arrow, .split__text .btn { margin-top: var(--s-3); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  /* Stacked layout: keep the inset inside the main photo so it never covers the text below */
  .split__inset { right: var(--s-2); bottom: var(--s-2); width: 34%; border-width: 6px; }
  .split__media { margin-bottom: var(--s-4); }
}

/* ==========================================================================
   Full-bleed cinematic band
   ========================================================================== */
.cinema { position: relative; min-height: 92svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.cinema__media { position: absolute; inset: -8% 0; z-index: -1; will-change: transform; }
.cinema__media img { width: 100%; height: 100%; object-fit: cover; }
.cinema::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 10, 9, 0.88) 0%, rgba(11, 10, 9, 0.55) 45%, rgba(11, 10, 9, 0.15) 100%);
}
.cinema--center::after { background: rgba(11, 10, 9, 0.55); }
.cinema--center .cinema__content { margin-inline: auto; text-align: center; }
.cinema__content { max-width: 620px; padding-block: var(--s-7); }
.cinema__content h2 { margin-bottom: var(--s-4); }
.cinema__content p { color: rgba(243, 238, 230, 0.82); }

/* ==========================================================================
   Figures (stats)
   ========================================================================== */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.theme-light .figures, .theme-stone .figures { border-color: var(--line-light); }
.figure { padding: var(--s-5) var(--s-3) 0 0; }
.figure + .figure { padding-left: var(--s-3); border-left: 1px solid var(--line-dark); }
.theme-light .figure + .figure, .theme-stone .figure + .figure { border-color: var(--line-light); }
.figure__num { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.figure__num small { font-size: 0.4em; letter-spacing: 0.1em; margin-left: 0.2em; text-transform: uppercase; }
.figure__label { margin-top: var(--s-2); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark-muted); }
.theme-light .figure__label, .theme-stone .figure__label { color: var(--on-light-muted); }
@media (max-width: 800px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: var(--s-4); }
  .theme-light .figure:nth-child(n+3), .theme-stone .figure:nth-child(n+3) { border-color: var(--line-light); }
}

/* ==========================================================================
   Origins (three columns)
   ========================================================================== */
.origins { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4) var(--s-3); }
@media (max-width: 1100px) { .origins { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); } }
.origin { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.origin__media { overflow: hidden; }
.origin__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
@media (hover: hover) { .origin:hover .origin__media img { transform: scale(1.04); } }
.origin__region { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--wine); font-weight: 500; margin-top: var(--s-2); }
.theme-dark .origin__region { color: var(--gold); }
.origin h3 { font-family: var(--font-display); font-size: var(--step-2); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.1; }
.origin p { color: var(--on-light-muted); margin: 0; }
.origin .origin__clone { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--wine); line-height: 1.2; margin-top: -0.25rem; }
.theme-dark .origin .origin__clone { color: var(--gold); }
.origin .link-arrow { align-self: flex-start; margin-top: auto; font-size: 0.7rem; letter-spacing: 0.2em; }.theme-dark .origin p { color: var(--on-dark-muted); }
@media (max-width: 860px) { .origins { grid-template-columns: 1fr; gap: var(--s-6); } .origins .origin__media img { aspect-ratio: 16 / 11; } }

/* ==========================================================================
   Wine detail page
   ========================================================================== */
.wine-hero {
  position: relative; min-height: 100svh; padding-top: var(--header-h);
  display: grid; grid-template-columns: 1fr 1fr; background: var(--ink);
}
.wine-hero__stage {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 70%, var(--accent-glow, #3a1d1d) 0%, var(--ink-2) 58%, var(--ink) 100%);
  padding: var(--s-6) var(--s-4);
}
.wine-hero__stage img { height: min(76svh, 780px); width: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }
.wine-hero__info { display: grid; align-content: center; padding: var(--s-6) clamp(1.5rem, 6vw, 6rem); }
.wine-hero__info h1 { margin-bottom: var(--s-2); }
.wine-hero__vintage { font-family: var(--font-display); font-size: var(--step-2); font-style: italic; color: var(--gold); margin-bottom: var(--s-4); }
.wine-hero__note { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.55; color: rgba(243, 238, 230, 0.86); max-width: 48ch; }
.wine-hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); }
.price { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price small { display: block; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 0.4rem; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--s-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6em; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6em; opacity: 0.5; }
.breadcrumb a:hover { color: var(--on-dark); }
@media (max-width: 900px) {
  .wine-hero { grid-template-columns: 1fr; min-height: 0; }
  .wine-hero__stage { min-height: 70svh; }
  .wine-hero__stage img { height: min(62svh, 560px); }
}

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--line-light); margin: 0; }
.specs div { padding: var(--s-4) var(--s-3) var(--s-4) 0; border-bottom: 1px solid var(--line-light); }
.specs dt { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wine); font-weight: 500; margin-bottom: 0.5rem; }
.specs dd { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3; }

.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.note h3 { font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 500; color: var(--wine); margin-bottom: var(--s-2); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line-light); }
.note p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.5; color: var(--on-light); }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-2); }
.mosaic figure { margin: 0; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m-a { grid-column: span 7; aspect-ratio: 7 / 5; }
.mosaic .m-b { grid-column: span 5; aspect-ratio: 5 / 5; align-self: end; }
.mosaic .m-c { grid-column: 2 / span 4; aspect-ratio: 4 / 5; }
.mosaic .m-d { grid-column: span 6; aspect-ratio: 6 / 4; align-self: center; }
@media (max-width: 760px) {
  .mosaic .m-a, .mosaic .m-b, .mosaic .m-c, .mosaic .m-d { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* Chapter list (story) */
.chapters { counter-reset: chapter; }
.chapter-num { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold); display: block; margin-bottom: var(--s-2); }
.theme-light .chapter-num, .theme-stone .chapter-num { color: var(--wine); }

/* ==========================================================================
   Visit / contact
   ========================================================================== */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.contact-list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-2); align-items: start; }
.contact-list svg { width: 22px; height: 22px; margin-top: 0.3rem; color: var(--wine); }
.contact-list h3 { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; font-family: var(--font-sans); margin-bottom: 0.2rem; }
.contact-list p, .contact-list a { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; margin: 0; }
.contact-list a { border-bottom: 1px solid var(--line-light); }
.contact-list a:hover { border-color: currentColor; }

.form { display: grid; gap: var(--s-3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.field label .req { color: var(--wine); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.85rem 1rem;
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--on-light);
  background: #fff; border: 1px solid rgba(26, 21, 18, 0.28); border-radius: 0;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(125, 21, 32, 0.18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 0.88rem; }
.form__status { padding: var(--s-2) var(--s-3); border-left: 3px solid var(--wine); background: var(--bone); }
.form__status:empty { display: none; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.map-card { position: relative; overflow: hidden; }
.map-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: var(--s-3); }
.cta-band p { color: var(--on-dark-muted); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; margin-top: var(--s-4); }

.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding-top: var(--s-7); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-5); padding-bottom: var(--s-6); }
.site-footer__brand img { width: 150px; margin-bottom: var(--s-3); }
.site-footer__brand p { color: var(--on-dark-muted); max-width: 34ch; font-size: 0.95rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.site-footer ul a, .site-footer address a { display: inline-block; padding-block: 0.35rem; color: var(--on-dark-muted); transition: color var(--dur-fast) ease; }
.site-footer ul a:hover, .site-footer address a:hover { color: var(--on-dark); }
.site-footer address { font-style: normal; color: var(--on-dark-muted); line-height: 1.8; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2);
  padding-block: var(--s-4); border-top: 1px solid var(--line-dark);
  font-size: 0.8rem; color: var(--on-dark-muted); letter-spacing: 0.04em;
}
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }
.no-js .reveal { opacity: 1; transform: none; }
/* Cards inside a carousel are always visible: a fade-in mid-swipe reads as a flash on phones */
.carousel__track .reveal { opacity: 1; transform: none; transition: none; }

.hero__media img, .page-hero__media img { animation: settle 2.4s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cinema__media { transform: none !important; }
  .carousel__track { scroll-behavior: auto; }
}
