/* ==========================================================================
   Lopai Cellars — Design Tokens
   --------------------------------------------------------------------------
   Plain CSS custom properties from the 2026 redesign (warm paper ground,
   oak-brown accent, deep navy bands). Pure CSS, no Hugo templating; the
   @font-face rules live in main.css, which runs through the fingerprint
   pipeline.
   ========================================================================== */

:root {
  /* ---- Color ----------------------------------------------------------- */
  --color-bg: #fffbf6;          /* paper */
  --color-surface: #f3ece2;     /* mats, newsletter band, placeholders */
  --color-text: #1c1916;        /* warm near-black ink: text, rules, filled buttons */
  --color-text-muted: #5e5650;  /* warm grey: meta, deks, captions */
  --color-accent: #9e6c42;      /* oak: rules, underlines, marks, borders */
  --color-accent-strong: #855a36; /* oak for small text and filled buttons (6:1) */
  --color-accent-deep: #6e4a2c; /* hover / pressed */
  --color-accent-bright: #b07a4c; /* oak on navy */
  --color-accent-tint: rgba(158, 108, 66, 0.1);
  --color-divider: color-mix(in srgb, #1c1916 18%, transparent);
  --color-error: #a3402a;

  --color-navy: #172636;        /* dark bands, footer, overlays */
  --color-navy-line: #34475d;   /* rules on navy */
  --color-navy-frame: #24364a;  /* photo frames on navy */
  --color-navy-soft: #d6dce4;   /* secondary text on navy */
  --color-navy-muted: #a9b6c4;  /* footer fine print */

  /* ---- Type ----------------------------------------------------------------
     Three roles, two families:
       Display  Timeless Serif Regular (CSS 700), uppercase, tracked; the home hero uses Light (300): page (h1) and section (h2) headings
       Title    Timeless Serif Book (CSS 500, and Book Italic): anything you'd name inside a section (cards,
                dialogs, wines, events, quotes) plus prices and numerals
       Text     Neutraface 2 Text Book/Demi: reading copy and all interface (nav, buttons, labels) */
  --font-serif: "Timeless Serif", Georgia, serif;
  --font-heading: "Timeless Serif", Georgia, serif;
  --font-body: "Neutraface 2 Text", "Helvetica Neue", Arial, sans-serif;

  /* A tight scale: 5 serif steps (hero, display-1, display-2, title-lg, title-md) and
     4 text steps (body-lg, body, caption, label). Don't add sizes between them.
     Fluid sizes are clamp(phone, preferred, desktop); rem keeps the browser text size. */
  --type-hero: clamp(2.5rem, 4.7vw, 3.75rem);            /* 40 → 60: home hero headline */
  --type-display-1: clamp(2.125rem, 3.75vw, 3rem);      /* 34 → 48: every page h1, detail pages included */
  --type-display-2: clamp(1.625rem, 2.5vw, 2rem);       /* 26 → 32: section h2 */
  --type-title-xl: var(--type-display-2);               /* home quote, same step as h2 */
  --type-title-lg: clamp(1.375rem, 2.2vw, 1.75rem);     /* 22 → 28: feature and club card titles */
  --type-title-md: clamp(1.25rem, 1.198rem + 0.221vw, 1.375rem);  /* 20 → 22: every other title */
  --type-title-sm: var(--type-title-md);
  --type-body-lg: clamp(1.0625rem, 1.011rem + 0.221vw, 1.1875rem);  /* 17 → 19: leads, intros, tabs */
  --type-body: 1rem;                                    /* 16: reading copy */
  --type-body-sm: clamp(0.9375rem, 0.911rem + 0.110vw, 1rem);  /* 15 → 16: UI copy */
  --type-caption: 0.8125rem;                            /* 13 */
  --type-label: 0.75rem;                                /* 12 */
  --type-kicker: 0.8125rem;  /* 13: page-top kicker line */
  --type-card: var(--type-body-sm);  /* homepage card text */
  --type-button: 1rem;
  --type-button-lg: 1rem;
  --type-nav: 1rem;     /* desktop menu, 16px */
  --type-menu: 1.25rem; /* phone menu, 20px */

  /* ---- Controls: every field and button that shares a row uses these heights ---- */
  --control-h: 48px;     /* inputs, selects, form buttons, .btn-md */
  --control-h-sm: 44px;  /* header button, card buttons, time slots */
  --control-h-lg: 54px;  /* hero and club calls to action */

  /* ---- Rhythm ---------------------------------------------------------------- */
  --space-section: 96px;

  /* ---- Shape & depth ------------------------------------------------------ */
  --radius: 4px;
  --radius-lg: 7px;
  --shadow-btn: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);

  /* ---- Layout -------------------------------------------------------------- */
  --container: 1240px;
  --gutter: 28px;
  --header-h: 77px;
}

@media (min-width: 900px) and (max-width: 1340px) {
  :root { --gutter: 56px; }
}

@media (max-width: 1099px) {
  :root { --space-section: 48px; }
}
/* ==========================================================================
   Lopai Cellars — Main Stylesheet
   --------------------------------------------------------------------------
   Runs through resources.ExecuteAsTemplate so the @font-face URLs below
   resolve to fingerprinted paths. Tokens live in tokens.css (bundled first).
   ========================================================================== */

/* Fonts
   ========================================================================== */

/* Timeless Serif (Timeless Free Font License, see fonts/Timeless-LICENSE.pdf): weight ranges map the
   CSS weights onto the cuts we use. Regular sets h1/h2 (700), Book the titles (500) and Book Italic
   their italics, Light the home hero headline (300) and Light Italic the home quote. */
