*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html { background: radial-gradient(circle at top left,rgba(124,92,252,0.15), transparent 35%),#10131f;; }
/* body { font-family: 'Inter', sans-serif; background: linear-gradient(180deg, #10131f 0%, #151827 45%, #11131d 100%); color: #d0d4e0; line-height: 1.6; overflow-x: hidden; position: relative; } */
body { font-family: 'Inter', sans-serif; background: #10131f; color: #d0d4e0; line-height: 1.6; overflow-x: hidden; position: relative; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; top: -100%; left: 1rem; background: #eafe00; color: #0a0e1a; padding: .5rem 1rem; border-radius: 4px; z-index: 999; font-weight: 600; }
.skip-link:focus { top: .5rem; }

:root { --bg-deep: #10131f; --bg-card: rgba(22, 27, 43, 0.72); --bg-card-hover: rgba(30, 36, 56, 0.85); --bg-tint: #151827; --gold: #eafe00; --gold-hover: #f4ff4d; --purple: #7c5cfc; --purple-light: #a78bfa; --text-primary: #eceef4; --text-secondary: #8b90a8; --text-muted: #5c6180; --border: rgba(255,255,255,0.06); --radius: 10px; --radius-lg: 14px; --max-w: 100%; --nav-h: 75px; --gutter: clamp(1.2rem, 3vw, 3rem); --nav-surface: rgba(16, 19, 31, 0.82); }

/* NAVBAR */
.nav-menu.open {
  display: flex;
}

.nav-dropdown-panel[data-open="true"] {
  display: block;
}
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: rgba(5, 8, 18, 0.12); backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%); border-bottom: 1px solid rgba(255,255,255,0.06); }
.navbar { max-width: 100%; margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 4rem); height: 72px; display: flex; align-items: center; gap: 2.5rem; }
.brand { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.brand-icon { width: 32px; height: 32px; }
.brand-text { font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }
.brand-learn { color: var(--text-primary); } .brand-ai { color: var(--gold); } .brand-tv { color: var(--text-primary); }
.nav-menu { display: flex; align-items: center; gap: 1.65rem; margin-left: 2.5rem; }
.nav-menu a, .nav-dropdown-trigger { padding: .35rem 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); border-radius: 0; transition: color .2s, opacity .2s; }
.nav-menu a:hover, .nav-dropdown-trigger:hover { color: #fff; background: transparent; }
.nav-menu .nav-link-active {
  background: transparent;
  color: #fff !important;
}
.nav-link-active::after {
  display: none;
}
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: .3rem; font-size: .9rem; color: var(--text-secondary); }
.nav-chevron { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .2s; }
.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
/* ── Desktop dropdown — same surface as the navbar ── */
.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 200px;
  padding: .5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  /* Match the navbar: same dark tone + blur */
  background: var(--nav-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.nav-dropdown-panel[data-open="true"] { display: block; }
.nav-dropdown-panel a { display: block; padding: .5rem .75rem; border-radius: 6px; font-size: .85rem; }
.nav-dropdown-panel a:hover { background: rgba(255,255,255,0.06); }

/* ── MEGA MENU (Coursera-style) ───────────────────────────── */
.nav-dropdown--mega { position: static; }
.nav-mega-panel {
  display: none;
  position: absolute;
  top: calc(var(--nav-h) + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(1100px, calc(100vw - 2rem));
  padding: 1.5rem 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--nav-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 250;
}
.nav-mega-panel[data-open="true"] {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.nav-mega-col {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding-right: 1rem;
  border-right: 1px solid var(--border);
}
.nav-mega-col:last-child { border-right: none; padding-right: 0; }
.nav-mega-head { display: flex; flex-direction: column; gap: .15rem; padding-bottom: .25rem; }
.nav-mega-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-light);
}
.nav-mega-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.nav-mega-sub { font-size: .78rem; color: var(--text-muted); margin: 0; }
.nav-mega-list { display: flex; flex-direction: column; gap: .1rem; }
.nav-mega-list a {
  display: block;
  padding: .45rem .55rem;
  border-radius: 6px;
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.35;
  transition: color .15s, background .15s, transform .15s;
}
.nav-mega-list a:hover {
  color: var(--text-primary);
  background: rgba(124, 92, 252, 0.08);
  transform: translateX(2px);
}
.nav-cta--bar { margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; border-radius: 50px; transition: all .2s; white-space: nowrap; }
.btn-gold { background: var(--gold); color: #0a0e1a; padding: .5rem 1.4rem; font-size: .85rem; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-gold-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); padding: .45rem 1.2rem; font-size: .8rem; }
.btn-gold-outline:hover { background: var(--gold); color: #0a0e1a; }

/* ── STREAM ANYWHERE BUTTON (premium sliding reveal) ── */
.stream-cta {
  position: relative;
  display: inline-block;
  border-radius: 999px;
  min-height: 52px;
  min-width: 240px;
  isolation: isolate;
}
.stream-cta--hero { min-height: 56px; min-width: 420px; }

/* The button — gold gradient, refined */
.stream-cta-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  height: 100%;
  width: 100%;
  padding: .7rem 1.4rem;
  justify-content: center;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .015em;
  color: #0a0e1a;
  background: linear-gradient(180deg, #f6ff66 0%, var(--gold) 55%, #d6e600 100%);
  border: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 8px 28px -8px rgba(234, 254, 0, .55),
    0 2px 6px rgba(0,0,0,.25);
  transform: translateX(0);
  opacity: 1;
  transition: transform .55s cubic-bezier(.6,.05,.2,1), opacity .35s ease, box-shadow .25s ease, filter .25s ease;
  will-change: transform, opacity;
}
.stream-cta-btn:hover {
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 12px 36px -8px rgba(234, 254, 0, .7),
    0 2px 8px rgba(0,0,0,.3);
}
.stream-cta-btn:active { transform: translateY(1px); }

.stream-cta-label { white-space: nowrap; }

.stream-cta-arrow {
  display: inline-flex;
  margin-left: .25rem;
  opacity: .55;
  transform: translateX(0);
  transition: transform .25s ease, opacity .25s ease;
}
.stream-cta-btn:hover .stream-cta-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Platforms pill — refined, with thin dividers */
.stream-cta-platforms {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0;
  padding: .55rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6ff66 0%, var(--gold) 55%, #d6e600 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 8px 28px -8px rgba(234, 254, 0, .55),
    0 2px 6px rgba(0,0,0,.25);
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .65s cubic-bezier(.6,.05,.2,1), opacity .4s ease;
  white-space: nowrap;
}
.stream-platform {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .9rem;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .015em;
  color: #0a0e1a;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .35s ease, transform .35s ease;
}
.stream-platform + .stream-platform::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(10, 14, 26, .25);
}

.stream-cta[data-state="open"] .stream-cta-btn {
  transform: translateX(105%);
  opacity: 0;
  pointer-events: none;
}
.stream-cta[data-state="open"] .stream-cta-platforms {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.stream-cta[data-state="open"] .stream-platform {
  opacity: 1;
  transform: translateX(0);
}
.stream-cta[data-state="open"] .stream-platform:nth-child(1) { transition-delay: .22s; }
.stream-cta[data-state="open"] .stream-platform:nth-child(2) { transition-delay: .32s; }
.stream-cta[data-state="open"] .stream-platform:nth-child(3) { transition-delay: .42s; }
.stream-cta[data-state="open"] .stream-platform:nth-child(4) { transition-delay: .52s; }

@media (prefers-reduced-motion: reduce) {
  .stream-cta-btn, .stream-cta-platforms { transition-duration: .25s; }
}
.btn-lg { padding: .65rem 1.8rem; font-size: .95rem; }
.nav-toggle { display: none; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all .3s; }
.nav-toggle-bar + .nav-toggle-bar { margin-top: 5px; }
.nav-cta--drawer { display: none; }

/* HERO */
#main { position: relative; z-index: 0; }

/* SIMPLE HERO — dropout.tv-style: full-bleed video at the top with a single
   tagline overlaid in the lower-middle. Replaces the original .hero layout. */
   .hero-simple { position: relative; width: 100%; height: 100vh; min-height: 620px; margin-top: 0; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; justify-content: center; }
.hero-simple-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: -2; pointer-events: none; filter: brightness(.72) contrast(1.08) saturate(1.12); transform: scale(1.04); }
.hero-simple-overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.04) 30%, rgba(0,0,0,.32) 70%, rgba(16,19,31,.88) 94%, #10131f 100%); }
.hero-simple-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5rem;

  width: 100%;
  max-width: 1600px;

  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);

  display: flex;
  justify-content: flex-end;
  align-items: flex-end;

  z-index: 3;
}

