/* ==========================================================================
   Atomic Canyon Design System
   B2B AI for Nuclear Power
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* --- Brand Colors (from atomic-canyon.com) --- */
  --ac-blue:        #3B60E4;   /* Primary accent — AC brand blue */
  --ac-blue-hover:  #2D4FCC;   /* Darkened for hover */
  --ac-blue-light:  #5B7BF0;   /* Lighter variant */
  --ac-blue-glow:   rgba(59, 96, 228, 0.15);
  --ac-blue-faint:  rgba(59, 96, 228, 0.06);

  --accent-blue:       #4B7BF5;   /* Light blue accent — soft, modern blue for CTAs & highlights */
  --accent-blue-hover: #3A6AE4;   /* Darkened for hover */
  --accent-blue-glow:  rgba(75, 123, 245, 0.2);

  --ac-violet:      #7765E4;   /* Secondary accent — AC brand purple */
  --ac-violet-glow: rgba(119, 101, 228, 0.14);

  /* --- Dark palette --- */
  --midnight:       #0C1220;   /* Deepest dark bg */
  --midnight-light: #111B2E;   /* Card surfaces on dark */
  --midnight-mid:   #162036;   /* Elevated surfaces on dark */

  /* --- Light palette (from site.css) --- */
  --cream:          #F9F1EB;   /* Warm off-white — AC light bg */
  --off-white:      #FAFAFA;   /* Near-white */
  --warm-gray:      #F3EDE7;   /* Warmer alternating section */
  --cool-gray:      #E5E0DB;   /* Borders on warm bg */

  /* --- Text --- */
  --ink:            #353535;   /* AC body text color */
  --ink-light:      #555555;   /* Secondary body text */
  --charcoal:       #1A1A2E;   /* Headings */
  --slate:          #6B6B7B;   /* Muted/caption text (WCAG AA on cream) */

  --white:          #FFFFFF;
  --border-light:   rgba(0, 0, 0, 0.08);
  --border-dark:    rgba(255, 255, 255, 0.08);

  --error:          #DC2626;
  --success:        #16A34A;
  --status-green:   #22C55E;

  /* --- Typography --- */
  --font-display: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Fira Code', 'Consolas', monospace;

  /* Fluid type scale */
  --text-xs:   clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm:   clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  --text-lg:   clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-xl:   clamp(1.3rem, 1.1rem + 0.8vw, 1.5rem);
  --text-2xl:  clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-3xl:  clamp(1.8rem, 1.4rem + 1.8vw, 2.75rem);
  --text-4xl:  clamp(2.2rem, 1.6rem + 2.5vw, 3.5rem);
  --text-5xl:  clamp(2.8rem, 2rem + 3.5vw, 4.5rem);

  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* --- Layout --- */
  --max-width:  1200px;
  --nav-height: 72px;

  /* --- Border Radius --- */
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg:   0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 8px 40px var(--ac-blue-glow);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}


/* ==========================================================================
   2. BASE STYLES
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--ac-blue);
  color: var(--white);
}

/* Global focus-visible styles for keyboard navigation */
a:focus-visible {
  outline: 2px solid var(--ac-blue);
  outline-offset: 2px;
}

.on-dark a:focus-visible,
.hero--dark a:focus-visible,
.footer a:focus-visible,
.cta-band a:focus-visible,
.section--dark a:focus-visible,
.section--midnight a:focus-visible {
  outline-color: var(--ac-blue-light);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); font-weight: 600; }
h6 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ac-blue);
}

.on-dark h1, .on-dark h2, .on-dark h3,
.on-dark h4, .on-dark h5, .on-dark h6 {
  color: var(--white);
}
.on-dark h6 { color: var(--ac-blue-light); }

p {
  margin-bottom: var(--space-4);
  color: var(--ink-light);
  max-width: 65ch;
}

.on-dark p { color: rgba(255, 255, 255, 0.68); }

.lead {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--ink);
}

