/* ==========================================================================
   FISKER AEROSPACE — site.css
   Design language: cold steel, hairline rules, monospace annotation,
   and an 11° slant lifted straight from the "I" in the wordmark.
   ========================================================================== */

/* --------------------------------------------------------------- 0. Tokens */

:root {
  /* Ink & steel */
  --ink:        #070c12;
  --ink-2:      #0c141d;
  --steel-900:  #101b26;
  --steel-800:  #16232f;
  --steel-700:  #1d2c3a;
  --steel-600:  #263849;
  --line:       #223244;
  --line-hair:  rgba(255, 255, 255, .085);
  --line-dark:  rgba(7, 12, 18, .12);

  /* Greys */
  --slate:      #7f90a3;
  --slate-2:    #a2b2c3;
  --mist:       #d9e1ea;
  --paper:      #eef2f6;
  --paper-2:    #e3e9ef;
  --white:      #fff;

  /* Signal */
  --signal:     #2e6be6;
  --signal-2:   #5f92f5;
  --ice:        #b7d0f4;
  --amber:      #dfa03c;

  /* Text on light */
  --body-dark:  #41505f;
  --head-dark:  #0d1720;

  /* Geometry */
  --slant:      -11deg;
  --gut:        clamp(20px, 4.4vw, 76px);
  --maxw:       1560px;
  --radius:     0px;

  /* Type */
  --f-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease:      cubic-bezier(.22, .68, .3, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------- 1. Reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -.025em;
  line-height: .96;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--signal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--signal-2);
  outline-offset: 3px;
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 18px; background: var(--signal); color: #fff;
  font: 500 .8rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* --------------------------------------------------------- 2. Layout atoms */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(72px, 9.5vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 104px); }
.section--paper { background: var(--paper); color: var(--body-dark); }
.section--mist  { background: var(--paper-2); color: var(--body-dark); }
.section--steel { background: var(--steel-900); }
.section--ink   { background: var(--ink); }

.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4,
.section--mist h1, .section--mist h2, .section--mist h3, .section--mist h4 { color: var(--head-dark); }

.stack > * + * { margin-top: var(--sp, 24px); }

/* Hairline grid that sits behind dark sections */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    var(--line-hair) 0 1px, transparent 1px calc(100% / 6));
  opacity: .55;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

/* Tick ruler used as a divider */
.rule-ticks {
  height: 14px;
  background-image: repeating-linear-gradient(90deg,
    var(--line-hair) 0 1px, transparent 1px 22px);
  border-bottom: 1px solid var(--line-hair);
}
.section--paper .rule-ticks, .section--mist .rule-ticks {
  background-image: repeating-linear-gradient(90deg, rgba(7,12,18,.16) 0 1px, transparent 1px 22px);
  border-bottom-color: var(--line-dark);
}

/* ------------------------------------------------------------ 3. Type bits */

.mono {
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--signal-2);
}
.kicker::before {
  content: ""; width: 26px; height: 8px;
  background: var(--signal);
  transform: skewX(var(--slant));
  flex: none;
}
.section--paper .kicker, .section--mist .kicker { color: var(--signal); }

.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.9rem, 7.6vw, 7.4rem);
  line-height: .88;
  letter-spacing: -.035em;
}
.h2 { font-size: clamp(2rem, 4.3vw, 3.9rem); line-height: .95; letter-spacing: -.032em; }
.h3 { font-size: clamp(1.3rem, 1.9vw, 1.85rem); line-height: 1.08; letter-spacing: -.02em; }
.h4 { font-size: 1.09rem; line-height: 1.25; letter-spacing: -.01em; }

.dim { color: rgba(255, 255, 255, .32); }
.section--paper .dim, .section--mist .dim { color: rgba(13, 23, 32, .28); }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--slate-2); }
.section--paper .lede, .section--mist .lede { color: #55636f; }

.muted { color: var(--slate); }
.section--paper .muted, .section--mist .muted { color: #6c7a87; }

.measure { max-width: 62ch; }
.measure-sm { max-width: 44ch; }

/* -------------------------------------------------------------- 4. Buttons */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; align-self: flex-start; gap: 34px;
  padding: 20px 26px 20px 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-display); font-weight: 500; font-size: 1.02rem;
  letter-spacing: -.01em;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--signal);
  transform: translateX(-130%) skewX(var(--slant)) scaleX(1.25);
  transition: transform .42s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(var(--slant)) scaleX(1.25); }
