/* ============================================================
   Next-Intell — Design System v3 "Editorial Authority"
   Premium consulting aesthetic: paper + ink + brand blue.
   Fraunces (display) / Inter (body) / IBM Plex Mono (labels).
   No framework dependency — this file is the whole system.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Light surfaces */
  --paper: #f6f5f1;
  --surface: #ffffff;
  --line: #e3e1d9;
  --line-strong: #14192600;

  /* Ink (dark surfaces) */
  --ink: #070b14;
  --ink-2: #0c1322;
  --ink-3: #111a2e;
  --ink-line: rgba(255, 255, 255, 0.09);

  /* Text */
  --text: #141926;
  --text-muted: #5c6370;
  --text-on-ink: #f4f6fa;
  --text-on-ink-muted: #98a2b3;

  /* Brand */
  --blue: #0f4fd4;
  --blue-deep: #0a3ba6;
  --blue-bright: #6e9bff;
  --blue-soft: rgba(15, 79, 212, 0.08);

  /* Team colors */
  --c-strategy: #a855f7;
  --c-assurance: #16a34a;
  --c-offensive: #ef4444;
  --c-defense: #4f7cf7;
  --c-ai: #be123c;
  --c-academy: #f59e0b;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Rhythm */
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

/* Keep [hidden] authoritative even on elements whose class sets a display */
[hidden] {
  display: none !important;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  user-select: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

main {
  flex: 1 0 auto;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section--flush-top {
  padding-top: 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue);
  flex: none;
}

.on-ink .eyebrow,
.eyebrow--light {
  color: var(--blue-bright);
}

.on-ink .eyebrow::before,
.eyebrow--light::before {
  background: var(--blue-bright);
}

.display-1 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-3 {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

.display-1 em,
.display-2 em {
  font-style: italic;
  font-weight: 380;
  color: var(--blue);
}

.on-ink .display-1 em,
.on-ink .display-2 em {
  color: var(--blue-bright);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.on-ink .lead {
  color: var(--text-on-ink-muted);
}

.muted {
  color: var(--text-muted);
}

.mono-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ---------- Dark surface helper ---------- */
.on-ink {
  background: var(--ink);
  color: var(--text-on-ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  min-height: 52px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
  will-change: transform;
}

.btn .material-symbols-outlined {
  font-size: 19px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--blue:hover {
  background: var(--blue-deep);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: var(--ink-3);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.on-ink .btn--ghost,
.btn--ghost-light {
  color: var(--text-on-ink);
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.on-ink .btn--ghost:hover,
.btn--ghost-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--sm {
  padding: 10px 22px;
  min-height: 42px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

.link-arrow .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover .material-symbols-outlined {
  transform: translateX(5px);
}

.on-ink .link-arrow {
  color: var(--blue-bright);
}

/* ---------- Header ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  z-index: 300;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink-line);
  background: rgba(7, 11, 20, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* The black-bg logo PNG carries ~38% transparent padding, so it renders
   larger than the visible mark; 64px yields a ~40px visible wordmark. */
.site-header__logo img {
  height: 64px;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-on-ink-muted);
  padding: 6px 0;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}

.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: #fff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__cta {
  display: none;
  border-radius: 9999px;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  align-items: center;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .site-header__cta {
    display: inline-flex;
  }

  .burger {
    display: none;
  }
}

/* Mobile overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  color: var(--text-on-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) clamp(24px, 7vw, 56px) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.menu-overlay__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 430;
  line-height: 1.3;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-line);
  color: var(--text-on-ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

body.menu-open .menu-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay__link:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay__link:nth-child(2) { transition-delay: 0.1s; }
.menu-overlay__link:nth-child(3) { transition-delay: 0.15s; }
.menu-overlay__link:nth-child(4) { transition-delay: 0.2s; }
.menu-overlay__link:nth-child(5) { transition-delay: 0.25s; }
.menu-overlay__link:nth-child(6) { transition-delay: 0.3s; }

.menu-overlay__link .mono-num {
  color: var(--blue-bright);
}

.menu-overlay__link.is-active {
  color: var(--blue-bright);
}

.menu-overlay__meta {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

@media (min-width: 900px) {
  .menu-overlay {
    display: none;
  }
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-ink);
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px));
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 20%, #000 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    560px circle at var(--mx, 70%) var(--my, 30%),
    rgba(31, 88, 218, 0.16),
    transparent 65%
  );
  pointer-events: none;
  transition: background 0.2s linear;
}

.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 96px);
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.hero h1 {
  margin-top: 26px;
  max-width: 14ch;
}

.hero .lead {
  margin-top: 28px;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* Stats strip */
.hero__stats {
  border-top: 1px solid var(--ink-line);
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 900px) {
  .hero__stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 36px);
  border-left: 1px solid var(--ink-line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

@media (max-width: 899px) {
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--ink-line);
  }
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 420;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.stat__num sup {
  font-size: 0.55em;
  color: var(--blue-bright);
}

.stat__label {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-on-ink-muted);
  max-width: 24ch;
}

/* ---------- Intel panel (radar) ---------- */
.intel-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--ink-line);
  padding: 26px 26px 22px;
  backdrop-filter: blur(6px);
}

.intel-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--blue-bright);
  border-left: 2px solid var(--blue-bright);
}

.intel-panel::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 34px;
  height: 34px;
  border-bottom: 2px solid var(--blue-bright);
  border-right: 2px solid var(--blue-bright);
}

