/* ============================================================================
   Patchbay Health — flagship site
   Brand: Console ink + Signal green, ~60/30/10. Trebuchet MS / Georgia.
   Themes: light (paper) default from system; dark = "console mode".
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Core brand */
  --ink: #173B47;
  --signal: #2E7D6B;
  --sage: #7FB8A8;
  --paper: #F6F8F8;
  --hairline: #D8E2E4;
  --slate: #7A8C91;

  /* Cable colors (meaning only) */
  --flowing: #2E7D6B;
  --queued: #C98A2B;
  --queued-text: #946318;
  --down: #B04A3E;
  --info: #2E6E8E;

  /* Console (dark) primitives */
  --console-dark: #0F2833;
  --console-surface: #14313D;
  --console-inset: #0D1F28;
  --console-text: #EAF2F2;
  --signal-dark: #4CAF94;
  --amber-dark: #E8A94E;
  --red-dark: #D96A5C;
  --info-dark: #5FA3C4;

  /* Tints */
  --signal-tint: #E7F1EE;
  --sage-tint: #EFF6F3;
  --down-tint: #F7ECEA;
  --queued-tint: #F8F0E2;
  --info-tint: #E9F1F5;

  /* Semantic (light) */
  --bg: var(--paper);
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-inset: #EDF2F2;
  --text: var(--ink);
  --text-secondary: var(--slate);
  --text-on-accent: #FFFFFF;
  --border: var(--hairline);
  --accent: var(--signal);
  --accent-hover: #256856;
  --tint: var(--signal-tint);
  --tint-sage: var(--sage-tint);
  --tint-info: var(--info-tint);
  --tint-queued: var(--queued-tint);
  --amber-fg: var(--queued-text);

  /* Console band tokens — the dark NOC surface used inside light mode too */
  --noc-bg: var(--console-dark);
  --noc-surface: var(--console-surface);
  --noc-inset: var(--console-inset);
  --noc-text: var(--console-text);
  --noc-secondary: #9AA7AA;
  --noc-border: #274049;
  --noc-signal: var(--signal-dark);
  --noc-amber: var(--amber-dark);
  --noc-red: var(--red-dark);
  --noc-info: var(--info-dark);

  /* Shadows — near invisible, ink-tinted */
  --shadow-card: 0 1px 2px rgba(23,59,71,.05), 0 2px 10px rgba(23,59,71,.05);
  --shadow-raised: 0 2px 6px rgba(23,59,71,.08), 0 8px 24px rgba(23,59,71,.07);
  --shadow-modal: 0 12px 40px rgba(23,59,71,.16);

  /* Type */
  --font-sans: "Trebuchet MS", "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --font-serif: Georgia, "Source Serif 4", "Times New Roman", serif;

  /* Radii */
  --r-chip: 3px;
  --r-btn: 6px;
  --r-card: 10px;

  /* Rhythm */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-io: cubic-bezier(.65,.05,.36,1);
}

