/* Synthosar: a black-canvas defense aesthetic. From Anduril: framed media,
   mono micro-labels, and type that decrypts into place. From Slade: justified
   uppercase statements, the meta strip, numbered structure, slate panels,
   and giant type behind the aircraft. Corners are square throughout. */
:root {
  --bg: #000;
  --fg: #f4f5f5;
  --fg-2: #a4abae;
  --fg-3: #80888c;
  --line: #ffffff1f;
  --line-strong: #ffffff40;
  --paper: #e8ebea;
  --ink: #101619;
  --ink-2: #4a5458;
  --ink-line: #1016192b;
  --slate: #58616a;
  --slate-2: #dde3e2;
  --slate-dim: #b9c2c4;
  --sage: #95a6a5;
  --accent: #8fc2ff;
  --font: "Helvetica Now Display", "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  /* Shared type scale: captions stay readable on every screen. */
  --text-caption: .875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-card-title: 1.375rem;
  --text-section-title: clamp(2.5rem, 4.8vw, 4.5rem);
  --gutter: clamp(16px, 2.2vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: var(--text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: #000; }
[hidden] { display: none !important; }
img { max-width: 100%; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; }
.container { width: calc(100% - 2 * var(--gutter)); max-width: 1376px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; user-select: none; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -100px; padding: 12px 18px; background: var(--fg); color: #000; font-size: var(--text-caption); font-weight: 600; }
.skip-link:focus { top: 12px; }
.section-pad { padding: clamp(80px, 10vw, 140px) 0; }

/* Mono micro-labels carry the "data" voice of the page. */
.label { font-family: var(--mono); font-size: var(--text-caption); font-weight: 500; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.index { font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .06em; color: var(--fg-3); }
@keyframes blink { 50% { opacity: .25; } }

/* Decrypt states (see decrypt.js). Targets wait hidden until revealed. */
.js [data-decrypt]:not(.dx-on) { visibility: hidden; }
.dx-w.is-pending { visibility: hidden; }
.dx-redact .dx-w.is-pending { visibility: visible; -webkit-text-fill-color: transparent; background: linear-gradient(currentColor, currentColor) 0 56% / 100% .82em no-repeat; }
.dx-lock { display: inline-block; white-space: pre; clip-path: inset(-.5em 0); }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--reveal-delay, 0ms), transform 1.1s var(--ease) var(--reveal-delay, 0ms); }
.js [data-reveal="rise"] { transform: translateY(10%) scale(.97); transition-duration: 1.4s, 1.6s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Header: black bar over the framed hero, smoked glass once scrolled. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: 32px; height: var(--header-h); padding: 0 var(--gutter); background: #000; border-bottom: 1px solid var(--line); transition: background 300ms var(--ease), border-color 300ms var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; font-size: var(--text-body); font-weight: 600; letter-spacing: .16em; }
.wordmark .logo-mark { display: block; width: 40px; height: 46px; flex: 0 0 40px; margin-left: -8px; margin-right: 4px; }
.site-header .wordmark { font-size: var(--text-body); letter-spacing: .2em; }
.site-header .logo-mark { width: 48px; height: 48px; flex-basis: 48px; margin: 0 0 0 -5px; }
.logo-canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
/* Header dropdowns (see app.js): full-width panels below the header. */
.desktop-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 40px; pointer-events: none; }
.nav-item { pointer-events: auto; }
.nav-trigger { position: relative; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0; border: 0; background: none; font-size: var(--text-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); transition: color 160ms var(--ease); }
.nav-trigger:hover, .nav-trigger.is-current, .nav-trigger[aria-expanded="true"] { color: var(--fg); }
.nav-chevron { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 220ms var(--ease); }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: translateY(1px) rotate(-135deg); }
.nav-trigger::after { content: ''; position: absolute; left: calc(50% - 9px); bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(0); transition: opacity 200ms, transform 300ms var(--ease); }
.nav-trigger.is-current::after { opacity: 1; transform: none; }
.nav-panel { position: fixed; top: var(--header-h); left: 0; right: 0; background: #000; border-bottom: 1px solid var(--line); box-shadow: 0 48px 96px #000000c7; animation: nav-panel-in 260ms var(--ease); }
@keyframes nav-panel-in { from { opacity: 0; transform: translateY(-8px); } }
.nav-panel-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding: 40px 0 48px; }
.nav-panel-intro { display: grid; align-content: start; justify-items: start; gap: 14px; }
.nav-panel-title { max-width: 320px; font-size: 1.75rem; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.nav-panel-links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.nav-panel-links a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 24px; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.nav-link-name { font-size: var(--text-card-title); font-weight: 500; letter-spacing: -.02em; transition: color 160ms; }
.nav-link-note { font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.nav-link-arrow { justify-self: end; color: var(--fg-3); transition: transform 240ms var(--ease), color 160ms; }
.nav-panel-links a:hover .nav-link-name, .nav-panel-links a:focus-visible .nav-link-name, .nav-panel-links a:hover .nav-link-arrow { color: var(--accent); }
.nav-panel-links a:hover .nav-link-arrow { transform: translateX(3px); }
.nav-contact { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 18px; border: 1px solid var(--line-strong); font-size: var(--text-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background 160ms, color 160ms, border-color 160ms; }
.nav-contact:hover { background: var(--fg); border-color: var(--fg); color: #000; }
.menu-toggle, .mobile-menu { display: none; }

/* Square, uppercase controls in the Slade manner. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; font-size: var(--text-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.button > [aria-hidden], .text-link > [aria-hidden] { font-size: var(--text-caption); font-weight: 400; transition: transform 240ms var(--ease); }
.arrow-icon { width: 14px; height: 14px; flex: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.button:hover > [aria-hidden], .text-link:hover > [aria-hidden] { transform: translate(2px, -2px); }
.button-light { background: var(--fg); border-color: var(--fg); color: #000; }
.button-light:hover { background: #fff; }
.button-outline { border-color: var(--line-strong); color: var(--fg); }
.button-outline:hover { border-color: var(--fg); background: #ffffff10; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--text-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 calc(50% + .95em) / 100% 1px no-repeat; }

/* Hero: Anduril's inset media frame, Slade's justified statement. */
.hero { position: relative; height: 100svh; min-height: 680px; max-height: 1100px; padding: var(--header-h) var(--gutter) var(--gutter); }
.hero-frame { position: relative; isolation: isolate; height: 100%; overflow: hidden; background: #050607; }
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-landscape { position: absolute; inset: -4%; background: url('/assets/hero-raven.webp') center 55% / cover; filter: grayscale(.85) contrast(1.15) brightness(.85); animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #000000a6 0%, #0000 30%, #00000026 52%, #000000eb 100%), linear-gradient(90deg, #0000008c, #0000 62%); }
/* Digital redaction over the aircraft in the hero photo (see visuals.js). */
.hero-censor { position: absolute; -webkit-mask-image: radial-gradient(closest-side, #000 72%, #0000); mask-image: radial-gradient(closest-side, #000 72%, #0000); }
.hero-censor canvas { display: block; width: 100%; height: 100%; }
.frame-tick { position: absolute; z-index: 2; width: 14px; height: 14px; border: 0 solid #ffffff8c; pointer-events: none; }
.frame-tick.tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.frame-tick.tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.frame-tick.bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.frame-tick.br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hero-inner { position: absolute; inset: auto 0 0; padding: 0 clamp(20px, 3vw, 48px) clamp(24px, 3vw, 44px); pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.hero-kicker { margin-bottom: 18px; color: var(--fg-2); }
h1 { margin-left: -.04em; font-size: clamp(3.25rem, 8vw, 8.25rem); line-height: .88; letter-spacing: -.055em; }
h1 .dim { color: #ffffff80; }
#hero-title { line-height: 1.08; }
.hero-base { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-top: clamp(28px, 3.5vw, 48px); padding-top: 22px; border-top: 1px solid var(--line-strong); }
.hero-statement { max-width: 540px; font-size: clamp(1rem, 1.4vw, 1.3rem); font-weight: 500; line-height: 1.2; text-transform: uppercase; }
.hero-actions { display: flex; gap: 10px; }

/* Slade's meta strip. */
.meta-strip { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0; margin-top: clamp(40px, 5vw, 88px); border-bottom: 1px solid var(--line); font-size: var(--text-body); font-weight: 500; line-height: 1.4; text-transform: uppercase; }
.meta-strip > span:nth-child(2) { text-align: center; }

/* Shared section header: label, headline, and a link or note at right. */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-head .label { margin-bottom: 18px; }
h2 { font-size: var(--text-section-title); line-height: .98; letter-spacing: -.045em; }
h2 .dim { color: var(--fg-3); }
.section-note { max-width: 440px; font-size: var(--text-body); line-height: 1.6; }

.thesis-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 96px); margin-top: clamp(64px, 7vw, 112px); padding: 0; list-style: none; }
.thesis-list li { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 18px 16px; }
.thesis-list .index { padding-top: 6px; }
.thesis-list h3 { font-size: var(--text-card-title); line-height: 1.2; letter-spacing: -.02em; }
.thesis-list p { grid-column: 2; max-width: 370px; color: var(--fg-2); font-size: var(--text-body); line-height: 1.65; }
.thesis { padding-block: clamp(120px, 15vw, 260px); }
.thesis .section-head { padding-bottom: clamp(36px, 4vw, 56px); }
.threat-testing { display: grid; gap: 16px; margin-top: clamp(48px, 5vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.threat-testing h3 { font-size: var(--text-card-title); line-height: 1.2; letter-spacing: -.02em; }
.threat-testing-copy { color: var(--fg-2); font-size: var(--text-body); line-height: 1.65; }


/* Software: a paper panel holding black product tiles. */
.platform { background: var(--paper); color: var(--ink); }
.platform .label { color: var(--ink-2); }
.platform .section-head { border-bottom-color: var(--ink-line); }
.platform h2 .dim { color: #6b7478; }
.platform .section-note { color: var(--ink-2); }
.product-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--ink-line); }
.product-tab { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 14px; min-width: 0; padding: 20px 20px 22px 0; border: 0; background: none; color: var(--ink-2); text-align: left; transition: color 200ms var(--ease); }
.product-tab::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease); }
.product-tab:hover, .product-tab[aria-selected=true] { color: var(--ink); }
.product-tab[aria-selected=true]::before { transform: none; }
.tab-n { grid-row: span 2; font-family: var(--mono); font-size: var(--text-caption); }
.tab-name { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.tab-sub { font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; }
.product-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); padding-top: 40px; }
.product-panel:focus-visible { outline-offset: 8px; }
.product-copy { padding-top: 8px; }
.product-copy .label { margin-bottom: 22px; }
.product-copy h3 { margin-bottom: 24px; font-size: clamp(2.25rem, 3.6vw, 3.5rem); line-height: 1; letter-spacing: -.045em; }
.product-copy > p:not(.label) { max-width: 430px; color: var(--ink-2); line-height: 1.65; }
.feature-list { max-width: 440px; margin: 28px 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--ink-line); counter-reset: feature; }
.feature-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); font-size: var(--text-body); line-height: 1.5; counter-increment: feature; }
.feature-list li::before { content: counter(feature, decimal-leading-zero); padding-top: 2px; font-family: var(--mono); font-size: var(--text-caption); color: var(--ink-2); }
.product-visual { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 540px; margin: 0; padding: 20px; background: #000; color: var(--fg); }
.visual-caption { margin-top: 14px; font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }

/* LERE console. */
.console { flex: 1; display: flex; flex-direction: column; border: 1px solid var(--line); font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .04em; text-transform: uppercase; }
.console-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.console-live { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-3); }
.console-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2, jump-none) infinite; }
.console-steps { padding: 0; list-style: none; }
.console-steps li { display: grid; grid-template-columns: 26px minmax(0, 1.25fr) minmax(0, 1fr) 9ch; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--fg-3); transition: color 300ms, background 300ms; }
.console-steps li.is-active { background: #ffffff0a; color: var(--fg); }
.console-steps li.is-done { color: var(--fg-2); }
.step-val { overflow: hidden; color: var(--fg); white-space: nowrap; }
.step-val.is-redacted { color: transparent; background: linear-gradient(#ffffff33, #ffffff33) 0 50% / 100% .9em no-repeat; }
.step-state { text-align: right; }
.console-steps li.is-done .step-state { color: var(--accent); }
.console-digest { flex: 1; padding: 14px; border-bottom: 1px solid var(--line); }
.console-sub { display: block; margin-bottom: 12px; color: var(--fg-3); }
.digest-grid { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; row-gap: 10px; font-size: var(--text-caption); letter-spacing: .12em; color: #ffffff4d; }
.digest-grid > .is-locked { color: var(--fg); }
.console-foot { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; padding: 14px; color: var(--fg-3); }
.console-status { min-width: 11ch; color: var(--fg); }
.console-status.is-ok { color: var(--accent); }
.console-bar { height: 2px; background: var(--line); }
.console-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transition: transform 500ms var(--ease); }

/* AEGIS screenshot. */
.aegis-visual { justify-content: center; }
.screen-frame { border: 1px solid var(--line); }
.screen-bar { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.screen-frame img { display: block; width: 100%; height: auto; }

/* AI-TFS sensor feed. */
.feed { position: relative; flex: 1; min-height: 420px; overflow: hidden; border: 1px solid var(--line); background: #06080a; }
.feed-image { position: absolute; inset: -8%; background: url('/assets/landscape.webp') 62% 26% / cover; filter: grayscale(1) contrast(1.3) brightness(.62); transform: scale(1.35); }
.feed::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#ffffff0c 1px, #0000 1px) 0 0 / 48px 48px, linear-gradient(90deg, #ffffff0c 1px, #0000 1px) 0 0 / 48px 48px, radial-gradient(ellipse at center, #0000 55%, #000000b3); pointer-events: none; }
.feed-scan { position: absolute; left: 0; right: 0; top: 0; height: 28%; background: linear-gradient(180deg, #0000, #8fc2ff12 80%, #8fc2ff2e); animation: scan 4.5s linear infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(360%); } }
.feed-hud { position: absolute; inset: 0; z-index: 1; font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; }
.feed-corner { position: absolute; top: 12px; }
.feed-corner.tl { left: 12px; }
.feed-corner.tr { right: 12px; color: var(--fg-2); }
.feed-cross { position: absolute; left: 50%; top: 44%; width: 22px; height: 22px; transform: translate(-50%, -50%); background: linear-gradient(#ffffff59, #ffffff59) center / 1px 100% no-repeat, linear-gradient(#ffffff59, #ffffff59) center / 100% 1px no-repeat; }
/* Target and reticle are positioned by visuals.js with transforms. */
.feed { --plane: 128px; }
.feed-target { position: absolute; left: 0; top: 0; width: var(--plane); height: calc(var(--plane) * .62); transform-origin: center; opacity: 0; filter: drop-shadow(0 0 6px #ffffff21); transition: opacity 450ms var(--ease); pointer-events: none; }
.feed-target.is-visible { opacity: 1; }
.feed-reticle { --s: calc(var(--plane) + 14px); position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); color: var(--fg); transition: width 500ms var(--ease), height 500ms var(--ease), color 300ms; }
.feed-reticle.is-search { --s: calc(var(--plane) * 1.5); color: #ffffff8c; }
.feed-reticle.is-guide { color: var(--accent); }
.feed-reticle i { position: absolute; width: 12px; height: 12px; border: 0 solid currentColor; }
.feed-reticle i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.feed-reticle i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.feed-reticle i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.feed-reticle i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.feed-tag { position: absolute; top: calc(100% + 8px); left: 0; display: flex; gap: 6px; white-space: nowrap; }
.feed-tag b { padding: 2px 6px; background: #000000b8; font-weight: 500; }
.feed-reticle.is-guide .feed-tag b:last-child { background: var(--accent); color: #000; }
.feed-pipeline { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 0; list-style: none; }
.feed-pipeline li { padding: 8px 10px; border-top: 2px solid #ffffff26; background: #000000b8; color: var(--fg-3); transition: color 300ms, border-color 300ms; }
.feed-pipeline li.is-on { border-top-color: var(--accent); color: var(--fg); }

/* Airframes: giant type behind the aircraft, as on Slade. */
.aircraft { overflow: hidden; background: radial-gradient(ellipse 70% 45% at 50% 48%, #151a1e, #000 72%); }
.section-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.aircraft-stage { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.giant { font-size: min(16.5vw, 15rem); font-weight: 600; line-height: .8; letter-spacing: -.06em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.aircraft-figure { position: relative; width: min(100%, 1180px); margin: -23% auto 0; pointer-events: none; }
.aircraft-figure img { display: block; width: 100%; height: auto; filter: brightness(1.35) saturate(.7) drop-shadow(0 30px 30px #000a); }
.aircraft-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.aircraft-credit { display: grid; align-content: start; gap: 4px; color: var(--fg); }
.aircraft-copy .lead { margin-bottom: 22px; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; }
.aircraft-copy > p:not(.lead) { max-width: 540px; margin-bottom: 14px; color: var(--fg-2); line-height: 1.7; }
.aircraft-copy .button { margin-top: 12px; }

/* Company: Slade's slate panel. */
.company { background: var(--slate); color: #fff; }
.company .label, .company .index { color: var(--slate-2); }
.company .section-head { border-bottom-color: #ffffff38; }
.company h2 .dim { color: var(--slate-dim); }
.company-body { margin-top: 44px; }
.company-intro { font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.25; letter-spacing: -.02em; }
.team { margin-top: 72px; }
.team > .label { padding-bottom: 14px; border-bottom: 1px solid #ffffff38; }
.team-list { padding: 0; list-style: none; }
.team-member { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid #ffffff38; }
.team-member strong { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; }
.team-role { font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); }


/* Inquiries: numbered channels, one mail link each. */
.inquiries { border-bottom: 1px solid var(--line); }
.inquiries .section-note { color: var(--fg-2); }
.inquiry-address { color: var(--fg); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color 160ms; }
.inquiry-address:hover { color: var(--accent); }
.inquiry-list { margin-top: 12px; padding: 0; list-style: none; }
.inquiry { position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 40px; align-items: baseline; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.inquiry::before { content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: #ffffff08; transform: scaleY(0); transform-origin: bottom; transition: transform 400ms var(--ease); }
.inquiry:hover::before, .inquiry:focus-visible::before { transform: none; }
.inquiry-name { font-size: clamp(1.75rem, 3.6vw, 3.25rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.inquiry-note { font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.inquiry-arrow { justify-self: end; font-size: 1.25rem; color: var(--fg-3); transition: transform 240ms var(--ease), color 160ms; }
.inquiry:hover .inquiry-arrow { color: var(--accent); transform: translate(3px, -3px); }

/* Footer: Slade's numbered index. */
.footer { padding: 56px 0 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-list { display: grid; align-content: start; gap: 2px; padding: 0; list-style: none; }
.footer-list li { display: flex; align-items: center; gap: 14px; font-size: var(--text-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-list li > span { min-width: 2.5em; font-family: var(--mono); font-weight: 400; color: var(--fg-3); }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; transition: color 160ms; }
.footer-list a:hover { color: var(--accent); }
.footer-base { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 72px; }
.wordmark-lg { font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: .14em; }
.wordmark-lg .logo-mark { width: 1.6em; height: 1.8em; flex-basis: 1.6em; margin-left: -.3em; }
.footer-legal { color: var(--fg-3); text-align: right; }
.footer-meta { display: grid; gap: 12px; justify-items: end; }
.footer-policy-links { display: flex; gap: 24px; font-size: var(--text-caption); color: var(--fg-2); }
.footer-policy-links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-policy-links a:hover { color: var(--accent); }

/* Legal pages: a quiet reading layout with the site's numbered structure. */
.legal-hero { background: #050607; }
.legal-updated { margin-top: 24px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 32px); }
.legal-nav > .label { margin-bottom: 20px; }
.legal-nav ol { display: grid; gap: 4px; padding: 0; list-style: none; }
.legal-nav li a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; gap: 10px; min-height: 36px; padding-block: 6px; font-size: var(--text-caption); line-height: 1.5; color: var(--fg-2); }
.legal-nav li a:hover, .legal-content a:hover { color: var(--accent); }
.legal-other { margin-top: 24px; white-space: normal; }
.legal-content { min-width: 0; }
.legal-section { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-section:first-child { padding-top: 24px; }
.legal-section > .index { padding-top: 4px; }
.legal-section h2 { margin-bottom: 20px; font-size: var(--text-card-title); line-height: 1.25; letter-spacing: -.02em; }
.legal-section p { color: var(--fg-2); font-size: var(--text-body); line-height: 1.75; }
.legal-section p + p { margin-top: 16px; }
.legal-content a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-section address { margin-top: 20px; font-style: normal; color: var(--fg-2); }

/* 404 */
.error-page { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; min-height: 100svh; padding-block: 48px; }
.error-page h1 { font-size: clamp(3.5rem, 11vw, 8rem); }
.error-page > p:not(.label) { color: var(--fg-2); font-size: var(--text-lead); }

/* Home contact block: the call to action beside the headline. */
.section-aside { display: grid; justify-items: start; gap: 18px; max-width: 360px; }
.section-aside p { color: var(--fg-2); font-size: var(--text-body); line-height: 1.6; }

/* Inner pages: a quiet hero, numbered pillars, commitments, a closing ask. */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(88px, 12vw, 168px)) 0 clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; background: url('/assets/landscape.webp') center 35% / cover; filter: grayscale(1) brightness(.45); opacity: .5; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #000000b3, #000 92%); }
.page-hero .label { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 7rem); }
.page-intro { max-width: 680px; margin-top: 32px; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.5; color: var(--fg-2); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; padding: 0; list-style: none; }
.pillars li { display: grid; align-content: start; gap: 14px; padding: 28px 28px 40px 0; border-bottom: 1px solid var(--line); }
.pillars li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.pillars h3 { font-size: var(--text-card-title); line-height: 1.2; letter-spacing: -.02em; }
.pillars p { max-width: 380px; color: var(--fg-2); font-size: var(--text-body); line-height: 1.65; }

.commitments { background: var(--slate); color: #fff; }
.commitments .label { color: var(--slate-2); }
.commitments .section-head { border-bottom-color: #ffffff38; }
.commitments h2 .dim { color: var(--slate-dim); }
.commitment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-top: 12px; padding: 0; list-style: none; counter-reset: commitment; }
.commitment-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #ffffff38; font-size: 1.0625rem; line-height: 1.45; counter-increment: commitment; }
.commitment-list li::before { content: counter(commitment, decimal-leading-zero); flex: 0 0 2.5em; padding-top: 4px; font-family: var(--mono); font-size: var(--text-caption); color: var(--slate-2); }

.cta-inner { display: grid; justify-items: start; gap: 24px; }
.cta h2 { font-size: var(--text-section-title); }
.cta-inner > p:not(.label) { max-width: 520px; color: var(--fg-2); font-size: 1.0625rem; }

/* Inquiry forms: square, dark fields with mono labels. */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); margin-top: 44px; }
.form-aside { display: grid; align-content: start; gap: 16px; color: var(--fg-2); font-size: var(--text-body); line-height: 1.6; }
.form-aside a { color: var(--fg); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.form-aside a:hover { color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: grid; align-content: start; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 0; background: #0b0d0f; color: var(--fg); font: inherit; font-size: var(--text-body); transition: border-color 160ms; }
.field textarea { min-height: 170px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, #0000 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, #0000 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field :is(input, select, textarea):focus-visible { outline: none; border-color: var(--accent); }
.field :is(input, textarea):user-invalid { border-color: #ff9a9a; }
.field ::placeholder { color: var(--fg-3); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-note { max-width: 440px; font-family: var(--mono); font-size: var(--text-caption); line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.form-status { min-height: 1.5em; margin-top: 16px; color: var(--accent); font-size: var(--text-body); }
.form-section { border-top: 1px solid var(--line); }
.nav-contact[aria-current] { background: var(--fg); border-color: var(--fg); color: #000; }
.legal-note { max-width: 760px; margin-top: 40px; color: var(--fg-3); font-size: var(--text-caption); line-height: 1.6; }

/* Careers: open roles as expandable rows. */
.application-sheet { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: 44px; border: 1px solid var(--line-strong); }
.application-role { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; padding: clamp(24px, 3.5vw, 48px); background: #101619; }
.application-role h3 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.05; letter-spacing: -.035em; }
.application-role-intro, .application-role-description { color: var(--fg-2); font-size: var(--text-body); line-height: 1.6; }
.application-role .field { width: 100%; }
.application-role-preview { display: grid; gap: 12px; width: 100%; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.application-role-name { font-size: var(--text-card-title); line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.application-role .text-link { white-space: normal; }
.application-fields { --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-2); --line-strong: var(--ink-line); --accent: #245a87; min-width: 0; padding: clamp(24px, 3.5vw, 48px); background: var(--paper); color: var(--ink); color-scheme: light; }
.application-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.application-group + .application-group { margin-top: 36px; }
.application-group legend { float: left; width: 100%; padding: 0 0 14px; border-bottom: 1px solid var(--ink-line); font-size: var(--text-card-title); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.application-group legend .index { margin-right: 12px; }
.application-group > .application-hint { clear: both; padding: 16px 0 20px; }
.application-hint { color: var(--ink-2); font-size: var(--text-caption); line-height: 1.6; }
.application-optional { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.application-fields .field input, .application-fields .field textarea { background: #f6f7f6; }
.application-fields .field textarea { min-height: 160px; }
.application-fields input[type="file"] { min-width: 0; border-style: dashed; padding: 10px; font-size: var(--text-caption); }
.application-fields input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 12px; border: 1px solid var(--ink-line); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.application-fields input[type="file"]::file-selector-button:hover { background: #dce1df; }
.application-send { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ink-line); }
.application-send .button { background: var(--ink); border-color: var(--ink); color: var(--paper); white-space: normal; }
.application-send .button:hover { background: #263238; border-color: #263238; }
.application-send .button:disabled { opacity: .6; cursor: wait; }
.application-fields .form-status a { text-decoration: underline; text-underline-offset: 3px; }

.role-groups { display: grid; gap: 56px; margin-top: 48px; }
.role-group-label { margin-bottom: 14px; }
.role-list { border-top: 1px solid var(--line); }
.role { border-bottom: 1px solid var(--line); }
.role summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: baseline; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.role summary::-webkit-details-marker { display: none; }
.role-title { font-size: clamp(1.375rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; transition: color 160ms; }
.role summary:hover .role-title { color: var(--accent); }
.role-meta { font-family: var(--mono); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.role-toggle { position: relative; justify-self: end; width: 14px; height: 14px; }
.role-toggle::before, .role-toggle::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--fg-2); transition: transform 240ms var(--ease); }
.role-toggle::after { transform: rotate(90deg); }
.role[open] .role-toggle::after { transform: none; }
.role-body { display: grid; justify-items: start; gap: 28px; max-width: 980px; padding: 4px 0 40px; }
.role-summary { max-width: 640px; font-size: var(--text-lead); line-height: 1.5; }
.role-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; width: 100%; }
.role-cols .label { margin-bottom: 12px; }
.role-cols ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.role-cols li { position: relative; padding-left: 18px; color: var(--fg-2); font-size: var(--text-body); line-height: 1.55; }
.role-cols li::before { content: ''; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--fg-3); }

@media (max-width: 1100px) {
  .desktop-nav { gap: 24px; }
  .hero-base { grid-template-columns: minmax(0, 1fr) auto; }
  .thesis-list { gap: 24px; }
}
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
  .application-sheet { grid-template-columns: 1fr; }
  .desktop-nav, .nav-contact { display: none; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; margin: 0 -10px 0 auto; padding: 10px; border: 0; background: none; }
  .menu-toggle span { width: 20px; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease); }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; padding: 0 var(--gutter) 20px; background: #000; border-bottom: 1px solid var(--line); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .menu-group { margin: 22px 0 4px; }
  .mobile-menu a { display: flex; align-items: center; gap: 16px; min-height: 50px; border-bottom: 1px solid var(--line); font-size: var(--text-lead); font-weight: 500; }
  .menu-n { font-family: var(--mono); font-size: var(--text-caption); color: var(--fg-3); }
  .hero { height: auto; min-height: 0; max-height: none; padding: var(--header-h) 8px 8px; }
  .hero-frame { display: flex; flex-direction: column; justify-content: flex-end; height: auto; min-height: calc(100svh - var(--header-h) - 8px); }
  .hero-inner { position: relative; padding: 0 18px 22px; }
  .hero-base { grid-template-columns: 1fr; gap: 20px; }
  .hero-statement { max-width: none; }
  .meta-strip { font-size: var(--text-caption); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .thesis-list { grid-template-columns: 1fr; }
  .thesis-list li + li { margin-top: 8px; }
  .product-panel { grid-template-columns: 1fr; }
  .product-visual { min-height: 480px; }
  .inquiry { grid-template-columns: 40px minmax(0, 1fr) 24px; row-gap: 6px; }
  .inquiry-note { grid-column: 2; grid-row: 2; }
  .inquiry-arrow { grid-column: 3; grid-row: 1; }
  .aircraft-info { grid-template-columns: 1fr; }
  .pillars, .commitment-list, .form-layout, .role-cols { grid-template-columns: 1fr; }
  .role summary { grid-template-columns: minmax(0, 1fr) 20px; row-gap: 8px; }
  .role-meta { grid-row: 2; }
  .role-toggle { grid-column: 2; grid-row: 1; }
  .pillars li, .pillars li:not(:nth-child(3n + 1)) { padding: 24px 0 28px; border-left: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-meta { justify-items: start; }
  .legal-section { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
  .application-send { grid-template-columns: 1fr; justify-items: start; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-statement { text-align: left; }
  #hero-title { font-size: 10.2vw; }
  .section-top { flex-direction: column; gap: 4px; }
  .product-tab { grid-template-columns: 1fr; gap: 4px; }
  .tab-n { grid-row: auto; }
  .tab-name { font-size: var(--text-lead); }
  .meta-strip { flex-wrap: wrap; row-gap: 6px; }
  .meta-strip > span:nth-child(2) { order: 3; width: 100%; text-align: left; }
  .tab-sub { display: none; }
  .feed { --plane: 88px; }
  .feed-corner.tr { top: 38px; left: 12px; right: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .inquiry { grid-template-columns: 36px minmax(0, 1fr) 24px; row-gap: 6px; padding: 20px 0; }
  .inquiry-note { grid-column: 2; grid-row: 2; }
  .inquiry-arrow { grid-column: 3; grid-row: 1; }
  .product-tab { padding-right: 8px; }
  .product-visual { padding: 12px; }
  .console-steps li { grid-template-columns: 22px minmax(0, 1fr) 9ch; }
  .step-name { display: none; }
  .digest-grid { grid-template-columns: repeat(3, auto); }
  .feed-pipeline li { padding: 8px 6px; overflow-wrap: anywhere; }
  .team-member { grid-template-columns: 40px 1fr; row-gap: 4px; }
  .team-role { grid-column: 2; }
  .footer-cols { grid-template-columns: 1fr; gap: 16px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  .js [data-decrypt], .dx-w.is-pending { visibility: visible !important; -webkit-text-fill-color: currentColor; background: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
