/* OQVAR landing — a dark type specimen. The chrome mark leads; drawings stay paper; red and yellow belong to the evidence. */
:root {
  --ink: #08090b;
  --card: #111317;
  --card-2: #16191e;
  --muted: #1c1f25;
  --line: rgba(236, 230, 214, .12);
  --line-2: rgba(236, 230, 214, .22);
  --bone: #ece6d6;
  --bone-2: rgba(236, 230, 214, .70);
  --bone-3: rgba(236, 230, 214, .56);
  --red: #e0301e;          /* fills: pins, the mark's eye */
  --red-text: #ff5a4a;     /* red as text on ink */
  --hl: #ffe24a;
  --green: #4cc98a;
  --blue: #5a8ae0;         /* the one data colour, validated for the dark chart surface */
  --blue-lift: #6d98e6;
  --paper: #fdfcf8;
  --display: "Unbounded", "Sora", system-ui, sans-serif;
  --brand: "Sora", "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 44px);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--hl); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--bone); color: var(--ink); padding: 10px 14px; border-radius: 10px; font: 600 12px var(--mono); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .2s var(--ease); }

/* ------------------------------------------------------------------ logo lockup */
.lk-mark { height: 26px; width: auto; flex: none; --eye: var(--red); }
.lk-wm { height: 13px; width: auto; overflow: visible; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding: 12px 18px; border: 1px solid transparent; border-radius: 11px; font: 500 13px/1.4 var(--sans); text-decoration: none; transition: opacity .2s, transform .2s, background-color .2s, border-color .2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bone); color: var(--ink); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { border-color: var(--line-2); color: var(--bone); background: transparent; }
.btn-ghost:hover { background: rgba(236, 230, 214, .06); }
.btn-sm { min-height: 36px; padding: 8px 14px; gap: 14px; font-size: 12px; }
.btn-lg { min-height: 56px; padding: 16px 24px; gap: 40px; font-size: 15px; }

/* ------------------------------------------------------------------ header: floats over the specimen */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: opacity .6s var(--ease), background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(8, 9, 11, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 var(--gutter); }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 9px; font-size: 13px; color: var(--bone-2); text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--bone); background: rgba(236, 230, 214, .06); }
html.is-loading .nav { opacity: 0; pointer-events: none; }
html.is-loading { overflow: hidden; }

