/* =====================================================================
   Oyster Catcher Sea Farms — design system  ("Saltline Revival")
   Palette: "Dusk Tide" — cool sea-glass field · deep-water dark bands ·
   working-teal primary · aquamarine band accents · sparing buoy coral.
   Display serif (Newsreader) + clean sans (Public Sans).
   ===================================================================== */

/* Newsreader is a variable optical-size font (opsz 6..72); the axis is CAPPED
   at 24 so font-optical-sizing:auto never snaps large headings to the display
   cut, whose swashier glyphs read wrong at hero sizes (same lesson as the
   skeleton's Fraunces cap — verify by rendering, not by prose). */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..24,500;6..24,600&family=Public+Sans:wght@400;600&display=swap");

:root {
  /* palette — Dusk Tide (cool sea-glass field + deep-water bands; marsh
     gold is retired — coral inherits accent duties, sparingly) */
  --bg:              #eaf2ef;   /* page background — sea-glass tint */
  --surface:         #f7fbf9;   /* cards, popup cards, form fields */
  --ink:             #14303a;   /* body text */
  --ink-muted:       #4a6168;   /* captions / meta */
  --heading:         #0d2b33;   /* display headings */
  --primary:         #0e5f63;   /* button bg, eyebrows, active nav */
  --primary-hover:   #0a4448;   /* hover / pressed */
  --on-primary:      #ffffff;
  --link:            #0b5a66;
  --accent-coral:    #b04a2f;   /* badges / "this weekend" tags — ≤1 per viewport */
  --accent-seaglass: #d9ede5;   /* quiet chip/badge fill, always with --ink text */
  --band-bg:         #0b2530;   /* dark feature band: conservation stats + footer */
  --band-text:       #ddebe6;
  --band-stat:       #7fdcc9;   /* stat numbers + band eyebrows (aquamarine) */
  --footer-text:     #afc6c2;   /* footer secondary text */
  --hairline:        #c7d6d0;   /* borders / rules */
  --ribbon-text:     #8fe3d0;   /* demo ribbon text on --band-bg */
  --focus:           #12707b;   /* focus ring on light surfaces */
  --focus-band:      #7fdcc9;   /* focus ring on the dark band + primary buttons */

  /* type */
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --step--1: clamp(.82rem, .79rem + .15vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .25vw, 1.15rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.6vw, 4rem);
  --step-6:  clamp(3.4rem, 2.4rem + 5vw, 6.5rem);

  --maxw: 72rem;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(0,0,0,.03), 0 18px 40px -24px rgba(11,37,48,.35);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  /* atmosphere: cool tide wash + paper grain */
  background-image:
    radial-gradient(120% 80% at 80% -10%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 60%),
    radial-gradient(90% 60% at -10% 0%, color-mix(in srgb, var(--accent-seaglass) 70%, transparent), transparent 55%),
    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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; color: var(--heading); margin: 0 0 .5em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-2); }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--band-bg); color: var(--band-text); padding: .5rem .9rem; border-radius: var(--radius); z-index: 50; }

main { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.1rem, 4vw, 2rem); }
section + section { margin-top: clamp(2.5rem, 6vw, 5rem); }

/* ---------- header / nav ---------- */
/* Announcement bar (optional) + header stick to the top of the viewport as a
   single unit, so the header always sits cleanly below the bar without any
   fragile top-offset math. The header itself is no longer sticky. */
.site-top { position: sticky; top: 0; z-index: 40; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1.1rem, 4vw, 2rem);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--hairline);
}

/* ---------- sticky announcement bar (interior pages, no motion) ---------- */
/* A slim, single-line save-the-date strip. Deliberately NOT a marquee: text
   is static (WCAG 2.2.2 — no moving content to pause/stop/hide). Suppressed on
   home via the announcement_bar context processor, where .savedate lives. */
.navbar {
  background: var(--band-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
}
.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .4rem clamp(1.1rem, 4vw, 2rem);
  display: flex; align-items: center; gap: .5rem;
}
.navbar-link {
  flex: 1 1 auto;
  display: inline-flex; flex-wrap: wrap; align-items: baseline;
  justify-content: center; gap: .25rem .6rem;
  color: var(--band-text); text-decoration: none; font-weight: 500;
  font-size: var(--step--1); line-height: 1.4;
}
.navbar-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.navbar-close {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer;
  padding: .1rem .4rem; line-height: 1; font-size: 1.3rem;
  color: color-mix(in srgb, var(--band-text) 70%, transparent);
  border-radius: var(--radius);
}
.navbar-close:hover { color: var(--band-text); }
.navbar-tag {
  font-family: var(--body); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  /* aquamarine band-eyebrow duty on the deep-water bar */
  color: var(--band-stat);
}
.navbar-msg { color: color-mix(in srgb, var(--band-text) 88%, transparent); }
.navbar-cue { color: var(--band-text); }
.brand {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  color: var(--heading); text-decoration: none; letter-spacing: -.02em;
  display: inline-flex; align-items: baseline; gap: .45rem;
}
.brand::before { content: "❦"; color: var(--primary); font-size: .9em; }
.nav { display: flex; gap: clamp(.6rem, 1.4vw, 1.4rem); align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink-muted); text-decoration: none; font-weight: 500;
  font-size: var(--step--1); letter-spacing: .02em; text-transform: uppercase;
  padding: .25rem 0; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--primary); transition: width .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