/* Dark = console mode */
:root[data-theme="dark"] {
  --bg: var(--console-dark);
  --bg-alt: var(--console-surface);
  --surface: var(--console-surface);
  --surface-inset: var(--console-inset);
  --text: var(--console-text);
  --text-secondary: #9AA7AA;
  --text-on-accent: #082019;
  --border: #274049;
  --accent: var(--signal-dark);
  --accent-hover: #6BC4AC;
  --tint: rgba(76,175,148,.13);
  --tint-sage: rgba(127,184,168,.12);
  --tint-info: rgba(95,163,196,.13);
  --tint-queued: rgba(232,169,78,.15);
  --amber-fg: var(--amber-dark);
  --flowing: var(--signal-dark);
  --queued: var(--amber-dark);
  --down: var(--red-dark);
  --info: var(--info-dark);

  /* In dark mode the NOC band lifts slightly off page bg */
  --noc-bg: #0B2029;
  --noc-surface: #123039;
  --noc-inset: #081920;
  --noc-border: #223A43;

  --shadow-card: 0 1px 2px rgba(0,0,0,.34), 0 2px 12px rgba(0,0,0,.28);
  --shadow-raised: 0 4px 16px rgba(0,0,0,.4);
  --shadow-modal: 0 16px 48px rgba(0,0,0,.5);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
  overflow-x: hidden;
}
body.loading { overflow: hidden; height: 100vh; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-secondary); display: inline-flex; align-items: center; gap: 9px;
}
.serif { font-family: var(--font-serif); }
.num { font-variant-numeric: tabular-nums; }
.rule { width: 60px; height: 3px; background: var(--accent); border: 0; margin: 22px 0; }
.section { padding-block: clamp(72px, 11vh, 132px); position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

/* ---------- Signal-path motif ---------- */
.signal-path { position: relative; height: 2px; background: var(--border); overflow: visible; }
.signal-path .pulse {
  position: absolute; top: -2px; width: 40px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent)); opacity: .9;
}

/* ============================================================================
   LOADER
   ========================================================================== */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  transition: background-color .4s var(--ease-out);
}
#loader.done { pointer-events: none; }
.loader-nav {
  position: absolute; top: clamp(24px, 4vh, 40px); left: 50%; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3.4vw, 40px);
  width: max-content; max-width: calc(100vw - 40px); opacity: 0;
}
.loader-nav a {
  font-size: 14.5px; font-weight: 700; color: var(--text); letter-spacing: .01em;
  white-space: nowrap; position: relative; padding: 5px 0;
}
.loader-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease-out);
}
.loader-nav a:hover { color: var(--accent); }
.loader-nav a:hover::after { width: 100%; }
#loader-logo { width: min(560px, 78vw); height: auto; overflow: visible; }
#loader-logo .cable { fill: none; stroke-width: 7; stroke-linecap: round; }
#loader-logo .wordmark { opacity: 0; }
#loader-tagline {
  font-family: var(--font-sans); font-size: clamp(14px, 2.4vw, 19px);
  color: var(--text-secondary); letter-spacing: .02em; opacity: 0;
  text-align: center; max-width: 90vw;
}
#loader-tagline b { color: var(--text); font-weight: 700; }
.loader-scrollcue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-secondary); opacity: 0; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.loader-scrollcue .chev { width: 16px; height: 16px; animation: bob 1.8s var(--ease-io) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================================
   HEADER
   ========================================================================== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
#header.scrolled { border-bottom-color: var(--border); }
#header .wrap { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px;
  color: var(--text); opacity: 0; transition: opacity .3s var(--ease-out); flex-shrink: 0; }
.brand.show { opacity: 1; }
.brand .bundle { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.brand .bundle span { height: 4px; border-radius: 3px; display: block; }
.brand .bundle span:nth-child(1) { width: 19px; background: var(--flowing); }
.brand .bundle span:nth-child(2) { width: 13px; background: var(--queued); }
.brand .bundle span:nth-child(3) { width: 16px; background: var(--info); }
.brand .bundle span:nth-child(4) { width: 10px; background: var(--down); }
.brand .wm { font-weight: 400; }
.brand .wm b { font-weight: 700; }

#nav { display: flex; gap: 24px; font-size: 14.5px; }
#nav a { color: var(--text); position: relative; padding: 4px 0; white-space: nowrap; }
#nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease-out);
}
#nav a:hover::after, #nav a.active::after { width: 100%; }
.header-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.header-actions .signin { font-size: 14px; color: var(--text); }

/* Mobile menu button */
.menu-btn { display: none; width: 40px; height: 38px; border-radius: var(--r-btn);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .ic-close { display: none; }
#header.menu-open .menu-btn .ic-open { display: none; }
#header.menu-open .menu-btn .ic-close { display: block; }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 899;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 18px var(--gutter) 26px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  box-shadow: var(--shadow-raised);
}
#header.menu-open .mobile-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { color: var(--text); font-size: 17px; font-weight: 700; padding: 13px 0;
  border-bottom: 1px solid var(--border); }
