/* ============================================================
   JOBBWIRE (two b's: Booked and Busy) — Mission Control for the Trades
   Designed & built by Claude Fable 5 · 2026
   Concept: night-ops control room. Cold void, phosphor signal,
   warm paper interludes. Fraunces (wonk) × Archivo × Spline Sans Mono.
   Zero dependencies. Reduced-motion safe.
   ============================================================ */

:root {
  /* Void (cold night) */
  --void: #04070d;
  --void-2: #070d18;
  --panel: #0a1120;
  --panel-2: #0d1526;
  --hairline: rgba(148, 180, 210, 0.13);

  /* Phosphor (the product's emerald, weaponized) */
  --phos: #10b981;
  --phos-bright: #3ce8a9;
  --phos-dim: rgba(16, 185, 129, 0.35);
  --phos-glow: rgba(16, 185, 129, 0.16);

  /* Signal (heat) */
  --signal: #ff5d40;
  --signal-soft: rgba(255, 93, 64, 0.14);
  --amber: #ffb224;
  --sky: #7dd3fc;

  /* Paper (warm daylight) */
  --paper: #f2ede3;
  --paper-2: #e9e2d4;
  --ink: #10131a;
  --ink-dim: #4d5361;

  /* Text on void */
  --white: #eef4f6;
  --fog: #9fb0bd;
  --fog-dim: #5c6c7a;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 72px;
}

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

:focus-visible {
  outline: 2px solid var(--phos-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.paper :focus-visible { outline-color: var(--signal); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--void);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--phos); color: var(--void); }

a { color: inherit; text-decoration: none; }
b { font-weight: 700; }

/* ============ Atmosphere ============ */

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 18% 18%, rgba(16, 185, 129, 0.13), transparent 70%),
    radial-gradient(30% 26% at 82% 12%, rgba(125, 211, 252, 0.09), transparent 70%),
    radial-gradient(40% 34% at 70% 85%, rgba(16, 185, 129, 0.07), transparent 70%),
    radial-gradient(24% 22% at 30% 78%, rgba(139, 92, 246, 0.05), transparent 70%);
  filter: blur(40px);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-1.2deg) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) rotate(1.2deg) scale(1.06); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* Custom cursor — radar blip */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; z-index: 100; top: 0; left: 0; pointer-events: none; }
  .cursor-ring {
    position: absolute; top: -16px; left: -16px; width: 32px; height: 32px;
    border: 1.5px solid var(--phos-dim); border-radius: 50%;
    transition: transform 0.22s var(--ease-out), border-color 0.22s, background 0.22s;
  }
  .cursor-dot {
    position: absolute; top: -2.5px; left: -2.5px; width: 5px; height: 5px;
    background: var(--phos-bright); border-radius: 50%;
  }
  .cursor.is-active .cursor-ring {
    transform: scale(1.9);
    border-color: var(--signal);
    background: var(--signal-soft);
  }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ============ Type primitives ============ */

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.display {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 120, "SOFT" 0, "WONK" 0;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 0.55em;
}
.display .line, .display > span { display: block; }
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--signal);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.display.giant { font-size: clamp(2.9rem, 8vw, 7.1rem); }

.paper .display em { color: var(--signal); }

.eyebrow {
  color: var(--fog-dim);
  margin-bottom: 1.6rem;
}
.eyebrow.glow { color: var(--phos); text-shadow: 0 0 18px var(--phos-glow); }
.paper .eyebrow { color: var(--ink-dim); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  max-width: 58ch;
  color: var(--white);
}
.lede.dim { color: var(--fog); }
.paper .lede { color: var(--ink); }

/* Scroll reveals — hidden states only exist when JS is running (html.js),
   so a no-JS visitor still gets the whole page */
.reveal { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* Wonk-animated words */
.wonk, .wonk-soft { display: inline-block; }

/* ============ Layout ============ */

section { position: relative; z-index: 1; }
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(6rem, 12vh, 10rem) clamp(1.4rem, 5vw, 4rem);
}
.section-inner.center { text-align: center; }

