/* ════════════════════════════════════════════════════════════════════
   Spire AI S.A. — agentic AI and AI adoption
   Palette: ink #0f1a2b · deep teal #00756b (buttons, links, white text OK)
   · bright teal #19d3c5 (decorative / on ink only) · coral #d63d24
   (High-Impact area) · sand #fff6ef. Light theme; feature bands use vivid
   gradients with white text. All motion is transform/opacity/background
   position; one shared rAF motor in site.js. No external requests.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4fbfa;
  --bg-band: #e2f5f2;
  --bg-foot: #eaf5f3;
  --surface: #ffffff;
  --line: #cfe6e2;
  --line-strong: #b9d8d3;
  --keyline: rgba(0, 90, 82, .18);
  --grid-ink: rgba(0, 90, 82, .05);
  --grid-ink-band: rgba(0, 90, 82, .08);

  --brand: #00756b;        /* primary deep teal */
  --brand-hover: #00544d;  /* darker hover state */
  --brand-deep: #004a44;   /* east faces, CTA extruded edge */
  --brand-top: #1aa398;    /* teal material top face */
  --porc-top: #ffffff;
  --porc-south: #e3f3f0;
  --porc-east: #c1e0db;

  --accent: #19d3c5;        /* decorative on light; text only on --brand */
  --accent-ink: #00574f;    /* text on the tint below */
  --accent-tint: #dcf7f4;

  --coral: #d63d24;        /* white on it 4.6:1 */
  --coral-ink: #b02b16;    /* coral as text on light surfaces */
  --sand: #fff6ef;
  --ink: #0f1a2b;
  --text: #2a3a50;
  --muted: #475a70;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas,
               "Liberation Mono", monospace;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-lift: cubic-bezier(.2, .7, .3, 1);
  --am: 1;                /* animation duration multiplier (.calm doubles it) */
  --iso-s: 1;             /* machine scale */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
img, svg { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.05rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.185rem; font-weight: 600; }

p  { max-width: 62ch; }
a  { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
p a:hover, .legal a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--brand-hover);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.kicker {
  font-family: var(--font-mono);
  font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand);
  display: block; margin-bottom: .75rem;
}

section { scroll-margin-top: 84px; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(0, 90, 82, .07); }
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 64px; max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; }
.brand svg { display: block; }
.brand:hover { color: var(--brand); }
.nav-links { display: flex; gap: 1.35rem; margin-left: auto; list-style: none; }
.nav-links a {
  color: var(--text); font-size: .9375rem; font-weight: 550;
  position: relative; padding: .35rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; background: var(--accent); transition: right .2s var(--ease-out);
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { right: 0; }
.nav-links a[aria-current] { color: var(--brand); }
.nav-links a[aria-current]::after { right: 0; }
.lang-switch {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 700;
}
.lang-switch a { color: var(--muted); padding: .25rem .3rem; }
.lang-switch a[aria-current] { color: var(--brand); border-bottom: 2px solid var(--accent); }
.lang-switch .sep { color: var(--line-strong); }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  padding: .78rem 1.5rem; border-radius: 999px;
  transition: background-color .16s ease, color .16s ease, transform .12s ease, border-color .16s ease;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 0 var(--brand-deep);           /* extruded 3D edge */
}
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--brand-deep); }
.btn-ghost {
  background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-ghost:hover { background: var(--bg-band); }
.nav .btn { padding: .55rem 1.2rem; font-size: .9375rem; }

.menu-toggle { display: none; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1faf8 100%);
  overflow: hidden;              /* clip 3D here only — never inside the scene */
}
.hero::before {                  /* isometric drafting grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(60deg,  var(--grid-ink) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(-60deg, var(--grid-ink) 0 1px, transparent 1px 36px);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 55% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 55% 45%, #000 55%, transparent 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 46% 54%; align-items: center;
  gap: 2rem; width: 100%; max-width: 1180px; margin: 0 auto; padding: 96px 24px;
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy::before {             /* guaranteed-AA scrim under the copy */
  content: ""; position: absolute; inset: -40px -80px -40px -60px; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0 62%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.nameplate {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--ink); border-radius: 8px;
  padding: .5rem .95rem; margin-bottom: 1.5rem;
  box-shadow: 0 2px 0 #000;
}
.nameplate .rivet { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
.nameplate span.tag {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);            /* bright teal on ink */
}