.mobile-menu nav a.muted { font-weight: 400; color: var(--text-secondary); }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 900px) {
  #nav, .header-actions .signin, .header-actions .cta-desktop { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px; border-radius: var(--r-btn);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14.5px;
  padding: 12px 20px; border-radius: var(--r-btn); cursor: pointer;
  border: 1px solid transparent; transition: all .16s var(--ease-out); white-space: nowrap;
}
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn-primary { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.06); color: var(--text-on-accent); }
.btn-primary:active { filter: brightness(.94); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 17px; height: 17px; }

/* ---------- Chips / tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-secondary);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  padding: 6px 13px; border-radius: 999px; background: var(--tint); color: var(--accent);
  letter-spacing: .01em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.flowing { background: var(--flowing); }
.dot.queued { background: var(--queued); }
.dot.down { background: var(--down); }
.dot.info { background: var(--info); }
.dot.live { position: relative; }
.dot.live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid currentColor; animation: ping 2s var(--ease-out) infinite; color: var(--flowing);
}
@keyframes ping { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* ============================================================================
   HERO
   ========================================================================== */
#hero { padding-top: calc(var(--header-h) + clamp(40px, 9vh, 96px)); padding-bottom: clamp(48px, 8vh, 96px);
  position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
#hero h1 { font-size: clamp(34px, 5.6vw, 62px); line-height: 1.06; }
#hero .lede { font-family: var(--font-serif); font-size: clamp(17px, 2vw, 20px); line-height: 1.6;
  color: var(--text); max-width: 54ch; margin-top: 8px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-speak { display: flex; align-items: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.hero-speak .label { font-size: 12.5px; color: var(--text-secondary); margin-right: 2px; }

/* Hero visual — a live patch panel card */
.panel-card {
  background: var(--noc-bg); border: 1px solid var(--noc-border); border-radius: var(--r-card);
  box-shadow: var(--shadow-raised); overflow: hidden; color: var(--noc-text);
}
.panel-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  border-bottom: 1px solid var(--noc-border); font-size: 12.5px; color: var(--noc-secondary); }
.panel-head .dots { display: flex; gap: 6px; }
.panel-head .title { margin-left: auto; font-weight: 700; color: var(--noc-text); letter-spacing: .02em; }
.panel-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.route-row { display: grid; grid-template-columns: 82px 1fr 82px; align-items: center; gap: 10px; }
.route-node { font-size: 12px; font-weight: 700; color: var(--noc-text); }
.route-node.r { text-align: right; }
.route-line { position: relative; height: 22px; }
.route-line .track { position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: var(--noc-border); }
.route-line .jack { position: absolute; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--noc-bg); }
.route-line .jack.l { left: 0; } .route-line .jack.r { right: 0; }
.route-line .packet { position: absolute; top: 7px; width: 16px; height: 8px; border-radius: 4px; left: 0; }
.route-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px;
  color: var(--noc-secondary); padding-top: 4px; }
.route-meta .proto { font-weight: 700; letter-spacing: .04em; }
.panel-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--noc-border); font-size: 12px; color: var(--noc-secondary); }
.panel-foot .num { color: var(--noc-signal); font-weight: 700; }

/* ============================================================================
   Generic reveal
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); }
.reduced [data-reveal] { opacity: 1; transform: none; }

/* ============================================================================
   PROBLEM
   ========================================================================== */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); }
