@font-face { font-family: "Familjen Grotesk"; src: url("/assets/fonts/FamiljenGrotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url("/assets/fonts/FunnelDisplay.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #06090d;
  --ink: #e9eef3;
  --soft: #a7b3bf;
  --mute: #64717d;
  --line: rgba(205, 225, 240, 0.1);
  --line-2: rgba(205, 225, 240, 0.18);
  --ice: #9fd8ff;
  --ice-hi: #d6f0ff;
  --gold: #e8c36a;
  --panel: rgba(9, 14, 20, 0.62);
  --sans: "Familjen Grotesk", system-ui, sans-serif;
  --display: "Funnel Display", var(--sans);
  --out: cubic-bezier(0.23, 1, 0.32, 1);
  --inout: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(20px, 5vw, 80px);
  --cut: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.dim { color: var(--mute); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(159, 216, 255, 0.25); }
:focus-visible { outline: 1px solid var(--ice); outline-offset: 4px; }

/* The sky: fixed canvases behind everything (sky.js), nebula haze under the stars and planet. Large-viewport
   height so mobile toolbars don't resize them. */
.sky, .haze { position: fixed; inset: 0 0 auto; width: 100%; height: 100lvh; z-index: -1; pointer-events: none; display: block; }

/* Masthead: at the top, the mark and four quiet links. Once you scroll, the bar condenses into a floating dock
   with the 45° cut, the wordmark folds into the mark and "Get in touch" slides in. State is .scrolled (main.js). */
@property --c { syntax: "<length>"; inherits: false; initial-value: 0px; }
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: center; padding: 18px var(--gutter); pointer-events: none; }
.bar { pointer-events: auto; display: flex; align-items: center; gap: 30px; width: 100%; max-width: calc(100vw - 2 * var(--gutter)); padding: 8px 0;
  --c: 0px; clip-path: var(--cut);
  transition: max-width 0.8s var(--out), padding 0.6s var(--out), background-color 0.5s, --c 0.6s var(--out), backdrop-filter 0.5s; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand span { font: 700 17px/1 var(--display); display: inline-block; overflow: hidden; white-space: nowrap; max-width: 60px; transition: max-width 0.55s var(--out), opacity 0.4s; }
.brand img { opacity: 0.92; }
.top-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.top-links a { color: var(--mute); transition: color 0.25s; }
.top-links a:hover, .top-links a[aria-current] { color: var(--ink); }
.go { --c: 9px; display: inline-flex; align-items: center; gap: 8px; max-width: 0; margin-left: -30px; padding: 9px 0; opacity: 0; visibility: hidden; overflow: hidden; white-space: nowrap;
  font-size: 14px; color: var(--bg); background: var(--ice-hi); clip-path: var(--cut);
  transition: max-width 0.7s var(--out), margin 0.7s var(--out), opacity 0.4s, padding 0.6s var(--out), visibility 0s 0.7s; }
.scrolled .bar { max-width: 600px; padding: 8px 8px 8px 16px; background: rgba(13, 19, 26, 0.74); backdrop-filter: blur(16px) saturate(1.3); --c: 12px; }
.scrolled .top-links { margin-right: auto; }
.scrolled .brand span { max-width: 0; opacity: 0; }
.scrolled .go { max-width: 160px; margin-left: 0; padding: 9px 14px; opacity: 1; visibility: visible; transition-delay: 0s; }

/* Hero: light/heavy headline over the planet; the right column is framed by a routed trace. */
.hero {
  position: relative; min-height: 100svh; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  align-items: stretch; gap: clamp(32px, 6vw, 96px);
  padding: clamp(120px, 15vh, 170px) var(--gutter) clamp(48px, 8vh, 96px);
}
.hero-left { display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: clamp(18px, 2.6vw, 32px); }
.kicker { color: var(--soft); font-size: 15px; }
.headline { align-self: start; margin-top: clamp(4px, 1.2vw, 18px); font: 400 clamp(32px, 4.7vw, 86px)/1.04 var(--display); letter-spacing: -0.03em; }
.ln { display: block; overflow: hidden; padding-bottom: 0.02em; }
.ln > span { display: inline-block; transition: transform 1.05s var(--out); transition-delay: calc(var(--i) * 85ms + 100ms); }
html.js .ln > span { transform: translateY(108%); }
html.js.loaded .ln > span { transform: none; }
.ln:nth-child(1) { --i: 0; font-weight: 300; color: var(--soft); }
.ln:nth-child(2) { --i: 1; font-weight: 760; }
.ln:last-child { overflow: visible; padding-bottom: 0.14em; margin-bottom: -0.14em; }
/* "open" as an editor selection: a band sized to the glyphs (x-height to descender), not the line box */
.sel { padding: 0 .05em; margin: 0 -.05em; background: linear-gradient(rgba(159, 216, 255, .24), rgba(159, 216, 255, .24)) no-repeat 0 .42em / 100% .83em; }
.caret { display: inline-block; width: .075em; height: .83em; margin-left: .04em; vertical-align: -.245em; background: var(--ice); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-right { display: grid; gap: 22px; align-content: start; max-width: 500px; justify-self: end; }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--ink); }
.lede-soft { color: var(--soft); font-size: clamp(15px, 1.1vw, 17.5px); }
.facts { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mute); font-size: 13.5px; }
.facts dd { color: var(--ink); font-size: 15px; line-height: 1.5; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 4px; }
/* The cut: one 45° chamfer pair, from the Z. Secondary actions are plain links. */
.cta { --c: 12px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 20px; font-size: 14.5px; font-weight: 500; color: var(--bg); background: var(--ice-hi); transition: background 0.2s; clip-path: var(--cut); }
.cta:hover { background: #e2f3ff; }
.cta span { display: inline-block; line-height: 1; transform: translateY(-1px); }
.cta-ghost { clip-path: none; padding: 6px 0; background: none; color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s; }
.cta-ghost:hover { background: none; border-color: var(--ice-hi); }
.cta-ghost span { transform: translateY(-2px); }

/* Traces: the hero's route, then the spine that runs down the page and branches into every section (main.js). */
.route, .spine { position: absolute; pointer-events: none; overflow: visible; }
.route { inset: 0; width: 100%; height: 100%; z-index: 0; }
.route path, .spine path { fill: none; stroke: rgba(205, 225, 240, .2); stroke-width: 1; }
.route .pulse { stroke: var(--ice); stroke-width: 1.4; stroke-dasharray: .05 .95; stroke-dashoffset: 1; animation: pulse 6s linear 1.2s infinite; }
.route rect, .spine rect { fill: var(--bg); stroke: rgba(205, 225, 240, .55); }
.route circle, .spine circle { fill: rgba(205, 225, 240, .55); }
@keyframes pulse { to { stroke-dashoffset: 0; } }
main { position: relative; }
.spine { left: 0; top: 0; width: 100%; z-index: 0; }
.spine .spine-lit, .spine .br-lit { stroke: var(--ice); stroke-width: 1.4; filter: drop-shadow(0 0 4px rgba(159, 216, 255, .55)); }
.spine .br-lit { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--out); }
.spine .on .br-lit { stroke-dashoffset: 0; }
.spine circle, .spine rect { transition: fill 0.5s, stroke 0.5s; }
.spine .on circle { fill: var(--ice); }
.spine .on rect { stroke: var(--ice); }

