/* Glazof Wine, Option 1 Editorial, brand fit, version 3 PREVIEW (white age gate, header swallow and scroll flight, livelier story, client photos, animated icons, footer crest).
   Built on version 2.
   Same layout and rhythm as the approved Option 1. Changed: whiter page, brand navy and slate from the logo,
   orange only as one thin accent rule, cream used on three bands, fonts self-hosted. See BRAND-DECISIONS.md. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 300; font-style: italic; font-display: swap; src: url("assets/fonts/montserrat-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Brand palette */
  --paper: #fefdfb;        /* page background, whiter than the old cream */
  --cream: #fff9e9;        /* brand cream, used on three bands only */
  --navy: #01183c;         /* headings, buttons, footer (WINE in the logo) */
  --slate: #252635;        /* body text (GLAZOF in the logo) */
  --slate-muted: #565a6c;  /* secondary text */
  --orange: #fd8c04;       /* accent rule only, never text or fills */
  --line: #e6e2d8;
  --line-cream: #ebe2cc;
  --line-strong: #6f7384;

  --surface: var(--paper);
  --surface-raised: #ffffff;
  --surface-sunken: var(--cream);
  --ink: var(--navy);
  --text: var(--slate);
  --ink-muted: var(--slate-muted);
  --primary: var(--navy);
  --on-primary: #fff9e9;
  --secondary: var(--navy);
  --on-secondary: #fff9e9;
  --border-strong: var(--line-strong);
  --border-hairline: var(--line);
  --focus-ring: var(--navy);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 24px; --radius-pill: 999px;

  --measure: 62ch;
  --wrap: 1180px;
  --section-pad: var(--space-16);
}
@media (min-width: 900px) { :root { --section-pad: var(--space-24); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 26px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.wrap { width: min(100% - 2 * var(--space-4), var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--secondary); color: var(--on-secondary); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md); font-weight: 600;
}
.skip-link:focus { top: var(--space-2); }

/* Type */
.eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-muted); margin: 0;
}
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: .02em; color: var(--ink); margin: 0; }
.display-xl { font-size: clamp(48px, 8vw, 80px); line-height: 1; }
.display-lg { font-size: clamp(38px, 5.5vw, 56px); line-height: 1.07; }
.display-md { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: .015em; }
.lead { font-size: 18px; line-height: 30px; color: var(--ink-muted); max-width: 44ch; margin: 0; }
p { margin: 0 0 var(--space-4); }
.prose { max-width: var(--measure); }
.prose p { color: var(--text); }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 22px; }

/* Buttons (design system pill buttons) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: var(--space-3) var(--space-6); border: 2px solid transparent;
  border-radius: var(--radius-pill); font: 600 14px/20px var(--font-sans);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--slate); color: var(--on-primary); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--cream); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--on-primary); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Header. The brand mark sits in the centre with the links split either side. The swallow lands in .brand-bird.
   Mark option: data-header-mark="bird" (default) or "bird-wordmark" on <header class="site-header">. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border-hairline); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-4); min-height: 80px; }
.brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); border-radius: var(--radius-sm); }
.brand-bird { display: block; flex: none; position: relative; width: 48px; height: 40px; }
.brand-bird-img { width: 100%; height: 100%; }
.brand-word { width: 120px; height: auto; }
.site-header[data-header-mark="bird"] .brand-word { display: none; }
/* While the flight is on, the slot stays empty until the flying swallow lands in it (no layout shift: the slot keeps its size). */
.fly-mode .brand-bird-img { opacity: 0; }
@media (min-width: 900px) { .brand-bird { width: 56px; height: 46px; } .brand-word { width: 132px; } }
.site-nav { display: flex; justify-content: space-between; width: 100%; }
.nav-group { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em; padding: var(--space-2) 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .site-nav { width: auto; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4);
    background: transparent; color: var(--ink); border: 2px solid var(--border-strong);
    border-radius: var(--radius-pill); font: 600 14px/20px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border-hairline); padding: var(--space-4); flex-direction: column; }
  .js .site-nav.is-open { display: flex; }
  .nav-group { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .nav-group + .nav-group { margin-top: var(--space-2); }
  .site-nav a { display: block; padding: var(--space-3) 0; font-size: 16px; }
  html:not(.js) .header-inner { flex-wrap: wrap; justify-content: center; padding-block: var(--space-2); }
  html:not(.js) .brand { position: static; transform: none; }
  html:not(.js) .site-nav { flex-direction: column; align-items: center; }
  html:not(.js) .nav-group { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-4); }
}

