@property --txt-top { syntax: '<length>'; inherits: true; initial-value: 420px; }

/* ---------- fonts (self-hosted woff2: cyrillic + latin; latin-ext only where the ruble sign is set) ---------- */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-cyrillic-ext-400-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-400-normal.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: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-cyrillic-ext-500-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-latin-500-normal.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: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-600-normal.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: 'Noto Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/noto-serif-display-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/noto-serif-display-latin-400-normal.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: 'Noto Serif Display'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/noto-serif-display-cyrillic-ext-500-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/noto-serif-display-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/noto-serif-display-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/noto-serif-display-latin-500-normal.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: 'Noto Serif Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/noto-serif-display-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/noto-serif-display-latin-600-normal.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: 'Noto Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/noto-serif-display-cyrillic-400-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/noto-serif-display-latin-400-italic.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: 'Noto Serif Display'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/noto-serif-display-cyrillic-500-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Noto Serif Display'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/noto-serif-display-latin-500-italic.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; }

:root {
  --bg: #0D0F12;
  --ink: #F6F1E7;
  --ink-2: rgba(246, 241, 231, 0.8);
  --ink-3: rgba(246, 241, 231, 0.56);
  --gold: #C9A35A;
  --gold-hi: #E7C882;
  --champ: #E8D9B5;
  --cyan: #7FE7FF;
  --red: #FF5A4E;
  --hair: rgba(232, 217, 181, 0.22);
  --serif: 'Noto Serif Display', 'Times New Roman', serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 5.4vw, 88px);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #111; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrim { position: absolute; inset: 0; pointer-events: none; opacity: 1; transition: opacity 0.6s ease;
  background: linear-gradient(180deg, rgba(9, 10, 12, 0.82) 0px, rgba(9, 10, 12, 0.5) 70px, rgba(9, 10, 12, 0) 150px), linear-gradient(90deg, rgba(9, 10, 12, 0.86) 0%, rgba(9, 10, 12, 0.74) 26%, rgba(9, 10, 12, 0.4) 39%, rgba(9, 10, 12, 0.08) 49%, rgba(9, 10, 12, 0) 56%, rgba(9, 10, 12, 0) 86%, rgba(9, 10, 12, 0.55) 96%, rgba(9, 10, 12, 0.7) 100%); }
.no-text .scrim { opacity: 0.22; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.labels > * { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); background: rgba(10, 12, 15, 0.82); border: 1px solid rgba(232, 217, 181, 0.28); white-space: nowrap; transform-origin: 0 50%; }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 2px var(--c); }

.queue { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(40, 10, 9, 0.92), rgba(12, 6, 6, 0.92) 70%); border: 1px solid rgba(255, 90, 78, 0.55);
  box-shadow: 0 0 0 6px rgba(255, 90, 78, 0.08), 0 0 40px rgba(255, 90, 78, 0.35), inset 0 0 24px rgba(255, 90, 78, 0.25); }
.queue-k { font-size: 14px; color: rgba(255, 186, 176, 0.9); }
.queue-n { font-family: var(--serif); font-size: 54px; line-height: 1; font-weight: 500; color: #FFD9D2; text-shadow: 0 0 18px rgba(255, 90, 78, 0.9); font-variant-numeric: tabular-nums; }
.queue.calm { border-color: rgba(127, 231, 255, 0.5); background: radial-gradient(circle at 50% 40%, rgba(8, 26, 32, 0.92), rgba(6, 12, 14, 0.92) 70%);
  box-shadow: 0 0 0 6px rgba(127, 231, 255, 0.07), 0 0 40px rgba(127, 231, 255, 0.28), inset 0 0 24px rgba(127, 231, 255, 0.2); }
.queue.calm .queue-k { color: rgba(190, 240, 255, 0.9); }
.queue.calm .queue-n { color: #E6FBFF; text-shadow: 0 0 18px rgba(127, 231, 255, 0.9); }

.callout { display: flex; align-items: center; gap: 12px; max-width: 300px; padding: 12px 16px; border-radius: 14px; font-size: 16px; line-height: 1.35; font-weight: 500;
  color: var(--ink); background: rgba(14, 12, 9, 0.88); border: 1px solid rgba(255, 184, 104, 0.5); box-shadow: 0 0 34px rgba(255, 184, 104, 0.18); }
.callout-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #FFB868; box-shadow: 0 0 12px #FFB868; }

.plaque { padding: 6px 12px; border-radius: 6px; font-family: var(--serif); font-size: 18px; letter-spacing: 0.06em; font-weight: 500; color: #FBE9C4;
  background: rgba(12, 10, 7, 0.82); border: 1px solid rgba(201, 163, 90, 0.6); white-space: nowrap; }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad) 0; pointer-events: none; }
