/* =========================================
 * IMPORTANT: The @font-face declarations, :root variables, 
 * nav styles, hero styles, and keyframe animations below 
 * are ALSO inlined in index.html <head> as critical CSS.
 * When modifying these sections, update both locations.
 * Sections duplicated: @font-face, :root, *, html, body, 
 * body::before, nav/nav.scrolled/.nav-*, #hero/.hero-*, 
 * .stat-card/.stat-*, @keyframes float1/float2/fadeUp/fadeIn
 * ========================================= */

/* Self-hosted Google Fonts */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-300-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-300.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-500.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: rgba(201,168,76,0.15);
  --dark: #0D0E12;
  --dark-2: #13151C;
  --dark-3: #1A1D28;
  --text: #E8E4DC;
  --muted: #8A8680;
  --white: #FAF9F7;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9990;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  background: linear-gradient(to bottom, rgba(13,14,18,0.97), transparent);
  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
}
nav.scrolled {
  padding: 14px 60px;
  background: rgba(13,14,18,0.98);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  z-index: 201;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta, .btn-primary, .form-submit, .mobile-cta { cursor: pointer; }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold); color: var(--dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 201;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,14,18,0.99);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--gold); }
.mobile-cta {
  margin-top: 12px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 16px 48px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mobile-phone { font-size: 15px; color: var(--muted); letter-spacing: 0.1em; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 140px 60px 80px;
  position: relative;
  overflow: hidden;
  gap: 40px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 40%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,0.03) 0%, transparent 60%);
}
.hero-lines {
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,168,76,0.04) 79px, rgba(201,168,76,0.04) 80px);
}
.hero-left { position: relative; z-index: 2; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.hero-eyebrow span { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300; line-height: 1;
  color: var(--white); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 16px; line-height: 1.8;
  color: var(--muted); max-width: 440px; margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s ease 0.8s forwards;
}
.btn-primary {
  background: var(--gold); color: var(--dark); border: none;
  padding: 16px 40px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  color: var(--text); text-decoration: none; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; transition: color 0.3s;
}
.btn-ghost:hover { color: var(--gold); }
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover::after { transform: translateX(6px); }
.hero-right {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; animation: fadeIn 1.2s ease 0.6s forwards;
}
.hero-card-stack { position: relative; width: 340px; height: 390px; }
.stat-card {
  position: absolute;
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 28px;
}
.stat-card:nth-child(1) { top: 0; left: 40px; width: 240px; animation: float1 4s ease-in-out infinite; }
.stat-card:nth-child(2) { top: 110px; left: 0; width: 210px; animation: float2 4s ease-in-out 1s infinite; }
.stat-card:nth-child(3) { top: 210px; left: 90px; width: 230px; animation: float1 4s ease-in-out 2s infinite; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.stat-bar { height: 2px; background: var(--gold-dim); margin-top: 14px; position: relative; }
.stat-bar::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 70%; background: var(--gold); }

@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.section-divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(201,168,76,0.3), transparent); }