.intel-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-ink-muted);
  margin-bottom: 18px;
}

.intel-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  font-weight: 600;
}

.intel-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: intelPulse 1.6s ease-in-out infinite;
}

@keyframes intelPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.radar {
  position: relative;
  width: 100%;
  max-width: 248px;
  aspect-ratio: 1;
  margin: 4px auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165, 200, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 30%, rgba(165, 200, 255, 0.10) 31%, transparent 32%),
    radial-gradient(circle, transparent 0 56%, rgba(165, 200, 255, 0.07) 57%, transparent 58%);
  overflow: hidden;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  background: rgba(165, 200, 255, 0.16);
  z-index: 1;
}

.radar::before { width: 100%; height: 1px; }
.radar::after { width: 1px; height: 100%; }

.radar i {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  background: conic-gradient(
    from -24deg,
    rgba(165, 200, 255, 0.55) 0deg,
    rgba(165, 200, 255, 0.18) 22deg,
    transparent 60deg 360deg
  );
  animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

.radar span {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Blue = Defender: patrols the inner ring, then breaks off to intercept Red */
.radar .dot-blue {
  background: #3b82f6;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.95), 0 0 5px rgba(59, 130, 246, 0.6);
  animation: blueDefend 10s linear infinite;
}

/* Red = Attacker: drifts in from outside, gets intercepted, re-attacks from a new vector */
.radar .dot-red {
  background: #ff5d5d;
  box-shadow: 0 0 14px rgba(255, 93, 93, 0.85), 0 0 5px rgba(255, 93, 93, 0.5);
  animation: redAttack 10s linear infinite;
}

/* Green = Governance: steady wide orbit watching over the whole environment */
.radar .dot-green {
  background: #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.85), 0 0 5px rgba(52, 211, 153, 0.5);
  animation: greenGovern 10s linear infinite;
}

/* Purple = vCISO & DPO: leadership layer circling the outermost orbit */
.radar .dot-purple {
  background: #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.9), 0 0 5px rgba(168, 85, 247, 0.55);
  animation: purpleOrbit 14s linear infinite;
  animation-delay: -7s; /* sit opposite Green on the outer ring */
}

@keyframes redAttack {
  /* drifts in from outside toward intercept point A (-30px, -40px) */
  0%   { transform: translate(-60px,  20px); opacity: 1;   }
  15%  { transform: translate(-45px,   0px); opacity: 1;   }
  25%  { transform: translate(-38px, -20px); opacity: 1;   }
  30%  { transform: translate(-30px, -40px); opacity: 1;   }
  /* blue closes in - red is neutralized and fades */
  40%  { transform: translate(-30px, -40px); opacity: 0.4; }
  50%  { transform: translate(-30px, -40px); opacity: 0;   }
  /* reappears at a new vector B (52px, 30px) */
  51%  { transform: translate( 52px,  30px); opacity: 0;   }
  62%  { transform: translate( 52px,  30px); opacity: 1;   }
  75%  { transform: translate( 45px,  10px); opacity: 1;   }
  87%  { transform: translate( 30px, -15px); opacity: 1;   }
  100% { transform: translate(-60px,  20px); opacity: 1;   }
}

@keyframes blueDefend {
  /* normal patrol on the inner ring */
  0%   { transform: translate(  0px, -45px); }
  12%  { transform: translate( 32px, -32px); }
  22%  { transform: translate( 45px,   0px); }
  /* detects red - breaks patrol to intercept point A (-30px, -40px) */
  27%  { transform: translate( 30px,  15px); }
  35%  { transform: translate(-15px, -25px); }
  42%  { transform: translate(-30px, -40px); }
  /* threat gone - holds, then returns to patrol */
  50%  { transform: translate(-30px, -40px); }
  58%  { transform: translate(-15px, -15px); }
  65%  { transform: translate(  0px, -45px); }
  75%  { transform: translate(-32px, -32px); }
  87%  { transform: translate(-45px,   0px); }
  100% { transform: translate(  0px, -45px); }
}

@keyframes greenGovern {
  0%   { transform: translate(  0px, -100px); }
  12%  { transform: translate( 71px,  -71px); }
  25%  { transform: translate(100px,    0px); }
  38%  { transform: translate( 71px,   71px); }
  50%  { transform: translate(  0px,  100px); }
  62%  { transform: translate(-71px,   71px); }
  75%  { transform: translate(-100px,   0px); }
  88%  { transform: translate(-71px,  -71px); }
  100% { transform: translate(  0px, -100px); }
}

@keyframes purpleOrbit {
  0%   { transform: translate(  0px, -112px); }
  12%  { transform: translate( 79px,  -79px); }
  25%  { transform: translate(112px,    0px); }
  38%  { transform: translate( 79px,   79px); }
  50%  { transform: translate(  0px,  112px); }
  62%  { transform: translate(-79px,   79px); }
  75%  { transform: translate(-112px,   0px); }
  88%  { transform: translate(-79px,  -79px); }
  100% { transform: translate(  0px, -112px); }
}

.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  margin-top: 13px;
  border-top: 1px solid var(--ink-line);
  font-size: 13.5px;
  color: var(--text-on-ink-muted);
}

.signal-row:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.signal-row strong {
  color: var(--text-on-ink);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink-2);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
  padding-block: 18px;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink-2), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--ink-2), transparent);
}

