/* ============================================================
   Nordhal Defence - concept site
   Tokens follow nordhal-design-system/colors-and-type.css.
   Concept: the page is a dive. Scroll depth = water depth.
   ============================================================ */

@font-face { font-family: "Agency FB"; src: url("../fonts/agencyfbcyrillic.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Univers"; src: url("../fonts/univers-medium.ttf") format("truetype"); font-weight: 400 550; font-display: swap; }
@font-face { font-family: "Univers"; src: url("../fonts/univers-bold.ttf") format("truetype"); font-weight: 600 900; font-display: swap; }
/* JetBrains Mono comes in three files per weight: basic Latin, extra Latin letters (Polish, Estonian ...)
   and Cyrillic (Ukrainian). The browser only downloads the ones a page actually uses. */
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; 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; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500 700; font-display: swap; 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; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500-latin-ext.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500-cyrillic.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Agency FB has no Polish ą ę ś ź ż ć ń and no Ukrainian і ї є ґ, so those two languages set their
   headlines in Oswald Light, the closest open-licence match. One weight for every weight, like Agency FB. */
@font-face { font-family: "Oswald Light"; src: url("../fonts/oswald-300-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; 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; }
@font-face { font-family: "Oswald Light"; src: url("../fonts/oswald-300-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald Light"; src: url("../fonts/oswald-300-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --carbon-0: #000; --carbon-1: #07080A; --carbon-2: #0E1014; --carbon-3: #14171C;
  --carbon-4: #1B1F26; --carbon-5: #232831; --carbon-6: #2E343F; --carbon-7: #3D4452;
  --steel-1: #3A4150; --steel-3: #5E6675; --steel-4: #737B8A; --steel-5: #8C93A0; --steel-6: #A6ADB9; --steel-7: #BFC5D0;
  --bone: #FFF;
  --sonar-100: #D8DFF1; --sonar-300: #5772B4; --sonar-500: #224698; --sonar-600: #173474; --sonar-700: #0E2354; --sonar-900: #061235;
  --sonar-rgb: 34, 70, 152;
  --hazard: #FF4438; --caution: #FFB02E; --ok: #3DDC97;

  --line: var(--carbon-5);
  --line-bone: rgba(255,255,255,.08);
  --line-bone-2: rgba(255,255,255,.14);
  --fg-2: var(--steel-7);
  --fg-3: var(--steel-5);

  --f-display: "Agency FB", "Arial Narrow", sans-serif;
  --f-body: "Univers", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 120ms; --t-mid: 200ms; --t-slow: 360ms;

  --nav-h: 3.75rem;
  --max: 77.5rem;
  --pad: clamp(16px, 4vw, 4rem);

  --ch-tl: polygon(8px 0,100% 0,100% 100%,0 100%,0 8px);
  --ch-tr: polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,0 100%);
  --ch-br: polygon(0 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%);
  --ch-diag: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  --ch-diag-lg: polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);
}
html:lang(pl), html:lang(uk) { --f-display: "Oswald Light", "Arial Narrow", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: clamp(16px, calc(0.42vw + 10px), 21px); }
body {
  margin: 0; background: var(--carbon-0); color: var(--bone);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
::selection { background: var(--sonar-500); color: var(--bone); }
:focus-visible { outline: 1px solid var(--sonar-300); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(var(--sonar-rgb), .25); }

/* ---------- type ---------- */
.display { font-family: var(--f-display); text-transform: uppercase; line-height: .92; letter-spacing: .01em; font-weight: 400; }
.d1 { font-size: clamp(3.4rem, 9vw, 8.5rem); }
.d2 { font-size: clamp(2.8rem, 6.4vw, 5.5rem); }
.h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.eyebrow { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.eyebrow b { color: var(--bone); font-weight: 500; }
.mono { font-family: var(--f-mono); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--fg-2); max-width: 36em; margin: 0; }
.muted { color: var(--fg-3); }
.sonar { color: var(--sonar-300); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(80px, 10vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .idx { display: flex; gap: 16px; align-items: center; }
.sec-head .idx::after { content: ""; flex: 1; height: 1px; background: var(--line-bone); }
@media (min-width: 900px) { .sec-head.split { grid-template-columns: 6fr 6fr; align-items: end; column-gap: 4rem; } .sec-head.split .idx { grid-column: 1 / -1; } }
/* layout variants, so the homepage sections do not all open the same way */
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.center .idx { justify-self: stretch; }
.sec-head.center .lede { max-width: 40em; }
.sec-head.row .link-arrow { justify-self: start; }
@media (min-width: 900px) { .sec-head.row { grid-template-columns: 1fr auto; align-items: end; } .sec-head.row .idx { grid-column: 1 / -1; } .sec-head.row .link-arrow { justify-self: end; margin-bottom: .6rem; } }
.mission-intro { padding-bottom: 2rem; }
.mission-intro .lede { margin-top: 1.5rem; }
@media (min-width: 1000px) { .mission-intro { min-height: 44vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 0; } }
.layers-close { margin: clamp(32px, 4vw, 56px) 0 0 auto; max-width: 30em; text-align: right; }
@media (max-width: 899px) { .layers-close { text-align: left; margin-left: 0; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--bone); --fg: #000;
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
  font-family: var(--f-display); font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  background: var(--bg); color: var(--fg); border: 0; cursor: pointer;
  clip-path: var(--ch-br);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease); }
.btn:hover { --bg: var(--steel-7); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
/* a clip-path chamfer cuts an outline away, so outlined boxes redraw the missing diagonal as a background layer */
.btn--ghost { --bg: rgba(255,255,255,.05); --fg: var(--bone); --edge: var(--line-bone-2); box-shadow: inset 0 0 0 1px var(--edge); background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--edge) calc(50% - 1px) 50%, transparent 50%) right bottom / 8px 8px no-repeat border-box, var(--bg); }
.btn--ghost:hover { --bg: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-mid) var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
svg.i { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); background: #000; border-bottom: 1px solid var(--line-bone);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 2.125rem; width: auto; }
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links > a, .nav-drop-btn {
  position: relative; padding: 8px 14px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2);
  transition: background var(--t-fast) var(--ease);
}
.nav-links > a:hover, .nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { background: var(--carbon-3); }
.nav-links > a[aria-current="page"], .nav-drop.cur .nav-drop-btn { color: var(--bone); }
.nav-links > a[aria-current="page"]::after, .nav-drop.cur .nav-drop-btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: calc(50% - var(--nav-h) / 2); height: 2px; background: var(--sonar-300); }
/* products dropdown: opens on hover, or on click/Enter for touch and keyboard (js/site.js) */
.nav-drop { position: relative; height: 100%; display: flex; align-items: center; }
.nav-drop-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; line-height: inherit; }
.nav-drop-btn svg { width: 12px; height: 12px; transition: transform var(--t-fast) var(--ease); }
.nav-drop-panel {
  position: absolute; top: 100%; left: 0; min-width: 17rem; padding: 6px; --edge: var(--line-bone-2); background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--edge) calc(50% - 1px) 50%, transparent 50%) right bottom / 8px 8px no-repeat border-box, #000;
  border: 1px solid var(--edge); border-top: 0; clip-path: var(--ch-br);
  opacity: 0; visibility: hidden; transition: opacity var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}
