/* Nevada Real Estate Academy — Homepage */

:root {
  --bg-black: #0b0b0c;
  --bg-matte: #111111;
  --bg-charcoal: #1F2937;
  --warm-white: #F8F8F5;
  --gold: #C7CBD1;
  --gold-soft: #DEE2E7;
  --gold-deep: #8B9099;
  --text-dim: rgba(248, 248, 245, 0.62);
  --text-faint: rgba(248, 248, 245, 0.38);
  --line: rgba(199, 203, 209, 0.18);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-black);
  color: var(--warm-white);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.display, h1, h2, h3 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 0.98;
  margin: 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 16px; height: 16px; stroke-width: 1.8; }

.btn-gold {
  background: var(--gold);
  color: #111;
  box-shadow: 0 12px 30px -12px rgba(199, 203, 209, 0.55);
}
.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(248, 248, 245, 0.22);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-line {
  background: transparent;
  color: var(--warm-white);
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  padding: 8px 0;
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s ease, backdrop-filter .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 13px;
  text-transform: uppercase;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: grid; place-items: center;
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--text-dim);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--warm-white); }

/* ─── HAMBURGER (mobile) ─────────────────────────────────── */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
  transition: border-color .2s, background .2s;
}
.nav-burger:hover { border-color: var(--gold); }
.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--warm-white);
  border-radius: 1px;
  transition: transform .3s ease, opacity .25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE MENU PANEL ──────────────────────────────────── */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(7,7,8,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile-panel {
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  background: var(--bg-matte);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .3s ease, opacity .25s ease;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.nav-mobile.open .nav-mobile-panel { transform: translateY(0); opacity: 1; }
.nav-mobile-links {
  display: flex;
  flex-direction: column;
}
.nav-mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .2s, padding .2s;
}
.nav-mobile-links a:last-child { border-bottom: none; }
.nav-mobile-links a:hover { color: var(--gold); padding-left: 12px; }
.nav-mobile-links a svg { color: var(--text-faint); transition: color .2s, transform .2s; }
.nav-mobile-links a:hover svg { color: var(--gold); transform: translate(2px, -2px); }
.nav-mobile-cta {
  width: 100%;
  justify-content: center;
  padding: 16px !important;
  font-size: 14px !important;
}

/* ─── DESKTOP: PRIMARY / MUTED LINKS + CE DROPDOWN ───────── */
.nav-links .nav-primary { color: var(--warm-white); }
.nav-links .nav-muted { color: var(--warm-white); }
.nav-links .nav-muted:hover { color: var(--gold); }

.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--warm-white);
  cursor: pointer;
  transition: color .2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger { color: var(--gold); }
.nav-chev { transition: transform .25s ease; }
.nav-dropdown.open .nav-chev { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background: var(--bg-matte);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7);
  z-index: 120;
}
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-white);
  transition: background .18s, color .18s, padding .18s;
}
.nav-dropdown-panel a svg { color: var(--text-faint); transition: color .18s, transform .18s; }
.nav-dropdown-panel a:hover { background: rgba(199,203,209,0.10); color: var(--gold); padding-left: 18px; }
.nav-dropdown-panel a:hover svg { color: var(--gold); transform: translate(2px, -2px); }