.void { background: transparent; }
.paper {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid rgba(16, 19, 26, 0.2);
  border-bottom: 1px solid rgba(16, 19, 26, 0.2);
}

/* ============ Nav ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(4, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}

.nav-brand { display: flex; align-items: center; gap: 0.7rem; }
.nav-mark { width: 30px; height: 30px; color: var(--phos); }
.nav-mark-blip { animation: blip 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.nav-word {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}
.nav-word b { color: var(--white); font-weight: 600; }
.nav-sub {
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--phos);
}

.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--phos-bright); }

/* Toned-down login pill: quiet by default, phosphor on hover */
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fog);
  background: rgba(10, 17, 32, 0.4);
  border: 1px solid var(--hairline);
  padding: 0.7em 1.3em;
  border-radius: 100px;
  font-weight: 600;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.nav-cta:hover { color: var(--phos-bright); border-color: var(--phos-dim); background: rgba(16, 185, 129, 0.06); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav { gap: 0.8rem; }
  .nav-word { display: none; }
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.88) 0%, rgba(4, 7, 13, 0.55) 46%, rgba(4, 7, 13, 0.18) 100%),
    linear-gradient(0deg, var(--void) 0%, transparent 22%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) clamp(1.4rem, 5vw, 4rem) 7rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--phos-bright);
  border: 1px solid var(--phos-dim);
  background: rgba(16, 185, 129, 0.07);
  padding: 0.55em 1em;
  border-radius: 100px;
  margin-bottom: 2.2rem;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--phos-bright);
  box-shadow: 0 0 0 0 rgba(60, 232, 169, 0.6);
  animation: live-pulse 2s infinite;
  display: inline-block;
  flex: none;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 232, 169, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(60, 232, 169, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 232, 169, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.99;
  letter-spacing: -0.02em;
  max-width: 13ch;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: italic;
  font-weight: 480;
  color: var(--signal);
  font-variation-settings: "opsz" 144, "SOFT" 55, "WONK" 1;
  text-shadow: 0 0 44px rgba(255, 93, 64, 0.35);
}

/* The name decoder: the double b connects to Booked and Busy */
.hero-tagline {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 540;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  letter-spacing: -0.01em;
  color: var(--fog);
}
.hero-tagline b {
  font-weight: 640;
  color: var(--phos-bright);
  text-shadow: 0 0 18px var(--phos-glow);
}

.hero-sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--fog);
}

/* Short viewports: tighten the hero so sub + CTAs stay above the fold */
@media (max-height: 950px) {
  .hero-title { font-size: clamp(2.5rem, 7vh, 6.2rem); }
  .hero-kicker { margin-bottom: 1.4rem; }
  .hero-sub { margin-top: 1.3rem; }
  .hero-actions { margin-top: 1.7rem; }
  .hero-inner { padding-top: calc(var(--nav-h) + 1.6rem); padding-bottom: 6rem; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.05em 1.9em;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-spring), background 0.25s, color 0.25s, box-shadow 0.3s, border-color 0.25s;
  will-change: transform;
}
.btn-solid { background: var(--phos); color: var(--void); }
.btn-solid:hover { background: var(--phos-bright); box-shadow: 0 8px 44px rgba(16, 185, 129, 0.35); }
.btn-ghost { border: 1px solid var(--hairline); color: var(--white); background: rgba(10, 17, 32, 0.4); }
.btn-ghost:hover { border-color: var(--phos-dim); color: var(--phos-bright); }
.btn-big { font-size: 0.92rem; padding: 1.25em 2.4em; }

/* Ticker */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  border-top: 1px solid var(--hairline);
  background: rgba(4, 7, 13, 0.66);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 0.85rem 0;
  color: var(--fog);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem; /* keeps the loop seam evenly spaced */
  white-space: nowrap;
  width: max-content;
}
.ticker-track i { color: var(--phos); font-style: normal; font-size: 0.6rem; }
.ticker-track.is-looping { animation: ticker 38s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero-scrollcue {
  position: absolute;
  right: clamp(1.4rem, 4vw, 3rem);
  bottom: 4.6rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--fog-dim);
  letter-spacing: 0.22em;
}
.hero-scrollcue span { writing-mode: vertical-rl; }
.hero-scrollcue i {
  width: 1px; height: 44px;
  background: linear-gradient(var(--phos), transparent);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) { .hero-scrollcue { display: none; } }