.btn i, .btn .arw { transition: transform .34s var(--ease-out); }
.btn:hover i, .btn:hover .arw { transform: translate(4px, -4px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff;
  border: 1px solid var(--line);
}
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--sm { padding: 14px 18px 14px 22px; font-size: .92rem; gap: 22px; }

/* Text link with a skewed underline */
.tlink {
  display: inline-flex; align-items: baseline; align-self: flex-start; gap: 10px;
  font-weight: 500; position: relative; padding-bottom: 4px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: currentColor; transform-origin: left;
  transform: skewX(var(--slant)) scaleX(1);
  transition: transform .38s var(--ease-out);
}
.tlink:hover::after { transform: skewX(var(--slant)) scaleX(.35); }
.tlink i { font-size: .8em; transition: transform .3s var(--ease-out); }
.tlink:hover i { transform: translate(3px, -3px); }

/* --------------------------------------------------------------- 5. Header */

.site-head {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 18px 0;
  transition: padding .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,12,18,.72), rgba(7,12,18,0));
  opacity: 1; transition: opacity .4s var(--ease);
}
.site-head.is-stuck {
  padding: 10px 0;
  background: rgba(8, 14, 20, .88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-hair);
}
.site-head.is-stuck::before { opacity: 0; }

.head-inner {
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px);
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
}

.nav-main { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 22px); }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 12px;
  font-size: .95rem; font-weight: 450; color: #cfd9e4;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.nav-link i { font-size: .62em; opacity: .6; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-item:focus-within .nav-link { color: #fff; }
.nav-item:hover .nav-link i { transform: rotate(180deg); }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--signal); transform: skewX(var(--slant));
}

/* Dropdown */
.nav-panel {
  position: absolute; top: calc(100% + 14px); left: -18px;
  width: 430px; padding: 12px;
  background: rgba(13, 21, 30, .97);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
.nav-item:hover .nav-panel, .nav-item:focus-within .nav-panel {
  opacity: 1; visibility: visible; transform: none;
}
.nav-panel a {
  display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px;
  padding: 13px 14px;
  border-left: 2px solid transparent;
  transition: background-color .22s var(--ease), border-color .22s var(--ease);
}
.nav-panel a:hover { background: rgba(46, 107, 230, .1); border-left-color: var(--signal); }
.nav-panel i { grid-row: span 2; color: var(--signal-2); font-size: 1rem; margin-top: 4px; }
.nav-panel strong { font-family: var(--f-display); font-weight: 500; font-size: .98rem; color: #fff; }
.nav-panel span { font-size: .8rem; color: var(--slate); line-height: 1.45; }

.head-utils { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); margin-left: auto; }

.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  color: #cfd9e4; border: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.icon-btn:hover { color: #fff; border-color: var(--line); background: rgba(255,255,255,.04); }

.head-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #e2e9f1;
  white-space: nowrap;
  transition: background-color .28s var(--ease), border-color .28s var(--ease);
}
.head-pill:hover { background: var(--signal); border-color: var(--signal); }
.head-pill i { font-size: .8em; }

/* ------------------------------------------- 6. Animated wordmark (top-right) */

.brandmark {
  display: block; position: relative;
  margin-right: clamp(10px, 2vw, 34px);
  padding: 6px 0;
  flex: none;
}
.bm-window {
  position: relative;
  display: block;
  width: 158px;                       /* full wordmark width */
  height: 39px;
  overflow: hidden;
  transition: width .62s var(--ease-out);
}
.site-head.is-stuck .bm-window { width: 25px; }        /* collapse to the slanted I */
.brandmark:hover .bm-window,
.brandmark:focus-visible .bm-window { width: 158px; }

.bm-svg {
  position: absolute; top: 0; left: 0;
  width: 158px; height: 39px; max-width: none;   /* the window clips it, not max-width */
  transition: transform .62s var(--ease-out);
}
.site-head.is-stuck .bm-svg { transform: translateX(-21.5px); }
.brandmark:hover .bm-svg, .brandmark:focus-visible .bm-svg { transform: none; }

