/* ════════════════════════════════════════════════════════════════
   BUILTBYBOWAS v2 — "PLAYER_01 // DEV_01"
   Sticky-stack editorial layout · dark ink + paper · one lime accent
   Display: Bricolage Grotesque · UI: Space Grotesk · HUD: JetBrains Mono
   ════════════════════════════════════════════════════════════════ */
:root {
  /* tier 1 */
  --raw-ink-950: #07080d; --raw-ink-900: #0e0f14; --raw-ink-800: #161922; --raw-ink-700: #262a35;
  --raw-paper-50: #f3f5f1; --raw-paper-100: #e6e9e3; --raw-paper-200: #d9ddd5;
  --raw-steel-400: #a3a9bd; --raw-lime-400: #c3ff2e; --raw-violet-400: #8b6cff;
  /* tier 2 */
  --ink: var(--raw-ink-950); --ink-2: var(--raw-ink-900); --ink-3: var(--raw-ink-800);
  --paper: var(--raw-paper-50); --paper-2: var(--raw-paper-100); --paper-line: var(--raw-paper-200);
  --on-dark: #fff; --on-dark-muted: var(--raw-steel-400); --on-dark-faint: rgb(255 255 255 / .4);
  --on-light: #07080d; --on-light-muted: rgb(7 8 13 / .45);
  --accent: var(--raw-lime-400); --accent-rgb: 195, 255, 46; --accent-2: var(--raw-violet-400);
  --line-dark: rgb(255 255 255 / .12);
  --f-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --f-ui: "Space Grotesk", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;
  --ease-in: cubic-bezier(.2, 0, 0, 1); --ease-plate: cubic-bezier(.33, 0, 0, 1);
  /* chatbot.css reads these legacy names */
  --acc: var(--accent); --acc-rgb: var(--accent-rgb); --acc2: var(--accent-2); --acc2-rgb: 139, 108, 255;
  --hot: #ff3d71; --gold: #ffc93d; --text: #eef1f8; --text-dim: #a3a9bd; --text-mute: #6b7189;
  --panel: #10131d; --bg: var(--ink); --bg-2: var(--ink-2); --line-strong: rgb(255 255 255 / .16);
  --f-body: var(--f-ui); --nav-h: 0px;
}
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
@media (max-width: 1920px) { html { font-size: .833333vw; } }
@media (max-width: 1440px) { html { font-size: 1.111111vw; } }
@media (max-width: 1279px) { html { font-size: 16px; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--on-dark); font-family: var(--f-ui); min-height: 100lvh; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 999; background: var(--accent); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* text engine */
.tx { display: flex; flex-wrap: wrap; column-gap: .3em; }
.tx > span[aria-hidden] { display: inline-block; will-change: transform, opacity; }
.tx-l { column-gap: 0; }
[data-in] { will-change: transform, opacity; }

/* ═════════ VEIL ═════════ */
.veil { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ink); }
.veil-inner { display: flex; flex-direction: column; align-items: center; }
.veil-mark { position: relative; width: 6.5rem; height: 6.5rem; -webkit-mask: url(../images/logo.svg) center / contain no-repeat; mask: url(../images/logo.svg) center / contain no-repeat; }
.veil-ghost { position: absolute; inset: 0; background: #fff; opacity: .12; }
.veil-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: bottom; transform: scaleY(0); }
.veil-name { margin: 1.75rem 0 0; font: 500 1.125rem/0.9 var(--f-ui); text-transform: uppercase; letter-spacing: .18em; }
.veil-name b { color: var(--accent); }
.veil-sub { margin: .8rem 0 0; font: 500 .75rem var(--f-mono); letter-spacing: .2em; color: var(--on-dark-muted); text-transform: uppercase; }
.veil-meter { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ink-3); }
.veil-meter span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ═════════ STACK ═════════ */
.stack { position: relative; background: #000; }
.layer { position: sticky; top: 0; }
.layer:nth-child(1) { z-index: 0; } .layer:nth-child(2) { z-index: 10; } .layer:nth-child(3) { z-index: 15; }
.layer-inner { transform-origin: center; }
.shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; }

