/* ================================================================
   styles.css — Artive Capital
   Institutional dark UI. Artive Red (#FF0000) as accent only.
   Mobile-first, accessible, no external dependencies.
================================================================ */

/* ── 1. CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  /* Palette */
  --bg:              #0B0B0D;
  --surface:         #111114;
  --surface-raised:  #18181C;
  --border:          #222228;
  --border-subtle:   #16161A;

  --text-1: #EEEEE8;   /* primary */
  --text-2: #88889A;   /* secondary */
  --text-3: #50505C;   /* muted / tertiary */

  --red:        #FF0000;
  --red-dim:    rgba(255, 0, 0, 0.07);
  --red-border: rgba(255, 0, 0, 0.22);

  /* Typography */
  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Layout */
  --max-w:    1200px;
  --gutter:   clamp(20px, 5vw, 48px);
  --nav-h:    64px;

  /* Motion */
  --ease:      200ms ease;
  --ease-out:  400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --r-xs: 3px;
  --r-sm: 5px;
  --r:    8px;
}

/* ── 2. RESET ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img    { display: block; max-width: 100%; }

/* ── 3. UTILITIES ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  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 {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 18px;
  background: var(--red);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--ease);
}
.skip-link:focus { top: 0; }

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-1);
}

.section-header { margin-bottom: clamp(40px, 6vw, 64px); }

/* ── 4. BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease);
  text-decoration: none;
  -webkit-appearance: none;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: #cc0000;
  border-color: #cc0000;
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--text-1);
  border-color: var(--text-2);
}

/* ── 5. NAV ──────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease-out);
}
.site-header.scrolled { border-bottom-color: var(--border-subtle); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ── Brand Logo ── ARTIVE [red bar] CAPITAL ───────────────────
   Inspired by Axe Capital: heavy wordmark + thin divider + tracked descriptor.
   Used in both nav (.brand-logo) and footer (.brand-logo--lg).
── */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}

.brand-logo__word {
  font-size: 0.975rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--text-1);
  line-height: 1;
}

.brand-logo__div {
  display: block;
  width: 1px;
  height: 17px;
  background: var(--red);
  opacity: 0.75;
  flex-shrink: 0;
}

.brand-logo__cap {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--text-2);
  line-height: 1;
  padding-right: 0.24em; /* offset the trailing gap left by letter-spacing */
}

/* Footer variant — slightly larger */
.brand-logo--lg .brand-logo__word { font-size: 1.15rem; }
.brand-logo--lg .brand-logo__div  { height: 20px; }
.brand-logo--lg .brand-logo__cap  { font-size: 0.7rem; letter-spacing: 0.26em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 7px 13px;
  font-size: 0.85rem;
  color: var(--text-2);
  border-radius: var(--r-xs);
  transition: color var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--text-1); }

.nav__link--cta {
  background: var(--red);
  color: #fff !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  background: #cc0000;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-xs);
  flex-shrink: 0;
}
.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-2);
  border-radius: 1px;
  transition: var(--ease);
}

/* ── 6. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
  overflow: hidden;
}

/* Subtle grid overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 70% at 50% 50%, transparent 25%, var(--bg) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Status badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
  animation: badge-dot-pulse 2.8s 1.6s ease-in-out infinite;
}
.badge-sep { color: var(--text-3); }

.hero__name {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-1);
  margin-bottom: 8px;
}

.hero__tagline {
  font-size: clamp(1.75rem, 4.5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--red);
  margin-bottom: 28px;
}

.hero__desc {
  font-size: clamp(0.925rem, 1.8vw, 1.075rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  z-index: 1;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scroll-breathe 3s 2.2s ease-in-out infinite both;
}

/* ── 6b. HERO ANIMATIONS ─────────────────────────────────────── */

/* Canvas sits behind the grid overlay */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: hero-canvas-fadein 2s 0.6s ease forwards;
}

/* Keyframes */
@keyframes hero-canvas-fadein {
  to { opacity: 1; }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes hero-fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0);     }
}
@keyframes tagline-char-enter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes badge-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(136,136,154,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(136,136,154,0);   }
}
@keyframes scroll-breathe {
  0%, 100% { opacity: 0.18; }
  50%       { opacity: 0.55; }
}