.hero-stream-pill {
  display: flex;
  align-items: center;
  gap: .9rem;

  padding: 1rem 1.25rem;

  border-radius: 18px;

  background: rgba(6,10,24,.58);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,.08);

  box-shadow:
    0 0 30px rgba(0,0,0,.35),
    0 0 60px rgba(90,120,255,.08);
}

.hero-stream-pill-icon {
  flex-shrink: 0;
  color: rgba(255,255,255,.78);
}

.hero-stream-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-stream-pill-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #f5d96b;
  margin-bottom: .2rem;
}

.hero-stream-pill-platforms {
  font-size: .92rem;
  color: rgba(255,255,255,.82);
}
.hero-simple-title { font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(1.55rem, 3.2vw, 2.7rem); line-height: 1.18; color: rgba(255,255,255,.92); text-shadow: 0 2px 10px rgba(0,0,0,.45), 0 0 30px rgba(0,0,0,.18); margin: 0 auto; max-width: 32ch; }
@media (prefers-reduced-motion: reduce) {
  .hero-simple-video { display: none; }
  .hero-simple { background: #10131f; }
}

/* Tablet (iPad portrait/landscape, mid-size laptops) — keep video framing
   tasteful and shrink the stream pill so it doesn't crowd the gutters. */
@media (min-width: 721px) and (max-width: 1024px) {
  .hero-simple { height: clamp(460px, 72vh, 640px); min-height: 460px; }
  .hero-simple-video { object-position: center 35%; transform: scale(1.08); }
  .hero-simple-content { bottom: 2rem; padding: 0 clamp(1.25rem, 3vw, 2.5rem); }
  .hero-stream-pill { padding: .85rem 1.05rem; gap: .75rem; }
  .hero-stream-pill-title { font-size: .68rem; }
  .hero-stream-pill-platforms { font-size: .85rem; }
}

@media (max-width: 720px) {
  .hero-simple { height: clamp(360px, 62vh, 540px); }
  .hero-simple-title { font-size: clamp(1.35rem, 5.5vw, 2rem); max-width: 24ch; }
  .hero-simple-content { bottom: 1.25rem; justify-content: center; padding: 0 1rem; }
  .hero-stream-pill { padding: .7rem .95rem; gap: .65rem; }
  .hero-stream-pill-icon { width: 18px; height: 18px; }
  .hero-stream-pill-title { font-size: .62rem; letter-spacing: .14em; }
  .hero-stream-pill-platforms { font-size: .8rem; }
}

/* SECTIONS */
.section { padding: 2.5rem var(--gutter); max-width: var(--max-w); margin: 0 auto; }
.section-head { margin-bottom: 1.75rem; }
.section-head h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.6rem; color: var(--text-primary); }