/* Sections */
.block { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: clamp(110px, 12vw, 180px) var(--gutter) 0; }
.label { display: inline-flex; align-items: baseline; gap: 12px; padding-right: 16px; font-size: 15px; color: var(--soft); transition: color 0.5s; }
.label.on { color: var(--ink); }
.idx { font: 600 13px/1 var(--display); letter-spacing: 0.02em; color: var(--ice); font-variant-numeric: tabular-nums; }
.title { margin-top: clamp(26px, 3vw, 40px); font: 760 clamp(44px, 6.2vw, 100px)/0.98 var(--display); letter-spacing: -0.038em; max-width: 16ch; }
.lt { font-weight: 300; color: var(--soft); }
.sub { font-size: 14px; color: var(--mute); margin-bottom: 18px; }
.num { font: 600 clamp(32px, 3.3vw, 50px)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Panels: frosted, with the 45° cut; the two diagonal edges are drawn by pseudo-elements. */
.panel, .partner, .scope li, .pipe li, .trio figure, .hub-core, .offer li { --c: 14px; position: relative; background: var(--panel); backdrop-filter: blur(8px); border: 1px solid var(--line); clip-path: var(--cut); }
.panel::before, .partner::before, .scope li::before, .pipe li::before, .trio figure::before, .hub-core::before, .offer li::before,
.panel::after, .partner::after, .scope li::after, .trio figure::after, .hub-core::after, .offer li::after {
  content: ""; position: absolute; width: calc(var(--c) * 1.4142); height: 1px; background: var(--line); transform-origin: 0 0; transform: rotate(45deg); pointer-events: none; }
.panel::before, .partner::before, .scope li::before, .pipe li::before, .trio figure::before, .hub-core::before, .offer li::before { top: -1px; left: calc(100% - var(--c)); }
.panel::after, .partner::after, .scope li::after, .trio figure::after, .hub-core::after, .offer li::after { top: calc(100% - var(--c)); left: -1px; }

/* Case studies: the story stays pinned on the left while its evidence scrolls past on the right. */
.case { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 104px); margin-top: clamp(56px, 7vw, 100px); padding-top: 44px; border-top: 1px solid var(--line); }
.case-side { position: sticky; top: 112px; align-self: start; display: grid; gap: 16px; }
.case h3 { font: 650 clamp(30px, 3vw, 46px)/1.02 var(--display); letter-spacing: -0.03em; }
.meta { font-size: 14px; color: var(--mute); margin-top: -6px; }
.case-side p:not(.meta), .prose { color: var(--soft); font-size: 16.5px; line-height: 1.62; max-width: 58ch; }
.case-main { display: grid; gap: 52px; align-content: start; min-width: 0; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; margin-top: 6px; }
.links a, .inline { color: var(--ice-hi); border-bottom: 1px solid rgba(159, 216, 255, 0.28); padding-bottom: 1px; transition: border-color 0.2s; }
.links a:hover, .inline:hover { border-color: var(--ice-hi); }

