/* Archivo, Martian Mono og Schibsted Grotesk – SIL Open Font License 1.1.
   Hentet fra Google Fonts av hent_skrifter.py; leveres fra eget nettsted. */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(fonter/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(fonter/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonter/martian-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonter/martian-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonter/martian-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonter/martian-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonter/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonter/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonter/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonter/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonter/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonter/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* KaosNord — shared stylesheet.
   Theme: an engineering console where chaos resolves into order. A faint coordinate grid,
   monospace metadata as the tech signal, Archivo for display, and a per-pillar accent
   (software = vermilion, ventures = amber, security = green). @font-face rules are
   prepended from fonter/fonter.css by bygg.py, so the fonts are self-hosted. */
:root {
  --bg: #ECF0F1;
  --surface: #F8FAFA;
  --surface-2: #E4EBEC;
  --ink: #0F1A22;
  --muted: #51616C;
  --line: #C5CFD4;
  --grid: rgba(15, 26, 34, 0.05);
  --shadow: rgba(15, 26, 34, 0.14);

  --c-software: #BE3A1C;
  --c-ventures: #A8761A;
  --c-security: #0E7A54;
  --accent: var(--c-software);
  --accent-ink: #FFFFFF;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --t-micro: 0.6875rem;
  --t-small: 0.8125rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  --t-h3: 1.3rem;
  --t-h2: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  --t-h1: clamp(2.7rem, 1.3rem + 6.6vw, 6rem);
  --t-mega: clamp(3.4rem, 1rem + 12vw, 9rem);

  --gutter: clamp(16px, 4vw, 48px);
  --block: clamp(60px, 9vw, 120px);
  --radius: 5px;
  --maxw: 74rem;
}
[data-pillar="software"] { --accent: var(--c-software); }
[data-pillar="ventures"] { --accent: var(--c-ventures); }
[data-pillar="security"] { --accent: var(--c-security); }
[data-pillar="security"] { --accent-ink: #04140D; }
[data-pillar="ventures"] { --accent-ink: #1A1203; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080D13;
    --surface: #101A22;
    --surface-2: #16222C;
    --ink: #E6EDEF;
    --muted: #8DA0AB;
    --line: #223038;
    --grid: rgba(230, 237, 239, 0.05);
    --shadow: rgba(0, 0, 0, 0.5);
    --c-software: #FF6A46;
    --c-ventures: #EBAA42;
    --c-security: #40D28C;
    --accent-ink: #061018;
    color-scheme: dark;
  }
  :root:not([data-theme="light"])[data-pillar="security"] { --accent-ink: #04140D; }
  :root:not([data-theme="light"])[data-pillar="ventures"] { --accent-ink: #1A1203; }
}
:root[data-theme="dark"] {
  --bg: #080D13;
  --surface: #101A22;
  --surface-2: #16222C;
  --ink: #E6EDEF;
  --muted: #8DA0AB;
  --line: #223038;
  --grid: rgba(230, 237, 239, 0.05);
  --shadow: rgba(0, 0, 0, 0.5);
  --c-software: #FF6A46;
  --c-ventures: #EBAA42;
  --c-security: #40D28C;
  --accent-ink: #061018;
  color-scheme: dark;
}
:root[data-theme="dark"][data-pillar="security"] { --accent-ink: #04140D; }
:root[data-theme="dark"][data-pillar="ventures"] { --accent-ink: #1A1203; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
/* film grain over everything: a tiled SVG noise, blended, stepping through 8 offsets at 10 fps */
body::after {
  content: ""; position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 55; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07; mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
  body::after { animation: kn-grain 0.8s steps(8, end) infinite; }
  @keyframes kn-grain { to { transform: translate(-6%, -4%); } }
}
@media (max-width: 999px) { body::after { mix-blend-mode: normal; opacity: 0.045; } }   /* phones: no per-frame blend of a full-screen layer */
img, svg, canvas { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 32%, transparent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { text-wrap: balance; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 0.6em 1em; font-family: var(--f-mono); font-size: var(--t-small); }
.skip:focus { left: 0; }

/* ---------- Mono building blocks ---------- */
.mono { font-family: var(--f-mono); }
.eyebrow { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); margin: 0; }
.eyebrow .dot { color: var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.25em 0.7em; background: var(--surface); white-space: nowrap; }
.tag.on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

.status { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.status::before { content: ""; width: 0.72em; height: 0.72em; border-radius: 50%; flex: none; border: 1.5px solid var(--accent); background: transparent; }
.status[data-s="shipped"]::before, .status[data-s="live"]::before { background: var(--accent); }
.status[data-s="in-production"]::before, .status[data-s="building"]::before { background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); }
.status[data-s="in-the-works"]::before, .status[data-s="planned"]::before { background: radial-gradient(circle, var(--accent) 0 34%, transparent 36%); }
.status[data-s="open"]::before, .status[data-s="idea"]::before { border-style: dashed; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
/* reading progress: a hairline in the accent that grows along the header's bottom edge (app.js sets --prog) */
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); pointer-events: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; position: relative; }
.brand { display: inline-flex; align-items: baseline; gap: 0.1ch; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 1.1rem; letter-spacing: 0.06em; color: var(--ink); }
.brand .mark { color: var(--accent); }
.brand:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.nav-links { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; text-decoration: none; color: var(--muted); font-family: var(--f-mono); font-size: var(--t-small); letter-spacing: 0.01em; padding: 0.5em 0.7em; border-radius: var(--radius); }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--accent); margin-top: 3px; border-radius: 2px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; }
  .nav-links { position: absolute; left: 0; right: 0; top: calc(100% + 1px); flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem 0 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .nav-links a { padding: 0.8em 0.5em; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .nav:not(.open) .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--f-mono); font-size: var(--t-small); letter-spacing: 0.02em; text-decoration: none; padding: 0.75em 1.25em; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; transition: transform 0.12s ease, box-shadow 0.2s ease; }
.btn:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 24px -14px var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero: always-dark signature stage ---------- */
/* The WebGL glow is additive, so it needs a dark backdrop in BOTH themes. We give the
   hero its own deep "ink room" and scope the dark palette here, so text + accent stay
   legible without touching the rest of the (theme-aware) page. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 820px); display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  --ink: #EEF4F6; --muted: #9FB2BD; --line: rgba(255, 255, 255, 0.10); --accent: #FF6A46;
  color: var(--ink);
  background:
    radial-gradient(130% 108% at 50% 6%, #10202c 0%, #0a131b 46%, #05090e 78%, #03060a 100%);
}
/* each pillar's hero glows in its own accent (software keeps the default vermilion) */
[data-pillar="ventures"] .hero { --accent: #EBAA42; }
[data-pillar="security"] .hero { --accent: #40D28C; }
/* shorter banner variant for the pillar pages */
.hero.hero-band { min-height: min(62vh, 560px); }
.hero.hero-band h1 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.4rem); font-stretch: 112%; }
.hero.hero-band .lead { color: var(--muted); }
/* keep the copy in a left column so the particle wordmark owns the open right side */
.hero-copy { max-width: 36rem; }
/* reserved room for the particle wordmark so it never sits on top of the copy: hero.js measures
   this box and forms KAOS inside it. In the flow under the headline on narrow screens; the open
   right column (absolute, beside the copy) once there's room for one. */
.kaos-slot { height: clamp(84px, 26vw, 128px); margin: 0.8rem 0 0; }
@media (min-width: 1000px) {
  .kaos-slot { position: absolute; top: 50%; transform: translateY(-50%); left: calc(var(--gutter) + 36rem + 2.5rem); right: var(--gutter); height: 64%; margin: 0; }
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; cursor: grab; touch-action: pan-y; }
.hero canvas:active { cursor: grabbing; }
/* CRT finish: faint scanlines + a vignette that pulls the eye to the centre */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.6) 100%);
}
/* first hero of the session (hero.js adds .boot for the big bang): the copy lands line by line after the flash */
@media (prefers-reduced-motion: no-preference) {
  .hero.boot .hero-copy > * { animation: kn-land 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero.boot .hero-copy > :nth-child(1) { animation-delay: 0.45s; }
  .hero.boot .hero-copy > :nth-child(2) { animation-delay: 0.55s; }
  .hero.boot .hero-copy > :nth-child(3) { animation-delay: 0.65s; }
  .hero.boot .hero-copy > :nth-child(4) { animation-delay: 0.75s; }
  .hero.boot .hero-copy > :nth-child(5) { animation-delay: 0.85s; }
  .hero.boot .hero-copy > :nth-child(6) { animation-delay: 0.95s; }
  .hero.boot .hero-copy > :nth-child(7) { animation-delay: 1.05s; }
  .hero.boot .hero-frame, .hero.boot .snd { animation: kn-in 1s 0.3s both; }
  @keyframes kn-land { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes kn-in { from { opacity: 0; } }
}
/* scrolling away: the copy sinks and fades, the stage zooms — depth, driven by the scroll position itself */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero:not(.hero-band) .hero-copy { animation: kn-hero-exit linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero:not(.hero-band) canvas { animation: kn-hero-zoom linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes kn-hero-exit { to { transform: translateY(16vh); opacity: 0; } }
    @keyframes kn-hero-zoom { to { transform: scale(1.14); } }
  }
}
/* sound toggle: console switch in the bottom-right corner of the stage */
.snd { position: absolute; right: clamp(12px, 2.4vw, 26px); bottom: clamp(8px, 2vw, 22px); z-index: 4; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 999px; padding: 0.35em 0.8em; color: var(--muted); font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.snd em { font-style: normal; color: var(--accent); }
.snd:hover, .snd:focus-visible { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 55%, transparent); outline: none; }
.snd[aria-pressed="true"] { border-color: var(--accent); }
/* text floats above, but lets pointer events through to the canvas — so you can grab
   the chaos anywhere, even behind the headline. Interactive bits opt back in. */
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 10vw, 120px); width: 100%; pointer-events: none; }
.hero .wrap a, .hero .wrap button { pointer-events: auto; }
.hero h1 { font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-size: var(--t-mega); line-height: 0.9; letter-spacing: -0.03em; margin: 0.25em 0 0; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55); }
.hero h1 .accent { color: var(--accent); }
/* detonation: hero.js adds .boom for ~0.5 s — RGB-split headline + scanline/accent flash. Motion-safe only. */
@media (prefers-reduced-motion: no-preference) {
  .hero.boom h1 { animation: kn-rgbsplit 0.5s steps(1, end); }
  .hero.boom .hero-copy > *:not(h1) { animation: kn-shake 0.4s steps(2, end); }
  .hero.boom::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen;
    background:
      repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 3px),
      radial-gradient(55% 60% at 70% 55%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
    animation: kn-flash 0.5s ease-out forwards;
  }
}
@keyframes kn-rgbsplit {
  0%   { text-shadow: 5px 0 #ff2a6d, -5px 0 #05d9e8; transform: translate(3px, -2px) skewX(-6deg); }
  18%  { text-shadow: -7px 1px #ff2a6d, 7px -1px #05d9e8; transform: translate(-4px, 1px) skewX(7deg); clip-path: inset(10% 0 35% 0); }
  36%  { text-shadow: 3px 2px #ff2a6d, -3px -2px #05d9e8; transform: translate(2px, 0); clip-path: inset(48% 0 0 0); }
  54%  { text-shadow: -2px 0 #ff2a6d, 2px 0 #05d9e8; transform: translate(-1px, 1px); clip-path: none; }
  72%  { text-shadow: 1px 0 #ff2a6d, -1px 0 #05d9e8; transform: none; }
  100% { text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55); transform: none; }
}
@keyframes kn-flash { from { opacity: 1; } to { opacity: 0; } }
@keyframes kn-shake { 0% { transform: translate(3px, -2px); } 25% { transform: translate(-4px, 2px); } 50% { transform: translate(2px, 1px); } 75% { transform: translate(-1px, -1px); } 100% { transform: none; } }
.hero .eyebrow { color: var(--muted); }
.hero .lead { font-size: var(--t-lead); color: var(--muted); max-width: 40rem; margin: 1.2rem 0 0; text-shadow: 0 1px 14px rgba(3, 6, 10, 0.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.kaos-strip { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 2.2rem; font-family: var(--f-mono); font-size: var(--t-small); }
.kaos-strip b { color: var(--accent); font-weight: 700; }
.kaos-strip span { color: var(--muted); }

/* blueprint frame: registration ticks in the corners + a coordinate readout */
.hero-frame { position: absolute; inset: clamp(12px, 2.4vw, 26px); z-index: 1; pointer-events: none; }
.hero-frame .tick { position: absolute; width: 14px; height: 14px; border: solid var(--accent); opacity: 0.55; }
.hero-frame .tick.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero-frame .tick.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hero-frame .tick.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hero-frame .tick.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.hero-coord { position: absolute; font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); opacity: 0.8; }
.hero-coord.top { top: -2px; right: 20px; }
.hero-coord.bot { bottom: -2px; left: 20px; }
.hero-coord em { color: var(--accent); font-style: normal; }

/* the hold-to-resolve cue — a quiet pill that doubles as a keyboard trigger */
.resolve-cue { display: inline-flex; align-items: center; gap: 0.6em; margin-top: 2rem; padding: 0.5em 0.95em; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.06em; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.resolve-cue:hover, .resolve-cue:focus-visible { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: rgba(255, 255, 255, 0.05); outline: none; }
.resolve-cue .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .resolve-cue .pulse { animation: cue-pulse 2.1s ease-out infinite; }
  @keyframes cue-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 65%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
}

/* ---------- Cross-document View Transitions ---------- */
/* Navigating between pages morphs instead of cutting; the per-pillar accent cross-fades. */
@view-transition { navigation: auto; }
.brand { view-transition-name: brand; }            /* the logo stays put across pages */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 0.001ms !important; }
}

/* ---------- Marquee: outlined slogan strip, driven by app.js (speed follows your scroll) ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 0.9rem 0; background: var(--surface); white-space: nowrap; }
.mq-track { display: inline-flex; will-change: transform; }
.mq-set { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-size: clamp(1.4rem, 1rem + 2.4vw, 2.6rem); letter-spacing: -0.01em; text-transform: uppercase; line-height: 1; }
.mq-set span { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.mq-set span.solid { color: var(--ink); -webkit-text-stroke: 0; }
.mq-set i { font-style: normal; color: var(--accent); font-size: 0.55em; }

/* ---------- Section rail: fixed page index on wide screens (app.js builds it from the sections) ---------- */
.rail { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: 30; display: none; flex-direction: column; gap: 0.95rem; opacity: 0; transition: opacity 0.35s ease; }
@media (min-width: 1360px) { .rail { display: flex; } }
.rail.on { opacity: 1; }
.rail a { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--muted); font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; }
.rail a::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width 0.25s ease; }
.rail a[aria-current] { color: var(--accent); }
.rail a[aria-current]::before { width: 28px; }
.rail .r-l { opacity: 0; transform: translateX(-4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.rail:hover .r-l, .rail a[aria-current] .r-l { opacity: 1; transform: none; }

/* ---------- Custom cursor (app.js adds .has-cursor on fine pointers) ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor :where(input, textarea, select) { cursor: auto !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity 0.25s ease; will-change: transform; }
.cursor.on { opacity: 1; }
.cursor.text { opacity: 0; }
.c-ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border: 1px solid var(--accent); border-radius: 50%; transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease; }
.c-ring::before, .c-ring::after { content: ""; position: absolute; background: var(--accent); opacity: 0.75; transition: opacity 0.2s ease; }
.c-ring::before { left: 50%; top: -7px; width: 1px; height: 7px; transform: translateX(-50%); box-shadow: 0 37px 0 var(--accent); }
.c-ring::after { top: 50%; left: -7px; height: 1px; width: 7px; transform: translateY(-50%); box-shadow: 37px 0 0 var(--accent); }
.c-dot { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.c-label { position: absolute; left: 24px; top: -6px; font-family: var(--f-mono); font-weight: 600; font-size: var(--t-micro); line-height: 1; letter-spacing: 0.14em; color: var(--accent); white-space: nowrap; opacity: 0; transition: opacity 0.2s ease; }
.cursor.hot .c-ring { transform: scale(1.7); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.cursor.hot .c-ring::before, .cursor.hot .c-ring::after { opacity: 0; }
.cursor.grab .c-ring { transform: scale(1.3); border-style: dashed; animation: kn-spin 7s linear infinite; }
.cursor.grab .c-label { opacity: 1; }
.cursor.down .c-ring { transform: scale(0.72); background: color-mix(in srgb, var(--accent) 28%, transparent); }
@keyframes kn-spin { to { rotate: 360deg; } }

/* ---------- Scroll-told narrative ---------- */
.narrative .wrap { max-width: 52rem; }
.narr-line { font-family: var(--f-display); font-weight: 800; font-stretch: 104%; font-size: clamp(1.55rem, 1rem + 3vw, 3rem); line-height: 1.14; letter-spacing: -0.01em; margin: 0.55em 0; color: var(--ink); }
.narr-line .accent { color: var(--accent); }
.narr-line.dim { color: var(--muted); }
/* progressive enhancement: lines brighten as they scroll through (native scroll timeline) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .narr-line { opacity: 0.22; animation: narr-in linear both; animation-timeline: view(); animation-range: entry 8% cover 42%; }
    @keyframes narr-in { to { opacity: 1; } }
  }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--block); border-bottom: 1px solid var(--line); position: relative; }
.section:last-child { border-bottom: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.6rem 2rem; margin-bottom: 2.2rem; }
.section-head h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 100%; font-size: var(--t-h2); margin: 0.3rem 0 0; line-height: 1.03; }
.section-head .lead { color: var(--muted); max-width: 44rem; margin: 0.4rem 0 0; }
.page-intro { padding-top: clamp(44px, 7vw, 92px); }
.page-intro h1 { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(2.3rem, 1.3rem + 5vw, 4.6rem); line-height: 0.96; margin: 0.4rem 0 0; letter-spacing: -0.02em; }
.page-intro .lead { font-size: var(--t-lead); color: var(--muted); max-width: 44rem; margin: 1.1rem 0 0; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); padding: clamp(18px, 3vw, 30px); min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.card h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-h3); margin: 0; line-height: 1.15; }
.card p { margin: 0; color: var(--muted); }
.card .card-foot { margin-top: auto; padding-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.card .num { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--muted); }
.card.link { text-decoration: none; color: inherit; transition: background 0.15s ease; }
.card.link:hover { background: var(--surface-2); color: inherit; }
.card.link:hover h3 { color: var(--accent); }
.cards-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }

/* Pillar cards (home) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillar { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--p); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0.6rem; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.25s ease; min-width: 0; }
/* spotlight follows the pointer (app.js sets --mx/--my while hovering; falls back to the top-right corner) */
.pillar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 260px at var(--mx, 100%) var(--my, 0%), color-mix(in srgb, var(--p) 18%, transparent), transparent 70%); opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.pillar:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -30px var(--shadow); color: inherit; }
.pillar:hover::after { opacity: 1; }
.pillar .px { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--p); }
.pillar h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; margin: 0; }
.pillar p { margin: 0; color: var(--muted); }
.pillar .go { margin-top: auto; padding-top: 0.6rem; font-family: var(--f-mono); font-size: var(--t-small); color: var(--p); }
.pillar.software { --p: var(--c-software); }
.pillar.ventures { --p: var(--c-ventures); }
.pillar.security { --p: var(--c-security); }