/* Blueprint hologram: a plan set drawing itself over the dispatch field */
.hero-blueprint {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: 50%;
  width: min(42vw, 560px);
  z-index: 1;
  pointer-events: none;
  transform: translateY(-52%);
  animation: bp-float 10s ease-in-out infinite alternate;
}
@keyframes bp-float {
  from { transform: translateY(-53%); }
  to   { transform: translateY(-49%); }
}
@media (max-width: 1080px) { .hero-blueprint { display: none; } }

.bp .bp-line {
  fill: none;
  stroke: var(--phos);
  stroke-opacity: 0.65;
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: bp-draw 1.5s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes bp-draw { to { stroke-dashoffset: 0; } }

.bp .bp-dash {
  fill: none;
  stroke: var(--phos);
  stroke-opacity: 0.32;
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
  opacity: 0;
  animation: bp-fade 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes bp-fade { to { opacity: 1; } }

.bp .bp-dim {
  fill: none;
  stroke: var(--fog-dim);
  stroke-opacity: 0.8;
  stroke-width: 1;
  opacity: 0;
  animation: bp-fade 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
.bp text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: var(--fog-dim);
  stroke: none;
}

.bp .bp-alive {
  opacity: 0;
  animation: bp-fade 0.7s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
.bp-alive path { fill: none; stroke: var(--fog-dim); stroke-width: 1; }
.bp-alive text { fill: var(--signal); }
.bp-blip { fill: var(--signal); }
.bp-ping {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: bp-ping 2.2s ease-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes bp-ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  75% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* The neighborhood skyline along the hero's base */
.hero-skyline {
  position: absolute;
  left: 0; right: 0;
  bottom: 44px;
  z-index: 1;
  pointer-events: none;
}
.hero-skyline svg {
  display: block;
  width: 100%;
  height: clamp(76px, 9.5vw, 150px);
}
.sk-body { fill: #0a1424; }
.sk-frame { fill: none; stroke: var(--phos-dim); stroke-width: 1.5; }
.sk-crane { fill: none; stroke: rgba(148, 180, 210, 0.45); stroke-width: 2; }
.sk-crane-solid { fill: rgba(148, 180, 210, 0.45); }
.sk-light { fill: var(--signal); animation: blip 1.8s ease-in-out infinite; }
.sk-win rect {
  fill: var(--phos);
  opacity: 0.12;
  animation: win-glow 6.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes win-glow {
  0%, 100% { opacity: 0.12; }
  40%, 60% { opacity: 0.75; }
}

/* ============ Chaos (paper) ============ */

.chaos { overflow: hidden; }
.chaos .section-inner { position: relative; z-index: 1; }
.chaos-dots {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.chaos-dots i {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.3;
  transition: transform 1.4s var(--ease-out), opacity 1.4s;
}
.chaos.in-order .chaos-dots i { opacity: 0.14; }

.scatter-word { display: inline-block; }
.scatter-word span { display: inline-block; transition: transform 0.9s var(--ease-spring); }

.chaos-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.6rem;
  margin-top: 2.8rem;
}
.chaos .lede { color: var(--ink-dim); font-size: 1.08rem; }
.chaos .lede b { color: var(--ink); }

/* ============ Speed to lead / call ============ */

.speed .display, .dispatch .display { max-width: 16ch; }

.call-stage {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 3.6rem;
  align-items: start;
}
@media (max-width: 900px) { .call-stage { grid-template-columns: 1fr; } }

.call-card {
  position: relative;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.04);
  overflow: hidden;
}
.call-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 80% 0%, var(--phos-glow), transparent 70%);
  pointer-events: none;
}

.call-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.call-id { display: flex; gap: 0.85rem; align-items: center; }
.call-avatar {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
  color: var(--phos-bright);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--phos-dim);
}
.call-id strong { display: block; font-size: 1.02rem; letter-spacing: 0.01em; }
.call-id .mono { font-size: 0.62rem; }
.dim { color: var(--fog-dim); }
.call-meta { display: flex; align-items: center; gap: 0.55rem; color: var(--phos-bright); }

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 42px;
  margin-bottom: 1.2rem;
}
.waveform i {
  flex: 1;
  height: 14%;
  border-radius: 3px;
  background: var(--phos);
  opacity: 0.85;
  transition: height 0.14s ease;
}

.transcript { display: grid; gap: 0.65rem; min-height: 205px; padding-bottom: 2.6rem; }
.t-line {
  max-width: 88%;
  padding: 0.7em 1em;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.t-line.show { opacity: 1; transform: none; }
.t-ai {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-bottom-left-radius: 4px;
}
.t-ai::before { content: "SCHEDULING ASSISTANT"; display: block; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; color: var(--phos-bright); margin-bottom: 0.35em; }
.t-human {
  justify-self: end;
  background: rgba(159, 176, 189, 0.09);
  border: 1px solid var(--hairline);
  border-bottom-right-radius: 4px;
  color: var(--fog);
}
.t-human::before { content: "JESSICA"; display: block; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; color: var(--fog-dim); margin-bottom: 0.35em; }

.call-stamp {
  position: absolute;
  right: 1.4rem; bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--phos-bright);
  border: 2px solid var(--phos-bright);
  border-radius: 8px;
  padding: 0.4em 0.9em;
  transform: rotate(8deg) scale(2.4);
  opacity: 0;
  transition: transform 0.45s var(--ease-spring), opacity 0.3s;
  text-shadow: 0 0 18px var(--phos-glow);
  box-shadow: 0 0 30px var(--phos-glow), inset 0 0 18px rgba(16, 185, 129, 0.08);
}
.call-stamp.show { opacity: 1; transform: rotate(-7deg) scale(1); }

.call-facts { list-style: none; display: grid; gap: 1.5rem; padding-top: 0.4rem; }
.call-facts li { color: var(--fog); font-size: 0.98rem; line-height: 1.55; }
.fact-k {
  display: block;
  color: var(--phos);
  margin-bottom: 0.35em;
}

/* ============ Dispatch lanes ============ */

.lanes {
  margin-top: 3.4rem;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 1.6rem clamp(1rem, 2.5vw, 2rem) 1.8rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}
.lanes::after {
  /* 10 AM highlight column */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--lane-label) + (100% - var(--lane-label)) * (2 / 6));
  width: calc((100% - var(--lane-label)) / 6);
  background: linear-gradient(180deg, transparent, var(--phos-glow) 30%, var(--phos-glow) 70%, transparent);
  opacity: 0;
  transition: opacity 1s;
  pointer-events: none;
}
.lanes.play::after { opacity: 1; }
.lanes { --lane-label: 176px; }
@media (max-width: 700px) { .lanes { --lane-label: 116px; } }

