@import url("../fonts/fonts.css");

/* ============================================================================
   VISHNU JOGAPPAGARI — SECTOR
   Visual world: air traffic control. Sectional chart, flight progress strips,
   night scope. Every corner is square. Every rule is a hairline.
   ========================================================================== */

:root {
  /* --- scope (dark zones) --- */
  --scope:        #0A0E0D;
  --scope-2:      #111917;
  --scope-3:      #18201E;
  --scope-line:   #22302C;
  --phosphor:     #48E0A0;

  /* --- chart (light zones) --- */
  --chart:        #CFCBB6;
  --chart-2:      #C4C0AA;
  --chart-hi:     #E4E1D2;
  --chart-line:   #A9A48D;

  /* --- named roles --- */
  --magenta:      #A00A61;
  --magenta-lo:   #E8B9D4;
  --cyan:         #145A78;
  --cyan-lo:      #B6D3DF;
  --terrain:      #A87D45;
  --relief:       #3F5A34;
  --amber:        #D97E00;

  /* --- ink --- */
  --ink:          #131615;
  --ink-2:        #3A403D;
  --ink-3:        #4B514E;
  --paper:        #EFEDE2;
  --paper-2:      #B9B7A6;
  --paper-3:      #8A897B;

  /* --- type --- */
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --cond:    "Barlow Condensed", "Archivo", ui-sans-serif, sans-serif;
  --mono:    "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* --- metrics --- */
  --gut: clamp(16px, 4.2vw, 56px);
  --rule: 1px;
  --strip-h: 74px;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.62,.03,.2,1);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--scope);
  scroll-behavior: auto;
}
/* Lenis owns the scroll. Native smooth-scroll fights it and causes the stutter. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* no Lenis (reduced motion, or script blocked): give the browser its own smoothing */
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

body {
  font-family: var(--display);
  font-variation-settings: "wdth" 100;
  background: var(--scope);
  color: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
/* the width/height attributes are presentational hints; without this they
   beat aspect-ratio and blow the intrinsic box out */
img[width][height] { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

/* --- browser surfaces: theme what we did not draw --- */
::selection { background: var(--magenta); color: #fff; }
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
* { scrollbar-width: thin; scrollbar-color: var(--scope-line) var(--scope); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--scope); }
::-webkit-scrollbar-thumb { background: var(--scope-line); border: 3px solid var(--scope); }
::-webkit-scrollbar-thumb:hover { background: var(--phosphor); }
.zone-chart ::selection { background: var(--magenta); color: var(--chart-hi); }

/* ============================================================ primitives == */
.wrap { width: min(1560px, 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-tight { width: min(1180px, 100% - var(--gut) * 2); margin-inline: auto; }

/* chart label — the small tracked condensed caps used across the whole system */
.lbl {
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(10px, .74vw, 12px);
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1;
}
.dat {
  font-family: var(--mono);
  font-size: clamp(10px, .7vw, 11.5px);
  font-weight: 400;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.05em; }

h1, h2, h3, h4 { font-weight: 800; line-height: .92; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-variation-settings: "wdth" 118; }
h2 { font-variation-settings: "wdth" 112; }

.h-xl  { font-size: clamp(2.6rem, 8.4vw, 6rem); }
.h-lg  { font-size: clamp(2rem, 5.2vw, 3.9rem); }
.h-md  { font-size: clamp(1.35rem, 2.5vw, 2.05rem); letter-spacing: -.028em; }
.h-sm  { font-size: clamp(1.05rem, 1.5vw, 1.28rem); letter-spacing: -.022em; font-variation-settings: "wdth" 104; }

.prose { font-size: clamp(15px, 1.06vw, 17px); line-height: 1.62; max-width: 68ch; color: var(--paper-2); }
.zone-chart .prose { color: var(--ink-2); }
.prose strong { color: var(--paper); font-weight: 650; }
.zone-chart .prose strong { color: var(--ink); }

.ico { width: 1em; height: 1em; flex: none; }

/* ================================================================ zones === */
.zone { position: relative; }
.zone-scope { background: var(--scope); color: var(--paper); }
.zone-chart { background: var(--chart); color: var(--ink); }

/* the sectional grid — hairline graticule, drawn not decorated */
.zone-chart::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(19,22,21,.09) var(--rule), transparent var(--rule)),
    linear-gradient(to bottom, rgba(19,22,21,.09) var(--rule), transparent var(--rule));
  background-size: 96px 96px;
}
.zone-scope > .scope-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(72,224,160,.055) var(--rule), transparent var(--rule)),
    linear-gradient(to bottom, rgba(72,224,160,.055) var(--rule), transparent var(--rule));
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
}