/* ─── SHARED SECTION ─── */
section { padding: 100px 60px; position: relative; }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.section-label span { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.section-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 56px); font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ─── STRUCTURAL REALITY ─── */
#structural-reality { background: var(--dark-2); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; row-gap: 32px; align-items: start; margin-top: 60px; }
.who-text p { color: var(--muted); line-height: 1.9; font-size: 16px; margin-bottom: 20px; }
.who-text blockquote {
  border-left: 2px solid var(--gold); padding-left: 24px; margin: 28px 0 36px;
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic;
  color: var(--text); line-height: 1.6;
}
.who-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; grid-row: 1 / span 2; }
.who-card {
  background: var(--dark-3); border: 1px solid rgba(201,168,76,0.12);
  padding: 26px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.who-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.who-card:hover::before { transform: scaleX(1); }
.who-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
.who-card-icon { margin-bottom: 16px; line-height: 0; }
.who-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--white); margin-bottom: 8px; }
.who-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ─── FRAMEWORK ─── */
.framework-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 70px; }
.framework-desc { color: var(--muted); font-size: 16px; line-height: 1.9; padding-top: 20px; }
.framework-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.framework-detail-card {
  background: var(--dark-3); border: 1px solid rgba(201,168,76,0.1);
  padding: 36px 28px; transition: all 0.3s ease; position: relative;
}
.framework-detail-card:hover { border-color: rgba(201,168,76,0.35); background: rgba(201,168,76,0.02); }
.framework-detail-card .num {
  font-family: 'Cormorant Garamond', serif; font-size: 60px; font-weight: 300;
  color: rgba(201,168,76,0.1); line-height: 1; position: absolute; top: 16px; right: 16px;
}
.framework-detail-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--gold); margin-bottom: 12px; }
.framework-detail-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.framework-detail-card ul { list-style: none; margin-top: 16px; }
.framework-detail-card ul li {
  font-size: 13px; color: var(--muted); padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 10px;
}
.framework-detail-card ul li::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ─── ABOUT ─── */
#about { background: var(--dark-2); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; gap: 0 80px; align-items: start; margin-top: 60px; }
.about-heading { grid-column: 2; grid-row: 1; padding-bottom: 32px; }
.about-portrait { position: relative; grid-column: 1; grid-row: 1 / 3; }
.about-content { grid-column: 2; grid-row: 2; }
.portrait-frame {
  width: 100%; aspect-ratio: 3/4;
  background: var(--dark-3); border: 1px solid rgba(201,168,76,0.2);
  position: relative; overflow: hidden;
}
.portrait-frame::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.portrait-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 80px; font-weight: 300;
  color: rgba(201,168,76,0.15); letter-spacing: 0.1em;
}
.about-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 28px; font-style: italic;
  font-weight: 300; line-height: 1.5; color: var(--white); margin-bottom: 28px;
  position: relative; padding-left: 28px;
}
.about-quote::before {
  content: '"'; position: absolute; left: -10px; top: -20px;
  font-size: 110px; color: rgba(201,168,76,0.09); font-style: normal; line-height: 1;
}
.about-bio { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 16px; }
.about-credentials { display: flex; gap: 16px; margin-top: 36px; }
.credential { text-align: center; padding: 18px 16px; background: var(--dark-3); border: 1px solid rgba(201,168,76,0.12); flex: 1; }
.credential-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; color: var(--gold); display: block; margin-bottom: 6px; }
.credential-label { font-size: 10px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

/* ─── CONTACT ─── */
#contact { background: var(--dark); position: relative; overflow: hidden; }
#contact::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%); pointer-events: none;
}
.contact-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.contact-inner .section-label { justify-content: center; }
.contact-inner .section-label::before { display: none; }
.contact-inner .section-title { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }
.contact-intro { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 52px; max-width: 520px; margin-left: auto; margin-right: auto; }
.contact-intro em { color: var(--gold); font-style: italic; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; text-align: left; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-3); border: 1px solid rgba(201,168,76,0.15);
  color: var(--text); padding: 14px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; outline: none;
  transition: border-color 0.3s; width: 100%;
  -webkit-appearance: none; border-radius: 0;
  -webkit-text-fill-color: var(--text);
  color-scheme: dark;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(201,168,76,0.5);
  background: var(--dark-3);
  background-color: var(--dark-3);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.form-group input:active, .form-group select:active, .form-group textarea:active {
  -webkit-text-fill-color: var(--text);
}
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--dark-3) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  border-color: rgba(201,168,76,0.15) !important;
  caret-color: var(--text);
}
.form-group select { color: var(--text); }
.form-group select option { background: var(--dark-3); color: var(--text); }
.form-group textarea { height: 110px; resize: none; }
.form-submit {
  grid-column: 1 / -1; background: var(--gold); color: var(--dark); border: none;
  padding: 18px 60px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; transition: all 0.3s; width: 100%; margin-top: 8px;
}
.form-submit:hover { background: var(--gold-light); }
.form-section-header {
  grid-column: 1 / -1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
  padding: 18px 0 6px;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  margin-bottom: 4px;
}
.form-section-header:first-child { padding-top: 0; }
.form-section-header span { color: var(--gold); }
.form-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(201,168,76,0.12);
  margin: 8px 0;
}
.form-check-group {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid rgba(201,168,76,0.35);
  background: var(--dark-3);
  background-color: var(--dark-3);
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.2s;
  color-scheme: dark;
}
.form-check input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
  position: relative;
}
.form-check input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.contact-alt { margin-top: 36px; color: var(--muted); font-size: 14px; }
.contact-alt a { color: var(--gold); text-decoration: none; }