.lanes-axis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-left: var(--lane-label);
  color: var(--fog-dim);
  font-size: 0.62rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 0.4rem;
}

.lane { display: flex; align-items: center; min-height: 62px; border-bottom: 1px dashed rgba(148, 180, 210, 0.08); }
.lane:last-child { border-bottom: 0; }
.lane-head {
  width: var(--lane-label);
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding-right: 0.8rem;
}
.lane-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--phos); flex: none; }
.lane-dot.dot-warn { background: var(--amber); }
.lane-load { margin-left: auto; color: var(--fog-dim); font-size: 0.62rem; }

.lane-track { position: relative; flex: 1; height: 40px; }
.lane-block {
  position: absolute;
  top: 4px;
  height: 32px;
  left: calc((2 / 6) * 100%);
  width: calc((1 / 6) * 100% - 6px);
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0 0.8em;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-60px);
}
.lane-block b { font-family: var(--font-mono); font-weight: 500; font-size: 0.6rem; opacity: 0.75; }
/* No-JS: show blocks statically in place */
html:not(.js) .lane-block { opacity: 1; transform: none; }
.lanes.play .lane-block {
  animation: block-in 0.7s var(--ease-spring) forwards;
}
.lanes.play .lane[data-lane="2"] .lane-block { animation-delay: 0.25s; }
.lanes.play .lane[data-lane="3"] .lane-block { animation-delay: 0.5s; }
@keyframes block-in { to { opacity: 1; transform: none; } }

