@font-face{font-family:'Fraunces';font-style:italic;font-weight:100 900;font-display:swap;src:url('../fonts/fraunces-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/fraunces-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Archivo';font-style:italic;font-weight:100 900;font-display:swap;src:url('../fonts/archivo-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/archivo-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Fraunces Fallback';src:local('Georgia');size-adjust:104%;ascent-override:92%;descent-override:24%;line-gap-override:0%;}
@font-face{font-family:'Archivo Fallback';src:local('Arial');size-adjust:98%;ascent-override:88%;descent-override:22%;line-gap-override:0%;}

/* ============================================================
   DAIDRA FOUNDATION — the quality floor every build starts from
   v1.0 · 2026-08-06 · sources: live-verified extractions in
   knowledge/websites-enterprise.md (Stripe et al.) + DESIGN.md

   HOW TO USE (per project):
   1. Copy this file into the project as the base of site.css.
   2. Skin ONLY the "BRAND SLOTS" block — fonts, hues, radius,
      heading weight. Everything below the slots is the standard;
      it should survive the skin untouched.
   3. The specimen page (index.html beside this file) shows every
      token and primitive in every state — rebuild it mentally
      against your skin before building pages.

   Rules encoded here (don't fight them):
   - Spacing lives on an 8px grid. Type lives on the clamp() scale.
   - Two easings, four durations. Nothing animates off-system.
   - Never `transition: all`. Hover moves ≥2 properties.
   - :focus-visible is a designed brand element, not a default.
   - Content never touches the viewport edge (--px gutter).
   - .section uses LONG-HAND padding (shorthand resets .wrap).
   - prefers-reduced-motion gets designed static states, not
     frozen half-animations.
   ============================================================ */

/* ----------------------------------------------------------
   1. BRAND SLOTS — the only block a project should edit
   ---------------------------------------------------------- */
:root {
  /* Type: one display face, one text face (or one variable font
     for both — preload it, font-display: block if <80KB). */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --font-mono: "Archivo", "Archivo Fallback", Arial, sans-serif;

  /* Enterprise voice = light-weight large type. 300–400 display
     weight reads expensive; 700 reads template. */
  --weight-display: 380;
  --weight-body: 400;
  --weight-medium: 500;   /* the heaviest weight most UIs need */

  /* Brand hues. --brand-h drives the neutral tint below — the
     single cheapest "expensive" trick: neutrals tinted toward the
     brand hue instead of pure gray. */
  --brand-h: 235;                       /* hue 0-360 */
  --accent: oklch(0.55 0.19 var(--brand-h));
  --accent-strong: oklch(0.45 0.21 var(--brand-h));

  /* Geometry personality: 4px = precise/enterprise (Stripe),
     8-12px = friendly SaaS, 999px pills = consumer. Pick ONE. */
  --radius: 4px;
  --radius-lg: 12px;
}

/* ----------------------------------------------------------
   2. NEUTRALS — brand-tinted ramp (never pure gray)
   ---------------------------------------------------------- */
:root {
  --n-50:  oklch(0.985 0.004 var(--brand-h));
  --n-100: oklch(0.96  0.006 var(--brand-h));
  --n-200: oklch(0.91  0.008 var(--brand-h));
  --n-300: oklch(0.83  0.010 var(--brand-h));
  --n-500: oklch(0.60  0.020 var(--brand-h));
  --n-700: oklch(0.40  0.028 var(--brand-h));
  --n-900: oklch(0.25  0.030 var(--brand-h));
  --n-950: oklch(0.17  0.025 var(--brand-h));
}

/* ----------------------------------------------------------
   3. SEMANTIC COLOR + SECTION MODES
   Components consume ONLY these slots. Sections switch skin by
   mode class — components are never restyled per section.
   ---------------------------------------------------------- */
:root, .mode-light {
  --surface: #fff;
  --surface-2: var(--n-50);
  --text: var(--n-900);
  --text-2: var(--n-500);
  --line: var(--n-200);
  --link: var(--accent-strong);
}
.mode-tint {
  --surface: var(--n-50);
  --surface-2: #fff;
}
.mode-dark {
  --surface: var(--n-950);
  --surface-2: var(--n-900);
  --text: var(--n-50);
  --text-2: var(--n-300);
  --line: oklch(0.32 0.03 var(--brand-h));
  --link: oklch(0.75 0.12 var(--brand-h));
}

/* ----------------------------------------------------------
   4. SPACE — 8px grid + the edge gutter
   ---------------------------------------------------------- */
:root {
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-6: 48px; --s-8: 64px; --s-12: 96px; --s-16: 128px; --s-20: 160px;
  --px: clamp(24px, 5vw, 96px);        /* viewport edge gutter */
  --measure: 68ch;                      /* body copy max width */
  --wrap: 1200px;
}

/* ----------------------------------------------------------
   5. TYPE SCALE — clamp()-fluid, tracking tightens as size grows
   ---------------------------------------------------------- */
:root {
  --text-xs: 0.75rem;                               /* 12 — labels */
  --text-sm: 0.875rem;                              /* 14 — UI */
  --text-md: 1rem;                                  /* 16 — body */
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-hero: clamp(2.5rem, 1.75rem + 3.5vw, 4.5rem);
}

/* ----------------------------------------------------------
   6. MOTION — the closed system. Two easings, four durations.
   ---------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);        /* easeOutQuart — default */
  --ease-inout: cubic-bezier(0.45, 0.05, 0.55, 0.95); /* panels, nav */
  --dur-1: 150ms;   /* feedback: press, toggle */
  --dur-2: 240ms;   /* hover, small reveals */
  --dur-3: 450ms;   /* panels, section transitions */
  --dur-4: 800ms;   /* card lifts, entrances */
  --stagger: 70ms;  /* sibling choreography interval */
}

/* ----------------------------------------------------------
   7. ELEVATION + FOCUS — designed, tokenized
   ---------------------------------------------------------- */
:root {
  --shadow-soft: 0 20px 40px -20px rgb(0 0 0 / 0.12);
  --shadow-lift: 0 32px 64px -24px rgb(0 0 0 / 0.18);
  --focus-ring: 0 0 0 3px oklch(0.55 0.19 var(--brand-h) / 0.18);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

/* ----------------------------------------------------------
   8. BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: 1.1;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); letter-spacing: -0.022em; line-height: 1.05; }
h2 { font-size: var(--text-2xl); letter-spacing: -0.018em; }
h3 { font-size: var(--text-xl); letter-spacing: -0.012em; }
h4 { font-size: var(--text-lg); letter-spacing: -0.008em; font-weight: var(--weight-medium); }
p { margin: 0 0 var(--s-2); max-width: var(--measure); text-wrap: pretty; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }

/* Eyebrow / utility label — mono, tracked wide, the "instrument" voice */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ----------------------------------------------------------
   9. LAYOUT — section + wrap (long-hand padding, always)
   ---------------------------------------------------------- */
.section {
  /* LONG-HAND on purpose: `padding: X 0` here silently resets
     .wrap's gutters when combined (documented failure). */
  padding-top: var(--s-12);
  padding-bottom: var(--s-12);
  background: var(--surface);
  color: var(--text);
}
.section--hero {
  min-height: 72vh;              /* never 100vh — next section peeks */
  display: flex;
  align-items: center;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ----------------------------------------------------------
   10. PRIMITIVES — one spec each, reused verbatim on every page
   ---------------------------------------------------------- */

/* Button — asymmetric vertical padding (optical balance),
   transitions name their properties, hover moves ≥2. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 13px 24px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: var(--weight-medium) var(--text-md) / 1 var(--font-body);
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.btn:hover, .btn:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn:active { transform: translateY(0); transition-duration: var(--dur-1); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--surface-2);
  border-color: var(--text-2);
  transform: translateY(-1px);
  box-shadow: none;
}
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* The one-variable hover engine — parent flips --hover, children
   consume it. Focus replays the full hover choreography for free. */
.hoverable { --hover: 0; }
.hoverable:hover, .hoverable:focus-visible, .hoverable:focus-within { --hover: 1; }

/* Link-arrow — title + arrow whose shaft draws in on hover */
.link-arrow {
  --hover: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--weight-medium);
  color: var(--link);
  text-decoration: none;
}
.link-arrow:hover, .link-arrow:focus-visible { --hover: 1; }
.link-arrow .arrow { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow .arrow .shaft {
  opacity: var(--hover);
  transition: opacity var(--dur-2) var(--ease-out);
}
.link-arrow:hover .arrow, .link-arrow:focus-visible .arrow { transform: translateX(3px); }

/* Card — soft negative-spread shadow, lift on hover */
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  transition:
    transform var(--dur-4) var(--ease-out),
    box-shadow var(--dur-4) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--n-300);
}
.card > :last-child { margin-bottom: 0; }

/* Stat — big number, smaller unit, mono label underneath */
.stat { display: grid; gap: 4px; }
.stat b {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-display);
  letter-spacing: -0.018em;
  line-height: 1;
}
.stat b small { font-size: 0.55em; font-weight: var(--weight-medium); }
.stat .eyebrow { margin-top: 2px; }