/* Entrance animation helpers */
.hero-anim {
  opacity: 0;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-duration: 0.85s;
}
.hero-anim--badge { animation-name: hero-fade-down; animation-delay: 0.10s; }
.hero-anim--1     { animation-name: hero-fade-up;   animation-delay: 0.30s; }
.hero-anim--3     { animation-name: hero-fade-up;   animation-delay: 0.68s; }
.hero-anim--4     { animation-name: hero-fade-up;   animation-delay: 0.86s; }

/* Per-character tagline spans (injected by JS) */
.tagline-char {
  display: inline-block;
  opacity: 0;
  animation: tagline-char-enter 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Accessibility: immediately show everything if motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .hero__canvas      { animation: none; opacity: 0.6; }
  .hero-anim         { animation: none !important; opacity: 1 !important; transform: none !important; }
  .tagline-char      { animation: none !important; opacity: 1 !important; transform: none !important; }
  .badge-dot         { animation: none !important; }
  .hero__scroll-line { animation: none !important; opacity: 0.35 !important; }
}

/* ── 7. THESIS ───────────────────────────────────────────────── */
.thesis {
  padding-block: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--border-subtle);
}

.thesis__list {
  display: flex;
  flex-direction: column;
}

.thesis__item {
  display: grid;
  grid-template-columns: 52px minmax(180px, 260px) 1fr;
  gap: 0 32px;
  align-items: start;
  padding-block: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--border);
}
.thesis__item:first-child { border-top: 1px solid var(--border); }

.thesis__num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding-top: 4px;
}

.thesis__heading {
  font-size: clamp(0.95rem, 1.5vw, 1.075rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-1);
}

.thesis__body {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* ── 8. HOLDINGS ─────────────────────────────────────────────── */
.holdings {
  padding-block: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--border-subtle);
}

.holdings__note {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: -32px;
  margin-bottom: clamp(40px, 5vw, 56px);
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  display: inline-block;
}

/* Holding card */
.holding-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color var(--ease);
}
.holding-card:last-child { margin-bottom: 0; }
.holding-card:hover { border-color: rgba(255,255,255,0.12); }

/* Left column: logo + tickers */
.holding-card__lead {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--border);
  background: var(--surface-raised);
}

/* Logo container */
.holding-card__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
}
.holding-card__logo svg,
.holding-logo-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}
.holding-card__logo--wide svg,
.holding-card__logo--wide .holding-logo-img { max-width: 220px; }

/* Exchange / ticker badges */
.holding-card__tickers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  text-decoration: none;
  transition: border-color var(--ease);
}
a.ticker-badge:hover { border-color: var(--text-2); }

.ticker-badge__exchange {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ticker-badge__code {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-1);
}

/* Right column: name, description, subsidiaries */
.holding-card__body {
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.holding-card__name {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text-1);
  line-height: 1.2;
}

.holding-card__desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 600px;
}

/* Subsidiaries */
.holding-card__subs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.subs-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.subs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subs-item {
  font-size: 0.78rem;
  color: var(--text-2);
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease);
}
.subs-item:hover {
  color: var(--text-1);
  border-color: var(--text-2);
}

/* ── 9. MARKETS ──────────────────────────────────────────────── */
.markets {
  padding-block: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--border-subtle);
}

/* Exchange grid */
.exchanges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  gap: 1px;
  overflow: hidden;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.exchange {
  background: var(--surface);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background var(--ease);
}
.exchange:hover { background: var(--surface-raised); }

.exchange__code {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.exchange__name {
  font-size: 0.775rem;
  color: var(--text-2);
  line-height: 1.4;
}
.exchange__loc {
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 3px;
}

/* TradingView widget wrappers */
.tv-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 12px;
}
.tv-frame--ticker   { min-height: 54px; }
.tv-frame--watchlist { height: 500px; }
.tv-frame--chart    { height: 460px; }

/* Ensure TradingView containers fill their wrapper */
.tradingview-widget-container,
.tradingview-widget-container__widget {
  height: 100% !important;
  width: 100% !important;
}
.tv-frame--ticker .tradingview-widget-container,
.tv-frame--ticker .tradingview-widget-container__widget {
  height: auto !important;
  min-height: 54px;
}

