/* =========================================================
   SATELLITE Asset Management — Master Stylesheet
   Palette: Deep Space Black + Cosmic Blue
   ========================================================= */

:root {
  --bg-deep:        #02030a;
  --bg-night:       #05070f;
  --bg-panel:       #0a0f1f;
  --bg-panel-2:     #0d1428;
  --blue-primary:   #2f6bff;
  --blue-glow:      #4a8bff;
  --blue-accent:    #6da9ff;
  --blue-soft:      #8ab4ff;
  --blue-deep:      #0a1f4d;
  --text-primary:   #e8efff;
  --text-secondary: #a8b4cf;
  --text-muted:     #6b7693;
  --border-faint:   rgba(74, 139, 255, 0.12);
  --border-soft:    rgba(74, 139, 255, 0.25);
  --shadow-blue:    0 8px 40px rgba(47, 107, 255, 0.25);
  --shadow-deep:    0 20px 60px rgba(0, 0, 0, 0.5);

  --font-display: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-body:    'Roboto', system-ui, -apple-system, sans-serif;

  --max-width:    1280px;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------- Reset / base ------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--blue-soft); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 700; }
.hero-title {
  /* Stretch the H1 across the full container width without overflow */
  font-size: clamp(2.4rem, 8.2vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 56px;
  width: 100%;
  text-align: left;
  text-wrap: balance;
}
.hero-title .row {
  display: block;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; color: var(--text-secondary); }

/* ------- Starfield base — real Milky Way photo + animated canvas overlay ------- */

/* Layer 1 (deepest): the real firmament photograph as a fixed cover background.
   Provides the dense star clouds, nebula colors and Milky Way band. */
body {
  background-color: #02030a;
  background-image: url('../assets/starfield-bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Layer 2: dark overlay on top of the photo. A flat tint pulls the whole
   image down a couple of stops (so foreground text reads clearly), a stronger
   vignette darkens the edges, and a pair of soft blue glows tie the palette
   to the brand. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    /* flat darkening veil — this is what raises text contrast */
    linear-gradient(rgba(2, 3, 10, 0.55), rgba(2, 3, 10, 0.55)),
    /* extra darkening around the corners */
    radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(2, 3, 10, 0.4) 70%, rgba(2, 3, 10, 0.85) 100%),
    /* subtle brand-blue nebula glows */
    radial-gradient(circle at 78% 18%, rgba(47, 107, 255, 0.10), transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(109, 169, 255, 0.08), transparent 50%);
  z-index: -3;
  pointer-events: none;
}

/* Layer 3: the animated canvas, transparent so the photo shows through.
   Drawn by js/starfield.js — adds moving stars + shooting stars. */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Pulsing "satellite light" — positioned just off the moon's upper-left,
   in the dark sky next to it. Blinks with a satellite-like rhythm (slow
   steady glow + occasional flash, like a LEO satellite catching sunlight). */
.satellite-light {
  position: fixed;
  /* Moon: right: -120px, width 460px → left edge at right: 340px.
     We place the dot ~100px to the left of moon's left edge and ~140px
     above the moon's vertical centre (= upper-left of the moon). */
  right: 440px;
  top: calc(50% - 140px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  z-index: -2;
  pointer-events: none;
  box-shadow:
    0 0 8px 2px rgba(255, 255, 255, 0.95),
    0 0 22px 5px rgba(180, 210, 255, 0.55);
  animation: satellitePulse 5s ease-in-out infinite;
}
@keyframes satellitePulse {
  /* Slow base pulse + two brief flashes per cycle, like a satellite
     tumbling slowly and catching the sun at two points along its rotation */
  0%   { opacity: 0.55; transform: scale(0.9); }
  15%  { opacity: 0.7;  transform: scale(1); }
  22%  { opacity: 1;    transform: scale(1.5); }  /* flash 1 */
  28%  { opacity: 0.65; transform: scale(0.95); }
  50%  { opacity: 0.45; transform: scale(0.85); }
  68%  { opacity: 0.85; transform: scale(1.1); }
  72%  { opacity: 1;    transform: scale(1.55); } /* flash 2 (brighter) */
  78%  { opacity: 0.6;  transform: scale(0.95); }
  100% { opacity: 0.55; transform: scale(0.9); }
}
@media (max-width: 980px) {
  /* tablet moon: 320px wide, right: -90px → left edge at right: 230px */
  .satellite-light {
    right: 310px;
    top: calc(50% - 100px);
    width: 5px;
    height: 5px;
  }
}
@media (max-width: 560px) {
  /* mobile moon: 220px wide, right: -70px → left edge at right: 150px */
  .satellite-light {
    right: 210px;
    top: calc(50% - 70px);
    width: 4px;
    height: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .satellite-light { animation: none; opacity: 0.85; }
}

/* ------- Moon (fixed on right side, real photograph) ------- */
.moon {
  position: fixed;
  top: 50%;
  right: -120px;
  width: 460px;
  height: 460px;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  /* Subtle blue ambient glow to integrate with the deep-space backdrop. */
  filter: drop-shadow(0 0 60px rgba(74, 139, 255, 0.18));
  will-change: transform;
  transform: translateY(-50%) rotate(0deg);
}

/* The photo itself — the user-provided real moon image. We let the .moon
   element handle positioning + a slow rotation on scroll. */
.moon-surface {
  position: absolute;
  inset: 0;
  background-image: url('../assets/moon.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* The shading overlay is no longer needed — the photo already includes
   real terminator lighting. Kept as a no-op stub so the existing HTML
   doesn't need editing across all four pages. */
.moon-shading { display: none; }

@media (max-width: 980px) {
  .moon { width: 320px; height: 320px; right: -90px; opacity: 0.85; }
}
@media (max-width: 560px) {
  .moon { width: 220px; height: 220px; right: -70px; opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .moon { transform: translateY(-50%) !important; }
}

/* ------- Layout helpers ------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 80px 0; }

/* About is now a brief intro — collapse vertical space so the Funds grid
   sits immediately below it without a big empty gap. */
#about { padding: 60px 0 0; }
#about .section-head { margin-bottom: 0; }
#funds { padding: 50px 0 100px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  background: rgba(47, 107, 255, 0.06);
}

/* ------- Navigation ------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(2, 3, 10, 0);
  backdrop-filter: blur(0px);
  transition: all 0.3s var(--ease-smooth);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(2, 3, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-faint);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}
.brand:hover { color: var(--text-primary); }
.brand-mark {
  width: 34px;
  height: 34px;
  position: relative;
  display: grid;
  place-items: center;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: brandSpin 12s linear infinite; /* clockwise rotation */
}
@keyframes brandSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark svg { animation: none; }
}
.brand-name { font-weight: 700; }
.brand-name span {
  color: var(--blue-accent);
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  height: 1px;
  width: 0;
  background: var(--blue-glow);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-glow));
  color: #fff !important;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(47, 107, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(47, 107, 255, 0.5);
  color: #fff !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  width: 40px; height: 40px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: 0.3s var(--ease-smooth);
}
.nav-toggle span::before { top: -7px; position: absolute; left: 0; }
.nav-toggle span::after  { top:  7px; position: absolute; left: 0; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

/* ------- Hero ------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}
.hero-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  background: linear-gradient(180deg, #ffffff 0%, #a8b4cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-glow), var(--blue-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------- Text Type / typewriter (reactbits-style) --------
   Types "Navigating capital" character-by-character, pauses, deletes,
   and repeats. Base color/size/position are inherited from .hero-title
   and .hero h1 — this block only styles the blinking caret. */
.hero-title .row.typewriter {
  /* Reserve the horizontal space for the fully-typed string so the layout
     below the H1 never jumps as characters appear/disappear. */
  display: inline-block;
  min-width: 0;
}
.hero-title .row.typewriter::after {
  /* invisible ghost that pre-reserves layout width */
  content: attr(data-text);
  visibility: hidden;
  pointer-events: none;
  display: block;
  height: 0;
  overflow: hidden;
}
.hero-title .tw-text {
  /* inherits the parent text-fill-color / background-clip from .hero h1 */
  white-space: pre;
}
.hero-title .tw-caret {
  display: inline-block;
  width: 0.06em;
  height: 0.78em;
  margin-left: 0.08em;
  vertical-align: baseline;
  background: #dfe6f5;
  border-radius: 1px;
  animation: twCaretBlink 1s steps(1, end) infinite;
  transform: translateY(0.02em);
  /* the caret needs its OWN visible fill — override the transparent fill
     that .hero h1 sets via background-clip:text */
  -webkit-text-fill-color: #dfe6f5;
}
@keyframes twCaretBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .tw-caret { animation: none; opacity: 0; }
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 540px;
  padding-top: 32px;
  border-top: 1px solid var(--border-faint);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--blue-soft);
  display: block;
  margin-bottom: 4px;
}
.hero-meta-item .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero orbit visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  animation: spin 60s linear infinite;
}
.orbit::before {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-glow);
  box-shadow: 0 0 20px var(--blue-glow);
  top: -5px; left: 50%;
  transform: translateX(-50%);
}
.orbit.o2 {
  inset: 12%;
  animation: spin 40s linear infinite reverse;
  border-color: rgba(74, 139, 255, 0.18);
}
.orbit.o2::before { background: var(--blue-soft); box-shadow: 0 0 16px var(--blue-soft); }
.orbit.o3 {
  inset: 26%;
  animation: spin 25s linear infinite;
  border-color: rgba(138, 180, 255, 0.15);
}
.orbit.o3::before { background: #fff; box-shadow: 0 0 12px #fff; }
.core {
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blue-soft), var(--blue-primary) 50%, var(--blue-deep) 100%);
  box-shadow:
    0 0 60px rgba(47, 107, 255, 0.5),
    inset -10px -10px 30px rgba(0,0,0,0.4);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-glow));
  color: #fff;
  box-shadow: 0 6px 24px rgba(47, 107, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(47, 107, 255, 0.55);
  color: #fff;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(47, 107, 255, 0.1);
  border-color: var(--blue-glow);
  color: var(--text-primary);
}
.btn .arrow {
  transition: transform 0.25s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ------- Section heading ------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.section-head p {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* ------- Funds grid ------- */
.funds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fund-card {
  position: relative;
  padding: 40px 32px 36px;
  background:
    linear-gradient(180deg, rgba(20, 32, 64, 0.92), rgba(8, 12, 26, 0.95));
  border: 1px solid rgba(74, 139, 255, 0.42);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(74, 139, 255, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.fund-card::after {
  /* glowing top edge */
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 180, 255, 0.55), transparent);
  pointer-events: none;
}
.fund-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(47, 107, 255, 0.28), transparent 55%);
  opacity: 0.35;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.fund-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 169, 255, 0.7);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.6),
    0 12px 50px rgba(47, 107, 255, 0.45);
}
.fund-card:hover::before { opacity: 1; }

