/* ============================================================
   Gulfsat — INNER PAGES shared stylesheet
   Shared system mirroring the landing page exactly:
   - Same tokens (colors, type, spacing)
   - Same nav + footer chrome
   - Same eyebrow + italic-emphasis headline pattern
   - Each page provides its own hero + signature moment
   ============================================================ */

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

@font-face {
  font-family: 'Al Jazeera Arabic';
  src: url('assets/fonts/AlJazeeraArabic-Regular.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Hero / dark surfaces */
  --fg:    #f0f0f0;
  --muted: rgba(255,255,255,0.88);
  --dim:   rgba(255,255,255,0.4);
  --g:     clamp(1.8rem, 4vw, 4rem);

  /* Light section system — matched to landing */
  --s-bg:     #f4f3ef;
  --s-bg2:    #eceae4;
  --s-fg:     #0e1118;
  --s-muted:  #3a4250;
  --s-dim:    #9ca3af;
  --s-border: rgba(14,17,24,0.10);
  --s-accent: #008FD5;
  --s-accent-deep: #0073AC;
  --s-accent-tint: rgba(0,143,213,0.10);
  --s-night-900: #051321;
  --s-night-800: #0A1F32;
  --s-night-700: #122C47;

  /* Semantic */
  --ok:    #18A957;
  --warn:  #E6A315;
  --err:   #D8352B;
}

html, body { width: 100%; }
html { height: 100%; }
body {
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Urbanist', sans-serif;
  background: var(--s-bg);
  color: var(--s-fg);
}

/* ── ARABIC FONT SWAP (when html[lang=ar]) ── */
html[lang="ar"] body,
html[lang="ar"] .logo,
html[lang="ar"] .nav-links a,
html[lang="ar"] .nav-cta,
html[lang="ar"] .lang-toggle button,
html[lang="ar"] .label,
html[lang="ar"] h1,
html[lang="ar"] .sub,
html[lang="ar"] .s-h,
html[lang="ar"] .s-p,
html[lang="ar"] .s-label,
html[lang="ar"] .s-eyebrow,
html[lang="ar"] .footer-copy,
html[lang="ar"] .footer-links a,
html[lang="ar"] p, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] li, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] textarea {
  font-family: 'Al Jazeera Arabic', sans-serif;
  letter-spacing: 0;
}

/* ── ARABIC RIGHT-TO-LEFT ALIGNMENT ──
   Layout stays LTR; only text flow inside content blocks flips.
   Constrained-width blocks get pushed to the right edge so their right
   margin aligns with the unconstrained heading above. */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] .s-h,
html[lang="ar"] .s-p,
html[lang="ar"] .s-label,
html[lang="ar"] .s-eyebrow,
html[lang="ar"] .page-hero-breadcrumb,
html[lang="ar"] .page-hero h1,
html[lang="ar"] .page-hero p,
html[lang="ar"] .cta-h,
html[lang="ar"] .cta-p,
html[lang="ar"] .ch-table th,
html[lang="ar"] .ch-table td {
  direction: rtl;
  text-align: right;
}
html[lang="ar"] .s-p,
html[lang="ar"] .page-hero p {
  margin-left: auto;
  margin-right: 0;
}
html[lang="ar"] .s-label,
html[lang="ar"] .s-eyebrow {
  display: block;
  text-align: right;
}
/* Section headers with a right-side link need flex direction reversed
   so the heading sits on the right and the link on the left in AR. */
html[lang="ar"] .section-head,
html[lang="ar"] .news-head,
html[lang="ar"] .channels-head {
  flex-direction: row-reverse;
}

/* Scroll-margin so anchor jumps clear the fixed nav */
section[id], [data-anchor] { scroll-margin-top: 6rem; }

/* ============================================================
   NAV — same shape as landing, but page-context aware
   ============================================================ */