/* Hero: the animation stage, then the tagline and call to action beneath it */
.hero { padding-block: 0 var(--space-16); }
.hero-stage {
  position: relative; width: 100%; overflow: hidden; contain: layout paint;
  height: clamp(374px, 100vw, 442px);   /* phones: 15% smaller than before (was clamp(440px, 118vw, 520px)); 700px and wider is unchanged below */
}
@media (min-width: 700px) { .hero-stage { height: clamp(480px, 35vw, 520px); } }
.hero-stage .layer { position: absolute; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* Static crest, used when JavaScript is off, on reduced motion, on slow devices, and as the last frame. */
.hero-stage .final { left: 50%; top: 50%; height: calc(100% - 44px); width: auto; transform: translate(-50%, -50%); opacity: 1; }
.hero-stage .layer.is-laid { transform: none; }
.hero-stage .plate { left: 50%; top: 50%; height: calc(100% - 44px); width: auto; transform: translate(-50%, -50%); opacity: 0; }
.hero-stage.is-enhanced .plate { opacity: 1; }
.hero-stage.is-enhanced .final { opacity: 0; }
.hero-stage .bird { left: 0; top: 0; width: 100%; height: 100%; display: none; }
.hero-stage.is-enhanced .bird { display: block; }
.js .hero-stage { opacity: 0; }
.js .hero-stage.is-visible { opacity: 1; transition: opacity .6s ease; }
.js-failed .hero-stage { opacity: 1; }
.hero-copy { display: grid; justify-items: center; text-align: center; margin-top: var(--space-2); }
.js .hero-copy { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js .hero-copy.is-in, .js-failed .hero-copy { opacity: 1; transform: none; }
.hero-copy .eyebrow--accent::before { margin-inline: auto; }
.hero h1 { margin: var(--space-4) 0 var(--space-4); font-size: clamp(44px, 7vw, 68px); }
.hero .lead { margin-inline: auto; }
.hero .btn-row { margin-top: var(--space-8); justify-content: center; }
.eyebrow--accent::before { content: ""; display: block; width: 40px; height: 3px; background: var(--orange); margin-bottom: var(--space-4); }
/* Spec strip: three large figures divided by hairlines */
.facts { display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); margin: var(--space-16) 0 0; }
.facts div { min-width: 0; padding: var(--space-8) var(--space-6) var(--space-8); display: grid; grid-template-rows: auto 1fr; }
.facts div + div { border-left: 1px solid var(--border-hairline); }
.facts div:first-child { padding-left: 0; }
/* Standard (lining) numerals for the figures in this strip (changed after the 20 Nov call). Cormorant Garamond shows old style figures by default,
   where 1 looks like a small capital I and 4, 7 and 9 drop below the line. lining-nums switches the same font to figures of capital height that sit on the baseline.
   Same size and same font as the words beside them. To go back, delete the next line. */
.facts dt { margin: 0; }
.facts dd, .facts .fact-big { font-variant-numeric: lining-nums; }
.facts dd { align-self: end; margin: var(--space-3) 0 0; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; color: var(--ink-muted); }
.facts .fact-big { font-size: clamp(40px, 6.2vw, 76px); line-height: .95; letter-spacing: .01em; color: var(--ink); }
.facts .fact-words { font-size: clamp(30px, 4.4vw, 56px); }   /* was 4.6vw: a capital W is wider, so this keeps "Red and White" on one line at 1024 px */
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div:first-child { padding: var(--space-6) 0; grid-template-rows: none; grid-template-columns: 7rem 1fr; align-items: baseline; gap: var(--space-4); }
  .facts div + div { border-left: 0; border-top: 1px solid var(--border-hairline); }
  .facts dd { margin: 0; }
}

/* Sections */
.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--cream .triptych li, .section--cream .occasions li, .section--cream .spec div { border-color: var(--line-cream); }
.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); }
.section-head .num { font-family: var(--font-display); font-size: 20px; color: var(--ink-muted); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 2fr; align-items: end; } }