/* Dom-graphic scaffold — product UI as scaled live HTML.
   Design the mock at a fixed px width, scale the block. */
.dom-graphic {
  --gw: 320px;        /* design width */
  --gs: 1;            /* scale (set per placement / media query) */
  width: calc(var(--gw) * var(--gs));
  pointer-events: none;
  user-select: none;
}
.dom-graphic > .dg-frame {
  width: var(--gw);
  transform: scale(var(--gs));
  transform-origin: top left;
}

/* ----------------------------------------------------------
   11. REVEAL CHOREOGRAPHY — IO adds .in; siblings stagger.
   JS contract (site.js):
     const io = new IntersectionObserver(es => es.forEach(e => {
       if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target); }
     }), { threshold: 0.15, rootMargin: '0px 0px -8% 0px' });
     document.querySelectorAll('.reveal').forEach(el => io.observe(el));
   Fail-safe: .reveal without JS must still be readable — the
   `no-js` class (set in <head>, removed by JS) keeps opacity 1.
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-4) var(--ease-out),
    transform var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ----------------------------------------------------------
   12. REDUCED MOTION — designed static states, not freezes
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn--ghost, .card, .link-arrow .arrow, .link-arrow .arrow .shaft {
    transition: none;
  }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  /* Per-project: every animated signature block MUST add its own
     designed fallback here (static frame, final state, or swap-in
     element) — never leave it half-animated. */
}

/* ============================================================
   BEACH BOOKSHOP & VIDEO — brand skin over foundation.css
   (foundation "BRAND SLOTS" re-declared here; everything below the
   slots in foundation ships intact). Values measured 2026-09-16:
   cream #FBF5EB + deep teal #365353 from the client's 2023 site,
   logo teal #387070 / sand #E8B068 / book blue #1098C0 from the
   client's own logo pixels, ink from the 2023 site's dark brown.
   Personality lanes (DESIGN.md Part 2): pills + 12px cards (consumer,
   retro-coastal), display weight 500, headline anatomy = eyebrow +
   two-line roman/italic, dark-band CTA = sand fill, spectacle = CSS
   light only (no video, no canvas).
   ============================================================ */
:root {
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --font-mono: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --weight-display: 500;
  --weight-body: 400;
  --weight-medium: 600;

  /* neutrals tint toward the cream/sand side of the brand */
  --brand-h: 70;

  /* the machine: cream ground · teal ink-surface · sand accent */
  --cream: #FBF5EB;
  --paper: #FFFCF5;
  --ink: #26201A;
  --teal: #2F5F5E;          /* fills, dark bands (logo teal deepened to the 2023 footer) */
  --teal-deep: #1E4342;
  --teal-night: #12302F;    /* mode-dark ladder base */
  --teal-ink: #24504F;      /* teal as TEXT on cream (7.4:1) */
  --sand: #E8B068;          /* logo sand — FILL only */
  --sand-ink: #8A5A1C;      /* sand as TEXT on cream (5.6:1) */
  --sand-soft: #F4DDB7;
  --aqua: #A0D3D5;          /* heritage wave */
  --book-blue: #1098C0;     /* lives inside the logo; used once for the stamp ring highlight */
  --red-sign: #B8332F;      /* storefront siding — hairline accents only */

  --accent: var(--sand);
  --accent-strong: #D99A45;
  --accent-ink: var(--sand-ink);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

/* semantic slots + modes (override foundation's) */
:root, .mode-light {
  --surface: var(--cream);
  --surface-2: var(--paper);
  --text: var(--ink);
  --text-2: #6B5F52;
  --line: #E6DCCB;
  --link: var(--teal-ink);
  --el-ink: var(--ink);
  --el-paper: var(--paper);
  --el-green: var(--sand);
  --el-navy: var(--teal-night);
}
.mode-tint {
  --surface: var(--paper);
  --surface-2: var(--cream);
}
.mode-dark {
  --surface: var(--teal-night);
  --surface-2: var(--teal-deep);
  --text: #F3ECDF;
  --text-2: #B9C7C4;
  --line: rgb(255 255 255 / 0.12);
  --link: var(--sand);
  --accent-ink: var(--sand);
}
.mode-teal {
  --surface: var(--teal);
  --surface-2: var(--teal-deep);
  --text: #F7F1E6;
  --text-2: #CFE0DE;
  --line: rgb(255 255 255 / 0.16);
  --link: var(--sand);
  --accent-ink: var(--sand);
}
.mode-sand {
  --surface: var(--sand-soft);
  --surface-2: var(--paper);
  --line: #E3C58F;
}

:root {
  --wrap: 1240px;
  --measure: 62ch;
  --px: clamp(20px, 5vw, 96px);
  --text-hero: clamp(2.75rem, 1.6rem + 4.2vw, 5.5rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.4vw, 3.6rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);

  /* motion: behaviour-named easings */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-ink: cubic-bezier(0.45, 0, 0.55, 1);      /* stroke draws (haven) */
  --ease-drift: cubic-bezier(0.3, 0, 0, 1);        /* aisle pan, ticket fly-in (singlefin) */
  --focus-ring: 0 0 0 4px rgb(47 95 94 / 0.22);
  --shadow-soft: 0 18px 40px -22px rgb(38 32 26 / 0.28), 0 4px 10px -6px rgb(38 32 26 / 0.12);
  --shadow-lift: 0 34px 60px -26px rgb(38 32 26 / 0.38), 0 12px 24px -14px rgb(38 32 26 / 0.18);
}
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; box-shadow: var(--focus-ring); border-radius: 6px; }
.mode-dark :focus-visible, .mode-teal :focus-visible { outline-color: var(--sand); }

/* ============================================================
   DAIDRA ELEMENTS — the reusable section/element library.
   Elementor-style reuse, engineered: include AFTER foundation.css
   and the project's brand-slot skin. Every element consumes only
   foundation tokens (--accent, --green, --paper, --navy, --s-*,
   --dur-*, easings) so one skin restyles the whole library.
   Behaviors attach from elements.js by class contract (README.md).
   Advanced-CSS register: masks, conic gradients, blend modes,
   clip-path chrome, pointer-var lighting. 2026-08-07.
   ============================================================ */