/* ------------------------------------------------------------------ specimen: sticky stage, scroll is the timeline */
.specimen { position: relative; height: calc(100svh * 5); background: var(--ink); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; container: st / size; color: var(--bone); background: var(--ink); }
.st-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(236, 230, 214, .07) 100%); }
.st-glow { position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; background: radial-gradient(closest-side, rgba(224, 48, 30, .22), rgba(224, 48, 30, .07) 45%, transparent 100%); }
.st-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.st-fallback { display: none; position: absolute; left: 0; top: 0; height: auto; color: #2a2c31; --eye: var(--red); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
html.no-gl .st-fallback { display: block; }
.st-grain { position: absolute; inset: 0; pointer-events: none; opacity: .08; mix-blend-mode: screen; }
.fr { position: absolute; inset: 0; pointer-events: none; }
html.js [data-sc] { opacity: 0; visibility: hidden; }
html:not(.js) .fr ~ .fr, html:not(.js) .loader { display: none; }

/* loader */
.loader { position: absolute; inset: 0; z-index: 6; pointer-events: none; display: none; }
html.js.is-loading .loader, .loader.leaving { display: block; }
.loader.leaving { opacity: 0; transform: translateY(-2cqh); transition: opacity .7s var(--ease), transform .9s var(--ease); }
/* the outline that draws itself before the chrome fills it */
.ld-mark { position: absolute; left: 0; top: 0; height: auto; overflow: visible; color: transparent; --eye: transparent; stroke: var(--bone); stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(224, 48, 30, .45)); }
.ld-top { position: absolute; top: 5cqh; left: 5cqw; right: 5cqw; display: flex; justify-content: space-between; font: 500 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--bone-3); }
.ld-bottom { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqh; }
.ld-count { display: flex; align-items: flex-start; font: 600 min(15cqw, 22cqh)/.82 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ld-count small { font-size: .28em; margin: .12em 0 0 .1em; color: var(--red-text); }
.ld-bar { height: 1px; margin-top: 3cqh; background: var(--line); }
.ld-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* frame 0 · cover */
.cv-top { position: absolute; left: 5cqw; right: 5cqw; top: calc(5cqh + 52px); display: grid; grid-template-columns: minmax(0, 27cqw) 1fr minmax(0, 23cqw); gap: 0 2cqw; align-items: start; }
.cv-title { grid-column: 1; grid-row: 1; font: 500 clamp(20px, 3cqw, 42px)/.9 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.cv-desc { grid-column: 1; grid-row: 2; margin-top: 2.4cqh; font: 400 clamp(11px, .92cqw, 13px)/1.5 var(--sans); color: var(--bone-2); text-align: justify; hyphens: auto; }
.cv-specs { grid-column: 3; grid-row: 1 / 3; list-style: none; justify-self: end; text-align: right; font: 400 clamp(11px, .9cqw, 12.5px)/1.65 var(--mono); color: var(--bone-2); }
.cv-right { grid-column: 3; grid-row: 3; justify-self: end; margin-top: 3cqh; font: 500 clamp(16px, 2.2cqw, 30px)/.92 var(--display); text-transform: uppercase; text-align: right; color: var(--bone-3); }
.cv-word { position: absolute; left: 50%; top: 66%; transform: translate(-50%, -50%); font: 700 min(19cqw, 28cqh)/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.cv-letters { display: flex; }
[data-ch] { display: inline-block; will-change: transform; }
.ch { display: inline-block; }
html.js .ch { opacity: 0; }
html.js.ready .ch { animation: ch-in 1.3s cubic-bezier(.2, .8, .2, 1) calc(.08s + var(--k) * .07s) both; }
@keyframes ch-in { from { opacity: 0; transform: translateY(.35em) rotate(4deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.cv-sup { position: absolute; right: .06em; bottom: 96%; font: 500 max(9px, .075em)/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--bone-2); white-space: nowrap; }
.cv-bot { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqh; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cv-sign { display: flex; align-items: center; gap: 12px; }
.cv-mark { width: 30px; height: auto; color: var(--bone); --eye: var(--red); }
.cv-year { font: 300 clamp(20px, 2.3cqw, 32px)/1 var(--sans); letter-spacing: -.02em; }
.cv-made { padding: 0 6cqw 6px 0; border-bottom: 1px solid var(--line-2); font: 500 9px/1.25 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); }
.cv-cols { display: flex; gap: 22px; font: 500 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); }

/* frame 1 · the mark */
.mk-cap, .fr-cap { position: absolute; left: 6cqw; bottom: 5cqh; font: 500 10px/1.4 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--bone-2); }
.mk-cap em, .fr-cap em { font-style: normal; color: var(--red-text); }
.fr-cap-r { left: auto; right: 6cqw; text-align: right; }
.mk-note { position: absolute; right: 6cqw; bottom: 5cqh; text-align: right; font: 400 clamp(13px, 1.15cqw, 16px)/1.5 var(--sans); color: var(--bone-2); }

/* frames 2 and 3 · ask, check */
.big { font: 700 min(8.2cqw, 13cqh)/.98 var(--display); letter-spacing: -.015em; }
.ask { position: absolute; left: 6cqw; top: 21cqh; width: 52cqw; }
.ask-qs { list-style: none; display: grid; gap: 12px; margin-top: 5cqh; font: 400 clamp(13px, 1.12cqw, 16px)/1.4 var(--sans); color: var(--bone-2); }
.ask-qs b { display: inline-block; min-width: 30px; margin-right: 12px; padding: 3px 0; border-radius: 6px; background: var(--muted); color: var(--bone); font: 600 10px/1.2 var(--mono); letter-spacing: .06em; text-align: center; }
.chk { position: absolute; right: 6cqw; top: 21cqh; width: 48cqw; text-align: right; }
.pins { list-style: none; display: flex; justify-content: flex-end; gap: 12px; margin: 5cqh 0 3.4cqh; }
.pins li { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px/34px var(--mono); text-align: center; box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px var(--red); }
.chk-p { margin-left: auto; max-width: 30em; font: 400 clamp(13px, 1.12cqw, 16px)/1.55 var(--sans); color: var(--bone-2); }

/* frame 4 · measured */
.ms { position: absolute; left: 50%; top: 56cqh; transform: translate(-50%, -50%); text-align: center; }
.ms-l { margin-bottom: 2.4cqh; font: 500 11px/1.4 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--bone-2); }
.ms-n { font: 700 min(21cqw, 30cqh)/.86 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.ms-n small { font-size: .38em; vertical-align: .95em; margin-left: .04em; color: var(--red-text); }
.ms-row { display: flex; justify-content: center; gap: 5cqw; margin-top: 4cqh; font: 400 13px/1.4 var(--sans); color: var(--bone-2); }
.ms-row b { display: block; font: 600 clamp(20px, 2.2cqw, 30px)/1.1 var(--display); color: var(--bone); }
.ms-bar { position: absolute; left: 5cqw; right: 5cqw; bottom: 4.5cqh; display: flex; justify-content: space-between; align-items: center; gap: 16px; pointer-events: auto; }
.ms-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font: 500 clamp(11px, 1.25cqw, 17px)/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.ms-link:hover { color: var(--red-text); }
.ms-link:hover .arrow { transform: translate(2px, -2px); }
.ms-mark { width: 30px; height: auto; color: var(--red); --eye: var(--bone); }

/* frame nav */
.st-nav { position: absolute; right: 2cqw; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; font: 500 9px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; pointer-events: auto; z-index: 3; transition: opacity .6s; }
.st-nav button { display: flex; align-items: center; gap: 10px; padding: 6px 0; background: none; border: 0; color: var(--bone-2); }
.st-nav .tick { display: block; width: 14px; height: 1px; background: currentColor; opacity: .5; transition: width .4s var(--ease), opacity .3s, background-color .3s; }
.st-nav .lab { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.st-nav button:hover .lab, .st-nav button:focus-visible .lab { opacity: 1; transform: none; }
.st-nav button[aria-current="step"] .tick { width: 34px; opacity: 1; background: var(--red); }
html.is-loading .st-nav { opacity: 0; }

@container st (max-width: 1020px) { .hide-md { display: none !important; } }
@container st (max-width: 720px) { .hide-sm { display: none !important; } }
@container st (orientation: portrait) {
  .cv-top { grid-template-columns: 1fr; top: calc(4cqh + 56px); }
  .cv-word { top: 70%; font-size: min(19cqw, 24cqh); }
  .ask, .chk { left: 7cqw; right: 7cqw; width: auto; top: 13cqh; }
  .big { font-size: min(11.5cqw, 8.5cqh); }
  .ask-qs { margin-top: 3cqh; gap: 9px; }
  .pins { gap: 8px; margin: 3cqh 0 2.4cqh; }
  .pins li { width: 28px; height: 28px; line-height: 28px; font-size: 11px; }
  .ms { top: 60cqh; width: 90cqw; }
  .ms-n { font-size: min(21cqw, 16cqh); }
  .ms-row { flex-wrap: wrap; gap: 3cqh 7cqw; }
  .mk-note { left: 6cqw; right: 6cqw; bottom: 10cqh; text-align: left; }
}

/* ------------------------------------------------------------------ section scaffold (eyebrow / title / intro) */
.sec { padding-top: clamp(96px, 12vw, 160px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 600 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }
.head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
.title { font: 550 clamp(32px, 4.6vw, 58px)/1.06 var(--brand); letter-spacing: -.05em; text-wrap: balance; max-width: 18ch; }
.display { font: 550 clamp(40px, 7vw, 96px)/1 var(--brand); letter-spacing: -.055em; text-wrap: balance; }
.display span { color: var(--bone-3); }
.intro { display: grid; gap: 16px; justify-items: start; }
.desc { max-width: 40ch; font-size: 15px; line-height: 1.7; color: var(--bone-2); text-wrap: pretty; }
.count { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .04em; color: var(--bone-3); }
.count[hidden] { display: none; }
.count strong { font-weight: 500; color: var(--bone); font-variant-numeric: tabular-nums; }
.note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: var(--bone-3); }
.note a { color: var(--bone); text-underline-offset: 3px; }

/* ------------------------------------------------------------------ showcase: tabs + panel */
.showcase .wrap { container-type: inline-size; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line); padding: 5px 2px 18px; margin: 32px -2px 32px; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; min-height: 44px; padding: 8px 15px 8px 9px; border: 1px solid transparent; border-radius: 12px; background: transparent; font-size: 13px; color: var(--bone-2); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.tabs [role="tab"]:hover { background: rgba(236, 230, 214, .05); color: var(--bone); }
.tabs [role="tab"][aria-selected="true"] { border-color: var(--line-2); background: var(--muted); color: var(--bone); }
.tab-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 8px; background: var(--muted); color: var(--bone-2); font: 500 10px/1 var(--mono); font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
.tabs [aria-selected="true"] .tab-n { background: var(--bone); color: var(--ink); }
.panel { display: grid; grid-template-columns: 1.22fr 1fr; gap: 44px; align-items: center; min-width: 0; animation: panel-in .45s var(--ease) both; }
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.viz { position: relative; min-width: 0; padding: clamp(18px, 2.6cqw, 30px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(236, 230, 214, .045), transparent 70%), var(--card); overflow: hidden; }
.viz::before { content: ""; position: absolute; width: 260px; height: 260px; left: -110px; top: -130px; border: 1px solid var(--bone); border-radius: 50%; opacity: .06; pointer-events: none; }
.viz-label, .viz-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.viz-label { margin-bottom: 18px; }
.viz-label strong { font: 600 12px/1 var(--sans); letter-spacing: -.01em; text-transform: none; color: var(--bone); }
.viz-foot { margin-top: 20px; }
.viz-win { position: relative; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transform: rotate(-1.6deg); transition: transform .5s var(--ease); }
.viz:hover .viz-win { transform: rotate(0deg) scale(1.01); }
.win-head { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-bottom: 1px solid rgba(21, 23, 27, .12); background: #f3f0e8; color: #5d6269; }
.win-head i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
.win-head span { margin-left: auto; font: 500 10px/1 var(--mono); letter-spacing: .02em; }
.viz-body { background: var(--paper); }
.viz-bim { background: radial-gradient(80% 70% at 50% 40%, #fff, #efebe2); padding: 8px 0; }
.viz-chip { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 3px; padding: 9px 13px; border-radius: 10px; background: rgba(8, 9, 11, .92); color: var(--bone); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.viz-chip b { font: 600 15px/1.1 var(--display); letter-spacing: -.01em; }
.viz-chip span { font: 500 10px/1.3 var(--mono); color: var(--bone-2); }
.info { min-width: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.meta .sep { opacity: .5; }
.name { margin-bottom: 14px; font: 550 clamp(30px, 4.2cqw, 44px)/1.06 var(--brand); letter-spacing: -.05em; }
.summary { max-width: 42ch; font-size: 14.5px; line-height: 1.7; color: var(--bone-2); text-wrap: pretty; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.chips li { padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--card); font-size: 11px; line-height: 1.4; color: var(--bone-2); }
.outcome, .try { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.try { margin-top: 16px; padding-top: 14px; }
.outcome-l { display: block; margin-bottom: 6px; font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.outcome p { max-width: 40ch; font-size: 14px; line-height: 1.6; }
.outcome b { font: 600 1.15em var(--display); letter-spacing: -.01em; }
.try q { display: block; max-width: 44ch; font-size: 13px; line-height: 1.55; color: var(--bone-2); quotes: "“" "”" "‘" "’"; }
.action { margin-top: 24px; }
@container (max-width: 760px) {
  .panel { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .head { grid-template-columns: 1fr; gap: 16px; }
}

/* drawings inside the previews stay paper and ink */
.plan { display: block; width: 100%; height: auto; }
.plan .paper { fill: var(--paper); }
.plan-scan .paper { fill: #ebe7dd; }
.plan .wall-o { fill: none; stroke: #15171b; stroke-width: 12; }
.plan .wall-i { fill: none; stroke: #15171b; stroke-width: 7; }
.plan .gap { fill: var(--paper); }
.plan-scan .gap { fill: #ebe7dd; }
.plan .leaf { stroke: #15171b; stroke-width: 2.5; }
.plan .swing { fill: none; stroke: #15171b; stroke-width: 1; stroke-dasharray: 3 3; }
.plan .win { fill: var(--paper); stroke: #15171b; stroke-width: 1.5; }
.plan-scan .win { fill: #ebe7dd; }
.plan .fx { fill: none; stroke: rgba(21, 23, 27, .42); stroke-width: 1.2; }
.plan .rl { font: 600 11px var(--mono); letter-spacing: .08em; fill: #15171b; text-anchor: middle; }
.plan .rl.hot { fill: var(--red); }
.plan .ra { font: 400 10px var(--mono); fill: #5d6269; text-anchor: middle; }
.plan .dim path { stroke: #5d6269; stroke-width: 1; fill: none; }
.plan .dim text { font: 400 10px var(--mono); fill: #5d6269; text-anchor: middle; }
.plan .hl { fill: var(--hl); opacity: .8; }
.plan .hl.room { opacity: .5; }
.plan .poly { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 8 5; }
.plan .vtx { fill: #fff; stroke: var(--red); stroke-width: 2.5; }
.plan .tag { fill: #15171b; }
.plan .tag-t { font: 600 16px var(--mono); fill: #fff; text-anchor: middle; }
.plan .pin circle, .bim .pin circle { fill: var(--red); stroke: #fff; stroke-width: 2.5; }
.plan .pin text { font: 700 11px var(--mono); fill: #fff; text-anchor: middle; }
.bim { display: block; width: 100%; height: auto; }
.bim .shadow { fill: rgba(21, 23, 27, .14); }
.bim .face-l { fill: #ebe6da; stroke: #15171b; stroke-width: .8; }
.bim .face-r { fill: #d2ccbe; stroke: #15171b; stroke-width: .8; }
.bim .face-t { fill: #f7f4ec; stroke: #15171b; stroke-width: .8; }
.bim .parapet { fill: none; stroke: rgba(21, 23, 27, .35); stroke-width: .8; }
.bim .slab { fill: none; stroke: rgba(21, 23, 27, .5); stroke-width: .8; }
.bim .glass { fill: #b9c6d9; stroke: #15171b; stroke-width: .6; }
.bim .door { fill: #6b6458; stroke: #15171b; stroke-width: .6; }
.bim .hl { fill: var(--hl); opacity: .9; }
.bim .pin circle { stroke-width: 2; }
.bim .pin text { font: 700 8px var(--mono); fill: #fff; text-anchor: middle; }
.viz-sched { padding: 18px 16px 70px; }
.sched { width: 100%; border-collapse: collapse; font: 500 11px/1.2 var(--mono); color: #15171b; }
.sched th { padding: 6px 8px; border-bottom: 1.5px solid #15171b; text-align: left; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #5d6269; }
.sched td { padding: 7px 8px; border-bottom: 1px solid rgba(21, 23, 27, .12); }
.sched .rp { display: inline-grid; place-items: center; width: 16px; height: 16px; margin: -2px 7px 0 -4px; border-radius: 50%; background: var(--red); color: #fff; font-size: 9px; vertical-align: middle; }
.plan .mk, .bim .mk, .viz-chip.mk, .sched .rp { opacity: 0; transform-box: fill-box; transform-origin: center; }
.panel:not([hidden]) .plan .mk, .panel:not([hidden]) .bim .mk, .panel:not([hidden]) .viz-chip.mk, .panel:not([hidden]) .sched .rp { animation: pin-in .36s cubic-bezier(.2, .9, .3, 1.35) calc(var(--i, 0) * 140ms + 220ms) both; }
.panel:not([hidden]) .sched tr.mk td { animation: row-in .4s ease-out calc(var(--i) * 140ms + 220ms) both; }
@keyframes pin-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes row-in { from { background-color: transparent; } to { background-color: rgba(255, 226, 74, .75); } }

/* ------------------------------------------------------------------ why: two answers */
.vs { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; margin-top: 44px; }
.vs-card { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.vs-oq { border-color: var(--line-2); background: radial-gradient(90% 70% at 100% 0%, rgba(224, 48, 30, .12), transparent 60%), var(--card); }
.vs-top { display: flex; justify-content: space-between; align-items: center; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.vs-top h3 { font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--bone); }
.bubble { align-self: flex-start; max-width: 26ch; padding: 16px 20px; border-radius: 18px 18px 18px 6px; background: var(--muted); font-size: 18px; line-height: 1.45; color: var(--bone); }
.bubble b { font-weight: 600; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.faults { list-style: none; display: grid; gap: 14px; }
.faults li { display: flex; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--bone-2); }
.faults b { color: var(--bone); font-weight: 600; }
.x { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1px solid rgba(255, 90, 74, .5); border-radius: 50%; }
.x::before, .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--red-text); transform: translate(-50%, -50%) rotate(45deg); }
.x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.vs-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.vs-answer { display: flex; align-items: center; gap: 16px; }
.vs-num { font: 700 64px/.85 var(--display); letter-spacing: -.03em; }
.vs-unit { font: 600 14px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.vs-unit small { display: block; margin-top: 6px; font: 400 12px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--bone-3); }
.stamp { margin-left: auto; padding: 6px 10px; border: 2px solid var(--green); border-radius: 5px; color: var(--green); font: 700 11px/1.1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-align: center; transform: rotate(-6deg); }
.stamp small { display: block; font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.vs-sheet { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--paper); }
.vs-sheet .mk { opacity: 1; }

/* ------------------------------------------------------------------ engines */
.engines { list-style: none; margin-top: 44px; border-top: 1px solid var(--line); }
.engines li { display: grid; grid-template-columns: 52px minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.engines li:hover { background: rgba(236, 230, 214, .03); }
.en-main h3 { font: 550 20px/1.2 var(--brand); letter-spacing: -.03em; }
.en-main p { margin-top: 4px; font-size: 13.5px; color: var(--bone-2); }
.chip { justify-self: start; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 7px; font-size: 11px; line-height: 1.4; color: var(--bone-2); }
.chip-good { border-color: rgba(76, 201, 138, .45); color: var(--green); }
.en-ev { font-size: 13.5px; color: var(--bone-3); }

/* ------------------------------------------------------------------ benchmark chart (single series: the caption names it, no legend) */
.bm { position: relative; margin-top: 44px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.bm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.bm-head figcaption b { display: block; font: 600 15px/1.3 var(--sans); }
.bm-head figcaption span { font: 400 12px var(--mono); color: var(--bone-3); }
.bm-group { margin-top: 20px; padding-bottom: 8px; font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.bm-row { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: 28px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); border-radius: 2px; }
.bm-lbl b { display: block; font: 600 14.5px/1.3 var(--sans); }
.bm-lbl span { display: block; margin-top: 3px; font: 400 11.5px/1.45 var(--mono); color: var(--bone-3); }
.bm-track { position: relative; height: 24px; border-right: 1px solid rgba(236, 230, 214, .1); background: linear-gradient(to right, rgba(236, 230, 214, .1) 1px, transparent 1px) 0 0 / 25% 100%; }
.bm-bar { position: absolute; left: 0; top: 2px; height: 20px; width: 0; background: var(--blue); border-radius: 0 4px 4px 0; transition: width 1s var(--ease), background-color .15s; }
.bm-val { position: absolute; top: 50%; left: calc(var(--w) + 8px); transform: translateY(-50%); font: 600 13px/1 var(--sans); white-space: nowrap; opacity: 0; transition: opacity .3s .6s; }
.bm-val.inside { left: auto; right: calc(100% - var(--w) + 8px); color: var(--ink); }
.bm.in .bm-bar { width: var(--w); }
.bm.in .bm-val { opacity: 1; }
.bm-row:hover .bm-bar, .bm-row:focus-visible .bm-bar { background: var(--blue-lift); }
.bm-axis { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: 28px; border-top: 1px solid var(--line); }
.bm-ticks { position: relative; height: 26px; }
.bm-ticks span { position: absolute; top: 8px; transform: translateX(-50%); font: 400 11px var(--mono); color: var(--bone-3); font-variant-numeric: tabular-nums; }
.bm-ticks span:first-child { transform: none; }
.bm-ticks span:last-child { transform: translateX(-100%); }
.bm-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 190px; max-width: 290px; padding: 11px 13px; border-radius: 12px; background: var(--bone); color: var(--ink); font-size: 12px; line-height: 1.4; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
.bm-tip strong { display: block; font: 600 20px/1.1 var(--display); }
.bm-tip span { display: block; margin-top: 4px; color: #3d4148; }
.bm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bm-table th, .bm-table td { padding: 11px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.bm-table td { color: var(--bone-2); }
.bm-table thead th { border-top: 0; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.bm-table .r { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--bone); }
.bm-empty { color: var(--bone-2); }

/* ------------------------------------------------------------------ languages */
.qs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 44px; }
.qs a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.qs a:hover { border-color: var(--line-2); background: var(--card-2); transform: translateY(-2px); }
.qs a:hover .arrow { transform: translate(2px, -2px); }
.qh, .qf { display: flex; align-items: center; gap: 10px; }
.qf { justify-content: space-between; margin-top: auto; }
.lang { font: 500 11px var(--mono); color: var(--bone-3); }
.qs q { font-size: 15px; line-height: 1.5; quotes: none; color: var(--bone); }
.ans { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.ans b { margin-left: 5px; font: 600 15px/1 var(--display); letter-spacing: 0; color: var(--bone); }
.open { display: inline-flex; align-items: center; gap: 4px; font: 500 12px/1 var(--sans); color: var(--bone-2); }
.open .arrow { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ closer + footer */
.closer-sec { padding-bottom: clamp(80px, 10vw, 140px); }
.closer { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 22px; padding: clamp(36px, 7vw, 96px); border: 1px solid var(--line-2); border-radius: 28px; background: radial-gradient(70% 90% at 85% 10%, rgba(224, 48, 30, .2), transparent 60%), linear-gradient(160deg, #15171c, #0c0d10); }
.closer .eyebrow { margin-bottom: 0; }
.closer .display { position: relative; max-width: 14ch; }
.closer .desc { position: relative; }
.closer .btn { position: relative; margin-top: 8px; }
.closer-mark { position: absolute; right: -4%; bottom: -26%; width: min(520px, 55vw); height: auto; color: rgba(236, 230, 214, .045); --eye: rgba(224, 48, 30, .14); pointer-events: none; }
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 28px; padding-bottom: 36px; font-size: 12px; color: var(--bone-3); }
.foot-in .nav-brand { margin-right: auto; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .head { grid-template-columns: 1fr; gap: 16px; }
  .vs { grid-template-columns: minmax(0, 1fr); }
  .engines li { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 16px; }
  .engines .chip, .engines .en-ev { grid-column: 2; }
  .bm-row, .bm-axis { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bm-axis > span:first-child { display: none; }
}
@media (max-width: 560px) {
  .nav-in { height: 58px; gap: 12px; }
  .vs-num { font-size: 52px; }
  .stamp { display: none; }
  .viz-win { transform: none; }
  .viz-chip { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js.ready .ch, .panel, .plan .mk, .bim .mk, .viz-chip.mk, .sched .rp, .sched tr.mk td { animation-duration: 1ms !important; animation-delay: 0s !important; }
  .bm-bar, .bm-val, .viz-win, .loader.leaving, .btn, .qs a, .arrow { transition: none !important; }
}
@media (forced-colors: active) {
  .bm-bar { background: CanvasText; }
  .plan .pin circle { fill: CanvasText; }
}
