/* ==========================================================================
   Scalar International — main.css
   Premium institutional design system
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — two-tone identity: deep navy + light blue */
  --navy-950: #081428;
  --navy-900: #0A1830;
  --navy: #0D1E3C;
  --navy-800: #16294A;
  --navy-700: #1D3457;
  /* Warm greyscale */
  --ink: #241F1B;
  --body: #4A433D;
  --muted: #7A716A;
  --paper: #F8F6F3;
  --paper-2: #EFEAE4;
  --white: #FFFFFF;
  --line: #E3DCD3;
  --line-dark: rgba(255, 255, 255, 0.14);
  /* Blue accents */
  --accent: #2776EA;          /* backgrounds, decorative + bright text on dark */
  --accent-deep: #2776EA;     /* text on light backgrounds (AA) */
  --accent-tint: #D3E7FF;     /* light-blue tint fills */
  /* On-dark text (warm) */
  --on-dark: #F1EEE9;
  --on-dark-muted: #B7AFA5;

  /* Type */
  --font-display: "Geist", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --fs-hero: clamp(2.75rem, 6.5vw, 5.5rem);       /* 44 → 88 */
  --fs-h1: clamp(2.5rem, 5vw, 4.25rem);
  --fs-h2: clamp(2rem, 3.6vw, 3.25rem);
  --fs-h3: clamp(1.5rem, 2.4vw, 2.125rem);
  --fs-h4: clamp(1.2rem, 1.6vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1.4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  /* Layout */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: 1.5rem;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 5rem;
  --radius: 10px;
  --radius-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
  --shadow-card: 0 6px 24px rgba(10, 24, 48, 0.08);
  --shadow-card-hover: 0 18px 44px rgba(10, 24, 48, 0.16);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 100;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-deep); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--accent-deep); }

/* Underline draw-on — body copy and footer links */
p a, .footer-col a, .footer-bottom a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}
p a:hover, .footer-col a:hover, .footer-bottom a:hover { background-size: 100% 1px; }

ul { padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* Visually hidden but accessible to assistive tech (no horizontal-scroll risk unlike left:-9999px) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section-light { background: var(--white); padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.section-light .split-row { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: 0; }
.section-light + .section { padding-top: clamp(2.5rem, 4.5vw, 4rem); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color: var(--white); }
.section-dark p { color: var(--on-dark-muted); }
.section-dark .statement-grid p { color: var(--white); }
.section-dark .lead { color: var(--on-dark); }
.section-paper { background: var(--paper); }

.accent { color: var(--accent-deep); }
.section-dark .accent, .hero .accent { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--accent); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }

.section-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow { justify-content: center; }
.section-head.is-centered .eyebrow::before { display: none; }
.section-head-carousel { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; max-width: none; }

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

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), color 0.21s var(--ease), border-color 0.21s var(--ease), box-shadow 0.3s var(--ease);
}
.btn .btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Directional fill sweep — a --btn-fill layer slides in from whichever edge
   the cursor entered/left (direction set on data-dir by main.js) */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: translate3d(0, -100%, 0);
  transition: transform 0.21s var(--ease);
}
.btn[data-dir="top"]::before { transform: translate3d(0, -100%, 0); }
.btn[data-dir="bottom"]::before { transform: translate3d(0, 100%, 0); }
.btn[data-dir="left"]::before { transform: translate3d(-100%, 0, 0); }
.btn[data-dir="right"]::before { transform: translate3d(100%, 0, 0); }
.btn:hover::before { transform: translate3d(0, 0, 0); }

.btn-primary { background: var(--accent); color: var(--navy-950); --btn-fill: var(--accent-deep); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; --btn-fill: var(--navy); }
.btn-outline:hover { color: var(--white); transform: translateY(-2px); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); background: transparent; --btn-fill: var(--white); }
.btn-outline-light:hover { color: var(--navy); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-deep);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section-dark .link-arrow { color: var(--accent); }
.link-arrow span {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size 0.35s var(--ease);
}
.link-arrow:hover span { background-size: 100% 1px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header .header-inner {
  max-width: var(--container);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 2.6rem; width: auto; }
.brand .logo-dark { display: none; }

.site-header.is-solid { background: var(--white); box-shadow: 0 2px 20px rgba(10, 24, 48, 0.09); }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }

/* Desktop nav */
.primary-nav { display: none; }
.header-cta { display: none; }
.header-cta.btn-primary { color: var(--white); }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; padding: 0.7rem 1.5rem; }

  .primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .primary-nav a, .primary-nav button.nav-toggle-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    --nav-hover-color: var(--white);
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
  }
  .primary-nav a[aria-current="page"] {
    font-weight: 700;
  }
  .site-header.is-solid .primary-nav a,
  .site-header.is-solid .primary-nav button.nav-toggle-item { color: var(--ink); --nav-hover-color: var(--ink); }

  /* Per-character roll-up (text wrapped into .nav-roll/.nav-char by main.js) */
  .primary-nav .nav-roll { display: inline-flex; overflow: hidden; }
  .primary-nav .nav-char {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
  }
  .primary-nav .nav-char span { display: block; transition: transform 0.42s var(--ease); transition-delay: inherit; }
  .primary-nav .nav-char .char-dup { position: absolute; top: 100%; left: 0; color: var(--nav-hover-color); }
  .primary-nav a:hover .nav-char span,
  .primary-nav a:focus-visible .nav-char span,
  .primary-nav button.nav-toggle-item:hover .nav-char span,
  .primary-nav button.nav-toggle-item:focus-visible .nav-char span,
  .primary-nav .has-mega.is-open .nav-toggle-item .nav-char span {
    transform: translateY(-100%);
  }

  .nav-caret { transition: transform 0.25s var(--ease); }
  .has-mega.is-open .nav-caret { transform: rotate(180deg); }

  /* Mega menu */
  .has-mega { position: relative; }
  .mega-panel {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--navy);
    border-radius: 0;
    box-shadow: 0 32px 70px -14px rgba(4, 10, 24, 0.45);
    padding: 2.5rem max(calc((100vw - var(--container)) / 2 + var(--gutter)), 2rem) 2.75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transform: translateY(-10px);
    transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
  }
  .mega-panel::before {
    content: "";
    position: absolute;
    top: -1.4rem;
    left: 0;
    right: 0;
    height: 1.4rem;
  }
  .mega-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-tint) 50%, var(--accent) 100%);
    background-size: 200% 100%;
    animation: mega-shine 3.5s linear infinite;
  }
  @keyframes mega-shine {
    to { background-position: -200% 0; }
  }
  .has-mega.is-open .mega-panel,
  .has-mega:focus-within .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mega-eyebrow {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-tint);
    margin-bottom: 0.35rem;
  }
  .mega-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-tint);
    box-shadow: 0 0 0 4px rgba(211, 231, 255, 0.25);
  }
  .mega-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .has-mega.is-open .mega-item,
  .has-mega:focus-within .mega-item { opacity: 1; transform: translateY(0); }
  .has-mega.is-open .mega-item:nth-of-type(2),
  .has-mega:focus-within .mega-item:nth-of-type(2) { transition-delay: 0.05s; }
  .has-mega.is-open .mega-item:nth-of-type(3),
  .has-mega:focus-within .mega-item:nth-of-type(3) { transition-delay: 0.1s; }
  .mega-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.08);
  }
  .mega-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
  }
  .mega-item:hover .mega-thumb img,
  .mega-item:focus-visible .mega-thumb img { transform: scale(1.08); }
  .primary-nav .mega-item { display: flex; flex-direction: column; align-items: flex-start; color: var(--on-dark); }
  .primary-nav .mega-item:hover,
  .primary-nav .mega-item:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(4, 10, 24, 0.35);
  }
  .mega-item strong { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--white); }
  .mega-item > span:not(.mega-thumb) { display: block; font-size: 0.85rem; line-height: 1.5; color: var(--on-dark-muted); font-weight: 400; }
}

/* Burger */
.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-solid .nav-burger span { background: var(--navy); }
@media (min-width: 1024px) { .nav-burger { display: none; } }