.on-dark .lead { color: rgba(255, 255, 255, 0.82); }

.overline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
  margin-bottom: var(--space-3);
  display: block;
}

.on-dark .overline { color: var(--accent-blue); }

small, .text-sm { font-size: var(--text-sm); }

.caption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

blockquote {
  border-left: 3px solid var(--ac-blue);
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
  background: var(--off-white);
  border-radius: 0;
}

blockquote p {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--slate);
}

.on-dark blockquote {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--ac-blue-light);
}
.on-dark blockquote p { color: rgba(255, 255, 255, 0.9); }
.on-dark blockquote cite { color: rgba(255, 255, 255, 0.45); }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--off-white);
  padding: var(--space-1) var(--space-2);
  border-radius: 0;
  color: var(--ac-blue);
}

.on-dark code {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ac-blue-light);
}

.list { margin: var(--space-4) 0; padding-left: var(--space-6); }
.list li { margin-bottom: var(--space-2); color: var(--ink-light); }
ul.list li::before {
  content: "\2022";
  color: var(--ac-blue);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
ol.list { list-style: decimal; }
ol.list li::marker { color: var(--ac-blue); font-weight: 600; }

@media (min-width: 768px) {
  h1 { font-size: var(--text-5xl); }
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-8); }
}

.section { padding: var(--space-16) 0; }
.section--lg { padding: var(--space-20) 0; }
.section--warm { background-color: var(--warm-gray); }
.section--white { background-color: var(--white); }

.section--dark {
  background: var(--midnight);
  color: var(--white);
}

.section--midnight {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(59, 96, 228, 0.03) 59px,
      rgba(59, 96, 228, 0.03) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(59, 96, 228, 0.03) 59px,
      rgba(59, 96, 228, 0.03) 60px
    ),
    linear-gradient(170deg, var(--midnight) 0%, #0E1A30 50%, #131E38 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Ambient glow on dark sections */
.section--midnight::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--ac-blue-glow) 0%, transparent 65%);
  pointer-events: none;
}

.section--midnight::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--ac-violet-glow) 0%, transparent 60%);
  pointer-events: none;
}

.section__header { margin-bottom: var(--space-12); }

.section__header--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-12);
}

.section__header--center h2 {
  text-wrap: balance;
}

.section__header--center .lead {
  text-wrap: pretty;
}

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

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


/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 241, 235, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  transition: background 200ms ease, border-color 200ms ease;
}

.nav--dark {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  height: 100%;
}

.nav__logo {
  flex-shrink: 0;
}

.nav__logo img {
  height: 32px;
  width: auto;
  filter: brightness(0);
  transition: filter 200ms ease;
}
.nav--dark .nav__logo img { filter: brightness(1); }

.nav__links {
  display: none;
  gap: var(--space-8);
  align-items: center;
}

.nav__links a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink-light);
  transition: color var(--transition-fast);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--charcoal);
}
.nav__links a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.nav--dark .nav__links a { color: var(--white); }
.nav--dark .nav__links a:hover { color: var(--white); }
.nav--dark .nav__links a.active {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.nav__cta.btn { display: none; }

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition-base), opacity var(--transition-base), background 200ms ease;
}

.nav--dark .nav__toggle span { background: var(--white); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--cream);
  padding: var(--space-8) var(--space-6);
  z-index: 99;
}

.nav__mobile.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.nav__mobile a {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-fast);
}

.nav__mobile a:hover,
.nav__mobile a.active { color: var(--ac-blue); }

/* The desktop CTA button is hidden below 768px, so the mobile panel carries its
   own copy — otherwise Contact would be unreachable from the nav on mobile.
   These two rules only exist to out-specify the generic `.nav__mobile a` styles
   above (0-1-1), which would otherwise flatten the button into a text link. */
.nav__mobile .nav__mobile-cta {
  color: var(--white);
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-bottom: none;
  align-self: flex-start;
  margin-top: var(--space-2);
}

