/* RoadWorks Inc — Vanishing Highway layout */
:root {
  --void: #0c0d0f;
  --asphalt: #181b20;
  --asphalt-mid: #242830;
  --asphalt-light: #2f343d;
  --amber: #fabf2e;
  --amber-hot: #ffd055;
  --stripe: #ffe066;
  --green: #4dc773;
  --sky-day: #4a6175;
  --sky-night: #0a1220;
  --text: #f4f4f5;
  --muted: #9aa3af;
  --line: rgba(255, 255, 255, 0.07);
  --glow: rgba(250, 191, 46, 0.35);
  --radius: 18px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber-hot); }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Masthead ===== */
.masthead {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 32px), var(--max));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 12px;
  background: rgba(12, 13, 15, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.masthead__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}

.masthead__brand img {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(250, 191, 46, 0.25);
}

.masthead__name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.masthead__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead__nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.masthead__nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.masthead__nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.masthead__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
}

.masthead__toggle i {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: 0.25s;
}

.masthead__toggle i:first-child { top: 16px; transform: translateX(-50%); }
.masthead__toggle i:last-child { top: 22px; transform: translateX(-50%); }

.masthead__toggle.is-open i:first-child { top: 19px; transform: translateX(-50%) rotate(45deg); }
.masthead__toggle.is-open i:last-child { top: 19px; transform: translateX(-50%) rotate(-45deg); }

/* ===== Horizon hero ===== */
.horizon-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 40px;
}

.horizon-hero__sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 45% at 70% 20%, rgba(250, 191, 46, 0.12), transparent 60%),
    linear-gradient(180deg, #1a2530 0%, var(--void) 55%, var(--asphalt) 100%);
}

.horizon-hero__glow {
  position: fixed;
  width: 600px;
  height: 600px;
  right: -100px;
  top: 10%;
  z-index: -2;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  filter: blur(40px);
  animation: glow-drift 8s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.08); }
}

.horizon-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.horizon-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.horizon-hero__title span {
  background: linear-gradient(105deg, var(--amber), var(--stripe));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.horizon-hero__text {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 28px;
}

.horizon-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.2s;
}

.pill--fill {
  background: linear-gradient(135deg, var(--amber), #e5a318);
  color: var(--void);
  box-shadow: 0 12px 32px rgba(250, 191, 46, 0.28);
}

.pill--fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(250, 191, 46, 0.38);
  color: var(--void);
}

.pill--ghost {
  border: 1px solid rgba(250, 191, 46, 0.35);
  color: var(--text);
}

.pill--ghost:hover {
  background: rgba(250, 191, 46, 0.08);
  transform: translateY(-2px);
  color: var(--amber);
}

/* Perspective roadscape */
.horizon-hero__roadscape {
  position: relative;
  height: min(520px, 70vh);
  perspective: 900px;
}

.roadscape {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.roadscape__lane {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 140%;
  height: 120%;
  transform: translateX(-50%) rotateX(68deg);
  transform-origin: bottom center;
  background: linear-gradient(180deg, #1a1c20 0%, #0e0f11 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.6);
}

.roadscape__lane::before,
.roadscape__lane::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  background: repeating-linear-gradient(
    180deg,
    var(--stripe) 0,
    var(--stripe) 24px,
    #1a1c20 24px,
    #1a1c20 48px
  );
  opacity: 0.85;
}

.roadscape__lane::before { left: 8%; }
.roadscape__lane::after { right: 8%; }

.roadscape__dash {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    180deg,
    var(--stripe) 0,
    var(--stripe) 32px,
    transparent 32px,
    transparent 64px
  );
  animation: dash-scroll 1.2s linear infinite;
}

@keyframes dash-scroll {
  from { background-position: 0 0; }
  to { background-position: 0 64px; }
}

.roadscape__unit {
  position: absolute;
  width: 72px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55));
  animation: unit-drive 6s ease-in-out infinite;
}

.roadscape__unit--a {
  left: 18%;
  bottom: 28%;
  animation-delay: 0s;
}