.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-ink-muted);
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue-bright);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: clamp(44px, 5.5vw, 72px);
}

.section-head h2 {
  max-width: 22ch;
}

.section-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- Service accordion ---------- */
.svc-list {
  border-top: 1px solid var(--text);
}

.svc-row {
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}

.svc-row:hover {
  background: var(--surface);
}

.svc-row.is-open {
  background: var(--surface);
}

.svc-row__head {
  display: grid;
  grid-template-columns: 48px 1fr 44px;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: clamp(22px, 3vw, 32px) clamp(4px, 1vw, 16px);
  cursor: pointer;
}

@media (min-width: 900px) {
  .svc-row__head {
    grid-template-columns: 70px minmax(0, 4fr) minmax(0, 5fr) 44px;
  }
}

.svc-row__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 470;
  line-height: 1.15;
}

.svc-row__title .material-symbols-outlined {
  font-size: 26px;
  flex: none;
}

.svc-row__teaser {
  display: none;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 46ch;
}

@media (min-width: 900px) {
  .svc-row__teaser {
    display: block;
  }
}

.svc-row__toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.4s var(--ease);
}

.svc-row__toggle .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.4s var(--ease);
}

.svc-row:hover .svc-row__toggle {
  border-color: var(--blue);
  color: var(--blue);
}