.nav__mobile .nav__mobile-cta:hover { color: var(--white); }

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta.btn { display: inline-flex; }
  .nav__toggle { display: none; }
}


/* ==========================================================================
   6. HERO
   ========================================================================== */

.hero {
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero--dark {
  background: var(--midnight);
  color: var(--white);
  margin-top: calc(-1 * var(--nav-height));
  padding: calc(var(--nav-height) + var(--space-24)) 0 var(--space-20);
}

/* Dual glow effect — blue top-right, violet bottom-left */
.hero--dark::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -8%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(59, 96, 228, 0.12) 0%,
    rgba(59, 96, 228, 0.05) 35%,
    rgba(119, 101, 228, 0.04) 55%,
    transparent 72%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero--dark::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -5%;
  width: 680px;
  height: 680px;
  background: radial-gradient(
    circle,
    rgba(119, 101, 228, 0.13) 0%,
    rgba(119, 101, 228, 0.04) 40%,
    transparent 60%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Reactor canvas background */
.hero__reactor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .hero__reactor {
    display: none;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ac-blue-light);
  margin-bottom: var(--space-5);
  display: block;
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: var(--white);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero__title { font-size: var(--text-5xl); }
}

.hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: var(--space-8);
  line-height: 1.6;
  max-width: 600px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}


/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: var(--space-3) var(--space-6);
  border-radius: 0;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

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

/* Primary — light blue accent */
.btn--primary {
  background: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

.btn--primary:hover {
  background: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  box-shadow: 0 4px 24px var(--accent-blue-glow);
}

/* Secondary — outline */
.btn--secondary {
  background: transparent;
  border-color: var(--cool-gray);
  color: var(--ink);
}

.btn--secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.on-dark .btn--secondary,
.hero--dark .btn--secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.on-dark .btn--secondary:hover,
.hero--dark .btn--secondary:hover {
  border-color: var(--ac-blue-light);
  color: var(--ac-blue-light);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--ink-light);
  border-color: transparent;
}
.btn--ghost:hover {
  color: var(--ac-blue);
  background: var(--ac-blue-faint);
}

/* Sizes */
.btn--lg { font-size: var(--text-base); padding: var(--space-4) var(--space-8); }
.btn--sm { font-size: var(--text-xs); padding: var(--space-2) var(--space-4); }


/* ==========================================================================
   8. CARDS
   ========================================================================== */

/* --- Standard card --- */
.card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 3px solid var(--ac-blue);
  border-radius: 0;
  padding: var(--space-8);
  padding-left: calc(var(--space-8) + 2px);
  transition: all var(--transition-base);
  position: relative;
  /* Static instrument grid */
  background-image:
    linear-gradient(rgba(59, 96, 228, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 96, 228, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Status indicator dot — top right */
.card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* Corner bracket — bottom right */
.card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--ac-violet);
  border-right: 2px solid var(--ac-violet);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 96, 228, 0.15);
  border-left-color: var(--ac-violet);
  box-shadow: 0 8px 32px rgba(59, 96, 228, 0.1), 0 0 0 1px rgba(59, 96, 228, 0.06);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card__number {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--ac-blue);
  line-height: 1;
  margin-bottom: var(--space-4);
  opacity: 0.18;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ac-blue-faint), var(--ac-violet-glow));
  border: 1px solid rgba(59, 96, 228, 0.1);
  border-radius: 2px;
  margin-bottom: var(--space-5);
  font-size: var(--text-2xl);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--charcoal);
}

.card__description {
  font-size: var(--text-base);
  color: var(--ink-light);
  margin-bottom: 0;
  text-wrap: pretty;
  line-height: 1.65;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-blue);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-3);
  color: var(--accent-blue-hover);
}

/* --- Numbered card variant --- */
.card--numbered {
  padding-top: var(--space-6);
  overflow: hidden;
}

.card--numbered .card__number {
  position: absolute;
  top: -0.1em;
  right: var(--space-5);
  font-size: 5.5rem;
  font-weight: 400;
  opacity: 0.06;
  margin-bottom: 0;
  letter-spacing: -0.04em;
}

