/* ==========================================================================
   Madman Academy · site styles · v3
   Источник правил: брендбук v3.0, логобук v1.0, тон голоса v1.2
   Цвета: Ink / Bone / Cardinal / Brass (+ Steel, Verdant, Bone-Hi, Line)
   Шрифты: Prata (дисплей, caps) · Onest (текст) · JetBrains Mono (цифры, метки)
   ========================================================================== */

:root {
  --ink: #0D0F1A;
  --bone: #EFEBE3;
  --bone-hi: #F7F4EE;
  --cardinal: #B3202E;
  --cardinal-deep: #971A27;
  --brass: #C89B3C;
  --steel: #6F7484;
  --verdant: #1F8A5B;
  --line: #D9D4C8;
  --fire: #FF6A1A;
  --fire-hi: #FFB22E;

  --line-ink: rgba(247, 244, 238, 0.14);
  --line-ink-strong: rgba(247, 244, 238, 0.32);
  --text-on-ink: rgba(247, 244, 238, 0.84);
  --muted-on-ink: #8C91A0;
  --muted-on-bone: #6F7484;
  --card-bg: var(--ink);

  --font-display: 'Prata', Georgia, 'Times New Roman', serif;
  --font-text: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-suit: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols 2', serif;

  --w: 1120px;
  --gutter: 24px;
  --nav-h: 72px;
  --nav-top: 12px;
  --sound-h: 80px;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='118' viewBox='0 0 48 118'%3E%3Cpath d='M24 0L48 59 24 118 0 59Z' fill='none' stroke='%23F7F4EE' stroke-opacity='0.1'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone-hi); font: 400 16px/1.6 var(--font-text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--ink); }
[hidden] { display: none !important; }

/* ---------- typography ---------- */
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(36px, 4.6vw, 66px); line-height: 1.1; }
.h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(23px, 2.6vw, 34px); line-height: 1.2; }
.h3 { font-family: var(--font-text); font-weight: 600; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.4; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--text-on-ink); max-width: 690px; }
.section--bone .lead { color: var(--ink); }
.body { max-width: 690px; color: var(--text-on-ink); }
.section--bone .body { color: var(--ink); }
.muted { color: var(--muted-on-ink); }
.section--bone .muted { color: var(--muted-on-bone); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); }
.label { font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; }
.data { font-family: var(--font-mono); font-weight: 700; font-size: clamp(24px, 3vw, 48px); line-height: 1; letter-spacing: -0.01em; }
.num { font-family: var(--font-mono); font-weight: 500; }
.brass { color: var(--brass); }
.cardinal { color: var(--cardinal); }
.steel { color: var(--steel); }
.keep-case { text-transform: none !important; }   /* «iGaming» внутри капсовых заголовков; !important — чтобы побеждать правила вида .marquee__group span */

.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--brass); }
.section--bone .kicker { color: var(--bone-hi); background: var(--ink); padding: 8px 12px; }
.section--bone .kicker::before { display: none; }
.kicker--glow { font-size: 18px; letter-spacing: 0.24em; text-shadow: 0 0 14px rgba(200, 155, 60, 0.65), 0 0 30px rgba(200, 155, 60, 0.3); }
.kicker--glow::before { display: none; }