@font-face { font-family: "Timeless Serif"; src: url('/fonts/TimelessSerif-Light.735ecd53ddf6e8a1b862809b6abff5dd2ac3c934900ba09880422ee5cff61029.woff2') format("woff2"); font-weight: 100 349; font-style: normal; font-display: swap; }
@font-face { font-family: "Timeless Serif"; src: url('/fonts/TimelessSerif-Book.fd42afee8260afcc22c7d8331c1408ac13bd845f80841fc8e84b009f98c8bc1a.woff2') format("woff2"); font-weight: 350 649; font-style: normal; font-display: swap; }
@font-face { font-family: "Timeless Serif"; src: url('/fonts/TimelessSerif-Regular.467d612eda2ae51703903b07f6538c4ddce8a7e52663763a20e1b8441887f416.woff2') format("woff2"); font-weight: 650 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Timeless Serif"; src: url('/fonts/TimelessSerif-LightItalic.c36081d77da38781e780fb6d8c485db952132a40ced7c9d7ffd206eba798aac6.woff2') format("woff2"); font-weight: 100 349; font-style: italic; font-display: swap; }
@font-face { font-family: "Timeless Serif"; src: url('/fonts/TimelessSerif-BookItalic.8cebf224f9a7c441ba63ab92fd1be630fc9fb1f1450780de8081807329327ffe.woff2') format("woff2"); font-weight: 350 900; font-style: italic; font-display: swap; }

@font-face { font-family: "Neutraface 2 Text"; src: url('/fonts/Neutra2Text-Book-Lining.8a2fb4d8d8cce5b6836f15c81b9439f4f33d90b611eb0c600760e4c0da494c05.woff2') format("woff2"); font-weight: 100 549; font-style: normal; font-display: swap; }
@font-face { font-family: "Neutraface 2 Text"; src: url('/fonts/Neutra2Text-Demi-Lining.5bb00eef42103ff505c8cf859d4d320668dc684bfdc0e2fa55f163da105c320f.woff2') format("woff2"); font-weight: 550 649; font-style: normal; font-display: swap; }
@font-face { font-family: "Neutraface 2 Text"; src: url('/fonts/Neutra2Text-Bold-Lining.c0298d09eae16184119e12b78037d48edd2280cf292d3604d57d71d67943278b.woff2') format("woff2"); font-weight: 650 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Neutraface 2 Text"; src: url('/fonts/Neutra2Text-BookItalic-Lining.b8c934d614cf3dbc1479f811d2b07a60ad5042b13db6c018147d43bb3f12757b.woff2') format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

/* Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* No global scroll-behavior: smooth. It animates the browser's scroll restoration on
   reload and back/forward, which reads as the page jumping on its own. */
html { scroll-padding-top: calc(var(--header-h) + 24px); }
html.menu-open, html.dialog-open { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--type-body-sm);
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-kerning: normal;
}

main { flex: 1; }

img { display: block; max-width: 100%; }
figure { margin: 0; }
p { margin: 0; }

a { color: var(--color-accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--color-text); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* Type roles (see tokens.css)
   ------------------------------------------------------------------------
   Display: h1/h2 only, Timeless Serif Regular set in tracked capitals.
   Title:   h3 and every named thing inside a section, Timeless Serif Book.
   Text:    everything else, Neutraface 2 Text. */
h1, h2, h3 { margin: 0; color: inherit; text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; text-transform: uppercase; }
h1 { font-size: var(--type-display-1); line-height: 1.04; letter-spacing: 0.035em; max-width: 22ch; }
h2 { font-size: var(--type-display-2); line-height: 1.15; letter-spacing: 0.06em; max-width: 24ch; }

h3,
.title,
.flight__name,
.feature-card__title,
.quote__text, .quote__mark,
.post-card__title,
.story-part__num, .pull-quote p, .pull-quote span,
.club-card__title, .club-card__lead,
.exp-row__name,
.wine-card__name,
.shop-club__title,
.event-card__title, .event-past__title,
.journal-row__title,
.visit__address,
.newsletter__line,
.dialog__title,
.exp-option__name,
.lightbox__caption,
.c7-buy-product .c7-product__add-to-cart__price {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
  max-width: none;
}

/* Story: "At a glance", a light panel (on desktop, a navy middle column holds the photo): the years as a vertical timeline beside the other facts (stacked on narrow screens) */
.timeline { padding-top: 40px; }
.kicker.timeline__title { grid-column: 1 / -1; margin: 0; padding: 22px 40px 0; color: var(--color-accent-strong); }
.timeline__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 0; padding: 4px 0 0; border-radius: var(--radius-lg); }
.timeline__list { position: relative; display: grid; align-content: space-between; gap: 20px; margin: 0; padding: 22px 40px 22px 70px; list-style: none; }  /* years spread down the height of the facts */
.timeline__list::before { content: ""; position: absolute; left: 45px; top: 28px; bottom: 28px; border-left: 1px solid var(--color-accent); }
.timeline__item { position: relative; display: grid; gap: 4px; }
.timeline__item::before { content: ""; position: absolute; top: 3px; left: -30px; width: 11px; height: 11px; border-radius: 50%; background: var(--color-accent); }
.timeline__year { font-family: var(--font-heading); font-weight: 500; font-size: var(--type-title-md); line-height: 1; }
.timeline__label { font-size: var(--type-body-sm); line-height: 1.5; }
.timeline__facts { justify-self: center; width: fit-content; max-width: 100%; margin: 0; padding: 6px 40px; }  /* as wide as its longest line, so the oak lines end with the text */
.timeline__facts > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--color-accent); }
.timeline__facts > div:first-child { border-top: 0; }
.timeline__facts dt { font-family: var(--font-heading); font-weight: 500; font-size: var(--type-title-sm); line-height: 1.1; }
.timeline__facts dd { margin: 0; font-size: var(--type-body-sm); line-height: 1.5; }
/* The photo between the columns shows on desktop only; contain: size keeps it from setting the panel's height */
.timeline__img { display: none; }
@media (min-width: 1100px) {
  /* A full-height navy middle column: the photo up top, "Read our story" at its foot */
  .timeline__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; padding: 0; }
  .kicker.timeline__title { grid-column: 1; grid-row: 1; }
  .timeline__list { grid-column: 1; grid-row: 2 / 4; padding-right: 32px; }
  .timeline__img { grid-column: 2; grid-row: 1 / 3; display: block; align-self: stretch; width: 100%; height: auto; margin: 0; contain: size; object-fit: cover; padding: 28px 24px 0; background: color-mix(in srgb, var(--color-navy) 88%, transparent); filter: sepia(0.15) saturate(0.85); cursor: zoom-in; }  /* graded like the banner above */
  .timeline__facts { grid-column: 3; grid-row: 1 / 4; align-self: center; padding: 6px 32px; }
  .timeline__grid .timeline__more { grid-column: 2; grid-row: 3; background: color-mix(in srgb, var(--color-navy) 88%, transparent); color: var(--color-bg); }
  .timeline__grid .timeline__more svg { color: var(--color-accent-bright); }
  .timeline__grid .timeline__more:hover { color: var(--color-bg); text-decoration-color: var(--color-accent-bright); }
}
/* "Read our story" cue at the foot of the panel, arrow centered under the words, so the page clearly continues below */
.timeline__more { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 40px 20px; font-size: var(--type-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text); text-decoration: none; }
.timeline__more svg { color: var(--color-accent); transition: transform 0.2s ease; }
.timeline__more:hover { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 5px; }  /* keeps its color, unlike the site-wide link hover */
.timeline__more:hover svg { transform: translateY(3px); }
@media (max-width: 799px) {
  .timeline__grid { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .kicker.timeline__title { padding: 20px 22px 0; }
  .timeline__list { gap: 16px; padding: 18px 22px 20px 52px; }
  .timeline__list::before { left: 27px; top: 24px; bottom: 26px; }
  .timeline__facts { justify-self: stretch; width: auto; padding: 2px 22px; }
  .timeline__more { padding: 14px 22px 18px; }
}
@media (max-width: 599px) {
  /* Phones: each year sits beside its line instead of above it, and the facts pack closer, so the panel stays about one screen */
  .timeline__list { gap: 14px; padding-left: 46px; }
  .timeline__list::before { left: 23px; }
  .timeline__item { grid-template-columns: 3.1em minmax(0, 1fr); gap: 0 10px; align-items: baseline; }
  .timeline__item::before { left: -27px; top: 5px; }
  .timeline__facts > div { padding: 9px 0; }
}
.story-part__img-link { display: contents; }  /* keeps the photo in the grid, just clickable */
h3 { font-size: var(--type-title-md); }
.title-lg { font-size: var(--type-title-lg); }
/* Detail pages (a wine, an event, a post) carry longer names: same Display voice, one step down. */
.h1--detail { max-width: 20ch; }

.tnum { font-feature-settings: "tnum"; }
.muted { color: var(--color-text-muted); }
[hidden] { display: none !important; }

/* Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.rule-top { border-top: 1px solid var(--color-divider); }

.stack { display: grid; gap: 16px; align-content: start; }
.stack--sm { gap: 8px; }
.stack--lg { gap: 22px; }
.stack--xl { gap: 32px; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
  align-items: start;
}
.two-col--center, .two-col--quote { align-items: center; }
@media (min-width: 800px) { .two-col--flip > :first-child { order: 2; } }  /* swap sides on wide screens; phones keep the source order */

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

/* Label: the one small-caps voice (kickers, table headers, field labels) */
.kicker {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  margin: 0;
}
.kicker--light { color: var(--color-bg); opacity: 0.9; }
.kicker--strong { font-weight: 600; }
.kicker--page { font-size: var(--type-kicker); } /* the first line on each page, above the h1 */
@media (min-width: 1100px) { .kicker--desktop-lg { font-size: var(--type-kicker); } } /* page-kicker size on desktop only */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: 16px;
}

.page-head { display: grid; gap: 20px; padding-top: var(--space-section); padding-bottom: 56px; }
.page-head--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: end; gap: 20px 56px; }
.page-head--photo .page-head__text { display: grid; gap: 20px; }
.page-head__img { aspect-ratio: 3 / 2; }
@media (max-width: 799px) { .page-head--photo { grid-template-columns: minmax(0, 1fr); } }
.page-head__intro { font-size: var(--type-body-lg); line-height: 1.65; max-width: 58ch; color: var(--color-text-muted); }

.hr { height: 1px; border: 0; margin: 0; background: var(--color-divider); }

/* Prose (markdown bodies) */
.prose { display: grid; gap: 16px; font-size: var(--type-body); line-height: 1.75; hyphens: auto; max-width: 64ch; }
.prose > * { margin: 0; }
.prose h2 { font-size: var(--type-display-2); margin-top: 24px; }
.prose h3 { margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 6px; }
.prose a:not(.btn), .link-inherit { color: inherit; text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.prose a:not(.btn):hover, .link-inherit:hover { color: var(--color-accent); }
.prose blockquote { border-left: 1px solid var(--color-accent); padding-left: 20px; font-family: var(--font-heading); font-size: var(--type-title-sm); font-style: italic; line-height: 1.35; }
.prose--post { line-height: 1.8; }
.prose-sm { display: grid; gap: 16px; font-size: var(--type-body); line-height: 1.7; max-width: 52ch; }
.prose-sm > p { margin: 0; }
.prose-sm a:not(.btn) { color: inherit; text-decoration-color: var(--color-accent); }

/* Links on dark grounds */
.link-light { color: var(--color-bg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-accent); }
.link-light:hover { color: var(--color-bg); text-decoration-color: var(--color-bg); }
.link-strong { justify-self: start; font-size: var(--type-body-sm); font-weight: 600; text-underline-offset: 4px; }

/* Images
   ========================================================================== */

/* .plate: the design's matted photograph — warm grade, surface mat, hairline. */
.plate {
  width: 100%;
  object-fit: cover;
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
  border: 1px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
  aspect-ratio: 4 / 3;
}
.plate-sm {
  object-fit: cover;
  border: 1px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
}
/* .framed: photographs set on the navy bands. */
.framed {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--color-navy-frame);
  filter: sepia(0.12) saturate(0.9);
}
.banner-wide { aspect-ratio: 21 / 9; }

img[data-zoom] { cursor: zoom-in; }

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--control-h-sm);
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--type-body-sm);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-sm { padding: 8px 16px; min-height: 40px; }
.btn-md { font-size: var(--type-button); padding: 12px 28px; min-height: var(--control-h); }
.btn-lg { font-size: var(--type-button-lg); padding: 14px 30px; min-height: var(--control-h-lg); }
.btn-shadow { box-shadow: var(--shadow-btn); }
.btn-arrow { color: var(--color-accent); }

/* Filled buttons are warm black on paper and warm to oak on hover; over photos and navy they stay oak (below) */
.btn-primary { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-strong); border-color: var(--color-accent-strong); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }

.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary[aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-accent-tint); color: var(--color-text); }

.btn-ghost { color: var(--color-accent-strong); font-size: var(--type-button); padding-inline: 5px; }
.btn-ghost:hover { background: var(--color-accent-tint); color: var(--color-accent-deep); }
.btn-flush { padding-left: 0; justify-self: start; }
.btn-flush:hover { background: none; text-decoration: underline; text-decoration-color: var(--color-accent); }

.btn-light { background: var(--color-bg); border-color: var(--color-bg); color: var(--color-text); }
.btn-light:hover { background: var(--color-surface); border-color: var(--color-surface); color: var(--color-text); }

.btn-outline-light { border-color: rgba(243, 242, 242, 0.45); color: var(--color-bg); }
.btn-outline-light:hover { background: rgba(243, 242, 242, 0.08); color: var(--color-bg); }

.hero .btn-primary, .band-dark .btn-primary, .hero-banner .btn-primary { background: var(--color-accent); border-color: var(--color-accent); }
.hero .btn-primary:hover, .band-dark .btn-primary:hover, .hero-banner .btn-primary:hover {
  background: var(--color-accent-bright);
  border-color: var(--color-accent-bright);
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--control-h-sm);
  height: var(--control-h-sm);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--color-text);
  cursor: pointer;
}
.icon-btn:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }

/* Tags, tables, forms
   ========================================================================== */

.tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  font-size: var(--type-label);
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 3px;
}
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent-strong); }

.table { width: 100%; border-collapse: collapse; font-size: var(--type-body-sm); }
.table th {
  text-align: left;
  font-size: var(--type-label);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 9px;
  border-bottom: 1px solid var(--color-divider);
}
.table td { padding: 9px; border-bottom: 1px solid var(--color-divider); vertical-align: middle; }
.table .num { text-align: right; white-space: nowrap; }

.spec-table th { width: 40%; color: var(--color-accent-strong); padding-left: 0; }
.spec-table td { padding-right: 0; }

.field-label { display: block; font-size: var(--type-label); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; color: var(--color-text-muted); padding: 0; }

.bullets ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bullets li { display: flex; gap: 12px; font-size: var(--type-body-sm); line-height: 1.6; }
.bullets li::before { content: "•"; color: var(--color-accent); }

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-divider);
}

.site-header__bar { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.site-header__logo { margin-right: auto; display: flex; flex-shrink: 0; }
.site-header__logo img { height: clamp(22px, 20.34px + 0.442vw, 26px); width: auto; } /* 22px on phones, growing to 26px at 1280px+ */

.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav__link {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: var(--color-text);
  font-size: var(--type-nav);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav__link:hover { color: var(--color-accent-strong); }
.site-nav__link[aria-current="page"] { color: var(--color-accent-strong); border-bottom-color: var(--color-accent); }

.site-header__actions { display: flex; align-items: center; gap: 6px; }
.site-header__book { margin-left: 8px; font-size: var(--type-nav); letter-spacing: 0.03em; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
}

.menu-toggle { display: none; border: 1px solid var(--color-divider); }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: calc(100dvh - var(--header-h));
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) 40px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  animation: lpFade 0.25s ease;
}
.mobile-menu__link {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--type-menu);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu__link[aria-current="page"] { color: var(--color-accent-strong); }
.mobile-menu__link--small { font-family: var(--font-body); font-weight: 600; font-size: var(--type-label); letter-spacing: 0.16em; }
.mobile-menu__address { padding-top: 28px; font-size: var(--type-body-sm); color: var(--color-text); }
.mobile-menu__phone { padding-top: 10px; font-size: var(--type-body-sm); color: var(--color-text); }

@keyframes lpFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Home
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-navy);
  color: var(--color-bg);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.85) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 38, 54, 0.82) 0%, rgba(23, 38, 54, 0.35) 45%, rgba(23, 38, 54, 0.05) 100%);
}
/* Home hero on phones: frame the right side of the golden-hour photo, where the tree's shade sits behind the top lines of text (!important beats the inline desktop position) */
@media (max-width: 599px) { .hero__img--home { object-position: 0% 50% !important; } }  /* phones: the window, hills and vineyard behind the headline */
.hero__content { position: relative; z-index: 1; display: grid; gap: 24px; padding-bottom: 80px; padding-top: 140px; }
.hero__title { font-size: var(--type-hero); font-weight: 300; max-width: none; }  /* Timeless Light keeps the hero airy over the photo */
.hero__kicker, .hero__meta, .hero__title, .hero__lead { text-shadow: 0 1px 3px rgba(23, 38, 54, 0.5), 0 2px 18px rgba(23, 38, 54, 0.8); }  /* a soft navy glow keeps the white text clear over bright parts of the photo */
.hero__kicker { font-size: var(--type-kicker); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__lead { font-size: var(--type-body-lg); line-height: 1.6; max-width: 52ch; text-wrap: pretty; }
.hero__line { display: block; }
.hero__meta { font-size: var(--type-button-lg); font-weight: 600; letter-spacing: 0.03em; }
.hero .btn-row { margin-top: 8px; }

.band-dark { background: var(--color-navy); color: var(--color-bg); }
/* Inset panel: a band held inside the page margins with rounded corners, so it floats on the
   paper instead of running edge to edge. Its inner .container keeps the usual gutter. */
.band-inset { width: calc(100% - 24px); max-width: var(--container); margin: 24px auto; border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) {
  .band-inset { width: calc(100% - 2 * var(--gutter)); margin-block: 48px; }
  .band-inset > .container { padding-inline: calc(var(--gutter) + 40px); }  /* more room between the content and the panel edges */
}

.split--tasting {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding-block: var(--space-section);
}
.split--tasting > * { flex: 1 1 400px; min-width: 0; }
.photo-grid { flex-basis: 440px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-grid .framed { aspect-ratio: 4 / 3; }
.photo-grid__wide { grid-column: 1 / -1; aspect-ratio: 16 / 10 !important; }
.body-lg { font-size: var(--type-body); line-height: 1.7; }

.flight-list { display: grid; border-top: 1px solid var(--color-navy-line); }
.flight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-navy-line);
}
.flight__thumb { width: 96px; height: 72px; flex: 0 0 96px; }
.flight__thumb-link { flex: 0 0 96px; display: block; }
.flight__book { flex: none; white-space: nowrap; font-size: var(--type-body-sm); }
@media (max-width: 599px) {
  /* Phones: thumbnail beside the text, the Book button under the text */
  .flight { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 12px 16px; }
  .flight__book { grid-column: 2; justify-self: start; }
}
.flight__body { display: grid; gap: 4px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.flight__body:hover { color: inherit; opacity: 0.85; }
.flight__name { font-size: var(--type-title-sm); }
.flight__price, .exp-row__price { white-space: nowrap; }
.flight__feature { display: inline-block; margin-left: 6px; font-family: var(--font-body); font-size: var(--type-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-bright); vertical-align: 3px; }
.exp-row__feature { color: var(--color-accent-strong); }
.flight__wines { font-size: var(--type-body-sm); line-height: 1.5; color: var(--color-navy-soft); }

.two-col--intro { padding-top: calc(var(--space-section) + 16px); }
/* Divided: heading right-aligned beside the text, the two pulled together around a thin rule */
@media (min-width: 768px) {
  .two-col--divided { grid-template-columns: auto minmax(0, 52ch); justify-content: center; gap: 0; align-items: center; }
  .two-col--divided h2 { text-align: right; padding-right: 48px; max-width: none; white-space: nowrap; }
  .two-col--divided .prose-sm { border-left: 1px solid var(--color-divider); padding-left: 48px; }
}

.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px; }
/* Flex column so the action row pins to the bottom and lines up across the row */
.feature-card { display: flex; flex-direction: column; gap: 20px; }
.feature-card > :last-child { margin-top: auto; }
/* Text + button: stacked on phones and tablets, side by side from 1100px so the text keeps a short line */
.feature-card__foot { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.feature-card__foot > div { margin-top: auto; } /* stacked: the button still pins to the card bottom */
@media (min-width: 1100px) {
  .feature-card__foot { flex-direction: row; align-items: center; gap: 32px; }
  .feature-card__foot p { flex: 1; margin: 0; text-wrap: pretty; }
  .feature-card__foot > div { flex: none; margin-top: 0; }
}
.feature-card__img-link { display: block; transition: opacity 0.15s ease; }
.feature-card__img-link:hover { opacity: 0.88; }
.feature-card p { font-size: var(--type-card); line-height: 1.7; color: var(--color-text-muted); }
.feature-card__title { font-size: var(--type-title-lg); }

.two-col--quote { padding-block: var(--space-section); }  /* same as the tasting band above */
.quote__img { max-width: 520px; justify-self: center; aspect-ratio: 4 / 5; filter: sepia(0.15) saturate(0.85); }
.quote { display: grid; gap: 24px; }
.quote__mark { font-size: 120px; line-height: 0.6; height: 48px; margin-bottom: -12px; color: var(--color-accent-bright); }
.quote__text { margin: 0; font-size: var(--type-title-xl); font-style: italic; font-weight: 300; line-height: 1.25; }
.quote__name { font-style: normal; }  /* upright, so the italic lean doesn't crowd its closing quote mark into the next word */
.quote__by { font-weight: 600; color: var(--color-accent-bright); }

/* Full-bleed photo break: edge to edge, no frame. Desktop only (hidden below 900px). */
.photo-break { display: none; }
.photo-break__img { display: block; width: 100%; height: clamp(280px, 56vh, 640px); object-fit: cover; filter: sepia(0.15) saturate(0.85); }
@media (min-width: 900px) { .photo-break { display: block; } }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 36px; }
.post-card { display: grid; gap: 12px; align-content: start; color: inherit; text-decoration: none; }
.post-card:hover { color: inherit; opacity: 0.8; }
.post-card__img { aspect-ratio: 3 / 2; }
.post-card__kicker { font-size: var(--type-caption); }
.post-card__title { font-size: var(--type-title-md); }
.post-card__dek { font-size: var(--type-card); line-height: 1.6; color: var(--color-text-muted); }