.lane-block[data-status="confirmed"] { background: rgba(16, 185, 129, 0.16); border: 1px solid rgba(16, 185, 129, 0.5); color: var(--phos-bright); }
.lane-block[data-status="notified"]  { background: rgba(125, 211, 252, 0.1); border: 1px solid rgba(125, 211, 252, 0.4); color: var(--sky); }
.lane-block[data-status="assigned"]  { background: rgba(255, 178, 36, 0.1); border: 1px solid rgba(255, 178, 36, 0.4); color: var(--amber); }

.lane-block-bounced {
  background: rgba(255, 93, 64, 0.08);
  border: 1px dashed rgba(255, 93, 64, 0.5);
  color: var(--signal);
}
.lanes.play .lane-block-bounced {
  /* Tries the 10 AM column, gets refused, hops to the 1 PM column */
  animation: block-bounce 2s var(--ease-out) 1s forwards;
}
@keyframes block-bounce {
  0%   { opacity: 0; left: calc((2 / 6) * 100%); transform: translateX(-60px); }
  28%  { opacity: 1; left: calc((2 / 6) * 100%); transform: none; }
  46%  { left: calc((2 / 6) * 100%); transform: translateX(7px) rotate(0.8deg); }
  58%  { left: calc((2 / 6) * 100%); transform: translateX(-3px); }
  100% { opacity: 1; left: calc((5 / 6) * 100%); transform: none; }
}
html:not(.js) .lane-block-bounced { left: calc((5 / 6) * 100%); }

.lanes-note {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
  color: var(--fog-dim);
  font-size: 0.62rem;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

/* Small screens: blocks become pure color chips (labels can't fit a
   one-hour column) — the caption + aria-label carry the story */
@media (max-width: 700px) {
  .lane-block { font-size: 0; justify-content: center; }
  .lane-block b { display: none; }
  .lane { min-height: 52px; }
  .lane-track { height: 34px; }
  .lane-block { height: 26px; }
}

/* Dispatch cards */
.dispatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin-top: 3rem;
}
.d-card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.7rem 1.6rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
}
.d-card:hover { border-color: var(--phos-dim); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 0 34px var(--phos-glow); }
.d-card h3 {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.d-num { color: var(--phos-bright); font-size: 1rem; }
.d-card p { color: var(--fog); font-size: 0.95rem; }

/* ============ Premium board (assistants) ============ */

.board {
  position: relative;
  margin-top: 3.4rem;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 1.5rem clamp(1rem, 2.5vw, 1.8rem) 1.7rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1.2rem;
}
.board-live { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--phos-bright); }
.board-duty { color: var(--fog-dim); }

.board-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 820px) { .board-cols { grid-template-columns: repeat(2, 1fr); } }

.b-col h5 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--fog-dim);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
.b-count { font-style: normal; color: var(--phos); }

.b-card {
  position: relative;
  background: rgba(10, 17, 32, 0.75);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.75rem 0.85rem 0.8rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.5s, box-shadow 0.5s, opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.b-card:last-child { margin-bottom: 0; }
.b-card strong { display: block; font-size: 0.88rem; letter-spacing: 0.01em; }
.b-card > span { display: block; color: var(--fog-dim); font-size: 0.72rem; margin-top: 0.1rem; }

.b-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.35em 0.7em;
  border-radius: 100px;
  white-space: nowrap;
}
.tag-sky   { color: var(--sky); background: rgba(125, 211, 252, 0.08); border: 1px solid rgba(125, 211, 252, 0.3); }
.tag-amber { color: var(--amber); background: rgba(255, 178, 36, 0.08); border: 1px solid rgba(255, 178, 36, 0.35); }
.tag-phos  { color: var(--phos-bright); background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.35); }