/* ---- Coming soon: unlaunched funds, blurred with a "coming soon" badge ---- */
.fund-card--coming-soon {
  cursor: not-allowed;
  position: relative;
}
.fund-card--coming-soon:hover {
  /* defuse hover lift/glow; this card isn't active */
  transform: none;
  border-color: rgba(74, 139, 255, 0.42);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(74, 139, 255, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.fund-card--coming-soon:hover::before { opacity: 0.35; }
.fund-card--coming-soon .fund-card-body {
  filter: blur(3.5px);
  opacity: 0.55;
  transition: filter 0.3s, opacity 0.3s;
  pointer-events: none;
  user-select: none;
}
.coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 10px 22px;
  background: rgba(10, 18, 38, 0.88);
  border: 1px solid rgba(109, 169, 255, 0.65);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
  backdrop-filter: blur(4px);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(74, 139, 255, 0.25);
  pointer-events: none;
  white-space: nowrap;
}

.fund-symbol {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-deep), rgba(47, 107, 255, 0.15));
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  position: relative;
}
.fund-symbol svg {
  width: 28px; height: 28px;
  color: var(--blue-soft);
}

/* ============ Fund symbol variant: animated radar ============
   Based on the Uiverse.io "radar" loader by Valeron-T, scaled from its
   original 150px canvas to fit the 64px .fund-symbol frame (scale ≈ 0.43)
   and recoloured from seagreen to the site's blue palette. */