/* ---------- layout ---------- */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section--bone { background: var(--bone); color: var(--ink); --card-bg: var(--bone-hi); }
.section--line-top { border-top: 1px solid var(--line-ink); }
.section--bone.section--line-top { border-top-color: var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }
.section__head .h2 { margin-bottom: 20px; }
.section__num { position: absolute; right: var(--gutter); top: 24px; font-family: var(--font-mono); font-weight: 700; font-size: clamp(120px, 20vw, 300px); line-height: 1; color: rgba(247, 244, 238, 0.045); pointer-events: none; user-select: none; }
.section--bone .section__num { color: rgba(13, 15, 26, 0.05); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.stack > * + * { margin-top: 16px; }
.rule { height: 1px; background: var(--line-ink); border: 0; margin: 0; }
.section--bone .rule { background: var(--line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 24px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.25s;
}
.btn small { font-size: 11px; letter-spacing: 0.08em; opacity: 0.75; text-transform: none; }
.btn--primary { background: var(--cardinal); color: var(--bone-hi); --glow-line: #E2394A; --glow: rgba(179, 32, 46, 0.6); }
.btn--primary:hover { background: var(--cardinal-deep); }
.btn--ghost { border-color: var(--line-ink-strong); color: var(--bone-hi); --glow-line: var(--bone-hi); --glow: rgba(247, 244, 238, 0.3); }
.btn--ghost:hover { border-color: var(--bone-hi); }
.btn--brass { background: var(--brass); color: var(--ink); --glow-line: #E8C070; --glow: rgba(200, 155, 60, 0.6); }
.btn--brass:hover { background: #B88C33; }
.btn--brass-ghost { border-color: var(--brass); color: var(--brass); --glow-line: #E8C070; --glow: rgba(200, 155, 60, 0.55); }
.btn--brass-ghost:hover { background: rgba(200, 155, 60, 0.14); color: #E8C070; }
.btn--ink { background: var(--ink); color: var(--bone-hi); }
.btn--ink:hover { background: #1C2036; }
.btn--ghost-ink { border-color: var(--ink); color: var(--ink); }
.btn--ghost-ink:hover { background: var(--ink); color: var(--bone-hi); }
.btn--bone { background: var(--bone-hi); color: var(--ink); }
.btn--bone:hover { background: var(--bone); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 11px; }
.btn--glow:hover { box-shadow: 0 0 0 1px var(--glow-line, var(--brass)), 0 0 18px var(--glow, rgba(200, 155, 60, 0.55)); transform: translateY(-1px); }
.btn .arrow { font-family: var(--font-mono); }
.arrow--bounce { display: inline-block; animation: bounceY 1.4s ease-in-out infinite; }
@keyframes bounceY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--bone-hi); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.link:hover { border-bottom-color: currentColor; }
.section--bone .link { color: var(--ink); }
.link--brass { color: var(--brass); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- cards ---------- */
.card { position: relative; border: 1px solid var(--line-ink); padding: 28px; background: transparent; text-decoration: none; color: inherit; display: block; }
.card--frame::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-ink); pointer-events: none; }
.card--frame { padding: 34px; }
.card--hover { transition: border-color 0.2s, background-color 0.2s, transform 0.2s, box-shadow 0.25s; }
.card--hover:hover { border-color: var(--line-ink-strong); background: rgba(247, 244, 238, 0.025); }
.section--bone .card { border-color: var(--line); background: var(--bone-hi); }
.section--bone .card--frame::after { border-color: var(--line); }
.section--bone .card--hover:hover { border-color: var(--steel); }
.card__idx { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__idx .tag { color: var(--steel); text-align: right; }
.card .h3 { margin-bottom: 10px; }
.card p { color: var(--text-on-ink); }
.section--bone .card p { color: var(--ink); }
.card__foot { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card__foot--btns { justify-content: flex-start; }
.card__foot--btns .btn { flex: 1 1 auto; }

/* ---------- tier frames: bronze → silver → gold → platinum (без угловых квадратов) ---------- */
/* контурная рамка со скруглением, как у игральной карты: внешний контур + внутренний на 6 px, без заливки */
.tier { position: relative; border: 1px solid rgba(var(--tier-rgb), 0.75); border-radius: 22px; background: transparent; overflow: hidden; transition: border-color 0.25s, transform 0.25s, box-shadow 0.3s; }
.tier::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(var(--tier-rgb), 0.28); border-radius: 16px; pointer-events: none; }
.tier--bronze { --tier-rgb: 181, 116, 60; }
.tier--silver { --tier-rgb: 176, 183, 194; }
.tier--gold { --tier-rgb: 200, 155, 60; }
.tier--platinum { --tier-rgb: 222, 229, 236; }
.tier > *:not(.bgcard) { position: relative; z-index: 1; }
.tier__name { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(var(--tier-rgb), 0.35); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.2em; font-size: clamp(20px, 2vw, 26px); line-height: 1; color: rgb(var(--tier-rgb)); text-shadow: 0 0 16px rgba(var(--tier-rgb), 0.4); }
.tier__suit { font-family: 'JetBrains Mono', var(--font-suit); font-weight: 700; font-size: 0.82em; letter-spacing: 0.04em; color: var(--bone-hi); text-shadow: none; }
.tier__suit--red { color: var(--cardinal); }
.section--bone .tier__suit { color: var(--ink); }
.tier:hover, .tier.reveal.in:hover { border-color: rgb(var(--tier-rgb)); transform: translateY(-3px); box-shadow: 0 0 26px rgba(var(--tier-rgb), 0.22); }
.tier .cohort { border-radius: 12px; }
.tier .card__idx { color: rgb(var(--tier-rgb)); }
.tier .card__idx .tag { color: var(--steel); }

/* фоновая карта в блоке: почти невидима, при наведении подсвечивается и выпрямляется */
.bgcard {
  position: absolute; right: 22px; top: 50%; width: 138px; height: 194px; margin-top: -97px;
  border: 1px solid currentColor; border-radius: 8px; color: var(--bone-hi); opacity: 0.07; transform: rotate(10deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; pointer-events: none; z-index: 0;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bgcard::before { content: attr(data-rank); font-family: var(--font-display); font-size: 60px; line-height: 1; }
.bgcard::after { content: attr(data-suit); font-family: var(--font-suit); font-size: 40px; line-height: 1; }
.bgcard i { position: absolute; top: 8px; left: 10px; font-family: var(--font-mono); font-weight: 700; font-size: 12px; line-height: 1.1; }
.bgcard i::before { content: attr(data-rank); display: block; }
.bgcard i::after { content: attr(data-suit); font-family: var(--font-suit); }
.bgcard[data-red] { color: #E24856; }
.tier:hover .bgcard { opacity: 0.22; transform: rotate(0deg) scale(1.05); }

/* XP-бар уровня */
.xp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 6px 0 20px; }
.xp__lvl { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--tier-rgb)); }
.xp__segs { display: flex; gap: 4px; }
.xp__segs i { flex: 1; height: 6px; background: rgba(247, 244, 238, 0.08); }
.section--bone .xp__segs i { background: rgba(13, 15, 26, 0.08); }
.xp__segs i.on { background: rgb(var(--tier-rgb)); }
.xp__n { font-family: var(--font-mono); font-size: 11px; color: var(--steel); }

/* ---------- navigation ---------- */
.nav { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 60; padding: 0 var(--gutter); pointer-events: none; }
.nav__bar { pointer-events: auto; position: relative; max-width: var(--w); margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 12px; background: rgba(13, 15, 26, 0.82); transition: background-color 0.3s, box-shadow 0.3s; }
.nav.is-scrolled .nav__bar { background: rgba(13, 15, 26, 0.96); box-shadow: 0 1px 0 var(--line-ink); }
.nav__logo { display: flex; align-items: center; height: 100%; text-decoration: none; }
.nav__logo img { height: 50px; width: auto; }
.nav__links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 2px; }
.nav__links a { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-ink); text-decoration: none; padding: 10px 12px; transition: color 0.2s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-active { color: var(--bone-hi); }
.nav__cta { display: flex; align-items: center; gap: 6px; }
.nav__tg { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; text-decoration: none; color: var(--bone-hi); }
.nav__tg svg { width: 26px; height: 26px; fill: var(--brass); animation: tgglow 2.6s ease-in-out infinite; transition: transform 0.2s; }
.nav__tg:hover svg { transform: translate(2px, -2px); }
@keyframes tgglow { 0%, 100% { filter: drop-shadow(0 0 3px rgba(200, 155, 60, 0.55)); } 50% { filter: drop-shadow(0 0 10px rgba(200, 155, 60, 1)) drop-shadow(0 0 18px rgba(200, 155, 60, 0.5)); } }
.nav__burger { display: none; width: 46px; height: 46px; position: relative; }
.nav__burger .lines, .nav__burger .lines::before, .nav__burger .lines::after { content: ""; position: absolute; left: 13px; width: 20px; height: 1px; background: var(--bone-hi); transition: opacity 0.2s; }
.nav__burger .lines { top: 50%; }
.nav__burger .lines::before { left: 0; top: -6px; }
.nav__burger .lines::after { left: 0; top: 6px; }
.nav__burger .mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; }
.nav__burger .mark svg { width: 28px; height: 26px; }
.nav__burger .mark .m { fill: var(--bone-hi); } .nav__burger .mark .b { fill: var(--brass); } .nav__burger .mark .p { fill: var(--cardinal); }
.nav.is-open .nav__burger .lines { opacity: 0; }
.nav.is-open .nav__burger .mark { opacity: 1; animation: roulette 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes roulette { from { transform: rotateY(0deg) scale(0.6); } to { transform: rotateY(720deg) scale(1); } }
.nav__mobile { display: none; pointer-events: auto; max-width: var(--w); margin: 8px auto 0; background: rgba(13, 15, 26, 0.98); border-top: 1px solid var(--line-ink); padding: 16px; }
.nav__mobile a { display: block; padding: 14px 8px; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--bone-hi); border-bottom: 1px solid var(--line-ink); }
.nav__mobile a:last-child { border-bottom: 0; }
.nav.is-open .nav__mobile { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--nav-top) + var(--nav-h) + 20px); padding-bottom: 64px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, rgba(13, 15, 26, 0), var(--ink) 85%); pointer-events: none; z-index: 1; }
.hero > * { position: relative; z-index: 2; }
.hero__stage { position: relative; height: min(54vh, 520px); min-height: 300px; margin: 0 auto; width: 100%; max-width: 1120px; }
.hero__stage canvas { width: 100%; height: 100%; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__stage #hero-canvas { position: relative; z-index: 1; }
.hero__fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.hero__fallback img { height: 78%; width: auto; }
.no-canvas .hero__fallback { display: flex; }
.no-canvas .hero__stage canvas { display: none; }
.hero__copy { text-align: center; max-width: 920px; margin: 8px auto 0; padding: 0 var(--gutter); }
.hero__copy .kicker { justify-content: center; margin-bottom: 36px; }
.hero__copy .display { margin-bottom: 26px; }
.hero__lead { margin: 0 auto 32px; max-width: 800px; }
.display .hl { color: var(--cardinal); animation: hlglow 3.2s ease-in-out infinite; }
@keyframes hlglow { 0%, 100% { text-shadow: 0 0 6px rgba(179, 32, 46, 0.25); } 50% { text-shadow: 0 0 22px rgba(179, 32, 46, 0.8), 0 0 48px rgba(179, 32, 46, 0.35); } }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__note { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.hero__alt { margin-top: 4px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); padding: 16px 0; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee__group span { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-ink); padding: 0 28px; white-space: nowrap; }
.marquee__group span::after { content: "\00b7"; color: var(--brass); margin-left: 56px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee--big { padding: 26px 0; }
.marquee--big .marquee__track { animation-duration: 60s; }
.marquee--big .marquee__group span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(18px, 2.3vw, 30px); color: var(--bone-hi); padding: 0 36px; }
.marquee--big .marquee__group span::after { content: "\2726"; color: var(--brass); margin-left: 72px; font-size: 0.55em; vertical-align: middle; }
.marquee--big .marquee__group span em { font-style: normal; color: var(--cardinal); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- position: text + deck ---------- */
.position__grid { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: start; }
.position__intro { margin-bottom: 20px; }
.deck { max-width: 460px; margin: 0 auto; outline: none; }
.deck:focus-visible { outline: 2px solid var(--brass); outline-offset: 12px; }
.deck__stage { position: relative; height: 420px; perspective: 1400px; }
.deck__card {
  position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; width: 100%; max-width: 420px; height: 396px;
  transform-origin: 50% 120%; z-index: calc(10 - var(--n)); transform: translateY(calc(var(--n) * 12px)) scale(calc(1 - var(--n) * 0.045));
  transition: transform 0.35s ease, opacity 0.35s ease; touch-action: pan-y; user-select: none;
}
.deck__card:not(:first-child) { pointer-events: none; }
.deck__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.deck__card.is-flipped .deck__inner { transform: rotateY(180deg); }
.deck__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: var(--bone-hi); color: var(--ink); border: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.deck__face::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.deck__back { transform: rotateY(180deg); }
.deck__card.lean-yes .deck__front { box-shadow: inset 0 0 0 3px var(--cardinal); }
.deck__card.lean-no .deck__front { box-shadow: inset 0 0 0 3px var(--ink); }
.deck__suit { position: absolute; font-size: 30px; line-height: 1; color: var(--ink); font-family: var(--font-suit); }
.deck__suit--red { color: var(--cardinal); }
.deck__suit--tl { top: 14px; left: 16px; }
.deck__suit--br { bottom: 14px; right: 16px; transform: rotate(180deg); }
.deck__label { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.deck__text { margin: auto 0; font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; text-align: center; padding: 0 14px; color: var(--ink); }
.deck__joker { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.2em; color: var(--steel); }
.deck__joker svg { width: 42px; height: 38px; }
.deck__joker .b { fill: var(--brass); }
.deck__card--yes .deck__joker .m, .deck__card--yes .deck__joker .p { fill: var(--cardinal); }
.deck__card--no .deck__joker .m, .deck__card--no .deck__joker .p { fill: var(--ink); }
.deck__verdict { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 30px; line-height: 1; margin: 14px 0 6px; color: var(--ink); }
.deck__card--yes .deck__verdict { color: var(--cardinal); }
.deck__guess { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-bottom: 12px; }
.deck__card.is-hit .deck__guess { color: var(--verdant); }
.deck__card.is-miss .deck__guess { color: var(--cardinal); }
.deck__why { font-size: 14px; line-height: 1.5; color: var(--ink); margin-bottom: auto; overflow: auto; }
.deck__back .btn { align-self: flex-start; margin-top: 14px; }
.deck__card.is-out-left { transform: translateX(-140%) rotate(-18deg) !important; opacity: 0; }
.deck__card.is-out-right { transform: translateX(140%) rotate(18deg) !important; opacity: 0; }
.deck__ctrl { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.deck__btn--yes { border-color: var(--cardinal); color: var(--bone-hi); }
.deck__btn--yes:hover { background: rgba(179, 32, 46, 0.18); border-color: #E2394A; }
.deck__btn--no { border-color: var(--line-ink-strong); }
.deck__count { font-size: 11px; letter-spacing: 0.14em; color: var(--steel); }
.deck__end { text-align: center; padding: 40px 24px; border: 1px solid var(--line-ink); height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.deck__end .data small { font-size: 0.45em; color: var(--steel); }
.deck__end .cta-row { justify-content: center; }
.deck__endline { color: var(--text-on-ink); max-width: 340px; margin: 0 auto; }

/* ---------- audiences (levels) ---------- */
.aud__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.aud__card { padding: 34px 30px 30px; display: flex; flex-direction: column; }
.aud__card .h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(20px, 1.9vw, 26px); margin-bottom: 4px; }
.aud__q { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--tier-rgb)); margin: 18px 0 8px; }
.aud__card p { color: var(--text-on-ink); font-size: 16px; }
.aud__card .card__foot { margin-top: auto; padding-top: 24px; }

/* ---------- programmes ---------- */
.prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prog .card { display: flex; flex-direction: column; min-height: 100%; padding: 34px 30px 30px; }
.prog .card .h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 14px; }
.prog .card p { font-size: 15px; }
.spec-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 6px; padding: 14px 0; border-top: 1px solid rgba(var(--tier-rgb), 0.35); border-bottom: 1px solid rgba(var(--tier-rgb), 0.35); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.spec-line b { font-weight: 700; color: var(--bone-hi); }
.prog .for, .aud__card .for { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--tier-rgb)); margin: 18px 0 10px; }
.prog ul.list, .aud__card ul.list { margin: 0 0 22px; }
.prog ul.list li, .aud__card ul.list li { position: relative; padding-left: 18px; color: var(--text-on-ink); font-size: 15px; margin-bottom: 8px; }
.prog ul.list li::before, .aud__card ul.list li::before { content: "\2666"; position: absolute; left: 0; top: 1px; color: rgb(var(--tier-rgb)); font-size: 12px; }
.prog .card__foot { margin-top: auto; }

/* когорта 40 / 100 */
.cohort { margin: 20px 0 6px; padding: 18px; border: 1px solid rgba(var(--tier-rgb), 0.4); transition: box-shadow 0.3s, border-color 0.3s; }
.cohort:hover { border-color: rgb(var(--tier-rgb)); box-shadow: 0 0 18px rgba(var(--tier-rgb), 0.3), inset 0 0 18px rgba(var(--tier-rgb), 0.08); }
.cohort:hover .cohort__i.lit { animation: litpulse 1.2s ease-in-out infinite; }
@keyframes litpulse { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(-7px); } }
.cohort__q { font-size: 15px; color: var(--text-on-ink); margin-bottom: 14px; }
.cohort__q b { font-family: var(--font-mono); font-weight: 700; color: var(--steel); transition: color 0.4s; }
.cohort__q b.on { color: var(--brass); }
.cohort__row { display: flex; gap: 8px; flex-wrap: wrap; }
.cohort__i { width: 26px; height: 23px; opacity: 0.16; filter: grayscale(1); transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease; }
.cohort__i.lit { opacity: 1; filter: none; transform: translateY(-3px); }
.cohort__i.off { opacity: 0.12; filter: grayscale(1); }

/* ---------- format (5 steps) + ULT ---------- */
.format__grid { display: grid; grid-template-columns: 1fr 96px; gap: 40px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); background: var(--bone-hi); }
.step { padding: 28px 24px; border-right: 1px solid var(--line); position: relative; opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.step:last-child { border-right: 0; }
.steps.in .step { opacity: 1; transform: none; }
.steps.in .step:nth-child(1) { transition-delay: 0.05s; }
.steps.in .step:nth-child(2) { transition-delay: 0.22s; }
.steps.in .step:nth-child(3) { transition-delay: 0.39s; }
.steps.in .step:nth-child(4) { transition-delay: 0.56s; }
.steps.in .step:nth-child(5) { transition-delay: 0.73s; }
.step__n { font-family: var(--font-mono); font-weight: 700; font-size: 28px; line-height: 1; color: var(--ink); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.step__n::after { content: ""; flex: 1; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.7s ease 0.5s; }
.steps.in .step__n::after { transform: scaleX(1); }
.steps.in .step:nth-child(2) .step__n::after { transition-delay: 0.7s; }
.steps.in .step:nth-child(3) .step__n::after { transition-delay: 0.9s; }
.steps.in .step:nth-child(4) .step__n::after { transition-delay: 1.1s; }
.steps.in .step:nth-child(5) .step__n::after { transition-delay: 1.3s; }
.step:last-child .step__n { color: var(--cardinal); }
.steps--calm .step:last-child .step__n { color: var(--ink); }
.step__n small { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.step .h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink); }
.ult { position: sticky; top: 18vh; height: 58vh; min-height: 340px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-right: 8px; }
.ult__top { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.24em; color: var(--steel); transition: color 0.3s; }
.ult__bar { position: relative; flex: 1; width: 12px; background: rgba(13, 15, 26, 0.06); border: 1px solid var(--line); transition: box-shadow 0.3s, border-color 0.3s; }
.ult__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--cardinal); transition: height 0.12s linear, background-color 0.4s; }
.ult__mark { position: absolute; right: 22px; bottom: var(--p); transform: translateY(50%); white-space: nowrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); transition: color 0.3s; }
.ult__mark::after { content: ""; position: absolute; right: -12px; top: 50%; width: 8px; height: 1px; background: var(--line); }
.ult__mark.on { color: var(--ink); }
.ult__flame { position: absolute; left: 50%; top: -30px; font-family: var(--font-suit); font-size: 26px; line-height: 1; color: var(--cardinal); transform: translateX(-50%) scale(0); transition: transform 0.45s cubic-bezier(0.2, 1.5, 0.4, 1); pointer-events: none; }
.ult__val { font-family: var(--font-mono); font-weight: 500; font-size: 11px; color: var(--ink); }
.ult.is-ready .ult__top { color: var(--fire); text-shadow: 0 0 10px rgba(255, 120, 30, 0.85); }
.ult.is-ready .ult__bar { border-color: var(--fire); box-shadow: 0 0 14px rgba(255, 110, 30, 0.6), 0 0 34px rgba(255, 90, 20, 0.35); }
.ult.is-ready .ult__fill { background: var(--fire); animation: firecol 0.45s ease-in-out infinite alternate; }
.ult.is-ready .ult__flame { transform: translateX(-50%) scale(1); animation: flame 0.5s ease-in-out infinite alternate; }
.ult.is-ready .ult__mark.on { color: var(--fire); }
.ult.is-ready .ult__val { color: var(--fire); }
@keyframes firecol { from { background: var(--fire); box-shadow: inset 0 0 6px rgba(255, 220, 120, 0.6); } to { background: var(--fire-hi); box-shadow: inset 0 0 10px rgba(255, 240, 160, 0.9); } }
@keyframes flame { from { transform: translateX(-50%) scale(1) rotate(-8deg); filter: drop-shadow(0 0 4px rgba(255, 140, 40, 0.8)); } to { transform: translateX(-50%) scale(1.2) rotate(8deg); filter: drop-shadow(0 0 12px rgba(255, 170, 60, 1)); } }