/* Tag flips: both states stacked; default (no JS) shows the "after" board */
.flip-tag { display: inline-grid; }
.flip-tag .b-tag {
  grid-area: 1 / 1;
  justify-self: start;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.flip-tag .ft-pre { opacity: 0; transform: translateY(-6px); }
.flip-tag .ft-post { opacity: 1; }

/* Pre-play states, only when JS will run the choreography */
html.js .board:not(.s1) .b-card-new { opacity: 0; transform: translateY(-14px); }
html.js .board:not(.s2) .b-card-quote .ft-pre,
html.js .board:not(.s3) .b-card-stall .ft-pre { opacity: 1; transform: none; }
html.js .board:not(.s2) .b-card-quote .ft-post,
html.js .board:not(.s3) .b-card-stall .ft-post { opacity: 0; transform: translateY(6px); }
html.js .board:not(.s3) .b-card-stall {
  border-color: rgba(255, 178, 36, 0.5);
  animation: stall-pulse 1.6s ease-in-out infinite;
}
@keyframes stall-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 178, 36, 0); }
  50% { box-shadow: 0 0 22px rgba(255, 178, 36, 0.18); }
}

/* The assistant's "touch": a phosphor ping when a card gets handled */
.board.s2 .b-card-quote, .board.s3 .b-card-stall {
  border-color: var(--phos-dim);
  animation: va-touch 1s var(--ease-out) 1;
}
@keyframes va-touch {
  0% { box-shadow: 0 0 0 0 rgba(60, 232, 169, 0.4); }
  100% { box-shadow: 0 0 0 16px rgba(60, 232, 169, 0); }
}

.b-stamp {
  position: absolute;
  top: 0.6rem; right: 0.7rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--phos-bright);
  border: 1.5px solid var(--phos-bright);
  border-radius: 6px;
  padding: 0.25em 0.55em;
  transform: rotate(-6deg);
  text-shadow: 0 0 12px var(--phos-glow);
  box-shadow: 0 0 16px var(--phos-glow);
  transition: transform 0.45s var(--ease-spring), opacity 0.3s;
}
html.js .board:not(.s4) .b-stamp { opacity: 0; transform: rotate(8deg) scale(2); }

.board-toast {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  padding: 0.6em 1em;
  border: 1px solid var(--phos-dim);
  border-radius: 100px;
  color: var(--phos-bright);
  background: rgba(16, 185, 129, 0.07);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  transition: opacity 0.6s var(--ease-out) 0.5s, transform 0.6s var(--ease-out) 0.5s;
}
html.js .board:not(.s4) .board-toast { opacity: 0; transform: translateY(10px); }

/* Ambient scanline: the assistant sweeping the board */
.board-scan {
  position: absolute;
  top: 0; bottom: 0;
  left: -18%;
  width: 15%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.05) 45%, rgba(16, 185, 129, 0.11) 50%, rgba(16, 185, 129, 0.05) 55%, transparent);
  animation: board-scan 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes board-scan {
  0% { left: -18%; }
  60%, 100% { left: 103%; }
}

.premium-note {
  margin-top: 1.6rem;
  color: var(--fog-dim);
  font-size: 0.62rem;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

/* ============ Receipts: the booking feed ============ */

.receipts-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 3.2rem;
  height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent);
}
.r-col { overflow: hidden; }
.r-track { display: flex; flex-direction: column; gap: 1.1rem; }
.r-track.is-looping { animation: r-scroll var(--dur, 50s) linear infinite; }
@keyframes r-scroll { to { transform: translateY(calc(-50% - 0.55rem)); } }
.receipts-wall:hover .r-track { animation-play-state: paused; }