.fund-symbol--radar {
  overflow: hidden;
  border-radius: 50%;          /* circular, like a real radar screen */
  background: #060a18;
  border: 1px solid rgba(74, 139, 255, 0.55);
  box-shadow: inset 0 0 6px rgba(74, 139, 255, 0.55);
}
.fund-symbol--radar::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: transparent;
  border: 1px solid rgba(74, 139, 255, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 4px rgba(74, 139, 255, 0.35);
}
.fund-symbol--radar::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid rgba(74, 139, 255, 0.5);
  box-shadow: inset 0 0 3px rgba(74, 139, 255, 0.4);
}
.fund-symbol--radar .radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: transparent;
  transform-origin: top left;
  animation: radarSweep81 2s linear infinite;
  box-shadow: -10px -32px 13px -21px var(--blue-glow);
  border-top: 1px solid var(--blue-accent);
}
@keyframes radarSweep81 {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Blinking "contacts" that traverse the radar scope */
.fund-symbol--radar .radar-dot {
  width: 3px;
  height: 3px;
  position: absolute;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 0 6px 1px rgba(180, 210, 255, 0.55),
    0 0 6px 1px rgba(109, 169, 255, 0.5);
  animation: radarFly81 32s linear infinite;
  animation-delay: var(--delay, 0s);
  top: var(--dot-start-top);
  left: var(--dot-start-left);
}
/* Positions scaled 0.43× from the original 150px design */
.fund-symbol--radar .rd-1 {
  --dot-start-top: 43px; --dot-start-left: 60px;
  --dot-end-top:   55px; --dot-end-left:  9px;
}
.fund-symbol--radar .rd-2 {
  --dot-start-top: 43px; --dot-start-left: 0px;
  --dot-end-top:   -1px; --dot-end-left:  38px;
}
.fund-symbol--radar .rd-3 {
  --dot-start-top: 43px; --dot-start-left: 45px;
  --dot-end-top:   8px;  --dot-end-left:  8px;
}
.fund-symbol--radar .rd-4 {
  --dot-start-top: 47px; --dot-start-left: 64px;
  --dot-end-top:   60px; --dot-end-left:  13px;
}
.fund-symbol--radar .rd-5 {
  --dot-start-top: -2px; --dot-start-left: 36px;
  --dot-end-top:   53px; --dot-end-left:  51px;
  --delay: 4s;
}
@keyframes radarFly81 {
  0%   { top: var(--dot-start-top); left: var(--dot-start-left); }
  100% { top: var(--dot-end-top);   left: var(--dot-end-left); }
  /* alternating blink between bright and dim states */
  5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% {
    background: rgba(255, 255, 255, 1);
    box-shadow:
      inset 0 0 6px 1px rgba(180, 210, 255, 0.55),
      0 0 9px 1px rgba(109, 169, 255, 1);
  }
  0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90% {
    background: rgba(255, 255, 255, 0.35);
    box-shadow:
      inset 0 0 6px 1px rgba(180, 210, 255, 0.5),
      0 0 4px 1px rgba(109, 169, 255, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fund-symbol--radar .radar-sweep,
  .fund-symbol--radar .radar-dot { animation: none; }
}

/* ============ Fund symbol variant: bouncing ball over bars ============
   Based on the Uiverse.io loader by Nawsome, scaled from its original
   75×100 canvas to fit the 64×64 .fund-symbol frame (scale = 0.5) and
   recoloured to the site's blue palette. Bars grow/shrink while a ball
   bounces from left to right across their tops and back. */
.fund-symbol--growth {
  overflow: hidden;
}
.fund-symbol--growth .growth-stage {
  position: relative;
  width: 40px;
  height: 50px;
}
.fund-symbol--growth .growth-bar {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 50%;                         /* 25px inside a 50px stage */
  background: var(--blue-soft);        /* #8ab4ff */
  border-radius: 1px;
  transform-origin: center bottom;
  box-shadow:
    0 0 6px rgba(74, 139, 255, 0.45),
    inset 0 0 3px rgba(255, 255, 255, 0.25);
}
.fund-symbol--growth .growth-bar:nth-child(1) { left:  0px;  transform: scale(1, 0.2); animation: growthBar1 4s infinite; }
.fund-symbol--growth .growth-bar:nth-child(2) { left:  8px;  transform: scale(1, 0.4); animation: growthBar2 4s infinite; }
.fund-symbol--growth .growth-bar:nth-child(3) { left:  16px; transform: scale(1, 0.6); animation: growthBar3 4s infinite; }
.fund-symbol--growth .growth-bar:nth-child(4) { left:  23px; transform: scale(1, 0.8); animation: growthBar4 4s infinite; }
.fund-symbol--growth .growth-bar:nth-child(5) { left:  30px; transform: scale(1, 1);   animation: growthBar5 4s infinite; }

.fund-symbol--growth .growth-ball {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--blue-glow);         /* #4a8bff */
  border-radius: 50%;
  box-shadow:
    0 0 8px 1px rgba(74, 139, 255, 0.85),
    inset 0 0 3px rgba(255, 255, 255, 0.6);
  animation: growthBall 4s infinite;
}

/* Ball trajectory — original translates scaled 0.5× (75×100 → 38×50 canvas) */
@keyframes growthBall {
  0%   { transform: translate(0,     0); }
  5%   { transform: translate(4px,   -7px); }
  10%  { transform: translate(7.5px, -5px); }
  17%  { transform: translate(11.5px,-12px); }
  20%  { transform: translate(15px,  -10px); }
  27%  { transform: translate(19px,  -17px); }
  30%  { transform: translate(22.5px,-15px); }
  37%  { transform: translate(26.5px,-22px); }
  40%  { transform: translate(30px,  -20px); }
  50%  { transform: translate(30px,   0); }
  57%  { transform: translate(26.5px,-7px); }
  60%  { transform: translate(22.5px,-5px); }
  67%  { transform: translate(18.5px,-12px); }
  70%  { transform: translate(15px,  -10px); }
  77%  { transform: translate(11px,  -17px); }
  80%  { transform: translate(7.5px, -15px); }
  87%  { transform: translate(3.5px, -22px); }
  90%  { transform: translate(0,     -20px); }
  100% { transform: translate(0,     0); }
}
/* Bar height animations — bars 1 & 4 & 5 swap heights mid-cycle, 2 grows,
   3 stays constant. Original scale-Y curves preserved exactly. */
@keyframes growthBar1 {
  0%, 40%     { transform: scale(1, 0.2); }
  50%, 90%    { transform: scale(1, 1); }
  100%        { transform: scale(1, 0.2); }
}
@keyframes growthBar2 {
  0%, 40%     { transform: scale(1, 0.4); }
  50%, 90%    { transform: scale(1, 0.8); }
  100%        { transform: scale(1, 0.4); }
}
@keyframes growthBar3 {
  0%, 100%    { transform: scale(1, 0.6); }
}
@keyframes growthBar4 {
  0%, 40%     { transform: scale(1, 0.8); }
  50%, 90%    { transform: scale(1, 0.4); }
  100%        { transform: scale(1, 0.8); }
}
@keyframes growthBar5 {
  0%, 40%     { transform: scale(1, 1); }
  50%, 90%    { transform: scale(1, 0.2); }
  100%        { transform: scale(1, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .fund-symbol--growth .growth-bar,
  .fund-symbol--growth .growth-ball { animation: none; }
}

/* ============ Fund symbol variant: concentric rings ============
   Based on the Uiverse.io loader by Markoslc, scaled from 90px max
   diameter to 50px (scale ≈ 0.55) so all three rings fit inside the
   64×64 .fund-symbol. The neomorphic light-grey / white shadows of the
   original are replaced by dark + blue-glow so they read on our dark bg. */
.fund-symbol--dynamic {
  overflow: hidden;
}
.fund-symbol--dynamic .dynamic-loader {
  position: relative;
  width: 52px;
  height: 52px;
}
.fund-symbol--dynamic .dl-ring {
  position: absolute;
  background-color: transparent;
  left: calc(50% - (var(--size) / 2));
  top:  calc(50% - (var(--size) / 2));
  width:  var(--size);
  height: var(--size);
  border-radius: 50%;
}
.fund-symbol--dynamic .dl-ring1 {
  --size: 50px;
  animation: dynRing1 2.5s infinite alternate;
  z-index: 1;
}
.fund-symbol--dynamic .dl-ring2 {
  --size: 34px;
  animation: dynRing2 2.5s infinite alternate;
  z-index: 2;
}
.fund-symbol--dynamic .dl-ring3 {
  --size: 18px;
  animation: dynRing3 2.5s infinite alternate;
  z-index: 3;
}
/* Shadow palette: dark shadow bottom-right (deeper void) + blue glow
   top-left (highlight from the light source of the design). */
@keyframes dynRing1 {
  0%, 10% { transform: scale(0); }
  100% {
    transform: scale(1);
    background: rgba(74, 139, 255, 0.05);
    box-shadow:
       4px  4px 8px rgba(0, 0, 0, 0.7),
      -4px -4px 8px rgba(74, 139, 255, 0.55);
  }
}
@keyframes dynRing2 {
  0%, 40% { transform: scale(0); }
  100% {
    transform: scale(1);
    background: rgba(74, 139, 255, 0.08);
    box-shadow:
       3px  3px 6px rgba(0, 0, 0, 0.65),
      -3px -3px 6px rgba(74, 139, 255, 0.55);
  }
}
@keyframes dynRing3 {
  0%, 70% { transform: scale(0); }
  100% {
    transform: scale(1);
    background: rgba(74, 139, 255, 0.12);
    box-shadow:
       2px  2px 5px rgba(0, 0, 0, 0.6),
      -2px -2px 5px rgba(74, 139, 255, 0.6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fund-symbol--dynamic .dl-ring { animation: none; transform: scale(1); }
}

/* ============ BlurText (reactbits) — vanilla CSS + JS translation ============
   Each word/letter starts blurred, transparent and offset upward by 50px,
   then animates through an intermediate half-blurred half-opaque state to
   fully clear at rest. Words are staggered by 200ms. Triggered when the
   element scrolls into view via an IntersectionObserver in app.js.
   Defaults from the component's props:
     animateBy = 'words', direction = 'top', delay = 200ms,
     stepDuration = 0.35s (× 2 steps = 0.7s per word). */
.blur-text {
  display: inline-flex;
  flex-wrap: wrap;
}
.blur-text .blur-word {
  display: inline-block;
  will-change: transform, filter, opacity;
  /* Initial "from" state (direction = top → coming from above) */
  filter: blur(10px);
  opacity: 0;
  transform: translateY(-50px);
}
.blur-text.in-view .blur-word {
  animation: blurTextIn 0.7s ease forwards;
  animation-delay: calc(var(--i, 0) * 200ms);
}
@keyframes blurTextIn {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(-50px);
  }
  50% {
    /* intermediate keyframe from the component's default `to` array */
    filter: blur(5px);
    opacity: 0.5;
    transform: translateY(5px);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .blur-text .blur-word {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}
.fund-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.fund-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 20px;
}
.fund-card p {
  font-size: 0.96rem;
  margin-bottom: 28px;
  flex-grow: 1;
}
.fund-stats {
  display: flex;
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
  margin-bottom: 24px;
}
.fund-stat {
  flex: 1;
}
.fund-stat .lbl {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.fund-stat .val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.fund-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-accent);
}
.fund-link .arrow { transition: transform 0.25s var(--ease-out); }
.fund-card:hover .fund-link .arrow { transform: translateX(5px); }

/* ------- Approach / Principles ------- */
.approach {
  background:
    linear-gradient(180deg, transparent, rgba(10, 15, 31, 0.4), transparent);
}
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.principle {
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(20, 32, 64, 0.85), rgba(10, 15, 31, 0.75));
  border: 1px solid rgba(74, 139, 255, 0.3);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.principle:hover {
  background: linear-gradient(180deg, rgba(28, 44, 88, 0.95), rgba(13, 20, 40, 0.85));
  border-color: rgba(109, 169, 255, 0.6);
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(47, 107, 255, 0.25);
}
.principle-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--blue-accent);
  margin-bottom: 14px;
}
.principle h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.principle p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-secondary);
}

/* ------- CTA section ------- */
.cta {
  text-align: center;
  padding: 100px 0 120px;
  position: relative;
}
.cta-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 40px;
  border: 1px solid rgba(74, 139, 255, 0.42);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 107, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(20, 32, 64, 0.92), rgba(8, 12, 26, 0.9));
  backdrop-filter: blur(22px);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
}
.cta h2 {
  margin-bottom: 16px;
}
.cta p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ------- Footer ------- */
.footer {
  padding: 70px 0 32px;
  background: linear-gradient(180deg, transparent, rgba(2, 3, 10, 0.6));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-brand p {
  margin-top: 18px;
  font-size: 0.95rem;
  max-width: 340px;
}
.footer-brand p strong {
  color: var(--text-primary);
  font-weight: 600;
}
/* "Fund Manager · APEX FUND MANAGEMENT LLC" block (lives inside the Contact
   column, below the email). Bare — no border/background. */
.footer-manager {
  margin-top: 22px;
}
.footer-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-manager strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
/* "Coming soon" items in the footer Funds list */
.footer-soon {
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: default;
}
.footer-soon em {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--blue-accent);
  margin-left: 4px;
}