/* ─── MOBILE: CE ACCORDION ───────────────────────────────── */
.nav-mobile-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--warm-white);
  cursor: pointer;
  transition: color .2s;
}
.nav-mobile-acc:hover { color: var(--gold); }
.nav-mobile-acc .nav-chev { color: var(--text-faint); }
.nav-mobile-acc.open .nav-chev { transform: rotate(180deg); color: var(--gold); }
.nav-mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile-sub.open { max-height: 280px; }
.nav-mobile-sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px 13px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text-dim);
  border-bottom: none;
  transition: color .2s, padding .2s;
}
.nav-mobile-sub a:hover { color: var(--gold); padding-left: 30px; }
.nav-mobile-sub a svg { color: var(--text-faint); transition: color .2s, transform .2s; }
.nav-mobile-sub a:hover svg { color: var(--gold); transform: translate(2px, -2px); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(1.05) contrast(1.05);
  animation: heroKen 24s ease-in-out infinite alternate;
  transform-origin: 60% 50%;
  z-index: 0;
}
@keyframes heroKen {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}
/* Vignette + dark anchor for text — strongest at bottom-left where headline sits */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* left-anchored darken so headline pops — strengthened mid-band where text crosses bright windows */
    linear-gradient(100deg, rgba(7,7,8,0.94) 0%, rgba(7,7,8,0.85) 30%, rgba(11,11,12,0.7) 55%, rgba(11,11,12,0.6) 75%, rgba(11,11,12,0.72) 100%),
    /* bottom darken so stats bar reads */
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 75%, rgba(11,11,12,0.95) 100%),
    /* top fade so nav is readable */
    linear-gradient(180deg, rgba(11,11,12,0.6) 0%, transparent 28%);
}
/* Gold glow accent that subtly highlights right-side light */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(40% 60% at 78% 30%, rgba(199,203,209,0.18) 0%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Skyline placeholder SVG strip */
.hero-skyline { display: none; }

.hero-content {
  position: relative;
  padding-bottom: 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-size: clamp(56px, 9vw, 132px);
  letter-spacing: -0.035em;
  margin-top: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45), 0 1px 0 rgba(0,0,0,0.3);
}
.hero h1 .gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  font-family: 'Playfair Display', 'Montserrat', serif;
  text-shadow: 0 0 40px rgba(199,203,209,0.35), 0 2px 24px rgba(0,0,0,0.4);
}
.hero-sub {
  color: rgba(248,248,245,0.82);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  max-width: 460px;
  margin-top: 22px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 0 12px;
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
@media (max-width: 980px) {
  .hero-meta { border-left: none; padding-left: 0; }
}
.hero-meta-row { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .k {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--warm-white);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero-meta .v { font-size: 12px; color: rgba(248,248,245,0.7); letter-spacing: 0.04em; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }

/* Stats bar across bottom */
.hero-stats {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
@media (max-width: 780px) {
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-size: 13px;
}
.stat .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  color: var(--warm-white);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stat .ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(199,203,209,0.10);
  color: var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* ─── SECTION SHELL ──────────────────────────────────────── */
.section { padding: 140px 0; position: relative; }
.section.tight { padding: 100px 0; }
.section.dark { background: var(--bg-matte); }
.section.charcoal { background: var(--bg-charcoal); }
.section.warm { background: var(--warm-white); color: #111; }
.section.warm .eyebrow { color: var(--gold-deep); }
.section.warm .eyebrow::before { background: var(--gold-deep); }

@media (max-width: 780px) { .section { padding: 90px 0; } }

.section-head {
  max-width: 880px;
  margin-bottom: 72px;
}
.section-head h2 {
  font-size: clamp(36px, 5.5vw, 72px);
  margin-top: 18px;
  line-height: 1.02;
}
.section-head h2 .gold {
  color: var(--gold);
  font-family: 'Playfair Display', 'Montserrat', serif;
  font-weight: 500;
  font-style: italic;
}
.section-head p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 640px;
}

/* ─── WHY REAL ESTATE (Section 2) ────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--bg-matte);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  transition: transform .35s ease;
}
.why-card:hover { transform: translateY(-2px); }

/* image-slot fills the entire card */
.why-card-bg {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  display: block;
}

.why-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.35) 0%, rgba(11,11,12,0.55) 35%, rgba(11,11,12,0.92) 75%, rgba(11,11,12,0.98) 100%),
    linear-gradient(105deg, rgba(11,11,12,0.4) 0%, transparent 55%);
  transition: background .35s ease;
}
.why-card:hover .why-card-overlay {
  background:
    linear-gradient(180deg, rgba(11,11,12,0.25) 0%, rgba(11,11,12,0.5) 35%, rgba(11,11,12,0.95) 75%, rgba(11,11,12,1) 100%),
    linear-gradient(105deg, rgba(11,11,12,0.35) 0%, transparent 55%);
}