/* zone seam — the hard registration edge between chart and scope, drawn as a
   chart tick rule rather than a bar sitting on top of one */
.seam {
  height: 3px; z-index: 3; position: relative;
  background:
    repeating-linear-gradient(90deg, var(--magenta) 0 22px, var(--ink) 22px 44px);
}

/* ============================================================== chrome ==== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 20px;
  padding: 12px var(--gut);
  background: color-mix(in srgb, var(--scope) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: var(--rule) solid var(--scope-line);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.nav.on-chart {
  background: color-mix(in srgb, var(--chart) 86%, transparent);
  border-bottom-color: var(--chart-line);
  color: var(--ink);
}
.nav__id { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.nav__call {
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  letter-spacing: -.04em; color: var(--phosphor);
}
.nav.on-chart .nav__call { color: var(--magenta); }
.nav__sub { color: var(--paper-3); }
.nav.on-chart .nav__sub { color: var(--ink-3); }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 7px 11px; color: var(--paper-2);
  border: var(--rule) solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.nav.on-chart .nav__links a { color: var(--ink-2); }
.nav__links a:hover { color: var(--phosphor); border-color: var(--scope-line); }
.nav.on-chart .nav__links a:hover { color: var(--magenta); border-color: var(--chart-line); background: var(--chart-hi); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: var(--rule) solid var(--phosphor); color: var(--phosphor);
  transition: background .22s var(--ease), color .22s var(--ease);
}
.nav__cta:hover { background: var(--phosphor); color: var(--scope); }
.nav.on-chart .nav__cta { border-color: var(--magenta); color: var(--magenta); }
.nav.on-chart .nav__cta:hover { background: var(--magenta); color: var(--chart-hi); }

.nav__burger { display: none; }

@media (max-width: 900px) {
  .nav { padding: 10px var(--gut); }
  .nav__links {
    position: fixed; inset: 49px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--scope); border-bottom: var(--rule) solid var(--scope-line);
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease);
  }
  .nav__links a { padding: 15px var(--gut); border-bottom: var(--rule) solid var(--scope-line); }
  .nav[data-open="true"] .nav__links { clip-path: inset(0 0 0 0); }
  .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-items: center; width: 34px; height: 30px;
    border: var(--rule) solid var(--scope-line);
  }
  .nav.on-chart .nav__burger { border-color: var(--chart-line); }
  .nav__burger span { display: block; width: 15px; height: 1px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; transition: box-shadow .2s; }
  .nav[data-open="true"] .nav__burger span { box-shadow: none; }
}

/* ================================================================= hero === */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
#sector-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* HTML labels projected from 3D — crisp text beats sprite text */
.tracks { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.track {
  position: absolute; left: 0; top: 0;
  white-space: nowrap; opacity: 0;
  transition: opacity .45s var(--ease);
  border-left: var(--rule) solid var(--phosphor);
  padding: 3px 0 3px 9px;
}
.track--l {
  border-left: 0; border-right: var(--rule) solid var(--phosphor);
  padding: 3px 9px 3px 0; text-align: right;
}
.track b { display: block; font-family: var(--cond); font-weight: 600; font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--phosphor); line-height: 1.15; }
.track i { display: block; font-family: var(--mono); font-style: normal; font-size: 9.5px; color: color-mix(in srgb, var(--phosphor) 62%, var(--scope)); letter-spacing: -.03em; }