.r-card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0.9rem 1rem 1rem;
  flex: none;
}
.r-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--phos-bright);
  margin-bottom: 0.45rem;
}
.r-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--phos-bright);
  box-shadow: 0 0 8px var(--phos-glow);
  flex: none;
}
.r-resched .r-head { color: var(--amber); }
.r-resched .r-dot { background: var(--amber); box-shadow: 0 0 8px rgba(255, 178, 36, 0.3); }
.r-card strong { font-size: 0.92rem; letter-spacing: 0.01em; }
.r-proj { display: block; color: var(--fog); font-size: 0.8rem; margin-top: 0.15rem; }
.r-mask { display: block; color: var(--fog-dim); font-size: 0.62rem; letter-spacing: 0.08em; margin-top: 0.3rem; }
.r-meta { margin-top: 0.5rem; color: var(--fog-dim); font-size: 0.56rem; letter-spacing: 0.12em; }

.receipts-close {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-top: 2.4rem;
}
.receipts-close em {
  font-style: italic;
  color: var(--signal);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

.receipts-note {
  margin-top: 1.2rem;
  color: var(--fog-dim);
  font-size: 0.62rem;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .receipts-wall { grid-template-columns: repeat(2, 1fr); }
  .r-col:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .receipts-wall { grid-template-columns: 1fr; height: 470px; }
  .r-col:nth-child(2) { display: none; }
}

/* ============ Numbers (paper) ============ */

.numbers { overflow: hidden; }
.numbers-radar {
  position: absolute;
  top: -160px; right: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(16, 19, 26, 0.09) 0 1.5px, transparent 1.5px 52px);
  pointer-events: none;
}
.numbers-radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(16, 19, 26, 0.08), transparent 16%);
  animation: radar-spin 16s linear infinite;
}
@keyframes radar-spin { to { transform: rotate(1turn); } }
@media (max-width: 700px) {
  .numbers-radar { width: 320px; height: 320px; top: -100px; right: -110px; }
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.4rem 3rem;
  margin-top: 1rem;
}
.num { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.num-val {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-weight: 500;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.num-label {
  display: block;
  margin-top: 0.7rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
  max-width: 24ch;
}
.numbers-foot { margin-top: 4rem; color: var(--ink-dim); }

/* ============ Journey ============ */

.journey-line {
  list-style: none;
  margin-top: 3.4rem;
  position: relative;
  display: grid;
  gap: 0;
}
.journey-line::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--phos), rgba(16, 185, 129, 0.05));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--ease-out);
}
.journey-line.draw::before { transform: scaleY(1); }

.j-step {
  position: relative;
  padding: 0 0 2.6rem 3rem;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.js .j-step { opacity: 0; transform: translateY(18px); }
html.js .j-step.in { opacity: 1; transform: none; }
.j-step::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--phos);
  box-shadow: 0 0 16px var(--phos-glow);
}
/* Big step numerals — the static 1-2-3-4 graphic */
.j-big {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  line-height: 1;
  color: var(--phos-bright);
  text-shadow: 0 0 26px var(--phos-glow);
  margin-bottom: 0.35rem;
}