/* Story */
.story-grid { display: grid; gap: var(--space-12); }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-16); align-items: start; } }
.story-figure { position: relative; margin: 0; display: grid; place-items: center; min-height: 340px; }
.shield-wash { position: absolute; left: 50%; top: 52%; width: min(100%, 420px); height: auto; max-width: none; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }
.photo { position: relative; z-index: 1; mix-blend-mode: multiply; width: auto; max-width: 100%; }
/* Photo display sizes: the red cup file is 826 x 1506, so it is never shown above 413 x 753 CSS px (sharp on 2x screens). */
.photo--cup { height: clamp(340px, 82vw, 520px); }
.triptych-wrap { position: relative; }
.triptych { list-style: none; margin: 0; padding: 0; }
.triptych li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-4); padding: var(--space-6) 0 var(--space-6) 56px; border-top: 1px solid var(--border-hairline); align-items: baseline; }
.triptych li:last-child { border-bottom: 1px solid var(--border-hairline); }
.triptych strong { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }
.triptych span { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.story-body .prose { margin-top: var(--space-12); }
/* The flight line: one thin orange hairline that threads the three rows and draws itself as the section scrolls in (script.js). */
.flight-line { position: absolute; left: 0; top: 0; width: 56px; height: 100%; overflow: visible; pointer-events: none; }
.flight-line .fl-path { fill: none; stroke: var(--orange); stroke-width: 1.25; stroke-linecap: round; }
.flight-line .fl-node { fill: var(--surface); stroke: var(--orange); stroke-width: 1.25; transition: opacity .4s ease, transform .4s ease; transform-box: fill-box; transform-origin: center; }
.flight-line .fl-node.is-off { opacity: 0; transform: scale(.4); }
@media (max-width: 520px) { .triptych li { grid-template-columns: 1fr; gap: var(--space-1); } }

/* Cup */
.cup-grid { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) { .cup-grid { grid-template-columns: 5fr 6fr; gap: var(--space-16); } }
/* The photo sits straight on the cream band: its white background is multiplied away, so there is no box. */
.cup-stage { display: grid; justify-items: center; gap: var(--space-4); }
/* The pair file is 1022 x 1369, so it is never shown above 511 x 684 CSS px (sharp on 2x screens). */
.photo--pair { height: clamp(320px, 100vw, 560px); }
/* Sentence under the cups (moved here from above the spec list after the 20 Nov call). */
.cup-caption { margin: var(--space-2) 0 0; text-align: center; max-width: 36ch; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid var(--border-hairline); }
.spec div:last-child { border-bottom: 1px solid var(--border-hairline); }
.spec dt { font-size: 12px; line-height: 26px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.spec dd { margin: 0; }
.tbc { font-style: italic; color: var(--ink-muted); }
.ph-note { font-style: italic; }

/* Why single serve */
.cols-3 { display: grid; gap: var(--space-8); }
@media (min-width: 800px) { .cols-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-12); } }
.col-item { border-top: 1px solid var(--navy); padding-top: var(--space-6); }
/* Icons are inline SVG (48 x 48 grid) so each can animate. Stroke widths are in grid units, set per size to keep about 1.7 px on screen. */
.icon { display: block; flex: none; color: var(--navy); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.1; overflow: visible; }
.icon .acc { stroke: var(--orange); }
.icon .fillin.acc { fill: var(--orange); }
.icon--pillar { width: 76px; height: 76px; stroke-width: 1.1; margin-bottom: var(--space-4); }   /* v2 was 64 */
.icon--occ { width: 64px; height: 64px; stroke-width: 1.3; }                                      /* v2 was 48 */
.icon--sm { width: 32px; height: 32px; stroke-width: 2.4; }                                       /* v2 was 24 */
.icon--btn { width: 28px; height: 28px; stroke-width: 2.8; color: inherit; }                      /* v2 was 24 */
.btn .icon { color: inherit; }                                                                      /* FIX from v2: the icon kept navy on hover, so it vanished against the navy button */
.col-item h3 { font-size: 24px; line-height: 32px; font-weight: 500; margin: 0 0 var(--space-3); }
.col-item p { color: var(--ink-muted); }