/* --- Cards on dark backgrounds --- */
.on-dark .card {
  background-color: rgba(255, 255, 255, 0.08);
  background-image:
    linear-gradient(rgba(59, 96, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 96, 228, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: var(--ac-blue);
}

.on-dark .card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(59, 96, 228, 0.4);
  border-left-color: var(--ac-violet);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 48px var(--ac-blue-glow);
}

.on-dark .card::before {
  background: var(--status-green);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.on-dark .card::after {
  border-bottom-color: var(--ac-violet);
  border-right-color: var(--ac-violet);
}

.on-dark .card__title { color: var(--white); }
.on-dark .card__description { color: rgba(255, 255, 255, 0.65); }
.on-dark .card__icon {
  background: linear-gradient(135deg, rgba(59, 96, 228, 0.2), rgba(123, 107, 222, 0.15));
  border-color: rgba(59, 96, 228, 0.25);
  border-radius: 2px;
}
.on-dark .card__link { color: var(--ac-blue-light); }
.on-dark .card--numbered .card__number {
  color: rgba(255, 255, 255, 0.5);
}

/* --- Feature card (horizontal on desktop) --- */
.card--feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: 0;
  overflow: hidden;
  border-left-width: 3px;
}

.card--feature .card__media {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--warm-gray), var(--cool-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card--feature .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card--feature .card__body {
  padding: var(--space-6) var(--space-8) var(--space-8);
}

@media (min-width: 768px) {
  .card--feature {
    grid-template-columns: 1fr 1fr;
  }
  .card--feature .card__media { aspect-ratio: auto; min-height: 280px; }
  .card--feature .card__body {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


/* ==========================================================================
   9. STATS ROW
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
}

.stat {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.stat:last-child { border-bottom: none; }

.stat__value {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--ac-blue);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.on-dark .stats {
  background: var(--midnight-mid);
  border-color: var(--border-dark);
}
.on-dark .stat { border-color: var(--border-dark); }
.on-dark .stat__label { color: rgba(255, 255, 255, 0.45); }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: none; border-right: 1px solid var(--border-light); }
  .stat:nth-child(2n) { border-right: none; }
  .on-dark .stat { border-right-color: var(--border-dark); }
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(2n) { border-right: 1px solid var(--border-light); }
  .stat:last-child { border-right: none; }
  .on-dark .stat:nth-child(2n) { border-right-color: var(--border-dark); }
}


/* ==========================================================================
   10. FORMS
   ========================================================================== */

.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--cool-gray);
  border-radius: 0;
  color: var(--ink);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--slate); }

.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--ac-blue);
  outline-offset: -1px;
  border-color: var(--ac-blue);
  box-shadow: 0 0 0 3px var(--ac-blue-glow);
}

.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: var(--text-xs); color: var(--slate); margin-top: var(--space-1); }
.form-error { font-size: var(--text-xs); color: var(--error); margin-top: var(--space-1); }

.on-dark .form-label { color: var(--white); }
.on-dark .form-input,
.on-dark .form-textarea {
  background: var(--midnight-mid);
  border-color: var(--border-dark);
  color: var(--white);
}
.on-dark .form-input::placeholder,
.on-dark .form-textarea::placeholder { color: rgba(255, 255, 255, 0.3); }