.hero__inner {
  position: relative; z-index: 3;
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 108px 0 0;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  color: var(--phosphor); margin-bottom: 20px;
}
.hero__meta .dot {
  width: 6px; height: 6px; background: var(--phosphor); display: inline-block;
  margin-right: 8px; vertical-align: middle;
  animation: pulse 2.4s var(--ease-io) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .18; } }
@media (prefers-reduced-motion: reduce) { .hero__meta .dot { animation: none; } }

.hero h1 {
  font-size: clamp(2.8rem, 11.2vw, 10.5rem);
  line-height: .82; letter-spacing: -.055em;
  font-variation-settings: "wdth" 122; font-weight: 800;
  color: var(--paper); margin-bottom: 6px;
}
.hero h1 em {
  font-style: normal; display: block;
  color: transparent; -webkit-text-stroke: 1.4px var(--paper-3);
}
.hero__line {
  display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: flex-end;
  padding: 22px 0 0; margin-top: 26px;
  border-top: var(--rule) solid var(--scope-line);
}
.hero__role { font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; color: var(--paper-2); max-width: 46ch; line-height: 1.42; }
.hero__role b { color: var(--paper); font-weight: 700; }

/* the strip readout across the bottom of the scope */
.readout {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: var(--rule) solid var(--scope-line);
  margin-top: 30px;
}
.readout div {
  padding: 16px 18px 18px 0; border-right: var(--rule) solid var(--scope-line);
}
.readout div:last-child { border-right: 0; }
.readout div:not(:first-child) { padding-left: 18px; }
.readout span { display: block; color: var(--paper-3); margin-bottom: 9px; }
.readout strong {
  display: block; font-family: var(--mono); font-weight: 600;
  font-size: clamp(1.15rem, 2.5vw, 2.05rem); letter-spacing: -.06em;
  color: var(--phosphor); line-height: 1;
}
.readout small { display: block; color: var(--paper-3); font-size: 11px; margin-top: 7px; font-family: var(--cond); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) {
  .readout { grid-template-columns: repeat(2, 1fr); }
  .readout div { border-bottom: var(--rule) solid var(--scope-line); padding-block: 13px; }
  .readout div:nth-child(2n) { border-right: 0; }
  .readout div:nth-child(2n+1) { padding-left: 0; }
  .readout div:nth-child(n+3) { border-bottom: 0; }
}

.hero__scroll {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 0 22px; color: var(--paper-3);
}
.hero__scroll .ico { width: 14px; height: 14px; animation: nudge 2.6s var(--ease-io) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll .ico { animation: none; } }

/* ============================================================== sections == */
.sec { padding: clamp(70px, 9vw, 138px) 0; position: relative; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 44px; margin-bottom: clamp(34px, 4.4vw, 64px); }
.sec__head h2 { flex: 1 1 460px; }
.sec__note { flex: 0 1 400px; }
.sec__idx {
  font-family: var(--mono); font-size: 11px; letter-spacing: -.02em;
  color: var(--magenta); border: var(--rule) solid currentColor;
  padding: 4px 8px; align-self: flex-start;
}
.zone-scope .sec__idx { color: var(--phosphor); }

/* ------------------------------------------------- discipline strip bay -- */
.bay { border-top: var(--rule) solid var(--chart-line); }
.strip {
  display: grid; align-items: center;
  grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.55fr) 128px;
  gap: 0 26px; min-height: var(--strip-h);
  border-bottom: var(--rule) solid var(--chart-line);
  padding: 18px 0; position: relative;
  transition: background .3s var(--ease);
}
/* a controller marks a strip by ruling under it, not by tabbing its edge */
.strip { transition: background .3s var(--ease), border-bottom-color .3s var(--ease); }
.strip:hover { background: var(--chart-hi); border-bottom-color: var(--magenta); }
.strip:hover .strip__name { color: var(--magenta); }
.strip__name { transition: color .3s var(--ease); }
.strip__seq { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: -.04em; padding-left: 14px; transition: transform .42s var(--ease); }
.strip:hover .strip__seq { transform: translateX(8px); }
.strip__name { font-family: var(--display); font-weight: 750; font-size: clamp(1.05rem, 2vw, 1.62rem); letter-spacing: -.032em; font-variation-settings: "wdth" 108; line-height: 1.05; }
.strip__desc { color: var(--ink-2); font-size: clamp(13.5px, 1vw, 15px); line-height: 1.5; }
.strip__tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.strip__tags span { border: var(--rule) solid var(--chart-line); padding: 3px 6px; color: var(--ink-2); font-family: var(--cond); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; }
@media (max-width: 900px) {
  .strip { grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 17px 0; }
  .strip__seq { padding-left: 0; grid-row: 1; }
  .strip:hover .strip__seq { transform: translateX(6px); }
  .strip__name { grid-column: 2; }
  .strip__desc { grid-column: 2; }
  .strip__tags { grid-column: 2; justify-content: flex-start; margin-top: 4px; }
}

