/* ═══════════════════════════════════════════════════════════
   Sing Local — public site
   Warm cream + ink, coral-to-violet voice spectrum.
   We're all built to sing.
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream:    #faf6ef;
  --cream-2:  #f3ecdf;
  --ink:      #221d29;
  --ink-soft: #4d465c;
  --ink-faint:#8b8499;
  --coral:    #ff5a4e;
  --coral-2:  #ff8a5c;
  --violet:   #7c5cff;
  --gold:     #f5b301;
  --line:     #e5dccb;
  --radius:   18px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --grad: linear-gradient(92deg, var(--coral), var(--violet));
  --shadow: 0 14px 44px rgba(34,29,41,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--coral); color: #fff; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--ink-faint); }
.opt { color: var(--ink-faint); font-weight: 400; font-size: 12px; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.3,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 26px;
  padding: 16px 26px;
  background: rgba(250,246,239,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--font-display); font-weight: 900; font-size: 23px; letter-spacing: -.4px; text-decoration: none; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav .links { display: flex; gap: 22px; flex: 1; }
.nav .links a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: color .2s; }
.nav .links a:hover { color: var(--ink); }
.navcta { display: flex; align-items: center; gap: 14px; }
.ghostlink { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.mobilemenu { display: none; }
@media (max-width: 860px) {
  .nav .links, .navcta .ghostlink { display: none; }
  .burger { display: block; }
  .mobilemenu {
    display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 39;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 26px 20px;
  }
  body.nav-open .mobilemenu { display: flex; }
  .mobilemenu a { text-decoration: none; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobilemenu a:last-child { border: none; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--cream); border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  transition: transform .22s cubic-bezier(.3,.8,.3,1), box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: scale(1.05); box-shadow: var(--shadow); }
.btn:active { transform: scale(.98); }
.btn.big { padding: 16px 32px; font-size: 16px; }
.btn.small { padding: 9px 18px; font-size: 13.5px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ── Hero ── */
.hero { padding: 74px 0 30px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { display: none; } }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02; letter-spacing: -1.5px;
}
.hero h1 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18.5px; color: var(--ink-soft); max-width: 540px; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.promise { margin-top: 22px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.promise.small { margin-top: 12px; font-weight: 500; font-size: 13px; }
.hero-art { display: grid; place-items: center; }
#wave { width: 100%; max-width: 520px; height: auto; }

.statrow {
  display: flex; gap: 40px; flex-wrap: wrap; padding: 40px 22px 10px;
  justify-content: flex-start;
}
.stat b { font-family: var(--font-display); font-size: 34px; font-weight: 900; display: block; line-height: 1; }
.stat span { font-size: 13px; color: var(--ink-faint); letter-spacing: .05em; text-transform: uppercase; }

/* ── Bands ── */
.band { padding: 86px 0; }
.band.alt { background: var(--cream-2); }
.pageband { padding: 60px 0 90px; }
.secthead { max-width: 720px; margin-bottom: 46px; }
.secthead h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -.8px; }
.secthead p { color: var(--ink-soft); margin-top: 16px; font-size: 17px; }

/* ── Method cards ── */
.threeup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.threeup.tight { gap: 16px; margin-top: 24px; }
@media (max-width: 820px) { .threeup { grid-template-columns: 1fr; } }
.mcard {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .3s cubic-bezier(.3,.8,.3,1), box-shadow .3s ease;
}
.band.alt .mcard, .pageband .mcard { background: #fff; }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mnum { font-family: var(--font-display); font-weight: 900; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.mcard h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.mcard p { color: var(--ink-soft); font-size: 15px; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps, .steps.four { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.snum {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.step h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* ── Coach cards ── */
.coachgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-bottom: 34px; }
.coachcard {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s cubic-bezier(.3,.8,.3,1), box-shadow .3s ease;
}
.coachcard:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow); }
.cc-photo { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #ffe8d9, #e6ddff); }
.cc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-initials {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 74px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cc-initials.big { font-size: 90px; }
.cc-founder {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--gold); font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .04em;
}
.cc-founder.inline { position: static; display: inline-block; margin-bottom: 12px; }
.cc-body { padding: 18px 20px 20px; }
.cc-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 900; letter-spacing: -.3px; }
.cc-tag { color: var(--ink-soft); font-size: 14px; margin-top: 4px; min-height: 21px; }
.cc-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 14px; }
.cc-price { font-weight: 800; }
.cc-sub { font-size: 12.5px; margin-top: 8px; }
.stars { color: var(--gold); letter-spacing: 1.5px; font-size: 14px; }
.stars .off { color: var(--line); }

