/* KairoFx: a camera flight through one 3D world. Cotton candy: pink → violet → sky on deep night, flipping to cloud every lap. */
@font-face { font-family: "Anybody"; src: url("assets/fonts/anybody.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("assets/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --ink: #0C0D12;                     /* night */
  --bone: #F5F7FA;                    /* cloud */
  --pink: #EC85D1; --violet: #A028D4; --sky: #1CA7DE;
  --grad: linear-gradient(120deg, var(--pink), var(--violet) 52%, var(--sky));
  --hot: var(--pink);
  --glow: 0 10px 34px -10px rgba(236, 133, 209, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  --bg: var(--ink);
  --fg: #E8E9ED;
  --mute: rgba(232, 233, 237, .62);   /* 9.9:1 on night */
  --line: rgba(232, 233, 237, .14);
  --scrim: rgba(12, 13, 18, .84);
  --f-display: "Anybody", "Arial Narrow", sans-serif;
  --f-mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.76, 0, .24, 1);
  --e-spring: cubic-bezier(.34, 1.56, .64, 1);
  --pad: clamp(18px, 3vw, 40px);
  --vb: 26px;                         /* height of the version bar */
}
/* every second lap the world flips, like a negative */
html.is-bone { --bg: var(--bone); --fg: #1A1C23; --mute: #5F6473; --line: rgba(26, 28, 35, .14); --scrim: rgba(245, 247, 250, .86); --glow: 0 10px 30px -10px rgba(160, 40, 212, .45); }   /* --mute 5.6:1 on cloud */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); transition: background .9s var(--e-io), color .9s var(--e-io); }
body { font-family: var(--f-mono); font-size: 14px; line-height: 1.6; font-stretch: 88%; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--pink); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 10px 14px; background: var(--grad); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
/* version bar: always at the very top, everything else starts below it */
.verbar { position: fixed; z-index: 60; inset: 0 0 auto; height: var(--vb); display: flex; align-items: center; justify-content: center; background: var(--bg); border-bottom: 1px solid var(--line); color: var(--mute); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; transition: background .9s var(--e-io), color .9s var(--e-io); }
html.flat .verbar { position: sticky; top: 0; }

/* ================================================= fly mode: fixed stage, chapters are overlays */
html.fly, html.fly body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.fly body { touch-action: none; }
.stage { position: fixed; inset: 0; z-index: 0; transition: background-color .9s var(--e-io);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(236, 133, 209, .16), rgba(160, 40, 212, .07) 42%, transparent 72%),
    radial-gradient(55% 45% at 88% 28%, rgba(28, 167, 222, .12), transparent 62%),
    radial-gradient(60% 50% at 8% 92%, rgba(160, 40, 212, .14), transparent 70%),
    var(--bg); }
html.is-bone .stage {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(236, 133, 209, .28), rgba(160, 40, 212, .08) 45%, transparent 72%),
    radial-gradient(55% 45% at 88% 28%, rgba(28, 167, 222, .2), transparent 62%),
    radial-gradient(60% 50% at 8% 92%, rgba(236, 133, 209, .22), transparent 70%),
    var(--bg); }
.stage__canvas { width: 100%; height: 100%; display: block; }
html.flat .stage, html.flat .loader, html.flat .hint, html.flat .rail__lap { display: none; }

html.fly .chapters { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
/* off-screen chapters stay in the accessibility tree (screen readers, Tab) but can't be clicked; tabbing into one flies there */
html.fly .ch { position: absolute; inset: 0; padding: calc(96px + var(--vb)) var(--pad) 84px; display: grid; align-content: end; opacity: 0; }
html.fly .ch.is-on .btn, html.fly .ch.is-on a { pointer-events: auto; }
.ch { --t: 0; --in: 0; }     /* --t = progress through the chapter, --in = 0..1 arrival */

.ch__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; gap: 10px; align-items: center; }
.ch__label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }

/* split letters: each one falls in from a different depth */
.split-c { display: inline-block; will-change: transform; transform-origin: 50% 80%; }
.split-w { display: inline-block; white-space: nowrap; }

/* ---------- display type */
.hero__title, .big { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .84; letter-spacing: -.02em; }
.big { font-size: clamp(54px, 10.5vw, 190px); font-stretch: 62%; }
html.fly .ch--screens .big { font-size: clamp(54px, 8.4vw, 150px); }
/* candy gradient text. Split letters are transformed individually, so each one paints its own slice of the word's gradient */
.accent .split-c, .hero__boring .split-c { background: var(--grad); background-size: var(--gw, 100%) 100%; background-position: var(--gx, 0) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent, .hero__boring, .hud__brand b, .loader__brand b, .stage-card__no, .perk__no, .rail__lap b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- intro */
html.fly .ch--intro { align-content: end; justify-items: start; }
.intro__line { font-family: var(--f-display); font-stretch: 130%; font-weight: 300; font-size: clamp(18px, 2vw, 26px); margin-top: 10px; }

/* ---------- hero: copy sits low-left, the 3D word fills the frame */
html.fly .ch--hero { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 24px 48px; }
.ch--hero .ch__label { grid-column: 1 / -1; }
.hero__title { font-size: clamp(34px, 4.6vw, 76px); font-stretch: 75%; max-width: 12ch; }
.hero__title > span { display: block; }
.hero__boring { font-stretch: 150%; font-weight: 800; padding-right: .06em; transition: font-stretch .6s var(--e-spring); }
/* hover on the whole headline: squeezing the word itself would move it out from under the cursor and loop */
.hero__title:hover .hero__boring { font-stretch: 50%; }
.hero__lede { color: var(--mute); max-width: 42ch; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
html.fly .hero__actions { grid-column: 2; }
html.fly .ch--hero .hero__lede { grid-column: 2; grid-row: 2; }
html.fly .ch--hero .hero__title { grid-row: 2 / span 2; }
html.flat .fly-only { display: none; }
/* instructions: mouse wording on hover devices, touch wording on touch screens */
.on-touch { display: none !important; }            /* !important: e.g. .hint span sets its own display */
@media (hover: none) { .on-hover { display: none !important; } .on-touch { display: inline-block !important; } }

/* ---------- buttons: hard-edged, with a fill that wipes in */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; overflow: hidden; isolation: isolate; border-radius: 12px;
  border: 1px solid var(--fg); color: var(--fg); background: transparent; text-decoration: none; text-transform: uppercase; font-size: 11.5px; letter-spacing: .12em;
  transition: color .45s var(--e-out), border-color .45s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--e-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: #fff; border-color: transparent; box-shadow: var(--glow); }
.btn--candy { color: #fff; border-color: transparent; background: var(--grad); box-shadow: var(--glow); transition: color .45s var(--e-out), box-shadow .5s var(--e-out), transform .6s var(--e-spring); }
.btn--candy::before { background: rgba(255, 255, 255, .2); }
.btn--candy:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(236, 133, 209, .95), 0 0 0 1px rgba(255,255,255,.14) inset; }
.btn > span { display: inline-block; transition: transform .55s var(--e-out); }
.btn:hover > span { transform: translateY(-1px) skewX(-8deg); }
.btn--ghost { border-color: var(--line); }
.btn--big { min-height: 64px; padding: 0 40px; font-size: 13px; }

/* ---------- HUD */
.hud { position: fixed; z-index: 10; inset: var(--vb) 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--pad); pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 20px; font-stretch: 110%; justify-self: start; }
.hud__brand b { font-weight: 800; }
.hud__brand svg { width: 18px; height: 22px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; transition: transform .8s var(--e-spring); }
.hud__brand svg .fill { fill: var(--hot); stroke: none; }
.hud__brand:hover svg { transform: rotate(-14deg) scale(1.1); }
.hud__chapter { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 6px; align-items: baseline; }
.hud__chapter i { font-style: normal; color: var(--mute); }
.hud__name { color: var(--mute); margin-left: 8px; }
.hud__cta { justify-self: end; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; position: relative; }
.hud__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--e-out); }
.hud__cta:hover::after { transform: scaleX(0); }
.hud__cta:hover { color: var(--pink); }

