/* Layout concept: a warm stone gallery. Tall Bodoni capitals with a gold script counter-voice, the three bottles standing on the stone like objects in a vitrine, photographs used sparingly; wine-dark only for cinematic interludes and the footer. */
:root {
  /* Color */
  --paper: #e1dfdb;        /* main ground, pale gallery grey */
  --raised: #d4d1cb;       /* alternate band, a shade deeper */
  --field: #efedea;        /* inputs and bottle stages */
  --stone: #b9b5ae;        /* hairlines */
  --ink: #161b24;          /* text, navy-black */
  --ink-soft: #464c56;     /* secondary text */
  --gold: #87672f;         /* display accents on light */
  --gold-deep: #67501f;    /* gold for small text */
  --night: #121821;        /* deep navy: hero, interludes, footer */
  --night-text: #ece8e1;
  --night-soft: #b3b7be;
  --night-gold: #c6a56c;
  --wine: #161b24;         /* primary buttons: navy-black */
  --wine-hover: #2b3341;
  --error: #8f1717;
  --ok: #2e5e3a;
  color-scheme: light;

  /* Type */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --fs-xs: .875rem;
  --fs-sm: 1rem;
  --fs-base: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  --fs-2xl: clamp(2.2rem, 1.5rem + 3vw, 3.7rem);
  --fs-3xl: clamp(2.8rem, 1.6rem + 5.6vw, 6.8rem);

  /* Space */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3.5rem; --s6: clamp(4rem, 2.5rem + 6vw, 8rem);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; max-width: 62ch; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.night :focus-visible { outline-color: var(--night-gold); }

/* Display type */
.caps { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; line-height: .98; font-weight: 400; }
.script { display: block; font-family: var(--script); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--gold); font-weight: 400; line-height: 1.1; }
.night .script { color: var(--night-gold); }
.h-xl { font-size: var(--fs-3xl); }
.h-lg { font-size: var(--fs-2xl); }
.h-md { font-size: var(--fs-xl); }
.h-xl .script { font-size: .62em; margin-top: .15em; }
.h-lg .script { font-size: .72em; margin-top: .12em; }
.h-md .script { font-size: .85em; margin-top: .1em; }
.center { text-align: center; }
.center .script { padding-left: 0; }
.tagline { font-family: var(--display); font-style: italic; font-size: var(--fs-lg); line-height: 1.4; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
}
.narrow { max-width: 760px; }
.band { padding-block: var(--s6); }
.band-tight { padding-block: var(--s5); }
.raised { background: var(--raised); }
.night { background: var(--night); color: var(--night-text); }
.stack { display: grid; gap: var(--s3); align-content: start; }
.stack-sm { display: grid; gap: var(--s2); align-content: start; }
.lede { font-size: var(--fs-lg); font-weight: 400; line-height: 1.6; }
.muted { color: var(--ink-soft); }
.night .muted, .night p { color: var(--night-soft); }
.small { font-size: var(--fs-sm); }
.kicker { font-size: var(--fs-sm); color: var(--gold-deep); letter-spacing: .04em; font-weight: 500; }
.night .kicker { color: var(--night-gold); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1rem; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.8rem;
  font: 500 var(--fs-sm)/1 var(--body); letter-spacing: .06em;
  border: 1px solid transparent; border-radius: 0;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-wine { background: var(--wine); color: #fbf6f1; }
.btn-wine:hover { background: var(--wine-hover); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.night .btn-line { color: var(--night-text); border-color: rgba(236,230,223,.6); }
.night .btn-line:hover { background: var(--night-text); color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.textlink { color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); letter-spacing: .04em; border-bottom: 1px solid var(--gold); padding-bottom: .2rem; transition: color .2s; }
.textlink:hover { color: var(--wine); }
.night .textlink { color: var(--night-text); border-bottom-color: var(--night-gold); }
.night .textlink:hover { color: var(--night-gold); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone);
}
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s3); min-height: 80px; }
.logo-link { justify-self: center; display: block; line-height: 0; }
.logo-link img { height: 46px; width: auto; }
.nav-side { display: flex; gap: var(--s4); align-items: center; }
.nav-side.right { justify-content: flex-end; }
.nav-side a { text-decoration: none; font-size: var(--fs-sm); letter-spacing: .04em; color: var(--ink); padding-block: .5rem; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav-side a:hover { color: var(--wine); }
.nav-side a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-side a.nav-trade { border: 1px solid var(--ink); padding: .65rem 1.1rem; }
.nav-side a.nav-trade:hover, .nav-side a.nav-trade[aria-current="page"] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; justify-self: start; background: none; border: 0; color: var(--ink); min-height: 44px; min-width: 44px; cursor: pointer; padding: 0 .25rem; font: 500 var(--fs-sm) var(--body); letter-spacing: .04em; align-items: center; gap: .55rem; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }
@media (max-width: 979px) {
  .nav-side { display: none; }
  .menu-btn { display: inline-flex; }
  .logo-link img { height: 38px; }
  .mobile-nav.open { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--stone); padding: var(--s2) max(16px, env(safe-area-inset-right, 0px)) var(--s4) max(16px, env(safe-area-inset-left, 0px)); }
  .mobile-nav a { text-decoration: none; padding: .9rem 0; border-bottom: 1px solid var(--stone); font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.2rem; }
  .mobile-nav a[aria-current="page"] { color: var(--wine); }
}