.nav-drop-panel a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px 14px; border-bottom: 1px solid var(--line-bone); font-family: var(--f-display); font-size: 1.35rem; text-transform: uppercase; line-height: 1; color: var(--bone); transition: background var(--t-fast) var(--ease); }
.nav-drop-panel a:last-child { border-bottom: 0; }
.nav-drop-panel a small { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; color: var(--fg-3); white-space: nowrap; }
.nav-drop-panel a:hover { background: var(--carbon-3); }
.nav-drop-panel a[aria-current="page"] small { color: var(--sonar-300); }
.nav-drop-panel a small.cpt, .menu a small.cpt { color: var(--caution); }
@media (hover: hover) { .nav-drop:hover .nav-drop-panel { opacity: 1; visibility: visible; transition-delay: 0s; } .nav-drop:hover .nav-drop-btn svg { transform: rotate(180deg); } }
.nav-drop.open .nav-drop-panel { opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 20px; align-self: stretch; }
/* language menu: same dropdown as Products, opening leftwards from the right edge.
   Names are in each language's own spelling and case, in the body font (the display font lacks some letters) */
.lang-drop .nav-drop-panel { left: auto; right: 0; min-width: 13rem; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.lang-drop .nav-drop-panel a { padding: 11px 14px; font-family: var(--f-body); font-size: 0.9375rem; text-transform: none; }
.lang-drop .nav-drop-panel a[aria-current="true"] { box-shadow: inset 2px 0 0 var(--sonar-300); }
.lang-drop .nav-drop-panel a[aria-current="true"] small { color: var(--sonar-300); }
@keyframes blink { 50% { opacity: .25; } }
.nav .btn { height: 2.25rem; font-size: 1.05rem; padding: 0 1rem; }
.nav-toggle { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 1px solid var(--line-bone-2); color: var(--bone); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (min-width: 1020px) {
  /* three columns with equal sides, so the links sit in the true middle of the screen */
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-links { display: flex; align-self: stretch; }
  .nav-right { justify-self: end; }
  .nav-toggle { display: none; }
}
@media (max-width: 1019px) { .nav .btn { display: none; } }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: #000; padding: 24px var(--pad) 32px;
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity var(--t-mid) var(--ease), visibility 0s linear var(--t-mid);
}
.menu.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-bone); font-family: var(--f-display); font-size: 2.6rem; text-transform: uppercase; line-height: 1; }
.menu a small { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .16em; color: var(--fg-3); }
.menu a[aria-current="page"] { border-bottom-color: var(--sonar-300); }
.menu a[aria-current="page"] small { color: var(--sonar-300); }
.menu-group { border-bottom: 1px solid var(--line-bone); padding-bottom: 10px; }
.menu-group > span { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; font-family: var(--f-display); font-size: 2.6rem; text-transform: uppercase; line-height: 1; }
.menu-group > span small { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .16em; color: var(--fg-3); }
.menu-group a { font-size: 1.6rem; padding: 10px 0 10px 20px; border-bottom: 0; color: var(--fg-2); }
.menu-group a[aria-current="page"] { color: var(--bone); box-shadow: inset 2px 0 0 var(--sonar-300); }
.menu .menu-foot { margin-top: auto; font-family: var(--f-mono); font-size: 0.75rem; color: var(--fg-3); line-height: 1.8; }

/* ---------- depth gauge (fixed, right edge) ---------- */
.gauge { position: fixed; right: 0; top: calc(var(--nav-h) + 32px); bottom: 32px; z-index: 40; width: 40px; pointer-events: none; display: none; transition: opacity var(--t-slow) var(--ease); }
.gauge.off { opacity: 0; }
@media (min-width: 1180px) { .gauge { display: block; } }
.gauge-scale { position: absolute; right: 12px; top: 0; bottom: 0; width: 12px;
  background-image:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.4) 0 1px, transparent 1px 10%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.16) 0 1px, transparent 1px 2%);
  background-size: 12px 100%, 6px 100%; background-repeat: no-repeat; background-position: right top, right top; }
.gauge-mark { position: absolute; right: 10px; width: 22px; height: 1px; background: var(--bone); top: 0; will-change: transform; }
.gauge-read { position: absolute; right: 38px; top: 0; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .12em; white-space: nowrap; color: var(--bone); will-change: transform; background: #000; padding: 2px 6px; margin-top: -9px; }
.gauge-read span { color: var(--steel-5); }

/* marine snow + depth tint */
#snow { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .5; }
.depth-tint { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(var(--sonar-rgb), .16), transparent 60%); opacity: var(--tint, 1); }
main, footer { position: relative; z-index: 2; }

/* ---------- reveal ----------
   Military/terminal feel, not soft fades: things switch on rather than drift in.
   .rv  = blocks flicker on like a screen powering up (no movement)
   .sx  = headings, one line at a time: a sonar bar wipes across, the line appears under it, the bar pulls away
   .sw  = paragraphs, words cut in one by one with a brief highlight, like a cursor passing
   .idx = section numbers scramble, and their rule draws across in hard steps
   None of this moves things around the page, so it also runs when the OS asks for reduced motion. */
.js .rv { opacity: 0; }
.js .rv.in { animation: flick 380ms linear forwards; animation-delay: var(--rd, 0ms); }
@keyframes flick { 0% { opacity: 0; } 18% { opacity: .7; } 30% { opacity: .1; } 52% { opacity: .9; } 64% { opacity: .35; } 100% { opacity: 1; } }
/* only short lines of text flicker. Everything else (pictures, renders, diagrams, the race, tables and number grids,
   cards, timeline steps, article cards) comes in with one clean fade: a page full of flickering blocks is tiring */
.js .rv.in:not(p, .eyebrow, .status, .btn-row, .link-arrow) { animation: picOn 420ms ease-out forwards; animation-delay: var(--rd, 0ms); }
@keyframes picOn { from { opacity: 0; } to { opacity: 1; } }
.js .sx, .js .sw { opacity: 1 !important; animation: none !important; }
.sx .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.sx .ln > span { position: relative; display: inline-block; }
.sx .ln .bar { position: absolute; left: -.06em; right: -.06em; top: .02em; bottom: .06em; background: var(--sonar-300); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.js .sx .ln .tx { opacity: 0; }
.js .sx.in .ln .bar { animation: barWipe 560ms cubic-bezier(.8, 0, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js .sx.in .ln .tx { animation: txOn 1ms linear forwards; animation-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms) + 280ms); }
@keyframes barWipe { 0% { transform: scaleX(0); transform-origin: left; } 46% { transform: scaleX(1); transform-origin: left; } 54% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes txOn { to { opacity: 1; } }
.js .sw .wd { display: inline-block; opacity: 0; }
.js .sw.in .wd { animation: wdOn 200ms steps(1, end) forwards; animation-delay: calc(var(--i, 0) * 14ms + var(--d, 0ms)); }
@keyframes wdOn { from { opacity: 1; color: var(--bone); background: rgba(var(--sonar-rgb), .55); } to { opacity: 1; } }
/* the label stays hidden until its turn, so it is never seen whole and then scrambled again */
.js .sec-head .idx:not(.in) { visibility: hidden; }
.js .sec-head .idx::after { transform: scaleX(0); transform-origin: left; transition: transform 640ms steps(10, end) 150ms; }
.js .sec-head .idx.in::after { transform: none; }
.rv-d1 { --rd: 80ms; transition-delay: 80ms !important; } .rv-d2 { --rd: 160ms; transition-delay: 160ms !important; } .rv-d3 { --rd: 240ms; transition-delay: 240ms !important; } .rv-d4 { --rd: 320ms; transition-delay: 320ms !important; }

/* film grain: a fixed layer of fine noise over everything, so flat black reads as a surface
   and renders stop looking too clean. It jitters in hard steps; under reduced motion it holds still. */
body::after { content: ""; position: fixed; inset: -100px; z-index: 55; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.45%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
  animation: grain 900ms steps(1) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-37px, 22px); } 34% { transform: translate(19px, -41px); } 51% { transform: translate(-12px, 58px); } 68% { transform: translate(44px, 9px); } 85% { transform: translate(-51px, -26px); } }