/* ---------- chapter rail (bottom) */
.rail { position: fixed; z-index: 10; left: var(--pad); right: var(--pad); bottom: 16px; display: flex; align-items: center; gap: 16px; }
.rail ol { list-style: none; flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.rail a { position: relative; display: block; padding-top: 12px; text-decoration: none; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rail a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.rail a::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--fill, 0) * 100%); background: var(--grad); box-shadow: 0 0 10px rgba(236, 133, 209, .7); }
.rail a.is-on { color: var(--fg); }
.rail a span { display: inline-block; transition: transform .5s var(--e-out); }
.rail a:hover span { transform: translateY(-2px); }
.rail__lap { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.rail__lap b { font-weight: 600; }
html.flat .rail { display: none; }

.hint { position: fixed; z-index: 9; left: 50%; bottom: 56px; transform: translateX(-50%); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); transition: opacity .6s; }
.hint span { display: inline-block; animation: hint 2.4s var(--e-io) infinite; }
.hint.is-gone { opacity: 0; }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- loader */
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 12px; background: radial-gradient(60% 50% at 50% 40%, rgba(160, 40, 212, .18), transparent 70%), var(--ink); color: #E8E9ED; transition: opacity .8s var(--e-io), visibility 0s .8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__brand { font-family: var(--f-display); font-weight: 800; font-size: 28px; font-stretch: 120%; }
.loader__brand b { font-weight: 800; }
.loader__count { font-size: 11px; letter-spacing: .16em; color: rgba(237,234,227,.6); font-variant-numeric: tabular-nums; }
.loader__count span { color: #E8E9ED; }

/* ---------- process */
html.fly .ch--process { align-content: end; }
html.fly .ch--process .ch__label { text-shadow: 0 0 10px var(--bg), 0 0 3px var(--bg); }
.stages { list-style: none; position: relative; margin-top: 14px; }
/* cards share one grid cell, so the container is as tall as the tallest card (no fixed height to overflow) */
html.fly .stages, html.fly .perks { display: grid; align-items: end; }
html.fly .stage-card { grid-area: 1 / 1; max-width: 760px; opacity: 0; position: relative; isolation: isolate; }
/* the drawing runs behind the words: a soft pool of the page colour keeps them readable, only where they sit */
html.fly .stage-card::before { content: ""; position: absolute; z-index: -1; inset: -70px -110px -50px -110px; pointer-events: none;
  background: radial-gradient(closest-side, var(--scrim), var(--scrim) 58%, transparent); }
html.fly .stage-card:nth-child(even) { justify-self: end; text-align: right; }
html.fly .stage-card:nth-child(even) p { margin-left: auto; }

.stage-card__no { font-size: 11px; letter-spacing: .14em; font-weight: 600; }
.stage-card h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 7.4vw, 128px); line-height: .86; font-stretch: 58%; letter-spacing: -.01em; margin: 6px 0 12px; }
.stage-card p { color: var(--fg); font-size: clamp(18px, 1.5vw + 4px, 27px); line-height: 1.42; font-weight: 400; letter-spacing: -.01em; max-width: 36ch; text-wrap: pretty; text-shadow: 0 0 14px var(--bg), 0 0 3px var(--bg); }
.process__tip { position: absolute; left: 50%; transform: translateX(-50%); top: calc(64px + var(--vb)); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
html.flat .process__tip { display: none; }

/* ---------- screens */
html.fly .ch--screens { align-content: start; padding-top: calc(104px + var(--vb)); grid-template-columns: minmax(0, 46ch) minmax(0, 1fr); column-gap: 40px; }
html.fly .ch--screens .ch__label, html.fly .ch--screens .big { grid-column: 1 / -1; }
.screens__lede { color: var(--mute); max-width: 46ch; margin-top: 16px; }
.screens__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; max-width: 520px; }
html.fly .screens__list { justify-content: flex-end; justify-self: end; align-self: start; }
.screens__list li { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); }
/* in the flight the chips are buttons that pick a demo */
.screens__list li:has(button) { padding: 0; border: 0; background: none; }
.screens__list button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.03); transition: background .35s var(--e-out), border-color .35s, color .35s, transform .5s var(--e-spring), box-shadow .4s; }
.screens__list button:hover { border-color: var(--pink); transform: translateY(-2px); }
.screens__list button[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.screens__list button[aria-pressed="true"]::after { content: "×"; font-size: 13px; line-height: 1; margin-right: -2px; }
html.fly .ch.is-on button { pointer-events: auto; }

/* ---------- what you get: one perk card per monolith */
.perks { list-style: none; position: relative; }

html.fly .perk { grid-area: 1 / 1; max-width: 560px; opacity: 0; }
html.fly .perk:nth-child(odd) { justify-self: end; text-align: right; }
html.fly .perk:nth-child(odd) p { margin-left: auto; }
.perk__no { font-family: var(--f-display); font-weight: 900; font-size: 18px; font-stretch: 140%; }
.perk h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 110px); line-height: .86; font-stretch: 60%; margin: 6px 0 12px; }
.perk p { color: var(--mute); max-width: 42ch; }

