/* =====================================================
   RED52 — INTERNAL DRAFT STYLES (shared across sub-pages)
   ===================================================== */

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

:root {
  /* Brand — the only palette: red, tints, black, white */
  --red: #BB2729;
  --red-60: #D67475;            /* 60% tint */
  --red-20: #F1D4D4;            /* 20% tint */
  --black: #000000;
  --white: #FFFFFF;
  --red-dark: #951F21;          /* hover/active red */
  --red-soft: rgba(187, 39, 41, 0.08);
  --red-soft-2: rgba(187, 39, 41, 0.14);

  /* Dark surfaces — single neutral near-black (no blue) */
  --ink: #0A0A0A;
  --ink-2: #161616;
  --navy: #1A1A1A;              /* legacy alias: neutral near-black for headings */
  --navy-soft: #2C2C2C;

  /* Text — neutral greys (no slate/blue cast) */
  --text: #1A1A1A;
  --text-soft: #555555;
  --muted: #777777;

  /* Surfaces — neutral, no cool tint */
  --bg: #FCFCFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F6F6F6;
  --bg-panel: #EFEFEF;
  --border: rgba(0, 0, 0, 0.10);
  --border-soft: rgba(0, 0, 0, 0.06);

  /* Shadows — neutral black, no blue tint */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.04), 0 6px 14px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.04), 0 14px 28px rgba(0, 0, 0, 0.08), 0 28px 56px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.06), 0 24px 56px rgba(0, 0, 0, 0.10), 0 48px 96px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.04), 0 12px 24px rgba(0, 0, 0, 0.08), 0 24px 48px rgba(187, 39, 41, 0.10);

  /* Easing curves */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Focus ring */
  --focus-ring: 0 0 0 3px rgba(187, 39, 41, 0.18);
}

/* Global focus state for interactive elements — accessibility + polish */
*:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
  text-rendering: optimizeLegibility;
}

/* Display headings — tighter tracking, sharper feel */
h1, h2 {
  font-feature-settings: "cv11", "ss01";
  letter-spacing: -0.02em;
}
h1 { letter-spacing: -0.03em; }

/* ===== DRAFT CHIP — floating, sophisticated replacement for full-width banner ===== */
.draft-chip {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-family: inherit;
}
.draft-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 100px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  user-select: none;
}
.draft-chip-pill:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.draft-chip-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(187, 39, 41, 0.4);
  animation: chipPulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes chipPulse {
  0%   { box-shadow: 0 0 0 0 rgba(187, 39, 41, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(187, 39, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(187, 39, 41, 0); }
}
.draft-chip-detail {
  max-width: 320px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.draft-chip-detail strong { color: var(--text); font-weight: 600; }
.draft-chip.open .draft-chip-detail {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (max-width: 600px) {
  .draft-chip { top: auto; bottom: 16px; left: 16px; right: 16px; align-items: stretch; }
  .draft-chip-detail { max-width: none; }
}

/* ===== STICKY HEADER WRAPPER (groups main header + sub-nav for sticky scrolling) ===== */
.sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  transition: box-shadow 0.3s ease;
}
.sticky-wrap.scrolled {
  box-shadow: 0 1px 0 rgba(15, 30, 58, 0.06), 0 8px 24px rgba(15, 30, 58, 0.04);
}
.sticky-wrap.scrolled .header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: transparent;
}
.sticky-wrap.scrolled .subnav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* ===== HEADER ===== */
.header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, padding 0.3s ease;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 38px; width: auto; display: block; transition: height 0.3s ease; }
.nav { display: flex; align-items: center; gap: 44px; }
.nav-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.15s;
  position: relative;
  padding: 8px 0;
}
.nav-link:hover { color: var(--red); }
.nav-link.active { color: var(--red); }
.nav-link.has-dropdown::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  background-color: var(--red);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'><path d='M1 1L5 5L9 1' stroke='currentColor' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 10px 6px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'><path d='M1 1L5 5L9 1' stroke='currentColor' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 10px 6px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.nav-link.has-dropdown:hover::after { transform: translateY(1px); }
.sticky-wrap.scrolled .header-inner { padding-top: 14px; padding-bottom: 14px; }
.sticky-wrap.scrolled .logo img { height: 32px; }
.sticky-wrap.scrolled .subnav-link { padding-top: 14px; padding-bottom: 14px; font-size: 13px; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.lang-link {
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.lang-link:hover { color: var(--navy); background: var(--bg-soft); }
.lang-link.active {
  color: var(--red);
  background: rgba(187, 39, 41, 0.08);
}
.lang-sep { color: var(--border); font-weight: 400; }
@media (max-width: 900px) {
  .lang-switch { display: none; } /* shown in mobile drawer instead */
}

/* ===== MOBILE HAMBURGER BUTTON ===== */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-open { display: none; }
.nav-toggle.open .icon-close { display: block; }

/* ===== MOBILE DRAWER (slides down under header on small screens) ===== */
.mobile-drawer {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 24px;
}
.mobile-drawer.open { display: block; }
.mobile-section {
  padding: 16px 24px 0;
}
.mobile-section-heading {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.mobile-link {
  display: block;
  padding: 14px 0;
  color: var(--navy);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link.active { color: var(--red); }

/* ===== SUB-NAV (Network sub-pages) ===== */
.subnav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.subnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}
.subnav-link {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 18px 24px;
  position: relative;
  transition: color 0.2s;
  text-transform: uppercase;
}
.subnav-link:hover { color: var(--navy); }
.subnav-link.active { color: var(--red); }
.subnav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--red);
}

/* ===== VIEW TRANSITIONS (cross-document fade) ===== */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOut; }
::view-transition-new(root) { animation-name: fadeIn; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  font-size: 13px;
  color: var(--text-soft);
}
.breadcrumbs-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep {
  color: var(--border);
  font-weight: 500;
}
.breadcrumbs .current {
  color: var(--navy);
  font-weight: 600;
}

