/* Self-hosted faces — one cut everywhere (R-0903-07). Latin subset, woff2. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/cormorant-garamond-var.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('/fonts/cormorant-garamond-italic-var.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/fonts/figtree-var.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: italic; font-weight: 300 900; font-display: swap; src: url('/fonts/figtree-italic-var.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/fraunces-500.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/fraunces-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-var.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/eb-garamond-var.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 800; font-display: swap; src: url('/fonts/eb-garamond-italic-var.woff2') format('woff2'); }
@font-face { font-family: 'Antonio'; font-style: normal; font-weight: 100 700; font-display: swap; src: url('/fonts/antonio-var.woff2') format('woff2'); }
@font-face { font-family: 'Doppio One'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/doppio-one.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/merriweather-300.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/merriweather-400.woff2') format('woff2'); }
@font-face { font-family: 'Rushton'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/rushton.woff2') format('woff2'); }
html { font-optical-sizing: none; }

/* Ritual Bar — design tokens V2. GENERATED from _hinge/tokens/ritual-bar.json (2026-09-02).
   Do not edit. Edit the source and run _hinge/_tools/gen_tokens.py. Rulings: R-0902-01, R-0902-02, R-0902-03, R-0902-04, R-0902-05, R-0902-06, R-0902-07, R-0902-10, R-0903-13, R-0903-14, R-0903-15, R-0903-16, R-0903-21, R-0903-23, R-0903-24, R-0903-25, R-0903-26. */