.bm-svg path { fill: #fff; }
.bm-letters path,
.bm-i {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

/* Collapsed state: letters tuck behind the blade */
.site-head.is-stuck .bm-letters { opacity: 0; transform: translateX(-16px); }
.bm-letters {
  transition: opacity .4s var(--ease), transform .55s var(--ease-out);
}
.brandmark:hover .bm-letters, .brandmark:focus-visible .bm-letters { opacity: 1; transform: none; }

/* The slanted I keeps a faint blue echo once it is on its own */
.bm-svg .bm-i { fill: #fff; }
.bm-svg .bm-glow {
  fill: var(--signal); opacity: 0;
  transform: translateX(20px);
  transition: opacity .5s var(--ease);
}
.site-head.is-stuck .bm-glow { opacity: .9; }
.brandmark:hover .bm-glow, .brandmark:focus-visible .bm-glow { opacity: 0; }

/* Load choreography: blade wipes across, letters rise in its wake */
.bm-anim .bm-i { animation: blade 1.5s var(--ease-out) both; }
.bm-anim .bm-letters path { animation: letter-rise .72s var(--ease-out) both; }
.bm-anim .bm-letters path:nth-child(1) { animation-delay: .42s; }
.bm-anim .bm-letters path:nth-child(2) { animation-delay: .54s; }
.bm-anim .bm-letters path:nth-child(3) { animation-delay: .64s; }
.bm-anim .bm-letters path:nth-child(4) { animation-delay: .74s; }
.bm-anim .bm-letters path:nth-child(5) { animation-delay: .84s; }

@keyframes blade {
  0%   { transform: translateX(-95px) scaleY(.06); opacity: 0; }
  16%  { transform: translateX(-95px) scaleY(1);   opacity: 1; }
  56%  { transform: translateX(495px) scaleY(1); }
  78%  { transform: translateX(-14px) scaleY(1); }
  100% { transform: translateX(0) scaleY(1); }
}
@keyframes letter-rise {
  0%   { opacity: 0; transform: translateY(26px) skewX(var(--slant)); }
  100% { opacity: 1; transform: none; }
}

/* Burger + mobile drawer */
.burger {
  display: none; width: 44px; height: 44px;
  place-content: center;              /* centre the rows; do not let them stretch */
  justify-items: center;
  gap: 6px;                           /* 2px bar + 6px gap = 8px pitch */
}
.burger span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
/* the pitch is 8px, so the bars must travel 8px to cross at the centre */
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink-2);
  padding: 96px var(--gut) 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-out);
}
.nav-open .drawer { transform: none; }
.drawer h5 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--signal-2); margin: 30px 0 10px; font-weight: 500; }
.drawer a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line-hair);
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; color: #fff;
}
.drawer a i { color: var(--slate); font-size: .8rem; }

/* ------------------------------------------------------------- 7. Site search */

.search-veil {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(6, 10, 15, .9);
  backdrop-filter: blur(10px);
  display: grid; align-content: start; justify-items: center;
  padding: clamp(80px, 16vh, 190px) var(--gut) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.search-veil.is-open { opacity: 1; visibility: visible; }
.search-box { width: min(760px, 100%); }
.search-box input {
  width: 100%; padding: 22px 4px; background: none; border: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(1.5rem, 3.6vw, 2.6rem); color: #fff;
}
.search-box input::placeholder { color: rgba(255,255,255,.22); }
.search-box input:focus { outline: none; border-bottom-color: var(--signal); }
.search-hits { margin-top: 8px; max-height: 46vh; overflow-y: auto; }
.search-hits a {
  display: flex; gap: 18px; align-items: baseline;
  padding: 16px 4px; border-bottom: 1px solid var(--line-hair);
}
.search-hits a:hover { background: rgba(255,255,255,.03); }
.search-hits strong { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; color: #fff; }
.search-hits span { color: var(--slate); font-size: .88rem; }
.search-hits em { margin-left: auto; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; color: var(--signal-2); font-style: normal; }

/* ----------------------------------------------------------------- 8. Hero */

.hero { position: relative; display: flex; flex-direction: column; min-height: min(96vh, 1020px); }
.hero--sub { min-height: min(74vh, 760px); }

.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.62) contrast(1.06) brightness(.86);
  animation: slow-push 22s var(--ease) forwards;
}
@keyframes slow-push { from { transform: scale(1.09); } to { transform: scale(1); } }

.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(94deg, rgba(7,12,18,.95) 6%, rgba(12,22,34,.74) 38%, rgba(20,48,96,.42) 68%, rgba(46,107,230,.26) 100%),
    linear-gradient(180deg, rgba(7,12,18,.66), transparent 34%, rgba(7,12,18,.72));
}