.feature { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.feature h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-h3); margin: 0; }
.feature p { margin: 0; color: var(--muted); }
.feature ul { margin: 0.3rem 0 0; padding-left: 1.1em; color: var(--muted); }
.feature ul li { margin: 0.2em 0; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: clamp(14px, 2.4vw, 22px); min-width: 0; }
.stat .v { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .v .accent { color: var(--accent); }
.stat .k { display: block; margin-top: 0.4rem; font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Project filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter button { font-family: var(--f-mono); font-size: var(--t-small); letter-spacing: 0.02em; background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.4em 0.9em; cursor: pointer; }
.filter button:hover { color: var(--ink); border-color: var(--accent); }
.filter button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 2rem 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline li.done::before { background: var(--accent); }
.timeline .when { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.timeline h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin: 0.25rem 0 0.2rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Security lab ---------- */
.rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ring-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.6vw, 26px); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; min-width: 0; }
.ring { --p: 0; width: clamp(96px, 20vw, 140px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }
.ring .pct { position: relative; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-variant-numeric: tabular-nums; }
.ring-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; margin: 0.4rem 0 0; }
.ring-card .sub { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--muted); letter-spacing: 0.06em; }
.ring-card .count { font-family: var(--f-mono); font-size: var(--t-small); color: var(--accent); }