/* ---- "Operational infrastructure" partners strip ---- */
.footer-partners {
  margin: 46px 0 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-faint);
  text-align: center;
}
.footer-partners-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 72px;
  flex-wrap: wrap;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
}
.partner-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
}
/* Partner logos: real brand assets served from /assets/, floating free
   (no frame/box) so they read as institutional marks, not as cards. */
.partner-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
/* IBKR logo: dark text + red accent on a transparent background.
   On our dark navy backdrop the black is invisible, so we invert
   luminance (black → white) while hue-rotating 180° to keep the
   brand red intact. The IBKR SVG canvas is wide/short so we size it
   generously to visually match the FlexFunds mark. */
.partner-logo-img--ibkr {
  filter: invert(1) hue-rotate(180deg);
  height: auto;
  width: 340px;
  max-width: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-faint);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.disclaimer {
  max-width: 800px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 28px 0 0;
}
.disclaimer strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ------- Inner-page hero (fund pages) ------- */
.inner-hero {
  padding: 180px 0 80px;
  position: relative;
}
.inner-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}
.inner-hero .hero-lead {
  margin-bottom: 0;
  font-size: 1.18rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue-accent); }

/* fund profile details */
.fund-profile {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.fund-profile h2 { font-size: 1.9rem; }
.fund-profile h3 { font-size: 1.15rem; margin-top: 32px; }
.fund-profile ul {
  padding-left: 0;
  list-style: none;
}
.fund-profile ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}
.fund-profile ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--blue-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue-glow);
}