/* Library-local slots with safe fallbacks (projects override) */
:root {
  --el-ink: var(--ink, #16181d);
  --el-navy: var(--navy, #0b1826);
  --el-green: var(--green, #58b765);
  --el-paper: var(--paper, #fbfaf7);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout-hard: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ============ el-aurora — canvas mesh field ============ */
.el-aurora {
  position: absolute; inset: 0; width: 100%; height: 100%;
  --el-aurora-1: var(--accent); --el-aurora-2: var(--el-green);
  --el-aurora-3: #2a6fb8;
  filter: blur(60px) saturate(1.15);
  opacity: 0.85;
  pointer-events: none;
}

/* ============ el-marquee — infinite ticker ============ */
.el-marquee { overflow: hidden; position: relative; }
.el-marquee-track {
  display: flex; align-items: center; gap: var(--s-8);
  width: max-content;
  animation: el-mq var(--el-mq-dur, 30s) linear infinite;
}
.el-marquee:hover .el-marquee-track { animation-play-state: paused; }
@keyframes el-mq { to { transform: translateX(-50%); } }
.el-marquee--fade {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* photo strip variant */
.el-marquee--photos .el-marquee-track { gap: var(--s-2); }
.el-marquee--photos img {
  height: clamp(160px, 22vw, 260px); width: auto; border-radius: var(--radius-lg);
  object-fit: cover; aspect-ratio: 3/2;
}

/* ============ el-orbit — rotating arc ring (SVG) ============ */
.el-orbit { animation: el-spin 60s linear infinite; transform-origin: center; }
.el-orbit--rev { animation-direction: reverse; animation-duration: 90s; }
@keyframes el-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .el-orbit, .el-marquee-track { animation: none !important; }
}

/* ============ el-shine — pointer-lit card ============ */
.el-shine { position: relative; --mx: 50%; --my: 50%; }
.el-shine::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my),
    rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.06) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.el-shine:hover::before, .el-shine:focus-within::before { opacity: 1; }
.el-shine::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my),
    rgb(255 255 255 / 0.08), transparent 60%);
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.el-shine:hover::after, .el-shine:focus-within::after { opacity: 1; }

/* ============ el-glow — cursor glow for dark sections ============ */
.el-glow { position: relative; --gx: 50%; --gy: 40%; }
.el-glow > .el-glow-layer {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--gx) var(--gy),
    rgb(88 183 101 / 0.10), rgb(1 90 163 / 0.07) 45%, transparent 70%);
  transition: opacity var(--dur-3) var(--ease-out);
}
@media (hover: none) { .el-glow > .el-glow-layer { display: none; } }

/* ============ el-magnetic — cursor-lean CTA ============ */
.el-magnetic { transition: transform var(--dur-2) var(--ease-out); will-change: transform; }