.hero-body {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(140px, 20vh, 250px) clamp(40px, 6vh, 90px);
}
.hero h1 { max-width: 16ch; }
.hero-sub {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(30px, 4.4vw, 58px);
}
.hero-sub p { max-width: 40ch; color: var(--slate-2); font-size: 1.02rem; }

.hero-meta {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  padding-block: 18px;
  border-top: 1px solid var(--line-hair);
  color: var(--slate);
}

/* Sub-page hero */
.hero--sub .hero-body { padding-block: clamp(150px, 22vh, 230px) clamp(34px, 5vh, 64px); }
.hero-index {
  display: flex; align-items: center; gap: 14px;
  color: var(--slate); margin-bottom: 26px;
}
.hero-index b { color: #fff; font-weight: 500; }
.hero-index span { color: var(--signal-2); }

/* -------------------------------------------------------- 9. Hero stat rail */

.rail {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.25fr .95fr .85fr;
  border-top: 1px solid var(--line-hair);
}
.rail > * { padding: clamp(24px, 2.4vw, 40px); min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.rail-a { background: var(--paper); color: var(--head-dark); }
.rail-b { background: var(--white); color: var(--head-dark); }
.rail-c { background: var(--ink); color: #fff; border-left: 1px solid var(--line-hair); }
.rail-a h3 { font-size: clamp(1.25rem, 1.9vw, 1.75rem); max-width: 18ch; }
.rail-b p { font-size: .98rem; color: #4c5a67; max-width: 26ch; }

.rail-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--ink); color: #fff; border-radius: 50%; flex: none;
}
.rail-b .rail-row { display: flex; gap: 18px; align-items: flex-start; }

.dots { display: flex; gap: 6px; }
.dots button { width: 26px; height: 3px; background: rgba(13,23,32,.16); transition: background-color .3s; }
.dots button.is-on { background: var(--ink); }

.avatars { display: flex; }
.avatars img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ink); margin-left: -14px;
}
.avatars img:first-child { margin-left: 0; }
.rail-c .big { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.03em; }
.rail-c p { font-size: .88rem; color: var(--slate-2); max-width: 24ch; }

/* --------------------------------------------------------- 10. Section head */

.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  gap: clamp(22px, 3vw, 60px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 76px);
}
.sec-head > div:first-child > .kicker { margin-bottom: 22px; }
.sec-head-aside { padding-bottom: 8px; }

/* ----------------------------------------------------------- 11. Media frame */

.frame { position: relative; overflow: hidden; background: var(--steel-800); }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.6) contrast(1.05);
  transition: transform .9s var(--ease-out), filter .6s var(--ease);
}
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(20, 52, 110, .3), rgba(7, 12, 18, .12) 45%, rgba(7, 12, 18, .52));
}
.frame:hover img { transform: scale(1.045); filter: saturate(.85) contrast(1.05); }