.j-node { color: var(--phos-bright); display: inline-block; margin-bottom: 0.3rem; }
.j-step h4 {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.j-step p { color: var(--fog); max-width: 52ch; margin-top: 0.3rem; }

@media (min-width: 980px) {
  .journey-line { grid-template-columns: repeat(4, 1fr); gap: 3.4rem 2.2rem; }
  .journey-line::before {
    left: 10px; right: 10px; bottom: auto;
    top: 14px;
    width: auto; height: 2px;
    background: linear-gradient(90deg, var(--phos), rgba(16, 185, 129, 0.05));
    transform: scaleX(0);
    transform-origin: left;
  }
  .journey-line.draw::before { transform: scaleX(1); }
  .j-step { padding: 2.4rem 0 0 0; }
  .j-step::before { top: 7px; left: 0; }
}

/* ============ Finale ============ */

.finale { overflow: hidden; }
.finale .section-inner { padding-top: clamp(7rem, 16vh, 12rem); padding-bottom: clamp(7rem, 16vh, 12rem); }
.finale-halo {
  position: absolute;
  left: 50%; top: 58%;
  width: min(1100px, 130vw); height: min(1100px, 130vw);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(16, 185, 129, 0.16), rgba(16, 185, 129, 0.05) 45%, transparent 70%);
  animation: halo 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes halo { from { transform: translate(-50%, -50%) scale(0.94); opacity: 0.8; } to { transform: translate(-50%, -50%) scale(1.06); opacity: 1; } }

/* Orbiting blips around the halo: the radar motif, closing the loop */
.finale-orbits {
  position: absolute;
  left: 50%; top: 58%;
  width: 0; height: 0;
  pointer-events: none;
}
.orbit {
  position: absolute;
  left: 50%; top: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}
.orbit-a {
  width: min(430px, 64vw); height: min(430px, 64vw);
  animation: orbit-spin 26s linear infinite;
}
.orbit-b {
  width: min(660px, 92vw); height: min(660px, 92vw);
  border-color: rgba(125, 211, 252, 0.14);
  animation: orbit-spin 44s linear infinite reverse;
}
.orbit b {
  position: absolute;
  top: -4px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--phos-bright);
  box-shadow: 0 0 14px var(--phos-glow), 0 0 4px var(--phos-bright);
}
.orbit-b b { background: var(--sky); box-shadow: 0 0 12px rgba(125, 211, 252, 0.4); }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(1turn); } }
.finale .lede { margin: 0 auto; }
.finale .hero-actions { justify-content: center; }
/* Contact form */
.contact-form {
  max-width: 640px;
  margin: 3rem auto 0;
  text-align: left;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 560px) { .cf-grid { grid-template-columns: 1fr; } }
.cf-field { display: block; }
.cf-field > span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--phos);
  margin-bottom: 0.45rem;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(4, 7, 13, 0.6);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 0.75em 0.9em;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cf-field textarea { resize: vertical; min-height: 96px; }
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--phos-dim);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--fog-dim); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.3rem;
}
.cf-note {
  color: var(--fog-dim);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cf-status {
  min-height: 1.2em;
  margin-top: 0.9rem;
  color: var(--signal);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}
.cf-done {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  padding: 0.9em 1.5em;
  border: 1px solid var(--phos-dim);
  border-radius: 100px;
  color: var(--phos-bright);
  background: rgba(16, 185, 129, 0.07);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}
.cf-done[hidden] { display: none; }

/* ============ Footer ============ */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--hairline);
  background: rgba(4, 7, 13, 0.8);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.4rem clamp(1.4rem, 5vw, 4rem);
  display: grid;
  gap: 1.2rem;
}
.footer-brand { font-size: 0.9rem; letter-spacing: 0.2em; color: var(--fog); }
.footer-brand b { color: var(--phos-bright); }
.footer-line { color: var(--fog-dim); font-size: 0.95rem; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--fog-dim);
  font-size: 0.62rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
  margin-top: 1rem;
}
.footer-meta-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-meta a { color: var(--phos); transition: color 0.25s; }
.footer-meta a:hover { color: var(--phos-bright); }
.footer-meta b { color: var(--fog); }

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }
  .t-line { opacity: 1; transform: none; }
  .lane-block, html.js .lanes:not(.play) .lane-block { opacity: 1 !important; transform: none !important; }
  .call-stamp { opacity: 1; transform: rotate(-7deg); }
  .journey-line::before { transform: none !important; }
  .j-step, html.js .j-step { opacity: 1 !important; transform: none !important; }
  .cursor { display: none; }
  .ticker-track { animation: none !important; }
  .aurora { animation: none !important; }
  .board-scan { display: none; }
  html.js .board .b-card-new,
  html.js .board .ft-post { opacity: 1 !important; transform: none !important; }
  html.js .board .ft-pre { opacity: 0 !important; }
  html.js .board .b-stamp { opacity: 1 !important; transform: rotate(-6deg) !important; }
  html.js .board .board-toast { opacity: 1 !important; transform: none !important; }
  html.js .board .b-card-stall { animation: none !important; border-color: var(--hairline) !important; }
}