.why-card-content {
  position: relative;
  z-index: 2;
  padding: 48px 38px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  pointer-events: none; /* let drops fall through to image-slot */
}
.why-card .num {
  font-family: 'Montserrat', sans-serif;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.why-card h3 {
  font-size: 28px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
}
.why-card p {
  color: rgba(248,248,245,0.88);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
}

/* ─── HOW IT WORKS (Section 3) ───────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.step:hover { border-color: var(--gold); background: rgba(199,203,209,0.04); }
.step .step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 90px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199,203,209,0.45);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.step h3 {
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.step p { color: var(--text-dim); font-size: 15px; line-height: 1.55; margin: 0 0 22px; }

.style-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.style-pill {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--warm-white);
  cursor: pointer;
  transition: all .2s;
  background: transparent;
}
.style-pill:hover { border-color: var(--gold); color: var(--gold); }
.style-pill.active { background: var(--gold); color: #111; border-color: var(--gold); }

.steps-cta { margin-top: 56px; display: flex; justify-content: center; }

/* ─── SUCCESS STORIES (Section 4) ────────────────────────── */
.stories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .stories { grid-template-columns: 1fr; } }

.story {
  aspect-ratio: 9 / 14;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  cursor: pointer;
  transition: transform .35s ease;
}
.story:hover { transform: translateY(-4px); }
.story-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s ease;
}
.story:hover .story-photo { transform: scale(1.05); }
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}
.story-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--warm-white);
  z-index: 2;
  display: flex; align-items: center; gap: 6px;
}
.story-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.25);
}
.story-play {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  z-index: 2;
  color: var(--warm-white);
}
.story-quote {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 18px 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-quote .stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
}
.story-quote .text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.story-quote .who {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.story-quote .who .av {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: #111;
  font-weight: 700;
}

/* ─── COACHING (Section 5) ───────────────────────────────── */
.coach-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 980px) { .coach-grid { grid-template-columns: 1fr; gap: 40px; } }

.coach-media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}
.coach-media .photo {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 60% 30%, rgba(199,203,209,0.22) 0%, transparent 60%),
    linear-gradient(180deg, #2a2722 0%, #0f0f0f 100%);
}
.coach-media .photo::before {
  content: "PORTRAIT: RICK BERUBE";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(248,248,245,0.18);
}
.coach-media .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 18px,
    rgba(199,203,209,0.04) 18px,
    rgba(199,203,209,0.04) 19px
  );
}
.coach-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  pointer-events: none;
}

.coach-play {
  position: absolute;
  bottom: 22px; left: 22px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--warm-white);
}
.coach-play .pl {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold); color: #111;
  display: grid; place-items: center;
}
.coach-badge {
  position: absolute;
  top: 22px; right: 22px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.coach-body h2 { font-size: clamp(34px, 4.5vw, 60px); }
.coach-clips {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.coach-clip {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-left .25s ease;
}
.coach-clip:hover { padding-left: 6px; }
.coach-clip .ix {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.coach-clip .ttl {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.coach-clip .dur {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
}
.coach-clip .pl-sm {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: var(--warm-white);
  transition: all .2s;
}
.coach-clip:hover .pl-sm { background: var(--gold); border-color: var(--gold); color: #111; }

/* ─── FLEXIBLE LEARNING (Section 6) ──────────────────────── */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .glass-grid { grid-template-columns: 1fr; } }

.glass {
  position: relative;
  padding: 38px 32px 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  min-height: 380px;
  display: flex; flex-direction: column;
  transition: transform .35s ease, border-color .35s;
}
.glass:hover { transform: translateY(-4px); border-color: rgba(199,203,209,0.4); }
.glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}
.glass::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,203,209,0.22), transparent 70%);
  top: -80px; right: -80px;
  filter: blur(20px);
  pointer-events: none;
}
.glass .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--gold);
  position: relative; z-index: 1;
}
.glass h3 {
  font-size: 26px;
  margin: 22px 0 12px;
  position: relative; z-index: 1;
}
.glass p { color: var(--text-dim); font-size: 15px; line-height: 1.55; margin: 0 0 24px; position: relative; z-index: 1; }
.glass .meta {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  position: relative; z-index: 1;
}
.glass .meta .badge {
  background: rgba(199,203,209,0.1);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ─── COMMUNITY / SOCIAL (Section 7) ─────────────────────── */
.reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .reels { grid-template-columns: repeat(2, 1fr); } }