/* ---------- hero (full-bleed film) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; padding-top: var(--nav-h); }
.hero-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--carbon-1); }
.hero-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 30%, rgba(0,0,0,0) 48%),
  linear-gradient(to right, rgba(0,0,0,.35), rgba(0,0,0,0) 45%); }
/* the film plays on its own for a moment before the text comes in */
.js .late { opacity: 0; animation: flick 520ms linear forwards; }
.js .late.l4 { animation-name: picOn; animation-timing-function: ease-out; }
.late.l1 { animation-delay: 1100ms; } .late.l2 { animation-delay: 2300ms; } .late.l3 { animation-delay: 2500ms; } .late.l4 { animation-delay: 2800ms; }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--steel-6); }
.hero-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--bone), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1099px) { .hero-scroll { display: none; } }
.hero-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; color: rgba(255,255,255,.72); text-transform: uppercase; }
.hero-hud .c { position: absolute; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.45); }
.hero-hud .c.tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.hero-hud .c.tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; }
.hero-hud .c.bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; }
.hero-hud .c.br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.hero-hud .t { position: absolute; top: 26px; left: 54px; display: flex; gap: 22px; }
.hero-hud .rec::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--hazard); border-radius: 50%; vertical-align: 1px; animation: blink 1.2s steps(1) infinite; }
.hero-hud .tr-read { position: absolute; top: 26px; right: 54px; text-align: right; line-height: 1.9; }
@media (max-width: 700px) { .hero-hud .tr-read, .hero-hud .t span:not(.rec) { display: none; } }
.hero .d1 { font-size: clamp(3rem, 7vw, 6.4rem); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 clamp(20px, 4vw, 56px) clamp(28px, 4.5vw, 52px); display: grid; gap: 28px; }
.hero-content .eyebrow { color: var(--steel-6); }
.hero-content h1 { margin: 16px 0 22px; }
.hero-content .lede { color: var(--steel-7); max-width: 32em; margin-bottom: 28px; }
@media (min-width: 1100px) { .hero-content { grid-template-columns: 1fr auto; align-items: end; } }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 1px; background: var(--line-bone-2); border: 1px solid var(--line-bone-2); }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, minmax(104px, 1fr)); } }
.hero-stats div { background: rgba(0,0,0,.7); padding: 14px 16px; }
.hero-stats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.3rem; line-height: 1; }
.hero-stats small { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; color: var(--fg-3); text-transform: uppercase; }
.hero-note { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; color: var(--steel-5); text-transform: uppercase; margin-top: 10px; }
@media (max-width: 640px) { .hero-content .lede { font-size: 1rem; } .hero-stats b { font-size: 1.8rem; } .hero-stats div { padding: 10px 12px; } }
/* phones held upright: the specs move out of the film to a single row just under it, so the drone stays visible */
@media (max-width: 699px) and (orientation: portrait) {
  .hero { height: auto; min-height: 0; padding-bottom: 104px; }
  .hero-frame { height: calc(100svh - var(--nav-h)); min-height: 520px; overflow: visible; }
  .hero-content > .late.l4 { position: absolute; top: 100%; left: 0; right: 0; padding: 14px clamp(20px, 4vw, 56px) 0; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats div { padding: 9px 10px; }
  .hero-stats b { font-size: 1.45rem; }
  .hero-stats small { font-size: 0.5625rem; letter-spacing: .12em; }
}
/* small phones: both hero buttons on one row, and a little less space between the lines, so more of the film shows */
@media (max-width: 419px) and (orientation: portrait) {
  .hero-content .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero-content .btn { height: 44px; padding: 0 12px; gap: 8px; font-size: 1rem; white-space: nowrap; }
  .hero-content .btn svg { width: 15px; height: 15px; }
  .hero-content h1 { margin: 12px 0 16px; }
  .hero-content .lede { margin-bottom: 20px; }
}

/* decode text */
[data-decode] .ch { display: inline-block; }
[data-decode] .ch.hid { visibility: hidden; }
[data-decode] .ch.scr { color: var(--sonar-300); }

/* ---------- statement (word fill on scroll) ---------- */
.statement { font-family: var(--f-body); font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.4; max-width: 34em; margin: 0; }
.statement .w { white-space: nowrap; color: var(--carbon-7); }
.statement .w.on { color: var(--bone); }
.statement .w.on.hl { color: var(--sonar-300); }
.statement-foot { display: grid; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-bone); }
@media (min-width: 900px) { .statement-foot { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.statement-foot b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.8rem; line-height: 1; margin-bottom: 8px; }
.statement-foot p { margin: 0; color: var(--fg-3); font-size: 0.875rem; max-width: 26em; }

/* ---------- mission (sticky media + steps) ---------- */
.mission { display: grid; gap: 24px; }
@media (min-width: 1000px) { .mission { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.mission-media { position: sticky; top: var(--nav-h); z-index: 5; background: #000; padding: 8px 0; }
/* pinned in the vertical middle of the space under the nav, so the screen holds still while the steps scroll past */
@media (min-width: 1000px) { .mission-media { --mh: min(calc(100vh - var(--nav-h) - 5rem), 44rem); height: var(--mh); top: calc(var(--nav-h) + (100vh - var(--nav-h) - var(--mh)) / 2); padding: 0; background: none; } }
.mission-screen { position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 10; }
@media (min-width: 1000px) { .mission-screen { height: 100%; aspect-ratio: auto; } }
.mission-screen .layer { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms var(--ease); }
.mission-screen .layer.on { opacity: 1; }
.mission-screen .layer video, .mission-screen .layer img { width: 100%; height: 100%; object-fit: cover; }
.mission-screen .layer img.mono { filter: grayscale(1) contrast(1.1) brightness(.7); }
.mission-screen canvas.sonar { display: block; width: 100%; height: 100%; }
.mission-screen .lost { display: grid; place-items: center; align-content: center; gap: 10px; background: #000; font-family: var(--f-mono); color: var(--bone); text-align: center; }
.mission-screen .lost b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: .04em; line-height: 1; }
.mission-screen .lost small { font-size: 0.6875rem; letter-spacing: .2em; color: var(--steel-5); }
.mission-screen .lost.on b { animation: glitch 900ms steps(2) 1; }
@keyframes glitch { 0%{opacity:0; transform:translateX(-6px)} 20%{opacity:1; transform:translateX(4px)} 40%{opacity:.3; transform:none} 60%{opacity:1} 100%{opacity:1} }
.screen-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.screen-hud .tl { position: absolute; top: 16px; left: 18px; }
.screen-hud .tr { position: absolute; top: 16px; right: 18px; }
.screen-hud .bl { position: absolute; bottom: 16px; left: 18px; right: 18px; display: flex; gap: 4px; }
.screen-hud .bl span { flex: 1; height: 2px; background: rgba(255,255,255,.2); transition: background var(--t-mid); }
.screen-hud .bl span.on { background: var(--bone); }
.step { padding: 36px 0; border-top: 1px solid var(--line-bone); transition: opacity var(--t-slow) var(--ease); }
.js .step { opacity: .3; }
.js .step.on { opacity: 1; }
@media (min-width: 1000px) { .step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; } }
.step .num { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .16em; color: var(--sonar-300); margin-bottom: 18px; }
.step h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: .92; margin-bottom: 16px; }
.step p { color: var(--fg-2); max-width: 30em; }
.step .who { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; padding: 6px 10px; border: 1px solid var(--line-bone-2); font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.step .who.us { border-color: var(--sonar-300); color: var(--sonar-100); }

/* ---------- parallel vs sequential ---------- */
.race { display: grid; gap: 1px; background: var(--line-bone); border: 1px solid var(--line-bone); }
@media (min-width: 900px) { .race { grid-template-columns: 1fr 1fr; } }
.lane { background: var(--carbon-1); padding: clamp(20px, 3vw, 32px); }
.lane header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.lane h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 2.1rem; line-height: 1; }
.lane .eyebrow { margin-bottom: 8px; }
.lane .clock { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--steel-6); letter-spacing: .08em; white-space: nowrap; }
.lane svg { width: 100%; height: auto; }
.lane .meta { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .12em; color: var(--fg-3); text-transform: uppercase; }
.lane .meta b { color: var(--bone); font-weight: 400; }
.lane--us { background: #03050A; }
.race-foot { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; color: var(--steel-4); text-transform: uppercase; }

/* ---------- system tiles (bento) ---------- */
.tiles { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 17rem; } .t-a { grid-column: span 4; grid-row: span 2; } .t-b { grid-column: span 2; grid-row: span 2; } .t-c, .t-d { grid-column: span 3; } }
/* the fibre tile is tall and narrow: keep the tether and the tail cap in frame, not the blurred front */
.t-b img { object-position: 28% 50%; }
/* render sizes on the home tiles: the drone 15% larger (grown about its own centre), the spool 15% smaller */
.tile.t-a img { transform: scale(1.15); transform-origin: 50% 41%; }
.tile.t-a:hover img { transform: scale(1.196); }
.tile.t-b { background: #000; }
.tile.t-b img { transform: scale(.85); }
.tile.t-b:hover img { transform: scale(.884); }
/* between 760 and 1199px (phones on their side, tablets) the spool tile is tall and narrow, so filling it cropped the spool.
   The render has a pure black background, so fit the whole picture, then zoom in on the spool (centre at 36.8% 47%) and centre it. */
@media (min-width: 760px) and (max-width: 1199px) {
  .tile.t-b img { object-fit: contain; transform-origin: 36.8% 47%; transform: translateX(13.2%) scale(2.2); }
  .tile.t-b:hover img { transform: translateX(13.2%) scale(2.29); }
}
.tile { position: relative; overflow: hidden; min-height: 300px; background: var(--carbon-2); clip-path: var(--ch-tl); display: block; }
.tile:nth-child(2n) { clip-path: var(--ch-tr); }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease), opacity var(--t-slow) var(--ease); }
.tile video { opacity: 0; }
.tile:hover img { transform: scale(1.04); }
/* the script decides when a film shows; plain :hover is only the no-script fallback */
.tile.playing video, html:not(.js) .tile:hover video { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0) 55%); pointer-events: none; }
.tile .lbl { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tile .lbl h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: .95; }
.tile .lbl p { margin: 8px 0 0; color: var(--fg-2); font-size: 0.875rem; max-width: 28em; }
.tile .tag { position: absolute; top: 16px; left: 18px; z-index: 2; display: flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); background: rgba(0,0,0,.72); padding: 5px 8px; }
.tile .tag i { width: 6px; height: 6px; background: var(--caution); display: inline-block; }
.tile .tag.live i { background: var(--ok); }
.tile .go { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-bone-2); transition: background var(--t-fast) var(--ease), color var(--t-fast); }
.tile .go svg { width: 16px; height: 16px; }
.tile:hover .go { background: var(--bone); color: #000; }
.tile--black { background: #000; }
.tile--black img { object-fit: contain; padding: 4% 4% 18%; }
.tile--black::after { background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,0) 40%); }
.hud-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: .14em; color: rgba(255,255,255,.8); text-transform: uppercase; }
.hud-overlay .box { position: absolute; left: 38%; top: 26%; width: 26%; height: 36%; border: 1px solid var(--caution); }
.hud-overlay .box span { position: absolute; top: -16px; left: -1px; background: var(--caution); color: #000; padding: 1px 5px; white-space: nowrap; }
.hud-overlay b { font-weight: inherit; }
/* on a tile the tracking box belongs to the film, so it shows only while the film plays */
.tile .hud-overlay { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.tile.playing .hud-overlay, html:not(.js) .tile:hover .hud-overlay { opacity: 1; }
.hud-overlay .tl { position: absolute; top: 40px; right: 18px; text-align: right; line-height: 1.8; }

/* ---------- layer rows (giant type) ---------- */
.layers { border-top: 1px solid var(--line-bone); }
.layer-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px 24px; align-items: baseline; padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line-bone); }
@media (min-width: 900px) { .layer-row { grid-template-columns: 6rem 1fr 24rem; } }
.layer-row .n { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .12em; color: var(--fg-3); }
/* rows start dim and light up one by one as they pass the middle of the screen;
   the row in focus is white, earlier rows settle to grey, and Act lights up last in sonar blue */
