/* ============================================================
  Prospectum Academy — Neural Luminary palette
  Deep indigo surfaces with cyan/lavender accents
  ============================================================ */

:root {
  --deep:          #1a0a31;
  --surface:       #27173d;
  --elevated:      #322249;
  --elevated-2:    #423159;
  --cream:         #eddcff;
  --cream-muted:   rgba(237,220,255,0.68);
  --gold:          #60d7e3;
  --gold-light:    #c0c1ff;
  --gold-glow:     rgba(96,215,227,0.14);
  --gold-border:   rgba(192,193,255,0.24);
  --sage:          #7f84ff;
  --brick:         #f65e4b;
  --warm-glass:    rgba(255,255,255,0.06);
  --warm-border:   rgba(237,220,255,0.12);
  --warm-border-2: rgba(237,220,255,0.18);
  --radius-sm:     12px;
  --radius-md:     18px;
  --radius-lg:     24px;
  --radius-xl:     32px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Ambient glow */
body::after {
  content: "";
  position: fixed;
  top: -20vh;
  right: -10vw;
  width: 60vw;
  height: 60vh;
  background:
    radial-gradient(ellipse at center, rgba(127,132,255,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(96,215,227,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--cream);
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* neural-page kept for backwards compat */
body.neural-page {
  background:
    radial-gradient(ellipse at 85% 5%, rgba(127,132,255,0.16), transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(96,215,227,0.09), transparent 50%),
    var(--deep);
  color: var(--cream);
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sticky announcement bar ────────────────────────────── */
.sticky-bar {
  background: var(--brick);
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
}
.sticky-bar strong { font-weight: 700; }
.sticky-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sticky-bar a:hover { opacity: 0.75; }

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  background: rgba(39,23,61,0.78);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--warm-border-2);
  backdrop-filter: blur(16px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 70px;
}
.header-logo img { height: 52px; width: auto; }

.header-nav {
  display: flex;
  gap: 36px;
  list-style: none;
}
.header-nav a {
  text-decoration: none;
  color: var(--cream-muted);
  font-size: 15px;
  font-weight: 400;
  position: relative;
  transition: color 0.25s;
}
.header-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.33,1,0.68,1);
}
.header-nav a:hover { color: var(--cream); }
.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }
.header-nav a.active { font-weight: 600; color: var(--cream); }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  background: rgba(39,23,61,0.96);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--warm-border-2);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li { padding: 10px 0; border-bottom: 1px solid var(--warm-border); }
.mobile-nav ul a {
  text-decoration: none;
  color: var(--cream);
  font-size: 16px;
  font-weight: 500;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s, box-shadow 0.3s, opacity 0.2s;
  line-height: 1;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-teal {
  background: linear-gradient(135deg, var(--gold) 0%, var(--sage) 100%);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(96,215,227,0.2);
}
.btn-teal:hover { box-shadow: 0 16px 44px rgba(96,215,227,0.32); }

.btn-purple {
  background: linear-gradient(135deg, var(--elevated-2) 0%, var(--elevated) 100%);
  color: var(--cream);
  border-color: var(--warm-border-2);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.btn-purple:hover { border-color: var(--gold-border); }

.btn-outline-white {
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  border-color: var(--warm-border-2);
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-outline-purple {
  background: rgba(255,255,255,0.03);
  color: var(--cream);
  border-color: var(--warm-border-2);
}
.btn-outline-purple:hover { border-color: var(--gold-border); color: var(--gold-light); }

.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ── Section helpers ────────────────────────────────────── */
.section  { padding: 88px 0; }
.section-sm { padding: 48px 0; }

.section-white  { background: linear-gradient(180deg, #23123b 0%, var(--surface) 100%); color: var(--cream); }
.section-gray   { background: linear-gradient(180deg, var(--surface) 0%, #211136 100%); color: var(--cream); }
.section-purple { background: linear-gradient(135deg, #2b1746 0%, var(--deep) 100%); color: var(--cream); }
.section-dark   { background: linear-gradient(180deg, #130823 0%, var(--deep) 100%); color: var(--cream); }
.section-orange { background: var(--brick); color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero--typed-note {
  min-height: 700px;
  padding: 88px 0 96px;
}

.hero--contour {
  min-height: 760px;
  padding: 88px 0 96px;
}
.hero .container {
  position: relative;
  z-index: 15;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.hero-person {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 10;
  pointer-events: none; /* Let clicks pass through the transparent person back to text/buttons if needed */
}

/* ── Float spacer removed — using padding to clear person ── */

/* Legacy — kept for fallback if JS still adds these classes */
.hero-shape-heading {
  display: block;
}

.hero-shape-heading .shape-line {
  display: block;
  width: fit-content;
  line-height: 1.14;
  white-space: nowrap;
}

.hero-panel {
  position: relative;
  z-index: 15;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--cream);
}

.hero--typed-note .hero-grid--solo {
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
}

.hero--typed-note .hero-content {
  grid-column: 2;
  justify-self: end;
  width: min(100%, 540px);
}

.hero--contour .hero-grid--solo {
  grid-template-columns: 1fr;
}

.hero--contour .hero-content {
  width: 100%;
  min-height: 560px;
  padding-left: 44%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero--contour .hero-bg {
  object-position: left center;
  filter: blur(2px);
  transform: scale(1.01);
}

.hero--contour .hero-person {
  object-position: left center;
}

.hero--contour .hero-content h1,
.hero--contour .hero-content h2 {
  position: relative;
  min-height: 0;
  margin: 0 0 0 0;
  line-height: 1.02;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero--contour .hero-kicker {
  display: block;
  margin-bottom: 18px;
}

.hero--contour .hero-lead {
  margin-top: 28px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.98rem, 1.14vw, 1.08rem);
  font-weight: 600;
  line-height: 1.56;
  letter-spacing: -0.01em;
}

.hero--contour .hero-buttons {
  gap: 14px;
}

.hero--typed-note .hero-bg,
.hero--typed-note .hero-person {
  object-position: left center;
}

.hero--typed-note .hero-content h1,
.hero--typed-note .hero-content h2 {
  max-width: 12.75ch;
  margin-bottom: 16px;
  line-height: 1.02;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero--typed-note .hero-lead {
  position: relative;
  max-width: 34ch;
  margin-bottom: 24px;
  padding: 0;
  border-left: none;
  background: none;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 600;
  line-height: 1.52;
  letter-spacing: -0.01em;
}

.hero--typed-note .hero-buttons {
  gap: 14px;
}

.hero--typed-note .hero-lead::after {
  content: "";
  display: inline-block;
  width: 0.62ch;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: -0.16em;
  background: rgba(255, 255, 255, 0.88);
  animation: hero-type-caret 1s steps(1, end) infinite;
}
.hero-content h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--cream); margin-bottom: 20px; }
.hero-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--cream); margin-bottom: 20px; }
.hero-content h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 20px; }
.hero-content p  { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 32px; color: var(--cream-muted); }
.hero-buttons    { display: flex; gap: 16px; flex-wrap: wrap; }

.cyan  { color: var(--gold-light); }
.white { color: var(--cream); }

/* ── Text helpers ───────────────────────────────────────── */
.text-center { text-align: center; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label-white { color: rgba(237,220,255,0.7); }

.section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 18px; font-weight: 600; }
.section-subtitle { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--cream-muted); max-width: 640px; line-height: 1.7; }

/* ── Cards ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--elevated);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--warm-border);
  border-left: 4px solid var(--gold-border);
}
.card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--cream); }
.card p  { font-size: 0.95rem; color: var(--cream-muted); line-height: 1.65; }

.card-dark {
  background: var(--elevated);
  border: 1px solid var(--warm-border);
  border-left: 4px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--cream);
}
.card-dark h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--gold-light); }
.card-dark p  { font-size: 0.95rem; color: var(--cream-muted); }

/* ── Check list ─────────────────────────────────────────── */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.97rem;
  color: var(--cream-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonial {
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin: 0;
  background: var(--elevated);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.testimonial p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 10px;
  font-size: 0.97rem;
  line-height: 1.6;
}
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Two-column layout ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── Divider ────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--warm-border); margin: 32px 0; }
.divider-dark { border-top-color: var(--warm-border-2); }

/* ── Tag badges ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gold-glow);
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ── Editorial components ──────────────────────────────── */

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: center;
}

/* When hero has no aside, let text span full width */
.hero-grid--solo {
  grid-template-columns: 1fr;
}

/* Indigo panel base */
.hero-panel,
.section-shell,
.glass-card,
.proof-card,
.phase-card,
.quote-panel,
.cta-panel {
  background: var(--elevated);
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.12),
    0 24px 60px rgba(13,7,28,0.28);
}

/* Hero-specific surfaces: keep content readable while letting the photo breathe */
.hero .hero-panel {
  background: linear-gradient(180deg, rgba(50,34,73,0.62) 0%, rgba(39,23,61,0.56) 100%);
  border-color: rgba(237,220,255,0.22);
}

/* Hero-content: no glass — just floating text */
.hero .hero-panel.hero-content {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* Contour variant: push text right of person */
.hero--contour .hero-panel.hero-content {
  padding-left: 44%;
}

.hero .section-shell {
  background: linear-gradient(180deg, rgba(50,34,73,0.54) 0%, rgba(39,23,61,0.48) 100%);
  border-color: rgba(237,220,255,0.2);
}

.hero .proof-item,
.hero .surface-soft {
  background: rgba(255,255,255,0.08);
  border-color: rgba(237,220,255,0.2);
}

.hero-panel,
.section-shell,
.cta-panel {
  padding: clamp(28px, 4vw, 44px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-kicker::before,
.data-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(96,215,227,0.6);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 58ch;
  color: var(--cream-muted);
  line-height: 1.7;
}

/* ── Proof strip below hero ─────────────────────────────── */
.proof-strip {
  background: var(--elevated);
  border-bottom: 1px solid var(--warm-border);
  padding: 28px 0;
}
.proof-strip .proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof-strip .proof-item {
  text-align: center;
  background: none;
  border: none;
  padding: 0;
}
.proof-strip .proof-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

@keyframes hero-type-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-meta,
.stat-strip,
.mini-proof,
.stack-list,
.outcome-grid,
.proof-band,
.audience-grid,
.phase-grid,
.deliverable-grid {
  display: grid;
  gap: 16px;
}

.hero-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.proof-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--warm-glass);
  border: 1px solid var(--warm-border);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}

.hero-aside-title,
.glass-card h3,
.phase-card h3,
.proof-card h3 {
  color: var(--cream);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-list {
  margin-top: 18px;
}

.stack-list li,
.signal-list li {
  list-style: none;
  position: relative;
  padding-left: 24px;
  color: var(--cream-muted);
}

.stack-list li::before,
.signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(96,215,227,0.5);
}

.proof-band,
.outcome-grid,
.audience-grid,
.phase-grid,
.deliverable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.glass-card,
.phase-card,
.quote-panel {
  padding: 28px;
}

/* Left gold accent on cards — bookmark style */
.proof-card,
.glass-card,
.phase-card {
  border-left: 4px solid var(--gold-border);
}

.proof-card p,
.glass-card p,
.phase-card p,
.quote-panel p,
.cta-panel p {
  color: var(--cream-muted);
  line-height: 1.65;
}

.numeric-eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 10px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.muted-note {
  color: var(--cream-muted);
  font-size: 0.92rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-top: 3px solid var(--gold-border);
}

.quote-panel {
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--gold);
}

.quote-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(127,132,255,0.12), transparent 70%);
}

.signal-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.surface-soft {
  background: var(--warm-glass);
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.map-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--warm-border-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--elevated);
  border: 1px solid var(--warm-border);
  border-left: 4px solid var(--gold-border);
}

.contact-card h3 { color: var(--cream); }
.contact-card p,
.contact-card a { color: var(--cream-muted); }
.contact-card a:hover { color: var(--gold-light); }

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.diag-shell {
  max-width: 960px;
  margin: 0 auto;
}

.diag-frame-wrap {
  background: var(--elevated);
  border: 1px solid var(--warm-border-2);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
  overflow: hidden;
}

.diag-frame-wrap iframe {
  background: transparent;
}

/* ── Reveal-on-scroll animation ────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms cubic-bezier(0.33, 1, 0.68, 1),
    transform 600ms cubic-bezier(0.33, 1, 0.68, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero children get a staggered orchestrated entrance */
.hero .hero-kicker    { --reveal-delay: 0ms; }
.hero .hero-content h1,
.hero .hero-content h2 { --reveal-delay: 100ms; }
.hero .hero-lead       { --reveal-delay: 200ms; }
.hero .hero-buttons    { --reveal-delay: 320ms; }
.hero .hero-meta       { --reveal-delay: 440ms; }
.proof-strip .proof-item { --reveal-delay: 0ms; }

.label-soft {
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-offset {
  transform: translateY(-42px);
  margin-bottom: -12px;
}

.neural-page .testimonial {
  border-left-color: var(--gold);
  background: var(--elevated);
}

.neural-page .tag {
  background: var(--gold-glow);
  color: var(--gold);
}

/* ── Mini-meta badges (diagnostico) ─────────────────────── */
.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.mini-meta span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* ── Inlined Diagnostic Form — Warm Editorial Theme ────── */
.diag-form-root .panel {
  background: var(--elevated);
  border: 1px solid var(--warm-border-2);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
  overflow: hidden;
}

.diag-form-root .panel-head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--warm-border);
  background: linear-gradient(180deg, var(--elevated-2) 0%, var(--elevated) 100%);
}
.diag-form-root .panel-head p:first-child {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.diag-form-root .panel-head h2 {
  margin: 0 0 6px;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  line-height: 1.18;
  color: var(--cream);
}
.diag-form-root .panel-head .subtle {
  margin: 0;
  color: var(--cream-muted);
  line-height: 1.5;
  font-size: 14px;
  font-weight: 400;
  max-width: 560px;
}
.diag-form-root .mini-meta span {
  background: var(--gold-glow);
  color: var(--gold);
}

/* Progress bar */
.diag-form-root .progress-wrap { padding: 18px 28px 0; }
.diag-form-root .progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--cream-muted);
  font-weight: 500;
}
.diag-form-root .progress-track {
  width: 100%;
  height: 6px;
  background: var(--warm-glass);
  border: 1px solid var(--warm-border);
  border-radius: 999px;
  overflow: hidden;
}
.diag-form-root .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.33,1,0.68,1);
}