/* ─── PROCESS STEPS ─── */
#process { background: var(--dark-2); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.process-step-num {
  width: 72px; height: 72px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 600;
  line-height: 1;
  color: var(--gold);
  background: var(--dark-2);
  position: relative; z-index: 1;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.process-step:hover .process-step-num {
  background: var(--gold); color: var(--dark); transform: scale(1.08);
}
.process-step-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400;
  color: var(--gold); margin-bottom: 12px;
}
.process-step-content p {
  font-size: 14px; color: var(--muted); line-height: 1.8;
}
.process-connector {
  flex-shrink: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, rgba(201,168,76,0.4), rgba(201,168,76,0.1));
  margin-top: 36px;
  align-self: flex-start;
}
.process-note {
  text-align: center;
  margin-top: 52px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

/* ─── WHO THIS IS FOR (SCROLL-DRIVEN CAROUSEL) ─── */
#who {
  padding: 0;
  position: relative;
}
.who-scroll-spacer {
  height: 250vh;
  position: relative;
}
.who-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 60px;
  background: var(--dark-2);
  overflow: hidden;
}
.criteria-carousel-wrapper {
  position: relative;
  margin-top: 52px;
}
.criteria-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  padding: 8px 0 24px;
}
.criteria-card {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  opacity: 0.4;
  transform: translateX(0);
  will-change: transform;
}
.criteria-card.active {
  opacity: 1;
}
.criteria-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.criteria-card.active::before { transform: scaleX(1); }
.criteria-card:hover { border-color: rgba(201,168,76,0.3); }
.criteria-check {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}
.criteria-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400;
  color: var(--white); margin-bottom: 8px;
}
.criteria-text span {
  font-size: 13px; color: var(--muted); line-height: 1.7;
}

/* Scroll progress bar */
.carousel-progress {
  margin-top: 32px;
  height: 2px;
  background: rgba(201,168,76,0.12);
  position: relative;
  max-width: 240px;
}
.carousel-progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.15s ease-out;
}

/* ─── STRUCTURAL NOTE ─── */
.structural-note {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 600px;
  padding-top: 4px;
}
.structural-note .note-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.structural-note .note-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark-2); padding: 40px 60px;
  border-top: 1px solid rgba(201,168,76,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--white); }
.footer-logo span { color: var(--white); }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: var(--muted); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.4); border-radius: 2px; }

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 1024px) {
  nav, nav.scrolled { padding-left: 32px; padding-right: 32px; }
  section { padding: 80px 32px; }
  #hero { padding: 120px 32px 70px; }
  .who-grid, .about-grid { gap: 48px; }
  .framework-intro { gap: 48px; }
  .criteria-card { flex: 0 0 calc(50% - 10px); min-width: 240px; }
  .who-sticky { padding: 80px 32px; }
  .process-connector { width: 40px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }

  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 110px 24px 60px;
    text-align: center;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-right { margin-top: 52px; }
  .hero-card-stack { width: 280px; height: 330px; }
  .stat-card { padding: 22px; }
  .stat-card:nth-child(1) { width: 200px; left: 30px; top: 0; }
  .stat-card:nth-child(2) { width: 180px; left: 0; top: 90px; }
  .stat-card:nth-child(3) { width: 195px; left: 70px; top: 175px; }
  .stat-num { font-size: 36px; }

  .who-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; grid-template-rows: auto; }
  .who-cards { grid-row: auto; }
  .structural-note { grid-row: auto; }

  .framework-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .framework-detail { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; align-items: center; gap: 0; }
  .process-step { width: 100%; max-width: 480px; padding: 0 16px; }
  .process-connector { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(201,168,76,0.4), rgba(201,168,76,0.1)); margin: 0; }

  .criteria-card { flex: 0 0 80%; min-width: 0; }
  .who-sticky { padding: 72px 24px; }
  .who-scroll-spacer { height: 300vh; }

  .about-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 32px; margin-top: 40px; }
  .about-heading { grid-column: 1; grid-row: auto; }
  .about-portrait { grid-column: 1; grid-row: auto; max-width: 260px; margin: 0 auto; }
  .about-content { grid-column: 1; grid-row: auto; }

  .contact-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; gap: 20px; }
  section { padding: 72px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 46px; }
  .who-cards { grid-template-columns: 1fr; }
  .card-business-concentration { order: 1; }
  .card-estate-liquidity { order: 2; }
  .card-legislative-shifts { order: 3; }
  .card-tax-drag { order: 4; }
  .card-market-cycles { order: 5; }
  .card-sequence-return { order: 6; }
  .about-credentials { flex-direction: column; }
  .about-quote { font-size: 21px; }
  footer { align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .contact-inner .section-title { font-size: 32px; }
}