.hero h1 .hl {
  background: linear-gradient(90deg, var(--brand), var(--brand-hover));
  -webkit-background-clip: text; background-clip: text;
  color: var(--brand);            /* fallback */
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero h1 .hl { color: transparent; }
}
.hero-sub { margin: 1.35rem 0 2rem; font-size: 1.125rem; max-width: 34rem; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }

.pause-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.1rem; padding: .35rem .8rem;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  color: var(--muted); cursor: pointer;
}
.pause-btn:hover { color: var(--brand); border-color: var(--brand); }
.no-js .pause-btn { display: none; }

/* ── The machine (pure CSS axonometric — NO perspective) ─────────── */
.hero-scene { position: relative; height: 560px; }
.iso-wrap {
  position: absolute; left: 50%; top: 50%;
  width: 880px; height: 420px;
  margin: -260px 0 0 -470px;
  transform: scale(var(--iso-s));
}
.iso-camera {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 55deg)) rotateZ(var(--rz, -45deg));
  will-change: transform;
}
.stage { position: absolute; inset: 0; transform-style: preserve-3d; }

/* cuboid builder: .box{--w,--d,--h} + 3 faces. Shading baked per face. */
.box { position: absolute; transform-style: preserve-3d; }
.box i { position: absolute; left: 0; top: 0; display: block; backface-visibility: hidden; border: 1px solid var(--keyline); }
.box .ft { width: var(--w); height: var(--d); transform: translateZ(var(--h)); }
.box .fs { width: var(--w); height: var(--h); transform-origin: 0 0;
           transform: translateY(var(--d)) translateZ(var(--h)) rotateX(-90deg); }
/* west face (−X): with camera rotateX(55) rotateZ(-45) the visible side
   faces are south (+Y) and west (−X); an east fold would be backface. */
.box .fe { width: var(--h); height: var(--d); transform-origin: 0 0;
           transform: rotateY(-90deg); }
.porc .ft { background: var(--porc-top); }
.porc .fs { background: var(--porc-south); }
.porc .fe { background: var(--porc-east); }
.bluem .ft { background: var(--brand-top); }
.bluem .fs { background: var(--brand); }
.bluem .fe { background: var(--brand-deep); }

.ground {
  position: absolute; left: 30px; top: 120px; width: 800px; height: 260px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(15,26,43,.12), transparent 70%);
  transform: translateZ(-1px);
}

/* hopper + intake data cubes */
.hopper { left: 46px; top: 150px; --w: 120px; --d: 120px; --h: 150px; }
.hopper-slot { left: 76px; top: 180px; --w: 60px; --d: 60px; --h: 152px; }
.hopper-slot i { border-color: rgba(0,90,82,.3); }
.hopper-slot .ft { background: var(--brand-deep); }
.hopper-slot .fs, .hopper-slot .fe { display: none; }
.dcube { --w: 14px; --d: 14px; --h: 14px;
  animation: drop calc(var(--am) * 3s) ease-in infinite;
  animation-delay: var(--dl);
  opacity: 0;
}
.dcube.c1 { left: 92px; top: 196px; --dl: 0s; }
.dcube.c2 { left: 106px; top: 210px; --dl: -1s; }
.dcube.c3 { left: 84px;  top: 214px; --dl: -2s; }
@keyframes drop {
  0%   { transform: translateZ(300px); opacity: 0; }
  25%  { opacity: 1; }
  80%  { transform: translateZ(165px); opacity: 1; }
  100% { transform: translateZ(160px); opacity: 0; }
}