.view[hidden] { display: none !important; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero.night { background: radial-gradient(ellipse 60% 70% at 74% 58%, #2c3646 0%, #1a212c 45%, var(--night) 75%); }
.hero.night .hero-foot { border-top-color: rgba(236,232,225,.16); color: var(--night-soft); }
.hero.night .bottles::after { background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); }
.night .btn-wine { background: var(--night-gold); color: var(--night); }
.night .btn-wine:hover { background: #d8bb88; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: var(--s4); padding-block: var(--s5) var(--s4); }
.hero-copy { display: grid; gap: var(--s4); align-content: center; }
.hero-meta { display: grid; gap: var(--s3); max-width: 480px; }
.bottles { position: relative; display: flex; justify-content: center; align-items: flex-end; height: clamp(300px, 40vw, 520px); }
.bottles::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -10px; height: 28px; background: radial-gradient(closest-side, rgba(29,26,28,.28), transparent); z-index: 0; }
.bottles img { position: relative; z-index: 1; height: 88%; width: auto; }
.bottles img:nth-child(2) { height: 100%; z-index: 2; margin-inline: -2.2%; }
.hero-foot { display: flex; justify-content: space-between; gap: var(--s2) var(--s3); padding-block: var(--s3); border-top: 1px solid var(--stone); font-size: var(--fs-sm); color: var(--ink-soft); letter-spacing: .03em; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .bottles img { animation: rise 1.4s var(--ease) both; }
  .bottles img:nth-child(1) { animation-delay: .15s; }
  .bottles img:nth-child(3) { animation-delay: .3s; }
  .hero h1 .line { display: block; animation: lift 1.1s var(--ease) both; }
  .hero h1 .line:nth-child(2) { animation-delay: .1s; }
  .hero h1 .script { animation: ink 1.6s var(--ease) .5s both; }
}
@keyframes rise { from { opacity: .2; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: .15; transform: translateY(.2em); } to { opacity: 1; transform: none; } }
@keyframes ink { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@media (max-width: 859px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .bottles { height: 320px; }
}

/* Intro */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
.intro figure { margin: 0; }
.intro img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.intro figure { width: 100%; max-width: 520px; justify-self: center; }
@media (max-width: 859px) { .intro { grid-template-columns: 1fr; gap: var(--s4); } }
.caption { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: .6rem; letter-spacing: .03em; }

/* Wines */
.section-title { margin-bottom: var(--s5); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 899px) { .trio { grid-template-columns: 1fr; gap: var(--s5); } }
.wine-card { display: grid; gap: var(--s2); align-content: start; text-decoration: none; color: inherit; }
.stage { background: linear-gradient(180deg, var(--field), color-mix(in srgb, var(--field) 70%, var(--paper))); display: flex; justify-content: center; align-items: flex-end; padding-top: var(--s4); position: relative; overflow: hidden; }
.stage::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 6px; height: 18px; background: radial-gradient(closest-side, rgba(29,26,28,.25), transparent); }
.stage img { position: relative; z-index: 1; height: 300px; width: auto; transition: transform .9s var(--ease); }
.wine-card:hover .stage img { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .wine-card:hover .stage img { transform: none; } }
.wine-card .grape { font-size: var(--fs-sm); color: var(--gold-deep); letter-spacing: .04em; font-weight: 500; }
.wine-card h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: .03em; line-height: 1.05; }
.wine-card .role { font-family: var(--display); font-style: italic; }
.wine-card p { color: var(--ink-soft); }
.wine-card .spec { display: flex; justify-content: space-between; gap: var(--s2); font-size: var(--fs-sm); color: var(--ink-soft); font-variant-numeric: tabular-nums; border-top: 1px solid var(--stone); padding-top: var(--s2); }
.wine-card .more { justify-self: start; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid var(--gold); padding-bottom: .2rem; }

/* Wine deck: stacked cards, swipe or step through */
.deck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: center; background: var(--field); border: 1px solid var(--stone); padding: var(--s5) clamp(1.5rem, 4vw, 3.5rem); outline: none; }
.deck:focus-visible { box-shadow: 0 0 0 2px var(--wine); }
@media (max-width: 859px) { .deck { grid-template-columns: 1fr; gap: var(--s4); padding: var(--s4) var(--s3); } }
.deck-copy { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); min-height: 100%; min-width: 0; }
.deck-body { min-height: 300px; display: grid; gap: .9rem; align-content: start; }
@media (max-width: 859px) { .deck-body { min-height: 0; } }
.deck-mask { overflow: hidden; padding-bottom: .1em; }
.deck-title { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1.02; }
.deck-title .script { font-size: .62em; margin-top: .15em; }
.deck-place { font-size: var(--fs-base); color: var(--gold-deep); font-weight: 500; letter-spacing: .03em; }
.deck-tag { font-family: var(--display); font-style: italic; font-size: var(--fs-lg); }
.deck-note { color: var(--ink-soft); max-width: 42ch; }
.deck-body > * { will-change: transform, opacity; }
.deck-body.in .deck-title { animation: deck-rise .7s cubic-bezier(.42,0,0,1) both; }
.deck-body.in .deck-fade { animation: deck-fade .6s cubic-bezier(.42,0,0,1) both; }
.deck-body.in .deck-fade:nth-of-type(2) { animation-delay: .06s; }
.deck-body.in .deck-fade:nth-of-type(3) { animation-delay: .12s; }
.deck-body.in .deck-fade:nth-of-type(4) { animation-delay: .18s; }
.deck-body.out .deck-title { transform: translateY(-105%); transition: transform .28s cubic-bezier(.42,0,1,1); }
.deck-body.out .deck-fade { opacity: 0; transition: opacity .2s; }
@keyframes deck-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes deck-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.deck-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.deck-count { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-base); font-variant-numeric: tabular-nums; }
.deck-count .total, .deck-count .slash { color: var(--ink-soft); }
.odo { display: inline-flex; height: 1.25em; line-height: 1.25em; overflow: hidden; }
.reel { display: inline-flex; flex-direction: column; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.reel span { display: block; height: 1.25em; text-align: center; }
.deck-btns { display: flex; gap: .5rem; }
.deck-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.deck-btn:hover { background: var(--ink); color: var(--field); }
.deck-btn.primary { background: var(--wine); border-color: var(--wine); color: #fbf6f1; }
.deck-btn.primary:hover { background: var(--wine-hover); }
.deck-btn svg { width: 18px; height: 18px; }
.deck-stack { position: relative; width: 100%; max-width: 340px; aspect-ratio: 4 / 5; margin: var(--s4) auto 0; user-select: none; -webkit-user-select: none; }
.deck-card { position: absolute; inset: 0; transition: transform .7s cubic-bezier(.42,0,0,1), opacity .7s cubic-bezier(.42,0,0,1); }
.deck-card:not(.top) { pointer-events: none; }
.deck-face { position: absolute; inset: 0; border: 6px solid #f7f5f1; background: linear-gradient(180deg, #f3f0eb, #ddd7ce); box-shadow: 0 14px 34px rgba(29,26,28,.16); display: flex; align-items: flex-end; justify-content: center; padding-top: 8%; overflow: hidden; touch-action: pan-y; }
.deck-face::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: 3%; height: 16px; background: radial-gradient(closest-side, rgba(29,26,28,.28), transparent); }
.deck-face img { position: relative; z-index: 1; height: 90%; width: auto; pointer-events: none; -webkit-user-drag: none; }
.deck-card.top .deck-face { cursor: grab; }
.deck-card.top .deck-face:active { cursor: grabbing; }
.deck-face .label { position: absolute; left: .8rem; top: .7rem; z-index: 2; font-size: var(--fs-xs); letter-spacing: .05em; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) {
  .deck-card, .reel { transition: none; }
  .deck-body.in .deck-title, .deck-body.in .deck-fade { animation: none; }
}

/* Cinematic interlude */
.interlude { position: relative; min-height: clamp(420px, 46vw, 620px); display: grid; align-items: center; overflow: hidden; }
.interlude > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,24,33,.92) 0%, rgba(18,24,33,.62) 50%, rgba(18,24,33,.2) 100%); }
.interlude .wrap { position: relative; z-index: 1; padding-block: var(--s5); }
.interlude .stack { max-width: 580px; }
.interlude p { color: #ddd3cb; }

/* Splits */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split figure { margin: 0; }
.split img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.split > figure { width: 100%; max-width: 500px; justify-self: center; }
@media (max-width: 859px) {
  .split { grid-template-columns: 1fr; gap: var(--s3); }
  .split.reverse > :first-child { order: 0; }
  .split > figure img { aspect-ratio: 16 / 10; max-height: 240px; }
  .estate-facts { gap: var(--s2) var(--s3); }
  .estate-facts b { font-size: 1.3rem; }
}
.quote { font-family: var(--display); font-style: italic; font-size: var(--fs-xl); line-height: 1.35; max-width: 30ch; }
.night .quote { color: var(--night-gold); }

/* Origin */
.origin-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3) var(--s5); align-items: end; margin-bottom: var(--s4); }
@media (max-width: 759px) { .origin-head { grid-template-columns: 1fr; } }
.numeral { font-family: var(--display); font-size: clamp(4.5rem, 3rem + 8vw, 11rem); line-height: .8; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.numeral small { display: block; font-family: var(--body); font-size: var(--fs-sm); letter-spacing: .04em; color: var(--gold-deep); margin-top: 1rem; line-height: 1.4; font-weight: 500; }
.origin-img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
@media (max-width: 699px) { .origin-img { aspect-ratio: 3 / 2; } }

/* Point lists */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) { .points, .points.two { grid-template-columns: 1fr; gap: var(--s3); } }
.points li { display: grid; gap: .5rem; align-content: start; padding-top: var(--s3); border-top: 1px solid var(--ink); }
.points h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.25rem; line-height: 1.2; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-block: 1px solid var(--stone); }
.facts > div { padding: var(--s3) var(--s2) var(--s3) 0; display: grid; gap: .2rem; align-content: start; }
.facts > div + div { padding-left: var(--s2); border-left: 1px solid var(--stone); }
.facts dt { font-size: var(--fs-xs); color: var(--gold-deep); letter-spacing: .05em; font-weight: 500; }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.facts dd small { display: block; font-family: var(--body); font-size: var(--fs-xs); color: var(--ink-soft); margin-top: .3rem; line-height: 1.4; }
@media (max-width: 699px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(3) { border-left: 0; padding-left: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--stone); } }