/* ── Pricing ── */
.pricegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .pricegrid { grid-template-columns: 1fr; } }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.pcard.hot { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.flag {
  position: absolute; top: -13px; left: 26px;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .04em;
}
.pcard h3 { font-family: var(--font-display); font-size: 20px; }
.pnum { font-family: var(--font-display); font-weight: 900; font-size: 40px; margin: 12px 0 18px; letter-spacing: -1px; }
.pnum span { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--ink-faint); margin-left: 6px; letter-spacing: 0; }
.pcard ul { list-style: none; flex: 1; margin-bottom: 24px; }
.pcard li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-soft); font-size: 14.5px; }
.pcard li::before { content: '♪'; position: absolute; left: 2px; color: var(--coral); font-weight: 700; }

/* ── Why row ── */
.whyrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .whyrow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .whyrow { grid-template-columns: 1fr; } }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 22px; }
.why b { display: block; font-family: var(--font-display); font-size: 17px; margin: 8px 0 4px; }
.why span { display: block; font-size: 13.5px; color: var(--ink-soft); }

/* ── Finale ── */
.finale { padding: 100px 0; background: var(--ink); color: var(--cream); text-align: center; }
.finale h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 5.5vw, 54px); line-height: 1.12; letter-spacing: -1px; margin-bottom: 34px; }
.finale .btn { background: var(--cream); color: var(--ink); }
.finale .btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.finale .btn.ghost:hover { background: var(--cream); color: var(--ink); }

/* ── Founding box (teach page) ── */
.foundbox {
  position: relative; background: var(--ink); color: var(--cream);
  border-radius: 26px; padding: 44px 40px; overflow: hidden;
}
.foundbox::before {
  content: ''; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(255,90,78,.25), rgba(124,92,255,.25), transparent 90%);
  animation: spin 14s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.foundbox > * { position: relative; }
.fb-flag { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; padding: 5px 16px; border-radius: 999px; margin-bottom: 18px; }
.foundbox h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.6px; }
.fb-item { background: rgba(250,246,239,.07); border: 1px solid rgba(250,246,239,.14); border-radius: 14px; padding: 20px; }
.fb-item b { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; color: var(--gold); }
.fb-item span { font-size: 14px; color: rgba(250,246,239,.85); }
.fb-note { margin-top: 22px; font-size: 14.5px; color: rgba(250,246,239,.75); }

/* ── Profile page ── */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 38px; align-items: start; margin-bottom: 40px; }
@media (max-width: 780px) { .profile { grid-template-columns: 1fr; } }
.pf-photo { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #ffe8d9, #e6ddff); aspect-ratio: 4/5; }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-body h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 5vw, 48px); letter-spacing: -1px; }
.pf-tag { font-size: 18px; color: var(--ink-soft); margin-top: 6px; }
.pf-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 26px; font-size: 14.5px; color: var(--ink-soft); }
.pf-cta { margin-top: 6px; }
.pf-section { margin-top: 44px; }
.pf-section h2 { font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: -.4px; margin-bottom: 18px; }
.pf-bio { color: var(--ink-soft); max-width: 720px; font-size: 16px; }

