/* ============================================================
   VINTAGE MODERN MATERIALS — PML Funder Site
   Brand tokens sampled from deck visuals (navy / cream / gold)
   Mobile-first, WCAG AA, 12px minimum text

   DESIGN PRINCIPLE (Quan 2026-05-22):
   "Uniformity is key especially when it comes to premium designs,
   and if it's not, there must be a very strong reason for that."

   Applied sitewide: equal card sizes, equal padding rhythm,
   consistent typography scale, same border-radius, same shadows,
   same hover states, equal column widths in grids.
   ============================================================ */

/* ===== BRAND TOKENS ===== */
:root {
  /* Primary palette */
  --navy:            #0F1C2D;
  --navy-elev:       #1E3A5F;
  --cream:           #F5F0E8;
  --paper:           #FAF6EE;
  --gold:            #C9A84C;
  --gold-warm:       #B8962E;

  /* Text */
  --text-on-dark:    #FFFFFF;
  --text-on-light:   #0F1C2D;
  --text-muted-dark: rgba(255,255,255,0.72);
  --text-muted-light: rgba(15,28,45,0.65);

  /* Borders */
  --rule-gold:       rgba(201,168,76,0.85);
  --rule-subtle:     rgba(255,255,255,0.12);

  /* Typography — CHANGE 3: Playfair Display removed, Inter sitewide.
     --font-display now points to Inter. All heading rules below use
     --font-sans directly for clarity. --font-display kept as alias
     so any missed reference still resolves to Inter. */
  --font-display:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Spacing (8pt grid) */
  --sp-4:  4px;
  --sp-8:  8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-96: 96px;

  /* Radius — uniform across all card-like surfaces */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;

  /* Transition — uniform hover state across all interactive elements */
  --t-fast:   150ms ease-out;
  --t-normal: 250ms ease-out;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-light);
  background-color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -9999px;
  left: var(--sp-16);
  background: var(--gold);
  color: var(--navy);
  padding: var(--sp-8) var(--sp-16);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
}
.skip-link:focus {
  top: var(--sp-16);
}

/* ===== STICKY SITE HEADER ===== */
/* v3.1: solid navy always — no transparency, no blur, no scroll-toggle */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #0F1C2D;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-24);
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--sp-32);
}

/* Brand mark */
.brand {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--t-fast);
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.75;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-on-dark);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast), opacity var(--t-fast);
}

/* Gold underline: animated width from 0 → 100% on hover */
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 180ms ease-out;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.site-nav a.is-active {
  color: #FAF6EE;
}

/* Header CTA — gold pill, desktop */
.header-cta {
  flex-shrink: 0;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}

.header-cta:hover {
  background-color: var(--gold-warm);
  transform: scale(1.02);
}