/* Stockists */
.stockists { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s3); }
.stockist { display: flex; }
.stockist-link { display: grid; grid-template-rows: auto 1fr; width: 100%; text-decoration: none; color: inherit; border: 1px solid var(--stone); background: var(--field); transition: border-color .2s; }
.stockist-link:hover { border-color: var(--ink); }
.stockist-logo { display: grid; place-items: center; height: 150px; padding: var(--s3); background: #fff; border-bottom: 1px solid var(--stone); }
.stockist-logo img { max-width: 100%; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.stockist-info { display: grid; gap: .35rem; align-content: start; padding: var(--s3); }
.stockist-name { font-family: var(--display); font-size: 1.2rem; line-height: 1.25; }
.stockist .where { font-size: var(--fs-sm); color: var(--ink-soft); display: grid; }
.type { color: var(--gold-deep); font-weight: 500; }
.stockist .visit { justify-self: start; margin-top: .5rem; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid var(--gold); padding-bottom: .15rem; }
.stockist-link:hover .visit { color: var(--wine-hover); }
.social { display: flex; gap: var(--s1); flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid #9c9a96; text-decoration: none; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.social a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.social svg { width: 18px; height: 18px; flex: none; }
.night .social a { color: var(--night-text); border-color: rgba(236,232,225,.3); }
.night .social a:hover { background: var(--night-text); color: var(--night); }

/* Newsletter */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); align-items: end; }
@media (max-width: 859px) { .signup { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 1 1 240px; }

/* Forms */
.field { display: grid; gap: .45rem; min-width: 0; }
.field label, fieldset > legend { font-size: var(--fs-sm); font-weight: 500; letter-spacing: .02em; }
.req { color: var(--wine); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  font: 400 var(--fs-base) var(--body); color: var(--ink);
  background: var(--field); border: 1px solid #9c9387; border-radius: 0;
}
textarea { min-height: 130px; resize: vertical; }
.line-input input { background: transparent; border: 0; border-bottom: 1px solid rgba(236,230,223,.6); padding-inline: 0; color: var(--night-text); }
.line-input input::placeholder { color: #8d857f; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.night input:focus-visible { outline-color: var(--night-gold); }
.hint { font-size: var(--fs-xs); color: var(--ink-soft); }
.error-msg { font-size: var(--fs-sm); color: var(--error); font-weight: 500; }
.night .error-msg { color: #f2a99f; }
[aria-invalid="true"] { border-color: var(--error) !important; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s1); margin-top: .5rem; }
.choice { display: flex; gap: .7rem; align-items: center; padding: .75rem .95rem; border: 1px solid #9c9387; background: var(--field); cursor: pointer; min-height: 50px; font-size: var(--fs-sm); transition: border-color .2s; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.choice input { width: 18px; height: 18px; accent-color: var(--wine); flex: none; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 699px) { .form-grid { grid-template-columns: 1fr; } }
.success { padding: var(--s4); border: 1px solid var(--ok); background: #e2e8df; color: #1d3b24; display: grid; gap: .5rem; }
.success.on-night { background: transparent; border-color: var(--night-gold); color: var(--night-text); }
.success h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.3rem; }
.form-note { font-size: var(--fs-xs); color: var(--ink-soft); }

/* Inner pages */
.page-hero { padding-block: var(--s6) var(--s5); }
.crumbs { font-size: var(--fs-sm); color: var(--ink-soft); display: flex; gap: .6rem; flex-wrap: wrap; padding-top: var(--s4); }
.crumbs a { color: var(--gold-deep); }

/* Wines list rows */
.wine-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: center; }
.wine-row .stage img { height: 380px; }
@media (max-width: 859px) { .wine-row { grid-template-columns: 1fr; gap: var(--s4); } .wine-row .stage img { height: 300px; } }

/* Wine detail */
.wine-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; padding-block: var(--s4) var(--s5); }
@media (max-width: 859px) { .wine-hero { grid-template-columns: 1fr; gap: var(--s4); } }
.wine-hero .stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 112px); padding-block: var(--s4) var(--s3); }
.wine-hero .stage img { height: min(62vh, 540px); }
@media (max-width: 859px) { .wine-hero .stage { position: static; } .wine-hero .stage img { height: 340px; } }
.detail-section { display: grid; gap: .7rem; }
.detail-section h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: var(--fs-sm); color: var(--gold-deep); font-weight: 500; }
.specs { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.specs th, .specs td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--stone); vertical-align: top; }
.specs th { color: var(--ink-soft); font-weight: 400; width: 42%; padding-right: var(--s2); }
.pairing { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pairing li { border: 1px solid var(--stone); padding: .4rem 1rem; font-size: var(--fs-sm); background: var(--field); }
.cellar { background: var(--raised); padding: var(--s3); display: grid; gap: .6rem; }
.cellar strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.mini-nav { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; padding-block: var(--s4) var(--s6); border-top: 1px solid var(--stone); }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); counter-reset: step; }
@media (max-width: 799px) { .steps { grid-template-columns: 1fr; gap: var(--s3); } }
.steps li { counter-increment: step; display: grid; gap: .6rem; align-content: start; padding-top: var(--s3); border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step); font-family: var(--display); font-style: italic; font-size: 2.6rem; line-height: .9; color: var(--gold); }
.steps h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.25rem; }