.layer-row .big { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: .88; transition: color 600ms var(--ease); }
.layer-row .desc { grid-column: 2; transition: opacity 600ms var(--ease); }
.js .layer-row .big { color: var(--carbon-6); }
.js .layer-row .desc { opacity: .35; }
@media (min-width: 900px) { .layer-row .desc { grid-column: 3; } }
.layer-row p { margin: 0; color: var(--fg-3); font-size: 0.9375rem; }
.layer-row .n { transition: color 600ms var(--ease); }
.layer-row.lit .big { color: var(--steel-5); }
.layer-row.lit .desc { opacity: 1; }
.layer-row.cur .big { color: var(--bone); }
.layer-row.us.lit .big { color: var(--bone); }
.layer-row.us.lit .n { color: var(--sonar-300); }
.layer-row.us.lit .big::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .12em; background: var(--sonar-300); vertical-align: baseline; }
.layer-row.us p { color: var(--fg-2); }
.layer-row .who { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-5); }
.layer-row.us .who { color: var(--sonar-100); }
/* ---------- plan / timeline ---------- */
.plan { position: relative; display: grid; }
@media (min-width: 900px) { .plan { grid-template-columns: repeat(3, 1fr); row-gap: 48px; } }
@media (min-width: 1200px) { .plan { grid-template-columns: repeat(6, 1fr); } }
.plan-item { position: relative; padding: 28px 24px 28px 0; border-top: 1px solid var(--line-bone-2); }
@media (min-width: 900px) { .plan-item { padding: 32px 24px 0 0; } }
.plan-item::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: #000; border: 1px solid var(--steel-4); }
.plan-item.done { border-top-color: var(--steel-6); }
.plan-item.done::before { background: var(--bone); border-color: var(--bone); }
.plan-item.now::before { background: var(--sonar-500); border-color: var(--sonar-300); box-shadow: 0 0 0 4px rgba(var(--sonar-rgb), .3); }
.plan-item .when { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.plan-item h4 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.8rem; line-height: .95; margin-bottom: 10px; }
.plan-item p { color: var(--fg-3); font-size: 0.875rem; margin: 0; }
.plan-item .st { display: inline-block; margin-top: 14px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-5); }
.plan-item.done .st { color: var(--ok); }
.plan-item.now .st { color: var(--sonar-100); }
/* below 900px the steps stack, so the timeline turns vertical: one continuous line down the left, a marker per step */
@media (max-width: 899px) {
  .plan { padding-left: 4px; }
  .plan-item { border-top: 0; border-left: 1px solid var(--line-bone-2); padding: 0 0 40px 28px; }
  .plan-item.done { border-left-color: var(--steel-6); }
  .plan-item:last-child { border-left-color: transparent; padding-bottom: 0; }
  .plan-item::before { top: 3px; left: -4px; }
}