/* CSS-only responsive nav: inline on desktop, checkbox-hack hamburger on
   mobile. (A <details> kept the links hidden on desktop — this is robust.) */
.nav-toggle { position: absolute; left: -9999px; }       /* a11y-hidden checkbox */
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .55rem .4rem; cursor: pointer; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--heading); border-radius: 2px; }

@media (max-width: 820px) {
  .site-header { position: relative; }
  .nav-burger { display: flex; }
  .nav {
    display: none; position: absolute; right: clamp(1.1rem, 4vw, 2rem); top: 100%;
    flex-direction: column; align-items: flex-start; gap: .9rem; background: var(--surface);
    border: 1px solid var(--hairline); border-radius: var(--radius);
    padding: 1rem 1.2rem; min-width: 13rem; box-shadow: var(--shadow); z-index: 45;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.hero::before { /* layered tide-line motif */
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%; z-index: -1; opacity: .5;
  background:
    radial-gradient(140% 90% at 50% 140%, transparent 48%, color-mix(in srgb, var(--primary) 32%, transparent) 49%, transparent 51%),
    radial-gradient(160% 100% at 30% 150%, transparent 54%, color-mix(in srgb, var(--heading) 24%, transparent) 55%, transparent 57%),
    radial-gradient(180% 110% at 70% 160%, transparent 60%, var(--accent-seaglass) 61%, transparent 63%);
}
.hero h1 { font-size: var(--step-6); font-weight: 400; max-width: 16ch; font-optical-sizing: auto; }
.hero .lede { font-size: var(--step-2); font-family: var(--display); color: var(--ink-muted); max-width: 30ch; }
.hero p { font-size: 1.1rem; }
.eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--primary); margin: 0 0 1rem; max-width: none; }
/* hero CTA row: primary + secondary, wraps cleanly on mobile */
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
/* offset in-page anchor jumps so the sticky bar + header don't cover the
   target. Desktop clears a one-line bar + header; on mobile the bar can wrap
   to 2–3 lines, so the offset grows to keep the target fully visible. */
:target { scroll-margin-top: 6.5rem; }
@media (max-width: 820px) { :target { scroll-margin-top: 8.5rem; } }

/* ---------- buttons ---------- */
.btn, button[type="submit"] {
  display: inline-block; font-family: var(--body); font-weight: 600;
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em;
  /* white on --primary ≈ 7.5:1 — comfortably WCAG AA on the small bold label */
  background: var(--primary); color: var(--on-primary); border: 0; border-radius: var(--radius);
  padding: .8rem 1.4rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -12px var(--primary-hover); transition: transform .15s ease, background .2s ease;
}
.btn:hover, button[type="submit"]:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
.btn--ghost:hover { background: var(--primary); color: var(--on-primary); }

/* ---------- cards / hours / menu ---------- */
.card, .hours, .menu, .booking, .product, .shop, .events {
  background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.hours ul, .menu-items, .products, .events ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--hairline); }
.hours li:last-child { border-bottom: 0; }

.menu h2 { color: var(--primary); margin-top: 1.6rem; padding-bottom: .3rem; border-bottom: 2px solid var(--hairline); }
.menu-items li { padding: .7rem 0; border-bottom: 1px dashed var(--hairline); }
.menu-items strong { font-family: var(--display); font-size: 1.15rem; color: var(--heading); }
.menu-items em { color: var(--primary); font-style: italic; }
.menu-items .desc { color: var(--ink-muted); font-size: var(--step--1); margin-top: .15rem; }
.updated { color: var(--ink-muted); font-size: var(--step--1); font-style: italic; }
/* generic de-emphasis utility (e.g. "Details coming soon") — was used in
   markup but only defined in scoped contexts, so it rendered at full ink */
.muted { color: var(--ink-muted); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.2rem; }
.products li { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.1rem; }

/* ---------- forms ---------- */
form p { display: flex; flex-direction: column; gap: .35rem; max-width: 34rem; }
label { font-weight: 600; font-size: var(--step--1); color: var(--ink-muted); }
input, textarea, select {
  font: inherit; font-size: var(--step-0); padding: .6rem .75rem;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); }

