/* Loxton: clean, premium, editorial.
   Type system: one serif (Newsreader) reserved for H1s, wine names, key figures, the wordmark and quoted
   citations; one sans (Jost) for body copy, subheads, labels and UI. Per the Sep 14 review, header and body
   must not share a serif. Accent palette is burgundy; gold retired per client feedback.
   Text sizes come from the tokens below only: --step-* for prose/headings, --label / --label-sm for
   small-caps labels, --text-sm / --text-xs for secondary and meta copy. */
:root {
  --wine: #5e1224;
  --wine-dark: #43000f;
  --gold: #b98d4f;        /* legacy, no longer used for UI accents */
  --gold-soft: #d9bf94;   /* legacy */
  --cream: #faf6ef;
  --paper: #fffdf9;       /* cards, panels */
  --ink: #2a2226;
  --muted: #5f5257;       /* darkened for small-text contrast */
  --line: #e6ddd0;
  --wine-soft: #d8c3ca;
  --rose: #e9cfd6;        /* light accent for use on dark burgundy backgrounds */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 6px 18px -10px rgba(67, 0, 15, .16);

  /* Fluid type scale (roughly a minor third) */
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.25rem, 1.15rem + .4vw, 1.4rem);
  --lead: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);   /* page-intro paragraphs: a half step above body */
  --step-2: clamp(1.7rem, 1.35rem + 1.2vw, 2.3rem);
  --step-3: clamp(2.3rem, 1.7rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.7rem, 1.9rem + 3.4vw, 4.6rem);
  --text-sm: .95rem;      /* card copy, footer, retailer lists */
  --text-xs: .8rem;       /* breadcrumbs, meta lines, footnotes */
  --label: .72rem;        /* small-caps labels: kickers, spec labels, footer headings */
  --label-sm: .66rem;     /* small-caps labels in tight spaces: card labels, table labels, badges */
  --ui: .78rem;           /* nav links and buttons */

  /* Spacing scale */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;
  --section: clamp(3.5rem, 7vw, 6rem);
  --track: .14em;         /* tracking for nav, buttons, table labels, footer headings */
  --track-wide: .2em;     /* tracking for kickers and card labels */
  --measure: 68ch;
  --radius: 4px;
  --header-h: 72px;       /* measured by site.js at runtime; this is the no-JS fallback (desktop header height) */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: var(--step-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings: serif display for h1 only; Jost 500 for subheads (client: one serif, non-serif subheaders) */
h1, h2, h3 { color: var(--wine-dark); text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); line-height: 1.08; letter-spacing: -.01em; margin-bottom: var(--s4); }
/* Page intros: the H1 needs clear air before the first paragraph (Sep 14 feedback) */
h1 + p { margin-top: 0; }
main.wrap > section > h1 + p, .hero h1 + p { font-size: var(--lead); line-height: 1.6; color: var(--muted); }
h2 { font-family: var(--sans); font-weight: 500; font-size: var(--step-2); line-height: 1.15; letter-spacing: .01em; margin-bottom: var(--s2); }
h3 { font-family: var(--sans); font-weight: 500; font-size: var(--step-1); line-height: 1.25; letter-spacing: .01em; margin-bottom: var(--s1); }
/* Vertical rhythm: a heading that follows content gets breathing room above */
:is(p, ul, ol, dl, div, img, picture, blockquote) + h2 { margin-top: var(--s5); }
:is(p, ul, ol, dl, img, picture) + h3 { margin-top: var(--s4); }
p { margin-bottom: var(--s2); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.hero h1 + p { color: #f4e9dc; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .15em; transition: color .2s ease; }
a:hover { color: var(--wine-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }

/* Measure: prose never runs wider than ~68 characters */
main.wrap > section > p,
main.wrap > section > ul.checks,
.panel > p,
.wrap > h2 + p,
.wrap > h1 + p,
.center > p { max-width: var(--measure); }
.center { text-align: center; }
.center > p, .center > h2, .center > h1 { margin-left: auto; margin-right: auto; }
.center ul.checks { display: inline-block; text-align: left; }

/* Small-caps label style shared by kicker, nav, buttons, spec labels, footer headings */
.label, .kicker, nav.main-nav a, .cta-btn, .specs dt, footer h3, .award, .timeline strong, .brand small, .img-placeholder, .awards-strip figcaption, blockquote.judge cite {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: var(--track);
}

:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--wine-dark); color: #fff; padding: .6rem 1.2rem; z-index: 100; font-family: var(--sans); }
.skip-link:focus { left: 0; }

/* Header */
.site-header { background: rgba(250, 246, 239, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; transition: background .3s ease, border-color .3s ease; }
/* Homepage only: while the video intro is on screen the header floats over it (toggled by site.js) */
.site-header.over-intro { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.site-header.over-intro :is(.brand, .brand small, nav.main-nav a, .menu-toggle) { color: #fff; }
.site-header.over-intro nav.main-nav a:hover, .site-header.over-intro nav.main-nav a[aria-current] { color: #fff; border-bottom-color: rgba(255,255,255,.7); }
.site-header.over-intro > .wrap > .cta-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); color: #fff; }
.site-header.over-intro > .wrap > .cta-btn:hover { background: #fff; border-color: #fff; color: var(--wine-dark); }
/* The open mobile menu always sits on the cream panel, whatever is behind it */
.site-header.over-intro.menu-open { background: rgba(250, 246, 239, .98); border-bottom-color: var(--line); }
.site-header.over-intro.menu-open :is(.brand, .menu-toggle) { color: var(--wine-dark); }
.site-header.over-intro.menu-open .brand small { color: var(--wine); }
.site-header.over-intro.menu-open nav.main-nav a { color: var(--ink); }
.site-header.over-intro.menu-open nav.main-nav a:hover, .site-header.over-intro.menu-open nav.main-nav a[aria-current] { color: var(--wine); border-bottom-color: var(--wine); }
.site-header .wrap { max-width: 1360px; display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-header .cta-btn { white-space: nowrap; margin: 0; }
.menu-toggle { display: none; align-items: center; gap: .65rem; border: 0; background: transparent; color: var(--wine-dark); font-family: var(--sans); font-size: var(--label); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; cursor: pointer; padding: .55rem 0 .55rem .55rem; }
.menu-icon { display: grid; gap: 5px; width: 22px; }
.menu-icon i { display: block; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-open .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (min-width: 1000px) {
  .site-header .wrap { flex-wrap: nowrap; }
}
.brand { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .2em; font-weight: 500; color: var(--wine-dark); text-decoration: none; text-transform: uppercase; line-height: 1; }
.brand small { display: block; font-size: .56rem; letter-spacing: .3em; color: var(--wine); font-weight: 500; margin-top: .35rem; }
nav.main-nav ul { display: flex; gap: 1.6rem; list-style: none; flex-wrap: wrap; }
nav.main-nav a { text-decoration: none; color: var(--ink); font-size: var(--ui); font-weight: 500; padding-bottom: .25rem; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
nav.main-nav a:hover, nav.main-nav a[aria-current] { color: var(--wine); border-bottom-color: var(--wine); }

/* Buttons: one brand style; spacing between buttons comes from the .actions container, not margins */
.cta-btn { display: inline-block; background: var(--wine); color: #fff; padding: .8rem 1.7rem; margin: 0; text-decoration: none; font-size: var(--ui); font-weight: 500; line-height: 1.2; border-radius: var(--radius); border: 1px solid var(--wine); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.cta-btn:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.cta-btn.ghost { background: transparent; color: var(--wine); }
.cta-btn.ghost:hover { background: var(--wine); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s4); margin-bottom: 0; }
.actions.center, .center .actions { justify-content: center; }
p > .cta-btn:only-child { margin: 0; }

/* Video intro (homepage, Round 8): the client's vineyard-and-picnic film sits under the header, pinned to the
   viewport, and the rest of the page slides up over it. Plain sticky positioning: no scroll-jacking, degrades
   to a normal stacked layout, and maps onto Wix's "Reveal" scroll effect plus a video-background strip. */
.hero-intro { position: sticky; top: 0; z-index: 0; height: 90vh; height: 90svh; min-height: 480px; margin-top: calc(-1 * var(--header-h)); overflow: hidden; background: var(--wine-dark); color: #fff; }
.hero-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-intro::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,0,5,.5) 0%, rgba(20,0,5,0) 32%, rgba(20,0,5,0) 62%, rgba(20,0,5,.4) 100%); }
.hero-intro-copy { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0 1.25rem; text-align: center; }
.hero-intro-wordmark { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.8rem); letter-spacing: .28em; line-height: 1; text-transform: uppercase; text-shadow: 0 2px 28px rgba(0,0,0,.4); }
.hero-intro-wordmark small { display: block; margin-top: 1.1rem; font-family: var(--sans); font-size: var(--label); font-weight: 500; letter-spacing: var(--track-wide); color: rgba(255,255,255,.88); }
.hero-intro-scroll { position: absolute; left: 50%; bottom: 1.75rem; z-index: 2; transform: translateX(-50%); display: grid; justify-items: center; gap: .45rem; color: #fff; font-family: var(--sans); font-size: var(--label-sm); font-weight: 500; letter-spacing: var(--track-wide); text-transform: uppercase; text-decoration: none; opacity: .9; }
.hero-intro-scroll:hover { opacity: 1; color: #fff; }
.hero-intro-scroll svg { width: 22px; height: 22px; animation: intro-nudge 2.4s ease-in-out infinite; }
@keyframes intro-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
/* Everything after the intro scrolls over it on an opaque page */
.page-body { position: relative; z-index: 1; background: var(--cream); box-shadow: 0 -24px 48px -24px rgba(0,0,0,.45); }
/* Where supported, the film dims and drifts as the page covers it */
@supports (animation-timeline: scroll()) {
  .hero-intro-video, .hero-intro-copy, .hero-intro-scroll { animation: intro-recede linear both; animation-timeline: scroll(root); animation-range: 0 60vh; }
  .hero-intro-scroll { animation-name: intro-fade; }
}
@keyframes intro-recede { to { opacity: .25; transform: scale(1.06); } }
@keyframes intro-fade { to { opacity: 0; } }
/* The film always plays (client request, Sep 23): under prefers-reduced-motion the global rule below still removes
   the scroll-driven dimming and the chevron bounce, but the video itself stays visible and autoplays.
   Only an explicit data-saver preference swaps it for the poster frame. */
@media (prefers-reduced-data: reduce) {
  .hero-intro { background: var(--wine-dark) url("img/home-hero-poster.jpg") center / cover no-repeat; }
  .hero-intro-video { display: none; }
}

/* Hero: an editorial split layout makes the bottle, not a generic vineyard, the brand anchor */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, #4a0a18 0%, var(--wine-dark) 100%); scroll-margin-top: var(--header-h); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255,255,255,.05), transparent 70%); pointer-events: none; }
.hero-layout { min-height: clamp(420px, 54vh, 540px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); position: relative; z-index: 1; }
.hero-copy { padding: var(--s5) 0; }
.hero h1 { color: #fff; font-size: var(--step-3); line-height: 1.08; max-width: 15ch; margin: 0 0 var(--s3); }
.hero p:not(.kicker) { max-width: 44ch; margin: 0; font-size: var(--step-0); line-height: 1.6; color: #e9dcd2; }
.hero .kicker { color: var(--rose); margin: 0 0 var(--s3); padding-bottom: var(--s2); border-bottom: 1px solid rgba(233,207,214,.3); display: inline-block; line-height: 1.5; }
/* The range line-up is a landscape photo: the media column bleeds to the right edge and the wash is kept narrow so all five bottles stay visible */
.hero-media { align-self: stretch; margin-right: calc((100vw - min(1080px, 100vw)) / -2); min-height: 420px; position: relative; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wine-dark) 0%, rgba(67,0,15,.3) 10%, transparent 28%); pointer-events: none; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* On the dark photo the primary button flips to the neutral cream variant for contrast */
.hero .cta-btn:not(.ghost) { background: #f4e9dc; border-color: #f4e9dc; color: var(--wine-dark); }
.hero .cta-btn:not(.ghost):hover { background: #fff; border-color: #fff; color: var(--wine-dark); }
.hero .cta-btn.ghost { background: transparent; border-color: rgba(244,233,220,.8); color: #f4e9dc; }
.hero .cta-btn.ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

/* Fast trust cues immediately after the hero */
.trust-strip { padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip .wrap > div { padding: var(--s3) var(--s2); border-right: 1px solid var(--line); }
.trust-strip .wrap > div:first-child { padding-left: 0; }
.trust-strip .wrap > div:last-child { border-right: 0; padding-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--wine-dark); font-family: var(--serif); font-size: var(--step-1); font-weight: 500; line-height: 1.2; }
.trust-strip span { margin-top: .25rem; color: var(--muted); font-size: var(--label-sm); letter-spacing: .06em; text-transform: uppercase; }

/* Sections */
section { padding: var(--section) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Inner pages: <main class="wrap"> holds stacked sections with a lighter rhythm */
main.wrap > section { padding: clamp(2.25rem, 4.5vw, 3.5rem) 0; }
main.wrap > .breadcrumbs + section { padding-top: var(--s4); }
main.wrap > section + section { border-top: 1px solid var(--line); }
main.wrap > section.panel, main.wrap > section.panel + section { border-top: none; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem) !important; margin: var(--s2) 0; }
.kicker { color: var(--wine); font-size: var(--label); font-weight: 500; letter-spacing: var(--track-wide); margin-bottom: var(--s2); text-wrap: balance; }
.lead { font-size: var(--lead); line-height: 1.6; }
.grid { display: grid; gap: var(--s4); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--s6); align-items: center; }
.grid-2 img { border-radius: var(--radius); }
.grid-2 img.square { width: 100%; aspect-ratio: 1; object-fit: cover; }
main.wrap > section > h2,
main:not(.wrap) section > .wrap > h2,
.grid-2 > div > h2:first-child { margin-bottom: var(--s3); }
/* Home "The Loxton Collection": extra air between the title, the intro and the cards */
#collection > .wrap > h2 { margin-bottom: var(--s4); }
#collection > .wrap > p:not(.actions) { margin-bottom: var(--s4); }

/* A single dark proof section gives the long homepage a stronger visual cadence */
.proof-section { background: var(--wine-dark); color: #f4e9dc; }
.proof-section h2 { color: #fff; }
.proof-section > .wrap > p { color: #e1d2d4; }
.proof-section .awards-strip figcaption { color: #d8c5ca; }
.proof-section .awards-strip img { box-shadow: 0 10px 30px -14px rgba(0,0,0,.8); }
.proof-section blockquote.judge { color: #fff; }
.proof-section blockquote.judge::before { color: rgba(255,255,255,.22); }
.proof-section blockquote.judge cite { color: #d8c5ca; }
.proof-section .cta-btn.ghost { border-color: #f4e9dc; color: #f4e9dc; }
.proof-section .cta-btn.ghost:hover { background: #f4e9dc; color: var(--wine-dark); }

/* Centered wrapping row for product cards; odd counts (e.g. 5) centre the last row */
.card-row { display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: center; margin-top: var(--s5); }
.card-row .card { flex: 1 1 300px; max-width: 380px; }

/* Generic card (offices, etc.): padded, sans label-style title */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); text-align: left; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--wine-soft); }
.card-left { text-align: left; }
.card h3, .card h2 { margin: 0 0 var(--s1); font-size: var(--label); text-transform: uppercase; letter-spacing: var(--track); line-height: 1.5; }
.card p { font-size: var(--text-sm); line-height: 1.6; color: var(--muted); flex: 1; }
/* Action row reads the same in every card width: award proof line first, then the button */
.card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); margin-top: var(--s3); }
.card-actions .award-badge { order: -1; }
.card-actions .cta-btn { margin: 0; }
.award-icon { display: inline-flex; width: 28px; height: 28px; color: var(--wine); flex: none; }
.award-icon svg { width: 100%; height: 100%; }
.award-badge { display: inline-flex; align-items: center; gap: .4rem; color: var(--wine); font-family: var(--sans); font-size: var(--label-sm); font-weight: 500; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }
.award-badge .award-icon { width: 18px; height: 18px; }
/* Official World Alcohol-Free Awards medal artwork on the wine cards (replaces the placeholder icon where artwork exists) */
.award-badge .award-medal { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px -3px rgba(0,0,0,.35); }

/* Wine card: one anatomy everywhere a wine is shown (homepage row and the collection grid):
   edge-to-edge photo, small-caps type label, serif wine name, muted copy, action row */
.wine-card { padding: 0 0 var(--s3); overflow: hidden; }
.wine-card > picture img { width: 100%; height: 300px; margin: 0 0 var(--s3); object-fit: cover; object-position: center; transition: transform .3s ease; }
.wine-card:hover > picture img { transform: scale(1.03); }
.wine-card .wine-type { flex: none; margin: 0 var(--s3) .85rem; color: var(--wine); font-size: var(--label-sm); font-weight: 500; letter-spacing: var(--track-wide); line-height: 1.4; text-transform: uppercase; }
.wine-card h2, .wine-card h3 { margin: 0 var(--s3) var(--s1); font-family: var(--serif); font-size: clamp(1.45rem, 1.1rem + .9vw, 1.85rem); font-weight: 500; letter-spacing: 0; line-height: 1.1; text-transform: none; }
.wine-card > p:not(.wine-type) { margin-left: var(--s3); margin-right: var(--s3); }
.wine-card .card-actions { margin-left: var(--s3); margin-right: var(--s3); }

/* Collection page: five wines plus one process card in a balanced grid */
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.collection-grid .wine-card > picture img { height: 340px; }
.collection-method-card { justify-content: center; min-height: 100%; padding: var(--s5); background: var(--wine-dark); border-color: var(--wine-dark); }
.collection-method-card:hover { border-color: var(--wine); box-shadow: var(--shadow); }
.collection-method-card .wine-type { margin: 0 0 var(--s2); color: var(--rose); }
.collection-method-card h2 { margin: 0 0 var(--s3); color: #fff; font-size: var(--step-2); }
.collection-method-card > div > p:not(.wine-type):not(.actions) { max-width: 34ch; margin: 0; color: #eadde0; font-size: var(--text-sm); line-height: 1.7; }
.collection-method-card .actions { margin: var(--s4) 0 0; }
.collection-method-card .cta-btn { background: #f4e9dc; border-color: #f4e9dc; color: var(--wine-dark); }
.collection-method-card .cta-btn:hover { background: #fff; border-color: #fff; color: var(--wine-dark); }

/* Product page: larger bottle image as the focal point, with a thumbnail gallery beneath it (Round 8).
   Thumbnails are plain links to the full-size photo; site.js upgrades them to swap the main image in place. */
.product-hero { display: grid; gap: var(--s6); grid-template-columns: minmax(300px, 440px) 1fr; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + var(--s3)); margin: 0; }
.gallery-main { overflow: hidden; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; list-style: none; margin: var(--s2) 0 0; }
.gallery-thumbs a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; opacity: .72; transition: opacity .2s ease, border-color .2s ease; }
.gallery-thumbs a:hover, .gallery-thumbs a[aria-current] { opacity: 1; border-color: var(--wine); }
.gallery-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-hero h1 { margin-bottom: var(--s2); }
.product-hero h2 { font-size: var(--step-1); margin-top: var(--s4); }
.product-hero .actions { margin-top: var(--s4); }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: var(--s3) 0 var(--s4); background: var(--line); border: 1px solid var(--line); }
.quick-facts span { min-width: 0; padding: .75rem; background: var(--paper); color: var(--muted); font-size: var(--label-sm); line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }
.quick-facts strong { display: block; margin-bottom: .2rem; color: var(--wine-dark); font-family: var(--serif); font-size: var(--step-1); font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.quick-facts span:nth-child(4) { grid-column: 1 / -1; }
/* Ruled label/value tables (tasting notes and spec sheet) share one column width and label style */
.tasting-copy, .specs { max-width: var(--measure); border-top: 1px solid var(--line); }
.tasting-copy p, .specs div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s2); align-items: baseline; padding: .75rem 0; margin: 0; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.6; }
.tasting-copy strong, .specs dt { color: var(--wine); font-size: var(--label-sm); font-weight: 500; letter-spacing: var(--track); line-height: 1.6; text-transform: uppercase; }
.specs { margin: var(--s4) 0 0; }
.tasting-copy + .specs { margin-top: 0; border-top: 0; } /* the two tables read as one ruled list */
.specs dd { color: var(--ink); }
/* Product-page award line: small medal icon + text, burgundy */
.award { display: inline-flex; align-items: center; gap: .5rem; color: var(--wine); font-size: var(--label); font-weight: 500; margin: 0 0 var(--s3); }
.award::before { content: ""; flex: none; width: 1.2rem; height: 1.2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235e1224'%3E%3Ccircle cx='12' cy='8.2' r='5.2'/%3E%3Ccircle cx='12' cy='8.2' r='2.3' fill='%23faf6ef'/%3E%3Cpath d='M9.2 12.9 7.4 20.6l3.2-1.7 1.4 2.3 1.4-2.3 3.2 1.7-1.8-7.7a6.4 6.4 0 0 1-5.6 0z'/%3E%3C/svg%3E") center/contain no-repeat; }
.breadcrumbs { font-size: var(--text-xs); padding: var(--s3) 0 0; color: var(--muted); font-family: var(--sans); letter-spacing: .02em; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--wine); }

/* Timeline: burgundy accents */
.timeline { list-style: none; border-left: 1px solid var(--wine-soft); padding-left: var(--s4); margin-top: var(--s3); max-width: var(--measure); }
.timeline li { margin-bottom: var(--s4); position: relative; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--s4) - 6px); top: .45em; width: 11px; height: 11px; border-radius: 50%; background: var(--wine); border: 2px solid var(--paper); }
.timeline strong { display: block; color: var(--wine); font-size: var(--label); font-weight: 500; margin-bottom: .3rem; }
.timeline br { display: none; }

/* Image placeholder for photos still to come */
.img-placeholder { display: flex; align-items: center; justify-content: center; height: 120px; max-width: 340px; margin: var(--s2) 0 0; border: 1px dashed var(--wine-soft); border-radius: var(--radius); background: var(--paper); color: var(--muted); font-size: var(--label); }

/* Retailer lists: two wide, balanced columns; every store name stays on one line (Sep 14 feedback) */
.retailer-tools { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: var(--s5); align-items: end; padding: var(--s4) !important; margin: 0 0 var(--s3); background: var(--wine-dark); color: #fff; border-radius: var(--radius); }
.retailer-tools .kicker { color: var(--rose); margin-bottom: .45rem; }
.retailer-tools label { display: block; margin-bottom: .5rem; font-family: var(--serif); font-size: var(--step-1); line-height: 1.2; }
.retailer-tools input { width: 100%; min-height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); background: rgba(255,255,255,.08); color: #fff; padding: .7rem .9rem; font: inherit; }
.retailer-tools input::placeholder { color: #cbb9bc; }
.retailer-tools input:focus { border-color: #fff; outline: 2px solid var(--rose); outline-offset: 2px; }
.search-status { min-height: 1.3em; margin: .35rem 0 0; color: #d9cdd0; font-size: var(--text-xs); }
.province-nav { display: flex; flex-wrap: wrap; gap: .55rem; }
.province-nav a { display: inline-flex; align-items: center; min-height: 38px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; padding: .45rem .75rem; font-size: var(--label-sm); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.province-nav a:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
[data-retailer-section] { scroll-margin-top: 90px; }
[data-retailer-section].no-results { display: none; }
.online-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; list-style: none; margin-top: var(--s3); }
.online-grid li a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); padding: .7rem .85rem; font-size: var(--text-sm); text-decoration: none; }
.online-grid li a::after { content: "↗"; color: var(--wine); }
.online-grid li a:hover { border-color: var(--wine-soft); background: #fff; }
/* Trade enquiry block: full size on Where to Buy, .compact on Contact */
.trade-enquiry { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s4) var(--s5); align-items: center; }
.trade-enquiry h2 { margin-bottom: var(--s2); }
.trade-enquiry p { max-width: 58ch; margin: 0 0 var(--s2); }
.trade-enquiry p:last-child { margin-bottom: 0; }
.trade-enquiry .actions { margin: 0; }
.trade-enquiry.compact { gap: var(--s3) var(--s4); padding: var(--s4) !important; }
.trade-enquiry.compact h2 { font-size: var(--step-1); }
.trade-enquiry.compact p { font-size: var(--text-sm); }
.retail-cols { columns: 2 340px; column-gap: var(--s5); column-fill: balance; list-style: none; font-size: var(--text-sm); margin-top: var(--s2); }
.retail-cols li { break-inside: avoid; padding: .5rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
ul.plain { list-style: none; }
ul.checks li { margin-bottom: .6rem; padding-left: 1.6rem; position: relative; }
/* Burgundy grape-bunch bullet.
   TODO: replace inline placeholder SVG with the final brand grape-bunch icon asset when available. */
ul.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05em; height: 1.05em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235e1224'%3E%3Cpath d='M12.4 5.6c-.3-1.9.5-3.4 2.4-4.6.5 2-.1 3.6-1.8 4.9z'/%3E%3Ccircle cx='9' cy='8.6' r='2.5'/%3E%3Ccircle cx='15' cy='8.6' r='2.5'/%3E%3Ccircle cx='6.6' cy='13' r='2.5'/%3E%3Ccircle cx='12' cy='13' r='2.5'/%3E%3Ccircle cx='17.4' cy='13' r='2.5'/%3E%3Ccircle cx='9.3' cy='17.4' r='2.5'/%3E%3Ccircle cx='14.7' cy='17.4' r='2.5'/%3E%3Ccircle cx='12' cy='21.2' r='2.3'/%3E%3C/svg%3E") center/contain no-repeat; }
ul.checks + .cta-btn, ul.checks + .actions { margin-top: var(--s4); }

/* FAQ: sans question, serif answer */
.faq h2 { margin-bottom: var(--s4); }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s1); padding: 1.1rem 1.4rem; transition: border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: var(--wine-soft); }
.faq details[open] { border-color: var(--wine); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-family: var(--sans); font-weight: 500; font-size: var(--step-0); letter-spacing: .01em; color: var(--wine-dark); list-style: none; position: relative; padding-right: 2.2rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 400; font-size: 1.4rem; color: var(--wine); }
.faq details[open] summary::after { content: "×"; }
.faq details p { margin: var(--s2) 0 0; color: var(--muted); max-width: var(--measure); }

/* Awards strip */
.awards-strip { display: flex; gap: var(--s4); flex-wrap: wrap; justify-content: center; margin: var(--s4) 0; }
.awards-strip:last-child { margin-bottom: 0; }
.awards-strip figure { text-align: center; max-width: 180px; }
.awards-strip img { height: 130px; width: auto; margin: 0 auto; object-fit: contain; border-radius: 50%; box-shadow: var(--shadow); }
.awards-strip figcaption { margin-top: var(--s2); font-size: var(--label); color: var(--muted); line-height: 1.5; }
/* Judges' tasting notes: a stacked, ruled list (no equal-height cards, so no stranded white space) */
.notes { display: grid; gap: 0; max-width: 46rem; margin-top: var(--s4); border-top: 1px solid var(--line); }
.tasting-note { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3) var(--s4); align-items: start; text-align: left; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.tasting-note .bottle { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.tasting-note h3 { margin: 0 0 var(--s2); font-size: var(--label); text-transform: uppercase; letter-spacing: var(--track); }
.tasting-note h3 a { text-decoration: none; color: var(--wine); border-bottom: 1px solid var(--wine-soft); padding-bottom: .1rem; transition: border-color .2s; }
.tasting-note h3 a:hover { border-bottom-color: var(--wine); }
.tasting-note .quote { color: var(--ink); font-family: var(--serif); font-size: var(--step-1); line-height: 1.6; margin-bottom: var(--s2); }
.tasting-note .meta { font-family: var(--sans); font-size: var(--text-xs); letter-spacing: .02em; color: var(--muted); margin-bottom: 0; line-height: 1.7; }
/* The one place italics remain: a genuine citation */
blockquote.judge { max-width: 44rem; margin: var(--s5) auto 0; font-family: var(--serif); font-style: italic; font-size: var(--step-1); line-height: 1.5; color: var(--wine-dark); position: relative; padding: 0 var(--s4); }
blockquote.judge::before { content: "\201C"; font-style: normal; font-size: 3.5rem; line-height: 1; color: var(--wine-soft); position: absolute; left: 0; top: -.6rem; }
blockquote.judge cite { display: block; font-style: normal; font-size: var(--label); color: var(--muted); margin-top: var(--s2); }

/* Footer */
/* Homepage sections carry their own padding, so the footer sits flush; inner pages pad the main instead */
footer { background: #35000c; color: #e9dcd2; padding: var(--s6) 0 var(--s4); margin-top: 0; font-size: var(--text-sm); line-height: 1.7; border-top: 1px solid rgba(255,255,255,.12); }
/* Inner pages end with the last section's own padding plus this: the same ~5rem gap before the footer on every page */
main.wrap { padding-bottom: var(--s3); }
footer a { color: var(--rose); }
footer a:hover { color: #fff; }
footer .wrap { display: grid; gap: var(--s5); grid-template-columns: 1.35fr 1fr 1fr .8fr; }
footer h3 { color: #fff; font-size: var(--label); font-weight: 500; margin-bottom: var(--s2); }
footer p { color: #d8c8cb; }
footer .wrap > div:first-child p:first-of-type { max-width: 30ch; font-size: var(--step-0); color: #f4e9dc; }
.footnote { text-align: center; margin-top: var(--s4); font-size: var(--text-xs); color: #b49a8f; grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s3); }
.todo { background: #fff7dd; border: 1px dashed #c9a227; padding: .3rem .6rem; font-size: var(--text-xs); color: #7a5d00; border-radius: 3px; display: inline-block; font-family: var(--sans); }

@media (max-width: 760px) {
  :root { --step-0: 1.0625rem; }
  .product-hero { grid-template-columns: 1fr; gap: var(--s4); }
  .product-gallery { position: static; max-width: 420px; margin: 0 auto; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .quick-facts span:nth-child(4) { grid-column: auto; }
  .tasting-copy p, .specs div { grid-template-columns: 5rem 1fr; }
  .site-header { position: sticky; }
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto; padding-top: .75rem; padding-bottom: .75rem; gap: 0; text-align: left; }
  .brand { font-size: 1.25rem; }
  .brand small { font-size: .5rem; }
  .menu-toggle { display: inline-flex; }
  .site-header > .wrap > .cta-btn { display: none; }
  nav.main-nav { display: none; grid-column: 1 / -1; padding-top: var(--s3); }
  .menu-open nav.main-nav { display: block; }
  nav.main-nav ul { display: grid; gap: 0; border-top: 1px solid var(--line); }
  nav.main-nav li { border-bottom: 1px solid var(--line); }
  nav.main-nav a { display: block; min-height: 44px; padding: .9rem 0 .75rem; }
  .hero-intro { min-height: 420px; }
  .hero-intro-wordmark { letter-spacing: .2em; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr; gap: 0; padding: 0; }
  .hero-copy { padding: var(--s5) 1.25rem var(--s4); }
  /* Keep the whole line-up in frame: the figure takes the photo's own aspect ratio instead of a fixed height */
  .hero-media { min-height: 0; aspect-ratio: 16 / 9; margin: 0; }
  .hero-media::after { background: linear-gradient(180deg, var(--wine-dark) 0%, rgba(67,0,15,.25) 12%, transparent 30%); }
  .hero h1 { max-width: 12ch; }
  .hero .kicker { letter-spacing: var(--track); }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .cta-btn { width: 100%; max-width: 300px; text-align: center; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
  .trust-strip .wrap > div { padding: var(--s2); border-bottom: 1px solid var(--line); }
  .trust-strip .wrap > div:nth-child(odd) { padding-left: 0; }
  .trust-strip .wrap > div:nth-child(even) { border-right: 0; padding-right: 0; }
  .trust-strip .wrap > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .card-row { gap: var(--s3); margin-top: var(--s4); }
  .card-row .card { flex-basis: 100%; max-width: 380px; }
  .collection-grid { grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
  .wine-card > picture img, .collection-grid .wine-card > picture img { height: 270px; }
  .collection-method-card { min-height: 270px; padding: var(--s5) var(--s4); }
  .collection-method-card .cta-btn { width: 100%; max-width: none; text-align: center; }
  .awards-strip { gap: var(--s3); }
  .awards-strip figure { flex: 0 1 calc(50% - var(--s3) / 2); }
  .awards-strip img { height: 104px; width: 104px; }
  .retail-cols { columns: 1; }
  .retailer-tools { grid-template-columns: 1fr; gap: var(--s3); padding: var(--s3) !important; }
  .online-grid { grid-template-columns: 1fr; }
  .trade-enquiry, .trade-enquiry.compact { grid-template-columns: 1fr; gap: var(--s3); }
  .trade-enquiry .cta-btn { width: 100%; max-width: 300px; text-align: center; }
  .tasting-note { grid-template-columns: 72px minmax(0, 1fr); gap: var(--s2) var(--s3); }
  .tasting-note .bottle { width: 72px; height: 90px; }
  main.wrap { padding-bottom: var(--s2); }
  footer .wrap { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  footer .wrap > div:first-child, footer .footnote { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .cta-btn { padding: .7rem 1.2rem; font-size: .74rem; }
  footer .wrap { grid-template-columns: 1fr; }
  footer .wrap > div:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