/* Downloads */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s4); border-top: 1px solid var(--stone); }
@media (max-width: 699px) { .downloads { grid-template-columns: 1fr; } }
.downloads a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2); align-items: center; padding-block: var(--s3); border-bottom: 1px solid var(--stone); text-decoration: none; color: var(--ink); }
.downloads strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.downloads span { font-size: var(--fs-sm); color: var(--ink-soft); }
.downloads .dl { color: var(--ink); font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid var(--gold); padding-bottom: .2rem; white-space: nowrap; }
.downloads a:hover .dl { color: var(--wine); }

.trade-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
@media (max-width: 899px) { .trade-layout { grid-template-columns: 1fr; } }
.aside-card { background: var(--night); color: var(--night-text); padding: var(--s4); display: grid; gap: var(--s2); }
.aside-card + .aside-card { margin-top: 2px; }
.aside-card h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.35rem; }
.aside-card p { color: var(--night-soft); font-size: var(--fs-sm); overflow-wrap: anywhere; }

/* Filter */
.filters { display: flex; gap: var(--s1); flex-wrap: wrap; margin-bottom: var(--s3); }
.filters button { min-height: 44px; padding: .5rem 1.2rem; border: 1px solid #9c9387; background: transparent; color: var(--ink); font: 500 var(--fs-sm) var(--body); letter-spacing: .03em; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Estate facts */
.estate-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.estate-facts li { display: grid; gap: .1rem; border-top: 1px solid var(--stone); padding-top: var(--s2); }
.estate-facts b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.estate-facts span { font-size: var(--fs-sm); color: var(--ink-soft); }
.drum { max-width: 360px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Contact */
.contact-list { display: grid; border-top: 1px solid var(--stone); }
.contact-item { display: grid; gap: .3rem; padding-block: var(--s3); border-bottom: 1px solid var(--stone); }
.contact-item .label { font-size: var(--fs-sm); color: var(--gold-deep); font-weight: 500; }
.contact-item .value { font-family: var(--display); font-size: 1.3rem; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.contact-item .value span { user-select: all; overflow-wrap: anywhere; }
.copy-btn { min-height: 36px; padding: .3rem .85rem; font: 500 var(--fs-xs) var(--body); letter-spacing: .04em; border: 1px solid #9c9387; background: transparent; color: var(--ink); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); }

/* Journal */
.post-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); text-decoration: none; color: inherit; background: var(--field); border: 1px solid var(--stone); transition: border-color .2s; }
.post-feature:hover { border-color: var(--ink); }
.post-feature img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.post-feature .post-text { display: grid; gap: var(--s2); align-content: center; padding: var(--s5) var(--s4); }
.post-feature h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-size: var(--fs-xl); line-height: 1.1; }
.post-feature .more { justify-self: start; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid var(--gold); padding-bottom: .2rem; }
@media (max-width: 859px) { .post-feature { grid-template-columns: 1fr; } .post-feature img { min-height: 0; aspect-ratio: 16 / 10; } .post-feature .post-text { padding: var(--s4) var(--s3); } }
.meta { font-size: var(--fs-sm); color: var(--ink-soft); }
.article { max-width: 780px; margin-inline: auto; display: grid; gap: var(--s5); }
.article h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: var(--fs-xl); line-height: 1.15; }
.article section { display: grid; gap: var(--s2); }
.article figure { margin: 0; }
.article figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--stone); margin: 0; }
.stats > div { padding: var(--s3) var(--s2); text-align: center; display: grid; gap: .2rem; }
.stats > div + div { border-left: 1px solid var(--stone); }
.stats dd { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; order: -1; }
.stats dt { font-size: var(--fs-xs); color: var(--gold-deep); letter-spacing: .05em; font-weight: 500; }
@media (max-width: 599px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--stone); } }
.plots { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--stone); }
.plots li { display: grid; grid-template-columns: minmax(0, 12rem) 5rem minmax(0, 1fr); gap: var(--s2); padding-block: .8rem; border-bottom: 1px solid var(--stone); font-size: var(--fs-sm); }
.plots b { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.plots .ha { font-variant-numeric: tabular-nums; color: var(--gold-deep); font-weight: 500; }
@media (max-width: 599px) { .plots li { grid-template-columns: minmax(0, 1fr) auto; } .plots li span:last-child { grid-column: 1 / -1; color: var(--ink-soft); } }
.agro { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.agro li { display: grid; gap: .3rem; padding-top: var(--s2); border-top: 1px solid var(--ink); }
.agro h3 { font-size: var(--fs-sm); color: var(--gold-deep); letter-spacing: .05em; font-weight: 500; }
@media (max-width: 599px) { .agro { grid-template-columns: 1fr; } }
.vin { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); counter-reset: vin; }
.vin li { counter-increment: vin; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s2); }
.vin li::before { content: counter(vin); font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1; color: var(--gold); }
.vin h3 { font-family: var(--display); font-size: 1.15rem; margin-bottom: .2rem; }