.section-head p { color: var(--text-secondary); font-size: 16.5px; margin-top: 14px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 26px 24px; box-shadow: var(--shadow-card); }
.stat-card .ico { width: 40px; height: 40px; border-radius: var(--r-btn); background: var(--tint);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.stat-card .ico svg { width: 21px; height: 21px; }
.stat-card .big { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stat-card .big .unit { font-size: .42em; color: var(--text-secondary); font-weight: 700; margin-left: 6px; letter-spacing: 0; }
.stat-card h3 { font-size: 17px; margin: 14px 0 8px; }
.stat-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }

/* ============================================================================
   HOW IT WORKS — pinned
   ========================================================================== */
#how .how-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 940px) { #how .how-layout { grid-template-columns: 1fr; } }
.how-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.how-visual {
  aspect-ratio: 1/1; width: 100%; border-radius: var(--r-card);
  background: var(--noc-bg); border: 1px solid var(--noc-border); box-shadow: var(--shadow-raised);
  position: relative; overflow: hidden; color: var(--noc-text);
}
.how-steps { display: flex; flex-direction: column; gap: clamp(20px, 5vh, 56px); }
.how-step { border-top: 3px solid var(--border); padding-top: 22px; transition: border-color .4s var(--ease-out); }
.how-step.active { border-top-color: var(--accent); }
.how-step .n { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.how-step h3 { font-size: clamp(21px, 3vw, 28px); margin: 10px 0 12px; }
.how-step p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; max-width: 46ch; }
.how-step ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.how-step li { font-size: 14px; color: var(--text-secondary); display: flex; gap: 10px; align-items: flex-start; }
.how-step li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ============================================================================
   PROTOCOLS — patch panel
   ========================================================================== */
#protocols { background: var(--bg-alt); border-block: 1px solid var(--border); }
.patchbay {
  margin-top: 44px; background: var(--noc-bg); border: 1px solid var(--noc-border);
  border-radius: var(--r-card); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-raised);
  color: var(--noc-text); position: relative;
}
.patchbay-svg { width: 100%; height: auto; overflow: visible; }
.proto-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.proto-legend .item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--noc-secondary); }
.proto-legend .swatch { width: 22px; height: 5px; border-radius: 3px; }
.proto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
@media (max-width: 820px) { .proto-grid { grid-template-columns: 1fr; } }
.proto-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 20px; box-shadow: var(--shadow-card); }
.proto-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.proto-card .code { font-weight: 700; font-size: 16px; }
.proto-card .phase { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-chip); }
.proto-card .phase.core { background: var(--tint); color: var(--accent); }
.proto-card .phase.p2 { background: var(--tint-info); color: var(--info); }
.proto-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }

/* ============================================================================
   NOC — always dark console band
   ========================================================================== */
#noc { background: var(--noc-bg); color: var(--noc-text); border-block: 1px solid var(--noc-border);
  position: relative; overflow: hidden; }
#noc .section-head h2 { color: var(--noc-text); }
#noc .section-head p { color: var(--noc-secondary); }
#noc .eyebrow { color: var(--noc-secondary); }
.noc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
@media (max-width: 940px) { .noc-grid { grid-template-columns: 1fr; } }
.noc-console { background: var(--noc-surface); border: 1px solid var(--noc-border); border-radius: var(--r-card);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.noc-console .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--noc-border);
  font-size: 12px; color: var(--noc-secondary); }