/* ===== HERO DECORATIONS (sub-page distinguishing visuals) ===== */
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.55;
  z-index: 1;
}
.hero-decoration svg { width: 100%; height: 100%; }
.hero-inner { z-index: 2; }

/* Coverage hero: animated dot grid + connecting paths */
.hero-deco-coverage {
  background-image:
    radial-gradient(circle, rgba(187, 39, 41, 0.35) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.6px);
  background-size: 80px 80px, 28px 28px;
  background-position: 0 0, 0 0;
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 80px 80px, 28px 28px; }
}

/* Architecture hero: layered connecting lines — refined intensity */
.arch-pulse-line {
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1;
  fill: none;
}
.arch-pulse-glow {
  stroke: rgba(214, 116, 117, 0.55);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 10 600;
  filter: drop-shadow(0 0 3px rgba(214, 116, 117, 0.4));
  animation: archPulse 9s linear infinite;
}
@keyframes archPulse {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1620; }
}

/* Operations hero: concentric pulse rings — slower, subtler */
.ops-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}
.ops-ring-pulse {
  fill: none;
  stroke: rgba(214, 116, 117, 0.35);
  stroke-width: 1.2;
  transform-origin: center;
  transform-box: fill-box;
  animation: opsRing 6s ease-out infinite;
}
.ops-ring-pulse.d2 { animation-delay: 2s; }
.ops-ring-pulse.d3 { animation-delay: 4s; }
@keyframes opsRing {
  0%   { transform: scale(0.2); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ===== NETWORK DIAGRAM (architecture page) ===== */
.network-diagram {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 30px 24px 50px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-top: 36px;
}
.diagram-inner {
  min-width: 760px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.diagram-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}
.diagram-stage {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 22px 14px 18px;
  text-align: center;
  position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.diagram-stage:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.diagram-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  background: rgba(187, 39, 41, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.diagram-stage h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.diagram-stage .stage-detail {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.diagram-flow {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-50%);
}
.diagram-flow .flow-line {
  stroke: var(--border);
  stroke-width: 2;
  stroke-dasharray: 4 4;
  fill: none;
}
.diagram-flow .flow-pulse {
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 14 2000;
  filter: drop-shadow(0 0 3px rgba(187, 39, 41, 0.5));
  animation: flowPulse 7s linear infinite;
}
@keyframes flowPulse {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -2014; }
}
.diagram-caption {
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

/* ===== NOC VISUALIZATION (operations page) ===== */
.noc-vis-section {
  background: var(--ink);
  padding: 90px 40px;
}
.noc-vis-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.noc-vis-text .section-tag { color: var(--red-60); }
.noc-vis-text h2 { color: white; margin-bottom: 20px; }
.noc-vis-text p { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.65; margin-bottom: 16px; }
.noc-vis-text strong { color: white; }
.noc-illustration {
  background: linear-gradient(180deg, var(--black) 0%, var(--ink) 100%);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.noc-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(187,39,41,0.18), transparent 60%);
  pointer-events: none;
}
/* ===== NOC CONSOLE — refined ops log view (replaces the monitor-wall) ===== */
.noc-console {
  background:
    radial-gradient(ellipse 600px 400px at 95% -10%, rgba(187, 39, 41, 0.14), transparent 60%),
    radial-gradient(ellipse 400px 300px at 0% 110%, rgba(187, 39, 41, 0.06), transparent 60%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.3);
}
.noc-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.noc-console-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.noc-status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: nocLed 3.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes nocLed {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.noc-console-clock {
  font-family: 'Geist Mono', 'SF Mono', 'Menlo', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.4px;
  font-variant-numeric: tabular-nums;
}

/* Log stream — feels like real NOC console output */
.noc-console-log {
  padding: 22px 22px;
  font-family: 'Geist Mono', 'SF Mono', 'Menlo', monospace;
  font-size: 13px;
  line-height: 1.6;
  display: grid;
  gap: 14px;
}
.noc-log-entry {
  display: grid;
  grid-template-columns: 72px 8px 1fr;
  gap: 14px;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.62);
}
.noc-log-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.noc-log-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  align-self: center;
  flex-shrink: 0;
}
.noc-log-dot--ok { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
.noc-log-dot--warn { background: var(--red-60); box-shadow: 0 0 8px rgba(214, 116, 117, 0.5); }
.noc-log-dot--info { background: var(--red-60); box-shadow: 0 0 8px rgba(214, 116, 117, 0.45); }
.noc-log-entry strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* Footer — three refined metric tiles */
.noc-console-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.noc-metric {
  background: var(--ink);
  padding: 22px 20px;
  text-align: center;
}
.noc-metric-value {
  font-size: 26px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.noc-metric-label {
  margin-top: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 600px) {
  .noc-log-entry { grid-template-columns: 60px 8px 1fr; gap: 10px; }
  .noc-console-log { font-size: 12px; padding: 18px; }
  .noc-metric-value { font-size: 22px; }
}

/* ===== HERO — mesh gradient + film grain ===== */
.hero {
  background:
    radial-gradient(ellipse 1200px 900px at 88% -15%, rgba(187, 39, 41, 0.26), transparent 55%),
    radial-gradient(ellipse 1400px 1000px at -8% 110%, rgba(187, 39, 41, 0.12), transparent 60%),
    var(--black);
  color: white;
  padding: 110px 40px 130px;
  position: relative;
  overflow: hidden;
}
.hero.hero-compact { padding: 80px 40px 90px; }
/* Subtle, very slow ambient drift on the gradient — barely perceptible */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -20% -20% -20%;
  background:
    radial-gradient(ellipse 800px 600px at 80% 20%, rgba(187, 39, 41, 0.10), transparent 50%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(187, 39, 41, 0.06), transparent 50%);
  pointer-events: none;
  animation: heroDrift 45s ease-in-out infinite;
  opacity: 0.7;
}
/* Film grain overlay — adds depth, prevents banding */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='300' height='300' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
@keyframes heroDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-1.5%, -2%) scale(1.04); }
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.eyebrow {
  display: inline-block;
  background: rgba(187, 39, 41, 0.15);
  color: var(--red-60);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
  max-width: 900px;
}
.hero.hero-compact h1 { font-size: 46px; }
.hero-sub {
  font-size: 21px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 780px;
  margin-bottom: 44px;
}
.hero-sub strong { color: white; font-weight: 700; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 100%; }
.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.05); }
.btn-light {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-light:hover { border-color: var(--navy); background: var(--bg-soft); }

/* ===== SECTION SHELL ===== */
section { padding: 90px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 56px; max-width: 800px; }
.section-tag {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h2 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.section-lead { font-size: 19px; line-height: 1.6; color: var(--text-soft); }
p { color: var(--text-soft); font-size: 16px; }
section.alt { background: var(--bg-soft); }

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.stat-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.stat-number .unit { font-size: 32px; color: var(--red); }
.stat-label { color: var(--text-soft); font-size: 15px; line-height: 1.5; }

/* ===== CUSTOMER PROOF STRIP ===== */
.proof-strip {
  background: var(--bg-soft);
  padding: 70px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.proof-heading {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.proof-sub {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: stretch;
}
.proof-card {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 110px;
  text-align: center;
}
.proof-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-panel);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.proof-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 0.2px;
}
.proof-nda {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ===== SERVICES THREE-UP ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(187, 39, 41, 0.12), 0 4px 12px rgba(15, 30, 58, 0.08);
  border-color: var(--red);
}
.service-card .tag {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.service-card h3 { font-size: 22px; margin-bottom: 18px; }
.service-card p { font-size: 15px; line-height: 1.55; margin-bottom: 22px; }
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.service-card li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--bg-soft);
}
.service-card li:last-child { border-bottom: none; }
.service-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.service-link-arrow {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-card:hover .service-link-arrow { gap: 10px; }

/* ===== SUB-PAGE PREVIEW CARDS (on overview / index) ===== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.preview-card:hover .preview-arrow { transform: translateX(6px); color: var(--red); }
.preview-img {
  height: 200px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
/* Geometric grid overlay — gives each card visible depth */
.preview-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* Film-grain noise for atmosphere */
.preview-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* Each card gets a distinct radial accent — subtle, monochrome-leaning */
.preview-img.coverage,
.preview-img.arch,
.preview-img.ops {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(187, 39, 41, 0.45), transparent 55%),
    #0A0A0A;
}
.preview-img-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.preview-body { padding: 28px 28px 32px; }
.preview-tag {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.preview-card h3 { font-size: 22px; margin-bottom: 12px; }
.preview-card p { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
.preview-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s, color 0.25s;
}

/* ===== MAP HERO (dark — LATAM only) ===== */
.map-section { background: var(--ink); padding: 80px 40px; }
.map-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.map-section .section-tag { color: var(--red-60); }
.map-section h2 { color: white; margin-bottom: 16px; }
.map-section .section-lead {
  color: rgba(255,255,255,0.7);
  max-width: 760px;
  margin: 0 auto 40px;
}
.map-image {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.map-image:hover { transform: scale(1.015); }
/* Scroll-parallax — applied via JS as inline transform on scroll */
.map-parallax {
  transition: transform 0.1s linear;
}

/* ===== CARIBBEAN SECTION (light, map inset) ===== */
.caribbean-section { background: var(--bg-soft); padding: 90px 40px; }
.caribbean-inner { max-width: 1200px; margin: 0 auto; }
.caribbean-map-frame {
  background: #0F0509;
  border-radius: 16px;
  padding: 32px;
  margin-top: 32px;
  box-shadow: var(--shadow-lg);
}
.caribbean-map-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.caribbean-map-frame img:hover { transform: scale(1.01); }
.caribbean-cables {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.cable-chip {
  background: rgba(187, 39, 41, 0.12);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.caribbean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.caribbean-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}
.caribbean-card h4 {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.caribbean-card p { color: var(--text-soft); font-size: 15px; line-height: 1.55; }

/* ===== REACH (Three columns) ===== */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}
.reach-icon {
  width: 48px;
  height: 48px;
  background: var(--red-20);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
}
.city-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.city-chip {
  background: var(--bg-panel);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
}

/* ===== ARCHITECTURE LIST ===== */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
.arch-item {
  padding: 28px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.arch-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.arch-item p { font-size: 15px; line-height: 1.55; }

/* ===== INTERCONNECT ===== */
.interconnect-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.interconnect-block h3 { margin-bottom: 16px; }
.interconnect-block ul { list-style: none; padding: 0; }
.interconnect-block li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.interconnect-block li:last-child { border-bottom: none; }
.check { color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ===== SLA / OPERATIONS ===== */
.sla-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.sla-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.sla-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.sla-value { color: var(--navy); font-size: 22px; font-weight: 700; }

/* ===== QUOTE — refined dark section with subtle red glow ===== */
.quote-block {
  background:
    radial-gradient(ellipse 900px 600px at 50% 30%, rgba(187, 39, 41, 0.10), transparent 65%),
    var(--ink);
  color: white;
  padding: 90px 40px;
  position: relative;
  overflow: hidden;
}
.quote-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='300' height='300' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
.quote-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-text {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}
.quote-attr { color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 500; }
.quote-attr strong { color: white; font-weight: 700; font-style: normal; }

/* ===== PAGE-NAV (Next / Previous between sub-pages) ===== */
.page-nav {
  background: var(--bg-soft);
  padding: 50px 40px;
  border-top: 1px solid var(--border);
}
.page-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.page-nav-link {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.page-nav-link:hover { color: var(--red); }
.page-nav-link .small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}
.page-nav-link .big { font-size: 18px; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--bg-card);
  text-align: center;
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}
.final-cta h2 { margin-bottom: 20px; }
.final-cta p { font-size: 19px; max-width: 700px; margin: 0 auto 36px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 50px 40px 30px;
  font-size: 14px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
}
.form-field label .req { color: var(--red); margin-left: 3px; }
.form-input, .form-select, .form-textarea {
  font-family: inherit;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-size: 16px; /* 16px minimum: below this iOS Safari auto-zooms on focus */
  color: var(--text);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(187, 39, 41, 0.12);
}
.form-textarea { resize: vertical; min-height: 130px; font-family: inherit; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: white;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.form-footnote {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.hidden-honeypot { position: absolute; left: -9999px; }

/* Right-side contact info panel */
.contact-side h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item .value {
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
}
.contact-item a.value {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.contact-item a.value:hover { color: var(--red); border-bottom-color: var(--red); }
.contact-item .hint { font-size: 13px; color: var(--text-soft); margin-top: 4px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== FAQ ACCORDION ===== */
.faq-list { margin-top: 24px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
  letter-spacing: -0.2px;
}
.faq-question::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-color: var(--red);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M8 1V15M1 8H15' stroke='currentColor' stroke-width='1.8' stroke-linecap='round'/></svg>") no-repeat center / 16px 16px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M8 1V15M1 8H15' stroke='currentColor' stroke-width='1.8' stroke-linecap='round'/></svg>") no-repeat center / 16px 16px;
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

/* ===== CASE STUDY ===== */
.case-hero {
  background:
    radial-gradient(ellipse 900px 600px at 80% -10%, rgba(187, 39, 41, 0.22), transparent 55%),
    radial-gradient(ellipse 1000px 700px at 0% 110%, rgba(187, 39, 41, 0.12), transparent 60%),
    var(--ink);
  color: white;
  padding: 90px 40px;
  position: relative;
  overflow: hidden;
}
.case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='300' height='300' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
.case-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.case-hero h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  font-weight: 800;
}
.case-hero p {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  max-width: 760px;
}
@media (max-width: 800px) {
  .case-hero h1 { font-size: 32px; }
  .case-hero p { font-size: 17px; }
}

/* Animation-delay modifiers — replaces inline styles on SVG paths */
.arch-pulse-glow--d1 { animation-delay: 0s; }
.arch-pulse-glow--d2 { animation-delay: 3s; }
.arch-pulse-glow--d3 { animation-delay: 6s; }
.case-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.case-meta .pill {
  background: rgba(187, 39, 41, 0.14);
  color: var(--red-60);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.case-body { max-width: 760px; margin: 0 auto; padding: 70px 40px; }
.case-body h2 { font-size: 30px; margin-top: 40px; margin-bottom: 16px; }
.case-body p { font-size: 17px; line-height: 1.7; margin-bottom: 18px; color: var(--text); }
.case-body p.lead { font-size: 21px; line-height: 1.55; color: var(--text); font-weight: 500; margin-bottom: 30px; }
.case-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 40px;
}
.case-callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--red);
  padding: 22px 22px;
  border-radius: 0 10px 10px 0;
}
.case-callout .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.case-callout .desc { font-size: 14px; color: var(--text-soft); line-height: 1.4; }
.case-pullquote {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 36px 40px;
  margin: 40px 0;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
  letter-spacing: -0.3px;
  border-left: 5px solid var(--red);
}
.case-pullquote .attribution {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0;
}
@media (max-width: 800px) {
  .case-callouts { grid-template-columns: 1fr; }
}

/* ===== EDITORIAL NOTES PANEL ===== */
.editorial-panel {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 60px auto;
  max-width: 1200px;
  font-size: 14px;
}
.editorial-panel h4 {
  color: #92400E;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.editorial-panel ul { margin-left: 20px; color: #78350F; }
.editorial-panel li { margin-bottom: 6px; }

/* ===== POLISH: SCROLL-REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ===== POLISH: RICHER CARD HOVERS — layered shadows ===== */
/* Uniform resting weight: every card type carries the same border + subtle shadow */
.reach-card, .caribbean-card, .sla-item, .service-card { box-shadow: var(--shadow-sm); }

.stat-card, .reach-card, .caribbean-card, .preview-card, .arch-item, .sla-item {
  transition: transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.3s ease;
}
.stat-card:hover, .reach-card:hover, .caribbean-card:hover, .sla-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-soft);
}
.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--red);
}
.arch-item:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.city-chip, .cable-chip { transition: transform 0.25s var(--ease-out), background 0.25s ease; }
.city-chip:hover { transform: translateY(-1px); background: var(--bg-card); }
.cable-chip:hover { transform: translateY(-1px); background: var(--red-soft-2); }

/* ===== UTILITY CLASSES — replacing inline styles ===== */
/* Center alignment helpers */
.cta-row--center { justify-content: center; }
.cta-row--top { margin-top: 28px; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 800px; margin-bottom: 24px; }
.page-nav-link--right > span { text-align: right; }

/* Footer typography */
.footer-tagline {
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.footer-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  opacity: 0.6;
}

/* Editorial panel — internal-only */
.editorial-approval {
  background: #FCD34D;
  padding: 14px 18px 14px 38px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #78350F;
}
.editorial-approval ul { margin-top: 6px; margin-bottom: 0; }

/* Contact form */
.form-heading { font-size: 26px; margin-bottom: 8px; }
.form-intro { font-size: 15px; color: var(--text-soft); margin-bottom: 28px; }
.form-link-noc { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.form-link-noc:hover { color: var(--red-dark); }

/* NOC monitor label hint */
.noc-status-bar .label--space { margin-left: 8px; }

/* Pricing tile hint text */
.sla-hint {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 6px;
  line-height: 1.4;
}
.pricing-footnote {
  font-size: 14px;
  color: var(--muted);
  margin-top: 24px;
  font-style: italic;
}

/* Service-page grid modifiers */
.arch-grid--5col { grid-template-columns: repeat(5, 1fr); }
.arch-grid--4col { grid-template-columns: repeat(4, 1fr); }
.sla-grid--3col { grid-template-columns: repeat(3, 1fr); }

/* Preview grid modifiers */
.preview-grid--single { grid-template-columns: 1fr; }
.preview-card--horizontal {
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.preview-img--horizontal {
  height: auto;
  min-height: 240px;
}

/* Mobile responsive overrides for new modifiers */
@media (max-width: 900px) {
  .arch-grid--5col, .arch-grid--4col, .sla-grid--3col {
    grid-template-columns: 1fr;
  }
  .preview-card--horizontal { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero::before { animation: none; }
  .hero-deco-coverage { animation: none; }
  .arch-pulse-glow, .ops-ring-pulse, .flow-pulse, .noc-status-bar .dot { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 36px; }
  .hero.hero-compact h1 { font-size: 30px; }
  .hero, .hero.hero-compact { padding: 70px 24px 80px; }
  section { padding: 60px 24px; }
  h2 { font-size: 30px; }
  .stats-grid, .reach-grid, .preview-grid, .arch-grid, .interconnect-row, .sla-grid, .caribbean-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { padding: 18px 24px; }
  .subnav-inner { padding: 0 8px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .subnav-link { padding: 14px 14px; font-size: 12px; white-space: nowrap; }
  .proof-strip { padding: 50px 24px; }
  .page-nav-inner { gap: 16px; }
  .breadcrumbs { padding: 12px 24px; }
  .noc-vis-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 12px; }
  .network-diagram { padding: 20px 12px 30px; }
  .diagram-inner { min-width: 600px; }
}
@media (max-width: 560px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* ===== ROUTE LATENCY TABLE (carrier engineering facts) ===== */
.route-table-wrap {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.route-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.route-table th {
  text-align: left;
  padding: 14px 20px;
  background: var(--bg-panel);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.route-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border-soft);
  color: var(--text);
}
.route-table td:first-child { font-weight: 600; color: var(--navy); }
.route-table td:nth-child(2) {
  font-family: 'Geist Mono', 'SF Mono', monospace;
  font-variant-numeric: tabular-nums;
  color: var(--red);
  font-weight: 600;
}
.route-table td:last-child { color: var(--text-soft); font-size: 14px; }
@media (max-width: 700px) {
  .route-table th, .route-table td { padding: 12px 14px; }
  .route-table th:last-child, .route-table td:last-child { display: none; }
}

/* ===== ABOUT PAGE — story prose + leadership ===== */
.prose { max-width: 760px; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--text); margin-bottom: 20px; }
.prose p.lead-para { font-size: 22px; line-height: 1.55; color: var(--text); font-weight: 500; margin-bottom: 28px; }
.prose p:last-child { margin-bottom: 0; }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.leader-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.leader-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red-20);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.leader-name { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.leader-role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 14px;
}
.leader-bio { font-size: 15px; line-height: 1.6; color: var(--text-soft); }

@media (max-width: 900px) {
  .leadership-grid { grid-template-columns: 1fr; }
}

/* ===== CONTACT FORM SUCCESS BANNER ===== */
.form-success {
  display: none;
  background: var(--red-20);
  border: 1px solid var(--red-60);
  color: var(--red-dark);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 22px;
}
.form-success.visible { display: block; }