/* Form body */
.diag-form-root form { padding: 24px 28px 28px; }

/* Step transitions */
.diag-form-root .step { display: none; }
.diag-form-root .step.is-active {
  display: block;
  animation: stepEnter 350ms cubic-bezier(0.33,1,0.68,1) both;
}
@keyframes stepEnter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.diag-form-root .step-title {
  margin: 0 0 6px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.2;
  color: var(--cream);
}
.diag-form-root .step-copy {
  margin: 0 0 22px;
  color: var(--cream-muted);
  line-height: 1.5;
  font-size: 14px;
  max-width: 620px;
}

/* Field grid */
.diag-form-root .field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.diag-form-root .label-text {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.diag-form-root .input,
.diag-form-root .select {
  width: 100%;
  border: 1px solid var(--warm-border-2);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--cream);
  padding: 13px 16px;
  font: inherit;
  font-size: 14px;
  min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.diag-form-root .input::placeholder { color: var(--cream-muted); }
.diag-form-root .input:focus,
.diag-form-root .select:focus {
  outline: none;
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.diag-form-root .select option { background: var(--elevated); color: var(--cream); }

/* Question cards */
.diag-form-root .question-list { display: grid; gap: 16px; }
.diag-form-root .question-card {
  border: 1px solid var(--warm-border);
  border-left: 4px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 20px;
}
.diag-form-root .question-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.diag-form-root .question-copy {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--cream);
}

/* Choice grid */
.diag-form-root .choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.diag-form-root .choice-option { position: relative; display: block; cursor: pointer; }
.diag-form-root .choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.diag-form-root .choice-option span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--warm-border-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--cream-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.25s, color 0.2s;
}
.diag-form-root .choice-option input:checked + span {
  border-color: var(--gold-border);
  background: rgba(201,150,58,0.06);
  box-shadow: 0 0 0 3px var(--gold-glow);
  color: var(--gold-light);
}

