/* ═══════════════════════════════════════════════════════════
   Aelior Labs: "a senior tech on every call"
   Black field, Geist + Geist Mono, steel hairlines, amber as the only accent.
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #050506;
  --bg-2: #08090b;
  --panel: #0a0b0d;
  --line: rgba(159, 187, 204, 0.12);
  --line-2: rgba(159, 187, 204, 0.2);
  --line-3: rgba(159, 187, 204, 0.34);
  --text: #edeef0;
  --muted: #8b9099;
  --dim: #5c616a;
  --dim-2: #666c75;
  --amber: #ffb454;
  --amber-fill: rgba(255, 180, 84, 0.10);
  --amber-glow: rgba(255, 180, 84, 0.35);
  --steel: #9fbbcc;
  --ok: #4fd18b;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1360px;
  --gut: clamp(20px, 4vw, 56px);
  --sec: clamp(120px, 14vw, 210px);
  --gap-v: clamp(48px, 6vw, 96px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b { font-weight: 500; color: var(--text); }
::selection { background: var(--amber); color: #000; }
:focus-visible { outline: 1.5px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; }
.amber { color: var(--amber); }
.dim { color: var(--dim-2); }

h1 { font-weight: 500; font-size: clamp(48px, 7.4vw, 124px); line-height: 0.92; letter-spacing: -0.052em; }
h2 { font-weight: 500; font-size: clamp(38px, 5.2vw, 84px); line-height: 0.96; letter-spacing: -0.045em; max-width: 14ch; }
p { color: var(--muted); }

/* ── progress hairline ── */
.progress { position: fixed; inset: 0 0 auto 0; height: 1px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, transparent, var(--amber)); }