/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.footer {
  background: var(--midnight);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner { display: grid; gap: var(--space-10); }
.footer__brand { max-width: 340px; }
.footer__logo img { height: 36px; width: auto; margin-bottom: var(--space-4); }

.footer__tagline {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin-top: var(--space-5);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--white);
  background: var(--ac-blue);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.footer__nav-title {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer__nav-list a {
  display: block;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer__nav-list a:hover { color: var(--ac-blue-light); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-dark);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal { display: flex; gap: var(--space-6); list-style: none; }

.footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer__legal a:hover { color: var(--ac-blue-light); }

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


/* ==========================================================================
   12. FEATURE BAND
   ========================================================================== */

.feature-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.feature-band__content { order: 2; }

.feature-band__content h3 {
  text-wrap: balance;
}

.feature-band__content p {
  text-wrap: pretty;
}

.feature-band__media {
  order: 1;
  position: relative;
  background: linear-gradient(135deg, var(--warm-gray), var(--off-white));
  border-radius: 0;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.feature-band__media--dark {
  background: var(--midnight);
  border-color: var(--ac-blue-glow);
}

.feature-band__media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A wordmark standing in for a photograph. Overrides the cover-crop above so
   the logo keeps its aspect ratio and clear space instead of filling the box. */
.feature-band__media img.feature-band__logo {
  width: auto;
  height: auto;
  max-width: 55%;
  max-height: 30%;
  object-fit: contain;
  opacity: 0.75;
}

@media (min-width: 768px) {
  .feature-band { grid-template-columns: 1fr 1fr; }
  .feature-band__content { order: 1; }
  .feature-band__media   { order: 2; }
  .feature-band--reversed .feature-band__content { order: 2; }
  .feature-band--reversed .feature-band__media   { order: 1; }
}


/* ==========================================================================
   13. CTA BAND
   ========================================================================== */

.cta-band {
  background:
    url('/images/patterns/flow-lines.svg') center bottom / 1440px 420px repeat-x,
    linear-gradient(170deg, var(--midnight), #0E1A30, #131E38);
  color: var(--white);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--ac-blue-glow) 0%, var(--ac-violet-glow) 30%, transparent 60%);
  pointer-events: none;
}

.cta-band__content { position: relative; z-index: 1; }

.cta-band__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.cta-band__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto var(--space-8);
  max-width: 480px;
}

.cta-band__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn--primary {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transition: all 0.2s ease;
}

.cta-band .btn--primary:hover {
  background: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  box-shadow: 0 4px 24px var(--accent-blue-glow);
}

.cta-band .btn--secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.cta-band .btn--secondary:hover {
  border-color: var(--ac-blue-light);
  color: var(--ac-blue-light);
}


/* ==========================================================================
   14. PARTNER STRIP
   ========================================================================== */

.partner-strip {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partner-strip > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-strip__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-bottom: var(--space-6);
}

.partner-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-10);
}

.partner-strip__logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 54px;
}

.partner-strip__logos img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Logos sit desaturated so the row reads as one quiet band regardless of each
     brand's palette, then return to full color on hover or keyboard focus.
     Shared by the Collaborators strip and the home/about trust bar. */
  filter: grayscale(1);
  opacity: 0.55;
  transition:
    filter var(--transition-base),
    opacity var(--transition-base);
}