/* ---------- insights cards ---------- */
.posts { display: grid; gap: 12px; }
@media (min-width: 900px) { .posts { grid-template-columns: 2fr 1fr 1fr; } }
.post { position: relative; display: flex; flex-direction: column; --edge: var(--line-bone); background: var(--carbon-1); border: 1px solid var(--edge); clip-path: var(--ch-tl); transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.post:hover { background-color: var(--carbon-3); --edge: var(--line-bone-2); }
/* the chamfer edge sits over the image here, so it is drawn on top rather than as a background */
.post::after { content: ""; position: absolute; left: -1px; top: -1px; width: 8px; height: 8px; z-index: 2; pointer-events: none; background: linear-gradient(to top left, transparent calc(50% - 1px), var(--edge) calc(50% - 1px) 50%, transparent 50%); }
.post .img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.post .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05) brightness(.8); transition: transform 1200ms var(--ease), filter var(--t-slow) var(--ease); }
.post:hover .img img { transform: scale(1.03); filter: grayscale(.4) contrast(1.05) brightness(.9); }
.post .body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.post h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.9rem; line-height: .95; }
.post.feature h3 { font-size: clamp(2.1rem, 3vw, 2.9rem); }
.post p { color: var(--fg-3); font-size: 0.875rem; margin: 0; }
.post .meta { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.post.soon { background-color: transparent; }
.post.soon .img { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 10px); }
.post.soon .img span { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .2em; color: var(--steel-5); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: #000; border-top: 1px solid var(--line-bone); }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #000 25%, rgba(0,0,0,.1)); }
.cta-band .inner { position: relative; padding-block: clamp(96px, 13vw, 180px); display: grid; gap: 28px; justify-items: start; }
.cta-band .inner .display { max-width: 12ch; }

/* ---------- footer ---------- */
/* follows the live nordhal.dk footer: banner + tagline, three columns, legal bar */
.footer { position: relative; z-index: 2; background: #000; border-top: 1px solid var(--line-bone); padding: 60px 0 32px; }
.foot-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-bone); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 14rem 1fr; gap: 5rem; } }
.foot-brand img { height: 2.8rem; width: auto; max-width: 12.5rem; object-fit: contain; object-position: left; }
.foot-tag { display: block; margin-top: 16px; font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); line-height: 1.6; }
.foot-cols { display: grid; gap: 32px; }
@media (min-width: 700px) { .foot-cols { grid-template-columns: 1fr 1fr 1.6fr; gap: 48px; } }
.foot-cols h5 { margin: 0 0 14px; font-size: 0.625rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.foot-links { display: grid; gap: 10px; justify-items: start; font-size: 0.875rem; }
.foot-links a, .foot-links span, .foot-about { color: rgba(255,255,255,.72); }
.foot-links a { transition: color var(--t-fast); }
.foot-links a:hover { color: var(--bone); }
.foot-about { margin: 0; font-size: 0.875rem; line-height: 1.6; max-width: 34em; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 24px; font-size: 0.75rem; color: rgba(255,255,255,.45); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 20px; margin-right: auto; }
.foot-legal a:hover, .foot-li:hover { color: var(--bone); }
.foot-li { display: grid; place-items: center; transition: color var(--t-fast); }
.foot-li svg { width: 18px; height: 18px; }
.foot-cvr { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .08em; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(64px, 10vw, 140px)) 0 clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line-bone); background: radial-gradient(circle at 50% 30%, var(--carbon-2) 0%, #000 70%); }
.page-hero .display { max-width: 15ch; margin-top: 20px; }
.page-hero .lede { margin-top: 28px; }
.crumbs { display: flex; gap: 10px; }
.crumbs a { color: var(--fg-3); }
.crumbs a:hover { color: var(--bone); }
.page-hero .legal-meta { margin-top: 28px; }
.article.legal .body-copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-top: 64px; }
.article.legal .body-copy h2:first-of-type { margin-top: 48px; }

/* ---------- product hero ---------- */
.p-hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; padding-top: var(--nav-h); overflow: hidden; background: #000; }
.p-hero .giant { position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%); text-align: center; font-family: var(--f-display); text-transform: uppercase; font-size: 24vw; line-height: .8; color: var(--carbon-3); white-space: nowrap; user-select: none; will-change: transform; }
.p-hero .shot { position: absolute; z-index: 2; left: 50%; top: 46%; width: min(1080px, 94vw); transform: translate(-50%, -50%); will-change: transform; mix-blend-mode: lighten; }
.p-hero .shot img { width: 100%; height: auto; }
.p-hero .lamp-fx { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; filter: blur(1.5px); }
/* phones: the glow is drawn at screen resolution, which already softens it, so the costly blur goes */
@media (pointer: coarse) { .p-hero .lamp-fx { filter: none; } }
.p-hero .meta { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
@media (min-width: 900px) { .p-hero .meta { grid-template-columns: 1fr auto; align-items: end; } }
.p-hero .meta .lede { margin-top: 14px; max-width: 30em; }
.p-hero .designation { display: grid; gap: 6px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase; }
.p-hero .designation b { color: var(--bone); font-weight: 400; }
@media (min-width: 900px) { .p-hero .designation { text-align: right; } }

/* ---------- 3D viewer with callouts ---------- */
.viewer-track { position: relative; height: 620vh; border-top: 1px solid var(--line-bone); }
.viewer-stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; background: radial-gradient(circle at 50% 45%, #0A0D14 0%, #000 66%); }
.viewer-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.viewer-grid { position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(var(--sonar-rgb), .14) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--sonar-rgb), .14) 1px, transparent 1px);
  background-size: 80px 80px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%); }
.viewer-lines { position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; z-index: 2; }
.viewer-lines line, .viewer-lines polyline { stroke: var(--bone); stroke-width: 1; fill: none; opacity: .75; }
.viewer-lines circle { fill: #000; stroke: var(--bone); stroke-width: 1; }
.viewer-lines circle.pulse { fill: none; stroke: var(--sonar-300); animation: ping 1.8s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
/* dimension lines on the side view: thin sonar-blue drafting lines with mono figures */
.viewer-lines .dims line { stroke: var(--sonar-300); stroke-width: 1; opacity: 1; }
.viewer-lines .dims line.ext { stroke: rgba(216,223,241,.45); stroke-dasharray: 3 3; }
.viewer-lines .dims line.tick { stroke: var(--sonar-100); stroke-width: 1.4; }
.viewer-lines .dims text { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .14em; fill: var(--bone); paint-order: stroke; stroke: #000; stroke-width: 4px; stroke-linejoin: round; }
.viewer-lines .dims text.sub { font-size: 0.5625rem; fill: var(--steel-5); }
.viewer-note { position: absolute; z-index: 3; right: var(--pad); bottom: 24px; color: var(--steel-5); font-size: 0.625rem; text-align: right; max-width: 22em; }
@media (max-width: 1099px) { .viewer-note { display: none; } }
.viewer-head { position: absolute; z-index: 3; top: 28px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; gap: 16px; pointer-events: none; }
.callout { position: absolute; z-index: 3; width: min(340px, 80vw); pointer-events: none; opacity: 0; transition: opacity 200ms steps(3, end); }
.callout.on { opacity: 1; }
.callout .n { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .16em; color: var(--sonar-300); }
.callout h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: .92; margin: 10px 0 12px; }
.callout p { font-size: 0.9375rem; color: var(--fg-2); margin: 0 0 14px; }
.callout dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line-bone-2); font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .06em; }
.callout dt { color: var(--fg-3); text-transform: uppercase; }
.callout dd { margin: 0; color: var(--bone); text-align: right; }
.viewer-progress { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 24px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; color: var(--steel-4); text-transform: uppercase; }
@media (min-width: 900px) { .viewer-progress { right: auto; width: 46rem; } }
.viewer-progress span { transition: color var(--t-mid); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.viewer-progress span.on { color: var(--bone); }
.viewer-progress span::before { content: ""; display: block; height: 1px; margin-bottom: 8px; background: currentColor; }
/* phones: six labels do not fit, so only the current one is spelled out */
@media (max-width: 899px) { .viewer-progress span { color: transparent; overflow: visible; } .viewer-progress span::before { background: var(--steel-4); } .viewer-progress span.on { color: var(--bone); } .viewer-progress span.on::before { background: var(--bone); } .viewer-progress span.on:last-child { direction: rtl; } }
.viewer-load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .2em; color: var(--steel-5); }
.viewer-fallback { position: absolute; inset: 12% 10%; display: none; }
.viewer-fallback img { width: 100%; height: 100%; object-fit: contain; }
.no-webgl .viewer-fallback { display: block; }
.no-webgl .viewer-load { display: none; }
@media (max-width: 899px) {
  .callout { left: var(--pad) !important; right: var(--pad); top: auto !important; bottom: 70px; width: auto; background: rgba(0,0,0,.82); padding: 16px; border: 1px solid var(--line-bone); }
  .callout h3 { font-size: 1.9rem; }
  .callout p { font-size: 0.875rem; }
  .viewer-lines .lead { display: none; }
  .viewer-lines .dims text { font-size: 0.625rem; }
}