/* FAQs */
.faqs-section { padding-top: 3.5rem; padding-bottom: 4.5rem; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.faqs-section .section-head { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 2.25rem; }
.faqs-eyebrow {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--gold);
  margin-bottom: .55rem;
}
.faqs-section .section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.faqs-subtitle { color: var(--text-secondary); font-size: .98rem; margin-top: .55rem; }
.faqs-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.faq-item {
  background: rgba(22, 27, 43, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.14); background: rgba(30, 36, 56, 0.72); }
.faq-item[open] { border-color: rgba(124, 92, 252, 0.45); background: rgba(30, 36, 56, 0.78); }
.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q-text { flex: 1; line-height: 1.35; }
.faq-q-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: inline-block;
}
.faq-q-icon::before,
.faq-q-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .25s ease, background .25s ease;
}
.faq-q-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-q-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-q-icon::before { background: var(--gold); }
.faq-item[open] .faq-q-icon::after  { background: var(--gold); }
.faq-a {
  padding: 0 1.25rem 1.2rem;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.65;
}
.faq-a p { margin: 0; }
.faq-a a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
.faq-a a:hover { color: var(--gold); }
@media (max-width: 600px) {
  .faqs-section { padding-top: 2.5rem; padding-bottom: 3rem; }
  .faq-q { padding: .95rem 1rem; font-size: 1rem; }
  .faq-a { padding: 0 1rem 1rem; font-size: .92rem; }
}

