/* Self-hosted web fonts (SIL Open Font License) — replaces Google Fonts.
   See assets/fonts/LICENSE.md for licensing. */
@font-face {
  font-family: 'Aldrich';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/aldrich-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lexend Tera';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lexend-tera-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend Tera';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lexend-tera-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lexend Tera';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lexend-tera-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend Tera';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lexend-tera-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lexend Tera';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/lexend-tera-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend Tera';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/lexend-tera-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   BRAND FONTS
   ============================================================ */
@font-face { font-family: 'Azonix'; src: url('assets/fonts/Azonix.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('assets/fonts/Gilroy-Light.ttf')    format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('assets/fonts/Gilroy-Regular.ttf')  format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('assets/fonts/Gilroy-Medium.ttf')   format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('assets/fonts/Gilroy-Semibold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('assets/fonts/Gilroy-Bold.ttf')     format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/* ============================================================
   DESIGN TOKENS — Raider Technologies brand
   ============================================================ */
:root {
  /* Brand palette */
  --raisin-black:   #231f20;
  --maya-blue:      #6fc1ef;
  --egyptian-blue: #133aae;
  --mango-tango:    #fc814a;
  --magic-mint:     #94ecbe;

  /* Semantic tokens — all dark surfaces now share Raisin Black; "darker" is only a hair deeper for gradient depth */
  --bg-dark:        #231f20;
  --bg-darker:      #1a1718;
  --bg-deepest:     #231f20;

  --accent:         #6fc1ef;
  --accent-hover:   #5cb0e0;
  --accent-soft:    rgba(111, 193, 239, 0.12);
  --accent-deep:    #133aae;
  --accent-warm:    #fc814a;
  --accent-mint:    #94ecbe;

  --text-white:     #ffffff;
  --text-muted:     rgba(255, 255, 255, 0.75);
  --text-faint:     rgba(255, 255, 255, 0.5);
  --border-soft:    rgba(255, 255, 255, 0.08);

  --font-headline:  'Azonix', 'Lexend Tera', 'Gilroy', system-ui, sans-serif;
  /* Labels switched off Azonix per brand feedback — Azonix reserved for headlines */
  --font-label:     'Gilroy', 'Inter', system-ui, sans-serif;
  --font-body:      'Gilroy', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container-max:  1400px;
  --radius:         16px;
  --radius-sm:      10px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background-color: var(--bg-deepest);
  color: var(--text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }

/* PLACEHOLDERS */
.placeholder-box {
  background:
    repeating-linear-gradient(45deg, rgba(111,193,239,0.06) 0 14px, rgba(111,193,239,0.02) 14px 28px),
    linear-gradient(135deg, #1a1718 0%, #2e2829 50%, #1a1718 100%);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  border: 1px dashed rgba(111,193,239,0.25);
  border-radius: var(--radius);
}
.placeholder-box.small { min-height: 50px; font-size: 0.65rem; }
.placeholder-tag {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.35);
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 0.5rem 1rem;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 4px;
}

/* NAVBAR */
.app-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background-color: #231f20;
  color: var(--text-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 1.5rem 1.5rem;
}
/* .navbar-scrolled class no longer needed visually — kept for JS compatibility */
.navbar-content {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.75rem 2.75rem;
  max-width: var(--container-max); margin: 0 auto;
  gap: 2.5rem;
}
.logo-link { display: flex; align-items: center; color: var(--text-white); }
.logo-img { height: 52px; width: auto; display: block; }

/* Nav list (desktop) */
.nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 2.5rem; align-items: center;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--text-white);
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 1rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active::after {
  content: ""; position: absolute; bottom: 0.5rem; left: 0; right: 0;
  height: 2px; background-color: var(--accent);
}
.caret { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-item.has-dropdown:hover .caret,
.nav-item.has-dropdown:focus-within .caret { transform: rotate(180deg); }

/* Contact button — make the Contact link a filled pill so it stands out
   from the plain text nav links. */
.nav-link.nav-cta {
  background-color: var(--accent-deep);
  color: var(--text-white);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.nav-link.nav-cta:hover {
  background-color: #0e2c8a;
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(19, 58, 174, 0.4);
}
.nav-link.nav-cta.active::after { display: none; }

/* Desktop dropdown */
.dropdown {
  list-style: none; padding: 0.65rem 0; margin: 0;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(35, 31, 32, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li { list-style: none; }
.dropdown a {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.dropdown a:hover { color: var(--accent); background-color: var(--accent-soft); }

/* Mobile drawer */
.mobile-menu-btn { display: none; color: var(--text-white); padding: 0.5rem; }
.mobile-drawer { display: none; flex-direction: column; background-color: rgba(35, 31, 32, 0.98); padding: 0.5rem 0; border-radius: 0 0 1.5rem 1.5rem; overflow: hidden; }
.mobile-drawer.open { display: flex; }
.drawer-item {
  display: block;
  color: var(--text-white);
  padding: 1.2rem 1.75rem;
  font-size: 1.1rem; letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.drawer-item:hover { background-color: var(--accent-soft); color: var(--accent); }
.drawer-group { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.drawer-row { display: flex; align-items: center; justify-content: space-between; }
.drawer-row .drawer-item { flex: 1; padding-right: 0; }
.drawer-toggle {
  padding: 1rem 1.5rem;
  color: var(--text-white);
  transition: background-color 0.2s ease;
}
.drawer-toggle .caret { transition: transform 0.25s ease; display: block; }
.drawer-toggle:hover { background-color: rgba(255,255,255,0.04); }
.drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.035);
}
.drawer-group.expanded .drawer-sub { max-height: 400px; }
.drawer-group.expanded .drawer-toggle .caret { transform: rotate(180deg); }
.drawer-sub a {
  display: block;
  color: var(--text-muted);
  padding: 0.7rem 1.5rem 0.7rem 2.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.drawer-sub a:hover { color: var(--accent); background-color: var(--accent-soft); }

/* Contact drawer item — pill button like the desktop nav CTA */
.drawer-item.drawer-cta {
  margin: 1rem 1.5rem 0.5rem;
  background-color: var(--accent-deep);
  color: var(--text-white);
  text-align: center;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease;
}
.drawer-item.drawer-cta:hover { background-color: #0e2c8a; color: var(--text-white); }

/* HERO — full-bleed video bg */
.hero-section {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Padding-top equals the fixed navbar height so centered content can't sit under it.
     Critical for Edge/Safari which calculated flex centering differently than Chrome/Firefox. */
  padding-top: 7.5rem;
  padding-bottom: 3rem;
}
.hero-video-bg {
  position: absolute; inset: 0;
  z-index: 0;   /* own stacking context so the crossfading layers stay below the vignette/text */
  background:
    radial-gradient(ellipse 70% 60% at 78% 35%, rgba(19, 58, 174, 0.32), transparent 70%),
    #231f20;
  overflow: hidden;
}
/* Two stacked video layers cross-dissolve on a timer (see script.js). */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { transition: none; } }
.hero-vignette {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    /* center scrim so the headline stays legible over busy/bright video frames */
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(18, 16, 16, 0.5), transparent 72%),
    /* edge vignette */
    radial-gradient(ellipse at center, transparent 45%, rgba(35, 31, 32, 0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 6rem 2rem 4rem;
}
.hero-overline {
  display: inline-block;
  color: var(--raisin-black);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.35em;
  margin-bottom: 2.25rem;
}
.hero-headline {
  color: var(--text-white);
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin: 0 0 1.75rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-subhead {
  color: var(--text-muted);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.65;
  margin: 0 auto 3rem;
  max-width: 720px;
}
/* BUTTONS */
.cta-button {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.12em;
  padding: 0 2.2rem;
  height: 56px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.cta-button.filled { background-color: var(--accent-deep); color: var(--text-white); }
.cta-button.filled:hover { background-color: #0e2c8a; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(19, 58, 174, 0.4); }
.cta-button.outlined { color: var(--text-white); border-color: var(--text-white); }
.cta-button.outlined:hover { background-color: rgba(255,255,255,0.1); }

/* COLLABORATORS — cool grey strip, greyscale logos */
.partners-section {
  background-color: #f2f4f5;
  padding: 6rem 0;
}
.partners-eyebrow {
  text-align: center;
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  margin: 0 0 3.5rem;
}
.partners-grid {
  display: flex; justify-content: center; align-items: center;
  gap: 3.5rem 4rem; flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}
/* No-endorsement disclaimer under the collaborators/logo strip */
.partners-note {
  max-width: 760px;
  margin: 2.25rem auto 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(35, 31, 32, 0.45);
}
.partner-logo {
  height: 130px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* FOCUS / OUR MISSION — split: text left, media window right */
.focus-section {
  background-color: #231f20;
  padding: 9rem 0;
  overflow: hidden; /* clip the media window's slide-in so it can't cause a horizontal scrollbar */
}
.focus-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: center;
}
.focus-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.focus-media-window {
  border-radius: var(--radius);
  overflow: hidden;
  /* match the 16:9 source video so nothing is cropped —
     keeps both the top-left logo and centered captions in frame */
  aspect-ratio: 16 / 9;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  position: relative;
}
.focus-media-placeholder {
  width: 100%; height: 100%;
  flex-direction: column;
  gap: 0.85rem;
  color: rgba(111, 193, 239, 0.5);
  border-radius: 0;
  border: none;
}
.focus-media-window video,
.focus-media-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* anchor crop to top-left so the baked-in Raider logo isn't clipped */
  object-position: left top;
  display: block;
}
/* Mission media slides in from the right the first time it scrolls into view.
   The offset/hidden state is gated behind .will-reveal (added by JS) so the
   video is never stuck hidden if JS is off. */
.focus-media-window.will-reveal {
  opacity: 0;
  transform: translateX(52px);
  transition: opacity 0.8s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.focus-media-window.will-reveal.is-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .focus-media-window.will-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.eyebrow {
  display: block;
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
}
.eyebrow.accent { color: var(--accent); }
.focus-headline {
  color: var(--text-white);
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin: 0 0 1.75rem;
}
.focus-body {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0 0 2.25rem;
}

/* SECTION INTRO */
.section-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.5rem;
}
.section-intro .eyebrow { margin-bottom: 1rem; }
.section-title {
  color: var(--text-white);
  font-family: var(--font-headline);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
}
.section-title.light { color: var(--text-white); }
.section-lede {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0;
}
.section-lede.light { color: var(--text-muted); }
.section-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* PRODUCTS — BENTO GRID */
.products-section {
  background-color: var(--bg-deepest);
  padding: 7rem 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 1.25rem;
}
.bento-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--bg-darker);
  border: 1px solid var(--border-soft);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.bento-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.tile-image, .tile-coming {
  flex: 1;
  width: 100%;
}
.tile-coming {
  background-color: var(--bg-deepest);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-align: center;
  line-height: 1.4;
}
.tile-content {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.tile-label {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
}
.tile-content h4 {
  color: var(--text-white);
  font-family: var(--font-label);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.4rem;
}
.tile-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.tile-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.tile-wide {
  grid-column: span 2;
}
.tile-feature .tile-content h4 {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
}
.tile-feature .tile-content p {
  font-size: 1rem;
}

/* SERVICES — cream section, white cards */
.services-section {
  background-color: #f2f4f5;
  padding: 9rem 0;
}
/* Scoped overrides so the shared section-title/.light text reads dark on cream */
.services-section .section-title,
.services-section .section-title.light { color: #231f20; }
.services-section .section-lede,
.services-section .section-lede.light { color: rgba(35, 31, 32, 0.7); }
.services-section .eyebrow { color: rgba(35, 31, 32, 0.55); }
.services-section .eyebrow.accent { color: var(--accent); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border: 1px solid rgba(35, 31, 32, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 4px 14px rgba(35, 31, 32, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(35, 31, 32, 0.1);
}
.service-icon {
  color: var(--accent);
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
}
.service-card h4 {
  color: #231f20;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  margin: 0 0 0.85rem;
}
.service-card p {
  color: rgba(35, 31, 32, 0.7);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* PRODUCTS — dark, card grid */
.products-section {
  background-color: #231f20;
  padding: 5rem 0 9rem;
}
/* Products path — vertical line with a traveling dot; each product
   sits at a node along the path, lighting up as the dot reaches it.
   A miniaturized echo of the /our-services deep-dive layout. */
.products-path {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
  /* clip the product visual while it's parked off to the side (before it flies in) */
  overflow-x: clip;
}
.path-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background-color: rgba(35, 31, 32, 0.12);
}
.path-progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(19, 58, 174, 0.45), var(--accent-deep));
}
.path-dot {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-deep);
  box-shadow: 0 0 0 5px rgba(19, 58, 174, 0.18), 0 0 18px rgba(19, 58, 174, 0.6);
}
.path-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2.25rem 0;
}
.path-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #f2f4f5;
  border: 2px solid rgba(35, 31, 32, 0.25);
  z-index: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.path-item.active .path-node {
  background-color: var(--accent);
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 5px rgba(111, 193, 239, 0.25);
}
.path-card {
  position: relative;
  grid-column: 1;
  justify-self: end;
  align-self: center;   /* keep natural height — don't stretch to match the tablet visual's row height */
  margin-right: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(360px, 100%);
  padding: 1.4rem 1.6rem;
  background-color: var(--bg-deepest);
  background-image: radial-gradient(ellipse 90% 70% at 50% 120%, rgba(19, 58, 174, 0.22), transparent 70%);
  border: 1px solid rgba(35, 31, 32, 0.9);
  border-radius: var(--radius);
  text-decoration: none;
  opacity: 0.55;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
.path-item.reverse .path-card {
  grid-column: 2;
  justify-self: start;
  margin-right: 0;
  margin-left: 3.25rem;
}
.path-item.active .path-card { opacity: 1; }
.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 193, 239, 0.5);
  box-shadow: 0 14px 32px rgba(19, 58, 174, 0.22);
  opacity: 1;
}
/* Each product card slides onto the path from its own side the first time it
   scrolls into view (JS adds .will-reveal, then removes it so the hover lift
   stays crisp). Opacity is left to the existing dim/brighten behavior. */
.path-card.will-reveal {
  transform: translateX(-52px);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}
.path-item.reverse .path-card.will-reveal {
  transform: translateX(52px);
}
.path-card.will-reveal.is-in,
.path-item.reverse .path-card.will-reveal.is-in {
  transform: none;
}
/* keep a crisp hover lift even though .is-in controls the slide transform */
.path-card.will-reveal.is-in:hover,
.path-item.reverse .path-card.will-reveal.is-in:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .path-card.will-reveal {
    transform: none;
    transition: none;
  }
}
.path-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
/* Logo tile / ghost initial inside the card, on the right of the text */
.path-card-media {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
}
.path-card .product-card-tile {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  padding: 9px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.path-card .product-card-ghost {
  font-size: 3.4rem;
  line-height: 76px;
}
/* Product visual floating in the white space on the OPPOSITE side
   of the path line from the card */
.path-visual {
  grid-column: 2;
  justify-self: start;
  align-self: center;
  margin-left: 3.25rem;
  display: flex;
  align-items: center;
  min-width: 0;       /* never let the image's width push this track wider and shrink the card column */
  opacity: 0.55;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.path-item.reverse .path-visual {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  margin-left: 0;
  margin-right: 3.25rem;
}
.path-item.reverse .path-card { grid-row: 1; }
.path-item.active .path-visual { opacity: 1; }
/* Placeholder tablet mock shown in the product visual slot (SkySweep) */
.tablet-mock {
  position: relative;
  width: 340px;
  max-width: 100%;
  aspect-ratio: 16 / 11;
  padding: 13px 15px;
  border-radius: 20px;
  background: linear-gradient(145deg, #262220, #131110);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.tablet-mock-cam {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.25);
}
.tablet-mock-screen {
  position: relative; width: 100%; height: 100%; border-radius: 9px; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 50% 56%, transparent 0 24px, rgba(111, 193, 239, 0.10) 24px 25px),
    radial-gradient(circle at 50% 56%, #0c2044 0%, #05101f 72%);
}
.tablet-mock-screen::before,
.tablet-mock-screen::after { content: ""; position: absolute; background: rgba(111, 193, 239, 0.12); }
.tablet-mock-screen::before { left: 0; right: 0; top: 56%; height: 1px; }
.tablet-mock-screen::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.tablet-mock-topbar {
  position: absolute; top: 9px; left: 11px; display: flex; align-items: center; gap: 6px;
  font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.2em; font-weight: 700;
  color: rgba(111, 193, 239, 0.85); z-index: 1;
}
.tablet-mock-dot { width: 6px; height: 6px; border-radius: 50%; background: #6fc1ef; box-shadow: 0 0 8px #6fc1ef; }
.tablet-mock-blip {
  position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #6fc1ef;
  box-shadow: 0 0 10px 2px rgba(111, 193, 239, 0.65); transform: translate(-50%, -50%);
}
/* The product visual flies in from its side (right on a normal row, left on a
   reverse row), tied to the same dot toggle as the card. */
.path-visual.will-reveal {
  transform: translateX(460px);   /* parked fully off the right edge of the 980px path */
  opacity: 0;                     /* hidden while parked so its drop-shadow can't bleed past the clip edge */
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}
.path-item.reverse .path-visual.will-reveal { transform: translateX(-460px); }
.path-visual.will-reveal.is-in,
.path-item.reverse .path-visual.will-reveal.is-in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .path-visual.will-reveal { transform: none; transition: none; }
}
.path-visual-render {
  width: 230px;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
}
.path-visual .product-card-tile {
  width: 118px;
  height: 118px;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 16px 34px rgba(35, 31, 32, 0.18);
}
.path-card-name {
  color: var(--text-white);
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  margin: 0;
}
.path-card-tagline {
  display: block;
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  line-height: 1.4;
}
/* LEARN MORE as a real pill button on path cards */
.path-card .product-card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.45rem;
  padding: 0.45rem 0.95rem;
  background-color: var(--accent-deep);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.path-card:hover .product-card-link {
  background-color: #0e2c8a;
  box-shadow: 0 6px 16px rgba(19, 58, 174, 0.45);
  transform: translateX(2px);
}
.path-card .product-coming-soon {
  top: -0.55rem;
  right: 1rem;
}
/* Path responsive — line hugs the left edge, cards stack right of it.
   Breakpoint at 900px: the two-column zigzag needs room, so below this
   we use the single-column layout to avoid cards clipping the edges. */
@media (max-width: 900px) {
  .path-line { left: 18px; transform: none; }
  .path-item { grid-template-columns: 1fr; padding: 1.5rem 0; }
  .path-node { left: 18px; transform: translate(-50%, -50%); }
  .path-card,
  .path-item.reverse .path-card {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    margin: 0 0 0 2.75rem;
    width: auto;
    min-width: 0;      /* clamp to the column so a long name can't push the card off-screen */
    max-width: 100%;
  }
  .path-card-body { min-width: 0; }
  /* no opposite-side white space on mobile */
  .path-visual { display: none; }
  /* Single column here — reveal vertically so cards never slide off the right
     edge (a horizontal slide overflowed narrow screens and clipped cards). */
  .path-card.will-reveal,
  .path-item.reverse .path-card.will-reveal { transform: translateY(28px); }
  .path-card.will-reveal.is-in,
  .path-item.reverse .path-card.will-reveal.is-in { transform: none; }
}
/* Product cards — dark feature panels on the light section,
   numbered, with the radar signature watermarking each card. */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 1.6rem 1.6rem 1.5rem;
  background-color: var(--bg-deepest);
  background-image: radial-gradient(ellipse 90% 60% at 50% 110%, rgba(19, 58, 174, 0.25), transparent 70%);
  border: 1px solid rgba(35, 31, 32, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -160px;
  top: -160px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%236fc1ef' stroke-width='1.5'%3E%3Ccircle cx='450' cy='450' r='110'/%3E%3Ccircle cx='450' cy='450' r='220'/%3E%3Ccircle cx='450' cy='450' r='330'/%3E%3Ccircle cx='450' cy='450' r='440'/%3E%3Cline x1='450' y1='10' x2='450' y2='890'/%3E%3Cline x1='10' y1='450' x2='890' y2='450'/%3E%3C/g%3E%3Cpath d='M450,450 L450,10 A440,440 0 0 1 890,450 Z' fill='%236fc1ef' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.07;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 193, 239, 0.5);
  box-shadow: 0 18px 40px rgba(19, 58, 174, 0.22);
}
.product-card:hover::before { opacity: 0.14; }
.product-card-num {
  position: relative;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
}
.product-coming-soon {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  background-color: var(--accent);
  color: #231f20;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  z-index: 1;
}
.product-card-media {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 0;
}
.product-card-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.product-card-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-card-ghost {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
}
.product-card-foot { position: relative; }
.product-card-name {
  color: var(--text-white);
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.6rem;
}
.product-card-link {
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

/* Spacing between the Products sub-block and the Services sub-block */
.services-section .products-path { margin-bottom: 4rem; }
.subblock-divider {
  border: 0;
  height: 1px;
  background: rgba(35, 31, 32, 0.1);
  margin: 0 auto 5rem;
  max-width: 100%;
}

/* NEWS — light cards on cool grey */
.news-section {
  background-color: #f2f4f5;
  padding: 5rem 0 9rem;
}
/* Dotted divider — separates adjacent sections that share the same background */
.section-divider {
  border: 0;
  border-top: 2px dotted rgba(35, 31, 32, 0.22);
  margin: 0 0 5rem;
  height: 0;
}
.section-divider.on-dark {
  border-top-color: rgba(255, 255, 255, 0.18);
}
.news-section .section-title,
.news-section .section-title.light { color: #231f20; }
.news-section .section-lede,
.news-section .section-lede.light { color: rgba(35, 31, 32, 0.7); }
.news-section .eyebrow { color: rgba(35, 31, 32, 0.55); }
.news-section .eyebrow.accent { color: var(--accent); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(35, 31, 32, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(35, 31, 32, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(35, 31, 32, 0.1);
}
/* Press-release cards fade + rise into view on scroll. JS adds .reveal-up so
   cards are never stuck hidden if JS is off, and removes it after the
   animation so the hover lift stays crisp. */
.news-section .news-card.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-section .news-card.reveal-up.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .news-section .news-card.reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  position: relative;
}
/* Category tag pill on the card image */
.news-card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background-color: var(--accent-deep);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
/* "In Progress" badge — draft marker on the card image (top-right) */
.news-card-status {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background-color: var(--accent-warm);
  color: #231f20;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
/* In Progress = yellow, to differentiate from the orange "Needs Reviewed" */
.news-card-status.status-progress { background-color: #f5c518; }

/* Logo image — the org logo fills the image area on white */
.logo-full {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  overflow: hidden;
}
.logo-full img { width: 100%; height: 100%; object-fit: contain; display: block; }
.article-featured-image.logo-full { border: 1px solid rgba(35, 31, 32, 0.08); }
/* Photo — image fills the frame edge-to-edge (vs logo-full, which contains a logo on white) */
.photo-full { overflow: hidden; background: var(--bg-deepest); }
.photo-full img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* News tag filter bar */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.news-filter {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(35, 31, 32, 0.6);
  background-color: transparent;
  border: 1px solid rgba(35, 31, 32, 0.2);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.news-filter:hover { border-color: var(--accent-deep); color: #231f20; }
.news-filter.is-active {
  background-color: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}
.news-filter-empty {
  text-align: center;
  color: rgba(35, 31, 32, 0.55);
  font-size: 1.02rem;
  margin: 1rem 0 0;
}

/* Prev / Next article navigation */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(35, 31, 32, 0.12);
}
.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(35, 31, 32, 0.12);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.article-nav-link.next { text-align: right; }
.article-nav-link:hover {
  border-color: var(--accent);
  background-color: rgba(19, 58, 174, 0.04);
  transform: translateY(-2px);
}
.article-nav-dir {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.article-nav-title {
  color: rgba(35, 31, 32, 0.8);
  font-size: 0.98rem;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-link.next { text-align: left; }
}
.news-card-body {
  padding: 1.75rem 1.85rem 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-date {
  display: block;
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}
.news-card-author {
  display: block;
  color: rgba(35, 31, 32, 0.6);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 1rem;
}
.news-card-title {
  color: #231f20;
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
}
.news-card-excerpt {
  color: rgba(35, 31, 32, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.news-card-link {
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  margin-top: auto;
}

/* DIFFERENTIATOR — pitch left, contact form right */
.different-section {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 2rem;
  background-color: var(--bg-deepest);
  background-image:
    radial-gradient(ellipse 70% 60% at 22% 40%, rgba(19, 58, 174, 0.28), transparent 70%);
}
.different-media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.different-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Fallback color in case the video fails to load */
.different-media-box {
  width: 100%; height: 100%;
  border-radius: 0;
  background:
    radial-gradient(ellipse 60% 55% at 28% 60%, rgba(19, 58, 174, 0.28), transparent 70%),
    #231f20;
}
.different-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(35, 31, 32, 0.78) 0%, rgba(35, 31, 32, 0.55) 50%, rgba(35, 31, 32, 0.45) 100%);
}
.different-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.different-text { display: flex; flex-direction: column; }
.different-text .eyebrow { margin-bottom: 1.25rem; }
.different-headline {
  color: var(--text-white);
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin: 0 0 1.75rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.different-subhead {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

/* CONTACT FORM (inside differentiator) */
.contact-form {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  backdrop-filter: blur(8px);
}
.contact-form-title {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
}
.contact-form-lede {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.5rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.form-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.08);
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}
.contact-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
/* Honeypot — visually hidden, off-screen, ignored by real users */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
/* Restricted-info notice + legal links beside the submit button */
.form-legal-note {
  margin: 0.25rem 0 1rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}
.form-legal-note a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
}
.form-legal-note a:hover { color: #ffffff; }
/* Inline submit status message */
.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-status.is-success { color: #1f9d6b; }
.form-status.is-error { color: #e0563f; }

/* FOOTER — structured link columns, radar motif */
.app-footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 4rem 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem 1.5rem 0 0;
  /* Pull the footer up so it overlaps the previous section.
     The rounded top corners then reveal whatever section is behind
     (light card on contact/team/news, dark different-section on home),
     eliminating the dark body-bg gap that was showing between them. */
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
/* Footer's radar signature is positioned in the shared motif section
   (search: "Radar signature motif") to keep cascade order correct. */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 3fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 4rem;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-brand { display: flex; align-items: center; color: var(--text-white); }
.footer-logo-img { height: 40px; width: auto; display: block; }
.footer-blurb {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--text-white); opacity: 0.85; }
.social-links a:hover { color: var(--accent); opacity: 1; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-col-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: color 0.2s ease;
  width: fit-content;
}
.footer-col a:hover { color: var(--accent); }
.footer-address {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.copyright { font-size: 0.8rem; opacity: 0.7; margin: 0; }
.legal-links { display: flex; gap: 1.5rem; align-items: center; }
.legal-links a { color: var(--text-white); font-size: 0.8rem; opacity: 0.7; }
.legal-links a:hover { opacity: 1; }
/* "Cookie Settings" — opens the Privacy Preference Center; styled to match the legal links */
.legal-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-white);
  font-size: 0.8rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.legal-link-btn:hover { opacity: 1; }

/* Footer responsive — center everything once it collapses */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; text-align: center; }
  .footer-brand-col { grid-column: 1 / -1; align-items: center; }
  .footer-brand { justify-content: center; }
  .footer-blurb { margin-left: auto; margin-right: auto; }
  .social-links { justify-content: center; }
  .footer-col { align-items: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .tile-feature { grid-column: span 2; grid-row: span 2; }
  .tile-wide { grid-column: span 2; }
}
@media (min-width: 961px) {
  /* Force the mobile drawer hidden at desktop widths, even if it was left
     in the .open state when the user resized up from mobile. */
  .mobile-drawer,
  .mobile-drawer.open { display: none !important; }
}
@media (max-width: 960px) {
  .nav-list { display: none; }
  .mobile-menu-btn { display: flex; }
  .navbar-content { padding: 1rem 1.5rem; }


  .focus-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .focus-media-window { aspect-ratio: 16 / 9; max-width: 560px; }

  .different-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .different-subhead { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .news-grid .news-card { flex: 0 1 calc((100% - 1.5rem) / 2); }
}
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile-feature, .tile-wide { grid-column: span 1; grid-row: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .news-grid .news-card { flex-basis: 100%; }
  /* Product path cards: shrink the logo tile + tighten the name so a long
     product name (e.g. SIGNALSENTRY) fits beside it on narrow phones. */
  .path-card { margin-left: 2.25rem; gap: 0.9rem; padding: 1.25rem 1.35rem; }
  .path-card-media,
  .path-card .product-card-tile { width: 60px; height: 60px; }
  .path-card-name { font-size: 0.9rem; letter-spacing: 0.06em; }
  .partners-grid { gap: 2rem 2.5rem; }
  .partner-logo { height: 90px; max-width: 200px; }
  .focus-section { padding: 5rem 0; }
  .different-section { min-height: 480px; padding: 4rem 1.25rem; }
  .contact-form { padding: 2rem 1.5rem; }
  .legal-links { flex-direction: column; gap: 0.5rem; align-items: center; }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(35, 31, 32, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Persistent cookie/privacy settings button — fixed bottom-left */
.cookie-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--text-white);
  margin: 0 0 0.4rem;
}
.cookie-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-desc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-desc a:hover { color: var(--accent-hover); }
.cookie-buttons {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0 1.25rem;
  height: 42px;
  border: 2px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cookie-accept {
  background: var(--accent);
  color: var(--bg-dark);
}
.cookie-accept:hover { background: var(--accent-hover); transform: translateY(-2px); }
.cookie-decline {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-white);
}
@media (max-width: 680px) {
  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; padding: 1.25rem; }
  .cookie-content { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-buttons { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* ============================================================
   PRIVACY PREFERENCE CENTER — full consent modal
   ============================================================ */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
}
.privacy-modal.open { display: block; }
.privacy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 24, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.privacy-modal-card {
  position: relative;
  width: calc(100% - 2.5rem);
  max-width: 720px;
  max-height: 90vh;
  margin: 4vh auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 2.75rem 2.75rem 2.25rem;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  -webkit-overflow-scrolling: touch;
}
.privacy-modal-close {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--raisin-black);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.privacy-modal-close:hover { background: rgba(35, 31, 32, 0.08); }
.privacy-modal-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: var(--raisin-black);
  margin: 0 0 1.1rem;
}
.privacy-modal-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(35, 31, 32, 0.78);
  margin: 0 0 1.6rem;
}
.privacy-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.1rem;
}
.privacy-btn {
  font-family: var(--font-label);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.privacy-btn-primary {
  background: var(--accent-deep);
  color: #ffffff;
}
.privacy-btn-primary:hover { background: #0f2f8e; transform: translateY(-1px); }
.privacy-btn-outline {
  background: #ffffff;
  color: var(--raisin-black);
  border-color: rgba(35, 31, 32, 0.28);
}
.privacy-btn-outline:hover { border-color: var(--raisin-black); transform: translateY(-1px); }
.privacy-modal-subtitle {
  font-family: var(--font-label);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--raisin-black);
  margin: 0 0 0.5rem;
}
.privacy-category {
  padding: 1.3rem 0;
  border-top: 1px solid rgba(35, 31, 32, 0.1);
}
.privacy-category:first-of-type { border-top: none; }
.privacy-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  min-height: 26px;
}
.privacy-category-name {
  font-family: var(--font-label);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(35, 31, 32, 0.5);
}
.privacy-category-badge {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.privacy-category-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(35, 31, 32, 0.78);
  margin: 0;
}
.privacy-modal-footer {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(35, 31, 32, 0.1);
  display: flex;
  justify-content: flex-end;
}
/* Toggle switch */
.privacy-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex: none;
}
.privacy-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.privacy-toggle-track {
  position: absolute;
  inset: 0;
  background: #c9c9cc;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.privacy-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.privacy-toggle input:checked + .privacy-toggle-track { background: var(--accent-deep); }
.privacy-toggle input:checked + .privacy-toggle-track .privacy-toggle-thumb { transform: translateX(20px); }
/* JS-maintained classes mirror the checked state directly on each element (robust fallback) */
.privacy-toggle-track.is-on { background: var(--accent-deep); }
.privacy-toggle-thumb.is-on { transform: translateX(20px); }
body.privacy-open { overflow: hidden; }
@media (max-width: 680px) {
  .privacy-modal-card { padding: 2.25rem 1.5rem 1.75rem; margin: 0; width: 100%; min-height: 100%; max-height: 100%; border-radius: 0; }
  .privacy-modal-actions .privacy-btn { flex: 1; }
}

/* ============================================================
   SUB-PAGE SHARED STYLES (our-team / our-services / news / contact)
   ============================================================ */

/* Page hero — smaller dark header that sits below navbar on every sub-page */
.page-hero {
  position: relative;
  background-color: #231f20;
  padding: 13rem 2rem 7rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 78% 40%, rgba(19, 58, 174, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

/* ============================================
   Radar signature motif — Raider's recurring visual mark.
   Faint scope rings + crosshair + sweep wedge, bleeding off
   the edge of dark heroes and the differentiator section.
   ============================================ */
.page-hero::after,
.article-hero::after,
.app-footer::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900'%3E%3Cg fill='none' stroke='%236fc1ef' stroke-width='1'%3E%3Ccircle cx='450' cy='450' r='110'/%3E%3Ccircle cx='450' cy='450' r='220'/%3E%3Ccircle cx='450' cy='450' r='330'/%3E%3Ccircle cx='450' cy='450' r='440'/%3E%3Cline x1='450' y1='10' x2='450' y2='890'/%3E%3Cline x1='10' y1='450' x2='890' y2='450'/%3E%3Cline x1='139' y1='139' x2='761' y2='761'/%3E%3Cline x1='761' y1='139' x2='139' y2='761'/%3E%3C/g%3E%3Cpath d='M450,450 L450,10 A440,440 0 0 1 890,450 Z' fill='%236fc1ef' fill-opacity='0.18'/%3E%3Cpath d='M554,272 L566,288 L494,338 Z' fill='%236fc1ef' fill-opacity='0.45'/%3E%3Ccircle cx='560' cy='280' r='7' fill='%236fc1ef'/%3E%3Cpath d='M653,383 L667,397 L578,428 Z' fill='%236fc1ef' fill-opacity='0.45'/%3E%3Ccircle cx='660' cy='390' r='7' fill='%236fc1ef'/%3E%3Cpath d='M293,553 L307,567 L368,496 Z' fill='%236fc1ef' fill-opacity='0.45'/%3E%3Ccircle cx='300' cy='560' r='7' fill='%236fc1ef'/%3E%3Cpath d='M375,196 L385,206 L428,160 Z' fill='%236fc1ef' fill-opacity='0.4'/%3E%3Ccircle cx='380' cy='200' r='5' fill='%236fc1ef'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}
.page-hero::after,
.article-hero::after {
  top: 50%;
  right: -300px;
  transform: translateY(-50%);
}
.app-footer::after {
  width: 700px;
  height: 700px;
  right: -260px;
  bottom: -260px;
}
.article-hero { position: relative; overflow: hidden; }
.article-hero-inner { position: relative; z-index: 1; }
@media (max-width: 880px) {
  .page-hero::after,
  .article-hero::after { width: 520px; height: 520px; right: -220px; }
}
.page-hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.35em;
  margin-bottom: 1.75rem;
}
.page-hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}
.page-hero-lede {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}
.page-section {
  padding: 8rem 0;
}
.page-section.light {
  background-color: #f2f4f5;
  color: var(--text-dark, #231f20);
}
.page-section.light .section-title,
.page-section.light .section-title.light { color: #231f20; }
.page-section.light .section-lede,
.page-section.light .section-lede.light { color: rgba(35, 31, 32, 0.7); }
.page-section.light .eyebrow { color: rgba(35, 31, 32, 0.55); }
.page-section.light .eyebrow.accent { color: var(--accent); }
.page-section.dark {
  background-color: #231f20;
  color: var(--text-white);
}

/* ============================================================
   GOVERNMENT-BACKED DEVELOPMENT — horizontal process flow
   ============================================================ */
/* Pull the divider up toward the Mission/Traction boundary */
.flow-section .section-divider { margin-top: -3rem; }
.flow-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3.5rem;
}
.flow-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.6rem 1.1rem 1.9rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(111, 193, 239, 0.16);
  border-radius: 10px;
}
.flow-step-num {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: #231f20;
  border: 1px solid rgba(111, 193, 239, 0.4);
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.6rem;
  border-radius: 5px;
}
.flow-step-icon {
  color: var(--accent);
  height: 46px;
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}
.flow-step-icon svg { width: 42px; height: 42px; }
.flow-step-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-white);
  margin: 0 0 0.55rem;
  line-height: 1.25;
}
.flow-step-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.flow-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: rgba(111, 193, 239, 0.55);
}
.flow-arrow svg { width: 22px; height: 22px; }
@media (max-width: 1024px) {
  .flow-steps { flex-wrap: wrap; gap: 1.25rem; }
  .flow-step { flex: 1 1 calc(33.333% - 1rem); }
  .flow-arrow { display: none; }
}
@media (max-width: 680px) {
  .flow-step { flex: 1 1 calc(50% - 0.75rem); }
}
@media (max-width: 460px) {
  .flow-step { flex: 1 1 100%; }
}

/* Anchor scroll offset so fixed navbar doesn't cover anchored sections */
[id="team"], [id="advisors"], [id="careers"] { scroll-margin-top: 6rem; }
/* Product/service deep-dive rows clear the fixed navbar when linked to by anchor */
.product-row { scroll-margin-top: 7rem; }

/* TEAM page — circular photo + name|title heading + bio paragraph */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem 3rem;
  margin-top: 3rem;
}
/* 3 per row; leftover cards on the last row center instead of left-aligning */
.team-grid .team-card {
  flex: 0 1 calc((100% - 6rem) / 3);
}
.team-card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(45deg, rgba(111,193,239,0.07) 0 12px, rgba(111,193,239,0.02) 12px 24px),
    linear-gradient(135deg, #2e2829 0%, #1a1718 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Portrait variant — taller frame that fits the full head + shoulders */
.team-photo.team-photo-portrait {
  width: 160px;
  height: 200px;
  border-radius: 16px;
}
.team-body { padding: 0; }
.team-heading {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 1rem;
}
.team-name {
  color: var(--accent);
  font-weight: 700;
}
.team-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.45rem;
  font-weight: 400;
}
.team-role {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-white);
  font-weight: 600;
}
.team-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.team-namerow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  transition: color 0.2s ease, transform 0.2s ease;
}
.team-linkedin:hover { color: var(--accent); transform: translateY(-1px); }
.team-linkedin svg { display: block; width: 18px; height: 18px; }

/* Team cards on a light section — re-skin for legibility on light bg */
.page-section.light .team-photo {
  background:
    repeating-linear-gradient(45deg, rgba(19, 58, 174, 0.05) 0 12px, rgba(19, 58, 174, 0.02) 12px 24px),
    linear-gradient(135deg, #e2e6e9 0%, #cfd4d8 100%);
  border-color: rgba(35, 31, 32, 0.08);
}
.page-section.light .team-sep { color: rgba(35, 31, 32, 0.3); }
.page-section.light .team-role { color: #231f20; }
.page-section.light .team-bio { color: rgba(35, 31, 32, 0.7); }

/* CAREERS — Open Roles listing (Anduril-style table layout) */
.role-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
/* the display:flex above would otherwise defeat the [hidden] attribute */
.role-filters[hidden] { display: none; }
.role-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.role-category {
  flex: 0 0 auto;
  padding: 1rem 2.75rem 1rem 1.5rem;
  border: 1px solid rgba(35, 31, 32, 0.18);
  border-radius: 999px;
  background-color: #ffffff;
  color: #231f20;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='2.2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.role-category:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(111, 193, 239, 0.15);
}
@media (max-width: 640px) {
  .role-filters { flex-direction: column; }
  .role-search-wrap { width: 100%; }
  .role-category { width: 100%; }
}
.role-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(35, 31, 32, 0.45);
  pointer-events: none;
}
.role-search {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.25rem;
  border: 1px solid rgba(35, 31, 32, 0.18);
  border-radius: 999px;
  background-color: #ffffff;
  color: #231f20;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.role-search::placeholder { color: rgba(35, 31, 32, 0.4); }
.role-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(111, 193, 239, 0.15);
}
.role-search-empty {
  text-align: center;
  color: rgba(35, 31, 32, 0.55);
  font-size: 1.02rem;
  margin: 3rem 0 0;
}
/* Empty state — shown when there are no open roles at all */
.role-empty {
  max-width: 580px;
  margin: 4rem auto 2.5rem;
  padding: 3rem 2.25rem;
  text-align: center;
  background: rgba(35, 31, 32, 0.03);
  border: 1px solid rgba(35, 31, 32, 0.1);
  border-radius: var(--radius);
}
.role-empty-title {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: 0.04em;
  color: #231f20;
  margin: 0 0 0.9rem;
}
.role-empty-text {
  color: rgba(35, 31, 32, 0.62);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 460px;
}
.role-empty-cta { margin-top: 1.85rem; }
.role-group { margin-top: 4rem; }
.role-group:first-of-type { margin-top: 3.5rem; }
.role-group-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: #231f20;
  margin: 0 0 0;
  padding-bottom: 1rem;
}
.role-group-count {
  color: rgba(35, 31, 32, 0.5);
  font-weight: 500;
  margin-left: 0.25rem;
}
.role-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(35, 31, 32, 0.12);
}
.role-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0.5rem;
  border-bottom: 1px solid rgba(35, 31, 32, 0.12);
  color: #231f20;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.role-row:hover { background-color: rgba(19, 58, 174, 0.04); }
.role-location {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(35, 31, 32, 0.65);
  line-height: 1.4;
}
.role-title {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: #231f20;
  line-height: 1.25;
}
.role-apply {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #231f20;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.role-row:hover .role-apply { color: var(--accent-deep); }

/* Roles responsive */
@media (max-width: 880px) {
  .role-row {
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    padding: 1.5rem 0.5rem;
  }
  .role-location { grid-column: 1 / -1; order: 1; }
  .role-title { grid-column: 1; order: 2; font-size: 1.2rem; }
  .role-apply { grid-column: 2; order: 2; align-self: end; }
}

/* ============================================
   /our-services — Product deep-dives (alternating split layout)
   ============================================ */
.product-row {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4rem;
  align-items: center;
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid rgba(35, 31, 32, 0.08);
}
.product-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.product-row.reverse .product-row-media { order: 2; }
.product-row.reverse .product-row-body { order: 1; }
.product-row-media { width: 100%; }
.product-row-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background-color: #ffffff;
  border: 1px solid rgba(35, 31, 32, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  overflow: hidden;
}
.product-row-image.placeholder-box { background-color: #e9ecef; border-color: transparent; }
.service-row-icon { width: 110px; height: 110px; color: var(--accent); }
.product-row-image img {
  max-width: 70%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Photo variant — image fills the whole 4:3 frame (services) instead of a
   centered contained logo/icon. */
.product-row-image.photo {
  padding: 0;
  background-color: var(--bg-deepest);
  border-color: transparent;
}
.product-row-image.photo img {
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Screenshot variant — full app UI shown (contain) on a dark frame. */
.product-row-image.screenshot {
  padding: 0;
  background-color: var(--bg-deepest);
  border-color: rgba(255, 255, 255, 0.06);
}
.product-row-image.screenshot img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Product image gallery — swipe/scroll through logo + screenshots. */
.product-gallery { position: relative; }
.product-gallery-viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  border: 1px solid rgba(35, 31, 32, 0.06);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.product-gallery-viewport::-webkit-scrollbar { display: none; }
.product-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 3 / 2;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.product-gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.product-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(35, 31, 32, 0.5);
  color: #fff;
  font-size: 1.5rem;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 0.2s ease;
}
.product-gallery-btn:hover { background-color: rgba(35, 31, 32, 0.82); }
.product-gallery-prev { left: 0.6rem; }
.product-gallery-next { right: 0.6rem; }
.product-gallery-btn[hidden] { display: none; }
.product-gallery-dots {
  position: absolute;
  bottom: 0.7rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}
.product-gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0; padding: 0;
  cursor: pointer;
  background-color: rgba(35, 31, 32, 0.28);
  transition: background-color 0.2s ease;
}
.product-gallery-dot.is-active { background-color: var(--accent-deep); }
@media (prefers-reduced-motion: reduce) {
  .product-gallery-viewport { scroll-behavior: auto; }
}
.product-row-body { display: flex; flex-direction: column; gap: 1rem; }
.product-row-eyebrow {
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
}
.product-row-title {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: 0.02em;
  color: #231f20;
  margin: 0;
  line-height: 1.15;
}
.product-row-tagline {
  font-size: 1.2rem;
  color: rgba(35, 31, 32, 0.85);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.45;
}
.product-row-body > p {
  color: rgba(35, 31, 32, 0.7);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}
.product-row-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.product-row-features li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(35, 31, 32, 0.8);
  font-size: 0.98rem;
  line-height: 1.5;
}
.product-row-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--accent);
}

/* Outlined dark CTA — dark border + dark text on light bg, fills on hover */
.cta-button.outlined-dark {
  color: #231f20;
  border-color: rgba(35, 31, 32, 0.85);
  background-color: transparent;
  align-self: flex-start;
}
.cta-button.outlined-dark:hover {
  background-color: #231f20;
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(35, 31, 32, 0.25);
}

/* RADAR — classified "under wraps" treatment (product not yet unveiled) */
.product-row-image.radar-classified {
  background:
    radial-gradient(ellipse 130% 100% at 50% -10%, rgba(111, 193, 239, 0.16), transparent 62%),
    var(--bg-deepest);
  border: 1px solid rgba(111, 193, 239, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}
/* faint radar scope: concentric rings + crosshair, fading out at the edges */
.radar-scope {
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 50% 52%, rgba(111, 193, 239, 0.14) 0 1px, transparent 1px 30px),
    linear-gradient(rgba(111, 193, 239, 0.12), rgba(111, 193, 239, 0.12)),
    linear-gradient(rgba(111, 193, 239, 0.12), rgba(111, 193, 239, 0.12));
  background-size: 100% 100%, 100% 1px, 1px 100%;
  background-position: 50% 52%, 50% 52%, 50% 52%;
  background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(circle at 50% 52%, #000 8%, transparent 66%);
  mask-image: radial-gradient(circle at 50% 52%, #000 8%, transparent 66%);
}
.radar-unveil {
  position: relative;
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.28em;
  font-size: clamp(0.95rem, 2.4vw, 1.3rem);
  text-transform: uppercase;
  color: var(--accent);
}

/* Product-row responsive */
@media (max-width: 880px) {
  .product-row {
    grid-template-columns: minmax(0, 1fr);   /* 0 min so wide content (image/gallery) can't blow out the track */
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 4rem;
  }
  /* Let the grid children shrink to the track instead of overflowing to their
     min-content width (which clipped the cUAS and SignalSentry rows off-screen). */
  .product-row-media,
  .product-row-body { min-width: 0; }
  .product-row.reverse .product-row-media { order: 1; }
  .product-row.reverse .product-row-body { order: 2; }
  .product-row-features { grid-template-columns: 1fr; }
  .product-row-image { aspect-ratio: 16 / 10; max-width: 480px; margin: 0 auto; }
}
/* On phones the 2rem title floor is too big for long single words like
   "Architectures" / "SignalSentry" and their last glyph clipped the edge.
   Shrink the title so they fit on one line; break-word is a last-resort guard. */
@media (max-width: 480px) {
  .product-row-title { font-size: 1.7rem; overflow-wrap: break-word; }
}

/* SERVICES page — expanded service blocks */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  padding: 4.5rem 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.12);
  align-items: start;
}
.service-block:last-child { border-bottom: none; }
.service-block-num {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
}
.service-block-content h3 {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
}
.service-block-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.service-block-content p:last-child { margin-bottom: 0; }

/* Process step grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.process-step {
  padding: 1.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}
.process-step-num {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.process-step h4 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-white);
  margin: 0 0 0.6rem;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* NEWS / ARTICLES page — scroll-progress rail down the left margin */
.news-scroll { position: relative; padding-left: 6.5rem; }
.news-scroll-line {
  position: absolute;
  left: 3.25rem;
  width: 3px;
  background: rgba(35, 31, 32, 0.12);
  border-radius: 2px;
  /* top + height are set by JS so the rail spans exactly the articles grid */
}
.news-scroll-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--accent-deep);
  border-radius: 2px;
  transition: height 0.1s linear;
}
.news-scroll-dot {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(111, 193, 239, 0.25);
}
/* Year markers along the rail — built from each card's data-date */
.news-scroll-years { position: absolute; inset: 0; pointer-events: none; }
.news-scroll-tick {
  position: absolute;
  left: 3.25rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(35, 31, 32, 0.2);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 1;
}
.news-scroll-tick.is-active { background: var(--accent); border-color: var(--accent); }
.news-scroll-year {
  position: absolute;
  left: 3.25rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(35, 31, 32, 0.15);
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(35, 31, 32, 0.55);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}
.news-scroll-year.is-active {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(19, 58, 174, 0.12);
}
/* "Now" marker — anchors the top of the rail at the present day */
.news-scroll-now {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 0 6px rgba(19, 58, 174, 0.12);
}
@media (max-width: 700px) {
  .news-scroll { padding-left: 0; }
  .news-scroll-line, .news-scroll-years { display: none; }
}

/* NEWS / ARTICLES page — bigger grid, same card style as home */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.articles-cta { text-align: center; margin-top: 3.5rem; }

/* CONTACT page — two-column (form left, info right), the whole pair centered on the page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 4rem;
  max-width: 980px;
  margin: 3rem auto 0;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.contact-info-block h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 0.6rem;
}
.contact-info-block p,
.contact-info-block a {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  text-decoration: none;
}
.contact-info-block a:hover { color: var(--text-white); }
.contact-info-social { display: flex; gap: 1rem; }
.contact-info-social a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.contact-info-social a:hover { color: var(--accent); }

/* ============================================
   CONTACT PAGE
   Info cards stacked left (icon-badge + text rows),
   dark form card right.
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Form needs a solid dark bg — the default .contact-form uses a
   translucent overlay that only reads as dark on dark sections. */
.contact-grid .contact-form {
  background-color: var(--bg-deepest);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  padding: 2.75rem 2.5rem;
}

/* Left column: header + body + info card stack
   Top padding matches the form card's internal padding so the
   "Get in Touch" headline aligns with "Send us a message" on the right. */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 2.75rem;
}
.contact-intro .section-title {
  color: #231f20;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 1rem;
  text-align: left;
}
.contact-intro .section-lede {
  color: rgba(35, 31, 32, 0.7);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  text-align: left;
  max-width: none;
}

/* Stacked info cards on the left */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem;
}
.contact-icon-badge {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: rgba(111, 193, 239, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-body { flex: 1; }
.contact-card-label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(35, 31, 32, 0.55);
  margin: 0 0 0.5rem;
}
.contact-info-card a,
.contact-info-card p {
  color: rgba(35, 31, 32, 0.85);
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0;
  transition: color 0.2s ease;
  display: block;
}
.contact-info-card a:hover { color: var(--accent); }

/* Two-column row inside the form */
.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Contact page responsive */
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  /* Stacked: intro + info above the form */
  .contact-grid .contact-left { order: -1; padding-top: 0; }
  .form-grid-2col { grid-template-columns: 1fr; }
}

/* ============================================
   ARTICLE DETAIL PAGE
   Press-release / blog post layout — dark hero, light body card,
   long-form text column with featured image and pull quote.
   ============================================ */
.article-hero {
  background-color: var(--bg-deepest);
  color: var(--text-white);
  padding: 8.5rem 2rem 4.5rem;
  text-align: center;
}
.article-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.article-back-link {
  display: block;
  width: fit-content;
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin: 0 auto 2.5rem;
  transition: color 0.2s ease;
}
.article-back-link:hover { color: var(--text-white); }
/* When the same back-link appears in the light article body below the CTA,
   override hover (white would be invisible) and drop the auto bottom margin. */
.article-cta .article-back-link { margin: 0; }
.article-cta .article-back-link:hover { color: #231f20; }
.article-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  margin-bottom: 1.5rem;
}
.article-status {
  display: inline-block;
  margin: 0 0 1.5rem 0.7rem;
  vertical-align: middle;
  background-color: var(--accent-warm);
  color: #231f20;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.article-title {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.15;
  color: var(--text-white);
  margin: 0 0 2rem;
  letter-spacing: 0.005em;
}
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}
.article-meta-sep { opacity: 0.5; }

/* Article body layout — narrow text column for readability */
.article-layout {
  max-width: 640px;
  margin: 0 auto;
}
.article-featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  margin-bottom: 3.5rem;
}
.article-body { color: #231f20; }
.article-body p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(35, 31, 32, 0.82);
  margin: 0 0 1.4rem;
}
.article-body p.article-lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: #231f20;
  font-weight: 500;
  margin-bottom: 2.5rem;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover { color: #231f20; }
.article-subhead {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  color: #231f20;
  margin: 3rem 0 1.25rem;
}
.article-body > .article-subhead:first-child { margin-top: 0; }
/* Cookie / disclosure tables on the legal pages */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid rgba(35, 31, 32, 0.14);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background-color: rgba(35, 31, 32, 0.04);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(35, 31, 32, 0.75);
}
.legal-table td { color: rgba(35, 31, 32, 0.8); }
.article-quote {
  margin: 2.25rem 0;
  padding: 1.4rem 1.9rem;
  border-left: 4px solid var(--accent);
  background-color: rgba(111, 193, 239, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-quote p {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #231f20;
  margin: 0 0 1rem;
  letter-spacing: 0;
}
.article-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(35, 31, 32, 0.6);
}
.article-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* Want to Learn More CTA block — dark card sitting in the light article body */
.article-learn-more {
  margin-top: 4.5rem;
  padding: 4rem 3rem;
  background-color: var(--bg-deepest);
  background-image:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(19, 58, 174, 0.25), transparent 70%);
  color: var(--text-white);
  border-radius: var(--radius);
  text-align: center;
}
.article-learn-more-title {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.01em;
  color: var(--text-white);
  margin: 0 0 1rem;
}
.article-learn-more-subhead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 2rem;
  max-width: 540px;
}

/* Small text-link back-to-articles below the CTA card */
.article-back-link-bottom {
  display: inline-block;
  color: rgba(35, 31, 32, 0.55);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  transition: color 0.2s ease;
}
.article-back-link-bottom:hover { color: var(--accent); }

/* Article responsive */
@media (max-width: 720px) {
  .article-hero { padding: 8rem 1.5rem 4rem; }
  .article-layout { padding: 0 0.5rem; }
  .article-quote { padding: 1.5rem 1.5rem; }
  .article-meta { flex-wrap: wrap; gap: 0.5rem 0.85rem; }
}

/* ============================================
   Rounded corners — LIGHT sections only
   Body bg is Raisin Black, so the rounded corners reveal
   dark behind the light "cards" for the depth effect.
   ============================================ */
.partners-section,
.services-section,
.news-section,
.page-section.light {
  border-radius: 2.25rem;
  overflow: hidden;
}
/* Services flows directly into News (both light) — flatten the meeting edge
   so they read as one continuous light zone with rounded ends. */
.services-section {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.news-section {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
/* Consecutive light page-sections (e.g., Team + Advisors on /our-team)
   read as one continuous light zone — flatten the shared edge. */
.page-section.light:has(+ .page-section.light) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.page-section.light + .page-section.light {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
/* Pull the Collaborators section up so its rounded top corners
   overlap the hero video — the corner gaps reveal the video instead of
   the dark body bg, eliminating the visible black "shoulder" notches. */
.partners-section {
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
}

/* When a light section sits directly above the footer (contact, /news,
   sample-article), drop its bottom rounding — the footer's rounded top
   handles the curve and we don't want a "double curve" at the meeting edge. */
.page-section.light:has(+ .app-footer),
.news-section:has(+ .app-footer) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Sub-page responsive */
@media (max-width: 960px) {
  .page-hero { padding: 10rem 1.5rem 5rem; }
  .page-section { padding: 5rem 0; }
  .team-grid .team-card { flex-basis: calc((100% - 3rem) / 2); }
  .service-block { grid-template-columns: 1fr; gap: 1rem; padding: 3rem 0; }
  .service-block-num { font-size: 2.5rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .team-grid .team-card { flex-basis: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
}