/* ==========================================================================
   Mobile menu overlay (drill-down)
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--navy-950);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; overscroll-behavior: contain; }

.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  min-height: var(--header-h);
}
.mobile-menu-bar img { height: 2.4rem; width: auto; }
.mobile-menu-close {
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
}

.mobile-panels { position: relative; flex: 1; overflow: hidden; }
.mobile-panel {
  position: absolute;
  inset: 0;
  padding: 1rem var(--gutter) 3rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-panel.is-active { transform: translateX(0); }
.mobile-panel.is-left { transform: translateX(-100%); }

.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel li + li { border-top: 1px solid var(--line-dark); }
.mobile-panel a, .mobile-panel button.drill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.mobile-panel a:hover, .mobile-panel button.drill:hover { color: var(--accent); }
.mobile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 0;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 0.25rem 1.25rem;
  cursor: pointer;
}

.social-links { display: flex; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.social-links a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--white);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-950); transform: translateY(-3px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero.hero-short { min-height: 72vh; }
.hero-media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  will-change: transform;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 20, 40, 0.88) 0%, rgba(8, 20, 40, 0.62) 55%, rgba(8, 20, 40, 0.38) 100%);
}
.hero-content { width: 100%; padding-block: calc(var(--header-h) + 3rem) 5rem; text-align: left; }
.hero-title {
  font-size: var(--fs-hero);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.05;
  max-width: 62rem;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.hero-text { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.85); max-width: 42rem; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-actions .btn-primary { color: var(--white); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 3rem;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Statement / intro
   ========================================================================== */
.statement-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .statement-grid { grid-template-columns: 7fr 5fr; gap: 5rem; align-items: start; }
}
.statement-grid .lead { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.3; }

/* ==========================================================================
   Router cards
   ========================================================================== */
.router-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .router-grid { grid-template-columns: repeat(3, 1fr); } }
.router-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 22rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.router-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.router-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 40, 0.1) 30%, rgba(8, 20, 40, 0.85) 100%); }
.router-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); color: var(--white); }
.router-card:hover img { transform: scale(1.05); }
.router-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; }
.router-card p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-bottom: 1rem; }

/* ==========================================================================
   Numbered pillars
   ========================================================================== */
.pillar {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.pillar + .pillar { border-top: 1px solid var(--line); }
.section-dark .pillar + .pillar { border-top-color: var(--line-dark); }
@media (min-width: 768px) {
  .pillar { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
  .pillar:nth-child(even) .pillar-media { order: 2; }
}
.pillar-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pillar:hover .pillar-media img { transform: scale(1.04); }
.pillar-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: #0D1E3C;
  display: block;
  margin-bottom: 1rem;
}
.pillar h3 { margin-bottom: 1rem; }

/* ==========================================================================
   Card carousel (Swiper)
   ========================================================================== */
.carousel-section .swiper { overflow: visible; }
.carousel-shell { overflow: hidden; padding-block: 0.5rem; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tags { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  background: rgba(8, 20, 40, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chip-accent { background: var(--accent); color: var(--white); }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.75rem; }
.card-meta svg { flex-shrink: 0; }
.card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.65rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent-deep); }
.card p { font-size: 0.95rem; color: var(--muted); flex: 1; }
.card .link-arrow { margin-top: 1.25rem; }

.swiper-controls { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.swiper-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s;
}
.swiper-btn:hover { color: var(--accent); transform: translateY(-2px); }
.swiper-btn[disabled] { opacity: 0.3; cursor: default; }
.section-dark .swiper-btn { color: var(--white); }
.section-dark .swiper-btn:hover { color: var(--accent); }
.swiper-pagination-custom { display: flex; gap: 0.5rem; }
.swiper-pagination-bullet { width: 8px; height: 8px; background: var(--muted); opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }

/* ==========================================================================
   Impact accordion — editorial split layout
   ========================================================================== */
.impact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .impact-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
}
.impact-intro { max-width: 30rem; }
.impact-intro h2 { font-family: var(--font-display); font-size: var(--fs-h2); margin-bottom: 1.25rem; }
.impact-intro .lead { color: var(--muted); }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.65rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.accordion-trigger:hover { color: var(--accent-deep); }
.accordion-icon { flex-shrink: 0; color: var(--accent-deep); transition: transform 0.35s var(--ease); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel-inner { overflow: hidden; }
.accordion-panel p { padding-bottom: 1.65rem; max-width: 34rem; color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: var(--navy-950); color: var(--white); }
.stats-band + .section-tight { padding-top: 0; }
.section-tight + .carousel-section { padding-top: 0; }
.stats-grid { display: grid; gap: 2.5rem; text-align: center; }
@media (min-width: 576px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 4rem);
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.95rem; color: var(--on-dark-muted); max-width: 14rem; margin-inline: auto; }

/* ==========================================================================
   Split rows
   ========================================================================== */