.noc-console .bar .title { margin-left: auto; font-weight: 700; color: var(--noc-text); }
.feed { font-family: var(--font-sans); }
.feed-row { display: grid; grid-template-columns: 66px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--noc-border); font-size: 13px; }
.feed-row:last-child { border-bottom: 0; }
.feed-row .t { color: var(--noc-secondary); font-variant-numeric: tabular-nums; font-size: 12px; }
.feed-row .msg { color: var(--noc-text); }
.feed-row .msg b { font-weight: 700; }
.feed-row .st { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.feed-row .st.flowing { color: var(--noc-signal); }
.feed-row .st.queued { color: var(--noc-amber); }
.feed-row .st.down { color: var(--noc-red); }
.feed-row .st.info { color: var(--noc-info); }
.noc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--noc-border); }
.noc-metric { padding: 16px; border-right: 1px solid var(--noc-border); }
.noc-metric:last-child { border-right: 0; }
.noc-metric .v { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--noc-signal); }
.noc-metric .k { font-size: 11px; color: var(--noc-secondary); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.noc-copy h2 { color: var(--noc-text); font-size: clamp(26px, 3.6vw, 40px); }
.noc-copy .lede { color: var(--noc-secondary); font-size: 17px; margin-top: 16px; font-family: var(--font-serif); line-height: 1.6; max-width: 48ch; }
.noc-promise { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.noc-promise .row { display: flex; gap: 13px; align-items: flex-start; }
.noc-promise .row svg { width: 20px; height: 20px; color: var(--noc-signal); flex-shrink: 0; margin-top: 2px; }
.noc-promise .row .h { font-weight: 700; color: var(--noc-text); font-size: 15px; }
.noc-promise .row .d { color: var(--noc-secondary); font-size: 14px; }

/* ============================================================================
   WHO WE SERVE
   ========================================================================== */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr; } }
.serve-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s; }
.serve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); border-color: var(--sage); }
.serve-card .cables { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.serve-card .cables span { height: 5px; border-radius: 3px; }
.serve-card h3 { font-size: 20px; margin-bottom: 6px; }
.serve-card .who { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.serve-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.58; }
.serve-card .surfaces { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px; }
.serve-card .surfaces .s { display: flex; justify-content: space-between; font-size: 13px; }
.serve-card .surfaces .s .k { color: var(--text-secondary); }
.serve-card .surfaces .s .v { font-weight: 700; color: var(--text); }

/* ============================================================================
   TRUST STRIP
   ========================================================================== */
#trust { background: var(--ink); color: #EAF2F2; }
:root[data-theme="dark"] #trust { background: var(--console-surface); border-block: 1px solid var(--border); }
#trust .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 820px) { #trust .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { #trust .trust-grid { grid-template-columns: 1fr; } }
#trust .t-item .ico { color: var(--signal-dark); margin-bottom: 12px; }
#trust .t-item .ico svg { width: 24px; height: 24px; }
#trust .t-item h3 { font-size: 16px; color: #fff; margin-bottom: 7px; }
#trust .t-item p { font-size: 13.5px; color: #A9BEC2; line-height: 1.55; }
#trust .trust-head { margin-bottom: 40px; max-width: 620px; }
#trust .trust-head h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); }
#trust .trust-head p { color: #A9BEC2; margin-top: 12px; }

/* ============================================================================
   CTA + CONTACT
   ========================================================================== */
#contact .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 940px) { #contact .contact-grid { grid-template-columns: 1fr; } }
#contact h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.08; }
#contact .lede { font-family: var(--font-serif); font-size: 18px; color: var(--text-secondary); margin-top: 16px; line-height: 1.6; max-width: 44ch; }
.contact-assurances { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.contact-assurances .a { display: flex; gap: 11px; align-items: center; font-size: 14.5px; }
.contact-assurances .a svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-card); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.field label .req { color: var(--down); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-btn);
  padding: 12px 14px; transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint);
}
.field .help { font-size: 12.5px; color: var(--text-secondary); margin-top: 6px; }
.field .err { font-size: 12.5px; color: var(--down); margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--down); }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-foot { display: flex; align-items: center; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--text-secondary); }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .check { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); font-size: 15px; }

/* ============================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-block: 56px 34px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }
.foot-brand .brand2 { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; color: var(--text); }
.foot-brand p { font-size: 14px; color: var(--text-secondary); margin-top: 14px; max-width: 34ch; line-height: 1.55; }
.foot-col h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--text); margin-bottom: 10px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); flex-wrap: wrap; }
.foot-bottom .status { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }

/* ---------- Scroll progress ---------- */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 950;
  transition: opacity .3s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