/* ---------- spec sheet ---------- */
.spec { display: grid; gap: 1px; background: var(--line-bone); border: 1px solid var(--line-bone); grid-template-columns: 1fr 1fr; margin: 0; }
@media (min-width: 1000px) { .spec { grid-template-columns: repeat(4, 1fr); } }
.spec div { background: #000; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; transition: background var(--t-fast) var(--ease); }
.spec div:hover { background: var(--carbon-2); }
.spec dt { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.spec dd { margin: 0; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; }
.spec-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; color: var(--steel-5); text-transform: uppercase; }
.spec-note .trl { color: var(--caution); }

/* ---------- film strip / gallery ---------- */
.strip { display: grid; gap: 12px; }
@media (min-width: 900px) { .strip { grid-template-columns: 1fr 1fr; } .strip .wide { grid-column: 1 / -1; } }
.frame { position: relative; overflow: hidden; background: var(--carbon-1); margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.frame.wide img { aspect-ratio: 3 / 1; }
@media (max-width: 700px) { .frame.wide img { aspect-ratio: 16 / 9; } }
/* collage: two frames stacked on the left, the big one beside them on the right (a .wide frame spans underneath) */
.collage { display: grid; gap: 12px; }
@media (min-width: 900px) {
  .collage { grid-template-columns: 5fr 7fr; }
  .collage .big { grid-column: 2; grid-row: 1 / span 2; }
  .collage .frame:not(.big):not(.wide) img { position: absolute; inset: 0; aspect-ratio: auto; }
  .collage .wide { grid-column: 1 / -1; }
}
.frame figcaption { position: absolute; left: 18px; bottom: 14px; right: 18px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; color: rgba(255,255,255,.85); text-transform: uppercase; }

/* ---------- misc blocks ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-bone); border: 1px solid var(--line-bone); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: #000; padding: 24px; }
.facts b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: 10px; text-transform: uppercase; }
.facts span { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 7fr; gap: 80px; } }
/* about: one centred column, label above the text */
.about { display: grid; justify-items: center; gap: 32px; text-align: center; }
.about .prose { max-width: 44em; }
.prose p { color: var(--fg-2); font-size: 1.08rem; line-height: 1.65; }
.prose p.big { color: var(--bone); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.45; }

.cards { display: grid; gap: 12px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { --edge: var(--line-bone); background: linear-gradient(to top right, transparent calc(50% - 1px), var(--edge) calc(50% - 1px) 50%, transparent 50%) right top / 6px 6px no-repeat border-box, var(--carbon-1); border: 1px solid var(--edge); padding: 26px; clip-path: var(--ch-tr); transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.card:hover { background-color: var(--carbon-3); --edge: var(--line-bone-2); }
.card .ic { width: 24px; height: 24px; margin-bottom: 36px; color: var(--steel-7); }
/* a sample of what the console shows, in the console's own lettering */
.card:has(> .ro) { display: flex; flex-direction: column; }
.card:has(> .ro) p { margin-bottom: 28px; }
.card .ro { display: inline-block; align-self: flex-start; margin-top: auto; padding: 4px 8px; border: 1px solid var(--line-bone-2); font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .14em; color: var(--sonar-100); white-space: nowrap; }
.card h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.9rem; line-height: .95; margin-bottom: 12px; }
.card p { margin: 0; color: var(--fg-3); font-size: 0.9375rem; }

/* numbered list: plain rows between rules, used where a row of icon cards used to be */
.plist { border-top: 1px solid var(--line-bone); }
.plist > div { display: grid; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line-bone); }
@media (min-width: 900px) { .plist > div { grid-template-columns: 64px 4fr 7fr; align-items: baseline; padding: 30px 0; } }
.plist .n { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .16em; color: var(--sonar-300); }
.plist h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: .95; margin: 0; }
.plist p { margin: 0; color: var(--fg-2); max-width: 38em; }

.aff { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-bone); border: 1px solid var(--line-bone); }
@media (max-width: 899px) { .aff > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 900px) { .aff { grid-template-columns: repeat(3, 1fr); } .aff.aff--funds { grid-template-columns: repeat(2, 1fr); width: calc(200% / 3 + 0.5px); margin-inline: auto; } }
.aff > * { position: relative; background: #000; min-height: 130px; display: grid; place-items: center; align-content: center; padding: 18px; text-align: center; font-family: var(--f-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; color: var(--steel-6); transition: color var(--t-fast), background var(--t-fast); }
.aff > :hover { background: var(--carbon-2); color: var(--bone); }
/* small arrow in the corner: each card opens the organisation's own site */
.aff > a::after { content: ""; position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; opacity: .45; transition: opacity var(--t-fast); }
.aff > a:hover::after { opacity: 1; }
.aff-sub { margin: clamp(40px, 4vw, 56px) 0 16px; text-align: center; }
.aff small { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: .16em; color: var(--steel-4); }

.contact { display: grid; gap: 1px; background: var(--line-bone); border: 1px solid var(--line-bone); }
@media (min-width: 900px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact > * { background: #000; padding: 28px; display: block; transition: background var(--t-fast) var(--ease); }
.contact a:hover { background: var(--carbon-2); }
.contact span { display: block; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.contact b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.3rem); text-transform: uppercase; line-height: 1; word-break: break-word; }

/* ---------- article ---------- */
.progress { position: fixed; left: 0; top: var(--nav-h); height: 2px; width: 100%; z-index: 51; transform-origin: left; transform: scaleX(0); background: var(--sonar-300); }
.a-hero { position: relative; padding: calc(var(--nav-h) + 12px) 12px 0; }
.a-hero .imgbox { position: relative; overflow: hidden; height: 82vh; height: 82svh; min-height: 560px; }
.a-hero .imgbox img { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; filter: grayscale(.75) contrast(1.08) brightness(.6); will-change: transform; }
.a-hero .imgbox::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #000 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.1)); }
.a-hero .txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 5vw, 64px) clamp(28px, 5vw, 56px); }
.a-hero h1 { max-width: 17ch; margin: 18px 0 22px; }
.a-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .14em; color: var(--steel-6); text-transform: uppercase; }
.credit { padding: 10px clamp(20px, 5vw, 64px) 0; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .06em; color: var(--steel-4); }
.article { display: grid; gap: 48px; padding: clamp(56px, 8vw, 110px) 0; }
@media (min-width: 1100px) { .article { grid-template-columns: 14rem minmax(0, 44rem) 1fr; gap: 4rem; } }
.toc { display: none; }
@media (min-width: 1100px) { .toc { display: block; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }
.toc ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; counter-reset: t; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 9px 0; font-size: 0.8125rem; line-height: 1.35; color: var(--fg-3); border-top: 1px solid var(--line-bone); counter-increment: t; transition: color var(--t-fast); }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.625rem; padding-top: 2px; }
.toc a.on, .toc a:hover { color: var(--bone); }
.toc a.on::before { color: var(--sonar-300); }
.body-copy { font-size: 1.1rem; line-height: 1.72; color: var(--steel-7); min-width: 0; }
.body-copy h2 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: .95; color: var(--bone); margin: 80px 0 24px; scroll-margin-top: calc(var(--nav-h) + 32px); }
.body-copy h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; color: var(--bone); margin: 36px 0 10px; }
.body-copy p { margin: 0 0 1.2em; }
.body-copy strong { color: var(--bone); font-weight: 700; }
.body-copy a { color: var(--sonar-100); border-bottom: 1px solid var(--sonar-300); }
.body-copy ul { padding-left: 1.1em; margin: 0 0 1.2em; }
.body-copy li { margin-bottom: .5em; }
.body-copy li::marker { color: var(--sonar-300); }
/* blog posts are justified, like Ctrl+J in Word; on phones hyphenation stops wide gaps opening up between words */
.article:not(.legal) .body-copy p, .article:not(.legal) .body-copy li { text-align: justify; }
@media (max-width: 600px) { .article:not(.legal) .body-copy p, .article:not(.legal) .body-copy li { hyphens: auto; } }
.body-copy .intro { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--bone); }
.body-copy .sources { font-size: .92rem; line-height: 1.55; }
.article:not(.legal) .body-copy .sources li { text-align: left; }
.pull { margin: 56px 0; padding: 28px 0; border-top: 1px solid var(--line-bone-2); border-bottom: 1px solid var(--line-bone-2); font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: .98; color: var(--bone); }
.pull small { display: block; margin-top: 16px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; color: var(--fg-3); }
.bignum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-bone); border: 1px solid var(--line-bone); margin: 40px 0; }
.bignum div { background: #000; padding: 22px; }
.bignum b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 5vw, 4.2rem); line-height: .9; color: var(--bone); margin-bottom: 8px; }
.bignum span { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); line-height: 1.5; display: block; }
.methods { display: grid; gap: 1px; background: var(--line-bone); border: 1px solid var(--line-bone); margin: 32px 0; }
.methods div { background: #000; padding: 18px 20px; display: grid; gap: 6px; }
@media (min-width: 700px) { .methods div { grid-template-columns: 12rem 1fr; gap: 1.5rem; } }
.methods b { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; color: var(--bone); }
.methods span { font-size: .98rem; color: var(--fg-3); line-height: 1.55; }
.aside-note { border-left: 1px solid var(--sonar-300); padding: 4px 0 4px 20px; color: var(--fg-2); font-size: 1rem; margin: 40px 0; }
.a-side { display: none; }
@media (min-width: 1100px) { .a-side { display: block; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }
.a-side .card { padding: 20px; }
.a-side .card h3 { font-size: 1.5rem; }
.a-side img { margin: -20px -20px 18px; width: calc(100% + 40px); max-width: none; aspect-ratio: 4/3; object-fit: cover; }

.list-posts { border-top: 1px solid var(--line-bone); }
.lp { display: grid; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line-bone); transition: background var(--t-fast) var(--ease); }
@media (min-width: 900px) { .lp { grid-template-columns: 9.5rem 1fr 21rem; gap: 2.5rem; align-items: center; } }
.lp:hover { background: var(--carbon-1); }
.lp .d { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .14em; color: var(--fg-3); text-transform: uppercase; line-height: 1.9; }
.lp .d b { display: block; color: var(--bone); font-weight: 400; }
.lp h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 3rem); line-height: .95; }
.lp p { color: var(--fg-3); margin: 14px 0 0; max-width: 40em; }
.lp .th { aspect-ratio: 16/9; overflow: hidden; background: var(--carbon-2); }
.lp .th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8) brightness(.8); transition: filter var(--t-slow) var(--ease), transform 1200ms var(--ease); }
.lp:hover .th img { filter: grayscale(.2) brightness(.95); transform: scale(1.03); }
.lp.soon h3 { color: var(--steel-6); }
.lp.soon .th { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 10px); font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .2em; color: var(--steel-5); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { height: 32px; padding: 0 14px; background: transparent; border: 1px solid var(--line-bone-2); color: var(--fg-2); font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background var(--t-fast); }
.filters button:hover { background: var(--carbon-3); }
.filters button[aria-pressed="true"] { border-color: var(--sonar-300); color: var(--bone); box-shadow: 0 0 0 3px rgba(var(--sonar-rgb), .22); }