/* ---------- age gate ---------- */
.age-gate {
  min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 1.2rem;
}
.age-gate h1 { font-size: var(--step-6); font-weight: 400; }
.age-gate form { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.age-gate button[value="no"] { background: transparent; color: var(--ink-muted); box-shadow: none; text-decoration: underline; }

/* 21+ overlay (#30) — full-viewport, opaque enough that the page is not
   readable behind it; the content stays in the DOM for search engines. */
.age-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--bg) 96%, var(--band-bg));
}
.age-overlay-card { text-align: center; max-width: 36rem; }
.age-overlay-card h2 { font-size: var(--step-6); font-weight: 400; }
.age-overlay-card form { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.age-overlay-card button[value="no"] { background: transparent; color: var(--ink-muted); box-shadow: none; text-decoration: underline; }
body.age-locked { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--band-bg); color: var(--footer-text);
  margin-top: clamp(3rem, 8vw, 6rem); padding: clamp(2rem, 5vw, 3.5rem) clamp(1.1rem, 4vw, 2rem);
  font-size: var(--step--1);
}
.site-footer a { color: var(--band-text); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.footer-brand .footer-logo { height: 52px; width: auto; margin: 0 0 .7rem; }
.footer-tagline { font-family: var(--display); font-size: 1.15rem; color: var(--band-text); margin: 0 0 .7rem; }
.footer-meta { margin: .2rem 0; color: var(--footer-text); }
.footer-col h3 { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--band-text); margin: 0 0 .75rem; }
.footer-col a { display: block; color: var(--footer-text); text-decoration: none; padding: .25rem 0; }
.footer-col a:hover { color: var(--band-text); text-decoration: underline; }
.footer-connect .footer-subscribe { margin: 0 0 1rem; max-width: none; }
.footer-connect .subscribe-row { justify-content: flex-start; }
.footer-connect .subscribe-row input { max-width: 16rem; }
.footer-social { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.footer-social a { color: var(--footer-text); text-decoration: none; }
.footer-social a:hover { color: var(--band-text); text-decoration: underline; }
.footer-bottom { max-width: var(--maxw); margin: clamp(1.8rem, 4vw, 2.6rem) auto 0; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, var(--band-text) 18%, transparent); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; align-items: center; font-size: var(--step--2); color: color-mix(in srgb, var(--footer-text) 85%, transparent); }
.footer-bottom p { margin: 0; }
.footer-sublinks { display: flex; gap: 1.2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion: staggered page-load reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  main > section { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  main > section:nth-child(2) { animation-delay: .08s; }
  main > section:nth-child(3) { animation-delay: .16s; }
  main > section:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- cart / messages (Phase 2 shop) ---------- */
.messages { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.msg { padding: .6rem .9rem; border-radius: var(--radius); border: 1px solid var(--hairline); font-size: var(--step--1); }
.msg--success { background: var(--accent-seaglass); border-color: color-mix(in srgb, var(--primary) 40%, var(--hairline)); }
.msg--error { background: color-mix(in srgb, var(--accent-coral) 10%, var(--surface)); border-color: var(--accent-coral); }
.cart-link { font-weight: 700 !important; color: var(--heading) !important; }
.cart-rows { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.cart-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 0; border-bottom: 1px dashed var(--hairline); }
.cart-name { font-family: var(--display); font-size: 1.1rem; color: var(--heading); flex: 1 1 12rem; }
.cart-qty { display: flex; align-items: center; gap: .6rem; margin: 0; }
.cart-qty input { width: 4.5rem; }
.cart-qty .link, .cart-qty button[value="remove"] { background: none; box-shadow: none; color: var(--link); text-transform: none; letter-spacing: 0; padding: .4rem; text-decoration: underline; }
.cart-total { font-size: 1.3rem; font-family: var(--display); }
.add-to-cart { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.add-to-cart input { width: 5rem; }
.notice { color: var(--ink-muted); font-style: italic; }
.product .price { font-family: var(--display); font-size: 1.6rem; color: var(--primary); }

/* ---------- real assets (logo / hero photo / menu image) ---------- */
.brand { gap: .55rem; }
.brand::before { content: none; }  /* replaced by the real logo mark */
.brand-mark { height: 30px; width: auto; }
.hero-photo {
  width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius);
  margin-top: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.menu-photo {
  width: 100%; max-width: 640px; border-radius: var(--radius);
  border: 1px solid var(--hairline); margin: 1rem 0 1.5rem;
}
.footer-logo { height: 56px; width: auto; margin-bottom: 1rem; opacity: .95; }

/* ---------- menu item thumbnails + product imagery ---------- */
.menu-items li.has-thumb { display: flex; gap: 1rem; align-items: center; }
.item-thumb {
  width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--hairline);
}
.item-body { flex: 1; }

.products { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.product-card { text-align: center; padding: 0; overflow: hidden; }
.product-card > a { display: block; text-decoration: none; color: var(--heading); }
.product-thumb {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  background: #fff; border-bottom: 1px solid var(--hairline);
}
.product-thumb--empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--hairline); font-family: var(--display);
}
.product-name { display: block; font-family: var(--display); font-size: 1.1rem; padding: .9rem 1rem .2rem; }
.product-price { display: block; padding: 0 1rem 1rem; color: var(--primary); font-weight: 600; }
.product-hero {
  width: 100%; max-width: 420px; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--hairline); margin-bottom: 1.2rem;
}

/* ---------- featured menu spot (e.g. Sunday Supper) ---------- */
.menu-feature {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(1rem, 3vw, 1.8rem);
  align-items: center; margin: 1rem 0 2rem; padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.menu-feature .feature-figure { margin: 0; }
.menu-feature .feature-figure img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--hairline); display: block;
}
.menu-feature figcaption {
  font-size: var(--step--1); color: var(--ink-muted); font-style: italic;
  text-align: center; margin-top: .4rem;
}
.menu-feature .feature-body h2 {
  margin: 0 0 .5rem; border: 0; padding: 0; color: var(--primary);
}
.menu-feature .feature-body p { margin: 0 0 .6rem; }
.menu-feature .feature-week { font-size: var(--step--1); color: var(--ink-muted); }
@media (max-width: 640px) {
  .menu-feature { grid-template-columns: 1fr; }
  .menu-feature .feature-figure img { aspect-ratio: 16/10; }
}

/* ---------- kitchen photo gallery (food menu) ---------- */
.menu-gallery-grid {
  list-style: none; margin: 1rem 0 1.5rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem;
}
.menu-gallery-grid li { overflow: hidden; border-radius: var(--radius); }
.menu-gallery-grid img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid var(--hairline);
}

/* ---------- menu hero banner ---------- */
.menu-hero {
  width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius);
  margin-bottom: 1.5rem; box-shadow: var(--shadow);
}