/* About / Team
   ========================================================================== */

.about__sections { padding-bottom: 110px; }
.story-part {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--color-divider);
}
.story-part:last-child { border-bottom: 0; }
.story-part--reverse { flex-direction: row-reverse; }
.story-part__img, .story-part__text { flex: 1 1 380px; min-width: 0; }
.story-part__label { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.story-part__num { font-size: var(--type-display-1); line-height: 1; color: var(--color-accent); font-feature-settings: "tnum"; }
.pull-quote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-divider);
}
.pull-quote span { font-size: 56px; line-height: 0.8; color: var(--color-accent); }
.pull-quote p { font-style: italic; font-size: var(--type-title-md); line-height: 1.3; }

.team__title { max-width: none; }
.team__banner { padding-bottom: 64px; }
.team__members { display: grid; gap: 64px; padding-bottom: 110px; }
.member {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  border-top: 1px solid var(--color-divider);
}
.member__img { aspect-ratio: 4 / 5; }
.callout {
  margin: 4px 0;
  padding: 18px 22px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  background: rgba(158, 108, 66, 0.08);  /* the same oak tint as a selected booking option */
  text-align: center;
  font-size: var(--type-body-sm);
  line-height: 1.7;
  font-style: italic;
}
.callout a { color: var(--color-text); text-decoration-color: var(--color-accent); }
.callout a:hover { color: var(--color-accent); }
.member__closing { font-family: var(--font-heading); font-size: var(--type-title-sm); font-style: italic; line-height: 1.35; }

/* Subscription
   ========================================================================== */

.two-col--club { padding-bottom: 96px; }
.club-card {
  display: grid;
  gap: 22px;
  padding: 40px 36px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
}
.club-card__title { font-size: var(--type-title-lg); }
.club-card__lead { font-size: var(--type-title-sm); color: var(--color-text-muted); }
.club-card__foot { font-size: var(--type-caption); color: var(--color-text-muted); }
.club-card__foot a { color: inherit; text-decoration-color: var(--color-accent); }
.tastings__img { aspect-ratio: 3 / 2; margin-bottom: 10px; }
.club-closing { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 26rem); justify-content: center; align-items: center; gap: 32px 72px; }
.club-closing__img { aspect-ratio: 4 / 5; }
.club-closing__text { display: grid; gap: 20px; justify-items: start; max-width: 32rem; }
@media (max-width: 799px) { .club-closing { grid-template-columns: minmax(0, 1fr); } }

.exp-table td { padding-block: 20px; } /* more room between the rows and their divider lines */
.exp-row { display: flex; gap: 16px; align-items: center; }
.exp-row__thumb { width: 80px; height: 60px; flex: 0 0 80px; }
.exp-row__body { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.exp-row__body:hover { color: inherit; opacity: 0.8; }
.exp-row__name { font-size: var(--type-title-sm); }
.exp-row__desc { font-size: var(--type-body-sm); line-height: 1.5; color: var(--color-text-muted); }
.exp-row__thumb-link { flex: 0 0 80px; display: block; }
.exp-row__book { white-space: nowrap; font-size: var(--type-body-sm); }
@media (max-width: 599px) {
  /* Phones: each experience on top, its button underneath, lined up with the text */
  .exp-table thead { display: none; }
  .exp-table td { display: block; }
  .exp-table td:first-child { border-bottom: 0; padding-bottom: 12px; }
  .exp-table td.num { text-align: left; padding-top: 0; padding-left: calc(9px + 80px + 16px); }
}

/* Shop
   ========================================================================== */

.release-tabs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 0;
  border-bottom: 1px solid var(--color-divider);
}
.page-head + .release-tabs { margin-top: -16px; }
.release-tabs__tab {
  margin-bottom: -1px;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);   /* Text face at semi-bold, like the main menu: the light display face read too thin */
  font-weight: 600;
  font-size: var(--type-body-sm);  /* 15 on phones so all three tabs fit one line */
  letter-spacing: 0.02em;
  text-decoration: none;
}
.release-tabs__tab:hover { color: var(--color-text); }
.release-tabs__tab[aria-current="page"] { color: var(--color-text); border-bottom-color: var(--color-accent); }

.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 40px 28px;
  padding-top: 48px;
  padding-bottom: 32px;
}
.wine-card { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.wine-card__link { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.wine-card__link:hover { color: inherit; }
.wine-card__link:hover .wine-card__name { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.wine-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
}
.wine-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wine-card__back { opacity: 0; transition: opacity 0.35s ease; }
.wine-card__link:hover .wine-card__back, .wine-card__link:focus-visible .wine-card__back { opacity: 1; }
.wine-card--sold .wine-card__media img { filter: grayscale(0.3); opacity: 0.85; }
.wine-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  background: repeating-linear-gradient(135deg, var(--color-bg) 0 10px, var(--color-surface) 10px 20px);
  color: var(--color-text-muted);
  font-size: var(--type-caption);
}
.wine-card__name { font-size: var(--type-title-md); line-height: 1.1; }
.wine-card__meta { font-size: var(--type-caption); line-height: 1.5; color: var(--color-text-muted); }
.wine-card__buy { margin-top: auto; padding-top: 8px; display: grid; gap: 8px; }
.wine-status { font-size: var(--type-body-sm); color: var(--color-text-muted); }

.shop-club { padding-top: 32px; padding-bottom: 110px; }
.shop-club__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--color-surface);
}
.shop-club__img { flex: 1 1 420px; min-width: 0; aspect-ratio: 3 / 2; }
.shop-club__text {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 12px 0;
}
.shop-club__title { font-size: var(--type-title-lg); margin-bottom: 6px; }
/* Phones/tablets: photo on top, centered title + line, the two extra perks, then the button.
   Desktop: text left with all three perks, photo right. */
.shop-club__perks ul { justify-items: center; gap: 6px; }
.shop-club__perks li:first-child { display: none; }  /* same as the "six bottles" line above it */
.shop-club__perks li::before { content: none; }       /* plain centered lines on phones */
@media (min-width: 900px) {
  .shop-club__perks ul { justify-items: start; gap: 12px; }
  .shop-club__perks li:first-child { display: flex; }
  .shop-club__perks li::before { content: "•"; }
  .shop-club__img { order: 2; }
  .shop-club__text { display: grid; justify-content: center; justify-items: start; text-align: left; }  /* block centered in its half, lines left-aligned */
  .shop-club__line { display: none; }
  .shop-club__perks li { font-size: var(--type-body); }
}

.wine-detail { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 110px; }
.wine-detail__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: start; }
.wine-detail__media { flex: 1 1 380px; min-width: 0; display: grid; gap: 12px; }
.wine-detail__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
}
.wine-detail__info { flex: 1 1 380px; min-width: 0; }
.wine-detail__region { font-size: var(--type-body-sm); color: var(--color-text-muted); }
.wine-detail__buy {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.byline { font-size: var(--type-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); }

/* Events
   ========================================================================== */

.hero-banner { position: relative; overflow: hidden; background: var(--color-navy); color: var(--color-bg); }
.hero-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: sepia(0.15) saturate(0.85);
}
.hero-banner__img--flip { transform: scaleX(-1); }
/* Lighter banner (Story): the photo nearly full strength, with the navy fade kept low behind the title */
.hero-banner--light .hero-banner__img { opacity: 0.95; }
.hero-banner--light::after { background: linear-gradient(to top, rgba(23, 38, 54, 0.7) 0%, rgba(23, 38, 54, 0.15) 50%, rgba(23, 38, 54, 0) 100%); }
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 38, 54, 0.85) 0%, rgba(23, 38, 54, 0.3) 55%, rgba(23, 38, 54, 0) 100%);
}
.hero-banner__content { position: relative; z-index: 1; display: grid; gap: 20px; padding-top: 170px; padding-bottom: 72px; }

.events-upcoming { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.event-card {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 40px 32px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-surface);
  text-align: center;
}
.event-card--empty { justify-items: center; font-size: var(--type-body-lg); }
.event-card__img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--color-divider);
}
.event-card__text { display: grid; gap: 8px; justify-items: center; max-width: 640px; }
.event-card__text p { font-size: var(--type-body); line-height: 1.65; color: var(--color-text-muted); }
.event-card__title { font-size: var(--type-title-lg); }
.event-card__title a, .event-past__title a { color: inherit; text-decoration: none; }
.event-card__title a:hover, .event-past__title a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.event-card__place { font-size: var(--type-body-sm); }
.event-card__when { font-size: var(--type-kicker); }