/* Readouts: big figures with a lit tick and a plain caption. */
.readout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.readout-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.readout li { position: relative; display: grid; gap: 12px; align-content: start; padding: 22px 18px 4px; }
.readout li:first-child { padding-left: 0; }
.readout li + li { border-left: 1px solid var(--line); }
.readout li::before { content: ""; position: absolute; top: -1px; left: 0; width: 22px; height: 1px; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.readout li + li::before { left: 18px; }
.readout span { font-size: 13.5px; line-height: 1.4; color: var(--mute); }

/* Partnership: two nodes and the two model lines that ran between them. */
.partner { padding: 28px clamp(20px, 2.4vw, 32px) 30px; }
.link-map { display: grid; grid-template-columns: auto minmax(90px, 1fr) auto; align-items: center; }
.node { padding: 11px 15px; border: 1px solid var(--line-2); font: 600 16px/1.1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.node-hi { border-color: rgba(159, 216, 255, 0.5); color: var(--ice-hi); box-shadow: 0 0 24px rgba(159, 216, 255, 0.12); }
.node small { display: block; margin-top: 4px; font: 400 12px/1 var(--sans); color: var(--mute); }
.lanes { display: grid; gap: 12px; }
.lanes span { position: relative; display: block; padding: 0 12px 6px; text-align: center; font-size: 12.5px; line-height: 1.2; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(rgba(159, 216, 255, 0.35), rgba(159, 216, 255, 0.35)) 0 100% / 100% 1px no-repeat; }
.lanes span::after { content: ""; position: absolute; bottom: -1.5px; left: -34px; width: 34px; height: 4px; background: linear-gradient(90deg, transparent, var(--ice-hi)); animation: lane 3.4s var(--inout) infinite; }
.lanes span + span::after { animation-direction: reverse; animation-delay: -1.7s; }
@keyframes lane { to { left: 100%; } }
.partner p { margin-top: 24px; color: var(--soft); font-size: 15.5px; line-height: 1.6; }

/* Build log: a track that lights up month by month as it scrolls past (main.js sets .lit). */
.log-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 16px; }
.log-list li { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-2); transition: border-color 0.6s; }
.log-list li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--line-2); transform: rotate(45deg); transition: background 0.5s, border-color 0.5s, box-shadow 0.5s; }
.log-list b { font: 600 16px/1.2 var(--display); color: var(--soft); transition: color 0.5s; }
.log-list span { font-size: 14px; line-height: 1.5; color: var(--mute); transition: color 0.5s; }
.log-list .lit { border-top-color: var(--ice); }
.log-list .lit::before { background: var(--ice); border-color: var(--ice); box-shadow: 0 0 10px var(--ice); }
.log-list .lit b { color: var(--ink); }
.log-list .lit span { color: var(--soft); }
.log-list .bp b::after { content: "BytePlus"; display: inline-block; margin-left: 9px; padding: 3px 7px 2px; font: 500 10.5px/1 var(--sans); letter-spacing: 0.02em; vertical-align: 2px; color: var(--ice-hi); background: rgba(159, 216, 255, 0.12); }

