/* Aerora — civil drone inspection demo. Default = static fallback; .webgl enables the 3D story. */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1b1e24;
  --ink-2: #464b54;
  --muted: #7d828c;
  --line: rgba(27, 30, 36, 0.09);
  --line-2: rgba(27, 30, 36, 0.16);
  --accent: #2f6bff;
  --accent-ink: #1f57e8;
  --accent-soft: rgba(47, 107, 255, 0.1);
  --pearl: #f5f3f4;
  --blush: #f7edf0;
  --card: rgba(255, 255, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.72);
  --radius: 26px;
  --shadow: 0 1px 2px rgba(27, 30, 36, 0.05), 0 18px 50px rgba(60, 40, 60, 0.08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: max(20px, 5.5vw);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink);
  background: var(--pearl); font-size: 16.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-weight: 450;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.note { font-size: 12.5px; color: var(--muted); letter-spacing: 0.01em; }
.note.center { text-align: center; margin-top: 26px; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(47, 107, 255, 0.28); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
.btn-big { height: 56px; font-size: 16.5px; width: 100%; }

/* header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.top.is-solid { background: rgba(245, 243, 244, 0.78); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 21px; letter-spacing: -0.03em; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 550; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* ============ story ============ */
.story { position: relative; }
.stage { position: relative; min-height: 100svh; overflow: hidden; }
.stage-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 72% 42%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(90% 80% at 10% 0%, #f8e9ee 0%, rgba(248, 233, 238, 0) 60%),
    radial-gradient(80% 70% at 100% 100%, #ecebf3 0%, rgba(236, 235, 243, 0) 65%),
    linear-gradient(180deg, #f8f1f3 0%, #f3f1f5 60%, #f1f0f4 100%);
}
.ghost {
  position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%); font-size: 27vw; font-weight: 200; letter-spacing: -0.06em;
  color: rgba(27, 30, 36, 0.026); white-space: nowrap; line-height: 1; user-select: none;
}
#drone { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.poster { margin: 0; position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.poster img { width: min(66vw, 1000px); height: auto; margin-right: -2vw; mix-blend-mode: multiply; }
.leaders, .labels { position: absolute; inset: 0; pointer-events: none; }
.leaders { width: 100%; height: 100%; overflow: visible; }
.beat { position: absolute; z-index: 2; }
.beat-hero { left: var(--gut); top: 50%; transform: translateY(-46%); width: min(660px, 48vw); }
.beat-hero h1 { font-size: clamp(42px, 4.95vw, 82px); margin-bottom: 24px; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 520px; line-height: 1.5; }
.actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cue { display: none; }
.beat h2 { font-size: clamp(36px, 4.2vw, 68px); margin-bottom: 18px; }
.beat .sub { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 440px; }
.beat .note { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.chips li { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px var(--line); }
.chips li:first-child { color: var(--accent-ink); background: var(--accent-soft); box-shadow: none; }
.story-static { padding: 0 var(--gut) 80px; }
.spec-list { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1240px; }
.spec-list li { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.spec-list b { display: block; font-size: 34px; font-weight: 300; letter-spacing: -0.03em; }
.spec-list span { color: var(--muted); font-size: 14px; }
.story-static .note { text-align: center; margin-top: 16px; }
.beat-reveal, .beat-explode, .beat-fold, .beat-scan, .beat-specs, .progress { display: none; }

/* --- immersive mode --- */
.webgl .story { height: 740svh; }
.webgl .stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.webgl #drone { display: block; }
.webgl .poster { display: none; }
.webgl.no-gl-fail .poster { display: flex; }
.webgl .story-static { display: none; }
.webgl .beat { opacity: 0; visibility: hidden; display: block; will-change: opacity, transform; }
.webgl .beat.is-on { visibility: visible; }
.webgl .beat-hero { opacity: 1; visibility: visible; }
.webgl .cue { display: flex; align-items: center; gap: 10px; margin-top: 46px; font-size: 13.5px; color: var(--muted); font-weight: 550; }
.cue span { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); position: relative; }
.cue span::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.beat-reveal { left: var(--gut); top: 50%; transform: translateY(-50%); width: min(660px, 50vw); }
.reveal { font-size: clamp(30px, 3.3vw, 54px); font-weight: 350; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 26px; }
.reveal .w { opacity: 0.14; transition: none; }
.reveal .w.k { color: var(--ink); }
.beat-explode { left: var(--gut); top: 15vh; width: min(420px, 40vw); }
.beat-fold { left: var(--gut); top: 50%; transform: translateY(-50%); width: min(460px, 40vw); }
.beat-scan { right: var(--gut); top: 50%; transform: translateY(-50%); width: min(460px, 38vw); }
.beat-specs { left: 50%; top: 13vh; transform: translateX(-50%); text-align: center; width: min(700px, 90vw); }
.beat-specs h2 { margin-bottom: 0; }
.progress { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: none; flex-direction: column; gap: 10px; z-index: 3; }
.webgl .progress { display: flex; }
.progress li { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .3s, transform .3s; }
.progress li.is-on { background: var(--accent); transform: scale(1.4); }

/* 3D labels */
.lbl { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.lbl > div {
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; padding: 9px 13px 10px;
  box-shadow: 0 1px 1px rgba(27, 30, 36, 0.04), 0 10px 30px rgba(60, 40, 70, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.9); white-space: nowrap;
}
.lbl b { display: block; font-size: 14px; font-weight: 650; letter-spacing: -0.01em; }
.lbl span { display: block; font-size: 12.5px; color: var(--muted); }
.lbl.spec b { font-size: 30px; font-weight: 300; letter-spacing: -0.035em; line-height: 1.1; }
.lbl.spec span { font-size: 13px; color: var(--ink-2); }
.lbl.spec i { font-style: normal; display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; }
.lbl.dim > div { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; text-align: center; }
.lbl.dim b { font-size: clamp(34px, 3.4vw, 52px); font-weight: 300; letter-spacing: -0.04em; }
.leaders line, .leaders polyline { stroke: rgba(27, 30, 36, 0.32); stroke-width: 1; fill: none; }
.leaders circle { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.leaders .dim-line { stroke: var(--ink); stroke-width: 1.2; }

/* ============ sections ============ */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(40px, 5vw, 76px); margin-bottom: 18px; }
.sec-lead { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--ink-2); max-width: 620px; }
.tag { display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 10px; border-radius: 8px; transform: translateY(-0.5em); }

/* cases */
.cases { background: linear-gradient(180deg, #f1f0f4 0%, var(--pearl) 40%); }
.case-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.case-tabs button { height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.case-tabs button:hover { color: var(--ink); background: #fff; }
.case-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.case-view { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.case-stage { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #d9dadf; box-shadow: var(--shadow); isolation: isolate; }
.case-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.case-imgs img.is-on { opacity: 1; }
.case-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-svg g.layer { display: none; }
.case-svg g.layer.is-on { display: inline; }
.case-pins { position: absolute; inset: 0; }
.pin { position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; padding: 0; background: #fff; color: var(--ink); font-size: 13px; font-weight: 750; box-shadow: 0 0 0 2px var(--accent), 0 6px 16px rgba(0, 0, 0, 0.25); display: grid; place-items: center; z-index: 2; transition: transform .2s var(--ease); }
.pin.sev-high { background: var(--accent); color: #fff; box-shadow: 0 0 0 2px #fff, 0 6px 16px rgba(0, 0, 0, 0.25); }
.pin.sev-low { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 6px 16px rgba(0, 0, 0, 0.25); }
.pin:hover, .pin.is-hot { transform: scale(1.15); }
.pin::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.85); opacity: 0; }
.pin.sev-high::after { animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.ftag { position: absolute; left: 0; top: 0; transform-origin: left center; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 12px; padding: 7px 12px 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); white-space: nowrap; pointer-events: none; z-index: 1; }
.ftag b { display: block; font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; }
.ftag span { display: block; font-size: 12px; color: var(--muted); }
.case-stage.no-layer .case-svg, .case-stage.no-layer .case-pins { opacity: 0; pointer-events: none; }
.case-hud { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; justify-content: space-between; z-index: 3; pointer-events: none; }
.hud-chip, .toggle { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; border: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.hud-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.toggle .knob { width: 30px; height: 18px; border-radius: 9px; background: var(--accent); position: relative; transition: background .2s; }
.toggle .knob::after { content: ''; position: absolute; top: 2px; left: 14px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s var(--ease); }
.toggle[aria-pressed="false"] .knob { background: #c8cad1; }
.toggle[aria-pressed="false"] .knob::after { left: 2px; }
.case-meta { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 6px; z-index: 3; flex-wrap: wrap; }
.case-meta span { font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(20, 22, 28, 0.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 11px; border-radius: 999px; }
.case-meta span em { font-style: normal; opacity: 0.7; font-weight: 500; margin-right: 4px; }
.case-panel { background: #fff; border-radius: var(--radius); padding: 28px 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.case-panel .kicker { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.case-panel h3 { font-size: 27px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 12px; }
.case-text { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; }
.risk { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.risk-l { font-size: 13px; color: var(--muted); font-weight: 600; }
.risk-v { font-size: 15px; font-weight: 650; text-align: right; }
.risk-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #eceef3; overflow: hidden; margin-top: 8px; }
.risk-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; }
.find-list { list-style: none; padding: 0; margin: 0 0 14px; }
.find-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 6px; border-radius: 12px; cursor: default; transition: background .2s; align-items: start; }
.find-list li:hover, .find-list li.is-hot { background: #f4f5f8; }
.find-list .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 750; box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--ink); }
.find-list .sev-high .n { background: var(--accent); color: #fff; box-shadow: none; }
.find-list .sev-low .n { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.find-list b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.find-list span { display: block; font-size: 13px; color: var(--muted); }
.case-panel .note { margin-top: auto; }

/* report / digital twin */
.report { background: linear-gradient(180deg, var(--pearl) 0%, #f2eef2 100%); }
.twin { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 9; min-height: 560px; box-shadow: var(--shadow);
  background: radial-gradient(90% 90% at 40% 30%, #ffffff 0%, #f6f1f3 55%, #eeebf1 100%); isolation: isolate; touch-action: pan-y; }
#terrain { position: absolute; inset: 0; width: 100%; height: 100%; display: none; cursor: grab; }
#terrain:active { cursor: grabbing; }
.webgl #terrain { display: block; }
.twin-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.webgl .twin-poster { display: none; }
.webgl.no-gl-fail .twin-poster { display: block; }
.twin-markers { position: absolute; inset: 0; pointer-events: none; }
.tm { position: absolute; left: 0; top: 0; pointer-events: auto; border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 8px; transform-origin: 0 0; }
.tm i { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(27, 30, 36, 0.25); position: relative; flex: none; transition: transform .2s var(--ease); }
.tm i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.tm span { margin-top: -9px; font-size: 12.5px; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(27, 30, 36, 0.12); white-space: nowrap; transition: background .2s, color .2s; }
.tm.is-on i { transform: scale(1.25); }
.tm.is-on span { background: var(--ink); color: #fff; }
.tm::before { content: ''; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; margin: 0; border-radius: 50%; box-shadow: 0 0 0 2px rgba(47, 107, 255, 0.5); opacity: 0; }
.tm.is-on::before { animation: ping 2s var(--ease) infinite; }
.twin-top { position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 16px; z-index: 3; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(27, 30, 36, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.seg button { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; font-weight: 650; font-size: 13.5px; color: var(--ink-2); transition: background .25s, color .25s; }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.twin-hint { font-size: 12.5px; color: var(--muted); font-weight: 550; }
.no-webgl .twin-hint { display: none; }
.legend { position: absolute; left: 20px; bottom: 20px; z-index: 3; padding: 10px 14px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(27, 30, 36, 0.08); min-width: 220px; }
.legend-name { display: block; font-size: 12.5px; font-weight: 650; margin-bottom: 7px; }
.legend-bar { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #f3f0ee, #c9ccd6); }
.legend-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.rcard { position: absolute; right: 18px; top: 18px; bottom: 18px; width: 352px; z-index: 4; border-radius: 22px; padding: 22px 22px 18px; overflow: auto;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 1px 1px rgba(27, 30, 36, 0.04), 0 20px 50px rgba(60, 40, 70, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; }
.rc-kicker { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.rc-title { font-size: 23px; font-weight: 450; letter-spacing: -0.025em; line-height: 1.15; }
.rc-risk { display: flex; justify-content: space-between; align-items: flex-end; }
.rc-l { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rc-level { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.rc-pct { display: flex; align-items: baseline; gap: 2px; }
.rc-pct b { font-size: 46px; font-weight: 250; letter-spacing: -0.05em; line-height: 0.9; }
.rc-pct span { font-size: 18px; color: var(--muted); }
.rc-meter { height: 6px; border-radius: 3px; background: #e8eaf0; overflow: hidden; margin-top: -4px; }
.rc-meter i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .7s var(--ease); }
.rc-chart { margin: 0; position: relative; padding: 12px 12px 8px; border-radius: 14px; background: rgba(244, 245, 248, 0.9); }
.rc-chart figcaption { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.rc-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.rc-chart .bar { fill: var(--accent); transition: opacity .2s; }
.rc-chart .bar.is-plan { fill: #c9cdd8; }
.rc-chart .hit { fill: transparent; cursor: default; }
.rc-chart .axis { stroke: rgba(27, 30, 36, 0.14); stroke-width: 1; }
.rc-chart .tick { font-size: 9.5px; fill: var(--muted); font-family: Manrope, sans-serif; }
.rc-chart .val { font-size: 10px; fill: var(--ink); font-weight: 700; font-family: Manrope, sans-serif; }
.rc-tip { position: absolute; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; transform: translate(-50%, -100%); white-space: nowrap; }
.rc-find { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.rc-find li { font-size: 13.5px; padding-left: 16px; position: relative; color: var(--ink-2); line-height: 1.4; }
.rc-find li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.rc-action { padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.rc-action span { display: block; font-size: 11.5px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 4px; }
.rc-action p { font-size: 14px; font-weight: 550; line-height: 1.4; }
.rc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-pdf { height: 40px; padding: 0 16px; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line-2); }
.rc-pdf:disabled { color: var(--muted); cursor: default; }
.rcard > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rcard.is-swap > * { opacity: 0; transform: translateY(6px); }
.report-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.report-facts li { padding: 22px 4px 0; border-top: 1px solid var(--line-2); }
.report-facts b { display: block; font-size: 30px; font-weight: 300; letter-spacing: -0.03em; margin-bottom: 4px; }
.report-facts span { font-size: 14.5px; color: var(--ink-2); }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.steps::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--pp, 0) * 100%); background: var(--accent); }
.steps li { padding-top: 30px; position: relative; }
.steps li::before { content: ''; position: absolute; left: 0; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--pearl); box-shadow: inset 0 0 0 2px var(--line-2); z-index: 1; transition: background .3s, box-shadow .3s; }
.steps li.is-on::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.st-n { display: block; font-size: 56px; font-weight: 200; letter-spacing: -0.05em; line-height: 1; color: var(--ink); margin-bottom: 18px; }
.steps h3 { font-size: 26px; font-weight: 450; margin-bottom: 10px; }
.steps p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.st-t { font-size: 12.5px; font-weight: 650; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }

/* prices */
.prices { background: #f2eff2; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: #fff; border-radius: var(--radius); padding: 32px 30px 30px; box-shadow: var(--shadow); }
.plan h3 { font-size: 24px; font-weight: 450; margin-bottom: 22px; }
.price { font-size: 44px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin-bottom: 24px; white-space: nowrap; }
.price small { font-size: 15px; font-weight: 550; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { font-size: 15px; color: var(--ink-2); padding-left: 24px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-main { background: var(--ink); color: #fff; }
.plan-main .price small, .plan-main li { color: rgba(255, 255, 255, 0.7); }
.plan-main li::before { border-color: #7ea2ff; }

/* order */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.contact-list span { color: var(--muted); }
.order-form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; grid-column: 1 / -1; }
.field.half { grid-column: auto; }
.field label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.field input, .field select { height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: #fafafb; padding: 0 14px; font-size: 15.5px; outline: none; transition: border-color .2s, background .2s; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--accent); background: #fff; }
.order-form .btn-big { grid-column: 1 / -1; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--accent-ink); background: var(--accent-soft); padding: 12px 14px; border-radius: 12px; }

.foot { padding: 34px 0 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--ink); font-weight: 650; }

/* reveal-on-scroll for sections (JS adds .in) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.reduced .rv { opacity: 1; transform: none; transition: none; }

/* ============ responsive ============ */
@media (max-width: 1100px) {
  .case-view { grid-template-columns: 1fr; }
  .rcard { width: 320px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .spec-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .steps li { border-top: 2px solid var(--line); }
  .steps li.is-on { border-top-color: var(--accent); }
  .steps li::before { display: none; }
  .plans { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .twin { aspect-ratio: auto; min-height: 0; height: auto; overflow: visible; background: none; box-shadow: none; }
  .twin #terrain, .twin .twin-poster { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 26px; background: radial-gradient(90% 90% at 40% 30%, #ffffff 0%, #f6f1f3 55%, #eeebf1 100%); box-shadow: var(--shadow); }
  .twin-markers { bottom: auto; aspect-ratio: 4 / 5; }
  .twin-top { left: 12px; top: 12px; right: 12px; justify-content: space-between; }
  .legend { left: 12px; right: auto; bottom: auto; top: calc(min(100vw - 2 * var(--gut), 900px) * 1.25 - 74px); min-width: 0; width: calc(100% - 24px); }
  .rcard { position: relative; inset: auto; width: auto; margin-top: 14px; overflow: visible; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .report-facts { grid-template-columns: 1fr; gap: 0; }
  .report-facts li { padding: 16px 4px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { height: 60px; }
  .logo { font-size: 19px; }
  .btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .eyebrow { font-size: 11.5px; margin-bottom: 12px; }
  .beat-hero { top: 84px; bottom: max(22px, env(safe-area-inset-bottom)); transform: none; width: auto; right: var(--gut); }
  .beat-hero h1 { font-size: clamp(34px, 9.6vw, 44px); margin-bottom: 14px; }
  .lead { font-size: 15.5px; }
  .actions { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; flex-wrap: nowrap; }
  .actions .btn { flex: 1; height: 48px; padding: 0 14px; font-size: 14.5px; }
  .webgl .cue { display: none; }
  .poster { align-items: flex-end; justify-content: center; }
  .poster img { width: 120vw; margin: 0 0 90px; }
  .no-webgl .stage { min-height: 0; display: flex; flex-direction: column; }
  .no-webgl .stage .actions { position: relative; left: 0; right: 0; bottom: 0; margin-top: 22px; }
  .no-webgl .beat-hero { position: relative; top: 0; bottom: auto; padding: 92px var(--gut) 0; left: 0; right: 0; order: 1; }
  .no-webgl .poster { position: relative; inset: auto; order: 2; display: block; padding: 10px 0 18px; }
  .no-webgl .poster img { width: 112%; max-width: none; margin: 0 -6%; }
  .beat-reveal, .beat-explode, .beat-fold, .beat-scan { left: var(--gut); right: var(--gut); top: 84px; transform: none; width: auto; }
  .beat-specs { top: 84px; }
  .reveal { font-size: clamp(25px, 7vw, 32px); margin-bottom: 14px; }
  .beat h2 { font-size: clamp(30px, 8.6vw, 40px); margin-bottom: 10px; }
  .beat .sub { font-size: 15px; }
  .chips { margin-top: 14px; }
  .chips li { font-size: 12.5px; padding: 6px 11px; }
  .ghost { font-size: 40vw; top: 60%; }
  .progress { right: 10px; }
  .lbl > div { padding: 7px 10px 8px; border-radius: 12px; }
  .lbl b { font-size: 12.5px; }
  .lbl span { font-size: 11px; }
  .lbl.spec b { font-size: 22px; }
  .lbl.spec span { font-size: 11.5px; }
  .spec-list b { font-size: 26px; }
  .case-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)) 14px; padding: 0 var(--gut); scrollbar-width: none; }
  .case-tabs button { flex: none; height: 40px; font-size: 14px; padding: 0 15px; }
  .case-stage { aspect-ratio: 4 / 3.4; border-radius: 22px; }
  .ftag { display: none; }
  .case-svg .leader { display: none; }
  .pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 12px; }
  .case-hud { top: 10px; left: 10px; right: 10px; }
  .hud-chip, .toggle { height: 34px; font-size: 12.5px; padding: 0 11px; }
  .case-meta { left: 10px; bottom: 10px; }
  .case-meta span { font-size: 11.5px; padding: 5px 9px; }
  .case-panel { padding: 22px 18px 18px; }
  .case-panel h3 { font-size: 23px; }
  .seg button { height: 32px; padding: 0 12px; font-size: 13px; }
  .twin-hint { display: none; }
  .tm span { font-size: 11.5px; padding: 4px 8px; }
  .rc-pct b { font-size: 40px; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .st-n { font-size: 44px; margin-bottom: 10px; }
  .price { font-size: 38px; }
  .order-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .field.half { grid-column: 1 / -1; }
  .tag { transform: translateY(-0.3em); font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .cue span::after, .pin.sev-high::after, .tm.is-on::before { animation: none; }
  .rc-meter i, .rcard > * { transition: none; }
}

.order-copy h2 { font-size: clamp(40px, 5vw, 76px); margin-bottom: 18px; }
/* still capture helpers (tools/stills.mjs) */
.poster-mode body, .poster-mode { background: transparent !important; }
.poster-mode .top, .poster-mode .beat, .poster-mode .progress, .poster-mode .stage-bg, .poster-mode .labels, .poster-mode .leaders { display: none !important; }