.events-past { padding-bottom: 80px; }
.events-past > .kicker { max-width: none; padding-bottom: 12px; }
.event-past {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--color-divider);
}
.event-past__img { aspect-ratio: 3 / 2; }
.event-past__title { font-size: var(--type-title-lg); }
.event-past .prose-sm { font-size: var(--type-body-sm); line-height: 1.65; max-width: none; color: var(--color-text-muted); }
.playlist-link { justify-self: start; border-color: var(--color-accent); }
.playlist-link svg { color: #000; }  /* Spotify icon: black only (brand rules) */

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.gallery:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }  /* one extra photo: show it wide */
.gallery:has(> :only-child) .gallery__img { aspect-ratio: 3 / 2; }
.gallery__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
}

.event-detail { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 110px; }
.event-detail__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: start; }
.event-detail__grid > * { flex: 1 1 380px; min-width: 0; }
.event-detail__grid--solo > * { max-width: 760px; }
.event-detail__media .plate { aspect-ratio: auto; }
.event-detail__media .gallery { margin-top: 32px; }
/* Phones: the artwork, then the title and details, then the artist note and gallery photo (after the map) */
@media (max-width: 899px) {
  .event-detail__grid:has(.event-detail__note, .event-detail__media .gallery) { row-gap: 32px; }
  .event-detail__media:has(.event-detail__note, .gallery) { display: contents; }
  .event-detail__media:has(.event-detail__note, .gallery) > * { flex: 1 1 100%; }
  .event-detail__grid > .stack { order: 1; }
  .event-detail__media .event-detail__note { order: 2; margin: 0; }
  .event-detail__media .gallery { order: 3; margin-top: 0; }
}
/* Side by side, a gallery under the main image drops to the bottom of the column so it lines up with the map */
@media (min-width: 900px) {
  .event-detail__grid:has(.event-detail__media .gallery) { align-items: stretch; }
  .event-detail__grid:has(.event-detail__media .gallery) > * { flex-basis: 0; }  /* equal columns, so the photo and map match */
  .event-detail__media:has(.gallery) { display: flex; flex-direction: column; }
  .event-detail__media .gallery { margin-top: auto; padding-top: 32px; }
  .event-detail__media .gallery .gallery__img { aspect-ratio: 16 / 10; }  /* same shape as the map */
}
.event-detail__note { display: grid; gap: 8px; margin: 24px 0 0; }
.event-detail__note .prose { color: var(--color-text-muted); }
.event-detail__media--framed > .plate { outline: 1px solid var(--color-text); }  /* frames artwork shot on white so its edge reads */
.event-map { position: relative; width: 100%; min-width: 0; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--color-divider); }
.event-map iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.15) saturate(0.85); }
.event-map__link { position: absolute; inset: 0; }

/* Journal
   ========================================================================== */

.journal-list { padding-bottom: 110px; }
.journal-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--color-divider);
  color: inherit;
  text-decoration: none;
}
.journal-row:hover { color: inherit; background: rgba(28, 25, 22, 0.03); }
.journal-row .plate { aspect-ratio: 3 / 2; }
.journal-row__title { font-size: var(--type-title-lg); }
.journal-row__cta { font-size: var(--type-body-sm); font-weight: 600; color: var(--color-accent-strong); }

.journal-post { max-width: 760px; display: grid; gap: 24px; padding-top: 72px; padding-bottom: 110px; }
.journal-post__dek { font-family: var(--font-heading); font-size: var(--type-title-sm); line-height: 1.4; font-style: italic; color: var(--color-text-muted); }
.journal-post__img { aspect-ratio: 3 / 2; }
.journal-post__img-link, .gallery__link { display: block; }
.journal-post .gallery { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); margin-top: 8px; }
.journal-post .gallery__img { aspect-ratio: 3 / 4; filter: none; border-width: 1px; }
.journal-post__cta { border-top: 1px solid var(--color-divider); padding-top: 56px; margin-top: 32px; }

/* Visit
   ========================================================================== */

/* Visit FAQ: heading beside the questions on wide screens, stacked on phones */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; align-items: start; }
.faq h2 { margin: 0; }
.faq__list { margin: 0; }
.faq__item { padding: 20px 0; border-top: 1px solid var(--color-divider); }
.faq__item:first-child { padding-top: 0; border-top: 0; }
.faq__item dt { font-family: var(--font-heading); font-weight: 500; font-size: var(--type-title-sm); line-height: 1.25; }
.faq__item dd { margin: 6px 0 0; color: var(--color-text-muted); }
.faq__item dd p { margin: 0; }
@media (max-width: 799px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.visit__address { font-size: var(--type-title-md); line-height: 1.3; color: var(--color-text); text-decoration: none; }
.visit__address:hover { color: var(--color-accent-strong); }
.visit__host { display: flex; align-items: center; gap: 16px; }
.visit__welcome { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; max-width: 420px; }
.visit__welcome li { display: flex; align-items: center; gap: 8px; font-size: var(--type-body); }
.visit__welcome svg { flex: none; color: var(--color-accent); }
/* Photos for "Kids welcome" and "Picnics welcome", side by side under the note form */
.visit__arrive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.visit__arrive .plate { aspect-ratio: 3 / 2; }
.visit__arrive-note { margin: 0; font-size: var(--type-body-sm); }
/* Visit page: photo mosaic, then details beside a sticky booking card (the book-* classes) */
.book-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(240px, 26vw, 360px); padding-top: 24px; }
.book-gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 0; filter: sepia(0.22) saturate(0.82) contrast(1.05); cursor: zoom-in; }
.book-gallery__main { grid-row: 1 / -1; }
.book-gallery__all { position: absolute; right: calc(var(--gutter, 24px) + 12px); bottom: 12px; padding: 8px 14px; border: 0; border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); font: inherit; font-size: var(--type-body-sm); font-weight: 600; cursor: pointer; }
.book-gallery__all:hover { background: var(--color-surface); }
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); grid-template-areas: "head card" "body card"; gap: 0 64px; padding-block: 40px var(--space-section); }
.book__head { grid-area: head; display: grid; gap: 16px; }
.book__rating { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: var(--type-body-sm); color: var(--color-text); text-decoration: none; }
.book__rating:hover span:last-child { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.book__stars { color: var(--color-accent); letter-spacing: 2px; font-size: 15px; }
.book__rating strong { font-weight: 600; }
.book__quote { margin: 4px 0 0; padding-left: 16px; border-left: 1px solid var(--color-accent); }
.book__quote p { margin: 0; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: var(--type-title-sm); line-height: 1.35; }
.book__quote footer { margin-top: 6px; font-size: var(--type-caption); color: var(--color-text-muted); }
.book__facts { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; font-size: var(--type-body-sm); color: var(--color-text-muted); }
.book__facts li + li::before { content: "·"; margin: 0 10px; color: var(--color-accent); }
.book__facts-group { display: grid; gap: 6px; }
.book__tabs { display: flex; gap: 28px; margin-top: 12px; border-bottom: 1px solid var(--color-divider); font-size: var(--type-body-sm); font-weight: 600; }
.book__tabs a { padding-bottom: 12px; color: var(--color-text); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.book__tabs a:hover { border-bottom-color: var(--color-accent); }
/* The card scrolls on its own (.booking.book__card beats the dialog's .booking overflow) */
.booking.book__card { grid-area: card; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-bg); box-shadow: var(--shadow-lg); }
.book__body { grid-area: body; display: grid; gap: 56px; padding-top: 40px; }
.book__section { display: grid; gap: 20px; align-content: start; scroll-margin-top: calc(var(--header-h) + 16px); }
.book__section h2 { margin: 0; }
@media (max-width: 899px) {
  .book { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "body"; padding-top: 28px; }
  .booking.book__card { position: static; max-height: none; overflow: visible; margin-top: 24px; box-shadow: none; }  /* phones: the card grows with its content, so the date fields and calendar are never hidden inside it */
  .book__tabs { display: none; }
  .book__facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 24px; }
  .book__facts li + li::before { content: none; }
  .book__facts--price { grid-template-columns: minmax(0, 1fr); }  /* price and member perk, one per line */
  .book-gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; height: 220px; padding-top: 0; }
  .book-gallery img:not(.book-gallery__main) { display: none; }
  .book-gallery__main { grid-row: auto; }
}
@media (max-width: 599px) {
  .book-gallery { padding-inline: 0; }
  .book-gallery__all { right: 12px; }
}

.visit__host-img { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; }
.visit__host-text { display: grid; gap: 4px; }
.visit__host-text p { margin: 0; font-size: var(--type-body); }
.member { scroll-margin-top: calc(var(--header-h) + 16px); }  /* /team/#name links land below the sticky header */

.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; font-size: var(--type-body-sm); font-feature-settings: "tnum"; }
.hours--short { grid-template-columns: auto auto; gap: 0 14px; }

.contact-links { display: grid; gap: 6px; font-size: var(--type-body-sm); line-height: 1.7; }
.contact-links a { display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; }
.contact-links svg { flex: 0 0 18px; color: var(--color-accent-strong); }