/* Footer */
.site-footer { background: var(--night); color: var(--night-text); }
.footer-top { display: grid; justify-items: center; gap: var(--s2); padding-top: var(--s6); text-align: center; }
.footer-top img { width: min(420px, 80%); height: auto; }
.footer-top .script { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); padding-block: var(--s5); border-top: 1px solid rgba(236,230,223,.16); margin-top: var(--s5); }
@media (max-width: 799px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-grid h3 { font-size: var(--fs-sm); color: var(--night-gold); font-weight: 400; letter-spacing: .04em; margin-bottom: var(--s2); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: var(--fs-sm); }
.footer-grid a { color: var(--night-text); text-decoration: none; }
.footer-grid a:hover { color: var(--night-gold); }
.footer-grid p { font-size: var(--fs-sm); color: var(--night-soft); overflow-wrap: anywhere; }
.footer-base { border-top: 1px solid rgba(236,230,223,.16); padding-block: var(--s3); font-size: var(--fs-xs); color: var(--night-soft); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: space-between; }

/* Age gate */
/* ---------- Motion, phase 1 ----------
   Only active when the script adds .motion to <html> (never with reduced motion).
   Everything starts from a visible state without .motion. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Page change: a stone-coloured veil wipes up, then away */
.veil { position: fixed; inset: 0; z-index: 45; background: var(--paper); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.veil.cover { transform: scaleY(1); transition: transform .38s cubic-bezier(.7,0,.3,1); }
.veil.uncover { transform: scaleY(0); transform-origin: top; transition: transform .6s cubic-bezier(.7,0,.3,1); }

/* Headlines: capitals rise from behind a mask, the gold italic draws in after */
.mline { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mline-in { display: block; }
.motion .mx .mline-in { transform: translateY(108%); transition: transform 1.15s cubic-bezier(.16,1,.3,1); }
.motion .mx .mscript { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.65,0,.35,1) .3s; }
.motion .mx.is-in .mline-in { transform: none; }
.motion .mx.is-in .mscript { clip-path: inset(0 -5% 0 0); }

/* Photos: a frame that lifts from the bottom while the image settles */
.motion .mreveal { clip-path: inset(99.5% 0 0 0); transition: clip-path .8s cubic-bezier(.7,0,.2,1); overflow: hidden; }
.motion .mreveal img { transform: scale(1.08); transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.motion .mreveal.is-in { clip-path: inset(0 0 0 0); }
.motion .mreveal.is-in img { transform: none; }
/* Panorama: opens from the centre outward */
.motion .mopen { clip-path: inset(0 49.7% 0 49.7%); transform: scale(1.04); transition: clip-path .95s cubic-bezier(.7,0,.2,1), transform 1.3s cubic-bezier(.16,1,.3,1); }
.motion .mopen.is-in { clip-path: inset(0 0 0 0); transform: none; }
/* Depth: dark photo sections drift slowly behind their text */
.motion .interlude > img { transform: scale(1.18); will-change: transform; }

/* Rolling numbers, same reel language as the wine deck counter */
.roll { display: inline-flex; line-height: 1.1; white-space: pre; font-variant-numeric: lining-nums tabular-nums; }
.roll .dg, .roll .ch { display: block; height: 1.1em; overflow: hidden; }
.dg-col { display: block; transition: transform 1.9s cubic-bezier(.16,1,.3,1); }
.dg-col span { display: block; height: 1.1em; }

@media (prefers-reduced-motion: reduce) {
  .veil { display: none; }
}
@media print {
  .motion .mx .mline-in, .motion .mreveal, .motion .mreveal img, .motion .mopen { transform: none !important; clip-path: none !important; }
}

/* ---------- Motion, phase 2 ---------- */
/* Header: tightens after the hero, tucks away going down, returns going up */
.site-header { transition: transform .5s cubic-bezier(.65,0,.35,1), background-color .35s ease, box-shadow .35s ease; }
.header-row { transition: min-height .4s cubic-bezier(.65,0,.35,1); }
.logo-link img { transition: height .4s cubic-bezier(.65,0,.35,1); }
.site-header.scrolled { background: var(--paper); box-shadow: 0 1px 0 var(--stone), 0 10px 30px rgba(22,27,36,.06); }
.site-header.scrolled .header-row { min-height: 64px; }
.site-header.scrolled .logo-link img { height: 38px; }
.site-header.tucked { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px) - 2px)); }
@media (max-width: 979px) { .site-header.scrolled .logo-link img { height: 32px; } }

