/* =========================================================
   Catalyst Asset Capital — Shared Design System
   Source of truth: About page (cac-about.html)
   ========================================================= */

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; color: #2D2D2D; line-height: 1.7; background: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { cursor: pointer; border: none; font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--gold); color: var(--navy); padding: 8px 16px; z-index: 1100; text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 0 8px 8px 0; }
.skip-link:focus { top: 0; }

/* ========== VARIABLES — CINEMATIC DARK PALETTE ========== */
:root {
  --navy: #1A1A1A;
  --navy-hover: #2A2A2A;
  --surface-dark: #111111;
  --card-dark: #242424;
  --gold: #C4A35A;
  --gold-hover: #B8933E;
  --gold-light: #D4B86A;
  --sand: #F5F0E8;
  --sand-light: #EDE8DF;
  --slate: #8A8478;
  --slate-dark: #4B5563;
  --text-on-dark: #B0A89A;
  --text-on-light: #2D2D2D;
  --border-dark: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);
  --cloud: #F4F5F7;
  --white: #FFFFFF;
  --success: #059669;
  --alert: #DC2626;
  --info: #2563EB;
  --max-width: 1200px;
  --nav-height: 72px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
  --grey-light: #E5E7EB;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; color: var(--navy); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.section-label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-intro { max-width: 720px; margin: 0 auto; color: var(--slate); }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; transition: all 0.25s ease; }
