/* Camberwell South Cellars — shared styles for every page.
   Mobile-first: base rules are for phones, media queries add width. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --limestone: #f6efe2;
  --paper: #fbf7ef;
  --stone: #ece2d0;
  --oxblood: #4a1a26;
  --oxblood-deep: #2f0f18;
  --oxblood-soft: #6b2a3a;
  --ink: #2a2522;
  --ink-soft: #5a4f48;
  --brass: #b08a4a;
  --brass-light: #e9cf94;
  --brass-ink: #7a5520;
  --line: #ddd0bb;
  --ok: #2f6b3a;
  --warn: #8a3b2c;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 1rem;
  --max: 1160px;
  --radius: .25rem;
  /* Subtle paper grain, inline so there is no extra request */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--limestone) var(--grain);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0 0 .75rem; color: var(--oxblood); letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 9vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 6.5vw, 3.9rem); }
h3 { font-size: clamp(1.6rem, 4.5vw, 2rem); }
ul { padding-left: 1.15rem; }
html { scroll-padding-top: calc(var(--hh, 0px) + .75rem); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.eyebrow { display: block; margin-bottom: .8rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.lede { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--ink-soft); max-width: 38rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.skip { position: absolute; left: .5rem; top: .5rem; z-index: 10; padding: .7rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders the owner must fill. Search the HTML for data-placeholder. */
.placeholder { display: inline-block; padding: .05rem .4rem; border: 1px dashed var(--brass); border-radius: var(--radius); background: #fff8e6; color: var(--brass-ink); font: 600 .9em/1.4 var(--sans); letter-spacing: 0; }
.photo-slot { display: grid; place-items: center; text-align: center; padding: 1.5rem; min-height: 14rem; border: 1px dashed var(--brass); border-radius: var(--radius); background: var(--stone) var(--grain); color: var(--brass-ink); font-weight: 600; }
.photo-slot span { max-width: 26ch; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius); font: 700 1rem/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--oxblood); color: var(--paper); }
.button-brass { background: var(--brass-light); color: var(--oxblood-deep); }
.button-outline { border-color: var(--oxblood); color: var(--oxblood); background: transparent; }
.button-ghost-light { border-color: #c9a5ad; color: var(--paper); background: transparent; }
/* Plain hover colours only when animation is switched off; otherwise the sliding fill (motion block) handles hover.
   (A shorthand "background" here used to wipe the sliding fill, so it only appeared on mouse-out.) */
@media (prefers-reduced-motion: reduce) {
  .button-primary:hover { background-color: var(--oxblood-soft); }
  .button-brass:hover { background-color: #f3dca8; }
  .button-outline:hover { background-color: var(--stone); }
  .button-ghost-light:hover { background-color: var(--oxblood-soft); }
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 15; background: var(--paper) var(--grain); border-bottom: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgb(47 15 24 / .45); }
.site-header .header-inner, .site-header .wordmark strong { transition: padding .3s, font-size .3s; }
.site-header.is-scrolled .header-inner { padding-block: .45rem; }
.site-header.is-scrolled .wordmark strong { font-size: 2rem; }
@media (max-width: 899px) { .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .site-header, .site-header .header-inner, .site-header .wordmark strong { transition: none; } }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-block: .8rem; }
.wordmark { display: inline-flex; flex-direction: column; color: var(--oxblood); text-decoration: none; line-height: 1; }
.wordmark small { font: 750 .7rem/1 var(--sans); letter-spacing: .16em; }
.wordmark strong { font: 400 2.35rem/.95 var(--serif); }
.wordmark strong span { color: var(--brass); }
.header-call { min-height: 44px; padding: .5rem .9rem; font-size: .9rem; }
.site-nav { order: 3; width: 100%; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-block; padding-block: .45rem; font-weight: 650; font-size: .95rem; text-decoration: none; color: var(--ink); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--oxblood); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; }

/* Hero */
.hero { background: var(--oxblood) var(--grain); color: var(--paper); }
.hero-inner { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 7vw, 5.5rem); align-items: center; }
.hero h1 { color: var(--paper); }
.hero .eyebrow { color: var(--brass-light); }
.hero .lede { color: #f1e4e0; }
.hero figure { margin: 0; }
.hero img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid #8c6a4a; padding: .35rem; background: var(--oxblood-deep); }
.hero figcaption { margin-top: .5rem; font-size: .85rem; color: #e3cfc9; }
.page-hero { padding-block: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }

/* Info strip */
.info-strip { background: var(--stone) var(--grain); border-bottom: 1px solid var(--line); }
.info-strip dl { display: grid; margin: 0; }
.info-strip dl > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; align-items: baseline; padding: .8rem 0; }
.info-strip dl > div + div { border-top: 1px solid var(--line); }
.info-strip dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.info-strip dd { margin: 0; font-weight: 700; }

/* Status */
[data-open-status].is-open { color: var(--ok); }
[data-open-status].is-closed { color: var(--warn); }
.hero [data-open-status].is-open, .hero [data-open-status].is-closed { color: var(--brass-light); }

/* Category grid */
.section-head { display: grid; gap: .5rem; margin-bottom: 2rem; }
.section-head p { max-width: 34rem; margin: 0; }
.cat-grid { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cat-card { position: relative; display: flex; flex-direction: column; padding: 1.5rem; background: var(--paper) var(--grain); border: 1px solid var(--line); border-top: 3px solid var(--oxblood); border-radius: var(--radius); }
.cat-card p { color: var(--ink-soft); }
.cat-card a { margin-top: auto; font-weight: 700; color: var(--oxblood); }
.cat-card a::after { content: ""; position: absolute; inset: 0; }
.cat-num { font: 400 1rem/1 var(--serif); color: var(--brass-ink); margin-bottom: 1.25rem; }

/* Concierge strip */
.concierge { background: var(--oxblood-deep) var(--grain); color: var(--paper); }
.concierge h2 { color: var(--paper); }
.concierge .eyebrow { color: var(--brass-light); }
.concierge .lede { color: #ead9d4; }
.concierge-inner { display: grid; gap: 2rem; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem;
  font: 1rem/1.4 var(--sans); color: var(--ink);
  background: #fffdf8; border: 1px solid #a9988a; border-radius: var(--radius);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--oxblood); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.error { min-height: 0; font-size: .88rem; font-weight: 700; color: #a3221a; }
.error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .85rem; border: 1px solid #a9988a; border-radius: 999px; background: #fffdf8; font-weight: 600; cursor: pointer; }
.choices input { width: 1.1rem; height: 1.1rem; min-height: 0; accent-color: var(--oxblood); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: none; accent-color: var(--oxblood); }
.form-status { padding: 1rem; border-radius: var(--radius); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-preview { background: #fff8e6; border: 1px solid var(--brass); color: var(--ink); }
.form-status.is-sent { background: #edf6ee; border: 1px solid var(--ok); color: var(--ink); }
.form-status.is-failed { background: #fff6f5; border: 1px solid #b3261e; color: var(--ink); }
.form-status a { font-weight: 700; }
/* Forms on dark backgrounds sit on a paper card for AA contrast */
.form-card { padding: clamp(1.1rem, 3vw, 2rem); background: var(--paper) var(--grain); color: var(--ink); border-radius: var(--radius); }

/* Tastings & club */
.split { display: grid; gap: 2rem; align-items: start; }
/* Range page */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.filters button { min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--oxblood); border-radius: 999px; background: transparent; color: var(--oxblood); font: 700 .95rem/1 var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--oxblood); color: var(--paper); }
.filter-count { margin: -1rem 0 1.25rem; font-size: .92rem; color: var(--ink-soft); }
.pick-grid { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.pick { display: grid; grid-template-rows: auto 1fr; background: var(--paper) var(--grain); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pick[hidden] { display: none; }
.pick-media { display: grid; place-items: center; height: 15rem; background: radial-gradient(ellipse at 50% 40%, #f1dfaf, #cfa766); }
.pick-media img { height: 13rem; width: auto; mix-blend-mode: multiply; }
.pick-media.photo-slot { border: 0; border-bottom: 1px dashed var(--brass); border-radius: 0; min-height: 0; }
.pick-body { display: flex; flex-direction: column; padding: 1.25rem; }
.pick-style { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: .5rem; }
.pick h3 { font-size: 1.7rem; }
.pick-meta { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.pick .note { font-style: italic; }
.pick .actions { margin-top: auto; padding-top: .75rem; }
.pick details { margin-bottom: .75rem; font-size: .92rem; }
summary { cursor: pointer; font-weight: 700; }

/* Visit / map */
.visit-grid { display: grid; gap: 2rem; }
.visit-card { padding: clamp(1.1rem, 3vw, 2rem); background: var(--paper) var(--grain); border: 1px solid var(--line); border-radius: var(--radius); }
address { font-style: normal; font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.hours-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.hours-table th, .hours-table td { padding: .6rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.hours-table th { font-weight: 500; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--oxblood); font-weight: 800; }
.hours-table tr.is-today th::after { content: " · today"; font-size: .85rem; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); background: var(--stone); }

/* Prose pages */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.5rem; }
.fact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.fact-list li { padding: 1rem 1.25rem; background: var(--paper) var(--grain); border-left: 3px solid var(--brass); border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--oxblood-deep) var(--grain); color: #efe3df; }
.site-footer a { color: var(--paper); }
.site-footer h2 { font-size: 1.6rem; color: var(--paper); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
.footer-grid .wordmark { color: var(--paper); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.footer-hours { margin: 0; display: grid; gap: .25rem; }
.footer-hours div { display: flex; justify-content: space-between; gap: 1rem; max-width: 20rem; }
.footer-hours dd { margin: 0; font-weight: 700; white-space: nowrap; }
.legal { padding-block: 1.5rem; border-top: 1px solid #5e3a44; font-size: .86rem; color: #e2d3cf; }
.legal p { max-width: 70rem; }
.legal strong { color: var(--paper); }

/* Mobile action bar */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 5; display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: var(--oxblood-deep); box-shadow: 0 -2px 14px rgb(0 0 0 / .2); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius); font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--paper); border: 1px solid #a87f89; }
.mobile-bar a:first-child { background: var(--brass-light); border-color: var(--brass-light); color: var(--oxblood-deep); }

/* Invite-only tastings */
.invite-band { background: var(--brass-light) var(--grain); color: var(--oxblood-deep); border-block: 1px solid var(--brass); }
.invite-inner { display: grid; gap: 1.25rem; align-items: center; padding-block: clamp(2.25rem, 5vw, 3.25rem); }
.invite-band h2 { margin-bottom: .4rem; }
.invite-band .eyebrow { color: var(--oxblood); }
.invite-band .lede { color: var(--oxblood-deep); margin: 0; }
.invite-band .button-brass { background-color: var(--oxblood); background-image: none; color: var(--paper); }
.invite-band .button-brass:hover { background-color: var(--oxblood-soft); }
.steps { margin: 1rem 0 0; padding-left: 1.3rem; display: grid; gap: .75rem; }
.steps li::marker { font-family: var(--serif); color: var(--brass-ink); font-size: 1.2em; }
@media (min-width: 900px) { .invite-inner { grid-template-columns: 1fr auto; gap: 3rem; } }

/* ---------- Gentle section snapping ---------- */
html { scroll-snap-type: y proximity; }
main > section, [data-view] > section, .site-footer { scroll-snap-align: start; }
html:has(.range-nav) { scroll-padding-top: calc(var(--hh, 0px) + var(--rn, 3.6rem) + .5rem); }

/* ---------- Popular rail ---------- */
.popular { overflow: hidden; }
.rail-controls { display: flex; gap: .5rem; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--oxblood); background: transparent; color: var(--oxblood); font-size: 1.2rem; cursor: pointer; }
.rail-btn:hover { background: var(--oxblood); color: var(--paper); }
.rail-btn:disabled { opacity: .35; cursor: default; background: transparent; color: var(--oxblood); }
.rail { display: flex; gap: 1rem; margin: 0; padding: .5rem max(var(--gutter), calc((100vw - var(--max)) / 2)) 1.25rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.pop-card { position: relative; flex: 0 0 min(78vw, 17rem); display: flex; flex-direction: column; gap: .5rem; min-height: 15rem; padding: 1.4rem; scroll-snap-align: start; background: var(--paper) var(--grain); border: 1px solid var(--line); border-radius: var(--radius); }
.pop-card::before { content: ""; display: block; height: 6.5rem; margin: -1.4rem -1.4rem .6rem; background: radial-gradient(ellipse at 50% 60%, #f1dfaf, #cfa766); border-radius: var(--radius) var(--radius) 0 0; }
.pop-card h3 { font-size: 1.45rem; }
.pop-card a { margin-top: auto; font-weight: 700; color: var(--oxblood); }
.pick-row { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.pick-row .pop-card { min-height: 0; }

/* ---------- Range page ---------- */
.range-nav { position: sticky; top: var(--hv, 0px); z-index: 6; transition: top .3s cubic-bezier(.2, .7, .2, 1); background: rgb(246 239 226 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.range-nav ul { display: flex; gap: .4rem; margin-block: 0; padding-block: .55rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.range-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem .9rem; border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; color: var(--oxblood); }
.range-nav a:hover, .range-nav a.is-current { background: var(--oxblood); color: var(--paper); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--oxblood); border-radius: 999px; background: transparent; color: var(--oxblood); font: 700 .95rem/1 var(--sans); cursor: pointer; }
.chip:hover { background: var(--stone); }
.chip[aria-pressed="true"] { background: var(--oxblood); color: var(--paper); }
.chips[hidden] { display: none; }

.occasion { padding: clamp(1.25rem, 3vw, 2rem); background: var(--oxblood) var(--grain); color: var(--paper); border-radius: var(--radius); }
.occasion h3 { color: var(--paper); }
.occasion .chip { border-color: #c9a5ad; color: var(--paper); }
.occasion .chip:hover { background: var(--oxblood-soft); }
.occasion .chip[aria-pressed="true"] { background: var(--brass-light); border-color: var(--brass-light); color: var(--oxblood-deep); }
.occasion-hint { margin: 1rem 0 0; color: #ead9d4; }
.occasion-panels { margin-top: 1rem; }
.occasion-panel { padding: 1.1rem 1.25rem; background: var(--paper); color: var(--ink); border-radius: var(--radius); }
.occasion-panel + .occasion-panel { margin-top: .75rem; }
.js .occasion-panel { display: none; }
.js .occasion-panel.is-active { display: block; }
.occasion-panel h4 { margin: 0 0 .35rem; font: 400 1.5rem/1.1 var(--serif); color: var(--oxblood); }
.occasion-panel p { margin-bottom: .6rem; }
.suggest { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.suggest a { display: inline-flex; gap: .4rem; min-height: 44px; align-items: center; padding: .35rem .9rem; border-radius: 999px; background: var(--stone); font-weight: 700; text-decoration: none; color: var(--oxblood); }
.suggest a:hover { background: var(--brass-light); }

.glossary-wrap { margin-top: 2.5rem; }
.glossary { display: grid; gap: 1rem; margin-top: 1rem; }
.gloss { padding: 1.1rem 1.25rem; background: var(--paper) var(--grain); border-left: 3px solid var(--brass); border-radius: var(--radius); }
.gloss h4 { margin: 0 0 .3rem; font: 400 1.5rem/1.1 var(--serif); color: var(--oxblood); }
.gloss p { margin-bottom: .4rem; }
.source { color: var(--ink-soft); }
.principles { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.principles ul { margin: .75rem 0 0; display: grid; gap: .5rem; }

.type-group { margin-top: 2rem; }
.type-group[hidden] { display: none; }
.type-group h3 { font-size: clamp(1.8rem, 4vw, 2.3rem); border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.type-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.type-card details { background: var(--paper) var(--grain); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.type-card details[open] { border-color: var(--brass); box-shadow: 0 16px 36px -26px rgb(47 15 24 / .6); }
.type-card summary { display: grid; gap: .75rem; padding: 1.1rem 3.2rem 1.1rem 1.25rem; position: relative; list-style: none; cursor: pointer; }
.type-card summary::-webkit-details-marker { display: none; }
.type-head { display: grid; gap: .2rem; }
.type-name { font: 400 1.75rem/1.05 var(--serif); color: var(--oxblood); }
.type-taste { font-weight: 500; color: var(--ink-soft); }
.type-toggle { position: absolute; top: 1.2rem; right: 1.1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--oxblood); }
.type-toggle::before, .type-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 2px; background: var(--oxblood); translate: -50% -50%; transition: rotate .3s; }
.type-toggle::after { rotate: 90deg; }
details[open] > summary .type-toggle::after { rotate: 0deg; }
.meters { display: grid; grid-template-columns: 1fr; gap: .35rem 1rem; }
.meters:empty { display: none; }
.meter { display: grid; grid-template-columns: 4.8rem 1fr 5.6rem; align-items: center; gap: .5rem; font-size: .82rem; }
.meter-label { font-weight: 700; color: var(--brass-ink); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.meter-bar { height: 6px; background: var(--stone); border-radius: 3px; overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--brass), var(--oxblood-soft)); border-radius: 3px; }
.meter-value { color: var(--ink-soft); }
.type-body { padding: 1rem 1.25rem 1.25rem; border-top: 1px dashed var(--line); }
.shelf-label { margin: 1rem 0 .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.shelf { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.type-body .source { margin: 1rem 0 0; }

.sub-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.sub-chips li { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .92rem; }

@media (min-width: 640px) {
  .pick-row { grid-template-columns: repeat(3, 1fr); }
  .glossary { grid-template-columns: repeat(2, 1fr); }
  .meters { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .glossary { grid-template-columns: repeat(4, 1fr); }
  .type-card summary { grid-template-columns: 1fr 1.1fr; align-items: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .occasion-panel.is-active { animation: fade-up .45s cubic-bezier(.2, .7, .2, 1); }
  .type-card details[open] .type-body { animation: fade-up .45s cubic-bezier(.2, .7, .2, 1); }
  .meter-bar span { transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
  .js .type-card[data-reveal]:not(.is-in) .meter-bar span { width: 0; }
  .pop-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
  .pop-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px -24px rgb(47 15 24 / .6); }
}

/* ---------- Product cards (photos from our Uber Eats listing) ---------- */
.prod-img { position: relative; aspect-ratio: 5 / 4; background: #fff; border-radius: var(--radius); overflow: hidden; }
.prod-img img { position: absolute; inset: .6rem; width: calc(100% - 1.2rem); height: calc(100% - 1.2rem); object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.prod { display: flex; flex-direction: column; gap: .5rem; padding: .6rem; background: var(--paper) var(--grain); border: 1px solid var(--line); border-radius: var(--radius); }
.prod-name { margin: 0; padding: 0 .2rem .2rem; font-weight: 650; font-size: .92rem; line-height: 1.35; }
.prod-grid-sm { margin: 0 0 1rem; }
.prod-grid-sm .prod-name { font-size: .85rem; }
.js .prod.is-more { display: none; }
.js .is-expanded .prod.is-more { display: flex; }
.see-more[aria-expanded="true"]::after { content: " ▴"; }
.see-more[aria-expanded="false"]::after { content: " ▾"; }

.pop-card.prod-card { min-height: 0; padding: .7rem .7rem 1rem; }
.pop-card.prod-card::before { content: none; }
.pop-card.prod-card h3 { margin: .35rem .3rem 0; font: 650 1rem/1.35 var(--sans); color: var(--ink); }
.pop-actions { display: flex; gap: .5rem; margin-top: auto; padding: .5rem .3rem 0; }
.pop-actions a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .4rem .5rem; border-radius: var(--radius); font-weight: 700; font-size: .88rem; text-decoration: none; text-align: center; }
.pop-actions a:first-child { background: var(--oxblood); color: var(--paper); }
.pop-actions a:last-child { border: 1px solid var(--oxblood); color: var(--oxblood); }

@media (min-width: 640px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid-sm { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .prod:hover .prod-img img, .pop-card:hover .prod-img img { transform: scale(1.06); }
  .js .is-expanded .prod.is-more { animation: fade-up .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
}

/* ---------- Category quick links (under the hero) ---------- */
.cat-band { background: var(--oxblood-deep); border-block: 1px solid #5e3a44; }
.cat-band ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 0; margin-block: 0; padding-block: .7rem; list-style: none; }
.cat-band li + li::before { content: "✦"; color: var(--brass); font-size: .7rem; margin-inline: .9rem; vertical-align: middle; }
.cat-band a { color: var(--brass-light); font: italic 400 clamp(1.1rem, 2.2vw, 1.45rem)/1.6 var(--serif); text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size .3s, color .3s; }
.cat-band a:hover { color: var(--paper); background-size: 100% 1px; }

/* ---------- Photos with credits ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.credit { position: absolute; right: .4rem; bottom: .4rem; max-width: calc(100% - .8rem); padding: .1rem .45rem; border-radius: 2px; background: rgb(0 0 0 / .55); color: #fff; font-size: .68rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit-line { margin: .75rem 0 0; font-size: .75rem; color: var(--ink-soft); }
.card-photo { margin: -1.5rem -1.5rem 1.1rem; border-radius: var(--radius) var(--radius) 0 0; }
.card-photo img { aspect-ratio: 16 / 10; }
.cat-card .cat-num { margin-bottom: .6rem; }
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.5rem; }
.photo-strip img { aspect-ratio: 16 / 9; }
.range-intro { display: grid; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.range-photo img { aspect-ratio: 16 / 9; }
.occasion-panel.has-photo { display: grid; gap: 1rem; }
.js .occasion-panel.has-photo { display: none; }
.js .occasion-panel.has-photo.is-active { display: grid; }
.occ-photo img { aspect-ratio: 16 / 9; }

/* ---------- Wine: type cards that open to styles ---------- */
.group-card { margin-top: 1rem; background: var(--paper) var(--grain); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.group-card[open] { border-color: var(--oxblood); box-shadow: 0 20px 44px -30px rgb(47 15 24 / .7); }
.group-card > summary { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; padding: .8rem 3.4rem .8rem .8rem; position: relative; list-style: none; cursor: pointer; }
.group-card > summary::-webkit-details-marker { display: none; }
.group-thumb { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.group-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.group-text { display: grid; gap: .2rem; }
.group-name { font: 400 clamp(1.8rem, 4.5vw, 2.4rem)/1 var(--serif); color: var(--oxblood); }
.group-styles { color: var(--ink-soft); font-size: .92rem; }
.group-count { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
.group-card > summary .type-toggle { top: 50%; translate: 0 -50%; }
.group-card[open] > summary .type-toggle::after { rotate: 0deg; }
.group-body { padding: 0 .9rem 1rem; }
.group-body .type-list { gap: .6rem; }

/* ---------- Filter chips inside sections ---------- */
.sub-filter { margin: 0 0 .25rem; }
.chip-n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; margin-left: .3rem; padding: 0 .3rem; border-radius: 999px; background: var(--stone); color: var(--oxblood); font-size: .75rem; }
.chip[aria-pressed="true"] .chip-n { background: var(--brass-light); color: var(--oxblood-deep); }
.js .is-filtered .prod:not(.is-match) { display: none !important; }
.js .is-filtered .prod.is-match { display: flex; }
.see-more[hidden] { display: none; }

/* ---------- Side menu (desktop) ---------- */
.side-nav { position: fixed; left: .9rem; top: 50%; translate: 0 -50%; z-index: 8; width: 9.6rem; }
.side-nav[hidden] { display: none; }
.side-nav ol { display: grid; gap: .1rem; margin: 0; padding: .6rem .5rem; list-style: none; border-left: 1px solid var(--line); }
.side-nav a { position: relative; display: flex; align-items: center; gap: .55rem; min-height: 30px; padding: .1rem .4rem; border-radius: var(--radius); text-decoration: none; color: var(--ink-soft); font-size: .8rem; font-weight: 600; line-height: 1.2; transition: color .25s, background .25s; }
.side-nav .dot { width: .5rem; height: .5rem; flex: none; border-radius: 50%; border: 1.5px solid var(--brass); transition: background .25s, scale .25s, border-color .25s; }
.side-nav .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav a:hover { color: var(--oxblood); background: rgb(255 255 255 / .55); }
.side-nav a.is-current { color: var(--oxblood); font-weight: 800; background: rgb(255 255 255 / .7); }
.side-nav a.is-current .dot { background: var(--oxblood); border-color: var(--oxblood); scale: 1.2; }
.side-nav a.is-current::before { content: ""; position: absolute; left: -.55rem; top: 20%; bottom: 20%; width: 2px; background: var(--oxblood); }
@media (max-width: 1099px) { .side-nav { display: none !important; } }
/* keep page content clear of the side menu */
@media (min-width: 1100px) { html.has-side-nav { --max: min(1160px, calc(100vw - 23rem)); } }

.credit-list { columns: 2 20rem; padding-left: 1.1rem; }
.credit-list li { margin-bottom: .35rem; break-inside: avoid; }

@media (min-width: 900px) {
  .range-intro { grid-template-columns: 1fr .85fr; gap: 3rem; }
  .occasion-panel.has-photo, .js .occasion-panel.has-photo.is-active { grid-template-columns: 14rem 1fr; align-items: center; }
  .group-card > summary { grid-template-columns: 8rem 1fr; padding: 1rem 4rem 1rem 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .photo:hover img, .cat-card:hover .card-photo img { transform: scale(1.05); }
  .group-card:hover .group-thumb img { transform: scale(1.08); }
  .group-card[open] > .group-body { animation: fade-up .5s cubic-bezier(.2, .7, .2, 1); }
  .js .is-filtered .prod.is-match { animation: fade-up .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
}

/* ---------- "What you can do here" ---------- */
.start-here { background: var(--oxblood-deep) var(--grain); color: var(--paper); padding-block: clamp(2rem, 5vw, 3rem); }
.start-title { color: var(--brass-light); font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 1.1rem; }
.start-grid { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.start-grid a { position: relative; display: grid; align-content: start; gap: .3rem; height: 100%; padding: 1.1rem 2.6rem 1.1rem 1.1rem; border: 1px solid #6a3a46; border-radius: var(--radius); background: rgb(255 255 255 / .04); color: var(--paper); text-decoration: none; transition: background .3s, border-color .3s, transform .3s; }
.start-grid a:hover, .start-grid a:focus-visible { background: rgb(233 207 148 / .12); border-color: var(--brass); }
.start-num { font: 400 1rem/1 var(--serif); color: var(--brass); }
.start-grid strong { font: 400 1.6rem/1.05 var(--serif); color: var(--paper); }
.start-grid span:not(.start-num):not(.start-go) { color: #e6d6d1; font-size: .95rem; }
.start-go { position: absolute; right: 1rem; top: 1rem; color: var(--brass-light); font-size: 1.2rem; transition: translate .3s; }
.start-grid a:hover .start-go { translate: 4px 0; }

/* ---------- Signposting text ---------- */
.filter-hint { margin: -.75rem 0 .75rem; color: var(--ink-soft); font-size: .95rem; }
.filter-hint a { color: var(--oxblood); font-weight: 700; }

/* ---------- Help me choose ---------- */
.help-choose { background: var(--paper) var(--grain); border-block: 1px solid var(--line); }
.help-inner { display: grid; gap: 2rem; align-items: center; }
.occasion-links { margin: 1rem 0 0; padding: 0; list-style: none; }
.occasion-links a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.occasion-links a.chip:hover { background: var(--oxblood); color: var(--paper); }

/* ---------- One-line delivery band ---------- */
.delivery-line { background: var(--stone) var(--grain); border-bottom: 1px solid var(--line); }
.delivery-inner { display: grid; gap: 1rem; align-items: center; padding-block: 1.5rem; }
.delivery-inner p { margin: 0; }

/* ---------- Product "hold" link ---------- */
.prod-hold { margin: auto .2rem .1rem; font-size: .82rem; font-weight: 700; color: var(--oxblood); }

/* ---------- Wine: type tabs + panels (two levels) ---------- */
.wine-tabs { margin: 1rem 0 1.25rem; }
.wine-panel + .wine-panel { margin-top: 2rem; }
.js .wine-panel { display: none; }
.js .wine-panel.is-active { display: block; }
.wine-panel-head { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.wine-panel-head .group-thumb { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.wine-panel-head .group-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wine-panel-head h4 { margin: 0 0 .2rem; }
.wine-panel-head .group-styles { margin: 0 0 .25rem; }

/* ---------- Wine basics disclosure ---------- */
.basics { margin-top: 2rem; background: var(--paper) var(--grain); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--radius); }
.basics > summary { position: relative; display: block; padding: 1.1rem 3.4rem 1.1rem 1.25rem; font: 400 clamp(1.3rem, 3vw, 1.6rem)/1.2 var(--serif); color: var(--oxblood); list-style: none; cursor: pointer; }
.basics > summary::-webkit-details-marker { display: none; }
.basics > summary .type-toggle { top: 50%; translate: 0 -50%; }
.basics-body { padding: 0 1.25rem 1.25rem; }
.principles-list { display: grid; gap: .5rem; margin: 0; }

/* ---------- Range hero: what you can explore ---------- */
.explore-paths { display: grid; gap: .6rem; margin: 1.25rem 0 1rem; padding: 0; list-style: none; }
.explore-paths a { display: grid; gap: .15rem; padding: .85rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--oxblood); border-radius: var(--radius); background: var(--paper); text-decoration: none; color: var(--ink); transition: border-color .3s, background .3s; }
.explore-paths a:hover { border-color: var(--oxblood); background: #fff; }
.explore-paths strong { font: 400 1.35rem/1.1 var(--serif); color: var(--oxblood); }
.explore-paths span { font-size: .9rem; color: var(--ink-soft); }

@media (min-width: 640px) {
  .start-grid { grid-template-columns: repeat(2, 1fr); }
  .explore-paths { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .start-grid { grid-template-columns: repeat(4, 1fr); }
  .help-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .delivery-inner { grid-template-columns: 1fr auto; gap: 2rem; }
  .wine-panel-head { grid-template-columns: 7rem 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .wine-panel.is-active { animation: fade-up .45s cubic-bezier(.2, .7, .2, 1); }
  .start-grid a:hover { transform: translateY(-3px); }
}

/* ---------- Shop notice (set from Dad's Google Sheet) ---------- */
.notice { background: var(--brass-light); color: var(--oxblood-deep); border-bottom: 1px solid var(--brass); }
.notice[hidden] { display: none; }
.notice p { margin: 0; padding-block: .6rem; font-weight: 700; text-align: center; }

/* ---------- Holiday hours ---------- */
.holidays { margin: -.25rem 0 1rem; padding: .75rem 1rem; background: #fff8e6; border: 1px dashed var(--brass); border-radius: var(--radius); }
.holidays[hidden] { display: none; }
.holiday-title { margin: 0 0 .35rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
.holidays ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .25rem; }
.holidays li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }

/* ---------- Pick of the month ---------- */
.pick { background: var(--paper) var(--grain); border-block: 1px solid var(--line); }
.pick-inner { display: grid; gap: 2rem; align-items: center; }
.pick-img[hidden] { display: none; }
.pick-img { max-width: 22rem; width: 100%; margin-inline: auto; aspect-ratio: 4 / 5; box-shadow: 0 24px 50px -34px rgb(47 15 24 / .7); }
@media (min-width: 900px) { .pick-inner { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .cat-grid, .pick-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip dl { grid-template-columns: repeat(3, 1fr); }
  .info-strip dl > div { grid-template-columns: 1fr; gap: .25rem; padding: 1.1rem 1rem 1.1rem 0; }
  .info-strip dl > div + div { border-top: 0; border-left: 1px solid var(--line); padding-left: 1.25rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --gutter: 2.5rem; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .site-nav { order: 1; width: auto; margin-left: auto; }
  .header-call { order: 2; }
  .site-nav ul { gap: 1.75rem; }
  .wordmark strong { font-size: 2.8rem; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pick-grid { grid-template-columns: repeat(3, 1fr); }
  .concierge-inner, .split, .visit-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .section-head { grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* ---------- Hero frame, marquee, stats ---------- */
.hero-media .frame { overflow: hidden; border: 1px solid #8c6a4a; padding: .35rem; border-radius: var(--radius); background: var(--oxblood-deep); }
.hero-media .frame img { border: 0; padding: 0; border-radius: 2px; }
.status-line { display: inline-flex; align-items: center; gap: .55rem; margin: 1.1rem 0 0; font-weight: 700; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--brass-light); flex: none; }
.status-line:has(.is-open) .dot { background: #7fd18b; }
.status-line:has(.is-closed) .dot { background: #e08c7a; }

.marquee { overflow: hidden; background: var(--oxblood-deep); color: var(--brass-light); border-block: 1px solid #5e3a44; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 0; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-block: 1rem; }
.marquee-track span:last-child::after { content: none; }
.marquee-track span { font: italic 400 clamp(1.15rem, 2.2vw, 1.55rem)/1.3 var(--serif); white-space: nowrap; padding-inline: .9rem; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .55em; margin-left: 1.4rem; color: var(--brass); vertical-align: middle; }

.stats { background: var(--paper) var(--grain); border-block: 1px solid var(--line); }
.stats-inner { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.stats-inner > div { display: grid; gap: .25rem; }
.stats strong { font: 400 clamp(4rem, 13vw, 7rem)/.9 var(--serif); color: var(--oxblood); letter-spacing: -.02em; }
.stats span:not([data-count]) { font-weight: 700; color: var(--ink-soft); max-width: 16rem; }
@media (min-width: 640px) { .stats-inner { grid-template-columns: repeat(3, 1fr); } .stats-inner > div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; } }

/* Scroll "pour" progress line */
.pour { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 20; background: linear-gradient(90deg, var(--oxblood-soft), var(--brass)); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); pointer-events: none; }

/* Smooth cross-page fades in browsers that support it */
@view-transition { navigation: auto; }

/* ---------- Motion (only for visitors who haven't asked for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Headline rises word by word */
  .js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
  .js [data-split] .w > span { display: inline-block; transform: translateY(110%); animation: rise .95s cubic-bezier(.2, .75, .15, 1) forwards; animation-delay: calc(var(--w) * 65ms + .1s); }
  @keyframes rise { to { transform: none; } }

  .js .hero-fade { opacity: 0; animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
  @keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  /* Hero photo wipes open, then settles from a slow zoom; drifts with scroll */
  .js .hero-media { animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-media img { scale: 1.16; translate: calc(var(--mx, 0) * -14px) calc(var(--py, 0px) + var(--my, 0) * -10px); animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) forwards; transition: translate .5s cubic-bezier(.2, .7, .2, 1); will-change: translate; }
  .hero-media .frame { transform: perspective(1000px) rotateY(calc(var(--mx, 0) * 4deg)) rotateX(calc(var(--my, 0) * -3deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }

  /* Soft brass light that follows the pointer across the hero */
  .hero { position: relative; overflow: hidden; }
  .hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px circle at var(--hx, 70%) var(--hy, 30%), rgb(233 207 148 / .16), transparent 62%); opacity: 0; transition: opacity .6s; pointer-events: none; }
  .hero.is-pointer::before { opacity: 1; }
  .hero-inner { position: relative; }
  @keyframes settle { to { scale: 1.08; } }

  /* Scroll reveals, staggered by --i */
  .js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }


  /* Open-now pulse */
  .status-line:has(.is-open) .dot { animation: pulse 2s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(127 209 139 / .7); } 100% { box-shadow: 0 0 0 .7rem rgb(127 209 139 / 0); } }

  /* Category cards lift with a brass sheen */
  .cat-card { overflow: hidden; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
  .cat-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--cx, 50%) var(--cy, 0%), rgb(233 207 148 / .5), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
  .cat-card.is-in:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); box-shadow: 0 22px 44px -24px rgb(47 15 24 / .6); transition: opacity .9s, transform .15s ease-out, box-shadow .5s; }
  .cat-card:hover::before { opacity: 1; }
  .cat-card .cat-num { transition: letter-spacing .5s, color .5s; }
  .cat-card:hover .cat-num { letter-spacing: .3em; color: var(--oxblood); }

  /* Buttons fill from the left */
  .button { background-size: 210% 100%; background-position: 100% 0; transition: background-position .45s cubic-bezier(.2, .7, .2, 1), color .3s, border-color .3s, transform .2s; }
  .button:active { transform: scale(.97); }
  .button-brass { background-image: linear-gradient(90deg, #f6e2b4 50%, var(--brass-light) 50%); }
  .button-primary { background-image: linear-gradient(90deg, var(--oxblood-soft) 50%, var(--oxblood) 50%); }
  .button-outline { background-image: linear-gradient(90deg, var(--oxblood) 50%, transparent 50%); }
  .button-outline:hover { color: var(--paper); }
  .button-ghost-light { background-image: linear-gradient(90deg, var(--paper) 50%, transparent 50%); }
  .button-ghost-light:hover { color: var(--oxblood); }
  .button:hover { background-position: 0 0; }

  /* Nav underline draws in */
  .site-nav a { background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: none; background-size: 100% 2px; }

  ::view-transition-old(root) { animation: .25s ease-out both vt-out; }
  ::view-transition-new(root) { animation: .35s ease-out both vt-in; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .mobile-bar, .site-nav, .concierge form { display: none; }
  body { background: #fff; padding: 0; }
}

/* ---------- Compact on phones: fewer decorative photos, tighter rhythm ---------- */
@media (max-width: 639px) {
  .range-photo, .help-photo, .photo-strip { display: none; }
  .section-head { margin-bottom: 1.25rem; }
  .hero-inner { gap: 1.25rem; padding-block: 2rem; }
  .hero img { aspect-ratio: 16 / 9; }
  h1 { font-size: clamp(2.4rem, 10.5vw, 3.2rem); }
  h2 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
}
/* ---------- "More in store" note ---------- */
.more-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0 0; padding: .8rem 1rem; border-radius: var(--radius); background: #fff8e6; border: 1px solid var(--brass-light); color: var(--ink); font-size: .95rem; }
.more-note strong { color: var(--oxblood); }

/* ---------- Review round 2: compact, task-first layout ---------- */
.hero-meta { margin: .25rem 0 .5rem; font-weight: 700; color: var(--brass-light); letter-spacing: .02em; }
.today-hours { margin-left: .35rem; font-weight: 600; opacity: .9; }
.hero .status-line { margin: 0 0 1rem; }
.visit-strip { background: var(--stone) var(--grain); border-block: 1px solid var(--line); }
.visit-strip-inner { display: grid; gap: 1rem; align-items: center; padding-block: 1.5rem; }
.visit-strip-title { margin: 0 0 .25rem; font-size: clamp(1.6rem, 4vw, 2rem); }
.visit-strip-status { margin: 0 0 .25rem; font-weight: 700; }
.prod-hold { display: inline-flex; align-items: center; min-height: 44px; margin: auto .2rem 0; }
.delivery-compact { background: var(--paper) var(--grain); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .visit-strip-inner { grid-template-columns: 1fr auto; gap: 2rem; } }
@media (max-width: 639px) {
  .hero-media { display: none; }
  .start-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .start-grid a { padding: .8rem 1.8rem .8rem .8rem; }
  .start-grid strong { font-size: 1.2rem; }
  .start-grid span:not(.start-num):not(.start-go) { display: none; }
  .start-go { top: .8rem; right: .7rem; }
  .range-nav ul { flex-wrap: wrap; overflow: visible; gap: .25rem; }
  .range-nav a { min-height: 44px; padding: .3rem .75rem; }
  .footer-grid { gap: 1.25rem; padding-block: 2rem 1rem; }
  .footer-grid > div:nth-child(3), .footer-grid > div:nth-child(4) { display: none; }
}

.visit-strip .holidays { margin: .75rem 0 0; }

.status-line { flex-wrap: wrap; row-gap: .15rem; }
.status-line .today-hours { margin-left: 0; }
.side-nav ol { background: rgb(251 247 239 / .92); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px -20px rgb(47 15 24 / .5); backdrop-filter: blur(6px); }

/* ---------- Content first: compact page tops (owner: "it should just be there") ---------- */
.page-hero { padding-block: clamp(1.25rem, 3vw, 2rem); }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: .35rem; }
.page-hero .eyebrow { margin-bottom: .35rem; }
.page-hero .lede { font-size: 1.02rem; margin-bottom: 0; max-width: 46rem; }
.section.page-top { padding-top: clamp(1.25rem, 3vw, 2rem); }
.visit-card h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.cat-head { margin-bottom: 1rem; }
.cat-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: .25rem; }
.cat-head p { margin: 0; max-width: 46rem; }
#wine.section, .range-simple.section { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.range-intro { margin-bottom: 1rem; }
.range-photo img { aspect-ratio: 21 / 9; }
.hero-inner { padding-block: clamp(2rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.hero img { aspect-ratio: 4 / 3; max-height: 26rem; }
/* Home "Visit today" strip with the map */
.visit-strip-inner { grid-template-columns: 1fr; }
.strip-map { width: 100%; height: 220px; aspect-ratio: auto; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 900px) {
  .visit-strip-inner { grid-template-columns: 1fr 1.15fr; gap: 2.5rem; }
  .strip-map { height: 260px; }
}

.today-hours { white-space: nowrap; display: inline-block; }

.pick-img img { padding: 1rem 0; }

/* ---------- Inner pages: burgundy top bar for contrast ---------- */
.site-header.is-dark { background: var(--oxblood-deep) var(--grain); border-bottom-color: #5e3a44; }
.site-header.is-dark .wordmark { color: var(--paper); }
.site-header.is-dark .wordmark strong span { color: var(--brass-light); }
.site-header.is-dark .site-nav a { color: #f1e4e0; }
.site-header.is-dark .site-nav a:hover, .site-header.is-dark .site-nav a[aria-current="page"] { color: var(--paper); }
.site-header.is-dark .header-call { border-color: #c9a5ad; color: var(--paper); background-image: linear-gradient(90deg, var(--paper) 50%, transparent 50%); }
.site-header.is-dark .header-call:hover { color: var(--oxblood); }
.site-header.is-dark.is-scrolled { box-shadow: 0 10px 26px -14px rgb(0 0 0 / .55); }
@media (prefers-reduced-motion: reduce) { .site-header.is-dark .header-call { background-image: none; } .site-header.is-dark .header-call:hover { background-color: var(--paper); } }

/* ---------- Jumps and snapping land on the heading, not the section's top padding ---------- */
.section[data-nav] { scroll-margin-top: calc(-1 * clamp(2.5rem, 6vw, 4.5rem) + .5rem); }
#popular.section { scroll-margin-top: calc(-1 * clamp(2.5rem, 6vw, 4.5rem) + .25rem); }

/* sections with their own (smaller) top padding keep a normal jump offset */
#wine.section, .range-simple.section, .section.page-top, .section.credits { scroll-margin-top: 0; }

/* ---------- Home: intro + "What you can do here" are the whole first screen; Visit today starts below the fold ---------- */
.hero { min-height: calc(100vh - var(--hh, 70px) - var(--sh, 120px) - var(--mb, 0px)); min-height: calc(100svh - var(--hh, 70px) - var(--sh, 120px) - var(--mb, 0px)); display: grid; align-items: center; }