.contact-card { display: grid; gap: 18px; padding: 32px; border: 1px solid var(--color-divider); border-radius: var(--radius); }
.contact-card__fallback { font-size: var(--type-caption); color: var(--color-text-muted); }
.contact-card__fallback a { color: inherit; text-decoration-color: var(--color-accent); }

/* Staging bar (staging environment only)
   ========================================================================== */

/* Announcement bar (partials/announcement.html): navy, one line, dismissible */
.announce { position: relative; padding: 10px calc(var(--gutter) + 36px); background: var(--color-navy); color: var(--color-bg); text-align: center; }
.announce__text { margin: 0; font-size: var(--type-body-sm); line-height: 1.5; }
.announce__text a { margin-left: 6px; color: inherit; font-weight: 600; text-decoration-color: var(--color-accent-bright); text-underline-offset: 4px; white-space: nowrap; }
.announce__text a:hover { color: var(--color-accent-bright); }
.announce__close { position: absolute; top: 50%; right: var(--gutter); transform: translateY(-50%); width: 32px; height: 32px; padding: 0; border: 0; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: 0.8; }
.announce__close:hover { opacity: 1; }

.staging-bar {
  padding: 8px var(--gutter);
  background: var(--color-accent-strong);
  color: var(--color-bg);
  font-size: var(--type-caption);
  text-align: center;
}
.staging-bar a { color: inherit; margin-left: 8px; text-decoration-color: currentColor; }
.staging-bar a:hover { color: inherit; }

/* Generic pages, C7 shells
   ========================================================================== */

.page-body { max-width: 820px; padding-top: 72px; padding-bottom: 110px; display: grid; gap: 24px; }
.page-body .prose h1 { margin-bottom: 8px; }
.c7-page { padding-top: 56px; padding-bottom: 110px; min-height: 50vh; }
.c7-checkout { min-height: 100vh; }

/* Newsletter band + footer
   ========================================================================== */

/* Newsletter: the first row of the navy footer, cream type, oak button */
.newsletter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-navy-line);
}
.newsletter__copy { display: grid; gap: 6px; }
.newsletter .kicker { color: var(--color-accent-bright); }
.newsletter__line { margin: 0; font-size: var(--type-title-md); line-height: 1.25; color: var(--color-bg); }
.newsletter__form { flex: 1; min-width: 280px; max-width: 440px; }
/* Side by side, center the email field and button on the headline's line rather than its box bottom */
@media (min-width: 1100px) {
  .newsletter__form { margin-bottom: calc((var(--type-title-md) * 1.25 - var(--control-h)) / 2); }
}

.site-footer { background: var(--color-navy); color: var(--color-bg); }
.site-footer > .container { display: grid; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.site-footer__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px 0;
  font-size: var(--type-body-sm);
  line-height: 1.6;
}
.site-footer__col { display: grid; gap: 4px; }
.site-footer__col .kicker { margin-bottom: 4px; }
.site-footer__col--start { justify-self: end; justify-items: end; text-align: right; padding: 4px 40px 4px 0; }
.site-footer__col--end { justify-self: start; padding: 4px 0 4px 40px; }
.site-footer__brand {
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
  align-self: stretch;
  text-align: center;
  padding: 8px 40px;
  border-left: 1px solid var(--color-navy-line);
  border-right: 1px solid var(--color-navy-line);
}
.site-footer__brand img { height: 28px; width: auto; }
.site-footer__brand p { max-width: 30ch; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--color-navy-frame);
  font-size: var(--type-caption);
  color: var(--color-navy-muted);
}
.site-footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-accent); }
.site-footer__bottom a:hover { color: var(--color-bg); }
.site-footer__legal, .site-footer__meta { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
.site-footer__legal { gap: 10px; }
.site-footer__mark { color: var(--color-bg); opacity: 0.8; flex: 0 0 28px; }
.site-footer__ig.site-footer__ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-bg);
  text-decoration: none;
}
.site-footer__ig span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-accent); }
.site-footer__ig:hover span { text-decoration-color: var(--color-bg); }

/* Dialogs: booking + lightbox
   ========================================================================== */

.dialog {
  width: min(920px, calc(100% - 40px));
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.dialog[open] { animation: lpFade 0.25s ease; }
.dialog::backdrop { background: rgba(23, 38, 54, 0.6); }
.dialog__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dialog__head > div { display: grid; gap: 6px; }
.dialog__title { font-size: var(--type-title-lg); }
.dialog__close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--color-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.dialog__close:hover { background: color-mix(in srgb, var(--color-text) 8%, transparent); }
.dialog__close:focus-visible { outline-color: currentColor; }
.dialog__close--light { color: var(--color-bg); }
.dialog__close--light:hover { background: rgba(255, 251, 246, 0.15); }

/* The window itself doesn't scroll; .booking__scroll does, so the corner close button stays put */
.booking { overflow: hidden; }
.booking[open] { display: block; }
.booking:focus { outline: none; }  /* the window takes focus on open (see site.js), not the X */
.booking__scroll { display: flex; flex-wrap: wrap; max-height: calc(92vh - 2px); overflow: auto; }
/* Booking pop-up X: a hairline oak border (0.5px draws a true hairline on retina screens) */
.dialog__close--corner { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--color-bg); border: 0.5px solid var(--color-accent); }
.dialog__close--corner:hover { background: color-mix(in srgb, var(--color-accent) 10%, var(--color-bg)); }
.booking__photo { position: relative; flex: 1 1 300px; min-height: 240px; background: var(--color-surface); }
.booking__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booking__panel { flex: 1 1 440px; min-width: 0; display: grid; gap: 22px; align-content: start; padding: 32px; }
/* Wide dialog (room for photo + panel, 300 + 440 inside its 1px border): the photo is a
   fixed-height column and only the panel scrolls, so the photo never resizes as C7's
   results come and go. Narrower: the photo wraps into a strip above the panel and the
   whole dialog scrolls. Each shape gets its own photo. */
.booking { container-type: inline-size; }
.booking__img--wide { display: none; }
@container (min-width: 742px) {
  .booking__scroll { flex-wrap: nowrap; height: min(calc(92vh - 2px), 760px); overflow: hidden; }
  .booking__panel { overflow-y: auto; }
}
@container (max-width: 741px) {
  .booking__img--tall { display: none; }
  .booking__img--wide { display: block; }
}
.booking__request { display: grid; gap: 14px; padding: 16px 18px; background: var(--color-surface); border: 0; border-left: 3px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--type-body-sm); line-height: 1.6; }
.booking__request a:not(.btn), .booking__note a { color: inherit; text-decoration-color: var(--color-accent); }
.booking__note { font-size: var(--type-caption); color: var(--color-text-muted); }

.exp-options { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.exp-option {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  cursor: pointer;
}
.exp-option:hover { border-color: color-mix(in srgb, var(--color-text) 40%, transparent); }
.exp-option:has(input:checked) { border-color: var(--color-accent); background: rgba(158, 108, 66, 0.08); }
.exp-option:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.exp-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.exp-option__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.exp-option__name { font-size: var(--type-title-sm); }
.exp-option__feature { margin-left: 6px; font-family: var(--font-body); font-size: var(--type-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-strong); vertical-align: 2px; white-space: nowrap; }
.exp-option__note { font-family: var(--font-heading); font-style: italic; font-size: var(--type-body); line-height: 1.35; color: var(--color-text); }
.exp-option__desc { font-size: var(--type-body-sm); line-height: 1.5; color: var(--color-text-muted); }
.exp-option__price { font-family: var(--font-heading); font-weight: 500; font-size: var(--type-title-sm); white-space: nowrap; }

.lightbox {
  max-width: min(1100px, calc(100% - 40px));
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox:focus { outline: none; }
.lightbox::backdrop { background: rgba(23, 38, 54, 0.88); }
.lightbox__figure { display: grid; gap: 14px; justify-items: center; }
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 2px solid var(--color-bg);
  box-shadow: var(--shadow-lg);
  cursor: zoom-out;
}
.lightbox__caption { display: flex; gap: 20px; align-items: center; color: var(--color-bg); font-size: var(--type-title-sm); text-align: center; }
.lightbox__count { font-family: var(--font-body); font-size: var(--type-body-sm); color: var(--color-navy-soft); white-space: nowrap; }
/* Prev/next arrows: outside the photo on desktop, over its edges on narrow screens */
.lightbox__nav {
  position: absolute;
  top: calc(50% - 24px);  /* middle of the photo (the caption sits below it) */
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-bg);
  border-radius: 50%;
  background: rgba(23, 38, 54, 0.55);
  color: var(--color-bg);
  cursor: pointer;
  transform: translateY(-50%);
}
.lightbox__nav:hover { background: var(--color-text); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: -68px; }
.lightbox__nav--next { right: -68px; }
@media (max-width: 1240px) {
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* Commerce7
   --------------------------------------------------------------------------
   C7's JS injects tenant colors at runtime, hence the !important on its vars.
   ========================================================================== */

:root {
  --c7-primary-color: var(--color-text) !important;
  --c7-primary-color-dark: var(--color-accent-strong) !important;
  --c7-primary-color-text: var(--color-text) !important;
  --c7-primary-color-focus: rgba(158, 108, 66, 0.2) !important;
  --c7-link-color: var(--color-accent-strong) !important;
  --c7-body-text-color: var(--color-text) !important;
  --c7-alt-text-color: var(--color-text-muted) !important;
  --c7-heading-text-color: var(--color-text) !important;
  --c7-border-color: var(--color-divider) !important;
  --c7-bg: var(--color-bg) !important;
  --c7-bg-alt: var(--color-surface) !important;
  --c7-primary-button-bg: var(--color-accent-strong) !important;
  --c7-primary-button-bg-hover: var(--color-accent-deep) !important;
  --c7-primary-button-text-color: var(--color-bg) !important;
  --c7-cart-count-bg: var(--color-accent) !important;
  --c7-heading-font-weight: 400 !important;
  --c7-border-radius: var(--radius) !important;
  --c7-button-border-radius: var(--radius) !important;
  --c7-field-border-radius: var(--radius) !important;
  --c7-modal-border-radius: var(--radius-lg) !important;
  --c7-dropdown-border-radius: var(--radius) !important;
  --c7-block-border-radius: var(--radius) !important;
}

[class*="c7-"] { font-family: var(--font-body); }

/* C7's own cart/account triggers stay off-screen (the header has its own icons).
   The high z-index lets the side cart, a child of #c7-cart, cover the sticky header. */
#c7-cart { position: fixed; left: -9999px; top: -9999px; z-index: 200; }
#c7-account { position: fixed; left: -9999px; top: -9999px; }

.c7-content > .c7-h1 { display: none; }

/* C7 paints its primary buttons from the tenant color, so set them directly to match .btn-primary */
html .c7-btn.c7-btn--primary { background-color: var(--color-text) !important; border-color: var(--color-text) !important; }
html .c7-btn.c7-btn--primary:hover { background-color: var(--color-accent-strong) !important; border-color: var(--color-accent-strong) !important; }
/* Booking calendar: rounded-square days (today and the chosen date), not circles */
html .rdp-day_button { border-radius: var(--radius); }
.c7-btn--primary, a.c7-btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.15s ease;
}
a.c7-btn, a.c7-btn:hover { color: var(--color-bg); }
.c7-btn.c7-btn--alt { background: transparent; border: 1px solid var(--color-divider); color: var(--color-text); }
.c7-btn.c7-btn--alt:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }

.c7-message--alert-error { background: var(--color-bg) !important; color: var(--color-text) !important; }
.c7-form__error { color: var(--color-error) !important; }
.c7-form__field--error input,
.c7-form__field--error select,
.c7-form__field--error textarea { border-color: var(--color-error) !important; }

/* C7 control geometry
   ------------------------------------------------------------------------
   C7's stylesheet gives its form buttons margins (29px 0 20px 10px),
   align-self: flex-start and its own heights, with selectors more specific
   than ours, so the geometry below uses !important. Every field and button
   in an embedded C7 form is exactly --control-h tall and bottom-aligned, so
   anything sharing a row lines up. Colors and type stay un-forced. */
:is(.newsletter, .booking, .contact-card, .c7-buy-product) .c7-form input:not([type="radio"]):not([type="checkbox"]),
:is(.newsletter, .booking, .contact-card, .c7-buy-product) .c7-form select {
  height: var(--control-h) !important;
  min-height: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
:is(.newsletter, .booking, .contact-card, .c7-buy-product) .c7-form .c7-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: var(--control-h) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding-block: 0 !important;
  line-height: 1.2;
}
/* Bottom-align buttons only where they share a row with fields. In stacked
   forms (C7 switches its button area to a column on phones), align-self: end
   would push the button to the right edge instead. */
.newsletter .c7-form .c7-btn,
.booking .c7-reservation__search .c7-btn { align-self: end !important; }
:is(.newsletter, .booking, .contact-card) .c7-form .c7-form__field { margin: 0 !important; }
.newsletter .c7-form input,
.booking .c7-form input,
.booking .c7-form select,
.contact-card .c7-form input,
.contact-card .c7-form select,
.contact-card .c7-form textarea {
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--color-text) 25%, transparent);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-size: var(--type-body-sm);
}
.booking .c7-form label:not(.c7-checkbox),
.contact-card .c7-form label:not(.c7-checkbox) { font-size: var(--type-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); }

/* Contact form (C7 custom form): stacked fields on the site's 16px rhythm, a
   sentence-case subscribe checkbox with its legal line as a caption. */
.contact-card .c7-form > fieldset { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.contact-card .c7-form .c7-form__field input:not([type="checkbox"]),
.contact-card .c7-form .c7-form__field select,
.contact-card .c7-form .c7-form__field textarea { width: 100%; }
.contact-card .c7-form textarea { min-height: 128px; }
.contact-card .c7-form .c7-form__field > fieldset { margin: 0; padding: 0; border: 0; }
.contact-card .c7-form label.c7-checkbox { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; font-size: var(--type-body-sm); line-height: 1.5; color: var(--color-text); cursor: pointer; }
.contact-card .c7-form label.c7-checkbox input { accent-color: var(--color-accent-strong); width: 18px; height: 18px; margin: 2px 0 0; }
.contact-card .c7-form label.c7-checkbox .c7-form__help { grid-column: 2; margin: 0; font-size: var(--type-caption); color: var(--color-text-muted); }
.contact-card .c7-form .c7-form__buttons { margin-top: 24px; }
.booking .c7-btn--primary,
.contact-card .c7-btn--primary,
.newsletter .c7-btn--primary { padding-inline: 28px; font-size: var(--type-button); }
:is(.booking, .contact-card, .newsletter) .c7-form input:focus-visible,
:is(.booking, .contact-card, .newsletter) .c7-form select:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 0; box-shadow: none; }

/* Newsletter: one row, label hidden (placeholder set by site.js) */
.newsletter .c7-subscribe { min-height: var(--control-h); }
.newsletter .c7-form__group { display: flex; align-items: flex-end; gap: 8px; margin: 0; }
.newsletter .c7-form__field { flex: 1; min-width: 0; margin: 0; }
.newsletter .c7-form__field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter .c7-form input[type="email"] { width: 100%; }
.newsletter .c7-btn--primary { white-space: nowrap; }
.newsletter .c7-form__group { flex-direction: row !important; }
.newsletter .c7-form input[type="email"] { background: transparent; border-color: var(--color-navy-line); color: var(--color-bg); }
.newsletter .c7-form input[type="email"]::placeholder { color: var(--color-navy-muted); }
html .newsletter .c7-btn.c7-btn--primary { background-color: var(--color-accent) !important; border-color: var(--color-accent) !important; }
html .newsletter .c7-btn.c7-btn--primary:hover { background-color: var(--color-accent-bright) !important; border-color: var(--color-accent-bright) !important; }
.newsletter .c7-message--alert-error { color: var(--color-bg); }
.newsletter .c7-message--alert-error { background: none !important; padding: 0; margin-bottom: 6px; font-size: var(--type-body-sm); }

/* Reservation search inside the booking dialog: two-up grid */
.booking .c7-reservation__search { margin: 0; }
.booking .c7-reservation__search .c7-form__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
  margin: 0;
}
.booking .c7-reservation__search .c7-form__field { margin: 0; min-width: 0; width: auto; }
.booking .c7-reservation__search .c7-form__field input,
.booking .c7-reservation__search .c7-form__field select { width: 100%; }
.booking .c7-reservation__search .c7-btn--primary { width: 100%; }
/* Availability results ("Reserve 10:00 am" slots) render inline below the search */
.booking .c7-reservation__availability { margin-top: 18px; }
.booking .c7-reservation-type { margin: 0; padding: 0; border: 0; }
.booking .c7-reservation-type .c7-label { font-size: var(--type-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); margin: 18px 0 0; }
.booking .c7-form__buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.booking .c7-form__buttons li { margin: 0; display: flex; }
.booking .c7-form__buttons .c7-btn.c7-btn {
  flex: 1;
  width: 100%;
  height: var(--control-h-sm) !important;
  padding-inline: 12px;
  font-size: var(--type-body-sm);
  font-feature-settings: "tnum";
  white-space: nowrap;
}
/* Time slots look like the experience options above (not the site-wide C7 primary fill):
   hairline border at rest, oak border + tint like a selected option on hover/focus. */
html .booking .c7-form__buttons .c7-btn.c7-btn--primary { background-color: transparent !important; border: 1px solid var(--color-divider) !important; color: var(--color-text); }
html .booking .c7-form__buttons .c7-btn.c7-btn--primary:hover,
html .booking .c7-form__buttons .c7-btn.c7-btn--primary:focus-visible { background-color: rgba(158, 108, 66, 0.08) !important; border-color: var(--color-accent) !important; color: var(--color-text); }
html .booking .c7-form__buttons .c7-btn.c7-btn--primary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Club join button: full-width primary */
.club-card__join { min-height: var(--control-h-lg); }
.club-card__join .c7-btn,
.club-card__join button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--control-h-lg);
  margin: 0;
  padding: 0 28px;
  font-size: var(--type-button-lg);
  box-shadow: 0 4px 14px rgba(28, 25, 22, 0.22);
}