.roadscape__unit--b {
  left: 44%;
  bottom: 34%;
  width: 80px;
  animation-delay: 1.5s;
}

.roadscape__unit--c {
  right: 16%;
  bottom: 26%;
  animation-delay: 3s;
}

@keyframes unit-drive {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
  50% { transform: translateY(-18px) scale(1.06); opacity: 1; }
}

.horizon-hero__hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hud-chip {
  padding: 12px 10px;
  background: rgba(12, 13, 15, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.hud-chip span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.hud-chip b {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--amber);
}

.hud-chip--live b { color: var(--green); }

/* ===== Marquee ===== */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--asphalt);
  overflow: hidden;
  padding: 14px 0;
}

.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__track img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Panels ===== */
.panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px;
}

.panel--dark {
  max-width: none;
  background:
    linear-gradient(180deg, transparent, rgba(250, 191, 46, 0.03) 50%, transparent),
    var(--asphalt);
  border-block: 1px solid var(--line);
}

.panel--dark > * {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.panel--legal {
  padding-bottom: 80px;
}

.panel__head { margin-bottom: 48px; }

.panel__head--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
}

.panel__aside {
  color: var(--muted);
  font-size: 0.98rem;
}

.panel__lead {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 12px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.eyebrow--amber { color: var(--amber); }
.eyebrow--center { text-align: center; }

.panel__head h2,
.legal-frame h2,
.dispatch__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* ===== Chronicle ===== */
.chronicle {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.chronicle__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--asphalt-mid);
  border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.chronicle__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.chronicle__card--featured {
  grid-row: span 1;
}

.chronicle__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.chronicle__card--featured .chronicle__visual {
  aspect-ratio: 16/11;
}

.chronicle__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.chronicle__card:hover .chronicle__visual img {
  transform: scale(1.06);
}

.chronicle__chapter {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--void);
  background: var(--amber);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(250, 191, 46, 0.35);
}

.chronicle__body {
  padding: 20px 18px 22px;
}

.chronicle__body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.chronicle__body p {
  font-size: 0.92rem;
  color: var(--muted);
}

.stat-ribbon {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-ribbon li {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--asphalt-mid), var(--asphalt));
  border: 1px solid var(--line);
}

.stat-ribbon strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-ribbon span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Bento ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 14px;
}

.bento__tile {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--asphalt-mid);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.bento__tile:hover {
  border-color: rgba(250, 191, 46, 0.25);
  transform: translateY(-4px);
}

.bento__tile--map {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.bento__tile--wide {
  grid-column: span 2;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 0.6s, opacity 0.3s;
}

.bento__tile:hover .bento__bg {
  transform: scale(1.04);
  opacity: 0.55;
}

.bento__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(12, 13, 15, 0.92) 100%);
}

.bento__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.bento__label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 8px;
}

.bento__tile h3 {
  position: relative;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.bento__tile p {
  position: relative;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ===== Shift console ===== */
.console {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--asphalt);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.console__visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.console__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sky-day), #2a3540 60%, var(--asphalt));
  transition: background 0.8s ease;
}