.svc-row.is-open .svc-row__toggle {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.svc-row__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.svc-row__body > div {
  overflow: hidden;
}

.svc-row__content {
  display: grid;
  gap: 24px;
  padding: 4px clamp(4px, 1vw, 16px) clamp(26px, 3vw, 36px);
}

@media (min-width: 900px) {
  .svc-row__content {
    grid-template-columns: 70px minmax(0, 4fr) minmax(0, 5fr) 44px;
  }

  .svc-row__content > .svc-row__desc {
    grid-column: 2;
  }

  .svc-row__content > .svc-row__deliverables {
    grid-column: 3;
  }
}

.svc-row__desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 44ch;
}

.svc-row__desc .link-arrow {
  margin-top: 16px;
}

.svc-row__deliverables {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-row__deliverables li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
}

.svc-row__deliverables li:first-child {
  border-top: 1px solid var(--line);
}

.svc-row__deliverables .material-symbols-outlined {
  font-size: 17px;
  color: var(--blue);
}

/* ---------- Team detail sections (services page) ---------- */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.team-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.team-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.team-nav a:hover {
  color: var(--text);
  border-color: var(--text);
}

.team-nav a .mono-num {
  color: var(--team-accent, var(--blue));
}

.team-section {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.team-section:first-of-type {
  border-top: 0;
}

.team-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

@media (min-width: 1024px) {
  .team-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
    align-items: start;
  }
}

.team-head__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.team-head__label .material-symbols-outlined {
  font-size: 32px;
  color: var(--team-accent, var(--blue));
}

.team-head__label .mono-num {
  font-size: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-muted);
  white-space: nowrap;
}

.subsvc-grid {
  display: grid;
  border-top: 1px solid var(--text);
}

@media (min-width: 900px) {
  .subsvc-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
  }
}

.subsvc {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.subsvc h4 {
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.subsvc h4::before {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--team-accent, var(--blue));
}

.subsvc p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 6px;
  padding-left: 20px;
}

.team-cta {
  margin-top: 32px;
}

/* ---------- Cards (pillars / industries / programs) ---------- */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: var(--surface);
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--card-accent, var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(7, 11, 20, 0.18);
  z-index: 1;
}

.card:hover::after {
  transform: scaleX(1);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.card__icon {
  font-size: 30px !important;
  color: var(--card-accent, var(--blue));
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 480;
  line-height: 1.25;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card .link-arrow {
  margin-top: 24px;
}

.card ul {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.card ul .material-symbols-outlined {
  font-size: 17px;
  color: var(--card-accent, var(--blue));
  margin-top: 2px;
}

/* ---------- Steps (engagement model) ---------- */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--text);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid var(--line);
  }
}

.step {
  padding: clamp(26px, 3vw, 40px) clamp(0px, 1.6vw, 28px) clamp(30px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .step {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding-left: 24px;
  }
}

.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.12em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 480;
  margin: 18px 0 10px;
}

.step p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Values list ---------- */
.values-list {
  border-top: 1px solid var(--text);
}

.value-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

@media (min-width: 900px) {
  .value-row {
    grid-template-columns: 90px minmax(0, 4fr) minmax(0, 6fr);
  }
}

.value-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 470;
}

.value-row p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ---------- Quote band ---------- */
.quote-band {
  position: relative;
  overflow: hidden;
}

.quote-band blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 420;
  line-height: 1.25;
  max-width: 26ch;
  padding-left: clamp(28px, 4vw, 56px);
}

.quote-band blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--blue-bright);
}