/* conveyor */
.belt { left: 180px; top: 162px; --w: 500px; --d: 96px; --h: 26px; }
.belt .ft { overflow: hidden; }     /* leaf face — safe to clip */
.belt-stripes {
  position: absolute; left: 0; top: 0; width: 200%; height: 100%;
  background: repeating-linear-gradient(90deg,
    #d9eeea 0 26px, #edf8f6 26px 52px);
  animation: beltMove calc(var(--am) * 1.5s) linear infinite;
}
@keyframes beltMove { to { transform: translate3d(-52px, 0, 0); } }

/* agent chips riding the belt */
.chip { --w: 52px; --d: 52px; --h: 12px; left: 0; top: 0;
  transform: translate3d(150px, 184px, 26px);   /* rest pose (reduced-motion) */
  animation: chipRun calc(var(--am) * 9s) linear infinite;
  animation-delay: var(--dl);
}
.chip.k2 { --dl: -2.25s; } .chip.k3 { --dl: -4.5s; } .chip.k4 { --dl: -6.75s; }
.chip .led {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); left: 8px; top: 8px;
  transform: translateZ(calc(var(--h) + 1px));
}
.chip .trace {
  position: absolute; left: 20px; top: 22px; width: 24px; height: 10px;
  border-top: 2px solid rgba(255,255,255,.75); border-bottom: 2px solid rgba(255,255,255,.45);
  transform: translateZ(calc(var(--h) + 1px));
}
@keyframes chipRun {
  0%   { transform: translate3d(150px, 184px, 26px); opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { transform: translate3d(660px, 184px, 26px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chip.k2 { transform: translate3d(300px, 184px, 26px); }
  .chip.k3 { transform: translate3d(450px, 184px, 26px); }
  .chip.k4 { display: none; }
}

/* gantry */
.pillar { --w: 26px; --d: 40px; --h: 140px; }
.pillar.p1 { left: 420px; top: 118px; }
.pillar.p2 { left: 420px; top: 262px; }
.crossbeam { left: 414px; top: 118px; --w: 38px; --d: 184px; --h: 26px;
  transform: translateZ(140px); }
.tool-head { left: 416px; top: 190px; --w: 34px; --d: 40px; --h: 34px;
  animation: stamp calc(var(--am) * 2.25s) cubic-bezier(.7, 0, .3, 1) infinite;
  animation-delay: -.225s;
}
@keyframes stamp {
  0%, 100% { transform: translateZ(102px); }
  45%      { transform: translateZ(40px); }
  55%      { transform: translateZ(40px); }   /* bottom hold */
}

/* QA arch + lime scan plane */
.qa-pillar { --w: 14px; --d: 26px; --h: 110px; }
.qa-pillar.q1 { left: 640px; top: 140px; }
.qa-pillar.q2 { left: 640px; top: 254px; }
.qa-beam { left: 634px; top: 140px; --w: 26px; --d: 140px; --h: 16px;
  transform: translateZ(110px); }
.scan-plane {
  /* vertical lime curtain across the belt: west-fold plane at the QA arch
     (width spans Z 0→108, height spans Y/depth) */
  position: absolute; left: 649px; top: 148px; width: 108px; height: 124px;
  background: var(--accent);
  transform-origin: 0 0;
  transform: rotateY(-90deg);
  animation: scanSweep calc(var(--am) * 2.25s) ease-in-out infinite alternate;
  opacity: .18;
}
@keyframes scanSweep { from { opacity: .12; } to { opacity: .34; } }

/* output pedestal */
.pedestal { left: 716px; top: 158px; --w: 120px; --d: 120px; --h: 40px; }
.out-chip { left: 750px; top: 192px; --w: 52px; --d: 52px; --h: 12px;
  transform: translateZ(41px); }
.out-glow {
  position: absolute; left: 726px; top: 168px; width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,211,197,.5), transparent 65%);
  transform: translateZ(42px);
  animation: glowPulse calc(var(--am) * 2.25s) ease-in-out infinite alternate;
}
@keyframes glowPulse { from { opacity: .35; } to { opacity: .8; } }

/* flat annotation layer (HUD) — text never enters the 3D stage */
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.hud-tag {
  position: absolute;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; color: var(--brand);
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  border-radius: 6px; padding: .3rem .6rem; white-space: nowrap;
}
.hud-tag::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 1px; height: var(--lead, 28px); background: var(--keyline);
}
.hud-tag.h1p { left: 4%;  top: 4%;  --lead: 34px; }
.hud-tag.h2p { left: 40%; top: 0%;  --lead: 30px; }
.hud-tag.h3p { right: 2%; top: 8%;  --lead: 38px; } /* anchored right so the longest label never overflows */

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head p { margin-top: .9rem; color: var(--muted); }