/* shared bits */
.br { position: absolute; width: .625rem; height: .625rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.br.tr { top: 0; right: 0; } .br.tl { top: 0; left: 0; transform: scaleX(-1); }
.br.bl { bottom: 0; left: 0; transform: scale(-1); } .br.br_ { bottom: 0; right: 0; transform: scaleY(-1); }
.eyebrow-acc { margin: 0; font: 500 .75rem/.9 var(--f-ui); text-transform: uppercase; letter-spacing: -.02em; color: var(--accent); }
.head-acc, .head-ink { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.035em; }
.head-acc { color: var(--accent); }
.head-ink { color: var(--on-light); }
.head-acc > span, .head-ink > span { display: block; }
.dot-w { font-style: normal; color: #fff; display: inline-block; }
.dot-a { font-style: normal; color: var(--on-light); background: var(--accent); padding: 0 .06em; margin-left: .04em; display: inline-block; line-height: .8; }
.pixels { position: absolute; left: 0; right: 0; top: 0; height: 34svh; z-index: 30; pointer-events: none; width: 100%; }

/* ═════════ 1 · HERO ═════════ */
.hero { position: relative; isolation: isolate; min-height: 100lvh; overflow: hidden; background: var(--ink); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-fallback { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), .08), transparent 60%), var(--ink); }
.hero-fallback img { position: absolute; left: 50%; bottom: 0; height: 88%; transform: translateX(-50%); filter: grayscale(1) contrast(1.1); -webkit-mask: radial-gradient(circle at 50% 45%, #000 45%, transparent 70%); mask: radial-gradient(circle at 50% 45%, #000 45%, transparent 70%); opacity: .8; }
.hero-ramp { display: none; }
.hero-col { position: relative; z-index: 20; min-height: 100lvh; display: flex; flex-direction: column; padding: 1.5rem 2rem; }
.mast { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 30; }
.mast-logo { display: flex; align-items: center; gap: .6rem; font: 700 1.125rem var(--f-ui); letter-spacing: .02em; }
.mast-logo img { width: 1.75rem; height: 1.75rem; }
.mast-logo b { color: var(--accent); }
.mast-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.mast-nav ul { display: flex; gap: 3.5rem; list-style: none; margin: 0; padding: 0; }
.mast-nav a, .mast-cta { font-size: 1rem; text-transform: uppercase; line-height: .9; color: #fff; transition: color 150ms var(--ease-in); }
.mast-cta { font-weight: 700; }
.mast-nav a:hover, .mast-cta:hover, .socials a:hover { color: var(--accent); }
.burger { display: none; padding: .5rem; margin-right: -.5rem; }
.burger i { display: block; width: 1.5rem; height: 1px; background: #fff; }
.burger i + i { margin-top: .3125rem; }
.hero-mid { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hero-id { position: relative; max-width: 30rem; }
.hero-tag { margin: 0 0 1rem; font: 500 1rem var(--f-mono); text-transform: uppercase; color: var(--on-dark-faint); letter-spacing: .04em; }
.hero-name { margin: 0; font: 800 6rem/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.04em; max-width: 5.2em; justify-content: flex-start; }
.hero-name > span[aria-hidden]:last-child { color: var(--accent); }
.hero-meta { list-style: none; margin: 4.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.hero-meta li { display: flex; align-items: center; gap: .6rem; font-size: 1.125rem; text-transform: uppercase; line-height: .9; }
.hero-meta i { color: var(--accent); width: 1.125rem; text-align: center; font-size: .9rem; }
.flag-in { width: 1.125rem; height: .75rem; background: linear-gradient(#ff9933 33.3%, #fff 33.3% 66.6%, #138808 66.6%); flex: none; }
.hero-panels { width: 14rem; display: flex; flex-direction: column; gap: 2rem; }
.bpanel { position: relative; padding: 1rem; color: #fff; background: rgb(7 8 13 / .35); backdrop-filter: blur(6px); }
.np { margin: 1rem 0 0; display: grid; gap: .375rem; font-size: .875rem; text-transform: uppercase; line-height: .9; }
.np dt { font-weight: 700; } .np dd { margin: 0; color: var(--on-dark-muted); }
.np a { color: var(--accent); }
.stats3 { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stats3 dt { font-size: .75rem; text-transform: uppercase; letter-spacing: -.04em; color: var(--on-dark-muted); white-space: nowrap; }
.stats3 dd { margin: .6rem 0 0; font: 700 2.375rem/.72 var(--f-display); letter-spacing: -.06em; }
.hero-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; margin-top: .5rem; }
.reel { display: flex; align-items: center; gap: .75rem; font-size: .875rem; text-transform: uppercase; line-height: .9; }
.reel-ic { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-size: .7rem; }
.reel b { display: block; font-weight: 500; } .reel small { display: block; margin-top: .375rem; font-size: .875rem; color: var(--on-dark-faint); }
.reel:hover b { color: var(--accent); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 3rem; justify-content: flex-end; font-size: .875rem; text-transform: uppercase; }
.socials a { transition: color 150ms var(--ease-in); }

/* chamfered CTA */
.cta-frame { --h: 3.125rem; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 1.6em; height: var(--h); width: calc(var(--h) * 4.4); font-size: 1.25rem; color: var(--accent); }
.cta-frame > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.cf-body { fill: var(--ink-2); }
.cf-flood { fill: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 250ms var(--ease-plate); }
.cf-ring { fill: none; stroke: var(--accent); stroke-opacity: .3; vector-effect: non-scaling-stroke; }
.cf-br { fill: none; stroke: var(--accent); vector-effect: non-scaling-stroke; }
.cf-label { position: relative; text-transform: uppercase; line-height: .9; font-size: .8em; transition: color 250ms var(--ease-plate); }
.cf-arrow { position: relative; width: .65em; height: .5em; fill: none; stroke: currentColor; transition: transform 150ms var(--ease-in); }
.cta-frame:hover .cf-flood { transform: scaleX(1); }
.cta-frame:hover { color: var(--ink); }
.cta-frame:hover .cf-arrow { transform: translateX(.25rem); }
.cta-frame.hollow .cf-ring { stroke-opacity: 1; }
.cta-frame.hollow { width: calc(var(--h) * 5.5); }

/* ═════════ 2 · BUILD (pcb) ═════════ */
.build { container-type: inline-size; position: relative; isolation: isolate; min-height: 100lvh; overflow: hidden; background: var(--ink-2); color: #fff; }
.pcb-frame { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 90%, transparent 100%); }
.pcb-frame > * { position: absolute; left: 0; top: 0; width: 1440px; height: 800px; transform-origin: top left; }
#pcbSvg { overflow: visible; }
.build-col { position: relative; z-index: 20; min-height: 100lvh; display: flex; flex-direction: column; justify-content: space-between; gap: 4rem; padding: max(4.8611cqw, 5rem) max(2.2222cqw, 1.5rem) max(2.2222cqw, 2rem); pointer-events: none; }
.build-col a { pointer-events: auto; }
.build .head-acc { font-size: max(4.4cqw, 2.75rem); }
.rule { display: block; width: 1.6667cqw; min-width: 24px; height: 3px; background: var(--accent); margin-top: max(1.9444cqw, 20px); transform-origin: left; }
.intro { margin: max(2.0833cqw, 20px) 0 0; width: max(18cqw, 16rem); font-size: max(1.25cqw, 17px); line-height: 1.15; text-transform: uppercase; column-gap: .22em; }
.plate { position: relative; align-self: flex-end; width: max(21cqw, 300px); height: max(5.4167cqw, 80px); display: grid; grid-template-columns: 30% 1fr; }
.plate-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plate-bg path { fill: var(--ink); stroke: var(--accent); vector-effect: non-scaling-stroke; }
.plate-bg line { stroke: var(--accent); vector-effect: non-scaling-stroke; }
.plate-badge { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; font: 600 max(.8333cqw, 12px) var(--f-mono); text-transform: uppercase; letter-spacing: -.02em; }
.plate-badge span { color: var(--accent); } .plate-badge b { color: #fff; }
.plate-stats { position: relative; margin: 0; padding-left: max(1.1111cqw, 14px); display: flex; flex-direction: column; justify-content: center; gap: max(.5556cqw, 6px); text-transform: uppercase; line-height: .8; font-size: max(.9722cqw, 13px); }
.plate-stats div { display: flex; gap: .4em; }
.plate-stats dt { color: var(--accent); font-weight: 700; } .plate-stats dd { margin: 0; white-space: nowrap; }

/* ═════════ 3 · SERVICES (light) ═════════ */
.svc { container-type: inline-size; position: relative; isolation: isolate; min-height: 100lvh; overflow: hidden; background: var(--paper); color: var(--on-light); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.svc-inner { position: relative; z-index: 20; padding: max(8cqw, 6rem) max(2.2222cqw, 1.5rem) max(3cqw, 2.5rem); display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem 4cqw; align-items: start; }
.svc .head-ink { font-size: max(6.6667cqw, 3.25rem); grid-row: span 2; }
.svc-sub { margin: 0; max-width: 34em; font-size: max(1.1cqw, 17px); line-height: 1.2; text-transform: uppercase; column-gap: .22em; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--on-light); }
.svc-list li { display: grid; grid-template-columns: 3.2rem 1fr auto auto; gap: 1.25rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--paper-line); transition: background 250ms var(--ease-plate), padding 250ms var(--ease-plate); }
.svc-list li:hover { background: var(--paper-2); padding-left: .75rem; padding-right: .75rem; }
.svc-n { font: 600 .85rem var(--f-mono); color: var(--on-light-muted); }
.svc-list h3 { margin: 0; font: 700 max(1.6cqw, 1.3rem)/1 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; }
.svc-list p { margin: .45rem 0 0; color: rgb(7 8 13 / .66); font-size: .95rem; line-height: 1.45; }
.svc-more { font: 600 .8rem var(--f-mono); text-transform: uppercase; color: var(--on-light-muted); white-space: nowrap; }
.svc-more:hover { color: var(--on-light); }
.chip-btn { position: relative; padding: .7rem 1.1rem; background: var(--ink); color: var(--accent); font: 600 .8rem var(--f-ui); text-transform: uppercase; letter-spacing: .06em; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%); transition: background 250ms, color 250ms; }
.chip-btn:hover { background: var(--accent); color: var(--ink); }
.svc-all { grid-column: 2; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font: 500 .85rem var(--f-mono); text-transform: uppercase; }
.svc-all span { color: var(--on-light-muted); }
.svc-all a { border-bottom: 1px solid var(--paper-line); } .svc-all a:hover { border-color: var(--on-light); }

/* ═════════ 4 · WORK (timeline) ═════════ */
.work { container-type: inline-size; position: relative; z-index: 20; isolation: isolate; width: 100%; background: var(--ink); color: #fff; padding-bottom: 6cqw; --gutter: max(2.2222cqw, 24px); }
.work-head { position: absolute; z-index: 20; top: var(--gutter); right: var(--gutter); font-size: max(4.4cqw, 2.75rem); text-align: right; }
.rail { position: absolute; left: 50%; transform: translateX(-50%); z-index: 10; width: 1.1111cqw; top: 0; }
.rail svg { width: 100%; height: 100%; overflow: visible; display: block; }
.rows { position: relative; padding-top: 11.7361cqw; }
.row { position: relative; width: 100%; transition: opacity 700ms var(--ease-plate); }
.row.centre { height: 32.0833cqw; } .row.side { height: 15.0694cqw; }
.rows.dim .row:not(.hot) { opacity: .3; }
.layerp { position: absolute; inset: 0; pointer-events: none; }
.layerp > * { pointer-events: auto; }
.tplate { position: absolute; top: 0; bottom: 0; cursor: pointer; display: block; }
.row.centre .tplate { width: 49.3056cqw; left: 50%; transform: translateX(-50%); }
.row.side .tplate { width: 23.125cqw; }
.row.side.l .tplate { left: var(--gutter); } .row.side.r .tplate { right: var(--gutter); }
.tp-fill { position: absolute; inset: 0; overflow: hidden; background: rgb(255 255 255 / .06); clip-path: url(#plateClip); transition: inset 700ms var(--ease-plate); }
.tplate:hover .tp-fill { inset: 4%; }
.tp-slot { position: absolute; left: 0; right: 0; top: -10%; height: 100%; }
.tp-slot img, .tp-slot video { width: 100%; height: 110%; object-fit: cover; object-position: top; }
.tp-line { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #4c5060; vector-effect: non-scaling-stroke; pointer-events: none; }
.tplate:hover .tp-line { stroke: var(--accent); }
.tp-year { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 20; pointer-events: none; font: 800 max(2.5cqw, 30px)/.95 var(--f-display); text-transform: uppercase; color: var(--accent); letter-spacing: -.02em; white-space: nowrap; text-shadow: 0 2px 30px rgb(0 0 0 / .7); }
.tp-copy { position: absolute; left: 70.8333cqw; top: 50%; z-index: 20; width: min(max(20cqw, 200px), 26.9444cqw); margin: 0; font-size: max(1.25cqw, 15px); line-height: 1.12; text-transform: uppercase; }
.tp-copy b { color: #fff; } .tp-copy span { color: var(--on-dark-muted); }
.tp-copy a { display: inline-block; margin-top: .9em; color: var(--accent); font: 600 .8em var(--f-mono); }
.all-work { position: relative; z-index: 20; padding: 8cqw var(--gutter) 0; }
.aw-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); padding-bottom: 1.25rem; }
.aw-head h3 { margin: 0; font: 800 max(2.5cqw, 1.8rem) var(--f-display); text-transform: uppercase; letter-spacing: -.03em; }
.aw-head h3 span { color: var(--accent); font-family: var(--f-mono); font-size: .5em; vertical-align: super; }
.aw-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.aw-filter button { padding: .55rem .9rem; border: 1px solid var(--line-dark); font: 600 .78rem var(--f-mono); text-transform: uppercase; color: var(--on-dark-muted); transition: all 200ms; }
.aw-filter button:hover { color: #fff; border-color: #fff; }
.aw-filter button.on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.aw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.awc { position: relative; text-align: left; display: flex; flex-direction: column; gap: .8rem; }
.awc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.awc-media img, .awc-media video { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 700ms var(--ease-plate); }
.awc:hover .awc-media img { transform: scale(1.05); }
.awc-gen { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); font-size: 2.2rem; background: radial-gradient(circle at 30% 30%, rgb(139 108 255 / .35), transparent 60%), var(--ink-3); }
.awc-tag { position: absolute; top: .6rem; left: .6rem; padding: .3rem .5rem; background: var(--accent); color: var(--ink); font: 700 .65rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.awc h4 { margin: 0; font: 700 1.05rem/1.1 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; }
.awc p { margin: 0; font: 500 .72rem var(--f-mono); color: var(--on-dark-muted); text-transform: uppercase; }
.awc:hover h4 { color: var(--accent); }
.awc[hidden] { display: none; }

/* ═════════ 5 · MISSION (quote, light) ═════════ */
.mission { container-type: inline-size; position: relative; isolation: isolate; overflow: hidden; background: var(--paper); color: var(--on-light); }
.mission-inner { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem 4cqw; padding: max(8cqw, 6rem) max(2.2222cqw, 1.5rem) max(4cqw, 3rem); }
.mission .head-ink { font-size: max(6.6667cqw, 3.25rem); }
.mission-sub { margin: 2rem 0 0; max-width: 26em; font-size: max(1.25cqw, 17px); line-height: 1.15; text-transform: uppercase; column-gap: .22em; }
.contact-lines { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: .9rem; font: 600 .95rem var(--f-mono); }
.contact-lines a { display: inline-flex; align-items: center; gap: .7rem; border-bottom: 1px solid var(--paper-line); padding-bottom: .3rem; }
.contact-lines a:hover { border-color: var(--on-light); }
.contact-lines i { width: 1.1rem; text-align: center; }
.quote { position: relative; padding: 1.75rem; color: var(--on-light); background: rgb(255 255 255 / .6); backdrop-filter: blur(6px); }
.q-types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.q-types legend { font: 600 .78rem var(--f-mono); text-transform: uppercase; margin-bottom: .8rem; color: var(--on-light-muted); }
.q-types label { cursor: pointer; }
.q-types input { position: absolute; opacity: 0; pointer-events: none; }
.q-types span { display: block; padding: .6rem .9rem; border: 1px solid var(--paper-line); font: 600 .8rem var(--f-ui); text-transform: uppercase; background: #fff; transition: all 200ms; }
.q-types label:hover span { border-color: var(--on-light); }
.q-types input:checked + span { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.q-types input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.q-field { display: grid; gap: .45rem; font: 600 .75rem var(--f-mono); text-transform: uppercase; color: var(--on-light-muted); }
.q-field em { font-style: normal; opacity: .7; text-transform: none; }
.q-field b, .q-types b { color: var(--on-light); }
.q-wide { grid-column: 1 / -1; }
.q-field input, .q-field textarea { width: 100%; padding: .85rem .9rem; border: 1px solid var(--paper-line); background: #fff; color: var(--on-light); font: 500 1rem var(--f-ui); border-radius: 0; resize: vertical; }
.q-field input:focus, .q-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .55); }
.q-field.invalid input, .q-field.invalid textarea, .q-types.invalid span { border-color: #e0144c; }
.q-hp { position: absolute; left: -9999px; }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.q-status { margin: 0; font: 500 .85rem var(--f-ui); flex: 1; min-width: 12rem; }
.q-status.err { color: #c40f3f; } .q-status.ok { color: #3c6a00; font-weight: 600; }
.dark-btn { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.4rem; background: var(--ink); color: var(--accent); font: 700 .9rem var(--f-ui); text-transform: uppercase; letter-spacing: .06em; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); transition: background 250ms, color 250ms; }
.dark-btn:hover { background: var(--accent); color: var(--ink); }
.dark-btn:disabled { opacity: .6; cursor: wait; }
.band { position: relative; z-index: 20; background: var(--ink); color: #fff; padding: 2.6rem max(2.2222cqw, 1.5rem) 2.4rem; }
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 70rem; position: relative; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .55rem; text-transform: uppercase; text-align: center; }
.steps li + li::before { content: ''; position: absolute; top: calc(100% + 1.1rem); right: calc(50% + 1rem); width: calc(100% - 2rem); height: 1px; background: repeating-linear-gradient(to right, var(--on-dark-muted) 0 7px, transparent 7px 11.45px); background-size: 11.45px 1px; animation: none; }
.st-n { font: 600 .75rem var(--f-mono); color: var(--on-dark-muted); } .steps b { font: 800 1.15rem/.95 var(--f-display); }
.st-d { font: 500 .8rem var(--f-ui); color: var(--on-dark-muted); }
.steps li.live .st-n, .steps li.live .st-d { color: var(--accent); }
.st-mark { position: relative; margin-top: .8rem; width: 11px; height: 11px; font-style: normal; display: grid; place-items: center; font: 700 .7rem var(--f-mono); color: #fff; }
.st-ring { border: 1px solid #fff; border-radius: 50%; }
.st-live { background: var(--accent); border-radius: 50%; }
.st-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); transform: scale(var(--pulse-s, 1)); opacity: var(--pulse-o, 0); }
.steps li.live::before { }

/* ═════════ 6 · FAQ ═════════ */
.faq { position: relative; background: var(--paper); color: var(--on-light); border-top: 1px solid var(--paper-line); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding: 5rem max(2.2222cqw, 1.5rem); container-type: inline-size; }
.head-ink.small { font-size: max(3.6cqw, 2.4rem); }
.faq-list details { border-bottom: 1px solid var(--paper-line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.15rem 2.2rem 1.15rem 0; position: relative; font: 700 1.05rem/1.25 var(--f-ui); text-transform: uppercase; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: .2rem; top: .9rem; font: 400 1.6rem var(--f-mono); transition: transform 250ms var(--ease-plate); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 1.2rem; color: rgb(7 8 13 / .7); line-height: 1.6; max-width: 46em; }

/* ═════════ 7 · FOOTER ═════════ */
.foot { container-type: inline-size; position: relative; isolation: isolate; min-height: 100lvh; overflow: hidden; background: var(--accent); --g: max(2.2222cqw, 24px); }
.foot-panel { position: absolute; inset: 1.1111cqw; overflow: hidden; background: var(--ink); color: #fff; }
.foot-fig { position: absolute; z-index: 5; left: 50%; bottom: 0; height: 82%; aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; }
.foot-fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); -webkit-mask: radial-gradient(circle at 50% 42%, #000 40%, transparent 68%); mask: radial-gradient(circle at 50% 42%, #000 40%, transparent 68%); opacity: .85; }
.foot-logo { position: absolute; z-index: 20; left: var(--g); top: var(--g); display: flex; align-items: center; gap: .6rem; font: 700 1.1rem var(--f-ui); }
.foot-logo b { color: var(--accent); }
.foot-head { position: absolute; z-index: 20; top: var(--g); right: var(--g); font-size: max(4.4cqw, 2.4rem); text-align: right; }
.foot-nav { position: absolute; z-index: 20; left: var(--g); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: max(.8333cqw, 10px); }
.foot-nav a { display: block; width: max-content; font: 800 max(2.5cqw, 30px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; transition: color 150ms; flex-wrap: nowrap; }
.foot-nav a:hover { color: var(--accent); }
.foot-row { position: absolute; z-index: 20; left: var(--g); right: var(--g); bottom: max(2.2222cqw, 24px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; }
.foot-copy { margin: 0; max-width: 18rem; font-size: max(.9722cqw, 13px); line-height: 1.15; text-transform: uppercase; color: var(--on-dark-faint); }
.foot-soc { justify-content: flex-end; }

.svc-links { padding: 1.4rem max(2.2222cqw, 1.5rem); background: var(--ink); color: var(--on-dark-faint); font: 500 .78rem/1.9 var(--f-mono); text-align: center; }
.svc-links a:hover { color: var(--accent); }

/* ═════════ SHEET / MODAL ═════════ */
.sheet { position: fixed; inset: 0; z-index: 80; background: var(--ink); padding: 1.5rem 2rem; display: flex; flex-direction: column; opacity: 0; transition: opacity 250ms var(--ease-in); }
.sheet.open { opacity: 1; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet-x { position: relative; width: 2rem; height: 2rem; }
.sheet-x i { position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: #fff; transform: rotate(45deg); }
.sheet-x i + i { transform: rotate(-45deg); }
.sheet-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.sheet-nav a { font: 800 2.6rem/.95 var(--f-display); text-transform: uppercase; letter-spacing: -.03em; opacity: 0; transform: translateY(.75rem); transition: opacity 400ms var(--ease-in), transform 400ms var(--ease-in), color 150ms; }
.sheet.open .sheet-nav a { opacity: 1; transform: none; }
.sheet-nav a:hover { color: var(--accent); }
.pmodal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 1.25rem; }
.pm-back { position: absolute; inset: 0; background: rgb(4 5 9 / .85); backdrop-filter: blur(6px); }
.pm-box { position: relative; width: min(960px, 100%); max-height: 92vh; overflow: auto; background: var(--ink-2); border: 1px solid var(--line-dark); }
.pm-x { position: absolute; right: .75rem; top: .75rem; z-index: 3; width: 2.4rem; height: 2.4rem; background: rgb(0 0 0 / .6); color: #fff; }
.pm-stage { aspect-ratio: 16 / 9; background: #000; }
.pm-stage img, .pm-stage video { width: 100%; height: 100%; object-fit: contain; }
.pm-thumbs { display: flex; gap: .5rem; padding: .75rem 1.25rem 0; overflow-x: auto; }
.pm-thumbs button { flex: none; width: 5.5rem; aspect-ratio: 16 / 10; border: 1px solid var(--line-dark); overflow: hidden; background: #000; color: var(--accent); }
.pm-thumbs button.on { border-color: var(--accent); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-body { padding: 1.25rem 1.5rem 1.6rem; }
.pm-idx { font: 600 .75rem var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.pm-body h3 { margin: .4rem 0 .7rem; font: 800 1.8rem/1 var(--f-display); text-transform: uppercase; letter-spacing: -.03em; }
.pm-body p { margin: 0; color: var(--on-dark-muted); line-height: 1.6; }
.pm-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.pm-pills span { padding: .35rem .6rem; border: 1px solid var(--line-dark); font: 500 .75rem var(--f-mono); color: var(--on-dark-muted); }
.pm-links { display: flex; gap: .75rem; margin-top: 1.2rem; }
.pm-links a { padding: .8rem 1.1rem; background: var(--accent); color: var(--ink); font: 700 .8rem var(--f-ui); text-transform: uppercase; }
.pm-links a.ghost { background: transparent; color: #fff; border: 1px solid var(--line-dark); }

.load-err { position: fixed; left: 1rem; bottom: 1rem; z-index: 95; max-width: 26rem; padding: .8rem 1rem; background: #2a0b12; border: 1px solid #ff3d71; color: #fff; font: 500 .8rem var(--f-mono); }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1279px) {
  .mast-nav, .mast-cta { display: none; }
  .burger { display: block; }
  .hero-ramp { display: block; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 10; background: linear-gradient(to bottom, rgb(7 8 13 / 0), rgb(7 8 13 / .55) 45%, var(--ink)); }
  .hero-name { font-size: 4.375rem; }
  .hero-meta { margin-top: 2rem; }
  .aw-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .hero-mid { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 1.5rem; padding-top: 38vh; }
  .hero-panels { width: auto; flex-direction: row; }
  .bpanel { flex: 1; }
  .svc-inner, .mission-inner, .faq-inner { grid-template-columns: 1fr; }
  .svc .head-ink { grid-row: auto; }
  .svc-all { grid-column: auto; }
  .work { --head-top: 6rem; }
  .work-head { left: var(--gutter); right: var(--gutter); text-align: center; }
  .work-head > span { display: inline; }
  .rows { padding-top: 26cqw; }
  .aw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero-name { font-size: 3.4rem; }
  .hero-mid { padding-top: 46vh; }
  .hero-meta { gap: .55rem; margin-top: 1.25rem; }
  .hero-meta li { font-size: 1rem; }
}
@media (max-width: 639px) {
  .hero-col { padding: 1.25rem 1.25rem 1.5rem; }
  .hero-panels, .reel, .hero-foot .socials { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-cta { width: 100%; height: 3.5rem; }
  .pixels { z-index: 0; }
  .plate { width: 100%; }
  .svc-list li { grid-template-columns: 2.2rem 1fr; }
  .svc-list .svc-more { grid-column: 2; }
  .svc-list .chip-btn { grid-column: 2; justify-self: start; }
  .rail { display: none; }
  .rows { padding: 30cqw var(--gutter) 0; display: flex; flex-direction: column; gap: 2.5rem; }
  .row, .row.centre, .row.side { height: auto; display: flex; flex-direction: column; gap: .9rem; opacity: 1 !important; }
  .layerp { position: relative; inset: auto; top: 0 !important; }
  .row .tplate, .row.centre .tplate, .row.side .tplate { position: relative; width: 100%; left: auto; right: auto; transform: none; aspect-ratio: 710 / 462; }
  .tp-copy { position: relative; left: auto; top: auto !important; width: 100%; transform: none !important; font-size: 16px; }
  .work-head { position: relative; top: auto; left: auto; right: auto; padding: 5rem var(--gutter) 0; text-align: left; }
  .aw-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .q-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .steps li + li::before { display: none; }
  .foot { min-height: 720px; }
  .foot-fig { display: none; }
  .foot-head { top: 5rem; left: var(--g); right: auto; text-align: left; }
  .foot-nav { top: 15rem; transform: none; }
  .foot-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .foot-soc { justify-content: flex-start; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001s !important; }
}
.pmodal[hidden], .sheet[hidden] { display: none; }
.stats3 { grid-template-columns: auto auto auto; justify-content: space-between; }
.stats3 dd { white-space: nowrap; }
@media (min-width: 640px) { .hero-foot .socials, .foot-soc { padding-right: 5.5rem; } }
.head-acc > span.tx, .head-ink > span.tx { display: flex; justify-content: inherit; }
.head-acc.work-head > span.tx, .foot-head > span.tx { justify-content: flex-end; }
/* full stops hug their word: white on dark, a lime pixel on paper */
.dot-w { margin-left: -.28em; }
.dot-a { color: transparent; padding: 0; width: .2em; height: .2em; align-self: flex-end; margin: 0 0 .08em -.22em; background: var(--accent); box-shadow: 0 0 0 .035em var(--on-light); overflow: hidden; line-height: 0; }
/* timeline copy clears the centre plate */
.tp-copy { left: 76.6cqw; width: min(max(19cqw, 200px), 21.5cqw); }
@media (max-width: 639px) {
  .tp-copy { left: auto; width: 100%; }
  .foot-head > span.tx { justify-content: flex-start; }
  .hero-mid { padding-top: 52vh; }
}
/* ── responsive fixes (device sweep 2026-11-13) ── */
@media (min-width: 1921px) { html { font-size: .833333vw; } }      /* keep scaling up past 1920 */
.stats3 dd.tx { flex-wrap: nowrap; }
@media (max-width: 380px) {
  .hero-meta li { font-size: .9rem; flex-wrap: wrap; }
  .hero-name { font-size: 3rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero-col { padding-top: .75rem; padding-bottom: .75rem; }
  .hero-mid { padding-top: 1rem; }
  .hero-meta { gap: .25rem; margin-top: .75rem; }
  .hero-tag { margin-bottom: .25rem; }
  .foot { min-height: 640px; }
  .build { min-height: 560px; }
}
/* chat bubble waits until the hero is behind you (never hidden while a chat is open) */
.bot { transition: opacity .35s var(--ease-in), transform .35s var(--ease-in), visibility .35s; }
html:not(.past-hero) .bot:not(.open) { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }
/* services on phones: compact rows, actions side by side */
@media (max-width: 639px) {
  .svc-inner { padding-top: 4.5rem; gap: 1.5rem; }
  .svc-list li { grid-template-columns: 2rem 1fr auto; grid-template-areas: "n t t" "n m q"; gap: .55rem .75rem; padding: 1rem 0; }
  .svc-list li > .svc-n { grid-area: n; padding-top: .2rem; }
  .svc-list li > div { grid-area: t; }
  .svc-list .svc-more { grid-area: m; grid-column: auto; align-self: center; }
  .svc-list .chip-btn { grid-area: q; grid-column: auto; justify-self: end; padding: .6rem .9rem; }
  .svc-list p { font-size: .9rem; line-height: 1.4; }
  .svc-all { gap: .4rem 1rem; font-size: .75rem; }
}