:root {
  /* ---- faces ---- */
  --font-serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Figtree', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-sign: 'EB Garamond', Garamond, Georgia, serif;
  /* ---- type ramp ---- */
  --t-numeral-size: 56px; --t-numeral-lh: 1.0; --t-numeral-weight: 300; --t-numeral-track: 0; --t-numeral-font: var(--font-serif);
  --t-statement-size: 42px; --t-statement-lh: 1.08; --t-statement-weight: 500; --t-statement-track: -0.02em; --t-statement-font: var(--font-serif);
  --t-voice-size: 32px; --t-voice-lh: 1.18; --t-voice-weight: 300; --t-voice-track: -0.01em; --t-voice-font: var(--font-serif);
  --t-name-size: 28px; --t-name-lh: 1.16; --t-name-weight: 500; --t-name-track: -0.01em; --t-name-font: var(--font-serif);
  --t-ledger-size: 21px; --t-ledger-lh: 1.25; --t-ledger-weight: 500; --t-ledger-track: 0; --t-ledger-font: var(--font-serif);
  --t-body-size: 16.5px; --t-body-lh: 1.55; --t-body-weight: 400; --t-body-track: 0; --t-body-font: var(--font-serif);
  --t-whisper-size: 14px; --t-whisper-lh: 1.45; --t-whisper-weight: 400; --t-whisper-track: 0; --t-whisper-font: var(--font-serif);
  --t-brow-size: 11px; --t-brow-lh: 1.3; --t-brow-weight: 600; --t-brow-track: 0.16em; --t-brow-font: var(--font-sans);
  --t-action-size: 12px; --t-action-lh: 1.2; --t-action-weight: 600; --t-action-track: 0.22em; --t-action-font: var(--font-sans);
  --t-tab-label-size: 10px; --t-tab-label-lh: 1.2; --t-tab-label-weight: 600; --t-tab-label-track: 0.12em; --t-tab-label-font: var(--font-sans);
  --t-numeral-lg-size: 68px; --t-numeral-lg-lh: 1.0; --t-numeral-lg-weight: 300; --t-numeral-lg-track: -0.01em; --t-numeral-lg-font: var(--font-serif);
  --t-numeral-sm-size: 44px; --t-numeral-sm-lh: 1.0; --t-numeral-sm-weight: 300; --t-numeral-sm-track: 0; --t-numeral-sm-font: var(--font-serif);
  --t-numeral-label-size: 10px; --t-numeral-label-lh: 1.2; --t-numeral-label-weight: 600; --t-numeral-label-track: 0.20em; --t-numeral-label-font: var(--font-sans);
  --t-date-cell-size: 19px; --t-date-cell-lh: 1.0; --t-date-cell-weight: 500; --t-date-cell-track: 0; --t-date-cell-font: var(--font-serif);
  --t-time-chip-size: 18px; --t-time-chip-lh: 1.0; --t-time-chip-weight: 500; --t-time-chip-track: 0; --t-time-chip-font: var(--font-serif);
  --t-web-display-size: 72px; --t-web-display-lh: 1.02; --t-web-display-weight: 300; --t-web-display-track: -0.02em; --t-web-display-font: var(--font-serif);
  --t-web-body-size: 19px; --t-web-body-lh: 1.6; --t-web-body-weight: 400; --t-web-body-track: 0; --t-web-body-font: var(--font-serif);
  --dynamic-type-cap: 1.35;
  --wordmark-tracking: -0.015em;
  /* ---- space ---- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --margin: 24px;
  --gutter: 16px;
  --row: 48px;
  --row-pad-y: 14px;
  --row-pad-x: 16px;
  --crown: 52px;
  --plinth: 84px;
  --tabbar: 56px;
  --sheet-crown: 44px;
  /* ---- radius ---- */
  --r-0: 0px;
  --r-cell: 4px;
  --r-arch-foot: 5px;
  --r-arch-top: 50%;
  --tap: 44px;
  --icon-size: 24px;
  --icon-stroke: 1.75;
  --icon-tab: 22px;
  --icon-small: 18px;
  --icon-small-stroke: 1.5;
  /* ---- motion ---- */
  --dur-press: 120ms;
  --dur-base: 200ms;
  --dur-rise: 300ms;
  --dur-crossfade: 400ms;
  --dur-beat: 800ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-travel: 24px;
  --motion-press-scale: 0.97;
  --bp-app: 390px;
  --bp-tablet: 768px;
  --bp-laptop: 1024px;
  --bp-desktop: 1440px;
  --bp-content: 1280px;
  --measure: 64ch;
  --z-ground: 0;
  --z-content: 1;
  --z-plate: 2;
  --z-sheet: 10;
  --z-crown: 20;
  --z-plinth: 20;
  --z-tabbar: 20;
  --z-scrim: 30;
  --z-toast: 40;
  /* ---- material · the surface ladder (rung = lookup on ground luminance) ---- */
  --glass-solid-bg: #FDFBF7; --glass-solid-blur: 0px; --glass-solid-sat: 1.0;
  --glass-chalk-bg: rgba(253,251,247,0.92); --glass-chalk-blur: 6px; --glass-chalk-sat: 1.0;
  --glass-bone-bg: rgba(252,250,246,0.84); --glass-bone-blur: 10px; --glass-bone-sat: 1.0;
  --glass-muslin-bg: rgba(252,251,248,0.74); --glass-muslin-blur: 14px; --glass-muslin-sat: 1.15;
  --glass-gauze-bg: rgba(252,251,248,0.62); --glass-gauze-blur: 18px; --glass-gauze-sat: 1.2;
  --glass-veil-bg: rgba(252,251,248,0.46); --glass-veil-blur: 22px; --glass-veil-sat: 1.28;
  --glass-smoke-bg: rgba(250,248,244,0.32); --glass-smoke-blur: 22px; --glass-smoke-sat: 1.28;
  --glass-mist-bg: rgba(150,142,128,0.24); --glass-mist-blur: 22px; --glass-mist-sat: 1.2;
  --glass-ash-bg: rgba(80,73,63,0.28); --glass-ash-blur: 22px; --glass-ash-sat: 1.15;
  --glass-slate-bg: rgba(48,43,36,0.32); --glass-slate-blur: 20px; --glass-slate-sat: 1.1;
  --glass-shade-bg: rgba(31,27,22,0.34); --glass-shade-blur: 20px; --glass-shade-sat: 1.0;
  --glass-onyx-bg: rgba(20,17,13,0.56); --glass-onyx-blur: 18px; --glass-onyx-sat: 1.0;
  --glass-saturate: 1.28;
  --glass-fallback-veil: #F6F3EC;
  --glass-fallback-shade: #2B261F;
  /* ---- colour · light ---- */
  --ink: #1F1B16;
  --ground: #F7F5F0;
  --bg: var(--ground);
  --paper: #F2EDE3;
  --card: #FDFBF7;
  --card-soft: rgba(253,251,247,0.62);
  --chrome: #F7F5F0;
  --crown-fade: linear-gradient(180deg, #F7F5F0 0%, #F7F5F0 52%, rgba(247,245,240,0) 100%);
  --gold: #7A5C2A;
  --ochre: #A6764A;
  --rust: #8C4A32;
  --quiet: rgba(31,27,22,0.74);
  --faint: rgba(31,27,22,0.62);
  --hairline: rgba(31,27,22,0.10);
  --hairline-soft: rgba(31,27,22,0.08);
  --btn-border: rgba(31,27,22,0.24);
  --chip-border: rgba(31,27,22,0.22);
  --btn-text: #F7F5F0;
  --chev: #846246;
  --note: rgba(231,224,210,0.45);
  --disabled-fg: rgba(31,27,22,0.35);
  --disabled-bg: #EDE9E1;
  --scrim: rgba(31,27,22,0.28);
  --veil-top: none;
  --veil-bottom: none;
  --shadow: 0 6px 22px rgba(120,108,92,0.13);
  --shadow-color: #1F1B16;
  --shadow-opacity: 0.09;
  --focus: 0 0 0 2px #F7F5F0, 0 0 0 4px #1F1B16;
  --selection: #A6764A;
  --availability: #7A5C2A;
  --grain: 0.025;
  --edge-top: rgba(255,255,255,0.95); --edge-left: rgba(255,255,255,0.48); --edge-right: rgba(255,255,255,0.26); --edge-bottom: rgba(31,27,22,0.07);
  --ramp-chalk: #FDFBF7;
  --ramp-frost: #FBFAF7;
  --ramp-ivory: #F7F5F0;
  --ramp-paper: #F2EDE3;
  --ramp-linen: #E7E0D2;
  --ramp-stone: #D6CDBA;
  --ramp-clay: #B5A992;
  --ramp-umber: #6E6353;
  --ramp-ink: #1F1B16;
}
[data-theme="dark"], .dark, .dark {
  /* ---- colour · dark ---- */
  --ink: #F5EFE4;
  --ground: #000000;
  --bg: var(--ground);
  --paper: #14110D;
  --card: #1A1918;
  --card-soft: rgba(26,25,24,0.62);
  --chrome: #0E0D0C;
  --crown-fade: linear-gradient(180deg, #000000 0%, #000000 52%, rgba(0,0,0,0) 100%);
  --gold: #C29A4C;
  --ochre: #C79A6A;
  --rust: #C4826A;
  --quiet: rgba(245,239,228,0.78);
  --faint: rgba(245,239,228,0.62);
  --hairline: rgba(245,239,228,0.10);
  --hairline-soft: rgba(245,239,228,0.10);
  --btn-border: rgba(245,239,228,0.28);
  --chip-border: rgba(245,239,228,0.26);
  --btn-text: #000000;
  --chev: #D9CBB5;
  --note: rgba(245,239,228,0.06);
  --disabled-fg: rgba(245,239,228,0.38);
  --disabled-bg: #1A1918;
  --scrim: rgba(0,0,0,0.55);
  --veil-top: none;
  --veil-bottom: none;
  --shadow: none;
  --shadow-color: #000000;
  --shadow-opacity: 0;
  --focus: 0 0 0 2px #000000, 0 0 0 4px #F5EFE4;
  --selection: #C79A6A;
  --availability: #C29A4C;
  --grain: 0.03;
  --edge-top: rgba(245,239,228,0.16); --edge-left: rgba(245,239,228,0.08); --edge-right: rgba(245,239,228,0.05); --edge-bottom: rgba(0,0,0,0.30);
  --ramp-black: #000000;
  --ramp-night: #0E0D0C;
  --ramp-soot: #14110D;
  --ramp-char: #1A1918;
  --ramp-ash: #2B261F;
  --ramp-taupe: #4A4238;
  --ramp-sand: #9C917E;
  --ramp-bone: #D9CBB5;
  --ramp-ivory: #F5EFE4;
}
[data-theme="dark"], .dark { color-scheme: dark; }
/* ---- type ramp classes ---- */
.t-numeral { font: 300 56px/1.0 var(--font-serif); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-statement { font: 500 42px/1.08 var(--font-serif); letter-spacing: -0.02em; }
.t-voice { font: 300 32px/1.18 var(--font-serif); letter-spacing: -0.01em; font-style: italic; }
.t-name { font: 500 28px/1.16 var(--font-serif); letter-spacing: -0.01em; }
.t-ledger { font: 500 21px/1.25 var(--font-serif); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-body { font: 400 16.5px/1.55 var(--font-serif); letter-spacing: 0; }
.t-whisper { font: 400 14px/1.45 var(--font-serif); letter-spacing: 0; color: var(--faint); }
.t-brow { font: 600 11px/1.3 var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; }
.t-action { font: 600 12px/1.2 var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase; }
.t-tab-label { font: 600 10px/1.2 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.t-numeral-lg { font: 300 68px/1.0 var(--font-serif); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.t-numeral-sm { font: 300 44px/1.0 var(--font-serif); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-numeral-label { font: 600 10px/1.2 var(--font-sans); letter-spacing: 0.20em; text-transform: uppercase; color: var(--faint); }
.t-date-cell { font: 500 19px/1.0 var(--font-serif); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-time-chip { font: 500 18px/1.0 var(--font-serif); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-web-display { font: 300 72px/1.02 var(--font-serif); letter-spacing: -0.02em; }
.t-web-body { font: 400 19px/1.6 var(--font-serif); letter-spacing: 0; }
/* ---- glass helpers: .glass.<rung> — only where something refracts ---- */
.glass { position: relative; -webkit-backdrop-filter: blur(var(--_blur)) saturate(var(--_sat)); backdrop-filter: blur(var(--_blur)) saturate(var(--_sat)); background: var(--_bg); border-top: 1px solid var(--edge-top); border-left: 1px solid var(--edge-left); border-right: 1px solid var(--edge-right); border-bottom: 1px solid var(--edge-bottom); }
.glass.solid { --_bg: var(--glass-solid-bg); --_blur: var(--glass-solid-blur); --_sat: var(--glass-solid-sat); }
.glass.chalk { --_bg: var(--glass-chalk-bg); --_blur: var(--glass-chalk-blur); --_sat: var(--glass-chalk-sat); }
.glass.bone { --_bg: var(--glass-bone-bg); --_blur: var(--glass-bone-blur); --_sat: var(--glass-bone-sat); }
.glass.muslin { --_bg: var(--glass-muslin-bg); --_blur: var(--glass-muslin-blur); --_sat: var(--glass-muslin-sat); }
.glass.gauze { --_bg: var(--glass-gauze-bg); --_blur: var(--glass-gauze-blur); --_sat: var(--glass-gauze-sat); }
.glass.veil { --_bg: var(--glass-veil-bg); --_blur: var(--glass-veil-blur); --_sat: var(--glass-veil-sat); }
.glass.smoke { --_bg: var(--glass-smoke-bg); --_blur: var(--glass-smoke-blur); --_sat: var(--glass-smoke-sat); }
.glass.mist { --_bg: var(--glass-mist-bg); --_blur: var(--glass-mist-blur); --_sat: var(--glass-mist-sat); }
.glass.ash { --_bg: var(--glass-ash-bg); --_blur: var(--glass-ash-blur); --_sat: var(--glass-ash-sat); }
.glass.slate { --_bg: var(--glass-slate-bg); --_blur: var(--glass-slate-blur); --_sat: var(--glass-slate-sat); }
.glass.shade { --_bg: var(--glass-shade-bg); --_blur: var(--glass-shade-blur); --_sat: var(--glass-shade-sat); }
.glass.onyx { --_bg: var(--glass-onyx-bg); --_blur: var(--glass-onyx-blur); --_sat: var(--glass-onyx-sat); }
@media (prefers-reduced-transparency: reduce) { .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-fallback-veil); } .glass.shade, .glass.onyx, .glass.slate, .glass.ash { background: var(--glass-fallback-shade); } }
.rt .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-fallback-veil); } .rt .glass.shade, .rt .glass.onyx, .rt .glass.slate, .rt .glass.ash { background: var(--glass-fallback-shade); }

/* Ritual Bar — Mineral Glass v2 · the component layer. Built ONLY on tokens.css (the hinge).
   Everything here is what the app is made of: tiers, chrome, atoms, molecules, organisms.
   Web (ritual.bar) reuses the same classes at desktop widths (see the .web block at the end). */

/* ---------- the screen ---------- */
.app { position: relative; width: 390px; min-height: 844px; height: 844px; overflow: hidden; background: var(--ground); color: var(--ink); font: 400 var(--t-body-size)/var(--t-body-lh) var(--font-serif); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
.app * { box-sizing: border-box; }
.app.auto { height: auto; min-height: 844px; }
.app .grain { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: var(--grain); mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.17 0 0 0 0 0.14 0 0 0 1 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>"); background-size: 180px 180px; }
[data-theme="dark"] .grain, .dark .grain { mix-blend-mode: screen; opacity: calc(var(--grain) * 1.2); }
.app .bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.app .bg img, .app .bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Immersion: a photograph, untouched (R-0903-25) — as a block with the ground below (R-0903-13), or the whole frame (.full, the front door R-0903-24). Nothing over the people; the panel is chrome. */
.app.tier-immersion { background: var(--ground); }
.app.tier-immersion .bg { inset: 0 0 auto 0; height: var(--img-h, 440px); }
.app.tier-immersion .bg img { object-position: var(--img-pos, 50% 40%); }
.app.tier-immersion .bg .edge { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hairline); }
.app.tier-immersion.full .bg { inset: 0; height: auto; }
.app.tier-immersion.full .bg img { object-position: var(--img-pos, 50% 30%); }
.app.tier-immersion.full .status { color: #F5EFE4; }
.app.tier-immersion.full .content.front { padding: 0; }
.front-panel { margin: 0 12px 12px; padding: 22px 20px 18px; color: #F5EFE4; }
.front-panel .brow { color: #F5EFE4; opacity: .62; }
.front-panel .display { font: 500 32px/1.08 var(--font-serif); letter-spacing: -.01em; color: #F5EFE4; margin: 12px 0 18px; }
.front-panel .display em.ritual { font-style: italic; color: #C79A6A; }
.front-panel .ghostline { display: block; text-align: center; margin-top: 14px; font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; color: #F5EFE4; opacity: .72; text-decoration: none; padding: 10px 0 2px; }
/* the three choices (R-0903-24) — one joined group, hairlines between, the taken one carries the ochre rule; never "doors" */
.choices { display: flex; flex-direction: column; border-top: 1px solid rgba(245,239,228,.22); border-bottom: 1px solid rgba(245,239,228,.22); }
.choice { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 6px 12px 12px; min-height: 76px; color: inherit; text-decoration: none; border-top: 1px solid rgba(245,239,228,.14); }
.choice:first-child { border-top: 0; }
.choice.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: #C79A6A; }
.choice .clip { display: block; flex: 0 0 auto; overflow: hidden; background: rgba(0,0,0,.2); }
.choice .clip video, .choice .clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.choice .k { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.choice .name { font: 500 19px/1.15 var(--font-serif); letter-spacing: -.005em; }
.choice .name .struck::after { background: #C79A6A; }
.choice .sub { font: 400 12.5px/1.4 var(--font-sans); opacity: .72; }
.choice .v { font: 500 15px/1 var(--font-serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice .onward { opacity: .7; }
.choices.compact .choice { min-height: 64px; } .choices.compact .clip { width: 44px !important; height: 58px !important; }
/* the same group on paper (the web Book step) */
.paperchoices .choices { border-color: var(--hairline); } .paperchoices .choice { border-color: var(--hairline); color: var(--ink); }
.paperchoices .choice.on::before { background: var(--ochre); } .paperchoices .choice .name .struck::after { background: var(--ochre); }
.app.tier-immersion .content.below { position: relative; z-index: 1; padding-top: calc(var(--img-h, 440px) + 22px); }
.app.tier-field { background: var(--ground); } .app.tier-field.ink { background: var(--ink); color: var(--ground); }
.app .content { position: relative; z-index: 1; padding: 0 var(--margin); }
.app .content.scroll { overflow: hidden; }
.app .safe-top { height: 54px; } .app .safe-bottom { height: 34px; }

/* status bar (iOS) */
.status { position: relative; z-index: 6; height: 54px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 30px 10px 34px; font: 600 15px/1 var(--font-sans); color: var(--ink); letter-spacing: -.01em; }
.status .r { display: flex; gap: 6px; align-items: center; }
.status svg { display: block; }
.status.on-image { color: #F5EFE4; }

/* crown — back, progress, menu; a fade where content scrolls under */
.crown { position: absolute; left: 0; right: 0; top: 0; z-index: 4; height: calc(54px + var(--crown)); padding: 54px var(--margin) 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crown.fade { background: var(--crown-fade); }
.crown.band { background: var(--chrome); border-bottom: 1px solid var(--hairline); }
.crown .mark { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin-left: -10px; color: var(--ink); }
.crown .mark.right { margin-left: 0; margin-right: -10px; }
.crown .title { font: 600 var(--t-brow-size)/1 var(--font-sans); letter-spacing: var(--t-brow-track); text-transform: uppercase; color: var(--faint); }
.crown .progress { display: flex; gap: 6px; }
.crown .progress i { width: 18px; height: 2px; background: var(--hairline); display: block; }
.crown .progress i.on { background: var(--ink); }
.crown.glass { padding-top: 54px; border-left: 0; border-right: 0; border-top: 0; }
.plinth.glass { border-left: 0; border-right: 0; border-bottom: 0; }
.tabbar.glass { border-left: 0; border-right: 0; border-bottom: 0; }
.crown .wordmark { font: 500 22px/1 var(--font-serif); letter-spacing: var(--wordmark-tracking); }

/* plinth — the action band */
.plinth { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 20px var(--margin) 34px; background: var(--chrome); border-top: 1px solid var(--hairline); }
.plinth.glass, .tabbar.glass, .crown.glass { background: var(--_bg); }
.plinth .btn { width: 100%; }
.plinth .whisper { text-align: center; margin: 12px 0 0; }
.plinth.above-tabs { bottom: calc(var(--tabbar) + 34px); padding-bottom: 16px; }

/* tab bar — a squared band with a hairline top and a 2px ochre rule above the active label */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: calc(var(--tabbar) + 34px); display: flex; background: var(--chrome); border-top: 1px solid var(--hairline); padding-bottom: 34px; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-decoration: none; color: var(--faint); position: relative; font: 600 var(--t-tab-label-size)/1 var(--font-sans); letter-spacing: var(--t-tab-label-track); text-transform: uppercase; }
.tabbar a svg { width: var(--icon-tab); height: var(--icon-tab); }
.tabbar a.on { color: var(--ink); }
.tabbar a.on::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 2px; background: var(--ochre); }

/* sheet */
.scrim { position: absolute; inset: 0; z-index: 5; background: var(--scrim); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--card); box-shadow: var(--shadow); padding: 0 var(--margin) 34px; }
.sheet .grab { width: 36px; height: 4px; background: var(--hairline); margin: 10px auto 18px; }
.sheet .crown-row { display: flex; justify-content: space-between; align-items: center; height: var(--sheet-crown); }

/* ---------- type helpers ---------- */
.ink { color: var(--ink); } .quiet { color: var(--quiet); } .faint { color: var(--faint); } .gold { color: var(--gold); } .ochre { color: var(--ochre); }
.serif { font-family: var(--font-serif); } .sans { font-family: var(--font-sans); }
em.ritual, .ritual { font-style: italic; font-weight: 700; color: var(--ochre); }
.struck { position: relative; display: inline-block; } /* ritual over routine — the strike, once, at a key moment */
.struck::after { content: ""; position: absolute; left: -5.5%; right: -6.2%; top: 46%; height: .125em; margin-top: -.0625em; background: var(--ochre); border-radius: 99px; transform: rotate(-2.4deg); transform-origin: center; } /* the Correction, as Find Ritual draws it: 12.5% thick, 112% wide, rising 2.4° (Tiana 2026-09-02) */
.tnum { font-variant-numeric: tabular-nums; }
.sign { font-family: var(--font-sign); font-weight: 500; }

/* statement — brow, then one or two display lines */
.statement { margin: 0; }
.statement .t-brow { display: block; color: var(--faint); margin-bottom: 14px; }
.statement .t-statement { display: block; }
.statement .t-voice { display: block; margin-top: 6px; }
.rule-short { width: 20px; height: 1.5px; background: var(--ink); opacity: .5; margin: 18px 0; }

/* ---------- atoms ---------- */
/* Door — the choice. Glass when a graded image sits behind it, Solid on Paper. */
.door { position: relative; display: block; width: 100%; text-align: left; padding: 18px 20px 18px 22px; border: 0; background: var(--card); color: var(--ink); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-top: -1px; cursor: pointer; font: inherit; }
.door .head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.door .name { font: 500 var(--t-name-size)/var(--t-name-lh) var(--font-serif); letter-spacing: var(--t-name-track); }
.door .price { font: 500 var(--t-ledger-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; }
.door .sub { margin: 6px 0 0; color: var(--quiet); font: 400 var(--t-body-size)/var(--t-body-lh) var(--font-serif); }
.door .more { max-height: 0; overflow: hidden; }
.door.taken { background: var(--card); }
.door.taken::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--ochre); }
.door.taken .more { max-height: 400px; margin-top: 12px; }
.door.glass { background: var(--_bg); border-top: 1px solid var(--edge-top); border-bottom: 1px solid var(--edge-bottom); border-left: 1px solid var(--edge-left); border-right: 1px solid var(--edge-right); margin-top: 8px; }
.door.glass.taken { box-shadow: var(--shadow); }
.doors { display: flex; flex-direction: column; }
.doors .door + .door { margin-top: 8px; }
.door.dim { opacity: .45; }

/* Group — one container, hairline rows, the label above and the whisper below, outside */
.group-label { display: block; margin: 0 0 10px; color: var(--faint); }
.group { background: var(--card); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.group .row { min-height: var(--row); display: flex; align-items: center; gap: 12px; padding: var(--row-pad-y) 0 var(--row-pad-y) 0; margin: 0 var(--row-pad-x); border-top: 1px solid var(--hairline-soft); color: inherit; text-decoration: none; }
.group .row:first-child { border-top: 0; }
.group + .whisper, .group-whisper { display: block; margin: 10px 0 0; }
.row .k { flex: 1; font: 400 var(--t-body-size)/1.3 var(--font-serif); }
.row .k .sub { display: block; color: var(--faint); font-size: var(--t-whisper-size); margin-top: 3px; }
.row .v { font: 500 var(--t-body-size)/1.3 var(--font-serif); font-variant-numeric: tabular-nums; color: var(--quiet); }
.row .price { font: 500 var(--t-ledger-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; color: var(--ink); }
.row .onward { color: var(--chev); width: 18px; height: 18px; flex: 0 0 18px; }
.row.name .k { font: 500 var(--t-name-size)/1.16 var(--font-serif); letter-spacing: var(--t-name-track); }
.row.danger .k { color: var(--rust); }
.row.menu { padding: 16px 0; }
.row .lead { width: 24px; height: 24px; color: var(--ink); flex: 0 0 24px; }
.list { border-top: 1px solid var(--hairline); }
.list .row { min-height: var(--row); display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; color: inherit; }
.list .row .k { flex: 1; font: 400 var(--t-body-size)/1.3 var(--font-serif); }

/* Marks */
.mark-select { width: 2px; align-self: stretch; background: var(--ochre); }
.hairline { height: 1px; background: var(--hairline); border: 0; margin: 0; }
.dot { display: inline-block; width: 3px; height: 3px; background: var(--gold); vertical-align: middle; margin-right: 8px; }
.onward { display: inline-block; width: 18px; height: 18px; color: var(--chev); }

/* Arch — square-footed, domed top. Imagery only. */
.arch { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ramp-stone, var(--disabled-bg)); border-radius: 50% 50% var(--r-arch-foot) var(--r-arch-foot) / 33% 33% var(--r-arch-foot) var(--r-arch-foot); border: 1px solid var(--hairline); }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch.s { width: 96px; } .arch.m { width: 168px; } .arch.l { width: 100%; }
.arch-cap { margin: 10px 0 0; }
.arch-cap .n { display: block; font: 500 var(--t-ledger-size)/1.2 var(--font-serif); }
.arch-cap .m { display: block; color: var(--faint); font: 400 var(--t-whisper-size)/1.3 var(--font-serif); margin-top: 2px; }

/* Plate — a contained photograph, hairline, no shadow, caption beneath */
.plate { display: block; overflow: hidden; border: 1px solid var(--hairline); background: var(--ramp-stone, var(--disabled-bg)); }
.plate img, .plate svg, .arch svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate.r45 { aspect-ratio: 4 / 5; } .plate.r11 { aspect-ratio: 1; } .plate.r169 { aspect-ratio: 16 / 9; } .plate.r34 { aspect-ratio: 3 / 4; }

/* Numeral — state, said quietly */
.numeral { display: block; }
.numeral .n { display: block; font: 300 var(--t-numeral-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; letter-spacing: var(--t-numeral-track); }
.numeral .l { display: block; margin-top: 6px; font: 600 var(--t-numeral-label-size)/1 var(--font-sans); letter-spacing: var(--t-numeral-label-track); text-transform: uppercase; color: var(--faint); }
.numeral.lg .n { font-size: var(--t-numeral-lg-size); } .numeral.sm .n { font-size: var(--t-numeral-sm-size); }

/* Button */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--tap); padding: 0 22px; border: 1px solid transparent; border-radius: 0; background: var(--ink); color: var(--btn-text); font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform var(--dur-press) var(--ease), opacity var(--dur-base) var(--ease); }
.btn:active, .btn.pressed { transform: scale(var(--motion-press-scale)); }
.btn.hover, .btn:hover { opacity: .92; }
.btn.focus, .btn:focus-visible { outline: 0; box-shadow: var(--focus); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--btn-border); }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; padding-left: 0; padding-right: 0; }
.btn.ghost.quiet { color: var(--quiet); }
.btn.l { min-height: 54px; padding: 0 28px; font-size: 13px; } .btn.s { min-height: 36px; padding: 0 14px; font-size: 11px; }
.btn.block { width: 100%; }
.btn.busy { pointer-events: none; color: transparent; position: relative; }
.btn.busy::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--btn-text); border-right-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; }
.btn.secondary.busy::after { border-color: var(--ink); border-right-color: transparent; }
.btn.disabled, .btn:disabled { background: var(--disabled-bg); color: var(--disabled-fg); border-color: transparent; pointer-events: none; }
.btn.secondary.disabled { background: transparent; border-color: var(--hairline); }
.btn.destructive { background: transparent; color: var(--rust); border-color: transparent; }
.btn.on-image { background: var(--ink); color: var(--btn-text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Chip — time, filter, card */
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--chip-border); background: transparent; color: var(--ink); font: 500 var(--t-time-chip-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; cursor: pointer; }
.chip { white-space: nowrap; }
.chip.filter { font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; min-height: 36px; border-radius: 999px; padding: 0 14px; }
.chip.on { background: var(--ink); color: var(--btn-text); border-color: var(--ink); }
.chip.off { color: var(--disabled-fg); border-color: var(--hairline); text-decoration: line-through; }
.chip.card { min-height: var(--tap); padding: 0 12px; gap: 8px; }
.chips { display: flex; gap: 8px; overflow: hidden; flex-wrap: nowrap; }
.chips.wrap { flex-wrap: wrap; }

/* Field */
.field { display: block; }
.field .l { display: block; font: 600 var(--t-brow-size)/1 var(--font-sans); letter-spacing: var(--t-brow-track); text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.field .in { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--btn-border); background: transparent; padding: 6px 0; font: 400 var(--t-ledger-size)/1.2 var(--font-serif); color: var(--ink); gap: 10px; }
.field .in .ph { color: var(--disabled-fg); }
.field.focus .in { border-bottom: 1px solid var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field.error .in { border-bottom-color: var(--rust); }
.field .help { display: block; margin-top: 8px; color: var(--faint); font: 400 var(--t-whisper-size)/1.4 var(--font-serif); }
.field.error .help { color: var(--rust); }
.field.area .in { min-height: 120px; align-items: flex-start; }
.field.code .in { justify-content: space-between; gap: 6px; border: 0; }
.field.code .in i { flex: 1; height: 54px; border-bottom: 1px solid var(--btn-border); display: flex; align-items: center; justify-content: center; font: 500 26px/1 var(--font-serif); font-style: normal; font-variant-numeric: tabular-nums; }
.field.code .in i.on { border-bottom: 1px solid var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field .in .prefix { color: var(--quiet); }
.search { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--hairline); font: 400 var(--t-ledger-size)/1 var(--font-serif); color: var(--disabled-fg); }
.search svg { width: 20px; height: 20px; color: var(--faint); }

/* Toggle · Box · Radio · Switch */
.tick { display: flex; align-items: center; gap: 14px; min-height: var(--tap); }
.tick .box { width: 20px; height: 20px; border: 1px solid var(--btn-border); display: flex; align-items: center; justify-content: center; }
.tick.on .box { background: var(--ink); border-color: var(--ink); color: var(--btn-text); }
.tick .radio { width: 20px; height: 20px; border: 1px solid var(--btn-border); border-radius: 50%; position: relative; }
.tick.on .radio::after { content: ""; position: absolute; inset: 5px; background: var(--ink); border-radius: 50%; }
.switch { width: 44px; height: 26px; border: 1px solid var(--btn-border); position: relative; background: transparent; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--btn-border); transition: transform var(--dur-base) var(--ease), background var(--dur-base); }
.switch.on { background: var(--ink); border-color: var(--ink); } .switch.on::after { background: var(--btn-text); transform: translateX(18px); }
.tick .k { font: 400 var(--t-body-size)/1.3 var(--font-serif); flex: 1; }

/* Brow */
.brow { display: block; font: 600 var(--t-brow-size)/1.3 var(--font-sans); letter-spacing: var(--t-brow-track); text-transform: uppercase; color: var(--faint); }

/* Price */
.price { font: 500 var(--t-ledger-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; }
.price .was { text-decoration: line-through; color: var(--faint); margin-right: 8px; font-weight: 400; }
.price .member { color: var(--gold); font-size: var(--t-whisper-size); font-family: var(--font-serif); margin-left: 8px; }

/* Avatar · Badge · Skeleton · Stepper · Qty · Link */
.avatar { width: 40px; height: 40px; background: var(--ramp-stone, var(--disabled-bg)); display: inline-flex; align-items: center; justify-content: center; font: 500 16px/1 var(--font-serif); color: var(--ink); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.guide { border: 1px solid var(--gold); }
.badge { display: inline-block; font: 600 var(--t-brow-size)/1 var(--font-sans); letter-spacing: var(--t-brow-track); text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--hairline); color: var(--quiet); }
.badge.ink { background: var(--ink); color: var(--btn-text); border-color: var(--ink); }
.badge.gold { color: var(--gold); border-color: var(--gold); }
.skeleton { background: var(--hairline); position: relative; overflow: hidden; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: shimmer 1.6s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.stepper { font: 600 var(--t-brow-size)/1 var(--font-sans); letter-spacing: var(--t-brow-track); color: var(--faint); font-variant-numeric: tabular-nums; }
.stepper b { color: var(--ink); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--btn-border); height: 40px; }
.qty button { all: unset; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qty span { min-width: 32px; text-align: center; font: 500 var(--t-ledger-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; }
a.link, .link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--btn-border); }
.link.gold { color: var(--gold); text-decoration-color: var(--gold); }
.icon { width: var(--icon-size); height: var(--icon-size); display: inline-block; vertical-align: middle; }
.icon.small { width: var(--icon-small); height: var(--icon-small); }
.slash { font-family: var(--font-serif); font-weight: 300; }

/* ---------- molecules ---------- */
/* Ledger — the receipt block */
.ledger { border-top: 1px solid var(--hairline); }
.ledger .li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font: 500 var(--t-ledger-size)/1.25 var(--font-serif); font-variant-numeric: tabular-nums; }
.ledger .li .k { font-weight: 400; } .ledger .li .k .sub { display: block; color: var(--faint); font-size: var(--t-whisper-size); margin-top: 2px; }
.ledger .li.total { border-bottom: 0; }
.ledger .li.member .v { color: var(--gold); }

/* Pay card · Day card · Day cell · Slot pair · Calendar header */
.paycard { background: var(--card); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 18px var(--row-pad-x); }
.paycard .top { display: flex; justify-content: space-between; align-items: baseline; }
.paycard .top .n { font: 500 var(--t-name-size)/1.16 var(--font-serif); }
.paycard .top .p { font: 500 var(--t-ledger-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; }
.paycard .meta { margin-top: 6px; color: var(--quiet); }
.daycard { background: var(--card); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 16px var(--row-pad-x); display: flex; align-items: center; gap: 16px; }
.daycard .d { font: 300 var(--t-numeral-sm-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; min-width: 56px; }
.daycard .k { flex: 1; } .daycard .k .n { font: 500 var(--t-ledger-size)/1.2 var(--font-serif); } .daycard .k .m { color: var(--faint); font-size: var(--t-whisper-size); margin-top: 2px; }
.calhead { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; }
.calhead .m { font: 500 var(--t-name-size)/1 var(--font-serif); letter-spacing: var(--t-name-track); }
.calhead .nav { display: flex; gap: 20px; color: var(--faint); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; }
.cal .wd { text-align: center; font: 600 var(--t-tab-label-size)/1 var(--font-sans); letter-spacing: var(--t-tab-label-track); text-transform: uppercase; color: var(--faint); padding: 6px 0 10px; }
.cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--r-cell); font: 500 var(--t-date-cell-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; color: var(--ink); position: relative; }
.cell.off { color: var(--disabled-fg); } .cell.past { color: var(--disabled-fg); }
.cell.avail::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px; background: var(--gold); }
.cell.on { background: var(--ink); color: var(--btn-text); }
.cell.member { outline: 1px solid var(--hairline); outline-offset: -1px; }
.cell.today::before { content: ""; position: absolute; top: 5px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px; background: var(--ink); }
.slots { display: flex; gap: 8px; }
.slots .chip { flex: 1; }

/* Pass card */
.passcard { background: var(--ink); color: var(--btn-text); padding: 22px 20px; position: relative; overflow: hidden; }
.passcard .brow { color: var(--btn-text); opacity: .6; }
.passcard .n { font: 500 var(--t-name-size)/1.1 var(--font-serif); margin-top: 14px; }
.passcard .m { margin-top: 6px; opacity: .7; font-size: var(--t-whisper-size); }
.passcard .seal { position: absolute; right: 18px; top: 18px; width: 28px; height: 28px; opacity: .9; }
[data-theme="dark"] .passcard, .dark .passcard { background: var(--card); color: var(--ink); border: 1px solid var(--hairline); }
[data-theme="dark"] .passcard .brow, .dark .passcard .brow { color: var(--ink); }

/* Action sheet · Toast · Empty · Quote · Note · Statement · Step · Cadence · Segment · Accordion */
.actions { background: var(--card); }
.actions .row { min-height: 54px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--hairline); font: 500 var(--t-ledger-size)/1 var(--font-serif); }
.actions .row.danger { color: var(--rust); }
.toast { position: absolute; left: var(--margin); right: var(--margin); bottom: 110px; z-index: 7; background: var(--ink); color: var(--btn-text); padding: 14px 18px; font: 400 var(--t-body-size)/1.4 var(--font-serif); box-shadow: var(--shadow); }
.empty { padding: 48px 0; }
.empty .t { font: 500 var(--t-name-size)/1.16 var(--font-serif); } .empty .s { color: var(--quiet); margin-top: 8px; }
.quote { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; }
.quote p { margin: 0; font: 300 var(--t-voice-size)/var(--t-voice-lh) var(--font-serif); font-style: italic; letter-spacing: var(--t-voice-track); }
.quote cite { display: block; margin-top: 12px; font: 600 var(--t-brow-size)/1 var(--font-sans); letter-spacing: var(--t-brow-track); text-transform: uppercase; color: var(--faint); font-style: normal; }
.note { background: var(--note); padding: 16px 18px; }
.note .brow { margin-bottom: 8px; }
.note p { margin: 0; color: var(--quiet); }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.step .num { width: 26px; height: 26px; background: var(--ink); color: var(--btn-text); display: flex; align-items: center; justify-content: center; font: 600 10px/1 var(--font-sans); letter-spacing: .06em; flex: 0 0 26px; margin-top: 3px; }
.step .k { flex: 1; } .step .k .n, .step .k .m { display: block; } .step .k .n { font: 500 var(--t-name-size)/1.16 var(--font-serif); letter-spacing: var(--t-name-track); } .step .k .m { color: var(--quiet); margin-top: 4px; }
.cadence { display: flex; gap: 6px; align-items: flex-end; height: 28px; }
.cadence i { flex: 1; background: var(--hairline); display: block; }
.cadence i.on { background: var(--ink); }
.segment { display: flex; border-bottom: 1px solid var(--hairline); }
.segment a { flex: 1; text-align: center; padding: 14px 0; text-decoration: none; color: var(--faint); font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; position: relative; }
.segment a.on { color: var(--ink); } .segment a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ochre); }
.accordion { border-top: 1px solid var(--hairline); }
.accordion .item { border-bottom: 1px solid var(--hairline); }
.accordion .q { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 12px 0; font: 500 var(--t-ledger-size)/1.25 var(--font-serif); }
.accordion .a { color: var(--quiet); padding: 0 0 16px; }
.stepchips { display: flex; gap: 8px; }
.stepchip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 6px; border: 1px solid var(--hairline); font: 600 var(--t-brow-size)/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); }
.stepchip i { width: 18px; height: 18px; background: var(--ink); color: var(--btn-text); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 9px; }
.product { display: block; text-decoration: none; color: inherit; }
.product .plate { aspect-ratio: 4 / 5; }
.product .n { display: block; margin-top: 10px; font: 500 var(--t-ledger-size)/1.2 var(--font-serif); }
.product .m { display: block; color: var(--faint); font-size: var(--t-whisper-size); margin-top: 2px; }
.product .p { display: block; margin-top: 4px; font: 500 var(--t-ledger-size)/1 var(--font-serif); font-variant-numeric: tabular-nums; }
.rail { display: flex; gap: 12px; overflow: hidden; }
.rail .product { flex: 0 0 132px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.composer { border: 1px solid var(--btn-border); padding: 14px 16px; min-height: 140px; font: 400 var(--t-body-size)/1.5 var(--font-serif); color: var(--disabled-fg); }
.aov { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--hairline); padding-top: 12px; }
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.matrix .c { aspect-ratio: 1; border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; font: 500 13px/1 var(--font-serif); text-align: center; padding: 6px; }
.matrix .c.on { background: var(--ink); color: var(--btn-text); border-color: var(--ink); }
.yoni { display: flex; gap: 12px; align-items: flex-end; }
.yoni .b { background: var(--card); border: 1px solid var(--hairline); padding: 12px 16px; max-width: 78%; }
.yoni.me { justify-content: flex-end; } .yoni.me .b { background: var(--ink); color: var(--btn-text); border-color: var(--ink); }

/* filter row */
.filterrow { display: flex; gap: 8px; overflow: hidden; padding-bottom: 2px; }

/* spacing helpers */
.mt1 { margin-top: var(--s-1); } .mt2 { margin-top: var(--s-2); } .mt3 { margin-top: var(--s-3); } .mt4 { margin-top: var(--s-4); } .mt5 { margin-top: var(--s-5); } .mt6 { margin-top: var(--s-6); } .mt7 { margin-top: var(--s-7); } .mt8 { margin-top: var(--s-8); }
.mb2 { margin-bottom: var(--s-2); } .mb3 { margin-bottom: var(--s-3); } .mb4 { margin-bottom: var(--s-4); } .mb5 { margin-bottom: var(--s-5); } .mb6 { margin-bottom: var(--s-6); }
.bleed { margin-left: calc(-1 * var(--margin)); margin-right: calc(-1 * var(--margin)); }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.whisper { font: 400 var(--t-whisper-size)/var(--t-whisper-lh) var(--font-serif); color: var(--faint); }
.body { font: 400 var(--t-body-size)/var(--t-body-lh) var(--font-serif); color: var(--quiet); }
.body.ink { color: var(--ink); }

/* home indicator */
.home-ind { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; background: var(--ink); opacity: .9; border-radius: 3px; z-index: 8; }
.home-ind.on-image { background: #F5EFE4; }

/* ---------- web (ritual.bar) ---------- */
.web { background: var(--ground); color: var(--ink); font: 400 var(--t-web-body-size)/var(--t-web-body-lh) var(--font-serif); font-variant-numeric: lining-nums; }
.web * { box-sizing: border-box; }
.web .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.web .nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.web .nav .wordmark { font: 500 26px/1 var(--font-serif); letter-spacing: var(--wordmark-tracking); }
.web .nav .lockup { display: flex; align-items: baseline; gap: 14px; }
.web .nav .tagline { font: 400 14px/1 var(--font-serif); color: var(--quiet); letter-spacing: 0.01em; } /* the tagline accompanies the wordmark */
.web .nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.web .nav a { text-decoration: none; color: var(--quiet); font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; }
.web .nav a.on { color: var(--ink); }
.web .hero { position: relative; min-height: 720px; overflow: hidden; }
.web .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* a photograph in a hero is never veiled where a person is (R-0903-13); the block form below is the only hero */
.web .hero .copy { position: relative; z-index: 1; padding: 200px 0 80px; color: var(--ink); }
/* The front door on the web (R-0903-24): the loop full-width, the panel low-left on desktop, full-height on a phone */
.web .hero.front { position: relative; min-height: 720px; height: 82vh; overflow: hidden; display: flex; align-items: flex-end; }
.web .hero.front > video, .web .hero.front > img.still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; } /* the loop only — the choices' clips are children of .clip, never stretched */
.web .hero.front::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(20,19,18,0) 0%, rgba(20,19,18,.55) 100%); pointer-events: none; } /* the words sit on the room, not on a panel; the film's foot darkens so they read (nothing over the people: the gradient starts below them) */
.web .hero.front.colour::after { display: none; }
.web .hero.front .front-words { position: relative; z-index: 1; color: #F5EFE4; }
.web .hero.front .front-words .brow { color: #F5EFE4; opacity: .62; }
.web .hero.front .front-words .display { font: 500 46px/1.06 var(--font-serif); letter-spacing: -.01em; color: #F5EFE4; margin: 12px 0 0; max-width: none; }
.web .hero.front .front-words .display em.ritual { font-style: italic; color: #C79A6A; }
.web .hero.front .front-words .ghostline { display: inline-block; margin-top: 18px; font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; color: #F5EFE4; opacity: .72; text-decoration: none; }
/* the band: everything bottom-oriented on desktop — words left, the three cards right (Tiana 2026-09-02 21:20) */
.web .hero.front.band .front-band { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr 500px; gap: 64px; align-items: end; padding: 0 64px 56px; }
.web .hero.front.band .front-cards { padding: 8px 8px; background: rgba(20,19,18,.34); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(245,239,228,.14); border-top-color: rgba(245,239,228,.3); }
.web .hero.front.band .front-cards .choices { border: 0; color: #F5EFE4; }
.web .hero.front.band .front-cards .choice { min-height: 72px; padding: 10px 6px 10px 12px; }
.web .hero.front.band .choices .choice, .web .hero.front.stacked .choices .choice, .web .hero.front.v2 .choices .choice { color: #F5EFE4; }
/* v2 · the first front door: the words low, two rows */
.web .hero.front.v2 .front-words { padding: 0 40px 40px; max-width: 640px; }
.web .hero.front.v2 .choices.two { margin-top: 26px; border-top: 1px solid rgba(245,239,228,.3); border-bottom: 1px solid rgba(245,239,228,.3); background: rgba(20,19,18,.28); }
.web .hero.front.v2 .choices.two .choice { min-height: 60px; padding: 12px 18px; }
.web .hero.front.v2 .choices.two .choice .name { font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; }
/* the colour ground: no film, no image — ivory to ecru, calmed; the selector large, front and centre */
.web .hero.front.colour { background: linear-gradient(160deg, #F7F5F0 0%, #EFE9DD 55%, #E6DFD1 100%); align-items: center; justify-content: center; }
.web .hero.front.colour .front-centre { position: relative; z-index: 1; width: 100%; max-width: 760px; padding: 0 24px; text-align: center; color: var(--ink); }
.web .hero.front.colour .front-centre .brow { color: var(--faint); }
.web .hero.front.colour .front-centre .display { font: 500 56px/1.04 var(--font-serif); letter-spacing: -.012em; color: var(--ink); margin: 14px 0 32px; max-width: none; }
.web .hero.front.colour .front-centre .display em.ritual { font-style: italic; color: var(--ochre); }
.web .hero.front.colour .paperchoices { text-align: left; background: var(--card); border: 1px solid var(--hairline); }
.web .hero.front.colour .paperchoices .choice { padding: 14px 12px 14px 16px; min-height: 84px; }
.web .hero.front.colour .paperchoices .choice .name { font-size: 21px; }
.web .hero.front.colour .ghostline { display: inline-block; margin-top: 18px; font: 600 var(--t-action-size)/1 var(--font-sans); letter-spacing: var(--t-action-track); text-transform: uppercase; color: var(--faint); text-decoration: none; }
/* the stack: the phone's three cards in depth, thumbed through (scroll-snap; the depth is the two behind) */
.web .hero.front.stacked { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.web .hero.front.band .cardstack { display: none; } /* the stack is the phone's; the band is the desktop's */
.web .hero.front.stacked .front-words { padding: 0 24px 14px; }
.web .hero.front .cardstack::-webkit-scrollbar { display: none; }
.web .hero.front .cardstack .choices { display: contents; border: 0; }
.web .hero.front .cardstack .choice { flex: 0 0 84%; scroll-snap-align: center; background: rgba(20,19,18,.46); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(245,239,228,.16); border-top: 1px solid rgba(245,239,228,.3); padding: 12px 12px 12px 16px; min-height: 84px; color: #F5EFE4; box-shadow: 0 18px 36px rgba(20,19,18,.28); }
.web .hero.front .cardstack .choice:first-child { flex-basis: 100%; }
.web .hero.front .cardstack .choice.on::before { left: 0; }
.web .hero.front .cardstack .choice .clip { width: 56px !important; height: 74px !important; }
/* phones */
.web .paperchoices .choice .name { font-size: 18px; } .web .paperchoices .row .tick, .web .paperchoices .row .radio { margin-left: 12px; }
.web .paperchoices .row.on .box::after { content: ""; display: block; width: 8px; height: 8px; background: var(--ink); margin: 3px; }
.web .paperchoices .row.on .radio { border-color: var(--ink); } .web .paperchoices .row.on .radio::after { content: ""; display: block; width: 8px; height: 8px; background: var(--ink); margin: 4px; }
/* Hero block (R-0903-13): photograph beside the words on desktop, above them on mobile; no veil on a person */
.web .hero.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 720px; background: var(--ground); }
.web .hero.block .frame { position: relative; order: 2; min-height: 720px; overflow: hidden; }
.web .hero.block .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.web .hero.block .copy { order: 1; padding: 160px 64px 96px max(64px, calc((100% - 1200px) / 2 + 64px)); display: flex; flex-direction: column; justify-content: center; }
.web h1.display { font: 300 var(--t-web-display-size)/var(--t-web-display-lh) var(--font-serif); letter-spacing: var(--t-web-display-track); margin: 0; max-width: 14ch; }
.web h2.name { font: 500 var(--t-statement-size)/var(--t-statement-lh) var(--font-serif); letter-spacing: var(--t-statement-track); margin: 0 0 24px; }
.web .section { padding: 96px 0; border-top: 1px solid var(--hairline); }
.web .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.web .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.web .foot { padding: 48px 0 40px; border-top: 1px solid var(--hairline); color: var(--faint); font: 400 var(--t-whisper-size)/1.5 var(--font-serif); }
.web .foot .fam { display: block; margin-top: 12px; }

/* ---------- mode-aware glass: in dark mode the light rungs become dark rungs (the ladder lookup) ---------- */
[data-theme="dark"] .glass.chalk, [data-theme="dark"] .glass.bone, [data-theme="dark"] .glass.muslin, [data-theme="dark"] .glass.gauze, [data-theme="dark"] .glass.veil, [data-theme="dark"] .glass.smoke,
.dark .glass.chalk, .dark .glass.bone, .dark .glass.muslin, .dark .glass.gauze, .dark .glass.veil, .dark .glass.smoke { --_bg: var(--glass-shade-bg); --_blur: var(--glass-shade-blur); --_sat: var(--glass-shade-sat); }
[data-theme="dark"] .door.glass, .dark .door.glass { --_bg: var(--glass-onyx-bg); --_blur: var(--glass-onyx-blur); --_sat: 1; }
[data-theme="dark"] .door.glass.taken, .dark .door.glass.taken { --_bg: rgba(20,17,13,.72); }
.chip, .cell, .tabbar a, .segment a, .product, .row { text-decoration: none; }
.content.has-plinth { padding-bottom: 150px; } .content.has-tabbar { padding-bottom: 100px; } .content.has-both { padding-bottom: 230px; }
.on-image-ink { color: var(--ink); }

.web .leave .device { flex: 0 0 auto; }

/* inside the design system's frames, vh means the browser — pin the hero */

@media (max-width: 767px) {
.web .nav .lockup { flex-direction: column; align-items: flex-start; gap: 4px; }
.web .nav .tagline { font-size: 12.5px; }
.web .hero.front.stacked .cardstack, .web .hero.front.band .cardstack { position: relative; z-index: 1; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 24px 24px; scrollbar-width: none; }
.web .hero.front { height: calc(100vh - 60px); min-height: 680px; }
.web .hero.front > video { object-position: 50% 8%; } /* the client in focus: the still lifted (Tiana 2026-09-02 21:20) */
.web .hero.front .front-words .display { font-size: 28px; line-height: 1.08; }
.web .hero.front.band { flex-direction: column; justify-content: flex-end; align-items: stretch; }
.web .hero.front.band .front-band { display: block; padding: 0 20px 4px; }
.web .hero.front.band .front-cards { display: none; }
.web .hero.front.band .cardstack { display: flex; }
.web .hero.front.v2 .front-words { padding: 0 24px 24px; }
.web .hero.front.colour .front-centre .display { font-size: 34px; }
.web .hero.front.colour .front-centre { padding: 0 16px; }
.web .hero.front.colour .paperchoices .choice .name { font-size: 18px; }
.web .hero.block { display: block; min-height: 0; }
.web .hero.block .frame { min-height: 0; height: 470px; }
.web .hero.block .copy { padding: 32px 24px 40px; }
.web { width: 390px; }
.web .wrap { padding: 0 var(--margin); }
.web .nav { height: 60px; }
.web h1.display { font-size: 44px; }
.web .section { padding: 56px 0; }
.web .cols, .web .cols3 { grid-template-columns: 1fr; gap: 32px; }
.web .hero { min-height: 640px; } .web .hero .copy { padding: 380px 0 48px; }
.web .leave { grid-template-columns: 1fr !important; gap: 32px !important; } .web .leave .device { width: 100% !important; max-width: 390px; margin: 0 auto; height: 734px !important; } .web .leave .device .app { transform: scale(.87); transform-origin: top left; }
.web .five { grid-template-columns: repeat(2, 1fr) !important; }
.ds-phone .web .hero.front { height: 700px !important; min-height: 0 !important; } .ds-desk .web .hero.front { height: 720px !important; }
}

html,body{margin:0;background:var(--ground);color:var(--ink)}
.web{min-height:100vh}
.web .nav ul{display:flex}
@media (max-width:767px){.web .nav ul{display:none}.web .nav .menu{display:block}}
@media (min-width:768px){.web .nav .menu{display:none}}
.web .nav a.home{text-decoration:none;color:var(--ink);text-transform:none;letter-spacing:0;font:inherit}
.web .nav .menu{background:none;border:0;padding:0;color:var(--ink);cursor:pointer}
.web .nav.open ul{display:flex;flex-direction:column;position:absolute;left:0;right:0;top:72px;background:var(--ground);padding:16px 24px 24px;gap:16px;border-bottom:1px solid var(--hairline);z-index:5}
.web .nav{position:relative}