/* ---------- quiz ---------- */
.quiz { max-width: 800px; margin: 0 auto; }
.quiz__box { border: 1px solid var(--line-ink); padding: clamp(24px, 4vw, 44px); position: relative; background: var(--ink); }
.quiz__box::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-ink); pointer-events: none; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.quiz__top b { color: var(--bone-hi); font-weight: 500; }
.quiz__bar { height: 1px; background: var(--line-ink); margin-bottom: 32px; position: relative; }
.quiz__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brass); width: 0; transition: width 0.4s ease; }
.quiz__block { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.quiz__q { font-weight: 600; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; margin-bottom: 28px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt { display: flex; gap: 16px; align-items: flex-start; width: 100%; text-align: left; padding: 16px 18px; border: 1px solid var(--line-ink); color: var(--text-on-ink); font-size: 16px; line-height: 1.5; transition: border-color 0.2s, background-color 0.2s; }
.quiz__opt:hover:not(:disabled) { border-color: var(--bone-hi); color: var(--bone-hi); }
.quiz__opt:disabled { cursor: default; }
.quiz__opt .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--steel); padding-top: 5px; flex: 0 0 22px; }
.quiz__opt.is-correct { border-color: var(--brass); color: var(--bone-hi); }
.quiz__opt.is-correct .k { color: var(--brass); }
.quiz__opt.is-wrong { border-color: var(--cardinal); }
.quiz__opt.is-wrong .k { color: var(--cardinal); }
.quiz__opt.is-dim { opacity: 0.45; }
.quiz__why { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--brass); background: rgba(247, 244, 238, 0.04); color: var(--text-on-ink); font-size: 15px; }
.quiz__why b { color: var(--bone-hi); font-weight: 600; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.quiz__nav { display: flex; justify-content: flex-end; margin-top: 24px; }
.quiz__intro .h2 { margin-bottom: 20px; }
.quiz__intro p { color: var(--text-on-ink); max-width: 640px; margin-bottom: 12px; }
.quiz__step { color: var(--brass); font-weight: 600; }
.quiz__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.quiz__meta b { color: var(--bone-hi); font-weight: 500; }
.quiz__result .data { font-size: clamp(48px, 8vw, 96px); margin-bottom: 8px; }
.quiz__result .data small { font-size: 0.42em; color: var(--steel); font-weight: 500; }
.quiz__result .lead { margin: 20px 0 28px; }
.quiz__blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.quiz__blk { border: 1px solid var(--line-ink); padding: 16px; }
.quiz__blk .label { display: block; color: var(--steel); margin-bottom: 10px; }
.quiz__blk .num { font-size: 22px; font-weight: 700; color: var(--bone-hi); }
.quiz__blk .meter { height: 3px; background: var(--line-ink); margin-top: 12px; position: relative; }
.quiz__blk .meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brass); }
.quiz__blk.is-weak .meter i { background: var(--cardinal); }
.quiz__blk.is-weak .num { color: var(--cardinal); }
.quiz__saved { margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.quiz__saved a { color: var(--bone-hi); }

/* ---------- team: карты вместо фото ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.team__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.team__sub { margin: 48px 0 24px; }
.team__note { margin-top: 14px; }
.member { display: flex; flex-direction: column; gap: 18px; }
.member__role { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.member__role::before { content: "\2660"; font-family: var(--font-suit); font-size: 14px; color: var(--cardinal); }
.member .h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.member p { color: var(--ink); font-size: 15px; }
.member .small { margin-top: 8px; color: var(--muted-on-bone); }
.pcard-big {
  position: relative; width: 150px; aspect-ratio: 5 / 7; background: var(--bone-hi); border: 1px solid var(--line); border-radius: 6px; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 5px 6px 0 rgba(13, 15, 26, 0.18);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.pcard-big::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.member:hover .pcard-big { transform: rotate(-4deg) translateY(-6px); box-shadow: 0 16px 28px rgba(13, 15, 26, 0.3); }
.pcard-big .corner { position: absolute; font-family: var(--font-mono); font-weight: 700; font-size: 13px; line-height: 1.1; text-align: center; }
.pcard-big .corner::after { content: attr(data-suit); display: block; font-family: var(--font-suit); font-size: 13px; }
.pcard-big .corner--tl { top: 9px; left: 10px; }
.pcard-big .corner--br { bottom: 9px; right: 10px; transform: rotate(180deg); }
.pcard-big .rank { font-family: var(--font-display); font-size: 58px; line-height: 1; }
.pcard-big .suit { font-family: var(--font-suit); font-size: 30px; line-height: 1; }
.pcard-big--red { color: var(--cardinal); }
.pcard-big svg { width: 78px; height: 71px; }
.pcard-big .m, .pcard-big .p { fill: var(--cardinal); }
.pcard-big .b { fill: var(--brass); }
.pcard-big--black .m, .pcard-big--black .p { fill: var(--ink); }
.pcard-big .jlabel { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.24em; color: var(--steel); }

/* ---------- floating field ---------- */
.field { position: relative; min-height: 88vh; overflow: hidden; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.field__bg { position: absolute; left: 50%; top: 50%; width: min(64vw, 600px); transform: translate(-50%, -52%); opacity: 0.14; filter: blur(5px); pointer-events: none; z-index: 0; }
.field > *:not(.field__bg) { z-index: 1; }
.field__item { position: absolute; white-space: nowrap; text-decoration: none; color: var(--bone-hi); font-weight: 500; font-size: clamp(14px, 1.2vw, 17px); display: inline-flex; align-items: baseline; gap: 10px; padding: 6px 10px; background: rgba(13, 15, 26, 0.55); animation: floaty var(--dur, 9s) ease-in-out infinite alternate; animation-delay: var(--delay, 0s); transition: color 0.2s, background-color 0.2s; }
.field__item:hover { color: var(--brass); background: rgba(13, 15, 26, 0.85); }
.field__item .mono { font-size: 12px; letter-spacing: 0.1em; color: var(--steel); }
.field__item .mono::after { content: " \2197"; }
@keyframes floaty { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 14px), var(--dy, -18px)); } }
.field__band { position: absolute; left: -6%; right: -6%; bottom: 14%; transform: rotate(-5deg); overflow: hidden; pointer-events: none; }
.field__band .marquee__track { animation-duration: 70s; }
.field__band span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(44px, 8vw, 118px); line-height: 1; color: rgba(247, 244, 238, 0.07); white-space: nowrap; padding-right: 0.6em; }
.field__label { position: absolute; left: var(--gutter); top: 40px; }

