/* Goose Orbital — site styles
   Type: Unbounded (headings), Instrument Sans (body), AOT Serial Mono (labels, telemetry)
   Structure: line-ruled, square-cornered, no shadows or gradients */

:root {
  /* Palette drawn from the Goose Orbital badge: deep orbital navy, the badge's blue, and the gold of the module foil.
     (--tan keeps its name; it is the gold accent now.) */
  --ink: #060b16;
  --ink-2: #0b1424;
  --rule: #1a2942;
  --paper: #eef3fa;
  --muted: #92a2ba;
  --tan: #e8b85c;
  --tan-deep: #a67a2c;
  --blue: #4da3ff;
  --blue-deep: #12508c;

  --serif: "Unbounded", "Unbounded Fallback", "Instrument Sans", system-ui, sans-serif; /* display face: wide, like the badge's wordmark */
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "AOT Serial Mono", "DM Mono Fallback", ui-monospace, monospace; /* labels and telemetry */

  --gutter: clamp(20px, 4vw, 60px);
  --section: clamp(80px, 12vw, 160px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px; font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--tan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--tan); color: var(--ink); padding: 10px 16px;
  font: 500 13px var(--mono); transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 400; }
h1 em, h2 em, .statement em { font-style: normal; color: var(--tan); }
p { margin: 0; text-wrap: pretty; }

.label {
  font: 400 12px/1.4 var(--mono);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--tan);
}
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--paper); max-width: 34em; }
.body { color: var(--muted); max-width: 36em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .badge { width: 40px; height: 40px; object-fit: contain; transition: transform 0.6s var(--ease); }
.brand:hover .badge { transform: rotate(-6deg) scale(1.04); }
.brand span { font: 400 13px var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav a { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); position: relative; padding: 8px 0; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--tan); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { color: var(--ink); padding: 8px 14px; }
.nav .btn::after { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 18px; border: 1px solid var(--tan);
  background: var(--tan); color: var(--ink); cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover { background: transparent; color: var(--tan); }
.btn:hover .arrow { transform: translateX(5px); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--tan); color: var(--tan); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */

/* legacy .hero kept for page-hero sizing */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero .wrap { position: relative; padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero h1 { max-width: 11em; margin: 0 0 32px; }
.hero .lede { margin-bottom: 40px; max-width: 29em; }

.orbit { position: absolute; right: -8%; top: 50%; width: min(62vw, 900px); transform: translateY(-50%); pointer-events: none; color: var(--rule); }
.orbit .track { fill: none; stroke: currentColor; stroke-width: 1; }
.orbit .track.accent { stroke: var(--tan-deep); stroke-dasharray: 2 8; }
.orbit .craft { fill: var(--tan); }
.orbit .module { fill: none; stroke: var(--paper); stroke-width: 1; }
.hero-craft { position: absolute; right: 0; bottom: 14%; width: min(42vw, 600px); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero-craft.module-shot { width: min(26vw, 360px); right: 6%; bottom: 12%; }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(-2deg); } to { transform: translate3d(-14px, -18px, 0) rotate(1deg); } }

.page-hero .wrap { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 96px); max-width: 12em; margin: 0 0 28px; }

/* ---------- Timeline (customers): sticky rail on the left, one tall step per screen on the right ---------- */
.tline { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--rule); padding-top: clamp(48px, 7vw, 96px); }
.tline-rail { position: sticky; top: calc(50vh - 180px); align-self: start; display: grid; justify-items: start; gap: 8px; }
.tline-rail a { font: 400 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 6px 0; transition: color 0.3s var(--ease); }
.tline-rail a.on, .tline-rail a:hover { color: var(--tan); }
.tline-bar { display: block; width: 1px; height: 40px; margin-left: 4px; background: var(--rule); }
.tline-bar i { display: block; width: 100%; height: 100%; background: var(--tan); transform: scaleY(0); transform-origin: top; }
.tline-items { list-style: none; margin: 0; padding: 0; }
.tline-item { padding-bottom: clamp(96px, 13vw, 190px); scroll-margin-top: 110px; }
.tline-item:last-child { padding-bottom: 0; }
.tline-title { font-size: clamp(52px, 9.2vw, 148px); line-height: 0.95; letter-spacing: -0.03em; }
.tline-title .wd { display: inline-block; white-space: nowrap; }
.tline-title .ch { display: inline-block; will-change: transform, opacity; }
.tline-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.tline-media { margin: 0; width: 100%; max-width: 460px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-2); }
.tline-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); will-change: transform; }
.tline-item:nth-child(even) .tline-cols { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); }
.tline-item:nth-child(even) .tline-media { order: 2; justify-self: end; }
.tline-text { padding-bottom: 8px; }
.tline-text p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 22em; }