/* Menu links: a gold underline draws from the left */
.nav-side a:not(.nav-trade) { border-bottom: 0; background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0% 1px; transition: background-size .5s cubic-bezier(.65,0,.35,1), color .2s; }
.nav-side a:not(.nav-trade):hover, .nav-side a:not(.nav-trade)[aria-current="page"] { background-size: 100% 1px; }

/* Outline buttons fill from left to right */
.btn-line { background: linear-gradient(var(--ink), var(--ink)) no-repeat left / 0% 100%; transition: background-size .5s cubic-bezier(.65,0,.35,1), color .35s, border-color .35s; }
.btn-line:hover { background: linear-gradient(var(--ink), var(--ink)) no-repeat left / 100% 100%; color: var(--paper); }
.night .btn-line { background: linear-gradient(var(--night-text), var(--night-text)) no-repeat left / 0% 100%; }
.night .btn-line:hover { background: linear-gradient(var(--night-text), var(--night-text)) no-repeat left / 100% 100%; color: var(--night); }
.textlink { background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px; transition: background-size .5s cubic-bezier(.65,0,.35,1), color .2s; }
.textlink:hover { background-size: 100% 1px; }

/* Dark photo sections: one band of light sweeps across the gilding */
.sweep { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,226,170,.20) 50%, transparent 62%); transform: translateX(-110%); mix-blend-mode: screen; }
.interlude .wrap { z-index: 2; }
.motion .interlude.is-in .sweep { animation: sweep 2.8s cubic-bezier(.45,0,.2,1) .5s both; }
@keyframes sweep { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

/* Mavrud legend: told sentence by sentence */
.sline { transition: opacity .7s ease; }

/* Wine deck: cards arrive closed, then fan out; a warm glow follows the wine */
.deck-glow { position: absolute; inset: 6% -8% -2%; border-radius: 50%; filter: blur(46px); z-index: 0; pointer-events: none; transition: background-color 1.1s ease; }
.motion .deck-stack:not(.is-in) .deck-card { transform: translateY(34px) scale(.94) !important; }
.motion .deck-stack.revealing .deck-card { transition-duration: 1.1s; }
.motion .deck-stack.revealing .deck-card:nth-child(3) { transition-delay: .12s; }
.motion .deck-stack.revealing .deck-card:nth-child(4) { transition-delay: .24s; }
.deck-face.nudge { animation: nudge 1.3s cubic-bezier(.45,0,.2,1); }
@keyframes nudge { 0% { transform: none; } 30% { transform: translateX(-16px) rotate(-3deg); } 62% { transform: translateX(9px) rotate(1.6deg); } 100% { transform: none; } }

/* Trade points and steps: the top rule draws, then the words arrive */
.motion .points li { border-top-color: transparent; position: relative; }
.motion .points li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i, 0) * .14s); }
.motion .points li > * { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * .14s + .35s); }
.motion .points.is-in li::before { transform: none; }
.motion .points.is-in li > * { opacity: 1; transform: none; }