/* ---------- home amenities grid ---------- */
.amenities { padding: 0; }
.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.amenity-grid li {
  background: var(--surface); border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.amenity-grid strong { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--heading); }
.amenity-grid span { color: var(--ink-muted); font-size: var(--step--1); }

/* ---------- image + text band ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; }
.band img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.band-body h2 { margin-top: 0; }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }

/* ---------- Grit partnership feature (family page) ---------- */
.partner-feature {
  display: grid; grid-template-columns: minmax(200px, 260px) 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: var(--band-bg); color: var(--band-text); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.partner-feature .partner-art {
  width: 100%; height: auto; display: block;  /* transparent logo, shadow baked in */
}
/* band eyebrows ride aquamarine on the deep-water band */
.partner-feature .eyebrow { color: var(--band-stat); }
.partner-feature h2 { margin: .2rem 0 .6rem; color: var(--band-text); }
.partner-feature p { color: color-mix(in srgb, var(--band-text) 88%, transparent); }
.partner-feature strong { color: var(--band-text); }
@media (max-width: 640px) {
  .partner-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .partner-feature .partner-art { max-width: 220px; }
}

/* ---------- save-the-date banner (landing) ---------- */
.savedate {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem clamp(1.2rem, 4vw, 2.5rem);
  background: var(--band-bg); color: var(--band-text);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1rem, 3vw, 1.4rem) clamp(1.2rem, 4vw, 1.8rem);
}
.savedate .eyebrow { color: var(--band-stat); margin: 0 0 .15rem; }
.savedate-headline { font-family: var(--display); font-size: var(--step-2); color: var(--band-text); line-height: 1.1; margin: 0; }
.savedate-body { flex: 1 1 20rem; }
.savedate-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; margin: 0; }
.savedate-link { color: var(--band-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 640px) { .savedate { justify-content: flex-start; } }

/* ---------- Grit partnership teaser (landing) ---------- */
.partner-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem clamp(1.2rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.6rem); box-shadow: var(--shadow);
}
.partner-strip-body { flex: 1 1 22rem; }
.partner-strip-body h2 { margin: .15rem 0 .4rem; }
.partner-strip-body p { margin: 0; }
.partner-strip-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }

/* secondary callout reuses the strip layout, tinted sea-glass so two strips
   on the landing page read as distinct moments */
.gift-strip {
  background: color-mix(in srgb, var(--accent-seaglass) 55%, var(--surface));
  border-color: var(--hairline);
}

/* ---------- family page: kids coloring book feature ---------- */
.coloring-feature {
  display: grid; grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
}
.coloring-cover {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  border: 1px solid var(--hairline); box-shadow: var(--shadow);
}
.coloring-body h2 { margin-top: 0; }
@media (max-width: 640px) {
  .coloring-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .coloring-cover { max-width: 280px; }
}

/* ---------- family page: scavenger-hunt stops ---------- */
.family-stops {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 1.6rem);
}
.family-stop {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.family-stop img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  border-bottom: 1px solid var(--hairline);
}
.family-stop-body { padding: .8rem 1rem 1rem; }
.family-stop-body strong {
  display: block; font-family: var(--display); font-size: 1.15rem; color: var(--heading);
}
.family-stop-body span { color: var(--ink-muted); font-size: var(--step--1); }
@media (max-width: 640px) { .family-stops { grid-template-columns: 1fr; } }

/* ---------- private-events / weddings gallery (masonry, keeps aspect) ---------- */
.venue-gallery-section .eyebrow { margin-bottom: .2rem; }
.venue-gallery {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  columns: 3; column-gap: clamp(.7rem, 1.6vw, 1.1rem);
}
.venue-gallery li {
  break-inside: avoid; margin: 0 0 clamp(.7rem, 1.6vw, 1.1rem);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--hairline); box-shadow: var(--shadow);
}
.venue-gallery img {
  width: 100%; display: block;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.venue-gallery li:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .venue-gallery li:hover img { transform: none; } }
/* large phones / small tablets keep two columns; true phones get one big,
   emotional photo per row (the gallery is the venue's main sell). */
@media (max-width: 720px) { .venue-gallery { columns: 2; } }
@media (max-width: 520px) { .venue-gallery { columns: 1; } }

/* ---------- private-events booking card (details + request form) ---------- */
.hero .hero-actions { margin-top: 1.5rem; }
.booking-card {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 2.8rem);
}
@media (min-width: 760px) {
  .booking-card { grid-template-columns: .82fr 1fr; align-items: start; }
  /* keep the value props in view while the form is filled out */
  .booking-details { position: sticky; top: 6.5rem; }
}
.booking-details .eyebrow { margin-bottom: .3rem; }
.booking-contact { margin: 1.4rem 0 0; color: var(--ink-muted); font-size: var(--step--1); }
.booking-details h2 { margin-bottom: .6rem; }
.venue-facts { list-style: none; margin: 0; padding: 0; }
.venue-facts li { padding: .8rem 0; border-top: 1px solid var(--hairline); }
.venue-facts li:first-child { border-top: 0; padding-top: 0; }
.venue-facts strong {
  display: block; font-family: var(--display);
  font-size: 1.2rem; color: var(--heading); line-height: 1.2;
}
.venue-facts span { color: var(--ink-muted); font-size: var(--step--1); }
.booking-request h2 { margin-bottom: .5rem; }
.booking-note { color: var(--ink-muted); margin-bottom: 1.4rem; }
.booking-fineprint {
  color: var(--ink-muted); font-size: var(--step--1);
  font-style: italic; margin: .9rem 0 0;
}