.markets__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.markets__attr {
  font-size: 0.72rem;
  color: var(--text-3);
}
.markets__tv-link {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.markets__tv-link:hover { color: var(--text-1); }
.markets__note {
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: right;
}

/* ── 9. NEWSLETTER ───────────────────────────────────────────── */
.newsletter {
  padding-block: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.newsletter__desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 20px;
}

.newsletter__compliance {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.65;
  padding: 12px 14px;
  background: var(--bg);
  border-left: 2px solid var(--border);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
}

/* Form */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  tabindex: -1;
}

.newsletter__form-wrap { padding-top: 6px; }

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

.form-label {
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-2);
}

.form-row {
  display: flex;
  gap: 8px;
}

.form-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-1);
  transition: border-color var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus        { outline: none; border-color: var(--red); }
.form-input.is-error     { border-color: #e84040; }

.form-hint {
  font-size: 0.73rem;
  color: var(--text-3);
  line-height: 1.55;
}
.form-error {
  font-size: 0.73rem;
  font-weight: 500;
  color: #e84040;
}
.form-consent {
  font-size: 0.7rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-top: 4px;
}

/* Success */
.form-success {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-align: center;
}
.form-success__icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 16px;
  background: var(--red-dim);
  border: 1px solid var(--red-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--red);
}
.form-success__heading {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 8px;
}
.form-success__body {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── 10. FOOTER ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer__top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 56px);
  margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--border-subtle);
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer__brand-line {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 10px;
}

.footer__brand-status {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--text-3);
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__nav-heading {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.footer__nav-link {
  display: block;
  font-size: 0.875rem;
  color: var(--text-2);
  padding: 3px 0;
  transition: color var(--ease);
}
.footer__nav-link:hover,
.footer__nav-link:focus-visible { color: var(--text-1); }

/* Disclaimer */
.footer__disclaimer {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.footer__disclaimer-heading {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.footer__disclaimer-body {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.85;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border-subtle);
}
.footer__copy {
  font-size: 0.7rem;
  color: var(--text-3);
}
.footer__reg {
  font-size: 0.68rem;
  color: var(--text-3);
  text-align: right;
  max-width: 340px;
}

/* ── 11. SCROLL-REVEAL ANIMATION ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity  0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.thesis__item.reveal:nth-child(2) { transition-delay: 0.08s; }
.thesis__item.reveal:nth-child(3) { transition-delay: 0.16s; }
.newsletter__form-wrap.reveal     { transition-delay: 0.1s; }

/* ── 12. REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 13. RESPONSIVE ──────────────────────────────────────────── */

/* Tablet — ≤ 960px */
@media (max-width: 960px) {
  .holding-card {
    grid-template-columns: 1fr;
  }
  .holding-card__lead {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }
  .holding-card__tickers { margin-top: 0; }

  .thesis__item {
    grid-template-columns: 44px 1fr;
    gap: 0 16px;
  }
  .thesis__body {
    grid-column: 2;
    margin-top: 10px;
  }

  .exchanges { grid-template-columns: repeat(2, 1fr); }

  .newsletter__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile — ≤ 640px */
@media (max-width: 640px) {
  .holding-card__lead {
    flex-direction: column;
    align-items: flex-start;
  }
  .holding-card__logo svg,
  .holding-logo-img { max-width: 160px; }

  /* Mobile nav drawer */
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 14px;
    gap: 2px;
    display: none;
    z-index: 199;
  }
  .nav__links.is-open { display: flex; }

  .nav__link      { padding: 11px 12px; font-size: 0.9rem; }
  .nav__link--cta { text-align: center; }
  .nav__toggle    { display: flex; }

  /* Thesis: single column */
  .thesis__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .thesis__num { display: none; }
  .thesis__body { grid-column: 1; margin-top: 8px; }

  /* Hero */
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  /* Form */
  .form-row { flex-direction: column; }

  /* Markets */
  .tv-frame--watchlist { height: 440px; }
  .tv-frame--chart     { height: 380px; }
  .markets__meta       { flex-direction: column; gap: 6px; }
  .markets__note       { text-align: left; }

  /* Footer */
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .footer__reg { text-align: left; max-width: none; }
}

/* Small mobile — ≤ 400px */
@media (max-width: 400px) {
  .exchanges { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
}