.header-cta:focus-visible {
  outline: 3px solid var(--text-on-dark);
  outline-offset: 3px;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform var(--t-normal), opacity var(--t-normal);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hamburger → X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu drawer */
/* Hidden by default everywhere; only shown on mobile when toggled open */
.mobile-menu {
  display: none;
}

/* When not hidden on mobile viewport, show as column */
@media (max-width: 767px) {
  .mobile-menu:not([hidden]) {
    background-color: rgba(15, 28, 45, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    padding: var(--sp-16) var(--sp-24) var(--sp-24);
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}

.mobile-menu a {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-on-dark);
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--t-fast);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Full-width CTA variant inside mobile menu */
.header-cta--full {
  margin-top: var(--sp-16);
  width: 100%;
  text-align: center;
  border-radius: var(--r-sm);
  min-height: 48px;
  justify-content: center;
  border-bottom: none !important;
}

/* Mobile breakpoint: swap desktop nav/CTA for hamburger */
@media (max-width: 767px) {
  .site-nav,
  .site-header > .site-header-inner > .header-cta:not(.header-cta--full) {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header-inner {
    height: 64px;
  }

  /* Hide the desktop .header-cta in the inner row on mobile */
  .site-header-inner > .header-cta {
    display: none;
  }
}

/* ===== CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--sp-64) 0;
}

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

.section--cream {
  background-color: var(--cream);
}

@media (min-width: 768px) {
  .section {
    padding: var(--sp-96) 0;
  }
}

/* ===== SECTION DIVIDER — gold rule between adjacent same-bg sections =====
   Deliberate exception to cream/navy alternation at slider→use-of-funds boundary.
   Slider moved to position 4 (cream) between how-it-works (navy) and use-of-funds (cream).
   Full-bleed photos break up the cream visually; gold rule separates the two cream sections.
*/
.section-divider-gold {
  height: 1px;
  background: var(--rule-gold);
  width: 100%;
  opacity: 0.6;
}

/* ===== LABELS (gold spaced caps) ===== */
.label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-16);
}

.label--gold {
  color: var(--gold);
}

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

.label--sm {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
}

/* ===== RULES ===== */
.rule {
  width: 100%;
  height: 1px;
  background: var(--rule-gold);
  margin: var(--sp-24) 0;
}

.rule--thin {
  margin: var(--sp-16) 0;
  opacity: 0.7;
}

/* ===== SECTION HEADINGS — Inter sitewide (CHANGE 3) =====
   Was: font-family: var(--font-display) [Playfair Display]
   Now: Inter 700, tight tracking — Stripe/Linear/Vercel premium sans feel
*/
.section-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: var(--sp-32);
}

.section-heading--white {
  color: var(--text-on-dark);
}

.section-heading--navy {
  color: var(--text-on-light);
}

.section-subhead {
  font-size: 1rem;
  color: var(--text-muted-light);
  margin-top: -var(--sp-24);
  margin-bottom: var(--sp-40);
}

.section-body-dark {
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--sp-40);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px var(--sp-32);
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: background-color var(--t-fast), transform var(--t-fast);
  text-align: center;
  min-height: 48px;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--navy);
}

.btn--primary:hover {
  background-color: var(--gold-warm);
}

.btn--primary:focus-visible {
  outline: 3px solid var(--text-on-dark);
  outline-offset: 3px;
}

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

/* ===== SCROLL REVEAL ===== */
.section {
  opacity: 1;
  transform: translateY(0);
}

.section.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

/* ===== HERO — CHANGE 1: Compact padding, 2-line headline =====
   Reduced min-height and padding for less wasted vertical space.
   Font: Inter 800, tight tracking. Two lines: "Private" / "Money Lending".
*/
.section--hero {
  /* v3: extra top padding to clear the fixed 72px site-header */
  padding-top: calc(72px + var(--sp-64));
  padding-bottom: var(--sp-64);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-headline {
  /* CHANGE 3: Inter 800, tight tracking — replaces Playfair Display */
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-24);
}

/* Prevent "Money Lending" from breaking — enforces exactly 2 lines */
.hero-nowrap {
  white-space: nowrap;
}

/* Mobile: scale down so "Money Lending" fits on one row at 375px.
   At 375px, "Money Lending" at clamp min 3.5rem = 56px is ~13 chars wide ~680px — too wide.
   Reduce to ~8.5vw which gives ~32px at 375px and fits in ~390px. */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2rem, 8.5vw, 3.5rem);
    letter-spacing: -0.02em;
  }
}

.hero-opportunity {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: var(--sp-8);
}

/* CHANGE 3: operator-name uses Inter 700 */
.operator-name {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-24);
  margin-top: var(--sp-8);
}

.hero-bullets {
  margin-bottom: var(--sp-40);
}

.hero-bullets li {
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.8;
  padding-left: var(--sp-16);
  position: relative;
}

.hero-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  align-items: flex-start;
}

.hero-scroll-link {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--t-fast);
}

.hero-scroll-link:hover {
  color: var(--gold);
}

/* ===== AT A GLANCE ===== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-32);
  margin-top: var(--sp-24);
}

@media (min-width: 640px) {
  .stats-grid {
    /* Uniformity: all 3 stat cards equal width */
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: var(--sp-32) var(--sp-24);
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: 0 4px 24px rgba(15,28,45,0.08);
}