/* Likert scale */
.diag-form-root .likert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.diag-form-root .likert-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.diag-form-root .likert-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.diag-form-root .likert-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60px;
  padding: 10px 6px;
  border: 1px solid var(--warm-border-2);
  border-radius: var(--radius-sm);
  font-size: 11px;
  line-height: 1.3;
  color: var(--cream-muted);
  font-weight: 500;
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.25s, color 0.2s;
}
.diag-form-root .likert-option input:checked + span {
  border-color: var(--gold-border);
  background: rgba(201,150,58,0.06);
  box-shadow: 0 0 0 3px var(--gold-glow);
  color: var(--gold);
  font-weight: 600;
}

/* Closing card */
.diag-form-root .closing-card {
  border: 1px solid var(--warm-border);
  border-left: 4px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--elevated) 0%, var(--surface) 100%);
  padding: 22px;
}
.diag-form-root .closing-card h3 {
  margin: 0 0 10px;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  line-height: 1.35;
  color: var(--cream);
}
.diag-form-root .closing-card p {
  margin: 0 0 16px;
  color: var(--cream-muted);
  line-height: 1.55;
  font-size: 14px;
}

/* Step actions / nav */
.diag-form-root .step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}
.diag-form-root .status {
  min-height: 20px;
  margin: 0;
  color: var(--brick);
  font-size: 13px;
  font-weight: 600;
}
.diag-form-root .nav-actions { display: flex; gap: 10px; }
.diag-form-root .button {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, opacity 0.2s;
}
.diag-form-root .button:active { transform: scale(0.98); }
.diag-form-root .button:disabled { opacity: 0.45; cursor: not-allowed; }
.diag-form-root .button.secondary {
  background: var(--warm-glass);
  border: 1px solid var(--warm-border-2);
  color: var(--cream-muted);
}
.diag-form-root .button.secondary:hover:not(:disabled) { border-color: var(--gold-border); color: var(--cream); }
.diag-form-root .button.primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--sage) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(96,215,227,0.2);
}
.diag-form-root .button.primary:hover:not(:disabled) {
  box-shadow: 0 12px 32px rgba(96,215,227,0.32);
  transform: translateY(-1px);
}