.spec-card {
  position: sticky;
  top: 100px;
  padding: 36px 32px;
  border: 1px solid rgba(74, 139, 255, 0.42);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 32, 64, 0.92), rgba(8, 12, 26, 0.92));
  backdrop-filter: blur(22px);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.spec-card h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin: 0 0 24px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-faint);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .k {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.spec-row .v {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}
.spec-row .v.tbd {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.spec-row .v a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--blue-accent);
  transition: color 0.2s, border-color 0.2s;
}
.spec-row .v a:hover {
  color: var(--blue-accent);
  border-bottom-color: var(--blue-soft);
}
.spec-row .v a::after {
  content: " ↗";
  font-size: 0.72rem;
  color: var(--blue-accent);
  opacity: 0.7;
  margin-left: 2px;
}

/* risk meter */
.risk-meter {
  margin-top: 24px;
  padding: 20px;
  background: rgba(2, 3, 10, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-faint);
}
.risk-bar {
  height: 6px;
  background: rgba(74, 139, 255, 0.15);
  border-radius: 100px;
  overflow: hidden;
  margin: 12px 0 8px;
}
.risk-fill {
  height: 100%;
  background: linear-gradient(90deg, #2f6bff, #6da9ff, #fff);
  border-radius: 100px;
}
.risk-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* allocation pills */
.alloc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.alloc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(13, 20, 40, 0.5);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.alloc-item .pct {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-soft);
}

/* ------- Reveal-on-scroll ------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ------- Responsive ------- */
@media (max-width: 980px) {
  .section { padding: 90px 0; }
  .hero { padding: 130px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-body { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0 auto; max-width: 320px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 4rem); margin-bottom: 28px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); }
  .funds-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .fund-profile { grid-template-columns: 1fr; gap: 40px; }
  .spec-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .nav-toggle { display: inline-block; }
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    background: rgba(2, 3, 10, 0.96);
    backdrop-filter: blur(20px);
    padding: 40px 24px;
    gap: 26px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-smooth);
    border-left: 1px solid var(--border-faint);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .hero-meta { gap: 16px; }
  .hero-meta-item .num { font-size: 1.3rem; }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 50px 24px; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