.quote-band cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-ink-muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band__x {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(20rem, 40vw, 34rem);
  font-weight: 500;
  line-height: 1;
  color: rgba(31, 88, 218, 0.12);
  pointer-events: none;
  user-select: none;
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

.cta-band h2 {
  max-width: 18ch;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--text-on-ink);
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 20%, transparent 70%);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  margin-top: 24px;
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 24px;
  max-width: 56ch;
}

/* ---------- Split intro ---------- */
.split {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 80px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-ink);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.site-footer__top {
  display: grid;
  gap: 48px;
  padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px);
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
    gap: 32px;
  }
}

.site-footer__brand img {
  height: 54px;
  width: auto;
  margin-bottom: 22px;
}

.site-footer__brand p {
  color: var(--text-on-ink-muted);
  font-size: 15px;
  max-width: 34ch;
  line-height: 1.7;
}

.site-footer__col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 22px;
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-link {
  font-size: 14.5px;
  color: var(--text-on-ink-muted);
  transition: color 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #fff;
}

.footer-link .material-symbols-outlined {
  font-size: 15px;
}

.site-footer__bottom {
  border-top: 1px solid var(--ink-line);
  padding-block: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-on-ink-muted);
}

@media (min-width: 700px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  padding-top: clamp(16px, 3vw, 40px);
  margin-bottom: -0.14em;
}

/* ---------- Forms ---------- */
.field-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field-label .ms-hint {
  text-transform: none;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.input-dark {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  min-height: 50px;
}

.input-dark::placeholder {
  color: #a3a8b3;
}

.input-dark:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

textarea.input-dark {
  min-height: 140px;
  resize: none;
  line-height: 1.6;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-intro {
  margin-top: -18px;
  margin-bottom: 26px;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Fires a no-op animation when the browser autofills an input, so JS can
   detect saved-value prefill (which doesn't reliably fire "input"). */
@keyframes onAutoFillStart {
  from {}
  to {}
}
.contact-form-card input:-webkit-autofill {
  animation-name: onAutoFillStart;
}

/* ---------- Progressive "lock / light-up" overlay ---------- */
/* Every field stays visible so the whole form is legible up front. Upcoming
   fields are dimmed ("locked") and light up as each prior field is completed. */
.contact-form-card [data-step] {
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.contact-form-card [data-step].is-locked {
  opacity: 0.4;
  filter: grayscale(0.5);
  pointer-events: none;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .contact-form-card [data-step] {
    transition: none;
  }
}

/* ---------- International phone input (intl-tel-input) ---------- */
.iti {
  width: 100%;
}
/* Flag/country button sits inside the light form input */
.iti__selected-country {
  border-radius: 0;
}
.iti__selected-country:hover,
.iti__selected-country-primary:hover {
  background-color: rgba(15, 79, 212, 0.06);
}
/* Country dropdown overlay */
.iti__dropdown-content {
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 20px 44px -18px rgba(7, 11, 20, 0.28);
}
.iti__dropdown-content .iti__search-input {
  background-color: var(--surface);
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line);
}
.iti__search-input::placeholder {
  color: #a3a8b3;
}
.iti__country-list {
  background-color: var(--surface);
}
.iti__country {
  color: var(--text);
}
.iti__country:hover,
.iti__country.iti__highlight {
  background-color: var(--blue-soft);
}
.iti__dial-code {
  color: var(--text-muted);
}

[data-form-note] {
  font-size: 14px;
  color: var(--text-muted);
}

[data-form-note][data-tone="error"] { color: #d92626; }
[data-form-note][data-tone="success"] { color: #16803c; }
[data-form-note][data-tone="pending"] { color: var(--blue); }

/* Multi-select */
.multiselect {
  position: relative;
}

.multiselect__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.multiselect__trigger[data-empty="true"] .multiselect__value {
  color: #a3a8b3;
}

.multiselect__trigger.is-invalid {
  border-color: #d92626;
  box-shadow: 0 0 0 3px rgba(217, 38, 38, 0.1);
}

.multiselect__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multiselect__chevron {
  font-size: 20px !important;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease);
}

.multiselect__trigger[aria-expanded="true"] .multiselect__chevron {
  transform: rotate(180deg);
}

.multiselect__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -18px rgba(7, 11, 20, 0.22);
  padding: 6px;
  max-height: 280px;
  overflow: auto;
}

.multiselect__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  font-size: 14.5px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.multiselect__option:hover {
  background: var(--blue-soft);
}

.multiselect__option input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex: none;
}

/* ---------- Services detail (team sections) ---------- */
.team-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-on-ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.team-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--chip-c, var(--blue-bright));
  flex: none;
}

.team-chip:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.svc-detail {
  padding-block: clamp(60px, 7.5vw, 100px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.svc-detail:last-of-type {
  border-bottom: 0;
}

.svc-detail__head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.svc-detail__head .material-symbols-outlined {
  font-size: 34px;
}

.svc-detail__head .mono-num {
  font-size: 14px;
}

.svc-detail > .container > .lead {
  margin-top: 22px;
  max-width: 62ch;
}

.subsvc-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}

@media (min-width: 700px) {
  .subsvc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .subsvc-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.subsvc {
  background: var(--surface);
  padding: 24px 26px;
}

.subsvc h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 8px;
}

.subsvc h3 .material-symbols-outlined {
  font-size: 19px;
  color: var(--team-c, var(--blue));
  margin-top: 1px;
  flex: none;
}

.subsvc p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.fw-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  align-items: center;
}

.fw-strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 6px;
}