/* partial vs private rental toggle — CSS-only radio tabs (no JS) */
.evt-toggle > input { position: absolute; left: -9999px; }   /* a11y-hidden radios */
.evt-tabs { display: flex; gap: .5rem; margin: 0 0 1rem; }
.evt-tabs label {
  flex: 1; text-align: center; cursor: pointer;
  padding: .5rem .7rem; border: 1px solid var(--hairline); border-radius: var(--radius);
  font-weight: 600; font-size: var(--step--1); color: var(--ink-muted); background: var(--surface);
}
.evt-tabs label:hover { border-color: var(--primary); }
.evt-panel { display: none; }
#evt-partial:checked ~ .evt-tabs label[for="evt-partial"],
#evt-private:checked ~ .evt-tabs label[for="evt-private"] {
  background: var(--primary); color: var(--on-primary); border-color: var(--primary);
}
#evt-partial:focus-visible ~ .evt-tabs label[for="evt-partial"],
#evt-private:focus-visible ~ .evt-tabs label[for="evt-private"] {
  outline: 2px solid var(--focus); outline-offset: 2px;
}
#evt-partial:checked ~ .evt-panel--partial,
#evt-private:checked ~ .evt-panel--private { display: block; }

/* ---------- landing Sunday Supper feature (shown Sat–Sun) ---------- */
.home-supper { padding: 0; }
.home-supper-card {
  display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center; text-decoration: none; color: inherit;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: box-shadow .15s ease, transform .15s ease;
}
.home-supper-card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 22px 48px -24px rgba(11,37,48,.45); }
.home-supper-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--hairline); display: block;
}
.home-supper-body h2 { margin: .1rem 0 .5rem; color: var(--primary); }
.home-supper-body p { margin: 0 0 .7rem; }
.home-supper-week { font-size: var(--step--1); color: var(--ink-muted); }
.home-supper-body .btn { margin-top: .3rem; }
@media (max-width: 720px) {
  .home-supper-card { grid-template-columns: 1fr; }
  .home-supper-photo { aspect-ratio: 16/10; }
}

.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.8); box-shadow: none; }
.btn--ghost-light:hover { background: #fff; color: var(--band-bg); }

.intro { text-align: center; }
.intro h1 { max-width: 18ch; margin-inline: auto; }
.intro p { max-width: 60ch; margin-inline: auto; }

/* ---------- events / live music ---------- */
.event-card {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(1rem, 3vw, 2rem);
  align-items: start; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.event-card + .event-card { margin-top: 1.5rem; }
.event-card:not(:has(.event-photo)) { grid-template-columns: 1fr; }  /* no band photo → full-width body, not the 220px photo column */
.event-photo { width: 220px; height: 220px; object-fit: cover; border-radius: var(--radius); }
.event-when { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--primary); font-weight: 700; margin: 0 0 .3rem; }
.event-where { color: var(--ink-muted); font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: .5rem; }
.event-body h2 { margin: 0 0 .4rem; }
/* Event titles linking to their detail pages (issue #2): keep the heading
   voice, reveal the link on hover. */
.event-title-link { color: inherit; text-decoration: none; }
.event-title-link:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.event-performer { font-family: var(--display); font-size: 1.2rem; color: var(--heading); margin: 0 0 .4rem; }
.event-performer .muted { color: var(--ink-muted); font-family: var(--body); font-size: var(--step--1); }
.event-bio { color: var(--ink-muted); margin: 0 0 .9rem; }

.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.social-pill {
  display: inline-block; font-size: var(--step--1); font-weight: 600; text-decoration: none;
  color: var(--heading); background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 999px; padding: .3rem .8rem;
}
.social-pill:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

.player { border-top: 1px dashed var(--hairline); padding-top: .9rem; }
.player-label { font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 .6rem; }
.track { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.track-title { font-family: var(--display); color: var(--heading); min-width: 9rem; }
.track audio { height: 38px; flex: 1; min-width: 220px; }
.track audio::-webkit-media-controls-panel { background: var(--surface); }

@media (max-width: 640px) {
  .event-card { grid-template-columns: 1fr; }
  .event-photo { width: 100%; height: 220px; }
}

/* ---------- events month calendar ---------- */
.calendar { padding: clamp(1rem,3vw,1.6rem); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); }
.calendar h2 { margin-top: 0; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.cal-nav .cal-title { margin: 0; flex: 1; text-align: center; }
.cal-nav-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); color: var(--heading); font-size: 1.5rem; line-height: 1; text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease; }
.cal-nav-btn:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.cal-nav-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cal-nav-btn:active { transform: scale(.93); }
.cal-today { margin: -.2rem 0 .7rem; text-align: center; font-size: var(--step--1); }
.cal-today a { color: var(--link); text-decoration: none; }
.cal-today a:hover { text-decoration: underline; }
/* Image-tile grid calendar (#39) — a visual, scannable month of events. */
.cal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(.8rem, 2vw, 1.3rem); }
.cal-tile { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.cal-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgb(11 37 48 / .14); }
.cal-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cal-tile-media { position: relative; aspect-ratio: 1 / 1; background: var(--accent-seaglass); }
.cal-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cal-tile-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; box-sizing: border-box; background: linear-gradient(135deg, var(--band-bg), var(--primary)); }
.cal-tile-fallback span { font-family: var(--display); font-size: 1.25rem; line-height: 1.15; color: var(--band-text); }
.cal-tile-date { position: absolute; top: .6rem; left: .6rem; background: var(--surface); color: var(--heading); font-weight: 800; font-size: .72rem; letter-spacing: .05em; padding: .25rem .55rem; border-radius: 999px; box-shadow: var(--shadow); }
.cal-tile-cap { padding: .7rem .8rem .85rem; display: flex; flex-direction: column; gap: .12rem; }
.cal-tile-time { font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); }
.cal-tile-title { font-family: var(--display); font-size: 1.05rem; line-height: 1.15; color: var(--heading); }
.cal-empty-note { grid-column: 1 / -1; text-align: center; padding: 1.5rem 0; }
@media (max-width: 640px) {
  .cal-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cal-nav-btn { width: 2.2rem; height: 2.2rem; font-size: 1.3rem; }
}