.hdr > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; color: var(--ink); }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; border: 1.6px solid var(--gold); position: relative; box-shadow: 0 0 12px rgba(201, 163, 90, 0.35); }
.logo-mark::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.logo-mark { flex: none; }
/* a long ?brand= name gives way to the header buttons instead of running under them */
.hdr { gap: 16px; }
.logo { min-width: 0; }
.logo-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-right { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr .btn { gap: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; border: 0; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-gold { color: #17120A; background: linear-gradient(180deg, #F1D58F 0%, #D7B56C 46%, #B48D46 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(90, 60, 15, 0.35), 0 10px 30px -8px rgba(201, 163, 90, 0.55); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 36px -8px rgba(201, 163, 90, 0.7); }
.btn-ghost { color: var(--ink); background: rgba(12, 13, 16, 0.55); box-shadow: inset 0 0 0 1px rgba(232, 217, 181, 0.32); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(232, 217, 181, 0.7); }

.sound { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(12, 13, 16, 0.62); box-shadow: inset 0 0 0 1px rgba(232, 217, 181, 0.24); border: 0; cursor: pointer;
  color: var(--ink-3); font-size: 14px; }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; transition: height 0.3s; }
.sound[aria-pressed="true"] { color: var(--champ); }
.sound[aria-pressed="true"] .sound-bars i { animation: bars 1.1s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: 0.2s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: 0.4s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: 0.6s; }
@keyframes bars { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- progress rail ---------- */
.rail { position: fixed; right: calc(var(--pad) * 0.42); top: 50%; transform: translateY(-50%); z-index: 25; }
.rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.rail ol::before { content: ''; position: absolute; right: 3px; top: 8px; bottom: 8px; width: 1px; background: var(--hair); pointer-events: none; }
.rail li { margin: 0; }
.rail button { width: 100%; text-shadow: 0 0 10px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.9); display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 30px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--ink-3); font-size: 13.5px; transition: color 0.4s; }
.rail button::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3A3528; box-shadow: inset 0 0 0 1px rgba(232, 217, 181, 0.35); transition: all 0.4s; }
.rail button span { opacity: 0; transform: translateX(6px); transition: opacity 0.4s, transform 0.4s; }
.rail:hover button span { opacity: 0.85; transform: none; }
.rail button.on { color: var(--ink); }
.rail button.on span, .rail button:hover span, .rail button:focus-visible span { opacity: 1; transform: none; }
.rail button.on::after { background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.18), 0 0 14px rgba(231, 200, 130, 0.8); }
.rail button.past::after { background: var(--gold); }