nav.gs-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.4rem var(--g) 0;
  display: flex; flex-direction: column;
  background: linear-gradient(to bottom, rgba(5,19,33,0.92), rgba(5,19,33,0.45) 70%, transparent);
  pointer-events: auto;
}
/* Light nav variant — when scrolled past hero on light pages */
nav.gs-nav.scrolled {
  background: rgba(244,243,239,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--s-border);
}
nav.gs-nav.scrolled .nav-links a       { color: rgba(14,17,24,0.62); }
nav.gs-nav.scrolled .nav-links a:hover,
nav.gs-nav.scrolled .nav-links li.active a { color: var(--s-fg); }
nav.gs-nav.scrolled .nav-links li > a::after {
  background: var(--s-accent);
  box-shadow: 0 0 8px rgba(0,143,213,0.35);
}
nav.gs-nav.scrolled .nav-cta           { color: rgba(14,17,24,0.62); border-color: rgba(14,17,24,0.18); }
nav.gs-nav.scrolled .nav-cta:hover     { color: var(--s-fg); border-color: var(--s-fg); }
nav.gs-nav.scrolled .lang-toggle       { border-color: rgba(14,17,24,0.18); }
nav.gs-nav.scrolled .lang-toggle button { color: rgba(14,17,24,0.62); }
nav.gs-nav.scrolled .lang-toggle button.active { color: #f4f3ef; background: var(--s-fg); }
nav.gs-nav.scrolled .logo img          { filter: invert(1) brightness(0) saturate(0); opacity: 0.85; }

.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.4rem;
  gap: 1rem;
}
.nav-row > * { flex-shrink: 0; }
.nav-cta { white-space: nowrap; }
.nav-links { flex-shrink: 1; min-width: 0; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 28px; display: block; }