.reel {
  aspect-ratio: 9/16;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #161616;
  cursor: pointer;
  transition: transform .3s;
}
.reel:hover { transform: scale(1.02); }
.reel-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.reel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%);
}
.reel-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  z-index: 2;
  font-size: 11px;
  color: var(--warm-white);
  display: flex; justify-content: space-between; align-items: center;
}
.reel-info .views { display: flex; align-items: center; gap: 5px; opacity: 0.85; }
.reel-info .handle { font-weight: 600; }

.social-cta {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(199,203,209,0.04);
}
.social-cta .left {
  display: flex; align-items: center; gap: 18px;
}
.social-cta .handle-big {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.social-cta .icons { display: flex; gap: 10px; color: var(--gold); }

/* ─── FINAL CTA (Section 8) ──────────────────────────────── */
.final {
  text-align: center;
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}
.final-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(199,203,209,0.18) 0%, transparent 65%),
    linear-gradient(180deg, #0b0b0c 0%, #141414 100%);
}
.final h2 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.final h2 .gold {
  color: var(--gold);
  font-family: 'Playfair Display', 'Montserrat', serif;
  font-style: italic;
  font-weight: 500;
}
.final p {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.55;
  max-width: 620px;
  margin: 28px auto 40px;
}
.final-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-matte);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--text-dim); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--warm-white); }
/* ─── FOOTER PRIVACY ROW ─────────────────────────────────── */
.footer-privacy {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
@media (max-width: 880px) {
  .footer-privacy { grid-template-columns: 1fr; gap: 18px; }
}
.footer-privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-privacy-label svg { color: var(--gold); }

.footer-privacy-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-dim);
  transition: all .2s;
  text-align: left;
  line-height: 1.3;
}
.footer-privacy-link:hover {
  background: rgba(199,203,209,0.06);
  border-color: var(--gold);
  color: var(--warm-white);
}
.footer-privacy-link svg { color: var(--text-faint); flex-shrink: 0; }
.footer-privacy-link:hover svg { color: var(--gold); }
.footer-privacy-code {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(199,203,209,0.1);
  border: 1px solid rgba(199,203,209,0.25);
  flex-shrink: 0;
}

.footer-dmca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: all .2s;
  justify-self: end;
}
@media (max-width: 880px) { .footer-dmca { justify-self: start; } }
.footer-dmca-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #111;
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.footer-dmca-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-dmca-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--warm-white);
}
.footer-dmca-text small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ─── STICKY MOBILE CTA ──────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 49;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(199,203,209,0.4);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.6);
  animation: stickyIn .4s ease;
}
.sticky-cta .label { font-size: 13px; font-weight: 600; }
.sticky-cta .label small { display: block; font-size: 10px; font-weight: 400; color: var(--text-dim); letter-spacing: 0.04em; }
@media (max-width: 780px) {
  .sticky-cta.visible { display: flex; }
}
@keyframes stickyIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ─── LIVE CHAT BUBBLE ───────────────────────────────────── */
.chat-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 48;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: grid; place-items: center;
  box-shadow: 0 12px 36px -8px rgba(199,203,209,0.5), 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform .25s ease;
  border: none;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble::after {
  content: "";
  position: absolute;
  top: 4px; right: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bg-matte);
}
.chat-panel {
  position: fixed;
  bottom: 100px; right: 24px;
  z-index: 48;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--bg-matte);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
}
.chat-panel.open { display: flex; animation: panelIn .25s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.chat-head {
  padding: 16px 18px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 12px;
}
.chat-head .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #111; display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
}
.chat-head .who { font-weight: 600; font-size: 13px; }
.chat-head .status {
  font-size: 10.5px; color: #22c55e; letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 6px;
}
.chat-head .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.chat-msgs {
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px; line-height: 1.4;
}
.chat-msg {
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px 14px 14px 4px;
  max-width: 82%;
}
.chat-msg.me {
  background: var(--gold); color: #111;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}
.chat-input {
  display: flex; gap: 8px;
  padding: 12px; border-top: 1px solid rgba(255,255,255,0.06);
}
.chat-input input {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--warm-white);
  border-radius: 999px; padding: 10px 14px;
  font-size: 13px; outline: none;
  font-family: inherit;
}
.chat-input input:focus { border-color: var(--gold); }
.chat-input button {
  background: var(--gold); color: #111;
  border: none; border-radius: 50%;
  width: 38px; height: 38px;
  display: grid; place-items: center;
}