/* ============ el-notch-panel — Terminal tab-notch media panel ==== */
.el-notch { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.el-notch::before {
  content: ""; position: absolute; top: 0; right: 48px; z-index: 3;
  width: 120px; height: 14px; background: var(--el-notch-bg, var(--el-paper));
  border-radius: 0 0 12px 12px;
}

/* ============ el-knockout — photo etched through display type ==== */
.el-knockout {
  background-image: var(--el-knockout-img);
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text;
  color: rgb(255 255 255 / 0.14);
  filter: drop-shadow(0 2px 24px rgb(0 0 0 / 0.35));
}
@supports not (background-clip: text) { .el-knockout { color: #fff; } }

/* ============ el-grain — feTurbulence paper/film grain ============ */
.el-grain { position: relative; }
.el-grain::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5;
  background-image: 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' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0 0.13 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ el-ghost-mark — viewport-scale watermark ============ */
.el-ghost-mark {
  position: absolute; left: 50%; bottom: -0.24em; transform: translateX(-50%);
  z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 12.2vw; line-height: 1; letter-spacing: -0.01em;
  color: var(--el-ghost-color, rgb(143 193 234 / 0.07)); white-space: nowrap;
}

/* ============ el-dive — split whole-panel CTA pair ============ */
.el-dive { display: grid; grid-template-columns: 1fr 1fr; }
.el-dive a {
  display: flex; align-items: center; gap: var(--s-3);
  padding: clamp(48px, 7vw, 96px) var(--px);
  text-decoration: none; color: #fff;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  transition: background-color var(--dur-3) var(--ease-out);
}
.el-dive a:first-child { background: var(--accent); }
.el-dive a:first-child:hover, .el-dive a:first-child:focus-visible { background: var(--accent-strong); }
.el-dive a:last-child { background: var(--el-ink); }
.el-dive a:last-child:hover, .el-dive a:last-child:focus-visible { background: #000; }
.el-dive .darr { flex: none; transition: transform var(--dur-3) var(--ease-out); }
.el-dive a:hover .darr, .el-dive a:focus-visible .darr { transform: translate(6px, 6px); }
@media (max-width: 860px) { .el-dive { grid-template-columns: 1fr; } }

/* ============ el-chip-pill — mono chip (nav/filters) ============ */
.el-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 11px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--el-ink);
  background: #fff; border: 1px solid rgb(0 0 0 / 0.14);
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.el-chip:hover, .el-chip:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.el-chip--green { background: var(--el-green); border-color: var(--el-green); color: #06250c; }
.el-chip[aria-pressed="true"] { background: var(--el-green); border-color: var(--el-green); color: #06250c; }

/* ============ el-metric-chip — floating stat chip ============ */
.el-metric {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 14px 20px; border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.5);
}
.el-metric b {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.02em;
}
.el-metric b sup { font-size: 0.55em; font-weight: 500; }
.el-metric .micro { color: rgb(255 255 255 / 0.65); }

/* ============ el-ring-conic — conic progress ring ============ */
.el-ring-conic {
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--el-rc-hole, var(--el-navy)) 79%, transparent 80% 100%),
    conic-gradient(var(--el-green) calc(var(--p, 0) * 1%), rgb(255 255 255 / 0.12) 0);
}

/* ============ el-mosaic — two-row photo marquee band ============ */
.el-mosaic { display: grid; gap: var(--s-2); }

/* ============ el-quote-ghost — testimonial w/ giant glyph ======== */
.el-quote-ghost { position: relative; }
.el-quote-ghost::before {
  content: "\201C"; position: absolute; top: -0.18em; left: -0.06em;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(8rem, 18vw, 16rem); line-height: 1;
  color: var(--accent); opacity: 0.08; pointer-events: none;
}

/* ============ Scene stepping visuals (used with [data-el-scene]) == */
.el-scene .svc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity 700ms var(--ease-out-expo), transform 900ms var(--ease-out-expo);
}
.el-scene .svc-media img.active { opacity: 1; transform: scale(1); }
.el-scene .svc-desc { position: relative; }
.el-scene .svc-desc p {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
}
.el-scene .svc-desc p.active { opacity: 1; transform: none; }
.el-scene .scene-bar { height: 2px; overflow: hidden; }
.el-scene .scene-bar i { display: block; height: 100%; background: var(--el-green); transform-origin: left; transform: scaleX(0); }

/* ============ Reduced motion: designed static states ============ */
@media (prefers-reduced-motion: reduce) {
  .el-shine::before, .el-shine::after, .el-glow > .el-glow-layer { display: none; }
  .el-magnetic { transition: none; }
  .el-scene .svc-media img, .el-scene .svc-desc p { transition: none; }
}

/* ============ el-field — branded form controls (input/select/textarea) ==== */
/* Contract: <div class="el-field"><label for=X>…</label><input|select|textarea id=X>
   <span class="el-field-err">message</span></div>. Add .err on the wrapper to show
   the error state. Selects get a token-colored SVG chevron (appearance:none);
   labels tint to --accent on focus-within. Never ship native-chrome fields. */
.el-field { display: grid; gap: 6px; }
.el-field label {
  font-size: var(--text-sm); font-weight: 700; color: var(--el-ink, var(--ink, #232830));
  transition: color var(--dur-2) var(--ease-out);
}
.el-field:focus-within label { color: var(--accent); }
.el-field input, .el-field select, .el-field textarea {
  border: 1px solid var(--n-300, #C5CAD3); border-radius: var(--radius);
  padding: 12px 14px; font: 400 var(--text-md) var(--font-body);
  color: var(--el-ink, var(--ink, #232830));
  background: #fff; width: 100%; min-height: 48px;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.el-field input:hover, .el-field select:hover, .el-field textarea:hover {
  border-color: color-mix(in oklab, var(--accent) 45%, #fff);
}
.el-field input::placeholder, .el-field textarea::placeholder { color: #7A8398; }
.el-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  /* chevron inherits --accent via mask so it always matches the skin */
  background-image: none; padding-right: 40px; position: relative;
}
.el-field .el-field-sel { position: relative; }
.el-field .el-field-sel::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 12px; height: 8px; transform: translateY(-50%);
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat;
  pointer-events: none;
}
.el-field textarea { resize: vertical; min-height: 120px; }
.el-field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #fff inset;
  -webkit-text-fill-color: var(--el-ink, var(--ink, #232830));
}
.el-field input:focus, .el-field select:focus, .el-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--focus-ring);
}
.el-field.err input, .el-field.err select { border-color: var(--el-red, #D33); }
.el-field.err input:focus, .el-field.err select:focus {
  border-color: var(--el-red, #D33);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--el-red, #D33) 15%, transparent);
}
.el-field .el-field-err { display: none; font-size: var(--text-xs); color: var(--el-red, #D33); }
.el-field.err .el-field-err { display: block; }

/* ── el-device: scrolling site-in-frame mockups (desktop browser + phone) ──
   Origin: sharkdig.com case studies 2026-08-11. Feed each viewport a full-page
   capture (desktop ~1200w, mobile 390w@2x). Frames are user-scrollable. */
.el-device-pair { display: grid; grid-template-columns: minmax(0,1fr) 292px; gap: clamp(18px,2.5vw,28px); align-items: stretch; }
.el-browser { border: 1px solid var(--rule, #dde4ee); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(6,27,49,.4); }
.el-browser .bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--card, #fff); border-bottom: 1px solid var(--rule, #dde4ee); }
.el-browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dce8; }
.el-browser .view { height: clamp(420px,62vh,640px); overflow-y: auto; overflow-x: hidden; background: var(--card, #fff); -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.el-browser .view img { display: block; width: 100%; height: auto; }
.el-phone { position: relative; display: flex; flex-direction: column; height: calc(clamp(420px,62vh,640px) + 40px); border: 10px solid #10151d; border-radius: 44px; background: #10151d; box-shadow: 0 24px 60px -30px rgba(6,27,49,.5), inset 0 0 0 2px rgba(255,255,255,.06); }
.el-phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; border-radius: 12px; background: #10151d; z-index: 3; }
.el-phone .view { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; background: var(--card, #fff); border-radius: 34px; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scrollbar-width: none; }
.el-phone .view::-webkit-scrollbar { display: none; }
.el-phone .view img { display: block; width: 100%; height: auto; }
@media (max-width: 880px) {
  .el-device-pair { grid-template-columns: 1fr; }
  .el-phone { width: min(320px,82vw); height: 560px; margin: 0 auto; }
}

/* ============ el-menu — mobile navigation drawer, done right (2026-09-16) ============
   Born from Beach Bookshop: a fixed #menu INSIDE a header with backdrop-filter was
   positioned against the header (filters create containing blocks), so it opened
   40px low, then rendered with negative height and "didn't work" on X's phone.
   Contract (markup lives OUTSIDE <header>):
     <button class="chrome-burger" aria-expanded="false" aria-controls="menu" aria-label="Open menu"><span></span></button>
     <dialog id="menu" class="el-menu" aria-label="Menu">
       <div class="el-menu-bar"><a class="brand" href="/">…</a><button class="el-menu-close" aria-label="Close menu"></button></div>
       <nav class="el-menu-nav"><ol><li><a href>…</a></li>…</ol></nav>
       <div class="el-menu-foot">…hours / address / CTAs / socials…</div>
     </dialog>
   Engine (elements.js): showModal() → top layer (immune to z-index, overflow, filter
   containing blocks); iOS-proof scroll lock; Esc/backdrop/link/resize close; focus in
   and back to the burger; staggered link rise via --i. Slots: --el-menu-bg, --el-menu-fg,
   --el-menu-accent, --el-menu-bp (px, close when the viewport grows past it). */
.el-menu { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--el-menu-bg, var(--el-navy)); color: var(--el-menu-fg, #fff); overflow: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; transition: opacity var(--dur-3, 450ms) var(--ease-out, ease); }
.el-menu[open] { display: grid; grid-template-rows: auto 1fr auto; }
.el-menu.in { opacity: 1; }
.el-menu::backdrop { background: transparent; }
html.el-menu-lock { overflow: hidden; }
html.el-menu-lock body { position: fixed; width: 100%; overflow: hidden; }
.el-menu-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; padding: 0 var(--px, 20px); }
.el-menu-bar .brand { min-height: 48px; display: inline-flex; align-items: center; }
.el-menu-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.06); color: inherit; cursor: pointer; position: relative; flex: none; }
.el-menu-close::before, .el-menu-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.el-menu-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.el-menu-nav { padding: 8px var(--px, 20px) 24px; align-self: center; }
.el-menu-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.el-menu-nav li { counter-increment: m; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.el-menu-nav a { display: grid; grid-template-columns: 2.4ch minmax(0, 1fr) auto; align-items: baseline; gap: 12px; min-height: 60px; padding: 14px 0; color: inherit; text-decoration: none;
  font-family: var(--font-display); font-weight: var(--weight-display, 500); font-size: clamp(1.75rem, 7.5vw, 2.6rem); line-height: 1; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(14px); transition: opacity var(--dur-3, 450ms) var(--ease-out, ease), transform var(--dur-3, 450ms) var(--ease-out, ease); transition-delay: calc(80ms + var(--i, 0) * 55ms); }
.el-menu-nav a::before { content: counter(m, decimal-leading-zero); font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; color: var(--el-menu-accent, var(--accent)); align-self: center; }
.el-menu-nav a::after { content: "\2192"; font-family: var(--font-body); font-size: 1.1rem; color: var(--el-menu-accent, var(--accent)); opacity: 0.7; align-self: center; }
.el-menu-nav a[aria-current="page"] { color: var(--el-menu-accent, var(--accent)); }
.el-menu.in .el-menu-nav a { opacity: 1; transform: none; }
.el-menu-foot { padding: 20px var(--px, 20px) max(28px, env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 0.12); display: grid; gap: 16px; font-size: 0.9375rem;
  opacity: 0; transform: translateY(10px); transition: opacity var(--dur-3, 450ms) var(--ease-out, ease) 420ms, transform var(--dur-3, 450ms) var(--ease-out, ease) 420ms; }
.el-menu.in .el-menu-foot { opacity: 1; transform: none; }
.el-menu-foot .el-menu-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.el-menu-foot .el-menu-ctas .btn { justify-content: center; }
.el-menu-foot .el-menu-meta { display: grid; gap: 4px; color: rgb(255 255 255 / 0.78); }
.el-menu-foot .el-menu-meta b { color: var(--el-menu-accent, var(--accent)); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); }
.el-menu-foot a { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  .el-menu, .el-menu-nav a, .el-menu-foot { transition: none; }
  .el-menu[open] { opacity: 1; } .el-menu[open] .el-menu-nav a, .el-menu[open] .el-menu-foot { opacity: 1; transform: none; }
}

/* ============ el-summon — hover-intent card (2026-09-16) ============
   `.summon-host` > `[data-summon]` + `.summon`. The card is hidden by transform/opacity/
   visibility, becomes interactive when `.on`, and carries an invisible bridge above it
   so the pointer can cross the gap from the trigger without "leaving". Engine: elements.js. */
.summon { --el-summon-grace: 420; position: absolute; z-index: 30; opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform var(--dur-3, 450ms) var(--ease-out, ease), opacity var(--dur-3, 450ms) var(--ease-out, ease), visibility 0s linear var(--dur-3, 450ms); }
.summon.on { opacity: 1; visibility: visible; pointer-events: auto; transition: transform var(--dur-3, 450ms) var(--ease-out, ease), opacity var(--dur-3, 450ms) var(--ease-out, ease); }
.summon::before { content: ""; position: absolute; left: -24px; right: -24px; top: -28px; height: 28px; }
@media (hover: none), (pointer: coarse) { .summon { display: none; } }
@media (prefers-reduced-motion: reduce) { .summon { transition: none; } }

/* ============================================================
   BEACH BOOKSHOP & VIDEO — project components (after foundation +
   skin + elements). One radius language (pills + 12/20px), one
   repeated micro-gesture (.h-two: roman line + italic sand line with
   an ink underline that draws in), ONE bespoke signature (.aisle —
   walk the stacks). Hover rules live behind (hover:hover).
   ============================================================ */
html { background: var(--cream); }
body { line-height: 1.5; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open { overflow: hidden; }
h1, h2, h3, h4 { font-variation-settings: "opsz" 144, "SOFT" 40; hyphens: none; }
h1 { line-height: 0.98; }
h2 { line-height: 1.02; }
h3 { line-height: 1.12; }
p { line-height: 1.55; }
.lede { font-size: var(--text-lg); color: var(--text-2); line-height: 1.5; max-inline-size: 56ch; }
.small { font-size: var(--text-sm); }
.muted { color: var(--text-2); }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: var(--radius-pill); z-index: 100; }
.skip:focus { left: 12px; }
::selection { background: var(--sand); color: var(--ink); }
blockquote, figure { margin: 0; }
.section { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.section--tight { padding-top: var(--s-6); padding-bottom: var(--s-6); }
.head { margin-bottom: var(--s-6); }
.head .lede { margin-top: var(--s-2); }

/* ---- eyebrow + the two-line headline gesture ---- */
.eyebrow {
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-ink); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--bare::before { display: none; }
.mode-dark .eyebrow, .mode-teal .eyebrow { color: var(--sand); }
.h-two { text-wrap: balance; letter-spacing: -0.025em; }
.h-two .l2 { display: block; font-style: italic; font-weight: 400; color: var(--accent-ink); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; position: relative; width: fit-content; }
.center .h-two .l2 { margin-inline: auto; }
.h-two .l2 .ink { position: absolute; left: 0; bottom: -0.16em; height: 0.28em; width: 100%; pointer-events: none; overflow: visible; }
.h-two .l2 .ink path { fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; opacity: 0.55; stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.in .h-two .l2 .ink path, .h-two.in .l2 .ink path, .ready .h-two .l2 .ink path { transition: stroke-dashoffset var(--dur-4) var(--ease-ink) calc(var(--dur-3) + var(--i, 0) * var(--stagger)); stroke-dashoffset: 0; }
.no-js .h-two .l2 .ink path { stroke-dashoffset: 0; }
.h-two.is-h1 { font-size: var(--text-hero); }

/* ---- buttons: pills, sand primary / teal secondary / ghost ---- */
.btn {
  border-radius: var(--radius-pill); padding: 15px 26px 16px; font-size: 0.9375rem; letter-spacing: 0.01em;
  color: var(--ink); background: var(--sand); border-color: var(--sand);
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.btn:hover, .btn:focus-visible { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--sand), var(--shadow-soft); }
.btn--teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--teal:hover, .btn--teal:focus-visible { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--teal), var(--shadow-soft); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--surface-2); border-color: var(--text-2); color: var(--text); box-shadow: none; }
.mode-dark .btn--ghost, .mode-teal .btn--ghost { color: var(--text); border-color: var(--line); }
.mode-dark .btn--ghost:hover, .mode-teal .btn--ghost:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.4); }
.btn .arrow { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { color: var(--teal-ink); }
.mode-dark .link-arrow, .mode-teal .link-arrow { color: var(--sand); }

/* ---- top bar: teal ticker of new titles ---- */
.topbar { display: flex; align-items: stretch; background: var(--teal); color: #F3ECDF; height: 40px; font-size: 0.8125rem; overflow: hidden; }
.topbar .tb-label { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 var(--px); background: var(--teal-deep); color: var(--sand); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.6875rem; white-space: nowrap; position: relative; z-index: 1; }
.topbar .tb-label::after { content: ""; position: absolute; right: -12px; top: 0; bottom: 0; width: 12px; background: linear-gradient(90deg, var(--teal-deep), transparent); }
.topbar .tb-marquee { flex: 1; min-width: 0; display: flex; align-items: center; }
.topbar .el-marquee-track { gap: 0; }
.topbar .el-marquee-track a { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 28px; color: #F3ECDF; text-decoration: none; font-family: var(--font-display); font-size: 1rem; font-variation-settings: "opsz" 40, "SOFT" 60; white-space: nowrap; line-height: 40px; position: relative; }
.topbar .el-marquee-track a::before { content: "\2726"; position: absolute; left: -6px; color: var(--sand); font-size: 0.7rem; }
.topbar .el-marquee-track a small { font-family: var(--font-body); font-size: 0.75rem; color: rgb(243 236 223 / 0.7); }
.topbar .el-marquee-track a:hover { color: var(--sand); }
@media (max-width: 600px) { .topbar .tb-label { padding-left: 16px; font-size: 0.625rem; } }

/* ---- mobile menu skin (library el-menu; engine in elements.js) ---- */
.el-menu { --el-menu-bg: var(--teal-night); --el-menu-fg: #F3ECDF; --el-menu-accent: var(--sand); --el-menu-bp: 1100; }
.el-menu .brand { color: #F3ECDF; }
.el-menu .brand .wm small { color: var(--sand); }
.el-menu .btn--ghost { color: #F3ECDF; border-color: rgb(255 255 255 / 0.28); }
.el-menu .soc a { color: #F3ECDF; }
.el-menu::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay; background-image: 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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---- header ---- */
.chrome { position: sticky; overflow-x: clip; overflow-y: visible; top: 0; z-index: 50; background: rgb(251 245 235 / 0.86); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.chrome.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgb(38 32 26 / 0.35); }
.chrome .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 42px; object-fit: contain; }
.brand .wm { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1; font-variation-settings: "opsz" 40, "SOFT" 60; }
.brand .wm small { display: block; font-family: var(--font-body); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-ink); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: 0.9375rem; font-weight: 500; color: var(--text); text-decoration: none; padding: 10px 11px; border-radius: var(--radius-pill); position: relative; transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.pill { background: var(--teal); color: #fff; padding: 11px 18px 12px; margin-left: 8px; font-weight: 600; }
.nav a.pill::after { display: none; }
.chrome-burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.chrome-burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
.chrome-burger span::before, .chrome-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform var(--dur-2) var(--ease-out), top var(--dur-2) var(--ease-out); }
.chrome-burger span::before { top: -6px; } .chrome-burger span::after { top: 6px; }
.chrome-burger[aria-expanded="true"] span { background: transparent; }
.chrome-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.chrome-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .nav { display: none; }
  .chrome-burger { display: inline-flex; }
}
@media (hover: hover) {
  .nav a:hover { background: rgb(47 95 94 / 0.08); }
  .nav a:hover::after { transform: scaleX(1); }
  .nav a.pill:hover { background: var(--teal-deep); }
  .chrome-burger:hover { border-color: var(--teal); }
}

/* ---- the hours ticket (scalloped card) + hover summon ---- */
.ticket {
  --sc: 9px;
  position: relative; background: var(--paper); color: var(--ink);
  padding: calc(var(--s-4) + var(--sc)) var(--s-4);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent var(--sc), #000 calc(var(--sc) + 0.5px)) 50% 0 / calc(var(--sc) * 2.4) calc(var(--sc) * 2) repeat-x,
                radial-gradient(circle at 50% 100%, transparent var(--sc), #000 calc(var(--sc) + 0.5px)) 50% 100% / calc(var(--sc) * 2.4) calc(var(--sc) * 2) repeat-x,
                linear-gradient(#000, #000) 50% 50% / 100% calc(100% - var(--sc) * 4) no-repeat;
  mask: radial-gradient(circle at 50% 0, transparent var(--sc), #000 calc(var(--sc) + 0.5px)) 50% 0 / calc(var(--sc) * 2.4) calc(var(--sc) * 2) repeat-x,
        radial-gradient(circle at 50% 100%, transparent var(--sc), #000 calc(var(--sc) + 0.5px)) 50% 100% / calc(var(--sc) * 2.4) calc(var(--sc) * 2) repeat-x,
        linear-gradient(#000, #000) 50% 50% / 100% calc(100% - var(--sc) * 4) no-repeat;
}
.ticket-shadow { filter: drop-shadow(0 24px 30px rgb(38 32 26 / 0.28)); }
.ticket .t-head { font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-ink); text-align: center; margin: 0 0 var(--s-2); }
.ticket .t-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; text-align: center; margin: 0 0 var(--s-3); letter-spacing: -0.02em; }
.ticket dl { margin: 0; display: grid; gap: 12px; }
.ticket dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.ticket dd { margin: 2px 0 0; font-size: 0.9375rem; line-height: 1.4; }
.ticket dd a { color: var(--ink); text-decoration-color: var(--sand); text-underline-offset: 3px; }
.ticket .rule { height: 0; border-top: 1px dashed var(--line); margin: 4px 0; }
.ticket .t-foot { text-align: center; font-size: 0.75rem; color: var(--text-2); margin: var(--s-2) 0 0; }
.summon-host { position: relative; }
.summon { right: 0; top: 50%; width: 300px; transform: translate(60%, -50%) rotate(7deg); transition-timing-function: var(--ease-drift); }
.summon.on { transform: translate(0, -50%) rotate(3deg); }
.chrome .summon { top: 100%; transform: translate(60%, 8px) rotate(7deg); }
.chrome .summon.on { transform: translate(0, 8px) rotate(3deg); }
@media (max-width: 1100px) { .summon { display: none; } }

/* ---- HOME hero: knockout word + two-line headline + stamp ---- */
.hero { position: relative; overflow: hidden; padding-top: var(--s-6); padding-bottom: 0; background: var(--cream); }
.hero .knock-wrap { position: relative; line-height: 0.82; margin: 0 0 var(--s-4); }
.hero .knock { font-family: var(--font-display); font-weight: 800; font-variation-settings: "opsz" 144, "SOFT" 0; font-size: clamp(5.5rem, 21.5vw, 19.5rem); letter-spacing: -0.04em; line-height: 0.82; text-transform: uppercase; margin: 0; white-space: nowrap; color: rgb(255 255 255 / 0.14); background-image: var(--el-knockout-img); background-size: cover; background-position: center 40%; -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 18px rgb(38 32 26 / 0.18)); transition: transform var(--dur-4) var(--ease-drift), opacity var(--dur-4) var(--ease-drift); }
.hero.load .knock { transform: translateY(22px); opacity: 0; }
.hero .knock-wrap .coast { position: absolute; inset: -18% -6% -22% -6%; width: 112%; height: 140%; pointer-events: none; }
.hero .knock-wrap .coast path { fill: none; stroke: var(--teal); stroke-width: 1.4; opacity: 0.45; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2400ms var(--ease-ink) 200ms; }
.hero.ready .knock-wrap .coast path { stroke-dashoffset: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s-8); align-items: end; padding-bottom: 80px; }
.hero-grid > * { transition: transform var(--dur-4) var(--ease-drift), opacity var(--dur-4) var(--ease-drift); transition-delay: calc(var(--i, 0) * var(--stagger) + 240ms); }
.hero.load .hero-grid > * { opacity: 0; transform: translateY(18px); }
.hero .lede { max-inline-size: 48ch; }
.hero-aside { display: grid; gap: var(--s-3); justify-items: end; }
.hero-aside .signline { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--teal-ink); text-align: right; max-inline-size: 26ch; margin: 0; font-variation-settings: "opsz" 40, "SOFT" 100, "WONK" 1; }
.stamp { position: relative; width: 168px; height: 168px; flex: none; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stamp .ring text { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; fill: var(--teal-ink); }
.stamp .disc { position: absolute; inset: 22px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5px var(--sand); }
.stamp .disc img { width: 62%; height: auto; }
.mode-dark .stamp .ring text, .mode-teal .stamp .ring text { fill: var(--sand); }
.mode-dark .stamp .disc, .mode-teal .stamp .disc { box-shadow: inset 0 0 0 4px var(--teal-night), inset 0 0 0 5px var(--sand); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; padding-bottom: var(--s-8); } .hero-aside { justify-items: start; } .hero-aside .signline { text-align: left; } .stamp { width: 132px; height: 132px; } }

/* wave divider (heritage) */
.wave { display: block; width: 100%; height: clamp(28px, 5vw, 64px); color: var(--wave-to, var(--cream)); background: var(--wave-from, transparent); position: relative; z-index: 2; margin-top: -1px; margin-bottom: -1px; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave path { fill: currentColor; }

/* ---- proof strip ---- */
.proof { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-3) 0; }
.proof .stat { padding: 8px 12px; border-left: 1px solid var(--line); }
.proof .stat:first-child { border-left: 0; }
.proof .stat b { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-variation-settings: "opsz" 144, "SOFT" 40; letter-spacing: -0.03em; }
.proof .stat b small { font-size: 0.5em; color: var(--text-2); font-weight: 500; letter-spacing: 0; margin-left: 2px; }
.proof .stat .eyebrow { margin: 6px 0 0; font-size: 0.625rem; color: var(--text-2); }
.proof .stat .eyebrow::before { display: none; }
.proof .stars { color: var(--sand-ink); font-size: 0.8rem; letter-spacing: 0.08em; }
@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, 1fr); } .proof .stat { border-left: 0; border-top: 1px solid var(--line); } .proof .stat:nth-child(-n+2) { border-top: 0; } .proof .stat:nth-child(2n) { border-left: 1px solid var(--line); } }

/* ---- intro band: stamp + two-line + lede + owner quote ---- */
.intro-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.owner-quote { border-left: 3px solid var(--sand); padding-left: var(--s-3); margin: var(--s-4) 0 0; }
.owner-quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; letter-spacing: -0.015em; font-variation-settings: "opsz" 40, "SOFT" 60; margin: 0 0 8px; max-inline-size: 30ch; }
.owner-quote cite { font-style: normal; font-size: var(--text-sm); color: var(--text-2); }
@media (max-width: 800px) { .intro-grid { grid-template-columns: 1fr; } .intro-grid .stamp { width: 132px; height: 132px; } }

/* ---- SIGNATURE: walk the aisle ---- */
.aisle { position: relative; height: 320vh; background: radial-gradient(120% 80% at 50% 100%, #1B403F, var(--teal-night) 70%); }
.aisle .stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; --p: 0; }
.aisle .pan { position: absolute; top: -22%; left: 0; height: 144%; width: auto; max-width: none; transform: translate3d(calc(var(--p) * (100vw - 100%)), 0, 0); will-change: transform; filter: saturate(1.05) contrast(1.02); }
.aisle .stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(18 48 47 / 0.82) 0%, rgb(18 48 47 / 0.35) 38%, rgb(18 48 47 / 0) 60%), linear-gradient(180deg, rgb(18 48 47 / 0.5), rgb(18 48 47 / 0) 30%, rgb(18 48 47 / 0) 65%, rgb(18 48 47 / 0.8)); pointer-events: none; }
.aisle .stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay; background-image: 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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.aisle .hud { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; padding: var(--s-6) var(--px) var(--s-6); color: #F3ECDF; }
.aisle .hud .top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-3); }
.aisle .hud h2 { color: #F3ECDF; margin: 0; max-inline-size: 16ch; }
.aisle .hud h2 .l2 { color: var(--sand); }
.aisle .hud .count { font-family: var(--font-display); font-size: var(--text-xl); font-variation-settings: "opsz" 40; color: var(--sand); white-space: nowrap; margin: 0; }
.aisle .hud .count small { font-size: 0.6em; color: rgb(243 236 223 / 0.7); }
.aisle .rail { list-style: none; margin: 0; padding: 0; align-self: center; display: grid; gap: 6px; width: min(100%, 420px); }
.aisle .lab { display: grid; grid-template-columns: 2.6ch minmax(0, 1fr); align-items: baseline; gap: 12px; font-family: var(--font-display); font-size: clamp(1.05rem, 0.85rem + 1.1vw, 1.7rem); font-variation-settings: "opsz" 72, "SOFT" 60; color: rgb(243 236 223 / 0.5); padding: 7px 16px 8px 14px; border-radius: var(--radius-pill); border: 1px solid transparent; transition: color var(--dur-3) var(--ease-out), background-color var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-drift); }
.aisle .lab i { font-style: italic; font-size: 0.7em; color: rgb(232 176 104 / 0.6); }
.aisle .lab.passed { color: rgb(243 236 223 / 0.92); }
.aisle .lab.passed i { color: var(--sand); }
.aisle .lab.on { color: var(--ink); background: var(--sand); border-color: var(--sand); transform: translateX(10px); }
.aisle .lab.on i { color: var(--ink); }
.aisle .hud .bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: end; }
.aisle .hud .bottom p { color: rgb(243 236 223 / 0.82); max-inline-size: 46ch; margin: 0 0 var(--s-2); }
.aisle .scene-bar { height: 2px; background: rgb(243 236 223 / 0.2); overflow: hidden; border-radius: 2px; margin-top: var(--s-2); }
.aisle .scene-bar i { display: block; height: 100%; background: var(--sand); transform-origin: left; transform: scaleX(var(--p)); }
.aisle .hint { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(243 236 223 / 0.6); display: inline-flex; align-items: center; gap: 10px; }
.aisle .hint i { display: block; width: 28px; height: 1px; background: currentColor; animation: nudge 1.8s var(--ease-drift) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); opacity: 0.6; } 50% { transform: translateX(10px); opacity: 1; } }
@media (max-width: 800px) { .aisle { height: 260vh; } .aisle .hud { padding-top: var(--s-4); padding-bottom: var(--s-4); } .aisle .hud .bottom { grid-template-columns: 1fr; } .aisle .hud .top { flex-direction: column; gap: 8px; } .aisle .rail { gap: 2px; } .aisle .lab { font-size: 1rem; padding: 5px 12px 6px 10px; } }

/* ---- captioned photo grid on dark ---- */
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.proof-grid figure { margin: 0; }
.proof-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.proof-grid figure:nth-child(2) img, .proof-grid figure:nth-child(3) img { aspect-ratio: 5 / 4; }
.proof-grid figcaption { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; margin: var(--s-2) 0 0; font-variation-settings: "opsz" 72, "SOFT" 60; letter-spacing: -0.015em; }
.proof-grid figcaption small { display: block; font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-2); margin-top: 4px; letter-spacing: 0; }
.proof-grid a { color: inherit; text-decoration: none; display: block; }
.proof-grid img { transition: transform var(--dur-4) var(--ease-drift), filter var(--dur-4) var(--ease-drift); }
@media (hover: hover) { .proof-grid a:hover img { transform: scale(1.02); filter: brightness(1.06); } }
@media (max-width: 720px) { .proof-grid { grid-template-columns: 1fr; } }

/* ---- split bands (photo bleeds to the edge) ---- */
.band-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; align-items: stretch; background: var(--surface); color: var(--text); }
.band-split .media { position: relative; overflow: hidden; }
.band-split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-split .copy { display: flex; align-items: center; padding: clamp(56px, 8vw, 112px) var(--px); }
.band-split .copy > div { max-width: 520px; margin-inline: auto; }
.band-split.flip .media { order: 2; }
.band-split .media .tag { position: absolute; left: var(--s-3); bottom: var(--s-3); background: rgb(251 245 235 / 0.92); color: var(--ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; border-radius: var(--radius-pill); }
@media (max-width: 860px) { .band-split { grid-template-columns: 1fr; min-height: 0; } .band-split .media { order: 0 !important; aspect-ratio: 4 / 3; } .band-split .copy { padding: var(--s-8) var(--px); } }

/* ---- polaroids (owner posts) ---- */
.polaroids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.polaroid { --rot: 0deg; display: block; background: var(--paper); padding: 12px 12px 16px; border-radius: 6px; box-shadow: var(--shadow-soft); text-decoration: none; color: var(--ink); transform: rotate(var(--rot)); transition: transform var(--dur-2) var(--ease-drift), box-shadow var(--dur-2) var(--ease-drift); border: 1px solid var(--line); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--cream); }
.polaroid .cap { display: grid; gap: 6px; margin-top: 12px; }
.polaroid time { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); font-weight: 700; }
.polaroid p { margin: 0; font-size: 0.9375rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.polaroid .more { font-size: 0.8125rem; color: var(--teal-ink); font-weight: 600; }
@media (hover: hover) { .polaroid:hover { transform: rotate(0deg) translateY(-8px); box-shadow: var(--shadow-lift); } }
@media (max-width: 900px) { .polaroids { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .polaroids { grid-template-columns: 1fr; } .polaroid { --rot: 0deg !important; } }
.post-list { display: grid; gap: var(--s-6); }
.post { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-4); align-items: start; padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.post img { width: 100%; height: auto; border-radius: var(--radius); background: var(--paper); }
.post time { display: inline-block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); font-weight: 700; margin-bottom: 8px; }
.post p { font-size: var(--text-lg); line-height: 1.45; }
.post .src { font-size: var(--text-sm); }
@media (max-width: 720px) { .post { grid-template-columns: 1fr; } }

/* ---- reviews ---- */
.ratings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.rating { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-4); display: grid; gap: 6px; }
.rating b { font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variation-settings: "opsz" 144, "SOFT" 40; }
.rating .stars { color: var(--sand-ink); letter-spacing: 0.1em; font-size: 0.875rem; }
.rating .eyebrow { margin: 4px 0 0; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); align-items: start; }
.quotes--many { display: block; columns: 3; column-gap: var(--s-2); }
.quotes--many .quote { break-inside: avoid; margin-bottom: var(--s-2); }
@media (max-width: 900px) { .quotes--many { columns: 1; } }
.quote { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 18px; display: grid; gap: 12px; align-content: start; }
.quote::before { content: "\201C"; position: absolute; top: -0.05em; right: 14px; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--sand); opacity: 0.55; font-variation-settings: "opsz" 144, "SOFT" 100; pointer-events: none; }
.quote p { margin: 0; font-size: 0.9375rem; line-height: 1.5; max-inline-size: none; }
.quote .who { font-size: var(--text-sm); color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.quote .who b { color: var(--text); font-weight: 600; }
.quote .stars { color: var(--sand-ink); font-size: 0.75rem; letter-spacing: 0.1em; }
.quote .reply { border-top: 1px dashed var(--line); padding-top: 10px; font-size: var(--text-sm); color: var(--teal-ink); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface-2); font-size: 0.8125rem; font-weight: 600; }
.chip small { color: var(--text-2); font-weight: 500; }
@media (max-width: 900px) { .quotes, .ratings { grid-template-columns: 1fr; } }

/* ---- inner hero ---- */
.ihero { position: relative; overflow: hidden; padding-top: var(--s-8); padding-bottom: var(--s-8); }
.ihero .ghost { position: absolute; right: -0.08em; top: -0.12em; font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 24vw, 22rem); line-height: 0.8; letter-spacing: -0.04em; text-transform: uppercase; color: var(--teal); opacity: 0.06; pointer-events: none; user-select: none; white-space: nowrap; font-variation-settings: "opsz" 144, "SOFT" 0; }
.ihero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); align-items: center; }
.ihero-grid .media { position: relative; }
.ihero-grid .media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.ihero-grid .media .stamp { position: absolute; left: -28px; bottom: -28px; width: 132px; height: 132px; }
.ihero-grid .media .stamp .ring text { font-size: 13px; }
.ihero .lede { margin-top: var(--s-2); }
@media (max-width: 860px) { .ihero-grid { grid-template-columns: 1fr; } .ihero-grid .media .stamp { left: auto; right: -12px; bottom: -20px; width: 108px; height: 108px; } }