.console[data-mode="night"] .console__sky {
  background: linear-gradient(180deg, var(--sky-night), #121820 55%, #0a0b0d);
}

.console__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

.console__beams {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    conic-gradient(from 220deg at 80% 10%, rgba(250, 191, 46, 0.25), transparent 40%),
    conic-gradient(from 140deg at 20% 15%, rgba(250, 191, 46, 0.18), transparent 35%);
  transition: opacity 0.8s;
  pointer-events: none;
}

.console[data-mode="night"] .console__beams { opacity: 1; }

.console__fleet {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.console__machine {
  width: 64px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s, filter 0.4s;
}

.console[data-mode="night"] .console__machine {
  filter: drop-shadow(0 0 16px rgba(250, 191, 46, 0.35)) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
  transform: translateY(-4px);
}

.console__desk {
  padding: 28px 26px;
  background: linear-gradient(160deg, var(--asphalt-light), var(--asphalt-mid));
  border-left: 1px solid var(--line);
}

.console__toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.console__mode {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.console__mode.is-active {
  background: rgba(250, 191, 46, 0.14);
  border-color: rgba(250, 191, 46, 0.4);
  color: var(--amber);
}

.console__brief {
  font-size: 0.92rem;
  color: var(--muted);
  min-height: 68px;
  margin-bottom: 18px;
}

.console__readouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.console__readouts div {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
}

.console__readouts dt {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 4px;
}

.console__readouts dd {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--amber);
}

.console__contract {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.console__status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  background: rgba(77, 199, 115, 0.12);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.console[data-mode="night"] .console__status {
  color: var(--amber);
  background: rgba(250, 191, 46, 0.12);
}

.console__contract strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.console__contract span {
  font-size: 11px;
  color: var(--muted);
}

.console__meter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console__meter > span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.meter {
  flex: 1;
  height: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  width: 34%;
  background: linear-gradient(90deg, #c8941a, var(--amber));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.console__meter b {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--amber);
  min-width: 40px;
  text-align: right;
}

/* ===== Legal ===== */
.legal-frame {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(var(--asphalt-mid), var(--asphalt-mid)) padding-box,
    linear-gradient(135deg, rgba(250, 191, 46, 0.35), transparent 50%, rgba(250, 191, 46, 0.15)) border-box;
  border: 1px solid transparent;
  position: relative;
}

.legal-frame__stamp {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(250, 191, 46, 0.45);
  border: 1px solid rgba(250, 191, 46, 0.25);
  padding: 6px 10px;
  border-radius: 6px;
  transform: rotate(3deg);
}

.legal-frame h2 {
  text-align: center;
  margin-bottom: 16px;
}

.legal-frame__intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 8px;
}

.legal-frame__date {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
}

.legal-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-accordion details {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  overflow: hidden;
}

.legal-accordion summary {
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-accordion summary::-webkit-details-marker { display: none; }

.legal-accordion summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 18px;
  transition: transform 0.25s;
}

.legal-accordion details[open] summary::after {
  transform: rotate(45deg);
}

.legal-accordion p {
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Dispatch / Support ===== */
.dispatch {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.dispatch__intro p {
  color: var(--muted);
  margin-top: 14px;
}

.dispatch__tip {
  font-size: 0.88rem !important;
  margin-top: 16px !important;
  padding-left: 14px;
  border-left: 2px solid var(--amber);
}

.dispatch__channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dispatch__channel {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--asphalt-mid);
  border: 1px solid var(--line);
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.dispatch__channel:hover {
  transform: translateX(6px);
  border-color: rgba(250, 191, 46, 0.35);
  box-shadow: -4px 0 0 var(--amber);
  color: inherit;
}

.dispatch__freq {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.08em;
}

.dispatch__channel strong {
  font-size: 14px;
}

.dispatch__channel b {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.dispatch__channel:hover b { color: var(--amber); }

/* ===== Footer ===== */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.foot img { border-radius: 8px; }

.foot p {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  min-width: 200px;
}

.foot nav {
  display: flex;
  gap: 20px;
}

.foot nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .horizon-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .horizon-hero__text { margin-inline: auto; }
  .horizon-hero__cta { justify-content: center; }
  .horizon-hero__roadscape { height: 380px; }

  .chronicle { grid-template-columns: 1fr; }
  .panel__head--split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__tile--map,
  .bento__tile--wide { grid-column: span 2; }
  .console { grid-template-columns: 1fr; }
  .console__desk { border-left: 0; border-top: 1px solid var(--line); }
  .dispatch { grid-template-columns: 1fr; }
  .stat-ribbon { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .masthead__nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 12px;
    background: rgba(12, 13, 15, 0.95);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .masthead__nav.is-open {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }

  .masthead__toggle { display: block; margin-left: auto; }

  .horizon-hero__hud { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento__tile--map,
  .bento__tile--wide { grid-column: span 1; }
  .legal-frame__stamp { display: none; }
  .panel { padding: 72px 20px; }
}