/* TRACK ROWS */
.track-row { background: rgba(22, 27, 43, 0.58); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; display: flex; overflow: hidden; margin-bottom: 1rem; box-shadow: 0 20px 60px rgba(0,0,0,0.28); }
.track-info { flex: 0 0 280px; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,0.05); background: linear-gradient(180deg, rgba(124,92,252,0.12), rgba(255,255,255,0.02)); }
.track-logo { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 600; color: var(--purple-light); margin-bottom: .75rem; }
.track-logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.track-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; color: var(--text-primary); line-height: 1.3; margin-bottom: .35rem; }
.track-subtitle { font-size: .8rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.5; }
.track-stats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.track-stat { font-size: .7rem; font-weight: 500; color: var(--text-secondary); background: rgba(124,92,252,0.08); border: 1px solid rgba(124,92,252,0.12); padding: .2rem .55rem; border-radius: 50px; }
.track-cta { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; border-radius: 50px; background: linear-gradient(135deg, #7c3aed, #4f46e5); color: white; border: 0; padding: .5rem 1.2rem; font-size: .8rem; transition: all .2s; text-align: center; box-shadow: 0 12px 30px rgba(124,58,237,0.35); }
.track-cta:hover { background: var(--gold); color: #0a0e1a; border-color: var(--gold); }
.track-courses-wrap { flex: 1; min-width: 0; position: relative; }
.track-courses { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 1rem; scroll-padding-left: 1rem; scroll-padding-right: 1rem; height: 100%; align-items: stretch; -ms-overflow-style: none; scrollbar-width: none; }
.track-courses::-webkit-scrollbar { display: none; }

/* COURSE CARDS — Dropout-style: bare image with title plainly below */
.course-card { flex: 0 0 240px; scroll-snap-align: start; background: transparent; border: none; border-radius: 0; display: flex; flex-direction: column; gap: .65rem; transition: transform .2s ease; }
.course-card:hover { transform: translateY(-3px); }
.course-card-thumb { aspect-ratio: 2 / 3; overflow: hidden; background: #1a1a1a; position: relative; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); transition: box-shadow .2s ease; }
.course-card:hover .course-card-thumb { box-shadow: 0 10px 30px rgba(0,0,0,0.7); }
.course-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.course-card:hover .course-card-thumb img { transform: scale(1.03); }
.course-card-badge { position: absolute; top: .5rem; left: .5rem; display: inline-flex; align-items: center; gap: .3rem; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); padding: .2rem .5rem; border-radius: 4px; font-size: .6rem; font-weight: 600; color: #fff; }
.course-card-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.course-card-body { padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.course-card-title { font-weight: 600; font-size: .95rem; color: var(--text-primary); line-height: 1.3; }
.course-card-meta { font-size: .78rem; color: var(--text-muted); }

/* LANDSCAPE TRACK VARIANT
   Opt-in by adding `track-row--landscape` to the track-row element. The
   cards become wider (340px) and use a 16:9 thumb so the landscape covers
   in /placards/Landscape placards/ render at their native aspect ratio.
   Only the home-page card changes shape; the modal that opens on click
   still uses the portrait poster declared in course-data.js. */
.track-row--landscape .course-card { flex: 0 0 460px; }
.track-row--landscape .course-card-thumb { aspect-ratio: 16 / 9; }
.track-row--landscape .course-card-title { font-size: 1.05rem; }
.track-row--landscape .course-card-meta { font-size: .82rem; }
@media (max-width: 1100px) {
  .track-row--landscape .course-card { flex: 0 0 400px; }
}
@media (max-width: 900px) {
  .track-row--landscape .course-card { flex: 0 0 340px; }
}
@media (max-width: 600px) {
  .track-row--landscape .course-card { flex: 0 0 280px; }
}

/* TRACK ARROWS — Netflix style */
.track-arrow { position: absolute; top: 0; bottom: 0; width: 48px; z-index: 10; display: flex; align-items: center; justify-content: center; color: #fff; border: none; cursor: pointer; opacity: 0; transition: opacity .25s ease, background .25s ease; background: rgba(20, 20, 20, 0.5); padding: 0; }
.track-arrow svg { width: 32px; height: 32px; transition: transform .15s ease; }
.track-courses-wrap:hover .track-arrow:not([hidden]),
.track-arrow:focus-visible { opacity: 1; }
.track-arrow:hover { background: rgba(20, 20, 20, 0.7); }
.track-arrow:hover svg { transform: scale(1.25); }
.track-arrow--left { left: 0; }
.track-arrow--right { right: 0; }
.track-arrow[hidden] { display: none; }

/* WATCH ANYWHERE */
/* WATCH STRIP — floating glass pill: "✦ Stream Anywhere — Web · iOS · Android · Smart TVs" */
/* .watch-strip {
  position: relative;
  margin-top: var(--nav-h);
  padding: 1rem 1rem .25rem;
  display: flex;
  justify-content: center;
  background: transparent;
  z-index: 50;
  pointer-events: none; /* let the pill itself capture pointer events */ 
.watch-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .35rem .85rem .35rem .55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 8px 28px rgba(0,0,0,0.35),
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 -1px 0 rgba(0,0,0,0.25) inset;
  font-size: .78rem;
  line-height: 1;
  color: rgba(255,255,255,0.85);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.watch-pill:hover {
  border-color: rgba(234,254,0,0.25);
  box-shadow:
    0 10px 32px rgba(0,0,0,0.45),
    0 0 0 1px rgba(234,254,0,0.08),
    0 1px 0 rgba(255,255,255,0.08) inset;
  transform: translateY(-1px);
}
.watch-pill-spark {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(234,254,0,0.55), rgba(234,254,0,0.05) 70%);
  color: var(--gold);
  font-size: .85rem;
  text-shadow: 0 0 8px rgba(234,254,0,0.7);
  flex-shrink: 0;
}
.watch-pill-tag {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-style: italic;
  font-size: .82rem;
  letter-spacing: .005em;
  color: #fff;
  white-space: nowrap;
}
.watch-pill-em {
  color: rgba(255,255,255,0.25);
  font-weight: 300;
  margin: 0 .15rem;
}
.watch-pill-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.watch-pill-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0 .65rem;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: rgba(255,255,255,0.72);
  position: relative;
  transition: color .25s ease;
}
.watch-pill-item + .watch-pill-item::before {
  content: '\2022'; /* • */
  position: absolute; left: -2px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.18);
  font-size: .7rem;
}
.watch-pill-item svg {
  color: var(--gold);
  opacity: .55;
  flex-shrink: 0;
  transition: opacity .25s ease, filter .25s ease;
}
.watch-pill-item:hover { color: #fff; }
.watch-pill-item:hover svg {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(234,254,0,0.5));
}
@media (max-width: 560px) {
  .watch-strip { padding: .75rem .75rem 0; }
  .watch-pill { gap: .4rem; padding: .3rem .7rem .3rem .4rem; }
  .watch-pill-tag { font-size: .76rem; }
  .watch-pill-em { display: none; }
  .watch-pill-item { padding: 0 .45rem; font-size: .7rem; letter-spacing: .02em; }
  .watch-pill-item svg { display: none; }
}

.section-watch { max-width: 100%; padding: 3.5rem 2rem; background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-tint) 50%, var(--bg-deep) 100%); }
.watch-wrap { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.watch-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.6rem; color: var(--text-primary); margin-bottom: .5rem; }
.watch-subtitle { font-size: .95rem; color: var(--text-secondary); margin-bottom: 2rem; }
.watch-icons { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.watch-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1rem; min-width: 220px; flex: 0 1 280px; transition: border-color .2s; }
.watch-card:hover { border-color: rgba(124,92,252,0.2); }
.watch-card-icon { flex-shrink: 0; color: var(--purple-light); opacity: .85; }
.watch-card-info { text-align: left; }
.watch-card-title { font-weight: 700; font-size: .95rem; color: var(--text-primary); display: block; }
.watch-card-text { font-size: .78rem; color: var(--text-muted); }

/* PODCAST */
/* Horizontal scroll row that holds one or more podcast features.
   Same pattern as .track-courses-wrap below: each .podcast-feature is a
   full-width snapping slide, arrows live on the wrapper and auto-hide
   at the ends via the JS handler near the bottom of <body>. */
.podcast-row-wrap { position: relative; min-width: 0; }
.podcast-row { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 0 .75rem; scroll-padding-left: 0; scroll-padding-right: 0; -ms-overflow-style: none; scrollbar-width: none; }
.podcast-row::-webkit-scrollbar { display: none; }
.podcast-feature { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; max-width: 100%; }
.podcast-arrow { position: absolute; top: 0; bottom: 1rem; width: 48px; z-index: 10; display: flex; align-items: center; justify-content: center; color: #fff; border: none; cursor: pointer; opacity: 0; transition: opacity .25s ease, background .25s ease; background: rgba(20, 20, 20, 0.5); padding: 0; border-radius: var(--radius-lg); }
.podcast-arrow svg { width: 32px; height: 32px; transition: transform .15s ease; }
.podcast-row-wrap:hover .podcast-arrow:not([hidden]),
.podcast-arrow:focus-visible { opacity: 1; }
.podcast-arrow:hover { background: rgba(20, 20, 20, 0.7); }
.podcast-arrow:hover svg { transform: scale(1.25); }
.podcast-arrow--left { left: 0; }
.podcast-arrow--right { right: 0; }
.podcast-arrow[hidden] { display: none; }
.podcast-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: rgba(20, 20, 20, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.podcast-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); border-color: rgba(124,92,252,0.2); }
.podcast-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #161d3f 0%, #1a1f35 100%); }
.podcast-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.podcast-card:hover .podcast-thumb img { transform: scale(1.03); }
.podcast-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(234,254,0,0.35); }
.podcast-play::after { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #0a0e1a; margin-left: 3px; }
.podcast-body { padding: 2rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.podcast-exclusive {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: .6rem;
}
.podcast-exclusive::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .6;
  margin-right: .15rem;
}
.podcast-exclusive-brand {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--text-primary);
}
.podcast-exclusive-brand .brand-ai { color: var(--gold); }
.podcast-tagline { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; color: var(--text-primary); margin-bottom: .5rem; }
.podcast-desc { font-size: .88rem; color: var(--text-secondary); line-height: 1.65; }