/* ---- genres ---- */
.genre-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.genre { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #F3ECDF; background: var(--teal-night); isolation: isolate; }
.genre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-drift); }
.genre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 48 47 / 0) 35%, rgb(18 48 47 / 0.88) 100%); }
.genre .g { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: var(--s-3); display: grid; gap: 6px; }
.genre .g b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.05; letter-spacing: -0.015em; font-variation-settings: "opsz" 72, "SOFT" 60; }
.genre .g small { font-size: 0.8125rem; line-height: 1.4; color: rgb(243 236 223 / 0.82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.genre .num { position: absolute; top: var(--s-2); left: var(--s-2); z-index: 2; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--sand); background: rgb(18 48 47 / 0.55); padding: 4px 10px; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }
@media (hover: hover) { .genre:hover img { transform: scale(1.05); } }
@media (max-width: 900px) { .genre-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .genre-grid { grid-template-columns: 1fr; } .genre { aspect-ratio: 4 / 3; } }

/* ---- rare list + marquee ---- */
.rare-list { list-style: none; margin: 0; padding: 0; display: grid; }
.rare-list li { display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: var(--s-2); padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.25; font-variation-settings: "opsz" 40, "SOFT" 60; }
.rare-list li:last-child { border-bottom: 1px solid var(--line); }
.rare-list li i { font-style: italic; color: var(--accent-ink); }
.marq { padding: var(--s-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marq-line { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; white-space: nowrap; padding: 0 var(--s-4); color: var(--sand); }
.marq-line .dot { color: rgb(243 236 223 / 0.4); margin-left: var(--s-4); font-style: normal; }

/* ---- credit calculator ---- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.calc .ticket { max-width: 440px; }
.calc .out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: var(--s-2); }
.calc .out div { background: var(--cream); border-radius: var(--radius); padding: 14px; text-align: center; }
.calc .out b { display: block; font-family: var(--font-display); font-size: 1.8rem; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.calc .out span { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); font-weight: 700; }
.calc input[type=range] { width: 100%; accent-color: var(--teal); margin: 10px 0; }
.calc .amt { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; letter-spacing: -0.03em; text-align: center; }
.calc .note { font-size: var(--text-sm); color: var(--text-2); margin: var(--s-2) 0 0; text-align: center; }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--accent-ink); line-height: 1; font-variation-settings: "opsz" 40, "WONK" 1; }
.step h3 { margin: 0 0 6px; font-size: var(--text-lg); }
.step p { margin: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---- gallery masonry ---- */
.masonry { columns: 3; column-gap: var(--s-3); }
.masonry figure { break-inside: avoid; margin: 0 0 var(--s-3); border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.masonry img { width: 100%; height: auto; display: block; }
.masonry figcaption { padding: 12px 14px; font-size: 0.875rem; color: var(--text-2); }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* ---- visit ---- */
.visit { position: relative; overflow: hidden; }
.visit .bg { position: absolute; inset: 0; }
.visit .bg img { width: 100%; height: 100%; object-fit: cover; }
.visit .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 48 47 / 0.7), rgb(18 48 47 / 0.55)); }
.visit .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-8); align-items: center; }
.visit h2, .visit p { color: #F3ECDF; }
.visit .ticket { width: 100%; }
@media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } }
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map-card iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(0.85); }
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.detail { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-4); display: grid; gap: 6px; align-content: start; }
.detail .ic { width: 28px; height: 28px; color: var(--teal-ink); }
.detail b { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.detail p { margin: 0; font-size: 0.9375rem; color: var(--text-2); }
.detail a { color: var(--ink); text-decoration-color: var(--sand); text-underline-offset: 3px; }
@media (max-width: 860px) { .details { grid-template-columns: 1fr; } }

/* ---- timeline (about) ---- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line); }
.timeline li { position: relative; padding-top: var(--s-4); }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px var(--surface); }
.timeline b { display: block; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.timeline p { margin: 0; font-size: 0.9375rem; color: var(--text-2); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; padding-left: 24px; } .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } .timeline li { padding-top: 0; padding-bottom: var(--s-4); } .timeline li::before { left: -24px; } }
.then-now { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.then-now figure { margin: 0; }
.then-now img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.then-now figcaption { margin-top: 10px; font-size: var(--text-sm); color: var(--text-2); }
.then-now figcaption b { color: var(--text); font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; display: block; margin-bottom: 2px; }
@media (max-width: 720px) { .then-now { grid-template-columns: 1fr; } }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.article-grid .story p { font-size: var(--text-lg); line-height: 1.55; }
.article-grid .story p:first-of-type::first-letter { font-family: var(--font-display); font-size: 3.6em; float: left; line-height: 0.8; padding: 6px 10px 0 0; color: var(--teal-ink); font-variation-settings: "opsz" 144, "SOFT" 100; }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } }
.pull { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; letter-spacing: -0.015em; font-variation-settings: "opsz" 72, "SOFT" 80; margin: 0; }
.pull cite { display: block; font-family: var(--font-body); font-style: normal; font-size: var(--text-sm); color: var(--text-2); margin-top: 10px; }
.sticky-aside { position: sticky; top: 100px; display: grid; gap: var(--s-4); }

/* ---- reels strip ---- */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.reel { display: grid; gap: 8px; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); text-decoration: none; color: var(--text); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.reel time { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-ink); font-weight: 700; }
.reel p { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.2; font-variation-settings: "opsz" 40, "SOFT" 60; }
.reel .k { font-size: 0.8125rem; color: var(--text-2); }
@media (hover: hover) { .reel:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--sand); } }
@media (max-width: 860px) { .reels { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.foot { background: var(--teal-night); color: #F3ECDF; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s-6); padding: 80px 0 var(--s-6); border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.foot h4 { font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); margin: 0 0 var(--s-2); font-weight: 700; }
.foot p, .foot li { font-size: 0.9375rem; color: rgb(243 236 223 / 0.85); margin: 0 0 6px; line-height: 1.5; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: #F3ECDF; text-decoration: none; border-bottom: 1px solid rgb(232 176 104 / 0.4); transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.foot a:hover { border-color: var(--sand); color: var(--sand); }
.foot .brand { color: #F3ECDF; margin-bottom: var(--s-3); border: 0; }
.foot .brand .wm small { color: var(--sand); }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: var(--s-3) 0 var(--s-4); font-size: 0.8125rem; color: rgb(243 236 223 / 0.6); }
.foot .legal a { border: 0; color: rgb(243 236 223 / 0.75); }
.soc { display: flex; gap: 10px; margin-top: 12px; }
.soc a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.18); color: #F3ECDF; }
.soc a:hover { border-color: var(--sand); }
.soc svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---- 404 ---- */
.section--hero { background: radial-gradient(90% 70% at 50% 0%, var(--paper), var(--cream) 70%); }
.oops { min-height: 60vh; display: grid; place-items: center; text-align: center; background: radial-gradient(80% 60% at 50% 0%, var(--paper), var(--cream) 70%); }
.oops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px auto 0; max-width: 720px; }
.oops-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 560px) { .oops-grid { grid-template-columns: 1fr; } }

/* ---- reduced motion: designed static states ---- */
@media (prefers-reduced-motion: reduce) {
  .hero.load .knock, .hero.load .hero-grid > * { opacity: 1; transform: none; transition: none; }
  .hero .knock-wrap .coast path, .h-two .l2 .ink path { stroke-dashoffset: 0; transition: none; }
  .aisle { height: auto; }
  .aisle .stage { position: relative; height: 72vh; }
  .aisle .pan { transform: translate3d(calc(0.5 * (100vw - 100%)), 0, 0); }
  .aisle .lab { color: var(--ink); background: var(--sand); border-color: var(--sand); transition: none; }
  .aisle .hint i { animation: none; }
  .summon { transition: none; }
  .polaroid, .genre img, .proof-grid img, .reel, .btn, .nav a::after, .chrome { transition: none; }
}