/* Occasions */
.occasions { list-style: none; margin: 0; padding: 0; }
.occasions li { display: grid; grid-template-columns: 64px 1fr; column-gap: var(--space-4); row-gap: var(--space-2); padding: var(--space-6) 0; border-top: 1px solid var(--border-hairline); }
.occasions li .icon { grid-row: span 2; margin-top: 4px; }
.occasions li h3, .occasions li p { grid-column: 2; }
.occasions li:last-child { border-bottom: 1px solid var(--border-hairline); }
.occasions h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; margin: 0; letter-spacing: .015em; }
.occasions p { margin: 0; color: var(--ink-muted); max-width: 52ch; }
@media (min-width: 900px) { .occasions li { grid-template-columns: 64px 1fr 1fr; align-items: baseline; column-gap: var(--space-8); } .occasions li .icon { grid-row: auto; align-self: center; margin-top: 0; } .occasions li h3 { grid-column: 2; } .occasions li p { grid-column: 3; } }

/* Partners and pilot: after the 20 Nov call this is a short centred invitation with the flying swallow (the pilot partner list was removed). */
.stockists--solo { display: block; text-align: center; }
.stockists--solo header { display: grid; justify-items: center; }
.stockists--solo .muted { margin-inline: auto; text-wrap: balance; }
/* Partner rows, restored after the SA Wine go-ahead (20 Nov 2026). Rules and columns are the original v3 ones (copied from option-1-brand-fit-v3-backup-20-nov-pre-feedback);
   only the list width is new, so the rows sit under the centred invitation at the same width as before (about 744 px). The pilot placeholder row and its chip were not restored. */
.stock-list { list-style: none; padding: 0; margin: 0; }
.stock-list li { display: grid; grid-template-columns: 1fr; gap: var(--space-1); padding: var(--space-6) 0; border-top: 1px solid var(--border-hairline); }
.stock-list li:last-child { border-bottom: 1px solid var(--border-hairline); }
.stock-list strong { font-weight: 600; }
@media (min-width: 600px) { .stock-list li { grid-template-columns: 13rem 1fr; gap: var(--space-6); align-items: baseline; } }
.stockists--solo .stock-list { max-width: 46.5rem; margin: var(--space-12) auto 0; text-align: left; }

/* Contact */
.contact-grid { display: grid; gap: var(--space-12); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: var(--space-16); } }
.contact-list { margin: var(--space-8) 0 0; }
.contact-list div { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--space-4); padding: var(--space-3) 0; align-items: center; border-top: 1px solid var(--line-cream); }
.contact-list div:last-child { border-bottom: 1px solid var(--line-cream); }
.contact-list dt { line-height: 26px; display: flex; align-items: center; gap: var(--space-3); }
.contact-list dt .icon { margin-left: -2px; }
.contact-list dd { margin: 0; }
/* Go-live QA fix: at 320 px wide the email address could not shrink, which pushed the page 2 px wider than the screen (sideways scroll). Narrow phones get a slimmer label column. */
@media (max-width: 359px) { .contact-list div { grid-template-columns: 8.1rem minmax(0, 1fr); gap: var(--space-2); } .contact-list dd { overflow-wrap: anywhere; } }
.form-card { background: var(--surface-raised); border: 1px solid var(--line-cream); border-radius: var(--radius-lg); padding: var(--space-6); }
@media (min-width: 600px) { .form-card { padding: var(--space-8); } }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: var(--space-1); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/26px var(--font-sans); color: var(--ink); background: var(--surface-raised);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: var(--space-3);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; margin: var(--space-6) 0 var(--space-4); }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.consent label { font-size: 14px; line-height: 22px; }
.form-status { margin: var(--space-4) 0 0; font-weight: 600; }
.form-status.is-error { padding-left: var(--space-3); border-left: 3px solid var(--orange); }
.note { font-size: 14px; line-height: 22px; color: var(--ink-muted); }