/* ── Reviews ── */
.revlist { display: grid; gap: 16px; max-width: 780px; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.rev-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.milebadge {
  background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 12px; border-radius: 999px;
}
.rev p { color: var(--ink-soft); font-size: 15px; }
.rev-reply { margin-top: 12px; padding: 12px 16px; background: var(--cream-2); border-left: 3px solid var(--coral); border-radius: 8px; font-size: 14px; color: var(--ink-soft); }

/* ── Video grid ── */
.vidgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.vid { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.vid .thumb { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: none; padding: 0; cursor: pointer; background: #000; }
.vid .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.vid .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.55); transition: transform .25s ease; }
.vid .thumb:hover .play { transform: scale(1.25); }
.vid iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.vid .meta { padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; }
.vid .t { font-weight: 600; font-size: 13.5px; }
.vid .c { font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }

/* ── Filter/search ── */
.filterbar { margin-bottom: 30px; }
.filterbar input {
  width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 13px 22px; font-size: 15px; font-family: inherit;
}
.filterbar input:focus { outline: none; border-color: var(--coral); }

/* ── Big empty ── */
.bigempty { text-align: center; padding: 70px 20px; }
.be-icon { font-size: 52px; margin-bottom: 14px; }
.bigempty h3 { font-family: var(--font-display); font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.bigempty p { color: var(--ink-soft); margin-bottom: 24px; }

/* ── Forms ── */
.applyform, .bm-form { display: block; }
.applyform label, .bm-form label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 16px; }
.applyform input, .applyform textarea, .bm-form input {
  width: 100%; display: block; margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: 15px; font-family: inherit;
}
.applyform input:focus, .applyform textarea:focus, .bm-form input:focus { outline: none; border-color: var(--coral); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
.formdone { text-align: center; padding: 30px 0 10px; }
.formdone h3 { font-family: var(--font-display); font-size: 24px; }

/* ── Booking modal ── */
.bmodal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 18px; }
.bmodal[hidden] { display: none; }
.bm-scrim { position: absolute; inset: 0; background: rgba(34,29,41,.55); backdrop-filter: blur(4px); }
.bm-card {
  position: relative; width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto;
  background: var(--cream); border-radius: 22px; padding: 30px 30px 26px; box-shadow: var(--shadow);
  animation: bmIn .3s cubic-bezier(.3,.8,.3,1);
}
@keyframes bmIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.bm-x { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink-faint); }
.bm-x:hover { color: var(--ink); }
.bm-card h2 { font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: -.4px; }
.bm-sub { color: var(--ink-soft); font-size: 14.5px; margin: 6px 0 20px; }
.bm-slots { margin-bottom: 22px; max-height: 300px; overflow-y: auto; }
.bm-loading { color: var(--ink-faint); padding: 20px 0; text-align: center; }
.slotday { margin-bottom: 14px; }
.slotday .dh { font-weight: 700; font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.slotday .ss { display: flex; flex-wrap: wrap; gap: 8px; }
.slotbtn {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all .18s ease;
}
.slotbtn:hover { border-color: var(--coral); }
.slotbtn.sel { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.bm-note { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 12px; }
.bm-done { text-align: center; padding: 30px 0; }
.bm-done h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; }

/* ── Full-screen heroes + image slots ── */
.hero.full { position: relative; min-height: 86vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 50px; }
.hero.full.short { min-height: 62vh; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; z-index: 0; }
.hero.has-img .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(21,18,27,.82) 20%, rgba(21,18,27,.55) 55%, rgba(21,18,27,.28));
}
.hero.full .wrap, .hero.full .statrow { position: relative; z-index: 1; }
.hero.has-img { color: var(--cream); }
.hero.has-img .lede, .hero.has-img .promise { color: rgba(250,246,239,.85); }
.hero.has-img .eyebrow { color: var(--coral-2); }
.hero.has-img .btn { background: var(--cream); color: var(--ink); }
.hero.has-img .btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.hero.has-img .btn.ghost:hover { background: var(--cream); color: var(--ink); }
.hero.has-img .hero-art { display: none; }
.hero.has-img .stat b { color: var(--cream); }
.hero.has-img .stat span { color: rgba(250,246,239,.65); }
.hero-copy.onecol { max-width: 760px; }
.hero-copy.onecol h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -1.4px; }
.hero-copy.onecol h1 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero.has-img .hero-copy.onecol h1 em { background: linear-gradient(92deg, var(--coral-2), #b3a6ff); -webkit-background-clip: text; background-clip: text; }

/* ── Nav elevate on scroll ── */
.nav { transition: box-shadow .3s ease, padding .3s ease; }
.nav.scrolled { box-shadow: 0 10px 34px rgba(34,29,41,.12); padding-top: 10px; padding-bottom: 10px; }

/* ── Pricing split bar ── */
.splitbar { display: flex; border-radius: 14px; overflow: hidden; font-size: 14.5px; font-weight: 600; color: #fff; max-width: 760px; box-shadow: var(--shadow); }
.splitbar > div { padding: 18px 20px; white-space: nowrap; }
.splitbar b { font-family: var(--font-display); font-size: 20px; margin-right: 6px; }
.sb-coach { background: var(--grad); }
.sb-house { background: var(--ink); }

/* ── FAQ ── */
.faq { max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15.5px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 14px; font-size: 22px; color: var(--coral); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--ink-soft); font-size: 14.5px; }

/* ── Skeleton shimmer (slot loading) ── */
.skelrow { height: 34px; border-radius: 9px; margin-bottom: 10px; background: linear-gradient(90deg, var(--cream-2) 25%, #fff 50%, var(--cream-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Note burst (button click) ── */
.noteburst { position: fixed; z-index: 95; pointer-events: none; font-size: 18px; will-change: transform, opacity; }

/* ══ PROMOS ══════════════════════════════════════════════── */

/* Top banner */
.promo-top {
  position: sticky; top: 0; z-index: 45;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 11px 44px 11px 18px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(92deg, var(--coral), var(--violet), var(--coral));
  background-size: 200% 100%; animation: promoflow 7s linear infinite;
}
@keyframes promoflow { to { background-position: -200% 0; } }
.promo-top .pt-code { background: rgba(255,255,255,.18); border: 1px dashed rgba(255,255,255,.55); padding: 2px 10px; border-radius: 8px; font-weight: 800; letter-spacing: .06em; }
.promo-top button.pt-claim {
  background: #fff; color: var(--ink); border: none; border-radius: 999px; padding: 6px 16px;
  font-weight: 800; font-size: 13px; cursor: pointer; font-family: inherit;
  transition: transform .2s cubic-bezier(.3,.8,.3,1);
}
.promo-top button.pt-claim:hover { transform: scale(1.07); }
.promo-top .pt-x { position: absolute; right: 10px; background: none; border: none; color: rgba(255,255,255,.8); font-size: 20px; cursor: pointer; }
.promo-top .pt-x:hover { color: #fff; }
.promo-top.claimed { background: var(--ink); animation: none; }

/* Side tab */
.promo-side {
  position: fixed; right: 0; top: 52%; z-index: 46;
  transform: translateY(-50%);
}
.promo-side .ps-tab {
  writing-mode: vertical-rl; text-orientation: mixed;
  background: var(--ink); color: var(--cream); border: none; cursor: pointer;
  border-radius: 12px 0 0 12px; padding: 18px 10px; font-family: inherit; font-weight: 700; font-size: 13.5px;
  letter-spacing: .04em; box-shadow: -6px 0 24px rgba(34,29,41,.25);
  animation: pswiggle 5s ease-in-out infinite;
}
@keyframes pswiggle { 0%, 88%, 100% { transform: translateX(0); } 92% { transform: translateX(-6px); } 96% { transform: translateX(2px); } }
.promo-side .ps-tab .n { color: var(--coral-2); }
.promo-side .ps-card {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%) translateX(16px);
  width: 300px; background: var(--cream); border-radius: 18px; box-shadow: var(--shadow);
  padding: 0 0 18px; opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.3,.8,.3,1);
}
.promo-side.open .ps-card { opacity: 1; pointer-events: auto; transform: translateY(-50%) translateX(-44px); }
.ps-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px 18px 0 0; display: block; }
.ps-card .ps-fallback { width: 100%; aspect-ratio: 4/3; border-radius: 18px 18px 0 0; background: var(--grad); display: grid; place-items: center; font-size: 54px; }
.ps-card .ps-body { padding: 16px 18px 0; }
.ps-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 900; letter-spacing: -.3px; }
.ps-card .ps-disc { color: var(--coral); font-weight: 700; font-size: 13.5px; margin: 3px 0 8px; }
.ps-card p { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.ps-card .btn { width: calc(100% - 36px); margin: 0 18px; }
.ps-card .ps-x { position: absolute; top: 8px; right: 10px; background: rgba(21,18,27,.45); color: #fff; border: none; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }

/* Exit popup */
.promo-exit { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; }
.promo-exit .pe-scrim { position: absolute; inset: 0; background: rgba(21,18,27,.6); backdrop-filter: blur(5px); animation: peIn .3s ease; }
.promo-exit .pe-card {
  position: relative; width: 100%; max-width: 440px; background: var(--cream); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow); text-align: center;
  animation: peCard .45s cubic-bezier(.3,.8,.3,1);
}
@keyframes peIn { from { opacity: 0; } }
@keyframes peCard { from { opacity: 0; transform: translateY(26px) scale(.94); } }
.pe-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.pe-card .pe-fallback { width: 100%; aspect-ratio: 16/9; background: var(--grad); display: grid; place-items: center; font-size: 64px; }
.pe-card .pe-body { padding: 24px 26px 26px; }
.pe-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 900; letter-spacing: -.5px; }
.pe-card .pe-disc { color: var(--coral); font-weight: 800; margin: 4px 0 10px; }
.pe-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.pe-card .pe-x { position: absolute; top: 10px; right: 12px; background: rgba(21,18,27,.45); color: #fff; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 17px; }

/* Claim states */
.promo-claimbox input {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; font-family: inherit; margin-bottom: 10px;
}
.promo-claimed {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(90,209,154,.15); color: #1c7a4e; border: 1px dashed #5ad19a;
  border-radius: 12px; padding: 10px 16px; font-weight: 800; font-size: 14px; letter-spacing: .04em;
}
.promo-claimed .code { font-family: var(--font-display); }

@media (max-width: 640px) {
  .promo-side .ps-card { width: min(300px, calc(100vw - 60px)); }
  .splitbar { flex-direction: column; }
  .splitbar > div { width: 100% !important; }
}

/* ── Footer ── */
.foot { background: var(--cream-2); border-top: 1px solid var(--line); padding: 54px 0 30px; margin-top: 40px; }
.teachhero + * { margin-top: 0; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.foot-links a:hover { color: var(--ink); }
.foot-line { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--ink-faint); }