/* ── "FEATURE YOUR PODCAST" MARQUEE ───────────────────────────────────
   A horizontally auto-scrolling row of placeholder podcast cards that
   slides right-to-left under the Podcasts section. The HTML contains
   two identical sets of cards inside .podcast-marquee-track. The track
   animates from translateX(0) to translateX(-50%), so at the loop point
   the second set is exactly where the first set started — seamless.
   Animation pauses on hover (so users can read/click) and is disabled
   entirely under prefers-reduced-motion. */
.ad-section { padding-top: 1rem; }
.podcast-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  padding: .5rem 0;
  /* Soft fade at both edges so cards slide in/out gracefully. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.podcast-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0 var(--gutter);
  animation: podcastMarquee 38s linear infinite;
  will-change: transform;
}
.podcast-marquee:hover .podcast-marquee-track,
.podcast-marquee:focus-within .podcast-marquee-track {
  animation-play-state: paused;
}
@keyframes podcastMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .podcast-marquee-track { animation: none; }
  .podcast-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* Individual placeholder card — visually echoes .podcast-card but
   simplified for a quick-glance "your show here" read. */
.podcast-slot {
  display: grid;
  grid-template-columns: 150px 1fr;
  flex: 0 0 360px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.podcast-slot:hover,
.podcast-slot:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(234, 254, 0, 0.55);
  background: rgba(28, 28, 38, 0.85);
  outline: none;
}
.podcast-slot-thumb {
  position: relative;
  /* Fallback shaded pattern shows through if the .webp 404s or is slow. */
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, rgba(124,92,252,0.12), rgba(234,254,0,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.podcast-slot-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
/* Dark scrim keeps the play button + "Slot 0X" badge legible over any artwork. */
.podcast-slot-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.podcast-slot-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: 1.5px solid rgba(255,255,255,0.7);
  position: relative;
  z-index: 2;
}
.podcast-slot-play::before {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 12px solid rgba(255,255,255,0.65);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.podcast-slot-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 2;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: .15rem .4rem;
}
.podcast-slot-body {
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .25rem;
  min-width: 0;
}
.podcast-slot-eyebrow {
  align-self: flex-start;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(234, 254, 0, 0.08);
  border: 1px solid rgba(234, 254, 0, 0.28);
  border-radius: 999px;
  padding: .15rem .55rem;
  margin-bottom: .15rem;
}
.podcast-slot-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
}
.podcast-slot-meta {
  font-size: .75rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 600px) {
  .podcast-slot { flex: 0 0 300px; grid-template-columns: 120px 1fr; }
  .podcast-slot-title { font-size: .95rem; }
}

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 3rem var(--gutter) 1.5rem; background: rgba(8, 8, 8, 0.92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-brand-col .brand { margin-bottom: .75rem; }
.footer-brand-col .brand-icon { width: 28px; height: 28px; }
.footer-about { font-size: .85rem; color: var(--text-secondary); line-height: 1.65; max-width: 300px; }
.footer-col-title { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { font-size: .85rem; color: var(--text-secondary); transition: color .2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-contact { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; }
.footer-contact-brand { margin-bottom: .5rem; }
.footer-contact-phones { margin-bottom: .5rem; }
.footer-contact-phones a { color: var(--gold); }
.footer-contact-phones a:hover { text-decoration: underline; }
.footer-contact-address { color: var(--text-muted); font-size: .8rem; }
.footer-bottom { padding-top: 1.25rem; text-align: center; }
.footer-meta { font-size: .75rem; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .podcast-card { grid-template-columns: 1fr; }
  .podcast-body { padding: 1.5rem; }
  .track-row { flex-direction: column; }
  .track-info { flex: none; border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem; }
  .track-courses { padding: 1rem 1.25rem; scroll-padding-left: 1.25rem; scroll-padding-right: 1.25rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .navbar { padding: 0 1rem; gap: 0; position: relative; }
  /* ── Mobile drawer — same surface as the navbar ── */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.5rem 1.25rem 2.5rem;
    gap: 0.25rem;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    outline: none;
    box-shadow: none;
    /* Match navbar color exactly */
    background: var(--bg-deep);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
    transform: translateZ(0);
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 400;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu > li {
    width: 100%;
    list-style: none;
  }
  .nav-menu > li > a,
  .nav-menu > li > .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 8px;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-menu > li > a:hover,
  .nav-menu > li > .nav-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
  }
  .nav-menu .nav-link-active { background: transparent !important; color: #fff !important; }
  .nav-menu .nav-dropdown {
    width: 100%;
  }
  /* ── Mobile sub-dropdown — same surface as navbar ── */
  .nav-menu .nav-dropdown-panel {
    position: static;
    display: none;
    width: 100%;
    margin: 0.35rem 0 0.5rem;
    padding: 0.35rem 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-deep);
    box-shadow: none;
    min-width: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-menu .nav-dropdown-panel[data-open="true"] {
    display: block;
  }
  .nav-menu .nav-dropdown-panel a {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
  }
  .nav-menu .nav-dropdown-panel a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
  }
  /* ── Mobile: collapse mega menu into stacked accordion-style sections ── */
  .nav-menu .nav-mega-panel {
    position: static;
    display: none;
    width: 100%;
    transform: none;
    padding: 0.5rem 0.25rem 0.25rem;
    margin: 0.35rem 0 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-deep);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu .nav-mega-panel[data-open="true"] { display: block; }
  .nav-menu .nav-mega-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .nav-menu .nav-mega-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  .nav-menu .nav-mega-col:last-child { border-bottom: none; }
  .nav-menu .nav-mega-title { font-size: 1rem; }
  .nav-menu .nav-mega-eyebrow { font-size: 0.65rem; }
  .nav-menu .nav-mega-sub { font-size: 0.75rem; }
  .nav-menu .nav-mega-list a {
    padding: 0.6rem 0.65rem;
    font-size: 0.9rem;
  }
  .nav-cta--bar { display: none; }
  .nav-cta--drawer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    width: 100%;
  }
  .nav-cta--drawer .btn {
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 0.5rem;
    position: relative;
    z-index: 410;
  }
  .section { padding: 2.5rem 1rem; }
  .watch-card { min-width: 0; flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .course-card { flex: 0 0 200px; }
}

/* ── ULTRA-LARGE SCREENS ──────────────────────────────────────────────
   On wide desktops (≥ 1440px) keep the LearnAI.TV brand pinned to the
   left, but center the rest of the nav links (Home, Podcasts, Learning
   Paths, etc.) within the viewport. Below this breakpoint the existing
   flex layout (left-aligned with a gap after the brand) is preserved.

   We use a 3-column grid (1fr | auto | 1fr) so the middle column gets
   true geometric centering relative to the navbar, not the leftover
   space after the brand. The empty third column balances the brand. */
@media (min-width: 1440px) {
  .navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }
  .brand { justify-self: start; }
  .nav-menu {
    justify-self: center;
    margin-left: 0;
  }
}

/* ─── CONTACT MODAL ──────────────────────────────────────────────────────
   Hosts an inline Typeform widget (form ID QTrLr16a). This version removes
   the ugly outer scrollbar by giving the iframe a full modal-height canvas. */
   .contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity .2s ease;
  }
  
  .contact-modal.is-open {
    opacity: 1;
  }
  
  .contact-modal[hidden] {
    display: none;
  }
  
  .contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 18, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  
  .contact-modal-card {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    height: min(720px, calc(100vh - 40px));
    max-height: 760px;
    overflow: hidden;
    padding: 0;
    background: rgba(16, 19, 31, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
    transform: translateY(8px) scale(0.98);
    transition: transform .25s ease;
  }
  
  .contact-modal.is-open .contact-modal-card {
    transform: translateY(0) scale(1);
  }
  
  .contact-modal-close {
    position: absolute;
    top: .55rem;
    right: .75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
  }
  
  .contact-modal-close:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
  }
  
  .contact-modal-header {
    height: 98px;
    padding: 28px 28px 0;
    margin: 0;
  }
  
  .contact-modal-title {
    font-family: 'Fraunces', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .25rem;
  }
  
  .contact-modal-subtitle {
    color: var(--text-secondary);
    font-size: .88rem;
  }
  
  .contact-modal-typeform {
    position: relative;
    width: 100%;
    height: calc(100% - 98px);
    overflow: hidden;
    border-radius: 0 0 18px 18px;
  }
  
  .contact-modal-typeform iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border: 0 !important;
    display: block;
    overflow: hidden !important;
  }
  
  .contact-modal-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: var(--text-secondary);
    font-size: .9rem;
  }
  
  .contact-modal-fallback a {
    color: var(--gold);
    text-decoration: underline;
  }
  
  @media (max-width: 560px) {
    .contact-modal {
      padding: .75rem;
    }
  
    .contact-modal-card {
      width: calc(100vw - 24px);
      height: calc(100vh - 24px);
      height: calc(100dvh - 24px);
      max-height: none;
      border-radius: 16px;
    }
  
    .contact-modal-header {
      height: 92px;
      padding: 24px 20px 0;
    }
  
    .contact-modal-title {
      font-size: 1.25rem;
    }
  
    .contact-modal-subtitle {
      font-size: .82rem;
    }
  
    .contact-modal-typeform {
      height: calc(100% - 92px);
    }
  }