/* Stockists: cards set down one after another, lift on hover, glide when filtered */
.motion .stockists .stockist { transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.motion .stockists:not(.is-in) .stockist { opacity: 0; transform: translateY(18px); }
.motion .stockists.staggering .stockist { transition-delay: calc(var(--i, 0) * .09s); }
.stockist-link { transition: border-color .25s, transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease; }
.stockist-link:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(22,27,36,.12); }

/* Newsletter: the email line draws in; the form folds away after sign-up */
.motion .signup .line-input input { border-bottom-color: transparent; background: linear-gradient(rgba(236,232,225,.6), rgba(236,232,225,.6)) no-repeat left bottom / 0% 1px; transition: background-size 1.3s cubic-bezier(.65,0,.35,1) .3s; }
.motion .signup.is-in .line-input input { background-size: 100% 1px; }
#news-form.folding { opacity: 0; transform: translateY(-10px); transition: opacity .38s ease, transform .38s ease; }
.success.settle { animation: settle .8s cubic-bezier(.16,1,.3,1) both; }
.success.settle h3::after { content: ""; display: block; width: 56px; height: 1px; margin-top: .7rem; background: var(--night-gold); transform-origin: left; animation: drawline .9s cubic-bezier(.65,0,.35,1) .3s both; }
@keyframes settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drawline { from { transform: scaleX(0); } to { transform: none; } }

/* Footer: the logo writes itself in gold leaf, then the line beneath */
.motion .footer-top img { clip-path: inset(0 99.5% 0 0); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1); }
.motion .footer-top .script { opacity: 0; transform: translateY(8px); transition: opacity .8s ease .7s, transform .8s cubic-bezier(.16,1,.3,1) .7s; }
.motion .footer-top.is-in img { clip-path: inset(0 0 0 0); }
.motion .footer-top.is-in .script { opacity: 1; transform: none; }
.motion .footer-grid { opacity: 0; transition: opacity 1.1s ease .2s; }
.motion .footer-grid.is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .site-header, .header-row, .logo-link img, .btn-line, .textlink, .nav-side a, .stockist-link { transition: none !important; }
  .stockist-link:hover { transform: none; }
  .sweep { display: none; }
}

/* ---------- Scroll film: the video plays forward and back as you scroll ---------- */
.film { position: relative; height: 560vh; }
.film-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--night); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,24,33,.35) 0%, rgba(18,24,33,0) 30%, rgba(18,24,33,0) 52%, rgba(18,24,33,.78) 100%); pointer-events: none; }
.film-captions { list-style: none; margin: 0; position: absolute; left: 0; right: 0; bottom: clamp(4.5rem, 10vh, 7rem); }
.film-captions li { position: absolute; bottom: 0; opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1); color: var(--night-text); max-width: 900px; padding-right: 16px; }
.film-captions li.on { opacity: 1; transform: none; }
.film-captions .caps { display: block; font-size: clamp(2rem, 1.2rem + 4vw, 4.6rem); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.film-captions .it { font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem); margin-top: .2em; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.film-hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); margin: 0; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--night-soft); transition: opacity .5s ease; white-space: nowrap; }
.film-hint::after { content: ""; display: block; width: 1px; height: 28px; margin: .6rem auto 0; background: linear-gradient(var(--night-gold), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.film.started .film-hint { opacity: 0; }
.film-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(236,232,225,.12); }
.film-progress i { position: absolute; inset: 0; background: var(--night-gold); transform: scaleX(0); transform-origin: left; }
/* Without motion: a single still frame with the opening line, no long scroll */
html:not(.motion) .film { height: auto; }
html:not(.motion) .film-sticky { position: relative; height: 70vh; min-height: 420px; }
html:not(.motion) .film-captions li:first-child { opacity: 1; transform: none; }
html:not(.motion) .film-hint, html:not(.motion) .film-progress { display: none; }
@media (prefers-reduced-motion: reduce) { .film-hint::after { animation: none; } }

/* Trade page pour: a light, sunlit film. Shorter scroll, navy captions on the calm left wall, pour kept in view on phones */
.film-pour { height: 280vh; }
.film-pour .film-sticky { background: var(--paper); }
.film-pour video { object-position: 60% 50%; }
.film-pour .film-shade { background: linear-gradient(90deg, rgba(225,223,219,.62) 0%, rgba(225,223,219,.25) 38%, rgba(225,223,219,0) 52%); }
.film-pour .film-captions li { color: var(--ink); }
.film-pour .film-captions .caps { text-shadow: none; }
.film-pour .film-captions .it { color: var(--gold); text-shadow: none; }
.film-pour .film-hint { color: var(--ink-soft); }
.film-pour .film-hint::after { background: linear-gradient(var(--gold), transparent); }
.film-pour .film-progress { background: rgba(22,27,36,.1); }
.film-pour .film-progress i { background: var(--gold); }
.film-pour .film-captions { top: 50%; bottom: auto; transform: translateY(-50%); }
.film-pour .film-captions li { top: 0; bottom: auto; transform: translateY(calc(-50% + 18px)); max-width: 560px; }
.film-pour .film-captions li.on { transform: translateY(-50%); }
.film-pour .film-captions li:not(.on) { pointer-events: none; }
.film-pour .film-captions .it { display: block; }
.film-pour .film-captions .btn { display: table; margin-top: var(--s3); }
@media (max-width: 760px) {
  .film-pour video { object-position: 74% 50%; }
  .film-pour .film-shade { background: linear-gradient(180deg, rgba(225,223,219,0) 45%, rgba(225,223,219,.9) 100%); }
  .film-pour .film-captions { top: auto; bottom: clamp(4.5rem, 10vh, 7rem); transform: none; }
  .film-pour .film-captions li { top: auto; bottom: 0; transform: translateY(18px); }
  .film-pour .film-captions li.on { transform: none; }
}
html:not(.motion) .film-pour .film-captions li:first-child { transform: translateY(-50%); }

/* ---------- Motion, phase 3 ---------- */
/* Wine page: facts and technical rows arrive in a cascade */
.motion .facts > div { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * .1s); }
.motion .facts.is-in > div { opacity: 1; transform: none; }
.motion .specs tr { opacity: 0; transition: opacity .6s ease; transition-delay: calc(var(--i, 0) * .05s); }
.motion .specs.is-in tr { opacity: 1; }
.wine-hero .stage img { transition: transform .2s linear; }