.split-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 768px) {
  .split-row { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6rem); }
  .split-row.is-flipped .split-media { order: 2; }
}
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.is-placeholder { display: flex; align-items: center; justify-content: center; background: var(--paper-2); color: var(--accent-deep); font-family: var(--font-body); font-weight: 600; font-size: 3.5rem; letter-spacing: 0.05em; }
.split-media::after {
  content: "";
  position: absolute;
  inset: auto auto -1px -1px;
  width: 38%;
  height: 6px;
  background: var(--accent);
  border-radius: 0 4px 0 0;
}
.split-body .btn { margin-top: 1rem; }
.bio-quals { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin-top: -0.75rem; margin-bottom: 1.5rem; }

/* ==========================================================================
   Office selector (tabs)
   ========================================================================== */
.office-tabs { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .office-tabs { grid-template-columns: 4fr 8fr; gap: 5rem; } }
.office-tablist { display: flex; flex-direction: column; gap: 0.25rem; border-left: 1px solid var(--line-dark); }
.office-tab {
  text-align: left;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  margin-left: -2px;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--on-dark-muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.office-tab span { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.3rem; color: var(--on-dark-muted); }
.office-tab[aria-selected="true"] { color: var(--white); border-left-color: var(--accent); }
.office-tab[aria-selected="true"] span { color: var(--accent); }
.office-tab:hover { color: var(--white); }
.office-panel { display: none; }
.office-panel.is-active { display: grid; gap: 2rem; animation: panelIn 0.5s var(--ease); }
@media (min-width: 768px) { .office-panel.is-active { grid-template-columns: 1fr 1fr; align-items: center; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.office-panel .pillar-media { aspect-ratio: 16 / 11; }
.office-panel h3 { font-size: 1.75rem; }
.office-address {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
}
.section-dark .office-address { border-top-color: var(--line-dark); color: var(--on-dark-muted); }

/* Office selector on light sections */
.office-tabs.on-light .office-tablist { border-left-color: var(--line); }
.office-tabs.on-light .office-tab { color: var(--muted); }
.office-tabs.on-light .office-tab span { color: var(--muted); }
.office-tabs.on-light .office-tab:hover { color: var(--ink); }
.office-tabs.on-light .office-tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--accent); }
.office-tabs.on-light .office-tab[aria-selected="true"] span { color: var(--accent-deep); }

/* ==========================================================================
   News grid
   ========================================================================== */
.news-grid { display: grid; gap: 1.75rem; }
@media (min-width: 576px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(4, 1fr); } }
.news-grid.is-wide { }
@media (min-width: 1024px) { .news-grid.is-wide { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.news-date { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.5rem; }
.news-source { font-weight: 600; color: var(--accent-deep); }

/* ==========================================================================
   Video feature + modal
   ========================================================================== */
.video-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  display: grid;
  place-items: center;
  isolation: isolate;
}
@media (min-width: 768px) {
  .video-feature { min-height: 20rem; }
}
.section > .video-feature { border-radius: 0; }
.video-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.video-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 20, 40, 0.55); }
.video-play {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--navy-950);
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
  position: relative;
}
.video-play::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(98, 138, 209, 0.6);
  animation: pulseRing 2.4s var(--ease) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.video-play:hover { transform: scale(1.08); background: var(--accent); }
.video-caption { position: absolute; left: 2rem; bottom: 1.75rem; color: var(--white); font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.75rem); max-width: 30rem; text-align: left; }
.video-caption.video-caption-center { left: 50%; right: auto; width: 100%; max-width: 30rem; transform: translateX(-50%); text-align: center; }

/* Podcast video thumbnails (reuses .card / .news-grid) */
.card-media.has-video { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; text-align: inherit; }
.card-media.has-video::after { content: ""; position: absolute; inset: 0; background: rgba(8, 20, 40, 0.35); transition: background 0.35s var(--ease); }
.card:hover .card-media.has-video::after { background: rgba(8, 20, 40, 0.5); }
.card-media.has-video .video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 3.75rem; height: 3.75rem; z-index: 1; }
.card-media.has-video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); }
.card-media.has-video .card-tags { z-index: 1; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8, 20, 40, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-dialog { position: relative; width: min(60rem, 100%); }
.modal-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--navy-950); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.modal-close:hover { color: var(--accent); }

/* ==========================================================================
   Section with background image
   ========================================================================== */