/* ------------------------------------------------------------- the route -- */
.route { position: relative; }
.route__spine { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--chart-line); }
.route__spine i { position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--magenta); transform-origin: top; transform: scaleY(0); }
.leg {
  display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 0 40px;
  padding: clamp(28px, 4vw, 52px) 0 clamp(28px, 4vw, 52px) 40px;
  border-bottom: var(--rule) dashed var(--chart-line); position: relative;
}
.leg:last-child { border-bottom: 0; }
.leg::before {
  content: ""; position: absolute; left: -5px; top: calc(clamp(28px, 4vw, 52px) + 8px);
  width: 12px; height: 12px; background: var(--chart); border: 2px solid var(--magenta);
  transform: rotate(45deg);
}
.leg__wpt { }
.leg__wpt b { display: block; font-family: var(--mono); font-size: 12px; color: var(--magenta); letter-spacing: -.02em; margin-bottom: 8px; }
.leg__wpt span { display: block; color: var(--ink-3); }
.leg h3 { font-size: clamp(1.3rem, 3.1vw, 2.3rem); font-variation-settings: "wdth" 110; margin-bottom: 12px; }
.leg p { color: var(--ink-2); font-size: clamp(14.5px, 1.05vw, 16.5px); line-height: 1.6; max-width: 62ch; }
.leg__take {
  margin-top: 16px; display: inline-block; border-left: 2px solid var(--terrain);
  padding: 3px 0 3px 12px; color: var(--ink); font-weight: 600;
  font-size: clamp(13.5px, 1vw, 15px);
}
@media (max-width: 780px) {
  .leg { grid-template-columns: 1fr; gap: 12px; padding-left: 28px; }
  .leg::before { left: -5px; }
}

/* --------------------------------------------------------- approach plate -- */
.plates { display: flex; flex-direction: column; gap: clamp(52px, 7vw, 104px); }
.plate { border-top: 2px solid var(--ink); padding-top: 22px; }
.zone-scope .plate { border-top-color: var(--phosphor); }
.plate__bar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 22px;
}
.plate__sector { color: var(--magenta); }
.zone-scope .plate__sector { color: var(--phosphor); }
.plate__id { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-left: auto; letter-spacing: -.02em; }
.zone-scope .plate__id { color: var(--paper-3); }

.plate__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; }
.plate h3 { font-size: clamp(1.7rem, 4vw, 3.05rem); margin-bottom: 16px; font-variation-settings: "wdth" 114; }
.plate__lede { font-size: clamp(15.5px, 1.25vw, 19px); line-height: 1.5; font-weight: 550; margin-bottom: 18px; letter-spacing: -.012em; }
.zone-chart .plate__lede { color: var(--ink); }
.plate__body { color: var(--ink-2); font-size: clamp(14px, 1vw, 15.5px); line-height: 1.64; }
.zone-scope .plate__body { color: var(--paper-2); }