/* CHANGE 3: stat numbers — Inter 800/900, tight tracking for big display numbers */
.stat-number {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: var(--sp-8);
}

.stat-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-warm);
  text-transform: uppercase;
  margin-bottom: var(--sp-8);
}

.stat-body {
  color: var(--text-muted-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-24);
  margin-top: var(--sp-8);
}

@media (min-width: 768px) {
  .steps-grid {
    /* Uniformity: all 3 step cards equal width */
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: var(--sp-32) var(--sp-24);
  color: var(--text-on-light);
}

/* CHANGE 3: step number — Inter 800 */
.step-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: var(--sp-16);
  line-height: 1;
}

/* CHANGE 3: step title — Inter 600 */
.step-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: var(--sp-12);
}

.step-body {
  font-size: 0.9375rem;
  color: var(--text-muted-light);
  line-height: 1.65;
}

/* ===== USE OF FUNDS + SECURITY — v4 RESTRUCTURED =====
   Two stacked subsections: 2-card row (50/50), then 3-card row (33/33/33).
   Cards are equal height within each row via align-items:stretch.
   Same info-card style (gold left-border, paper bg, same padding, same radius) across both rows.
   Replaces old two-col-grid layout that created uneven column heights (Quan feedback v3).
*/

/* Subsection spacing: clear visual gap between Use of Funds and Security rows */
.funds-subsection {
  margin-bottom: var(--sp-64);
}

.funds-subsection:last-child {
  margin-bottom: 0;
}

/* Uniform card grid — 2-col and 3-col variants */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-24);
  align-items: stretch; /* equal height within row */
}

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

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

/* info-card: uniform card style across both rows.
   Deliberate uniformity: same border, radius, padding, shadow as detail-card was,
   but using full border-radius to match step-card rhythm (no half-radius orphan). */
.info-card {
  border-left: 2px solid var(--gold);
  padding: var(--sp-24) var(--sp-20);
  background: var(--paper);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  box-shadow: 0 4px 24px rgba(15,28,45,0.06);
  height: 100%; /* participates in align-items:stretch */
}

.info-card__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: var(--sp-8);
}

.info-card__body {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* Return Structure section removed in v4 — replaced by Industry Experience stats grid.
   CSS classes (.years-display, .years-number, .years-label, .highlight-box,
   .example-block, .example-numbers, .example-sub) deleted — no longer in HTML. */

/* ===== PROJECTIONS ===== */
.projections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-24);
  margin-top: var(--sp-32);
}

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

@media (min-width: 1024px) {
  .projections-grid {
    /* Uniformity: all 4 tier cards equal width regardless of total-profit amount */
    grid-template-columns: repeat(4, 1fr);
  }
}

.proj-card {
  background: var(--paper);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--r-md) var(--r-md);
  padding: var(--sp-24);
  box-shadow: 0 4px 24px rgba(15,28,45,0.08);
}

.proj-investment-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: var(--sp-12);
}

/* CHANGE 3: proj returned — Inter 700 */
.proj-returned {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.proj-returned-label {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  margin-bottom: var(--sp-12);
}

.proj-profit-row {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-12);
}

.proj-cycles-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: var(--sp-8);
}

.proj-cycle-list {
  margin-bottom: var(--sp-12);
}

.proj-cycle-list li {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  line-height: 1.9;
}

/* CHANGE 3: proj total — Inter 700 */
.proj-total {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-align: center;
  padding-top: var(--sp-8);
}

/* ===== COMPARISON ===== */
.comparison-grid {
  display: grid;
  /* Uniformity: all 4 comparison items equal width */
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-16);
  margin-top: var(--sp-24);
  margin-bottom: var(--sp-24);
}

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

.comparison-item {
  text-align: center;
  padding: var(--sp-24) var(--sp-16);
  border: 1px solid var(--rule-subtle);
  border-radius: var(--r-md);
}

.comparison-item--vmm {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

/* CHANGE 3: comparison value — Inter 700 */
.comparison-value {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-8);
}

.comparison-value--gold {
  color: var(--gold);
}

.comparison-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