.frame-cap {
  position: absolute; z-index: 2; left: 0; bottom: 0; right: 0;
  padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 16px;
  color: rgba(255,255,255,.82);
  background: linear-gradient(180deg, transparent, rgba(7,12,18,.8));
}
.frame--tall { aspect-ratio: 3 / 4; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--sq   { aspect-ratio: 1 / 1; }
.frame--hero { aspect-ratio: 21 / 9; }

/* Corner brackets */
.bracket { position: relative; }
.bracket::before, .bracket::after {
  content: ""; position: absolute; width: 16px; height: 16px; z-index: 3;
  border: 1px solid rgba(255,255,255,.5);
}
.bracket::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.bracket::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ------------------------------------------------------------- 12. Card grids */

.grid { display: grid; gap: clamp(1px, .18vw, 2px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--gap { gap: clamp(18px, 2vw, 32px); }

/* Domain card: photo top, content below, index number in mono */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--steel-900);
  border: 1px solid var(--line-hair);
  overflow: hidden;
  transition: background-color .4s var(--ease), transform .5s var(--ease-out);
}
.card:hover { background: var(--steel-800); }
.card .frame { aspect-ratio: 16 / 10; }
.card-body { padding: clamp(20px, 1.8vw, 32px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-num { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; color: var(--signal-2); }
.card h3 { color: #fff; }
.card p { color: var(--slate); font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: .9rem; }
.card-foot i { color: var(--signal-2); transition: transform .3s var(--ease-out); }
.card:hover .card-foot i { transform: translate(4px, -4px); }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card:hover::after { transform: scaleX(1); }

.card--light { background: var(--white); border-color: rgba(13,23,32,.1); }
.card--light:hover { background: #fff; }
.card--light h3 { color: var(--head-dark); }
.card--light p { color: #62707d; }
.card--light .card-foot { color: var(--head-dark); }
.card--light .card-num { color: var(--signal); }

/* Flat feature tile (no photo) */
.tile {
  padding: clamp(24px, 2.3vw, 40px);
  border: 1px solid var(--line-hair);
  background: var(--steel-900);
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.tile:hover { border-color: var(--signal); background: var(--steel-800); }
.tile i.tile-ico { font-size: 1.5rem; color: var(--signal-2); }
.tile h3, .tile h4 { color: #fff; }
.tile p { color: var(--slate); font-size: .94rem; }
.tile--light { background: var(--white); border-color: rgba(13,23,32,.1); }
.tile--light:hover { background: var(--white); border-color: var(--signal); }
.tile--light h3, .tile--light h4 { color: var(--head-dark); }
.tile--light p { color: #62707d; }
.tile--light i.tile-ico { color: var(--signal); }

/* -------------------------------------------------------------- 13. Split rows */

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 84px); align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
.split--top { align-items: start; }

/* Alternating numbered rows (process / method) */
.steps { border-top: 1px solid var(--line-hair); }
.steps > li {
  display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(14px, 2.4vw, 44px);
  padding: clamp(24px, 2.6vw, 42px) 0;
  border-bottom: 1px solid var(--line-hair);
  align-items: start;
}
.steps .st-num { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; color: var(--signal-2); padding-top: 6px; }
.steps h3 { color: #fff; }
.steps p { color: var(--slate); }
.section--paper .steps h3, .section--mist .steps h3 { color: var(--head-dark); }
.section--paper .steps p, .section--mist .steps p { color: #61707d; }
.section--paper .steps, .section--paper .steps > li,
.section--mist .steps, .section--mist .steps > li { border-color: var(--line-dark); }
.steps { list-style: none; margin: 0; padding: 0; }

/* ---------------------------------------------------------------- 14. Stats */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-hair); }
.stat {
  padding: clamp(26px, 3vw, 46px) clamp(18px, 2vw, 34px);
  border-right: 1px solid var(--line-hair);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1; letter-spacing: -.045em;
  color: #fff;
}
.stat b .unit { font-size: .42em; letter-spacing: -.01em; color: var(--signal-2); margin-left: 4px; }
.stat > span { display: block; margin-top: 12px; color: var(--slate); font-size: .92rem; max-width: 22ch; }
.section--paper .stat b, .section--mist .stat b { color: var(--head-dark); }
.section--paper .stat, .section--mist .stat,
.section--paper .stats, .section--mist .stats { border-color: var(--line-dark); }

/* --------------------------------------------------------------- 15. Marquee */

.marquee {
  display: flex; overflow: hidden; gap: 0;
  border-block: 1px solid var(--line-hair);
  padding: 0; background: var(--ink-2);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(30px, 4vw, 70px);
  padding: 22px clamp(15px, 2vw, 35px);
  white-space: nowrap;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate-2);
}
.marquee-track span i { color: var(--signal); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------- 16. Spec tables */

.spec { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec th, .spec td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line-hair); vertical-align: top; }
.spec th {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate); font-weight: 500; width: 38%;
}
.spec td { color: #e6ecf3; font-family: var(--f-mono); font-size: .86rem; letter-spacing: .01em; }
.spec tr:hover td { color: #fff; }
.spec tr:hover { background: rgba(46,107,230,.07); }
.section--paper .spec th, .section--mist .spec th { color: #6c7a87; }
.section--paper .spec td, .section--mist .spec td { color: var(--head-dark); }
/* keep light-section rows readable on the tinted hover background */
.section--paper .spec tr:hover td, .section--mist .spec tr:hover td { color: var(--head-dark); }
.section--paper .spec tr:hover th, .section--mist .spec tr:hover th { color: #45525e; }
.section--paper .spec th, .section--paper .spec td,
.section--mist .spec th, .section--mist .spec td { border-color: var(--line-dark); }

.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------- 17. Accordion */

.acc { border-top: 1px solid var(--line-hair); }
.acc-item { border-bottom: 1px solid var(--line-hair); }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 24px;
  padding: clamp(20px, 2vw, 30px) 0; text-align: left;
  font-family: var(--f-display); font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 500; letter-spacing: -.02em;
  color: #fff;
}
.acc-btn .acc-idx { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; color: var(--signal-2); flex: none; }
.acc-btn .acc-ico { margin-left: auto; flex: none; color: var(--slate); transition: transform .4s var(--ease-out), color .3s; }
.acc-item.is-open .acc-ico { transform: rotate(45deg); color: var(--signal-2); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p, .acc-panel ul { color: var(--slate); max-width: 78ch; }
.acc-panel > div > *:last-child { padding-bottom: clamp(20px, 2.2vw, 32px); }
.section--paper .acc, .section--paper .acc-item, .section--mist .acc, .section--mist .acc-item { border-color: var(--line-dark); }
.section--paper .acc-btn, .section--mist .acc-btn { color: var(--head-dark); }
.section--paper .acc-panel p, .section--paper .acc-panel ul,
.section--mist .acc-panel p, .section--mist .acc-panel ul { color: #61707d; }

/* ------------------------------------------------------------ 18. Timeline */

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 130px 1fr; gap: clamp(16px, 3vw, 48px);
  padding: clamp(20px, 2.2vw, 34px) 0;
  border-top: 1px solid var(--line-hair);
  position: relative;
}
.timeline .yr { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -.03em; color: var(--signal-2); }
.timeline h4 { color: #fff; margin-bottom: 8px; }
.timeline p { color: var(--slate); font-size: .95rem; max-width: 68ch; }
.section--paper .timeline li, .section--mist .timeline li { border-color: var(--line-dark); }
.section--paper .timeline h4, .section--mist .timeline h4 { color: var(--head-dark); }
.section--paper .timeline .yr, .section--mist .timeline .yr { color: var(--signal); }
.section--paper .timeline p, .section--mist .timeline p { color: #61707d; }

/* ------------------------------------------------------------- 19. People */

.person { display: flex; flex-direction: column; gap: 16px; }
.person .frame { aspect-ratio: 4 / 5; }
.person .frame img { filter: grayscale(1) contrast(1.08) brightness(.98); }
.person:hover .frame img { filter: grayscale(0) contrast(1.02); }
.person h4 { color: #fff; }
.person .role { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--signal-2); }
.person p { font-size: .9rem; color: var(--slate); }
.section--paper .person h4, .section--mist .person h4 { color: var(--head-dark); }
.section--paper .person p, .section--mist .person p { color: #62707d; }
.section--paper .person .role, .section--mist .person .role { color: var(--signal); }

/* --------------------------------------------------------------- 20. News */

.post { display: flex; flex-direction: column; gap: 16px; }
.post .frame { aspect-ratio: 16 / 10; }
.post-meta { display: flex; gap: 14px; align-items: center; }
.post-tag {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: var(--steel-700); padding: 5px 10px;
  transform: skewX(var(--slant));
}
.post-tag > span { display: block; transform: skewX(11deg); }
.post h3 { color: #fff; max-width: 24ch; }
.post time { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; color: var(--slate); }
.post:hover h3 { color: var(--ice); }
.section--paper .post h3, .section--mist .post h3 { color: var(--head-dark); }
.section--paper .post:hover h3, .section--mist .post:hover h3 { color: var(--signal); }
.section--paper .post-tag, .section--mist .post-tag { background: var(--head-dark); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  padding: 10px 18px; border: 1px solid var(--line-hair);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate-2);
  transition: all .28s var(--ease);
}
.filters button:hover { color: #fff; border-color: var(--slate); }
.filters button.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.section--paper .filters button, .section--mist .filters button { border-color: rgba(13,23,32,.16); color: #6c7a87; }
.section--paper .filters button:hover, .section--mist .filters button:hover { color: var(--head-dark); border-color: #8d9aa6; }
.section--paper .filters button.is-on, .section--mist .filters button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --------------------------------------------------------------- 21. Quote */

.pull {
  border-left: 2px solid var(--signal);
  padding-left: clamp(20px, 3vw, 44px);
}
.pull blockquote {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.35rem, 2.5vw, 2.3rem); line-height: 1.16; letter-spacing: -.025em;
  color: #fff;
}
.pull footer { margin-top: 24px; color: var(--slate); font-size: .92rem; }
.pull footer b { color: #fff; font-weight: 500; }
.section--paper .pull blockquote, .section--mist .pull blockquote { color: var(--head-dark); }
.section--paper .pull footer b, .section--mist .pull footer b { color: var(--head-dark); }

/* ---------------------------------------------------------------- 22. Forms */

.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate);
}
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  color: #fff; font-size: .98rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--signal); background: rgba(46,107,230,.06);
}
.field .err { color: #ff8f8f; font-size: .78rem; font-family: var(--f-mono); letter-spacing: .06em; display: none; }
.field.is-bad input, .field.is-bad textarea { border-color: #ff8f8f; }
.field.is-bad .err { display: block; }
.form-note { font-size: .82rem; color: var(--slate); }
.form-ok {
  display: none; align-items: center; gap: 14px;
  padding: 18px 20px; border: 1px solid var(--signal); background: rgba(46,107,230,.1);
  color: #fff; font-size: .95rem;
}
.form-ok.is-on { display: flex; }

/* Forms sitting on a light section */
.section--paper .field label, .section--mist .field label { color: #6c7a87; }
.section--paper .field input, .section--paper .field textarea, .section--paper .field select,
.section--mist .field input, .section--mist .field textarea, .section--mist .field select {
  background: #fff;
  border-color: rgba(13, 23, 32, .18);
  color: var(--head-dark);
}
.section--paper .field input:focus, .section--paper .field textarea:focus, .section--paper .field select:focus,
.section--mist .field input:focus, .section--mist .field textarea:focus, .section--mist .field select:focus {
  border-color: var(--signal); background: #fff;
}
.section--paper .field input::placeholder, .section--paper .field textarea::placeholder { color: #9aa7b3; }
.section--paper .field .err, .section--mist .field .err { color: #b3261e; }
.section--paper .field.is-bad input, .section--paper .field.is-bad textarea { border-color: #b3261e; }
.section--paper .form-note, .section--mist .form-note { color: #6c7a87; }
.section--paper .form-ok, .section--mist .form-ok { color: var(--head-dark); background: rgba(46, 107, 230, .08); }

/* --------------------------------------------------------------- 23. CTA band */

.cta-band { position: relative; overflow: hidden; background: var(--steel-900); }
.cta-band .frame { position: absolute; inset: 0; }
.cta-band .frame::after {
  background:
    linear-gradient(90deg, rgba(7,12,18,.97) 12%, rgba(7,12,18,.84) 52%, rgba(10,24,44,.8)),
    linear-gradient(180deg, rgba(7,12,18,.5), rgba(7,12,18,.2) 45%, rgba(7,12,18,.6));
}
.cta-inner { position: relative; z-index: 2; padding-block: clamp(60px, 8vw, 130px); }

/* ---------------------------------------------------------------- 24. Footer */

.site-foot { background: var(--ink); border-top: 1px solid var(--line-hair); }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, .8fr);
  gap: clamp(28px, 3vw, 60px);
  padding-block: clamp(48px, 6vw, 92px);
}
.foot-grid h5 {
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--slate); font-weight: 500; margin: 0 0 20px;
}
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-links a { color: #d3dce6; font-size: .94rem; transition: color .22s, padding-left .3s var(--ease); }
.foot-links a:hover { color: #fff; padding-left: 6px; }
.foot-addr { font-size: .94rem; color: var(--slate-2); font-style: normal; }
.foot-addr b { color: #fff; font-weight: 500; display: block; margin-bottom: 6px; font-family: var(--f-display); }

.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--slate-2);
  transition: all .26s var(--ease);
}
.socials a:hover { background: var(--signal); border-color: var(--signal); color: #fff; }

.foot-wordmark {
  padding-bottom: clamp(20px, 3vw, 46px);
  border-top: 1px solid var(--line-hair);
  padding-top: clamp(24px, 3vw, 40px);
}
.bm-big { position: static; width: 100%; height: auto; }
.foot-wordmark svg { width: 100%; height: auto; }
.foot-wordmark .bm-letters path { fill: #131e29; }
.foot-wordmark .bm-i { fill: #1c2b3a; }
.foot-wordmark .bm-glow { opacity: 0; }

.foot-legal {
  display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center;
  padding-block: 22px; border-top: 1px solid var(--line-hair);
  color: var(--slate); font-size: .8rem;
}
.foot-legal a:hover { color: #fff; }
.foot-legal .spacer { margin-left: auto; }

/* ------------------------------------------------------- 25. Scroll reveals */

[data-rise] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-rise].is-in { opacity: 1; transform: none; }

/* Progress hairline under the header */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 110;
  background: var(--signal); width: 0;
}

/* --------------------------------------------------------- 26. Misc helpers */

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; background: rgba(46,107,230,.14); border: 1px solid rgba(46,107,230,.35);
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ice);
}
.section--paper .badge, .section--mist .badge { background: rgba(46,107,230,.1); color: var(--signal); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li {
  padding: 8px 14px; border: 1px solid var(--line-hair);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate-2);
}
.section--paper .chips li, .section--mist .chips li { border-color: rgba(13,23,32,.16); color: #61707d; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.tick-list li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; color: var(--slate-2); font-size: .96rem; }
.tick-list i { color: var(--signal-2); margin-top: 5px; font-size: .8rem; }
.section--paper .tick-list li, .section--mist .tick-list li { color: #5b6874; }
.section--paper .tick-list i, .section--mist .tick-list i { color: var(--signal); }

.divider { height: 1px; background: var(--line-hair); }
.section--paper .divider, .section--mist .divider { background: var(--line-dark); }

.slab {
  background: var(--steel-900); border: 1px solid var(--line-hair);
  padding: clamp(24px, 2.6vw, 44px);
}
.slab--light { background: #fff; border-color: rgba(13,23,32,.1); }

.overline-num {
  font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: -.05em; color: rgba(255,255,255,.08); line-height: .8;
}

.sticky { position: sticky; top: 120px; }

.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 46px; }
.mb-m { margin-bottom: 28px; }

/* Sub-page header that has to clear the fixed masthead */
.section.page-top { padding-top: clamp(140px, 19vh, 230px); }

/* Long-form copy (policies, notes) */
.prose { max-width: 76ch; }
.prose h3 { margin: 2.6em 0 .7em; }
.prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--signal-2); text-decoration: underline; text-underline-offset: 3px; }
.section--paper .prose a { color: var(--signal); }

/* Vacancy list */
.roles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-hair); }
.roles li { border-bottom: 1px solid var(--line-hair); }
.roles a {
  display: grid; grid-template-columns: minmax(0, 1.7fr) .8fr .7fr 34px;
  gap: 10px 24px; align-items: center;
  padding: clamp(20px, 2vw, 28px) 0;
  transition: padding .35s var(--ease-out), background-color .3s var(--ease);
}
.roles a:hover { padding-inline: 14px; background: rgba(46, 107, 230, .07); }
.roles h4 { color: #fff; }
.roles .r-meta { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--slate); }
.roles i { color: var(--signal-2); justify-self: end; transition: transform .3s var(--ease-out); }
.roles a:hover i { transform: translateX(5px); }
.section--paper .roles, .section--paper .roles li { border-color: var(--line-dark); }
.section--paper .roles h4 { color: var(--head-dark); }
.section--paper .roles .r-meta { color: #5d6b78; }
.section--paper .roles i { color: var(--signal); }

/* Site / office card */
.site-card { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line-hair); background: var(--steel-900); }
.site-card .frame { height: 100%; min-height: 260px; }
.site-card-body { padding: clamp(22px, 2.2vw, 38px); display: flex; flex-direction: column; gap: 16px; }
.site-card h3 { color: #fff; }
.site-card p { color: var(--slate); font-size: .95rem; }
@media (max-width: 860px) { .site-card { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  .roles a { grid-template-columns: 1fr 34px; }
  .roles .r-meta { grid-column: 1; }
}

/* ------------------------------------------------------------ 27. Responsive */

@media (max-width: 1340px) {
  .head-pill { display: none; }         /* the nav needs the room more than the CTA does */
}

@media (max-width: 1200px) {
  .rail { grid-template-columns: 1fr 1fr; }
  .rail-c { grid-column: span 2; border-left: 0; border-top: 1px solid var(--line-hair); flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-hair); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-main { display: none; }
  .burger { display: grid; }
  .head-pill { display: none; }
  .head-utils { gap: 4px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .steps > li { grid-template-columns: 60px 1fr; }
  .steps > li > p { grid-column: 2; }
  .sec-head { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  html { scroll-padding-top: 80px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .rail-c { grid-column: span 1; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-top: 1px solid var(--line-hair); }
  .foot-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .hero-sub { gap: 24px; }
  .spec th { width: 44%; }
  .bm-window, .bm-svg { width: 128px; height: 32px; }
  .site-head.is-stuck .bm-window { width: 21px; }
  .site-head.is-stuck .bm-svg { transform: translateX(-17.4px); }
  .brandmark:hover .bm-window { width: 128px; }
}

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