/* ─── STATE PICKER ──────────────────────────────────────── */
.state-picker .section-head { max-width: 760px; }

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .state-grid { grid-template-columns: 1fr; } }

.state-card {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-matte);
  border: 1px solid rgba(255,255,255,0.08);
  isolation: isolate;
  transition: transform .4s ease, border-color .4s ease;
  min-height: 520px;
  color: var(--warm-white);
}
.state-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199,203,209,0.5);
}

.state-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(80% 60% at 80% 0%, color-mix(in oklch, var(--state-accent) 35%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, #181818 0%, #0e0e0e 100%);
  transition: opacity .4s;
}
.state-card:hover .state-card-bg {
  background:
    radial-gradient(80% 60% at 80% 0%, color-mix(in oklch, var(--state-accent) 55%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, #181818 0%, #0e0e0e 100%);
}

.state-card-content {
  position: relative;
  z-index: 1;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
}

.state-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.state-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.state-card-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 11px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--warm-white);
}

.state-card-shape {
  margin: 28px 0 24px;
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform .5s ease;
  box-shadow: 0 20px 40px -20px color-mix(in oklch, var(--state-accent) 50%, transparent);
  border: 1px solid color-mix(in oklch, var(--state-accent) 25%, transparent);
}
.state-card:hover .state-card-shape {
  transform: translateY(-2px);
  box-shadow: 0 28px 50px -20px color-mix(in oklch, var(--state-accent) 65%, transparent);
}
.state-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s ease;
}
.state-card:hover .state-card-photo { transform: scale(1.06); }
.state-card-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(11,11,12,0.45) 100%),
    radial-gradient(80% 60% at 50% 0%, color-mix(in oklch, var(--state-accent) 22%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.state-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(80% 60% at 50% 35%, color-mix(in oklch, var(--state-accent) 35%, #0e0e0e) 0%, #0e0e0e 70%),
    #0e0e0e;
  position: relative;
}
.state-card-photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255,255,255,0.025) 20px, rgba(255,255,255,0.025) 21px);
}
.state-card-photo-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: color-mix(in oklch, var(--state-accent) 85%, white);
  position: relative;
}
.state-card-photo-placeholder small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  position: relative;
}

.state-card-body {
  text-align: left;
}
.state-card-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.state-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 14px;
}
.state-card-desc {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

.state-card-foot {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.state-card-stat .k {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--warm-white);
  display: inline-block;
}
.state-card-stat .k small {
  font-size: 15px;
  color: var(--gold);
  margin-left: 3px;
  font-weight: 600;
}
.state-card-stat .v {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-transform: uppercase;
}
.state-card-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center;
  color: var(--warm-white);
  transition: all .3s ease;
}
.state-card:hover .state-card-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  transform: rotate(-45deg);
}

/* ─── CAREER MATCH QUIZ MODAL ────────────────────────────── */
.quiz-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.quiz-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid rgba(199,203,209,0.22);
  border-radius: 22px;
  padding: 44px 48px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
  animation: quizIn .35s cubic-bezier(.16,.84,.36,1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
@media (max-width: 620px) { .quiz-modal { padding: 32px 24px; } }
@keyframes quizIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.quiz-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--warm-white);
  display: grid; place-items: center;
  transition: all .2s;
}
.quiz-close:hover { background: var(--gold); color: #111; border-color: var(--gold); }

.quiz-progress {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--gold);
  transition: width .4s ease;
}