.partner-strip__logos a:hover img,
.partner-strip__logos a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-strip--dark {
  background: var(--midnight);
  border-top-color: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.partner-strip--dark .partner-strip__label {
  color: rgba(255, 255, 255, 0.35);
}

.partner-strip--dark .partner-strip__logos span,
.partner-strip--dark .partner-strip__logos {
  color: rgba(255, 255, 255, 0.4);
}

.partner-strip--dark .partner-strip__logos img {
  filter: brightness(0) invert(1);
  opacity: 0.35;
}

.partner-strip--dark .partner-strip__logos img:hover { opacity: 0.7; }

.partner-strip__link {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-blue);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.partner-strip__link:hover {
  color: var(--accent-blue-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==========================================================================
   15. TESTIMONIAL
   ========================================================================== */

.testimonial {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  padding: var(--space-10) var(--space-8);
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  background: linear-gradient(135deg, var(--ac-blue), var(--ac-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
}

.testimonial__quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: none;
}

.testimonial__author {
  font-weight: 600;
  color: var(--charcoal);
  font-size: var(--text-sm);
}

.testimonial__role {
  color: var(--slate);
  font-size: var(--text-sm);
}


/* ==========================================================================
   16. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link — visible on focus for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-6);
  background: var(--ac-blue);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, var(--ac-blue-light) 0%, var(--ac-blue) 45%, var(--ac-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ==========================================================================
   17. CARD VARIANTS — CONTROL ROOM PROTOTYPES
   ========================================================================== */

/* ---- V1: Readout Panel ----
   Thin colored top bar, status LED, subtle grid, clean interior */
.card-v1 {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--ac-blue);
  border-radius: 0;
  padding: var(--space-6);
  position: relative;
  background-image:
    linear-gradient(rgba(59, 96, 228, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 96, 228, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  transition: all var(--transition-base);
}

.card-v1::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}

.card-v1:hover {
  border-top-color: var(--ac-violet);
  box-shadow: 0 4px 24px rgba(59, 96, 228, 0.1);
}

.card-v1 .v-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-blue-faint);
  border: 1px solid rgba(59, 96, 228, 0.1);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.card-v1 .v-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}

.card-v1 .v-desc {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card-v1 .v-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ac-blue);
  font-weight: 600;
}


/* ---- V2: Containment Module ----
   Chamfered top-right corner via clip-path, solid borders, bold header region */
.card-v2 {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: var(--space-6);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: all var(--transition-base);
}

/* Chamfer edge line */
.card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(
    135deg,
    transparent calc(50% - 1px),
    var(--ac-blue) calc(50% - 1px),
    var(--ac-blue) calc(50% + 1px),
    transparent calc(50% + 1px)
  );
}

.card-v2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--ac-blue), var(--ac-violet));
}

.card-v2:hover {
  box-shadow: 0 4px 24px rgba(59, 96, 228, 0.12);
}

.card-v2 .v-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  color: var(--ac-blue-light);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.card-v2 .v-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}

.card-v2 .v-desc {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card-v2 .v-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ac-blue);
  font-weight: 600;
}


/* ---- V3: Instrument Gauge ----
   Left sidebar with rotated label, body area separated by vertical line */
.card-v3 {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  padding: var(--space-6);
  padding-left: calc(var(--space-6) + 36px);
  position: relative;
  transition: all var(--transition-base);
  min-height: 180px;
}

/* Sidebar strip */
.card-v3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 36px;
  background: var(--midnight);
  border-right: 1px solid rgba(59, 96, 228, 0.2);
}

/* Rotated label inside sidebar */
.card-v3::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(59, 96, 228, 0.6);
  white-space: nowrap;
}

.card-v3:hover {
  box-shadow: 0 4px 24px rgba(59, 96, 228, 0.1);
  border-color: rgba(59, 96, 228, 0.15);
}

.card-v3 .v-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-blue-faint);
  border: 1px solid rgba(59, 96, 228, 0.1);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.card-v3 .v-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}

.card-v3 .v-desc {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card-v3 .v-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ac-blue);
  font-weight: 600;
}


/* ---- V4: HUD Display ----
   Corner brackets at all 4 corners (visible), no filled borders, floating panel feel */
.card-v4 {
  background: var(--white);
  border: none;
  border-radius: 0;
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-base);
}

/* Top-left + bottom-right brackets via box-shadow on pseudo */
.card-v4::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Top-left bracket */
  border-top: 2px solid var(--ac-blue);
  border-left: 2px solid var(--ac-blue);
  /* Only show corners */
  clip-path: polygon(
    0 0, 20px 0, 20px 2px, 2px 2px, 2px 20px, 0 20px,
    0 calc(100% - 20px), 2px calc(100% - 20px), 2px calc(100% - 2px), 20px calc(100% - 2px), 20px 100%, 0 100%
  );
}

.card-v4::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 2px solid var(--ac-violet);
  border-right: 2px solid var(--ac-violet);
  clip-path: polygon(
    100% 0, 100% 20px, calc(100% - 2px) 20px, calc(100% - 2px) 2px, calc(100% - 20px) 2px, calc(100% - 20px) 0,
    calc(100% - 20px) 100%, calc(100% - 20px) calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) calc(100% - 20px), 100% calc(100% - 20px), 100% 100%
  );
}