.lab-toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 1.6rem 0 1rem; }
.lab-toolbar .grow { flex: 1 1 auto; min-width: 0; }
.cert-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cert-tabs button { font-family: var(--f-mono); font-size: var(--t-small); background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.4em 0.9em; cursor: pointer; }
.cert-tabs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module { background: var(--surface); display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; text-align: left; border: 0; width: 100%; cursor: pointer; font: inherit; color: var(--ink); min-width: 0; }
.module:hover { background: var(--surface-2); }
.module .box { flex: none; width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--line); display: grid; place-items: center; color: var(--accent-ink); font-size: 12px; font-family: var(--f-mono); }
.module[data-state="doing"] .box { border-color: var(--accent); color: var(--accent); background: transparent; }
.module[data-state="doing"] .box::after { content: "~"; }
.module[data-state="done"] .box { border-color: var(--accent); background: var(--accent); }
.module[data-state="done"] .box::after { content: "\2713"; }
.module .m-label { flex: 1 1 auto; min-width: 0; }
.module .m-name { display: block; line-height: 1.25; }
.module[data-state="done"] .m-name { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.module .m-tag { font-family: var(--f-mono); font-size: var(--t-micro); color: var(--muted); }
.module .m-state { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.module[data-state="doing"] .m-state { color: var(--accent); }

.addform { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.addform input, .addform select { font: inherit; font-size: var(--t-small); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.55em 0.7em; min-width: 0; }
.addform input[type="text"] { flex: 1 1 14rem; }
.addform .mono { font-family: var(--f-mono); }

.lab-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.log { width: 100%; border-collapse: collapse; font-size: var(--t-small); min-width: 34rem; }
table.log th, table.log td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
table.log th { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
table.log td { color: var(--ink); }
table.log .pill { font-family: var(--f-mono); font-size: var(--t-micro); padding: 0.15em 0.6em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
table.log .pill.rooted { color: var(--accent); border-color: var(--accent); }
table.log .del { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--f-mono); }
table.log .del:hover { color: var(--c-software); }

.lab-note { font-family: var(--f-mono); font-size: var(--t-small); color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); padding: 0.9em 1em; }
.lab-note b { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.contact-row .addr { font-family: var(--f-mono); font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem); overflow-wrap: anywhere; }
.copy { font-family: var(--f-mono); font-size: var(--t-small); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4em 0.8em; cursor: pointer; color: var(--ink); }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.note { font-family: var(--f-mono); font-size: var(--t-small); color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); padding: 0.9em 1em; }
.prose p { max-width: 42rem; color: var(--ink); }
.prose p + p { margin-top: 1rem; }
.prose .lead { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.footer-cell { background: var(--surface); padding: 0.8rem 1rem; min-width: 0; }
.footer-cell .k { display: block; font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.footer-cell .v { font-size: var(--t-small); overflow-wrap: anywhere; }
.footer-cell.wide { grid-column: span 2; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-block: 1rem; font-family: var(--f-mono); font-size: var(--t-micro); color: var(--muted); }

/* ---------- Reveal on load (starts visible; only lifts when JS marks ready) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; transform: translateY(14px); }
  .reveal-ready .reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
}

@media (max-width: 720px) {
  .grid.cols-2, .grid.cols-3, .pillars, .rings { grid-template-columns: minmax(0, 1fr); }
  /* tighter hero rhythm on phones so headline + wordmark + lead + first CTA stay above the fold */
  .hero .wrap { padding-block: 36px 40px; }
  .hero .lead { margin-top: 1rem; }
  .hero-actions { margin-top: 1.4rem; }
  .kaos-strip { margin-top: 1.4rem; }
  .resolve-cue { margin-top: 1.2rem; }
  .sys-x { display: none; }   /* the live pts/fps readout would collide with the eyebrow on phones */
}