/* Scope tiles */
.scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.scope li { --c: 10px; display: grid; gap: 6px; padding: 18px 18px 20px; transition: border-color 0.3s, background-color 0.3s; }
.scope b { font: 600 17px/1.15 var(--display); letter-spacing: -0.01em; }
.scope span { font-size: 13.5px; line-height: 1.4; color: var(--mute); }
.scope li:hover { border-color: rgba(159, 216, 255, 0.35); background-color: rgba(14, 22, 30, 0.72); }

/* Pipes: stations joined by wires with a signal moving through them. */
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; position: relative; }
.pipe-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pipe li { --c: 10px; display: grid; gap: 6px; align-content: start; padding: 16px 16px 18px; clip-path: none; }
.pipe li::before { display: none; }
.pipe li + li::after { content: ""; position: absolute; top: 50%; right: calc(100% + 1px); width: 30px; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--ice)); }
.pipe li:last-child { border-color: rgba(159, 216, 255, 0.45); box-shadow: 0 0 30px rgba(159, 216, 255, 0.08); }
.pipe b { font: 600 18px/1.15 var(--display); letter-spacing: -0.01em; }
.pipe li:last-child b { color: var(--ice-hi); }
.pipe span { font-size: 13.5px; line-height: 1.4; color: var(--mute); }
.pipe::after { content: ""; position: absolute; top: -1px; left: 0; width: 60px; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, var(--ice-hi)); filter: drop-shadow(0 0 4px var(--ice)); animation: signal 4.2s var(--inout) infinite; }
@keyframes signal { 10%, 90% { opacity: 1; } to { left: calc(100% - 60px); opacity: 0; } }
.note { margin-top: 16px; font-size: 14px; color: var(--soft); }
.note::before { content: ""; display: inline-block; width: 14px; height: 1px; margin-right: 10px; vertical-align: 4px; background: var(--ice); }

/* Frame budget */
.meter { position: relative; height: 16px; margin-top: 30px; border: 1px solid var(--line-2);
  background: repeating-linear-gradient(90deg, rgba(205, 225, 240, 0.09) 0 1px, transparent 1px 2.398%); }
.meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(159, 216, 255, 0.15), var(--ice)); box-shadow: 0 0 18px rgba(159, 216, 255, 0.35); transition: width 1.8s var(--out) 0.2s; }
.budget.in .meter i { width: 64.27%; }
.meter-end { position: absolute; right: -1px; bottom: calc(100% + 8px); font-size: 13px; color: var(--mute); }
.meter-end::after { content: ""; position: absolute; right: 0; top: calc(100% + 2px); width: 1px; height: 30px; background: var(--soft); }
.meter-read { margin-top: 18px; color: var(--mute); font-size: 14px; }
.meter-read .num { margin-right: 8px; color: var(--ice-hi); }

/* Hold gate: twenty frames, the held ones reuse the last upscale. A playhead sweeps across. */
.hold { position: relative; display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; overflow: hidden; }
.hold span { aspect-ratio: 9 / 12; background: rgba(159, 216, 255, 0.16); border: 1px solid rgba(159, 216, 255, 0.3); opacity: 0.2; transition: opacity 0.5s; transition-delay: calc(var(--i, 0) * 45ms); }
.hold .held { background: repeating-linear-gradient(135deg, rgba(232, 195, 106, 0.32) 0 2px, transparent 2px 6px); border-color: rgba(232, 195, 106, 0.5); }
.hold.in span { opacity: 1; }
.hold::after { content: ""; position: absolute; inset: -2px auto -2px 0; width: 2px; background: var(--ice-hi); box-shadow: 0 0 10px var(--ice); animation: playhead 5s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: 100%; } }
.hold-key, .mile-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: -36px; font-size: 13px; color: var(--mute); }
.hold-key span, .mile-key span { display: inline-flex; align-items: center; gap: 9px; }
.hold-key span::before, .mile-key span::before { content: ""; width: 14px; height: 10px; }
.k-new::before { background: rgba(159, 216, 255, 0.16); border: 1px solid rgba(159, 216, 255, 0.3); }
.k-held::before { background: repeating-linear-gradient(135deg, rgba(232, 195, 106, 0.32) 0 2px, transparent 2px 6px); border: 1px solid rgba(232, 195, 106, 0.5); }

/* One stroke, three surfaces: drawn in lockstep. */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trio figure { --c: 12px; padding: 14px 14px 12px; background-image: radial-gradient(rgba(205, 225, 240, 0.09) 1px, transparent 1.2px); background-size: 14px 14px; background-color: var(--panel); }
.trio svg { display: block; width: 100%; height: auto; }
.trio path { fill: none; stroke: var(--ice-hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(159, 216, 255, 0.45)); }
.trio.in path { animation: stroke 5s var(--inout) infinite; }
@keyframes stroke { 0% { stroke-dashoffset: 1; opacity: 1; } 45%, 82% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.trio figcaption { margin-top: 8px; font-size: 13px; color: var(--mute); }

/* Milestones */
.mile-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mile-list li { position: relative; display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid var(--line); }
.mile-list b { font: 600 14px/1 var(--display); color: var(--mute); }
.mile-list span { font-size: 13.5px; line-height: 1.35; color: var(--soft); }
.mile-list .done { border-color: var(--ice); }
.mile-list .done b { color: var(--ice-hi); }
.mile-list .doing { border-top-color: transparent; background: repeating-linear-gradient(90deg, var(--gold) 0 7px, transparent 7px 11px) 0 0 / 100% 2px no-repeat; }
.mile-list .doing b { color: var(--gold); }
.mile-key { margin-top: 18px; }
.k-done::before { height: 2px !important; background: var(--ice); }
.k-doing::before { height: 2px !important; background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 8px); }