/* Success screen */
.diag-form-root .success-screen {
  display: none;
  padding: 52px 28px;
  text-align: center;
}
.diag-form-root .success-screen.is-visible { display: block; }
.diag-form-root .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(96,215,227,0.12);
  border: 1px solid rgba(96,215,227,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--sage);
}
.diag-form-root .success-screen h2 {
  margin: 0 0 10px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--cream);
}
.diag-form-root .success-screen p {
  color: var(--cream-muted);
  font-size: 14px;
  line-height: 1.55;
}

.diag-form-root .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Form responsive */
@media (max-width: 760px) {
  .diag-form-root .panel-head,
  .diag-form-root .progress-wrap,
  .diag-form-root form { padding-left: 18px; padding-right: 18px; }
  .diag-form-root .field-grid,
  .diag-form-root .likert-grid,
  .diag-form-root .choice-grid { grid-template-columns: 1fr; }
  .diag-form-root .step-actions { flex-direction: column; align-items: stretch; }
  .diag-form-root .nav-actions { width: 100%; }
  .diag-form-root .nav-actions .button { flex: 1; }
  .diag-form-root .panel-head h2 { font-size: 20px; }
}

/* ── Responsive — layout ───────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid,
  .cta-panel,
  .proof-band,
  .proof-strip .proof-strip-grid,
  .outcome-grid,
  .audience-grid,
  .phase-grid,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero--typed-note {
    min-height: 660px;
    padding: 72px 0 80px;
  }

  .hero--typed-note .hero-content {
    grid-column: auto;
    justify-self: auto;
    position: relative;
    width: min(52%, 420px);
    margin-left: auto;
    padding: 18px 0 0 20px;
    min-height: 0;
  }

  .hero--typed-note .hero-content::before {
    content: "";
    position: absolute;
    inset: -24px -24px -28px -24px;
    border-radius: 28px 0 0 28px;
    background: linear-gradient(180deg, rgba(17, 10, 31, 0.18) 0%, rgba(17, 10, 31, 0.56) 100%);
    z-index: -1;
  }

  .hero--typed-note .hero-grid,
  .hero--typed-note .hero-grid--solo {
    display: block;
    min-height: 500px;
  }

  .hero--typed-note .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 7, 18, 0.06) 0%, rgba(10, 7, 18, 0.18) 26%, rgba(10, 7, 18, 0.72) 48%, rgba(10, 7, 18, 0.92) 100%) !important;
  }

  .hero--typed-note .hero-bg {
    left: 0;
    right: 0;
    opacity: 0.82;
  }

  .hero--typed-note .hero-bg,
  .hero--typed-note .hero-person {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 26% center;
    transform: none;
  }

  .hero--typed-note .hero-person {
    opacity: 0.96;
  }

  .hero--typed-note .hero-content h1,
  .hero--typed-note .hero-content h2,
  .hero--typed-note .hero-lead {
    max-width: 100%;
  }

  .hero--typed-note .hero-content h1,
  .hero--typed-note .hero-content h2 {
    max-width: 12ch;
  }

  .editorial-offset {
    transform: none;
    margin-bottom: 0;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonial-grid { grid-template-columns: 1fr; }

  .hero-bg, .hero-person {
    opacity: 0.5;
    right: -10%;
  }

  .card-grid, .three-col { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #12081f;
  color: var(--cream);
  padding: 64px 0 32px;
  border-top: 1px solid var(--gold-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo img { height: 44px; width: auto; }
.footer-tagline  { color: var(--cream-muted); font-size: 14px; line-height: 1.65; margin-top: 14px; }

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.footer-subscribe input {
  padding: 12px 16px;
  border: 1px solid var(--warm-border-2);
  border-radius: 999px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  background: var(--surface);
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.footer-subscribe input:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.footer-subscribe input::placeholder { color: var(--cream-muted); }
.footer-subscribe .btn { text-align: center; font-size: 14px; padding: 10px 20px; }

.footer-links a {
  display: block;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--warm-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--cream-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold-light); }

/* ── Responsive — mobile ───────────────────────────────── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
  .hero { min-height: 420px; padding: 60px 0; }
  .section { padding: 56px 0; }
  .section-sm { padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero--typed-note,
  .hero--contour {
    min-height: 620px;
    padding: 48px 0 56px;
  }

  .hero--typed-note .hero-overlay,
  .hero--contour .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 7, 18, 0.08) 0%, rgba(10, 7, 18, 0.22) 24%, rgba(10, 7, 18, 0.76) 46%, rgba(10, 7, 18, 0.94) 100%) !important;
  }

  .hero--typed-note .hero-grid,
  .hero--typed-note .hero-grid--solo,
  .hero--contour .hero-grid,
  .hero--contour .hero-grid--solo {
    min-height: 520px;
  }

  .hero--typed-note .hero-content,
  .hero--contour .hero-content {
    width: min(61%, 252px);
    padding: 12px 0 0 14px;
  }

  .hero--typed-note .hero-content::before,
  .hero--contour .hero-content::before {
    inset: -18px -12px -22px -18px;
    border-radius: 24px 0 0 24px;
    background: linear-gradient(180deg, rgba(17, 10, 31, 0.16) 0%, rgba(17, 10, 31, 0.68) 100%);
  }

  .hero--typed-note .hero-kicker,
  .hero--contour .hero-kicker {
    display: none;
  }

  .hero--typed-note .hero-content h1,
  .hero--typed-note .hero-content h2,
  .hero--contour .hero-content h1,
  .hero--contour .hero-content h2 {
    max-width: 8.5ch;
    font-size: clamp(1.52rem, 8.2vw, 2.08rem);
    margin-bottom: 16px;
  }

  .hero--typed-note .hero-lead,
  .hero--contour .hero-lead {
    max-width: 100%;
    padding: 0;
    margin-bottom: 18px;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .hero--typed-note .hero-bg,
  .hero--contour .hero-bg {
    left: 0;
    right: 0;
    opacity: 0.8;
  }

  .hero--typed-note .hero-bg,
  .hero--typed-note .hero-person,
  .hero--contour .hero-bg,
  .hero--contour .hero-person {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 24% center;
    transform: none;
  }

  .hero--typed-note .hero-person,
  .hero--contour .hero-person {
    display: block;
    opacity: 0.98;
    z-index: 1;
  }

  .hero--typed-note .hero-buttons,
  .hero--contour .hero-buttons {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero--typed-note .hero-buttons .btn,
  .hero--contour .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 16px;
    font-size: 0.96rem;
  }

  .hero--contour .hero-content,
  .hero--contour .hero-panel.hero-content {
    padding-left: 0;
  }
}