.plate__specs { margin-top: 22px; border-top: var(--rule) solid var(--chart-line); }
.zone-scope .plate__specs { border-top-color: var(--scope-line); }
.plate__specs div { display: flex; gap: 16px; padding: 9px 0; border-bottom: var(--rule) solid var(--chart-line); align-items: baseline; }
.zone-scope .plate__specs div { border-bottom-color: var(--scope-line); }
.plate__specs dt { flex: 0 0 92px; color: var(--ink-3); font-family: var(--cond); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.zone-scope .plate__specs dt { color: var(--paper-3); }
.plate__specs dd { font-family: var(--mono); font-size: 11.5px; letter-spacing: -.03em; color: var(--ink); line-height: 1.5; }
.zone-scope .plate__specs dd { color: var(--paper); }

.plate__figs { display: flex; flex-direction: column; gap: 14px; }
.fig { border: var(--rule) solid var(--chart-line); background: var(--scope); position: relative; overflow: hidden; }
.zone-scope .fig { border-color: var(--scope-line); }
.fig img { width: 100%; height: auto; display: block; }
.fig figcaption {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 8px 11px; background: var(--ink); color: var(--paper-2);
  border-top: var(--rule) solid var(--scope-line);
}
.fig figcaption b { color: var(--phosphor); font-weight: 600; }

.plate__cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  border: var(--rule) solid var(--ink); padding: 10px 15px;
  transition: background .26s var(--ease), color .26s var(--ease), gap .26s var(--ease);
}
.plate__cta:hover { background: var(--ink); color: var(--chart-hi); gap: 15px; }
.plate__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.plate__links .plate__cta { margin-top: 0; }

.zone-scope .plate__cta { border-color: var(--phosphor); color: var(--phosphor); }
.zone-scope .plate__cta:hover { background: var(--phosphor); color: var(--scope); }

@media (max-width: 980px) {
  .plate__grid { grid-template-columns: 1fr; }
  .plate__figs { order: -1; }
}

/* ------------------------------------------------------------ scope wall -- */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--rule); background: var(--scope-line); border: var(--rule) solid var(--scope-line); }
.cell { background: var(--scope-2); position: relative; overflow: hidden; display: block; }
/* the whole canvas has to be legible, so it is fitted, never cropped */
.cell__shot {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  padding: 12px; background: var(--scope);
  border-bottom: var(--rule) solid var(--scope-line);
  overflow: hidden;
}
.cell__shot img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; opacity: .88;
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.cell:hover .cell__shot img { opacity: 1; transform: scale(1.02); }
.cell--link { cursor: pointer; }
.cell--link:hover .cell__meta { background: var(--scope-3); }
.cell--link:hover .cell__meta b { color: var(--phosphor); }
.cell__meta { transition: background .28s var(--ease); }
.cell__meta b { transition: color .28s var(--ease); }
.cell__go { width: 13px; height: 13px; color: var(--phosphor); opacity: .5; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.cell--link:hover .cell__go { opacity: 1; transform: translate(2px, -2px); }

.cell__meta { display: flex; align-items: center; gap: 10px; padding: 11px 13px; }
.cell__meta b { font-family: var(--cond); font-weight: 600; font-size: 13.5px; letter-spacing: .11em; text-transform: uppercase; margin-right: auto; }
.cell__n { font-family: var(--mono); font-size: 10.5px; color: var(--phosphor); letter-spacing: -.04em; }
.cell__live { width: 5px; height: 5px; background: var(--phosphor); animation: pulse 2.4s var(--ease-io) infinite; }
@media (prefers-reduced-motion: reduce) { .cell__live { animation: none; } }

/* ----------------------------------------------------------- departures --- */
.board { border-top: 2px solid var(--ink); }
.board__row {
  display: grid; grid-template-columns: 76px minmax(0,1.15fr) minmax(0,1fr) 152px 104px;
  gap: 20px; align-items: center; padding: 14px 0;
  border-bottom: var(--rule) solid var(--chart-line);
  transition: background .28s var(--ease), border-bottom-color .28s var(--ease);
}
.board__row:hover { background: var(--chart-hi); border-bottom-color: var(--magenta); }
.board__row:hover b { color: var(--magenta); }
.board__row b { transition: color .28s var(--ease); }
.board__head { color: var(--ink-3); border-bottom: var(--rule) solid var(--ink); }
.board__head:hover { background: none; border-bottom-color: var(--ink); }
.board__head:hover b { color: inherit; }
.board__row b { font-weight: 700; font-size: clamp(14.5px, 1.15vw, 17px); letter-spacing: -.022em; }
.board__row .dat { color: var(--ink-2); }
.st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--cond); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.st i { width: 6px; height: 6px; display: block; }
.st--live { color: var(--relief); } .st--live i { background: var(--relief); }
.st--built { color: var(--ink-3); } .st--built i { background: var(--ink-3); }
.st--ship { color: var(--cyan); } .st--ship i { background: var(--cyan); }
@media (max-width: 980px) {
  .board__row { grid-template-columns: 58px minmax(0, 1fr); gap: 3px 14px; padding: 15px 0; align-items: start; }
  .board__head { display: none; }
  .board__row > * { grid-column: 2; }
  .board__row > .dat:first-child { grid-column: 1; grid-row: 1 / span 4; padding-top: 3px; }
  .board__row .st { margin-top: 6px; }
}