/* Agent hub: five harnesses into one library, out to the work. Wires are routed in main.js. */
.hub { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.hub-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hub-wires path { fill: none; stroke: var(--line-2); stroke-width: 1; }
.hub-wires .sig { stroke: var(--ice-hi); stroke-width: 1.5; stroke-dasharray: 0.08 0.92; stroke-dashoffset: 1; animation: pulse 3.6s linear infinite; filter: drop-shadow(0 0 4px var(--ice)); }
.hub-in, .hub-out { position: relative; display: grid; gap: 10px; }
.hub-in li, .hub-out li { padding: 9px 14px; font-size: 14.5px; border: 1px solid var(--line-2); background: var(--panel); white-space: nowrap; }
.hub-out li { color: var(--ice-hi); border-color: rgba(159, 216, 255, 0.3); }
.hub-in .own { color: var(--ink); border-color: rgba(159, 216, 255, 0.55); background: rgba(159, 216, 255, 0.1); }
.hub-core { --c: 16px; position: relative; display: grid; gap: 8px; padding: 26px 24px; text-align: left; border-color: rgba(159, 216, 255, 0.4); box-shadow: 0 0 60px rgba(159, 216, 255, 0.1); }
.core-h { font: 650 clamp(24px, 2.2vw, 32px)/1.05 var(--display); letter-spacing: -0.02em; color: var(--ice-hi); }
.hub-core span { font-size: 15px; line-height: 1.45; color: var(--ink); }
.hub-core small { font-size: 12.5px; line-height: 1.45; color: var(--mute); }

/* What I build */
.statement { max-width: 22ch; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.04; }
.offer { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(48px, 6vw, 80px); }
.offer li { --c: 14px; display: grid; gap: 10px; align-content: start; padding: 22px 20px 28px; min-height: 210px; transition: border-color 0.3s, transform 0.5s var(--out), opacity 0.75s var(--out); }
.offer b { font: 600 20px/1.1 var(--display); letter-spacing: -0.015em; margin-top: 18px; }
.offer p { font-size: 14.5px; line-height: 1.5; color: var(--soft); }
@media (hover: hover) and (pointer: fine) { .offer li:hover { border-color: rgba(159, 216, 255, 0.4); } }
.stack-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; margin-top: 40px; }
.stack-row .sub { margin: 0; }
.stack { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--soft); }
.stack li::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: 10px; vertical-align: 4px; background: var(--ice); transform: rotate(45deg); }

/* Path */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; position: relative; margin-top: clamp(48px, 6vw, 76px); padding-top: 6px; }
.path::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--ice) 92%); }
.path li { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 30px; }
.path li::before { content: ""; position: absolute; top: 1px; left: 0; width: 10px; height: 10px; background: var(--bg); border: 1px solid var(--line-2); transform: rotate(45deg); }
.path .here::before { background: var(--ice); border-color: var(--ice); animation: here 2.6s ease-out infinite; }
@keyframes here { 0% { box-shadow: 0 0 0 0 rgba(159, 216, 255, 0.45); } 100% { box-shadow: 0 0 0 12px rgba(159, 216, 255, 0); } }
.when { font-size: 13.5px; color: var(--ice); }
.path b { font: 600 22px/1.15 var(--display); letter-spacing: -0.02em; }
.path p { color: var(--soft); font-size: 15px; line-height: 1.55; }

/* Contact: the planet comes back under it (sky.js), at dawn. */
.contact { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; min-height: 100svh; padding: clamp(110px, 12vw, 180px) var(--gutter) 46svh; display: grid; align-content: start; justify-items: start; gap: 22px; }
.contact .title { font-size: clamp(64px, 11vw, 184px); line-height: 0.92; letter-spacing: -0.05em; margin-top: 16px; }
.lost .title { font-size: clamp(52px, 7.4vw, 120px); line-height: 0.98; padding-bottom: 0.08em; }
.contact-sub { color: var(--soft); font-size: 18px; max-width: 46ch; }
.mail-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.mail { font: 300 clamp(28px, 3.8vw, 58px)/1.1 var(--display); letter-spacing: -0.025em; color: var(--ice-hi); border-bottom: 1px solid rgba(159, 216, 255, 0.3); transition: border-color 0.25s; }
.mail:hover { border-color: var(--ice-hi); }
.copy { --c: 8px; font: 500 13.5px/1 var(--sans); color: var(--ink); background: rgba(214, 240, 255, 0.1); border: 0; padding: 11px 15px; cursor: pointer; clip-path: var(--cut); transition: background 0.2s, transform 0.16s ease-out; }
.copy:hover { background: rgba(214, 240, 255, 0.18); }
.copy:active { transform: scale(0.97); }