/* ---------- system pages (fibre tether, console, launch rack) ---------- */
.page-hero .status { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; padding: 6px 10px; border: 1px solid var(--line-bone-2); font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.page-hero .status i { width: 6px; height: 6px; background: var(--caution); }
.page-hero .status.live i { background: var(--ok); }
.shot-fig { position: relative; margin: 0; }
.shot-fig .pic { position: relative; overflow: hidden; background: #000; }
.shot-fig .pic > img { width: 100%; height: auto; }
.shot-fig .pic > video { display: block; width: 100%; height: auto; aspect-ratio: 744 / 418; }
.shot-fig figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 12px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-5); }

/* fibre tether: cutaway of the cable, numbered to the cards below it */
.xsec { position: relative; margin: 0 0 12px; background: var(--carbon-1); border: 1px solid var(--line-bone); }
.xsec svg { display: block; width: 100%; height: auto; }
.xn { display: inline-grid; place-items: center; width: 26px; height: 26px; background: var(--caution); color: #000; font-family: var(--f-mono); font-size: 0.75rem; clip-path: var(--ch-br); }
.xsec .xn { position: absolute; transform: translate(-50%, -50%); }
.xcards .xn { margin-bottom: 28px; }
@media (max-width: 699px) { .xsec .xn { width: 20px; height: 20px; font-size: 0.625rem; } }
.shot-fig .hud-overlay { font-size: 0.6875rem; }
.shot-fig .hud-overlay .box span { white-space: nowrap; }
.shot-fig .hud-overlay .box { left: 41%; top: 30%; width: 20%; height: 44%; }
.split-media { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .split-media { grid-template-columns: 5fr 7fr; gap: 72px; } }
.split-media .prose p:last-child { margin-bottom: 0; }
.steps4 .card .num { display: block; margin-bottom: 30px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .16em; color: var(--sonar-300); }
.draft-box { margin: 0 0 40px; padding: 18px 20px; border: 1px dashed var(--caution); font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .04em; line-height: 1.7; color: var(--steel-7); }
.draft-box b { display: block; margin-bottom: 4px; color: var(--caution); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: 0.6875rem; }
.todo-list { list-style: none; padding: 0 !important; margin: 24px 0 40px !important; border-top: 1px solid var(--line-bone); }
.todo-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; margin: 0 !important; border-bottom: 1px solid var(--line-bone); color: var(--bone); }
.todo-list li span { flex: none; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-5); padding-top: 4px; }
.todo-list li.done span { color: var(--ok); }