.section-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-image .section-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.section-image .section-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(8, 20, 40, 0.7) 0%, rgba(8, 20, 40, 0.55) 55%, rgba(8, 20, 40, 0.35) 100%);
}
.section-image .container { position: relative; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60rem 30rem at 85% 110%, rgba(98, 138, 209, 0.22), transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); max-width: 46rem; margin-inline: auto; }
.cta-band p { color: var(--on-dark-muted); max-width: 38rem; margin: 0 auto 2.25rem; }
.cta-band .btn-primary { color: var(--white); }

/* ==========================================================================
   Page-title hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.page-hero .hero-media { inset: -10% 0; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 20, 40, 0.55), rgba(8, 20, 40, 0.82));
}
.page-hero .container { width: 100%; padding-block: calc(var(--header-h) + 4rem) 4rem; }
.page-hero h1 { color: var(--white); max-width: 56rem; margin-bottom: 0.75rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); max-width: 46rem; }
.page-hero .bio-quals { color: rgba(255, 255, 255, 0.65); max-width: 46rem; margin-top: 0.5rem; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb a { color: rgba(255, 255, 255, 0.75); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--accent); font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6rem; color: rgba(255, 255, 255, 0.4); }

/* ==========================================================================
   Team grid
   ========================================================================== */
.team-category-head { margin: 3.5rem 0 1.5rem; }
.team-category-head:first-child { margin-top: 0; }
.team-category-head .eyebrow { margin-bottom: 0; }
.team-photo-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.06; background: var(--paper-2); color: var(--accent-deep); font-family: var(--font-body); font-weight: 600; font-size: 1.75rem; letter-spacing: 0.05em; }
.team-grid { display: grid; gap: 1.75rem; }
@media (min-width: 576px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.team-photo { aspect-ratio: 1 / 1.06; overflow: hidden; background: var(--paper-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease), filter 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-body { padding: 1.35rem 1.5rem 1.5rem; border-top: 3px solid var(--accent); }
.team-body h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-body p { font-size: 0.88rem; color: var(--muted); }
.team-bio {
  margin-top: 0.75rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.team-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-deep);
}
.team-more svg { transition: transform 0.3s var(--ease); }
.team-more:hover svg { transform: translateX(4px); }

.team-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem 1.75rem;
  background: var(--navy);
  background-image: radial-gradient(120% 140% at 0% 0%, var(--navy-700) 0%, transparent 55%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.team-cta:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.team-cta .team-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--navy);
}
.team-cta h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--white); line-height: 1.25; }
.team-cta p { font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.55; }
.team-cta .btn { align-self: flex-start; }
.team-cta .btn-primary { color: var(--white); }

/* ==========================================================================
   Bio page
   ========================================================================== */
.split-media.is-portrait { aspect-ratio: 4 / 5; }
.bio-meta { color: var(--muted); font-size: 0.95rem; margin-top: -0.5rem; margin-bottom: 1.5rem; }
.bio-back { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--accent-deep); margin-bottom: 1.75rem; }
.bio-back svg { transition: transform 0.3s var(--ease); }
.bio-back:hover svg { transform: translateX(-4px); }
.bio-linkedin { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--accent-deep); margin-top: 1.5rem; }
.bio-linkedin:hover { text-decoration: underline; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 5rem; } }
#contact-form .btn-primary { color: var(--white); }
#portal-notify-form .btn-primary { color: var(--white); }
#investor-request-form .btn-primary { color: var(--white); }
.form-grid { display: grid; gap: 1.4rem; }
@media (min-width: 576px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-field.is-full { grid-column: 1 / -1; } }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 0.45rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A716A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; padding-right: 2.75rem; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(98, 138, 209, 0.16);
}
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}
.form-field textarea { min-height: 10rem; resize: vertical; }
.form-error { display: none; font-size: 0.82rem; color: #B4231F; margin-top: 0.4rem; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: #B4231F; }
.form-field.has-error .form-error { display: block; }
.form-status { margin-top: 1.25rem; font-weight: 600; display: none; }
.form-status.is-success { display: block; color: #1F7A3D; }
.form-status.is-error { display: block; color: #B4231F; }

.contact-aside { display: grid; gap: 1.25rem; align-content: start; }
.contact-block { padding: 1.75rem; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.contact-block h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-block p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.contact-block a { font-weight: 600; }

/* ==========================================================================
   Newsletter band + footer
   ========================================================================== */
.newsletter-band { background: var(--navy-800); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-dark); }
.newsletter-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .newsletter-inner { grid-template-columns: 6fr 5fr; gap: 4rem; } }
.newsletter-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); color: var(--white); margin: 0; }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-form .btn-primary { color: var(--white); }
.newsletter-form input {
  flex: 1 1 16rem;
  padding: 0.95rem 1.25rem;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--line-dark);
  border-radius: 100px;
  transition: border-color 0.25s var(--ease);
}
.newsletter-form input::placeholder { color: var(--on-dark-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(98, 138, 209, 0.28); }
.newsletter-form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: 0.95rem; }
.footer-main { display: grid; gap: 2.75rem; padding-block: clamp(3.5rem, 7vw, 5.5rem) 3rem; }
@media (min-width: 768px) { .footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 2rem; } }
.footer-brand img { height: 2.5rem; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.92rem; max-width: 20rem; }
.footer-col h3 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--on-dark-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-col .footer-social { display: flex; margin-top: 1.1rem; }
.footer-col .footer-social a { width: 2.4rem; height: 2.4rem; }
.footer-sbip {
  margin-block: 0.5rem 0;
  padding: 1.75rem;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}