/* Drinking window: a bar fills from the first to the last good year */
.window { display: grid; gap: .45rem; margin-top: 1.7rem; }
.window-track { position: relative; height: 4px; background: var(--stone); }
.window-fill { position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.motion .window-fill { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.65,0,.35,1) .2s; }
.motion .window.is-in .window-fill { transform: none; }
.window-now { position: absolute; top: -6px; width: 2px; height: 16px; background: var(--ink); }
.window-now span { position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%); font-size: var(--fs-xs); white-space: nowrap; color: var(--ink); font-weight: 500; }
.motion .window-now { opacity: 0; transition: opacity .6s ease 1.5s; }
.motion .window.is-in .window-now { opacity: 1; }
.window-years { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Article: a gold reading line across the top, steps light up as you pass */
.read-progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 2px; z-index: 56; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.motion .vin li { opacity: .38; transition: opacity .6s ease; }
.motion .vin li.passed { opacity: 1; }
.vin li::before { transition: transform .5s cubic-bezier(.16,1,.3,1); transform-origin: left center; }
.motion .vin li.on::before { transform: scale(1.25); }

/* Trade: a gold line runs through the ordering steps in order */
.motion .steps li { border-top-color: var(--stone); position: relative; }
.motion .steps li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i, 0) * .65s); }
.motion .steps.is-in li::after { transform: none; }
.motion .steps li > * { opacity: .35; transition: opacity .6s ease; transition-delay: calc(var(--i, 0) * .65s + .3s); }
.motion .steps.is-in li > * { opacity: 1; }

/* Forms: soft gold focus glow, a pouring fill while sending */
input[type="text"], input[type="email"], input[type="tel"], select, textarea { transition: border-color .25s ease, box-shadow .35s ease; }
input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 5px rgba(198,165,108,.22); }
.btn.sending { position: relative; overflow: hidden; }
.btn.sending::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--night-gold); transform-origin: left; animation: pour .7s cubic-bezier(.65,0,.35,1) both; }
@keyframes pour { from { transform: scaleX(0); } to { transform: none; } }
.success.settle-light { animation: settle .8s cubic-bezier(.16,1,.3,1) both; }
.success.settle-light h3::after { content: ""; display: block; width: 56px; height: 1px; margin-top: .7rem; background: var(--gold); transform-origin: left; animation: drawline .9s cubic-bezier(.65,0,.35,1) .3s both; }

/* Age check: the logo writes in, then the question; entering dissolves it */
.motion .gate:not([hidden]) .gate-box > img { animation: writein 1.2s cubic-bezier(.65,0,.35,1) .2s both; }
.motion .gate:not([hidden]) .gate-box > :not(img) { animation: settle .8s cubic-bezier(.16,1,.3,1) both; }
.motion .gate:not([hidden]) .gate-box > h2 { animation-delay: .9s; }
.motion .gate:not([hidden]) .gate-box > p { animation-delay: 1.05s; }
.motion .gate:not([hidden]) .gate-box > .btn-row { animation-delay: 1.2s; }
@keyframes writein { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.gate.leaving { opacity: 0; transition: opacity .7s ease; }
.gate.leaving .gate-box { transform: scale(1.03); transition: transform .7s cubic-bezier(.16,1,.3,1); }
/* the opening animation waits until the visitor has entered */
.gated .hero h1 .line, .gated .hero h1 .script, .gated .bottles img { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .wine-hero .stage img { transform: none !important; }
  .read-progress { display: none; }
  .btn.sending::after { animation: none; }
}

.gate { position: fixed; inset: 0; z-index: 200; background: rgba(18,24,33,.8); backdrop-filter: blur(6px); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.gate-box { width: min(520px, 100%); background: var(--paper); padding: var(--s5) var(--s4) var(--s4); display: grid; gap: var(--s3); text-align: center; justify-items: center; }
.gate-box > img { width: 220px; height: auto; }
.gate-box .btn-row { justify-content: center; }
