/* SYMPOSIUM — shell stylesheet (JOB shell, 14/11/2026).
   Source of truth: mockup/v1/DESIGN.md (§0–§5, §10) + chrome/nav.html + chrome/footer.html + BORDER_TABLE.md.
   Scale (LUAT 50): one root unit --u = 100vw/1920 → at 1920 the page equals the mockup 1:1 (mockup px × 1.148),
   1280–2560 scale linearly. Below 1024 a fixed mobile unit. Hairlines are max(1px, …) so they never vanish.
   BORDERS live ONLY here: route bodies use the .rule-* classes below and write zero border/outline declarations. */

/* ---------- 1. tokens ---------- */
:root {
  --u: calc(100vw / 1920);
  --fs-min: 12px;

  /* colour (DESIGN §3) */
  --paper: #973E2A;
  --atm-band: #A65A38;
  --surface: #2A1B1F;
  --surface-deep: #1C1215;
  --parchment: #F4D7BE;
  --ink: #2A1B1F;
  --cream: #F4D7BE;
  --cream-nav: #F1DCC8;
  --cream-muted: #E3A57E;
  --ceramic-orange: #E86C27;
  --copper: #B95F32;
  --wax-top: #7B123A;
  --wax-bottom: #C11E5A;
  --wax-rim: #460B1A;
  --pink: #E959BD;
  --blue: #1E4CFF;
  --blue-mark: #0829FC;
  --olive: #7E8738;
  --mint: #A9F2D0;
  --disabled: #4A383E;

  /* type (DESIGN §2) */
  --font-display: "Alegreya", Georgia, "Times New Roman", serif;
  --font-body: "Zen Kaku Gothic New", "Segoe UI", system-ui, sans-serif;
  --font-num: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-label: "Open Sans", "Segoe UI", system-ui, sans-serif;

  --fs-hero: calc(60 * var(--u));
  --fs-hero-sub: calc(30 * var(--u));
  --fs-section: calc(48 * var(--u));
  --fs-panel: calc(37 * var(--u));
  --fs-question: calc(39 * var(--u));
  --fs-big-num: calc(46 * var(--u));
  --fs-num: calc(25 * var(--u));
  --fs-row: calc(23 * var(--u));
  --fs-body: max(var(--fs-min), calc(20 * var(--u)));
  --fs-label: max(var(--fs-min), calc(15 * var(--u)));
  --fs-small: max(var(--fs-min), calc(14 * var(--u)));

  /* page frame (DESIGN §0 + USER_FIXES: gutters 31 / 26 px @1920) */
  --gutter-l: calc(31 * var(--u));
  --gutter-r: calc(26 * var(--u));
  --nav-h: calc(158 * var(--u));
  --page-pad-top: calc(24 * var(--u));
  --page-pad-bottom: calc(14 * var(--u));
  --gap: calc(24 * var(--u));
  --section-gap: calc(56 * var(--u));

  /* materials (DESIGN §4) */
  --r-panel: calc(24 * var(--u));
  --r-pill: calc(22 * var(--u));
  --r-card: calc(22 * var(--u));
  --r-snap: calc(18 * var(--u));
  --r-control: calc(12 * var(--u));
  --shadow-panel: 0 calc(10 * var(--u)) calc(30 * var(--u)) rgba(40, 10, 10, .45);
  --shadow-soft: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgba(40, 10, 10, .32);
  --grad-ceramic: linear-gradient(180deg, #2E1C21 0%, #241419 100%);
  --grad-parchment: linear-gradient(180deg, #F6DCC4 0%, #EED0B4 100%);
  --grad-wax: linear-gradient(180deg, var(--wax-top) 0%, var(--wax-bottom) 100%);
  --grad-select: linear-gradient(90deg, var(--blue) 0%, var(--pink) 100%);
  --grad-slider: linear-gradient(90deg, var(--ceramic-orange) 0%, var(--wax-bottom) 100%);

  /* rule tokens (DESIGN §4b / BORDER_TABLE — widths @1920, colours measured) */
  --rule-question-w: max(1px, calc(2.5 * var(--u)));   --rule-question-c: #F0AA8B;
  --rule-selected-w: max(2px, calc(3 * var(--u)));
  --rule-hit-w: max(1px, calc(3.2 * var(--u)));        --rule-hit-c: #EB787C;
  --rule-select-w: max(1px, calc(2.2 * var(--u)));     --rule-select-c: #A46746;
  --rule-nav-w: max(1px, calc(1 * var(--u)));          --rule-nav-c: #DD9D77;
  --rule-footer-w: max(1px, calc(1.1 * var(--u)));     --rule-footer-c: #DB9A74;
  --rule-boundary-w: max(1px, calc(1.7 * var(--u)));   --rule-boundary-c: #C48A6C;
  --rule-row-w: max(1px, calc(2 * var(--u)));          --rule-row-c: #A37967;  --rule-row-dark-c: #2B1A21;
  --rule-split-w: max(1px, calc(2.3 * var(--u)));      --rule-split-c: #DAB087;
  --rule-divider-w: max(1px, calc(2 * var(--u)));      --rule-divider-c: var(--cream-muted); --rule-divider-paper-c: #A46746;
  --rule-scroll-w: max(1px, calc(2 * var(--u)));       --rule-scroll-inner-w: max(1px, calc(1 * var(--u))); --rule-scroll-c: #7A3020;
  --rule-guest-w: max(1px, calc(1.75 * var(--u)));     --rule-guest-c: #B95F32;
  --rule-panel-w: max(1px, calc(1.6 * var(--u)));   --rule-panel-c: #7E5650; --rule-panel-top-c: #936057; --rule-panel-bot-c: #6D4B4A;
  --rule-input-w: max(1px, calc(2 * var(--u)));        --rule-input-c: #A46746;

  /* motion (DESIGN §10) */
  --ease-pour: cubic-bezier(.2, .7, .2, 1);
  --ease-stamp: cubic-bezier(.34, 1.56, .64, 1);
  --dur-pour: 560ms;
  --dur-stamp: 440ms;
  --dur-hover: 220ms;
}
@media (max-width: 1023.98px) {
  :root { --u: 0.82px; --gutter-l: 16px; --gutter-r: 16px; --nav-h: auto; --fs-body: 15px; --fs-label: 12px; --fs-small: 12px; }
}

/* ---------- 2. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.35; color: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:where(button, input, select, textarea) { border: 0; outline: 0; font: inherit; color: inherit; background: none; margin: 0; }
:where(button) { cursor: pointer; padding: 0; }
:where(button:disabled, [aria-disabled="true"]) { cursor: not-allowed; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: max(2px, calc(2 * var(--u))) solid var(--blue); outline-offset: 2px; }
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
.num, [data-num] { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.label { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: var(--cream-muted); }
.display { font-family: var(--font-display); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--surface); color: var(--cream); }
.skip:focus { top: 8px; }

/* ---------- 3. page atmosphere (DESIGN §3b) — one ground for every route ---------- */
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(calc(1100 * var(--u)) calc(700 * var(--u)) at 18% calc(420 * var(--u)), rgba(199, 123, 79, .25), rgba(199, 123, 79, 0) 70%),
    radial-gradient(calc(900 * var(--u)) calc(1400 * var(--u)) at 100% 0, rgba(91, 35, 51, .35), rgba(91, 35, 51, 0) 70%),
    radial-gradient(calc(900 * var(--u)) calc(900 * var(--u)) at 100% 100%, rgba(91, 35, 51, .35), rgba(91, 35, 51, 0) 70%),
    linear-gradient(180deg, #A65A38 0%, #973E2A 18%, #9A3D27 80%, #A55A38 100%);
  background-repeat: no-repeat;
}
body::before { /* atm-grain: plaster mottling, fixed */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after { /* low-frequency mottling (large plaster blotches) */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}

/* ---------- 4. ONE PAGE FRAME ---------- */
.page-frame { flex: 1 0 auto; position: relative; width: 100%;
  padding: var(--page-pad-top) var(--gutter-r) var(--page-pad-bottom) var(--gutter-l); }
.page-frame.is-leaving > * { opacity: .35; transition: opacity 160ms linear; }
.stack { display: flex; flex-direction: column; gap: var(--section-gap); }

/* ---------- 5. NAV N2 masthead (chrome/nav.html, scaled; CA/BUY/Connect wallet removed per user rule) ---------- */
.site-nav { position: relative; z-index: 20; height: var(--nav-h); padding: calc(18 * var(--u)) calc(52 * var(--u)) 0;
  color: var(--cream-nav); font-family: var(--font-body);
  background: linear-gradient(112deg, #A55A38 0%, #B96843 58%, #8D4437 100%); }
.nav-top { position: relative; display: flex; align-items: center; justify-content: space-between; height: calc(76 * var(--u)); }
.nav-social { display: flex; align-items: center; gap: calc(34 * var(--u)); font-size: max(var(--fs-min), calc(16 * var(--u))); }
.nav-link { text-decoration: none; color: var(--cream-nav); transition: opacity var(--dur-hover) var(--ease-pour); }
.nav-link.is-soon, .site-footer .is-soon { opacity: .78; }
a.nav-link[href]:hover { opacity: .8; }
.nav-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); display: flex; align-items: center;
  gap: calc(18 * var(--u)); text-decoration: none; color: var(--cream); }
.nav-mark { width: auto; height: calc(54 * var(--u)); min-height: 40px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(40, 10, 10, .35)); }
.nav-word { font-family: var(--font-display); font-weight: 400; font-size: calc(54 * var(--u)); line-height: 1; letter-spacing: .04em; }
.nav-menu { display: none; }
.nav-routes { display: flex; justify-content: center; gap: calc(50 * var(--u)); margin-top: calc(11 * var(--u));
  font-size: max(var(--fs-min), calc(17 * var(--u))); }
.nav-routes a { position: relative; color: var(--cream-nav); text-decoration: none; padding: calc(4 * var(--u)) 0 calc(10 * var(--u)); }
.nav-routes a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: max(2px, calc(3 * var(--u)));
  border-radius: 2px; background: var(--blue-mark); transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform var(--dur-pour) var(--ease-pour); }
.nav-routes a.is-active::after, .nav-routes a:hover::after { transform: scaleX(1); }
.nav-routes a:hover:not(.is-active)::after { opacity: .5; }
.nav-mobile { display: none; }

/* ---------- 6. FOOTER F2 colophon (chrome/footer.html, scaled) ---------- */
.site-footer { position: relative; z-index: 1; margin-top: auto; min-height: calc(142 * var(--u));
  padding: calc(12 * var(--u)) calc(52 * var(--u)) calc(10 * var(--u));
  background: linear-gradient(110deg, #A55A38 0%, #B96843 62%, #7D3934 100%);
  color: var(--cream-nav); font: max(var(--fs-min), calc(13 * var(--u))) / 1.3 var(--font-body); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.25fr .9fr 1fr 1.35fr; gap: calc(22 * var(--u)); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: calc(2 * var(--u)); padding-right: calc(18 * var(--u)); }
.footer-col a, .footer-col span { color: var(--cream-nav); text-decoration: none; }
.footer-col a[href]:hover { text-decoration: underline; text-underline-offset: 2px; }
.footer-title { font: 500 max(var(--fs-min), calc(18 * var(--u))) / 1.15 var(--font-display); margin-bottom: calc(4 * var(--u)); color: var(--cream); }
.footer-ca { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); }
.footer-copy { padding: 1px calc(10 * var(--u)); border-radius: 999px; background: var(--parchment); color: var(--ink); font-size: max(var(--fs-min), calc(12 * var(--u))); }
.footer-copy:disabled { background: var(--disabled); color: #A8959A; }
.footer-buy { margin-top: calc(2 * var(--u)); }
.footer-plaque { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: calc(22 * var(--u));
  padding: calc(10 * var(--u)) calc(20 * var(--u)); border-radius: calc(8 * var(--u)); background: #2A1E22; box-shadow: var(--shadow-soft); }
.footer-mark { height: calc(48 * var(--u)); min-height: 40px; width: auto; }
.footer-lamp { height: calc(56 * var(--u)); min-height: 34px; width: auto; }
.footer-boundary { margin-top: calc(8 * var(--u)); padding-top: calc(6 * var(--u)); font-style: italic; }

/* ---------- 7. BORDER CLASSES (one per named component, DESIGN §4b) ---------- */
.rule-nav { border-bottom: var(--rule-nav-w) solid var(--rule-nav-c); }
.rule-footer { border-top: var(--rule-footer-w) solid var(--rule-footer-c); }
.rule-footer-inner { border-top: var(--rule-footer-w) solid var(--rule-footer-c); }
.rule-footer-col { border-right: var(--rule-footer-w) solid var(--rule-footer-c); }
.rule-question-card { border: var(--rule-question-w) solid var(--rule-question-c); border-radius: var(--r-card); }
.rule-question-card.is-selected { border: var(--rule-selected-w) solid transparent;
  background-image: linear-gradient(var(--qc-fill, #B9532F), var(--qc-fill, #B9532F)), var(--grad-select);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 0 calc(12 * var(--u)) rgba(30, 76, 255, .45), 0 0 calc(14 * var(--u)) rgba(233, 89, 189, .4); }
.rule-rule-hit { border: var(--rule-hit-w) solid var(--rule-hit-c); border-radius: var(--r-snap); }
.rule-select { border: var(--rule-select-w) solid var(--rule-select-c); border-radius: var(--r-control); }
.rule-boundary { border-bottom: var(--rule-boundary-w) solid var(--rule-boundary-c); }
.rule-row { border-bottom: var(--rule-row-w) solid var(--rule-row-c); }
.rule-row:last-child { border-bottom-width: 0; }
.rule-row-dark { border-bottom: var(--rule-row-w) solid var(--rule-row-dark-c); }
.rule-row-dark:last-child { border-bottom-width: 0; }
.rule-token-split { border-left: var(--rule-split-w) solid var(--rule-split-c); }
.rule-divider-v { border-left: var(--rule-divider-w) solid var(--rule-divider-c); }
.rule-divider-v-paper { border-left: var(--rule-divider-w) solid var(--rule-divider-paper-c); }
.rule-scroll-row { border-top: var(--rule-scroll-w) solid var(--rule-scroll-c); position: relative; }
.rule-scroll-row::after { content: ""; position: absolute; left: 0; right: 0; top: calc(4 * var(--u)); border-top: var(--rule-scroll-inner-w) solid var(--rule-scroll-c); pointer-events: none; }
.rule-scroll-row:last-child { border-bottom: var(--rule-scroll-w) solid var(--rule-scroll-c); }
.rule-guest-table { border-bottom: var(--rule-guest-w) solid var(--rule-guest-c); }
.rule-guest-table:last-child { border-bottom-width: 0; }
.rule-guest-col { border-left: var(--rule-guest-w) solid var(--rule-guest-c); }
.rule-guest-col:first-child { border-left-width: 0; }
.rule-input { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u));
  border: var(--rule-input-w) solid var(--rule-input-c); border-radius: var(--r-card); }
.rule-input > input, .rule-input > select, .rule-input > textarea { flex: 1 1 auto; min-width: 0; padding: 0; }
.rule-none { border: 0; }
/* closing rule of the open-minutes scroll (BORDER_TABLE minutes #25: 3.9 px #AD5C2F) */
.rule-paper-foot { border-top: max(1px, calc(3.5 * var(--u))) solid #AD5C2F; }
/* ceramic panel rim (BORDER_TABLE home #14 #15 #21 #33: 1.3–1.8 px, rose-brown, lighter on top) */
/* parchment panel rim (guests WHO READS WHAT / TRY ANOTHER SEAT, mockup edge) */
.rule-parchment-rim { border: max(1px, calc(2 * var(--u))) solid #B8704A; }
/* keep the rule under the last row where the mockup draws it (minutes open scroll, convene lists) */
.rule-row.rule-keep-last:last-child { border-bottom-width: var(--rule-row-w); }
.rule-panel { border: var(--rule-panel-w) solid var(--rule-panel-c); border-top-color: var(--rule-panel-top-c); border-bottom-color: var(--rule-panel-bot-c); }

/* ---------- 8. shared materials (DESIGN §4/§5) — routes compose these ---------- */
.ceramic { position: relative; background: var(--grad-ceramic); color: var(--cream); border-radius: var(--r-panel); box-shadow: var(--shadow-panel); }
.parchment { position: relative; background: var(--grad-parchment); color: var(--ink); border-radius: var(--r-pill);
  box-shadow: inset 0 1px 0 #FFF0DD, var(--shadow-soft); }
.panel-title { display: flex; align-items: center; gap: calc(26 * var(--u)); font: 500 var(--fs-panel) / 1.1 var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.panel-title::before, .panel-title::after, .meander { content: ""; flex: 1 1 0; height: calc(16 * var(--u)); min-height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cpath d='M1 15V1h14v10H7V6h4' fill='none' stroke='%23E3A57E' stroke-width='1.6'/%3E%3Cpath d='M0 .8h24M0 15.2h24' fill='none' stroke='%23E3A57E' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x left center / auto 100%;
  opacity: .9; }
.section-title { font: 600 var(--fs-section) / 1.1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.wax { display: inline-flex; align-items: center; justify-content: center; gap: .35em; padding: calc(14 * var(--u)) calc(38 * var(--u));
  border-radius: 999px / 80%; background: var(--grad-wax); color: #F8DDE5; font: 500 calc(34 * var(--u)) / 1 var(--font-display);
  box-shadow: 0 0 0 max(2px, calc(3 * var(--u))) var(--wax-rim), 0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(40, 6, 16, .5); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: calc(12 * var(--u)) calc(30 * var(--u));
  border-radius: calc(14 * var(--u)); font: 500 calc(28 * var(--u)) / 1.1 var(--font-display); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-hover) var(--ease-pour), box-shadow var(--dur-hover) var(--ease-pour), opacity var(--dur-hover) linear; }
.btn-parchment { background: var(--grad-parchment); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-wax { background: var(--grad-wax); color: #F8DDE5; box-shadow: 0 0 0 max(2px, calc(3 * var(--u))) var(--wax-rim), var(--shadow-soft); }
.btn-buy { background: var(--pink); color: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--disabled); color: #A8959A; box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: calc(4 * var(--u)) calc(16 * var(--u)); border-radius: 999px;
  font: 600 var(--fs-label) / 1.2 var(--font-label); }
.chip-mint { background: var(--mint); color: var(--ink); font-family: var(--font-body); }
.chip-olive { background: var(--olive); color: #F4F0D8; }
.chip-wax { background: var(--grad-wax); color: #F8DDE5; }
.icon-disc { display: inline-grid; place-items: center; width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #F08A45, var(--ceramic-orange) 55%, #A9481B); color: var(--surface); flex: none; }
.art-cutout { display: block; width: 100%; height: auto; }

/* ---------- 9. MOTION (DESIGN §10 — "the pour" + "the wax seal") ---------- */
/* reveal = a cup set down: drops from slightly above with a small tilt and settles; transform/opacity only */
[data-settle] { opacity: 0; transform: translate3d(0, calc(-14 * var(--u)), 0) rotate(-0.8deg);
  transition: opacity var(--dur-pour) var(--ease-pour), transform var(--dur-pour) var(--ease-pour); transition-delay: var(--settle-delay, 0ms); }
[data-settle].is-settled { opacity: 1; transform: none; }
/* the wax seal: pressed in from above, overshoots, sets */
[data-stamp] { transform-origin: 50% 60%; }
[data-stamp].is-stamping { animation: symp-stamp var(--dur-stamp) var(--ease-stamp) both; }
@keyframes symp-stamp { 0% { opacity: 0; transform: scale(1.35) rotate(-7deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
/* the cup turns (Hoplite veto) */
[data-cup] { transition: transform 620ms var(--ease-stamp); transform-origin: 50% 70%; }
[data-cup="down"] { transform: rotate(180deg); }
/* the pour: a wine sheen sweeps across a filled bar / pill once */
.pour-sheen { position: relative; overflow: hidden; }
.pour-sheen::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(193, 30, 90, 0) 30%, rgba(233, 89, 189, .35) 50%, rgba(193, 30, 90, 0) 70%); transform: translateX(-100%); }
.pour-sheen.is-pouring::after { animation: symp-pour 900ms var(--ease-pour) 1; }
@keyframes symp-pour { 0% { opacity: 0; transform: translateX(-100%); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } }
/* live tick: a lamp-light flicker under the new number */
[data-tick] { position: relative; }
[data-tick].is-tick { animation: symp-tick 700ms ease-out 1; }
@keyframes symp-tick { 0% { opacity: .45; } 100% { opacity: 1; } }
/* hover: a raised cup — lifts and tips a hair */
.lift { transition: transform var(--dur-hover) var(--ease-pour), box-shadow var(--dur-hover) var(--ease-pour); }
.lift:hover { transform: translate3d(0, calc(-4 * var(--u)), 0) rotate(-.4deg); }
/* grow-in (bars, sliders): fills pour left → right */
[data-grow] { transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease-pour); }
[data-grow].is-settled { transform: scaleX(1); }
/* route change: the new page is set on the table */
.page-frame.is-entering > * { animation: symp-enter 420ms var(--ease-pour) both; }
@keyframes symp-enter { from { opacity: 0; transform: translate3d(0, calc(10 * var(--u)), 0); } to { opacity: 1; transform: none; } }
/* speaking seat glow (olive lamp light) */
.is-speaking { box-shadow: 0 0 0 max(2px, calc(2 * var(--u))) rgba(126, 135, 56, .9), 0 0 calc(18 * var(--u)) rgba(126, 135, 56, .55); }
video.art-loop { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  [data-settle], [data-grow] { opacity: 1; transform: none; }
  .page-frame.is-entering > * { animation: none; }
}

/* ---------- 10. mobile (< 1024): masthead + drawer, single column ---------- */
@media (max-width: 1023.98px) {
  .site-nav { height: auto; padding: 12px 16px 10px; }
  .nav-top { height: 52px; }
  .nav-social { display: none; }
  .nav-brand { position: static; transform: none; gap: 10px; }
  .nav-mark { height: 40px; }
  .nav-word { font-size: 28px; }
  .nav-menu { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(42, 27, 31, .35); color: var(--cream); font-size: 14px; }
  .nav-menu-bars { display: grid; gap: 4px; }
  .nav-menu-bars i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease-pour), opacity 200ms; }
  .nav-menu[aria-expanded="true"] .nav-menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-menu[aria-expanded="true"] .nav-menu-bars i:nth-child(2) { opacity: 0; }
  .nav-menu[aria-expanded="true"] .nav-menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-routes { justify-content: flex-start; gap: 22px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; font-size: 15px; white-space: nowrap; }
  .nav-routes::-webkit-scrollbar { display: none; }
  .nav-routes a { padding: 6px 0 8px; flex: none; }
  .nav-mobile { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; padding: 8px 16px 18px;
    background: linear-gradient(180deg, #A55A38, #8D4437); box-shadow: 0 14px 30px rgba(40, 10, 10, .45);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 220ms var(--ease-pour), transform 220ms var(--ease-pour), visibility 0s linear 220ms; }
  .site-nav.is-open .nav-mobile { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav-mobile-routes { display: flex; flex-direction: column; }
  .nav-mobile-routes a { padding: 12px 4px; font-size: 18px; font-family: var(--font-display); text-decoration: none; color: var(--cream); }
  .nav-mobile-routes a.is-active { color: #fff; text-decoration: underline; text-decoration-color: var(--blue-mark); text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .nav-mobile-social { display: flex; gap: 24px; padding: 12px 4px 0; font-size: 15px; }
  .site-footer { padding: 18px 16px 14px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .footer-col { padding-right: 0; }
  .rule-footer-col { border-right-width: 0; }
  .footer-plaque { grid-column: 1 / -1; justify-content: center; }
  .footer-title { font-size: 17px; }
}