.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.quiz-step {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.quiz-q {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  font-weight: 700;
}

.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-answer {
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: var(--warm-white);
  text-align: left;
  font-size: 15px;
  line-height: 1.35;
  transition: all .2s ease;
}
.quiz-answer:hover {
  background: rgba(199,203,209,0.08);
  border-color: var(--gold);
  transform: translateX(2px);
}
.quiz-answer-ix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(199,203,209,0.35);
  display: grid; place-items: center;
}
.quiz-answer-arrow {
  color: var(--text-faint);
  transition: all .25s;
}
.quiz-answer:hover .quiz-answer-arrow { color: var(--gold); transform: translateX(4px); }

.quiz-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}
.quiz-back {
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font-size: 13px;
  font-family: inherit;
  padding: 8px 0;
  transition: color .2s;
}
.quiz-back:hover:not(:disabled) { color: var(--warm-white); }
.quiz-back:disabled { opacity: 0.3; cursor: default; }
.quiz-dots { display: flex; gap: 6px; }
.quiz-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: all .3s;
}
.quiz-dot.done   { background: var(--gold); }
.quiz-dot.active { background: var(--warm-white); transform: scale(1.4); }

/* ─── RESULT ──────────────────────────────────── */
.quiz-result { display: flex; flex-direction: column; gap: 0; }
.quiz-result-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.quiz-result-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  font-weight: 700;
}
.quiz-result-name .gold {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
}
.quiz-result-tag {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  margin-bottom: 22px;
}
.quiz-result-blurb {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px;
}
.quiz-result-track {
  padding: 22px 24px;
  border: 1px solid rgba(199,203,209,0.25);
  border-radius: 16px;
  background: rgba(199,203,209,0.05);
  margin-bottom: 32px;
}
.quiz-result-track-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.quiz-result-track-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.quiz-result-track-why {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
/* ─── LEAD CAPTURE (quiz result) ────────────────── */
.quiz-lead {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 28px;
}
.quiz-lead-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--warm-white);
}
.quiz-lead-head svg { color: var(--gold); flex-shrink: 0; }
.quiz-lead-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-black);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 11px;
  color: var(--warm-white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.quiz-input::placeholder { color: var(--text-faint); }
.quiz-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(199,203,209,0.04);
}
.quiz-lead-error {
  font-size: 13px;
  color: #E2735A;
  margin: -2px 2px 0;
}
.quiz-lead-submit { width: 100%; justify-content: center; }
.quiz-lead-fine {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-faint);
  text-align: center;
}
.quiz-lead-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 24px;
  border: 1px solid rgba(199,203,209,0.25);
  border-radius: 16px;
  background: rgba(199,203,209,0.05);
  margin-bottom: 28px;
}
.quiz-lead-success-check {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(199,203,209,0.14);
  border: 1px solid rgba(199,203,209,0.4);
  color: var(--gold);
}
.quiz-lead-success-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.quiz-lead-success-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 380px;
}
.quiz-lead-success-text strong { color: var(--warm-white); }

.quiz-result-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  position: relative;
  margin: 0;
  padding: 56px 36px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.testimonial:hover {
  border-color: rgba(199,203,209,0.4);
  transform: translateY(-3px);
}
.testimonial::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,203,209,0.14), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.testimonial-mark {
  position: absolute;
  top: 18px;
  left: 30px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}
.testimonial-quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--warm-white);
  position: relative;
  flex: 1;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.testimonial-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #111;
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.quiz {
  background: linear-gradient(120deg, var(--bg-matte) 0%, #1a1714 100%);
  border-radius: 22px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--line);
  margin-top: 60px;
  overflow: hidden;
  position: relative;
}
.quiz::before {
  content: "";
  position: absolute;
  right: -100px; top: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,203,209,0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.quiz > div,
.quiz .btn { position: relative; z-index: 1; }
@media (max-width: 780px) { .quiz { grid-template-columns: 1fr; padding: 28px; } }
.quiz h3 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}
.quiz p { color: var(--text-dim); font-size: 14px; margin: 10px 0 0; }

/* ─── FADE-IN ON SCROLL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MARQUEE ─────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin-top: 80px;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: scroll 35s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  color: var(--warm-white);
  white-space: nowrap;
}
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