.btn-gold { background: var(--gold); color: #1A1A1A; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(196,163,90,0.35); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,26,26,0.5); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-sidebar-cta { margin-top: 8px; text-align: center; }
.btn-full-width { width: 100%; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ========== NAVIGATION ========== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--navy); height: var(--nav-height); transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 42px; width: auto; }
.nav-brand { display: flex; flex-direction: column; }
.nav-brand-name { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.95); white-space: nowrap; line-height: 1.2; }
.nav-brand-tagline { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); white-space: nowrap; line-height: 1.3; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--gold); }
.nav-cta, .nav-ctas { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn, .nav-ctas .btn { padding: 10px 24px; font-size: 14px; }
.nav-mobile { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; padding: 8px; }

/* ========== PAGE HERO ========== */
.page-hero { position: relative; padding: calc(var(--nav-height) + 64px) 0 64px; background: var(--navy); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(196,163,90,0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 20%, rgba(196,163,90,0.05) 0%, transparent 50%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 24px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.7); max-width: 620px; line-height: 1.7; margin: 0; }

/* ========== CONTACT CTA ========== */
.contact-cta { padding: 80px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-hover) 100%); position: relative; overflow: hidden; }
.contact-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(196,163,90,0.12) 0%, transparent 60%); }
.contact-cta .container { position: relative; z-index: 2; text-align: center; }
.contact-cta h2 { color: var(--white); margin-bottom: 12px; }
.contact-cta p { color: rgba(255,255,255,0.6); font-size: 17px; margin-bottom: 36px; }
.contact-cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer { background: var(--navy); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .footer-logo img { height: 36px; width: auto; }
.footer-brand p { color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.6; max-width: 280px; }
.footer-contact { margin-top: 16px; }
.footer-contact a, .footer-contact p { color: rgba(255,255,255,0.72); font-size: 13px; margin-bottom: 6px; display: block; }
.footer-contact a:hover { color: var(--gold); }
/* Footer H4s intentionally use DM Sans for readability */
.footer-col h4 { color: var(--white); font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-newsletter h3, .footer-newsletter h4 { color: var(--white) !important; font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-newsletter p { color: rgba(255,255,255,0.72); font-size: 13px; margin-bottom: 16px; line-height: 1.55; }
.footer-newsletter-form { display: flex; gap: 10px; }
.footer-newsletter-form input { flex: 1; padding: 11px 14px; border: 1px solid rgba(255,255,255,0.22); border-radius: 8px; background: rgba(255,255,255,0.08); color: var(--white); font-size: 13px; font-family: inherit; transition: border-color 0.2s, background 0.2s; }
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.12); box-shadow: 0 0 0 3px rgba(196,163,90,0.15); }
.footer-newsletter-form button { padding: 11px 20px; background: var(--gold); color: #1A1A1A; border-radius: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; transition: background 0.2s, transform 0.2s; cursor: pointer; border: none; }
.footer-newsletter-form button:hover { background: var(--gold-hover); transform: translateY(-1px); }
.footer-bottom { padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-disclaimer { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.6; max-width: 800px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.55); font-size: 12px; }
.footer-legal a:hover { color: var(--gold); }

/* ========== FOOTER INLINE STYLES → CLASSES ========== */
.footer-brand-name {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.95);
}

.footer-brand p:nth-of-type(2) {
  margin-top: 4px;
}

.footer-brand p:nth-of-type(3) {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

.footer-contact p {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

.footer-contact p:first-of-type {
  margin: 0;
}

.footer-contact p:nth-of-type(3) {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.footer-newsletter-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  line-height: 1.4;
}

.footer-disclaimer a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

.footer-newsletter-disclaimer a {
  color: rgba(255,255,255,0.6);
}


/* ========== MOBILE MENU ========== */
.mobile-overlay { position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--navy); z-index: 999; padding: 0 24px; flex-direction: column; gap: 16px; border-top: 1px solid rgba(255,255,255,0.08); max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; display: flex; }
.mobile-overlay.active { max-height: 100vh; padding: 24px; }
.mobile-link { color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-link:hover { color: var(--gold); }

/* ========== PLATFORM OVERVIEW (PROOF POINTS) ========== */
.platform-overview { padding: 80px 0; background: var(--sand-light); }
.metrics-placeholder { margin-top: 48px; padding: 48px 32px; background: var(--white); border-radius: 16px; border: 2px solid rgba(212, 135, 44, 0.1); }
.placeholder-icon { font-size: 56px; margin-bottom: 16px; }
.placeholder-text { font-size: 16px; color: var(--slate); line-height: 1.6; max-width: 500px; margin: 0 auto; }

/* ========== ANIMATIONS ========== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Note: Desktop-first approach. Consider mobile-first refactor in Phase 2 */

/* ========== SKELETON LOADING ========== */
@keyframes skeleton-pulse {
  0% { opacity: 0.6; }
  50% { opacity: 0.3; }
  100% { opacity: 0.6; }
}
.skeleton {
  background: linear-gradient(90deg, var(--cloud) 25%, #E5E7EB 50%, var(--cloud) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 8px;
  min-height: 20px;
}
.skeleton-card { min-height: 320px; border-radius: 16px; }
.skeleton-text { height: 16px; margin-bottom: 8px; width: 80%; }
.skeleton-text-short { height: 16px; margin-bottom: 8px; width: 50%; }

/* ========== PRINT STYLESHEET ========== */
@media print {
  .nav, .footer, .skip-link, .mobile-overlay, .contact-cta,
  .cac-pending-banner, .cac-modal-overlay, .cac-ack-overlay { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  * { box-shadow: none !important; text-shadow: none !important; }
  h1, h2, h3, h4 { color: #000 !important; page-break-after: avoid; }
  a { color: #000 !important; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
  a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }
  img { max-width: 100% !important; }
  .container { max-width: 100%; padding: 0; }
  .page-hero { background: #f5f5f5 !important; padding: 20px 0 !important; }
  .page-hero h1, .page-hero p { color: #000 !important; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-brand-name { font-size: 11px; letter-spacing: 0.12em; }
  .nav-brand-tagline { font-size: 9px; }
  .container { padding: 0 20px; }
  .nav-links, .nav-cta, .nav-ctas { display: none; }
  .nav-mobile { display: block; }
  .page-hero { padding: calc(var(--nav-height) + 40px) 0 40px; }
  .contact-cta-buttons { flex-direction: column; align-items: center; }
  .contact-cta-buttons .btn { width: 100%; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .nav-logo { gap: 8px; }
  .nav-logo img { height: 34px; }
  .nav-brand-name { font-size: 10px; letter-spacing: 0.08em; }
  .nav-brand-tagline { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 380px) {
  .nav-logo img { height: 30px; }
  .nav-brand-name { font-size: 9px; letter-spacing: 0.06em; }
}

/* =========================================================================
   PREMIUM DESIGN SYSTEM (v2) — senior UI/UX refinement pass
   Elevates visual hierarchy, adds breathing room, refines surfaces.
   Layered on top of the base system above — nothing removed.
   ========================================================================= */

/* ---------- Section rhythm ---------- */
.section-y-lg { padding: 120px 0; }
.section-y-md { padding: 96px 0; }
.section-y-sm { padding: 64px 0; }
.section-on-cream { background: var(--sand); }
.section-on-white { background: var(--white); }
.section-divider-top { border-top: 1px solid rgba(0, 0, 0, 0.08); }

/* ---------- Refined borders & surfaces ---------- */
.surface { background: var(--white); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.surface:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.14); }
.surface-cream { background: var(--sand); border: 1px solid rgba(196, 163, 90, 0.15); }
.surface-flat { box-shadow: none !important; }
.hairline-border { border: 1px solid rgba(0, 0, 0, 0.08); }
.hairline-border-bottom { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

/* ---------- Display typography ---------- */
.display-xl { font-size: clamp(2.8rem, 6.5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; color: var(--navy); }
.display-lg { font-size: clamp(2.2rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 400; color: var(--navy); }
.statement { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--navy); font-weight: 500; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow-slate { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.65; color: var(--slate-dark); max-width: 680px; }

/* Hero accent word (gold emphasis inside a dark headline) */
.hero-accent { color: var(--gold); }

/* ---------- Oversized metrics ---------- */
.metric-xl { font-size: clamp(2.4rem, 4vw, 3.25rem); line-height: 1; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; display: block; }
.metric-xxl { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 0.95; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; display: block; }
.metric-xl.is-gold, .metric-xxl.is-gold { color: var(--gold); }
.metric-label-xl { display: block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }

/* ---------- Pull quote (editorial) ---------- */
.pull-quote { position: relative; margin: 56px auto; padding: 28px 32px; max-width: 680px; border-left: 3px solid var(--gold); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--navy); font-style: italic; background: transparent; }
.pull-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }

/* ---------- Landing hero v2 ---------- */
.hero-v2 { position: relative; min-height: 100vh; padding: calc(var(--nav-height) + 64px) 0 120px; background: var(--navy); overflow: hidden; display: flex; align-items: center; }
.hero-v2::before { content: ''; position: absolute; inset: 0; background-image:
  radial-gradient(ellipse 900px 500px at 78% 18%, rgba(196,163,90,0.18) 0%, transparent 55%),
  radial-gradient(ellipse 700px 420px at 15% 90%, rgba(196,163,90,0.08) 0%, transparent 60%),
  linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
}
.hero-v2::after { content: ''; position: absolute; inset: 0; opacity: 0.4; background-image:
  linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 80%);
}
.hero-v2 .container { position: relative; z-index: 2; }
.hero-v2 h1 { color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 28px; max-width: 900px; }
.hero-v2 h1 .gold-text, .hero-v2 h1 span { color: var(--gold); }
.hero-v2 .hero-sub { color: rgba(255,255,255,0.72); font-size: clamp(1.05rem, 1.6vw, 1.15rem); line-height: 1.65; max-width: 620px; margin-bottom: 44px; }
.hero-v2 .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-v2 .hero-ctas .btn { padding: 16px 34px; font-size: 15px; }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 3; pointer-events: none; }
.scroll-indicator .scroll-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.scroll-indicator .scroll-line { width: 1px; height: 42px; background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0) 100%); position: relative; overflow: hidden; }
.scroll-indicator .scroll-line::after { content: ''; position: absolute; top: -10px; left: 0; width: 1px; height: 12px; background: var(--gold); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0% { top: -12px; opacity: 0; } 30% { opacity: 1; } 100% { top: 42px; opacity: 0; } }

/* ---------- Horizontal timeline / process flow ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.timeline::before { content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(196,163,90,0.35) 15%, rgba(196,163,90,0.35) 85%, transparent 100%); z-index: 0; }
.timeline-step { position: relative; text-align: center; z-index: 1; }
.timeline-number { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 16px; margin-bottom: 20px; position: relative; z-index: 2; }
.timeline-title { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: var(--slate); line-height: 1.6; max-width: 280px; margin: 0 auto; }
@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
  .timeline-step { text-align: left; padding-left: 56px; }
  .timeline-number { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Magazine layout (1 large + 2 small) ---------- */
.magazine-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.magazine-grid .mag-feature { grid-row: span 2; }
.magazine-grid .mag-side { display: flex; flex-direction: column; }
@media (max-width: 900px) { .magazine-grid { grid-template-columns: 1fr; } .magazine-grid .mag-feature { grid-row: span 1; } }

/* Magazine card */
.mag-card { display: block; background: var(--white); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; color: inherit; text-decoration: none; }
.mag-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08); }
.mag-card .mag-card-img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--navy-hover)); overflow: hidden; }
.mag-card.mag-feature .mag-card-img { aspect-ratio: 4 / 3; }
.mag-card .mag-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-card .mag-card-body { padding: 24px 26px; }
.mag-card.mag-feature .mag-card-body { padding: 32px 36px; }
.mag-card .mag-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.mag-card h3 { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.mag-card .mag-side-card h3, .mag-card:not(.mag-feature) h3 { font-size: 16px; }
.mag-card.mag-feature h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.mag-card p { font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0; }
.mag-card.mag-feature p { font-size: 14px; }
.mag-card .mag-meta { margin-top: 14px; font-size: 12px; color: var(--slate); letter-spacing: 0.04em; }

/* ---------- Featured opportunity v2 (hero-level treatment) ---------- */
.featured-v2 { padding: 96px 0; background: var(--white); }
.featured-v2-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: stretch; max-width: 1120px; margin: 0 auto; background: var(--sand); border-radius: 24px; padding: 48px; border-left: 4px solid var(--gold); position: relative; overflow: hidden; }
.featured-v2-grid::before { content: ''; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(196,163,90,0.08) 0%, transparent 70%); pointer-events: none; }
.featured-v2-lead { position: relative; z-index: 1; }
.featured-v2-lead .eyebrow { color: var(--gold); }
.featured-v2-lead h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); line-height: 1.1; margin-bottom: 12px; }
.featured-v2-lead .featured-location { font-size: 14px; color: var(--slate); margin-bottom: 24px; letter-spacing: 0.02em; }
.featured-v2-lead .featured-desc { font-size: 15px; color: var(--slate-dark); line-height: 1.65; margin-bottom: 32px; max-width: 480px; }
.featured-v2-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-bottom: 32px; }
.featured-v2-metric .metric-num { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; font-weight: 600; color: var(--navy); letter-spacing: -0.015em; }
.featured-v2-metric.is-primary .metric-num { color: var(--gold); }
.featured-v2-metric .metric-cap { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.featured-v2-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.featured-v2-side { position: relative; z-index: 1; background: var(--white); border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; border: 1px solid rgba(0,0,0,0.06); }
.featured-v2-side h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin: 0; }
.featured-v2-progress { background: rgba(196,163,90,0.12); border-radius: 8px; height: 8px; overflow: hidden; }
.featured-v2-progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 8px; transition: width 0.6s ease; }
.featured-v2-progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate); margin-top: 6px; }
.featured-v2-progress-meta strong { color: var(--navy); font-size: 13px; font-weight: 700; }
.featured-v2-dev { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.06); }
.featured-v2-dev img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.featured-v2-dev-name { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.featured-v2-dev-name strong { display: block; font-size: 13px; color: var(--navy); text-transform: none; letter-spacing: 0; margin-top: 2px; }
.featured-v2-badge { position: absolute; top: 24px; right: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(5,150,105,0.12); color: #047857; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.featured-v2-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #059669; box-shadow: 0 0 0 4px rgba(5,150,105,0.15); }
@media (max-width: 900px) {
  .featured-v2-grid { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .featured-v2-badge { position: static; align-self: flex-start; margin-bottom: 12px; }
}

/* ---------- Editorial asymmetric split ---------- */
.asym-split { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.asym-split.is-reverse { grid-template-columns: 1fr 2fr; }
@media (max-width: 900px) { .asym-split, .asym-split.is-reverse { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Article body refinements ---------- */
.article-body { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.78; color: var(--slate-dark); }
.article-body p { margin-bottom: 1.4em; }
.article-body h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); margin: 2.4em 0 0.6em; line-height: 1.25; font-weight: 600; }
.article-body h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); margin: 2em 0 0.5em; line-height: 1.3; font-weight: 600; }
.article-body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(196,163,90,0.3); transition: border-color 0.2s; }
.article-body a:hover { border-bottom-color: var(--gold); }

/* ---------- Refined input ---------- */
.input-refined { width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit; color: var(--navy); background: var(--white); border: 1px solid rgba(0,0,0,0.14); border-radius: 10px; transition: border-color 0.2s, box-shadow 0.2s; }
.input-refined:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,163,90,0.12); }
.input-label-above { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }

/* ---------- Footer refinements ---------- */
.footer { padding: 80px 0 0; }
.footer-grid { gap: 48px; padding-bottom: 56px; }
.footer-col a { padding: 2px 0; border-radius: 2px; }
.footer-col a:hover { color: var(--gold); transform: translateX(2px); transition: transform 0.2s, color 0.2s; }
.footer-newsletter { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 24px; }
.footer-bottom { padding: 32px 0 40px; }
.footer-disclaimer { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-disclaimer a { color: rgba(255,255,255,0.75); }
@media (max-width: 768px) { .footer-newsletter { padding: 20px; } }

/* ---------- Horizontal market card (About "Where We Operate") ---------- */
.market-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: stretch; background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.market-row:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.market-row-img { position: relative; background: linear-gradient(135deg, var(--navy), var(--navy-hover)); min-height: 160px; }
.market-row-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.market-row-body { padding: 20px 26px 22px 0; display: flex; flex-direction: column; justify-content: center; }
.market-row-body .market-row-flag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.market-row-body h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.market-row-body p { font-size: 14px; color: var(--slate); line-height: 1.6; margin: 0; }
@media (max-width: 720px) {
  .market-row { grid-template-columns: 1fr; }
  .market-row-img { min-height: 140px; }
  .market-row-body { padding: 18px 20px 22px; }
}

/* ---------- Opportunity card (premium treatment) ---------- */
.opp-card-premium .opp-metric-value { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; }
.opp-card-premium .opp-metric-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.opp-card-premium .opp-progress-bar { height: 8px; border-radius: 8px; }
.opp-card-premium .opp-progress-fill { border-radius: 8px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ---------- Market Intelligence polish ---------- */
.market-selector { position: relative; }
.market-selector::before, .market-selector::after { content: ''; position: absolute; top: 0; bottom: 0; width: 36px; pointer-events: none; z-index: 2; }
.market-selector::before { left: 0; background: linear-gradient(90deg, var(--white) 0%, transparent 100%); }
.market-selector::after { right: 0; background: linear-gradient(-90deg, var(--white) 0%, transparent 100%); }
.market-pill.active { box-shadow: 0 4px 12px rgba(196,163,90,0.28); }

/* ---------- Deal Analyzer refinements ---------- */
.da-perspective-btn { transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease; }
.da-perspective-btn.active { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(196,163,90,0.3); }

/* ---------- Section alternation helper ---------- */
.alt-section-white { background: var(--white); }
.alt-section-cream { background: var(--sand); }

/* ---------- Refined hover for generic links ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: 14px; transition: gap 0.2s ease; }
.link-arrow:hover { gap: 10px; }
.link-arrow::after { content: '→'; transition: transform 0.2s ease; }

/* ---------- Article inline SVG diagrams — global clean-up ---------- */
.article-graphic, .infographic-section {
  background: linear-gradient(135deg, #FAFAFB 0%, #F0F2F5 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 36px 32px;
  margin: 2.5rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.article-graphic svg, .infographic-svg { display: block; width: 100%; height: auto; max-width: 100%; }
.article-graphic svg text, .infographic-svg text { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; }
.infographic-title { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 20px; text-align: center; }

/* =========================================================================
   v3 — CINEMATIC DARK UPGRADE ADDITIONS
   Founder, Sliders, Editorial Perspectives, Footer v2, Pricing
   ========================================================================= */

/* ---------- Founder Section ---------- */
.founder-section { padding: 100px 0; background: var(--navy); color: var(--text-on-dark); position: relative; overflow: hidden; }
.founder-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(196,163,90,0.08) 0%, transparent 55%); pointer-events: none; }
.founder-section .container { position: relative; z-index: 2; }
.founder-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; max-width: 1080px; margin: 0 auto; }
.founder-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; background: var(--card-dark); border: 1px solid var(--border-dark); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -80px 120px -40px rgba(0,0,0,0.5); pointer-events: none; }
.founder-body .eyebrow { color: var(--gold); }
.founder-name { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 400; color: var(--white); line-height: 1.15; margin-bottom: 6px; letter-spacing: -0.015em; }
.founder-role { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.founder-bio p { color: var(--text-on-dark); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.founder-bio p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .founder-section { padding: 64px 0; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; max-width: 560px; }
  .founder-photo { aspect-ratio: 1/1; max-width: 320px; margin: 0 auto; }
}

/* ---------- Slider Input (Deal Analyzer) ---------- */
.slider-field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.slider-field-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.slider-field-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--slate); text-transform: uppercase; }
.slider-field-value-wrap { display: inline-flex; align-items: baseline; gap: 4px; background: rgba(196,163,90,0.08); border: 1px solid rgba(196,163,90,0.25); border-radius: 6px; padding: 4px 10px; min-width: 100px; justify-content: flex-end; }
.slider-field-value { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; font-size: 15px; font-weight: 700; color: var(--gold); border: none; background: transparent; text-align: right; outline: none; width: 80px; padding: 0; min-width: 0; }
.slider-field-value::-webkit-outer-spin-button,
.slider-field-value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.slider-field-value[type=number] { -moz-appearance: textfield; }
.slider-field-unit { font-size: 13px; font-weight: 600; color: var(--slate); }
.range-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--fill, 50%), rgba(255,255,255,0.1) var(--fill, 50%), rgba(255,255,255,0.1) 100%); outline: none; cursor: pointer; padding: 0; margin: 0; }
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid #1A1A1A; box-shadow: 0 0 0 1px var(--gold), 0 2px 8px rgba(0,0,0,0.3); cursor: grab; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 0 0 1px var(--gold), 0 4px 12px rgba(196,163,90,0.5); }
.range-slider::-webkit-slider-thumb:active { cursor: grabbing; }
.range-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid #1A1A1A; box-shadow: 0 0 0 1px var(--gold), 0 2px 8px rgba(0,0,0,0.3); cursor: grab; transition: transform 0.15s ease; }
.range-slider::-moz-range-thumb:hover { transform: scale(1.15); }
.range-slider:focus { outline: none; }
.range-slider:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px rgba(196,163,90,0.25); }
/* Light surface variant */
.slider-field.on-light .slider-field-label { color: var(--slate); }
.slider-field.on-light .range-slider { background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--fill, 50%), rgba(0,0,0,0.08) var(--fill, 50%), rgba(0,0,0,0.08) 100%); }
.slider-field.on-light .range-slider::-webkit-slider-thumb { border-color: var(--white); }
.slider-field.on-light .range-slider::-moz-range-thumb { border-color: var(--white); }