/* -------------------------------------------------------------- channels -- */
.chan { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.chan__card { border: var(--rule) solid var(--scope-line); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; }
.chan__card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 150px; height: 150px;
  border: var(--rule) solid var(--scope-line); transform: rotate(45deg);
}
.chan__card h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 14px 0 10px; }
.chan__card p { color: var(--paper-2); font-size: 14.5px; line-height: 1.6; max-width: 44ch; }
.chan__mark { width: 28px; height: 28px; color: var(--magenta); }

/* --------------------------------------------------------------- ident ---- */
.ident { display: grid; grid-template-columns: 208px minmax(0,1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.ident__plate { border: 2px solid var(--phosphor); padding: 5px; position: relative; }
.ident__photo {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.1) brightness(1.02);
  mix-blend-mode: luminosity;
  background: var(--scope-3);
}
.ident__plate::after {
  content: ""; position: absolute; inset: 5px; pointer-events: none;
  background: linear-gradient(150deg, color-mix(in srgb, var(--magenta) 28%, transparent), transparent 56%, color-mix(in srgb, var(--phosphor) 20%, transparent));
  mix-blend-mode: color;
}
.ident__nophoto {
  width: 100%; aspect-ratio: 1; display: grid; place-content: center; gap: 8px; text-align: center;
  background: var(--scope-3); color: var(--paper-3); padding: 16px;
  border: var(--rule) dashed var(--scope-line);
}
.ident__cap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px 0; color: var(--phosphor); }
@media (max-width: 720px) { .ident { grid-template-columns: 1fr; } .ident__plate { max-width: 216px; } }

/* -------------------------------------------------------------- banner ---- */
.banner { border-block: var(--rule) solid var(--scope-line); overflow: hidden; padding: clamp(26px,4vw,52px) 0; }
.banner img { width: min(760px, 100%); margin-inline: auto; filter: grayscale(1) contrast(1.05) brightness(1.1); mix-blend-mode: screen; opacity: .92; }

/* ------------------------------------------------------------ clearance --- */
.clear__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--rule); background: var(--scope-line); border: var(--rule) solid var(--scope-line); margin-top: clamp(28px,4vw,50px); }
.clear__link {
  background: var(--scope); padding: clamp(20px,2.6vw,30px);
  display: flex; flex-direction: column; gap: 12px; min-height: 168px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.clear__link:hover { background: var(--phosphor); color: var(--scope); }
.clear__link .ico { width: 22px; height: 22px; }
.clear__link b { font-size: clamp(1.05rem,1.6vw,1.3rem); font-weight: 750; letter-spacing: -.028em; margin-top: auto; }
.clear__link span { color: var(--paper-3); font-family: var(--mono); font-size: 10.5px; letter-spacing: -.03em; word-break: break-all; }
.clear__link:hover span { color: color-mix(in srgb, var(--scope) 70%, transparent); }

.foot { border-top: var(--rule) solid var(--scope-line); padding: 26px 0 40px; display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; color: var(--paper-3); }
.foot .lbl:last-child { margin-left: auto; }

/* --------------------------------------------------------------- reveal --- */
.rv { opacity: 0; transform: translateY(26px); }
.rv-in { opacity: 1; transform: none; transition: opacity .82s var(--ease), transform .82s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .rv-in { transition: none; }
}