.footer-sbip strong { color: var(--white); display: block; margin-bottom: 0.5rem; font-size: 1rem; }
.footer-sbip p { font-size: 0.88rem; margin-bottom: 1rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; }
.footer-link-btn {
  font: inherit;
  font-size: inherit;
  color: var(--on-dark-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--accent); }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  max-width: 44rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
}
.cookie-banner-text { margin: 0; font-size: 0.9rem; flex: 1 1 20rem; }
.cookie-banner-text a { color: var(--white); }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 0.65rem 1.25rem; font-size: 0.88rem; }

/* ==========================================================================
   Investors page — quick nav, fund cards, steps, modal forms
   ========================================================================== */
.investor-quicknav { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.investor-quicknav a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.investor-quicknav a:hover, .investor-quicknav a:focus-visible { border-color: var(--accent); background: rgba(39, 118, 234, 0.18); }
.investor-quicknav a span.qn-index { font-family: var(--font-display); color: var(--accent); }
.investor-portal-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.investor-portal-cta .btn-primary { color: var(--white); }

.investor-grid { display: grid; gap: 1.75rem; }
@media (min-width: 992px) { .investor-grid { grid-template-columns: repeat(3, 1fr); } }
.investor-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.investor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.investor-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.investor-card-media img { width: 100%; height: 100%; object-fit: cover; }
.investor-card-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.8rem 0.32rem 0.65rem;
  border-radius: 100px;
  background: rgba(8, 20, 40, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.investor-card-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.28); }
.investor-card-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex: 1; }
.investor-card-body h3 { font-size: 1.3rem; margin-bottom: 0.65rem; }
.investor-card-body > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.investor-facts { list-style: none; margin: 0 0 1.5rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; font-size: 0.88rem; }
.investor-facts li { display: flex; justify-content: space-between; gap: 1rem; color: var(--body); }
.investor-facts b { color: var(--ink); font-weight: 600; text-align: right; }
.investor-card-actions { margin-top: auto; display: grid; gap: 0.65rem; }
.investor-card-actions .btn { width: 100%; justify-content: center; }
.investor-card-actions .btn-primary { color: var(--white); }
.investor-card-links { margin-top: 1.1rem; text-align: center; }

.steps-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { position: relative; padding-left: 0; }
.step-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-deep);
  display: block;
  margin-bottom: 1rem;
}
.section-dark .step-number { -webkit-text-stroke: 1.5px var(--accent); }
.step-card h3 { margin-bottom: 0.65rem; }
.step-card p { color: var(--muted); font-size: 0.95rem; }
.section-dark .step-card p { color: var(--on-dark-muted); }

.modal-dialog.is-form { width: min(36rem, 100%); }
.modal-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.5rem); max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; }
.modal-card .modal-close {
  position: static;
  float: right;
  color: var(--muted);
  margin: -0.5rem -0.5rem 0.5rem 1rem;
}
.modal-card .modal-close:hover { color: var(--accent-deep); }
.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  clear: both;
}
.modal-card h3 { margin-bottom: 0.6rem; }
.modal-card .modal-lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.modal-card .form-grid { margin-top: 0.25rem; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media { transform: none !important; }
}

/* ==========================================================================
   Misc responsive refinements
   ========================================================================== */
@media (max-width: 575px) {
  :root { --header-h: 4.5rem; }
  .brand img { height: 2.1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .video-caption { left: 1.25rem; bottom: 1.25rem; font-size: 1.05rem; max-width: 70%; }
}