/* ---------- contacts: цветные рамки с заливкой ---------- */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.contact { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; border: 1px solid rgba(var(--c-rgb), 0.7); background: rgba(var(--c-rgb), 0.09); transition: background-color 0.25s, box-shadow 0.3s, border-color 0.25s, transform 0.2s; }
.contact--brass { --c-rgb: 200, 155, 60; }
.contact--cardinal { --c-rgb: 179, 32, 46; }
.contact--verdant { --c-rgb: 31, 138, 91; }
.contact:hover { background: rgba(var(--c-rgb), 0.18); border-color: rgb(var(--c-rgb)); box-shadow: 0 0 22px rgba(var(--c-rgb), 0.35); transform: translateY(-2px); }
.contact__ic { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.contact__suit { font-family: var(--font-suit); font-size: 30px; line-height: 1; color: var(--bone-hi); }
.contact__suit--red { color: var(--cardinal); }
.contact .h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; font-size: 20px; margin-bottom: 4px; }
.contact p { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(247, 244, 238, 0.7); overflow-wrap: anywhere; }
.contact .arrow { font-family: var(--font-mono); font-size: 18px; color: rgb(var(--c-rgb)); transition: transform 0.2s; }
.contact:hover .arrow { transform: translateX(4px); }

/* ---------- lead form ---------- */
.form { position: relative; border: 1px solid rgba(200, 155, 60, 0.6); background: rgba(247, 244, 238, 0.03); padding: clamp(24px, 4vw, 44px); box-shadow: inset 0 0 40px rgba(200, 155, 60, 0.05); }
.form::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(200, 155, 60, 0.25); pointer-events: none; }
.form__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.form__head .h2 { font-size: clamp(20px, 2vw, 26px); }
.form__roles { display: inline-flex; border: 1px solid var(--line-ink-strong); }
.form__roles label { position: relative; }
.form__roles input { position: absolute; opacity: 0; inset: 0; }
.form__roles span { display: inline-block; padding: 12px 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-ink); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.form__roles input:checked + span { background: var(--brass); color: var(--ink); }
.form__roles input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: -2px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld--full { grid-column: 1 / -1; }
.fld > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.fld input, .fld select, .fld textarea { width: 100%; background: rgba(247, 244, 238, 0.04); border: 1px solid var(--line-ink); color: var(--bone-hi); font: 400 16px/1.5 var(--font-text); padding: 12px 14px; border-radius: 0; outline: none; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C89B3C' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.fld select option { background: var(--ink); color: var(--bone-hi); }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(247, 244, 238, 0.32); }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 1px rgba(200, 155, 60, 0.3); }
.fld textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.form__status { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.form__status--err { color: var(--cardinal); }
.form__note { margin-top: 18px; font-size: 13px; color: var(--muted-on-ink); max-width: 620px; }
.form__done { margin-top: 24px; padding: 20px 22px; border-left: 3px solid var(--brass); background: rgba(247, 244, 238, 0.04); }
.form__done p { color: var(--text-on-ink); }
.form.is-sent .form__grid, .form.is-sent .form__foot, .form.is-sent .form__roles, .form.is-sent .form__note { opacity: 0.35; pointer-events: none; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-ink); padding: 64px 0 calc(var(--sound-h) + 16px); background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer__brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--muted-on-ink); font-size: 14px; max-width: 320px; }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer li a { text-decoration: none; color: var(--text-on-ink); font-size: 15px; transition: color 0.2s; }
.footer li a:hover { color: var(--brass); }
.footer__slogan { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(18px, 2.2vw, 26px); padding: 32px 0; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__slogan img { height: 44px; width: auto; }
.footer__age { margin-top: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.7; color: var(--steel); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.footer__bottom p { max-width: 640px; line-height: 1.7; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.footer__legal a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-ink); text-decoration: none; }
.footer__legal a:hover { color: var(--bone-hi); }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 70; width: min(1000px, calc(100% - 32px)); display: none; align-items: center; gap: 20px; padding: 18px 22px; background: var(--ink); border: 1px solid var(--line-ink-strong); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; letter-spacing: 0.02em; color: var(--text-on-ink); }
.cookie.is-visible { display: flex; }
.cookie p { flex: 1; }
.cookie a { color: var(--bone-hi); }
.cookie__actions { display: flex; gap: 8px; align-items: center; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.progress__bar { width: 1px; height: 72px; background: var(--line-ink); position: relative; }
.progress__bar i { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--bone-hi); }
.progress__val { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; color: var(--steel); writing-mode: vertical-rl; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ==========================================================================
   course page
   ========================================================================== */
.phero { position: relative; padding-top: calc(var(--nav-top) + var(--nav-h) + 72px); padding-bottom: 72px; overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: 7fr 4fr; gap: 48px; align-items: center; }
.crumbs { display: inline-flex; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 24px; }
.crumbs a { text-decoration: none; color: var(--steel); }
.crumbs a:hover { color: var(--bone-hi); }
.crumbs b { font-weight: 500; color: var(--bone-hi); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-ink); margin-bottom: 28px; }
.pill i { width: 6px; height: 6px; background: var(--cardinal); }
.phero .display { margin-bottom: 24px; }
.phero .lead { margin-bottom: 32px; max-width: 640px; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 36px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.phero__facts b { color: var(--bone-hi); font-weight: 700; }
.phero__facts li::before { content: "\2666"; color: var(--brass); margin-right: 8px; }
.phero__mark { width: min(100%, 300px); margin: 0 auto; animation: peek 7s ease-in-out infinite; transform-origin: 50% 45%; }
.phero__mark .m { fill: var(--bone-hi); }
.phero__mark .b { fill: var(--brass); animation: bells 2.6s ease-in-out infinite; }
.phero__mark .p { fill: var(--cardinal); transform-box: fill-box; transform-origin: 50% 0%; animation: pendant 3.4s ease-in-out infinite; }
@keyframes peek { 0%, 100% { transform: translateX(0) rotate(0); } 18% { transform: translateX(-16px) rotate(-4deg); } 36% { transform: translateX(-8px) rotate(2deg); } 58% { transform: translateX(-20px) rotate(-2deg); } 78% { transform: translateX(-4px) rotate(3deg); } }
@keyframes bells { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pendant { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__box { position: relative; border: 1px solid rgba(var(--f-rgb), 0.7); background: rgba(var(--f-rgb), 0.06); padding: 28px; animation: fitpulse 3.4s ease-in-out infinite; }
.fit__box::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(var(--f-rgb), 0.3); pointer-events: none; }
.fit__box--yes { --f-rgb: 31, 138, 91; }
.fit__box--no { --f-rgb: 179, 32, 46; animation-delay: -1.7s; }
@keyframes fitpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--f-rgb), 0); } 50% { box-shadow: 0 0 20px rgba(var(--f-rgb), 0.35); } }
.fit__box .h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: rgb(var(--f-rgb)); font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; font-size: 20px; }
.fit__suit { font-family: var(--font-suit); font-size: 22px; line-height: 1; color: var(--bone-hi); }
.fit__suit--red { color: var(--cardinal); }
.fit__box li { padding: 10px 0; border-top: 1px solid rgba(var(--f-rgb), 0.25); color: var(--text-on-ink); font-size: 15px; }
.fit__box li:first-child { border-top: 0; }
.feedback { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.modules { border-top: 1px solid var(--line-ink); }
.module { border-bottom: 1px solid var(--line-ink); }
.module summary { display: grid; grid-template-columns: 72px 1fr 32px; gap: 20px; align-items: center; padding: 24px 0; cursor: pointer; }
.module summary:hover .module__t { color: var(--brass); }
.module__n { font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--steel); }
.module__t { font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); transition: color 0.2s; }
.module__t small { display: block; font-weight: 400; font-size: 14px; color: var(--muted-on-ink); margin-top: 4px; }
.module__x { font-family: var(--font-mono); font-size: 20px; color: var(--steel); text-align: right; transition: transform 0.2s; }
.module[open] .module__x { transform: rotate(45deg); }
.module__body { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 0 0 28px; }
.module__body > div { grid-column: 2; }
.module__body ul li { position: relative; padding-left: 18px; color: var(--text-on-ink); font-size: 15px; margin-bottom: 8px; }
.module__body ul li::before { content: "\2014"; position: absolute; left: 0; color: var(--brass); }
.module__lbl { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin: 0 0 10px; }
.module__body ul + .module__lbl { margin-top: 20px; }
.module__terms { margin-top: 16px; padding: 14px 18px; border-left: 3px solid var(--brass); background: rgba(247, 244, 238, 0.04); font-size: 14px; color: var(--text-on-ink); line-height: 1.7; }
.module__terms b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.module__hw { margin-top: 12px; }
.faq { border-top: 1px solid var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line-ink); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17px; cursor: pointer; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-weight: 400; color: var(--steel); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--text-on-ink); max-width: 720px; }
.section--bone .faq, .section--bone .faq details { border-color: var(--line); }
.section--bone .faq .faq__a { color: var(--ink); }
.cta-block { position: relative; border: 1px solid var(--line-ink-strong); padding: clamp(36px, 5vw, 64px); text-align: center; }
.cta-block::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-ink); pointer-events: none; }
.cta-block--red { border-color: var(--cardinal); animation: redglow 2.8s ease-in-out infinite; }
.cta-block--red::after { border-color: rgba(179, 32, 46, 0.4); }
@keyframes redglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(179, 32, 46, 0), inset 0 0 0 0 rgba(179, 32, 46, 0); } 50% { box-shadow: 0 0 28px rgba(179, 32, 46, 0.45), inset 0 0 28px rgba(179, 32, 46, 0.1); } }
.cta-block .h2 { margin-bottom: 16px; }
.cta-block .cta-row { justify-content: center; margin-top: 32px; }
.cta-block .fine { margin-top: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }

/* ==========================================================================
   test page · legal pages
   ========================================================================== */
.tpage { padding-top: calc(var(--nav-top) + var(--nav-h) + 56px); padding-bottom: 96px; min-height: 100vh; background-image: var(--pattern); }
.tpage .quiz { max-width: 820px; }
.tpage__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.tpage__head .display { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 16px; }
.tpage__head p { color: var(--text-on-ink); }
.legal { padding-top: calc(var(--nav-top) + var(--nav-h) + 56px); padding-bottom: 96px; }
.legal article { max-width: 780px; }
.legal .display { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 28px; }
.legal__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 40px; }
.legal h2 { font-family: var(--font-text); font-weight: 600; font-size: 19px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-on-ink); margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal .legal__box { border-left: 3px solid var(--brass); padding: 16px 20px; background: rgba(247, 244, 238, 0.04); margin: 24px 0; }
.legal .legal__box--draft { border-left-color: var(--cardinal); }
.legal a { color: var(--brass); }

/* ==========================================================================
   cursor: диагональная пика + эффект нажатия
   ========================================================================== */
@media (pointer: fine) {
  body { cursor: url("../img/cursor-spade.svg") 8 5, auto; }
  * { cursor: inherit; }
  a, button, [role="button"], label, select, summary, input[type="range"], input[type="radio"],
  .deck__card, .quiz__opt, .field__item { cursor: url("../img/cursor-spade-hot.svg") 9 6, pointer; }
  input[type="text"], input[type="email"], textarea { cursor: text; }
}
.burst { position: fixed; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 1px solid var(--brass); pointer-events: none; z-index: 9990; animation: burst 0.65s ease-out forwards; }
.burst i { position: absolute; inset: 4px; background: var(--brass); opacity: 0.8; animation: burstdot 0.65s ease-out forwards; }
.burst--hot { border-color: #E2394A; }
.burst--hot i { background: #E2394A; }
@keyframes burst { from { transform: rotate(45deg) scale(0.5); opacity: 1; } to { transform: rotate(45deg) scale(3.6); opacity: 0; } }
@keyframes burstdot { from { transform: scale(1); opacity: 0.8; } to { transform: scale(0.1); opacity: 0; } }

/* ==========================================================================
   sound widget
   ========================================================================== */
.sound { position: fixed; left: 20px; bottom: 20px; z-index: 55; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; background: rgba(13, 15, 26, 0.92); border: 1px solid var(--line-ink); transition: opacity 0.3s, border-color 0.3s; }
.sound.is-on { border-color: var(--line-ink-strong); }
body.has-cookie-banner .sound { opacity: 0; visibility: hidden; pointer-events: none; }
.sound__fab { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-ink-strong); background: rgba(13, 15, 26, 0.92); color: var(--bone-hi); align-items: center; justify-content: center; flex: 0 0 auto; }
.sound__fab svg { width: 20px; height: 20px; fill: currentColor; }
.sound.is-on .sound__fab { color: var(--brass); border-color: var(--brass); }
.sound__panel { display: flex; align-items: center; gap: 10px; }
.sound__toggle { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px; }
.sound__bars { display: flex; align-items: flex-end; gap: 2px; width: 22px; height: 16px; }
.sound__bars i { flex: 1; height: 100%; background: var(--steel); transform: scaleY(0.15); transform-origin: bottom; transition: background-color 0.3s; }
.sound.is-on .sound__bars i { background: var(--brass); }
.sound.is-armed .sound__bars i { animation: barsidle 1.6s ease-in-out infinite; }
.sound.is-on.no-analyser .sound__bars i { animation: bars 0.8s ease-in-out infinite alternate; }
.sound__bars i:nth-child(2) { animation-delay: -0.15s; }
.sound__bars i:nth-child(3) { animation-delay: -0.3s; }
.sound__bars i:nth-child(4) { animation-delay: -0.45s; }
.sound__bars i:nth-child(5) { animation-delay: -0.6s; }
@keyframes bars { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
@keyframes barsidle { 0%, 100% { transform: scaleY(0.15); } 50% { transform: scaleY(0.45); } }
.sound__label { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-ink); white-space: nowrap; transition: color 0.3s; }
.sound.is-on .sound__label { color: var(--bone-hi); }
.sound__vol { display: flex; align-items: center; padding-left: 10px; border-left: 1px solid var(--line-ink); }
.sound__vol input[type="range"] { -webkit-appearance: none; appearance: none; width: 88px; height: 16px; background: transparent; margin: 0; }
.sound__vol input[type="range"]:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.sound__vol input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-ink-strong); }
.sound__vol input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; margin-top: -4px; background: var(--brass); border: 0; border-radius: 0; }
.sound__vol input[type="range"]::-moz-range-track { height: 2px; background: var(--line-ink-strong); }
.sound__vol input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; background: var(--brass); border: 0; border-radius: 0; }
.sound__vol input[type="range"]::-moz-range-progress { height: 2px; background: var(--brass); }
@media (max-width: 768px) {
  .sound { left: 12px; bottom: 12px; gap: 8px; padding: 0; background: none; border: 0; }
  .sound__fab { display: inline-flex; }
  .sound__panel { display: none; padding: 4px 10px 4px 4px; background: rgba(13, 15, 26, 0.92); border: 1px solid var(--line-ink); }
  .sound.is-open .sound__panel { display: flex; }
  .sound__label { display: none; }
  .sound__vol input[type="range"] { width: 64px; }
}

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .prog { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .step:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
  .format__grid { grid-template-columns: 1fr; }
  .ult { display: none; }
  .contacts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split, .position__grid, .phero__grid { grid-template-columns: 1fr; gap: 40px; }
  .phero__mark { width: 200px; }
  .hero__stage { height: clamp(280px, 50vh, 520px); min-height: 0; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .hero__stage { height: clamp(220px, 38vh, 360px); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --nav-h: 60px; --nav-top: 10px; --sound-h: 58px; }
  .nav__logo img { height: 38px; }
  .hero { padding-bottom: 48px; }
  .hero__cta .btn { width: auto; min-width: 240px; }
  .kicker--glow { font-size: 15px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .aud__grid { grid-template-columns: 1fr; }
  .prog { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .team__grid, .team__grid--2 { grid-template-columns: 1fr; }
  .quiz__blocks { grid-template-columns: 1fr; }
  .deck__stage { height: 440px; }
  .deck__card { height: 416px; }
  .bgcard { width: 110px; height: 154px; margin-top: -77px; right: 10px; }
  .field { min-height: 0; padding: 72px 0 120px; }
  .field__label { position: static; display: inline-flex; margin: 0 var(--gutter) 24px; }
  .field__item { position: static; display: flex; justify-content: space-between; gap: 12px; white-space: normal; margin: 0 var(--gutter); padding: 12px 0; border-top: 1px solid var(--line-ink); font-size: 14px; animation: none; background: none; }
  .field__band { bottom: 40px; transform: rotate(-3deg); }
  .form__head { grid-template-columns: 1fr; align-items: start; }
  .form__grid { grid-template-columns: 1fr; }
  .fit, .feedback { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__slogan { flex-direction: column; align-items: flex-start; }
  .progress { display: none; }
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; }
  .cookie__actions { justify-content: flex-end; }
  .card--frame { padding: 26px; }
  .aud__card, .prog .card { padding: 30px 22px 26px; }
  .module summary { grid-template-columns: 48px 1fr 24px; gap: 12px; }
  .module__body { grid-template-columns: 1fr; }
  .module__body > div { grid-column: 1; }
  .cta-row .btn { width: 100%; }
  .section__num { font-size: 96px; top: 12px; }
}

/* ---------- телефоны: узкие экраны ---------- */
@media (max-width: 480px) {
  .display { font-size: 31px; letter-spacing: 0.03em; }
  .h2 { font-size: 22px; }
  .lead, .hero__lead { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-top) + var(--nav-h) + 8px); }
  .hero__stage { height: clamp(180px, 28vh, 260px); }
  .hero__copy .kicker { margin-bottom: 22px; }
  .hero__copy .display { margin-bottom: 20px; }
  .hero__lead { margin-bottom: 24px; }
  .kicker--glow { font-size: 14px; letter-spacing: 0.18em; }
  .btn { padding: 0 16px; font-size: 11px; letter-spacing: 0.1em; }
  .marquee--big .marquee__group span { font-size: 16px; padding: 0 20px; }
  .marquee--big .marquee__group span::after { margin-left: 40px; }
  .deck__stage { height: 460px; }
  .deck__card { height: 436px; }
  .deck__face { padding: 26px 18px; }
  .deck__text { font-size: 16px; padding: 0 6px; }
  .deck__why { font-size: 13.5px; }
  .deck__ctrl .btn { padding: 0 12px; }
  .tier__name { font-size: 18px; letter-spacing: 0.14em; }
  .aud__card p, .prog .card p, .prog ul.list li { font-size: 15px; }
  .card__foot--btns .btn { width: 100%; }
  .bgcard { opacity: 0.05; }
  .steps { border-radius: 0; }
  .quiz__box { padding: 20px 16px; }
  .quiz__opt { padding: 14px; font-size: 15px; }
  .quiz__result .data { font-size: 56px; }
  .team__grid { gap: 28px; }
  .pcard-big { width: 128px; }
  .member .h3 { font-size: 18px; }
  .contact { grid-template-columns: 40px 1fr auto; gap: 12px; padding: 20px 18px; }
  .contact .h3 { font-size: 17px; }
  .form { padding: 22px 16px; }
  .form__roles { display: flex; }
  .form__roles label { flex: 1; }
  .form__roles span { display: block; text-align: center; padding: 12px 8px; }
  .footer__slogan { font-size: 18px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .crumbs { flex-wrap: wrap; gap: 8px 12px; }
  .pill { white-space: normal; line-height: 1.5; text-align: left; }
  .phero { padding-top: calc(var(--nav-top) + var(--nav-h) + 36px); }
  .phero__mark { width: 160px; }
  .fit__box { padding: 22px 18px; }
  .fit__box .h3 { font-size: 18px; }
  .module__t { font-size: 16px; }
  .module__n { font-size: 18px; }
  .cta-block { padding: 28px 18px; }
  .legal .display { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .steps .step { opacity: 1; transform: none; transition: none; }
  .steps .step__n::after { transform: none; transition: none; }
  .marquee__track, .field__item, .nav__tg svg, .display .hl, .arrow--bounce, .phero__mark, .phero__mark .b, .phero__mark .p, .fit__box, .cta-block--red, .ult__fill, .ult__flame { animation: none !important; }
  .field__band .marquee__track { animation: none; }
  .sound__bars i { animation: none !important; transition: none; }
}