.card-v4:hover {
  background: var(--off-white);
  box-shadow: 0 0 32px rgba(59, 96, 228, 0.06);
}

.card-v4 .v-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 96, 228, 0.15);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.card-v4 .v-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}

.card-v4 .v-desc {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card-v4 .v-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ac-blue);
  font-weight: 600;
}


/* ---- V5: Control Rod ----
   Minimal + clean. Bottom gradient accent bar, top-right data tag, no visible borders until hover */
.card-v5 {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0;
  padding: var(--space-6);
  padding-bottom: calc(var(--space-6) + 4px);
  position: relative;
  transition: all var(--transition-base);
}

/* Bottom accent bar */
.card-v5::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ac-blue), var(--ac-violet));
}

/* Top-right data tag */
.card-v5::after {
  content: attr(data-tag);
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--ac-blue);
  padding: 3px 8px;
}

.card-v5:hover {
  border-color: rgba(59, 96, 228, 0.15);
  box-shadow: 0 4px 24px rgba(59, 96, 228, 0.1);
}

.card-v5 .v-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-blue-faint);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.card-v5 .v-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}

.card-v5 .v-desc {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card-v5 .v-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ac-blue);
  font-weight: 600;
}

/* ==========================================================================
   18. TEAM CARDS
   ========================================================================== */

/* --- Team member card (centered, avatar + name + role) --- */
.card--team {
  text-align: center;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  padding: var(--space-8) var(--space-6);
}

.card--team::before,
.card--team::after {
  display: none;
}

.card--team:hover {
  border-left-color: rgba(59, 96, 228, 0.15);
}

/* Avatar — circular container for headshot or initials */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-5);
  overflow: hidden;
  border: 2px solid rgba(59, 96, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--midnight), var(--midnight-mid));
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar--initials {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ac-blue-light);
  letter-spacing: 0.05em;
}

.card--team .card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.card--team .card__role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  display: block;
}

/* Dark variant */
.on-dark .card--team {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.on-dark .team-avatar {
  border-color: rgba(59, 96, 228, 0.25);
}

.on-dark .card--team .card__role {
  color: rgba(255, 255, 255, 0.45);
}

/* --- Compact person card (horizontal, for board & advisors) --- */
.card--person-simple {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  text-align: left;
}

.card--person-simple::before,
.card--person-simple::after {
  display: none;
}

.card--person-simple .team-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  margin: 0;
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--midnight), var(--midnight-mid));
  border: 2px solid rgba(59, 96, 228, 0.15);
}

.card--person-simple .team-avatar--initials {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ac-blue-light);
}

.card--person-simple .card__title {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.card--person-simple .card__role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  display: block;
}

.card--person-simple .card__description {
  margin-bottom: 0;
}

/* Dark variant */
.on-dark .card--person-simple {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.on-dark .card--person-simple .card__role {
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   20. PROBLEM LIST (typographic, no cards)
   ========================================================================== */

.problem-list {
  max-width: 580px;
  margin: var(--space-6) auto 0;
}

.problem-list__item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-light);
}

.problem-list__item:first-child {
  border-top: 1px solid var(--border-light);
}

.problem-list__number {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.4;
  color: var(--midnight);
  opacity: 0.1;
  flex-shrink: 0;
  min-width: 36px;
}

.problem-list__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: var(--space-1);
}

.problem-list__desc {
  font-size: var(--text-base);
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   21. IMPACT GRID (stats with descriptions)
   ========================================================================== */

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.impact-stat {
  padding: var(--space-8);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: var(--midnight-mid);
}

.impact-stat__value {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--ac-blue);
  line-height: 1;
  margin-bottom: var(--space-1);
  letter-spacing: -0.02em;
}

.impact-stat__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-4);
}

.impact-stat__desc {
  font-size: var(--text-base);
  color: var(--light-slate);
  line-height: 1.6;
  margin: 0;
}

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

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