/* ---------- deliberate imperfection ----------
   Small, controlled roughness so the site does not look machine-smooth: grease-pencil marks
   drawn over some images, a rubber stamp on concept material, and photos that sit a
   fraction of a degree off straight. Used sparingly, never on text or layout. */
.tilt-l { transform: rotate(-.6deg); }
.tilt-r { transform: rotate(.45deg); }
.tilt-s { transform: rotate(-.25deg); }
.mk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.mk path { fill: none; stroke: var(--caution); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .92; }
/* fibre tether: 2 mm orange jacket at the scale of the spool (dark edge, orange body, soft highlight), fading as it trails away */
.mk .fb path { opacity: 1; stroke-linecap: butt; }
.mk .fb .fb-s { stroke: #7a2a06; stroke-width: 6; }
.mk .fb .fb-c { stroke: #ff6a14; stroke-width: 4.4; }
.mk .fb .fb-h { stroke: #ffc08f; stroke-width: 1.2; opacity: .6; }
.mk .fb { filter: drop-shadow(0 0 4px rgba(255, 106, 20, .35)); }
/* SC/UPC connector on the short lead out of the drone end: blue body (blue = UPC polish), white ferrule; kept simple on purpose */
.mk .sc-boot { fill: #1d4a8f; }
.mk .sc-body { fill: #2f74d0; }
.mk .sc-hi { fill: #7fb0f0; opacity: .55; }
.mk .sc-gr { stroke: #1a3f78; stroke-width: 1.4; }
.mk .sc-fer { fill: #ece6d8; }
.js .mk .sc { opacity: 0; }
.in .mk .sc, .mk.in .sc { animation: picOn 300ms ease-out forwards; animation-delay: calc(900ms + var(--k, 0) * 220ms); }
.js .mk path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .mk path, .mk.in path { stroke-dashoffset: 0; transition: stroke-dashoffset 650ms cubic-bezier(.55, 0, .35, 1); transition-delay: calc(500ms + var(--k, 0) * 220ms); }
.mk-l { position: absolute; z-index: 3; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; color: var(--caution); white-space: nowrap; transform: rotate(-1.5deg); pointer-events: none; }
.mk-l.r { transform: rotate(1.2deg); }
/* on light pictures the pencil text gets a dark backing so it stays readable */
.mk-l.chip { background: rgba(0,0,0,.66); padding: 2px 7px; }
.js .mk-l { opacity: 0; }
.in .mk-l { animation: picOn 300ms ease-out forwards; animation-delay: calc(900ms + var(--k, 0) * 220ms); }
@media (max-width: 699px) { .mk-l { font-size: 0.5rem; letter-spacing: .1em; } .mk-l.hide-s { display: none; } }
.stamp { display: inline-block; padding: 8px 16px 5px; border: 3px solid currentColor; color: var(--caution); font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-7deg); opacity: .88; pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27160%27 height=%27160%27%3E%3Cfilter id=%27s%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.55%27 numOctaves=%273%27 seed=%277%27/%3E%3CfeColorMatrix values=%270 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4.2 3.3%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23s)%27/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27160%27 height=%27160%27%3E%3Cfilter id=%27s%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.55%27 numOctaves=%273%27 seed=%277%27/%3E%3CfeColorMatrix values=%270 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4.2 3.3%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23s)%27/%3E%3C/svg%3E"); }
.stamp small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 0.5625rem; letter-spacing: .2em; }
.page-hero .stamp { position: absolute; right: clamp(20px, 8vw, 140px); bottom: clamp(40px, 7vw, 90px); }
@media (max-width: 699px) { .page-hero .stamp { position: static; margin: 28px 0 0 calc(var(--pad) + 6px); } }
.drawing { position: relative; margin: 0; padding: clamp(16px, 3vw, 36px); background: #03050A; border: 1px solid var(--line-bone); overflow: hidden;
  background-image: linear-gradient(rgba(var(--sonar-rgb), .12) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--sonar-rgb), .12) 1px, transparent 1px); background-size: 32px 32px; }
.drawing svg.dw { width: 100%; height: auto; overflow: visible; }
.dw .ln1 { fill: none; stroke: var(--steel-6); stroke-width: 1.4; }
.dw .ln2 { fill: none; stroke: var(--steel-4); stroke-width: 1; }
.dw .fill { fill: rgba(255,255,255,.04); stroke: var(--steel-6); stroke-width: 1.4; }
.dw .veh { fill: #1B1F26; stroke: var(--bone); stroke-width: 1.2; }
.dw .water { fill: none; stroke: var(--sonar-300); stroke-width: 1.2; }
.dw .fig { fill: none; stroke: var(--bone); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.dw .dim { fill: none; stroke: var(--steel-5); stroke-width: .8; }
.dw text { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .12em; fill: var(--steel-5); text-transform: uppercase; }
.drawing .stamp { position: absolute; right: 5%; top: 8%; font-size: clamp(1.1rem, 2vw, 1.7rem); }
/* Launch systems slideshow. Every slide shares one grid cell, so the height never changes
   between slides. The bar under the active tab is the timer: when it fills, the next slide shows. */
.ls-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 16px; background: var(--line-bone); border: 1px solid var(--line-bone); }
@media (min-width: 800px) { .ls-tabs { grid-template-columns: repeat(4, 1fr); } }
.ls-tabs button { position: relative; padding: 14px 16px 16px; text-align: left; background: var(--carbon-1); border: 0; color: var(--fg-3); font: inherit; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.ls-tabs button:hover { background: var(--carbon-3); }
.ls-tabs button b { display: block; margin-bottom: 6px; font-family: var(--f-mono); font-weight: 400; font-size: 0.5625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-5); }
.ls-tabs button span { font-family: var(--f-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.ls-tabs button[aria-selected="true"] { background: var(--carbon-3); color: var(--bone); }
.ls-tabs button i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--caution); transform: scaleX(0); transform-origin: left; }
.ls-tabs button[aria-selected="true"] i { animation: ls-bar 9s linear forwards; }
.ls:not(.live) .ls-tabs i, .ls.hold .ls-tabs i { animation-play-state: paused; }
.plain .ls-tabs button[aria-selected="true"] i { animation: none; transform: none; }
@keyframes ls-bar { to { transform: scaleX(1); } }
.ls-stage, .ls-text { display: grid; }
.ls-stage > *, .ls-text > * { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 450ms var(--ease), visibility 0s 450ms; }
.ls-stage > .on, .ls-text > .on { opacity: 1; visibility: visible; transition: opacity 450ms var(--ease); }
.ls-text { margin-top: 28px; max-width: 44em; }
.ls-text h3 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; }
.ls-text p { margin: 0; color: var(--fg-2); }
@media (max-width: 699px) { .ls .drawing .stamp { display: none; } }
.drawing figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-5); }

/* Reduced motion (Windows turns this on whenever "Animation effects" is off, so plenty of
   visitors have it without asking): the reveals above never move anything, so they stay.
   What goes is continuous motion: the snow, parallax, looping blinks and the grain jitter. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hero-scroll i, .hero-hud .rec::before, .viewer-lines circle.pulse, body::after { animation: none !important; }
  #snow { display: none; }
}

/* translated legal pages: the line saying the English version applies (src/i18n.mjs) */
.legal-note { color: var(--fg-3); }