/* services */
.sec-services { background: var(--bg-soft); position: relative; }
.sec-services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(60deg,  var(--grid-ink) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(-60deg, var(--grid-ink) 0 1px, transparent 1px 36px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.7rem 1.6rem 1.8rem; position: relative;
  transition: transform .22s var(--ease-lift), border-color .22s ease;
}
.card::after {                    /* pre-painted shadow, crossfaded */
  content: ""; position: absolute; inset: 0; border-radius: 14px; z-index: -1;
  box-shadow: 0 18px 44px -18px rgba(0, 90, 82, .28);
  opacity: 0; transition: opacity .22s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 1rem 0 .5rem; }
.card p { font-size: .9688rem; color: var(--muted); }
.card.featured { border: 2px solid var(--accent); }
.core-tab {
  position: absolute; top: -1px; right: 16px;
  background: var(--accent-tint); color: var(--accent-ink);
  border: 1px solid var(--accent); border-top: 0; border-radius: 0 0 6px 6px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; padding: .18rem .55rem;
}

/* static mini iso-cube icon (pure CSS, zero runtime cost) */
.cube-ico { width: 46px; height: 46px; position: relative; }
.cube-ico i { position: absolute; display: block; }
.cube-ico .t {
  width: 26px; height: 26px; left: 10px; top: 3px;
  background: var(--ci-top, var(--brand-top));
  transform: rotate(45deg) skew(-16deg, -16deg) scale(1, .58);
  border: 1px solid var(--keyline);
}
.cube-ico .l {
  width: 13px; height: 17px; left: 10px; top: 17px;
  background: var(--ci-south, var(--brand));
  transform: skewY(26deg);
  border: 1px solid var(--keyline);
}
.cube-ico .r {
  width: 13px; height: 17px; left: 23px; top: 17px;
  background: var(--ci-east, var(--brand-deep));
  transform: skewY(-26deg);
  border: 1px solid var(--keyline);
}
.card:hover .cube-ico { animation: icoNudge .4s var(--ease-lift); }
@keyframes icoNudge { 50% { transform: translateY(-3px) rotate(-4deg); } }
.cube-ico.porcelain { --ci-top: #fff; --ci-south: var(--porc-south); --ci-east: var(--porc-east); }
.cube-ico.lime { --ci-top: #7fece3; --ci-south: var(--accent); --ci-east: #0fa89b; }

/* process rail */
.stations { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; position: relative; }
.stations::before {
  content: ""; position: absolute; left: 2%; right: 2%; top: 21px; height: 4px;
  background: var(--line); border-radius: 2px;
}
.station { position: relative; padding-top: 3.4rem; }
.station .coin {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 0 var(--brand-deep);
}
.station h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.station p { font-size: .9063rem; color: var(--muted); }

/* industries */
.sec-industries { background: var(--bg-soft); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.2rem 1.25rem; transition: border-color .2s ease, transform .2s var(--ease-lift);
}
.tile:hover { border-color: var(--brand-hover); transform: translateY(-3px); }
.tile .diamond {
  width: 12px; height: 12px; background: var(--brand-top); border: 1px solid var(--keyline);
  transform: rotate(45deg) scale(1, .78); margin-bottom: .7rem;
}
.tile h3 { font-size: 1rem; }
.tile p { font-size: .875rem; color: var(--muted); margin-top: .2rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.values { list-style: none; margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.values li {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--brand); color: var(--brand); border-radius: 999px;
  font-size: .875rem; font-weight: 600; padding: .35rem .9rem;
}
.values li::before { content: ""; width: 9px; height: 9px; background: var(--accent); border: 1px solid var(--keyline); }
.skyline { position: relative; height: 300px; }
.skyline .iso-camera { transform: rotateX(55deg) rotateZ(-45deg); }
.skyline .iso-wrap { width: 420px; height: 300px; margin: -150px 0 0 -210px; transform: scale(.8); }
.sk1 { left: 60px;  top: 90px;  --w: 90px;  --d: 90px;  --h: 60px; }
.sk2 { left: 170px; top: 70px;  --w: 70px;  --d: 70px;  --h: 130px; }
.sk3 { left: 150px; top: 170px; --w: 60px;  --d: 60px;  --h: 40px; }
.sk4 { left: 260px; top: 120px; --w: 80px;  --d: 80px;  --h: 90px; }
.sk5 { left: 250px; top: 40px;  --w: 44px;  --d: 44px;  --h: 44px; }

/* contact */
.sec-contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.email-big {
  display: inline-block; margin: 1.2rem 0 .4rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--brand);
}
.email-big:hover { color: var(--brand-hover); }
.contact-note { color: var(--muted); font-size: .9375rem; }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(15,26,43,.05), 0 24px 60px -24px rgba(0,90,82,.22);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9063rem; color: var(--ink); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: .7rem .85rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--brand-hover); outline-offset: 1px; border-color: var(--brand-hover);
}
.form-status { margin-top: .9rem; font-size: .9063rem; color: var(--muted); min-height: 1.4em; }
.form-status a { font-weight: 600; }

/* footer */
footer {
  background: var(--bg-foot); border-top: 1px solid var(--line);
  padding: 3rem 0 0; margin-top: 0;
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.foot-links { display: flex; gap: 1.4rem; list-style: none; flex-wrap: wrap; }
.foot-links a { color: #3f566b; font-size: .9375rem; }
.foot-links a:hover { color: var(--brand); }
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.legal {
  margin-top: 2.2rem; padding: 1.1rem 0 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .8125rem; color: var(--muted);
}
.signoff { height: 2px; background: var(--accent); }

/* ── Reveals — hidden state is applied by JS only when the observer is
   actually armed (.reveal-pending), so no-JS / no-IO is never blank ── */
.reveal-pending { opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal-pending.in { opacity: 1; transform: none; }

/* ── Pause switch (WCAG 2.2.2) ───────────────────────────────────── */
.paused .stage *, .paused .belt-stripes,
.paused .dcube, .paused .chip, .paused .tool-head,
.paused .scan-plane, .paused .out-glow {
  animation-play-state: paused !important;
}

/* hero off-screen: stop paying for the machine */
.hero-scene.offstage .stage *, .hero-scene.offstage .belt-stripes,
.hero-scene.offstage .dcube, .hero-scene.offstage .chip,
.hero-scene.offstage .tool-head, .hero-scene.offstage .scan-plane,
.hero-scene.offstage .out-glow { animation-play-state: paused !important; }

/* ── data-perf="lite" ladder ─────────────────────────────────────── */
[data-perf="lite"] .scan-plane,
[data-perf="lite"] .belt-stripes,
[data-perf="lite"] .dcube { display: none; }
[data-perf="lite"] .chip.k4 { display: none; }

/* ── Reduced motion: static tableau ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .dcube, .chip, .tool-head, .scan-plane, .out-glow,
  .belt-stripes { animation: none !important; }
  .dcube { opacity: 0; }
  .chip { opacity: 1; }
  .tool-head { transform: translateZ(40px); }
  .scan-plane { opacity: .2; }
  .out-glow { opacity: .6; }
  .reveal-pending { opacity: 1; transform: none; transition: none; }
  .card, .tile, .btn, .cube-ico { transition: none !important; animation: none !important; }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-scene { --iso-s: .8; }
  .iso-wrap { --iso-s: .8; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 72px; }
  .hero { min-height: 0; }
  .hero-copy::before { display: none; }
  .hero-scene { height: 380px; --iso-s: .62; }
  .iso-wrap { --iso-s: .62; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stations { grid-template-columns: 1fr; gap: 1.6rem; }
  .stations::before { left: 21px; right: auto; top: 2%; bottom: 2%; width: 4px; height: auto; }
  .station { padding-top: 0; padding-left: 3.6rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .skyline { display: none; }
  .foot-grid { flex-direction: column; }
  .foot-right { align-items: flex-start; }
  .nav-links { display: none; }
  .menu-toggle { display: block; margin-left: auto; position: relative; }
  .menu-toggle summary {
    list-style: none; cursor: pointer; font-weight: 600; color: var(--brand);
    border: 1.5px solid var(--brand); border-radius: 8px; padding: .35rem .7rem; font-size: .875rem;
  }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle ul {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 120;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 44px -18px rgba(0,90,82,.28);
    list-style: none; padding: .5rem; min-width: 200px;
  }
  .menu-toggle ul a { display: block; padding: .55rem .8rem; color: var(--text); border-radius: 8px; font-weight: 550; }
  .menu-toggle ul a:hover { background: var(--bg-band); color: var(--brand); }
}
@media (max-width: 560px) {
  .cards, .tiles { grid-template-columns: 1fr; }
  /* shorter scene with the machine kept where it was: trims the empty band under it */
  .hero-scene { height: 230px; --iso-s: .48; }
  .iso-wrap { --iso-s: .48; margin-top: -180px; }
  .nav .btn { display: none; }
  .hud-tag.h2p { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   PARTNERS PAGE
   ════════════════════════════════════════════════════════════════════ */
.subhero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f1faf8 100%);
  padding: 7rem 0 3rem;
}
.subhero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(60deg,  var(--grid-ink) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(-60deg, var(--grid-ink) 0 1px, transparent 1px 36px);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 45%, transparent 100%);
}
.subhero .wrap { position: relative; z-index: 2; }
.subhero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 20ch; }
.subhero p { margin-top: 1.1rem; font-size: 1.125rem; color: var(--muted); max-width: 60ch; }

.partner-cat { padding: 3.2rem 0 0; }
.partner-cat:last-of-type { padding-bottom: 1rem; }
.partner-cat-head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.partner-cat-head .num {
  font-family: var(--font-mono); font-weight: 700; color: var(--brand);
  font-size: .9rem; letter-spacing: .1em;
}
.partner-cat-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.partner-cat-head .cat-note { color: var(--muted); font-size: .95rem; margin-left: auto; max-width: 40ch; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.partner {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.1rem;
  transition: transform .2s var(--ease-lift), border-color .2s ease, box-shadow .2s ease;
}
.partner:hover { transform: translateY(-3px); border-color: var(--line-strong);
  box-shadow: 0 16px 40px -20px rgba(0,90,82,.26); }
.partner .mono {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: var(--bg-band); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem;
  border: 1px solid var(--line);
}
.partner.accent .mono { background: var(--brand); color: #fff; }
.partner .p-body { min-width: 0; }
.partner .p-name { color: var(--ink); font-weight: 650; font-size: .975rem; line-height: 1.25; }
.partner .p-desc { color: var(--muted); font-size: .8125rem; margin-top: .15rem; line-height: 1.4; }

.partners-disclaimer {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .82rem; max-width: 80ch;
}
.partners-cta {
  margin-top: 3rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 2.4rem; text-align: center;
  box-shadow: 0 2px 6px rgba(15,26,43,.05), 0 24px 60px -24px rgba(0,90,82,.22);
}
.partners-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.partners-cta p { margin: .8rem auto 1.5rem; color: var(--muted); max-width: 52ch; }

@media (max-width: 980px) {
  .partner-cat-head .cat-note { margin-left: 0; flex-basis: 100%; }
  .subhero { padding-top: 5rem; }
}
@media (max-width: 560px) {
  .partner-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════
   SPIRE AI — additions
   ════════════════════════════════════════════════════════════════════ */
.brand .wm { display: inline-flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
.brand .sa { font-size: .62em; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.brand:hover .sa { color: var(--brand); }
.foot-brand { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links a[aria-current="page"]::after { right: 0; }

/* works-with strip (text only) */
.works { padding: 0 0 3rem; position: relative; z-index: 5; margin-top: -1.2rem; }
.works-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(0, 90, 82, .25);
  padding: 1.4rem 2rem 1.6rem;
}
.works-box .kicker { color: var(--muted); margin-bottom: .8rem; }
.works-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.works-list li {
  font-family: var(--font-mono); font-weight: 600; font-size: .9rem; letter-spacing: .03em;
  color: var(--ink); background: var(--bg-band); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .9rem;
}
.works-note { margin-top: .9rem; font-size: .875rem; color: var(--muted); }

/* ── Vivid bands ─────────────────────────────────────────────────── */
.band { position: relative; color: #fff; overflow: hidden; background-size: 220% 220%; animation: bandShift calc(var(--am) * 26s) ease-in-out infinite; }
.band h2, .band h3, .band .kicker, .band p, .band li { color: #fff; }
.band a:not(.btn) { color: #fff; text-decoration: underline; }
.band :focus-visible { outline-color: #fff; }
.band-coral { background-image: linear-gradient(120deg, #b8321c 0%, #c4351e 28%, #a4286f 64%, #7a2790 100%); }
.band-teal  { background-image: linear-gradient(120deg, #005f57 0%, #00756b 38%, #0a6f8a 72%, #14507a 100%); }
.band-ink   { background-image: linear-gradient(120deg, #0f1a2b 0%, #123f55 45%, #005f57 100%); }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(60deg,  rgba(255,255,255,.07) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(-60deg, rgba(255,255,255,.07) 0 1px, transparent 1px 36px);
}
.band > .wrap { position: relative; z-index: 1; }
@keyframes bandShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.paused .band, .paused .subhero.vivid { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .band, .subhero.vivid { animation: none !important; } }

.btn-light { background: #fff; color: var(--ink); box-shadow: 0 2px 0 rgba(15,26,43,.35); }
.btn-light:hover { background: var(--bg-band); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-outline-light:hover { background: rgba(15,26,43,.3); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 2px 0 #8f2511; }
.btn-coral:hover { background: #b8321c; color: #fff; }
.btn-row { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }

/* white cards sitting on bands */
.hi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.4rem; }
.hi-card {
  background: #fff; border-radius: 14px; padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: 0 18px 44px -22px rgba(15,26,43,.5);
}
.band .hi-card h3 { color: var(--ink); font-size: 1.05rem; }
.band .hi-card p, .band .hi-card li { color: var(--text); font-size: .9rem; }
.hi-card h3 { margin: 0 0 .45rem; }
.hi-card .num { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .12em; color: var(--coral-ink); margin-bottom: .5rem; }
.hi-card ul { margin: .7rem 0 0 1.1rem; }
.hi-card li { margin-bottom: .2rem; }
.th-feature {
  margin-top: 1.4rem; background: var(--ink); border-radius: 16px; padding: 1.8rem;
  border: 2px solid var(--coral);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem; align-items: center;
}
.th-feature h3 { font-size: 1.5rem; color: #fff; }
.th-feature .badge {
  display: inline-block; background: var(--coral); color: #fff; border-radius: 6px;
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; padding: .25rem .6rem; margin-bottom: .8rem;
}
.th-sectors { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.th-sectors li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; font-weight: 600; color: #fff; }

/* process / principles on bands */
.band .station .coin { background: #fff; color: var(--ink); box-shadow: 0 2px 0 rgba(15,26,43,.35); }
.band .stations::before { background: rgba(255,255,255,.45); }
.principles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin-top: 1.2rem; }
.principles li {
  background: rgba(15,26,43,.42); border: 1px solid rgba(255,255,255,.35); border-radius: 12px;
  padding: 1rem 1.1rem; font-size: .95rem; font-weight: 550;
}
.principles-title { margin-top: 3rem; font-size: 1.25rem; }

/* section backgrounds */
.sec-sand { background: var(--sand); }
.sec-soft { background: var(--bg-soft); }
.card.featured { border: 2px solid var(--accent); }
.card .more { display: inline-block; margin-top: .7rem; font-weight: 600; font-size: .9rem; }
.card.link { display: flex; flex-direction: column; }
.card.link .more { margin-top: auto; padding-top: .7rem; }
.core-tab { background: var(--accent-tint); color: var(--accent-ink); border-color: var(--accent); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.four .card { padding: 1.4rem 1.3rem; }
.cards.four .card h3 { font-size: 1.05rem; margin-top: .2rem; }
.cat-num { font-family: var(--font-mono); font-weight: 700; color: var(--brand); font-size: .85rem; letter-spacing: .1em; }

/* alliances teaser */
.partner-names { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 2rem; }
.partner-names li { background: rgba(15,26,43,.42); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .3rem .9rem; font-weight: 600; font-size: .92rem; }
.band .lead { font-size: 1.1rem; max-width: 56rem; }

/* about + contact additions */
.about-points { list-style: none; margin-top: 1.2rem; display: grid; gap: .5rem; }
.about-points li { display: flex; gap: .7rem; align-items: flex-start; }
.about-points li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55rem; background: var(--accent); border: 1px solid var(--keyline); transform: rotate(45deg); }
.contact-list { margin-top: 1.6rem; display: grid; gap: .6rem; list-style: none; }
.contact-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-list strong { display: block; color: var(--ink); font-size: .8rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.email-big { overflow-wrap: anywhere; }

/* footer */
.foot-right { gap: .8rem; }
.legal { overflow-wrap: anywhere; }
.signoff { background: linear-gradient(90deg, var(--accent), var(--coral)); }

/* sub-page hero */
.subhero.vivid { color: #fff; padding: 6.5rem 0 4rem; background-size: 220% 220%; animation: bandShift calc(var(--am) * 26s) ease-in-out infinite; }
.subhero.vivid::before { background: repeating-linear-gradient(60deg, rgba(255,255,255,.07) 0 1px, transparent 1px 36px), repeating-linear-gradient(-60deg, rgba(255,255,255,.07) 0 1px, transparent 1px 36px); -webkit-mask-image: none; mask-image: none; }
.subhero.vivid h1, .subhero.vivid p, .subhero.vivid .kicker { color: #fff; }
.subhero.vivid :focus-visible { outline-color: #fff; }
.subhero.vivid.band-teal { background-image: linear-gradient(120deg, #005f57 0%, #00756b 38%, #0a6f8a 72%, #14507a 100%); }
.subhero.vivid.band-coral { background-image: linear-gradient(120deg, #b8321c 0%, #c4351e 28%, #a4286f 64%, #7a2790 100%); }
.subhero.vivid .pause-btn { color: #fff; border-color: rgba(255,255,255,.8); }
.subhero.vivid .pause-btn:hover { color: #fff; border-color: #fff; background: rgba(15,26,43,.3); }
.subhero .btn-row { margin-top: 1.6rem; }

/* services page */
.catnav { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.6rem 0 0; }
.catnav a { display: inline-block; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: .3rem .85rem; font-size: .88rem; font-weight: 600; color: var(--brand); }
.catnav a:hover { background: var(--bg-band); color: var(--brand-hover); }
.cat { padding: 4.2rem 0; }
.cat.alt { background: var(--sand); }
.cat-head { max-width: 46rem; margin-bottom: 2rem; }
.cat-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: .2rem; }
.cat-head p { margin-top: .6rem; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.2rem; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; }
.svc h3 { font-size: 1.12rem; }
.svc .dur { align-self: flex-start; margin: .6rem 0 0; font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--accent-ink); background: var(--accent-tint); border: 1px solid var(--accent); border-radius: 6px; padding: .2rem .5rem; }
.svc p { margin-top: .6rem; font-size: .96rem; color: var(--muted); }
.svc ul { margin: .8rem 0 0 1.1rem; font-size: .92rem; color: var(--text); }
.svc li { margin-bottom: .25rem; }
.ind-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.2rem; }
.ind { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 1.2rem 1.3rem; }
.ind h3 { font-size: 1.05rem; }
.ind p { margin-top: .4rem; font-size: .94rem; color: var(--muted); }
.cta-band { padding: 4.5rem 0; }
.cta-band h2 { max-width: 28ch; }
.cta-band p { margin: 1rem 0 1.6rem; }

/* human + AI page */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 2rem 0; }
.phase { background: #fff; border-radius: 14px; padding: 1.3rem; }
.band .phase h3 { color: var(--ink); }
.band .phase p { color: var(--text); font-size: .94rem; }
.phase .coin { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; margin-bottom: .6rem; }
.band .phase .dur2 { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--coral-ink); display: block; margin: .15rem 0 .5rem; }
.deliv { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.deliv li { background: rgba(15,26,43,.42); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .3rem .9rem; font-size: .92rem; font-weight: 600; }
.track-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }

/* alliances page */
.rep-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; box-shadow: 0 2px 6px rgba(15,26,43,.05), 0 24px 60px -24px rgba(0,90,82,.22); }
.rep-box p { margin-top: .8rem; }
.brand-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.brand-links a { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; font-weight: 600; background: var(--bg-soft); }
.brand-links a:hover { background: var(--bg-band); }
.partner-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; }
.pcard h3 { font-size: 1.12rem; }
.pcard .where { font-family: var(--font-mono); font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--accent-ink); margin: .2rem 0 .6rem; }
.pcard p { font-size: .94rem; color: var(--muted); }
.pcard .caps { margin-top: .6rem; color: var(--text); }
.pcard .visit { margin-top: auto; padding-top: .9rem; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.table-wrap { margin-top: 1.2rem; }
.cross { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.cross th, .cross td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.cross thead th { background: var(--bg-band); color: var(--ink); font-size: .85rem; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.cross tbody th { color: var(--ink); width: 14rem; }
.cross td { color: var(--muted); }
.cross tr:last-child th, .cross tr:last-child td { border-bottom: 0; }

/* 404 */
.nf { padding: 7rem 0 6rem; min-height: 60vh; }
.nf h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.nf p { margin: 1rem 0 1.6rem; color: var(--muted); }

@media (max-width: 1100px) { .hi-grid, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .th-feature, .phases { grid-template-columns: 1fr; }
  .nav-inner { gap: .8rem; }
  .works { margin-top: 0; padding-top: 1.5rem; }
}
@media (max-width: 720px) {
  .cross, .cross tbody, .cross tr, .cross th, .cross td { display: block; width: 100%; }
  .cross thead { display: none; }
  .cross tbody th { padding-bottom: 0; border-bottom: 0; width: 100%; }
  .cross td { padding-top: .2rem; }
}
@media (max-width: 560px) {
  .hi-grid, .cards.four { grid-template-columns: 1fr; }
  .works-box { padding: 1.2rem; }
  .rep-box { padding: 1.3rem; }
  .brand .sa { display: none; }
  .form-card { padding: 1.3rem; }
  .th-feature { padding: 1.3rem; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stations.four { grid-template-columns: repeat(4, 1fr); }
.hi-card.plain { border: 1px solid var(--line); box-shadow: none; }
.hi-card p { font-size: .9rem; color: var(--muted); }
.hi-card li { color: var(--text); font-size: .9rem; }
.band-ink.subhero, .subhero.vivid.band-ink { background-image: linear-gradient(120deg, #0f1a2b 0%, #123f55 45%, #005f57 100%); }
.hi-grid .hi-card:last-child:nth-child(4n+3) { grid-column: span 2; }
@media (max-width: 980px) { .stations.four { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hi-grid .hi-card:last-child:nth-child(4n+3) { grid-column: auto; } }