.comparison-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 600px;
}

/* Process section removed in v4 (Quan: "people don't care about that").
   Process-exclusive classes deleted: .process-grid, .process-card, .process-badge,
   .process-step-label, .process-title, .process-body, .process-pills.
   .pill kept below as a shared utility class (may be used elsewhere). */

.pill {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--rule-gold);
  text-align: center;
}

/* ===== VIDEO WRAP ===== */
/* Portrait 9:16 source — center it, cap width so it doesn't sprawl on widescreen */
.video-wrap {
  margin-top: var(--sp-32);
  display: flex;
  justify-content: center;
}

.video-wrap video {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  background: #000;
}

/* ===== SLIDER ===== */
.section--slider {
  overflow: hidden;
  padding-bottom: var(--sp-48);
}

.section--slider .container {
  margin-bottom: var(--sp-32);
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slide-left 75s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

@keyframes slide-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.slider-img {
  height: 280px;
  width: auto;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .slider-img {
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .slider-img {
    height: 480px;
  }
}

/* Reduced motion: disable animation, show static scroll */
@media (prefers-reduced-motion: reduce) {
  .slider-track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    padding: 0 var(--sp-24);
  }
  .slider-img {
    scroll-snap-align: start;
  }
}

/* ===== FORM ===== */
.lead-form {
  margin-top: var(--sp-40);
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark);
  display: block;
}

.required-star {
  color: var(--gold);
  margin-left: 2px;
}

.optional-note {
  font-weight: 400;
  color: var(--text-muted-dark);
  font-size: 0.8125rem;
}

.form-input {
  width: 100%;
  background: var(--navy-elev);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  padding: 14px var(--sp-16);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-on-dark);
  min-height: 48px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

.form-input:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.3);
}

.form-input--error {
  border-color: #E87070;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23C9A84C' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--navy);
  color: var(--text-on-dark);
}

.form-textarea {
  min-height: 108px;
  resize: vertical;
}

.form-error {
  font-size: 0.8125rem;
  color: #E87070;
  min-height: 1.2em;
  line-height: 1.4;
}

/* Investment options */
.investment-fieldset {
  border: none;
  padding: 0;
}

.investment-fieldset legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-12);
  display: block;
  width: 100%;
}

.investment-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

.investment-option {
  display: flex;
  cursor: pointer;
}

.investment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.investment-label {
  display: block;
  padding: 10px var(--sp-20);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  background: var(--navy-elev);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.investment-option input[type="radio"]:checked + .investment-label {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

.investment-option input[type="radio"]:focus-visible + .investment-label {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.investment-option:hover .investment-label {
  border-color: var(--gold);
  color: var(--text-on-dark);
}

/* Form disclaimer */
.form-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
  text-align: center;
  margin-top: var(--sp-8);
}

/* Submit button loading state */
.btn--loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Success state */
.success-card {
  background: var(--navy-elev);
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  padding: var(--sp-48) var(--sp-32);
  text-align: center;
  margin-top: var(--sp-40);
}

.success-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-24);
}

/* CHANGE 3: success card heading — Inter 700 */
.success-card__heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-16);
}

.success-card__body {
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: var(--sp-16);
}

.success-card__footer {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

/* Error toast */
.error-toast {
  background: #2D1010;
  border: 1px solid #E87070;
  border-radius: var(--r-sm);
  padding: var(--sp-16) var(--sp-20);
  color: #FFB3B3;
  font-size: 0.9375rem;
  margin-bottom: var(--sp-16);
  display: none;
}

.error-toast.is-shown {
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--rule-subtle);
  padding: var(--sp-48) 0 var(--sp-32);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-32);
  margin-bottom: var(--sp-32);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.footer-sub {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin-top: var(--sp-8);
}

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

.footer-col--right {
  text-align: left;
}

@media (min-width: 768px) {
  .footer-col--right {
    text-align: right;
  }
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

.footer-contact {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin-bottom: var(--sp-4);
}

.footer-phone {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-phone:hover {
  color: var(--gold-warm);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--rule-subtle);
  text-align: center;
}