.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; padding: 26px var(--gutter) 32px; max-width: 1440px; margin: 0 auto; color: var(--soft); font-size: 13.5px; text-shadow: 0 1px 12px var(--bg); }
.foot-links { display: flex; gap: 22px; }
.foot a:hover { color: var(--ink); }

.reveal { transition: opacity 0.75s var(--out), transform 0.75s var(--out); transition-delay: var(--d, 0ms); }
html.js .reveal { opacity: 0; transform: translateY(14px); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; min-height: 0; padding-top: 130px; padding-bottom: 210px; }
  .hero-right { justify-self: start; max-width: 560px; }
  .route { display: none; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-side { position: static; }
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer li { min-height: 0; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 0 0 0 30px; }
  .path::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--line-2), var(--ice)); }
  .path li { padding-top: 0; }
  .path li::before { top: 6px; left: -30px; }
}
@media (max-width: 720px) {
  .top-links { display: none; }
  .go, .scrolled .go { margin-left: auto; }
  .scrolled .bar { max-width: 100%; }
  .facts > div { grid-template-columns: 62px minmax(0, 1fr); }
  .block { padding-right: calc(var(--gutter) + 14px); }
  .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout li:nth-child(3) { padding-left: 0; border-left: 0; }
  .readout li:nth-child(3)::before { left: 0; }
  .readout-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .readout-3 li:nth-child(3) { padding-left: 14px; border-left: 1px solid var(--line); }
  .readout-3 li + li { padding-left: 14px; }
  .readout-3 li:nth-child(3)::before, .readout-3 li + li::before { left: 14px; }
  .readout-3 .num { font-size: 28px; }
  .readout-3 span { font-size: 12.5px; }
  .link-map { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 0; }
  .lanes { width: 100%; padding: 14px 0 14px 22px; border-left: 1px solid rgba(159, 216, 255, 0.35); margin-left: 18px; }
  .lanes span { text-align: left; padding-left: 0; background: none; }
  .lanes span::after { display: none; }
  .log-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 1px solid var(--line-2); margin-left: 4px; }
  .log-list li { padding: 0 0 22px 22px; border-top: 0; }
  .log-list li::before { top: 5px; left: -5px; }
  .log-list .lit { border-top: 0; }
  .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe, .pipe-3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pipe li + li::after { top: auto; bottom: 100%; right: auto; left: 24px; width: 1px; height: 20px; background: linear-gradient(180deg, var(--line-2), var(--ice)); }
  .pipe::after { display: none; }
  .hold { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .hold-key { margin-top: -38px; }
  .trio { gap: 8px; }
  .trio figure { padding: 10px 8px 8px; }
  .trio figcaption { font-size: 11.5px; line-height: 1.3; }
  .mile-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .hub { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hub-wires { display: none; }
  .hub-in, .hub-out { display: flex; flex-wrap: wrap; gap: 8px; }
  .hub-in li, .hub-out li { padding: 7px 11px; font-size: 13.5px; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer b { margin-top: 10px; }
  .contact { padding-bottom: 40svh; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .ln > span { transform: none; transition: none; }
  html.js .reveal { transform: none; transition: opacity 0.4s ease; }
  .caret, .route .pulse, .hub-wires .sig, .lanes span::after, .pipe::after, .hold::after, .path .here::before { animation: none; }
  .route .pulse, .hub-wires .sig { opacity: 0; }
  .trio.in path { animation: none; stroke-dashoffset: 0; }
  .meter i { transition: none; }
}