/* ---------- performer detail ---------- */
.performer-head { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1rem,3vw,2rem); align-items: start; }
.performer-photo { width: 240px; height: 240px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.performer-head:not(:has(.performer-photo)) { grid-template-columns: 1fr; }  /* no band photo → full-width text, not the 240px photo column */
.performer .muted { color: var(--ink-muted); }
.show-row { margin: .3rem 0; }
@media (max-width: 640px) { .performer-head { grid-template-columns: 1fr; } .performer-photo { width: 100%; height: 260px; } }

/* ---------- instagram feed ---------- */
.instagram { text-align: center; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; margin: 1rem 0 1.5rem; }
.ig-grid a { display: block; overflow: hidden; border-radius: var(--radius); }
.ig-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .3s ease; }
.ig-grid a:hover img { transform: scale(1.06); }

/* ---------- about: pull-quote ---------- */
.pullquote { text-align: center; padding: clamp(1.5rem,5vw,3.5rem) 1rem; }
.pullquote blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--display); font-weight: 500; font-size: var(--step-4); line-height: 1.08; color: var(--heading); letter-spacing: -.01em; }
.pullquote blockquote::before { content: "“"; color: var(--primary); }
.pullquote blockquote::after { content: "”"; color: var(--primary); }
.pullquote-cite { margin-top: 1rem; font-family: var(--body); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--primary); }

/* ---------- about: band reverse + founders ---------- */
.band--reverse img { order: 2; }
.founders { text-align: center; }
.founders-title { margin-bottom: 1.5rem; }
.founder-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); text-align: left; }
.founder { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.2rem,3vw,1.8rem); }
.founder h3 { margin: .15rem 0 .6rem; color: var(--heading); font-size: 1.55rem; }
.founder-role { margin: 0; font-family: var(--body); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--primary); }
.founder p:last-child { margin-bottom: 0; color: var(--ink-muted); }
@media (max-width: 720px) { .band--reverse img { order: 0; } }

/* ===================================================================
   v2 revenue features (issue #2)
   =================================================================== */

/* demo ribbon */
.demo-ribbon { background: var(--band-bg); color: var(--ribbon-text); text-align: center; font-family: var(--body); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem; }

/* small/ghost button variants */
.btn--sm { padding: .45rem .85rem; font-size: var(--step--1); }

