/* ═══════════════════════════════════════════════════════════════
   INDUSTRIAL THEME · steel · concrete · control-room
   Loaded last. Sharp geometry, muted signal, minimal glow.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0B0D10;
  --bg-1: #111418;
  --bg-2: #161A1F;
  --bg-3: #1C2128;
  --bg-4: #252B33;
  --line: #2A313A;
  --line-soft: #1E242C;
  --line-hi: #3D4652;
  --tx: #EEF1F4;
  --tx-2: #A8B2BE;
  --tx-3: #66707D;
  --cy: #3EC9D8;       /* signal cyan — clearer, still industrial */
  --bl: #2B9BE8;       /* brand blue */
  --am: #E0B04A;       /* brass / caution */
  --gr: #4DC98A;       /* status green */
  --vi: #8B82E0;
  --rd: #D05A5A;
  --radius: 0px;
  --radius-sm: 0px;
  --glow-cy: none;
  --glow-bl: none;
  --nav-h: 52px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Heavier film grain / concrete dust */
body::before {
  opacity: 0.055;
  mix-blend-mode: soft-light;
}

/* Crosshair / engineering selection */
::selection {
  background: rgba(74, 124, 148, 0.45);
  color: #fff;
}

/* ── Type: denser, less flashy ──────────────────────────────── */
.eyebrow {
  letter-spacing: 0.2em;
  color: var(--tx-2);
  gap: 10px;
}
.eyebrow::before {
  width: 8px;
  height: 1px;
  border-radius: 0;
  background: var(--cy);
  box-shadow: none;
  animation: none;
  opacity: 1;
}
.fig {
  letter-spacing: 0.22em;
  color: var(--tx-3);
  font-weight: 500;
}
.fig b { color: var(--tx-2); }

h1, .h1 {
  letter-spacing: -0.025em;
  font-weight: 400;
  color: #F0F1F2;
}
h1 em, .h1 em, h2 em, .h2 em, h3 em {
  color: var(--cy);
  font-style: italic;
}
h2, .h2 { letter-spacing: -0.02em; }
.lead { color: var(--tx-2); font-size: clamp(1rem, 1.25vw, 1.12rem); }
.prose { color: var(--tx-2); }

/* ── Buttons: stamped metal plates ──────────────────────────── */
.btn {
  border-radius: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 20px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  will-change: auto;
}
.btn:hover { transform: none !important; }
.btn svg { transition: none; }
.btn:hover svg { transform: none; }
.btn-primary {
  background: var(--cy);
  color: #0B0D10;
  border: 1px solid var(--cy);
  box-shadow: none;
}
.btn-primary:hover {
  background: #5BDCEA;
  box-shadow: none;
  transform: none !important;
}
.btn-secondary {
  background: transparent;
  color: var(--tx);
  border: 1px solid var(--line-hi);
  backdrop-filter: none;
}
.btn-secondary:hover {
  border-color: var(--cy);
  color: var(--cy);
  background: rgba(62, 201, 216, 0.08);
  transform: none !important;
}