/* Buy widget: sizes as pill toggles, then price, quantity and Add to Cart */
.c7-buy-product .c7-product__add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0; }
.c7-buy-product .c7-product__add-to-cart__variants { flex-basis: 100%; margin: 0; }
/* Size options sit right-aligned, directly above the Add to Cart button */
.c7-buy-product .c7-product__add-to-cart__variants fieldset { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; border: 0; }
.c7-buy-product .c7-radio {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  font-size: var(--type-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.c7-buy-product .c7-radio:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-tint); }
.c7-buy-product .c7-radio:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.c7-buy-product .c7-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.c7-buy-product .c7-radio__control { display: none; }
.c7-buy-product .c7-radio__label { padding: 0; margin: 0; }
.c7-buy-product .c7-product__add-to-cart__price { margin: 0; font-size: var(--type-title-lg); line-height: 1; font-feature-settings: "tnum"; }
.c7-buy-product .c7-product__add-to-cart__price__variant { display: none; }
.c7-buy-product .c7-product__add-to-cart__form { display: flex; gap: 8px; align-items: center; margin: 0 0 0 auto; }
.c7-buy-product .c7-product__add-to-cart__form .c7-form__field { margin: 0; }
.c7-buy-product .c7-product__add-to-cart__form input[name="quantity"] {
  width: 56px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  background: var(--color-bg);
  text-align: center;
  font: inherit;
}
.c7-buy-product .c7-btn--primary { padding-inline: 28px; font-size: var(--type-button); }
/* Reserve the widget's rendered height so the page doesn't shift when C7 loads */
.wine-detail .c7-buy-product { min-height: var(--control-h); }

/* On cards: compact price + button, quantity hidden (defaults to 1) */
.wine-card .c7-product__add-to-cart { gap: 10px 12px; justify-content: space-between; }
.wine-card .c7-buy-product .c7-radio { min-height: 32px; padding: 0 10px; }
.wine-card .c7-product__add-to-cart__price { font-size: var(--type-title-sm); color: var(--color-text); }
.wine-card .c7-product__add-to-cart__form { margin: 0; }
.wine-card .c7-product__add-to-cart__form__quantity { display: none; }
.wine-card .c7-buy-product .c7-form .c7-btn { height: var(--control-h-sm) !important; padding-inline: 20px; font-size: var(--type-body-sm); }
/* Cards reserve room for the size pills + price row (86px), with the price row
   pinned to the bottom so it lines up across a row whether or not a wine has sizes. */
.wine-card .c7-buy-product { min-height: 86px; display: flex; flex-direction: column; justify-content: flex-end; }

/* Checkout keeps C7's layout on plain white */
.checkout-page { background: #fff; }
.checkout-close {
  position: fixed;   /* C7 draws checkout as a fixed full-screen layer (z-index 9999) */
  top: 16px;
  right: 16px;
  z-index: 10000;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}
.checkout-close:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  .site-nav { gap: 18px; }
  .site-header__bar { gap: 20px; }
}

@media (max-width: 1099px) {
  :root { --header-h: 77px; }
  .site-nav, .site-header__account { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header__book { padding: 8px 14px; font-size: var(--type-body-sm); }

  .page-head { padding-bottom: 32px; }

  .team__banner { padding-inline: 0; padding-bottom: 40px; }
  .team__banner .plate { aspect-ratio: auto; height: 200px; border: 0; outline: 0; }
  .story-part { padding: 40px 0; gap: 32px; }
  .about__sections { padding-top: 0; padding-bottom: 32px; }
  .team__members { gap: 40px; padding-bottom: 56px; }
  .member { padding-top: 40px; gap: 32px; }

  .two-col--club { padding-bottom: 40px; }
  .shop-club { padding-bottom: 56px; }
  .wine-detail, .event-detail { padding-bottom: 56px; }
  .events-upcoming { padding-block: 40px; }
  .events-past { padding-bottom: 40px; }
  .hero-banner__content { padding-top: 120px; padding-bottom: 48px; }
  .journal-list { padding-bottom: 56px; }
  .journal-post { padding-top: 40px; padding-bottom: 56px; }
  .journal-post__cta { padding-top: 24px; margin-top: 8px; }

  .newsletter { flex-direction: column; align-items: center; text-align: center; padding-bottom: 0; border-bottom: 0; }
  .newsletter__form { width: 100%; min-width: 0; }
  .site-footer__row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 28px; }
  .site-footer__col--start, .site-footer__col--end { justify-self: center; justify-items: center; text-align: center; padding: 0; }
  .site-footer__brand { order: -1; width: 100%; padding: 28px 0; border: 0; border-top: 1px solid var(--color-navy-line); border-bottom: 1px solid var(--color-navy-line); }
  .site-footer__bottom { justify-content: center; text-align: center; }
  .site-footer__legal, .site-footer__meta { justify-content: center; }
}

@media (min-width: 600px) and (max-width: 1099px) {
  .team__banner .plate { height: 380px; }
}

@media (max-width: 899px) {
  .site-header__bar { padding-inline: 20px; gap: 12px; }
}

@media (max-width: 599px) {
  .hero__content { padding-bottom: 48px; }
  .hero__line { display: inline; }
  .btn-lg { padding: 14px 24px; }
  .club-card { padding: 28px 22px; }
  .contact-card { padding: 24px 20px; }
  .event-card { padding: 28px 20px; }
  .booking__photo { flex-basis: 100%; min-height: 160px; }
  .booking__panel { padding: 24px 20px; }
  .booking .c7-reservation__search .c7-form__group { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .shop-club__box { padding: 20px; gap: 24px; }
}

@media (max-width: 400px) {
  .site-header__logo img { height: 18px; }
  .site-header__actions { gap: 2px; }
  .icon-btn { width: 40px; height: 40px; }
  .flight__name { line-height: 1.1; }
  .release-tabs { gap: 10px; }
  .release-tabs__tab { letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* Gift card page (layout "gift"): navy band with the card art and the buy widget. */
/* Card art (plus an optional photo) beside the title, wines, amounts and buy widget. */
.gift-band { display: grid; gap: 32px; padding-block: var(--space-section); }
.gift-band > * { min-width: 0; }
.gift-band__card { display: grid; gap: 16px; align-content: start; }
.gift-band__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 800px) {
  .gift-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
.gift-band__img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--radius); }
.gift-band__lead { font-family: var(--font-heading); font-style: italic; font-size: var(--type-title-md); }
.gift-band__list { list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--color-navy-line); }
.gift-band__about { display: grid; gap: 12px; font-size: var(--type-body); line-height: 1.6; color: var(--color-navy-soft); }
.gift-band__about p { margin: 0; }
.gift-band__about strong { font-weight: 600; color: var(--color-bg); }  /* the how-it-works line stands out in the paragraph */
.gift-band__note { margin: 0; font-size: var(--type-body-sm); line-height: 1.6; color: var(--color-navy-soft); }
.gift-band__amt { display: inline-block; min-width: 4.5ch; font-family: var(--font-heading); font-size: var(--type-title-sm); font-weight: 500; }
/* The buy widget on navy: amounts, then recipient email and gift message, then price + Add to Cart */
.gift-band__buy { min-height: 180px; padding-top: 20px; border-top: 1px solid var(--color-navy-line); }
.gift-band__buy .c7-product__add-to-cart__variants fieldset { justify-content: flex-start; }
.gift-band__buy .c7-radio { min-height: 44px; padding: 0 18px; border-color: var(--color-navy-line); color: var(--color-bg); font-size: var(--type-button); }
.gift-band__buy .c7-radio:hover { border-color: var(--color-accent-bright); }
.gift-band__buy .c7-radio:has(input:checked) { border-color: var(--color-accent-bright); background: color-mix(in srgb, var(--color-accent-bright) 22%, transparent); }
.gift-band__buy .c7-product__add-to-cart__giftcard { order: 1; flex: 1 1 100%; display: grid; gap: 10px; }
.gift-band__buy .c7-product__add-to-cart__price { order: 2; color: var(--color-bg); }
.gift-band__buy .c7-product__add-to-cart__form { order: 3; }
.gift-band__buy .c7-form__field { margin: 0; display: grid; gap: 6px; }
.gift-band__buy .c7-form label { font-size: var(--type-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-navy-soft); }
.gift-band__buy .c7-form input[type="email"],
.gift-band__buy .c7-form textarea { width: 100%; max-width: none; padding: 6px 12px; border: 1px solid var(--color-navy-line); border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); font: inherit; font-size: var(--type-body-sm); }
.gift-band__buy .c7-form textarea { min-height: 96px; }
.gift-band__buy .c7-link { padding: 0; color: var(--color-accent-bright); justify-self: start; }
html .gift-band__buy .c7-btn.c7-btn--primary { background-color: var(--color-accent) !important; border-color: var(--color-accent) !important; }
html .gift-band__buy .c7-btn.c7-btn--primary:hover { background-color: var(--color-accent-strong) !important; border-color: var(--color-accent-strong) !important; }
@media (max-width: 480px) {
  .gift-band__buy .c7-radio { padding: 0 12px; }  /* keeps all four amounts on one row */
}
@media (max-width: 799px) { .gift-band__photo { display: none; } }  /* phones: keep the buy area close to the top */