/* ── buttons ── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 22px;
  border-radius: 999px; font: 500 15px/1 var(--sans); letter-spacing: -0.01em; cursor: pointer;
  border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,0.02);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--line-3); background: rgba(255,255,255,0.05); }
.btn-primary { background: var(--text); color: #050506; border-color: var(--text); }
.btn-primary:hover { background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,0.06), 0 10px 40px -10px var(--amber-glow); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: rgba(5,5,6,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 62px; padding: 0 32px; font-size: 18px; }
.pip { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5,5,6,0.7); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line); }
.nav-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 24px; height: 24px; color: var(--text); }
.brand .name { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.brand .name em { font-style: normal; color: var(--muted); font-weight: 400; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { font-size: 14px; color: var(--muted); transition: color .2s; display: inline-flex; gap: 7px; align-items: baseline; }
.links a i { font: 400 10px var(--mono); color: var(--dim); font-style: normal; letter-spacing: .08em; }
.links a:hover { color: var(--text); }

/* ═════════ 00 HERO ═════════ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 120px; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 6%; width: 70vw; height: 90%;
  background: radial-gradient(closest-side, rgba(255,180,84,0.10), rgba(159,187,204,0.05) 48%, transparent 72%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.kicker { color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { max-width: 9.5ch; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; max-width: 40ch; margin-top: 34px; color: #a3a8b1; }
.cta-row { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.hero-phone { position: relative; justify-self: center; }
.hero-phone { --pw: clamp(250px, 23vw, 320px); }
.hero-phone .phone { --w: var(--pw); }
.hud { position: absolute; left: calc(100% + 28px); top: 25.5%; transform: translateY(-50%); pointer-events: none; }
.hud-lead { position: absolute; right: calc(100% - 1px); top: 50%; width: calc(28px + var(--pw) * 0.27); height: 1px; background: linear-gradient(270deg, rgba(255,180,84,0.65), rgba(255,180,84,0.35)); }
.hud-lead::after { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.hud-box { display: block; position: relative; font-size: 10px; line-height: 1.7; color: var(--muted); padding: 7px 11px; border: 1px solid rgba(255,180,84,0.35); background: rgba(5,5,6,0.6); backdrop-filter: blur(6px); white-space: nowrap; }
.hud-box b { color: var(--amber); font-weight: 500; margin-right: 6px; }
.hud-live { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.hud-live i { width: 5px; height: 5px; background: var(--amber); border-radius: 50%; animation: pulse 1.2s infinite; }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; }
.creds { display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--dim); }
.creds li { white-space: nowrap; }
.creds b { color: var(--text); font-weight: 500; }
.creds li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--dim); margin: 0 14px 2px -14px; transform: rotate(45deg); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--line-3), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }

/* ═════════ PHONE ═════════ */
.phone {
  --w: clamp(250px, 23vw, 320px);
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5; border-radius: calc(var(--w) * 0.16);
  padding: calc(var(--w) * 0.035); background: linear-gradient(160deg, #2a2d33, #121418 40%, #1c1f24);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 40px 120px -30px rgba(0,0,0,0.9), 0 0 80px -20px rgba(255,180,84,0.18);
}
.phone::before { content: ""; position: absolute; z-index: 3; top: calc(var(--w) * 0.06); left: 50%; width: 30%; height: calc(var(--w) * 0.075); transform: translateX(-50%); background: #000; border-radius: 999px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * 0.13); overflow: hidden; background: #000; font-size: calc(var(--w) * 0.042); }
.cam { position: absolute; inset: 0; width: 100%; height: 100%; }
.cam .led, .screen .led { fill: #2b3a30; }
.blink .led { animation: led 2.4s steps(1, end) infinite; }
@keyframes led { 0%, 8% { fill: #ffb454; filter: drop-shadow(0 0 6px #ffb454); } 8.01%, 16% { fill: #2b3a30; filter: none; } 16.01%, 24% { fill: #ffb454; filter: drop-shadow(0 0 6px #ffb454); } 24.01%, 32% { fill: #2b3a30; filter: none; } 32.01%, 40% { fill: #ffb454; filter: drop-shadow(0 0 6px #ffb454); } 40.01%, 100% { fill: #2b3a30; filter: none; } }

.cam-top { position: absolute; z-index: 2; top: 12%; left: 7%; right: 7%; display: flex; align-items: center; justify-content: space-between; }
.rec { font: 500 0.78em var(--mono); letter-spacing: .12em; color: #fff; display: inline-flex; align-items: center; gap: .45em; background: rgba(0,0,0,0.45); padding: .35em .6em; border-radius: 999px; backdrop-filter: blur(6px); }
.rec i { width: .55em; height: .55em; border-radius: 50%; background: #ff4d4d; animation: pulse 1.4s infinite; }
.who { display: flex; flex-direction: column; align-items: center; line-height: 1.15; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.who b { font-size: 1.05em; }
.who span { font: 400 .78em var(--mono); color: rgba(255,255,255,0.7); letter-spacing: .08em; }
.ai-dot { width: 2.2em; height: 2.2em; border-radius: 50%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,180,84,0.6); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255,180,84,0.5); animation: talk 1.6s var(--ease-io) infinite; }
.ai-dot svg { width: 58%; height: 58%; color: #fff; }
@keyframes talk { 50% { box-shadow: 0 0 0 .45em rgba(255,180,84,0.12); } }

/* focus brackets on the board light: the board sits at x 70-230, y 120-232 of the 300x560 camera frame */
.focus { position: absolute; z-index: 2; left: 58%; top: 21%; width: 16%; aspect-ratio: 1; opacity: 0; transform: scale(1.3); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.focus.on { opacity: 1; transform: none; }
.focus i { position: absolute; width: 28%; height: 28%; border: 2px solid var(--amber); filter: drop-shadow(0 0 4px rgba(255,180,84,0.6)); }
.focus i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.focus i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.focus i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.focus i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.focus span { position: absolute; top: calc(100% + .5em); left: 50%; transform: translateX(-50%); font-size: .62em; letter-spacing: .12em; white-space: nowrap; color: #000; background: var(--amber); padding: .25em .5em; border-radius: 3px; }

.cap-stack { position: absolute; z-index: 2; left: 6%; right: 6%; bottom: 7%; display: flex; flex-direction: column; gap: .5em; }
.cap-stack p, .caps p { margin: 0; color: #fff; font-size: .92em; line-height: 1.35; background: rgba(10,11,13,0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: .65em .8em; border-radius: .9em; border: 1px solid rgba(255,255,255,0.06); animation: capIn .45s var(--ease) both; }
.cap-stack p b, .caps p b { display: block; font: 500 .7em var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: .25em; }
.cap-stack p.me b, .caps p.me b { color: var(--steel); }
.cap-stack p.me, .caps p.me { align-self: flex-end; background: rgba(40,44,52,0.75); }
@keyframes capIn { from { opacity: 0; transform: translateY(8px); } }

.saved { position: absolute; z-index: 2; left: 50%; top: 47%; transform: translate(-50%, 8px); display: flex; gap: .5em; align-items: center; white-space: nowrap; font-size: .82em; color: #fff; background: rgba(10,11,13,0.8); border: 1px solid rgba(79,209,139,0.45); padding: .45em .8em; border-radius: 999px; opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.saved.on { opacity: 1; transform: translate(-50%, 0); }
.saved .tick { color: var(--ok); }

/* call screen without camera */
.call-ui { position: absolute; inset: 0; background: linear-gradient(180deg, #111317, #050506); padding: 22% 7% 8%; display: flex; flex-direction: column; gap: 1em; }
.cu-top { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.cu-top b { font-size: 1.1em; }
.cu-top span { font: .78em var(--mono); color: var(--muted); letter-spacing: .08em; }
.avatar { flex: none; align-self: center; width: 34%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #1a1d22; display: grid; place-items: center; margin-top: .4em; box-shadow: 0 0 0 .5em rgba(79,209,139,0.18); animation: ring 1.8s var(--ease-io) infinite; }
.avatar svg { width: 46%; height: auto; aspect-ratio: 1; color: #fff; }
@keyframes ring { 50% { box-shadow: 0 0 0 .9em rgba(79,209,139,0.08); } }
.caps { margin-top: auto; display: flex; flex-direction: column; gap: .5em; }
.chip-row { display: flex; gap: .4em; flex-wrap: wrap; }
.chip { font-size: .74em; padding: .4em .7em; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.chip.ok { border-color: rgba(79,209,139,0.45); color: #c9f2db; }
.card-check { margin-top: 1em; background: #15181d; border: 1px solid var(--line-2); border-radius: 1.1em; padding: 1.1em; display: flex; flex-direction: column; gap: .5em; }
.card-check .mono { font-size: .62em; color: var(--dim); }
.card-check b { font-size: 1.25em; letter-spacing: -0.02em; }
.card-check p { font-size: .88em; line-height: 1.4; }
.qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; margin-top: .4em; }
.q { text-align: center; padding: .7em 0; border-radius: .8em; background: #20242a; font-size: .86em; color: var(--text); }
.q.ok { background: rgba(79,209,139,0.18); color: #c9f2db; box-shadow: 0 0 0 1px rgba(79,209,139,0.5) inset; }

.msg-ui { position: absolute; inset: 0; background: #0b0c0e; padding: 22% 7% 8%; display: flex; flex-direction: column; gap: 1em; }
.msg-top { display: flex; flex-direction: column; gap: .2em; padding-bottom: .8em; border-bottom: 1px solid var(--line); }
.msg-top .mono { font-size: .6em; color: var(--dim); }
.bubble { align-self: flex-end; max-width: 92%; background: #1f6feb; color: #fff; border-radius: 1.1em 1.1em .3em 1.1em; padding: .8em .95em; display: flex; flex-direction: column; gap: .35em; }
.bubble p { color: #eaf2ff; font-size: .86em; line-height: 1.38; }
.bubble p b { color: #fff; }
.bubble .flag { color: #fff; font-weight: 500; }
.sent { align-self: flex-end; font-size: .56em; color: var(--dim); }

.notes-ui { position: absolute; inset: 0; background: #0b0c0e; padding: 22% 7% 8%; display: flex; flex-direction: column; gap: .9em; }
.notes-ui > .mono { font-size: .62em; color: var(--dim); }
.notes-ui dl { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.notes-ui dl div { display: grid; grid-template-columns: 4.2em 1fr; gap: .6em; padding: .65em 0; border-bottom: 1px solid var(--line); }
.notes-ui dt { font: .6em var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding-top: .25em; }
.notes-ui dd { font-size: .86em; line-height: 1.38; color: var(--text); }
.copy { margin-top: auto; text-align: center; padding: .85em; border-radius: 999px; background: var(--text); color: #050506; font-weight: 500; font-size: .9em; }

/* ═════════ TRADES STRIP ═════════ */
.trades { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; border-block: 1px solid var(--line); padding-block: 26px; margin-top: 8px; }
.t-k { color: var(--dim); font-size: 10px; }
.t-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.t-list li { display: flex; flex-direction: column; gap: 6px; padding: 2px 24px; border-left: 1px solid var(--line); }
.t-list b { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.025em; color: var(--dim-2); font-weight: 500; }
.t-list .mono { font-size: 10px; color: var(--dim); }
.t-list li.on b { color: var(--text); }
.t-list li.on .mono { color: var(--amber); }

/* ═════════ CHAPTERS ═════════ */
.chapter { padding-top: var(--sec); position: relative; }
.ch-head { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); color: var(--muted); }
.ch-head .ch-n { color: var(--amber); }
.ch-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent 70%); }
.split-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.side { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 34ch; }

/* ═════════ 01 TODAY: one senior's day ═════════ */
.day { margin-top: var(--gap-v); position: relative; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 20px 16px; }
.day-hud { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.day-hud span:last-child { color: var(--dim); }
.rec-s { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--steel); margin-right: 8px; vertical-align: 1px; opacity: .8; }
.day-svg { width: 100%; height: clamp(150px, 18vw, 230px); margin: 16px 0 10px; overflow: visible; }
.hours path { stroke: var(--line-2); }
.hours text { font: 400 11px var(--mono); letter-spacing: .14em; fill: var(--dim); }
.hours .tk { stroke: var(--line); }
.job { fill: rgba(159,187,204,0.07); stroke: rgba(159,187,204,0.4); }
.job-l { font: 400 10.5px var(--mono); letter-spacing: .12em; fill: var(--muted); text-transform: uppercase; }
.call { fill: var(--amber-fill); stroke: var(--amber); transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); transition: transform .5s var(--ease); }
.day.in .call { transform: none; }
.day-legend { display: flex; gap: 26px; align-items: center; color: var(--muted); font-size: 10px; flex-wrap: wrap; }
.day-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; }
.lg-job { background: rgba(159,187,204,0.1); border: 1px solid rgba(159,187,204,0.45); }
.lg-call { background: var(--amber-fill); border: 1px solid var(--amber); }
.day-total { margin-left: auto; color: var(--dim); }
.day-total b { color: var(--text); font: 500 15px var(--sans); letter-spacing: -0.01em; margin-right: 6px; font-variant-numeric: tabular-nums; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.facts li { padding: 28px 36px 8px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.facts li:not(:first-child) { padding-left: 36px; }
.facts li:last-child { border-right: 0; padding-right: 0; }
.facts .mono { color: var(--dim); font-size: 10px; }
.facts b { font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -0.02em; line-height: 1.2; }
.facts p { font-size: 15px; line-height: 1.55; max-width: 32ch; }

/* ═════════ 02 SCENE ═════════ */
.scene { position: relative; height: 520vh; margin-top: var(--sec); border-top: 1px solid var(--line); }
.scene-pin { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; background: var(--bg); }
.scene-pin::before { content: ""; position: absolute; right: 0; top: 10%; width: 60vw; height: 80%; background: radial-gradient(closest-side, rgba(255,180,84,0.08), transparent 70%); pointer-events: none; }
.scene-grid { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 120px); align-items: center; padding-top: 68px; }
.rail { max-width: 520px; }
.rail .ch-head { margin-bottom: 26px; }
.rail .ch-head::after { display: none; }
.scene-title { font-size: clamp(32px, 3.6vw, 56px); max-width: 16ch; margin-bottom: clamp(24px, 4vh, 44px); }
.stages { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.stages li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--dim); position: relative; cursor: pointer; }
.stages li .mono { font-size: 10px; color: var(--dim); transition: color .4s; }
.stages li b { font-size: 19px; letter-spacing: -0.02em; color: var(--dim); transition: color .4s; }
.stages li small { grid-column: 2; font-size: 14px; line-height: 1.45; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease); }
.stages li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--amber); transition: width .6s var(--ease); }
.stages li.done .mono, .stages li.done b { color: var(--muted); }
.stages li.on b { color: var(--text); }
.stages li.on .mono { color: var(--amber); }
.stages li.on small { max-height: 90px; opacity: 1; margin-top: 6px; }
.stages li.on::before { width: 100%; }
.scene-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.scene-phone .phone { --w: clamp(240px, min(22vw, 34vh), 330px); }
.scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.cap-stack.static p { animation: none; }
.sim { color: var(--dim); font-size: 9.5px; }
.scene-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.scene-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--amber); }

/* ═════════ 03 NO SIGNAL ═════════ */
.offline { margin-top: var(--gap-v); display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; border-block: 1px solid var(--line); padding: 34px 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; padding-left: 4px; }
.bars i { width: 14px; background: var(--steel); border-radius: 2px; opacity: .85; }
.bars i:nth-child(1) { height: 25%; } .bars i:nth-child(2) { height: 50%; } .bars i:nth-child(3) { height: 75%; } .bars i:nth-child(4) { height: 100%; }
.offline.in .bars i { animation: drop 6s var(--ease-io) infinite; }
.offline.in .bars i:nth-child(4) { animation-delay: .1s; } .offline.in .bars i:nth-child(3) { animation-delay: .25s; } .offline.in .bars i:nth-child(2) { animation-delay: .4s; } .offline.in .bars i:nth-child(1) { animation-delay: .55s; }
@keyframes drop { 0%, 20% { opacity: .85; background: var(--steel); } 30%, 70% { opacity: .15; background: var(--dim); } 80%, 100% { opacity: .85; background: var(--steel); } }
.o-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.o-list li { padding: 6px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.o-list .mono { font-size: 10px; color: var(--dim); }
.o-list li:nth-child(2) .mono { color: var(--amber); }
.o-list b { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.o-list small { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }

/* ═════════ 04 FOR OWNERS ═════════ */
.spec { margin-top: var(--gap-v); border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(160px, 0.6fr) 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; position: relative; }
.spec > div::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--amber); transition: width 1s var(--ease) .3s; }
.spec > div.in::before { width: 64px; }
.spec dt { font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.spec dd { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 46ch; }

/* ═════════ 05 CONTACT ═════════ */
.contact { padding-bottom: var(--sec); }
.contact h2 { max-width: 16ch; }
.contact .side { margin-top: 30px; }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; color: var(--dim); }
.foot-inner .brand { margin-right: auto; }
.foot-inner a.mono:hover { color: var(--text); }

/* ── reveals ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--k, 0) * 45ms); }
.split.in .w > span { transform: none; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1520px) { .hud { display: none; } }
@media (max-width: 1100px) {
  .links { display: none; }
  .nav-inner .btn { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { padding-top: 96px; padding-bottom: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { margin-top: 16px; }
  .hero-phone .phone { --w: min(68vw, 290px); }
  .split-head { grid-template-columns: 1fr; gap: 26px; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .scene { height: 560vh; }
  .scene-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 18px; padding-top: 80px; }
  .scene-phone { order: -1; }
  .scene-phone .phone { --w: min(46vw, 30vh); }
  .scene-title { display: none; }
  .rail .ch-head { margin-bottom: 12px; }
  .stages li { padding: 9px 0; }
  .stages li b { font-size: 16px; }
  .stages li small { font-size: 13px; }
  .stages li:not(.on) small { display: none; }
  .sim { display: none; }
  .offline { grid-template-columns: 1fr; }
  .o-list { grid-template-columns: 1fr; gap: 16px; }
  .o-list li { border-left: 1px solid var(--line); padding: 4px 18px; }
  .spec > div { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .hero-foot .creds { flex-direction: column; gap: 6px; }
  .creds li { white-space: normal; }
  .creds li + li::before { display: none; }
  .day-total { margin-left: 0; }
  .day-hud { flex-direction: column; gap: 6px; }
  .day-legend { row-gap: 10px; }
  .trades { grid-template-columns: 1fr; gap: 16px; }
  .t-list { grid-template-columns: 1fr 1fr; row-gap: 18px; }
}
@media (max-width: 560px) {
  .cta-row .btn { width: 100%; justify-content: center; }
  .btn-lg { font-size: 16px; padding: 0 22px; }
  .scroll-cue { display: none; }
  .job-l { font-size: 9px; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
}