/* ---------- contact */
html.fly .ch--contact { align-content: center; justify-items: center; text-align: center; }
.ch--contact .ch__label { justify-content: center; }
.ch--contact .big { margin: 14px 0 18px; }
.contact__lede { color: var(--mute); margin-bottom: 26px; }
.contact__again, .contact__foot { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 26px; }
.contact__foot { margin-top: 8px; }
html.flat .contact__again { display: none; }

/* ================================================= flat mode: a normal, readable page */
html.flat .chapters { display: block; }
html.flat .ch { min-height: 80vh; padding: 120px var(--pad) 80px; display: grid; align-content: center; gap: 16px; border-top: 1px solid var(--line); }
html.flat .ch--intro { min-height: 40vh; border-top: 0; }
html.flat .stages, html.flat .perks { display: grid; gap: 40px; margin-top: 20px; }
html.flat .hud { position: sticky; top: var(--vb); background: var(--bg); }
html.flat .ch--contact { justify-items: start; }

/* ================================================= quote dialog */
.quote { position: fixed; inset: 0; margin: auto; width: min(640px, calc(100% - 24px)); max-height: calc(100svh - 24px); height: fit-content; overflow: auto;
  background: var(--bg); color: var(--fg); border: 1px solid transparent; border-radius: 20px; padding: clamp(22px, 4vw, 38px);
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; box-shadow: 0 30px 90px -30px rgba(160, 40, 212, .6); }
.quote::backdrop { background: rgba(12,13,18,.55); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); }
.quote__head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.quote__head h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-stretch: 62%; font-size: clamp(32px, 5vw, 54px); line-height: .9; margin-top: 8px; }
.quote__close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; transition: transform .6s var(--e-spring), border-color .3s; }
.quote__close:hover { transform: rotate(90deg); border-color: var(--hot); }
.quote__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; }
.field > span, .field legend { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.field i { font-style: normal; opacity: .7; text-transform: none; letter-spacing: 0; }
input, textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 16px; font-family: var(--f-mono); font-stretch: 88%; outline: none; transition: border-color .3s; resize: vertical; }
input:focus, textarea:focus { border-color: var(--hot); }
input::placeholder, textarea::placeholder { color: var(--mute); opacity: .7; }
.err { display: none; color: var(--hot); font-size: 12px; }
.field.is-bad .err { display: block; }
.field.is-bad input { border-color: var(--hot); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip input { position: absolute; opacity: 0; width: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip input:checked + span { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.chip input:focus-visible + span { outline: 2px solid var(--hot); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; }
.quote__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.status { color: var(--mute); font-size: 12px; }
.status.err-msg { color: var(--hot); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 70px; transform: translateX(-50%); padding: 14px 20px; border-radius: 12px; background: var(--grad); color: #fff; box-shadow: var(--glow); font-size: 12px; letter-spacing: .06em; }
.toast[hidden] { display: none; }

/* ================================================= small screens */
@media (max-width: 760px) {
  .hud { grid-template-columns: 1fr auto; }
  .hud__chapter { display: none; }
  .rail a span { display: none; }
  .rail { bottom: 12px; }
  .hint { bottom: 40px; }
  html.fly .ch { padding: calc(80px + var(--vb)) var(--pad) 64px; }
  html.fly .ch--hero { grid-template-columns: 1fr; align-content: end; }
  html.fly .ch--hero .hero__lede, html.fly .hero__actions { grid-column: 1; grid-row: auto; }
  html.fly .ch--hero .hero__title { grid-row: auto; }
  .hero__title { font-size: clamp(36px, 10vw, 54px); }
  html.fly .stage-card:nth-child(even) { justify-self: start; text-align: left; }
  html.fly .stage-card:nth-child(even) p { margin-left: 0; }
  .process__tip { display: none; }
  .stage-card p { font-size: 17px; line-height: 1.45; }
  html.fly .ch--screens { padding-top: calc(62px + var(--vb)); grid-template-columns: 1fr; }
  .screens__lede { font-size: 12.5px; }
  html.fly .screens__list { justify-content: flex-start; justify-self: start; margin-top: 12px; gap: 5px; }
  html.flat .screens__list { display: flex; }
  .screens__list button { min-height: 32px; padding: 0 9px; font-size: 9px; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- sound toggle */
.hud__end { justify-self: end; display: flex; align-items: center; gap: 22px; }
.hud__sound { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); transition: color .4s var(--e-out); }
.hud__sound:hover, .hud__sound[aria-pressed="true"] { color: var(--fg); }
.hud__sound b { font-weight: 400; }
.hud__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.hud__bars i { width: 2px; height: 3px; border-radius: 1px; background: currentColor; transition: height .4s var(--e-out); }
.hud__sound[aria-pressed="true"] .hud__bars i { background: var(--grad); animation: kfx-eq 1.1s ease-in-out infinite alternate; }
.hud__sound[aria-pressed="true"] .hud__bars i:nth-child(2) { animation-delay: -.35s; animation-duration: .9s; }
.hud__sound[aria-pressed="true"] .hud__bars i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.3s; }
.hud__sound[aria-pressed="true"] .hud__bars i:nth-child(4) { animation-delay: -.2s; animation-duration: 1s; }
@keyframes kfx-eq { from { height: 3px; } to { height: 14px; } }
@media (max-width: 760px) { .hud__sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .hud__end { gap: 16px; } .hud__sound { min-width: 44px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hud__sound[aria-pressed="true"] .hud__bars i { animation: none; height: 10px; } }

/* ---------------------------------------------------------------- "effects paused" note (slow-device fallback) */
.fxnote { display: none; }
html.fx-paused .fxnote { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: center; position: relative; z-index: 9; margin: 0; padding: 10px var(--pad); font-size: 11px; letter-spacing: .08em; color: var(--mute); border-bottom: 1px solid var(--line); background: var(--bg); }
.fxnote button { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; font: inherit; letter-spacing: inherit; min-height: 32px; }
.fxnote button:hover { color: var(--pink); }

/* privacy: a quiet line under the form and a link in the footer */
.quote__privacy { margin-top: 14px; font-size: 11px; color: var(--mute); }
.quote__privacy a, .contact__foot a { color: inherit; text-underline-offset: 3px; }
.quote__privacy a:hover, .contact__foot a:hover, .quote__privacy a:focus-visible, .contact__foot a:focus-visible { color: var(--fg); }

/* nothing to save: no long-press menu or dragging on phones; form fields stay normal */
html { -webkit-touch-callout: none; }
canvas, svg, img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