/* ---------- Editorial Perspectives Listing ---------- */
.editorial-list { max-width: 960px; margin: 0 auto; padding: 0 12px; }
.editorial-entry { display: grid; grid-template-columns: 48px 1fr auto; gap: 24px; padding: 36px 8px; border-bottom: 1px solid rgba(0,0,0,0.08); align-items: start; transition: background 0.25s ease; text-decoration: none; color: inherit; }
.editorial-entry:hover { background: rgba(196,163,90,0.04); }
.editorial-entry:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.editorial-roman { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 500; font-style: italic; color: var(--gold); letter-spacing: 0.02em; line-height: 1.2; padding-top: 4px; }
.editorial-body { min-width: 0; }
.editorial-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.editorial-tag .dot { color: rgba(0,0,0,0.25); margin: 0 8px; }
.editorial-title { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; color: #1A1A1A; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.01em; }
.editorial-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.editorial-entry:hover .editorial-title { color: #000; }
.editorial-excerpt { font-size: 15px; color: var(--slate-dark); line-height: 1.65; max-width: 580px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.editorial-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 140px; text-align: right; padding-top: 4px; }
.editorial-meta-item { font-size: 12px; color: var(--slate); letter-spacing: 0.04em; }
.editorial-meta-item strong { color: #1A1A1A; font-weight: 600; }
.editorial-read-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 6px; transition: gap 0.2s ease; }
.editorial-entry:hover .editorial-read-link { gap: 8px; }
@media (max-width: 768px) {
  .editorial-entry { grid-template-columns: 32px 1fr; gap: 14px; padding: 28px 4px; }
  .editorial-meta { grid-column: 2 / 3; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 12px; text-align: left; min-width: 0; margin-top: 8px; }
  .editorial-roman { font-size: 18px; }
}

/* ---------- Footer v2 (4-column) ---------- */
.footer-v2 { background: var(--surface-dark); padding: 80px 0 0; color: var(--text-on-dark); }
.footer-v2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border-dark); max-width: var(--max-width); margin: 0 auto; }
.footer-v2-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; }
.footer-v2-col a { display: block; color: var(--text-on-dark); font-size: 14px; margin-bottom: 12px; transition: color 0.2s; }
.footer-v2-col a:hover { color: var(--white); }
.footer-v2-newsletter h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-v2-newsletter .newsletter-heading { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 6px; line-height: 1.3; font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; }
.footer-v2-newsletter .newsletter-sub { font-size: 13px; color: var(--text-on-dark); margin-bottom: 16px; line-height: 1.5; }
.footer-v2-newsletter form { display: flex; gap: 8px; }
.footer-v2-newsletter input { flex: 1; padding: 10px 12px; border: 1px solid var(--border-dark); border-radius: 6px; background: rgba(255,255,255,0.04); color: var(--white); font-size: 13px; font-family: inherit; min-width: 0; }
.footer-v2-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-v2-newsletter input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.08); }
.footer-v2-newsletter button { padding: 10px 18px; background: var(--gold); color: #1A1A1A; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.footer-v2-newsletter button:hover { background: var(--gold-hover); }
.footer-v2-bottom { padding: 28px 0 32px; max-width: var(--max-width); margin: 0 auto; }
.footer-v2-copyright { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.footer-v2-copyright p { font-size: 12px; color: rgba(255,255,255,0.55); margin: 0; }
.footer-v2-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-v2-legal a { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
.footer-v2-legal a:hover { color: var(--gold); }
.footer-v2-disclaimer { font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.4); max-width: 880px; margin-top: 8px; }
@media (max-width: 1024px) { .footer-v2-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-v2-grid { grid-template-columns: 1fr; gap: 32px; } .footer-v2-copyright { flex-direction: column; } }

/* ---------- Pricing Section ---------- */
.pricing-section { padding: 100px 0; background: var(--sand); }
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header h2 { font-size: clamp(2rem, 4vw, 2.6rem); color: #1A1A1A; font-weight: 400; letter-spacing: -0.015em; margin-bottom: 12px; }
.pricing-header p { color: var(--slate); font-size: 16px; max-width: 560px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1120px; margin: 0 auto; align-items: stretch; }
.pricing-card { background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 14px; padding: 36px 32px; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; position: relative; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.pricing-card.is-featured { border: 2px solid var(--gold); box-shadow: 0 8px 28px rgba(196,163,90,0.18); transform: translateY(-8px); }
.pricing-card.is-featured:hover { transform: translateY(-12px); }
.pricing-card.is-featured::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1A1A1A; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 14px; border-radius: 100px; }
.pricing-card-tier { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.pricing-card-price { font-family: 'Aptos', 'Calibri', 'Segoe UI', sans-serif; display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pricing-card-price .amount { font-size: 44px; font-weight: 500; color: #1A1A1A; line-height: 1; letter-spacing: -0.02em; }
.pricing-card-price .period { font-size: 14px; color: var(--slate); font-weight: 500; }
.pricing-card-desc { font-size: 13px; color: var(--slate); margin-bottom: 28px; line-height: 1.55; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.pricing-features li { font-size: 14px; color: var(--text-on-light); line-height: 1.55; padding: 10px 0 10px 26px; position: relative; border-top: 1px solid rgba(0,0,0,0.06); }
.pricing-features li:first-child { border-top: none; }
.pricing-features li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; background: rgba(196,163,90,0.12); border-radius: 50%; }
.pricing-features li::after { content: ''; position: absolute; left: 4px; top: 18px; width: 8px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.pricing-card .btn { width: 100%; padding: 12px 24px; text-align: center; justify-content: center; }
.pricing-note { text-align: center; margin-top: 40px; font-size: 13px; color: var(--slate); font-style: italic; max-width: 640px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-card.is-featured { transform: none; }
  .pricing-card.is-featured:hover { transform: translateY(-4px); }
}

/* ---------- Section rhythm helpers ---------- */
.section-dark { background: var(--navy); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--text-on-dark); }
.section-light { background: var(--sand); color: var(--text-on-light); }

/* ---------- Card hover polish ---------- */
.card-hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-hover-lift:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

/* ---------- Gold button — refined contrast ---------- */
.btn-gold { color: #1A1A1A !important; font-weight: 700; }
.btn-gold:hover { color: #1A1A1A !important; }

/* =========================================================================
   MOBILE RESPONSIVE SAFETY LAYER (applies ≤768px and ≤480px)
   Broad-strokes overrides so every page stacks cleanly on phones.
   Desktop (≥769px) is NOT affected by anything in this block.
   ========================================================================= */
@media (max-width: 768px) {
  /* No horizontal scroll anywhere */
  html, body { overflow-x: hidden; max-width: 100%; }
  body { -webkit-text-size-adjust: 100%; }

  /* Images never overflow */
  img, svg, video, iframe { max-width: 100%; height: auto; }

  /* Container padding */
  .container { padding-left: 16px; padding-right: 16px; max-width: 100%; }

  /* Typography caps */
  h1, .page-hero h1, .hero-v2 h1 { font-size: clamp(1.75rem, 7vw, 2rem) !important; line-height: 1.18 !important; word-wrap: break-word; }
  h2 { font-size: clamp(1.3rem, 5vw, 1.5rem) !important; line-height: 1.25; }
  h3 { font-size: clamp(1.05rem, 4vw, 1.25rem) !important; }
  p, li, a { font-size: 16px; }
  .hero-v2 .hero-sub, .page-hero p, .section-intro { font-size: 15px !important; line-height: 1.6 !important; }

  /* Hero spacing */
  .hero-v2 { min-height: auto; padding: calc(var(--nav-height) + 48px) 0 72px; }
  .hero-v2 .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-v2 .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Buttons — tappable, full-width in stacked contexts */
  .btn { min-height: 44px; padding: 12px 22px; }
  .hero-ctas .btn, .featured-v2-cta .btn, .contact-cta-buttons .btn { width: 100%; }

  /* Any multi-column inline/CSS grid stacks by default — override specific ones below */
  .developers-grid,
  .magazine-grid,
  .services-grid,
  .diff-grid,
  .hiw-tracks,
  .pricing-grid,
  .markets-grid,
  .market-cards,
  .related-grid,
  .bios-grid,
  .pillars,
  .opp-grid,
  .opp-metrics,
  .featured-v2-grid,
  .featured-v2-metrics,
  .who-intro-grid,
  .team-intro-grid,
  .article-body-grid,
  .article-body,
  .article-dual-cta,
  .detail-body,
  .contact-grid,
  .form-row,
  .footer-v2-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  /* Keep opp metrics as 5-col to avoid stacking too tall, but smaller */
  .opp-metrics { grid-template-columns: repeat(5, 1fr) !important; gap: 4px !important; }
  .opp-metric-value { font-size: 13px !important; }
  .opp-metric-label { font-size: 9px !important; }

  /* Featured v2 metrics — 2-col on mobile for readability */
  .featured-v2-metrics { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
  .featured-v2-grid { padding: 28px 20px !important; }

  /* Pricing cards */
  .pricing-card { padding: 28px 22px; }

  /* Sections — tighter vertical rhythm */
  .section-y-lg { padding: 56px 0; }
  .section-y-md { padding: 48px 0; }
  .section-y-sm { padding: 36px 0; }
  section[class*="-section"], .featured-v2, .pricing-section { padding-top: 48px !important; padding-bottom: 48px !important; }

  /* Forms full-width */
  input, textarea, select { max-width: 100%; box-sizing: border-box; }
  .form-input { width: 100%; }

  /* Detail page sidebar stacks below */
  .detail-sidebar, .article-sidebar { position: static !important; display: block !important; width: 100%; margin-top: 32px; }
  .detail-body { gap: 0; }

  /* Footer v2 — force single column for ≤768 */
  .footer-v2-grid { grid-template-columns: 1fr !important; gap: 32px; padding-bottom: 32px; }
  .footer-v2 { padding: 56px 0 0; }
  .footer-v2-copyright { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-v2-legal { gap: 12px; flex-wrap: wrap; }

  /* Horizontal-scroll helpers for intrinsically wide content (tables, waterfalls) */
  .da-metrics-row,
  .da-pe-waterfall,
  .da-cost-table,
  .market-selector,
  table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Market Intelligence pills should scroll horizontally */
  .market-selector { flex-wrap: nowrap !important; }
  .market-pill { flex-shrink: 0; }

  /* Tab pills (Perspectives) wrap cleanly */
  .content-tabs { flex-wrap: wrap; gap: 8px; }
  .articles-filters { flex-wrap: wrap; gap: 8px; }

  /* Deal Analyzer — form grid stacks; metrics to 2-col */
  .da-form-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .da-metrics-row { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .da-perspectives { flex-direction: column; gap: 10px; }
  .da-perspective-btn { flex: 1 1 auto; }
  .da-card { padding: 20px; }
  .da-hero { padding: calc(var(--nav-height, 72px) + 32px) 0 24px; }
  .da-main { padding: 20px 16px 60px; }

  /* Steps indicator wrap */
  .da-steps { flex-wrap: wrap; gap: 8px; row-gap: 10px; }
  .da-step { padding: 6px 12px; font-size: 0.78rem; }
  .da-step-line { width: 20px; }

  /* Editorial list tightening */
  .editorial-entry { padding: 24px 6px; gap: 12px !important; }
  .editorial-title { font-size: 1.2rem !important; line-height: 1.3 !important; }

  /* Market cards — photo shorter */
  .market-card-photo { height: 140px; }

  /* Pricing card price alignment */
  .pricing-card-price .amount { font-size: 36px; }

  /* Opportunity detail hero — tighter */
  .opp-hero-badge, .opp-hero-meta { font-size: 12px; }

  /* Contact form/map */
  .contact-form-card { padding: 24px 18px; }
  .contact-info-card { padding: 22px 18px; }

  /* Footer v2 newsletter input full-width */
  .footer-v2-newsletter form { flex-direction: column; }
  .footer-v2-newsletter button { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding-left: 12px; padding-right: 12px; }

  /* Even tighter typography on phones */
  h1, .page-hero h1, .hero-v2 h1 { font-size: clamp(1.5rem, 8vw, 1.85rem) !important; }
  h2 { font-size: 1.3rem !important; }
  h3 { font-size: 1.1rem !important; }

  /* Opp metrics 3-col on very small screens to avoid squished digits */
  .opp-metrics { grid-template-columns: repeat(3, 1fr) !important; }

  /* Featured metrics 1-col on tiny screens */
  .featured-v2-metrics { grid-template-columns: 1fr !important; }

  /* Reduce section padding further */
  section[class*="-section"], .featured-v2, .pricing-section { padding-top: 36px !important; padding-bottom: 36px !important; }

  /* Hero even shorter */
  .hero-v2 { padding: calc(var(--nav-height) + 32px) 0 48px; }

  /* Deal Analyzer metrics — stack to 1-col on tiny */
  .da-metrics-row { grid-template-columns: 1fr !important; }
  .da-metric-value { font-size: 1.4rem !important; }

  /* Pricing amount smaller */
  .pricing-card-price .amount { font-size: 32px; }
}