/* ─── COURSE (SHOW DETAIL) MODAL — Netflix style ──────────────────────── */
.course-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: flex-start; justify-content: center; padding: 4rem 1rem 2rem; opacity: 0; transition: opacity .25s ease; overflow-y: auto; }
.course-modal.is-open { opacity: 1; }
.course-modal[hidden] { display: none; }
.course-modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.course-modal-card { position: relative; width: 100%; max-width: 920px; background: #181818; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,0.75); transform: translateY(16px) scale(0.97); transition: transform .3s cubic-bezier(.2,.7,.3,1); overflow: hidden; }
.course-modal.is-open .course-modal-card { transform: translateY(0) scale(1); }

/* Hero — portrait poster + side info */
.course-modal-hero { position: relative; display: grid; grid-template-columns: 280px 1fr; gap: 2rem; padding: 2.5rem 2.5rem 1.5rem; background: linear-gradient(180deg, #1f1f1f 0%, #181818 100%); overflow: hidden; }
.course-modal-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--course-modal-bg, none); background-size: cover; background-position: center; filter: blur(40px) brightness(.45) saturate(1.2); opacity: .55; transform: scale(1.15); pointer-events: none; z-index: 0; }
.course-modal-hero-poster { position: relative; z-index: 1; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.06); background: #0a0a0a; }
.course-modal-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.course-modal-hero-fade { display: none; }
.course-modal-hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0; }
.course-modal-genre { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .65rem; }
.course-modal-genre-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.course-modal-title { font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1.15; margin-bottom: .9rem; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.course-modal-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.course-modal-play { display: inline-flex; align-items: center; gap: .55rem; background: #fff; color: #000; padding: .65rem 1.6rem; border-radius: 4px; font-weight: 700; font-size: .95rem; transition: background .2s; }
.course-modal-play:hover { background: rgba(255,255,255,0.85); }
.course-modal-play-icon { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #000; }

/* Close button */
.course-modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: rgba(24,24,24,0.85); color: #fff; font-size: 1.2rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.course-modal-close:hover { background: #181818; transform: scale(1.05); }
.course-modal-close::before { content: '✕'; }

/* Body — meta and description live inside the hero column now, so this is just description overflow */
.course-modal-body { padding: 1rem 2.5rem 2rem; }
.course-modal-meta { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; font-size: .85rem; margin-bottom: 1rem; }
.course-modal-meta-pill { color: #46d369; font-weight: 600; }
.course-modal-meta-item { color: var(--text-secondary); }
.course-modal-meta-badge { display: inline-flex; align-items: center; padding: .12rem .45rem; border: 1px solid rgba(255,255,255,0.4); color: #fff; font-size: .72rem; font-weight: 600; border-radius: 3px; }
.course-modal-description { color: #fff; font-size: .98rem; line-height: 1.55; max-width: 75ch; }
.course-modal-hero-content .course-modal-meta { margin-top: 1rem; margin-bottom: .75rem; }
.course-modal-hero-content .course-modal-description { margin-top: .5rem; font-size: .92rem; color: rgba(255,255,255,0.92); }

/* Modules section — portrait thumbnails */
.course-modal-episodes { padding: .5rem 2.5rem 2.5rem; }
.course-modal-episodes-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.course-modal-episodes-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: #fff; }
.course-modal-episodes-count { font-size: .85rem; color: var(--text-secondary); }
.course-modal-episode-list { display: flex; flex-direction: column; }
.course-modal-episode { display: grid; grid-template-columns: 56px 100px 1fr auto; gap: 1.25rem; align-items: center; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.08); cursor: pointer; transition: background .15s ease; border-radius: 6px; }
.course-modal-episode:hover { background: rgba(255,255,255,0.04); }
.course-modal-episode:hover .course-modal-episode-thumb-img { transform: scale(1.04); }
.course-modal-episode:hover .course-modal-episode-play { opacity: 1; }
.course-modal-episode-num { font-size: 1.5rem; font-weight: 400; color: var(--text-secondary); text-align: center; padding-left: .5rem; }
.course-modal-episode-thumb { position: relative; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: #0a0a0a; box-shadow: 0 4px 14px rgba(0,0,0,0.45); }
.course-modal-episode-thumb-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.course-modal-episode-play { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.course-modal-episode-play::before { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.course-modal-episode-info { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.course-modal-episode-row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.course-modal-episode-title { font-size: 1rem; font-weight: 600; color: #fff; }
.course-modal-episode-duration { font-size: .85rem; color: var(--text-secondary); flex-shrink: 0; }
.course-modal-episode-desc { font-size: .85rem; color: var(--text-secondary); line-height: 1.45; }
.course-modal-episode-side { display: flex; align-items: center; padding-right: .5rem; }

/* Lock body scroll while modal open */
body.course-modal-open { overflow: hidden; }

/* ─── VIDEO PLAYER MODAL ─────────────────────────────────────────────── */
.video-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; transition: opacity .25s ease; }
.video-modal.is-open { opacity: 1; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.92); }
.video-modal-frame { position: relative; width: 100%; max-width: 1100px; background: #000; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,0.8); overflow: hidden; transform: scale(0.97); transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.video-modal.is-open .video-modal-frame { transform: scale(1); }
.video-modal-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-modal-player iframe,
.video-modal-player video { width: 100%; height: 100%; border: 0; display: block; }
.video-modal-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; height: 100%; padding: 2rem; text-align: center; color: var(--text-secondary); }
.video-modal-empty-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.video-modal-empty-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: #fff; }
.video-modal-empty-text { font-size: .92rem; max-width: 38ch; line-height: 1.5; }
.video-modal-titlebar { padding: 1rem 1.25rem; background: #181818; display: flex; flex-direction: column; gap: .15rem; }
.video-modal-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.05rem; color: #fff; }
.video-modal-subtitle { font-size: .8rem; color: var(--text-secondary); }
.video-modal-close { position: absolute; top: -.5rem; right: -.5rem; transform: translate(50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #181818; color: #fff; font-size: 1.3rem; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.5); transition: background .2s, transform .2s; z-index: 5; }
.video-modal-close:hover { background: #2a2a2a; transform: translate(50%, -50%) scale(1.05); }
.video-modal-close::before { content: '✕'; }
@media (max-width: 720px) {
  .video-modal { padding: .75rem; }
  .video-modal-close { top: .5rem; right: .5rem; transform: none; }
  .video-modal-close:hover { transform: scale(1.05); }
}
body.video-modal-open { overflow: hidden; }

/* Responsive */
@media (max-width: 720px) {
  .course-modal { padding: 2rem .5rem 1rem; }
  .course-modal-hero { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem 1.25rem 1rem; text-align: center; }
  .course-modal-hero-poster { width: 60%; max-width: 220px; margin: 0 auto; }
  .course-modal-hero-content { align-items: center; }
  .course-modal-actions { justify-content: center; }
  .course-modal-meta { justify-content: center; }
  .course-modal-body { padding: .5rem 1.25rem 1.25rem; }
  .course-modal-episodes { padding: 0 1.25rem 1.5rem; }
  .course-modal-episode { grid-template-columns: 32px 70px 1fr; gap: .75rem; }
  .course-modal-episode-side { display: none; }
  .course-modal-episode-num { font-size: 1.1rem; padding-left: 0; }
  .course-modal-episode-title { font-size: .9rem; }
  .course-modal-episode-desc { display: none; }
}

/* ============================================================
   CASUAL-COPYING DETERRENTS
   ------------------------------------------------------------
   Light-touch protection only. Does NOT prevent determined
   users from inspecting/saving. Real video/asset protection
   must come from hosting (Vimeo Pro privacy, signed URLs,
   domain restrictions, DRM). See TODO in index.html.
   ============================================================ */

/* Block drag + iOS long-press menu on all images and videos */
img,
video {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Block drag on anchor tags (prevents drag-copying URLs) */
a[href] {
  -webkit-user-drag: none;
}

/* Disable text selection on chrome / interactive surfaces.
   These are visual UI areas, not reading areas. */
.site-header,
.navbar,
.hero-simple,
.course-card,
.podcast-card,
.podcast-feature,
.stream-cta,
.track-info {
  -webkit-user-select: none;
  user-select: none;
}

/* Explicit opt-in: keep selection enabled on readable text
   so the site never feels broken for legitimate reading. */
.faq-a,
.faq-q-text,
.contact-modal,
.course-modal-description,
.course-modal-episode-desc,
.footer-contact,
.footer-about {
  -webkit-user-select: text;
  user-select: text;
}
/* ─────────────────────────────────────────────
   TYPEFORM SCROLLBAR FIX
───────────────────────────────────────────── */

.contact-modal-card {
  overflow: hidden !important;
}

.contact-modal-typeform {
  overflow: hidden !important;
  height: calc(100% - 98px) !important;
}

.contact-modal-typeform > div,
.contact-modal-typeform iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  border: 0 !important;
  display: block !important;
}

/* removes tiny iframe/body overflow */
.contact-modal iframe html,
.contact-modal iframe body {
  overflow: hidden !important;
}

/* mobile */
@media (max-width: 560px) {
  .contact-modal-typeform {
    height: calc(100% - 92px) !important;
  }
}