.nav-links {
  display: flex; gap: 0; list-style: none; position: relative;
}
.nav-links li { position: relative; }
.nav-links li > a {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,240,240,0.66);
  text-decoration: none;
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.4rem;
  position: relative;
  transition: color 0.26s;
}
.nav-links li > a::before { content: none; }
.nav-links li > a::after {
  content: '';
  position: absolute;
  left: 1.4rem; right: 1.4rem;
  bottom: 0.15rem;
  height: 2px;
  background: #30E7ED;
  box-shadow: 0 0 12px rgba(48,231,237,0.8), 0 0 4px rgba(48,231,237,1);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s;
  opacity: 0;
  border-radius: 2px;
}
.nav-links li.dir-right > a::after { transform-origin: right center; }
.nav-links li:hover > a,
.nav-links li.active > a { color: #fff; }
.nav-links li:hover > a::after,
.nav-links li.active > a::after { transform: scaleX(1); opacity: 1; }

.nav-right { display: flex; align-items: center; }
.lang-toggle {
  display: inline-flex; align-items: stretch;
  border: 1px solid rgba(240,240,240,0.18);
  margin-right: 1rem;
}
.lang-toggle button {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  background: transparent;
  border: none;
  color: rgba(240,240,240,0.62);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
.lang-toggle button.active { color: #080c12; background: var(--fg); }
.lang-toggle button:not(.active):hover { color: var(--fg); }
.lang-toggle .ar-btn { font-family: 'Al Jazeera Arabic', sans-serif; font-size: 0.85rem; }

.nav-cta {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,240,240,0.66);
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(240,240,240,0.32);
  transition: color 0.22s, border-color 0.22s, background 0.22s;
}
.nav-cta:hover { color: var(--fg); border-color: rgba(240,240,240,0.6); }

/* ============================================================
   PAGE HERO — three height variants
   ============================================================ */
.page-hero {
  position: relative;
  width: 100%;
  background: var(--s-night-900);
  color: var(--fg);
  overflow: hidden;
  padding: clamp(7rem, 12vh, 9rem) var(--g) 4rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero.h-service  { min-height: 70vh; }
.page-hero.h-utility  { min-height: 50vh; }
.page-hero.h-editorial{ min-height: 40vh; }
.page-hero.light {
  background: var(--s-bg);
  color: var(--s-fg);
  border-bottom: 1px solid var(--s-border);
}

.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 35%;
  opacity: 0.45;
  filter: saturate(0.85);
}
.page-hero.light .page-hero-bg { opacity: 0.32; filter: saturate(0.6); }

/* Subtle starfield overlay for dark heroes */
.page-hero-stars {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(1px 1px at 14% 22%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(1px 1px at 78% 38%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.45), transparent 50%),
    radial-gradient(1px 1px at 65% 15%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(1px 1px at 88% 82%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(1px 1px at 22% 92%, rgba(255,255,255,0.4), transparent 50%);
  pointer-events: none;
}
.page-hero.light .page-hero-stars { display: none; }

/* Faint orbit-arc motif */
.page-hero-orbit {
  position: absolute; right: -260px; top: -160px; width: 920px; height: 920px;
  border: 1px solid rgba(0,143,213,0.18);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.page-hero-orbit::after {
  content: ''; position: absolute; inset: 90px;
  border: 1px solid rgba(0,143,213,0.10);
  border-radius: 50%;
}

.page-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 25%, rgba(5,19,33,0.55) 100%),
    linear-gradient(to top, rgba(5,19,33,0.85) 0%, rgba(5,19,33,0.30) 35%, transparent 60%);
}
.page-hero.light .page-hero-overlay {
  background:
    linear-gradient(to top, rgba(244,243,239,0.92) 0%, rgba(244,243,239,0.55) 35%, transparent 60%);
}

.page-hero-content {
  position: relative; z-index: 3;
  max-width: 820px;
  display: flex; flex-direction: column; gap: 1.4rem;
}

.page-hero-eyebrow {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #30E7ED;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.page-hero-eyebrow::before { content: none; }
.page-hero.light .page-hero-eyebrow { color: var(--s-accent); }

.page-hero h1 {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: inherit;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 200;
  color: rgba(240,240,240,0.65);
}
.page-hero.light h1 em { color: var(--s-muted); }

.page-hero-sub {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(240,240,240,0.78);
  max-width: 640px;
  margin-top: 0.4rem;
}
.page-hero.light .page-hero-sub { color: var(--s-muted); }

.page-hero-meta {
  display: flex; gap: 2.6rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.phm-item {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.phm-l {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(240,240,240,0.55);
}
.page-hero.light .phm-l { color: var(--s-dim); }
.phm-v {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.page-hero.light .phm-v { color: var(--s-fg); }

/* Breadcrumb / page tag */
.page-hero-breadcrumb {
  display: none;
}
.video-hero .page-hero-breadcrumb {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.6rem;
}

/* ============================================================
   SECTIONS — same primitives as landing
   ============================================================ */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) var(--g);
  background: var(--s-bg);
  border-top: 1px solid var(--s-border);
}
.section.alt   { background: var(--s-bg2); }
.section.dark  {
  background: var(--s-night-900);
  color: #e6edf3;
  border-top: none;
  position: relative;
  overflow: hidden;
}
.section.dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 14% 22%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 78% 38%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(1px 1px at 65% 15%, rgba(255,255,255,0.25), transparent 50%),
    radial-gradient(1px 1px at 88% 82%, rgba(255,255,255,0.4), transparent 50%);
  z-index: 0;
  pointer-events: none;
}
.section.dark > * { position: relative; z-index: 1; }

.section-inner { max-width: 1520px; margin: 0 auto; }

.s-eyebrow {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--s-accent);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.s-eyebrow::before { content: none; }

.section.dark .s-eyebrow,
.orbital-arc .s-eyebrow,
.noc-strip .s-eyebrow,
.cta-band .s-eyebrow { color: #30E7ED; }

.s-h {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--s-fg);
}
.s-h em {
  font-weight: 200; font-style: italic;
  color: var(--s-muted);
}
.section.dark .s-h    { color: #f0f4f8; }
.section.dark .s-h em { color: rgba(255,255,255,0.55); }

.s-p {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.005em;
  color: var(--s-muted);
  max-width: 640px;
  margin-top: 1.2rem;
}
.section.dark .s-p { color: rgba(230,237,243,0.75); }

/* Numbered sub-services list — landing-page pattern */
.sub-services { margin-top: 2.4rem; }
.sub-svc {
  padding: 1.1rem 0;
  border-top: 1px solid var(--s-border);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem; align-items: start;
  transition: padding-left 0.18s;
}
.sub-svc:last-child { border-bottom: 1px solid var(--s-border); }
.sub-svc:hover { padding-left: 0.4rem; }
.section.dark .sub-svc { border-top-color: rgba(255,255,255,0.08); }
.section.dark .sub-svc:last-child { border-bottom-color: rgba(255,255,255,0.08); }

.sub-svc-idx { display: none; }
.sub-svc { grid-template-columns: 1fr; }

.sub-svc-name {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--s-fg);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.section.dark .sub-svc-name { color: #f0f4f8; }
.sub-svc-desc {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.005em;
  color: var(--s-muted);
  margin-top: 0.4rem;
  max-width: 640px;
}
.section.dark .sub-svc-desc { color: rgba(230,237,243,0.65); }

/* Detail grid (image + text two-up) */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.detail-img {
  aspect-ratio: 4/3;
  background: var(--s-bg2);
  border: 1px solid var(--s-border);
  position: relative;
  overflow: hidden;
}
.section.dark .detail-img { background: var(--s-night-800); border-color: rgba(255,255,255,0.06); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-img-label {
  position: absolute; bottom: 12px; left: 12px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,240,240,0.7);
  background: rgba(14,17,24,0.6);
  padding: 4px 8px;
}
.detail-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 0.4rem;
  color: var(--s-dim);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 12px,
      rgba(14,17,24,0.025) 12px 13px);
}
.section.dark .detail-img-placeholder {
  color: rgba(255,255,255,0.32);
  background:
    repeating-linear-gradient(45deg,
      transparent 0 12px,
      rgba(255,255,255,0.025) 12px 13px);
}
.detail-img-placeholder svg { opacity: 0.28; }

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0f4f8;
  background: var(--s-accent);
  padding: 0.95rem 1.6rem;
  text-decoration: none;
  border: 1px solid var(--s-accent);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.btn-primary:hover { background: var(--s-accent-deep); border-color: var(--s-accent-deep); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s-fg);
  padding: 0.95rem 1.6rem;
  text-decoration: none;
  border: 1px solid var(--s-border);
  transition: border-color 0.18s, color 0.18s;
}
.btn-ghost:hover { color: var(--s-accent); border-color: var(--s-accent); }
.section.dark .btn-ghost { color: var(--fg); border-color: rgba(255,255,255,0.2); }
.section.dark .btn-ghost:hover { color: var(--s-accent); border-color: var(--s-accent); }

.text-link {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s-accent);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: gap 0.18s;
}
.text-link:hover { gap: 0.8rem; }
.text-link span { transition: transform 0.18s; }
.text-link:hover span { transform: translateX(4px); }

/* ============================================================
   CTA BAND (reused on every page)
   ============================================================ */
.cta-band {
  background: var(--s-night-900);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5rem) var(--g);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 14% 22%, rgba(255,255,255,0.4), transparent 50%),
    radial-gradient(1px 1px at 78% 38%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(1px 1px at 65% 15%, rgba(255,255,255,0.25), transparent 50%),
    radial-gradient(1px 1px at 88% 82%, rgba(255,255,255,0.4), transparent 50%);
  pointer-events: none;
}
.cta-orbit {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 540px; height: 540px;
  border: 1px solid rgba(0,143,213,0.22);
  border-radius: 50%;
  pointer-events: none;
}
.cta-orbit::after {
  content: ''; position: absolute; inset: 60px;
  border: 1px solid rgba(0,143,213,0.12);
  border-radius: 50%;
}
.cta-band-inner {
  position: relative; z-index: 2;
  max-width: 1520px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-h {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #f0f4f8;
}
.cta-h em {
  font-style: italic; font-weight: 200;
  color: #30E7ED;
}
.cta-p {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(230,237,243,0.7);
  margin-top: 1rem;
  max-width: 600px;
}
.cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.cta-side .btn-primary { background: #f0f4f8; color: var(--s-night-900); border-color: #f0f4f8; }
.cta-side .btn-primary:hover { background: var(--s-accent); border-color: var(--s-accent); color: #f0f4f8; }
.cta-locales {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.34);
}

/* ============================================================
   FOOTER
   ============================================================ */
/* ── Footer ── */
.gs-footer {
  background: var(--s-night-900, #051321);
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: 'Urbanist', sans-serif;
  color: rgba(255,255,255,0.5);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem var(--g);
  max-width: 1400px;
  margin: 0 auto;
}
.footer-logo {
  height: 22px;
  opacity: 0.7;
  margin-bottom: 1rem;
  display: block;
}
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.4rem;
}
.footer-social {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover {
  border-color: var(--s-accent, #008FD5);
  color: var(--s-accent, #008FD5);
  background: rgba(0,143,213,0.08);
}
.footer-col-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--s-accent, #008FD5);
  margin-bottom: 1.1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col ul li a,
.footer-col ul li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact li { font-size: 0.875rem; }
.footer-contact a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem var(--g);
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.22);
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.eyebrow-blue { color: var(--s-accent); }
.italic-soft  { font-style: italic; font-weight: 200; color: var(--s-muted); }
.section.dark .italic-soft { color: rgba(255,255,255,0.55); }

.hairline { border-top: 1px solid var(--s-border); }
.section.dark .hairline { border-top-color: rgba(255,255,255,0.08); }

/* Reveal-on-scroll (very subtle, opt-in via JS adding .reveal-init) */
.reveal-init .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-init .reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-side { align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .footer-strip { justify-content: flex-start; }
  .page-hero-meta { gap: 1.4rem; }
}

/* ── BODY TYPE POLISH ──
   Page-specific classes are defined in each page's inline <style>, which
   loads after inner.css. !important is required here to bring the prose
   sizes up to a comfortable reading scale across all inner pages. */
.topology-p,
.cinfo-p,
.cform-p { font-size: 1.1rem !important; line-height: 1.65 !important; }
.svc-card-p,
.ind-card-p,
.expand-row-desc,
.timeline-p,
.tl-detail-p,
.leader-bio,
.story-meta-v { font-size: 1.05rem !important; line-height: 1.6 !important; }
.sub-svc-desc { font-size: 1.05rem !important; }
.cred-d,
.direct-d { font-size: 0.95rem !important; line-height: 1.55 !important; }

/* ── UNVERIFIED DATA FLAG ──
   Marks copy not present in the source content document. Loud on purpose
   so it is impossible to miss during review. Remove the class once the
   value is confirmed against a real source. */
.unverified {
  position: relative;
  background: rgba(255, 213, 0, 0.18);
  outline: 1px dashed rgba(255, 213, 0, 0.85);
  outline-offset: 2px;
  border-radius: 2px;
  cursor: help;
}
.unverified::after {
  content: '⚠ unverified';
  position: absolute;
  top: -0.85rem;
  right: -0.4rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1500;
  background: #ffd500;
  padding: 0.12rem 0.4rem;
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 50;
}
.unverified-block {
  position: relative;
  outline: 2px dashed rgba(255, 213, 0, 0.85);
  outline-offset: 6px;
  border-radius: 4px;
}
.unverified-block::before {
  content: '⚠ unverified — not in source doc';
  position: absolute;
  top: -1.25rem;
  left: 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1500;
  background: #ffd500;
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  z-index: 50;
}

/* ============================================================
   MEGA NAV — shared across all pages
   ============================================================ */
.nav-links li.open > a::after { opacity: 1; transform: scaleX(1); }
.nav-links li.open > a { color: #fff; }

.mega-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 18;
  pointer-events: none;
  padding-top: 5.5rem;
}
.mega {
  background: rgba(8,12,18,0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid rgba(240,240,240,0.06);
  border-bottom: 1px solid rgba(240,240,240,0.06);
  opacity: 0; transform: translateY(-12px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}
.mega.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-col { padding: 1.6rem 2rem 1.8rem; border-right: 1px solid rgba(240,240,240,0.06); }
.mega-col:last-child { border-right: none; }
.mega-col .col-label {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 1.4rem;
  display: block; line-height: 1.15;
}
.mega-list { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; }
.mega-list a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0.7rem 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1rem; font-weight: 400;
  color: rgba(240,240,240,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(240,240,240,0.05);
  transition: color 0.18s, padding 0.22s;
}
.mega-list a .idx {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.18em;
  color: rgba(240,240,240,0.25);
}
.mega-list a:hover { color: #fff; padding-left: 0.6rem; }
.mega-list a:hover .idx { color: var(--s-accent); }
.mega-list .static {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0.7rem 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1rem; font-weight: 400;
  color: rgba(240,240,240,0.45);
  border-bottom: 1px solid rgba(240,240,240,0.05);
  cursor: default;
}
.mega-list .static .idx {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.18em;
  color: rgba(240,240,240,0.18);
}
.mega-feature { display: flex; flex-direction: column; gap: 1rem; }
.mega-feature .img {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  border: 1px solid rgba(240,240,240,0.08);
}
.mega-feature h4 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700; font-size: 1.1rem; line-height: 1.2; color: #f0f4f8;
}
.mega-feature p {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.82rem; line-height: 1.55; font-weight: 300;
  color: rgba(240,240,240,0.5);
}
.mega-feature .more {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--s-accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.4rem;
}