/* ── Header: industrial rail ────────────────────────────────── */
.site-header {
  height: var(--nav-h);
  background: rgba(11, 13, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.site-header.scrolled {
  background: rgba(11, 13, 16, 0.97);
  backdrop-filter: none;
  border-bottom-color: var(--line-hi);
}
.nav-pill {
  gap: 0;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}
.nav-pill a {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 0;
  border-right: 1px solid var(--line);
  color: var(--tx-3);
}
.nav-pill a:last-child { border-right: none; }
.nav-pill a:hover {
  color: var(--tx);
  background: var(--bg-3);
}
.nav-pill a[aria-current="page"] {
  color: var(--cy);
  background: rgba(62, 201, 216, 0.1);
  box-shadow: none;
}
.menu-btn {
  border-radius: 0;
  border: 1px solid var(--line-hi);
  background: var(--bg-2);
}
.logo-text .t1 {
  letter-spacing: 0.32em;
  font-size: 12px;
}
.logo-text .t2 {
  color: var(--tx-3);
  letter-spacing: 0.28em;
}

/* Menu overlay: blueprint / hangar */
.menu-overlay {
  background: rgba(11, 13, 16, 0.97);
  backdrop-filter: none;
}
.menu-overlay::before {
  background:
    linear-gradient(rgba(42, 49, 58, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 49, 58, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}
.menu-links a {
  border-bottom-color: var(--line);
  padding: 18px 0;
}
.menu-links a:hover { padding-left: 0; color: var(--cy); }
.menu-links a .ml-title {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

/* Scroll progress: thin steel edge */
.scroll-progress {
  height: 1px;
  background: var(--cy);
  box-shadow: none;
}

/* ── Surfaces ───────────────────────────────────────────────── */
.card {
  border-radius: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color 0.2s;
}
.card::before { display: none; }
.card:hover {
  transform: none;
  border-color: var(--line-hi);
  box-shadow: none;
}
.card-accent { border-top: 2px solid var(--line-hi); }
.card-accent { border-top-color: var(--cy); }
.card-accent.am { border-top-color: var(--am); }
.card-accent.gr { border-top-color: var(--gr); }
.card-accent.vi { border-top-color: var(--vi); }
.card .icon {
  border-radius: 0;
  background: var(--bg);
  border-color: var(--line);
}

.glass {
  border-radius: 0;
  backdrop-filter: none;
  background: var(--bg-2);
}

.chip {
  border-radius: 0;
  letter-spacing: 0.16em;
  border-color: var(--line-hi);
  background: var(--bg);
  color: var(--tx-2);
}
.chip::before {
  border-radius: 0;
  width: 6px;
  height: 6px;
  background: var(--cy);
  animation: none;
}
.chip.cy {
  border-color: rgba(62, 201, 216, 0.55);
  color: var(--cy);
  background: rgba(62, 201, 216, 0.1);
}
.chip.cy::before { background: var(--cy); }

.note {
  border-radius: 0;
  background: rgba(74, 124, 148, 0.05);
  border-left-width: 2px;
  border-left-color: var(--bl);
}
.note.am {
  background: rgba(196, 163, 90, 0.05);
  border-left-color: var(--am);
}

/* Hero stats: control panel cells */
.hero-stats {
  border-radius: 0;
  gap: 0;
  background: var(--line);
  border: 1px solid var(--line);
  backdrop-filter: none;
  max-width: 760px;
}
.hero-stats .stat {
  background: var(--bg-1);
  padding: 16px 18px;
}
.hero-stats .stat:hover { background: var(--bg-2); }
.hero-stats .v {
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* Feature / platform */
.feature-media,
.platform-block,
.platform-preview,
.diversity-chart,
.diversity-stat,
.gap-list,
.qualifier,
.steps .step,
.layers,
.layer,
.platform-preview {
  border-radius: 0 !important;
  box-shadow: none !important;
}
.platform-block {
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.platform-preview:hover {
  transform: none;
  box-shadow: none;
}
.feature-media:hover img { transform: none; }
.step:hover,
.journey-card:hover,
.mosaic-tile:hover,
.insight-card:hover,
.inst-cell:hover {
  transform: none !important;
  box-shadow: none !important;
}
.step:hover { border-color: var(--line-hi); }
.journey-card:hover { border-color: var(--cy); }
.layer:hover { padding-left: 22px; background: var(--bg-3); }

/* Ticker */
.ticker {
  height: 36px;
  background: var(--bg-1);
  border-color: var(--line);
}
.ticker-track {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--tx-3);
}
.ticker-track b { color: var(--tx-2); }

/* District 3D: industrial plant yard */
.district-stage {
  border-radius: 0;
  box-shadow: none;
  min-height: 480px;
  background: linear-gradient(180deg, #12161A 0%, #0B0D10 100%);
  border: 1px solid var(--line);
}
.iso-prism .face {
  border-color: rgba(62, 201, 216, 0.55);
}
.iso-prism .face.top {
  background: linear-gradient(145deg, #2A3A4A 0%, #161A1F 100%);
  box-shadow: none;
}
.iso-prism .face.front {
  background: linear-gradient(180deg, #1E2A36 0%, #12161A 100%);
  border-color: rgba(62, 201, 216, 0.45);
}
.iso-prism .face.side {
  background: linear-gradient(90deg, #18222C 0%, #0E1114 100%);
  border-color: rgba(62, 201, 216, 0.4);
}
.iso-pipe {
  box-shadow: none;
  opacity: 0.8;
}
.iso-ground {
  border-color: rgba(62, 201, 216, 0.16);
}
.district-labels .dl {
  background: rgba(11, 13, 16, 0.9);
  border-color: var(--line-hi);
  border-radius: 0;
  color: var(--tx);
  font-weight: 500;
}
.district-labels .dl.plant { color: var(--cy); border-color: rgba(62, 201, 216, 0.55); }
.district-labels .dl.n1 { color: #3EC9D8; }
.district-labels .dl.n2 { color: #4DC98A; }
.district-labels .dl.n3 { color: #8B82E0; }

/* CTA / footer */
.cta-band,
.page-end {
  background: var(--bg-1);
  border-color: var(--line);
}
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-col a:hover { transform: none; color: var(--cy); }
.footer-brand .tagline {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--tx-3);
  letter-spacing: 0;
}

/* Forms: terminal fields */
.field input,
.field select,
.field textarea {
  border-radius: 0;
  background: var(--bg);
  border-color: var(--line-hi);
  font-size: 14px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cy);
  box-shadow: none;
}
.form-success { border-radius: 0; }

/* Cursor glow off — too consumer */
.cursor-glow { display: none !important; }

/* Reveal: shorter, less bounce */
.reveal {
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Spark bars: flat status */
.spark-inline i {
  background: var(--cy);
  border-radius: 0;
  animation: none;
  opacity: 0.7;
}

/* ══ Pages industrial overrides ═══════════════════════════════ */

.opp-nav a {
  border-left-width: 1px;
  letter-spacing: 0.16em;
}
.opp-nav a.active,
.opp-nav a:hover {
  background: transparent;
  border-left-color: var(--cy);
  color: var(--tx);
}
.opp-clocks {
  border-top-color: var(--line-hi);
}
.opp-clock + .opp-clock {
  border-left-color: var(--line-hi);
}
.opp-lever {
  border-radius: 0;
  background: var(--bg);
}
.opp-lever-knob {
  border-radius: 0;
  background: var(--cy);
  box-shadow: 0 0 0 3px rgba(62, 201, 216, 0.15);
}
.opp-lever-knob:active,
.opp-lever.dragging .opp-lever-knob {
  box-shadow: 0 0 0 5px rgba(62, 201, 216, 0.22);
}
.opp-side {
  border-radius: 0;
}
.opp-lever-state[data-flash="1"] {
  color: #fff;
}
.opp-lever-rail {
  cursor: ew-resize;
}
.opp-lever.dragging .opp-lever-rail {
  cursor: grabbing;
}

.journey-card {
  border-radius: 0;
  min-height: 400px;
}
.journey-card .jn {
  font-family: var(--mono);
  -webkit-text-stroke: 1px rgba(107, 155, 168, 0.3);
  font-size: 40px;
}
.journey-card:hover { transform: none; }

.tower-layer {
  border-radius: 0;
  background: var(--bg-2);
  border-color: var(--line-hi);
}
.tower-layer:hover,
.tower-layer.on {
  box-shadow: none;
  border-color: var(--cy);
  transform: translateZ(16px);
}
.tower-detail {
  border-radius: 0;
  background: var(--bg-2);
}

.service-pane {
  min-height: 480px;
}
.service-split {
  border-color: var(--line);
}

.orbit-stage {
  background: var(--bg-1);
}
.orbit-ring {
  border-color: rgba(107, 155, 168, 0.12);
  animation-duration: 120s;
}
.orbit-core {
  border-radius: 0;
  width: 100px;
  height: 100px;
  box-shadow: none;
  border: 1px solid var(--line-hi);
  background: var(--bg-2);
}
.orbit-node {
  border-radius: 0;
  width: 76px;
  height: 64px;
  box-shadow: none;
  border: 1px solid var(--line-hi);
  background: var(--bg-2);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.orbit-node:hover,
.orbit-node.on {
  transform: none;
  box-shadow: none;
  border-color: var(--cy);
  color: var(--cy);
  background: rgba(62, 201, 216, 0.1);
}
.orbit-tests span {
  border-radius: 0;
  letter-spacing: 0.12em;
}
.orbit-tests span::before {
  border-radius: 0;
  width: 6px;
  height: 6px;
  box-shadow: none;
  background: var(--gr);
}

.inst-cell {
  border-radius: 0;
  background: var(--bg-2);
  backdrop-filter: none;
}
.inst-cell:hover {
  transform: none;
  border-color: var(--line-hi);
}
.inst-cell .iv {
  font-family: var(--mono);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.inst-cell .ibar {
  border-radius: 0;
  height: 2px;
  background: var(--bg-4);
}
.inst-cell .ibar i {
  border-radius: 0;
  background: var(--cy);
}

.flip-face {
  border-radius: 0;
  background: var(--bg-2);
}
.flip-face.back {
  border-radius: 0;
  background: var(--bg-1);
  border-color: var(--line-hi);
}
.flip-card:hover .flip-inner,
.flip-card.open .flip-inner {
  /* keep flip — industrial but interactive */
}

.mosaic-hero,
.mosaic-tile {
  border-radius: 0;
}
.mosaic-tile:hover {
  transform: none;
  border-color: var(--line-hi);
}

.about-orb {
  border-radius: 0;
  width: 240px;
  height: 240px;
  box-shadow: none;
  animation: none;
  border: 1px solid var(--line-hi);
  background: var(--bg-2);
}
.about-orb::before,
.about-orb::after {
  border-radius: 0;
  animation: none;
  border-color: var(--line);
}
.about-creds span {
  border-radius: 0;
  letter-spacing: 0.1em;
}
.tl-item::before {
  border-radius: 0;
  width: 9px;
  height: 9px;
  box-shadow: none;
  background: var(--bg);
  border: 1px solid var(--cy);
}

.contact-direct {
  border-radius: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-hi);
}
.contact-ambient {
  background: #0B0D10;
}

.home-strip-visual img { opacity: 0.45; }
.home-strip-copy { background: var(--bg-1); }

/* Corner marks on key panels — industrial frame language */
.card,
.journey-card,
.inst-cell,
.contact-direct,
.tower-detail,
.diversity-stat {
  background-image:
    linear-gradient(var(--line-hi), var(--line-hi)),
    linear-gradient(var(--line-hi), var(--line-hi)),
    linear-gradient(var(--line-hi), var(--line-hi)),
    linear-gradient(var(--line-hi), var(--line-hi));
  background-repeat: no-repeat;
  background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px;
  background-position: top left, top left, bottom right, bottom right;
}

/* Kill springy magnetic residual */
.btn-primary { transform: none !important; }

@media (max-width: 1024px) {
  .nav-pill a { letter-spacing: 0.08em; padding: 10px 8px; font-size: 9px; }
}