/* Footer */
.site-footer { background: var(--secondary); color: var(--on-secondary); padding-block: var(--space-16) var(--space-8); }
.site-footer a { color: var(--on-secondary); }
.site-footer .fine a { color: var(--on-secondary); }
.footer-grid { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--space-12); } }
.footer-crest { width: 176px; height: auto; }
.footer-tag { margin: var(--space-4) 0 0; font-family: var(--font-sans); font-weight: 300; font-style: italic; font-size: 15px; }
.site-footer .icon { color: var(--on-secondary); }
.site-footer h2 { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 var(--space-4); color: #c9d1dc; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
/* Acknowledgement (SA Wine go-ahead; moved into the bottom notice row, right hand side, 20 Nov): badge to the left of two calm lines of text, no card, no hairline. Pushed to the right edge of the footer container. */
.footer-ack { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.footer-ack picture { flex: none; }
.footer-badge { display: block; width: 120px; max-width: none; height: auto; }   /* source is 400 px wide: sharp at 2x up to 200 px, at 1x up to 400 px. No filters or effects on purpose. */
.footer-ack-text { flex: 0 1 auto; min-width: 0; width: 330px; max-width: 100%; text-align: right; }   /* wide enough for "Proudly associated with SA Wine" on one line and the sentence on two; right aligned so the text lines up with the right edge of the divider above */
.site-footer .footer-ack-text h2 { margin: 0 0 var(--space-2); }
.footer-ack-main { margin: 0 0 var(--space-1); font-size: 16px; line-height: 26px; font-weight: 500; color: var(--on-secondary); }
.site-footer .footer-ack-sub { margin: 0; text-wrap: balance; }
/* Bottom row (notice-row move, 20 Nov): 18+ notice left, acknowledgement right, vertically centred to each other, one hairline above the pair. */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-8) var(--space-12); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid #1f3a5f; }
@media (max-width: 1239px) { .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-ack { margin-left: 0; } .footer-ack picture { margin-left: -4px; } .footer-ack-text { text-align: left; width: 340px; } }   /* narrow: 18+ notice first, then the acknowledgement beneath, left aligned */
@media (max-width: 599px) { .footer-ack { flex-direction: column; align-items: flex-start; } .footer-badge { width: 120px; } .footer-ack-text { width: auto; } }   /* phones: badge above the text */
.footer-notice { display: flex; align-items: center; gap: var(--space-4); }
.notice-badge { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #c9d1dc; border-radius: var(--radius-pill); font-family: var(--font-sans); font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: .04em; color: var(--on-secondary); }
.footer-notice p { margin: 0; font-size: 16px; line-height: 26px; color: var(--on-secondary); max-width: 60ch; }
.site-footer .fine { font-size: 14px; line-height: 22px; color: #c9d1dc; }
.legal-row { margin-top: var(--space-6); }
.legal-row + .legal-row { margin-top: var(--space-2); }
.footer-company { font-size: 13px; line-height: 20px; }
.site-footer :focus-visible { outline-color: var(--orange); }

/* Scroll reveals: only hidden when JavaScript is running */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in, .js-failed .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { .js .reveal, .js .hero-copy { opacity: 1; transform: none; } html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Visually hidden text */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* No-JavaScript and script-failure notice */
.age-banner { display: none; background: var(--navy); color: var(--on-primary); padding: var(--space-3) var(--space-4); text-align: center; font-size: 14px; line-height: 22px; }
.age-banner p { margin: 0; }
.js-failed .age-banner { display: block; }

/* Age gate (v3): a clean white full-screen backdrop and a white card. The page behind is covered, inert and not scrollable. */
.age-gate { display: none; }
html.gate-pending { overflow: hidden; }
html.gate-pending #site { pointer-events: none; user-select: none; }
html.gate-pending .age-gate { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; padding: var(--space-4); overflow-y: auto; background: #ffffff; }
.gate-card {
  width: min(100%, 480px); margin: auto; text-align: center;
  background: #ffffff; border: 1px solid var(--navy); border-radius: var(--radius-sm);
  padding: var(--space-8) var(--space-6) var(--space-6);
  box-shadow: 0 18px 48px rgba(1, 24, 60, .10), 0 2px 6px rgba(1, 24, 60, .06);
  visibility: hidden; opacity: 0; transform: translateY(8px);
}
@media (min-width: 520px) { .gate-card { padding: var(--space-12) var(--space-12) var(--space-8); } }
html.gate-ready .gate-card { visibility: visible; opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
html.gate-leaving .gate-card { opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .35s ease; }
html.gate-leaving .age-gate { opacity: 0; transition: opacity .4s ease; }
.gate-card:focus { outline: none; }
.gate-mark { width: 72px; height: auto; margin: 0 auto var(--space-4); }
.gate-rule { display: block; width: 40px; height: 3px; background: var(--orange); margin: 0 auto var(--space-4); }
.gate-card .eyebrow { margin-bottom: var(--space-2); }
.gate-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 9vw, 44px); line-height: 1.05; letter-spacing: .02em; color: var(--ink); margin: 0 0 var(--space-4); }
.gate-title:focus { outline: none; }
.gate-intro { color: var(--text); font-size: 16px; line-height: 26px; margin: 0 0 var(--space-3); }
.gate-legal { color: var(--ink); font-weight: 500; font-size: 15px; line-height: 24px; margin: 0 0 var(--space-6); }
.gate-actions { display: grid; gap: var(--space-3); }
.gate-actions .btn { width: 100%; }
.gate-card .btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.gate-resp { margin: var(--space-6) 0 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.gate-closed .gate-intro { margin-bottom: 0; }
.gate-closed .gate-resp { margin-top: var(--space-4); }
@media (prefers-reduced-motion: reduce) {
  html.gate-ready .gate-card, html.gate-leaving .gate-card { transform: none; transition: none !important; }
  html.gate-leaving .age-gate { transition: none !important; }
  .hero-stage.is-visible { transition: none !important; }
}

/* =====================================================================================================
   VERSION 3 ADDITIONS
   ===================================================================================================== */

/* WhatsApp button: WhatsApp-family green with white label and icon. #0E7F72 gives 4.89:1 with white (AA); hover #075E54 gives 7.67:1.
   (The official #25D366 only gives 1.98:1 with white, so it cannot carry white text.) */
.btn--whatsapp { background: #0e7f72; color: #ffffff; border-color: #0e7f72; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn--whatsapp:hover { background: #075e54; border-color: #075e54; color: #ffffff; }
.btn--whatsapp:active { background: #054740; border-color: #054740; color: #ffffff; transform: translateY(1px); }
.btn--whatsapp:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 5px #ffffff; }
.btn--whatsapp[aria-disabled="true"], .btn--whatsapp:disabled { background: #5f7f7a; border-color: #5f7f7a; color: #ffffff; opacity: .72; cursor: not-allowed; pointer-events: none; }
.btn--whatsapp .icon { color: #ffffff; stroke: #ffffff; }
.btn--whatsapp .icon .acc { stroke: #ffffff; }
.btn--whatsapp .icon .fillin, .btn--whatsapp .icon .fillin.acc { fill: #ffffff; stroke: none; }

/* Photos: the white photo background is multiplied into the page (#FEFDFB) or the cream band, so there is no visible box.
   The blend and the reveal are both on the image itself. Do not put opacity, transform or filter on a parent of .photo. */
.js .photo { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.js .photo.is-in, .js-failed .photo { opacity: 1; transform: none; }
.js .shield-wash { opacity: 0; transition: opacity 1.6s ease .2s; }
.js .story-figure.is-in .shield-wash, .js-failed .shield-wash { opacity: 1; }

@media (min-width: 900px) { .shield-wash { width: 500px; left: 46%; } }   /* the shield frames the whole cup; it may reach a little into the page margin */

/* Partners: the swallow on its own, centred horizontally under the sentence, within that sentence's text column (max-width 40ch). Size: change width. */
.partner-swallow { max-width: 44ch; display: grid; justify-items: center; margin-top: var(--space-8); }
.partner-swallow img { width: 176px; height: auto; }

/* Footer crest on navy: drawn at 176 css px from the 592 px file (sharp on 2x up to 296 css px). */
.footer-brand { display: grid; justify-items: start; align-content: start; }   /* align-content: the crest and its tagline stay together when the third column is taller (footer details, 20 Nov) */

/* Icon animation: line-draw entrance (stroke-dashoffset), then calm idle motion and hover micro-motions.
   Shapes carry pathLength="1" and a --i index for the stagger. Everything is static and fully drawn on reduced motion or without JavaScript. */
.ia .d { stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.js .ia:not(.is-drawn) .d { stroke-dashoffset: 1.06; }
.js .ia .d { transition: stroke-dashoffset 1.15s cubic-bezier(.45, .05, .25, 1); transition-delay: calc(var(--i, 1) * 95ms + var(--base, 0ms)); }
.js .ia:not(.is-drawn) .fillin { opacity: 0; }
.js .ia .fillin { transition: opacity .6s ease; transition-delay: calc(var(--base, 0ms) + 1000ms); }
.js-failed .ia .d { stroke-dashoffset: 0 !important; }
.js-failed .ia .fillin { opacity: 1 !important; }
.col-item:nth-child(2) .ia { --base: 150ms; } .col-item:nth-child(3) .ia { --base: 300ms; }
.occasions li:nth-child(2) .ia { --base: 120ms; } .occasions li:nth-child(3) .ia { --base: 240ms; } .occasions li:nth-child(4) .ia { --base: 360ms; }
.contact-list div:nth-child(2) .ia { --base: 100ms; } .contact-list div:nth-child(3) .ia { --base: 200ms; } .contact-list div:nth-child(4) .ia { --base: 300ms; }

.ia g, .ia .sun, .ia .wave, .ia .flap, .ia .pennant, .ia .f1, .ia .f2, .ia .f3, .ia .f4, .ia .f5, .ia .w1, .ia .w2 { transform-box: fill-box; }
.ia .rays { transform-origin: 50% 100%; } .ia .bird { transform-origin: 50% 50%; } .ia .lid { transform-origin: 50% 100%; } .ia .cup { transform-origin: 50% 100%; }
.ia .spark { transform-origin: 50% 50%; } .ia .wave { transform-origin: 50% 50%; } .ia .glass { transform-origin: 50% 100%; }
.ia .sun { transform-origin: 50% 100%; } .ia-picnic .sun { transform-origin: 50% 50%; }
.ia .notes { transform-origin: 50% 100%; }
.ia .f1, .ia .f2, .ia .f3, .ia .f4, .ia .f5 { transform-origin: 50% 0; }
.ia .pennant { transform-origin: 0 50%; }
.ia .gl { transform-origin: 50% 100%; } .ia .gr { transform-origin: 50% 100%; }
.ia .sparks { transform-origin: 50% 100%; }
.ia .dots circle { transform-origin: 50% 50%; transform-box: fill-box; }
.ia .flap { transform-origin: 50% 0; }

@keyframes ia-rays { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(1.12); } }
@keyframes ia-glide { 0%, 100% { transform: translate(-1.8px, .8px) rotate(-3deg); } 50% { transform: translate(2.2px, -1.2px) rotate(2deg); } }
@keyframes ia-lid { 0%, 62%, 100% { transform: translateY(0); } 74% { transform: translateY(-2.2px); } 86% { transform: translateY(.3px); } 93% { transform: translateY(0); } }
@keyframes ia-wave { 0%, 100% { transform: translate(0, 0) scaleX(1); } 50% { transform: translate(.9px, -.7px) scaleX(.96); } }
@keyframes ia-twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .45; transform: scale(.78) rotate(45deg); } }
@keyframes ia-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-2px) rotate(1.5deg); } }
@keyframes ia-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes ia-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes ia-flutter { 0%, 100% { transform: scaleX(1) skewY(0); } 50% { transform: scaleX(.8) skewY(8deg); } }
@keyframes ia-clink-l { 0%, 70%, 100% { transform: rotate(0); } 82% { transform: rotate(4deg); } 92% { transform: rotate(-.5deg); } }
@keyframes ia-clink-r { 0%, 70%, 100% { transform: rotate(0); } 82% { transform: rotate(-4deg); } 92% { transform: rotate(.5deg); } }
@keyframes ia-sparks { 0%, 70%, 100% { opacity: 1; transform: scale(1); } 84% { opacity: .5; transform: scale(1.18); } }
@keyframes ia-sun { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes ia-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 1; } 30% { transform: translateY(-1.8px); opacity: .6; } }

/* Idle motion only while the icon is on screen (.in-view is toggled by script.js). */
.ia.is-drawn.in-view .rays { animation: ia-rays 4.6s ease-in-out infinite; }
.ia.is-drawn.in-view .bird { animation: ia-glide 7s ease-in-out infinite; }
.ia.is-drawn.in-view .lid { animation: ia-lid 7s ease-in-out infinite; }
.ia-premium.is-drawn.in-view .wave { animation: ia-wave 4.2s ease-in-out infinite; }
.ia-convenient.is-drawn.in-view .wave { animation: ia-wave 4.8s ease-in-out infinite; }
.ia.is-drawn.in-view .spark { animation: ia-twinkle 4.4s ease-in-out infinite; }
.ia.is-drawn.in-view .notes { animation: ia-float 5.6s ease-in-out infinite; }
.ia.is-drawn.in-view .w1 { animation: ia-pulse 3.2s ease-in-out infinite; } .ia.is-drawn.in-view .w2 { animation: ia-pulse 3.2s ease-in-out .5s infinite; }
.ia.is-drawn.in-view .f1 { animation: ia-sway 4.4s ease-in-out infinite; } .ia.is-drawn.in-view .f2 { animation: ia-sway 4.4s ease-in-out .35s infinite; }
.ia.is-drawn.in-view .f3 { animation: ia-sway 4.4s ease-in-out .7s infinite; } .ia.is-drawn.in-view .f4 { animation: ia-sway 4.4s ease-in-out 1.05s infinite; }
.ia.is-drawn.in-view .f5 { animation: ia-sway 4.4s ease-in-out 1.4s infinite; }
.ia.is-drawn.in-view .pennant { animation: ia-flutter 2.8s ease-in-out infinite; }
.ia.is-drawn.in-view .gl { animation: ia-clink-l 6s ease-in-out infinite; } .ia.is-drawn.in-view .gr { animation: ia-clink-r 6s ease-in-out infinite; }
.ia.is-drawn.in-view .sparks { animation: ia-sparks 6s ease-in-out infinite; }
.ia-picnic.is-drawn.in-view .sun { animation: ia-sun 5.5s ease-in-out infinite; }
.ia:not(.in-view) * { animation-play-state: paused !important; }

/* Pillars (Why single-serve): the icon sits in the middle above each pillar, with the heading and text centred beneath (changed after the 20 Nov call).
   Icon size is unchanged (76 px). The drawn artwork of all three icons is centred on x = 24 of its 48 x 48 grid, so centring the box centres the drawing.
   To go back to the left aligned look: delete the three lines below and restore these two (see README, "Changes after the 20 Nov call"):
   .col-item .ia-occasions { margin-left: -8px; } .col-item .ia-convenient { margin-left: -16px; } .col-item .ia-premium { margin-left: -24px; } */
.col-item { text-align: center; }
.col-item .ia { margin-inline: auto; }
.col-item p { max-width: 36ch; margin-inline: auto; }
.occasions li .ia { margin-left: -3px; }

/* Hover and focus micro-motions: pillars tilt or lift gently, contact icons lift a little. */
.ia { transition: transform .35s ease; }
.col-item:hover .ia-convenient .cup { transform: rotate(-5deg); }
.col-item:hover .ia-premium .glass { transform: rotate(4deg); }
.col-item:hover .ia-occasions .bird { transform: translate(3px, -3px); }
.ia .cup, .ia .glass, .ia-occasions .bird { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.occasions li:hover .ia { transform: translateY(-2px); }
.contact-list div:hover .ia { transform: translateY(-2px); }
.contact-list div:hover .ia-email .flap { transform: scaleY(.88); transition: transform .3s ease; }
.btn--whatsapp:hover .ia .dots circle { animation: ia-dot 1.2s ease-in-out infinite; }
.btn--whatsapp:hover .ia .dots circle:nth-child(2) { animation-delay: .12s; } .btn--whatsapp:hover .ia .dots circle:nth-child(3) { animation-delay: .24s; }

/* Partners swallow: a calm glide, only while on screen */
@keyframes swallow-glide { 0%, 100% { transform: translate(-7px, 3px) rotate(-1.6deg); } 50% { transform: translate(7px, -4px) rotate(1.4deg); } }
.partner-swallow.in-view img { animation: swallow-glide 8s ease-in-out infinite; }

/* Reduced motion: everything stays still and fully drawn. */
@media (prefers-reduced-motion: reduce) {
  .ia .d { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .ia .fillin { opacity: 1 !important; transition: none !important; }
  .js .photo { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* FIX (20 Nov): the shield wash is centred with its own translate, so reduced motion must not clear the transform, only the fade. */
  .js .shield-wash { opacity: 1 !important; transition: none !important; }
  .flight-line .fl-node.is-off { opacity: 1; transform: none; }
  .partner-swallow img { animation: none !important; }
  .btn--whatsapp { transition: none; }
}