/* footer subscribe + links */
.footer-subscribe { margin: 1rem auto; max-width: 32rem; }
.footer-subscribe label { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: .5rem; color: var(--band-text); }
.subscribe-row { display: flex; gap: .5rem; justify-content: center; }
.subscribe-row input { flex: 1; max-width: 22rem; padding: .55rem .7rem; border: 1px solid color-mix(in srgb, #fff 30%, transparent); border-radius: var(--radius); background: color-mix(in srgb, #fff 12%, transparent); color: #fff; }
.subscribe-row input::placeholder { color: color-mix(in srgb, #fff 60%, transparent); }
.footer-links { margin: 1rem 0; font-size: var(--step--1); opacity: .9; }
.footer-links a { color: var(--band-text); }

/* pricing tiers (reuse .founder card) */
.tier { text-align: center; }
.tier h3 { font-size: 2.4rem; }
.tier .per { font-size: 1rem; color: var(--ink-muted); font-family: var(--body); }
.tier--featured { outline: 2px solid var(--primary); }
.perks { list-style: none; margin: 1rem 0 0; padding: 0; text-align: left; }
.perks li { padding: .35rem 0 .35rem 1.4rem; position: relative; color: var(--ink-muted); border-top: 1px solid var(--hairline); }
.perks li::before { content: "❦"; color: var(--primary); position: absolute; left: 0; }

/* shared form card */
.form-card { max-width: 38rem; }
.stack-form p { margin: 0 0 .9rem; }
.stack-form label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: .25rem; }
.stack-form input:not([type=checkbox]), .stack-form select, .stack-form textarea { width: 100%; padding: .55rem .7rem; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); font: inherit; }

/* reviews */
.reviews-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.review { margin: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.2rem,3vw,1.6rem); }
.review-stars { color: var(--primary); letter-spacing: .1em; margin: 0 0 .5rem; }
.review blockquote { margin: 0 0 .8rem; font-size: 1.1rem; line-height: 1.5; }
.review figcaption { font-weight: 600; color: var(--heading); }

/* gift cards */
.giftcards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.giftcard { text-align: center; }
.giftcard-face { aspect-ratio: 16/10; border-radius: 10px; background: linear-gradient(135deg, var(--band-bg), color-mix(in srgb, var(--band-bg) 55%, var(--primary))); color: var(--band-text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; box-shadow: var(--shadow); margin-bottom: .8rem; }
.giftcard-logo { width: 68px; height: auto; margin-bottom: .15rem; }
.giftcard-amount { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.giftcard-brand { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* gift cards — holiday-window dark state (#6): preview card + first-dibs
   capture on a light surface (the footer form pattern restyled off-band) */
.giftcards-soon { display: grid; gap: clamp(1.2rem, 3vw, 2rem); grid-template-columns: minmax(13rem, 19rem) 1fr; align-items: center; }
.giftcards-soon .giftcard-face--preview { aspect-ratio: 16/10; margin-bottom: 0; }
.giftcards-soon-body h2 { margin-top: 0; }
.giftcards-subscribe { margin: 1rem 0 0; max-width: 30rem; }
.giftcards-subscribe label { color: var(--heading); }
.giftcards-subscribe .subscribe-row { justify-content: flex-start; }
.giftcards-subscribe .subscribe-row input { background: #fff; color: var(--ink); border-color: var(--hairline); }
.giftcards-subscribe .subscribe-row input::placeholder { color: var(--ink-muted); }
.giftcards-subscribed { font-weight: 600; color: var(--primary); }
@media (max-width: 640px) { .giftcards-soon { grid-template-columns: 1fr; } }

/* event card actions */
.event-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.event-actions .remind { display: flex; gap: .4rem; }
.event-actions .remind input { padding: .4rem .6rem; border: 1px solid var(--hairline); border-radius: var(--radius); font: inherit; }

/* seat-limited reservations (#39) + pay-later ticketed experiences (#5) */
.register { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: .9rem 1rem; }
.register .seats-left { flex-basis: 100%; margin: 0; font-weight: 600; font-size: var(--step--1); color: var(--heading); }
.register input { padding: .45rem .6rem; border: 1px solid var(--hairline); border-radius: var(--radius); font: inherit; background: #fff; }
.register input[type="number"] { width: 4.5rem; }
.register .party-label { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--step--1); color: var(--ink-muted); }
.register .reserve-note { flex-basis: 100%; margin: 0; font-size: var(--step--1); }
.event-full { flex-basis: 100%; margin: 0; font-weight: 600; color: var(--heading); }

/* quiet "Ticketed · $55" chip — seaglass/band-stat family, never coral (#5) */
.chip-ticketed { display: inline-block; background: var(--accent-seaglass); color: var(--ink); border: 1px solid color-mix(in srgb, var(--band-stat) 45%, var(--hairline)); border-radius: 999px; padding: .12rem .6rem; font-family: var(--body); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.event-when .chip-ticketed { margin-left: .5rem; }
.cal-tile-cap .chip-ticketed { align-self: flex-start; margin-top: .3rem; }
/* beat the generic `.popup-card span` color/size on the home strip */
.popup-card .chip-ticketed { display: inline-block; margin-top: .35rem; color: var(--ink); font-size: .7rem; }


.spotify-embed { margin-top: .85rem; max-width: 540px; }
.spotify-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- checkout (Square Web Payments SDK) ---------- */
.checkout { max-width: 980px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.6rem) var(--gutter, 1.2rem); }
.checkout > h1 { font-family: var(--display); color: var(--heading); margin-bottom: 1.4rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: start; }
@media (min-width: 760px) { .checkout-grid { grid-template-columns: 1fr 1.1fr; } }
.checkout .card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.6rem); }
.checkout-summary h2, .checkout-pay h2 { font-family: var(--display); font-size: 1.25rem; color: var(--heading); margin: 0 0 .9rem; }
.checkout-rows { list-style: none; margin: 0 0 .6rem; padding: 0; }
.checkout-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--hairline); }
.checkout-rows .ck-item { color: var(--ink); }
.checkout-rows .ck-line { color: var(--ink-muted); white-space: nowrap; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .8rem; }
.checkout-total strong { font-family: var(--display); font-size: 1.5rem; color: var(--heading); }
.checkout-note { font-size: var(--step--1); color: var(--ink-muted); margin-top: 1rem; }
.checkout-pay .field { display: block; font-size: var(--step--1); color: var(--ink-muted); margin-bottom: 1rem; }
.checkout-pay .field input { display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; font-size: 1rem; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); box-sizing: border-box; }
.card-field { margin: .4rem 0 1.1rem; min-height: 52px; }

/* fulfillment + shipping address (#31) */
.ship-choice, .ship-fields { border: 1px solid var(--hairline); border-radius: 10px; padding: .9rem 1rem .4rem; margin-bottom: 1rem; }
.ship-choice legend, .ship-fields legend { padding: 0 .4rem; font-weight: 600; color: var(--ink-muted); }
.ship-choice .radio { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .6rem; font-size: var(--step--1); color: var(--ink); }
.ship-choice .radio input { accent-color: var(--primary); }
.ship-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .7rem; }
.checkout-ship-line { display: flex; justify-content: space-between; font-size: var(--step--1); color: var(--ink-muted); margin: .3rem 0 0; }
.wallets { margin-bottom: .4rem; }
.wallet-btn { margin-bottom: .6rem; min-height: 44px; }
#apple-pay-button { -apple-pay-button-style: black; -webkit-appearance: -apple-pay-button; appearance: -apple-pay-button; height: 48px; border-radius: 10px; cursor: pointer; }
.wallets-or { position: relative; text-align: center; color: var(--ink-muted); font-size: var(--step--1); margin: 1rem 0; }
.wallets-or::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--hairline); }
.wallets-or span { position: relative; background: var(--surface); padding: 0 .7rem; }
.btn--pay { width: 100%; margin-top: .2rem; font-size: 1.05rem; padding: .85rem 1rem; }
.btn--pay:disabled { opacity: .6; cursor: progress; }
.ck-status { min-height: 1.2em; margin: .7rem 0 0; font-size: var(--step--1); }
.ck-status--error { color: #b3261e; }
.ck-status--ok { color: #2f8f4e; }
.ck-secure { margin-top: 1rem; font-size: .8rem; color: var(--ink-muted); text-align: center; }

/* ---------- footer newsletter confirmation ---------- */
.footer-subscribed { color: var(--band-text); font-weight: 600; line-height: 1.45; }
.footer-suberr { color: #f3c0a8; font-size: var(--step--1); margin: .4rem 0 0; }

/* ===================================================================
   Saltline Revival — OCSF components
   =================================================================== */

/* ---------- split hero (landing) ---------- */
/* The hero photos are 640px-wide portrait Instagram frames, so the landing
   hero is a text/photo split rather than a full-bleed banner. */
.split-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.split-hero-body h1 { font-size: var(--step-6); font-weight: 500; max-width: 14ch; }
.split-hero-body .lede { font-family: var(--display); font-size: var(--step-2); color: var(--ink-muted); max-width: 24ch; margin-bottom: .6rem; }
.split-hero-photo { margin: 0; }
.split-hero-photo img {
  width: 100%; max-height: 640px; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid var(--hairline); box-shadow: var(--shadow);
}
.split-hero-photo figcaption { margin-top: .5rem; font-size: var(--step--1); color: var(--ink-muted); font-style: italic; }
@media (max-width: 760px) { .split-hero { grid-template-columns: 1fr; } }

/* ---------- upcoming pop-ups strip (landing) ---------- */
.popup-strip h2 { margin-bottom: 1rem; }
.popup-cards { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.popup-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.popup-card .popup-when { display: block; font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: .2rem; }
.popup-card strong { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--heading); }
.popup-card span { color: var(--ink-muted); font-size: var(--step--1); }

/* ---------- conservation stats band (dark) ---------- */
.stats-band {
  background: var(--band-bg); color: var(--band-text); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.6rem, 4vw, 2.8rem);
}
.stats-band .eyebrow { color: var(--band-stat); }
.stats-band h2 { color: var(--band-text); margin-top: .2rem; }
.stats-band > p { color: color-mix(in srgb, var(--band-text) 85%, transparent); }
.stats-grid { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.stat strong { display: block; font-family: var(--display); font-size: var(--step-4); line-height: 1; color: var(--band-stat); }
.stat span { color: color-mix(in srgb, var(--band-text) 80%, transparent); font-size: var(--step--1); }

/* ===================================================================
   Dusk Tide usage rules — band buttons + focus rings
   =================================================================== */

/* Buttons inside the dark band/footer are never teal-on-dark: flip to an
   aquamarine fill with deep-water text (consult rule 2). */
.btn--band,
.site-footer .btn, .stats-band .btn, .partner-feature .btn, .savedate .btn {
  background: var(--band-stat); color: var(--band-bg);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55);
}
.btn--band:hover,
.site-footer .btn:hover, .stats-band .btn:hover,
.partner-feature .btn:hover, .savedate .btn:hover {
  background: color-mix(in srgb, var(--band-stat) 80%, #fff);
  color: var(--band-bg);
}

/* Focus rings: sea-teal on light surfaces (global default), aquamarine on
   the dark bands and on primary buttons — 2px ring, 3px offset. */
.btn:focus-visible, button[type="submit"]:focus-visible,
.site-footer :focus-visible, .stats-band :focus-visible,
.partner-feature :focus-visible, .savedate :focus-visible,
.navbar :focus-visible, .demo-ribbon :focus-visible {
  outline-color: var(--focus-band);
}
.btn--ghost:focus-visible { outline-color: var(--focus); }

/* Conservation receipt — the one quiet stat line beside a buy decision
   (differentiation issues #1/#4). Deliberately understated. The pop-up
   nudge on the shop catalog (issue #3) is its sibling: same quiet voice,
   aquamarine keyline so the two lines read as different notes. */
.conservation-receipt, .popup-nudge, .giftcard-nudge {
  color: var(--ink-muted);
  font-size: .95rem;
  border-left: 3px solid var(--primary);
  padding-left: .8rem;
  max-width: 46rem;
}
.conservation-receipt a, .popup-nudge a, .giftcard-nudge a { color: var(--link); }
.popup-nudge, .giftcard-nudge { border-left-color: var(--band-stat); }

/* Partner quotes on the raw-bar page — venues' own words, no star ratings. */
.raw-bar-quotes {
  max-width: var(--measure-wide, 68rem);
  margin: clamp(2rem, 5vw, 3.5rem) auto;
  padding: 0 var(--gutter, 1.2rem);
}
.raw-bar-quotes .eyebrow { margin-bottom: 1rem; }
.reviews-grid--quotes { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.reviews-grid--quotes .review blockquote { font-style: italic; }