.fw-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-muted);
}

.svc-detail__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
}

.contact-form-card h2 {
  margin-bottom: 32px;
}

.form-grid-2 {
  display: grid;
  gap: 24px;
}

@media (min-width: 700px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  /* When one field in a pair is hidden (e.g. Organization), the visible
     field expands to fill the row instead of leaving an empty column. */
  .form-grid-2:has(> .form-field[hidden]) > .form-field:not([hidden]) {
    grid-column: 1 / -1;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.btn--full {
  width: 100%;
}

.map-frame {
  margin-top: 20px;
  border: 1px solid var(--ink-line);
  overflow: hidden;
}

.aside-divider {
  border-top: 1px solid var(--ink-line);
  padding-top: 28px;
  margin-top: 28px;
}

.contact-aside address {
  font-style: normal;
  font-size: 15px;
  color: var(--text-on-ink-muted);
  line-height: 1.8;
  margin-top: 14px;
}

/* ---------- Contact aside (dark) ---------- */
.contact-aside {
  background: var(--ink);
  color: var(--text-on-ink);
  padding: clamp(28px, 4vw, 48px);
}

.contact-aside h3 {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: 1.35rem;
}

.contact-aside .field-label {
  color: var(--text-on-ink-muted);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 10px;
  margin-inline: -10px;
  transition: background-color 0.25s var(--ease);
}

.contact-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.contact-row .material-symbols-outlined,
.contact-row svg {
  color: var(--blue-bright);
  font-size: 24px;
  flex: none;
}

.contact-row__value {
  display: block;
  font-size: 15px;
  color: var(--text-on-ink);
  font-weight: 500;
}

/* ---------- Success modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFade 0.3s var(--ease);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--ink);
  color: var(--text-on-ink);
  border: 1px solid var(--ink-line);
  padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 44px);
  text-align: center;
  overflow: hidden;
  animation: modalPop 0.42s var(--ease);
}

.modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 50% 0%, rgba(31, 88, 218, 0.28), transparent 62%);
}

.modal__dialog::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--text-on-ink-muted);
  transition: color 0.25s var(--ease);
}

.modal__close:hover {
  color: #fff;
}

.modal__badge {
  font-size: 56px !important;
  color: var(--blue-bright);
  margin-bottom: 20px;
}

.modal__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.modal__text {
  color: var(--text-on-ink-muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 34ch;
  margin-inline: auto;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease) var(--reveal-delay, 0ms),
    transform 0.7s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .intel-live::before,
  .radar i,
  .radar span,
  .marquee__track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