/* ---------- Sections ---------- */

section { padding: var(--section) 0; border-bottom: 1px solid var(--rule); }
section.hero, section.page-hero { padding: 0; }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); margin-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.section-head .body { margin-top: 20px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.stat { padding: 32px 24px 8px 0; border-right: 1px solid var(--rule); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat .num { font: 400 clamp(38px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -0.04em; color: var(--tan); }
.stat .what { margin: 14px 0 10px; font-weight: 400; }
.stat .why { color: var(--muted); font-size: 15px; }
.stat cite { display: block; margin-top: 16px; font: 400 12px var(--mono); color: var(--muted); font-style: normal; }

/* Three parts */
.parts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.part { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px; display: flex; flex-direction: column; transition: background 0.4s var(--ease); }
.part:hover { background: var(--ink-2); }
.part figure { position: relative; margin: 0 0 28px; height: clamp(180px, 19vw, 270px); display: flex; align-items: center; justify-content: center; }
/* The waiting parts sit above the host, so it slides in behind them and the hand-off changes nothing on screen. */
.part-art { position: relative; z-index: 2; width: 88%; height: 100%; display: flex; align-items: center; justify-content: center; }
.part-art img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
/* The host and what it carries. The carried port and module match the hero's docked sizes. */
.host-rig { position: relative; z-index: 1; width: 88%; aspect-ratio: 1529 / 437; }
.host-rig-body { position: absolute; inset: 0; }
.rig-host { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rig-carry { position: absolute; height: auto; visibility: hidden; }
.rig-dock { width: 16%; left: 42.5%; top: 26%; }
.rig-module { width: 27%; left: 37%; top: 22%; }
.pickup-ghost { position: absolute; left: 50%; top: 50%; width: 46%; height: 68%; transform: translate(-50%, -50%); border: 1px dashed var(--tan-deep); opacity: 0; pointer-events: none; }
.part h3 { margin: 10px 0 12px; }
.part p { color: var(--muted); font-size: 16px; }

/* Compare */
.compare { border-top: 1px solid var(--rule); }
.compare .row { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.compare .row > * { transition: transform 0.3s var(--ease); }
.compare .row:not(.head):hover > * { transform: translateX(8px); }
.compare .row.head { padding: 14px 0; }
.compare .them { color: var(--muted); }
.compare .us { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 80px 1fr 2fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.steps li::before { content: "0" counter(s); font: 500 13px var(--mono); color: var(--muted); letter-spacing: 0.1em; transition: color 0.4s var(--ease); }
.steps li.lit::before { color: var(--tan); }
.steps { position: relative; }
.steps .track { position: absolute; left: 28px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.steps .track i { display: block; width: 100%; height: 100%; background: var(--tan); transform-origin: top; transform: scaleY(0); }
.steps p { color: var(--muted); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--gutter); border-top: 1px solid var(--rule); }
.feature { padding: 32px 0; border-bottom: 1px solid var(--rule); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.tier { padding: 32px 28px 40px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background 0.4s var(--ease); }
.tier:hover { background: var(--ink-2); }
.tier h3 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 14px; }
.tier p { color: var(--muted); }

/* Doors (two audience links) */
.doors { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.door { padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(32px, 5vw, 64px) 0; display: block; position: relative; }
.door > * { transition: transform 0.4s var(--ease); }
.door + .door { border-left: 1px solid var(--rule); padding-left: var(--gutter); }
.door:hover > * { transform: translateX(10px); }
.door:hover h3 { color: var(--tan); }
.door h3 { transition: transform 0.4s var(--ease), color 0.3s var(--ease); }
.door h3 { font-size: clamp(30px, 3.6vw, 52px); margin: 16px 0; }
.door p { color: var(--muted); max-width: 26em; margin-bottom: 28px; }
.door .go { font: 500 13px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--tan); }
.door .go .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.door:hover .go .arrow { transform: translateX(6px); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); border-top: 1px solid var(--rule); padding-top: 32px; }
.person .photo { width: 88px; height: 88px; object-fit: cover; border: 1px solid var(--rule); margin-bottom: 22px; filter: grayscale(1) contrast(1.05); transition: filter 0.5s var(--ease); }
.person:hover .photo { filter: none; }
.person h3 { margin: 10px 0 12px; }

/* Phases */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.phase { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 24px 32px; transition: background 0.4s var(--ease); }
.phase:hover { background: var(--ink-2); }
.phase h3 { margin: 12px 0 18px; }
.phase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.phase li { color: var(--muted); font-size: 15px; padding-left: 16px; position: relative; }
.phase li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1px; background: var(--tan); }
.person p { color: var(--muted); font-size: 16px; }

/* Statement */
.statement { font: 400 clamp(24px, 3vw, 42px)/1.25 var(--serif); letter-spacing: -0.03em; max-width: 22em; }
.statement em { color: var(--tan); }

/* Form */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: transparent; color: var(--paper); border: 0; border-bottom: 1px solid var(--rule);
  font: 400 17px var(--sans); padding: 10px 0; border-radius: 0; width: 100%;
  transition: border-color 0.25s var(--ease);
}
.field select option { background: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--tan); }
.form-note { font-size: 14px; color: var(--muted); min-height: 1.5em; }
.mail { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); border-bottom: 1px solid var(--tan-deep); transition: color 0.25s, border-color 0.25s; }
.mail:hover { color: var(--tan); border-color: var(--tan); }

/* Footer */
.site-footer { padding: 56px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gutter); }
.site-footer p, .site-footer a { color: var(--muted); font-size: 14px; }
.site-footer a { display: block; padding: 4px 0; transition: color 0.2s; }
.site-footer a:hover { color: var(--tan); }
.site-footer .label { margin-bottom: 12px; }
.proposed { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); }
.proposed .mark { width: 26px; height: 26px; color: var(--tan); flex: none; }
.proposed span { font: 400 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mark-lg { width: 56px; height: 56px; color: var(--tan); margin: 0 auto 28px; }
.fine { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 24px; font: 400 12px var(--mono) !important; letter-spacing: 0.02em; }

/* 404 */
.lost { min-height: calc(100vh - 69px); display: grid; place-items: center; text-align: center; border: 0; }
.lost h1 { margin: 0 0 24px; }
.lost .actions { justify-content: center; margin-top: 36px; }

/* Reveal (JS adds .js to <html>; content stays visible without it) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .section-head, .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 20px 24px; border-bottom: 1px solid var(--rule); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-right: 0; }
  .parts, .tiers, .team { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .part figure { height: 200px; }
  /* Stacked: the host leads, so it can ride the scroll down to the port and then the module. */
  .part[data-part="host"] { order: 1; }
  .part[data-part="dock"] { order: 2; }
  .part[data-part="module"] { order: 3; }
  .orbit { width: 120vw; right: -50%; opacity: 0.7; }
  .hero-craft { position: relative; right: auto; bottom: auto; width: 86%; margin: 48px auto 0; }
  .hero-craft.module-shot { width: 56%; right: auto; bottom: auto; }
  .tline { grid-template-columns: 1fr; }
  .tline-rail { display: none; }
  .tline-cols, .tline-item:nth-child(even) .tline-cols { grid-template-columns: 1fr; }
  .tline-item:nth-child(even) .tline-media { order: 0; justify-self: start; }
  .steps li { grid-template-columns: 48px 1fr; }
  .steps .track { left: 16px; }
  .steps li p { grid-column: 2; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand span { letter-spacing: 0.14em; font-size: 12px; }
  .nav .btn { display: none; }
  .nav { gap: 16px; }
  .nav a { font-size: 11px; letter-spacing: 0.08em; }
  .brand span { display: none; }
  .features, .doors, .phases { grid-template-columns: 1fr; }
  .door + .door { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .compare .row { grid-template-columns: 1fr; gap: 6px; }
  .compare .row.head { display: none; }
  .compare .them::before { content: "Carrier — "; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd) { padding: 24px 0; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Contact band on the home page */
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lede strong { font-weight: 500; color: var(--paper); }

/* The host flies out of frame in the System section; nothing may widen the page. */
main { overflow-x: clip; }

/* ---------- Brand v2: display type ----------
   Unbounded runs about a quarter wider than the old headings, so every heading size steps down and the tight
   tracking relaxes. Weight 300 keeps the big lines elegant; the gold word carries the emphasis. */
h1, h2 { font-weight: 300; }
h1 { font-size: clamp(32px, 4.9vw, 76px); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(24px, 2.9vw, 42px); line-height: 1.14; letter-spacing: -0.03em; }
h3 { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 400; }
h1 em, h2 em, .statement em { color: var(--tan); font-weight: 400; }
.label { color: var(--blue); }
.page-hero h1 { font-size: clamp(32px, 4.9vw, 76px); }
.tline-title { font-size: clamp(36px, 6.6vw, 108px); line-height: 1; letter-spacing: -0.04em; font-weight: 300; }
.stat .num { font-size: clamp(28px, 3.3vw, 46px); letter-spacing: -0.035em; font-weight: 300; }
.compare .us { font-family: var(--sans); font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); }
.tier h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; }
.door h3 { font-size: clamp(24px, 2.7vw, 40px); font-weight: 300; }
.statement { font-size: clamp(20px, 2.2vw, 32px); line-height: 1.35; font-weight: 300; }
.mail { font-size: clamp(18px, 1.9vw, 27px); font-weight: 300; }
.brand span { font-family: var(--serif); font-size: 12px; letter-spacing: 0.14em; }
.nav a::after { background: var(--blue); }
::selection { background: var(--blue-deep); color: var(--paper); }

/* ---------- Light sections ----------
   The page alternates: most of it is night, a few sections are daylight. Inside a light section the colour
   tokens swap, so every rule that uses them follows without being rewritten. */
section.light {
  --ink: #eef3fa; --ink-2: #e1e8f2; --paper: #060b16; --muted: #46566e; --rule: #c7d2e2;
  --tan: #12508c; --tan-deep: #12508c; --blue: #12508c;
  background: #eef3fa; color: var(--paper); border-bottom-color: transparent;
}
section.light h1 em, section.light h2 em { color: var(--tan); }

/* ---------- System section at scale ----------
   The three parts are the product, so they get the widest measure on the page and the tallest figures. */
@media (min-width: 961px) {
  .system .wrap { max-width: 1680px; }
  .system .section-head { max-width: var(--max); margin-left: auto; margin-right: auto; }
  .system .part { padding: clamp(28px, 2.6vw, 44px); }
  .system .part figure { height: clamp(240px, 27vw, 420px); margin-bottom: 36px; }
  .system .part h3 { font-size: clamp(20px, 1.7vw, 28px); font-weight: 300; }
}
/* Once a part has been taken, its outline says where it went. */
.pickup-ghost { display: grid; place-items: center; }
.pickup-ghost::after { content: "Aboard the host"; font: 400 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tan); text-align: center; padding: 0 10px; }
[data-part="host"] .pickup-ghost::after { content: "On its way"; }

/* ---------- Curtain: loading sequence and page-to-page transition ----------
   Off unless the head script switched it on (so no JS or reduced motion never sees it).
   Arriving: the panel covers the page, then lifts. Leaving: it rises from the bottom, then the next page loads. */
.cover { display: none; }
html.cover-on .cover, html.cover-out .cover {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: #060b16; color: #eef3fa; border-top: 1px solid #e8b85c; border-bottom: 1px solid #e8b85c;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
html.cover-on .cover.is-leaving { transform: translateY(-101%); }
html.cover-out .cover { transform: translateY(101%); transition-duration: 0.5s; }
html.cover-out .cover.is-in { transform: none; }
.cover-in { display: grid; justify-items: center; gap: 18px; transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
html.cover-quick .cover-in, html.cover-out .cover-in { display: none; }
.cover.is-leaving .cover-in { opacity: 0; transform: translateY(-24px); }
.cover-badge { width: 72px; height: 72px; animation: cover-turn 2.4s var(--ease) both; }
.cover-word { font: 300 clamp(18px, 2.4vw, 30px)/1 var(--serif); letter-spacing: 0.16em; text-transform: uppercase; }
.cover-line { width: min(260px, 60vw); height: 1px; background: #1a2942; overflow: hidden; }
.cover-line i { display: block; height: 100%; background: #e8b85c; transform: scaleX(0); transform-origin: left; }
.cover-count { font: 400 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #92a2ba; }
.cover-count b { font-weight: 400; color: #eef3fa; font-variant-numeric: tabular-nums; }
@keyframes cover-turn { from { transform: rotate(-90deg) scale(0.8); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Footer wordmark ---------- */
.site-footer { overflow: hidden; }
.wordmark {
  margin: 44px 0 -0.12em; padding: 0 var(--gutter); white-space: nowrap; text-align: center;
  font: 400 9.4vw/0.9 var(--serif) !important; letter-spacing: -0.045em; text-transform: uppercase; color: var(--paper) !important;
}
.wordmark em { font-style: normal; color: var(--tan); }

/* ---------- Customers: Earth's edge down the right side (placed and sized by main.js) ---------- */
#how { position: relative; }
.earth-edge { display: none; position: absolute; right: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.earth-edge img { position: absolute; left: 0; top: 0; max-width: none; filter: brightness(0.82) saturate(0.9); will-change: transform; }
/* copy stays above the planet in both sections it passes */
#how > .wrap, #how + .light > .wrap { position: relative; z-index: 2; }

/* Stand-in for the display face while it downloads: a system sans widened to Unbounded's measure, so headings
   keep their line breaks and nothing below them moves when the real font arrives. */
@font-face { font-family: "Unbounded Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 127%; ascent-override: 78%; descent-override: 20%; line-gap-override: 0%; }
/* DM Mono has the same character width as these system faces; using one of them as the stand-in keeps buttons and
   labels on the same lines when the real font arrives. */
@font-face { font-family: "DM Mono Fallback"; src: local("Courier New"), local("Droid Sans Mono"), local("Roboto Mono"), local("Menlo"); size-adjust: 111.7%; } /* widened to AOT Serial Mono's character width */

/* ---------- Home footer: calls to action, then the sitemap ---------- */
.site-footer--cta { padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--rule); }
.site-footer--cta .wrap { display: block; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(36px, 5vw, 64px); }
.foot-cta h2 { margin: 16px 0 14px; font-size: clamp(30px, 4.4vw, 68px); }
.foot-cta .body { font-size: 16px; color: var(--muted); }
.foot-cta .cta-actions { margin: 0; }
.doors--tight .door { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); }
.doors--tight .door h3 { font-size: clamp(22px, 2.4vw, 34px); margin: 12px 0; }
.doors--tight .door p { margin-bottom: 18px; font-size: 15px; }
.doors--tight { border-bottom: 1px solid var(--rule); }
.foot-map { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 0 8px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin: 0; }
.foot-brand img { width: 32px; height: 32px; }
.foot-brand span { font: 400 12px var(--serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }
.foot-map nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.foot-map nav a { display: inline-block; padding: 6px 0; font: 400 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer--cta .fine { border-top: 0; margin-top: 0; padding-top: 12px; }
.site-footer--cta a.btn { display: inline-flex; color: var(--ink); font-size: 12px; padding: 12px 18px; }
.site-footer--cta a.btn:hover { color: var(--tan); }
.site-footer--cta .door h3 { color: var(--paper); }
.site-footer--cta .door .go { color: var(--tan); font-size: 13px; }
.site-footer--cta .label { margin-bottom: 0; }

/* AOT Serial Mono: Envato lifetime commercial license, project "goose orbital", 2026-10-07. Self-hosted. */
@font-face { font-family: "AOT Serial Mono"; src: url("assets/fonts/AOTSerialMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "AOT Serial Mono"; src: url("assets/fonts/AOTSerialMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Footer call to action: the button sits under the invitation, at a size that reads as the main action */
.foot-cta { display: block; }
.foot-cta .cta-actions { margin-top: 28px; }
.site-footer--cta a.btn { font-size: 13px; padding: 17px 28px; }

/* Phone header: links tall enough to tap comfortably */
@media (max-width: 960px) { .nav a { padding: 15px 0; } }
/* Planets stay out of the way of headings on narrow screens */

/* ---------- Type version B: headings in AOT Serial Mono ----------
   Switched on by data-type="serial" on <html> (the ?type=serial address, or baked into the second build). */
@font-face { font-family: "AOT Serial Mono"; src: url("assets/fonts/AOTSerialMono-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "AOT Serial Mono"; src: url("assets/fonts/AOTSerialMono-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
html[data-type="serial"] { --serif: "AOT Serial Mono", "DM Mono Fallback", ui-monospace, monospace; }
html[data-type="serial"] h1, html[data-type="serial"] h2 { font-weight: 300; letter-spacing: -0.055em; line-height: 1.08; }
html[data-type="serial"] h3 { font-weight: 400; letter-spacing: -0.03em; }
html[data-type="serial"] h1 em, html[data-type="serial"] h2 em { font-weight: 400; }
html[data-type="serial"] .tline-title, html[data-type="serial"] .stat .num, html[data-type="serial"] .door h3, html[data-type="serial"] .tier h3 { letter-spacing: -0.06em; }
html[data-type="serial"] .brand span, html[data-type="serial"] .foot-brand span, html[data-type="serial"] .cover-word { letter-spacing: 0.08em; font-weight: 400; }
html[data-type="serial"] h1, html[data-type="serial"] h2, html[data-type="serial"] h3, html[data-type="serial"] .tline-title { word-spacing: -0.22em; }

/* ---------- Investor briefing: a single framed card, by request ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief { padding-top: clamp(72px, 9vw, 128px); }
.brief-card { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); padding: clamp(28px, 4.5vw, 72px); border: 1px solid var(--tan-deep); background: linear-gradient(180deg, rgba(232, 184, 92, 0.05), rgba(232, 184, 92, 0) 40%), var(--ink-2); }
/* gold corner marks */
.brief-card::before, .brief-card::after { content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--tan); pointer-events: none; }
.brief-card::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.brief-card::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.brief-intro .label { color: var(--tan); }
.brief-intro h2 { margin: 20px 0 20px; font-size: clamp(28px, 3.4vw, 50px); }
.brief-steps { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.brief-steps li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--paper); font-size: 15px; }
.brief-steps span { font: 400 12px var(--mono); letter-spacing: 0.14em; color: var(--tan); }
.brief-form { display: grid; gap: 22px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.brief-form .field input:focus, .brief-form .field textarea:focus, .brief-form .field select:focus { border-color: var(--tan); box-shadow: 0 1px 0 0 var(--tan); }
.brief-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.brief-send .btn { padding: 17px 30px; font-size: 13px; }
.brief-send .form-note { margin: 0; flex: 1 1 220px; }
.brief-fine { font: 400 12px/1.5 var(--mono); color: var(--muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); }
form.is-sent .field, form.is-sent .field-row, form.is-sent button { opacity: 0.45; pointer-events: none; }
form .form-note.is-ok { color: var(--tan); }
@media (max-width: 960px) { .brief-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Centred layout (client call, 7 Oct) ----------
   Section openings sit on the centre line, and everything pinned to the screen lines up with the page's column
   instead of hugging the left edge on wide windows. */
:root { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
.section-head h2 { max-width: 19em; margin-left: auto; margin-right: auto; }
.section-head .body { margin-left: auto; margin-right: auto; }
.page-hero .wrap { text-align: center; }
.page-hero h1, .page-hero .lede { margin-left: auto; margin-right: auto; }
.page-hero .actions { justify-content: center; }
.system .parts { grid-template-columns: 1fr 1fr; max-width: 1180px; margin-left: auto; margin-right: auto; }
.features, .tiers, .compare, .stats { max-width: 1180px; margin-left: auto; margin-right: auto; }
.foot-cta { text-align: center; }
.foot-cta .body { margin-left: auto; margin-right: auto; }
.foot-cta .cta-actions { justify-content: center; }

/* ---------- Host and module, joined by one two-way arrow ---------- */
.link-fig { display: grid; grid-template-columns: 5fr 4fr 3fr; align-items: center; gap: clamp(16px, 3vw, 48px); max-width: 1180px; margin: 0 auto; }
.link-side { display: grid; justify-items: center; gap: 22px; }
.link-side img { width: 100%; height: auto; }
.link-side .link-module { width: 78%; }
.link-mid { display: grid; gap: 14px; }
.link-words { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 10px; font: 400 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }
.link-words:last-child { color: var(--tan); }
.link-arrow { width: 100%; height: 40px; overflow: visible; }
.link-arrow path { fill: none; stroke: var(--tan); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: square; }
@media (max-width: 960px) {
  .link-fig { grid-template-columns: 1fr; gap: 28px; }
  .link-mid { max-width: 420px; width: 100%; margin: 0 auto; }
  .link-side .link-module { width: 52%; }
  .system .parts { grid-template-columns: 1fr; }
}
/* the arrow is the point of the picture: make it large */
.link-fig { grid-template-columns: 5fr 5fr 3fr; max-width: 1320px; }
.link-arrow { height: 72px; }
.link-arrow path { stroke-width: 4; }
.link-words { font-size: 14px; letter-spacing: 0.16em; }
.link-mid { gap: 18px; }

/* ---------- Everything on the centre line (client call, 7 Oct) ---------- */
/* customers hero: the module sits under the copy instead of beside it */
.hero-craft, .hero-craft.module-shot { position: relative; right: auto; bottom: auto; display: block; margin: 40px auto 0; }
.hero-craft.module-shot { width: min(280px, 56%); }
/* how it works: each step is one centred column; the side rail is not used */
.tline { grid-template-columns: 1fr; }
.tline-rail { display: none; }
.tline-item { text-align: center; }
.tline-cols, .tline-item:nth-child(even) .tline-cols { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
.tline-media, .tline-item:nth-child(even) .tline-media { order: 0; justify-self: center; }
.tline-text p { margin-left: auto; margin-right: auto; }
/* cards, figures and tables */
.feature, .tier, .part, .stat { text-align: center; }
.feature p, .tier p, .part p, .stat p { margin-left: auto; margin-right: auto; }
.compare .row { grid-template-columns: 1fr 1fr 1fr; text-align: center; }
/* footers */
.door, .door + .door { text-align: center; padding-left: var(--gutter); padding-right: var(--gutter); }
.door p { margin-left: auto; margin-right: auto; }
.foot-map { flex-direction: column; justify-content: center; text-align: center; }
.foot-map nav { justify-content: center; }
.site-footer .wrap { text-align: center; }
.site-footer .fine { text-align: center; }
@media (max-width: 960px) {
  .link-fig { grid-template-columns: 1fr; gap: 28px; max-width: 520px; }
  .link-side img { width: 86%; }
  .link-side .link-module { width: 46%; }
  .link-arrow { height: 56px; transform: rotate(90deg); width: 120px; margin: 34px auto; }
  .link-mid { justify-items: center; }
  .link-words { justify-content: center; gap: 18px; }
  .compare .row { grid-template-columns: 1fr; }
}
/* the two-way arrow, at the size the client asked for */
@media (min-width: 961px) {
  .link-arrow { height: 110px; }
  .link-arrow path { stroke-width: 6; }
  .link-words { font-size: 16px; }
  .link-mid { gap: 22px; }
}