/* ---------- chapters ---------- */
.chapters { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.ch { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: 37vw; visibility: hidden; opacity: 0; }
.ch { isolation: isolate; }
.ch-halo { position: absolute; left: -16%; right: -30%; top: -26%; bottom: -26%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(8, 9, 11, 0.74) 0%, rgba(8, 9, 11, 0.55) 50%, rgba(8, 9, 11, 0) 100%); }
.ch-hero { top: 52%; width: min(41vw, 660px); visibility: visible; opacity: 1; pointer-events: auto; }
.ch-top { top: 15vh; transform: none; }
.ch-low { top: auto; bottom: 11vh; transform: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 16px; font-weight: 500; letter-spacing: 0.005em; color: var(--gold-hi); }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 163, 90, 0)); }
.eyebrow-red { color: #FF9A8F; }
.eyebrow-red::before { background: linear-gradient(90deg, var(--red), rgba(255, 90, 78, 0)); }
.lv { font-family: var(--serif); font-size: 19px; color: var(--champ); margin-right: 2px; }
.title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 3.7vw, 68px); line-height: 1.0; letter-spacing: -0.012em; color: var(--ink); }
.ln > span { white-space: nowrap; }
.t-xl { font-size: clamp(50px, 6.3vw, 110px); line-height: 0.96; letter-spacing: -0.02em; }
.title em { font-style: italic; font-weight: 400; color: transparent; background: linear-gradient(100deg, #F6E3B4 0%, #D9B66C 45%, #B78E45 75%, #EED39A 100%); -webkit-background-clip: text; background-clip: text; padding-right: 0.06em; }
.ln { display: block; overflow: hidden; padding: 0.04em 0 0.1em; margin-bottom: -0.1em; }
.ln > span { display: inline-block; will-change: transform; }
/* hero kicker: the workshop's name (swapped by ?brand=) rises with the title lines */
.ln-k { margin: 0 0 18px; padding: 0.1em 0; font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: 0.005em; color: var(--gold-hi); }
.ln-k > span { white-space: normal; }
.ln-k > span::before { content: ''; display: inline-block; vertical-align: middle; width: 34px; height: 1px; margin: 0 12px 0.2em 0; background: linear-gradient(90deg, var(--gold), rgba(201, 163, 90, 0)); }
.lead { margin: 30px 0 0; max-width: 33em; font-size: 18.5px; line-height: 1.55; color: var(--ink-2); }
.line { margin: 26px 0 0; max-width: 28em; font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.line b { color: var(--ink); font-weight: 600; }
.line-sm { font-size: 17px; color: var(--ink-3); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.num { display: flex; flex-direction: column; gap: 6px; margin: 30px 0 0; }
.num-n { font-family: var(--serif); font-size: clamp(38px, 3.6vw, 60px); line-height: 1; font-weight: 500; color: var(--champ); }
.num-red .num-n { color: #FFB3A9; text-shadow: 0 0 30px rgba(255, 90, 78, 0.35); }
.num-k { font-size: 15px; color: var(--ink-3); }

.proof { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.proof li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 18px; padding: 18px 0; border-top: 1px solid var(--hair); }
.proof li:last-child { border-bottom: 1px solid var(--hair); }
.pf-n { font-family: var(--serif); font-size: clamp(34px, 3.3vw, 54px); line-height: 1.02; font-weight: 500; color: var(--champ); }
.pf-k { grid-column: 1; font-size: 16px; color: var(--ink-2); margin-top: 4px; }
.pf-tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; color: var(--ink-3);
  padding: 5px 10px; border: 1px solid var(--hair); border-radius: 999px; }

.prices { list-style: none; margin: 34px 0 0; padding: 0; }
.prices li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 16px 0; border-top: 1px solid var(--hair); }
.prices li:last-child { border-bottom: 1px solid var(--hair); }
.pr-name { font-size: 18px; font-weight: 500; color: var(--ink); }
.pr-sum { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--serif); font-size: clamp(24px, 2.1vw, 34px); font-weight: 500; color: var(--champ); }
.pr-term { font-size: 14px; color: var(--ink-3); margin-top: 2px; }

/* ---------- scroll + request ---------- */
#scroll { position: relative; z-index: 5; }
.film { height: 1300vh; height: 1300svh; pointer-events: none; }
.request { position: relative; z-index: 15; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px var(--pad) 28px; }
.req-card { width: min(600px, 100%); padding: 38px 40px 34px; border-radius: 22px; background: linear-gradient(180deg, rgba(17, 18, 21, 0.94), rgba(10, 11, 13, 0.96));
  box-shadow: inset 0 0 0 1px rgba(201, 163, 90, 0.32), 0 40px 120px -30px rgba(0, 0, 0, 0.8); position: relative; }
.req-card::before { content: ''; position: absolute; left: 40px; right: 40px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(201, 163, 90, 0), rgba(231, 200, 130, 0.9), rgba(201, 163, 90, 0)); }
.req-title { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(38px, 3.4vw, 54px); font-weight: 500; line-height: 1; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; flex: 1; min-width: 0; }
.field-k { font-size: 14px; color: var(--ink-3); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: rgba(255, 255, 255, 0.035); border: 0; border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(232, 217, 181, 0.2); padding: 14px 16px; resize: none; transition: box-shadow 0.25s; }
.field textarea { line-height: 1.45; color: var(--champ); }
.field input::placeholder, .field textarea::placeholder { color: rgba(246, 241, 231, 0.36); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold-hi), 0 0 0 4px rgba(201, 163, 90, 0.15); }
.field-row { display: flex; gap: 14px; }
.field-err { display: none; font-size: 13.5px; color: #FF9A8F; }
.invalid .field-err, .field-err.show { display: block; }
.invalid input { box-shadow: inset 0 0 0 1.5px rgba(255, 90, 78, 0.8); }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; margin: 4px 0 8px; }
.consent input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.consent .box { flex: none; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(232, 217, 181, 0.5); margin-top: 1px; position: relative; transition: all 0.2s; }
.consent input:checked + .box { background: linear-gradient(180deg, #F1D58F, #B48D46); box-shadow: none; }
.consent input:checked + .box::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #17120A; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent input:focus-visible + .box { outline: 2px solid var(--cyan); outline-offset: 3px; }
.req-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.req-alt { font-size: 14px; color: var(--ink-3); }
.req-alt a { color: var(--champ); text-underline-offset: 3px; }
.statuses { list-style: none; margin: 8px 0 0; padding: 0; }
.statuses li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); font-size: 18px; color: var(--ink-3); opacity: 0.35; transform: translateY(6px); transition: all 0.6s cubic-bezier(.2,.7,.2,1); }
.statuses li i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(232, 217, 181, 0.5); flex: none; transition: all 0.5s; }
.statuses li.on { color: var(--ink); opacity: 1; transform: none; }
.statuses li.on i { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.req-note { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.foot { display: flex; gap: 24px; flex-wrap: wrap; margin-top: auto; padding-top: 28px; font-size: 13px; color: var(--ink-3); }

/* ---------- cue + loader ---------- */
.cue { display: flex; align-items: center; gap: 14px; margin: 34px 0 0; font-size: 15px; color: var(--ink-3); }
.cue i { flex: none; width: 1px; height: 34px; background: linear-gradient(180deg, rgba(231, 200, 130, 0), rgba(231, 200, 130, 0.8)); position: relative; overflow: hidden; }
.cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #FFF4DA; box-shadow: 0 0 6px #FFE3A8; animation: cue 2.2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue { 0% { top: -40%; } 100% { top: 110%; } }

.loader { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--bg);
  color: var(--ink-3); font-size: 15px; transition: opacity 0.6s ease, visibility 0.6s; }
.loader svg { width: 84px; height: 84px; animation: spin 6s linear infinite; }
.loader circle { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 60 220; stroke-linecap: round; }
.loader circle.l2 { stroke: var(--champ); stroke-dasharray: 30 180; animation: spin 2.4s linear infinite reverse; transform-origin: 60px 60px; }
.loader circle.l3 { fill: var(--cyan); stroke: none; filter: drop-shadow(0 0 6px var(--cyan)); }
.loader.gone { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- prices stay beside the form on wide screens ---------- */
@media (min-width: 1200px) {
  .request { align-items: flex-end; padding-right: clamp(120px, 9vw, 150px); }
  .req-card { width: min(560px, 100%); }
  .foot { align-self: flex-start; }
}

/* ---------- short desktop screens ---------- */
@media (min-width: 761px) and (max-height: 820px) {
  .t-xl { font-size: clamp(46px, min(6.3vw, 9.4vh), 110px); }
  .ch-hero .lead { margin-top: 20px; font-size: 17px; }
  .hero-cta { margin-top: 22px; }
  .cue { margin-top: 16px; }
  .title { font-size: clamp(36px, min(3.7vw, 6.6vh), 68px); }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hdr { padding: 14px 16px 0; }
  .logo { font-size: 22px; gap: 9px; }
  .logo-mark { width: 21px; height: 21px; }
  .logo-mark::after { inset: 6px; }
  .hdr-right { gap: 10px; }
  .hdr .btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .hdr .btn .full { display: none; }
  .sound { padding: 0 8px; height: 38px; }
  .sound-t { display: none; }
  .scrim { transition: --txt-top 0.7s cubic-bezier(.3,.7,.2,1), opacity 0.6s ease;
    background: linear-gradient(180deg, rgba(9, 10, 12, 0.78) 0px, rgba(9, 10, 12, 0) 96px),
      linear-gradient(0deg, rgba(9, 10, 12, 0.97) 0px, rgba(9, 10, 12, 0.92) calc(100% - var(--txt-top) + 18px), rgba(9, 10, 12, 0) calc(100% - var(--txt-top) + 150px)); }
  .ch, .ch-hero { left: 20px; right: 20px; width: auto; top: auto; bottom: calc(26px + env(safe-area-inset-bottom)); transform: none; }
  .eyebrow { margin-bottom: 12px; font-size: 14px; }
  .ln-k { margin-bottom: 10px; font-size: 14px; }
  .title { font-size: clamp(31px, 8.6vw, 40px); }
  .ln > span { white-space: normal; }
  .t-xl { font-size: clamp(34px, 10vw, 44px); }
  .lead { font-size: 15.5px; margin-top: 16px; }
  .line { font-size: 16.5px; margin-top: 14px; }
  .hero-cta { margin-top: 18px; gap: 8px; flex-wrap: nowrap; }
  .hero-cta .btn-lg { height: 46px; padding: 0 10px; font-size: 14px; flex: 1 1 0; }
  .ch-hero .lead { font-size: 15px; line-height: 1.45; margin-top: 14px; }
  .field textarea { height: auto; min-height: 98px; }
  .num { margin-top: 16px; }
  .num-n { font-size: 32px; }
  .proof { margin-top: 18px; }
  .proof li { padding: 11px 0; }
  .pf-n { font-size: 28px; }
  .pf-k { font-size: 14.5px; }
  .prices { margin-top: 18px; }
  .prices li { padding: 10px 0; }
  .pr-name { font-size: 16px; }
  .pr-sum { font-size: 22px; }
  .pr-term { font-size: 13px; }
  .ch-halo { display: none; }
  .rail { right: 8px; }
  .rail button { height: 20px; gap: 0; font-size: 12px; }
  .rail button span { display: none; }
  .rail button::after { width: 5px; height: 5px; }
  .rail ol::before { right: 2px; }
  .cue { margin-top: 14px; font-size: 13.5px; }
  .cue i { height: 24px; }
  .request { padding: 84px 14px 18px; }
  .sent .scrim { opacity: 0.35; transition: opacity 1.2s ease; }
  .req-card { padding: 26px 20px 22px; border-radius: 18px; }
  .req-card::before { left: 20px; right: 20px; }
  .req-title { font-size: 34px; margin-bottom: 16px; }
  .field { margin-bottom: 12px; }
  .field-row { flex-direction: column; gap: 0; }
  .field input, .field textarea { padding: 12px 14px; font-size: 16px; }
  .consent { font-size: 13.5px; }
  .tag { font-size: 13px; padding: 5px 10px 5px 9px; }
  .queue { width: 104px; height: 104px; }
  .queue-n { font-size: 42px; }
  .callout { max-width: 220px; font-size: 14px; padding: 9px 12px; }
  .plaque { font-size: 14px; padding: 4px 9px; }
  /* phone floor: tap targets of 44 px and more (hit areas grow, the pills keep their look), no text under 15 px */
  .hdr .btn, .sound, .logo, .req-alt a { position: relative; }
  .hdr .btn::after, .sound::after, .logo::after, .consent::after { content: ''; position: absolute; inset: -4px -2px; }
  .sound::after { inset: -4px -7px; }
  .logo::after { inset: -6px -4px; }
  .consent::after { inset: -12px 0; }
  .req-alt a { display: inline-block; padding: 14px 8px; margin: -14px -8px; }
  .hdr .btn, .hero-cta .btn-lg, .eyebrow, .ln-k, .pf-k, .pf-tag, .pr-term, .cue, .consent, .field-k, .field-err, .req-alt, .req-note, .foot,
  .tag, .callout, .plaque, .queue-k { font-size: 15px; }
  .hero-cta .btn-lg { padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cue i::after, .loader svg, .loader circle.l2, .sound-bars i { animation: none !important; }
  .statuses li { transition: opacity 0.3s; transform: none; }
}
