/* repertorio.dance — public website. Colours are the app's RepColors tokens. */

@font-face { font-family: 'Bricolage Grotesque'; src: url(../fonts/bricolage-grotesque.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Inter; src: url(../fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Caveat; src: url(../fonts/caveat.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #192840; --muted: #445570; --soft: #66748C;
  --canvas: #F8FAFF; --sky: #EEF4FF; --elev: #DCE6FA; --border: #DCE6F3;
  --navy: #14264A; --deep: #0A1226;
  --blue: #315CC7; --blue-b: #2B59F0;
  --lime: #D9F37A; --lime-ink: #526407;
  --coral: #D65367; --coral-art: #FF8D7E; --peach: #FFE6DC; --peach-d: #FFD2C1;
  --mint: #E9FBF3; --mint-d: #D3F6E6;
  --leader: #0A7A83; --follower: #BA4C91;
  --ok: #BFE255; --mid: #F2A93B; --bad: #E8657A;
  --pad: clamp(20px, 3.9vw, 56px);
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
ul, ol { padding: 0; list-style: none; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--canvas); font-size: clamp(16px, 1.18vw, 17px); line-height: 1.55; overflow-x: clip; }
img, video, svg { display: block; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 3px solid var(--blue-b); outline-offset: 3px; }
.dark :focus-visible, .foot :focus-visible, .nav.dark :focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }
section { position: relative; }
section[id] { scroll-margin-top: 70px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1328px; margin-inline: auto; padding-inline: var(--pad); position: relative; }
.sec { padding-block: clamp(76px, 10.4vw, 150px); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.022em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.72vw, 68px); }
h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.1; }
.hand { font-family: Caveat, 'Segoe Print', cursive; font-weight: 700; letter-spacing: 0; }
.over { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.39vw, 20px); line-height: 1.5; color: var(--muted); }
.lime { color: var(--lime); } .coral { color: var(--coral); } .blue { color: var(--blue); }
.ic { width: 1em; height: 1em; flex: none; }
.demo { font-size: 12px; color: var(--soft); margin-top: 12px; }
.ai-note { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 600; }
video.clip { width: 100%; height: 100%; object-fit: cover; background: #0B1226; }

/* ── Buttons, chips, badges ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; transition: translate .18s, filter .18s; }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn.line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.coralb { background: var(--coral); color: #fff; }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
a.btn:hover, button.btn:hover { translate: 0 -2px; filter: brightness(1.05); }
.arrow::after { content: ''; width: 18px; height: 18px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1.5px solid var(--border); background: #fff; color: var(--ink); white-space: nowrap; }
.chip.on { background: var(--lime); border-color: var(--lime); }
.chip.dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.chip.dark.on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
button.chip { transition: background .2s, border-color .2s, color .2s; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--ok); flex: none; }
.dot.mid { background: var(--mid); } .dot.bad { background: var(--bad); } .dot.blue { background: var(--blue); }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 24px 0 18px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(14px); }
.store small { display: block; font-size: 11px; opacity: .75; letter-spacing: .04em; line-height: 1.2; }
.store b { display: block; font-size: 18px; font-weight: 700; line-height: 1.15; font-family: var(--display); letter-spacing: -.01em; }
.store .ico { width: 28px; height: 28px; border-radius: 9px; background: var(--lime); display: grid; place-items: center; color: var(--ink); font-size: 16px; }
a.store { transition: translate .18s, background .18s; } a.store:hover { translate: 0 -2px; background: rgba(255,255,255,.18); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 24px 48px -28px rgba(49,92,199,.22); }
.bar { display: flex; gap: 5px; height: 12px; }
.bar span { border-radius: 99px; background: var(--ok); } .bar .m { background: var(--mid); } .bar .b { background: var(--bad); }
.qr { display: block; background: #fff; border-radius: 16%; aspect-ratio: 1; overflow: hidden; }
.qr svg { width: 100%; height: auto; aspect-ratio: 1; }
.rec { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 99px; background: rgba(10,18,40,.72); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #FF5468; }

/* phone: every measure follows the phone's own width */
.phone { container-type: inline-size; position: relative; width: 300px; max-width: 100%; flex: none; }
.phone .frame { position: relative; padding: 3cqw; border-radius: 15.3cqw; background: #fff; box-shadow: 0 0 0 1px #D5DFF0, 0 50px 90px -30px rgba(25,40,90,.45), 0 18px 36px -18px rgba(25,40,90,.3); }
.phone .frame > img { width: 100%; aspect-ratio: 1080 / 2400; object-fit: cover; object-position: top; border-radius: 12.6cqw; }
.phone.dark .frame { background: #0B1430; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 60px 120px -30px rgba(0,0,0,.7); }

/* week rail */
.days { display: inline-flex; gap: 6px; align-items: center; }
.days i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--soft); background: #fff; border: 1.5px solid var(--border); }
.days i.on { background: var(--ink); color: var(--lime); border-color: var(--ink); width: auto; padding: 0 14px; border-radius: 999px; letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; }
.days i.done { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.dark .days i { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.6); }
.dark .days i.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.dark .days i.done { background: rgba(217,243,122,.22); border-color: transparent; color: var(--lime); }
.day h2 { margin: 26px 0 24px; }

/* soft circles, like the app canvas */
.circles { overflow: hidden; }
.circles::before, .circles::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.circles::before { width: 62vw; max-width: 900px; aspect-ratio: 1; right: -21vw; top: -26vw; background: #E6EDFB; }
.circles::after { width: 50vw; max-width: 720px; aspect-ratio: 1; left: -26vw; bottom: -21vw; background: #FBEDF1; }
.circles > * { position: relative; z-index: 1; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 3.9vw, 56px); }
.top .over { margin-bottom: 20px; }
.head-c { text-align: center; margin-bottom: clamp(40px, 4.5vw, 64px); }
.head-c .over { margin-bottom: 18px; }

/* ── Navigation ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 22px 0; transition: background .25s, padding .25s, box-shadow .25s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(21px, 1.74vw, 25px); letter-spacing: -.02em; color: #fff; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.nav ul { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px); }
.nav li a { display: block; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.88); transition: background .2s; }
.nav li a:hover { background: rgba(255,255,255,.12); }
.nav li a[aria-current] { background: #fff; color: var(--ink); }
.nav .right { display: flex; align-items: center; gap: 16px; }
.langs { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); padding: 8px 4px; }
.langs b { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; font-size: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.burger .ic:last-child, .burger[aria-expanded=true] .ic:first-child { display: none; }
.burger[aria-expanded=true] .ic:last-child { display: block; }
.nav.stuck { padding: 12px 0; background: rgba(8,14,32,.82); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav.light .brand { color: var(--ink); }
.nav.light ul { background: rgba(255,255,255,.7); border-color: rgba(25,40,64,.1); }
.nav.light li a { color: var(--muted); } .nav.light li a:hover { background: rgba(25,40,64,.07); }
.nav.light li a[aria-current] { background: var(--ink); color: #fff; }
.nav.light .langs { color: var(--soft); } .nav.light .langs b { color: var(--ink); }
.nav.light .burger { background: rgba(255,255,255,.7); border-color: rgba(25,40,64,.14); color: var(--ink); }
.nav.light.stuck { background: rgba(255,244,238,.9); box-shadow: 0 1px 0 rgba(25,40,64,.08); }

/* ── Home: hero ── */
.hero { background: #050A18; color: #fff; overflow: hidden; display: flex; min-height: min(clamp(720px, 100svh, 980px), 72vw); }
.hero .bg { position: absolute; inset: 0; }
.hero .bg video { position: absolute; top: -2%; left: 17.4%; height: 104%; width: auto; max-width: none; min-width: 82.6%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, #050A18 0%, rgba(5,10,24,.94) 18%, rgba(5,10,24,.74) 42%, rgba(5,10,24,.12) 64%, rgba(5,10,24,0) 80%, rgba(5,10,24,.5) 100%),
  linear-gradient(180deg, rgba(5,10,24,.7) 0%, rgba(5,10,24,0) 22%, rgba(5,10,24,0) 62%, rgba(5,10,24,.96) 100%); }
.hero .glow { position: absolute; width: 700px; height: 700px; left: -260px; top: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(49,92,199,.42), transparent 65%); }
.hero > .wrap { display: flex; flex-direction: column; padding-top: clamp(120px, 12vw, 172px); padding-bottom: 42px; }
.hero .copy { max-width: min(780px, 62%); }
.status { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 16px 4px 12px; border-radius: 999px; background: rgba(217,243,122,.14); border: 1px solid rgba(217,243,122,.4); color: var(--lime); font-size: 13.5px; font-weight: 600; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(217,243,122,.22); flex: none; }
.hero h1 { font-size: clamp(44px, 6.8vw, 98px); margin: 26px 0 28px; }
.hero h1 em, .thero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 540px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.watch { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; margin-left: 10px; }
.watch i { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 18px; transition: scale .2s; }
.watch:hover i { scale: 1.08; }
.tag { position: absolute; right: var(--pad); top: clamp(130px, 12.2vw, 176px); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgba(10,18,40,.55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); font-size: 14px; font-weight: 600; line-height: 1.3; }
.tag small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.tag .sq { width: 34px; height: 34px; border-radius: 11px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 18px; }
.hero .note { position: absolute; right: calc(var(--pad) + 14px); top: 58%; font-size: clamp(30px, 3.05vw, 44px); color: var(--lime); rotate: -7deg; line-height: .95; }
.player { margin-top: auto; padding-top: 44px; }
.player .lbl { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; color: rgba(255,255,255,.75); }
.player .box { display: flex; align-items: center; gap: 20px; min-height: 92px; padding: 0 22px; border-radius: 28px; background: rgba(12,20,44,.62); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(22px); }
.player .play { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 22px; flex: none; }
.i-play, .is-paused .i-pause { display: none; } .is-paused .i-play { display: block; }
.player .time { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); flex: none; }
.track { flex: 1; display: flex; gap: 6px; min-width: 0; }
.track button { flex: var(--w, 1) 1 0; min-width: min-content; padding: 0 0 10px; }
.track span { display: block; margin-bottom: 9px; padding-right: 8px; text-align: left; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.66); white-space: nowrap; transition: color .2s; }
.track button:hover span { color: #fff; }
.track i { display: block; height: 8px; border-radius: 9px; position: relative; background: linear-gradient(90deg, var(--c, rgba(255,255,255,.78)) calc(var(--p, 0) * 100%), rgba(255,255,255,.22) 0); }
.track .on { --c: var(--lime); } .track .on span { color: var(--lime); }
.track .on i::after { content: ''; position: absolute; left: calc(var(--p, 0) * 100%); top: -5px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(217,243,122,.25); }

@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .copy > *, .thero .copy > *, .player, .tvis { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .copy > :nth-child(2) { animation-delay: .08s; } .copy > :nth-child(3) { animation-delay: .16s; } .copy > :nth-child(4) { animation-delay: .24s; }
  .player, .tvis { animation-delay: .35s; }
}

/* ── Ticker ── */
.ticker { background: var(--lime); height: clamp(60px, 6vw, 86px); overflow: hidden; display: flex; align-items: center; }
.ticker p:first-child { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.15vw, 31px); letter-spacing: -.01em; text-transform: uppercase; animation: tick 46s linear infinite; }
.ticker s { text-decoration: none; margin: 0 22px; color: var(--blue); }
.ticker:hover p { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.p-teachers .ticker { background: var(--ink); color: var(--lime); }
.p-teachers .ticker s { color: var(--coral-art); }

/* ── Home: forgetting ── */
.forget .wrap { display: grid; grid-template-columns: minmax(0, 59fr) minmax(0, 70fr); gap: 40px; align-items: center; }
.forget .over { margin-bottom: 22px; }
.forget h2 { font-size: clamp(40px, 5.42vw, 78px); }
.forget h2 span { display: block; color: #8A99B4; margin-top: 6px; }
.forget .q { font-size: clamp(44px, 5.14vw, 74px); color: var(--coral); rotate: -2.5deg; margin: 14px 0 30px -4px; line-height: .9; transform-origin: 0 50%; }
.forget .lead { max-width: 520px; }
.pics { position: relative; aspect-ratio: 600 / 700; width: 100%; max-width: 600px; margin-left: auto; container-type: inline-size; }
.pics svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pic { position: absolute; width: 66.6%; padding: 1.7cqw 1.7cqw 2.6cqw; background: #fff; border-radius: 5cqw; box-shadow: 0 40px 70px -30px rgba(25,40,90,.4), 0 0 0 1px var(--border); transition: rotate .3s; }
.pic video { border-radius: 3.6cqw; height: auto; aspect-ratio: 4 / 3; }
.pic figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2.3cqw 1.3cqw 0; font-weight: 700; font-size: clamp(12.5px, 2.5cqw, 15px); }
.pic figcaption span { font-weight: 500; color: var(--muted); font-size: .9em; }
.pic.a { left: 1.6%; top: 0; rotate: -4deg; } .pic.b { right: 0; bottom: 0; rotate: 3.5deg; }
.pic:hover { rotate: 0deg; z-index: 3; }
.state { position: absolute; display: inline-flex; gap: 8px; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1.5px solid var(--border); font-size: clamp(12px, 2.3cqw, 13.5px); font-weight: 700; box-shadow: 0 12px 20px -12px rgba(25,40,90,.3); white-space: nowrap; }
.state.s1 { right: 14%; top: 16.8%; } .state.s2 { right: 0; top: 37.4%; } .state.s3 { left: 6%; top: 56.5%; }

/* ── Home: how it works ── */
.how { padding-top: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { padding: 12px 12px 30px; }
.step .media { position: relative; aspect-ratio: 410 / 310; border-radius: 20px; overflow: hidden; container-type: inline-size; }
.zoom { position: absolute; aspect-ratio: 1344 / 768; }
.zoom img { width: 100%; height: 100%; }
.zoom .qr { position: absolute; border-radius: 6%; }
.step .zoom { top: -14%; left: -48%; width: 200%; }
.step .zoom .qr { left: 38.2%; top: 38.2%; width: 3.5%; }
.step .n { position: relative; z-index: 3; margin: -32px 0 0 16px; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 30px; border: 5px solid #fff; }
.step h3 { margin: 16px 18px 10px; }
.step p { margin: 0 18px; color: var(--muted); font-size: 16px; }
.strip { background: var(--sky); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; padding: 14.5cqw 4cqw 0; align-content: start; }
.strip figure { min-width: 0; }
.strip video { height: auto; aspect-ratio: 88 / 150; border-radius: 3.5cqw; }
.strip figcaption { margin-top: 2.4cqw; font-size: clamp(9.5px, 2.8cqw, 11.5px); font-weight: 700; text-align: center; line-height: 1.2; }
.strip figure:nth-of-type(even) { translate: 0 3.4cqw; }
.strip .cap { position: absolute; left: 4cqw; top: 4cqw; min-height: 32px; font-size: 13px; }
.join { background: var(--mint-d); }
.join .phone { position: absolute; width: 51%; left: 8.3%; top: 11%; }
.join .qr { position: absolute; right: 7.3%; top: 19%; width: 36.6%; rotate: 5deg; box-shadow: 0 24px 40px -18px rgba(10,60,50,.4); }
.join .hand { position: absolute; right: 6.3%; bottom: 8%; font-size: 7.3cqw; color: var(--leader); rotate: -4deg; line-height: .95; text-align: right; }

/* ── Home: Wednesday, the recap ── */
.recap { background: var(--sky); }
.feat { margin-top: 36px; display: grid; gap: 14px; }
.feat li { display: flex; gap: 16px; align-items: center; font-weight: 600; font-size: clamp(16px, 1.18vw, 17px); }
.feat i { flex: none; width: 46px; height: 46px; border-radius: 15px; background: var(--lime); display: grid; place-items: center; font-size: 22px; }
.stage { position: relative; width: 100%; max-width: 600px; margin-inline: auto; }
.stage .phone { width: min(324px, 78%); margin-inline: auto; }
.float { position: absolute; padding: 20px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 60px -28px rgba(25,40,90,.45); }
.float .over { color: var(--soft); font-size: 11px; margin-bottom: 10px; }
.float .row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; font-weight: 700; font-size: 15px; transition: color .2s; }
.float .row + .row { border-top: 1px solid var(--border); }
.float .row small { font-size: 12px; font-weight: 700; white-space: nowrap; }
.float .row:hover, .float .row.cur { color: var(--blue); }
.float .row.cur::before { content: ''; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid var(--blue); margin-right: -6px; }
small.ok { color: var(--lime-ink); } small.new { color: var(--blue); } small.mid { color: #8F5800; }
.float.f1 { left: 0; top: 60%; width: min(270px, 54%); }
.float.f2 { right: 0; top: 77%; width: min(300px, 62%); }
.combo { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; color: var(--soft); }
.combo .chip { min-height: 32px; padding: 0 12px; font-size: 13px; }
.route { font-size: 13px; color: var(--soft); margin-top: 12px; }

/* live recap inside the phone: positions are fractions of the app screenshot */
.live { position: absolute; inset: 3cqw; border-radius: 12.6cqw; overflow: hidden; container-type: inline-size; font-family: Roboto, Inter, sans-serif; }
.live video { position: absolute; left: 4.6%; top: 16.25%; width: 90.8%; height: 23.35%; max-width: none; object-fit: cover; border-radius: 3.4cqw; background: #000; cursor: pointer; }
.live .prog { position: absolute; left: 4.6%; width: 90.8%; top: 39.1%; height: .9cqw; border-radius: 9px; background: rgba(25,40,90,.12); overflow: hidden; }
.live .prog b { display: block; height: 100%; width: 0; background: #315CC7; }
.live .ctl { position: absolute; left: 0; right: 0; top: 40.3%; height: 17.4%; background: #F8FAFF; padding: 2.2cqw 4cqw 0; }
.live .rowc { display: flex; gap: 2.2cqw; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 1.4cqw; }
.live .rowc::-webkit-scrollbar { display: none; }
.live .rowc + .rowc { margin-top: 3.2cqw; }
.live .c { flex: none; height: 7.6cqw; line-height: 7.6cqw; padding: 0 3.8cqw; font-size: 3.5cqw; color: #192840; border-radius: 99px; background: #fff; box-shadow: 0 .5cqw 1.2cqw rgba(25,40,90,.22); white-space: nowrap; transition: background .2s; }
.live .c.on { background: #D9F37A; }

/* ── Home: Thursday, the repertoire ── */
.rep { background: #fff; }
.rep .top h2 { margin-bottom: 0; }
.bento { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.b-phone { background: var(--sky); border-radius: 36px; padding: clamp(28px, 2.8vw, 40px) clamp(24px, 2.8vw, 40px) 0; height: clamp(560px, 49.5vw, 712px); overflow: hidden; }
.b-phone h3 { font-size: clamp(26px, 2.36vw, 34px); margin-top: 10px; }
.b-phone .phone { margin: clamp(22px, 2.4vw, 34px) auto 0; width: min(330px, 86%); }
.b-right { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 24px; }
.b-navy { background: var(--navy); color: #fff; border-radius: 36px; padding: clamp(28px, 2.8vw, 38px) clamp(28px, 2.9vw, 42px); position: relative; overflow: hidden; }
.b-navy .ribbon { position: absolute; right: -70px; top: -60px; width: 300px; mix-blend-mode: screen; opacity: .95; }
.b-navy > :not(.ribbon) { position: relative; z-index: 1; }
.b-navy .big { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 5.8vw, 84px); letter-spacing: -.04em; line-height: 1; margin: 14px 0 20px; }
.b-navy .big small { font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.02em; margin-left: 12px; font-weight: 700; display: inline-block; line-height: 1.08; }
.b-navy .bar { width: 66%; }
.b-navy .legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.88); }
.b-navy .legend span { display: inline-flex; align-items: center; gap: 8px; }
.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.art { border-radius: 36px; overflow: hidden; position: relative; min-height: 300px; transition: translate .25s; }
.art:hover { translate: 0 -6px; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.art p { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); }
.art b { display: block; font-family: var(--display); font-size: clamp(18px, 1.46vw, 21px); letter-spacing: -.02em; }
.art span { font-size: 13px; color: var(--muted); display: block; line-height: 1.3; }

/* ── Home: the map ── */
.map { background: #060D20; color: #fff; padding: clamp(84px, 10.4vw, 150px) 0 clamp(84px, 9.7vw, 140px); overflow: hidden; }
.map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(120,160,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,255,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 75%); }
.map > .ribbon { position: absolute; width: clamp(280px, 29vw, 420px); right: -150px; top: -150px; mix-blend-mode: screen; opacity: .85; rotate: 24deg; }
.map .head-c h2 { font-size: clamp(50px, 7.5vw, 108px); }
.map .head-c .lead { color: rgba(255,255,255,.74); max-width: 780px; margin: 28px auto 0; }
.map .head-c .hand { font-size: clamp(34px, 3.2vw, 46px); color: var(--lime); rotate: -3deg; display: inline-block; margin-bottom: 8px; }
.atlas { position: relative; perspective: 2200px; }
.shot { aspect-ratio: 1216 / 640; overflow: hidden; filter: brightness(1.5) contrast(1.08) saturate(1.25); border-radius: clamp(22px, 2.8vw, 40px); border: 1px solid rgba(160,190,255,.3); box-shadow: 0 0 0 10px rgba(255,255,255,.04), 0 0 180px rgba(49,92,199,.6), 0 80px 120px -40px #000; transform: rotateX(7deg); transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.shot picture { display: contents; }
.shot img { width: 142%; max-width: none; }
.routecard { position: absolute; right: 3.6%; top: 11%; width: min(350px, 31%); padding: 26px; border-radius: 28px; background: rgba(13,24,54,.74); border: 1px solid rgba(217,243,122,.45); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -30px #000; }
.routecard .over { color: var(--lime); }
.routecard h3 { margin: 8px 0 16px; font-size: clamp(23px, 1.95vw, 28px); }
.routecard li { border-top: 1px solid rgba(255,255,255,.1); }
.routecard li button { display: flex; width: 100%; align-items: center; gap: 14px; padding: 11px 0; font-weight: 600; border-radius: 12px; transition: background .2s, padding .2s; }
.routecard li button:hover, .routecard li button.cur { background: rgba(217,243,122,.1); padding-inline: 8px; }
.routecard li b { width: 32px; height: 32px; border-radius: 10px; background: rgba(217,243,122,.16); color: var(--lime); display: grid; place-items: center; font-size: 12.5px; flex: none; }
.routecard li .cur b { background: var(--lime); color: var(--ink); }
.routecard li span { margin-left: auto; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.66); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.routecard .btn { width: 100%; margin-top: 16px; }
.routecard .hint { text-align: center; font-size: 12.5px; color: rgba(255,255,255,.62); margin-top: 12px; min-height: 2.6em; }
.preview { position: absolute; left: 3.3%; bottom: 8.4%; width: min(330px, 30%); padding: 10px 10px 14px; border-radius: 26px; background: rgba(13,24,54,.84); border: 1px solid rgba(217,243,122,.45); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -30px #000; z-index: 4; animation: pop .3s both; }
@keyframes pop { from { opacity: 0; translate: 0 16px; } }
.preview video { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; border-radius: 18px; background: #000; }
.preview p { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 8px 0; font-weight: 700; font-size: 15px; }
.preview p span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.preview .x { position: absolute; right: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: rgba(10,18,40,.72); color: #fff; display: grid; place-items: center; font-size: 16px; z-index: 1; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.3vw, 48px); margin-top: clamp(48px, 5.8vw, 84px); }
.trio b { font-family: var(--display); font-size: clamp(21px, 1.74vw, 25px); letter-spacing: -.02em; display: block; margin: 14px 0 8px; line-height: 1.1; }
.trio p { color: rgba(255,255,255,.68); font-size: 16px; }
.trio i { font-style: normal; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(217,243,122,.14); color: var(--lime); font-weight: 800; font-family: var(--display); }

/* ── Home: Friday, practice ── */
.shotbox { position: relative; aspect-ratio: 590 / 560; }
.shotbox .photo { width: 95%; height: auto; aspect-ratio: 560 / 470; border-radius: clamp(24px, 2.5vw, 36px); }
.shotbox .phone { position: absolute; right: 0; bottom: 0; width: 41.4%; }
.shotbox .hand { position: absolute; left: 1.4%; bottom: 4.6%; font-size: clamp(27px, 2.64vw, 38px); color: var(--blue); rotate: -4deg; }
.countwrap { margin-top: clamp(40px, 5vw, 72px); padding: clamp(22px, 2.8vw, 40px) clamp(16px, 3vw, 44px) clamp(22px, 2.4vw, 34px); border-radius: clamp(28px, 2.8vw, 40px); background: #fff; border: 1px solid var(--border); box-shadow: 0 40px 80px -50px rgba(49,92,199,.5); }
.countwrap .meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: clamp(20px, 2.1vw, 30px); }
.countwrap .meta b { font-family: var(--display); font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.02em; }
.chips2 { display: flex; gap: 8px; }
.chips2 .chip:not(.on) .i-pause, .chips2 .chip.on .i-play { display: none; } .chips2 .chip:not(.on) .i-play { display: block; }
.count { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(5px, .83vw, 12px); }
.count b { aspect-ratio: 1 / 1.08; border-radius: clamp(11px, 1.53vw, 22px); background: #fff; border: 1.5px solid var(--border); display: grid; place-items: center; font-family: var(--display); font-size: clamp(22px, 3.75vw, 54px); font-weight: 800; letter-spacing: -.03em; cursor: pointer; transition: transform .12s, background .12s, color .12s, box-shadow .12s; }
.count b.rest { color: #A9B6CC; background: var(--sky); }
.count b.rest.tick { background: var(--elev); }
.count b.on { background: linear-gradient(160deg, #0E8E96, #0A5F78); color: #fff; border-color: transparent; box-shadow: 0 18px 30px -12px rgba(10,122,131,.6); transform: translateY(-8px) scale(1.04); }
.tempo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; font-weight: 700; color: var(--muted); font-size: 14.5px; }
.tempo input { flex: 1; min-width: 160px; accent-color: #0A7A83; height: 28px; cursor: pointer; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.mini { border-radius: 36px; padding: 32px; min-height: 250px; position: relative; overflow: hidden; transition: translate .25s; }
.mini:hover { translate: 0 -6px; }
.mini h3 { font-size: clamp(24px, 1.95vw, 28px); max-width: min(220px, 52%); margin: 10px 0 8px; position: relative; z-index: 1; }
.mini .artx { position: absolute; right: -6px; bottom: -8px; height: 232px; width: auto; max-width: none; }
.mini.c1 { background: var(--coral-art); }
.mini.c2 { background: var(--mint-d); } .mini.c2 .over { color: var(--leader); }
.mini.c3 { background: var(--peach); } .mini.c3 h3 { max-width: none; }
.mini .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.mini .chips .chip { min-height: 32px; padding: 0 12px; font-size: 13px; border: 0; }

/* ── Home: Saturday, social ── */
.social { color: #fff; overflow: hidden; background: #0B0A12; display: flex; align-items: center; min-height: clamp(700px, 60vw, 860px); padding-block: 90px; }
.social .bg { position: absolute; inset: 0; }
.social .bg video { position: absolute; top: -4%; left: 20.8%; height: 108%; width: auto; max-width: none; min-width: 79.2%; }
.social .shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0B0A12 0%, #0B0A12 20%, rgba(11,10,18,.82) 36%, rgba(11,10,18,.1) 56%, rgba(11,10,18,0) 100%), linear-gradient(0deg, rgba(11,10,18,.8), transparent 30%); }
.social h2 { font-size: clamp(40px, 5.55vw, 80px); margin: 24px 0 20px; max-width: 560px; }
.social .lead { color: rgba(255,255,255,.82); max-width: 500px; }
.social > .hand { position: absolute; right: 6.2%; top: 14%; z-index: 2; font-size: clamp(32px, 3.3vw, 48px); color: #FFD9B8; rotate: -6deg; max-width: 9em; text-align: right; line-height: 1; }
.social > .ai-note, .final > .ai-note { position: absolute; right: var(--pad); bottom: 28px; }
.event { width: min(600px, 100%); margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 24px; padding: 26px; border-radius: 30px; background: rgba(14,20,42,.66); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(22px); box-shadow: 0 50px 90px -30px #000; }
.event .over { color: var(--lime); }
.event h3 { font-size: clamp(25px, 2.1vw, 30px); margin: 8px 0 12px; }
.event .m { font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.7; }
.who { margin: 0 0 12px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.08); }
.who b { font-size: 15.5px; }
.split { display: flex; gap: 5px; height: 10px; margin: 12px 0 10px; }
.split i { border-radius: 9px; transition: flex .4s; } .split .l { background: #35C2CC; } .split .f { background: #FF8D7E; }
.who small { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.74); font-weight: 600; }
.rsvp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rsvp button { min-height: 50px; padding: 0 8px; border-radius: 99px; text-align: center; font-weight: 700; font-size: 14px; white-space: nowrap; transition: translate .18s, box-shadow .18s; }
.rsvp button:hover { translate: 0 -2px; }
.rsvp .l { background: #35C2CC; color: var(--ink); } .rsvp .f { border: 1.5px solid #FF8D7E; color: #FFB3A8; }
.rsvp [aria-pressed=true] { box-shadow: 0 0 0 3px rgba(255,255,255,.9); }

/* ── Home: Sunday, progress ── */
.prog .vis { position: relative; aspect-ratio: 590 / 700; width: 100%; max-width: 590px; }
.prog .vis .phone { position: absolute; right: 5%; top: 1.4%; width: 51%; }
.prog .vis .month { position: absolute; left: 1.7%; top: 11.4%; width: 54%; border-radius: 9% / 5%; rotate: -5deg; box-shadow: 0 50px 90px -30px rgba(20,38,74,.7); }
.quote { margin-top: 34px; padding: clamp(24px, 2.1vw, 30px) clamp(24px, 2.4vw, 34px); border-radius: 32px; background: var(--lime); font-family: var(--display); font-weight: 800; font-size: clamp(28px, 2.64vw, 38px); letter-spacing: -.03em; line-height: 1.02; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.tiles li { padding: clamp(14px, 1.53vw, 22px); border-radius: 26px; background: #fff; border: 1px solid var(--border); }
.tiles b { display: block; font-family: var(--display); font-size: clamp(28px, 2.78vw, 40px); letter-spacing: -.03em; line-height: 1; }
.tiles span { font-size: 13.5px; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 4px; }

/* ── Teachers band (home) and shared teacher pieces ── */
.teach { background: var(--peach); overflow: hidden; }
.teach::before { content: ''; position: absolute; width: 760px; height: 760px; border-radius: 50%; background: var(--peach-d); right: -240px; top: -300px; }
.photo { position: relative; overflow: hidden; }
.teach .photo { border-radius: clamp(28px, 2.8vw, 40px); aspect-ratio: 590 / 620; box-shadow: 0 50px 90px -40px rgba(140,50,40,.55); }
.photo .zoom { top: 0; height: 100%; left: 50%; translate: -46% 0; }
.photo .zoom .qr { left: 38.25%; top: 38.4%; width: 3.4%; }
.teach h2 { margin: 20px 0 30px; font-size: clamp(36px, 4.17vw, 60px); }
.tl li { display: flex; gap: 16px; padding: 15px 0; border-top: 1.5px solid rgba(25,40,64,.12); font-weight: 600; font-size: clamp(16px, 1.18vw, 17px); }
.tl li b { color: var(--coral); font-family: var(--display); width: 26px; flex: none; }
.fifty { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); margin: 26px 0 30px; padding: clamp(20px, 1.8vw, 26px) clamp(20px, 2.1vw, 30px); border-radius: 30px; background: #fff; }
.fifty b { font-family: var(--display); font-size: clamp(60px, 6.7vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--coral); white-space: nowrap; }
.fifty span { font-weight: 600; font-size: clamp(15px, 1.18vw, 17px); line-height: 1.4; }

/* ── Home: the film ── */
.film .grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 24px; }
.vid { position: relative; display: block; width: 100%; border-radius: 36px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 50px 90px -40px rgba(20,38,74,.6); transition: translate .25s; }
.vid:hover { translate: 0 -6px; }
.vid img { width: 100%; height: 100%; object-fit: cover; }
.vid .pl { position: absolute; left: 70%; top: 46%; width: clamp(72px, 7.2vw, 104px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: clamp(30px, 3vw, 44px); box-shadow: 0 0 0 14px rgba(217,243,122,.25); transition: scale .25s; }
.vid:hover .pl { scale: 1.07; }
.vid .cap { position: absolute; left: clamp(10px, 1.4vw, 20px); bottom: clamp(10px, 1.4vw, 20px); right: clamp(10px, 1.4vw, 20px); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 20px; background: rgba(10,18,40,.68); color: #fff; backdrop-filter: blur(14px); font-weight: 600; font-size: 15px; }
.vid .cap span { color: rgba(255,255,255,.74); font-size: 13.5px; }
.chapters { border-radius: 36px; background: #fff; border: 1px solid var(--border); padding: 28px 26px 18px; box-shadow: 0 24px 48px -28px rgba(49,92,199,.22); }
.chapters .over { margin-bottom: 10px; }
.chapters li + li { border-top: 1px solid var(--border); }
.chapters button { display: flex; width: 100%; gap: 14px; align-items: baseline; padding: 8.5px 6px; font-weight: 600; font-size: 15px; border-radius: 10px; transition: background .2s, color .2s; }
.chapters button:hover { background: var(--sky); color: var(--blue); }
.chapters b { font-variant-numeric: tabular-nums; color: var(--blue); font-size: 13px; width: 34px; flex: none; }

/* ── Final call ── */
.final { background: radial-gradient(circle at 12% 60%, #1B3A86 0, #0A1330 46%, #060B1C 75%); color: #fff; overflow: hidden; display: flex; align-items: center; min-height: clamp(560px, 53vw, 760px); padding-block: 90px; }
.final .bg { position: absolute; right: -4%; top: 0; bottom: 0; width: 70%; mask-image: radial-gradient(ellipse 62% 80% at 52% 50%, #000 30%, transparent 96%); }
.final > .ribbon { position: absolute; left: -330px; bottom: -470px; width: 620px; max-width: none; mix-blend-mode: screen; opacity: .75; rotate: -30deg; }
.final h2 { font-size: clamp(42px, 6.4vw, 92px); max-width: 720px; }
.final .hand { font-size: clamp(50px, 5.83vw, 84px); color: var(--lime); rotate: -3deg; transform-origin: 0 50%; margin: 4px 0 40px 6px; line-height: .9; }
.final .row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.final .qr { width: 96px; flex: none; margin-left: 14px; border-radius: 18px; }
.final .row p { font-size: 14px; color: rgba(255,255,255,.74); width: 150px; line-height: 1.35; }
.final .row p.wide { width: auto; }
.p-teachers .final .hand { font-size: clamp(40px, 4.17vw, 60px); margin-top: 6px; }

/* ── Footer ── */
.foot { background: var(--deep); color: rgba(255,255,255,.74); padding: 72px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot .about { margin-top: 18px; max-width: 300px; }
.foot h2 { font-family: inherit; color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; line-height: 1.4; }
.foot li { margin: 9px 0; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot [aria-current] { color: #fff; }
.foot .fine { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.6); }

/* ── Film dialog ── */
.film-dialog { border: 0; padding: 0; background: none; max-width: none; max-height: none; width: 100vw; height: 100dvh; overflow: hidden; }
.film-dialog[open] { display: grid; place-items: center; padding: clamp(12px, 2vw, 24px); }
.film-dialog::backdrop { background: rgba(5,10,24,.9); backdrop-filter: blur(10px); }
.film-dialog video { width: min(1180px, 100%); max-height: 84dvh; border-radius: clamp(14px, 1.7vw, 24px); background: #000; box-shadow: 0 60px 120px -30px #000; }
.film-dialog .x { position: absolute; right: clamp(12px, 1.8vw, 26px); top: clamp(12px, 1.5vw, 22px); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; font-size: 22px; z-index: 1; }
.film-dialog :focus-visible { outline-color: var(--lime); }

/* ── Teachers page ── */
.thero { background: #FFF1EA; overflow: hidden; }
.thero::before { content: ''; position: absolute; width: 1000px; height: 1000px; border-radius: 50%; background: var(--peach-d); right: -260px; top: -240px; }
.thero::after { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: #FFE0D3; left: -240px; bottom: -280px; }
.thero .wrap { z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(120px, 9.4vw, 136px); padding-bottom: clamp(70px, 8.3vw, 120px); }
.thero .status { background: #fff; border-color: rgba(214,83,103,.3); color: var(--coral); font-weight: 700; }
.thero .status i { background: var(--coral); box-shadow: 0 0 0 5px rgba(214,83,103,.18); }
.thero h1 { font-size: clamp(42px, 6.1vw, 88px); margin: 26px 0; }
.thero h1 em { color: var(--coral); }
.thero .lead { max-width: 540px; }
.thero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tvis { position: relative; width: 100%; max-width: 520px; margin-left: auto; aspect-ratio: 520 / 690; }
.tvis .photo { position: absolute; inset: 0; border-radius: clamp(30px, 3vw, 44px); box-shadow: 0 60px 100px -40px rgba(140,50,40,.55); }
.tvis .photo .zoom { translate: -45% 0; }
.tvis .phone { position: absolute; left: -30%; top: 38%; width: 45.4%; z-index: 3; }
.tvis .badge { position: absolute; right: -5%; top: 85.5%; z-index: 3; padding: 16px 20px; border-radius: 22px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 30px 50px -24px rgba(20,38,74,.7); }
.tvis .badge b { display: block; font-family: var(--display); font-size: clamp(22px, 2.1vw, 30px); color: var(--lime); letter-spacing: -.02em; line-height: 1.1; }
.tvis .hand { position: absolute; right: 106%; top: -1%; font-size: clamp(30px, 2.8vw, 40px); color: var(--coral); rotate: -6deg; z-index: 3; line-height: .95; text-align: right; white-space: nowrap; }
.p-teachers .head-c .over { color: var(--coral); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fcard { border-radius: 40px; padding: clamp(28px, 2.8vw, 40px) clamp(24px, 2.5vw, 36px) 0; overflow: hidden; position: relative; transition: translate .25s; }
.fcard:hover { translate: 0 -6px; }
.fcard .n { font-family: var(--display); font-weight: 800; font-size: 20px; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.fcard h3 { font-size: clamp(27px, 2.36vw, 34px); margin: 18px 0 10px; }
.fcard > p { color: var(--muted); font-size: 16.5px; min-height: 6.3em; }
.fcard .phone { width: min(290px, 86%); margin: 26px auto calc(min(290px, 86%) * -0.62); }
.fcard.a { background: var(--sky); } .fcard.b { background: var(--mint-d); } .fcard.c { background: var(--peach); }
.fcard .qr.cover { position: absolute; left: 5%; top: 35.2%; width: 67.5%; border-radius: 0; }
.get { background: #060D20; color: #fff; overflow: hidden; }
.get::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(49,92,199,.5), transparent 55%); }
.get > .ribbon { position: absolute; width: 440px; max-width: none; left: -250px; bottom: -330px; mix-blend-mode: screen; opacity: .7; rotate: -20deg; }
.get h2 { margin: 20px 0 24px; }
.get .lead { color: rgba(255,255,255,.78); }
.get .feat i { background: rgba(217,243,122,.14); color: var(--lime); }
.get .vis { position: relative; aspect-ratio: 590 / 700; width: 100%; max-width: 590px; margin-inline: auto; }
.get .vis .phone { position: absolute; left: 5%; top: 0; width: 52.5%; }
.mapc { position: absolute; right: -3.4%; bottom: 4.3%; width: 68%; aspect-ratio: 400 / 250; overflow: hidden; border-radius: 28px; filter: brightness(1.5) saturate(1.2); border: 1px solid rgba(160,190,255,.35); box-shadow: 0 0 90px rgba(49,92,199,.6), 0 40px 70px -30px #000; }
.mapc img { position: absolute; width: 230%; max-width: none; left: -7.8%; top: -22%; }
.get .vis .hand { position: absolute; right: 1.7%; top: 13.7%; font-size: clamp(30px, 2.9vw, 42px); color: var(--lime); rotate: 5deg; line-height: .95; }
.com .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.cbox { border-radius: 40px; position: relative; overflow: hidden; }
.cbox.g { background: var(--sky); height: clamp(520px, 44.5vw, 640px); padding: clamp(28px, 2.8vw, 40px) clamp(24px, 2.8vw, 40px) 0; }
.cbox.g h3 { font-size: clamp(25px, 2.2vw, 32px); margin-top: 10px; }
.cbox.g .phone { margin: 30px auto 0; width: min(300px, 84%); }
.cbox.n { background: var(--mint); padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.cbox.n .over { color: var(--leader); }
.cbox.n h3 { font-size: clamp(28px, 2.78vw, 40px); margin-top: 10px; max-width: 520px; }
.aviso { background: var(--mint-d); border-radius: 28px; padding: clamp(18px, 1.8vw, 26px) clamp(18px, 1.95vw, 28px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; transition: opacity .25s; }
.aviso .av { width: clamp(48px, 4.4vw, 64px); aspect-ratio: 1; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: clamp(17px, 1.5vw, 22px); }
.aviso .over { color: var(--blue); font-size: 11.5px; }
.aviso b { display: block; margin: 2px 0 8px; }
.aviso .txt { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.45; min-height: 4.4em; }
.aviso .g { display: inline-flex; margin-top: 14px; min-height: 32px; align-items: center; padding: 0 12px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; }
.groups { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.money { background: var(--peach); overflow: hidden; }
.money::before { content: ''; position: absolute; width: 760px; height: 760px; border-radius: 50%; background: var(--peach-d); left: -260px; top: -260px; }
.money .big { font-family: var(--display); font-weight: 800; font-size: clamp(120px, 18vw, 260px); letter-spacing: -.06em; line-height: .82; color: var(--coral); white-space: nowrap; }
.money h2 { font-size: clamp(32px, 3.6vw, 52px); margin: 18px 0 26px; }
.money .vis { position: relative; width: 100%; max-width: 590px; margin-inline: auto; padding-bottom: 8px; }
.money .vis .phone { width: min(320px, 62%); margin-inline: auto; }
.money .tile { position: absolute; padding: clamp(14px, 1.4vw, 20px) clamp(16px, 1.7vw, 24px); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -28px rgba(140,50,40,.5); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.money .tile b { display: block; font-family: var(--display); font-size: clamp(24px, 2.36vw, 34px); color: var(--ink); letter-spacing: -.03em; line-height: 1.05; }
.money .tile.t1 { left: -4%; top: 5%; } .money .tile.t2 { right: -2%; top: 59%; }
.money .demo { text-align: center; color: #8A5A50; margin-top: 18px; }

/* ── Motion ── */
.js .rv { opacity: 0; translate: 0 30px; transition: opacity .8s cubic-bezier(.2,.7,.2,1), translate .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; translate: none; }
.js .days i { transition: background .35s, color .35s, border-color .35s; transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.js .days:not(.in) i { background: #fff; color: var(--soft); border-color: var(--border); }
.js .dark .days:not(.in) i { background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.16); }
.js .state { opacity: 0; scale: .8; transition: opacity .4s, scale .4s; }
.js .pics.in .state { opacity: 1; scale: 1; }
.js .pics.in .s1 { transition-delay: .5s; } .js .pics.in .s2 { transition-delay: 1.1s; } .js .pics.in .s3 { transition-delay: 1.7s; }

/* Teachers hero, two columns: the phone stands in its own strip of the picture
   column, so it cannot reach the text beside it at any window width. */
@media (min-width: 901px) {
  .thero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 44px); }
  .tvis { max-width: 640px; aspect-ratio: 520 / 531; }
  .tvis .photo { left: 23%; }
  .tvis .phone { left: 0; width: 35%; }
  .tvis .hand { right: 79%; }
  .tvis .badge { right: -3%; }
}

/* ── Tablet ── */
@media (max-width: 1040px) {
  .hero { display: block; min-height: 0; }
  .hero .bg { inset: 0 0 auto 0; height: min(64svh, 540px); }
  .hero .bg video { position: static; width: 100%; height: 100%; min-width: 0; object-position: 50% 30%; }
  .hero .shade { background: linear-gradient(180deg, rgba(5,10,24,.6) 0%, rgba(5,10,24,0) 16%, rgba(5,10,24,0) 34%, #050A18 min(60svh, 500px)); }
  .hero > .wrap { padding-top: calc(min(64svh, 540px) - 216px); padding-bottom: 56px; }
  .hero .copy { max-width: none; order: 2; margin-top: 30px; }
  .tag { right: auto; left: var(--pad); top: 84px; }
  .player { margin-top: 0; padding-top: 0; order: 1; }
  .social { display: block; min-height: 0; padding: 330px 0 64px; }
  .social .bg { bottom: auto; height: 420px; }
  .social .bg video { position: static; width: 100%; height: 100%; min-width: 0; object-position: 62% 0; }
  .social .shade { background: linear-gradient(180deg, rgba(8,10,22,.2) 0, #0B0A12 400px); }
  .social > .hand { right: var(--pad); top: 46px; }
  .social > .ai-note { left: var(--pad); right: auto; top: 18px; bottom: auto; }
  .final { display: block; min-height: 0; padding: 340px 0 84px; background: #070D1E; }
  .final .bg { width: 130%; right: -15%; bottom: auto; height: 420px; mask-image: linear-gradient(#000 55%, transparent); }
  .final > .ai-note { left: var(--pad); right: auto; bottom: 22px; }
  .p-teachers .final { padding-top: 320px; }
  .hero .glow, .hero .note, .final > .ribbon { display: none; }
  .hero .copy { display: flex; flex-direction: column; align-items: flex-start; }
  .hero > .wrap { display: flex; flex-direction: column; }
  .social .bg video { object-position: 50% 20%; }
  .nav nav { display: none; }
  .js .burger { display: grid; }
  .js .nav nav { position: absolute; top: calc(100% + 12px); left: var(--pad); right: var(--pad); }
  .js .nav.open nav { display: block; }
  .nav ul, .nav.light ul { flex-direction: column; border-radius: 26px; padding: 10px; background: rgba(8,14,32,.96); border-color: rgba(255,255,255,.14); }
  .nav li a, .nav.light li a { padding: 14px 18px; font-size: 16px; color: rgba(255,255,255,.9); }
  .nav.light li a[aria-current] { background: #fff; color: var(--ink); }
  .bento, .com .grid { grid-template-columns: minmax(0, 1fr); }
  .b-phone, .cbox.g { height: auto; max-height: 620px; }
  .routecard { position: relative; right: auto; top: auto; width: min(480px, 100%); margin: -48px auto 0; }
  .preview { position: relative; left: auto; bottom: auto; width: min(480px, 100%); margin: 14px auto 0; }
  .steps, .flow { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .fcard > p { min-height: 0; }
  .film .grid { grid-template-columns: minmax(0, 1fr); }
  .chapters ol { columns: 2; column-gap: 24px; } .chapters li { break-inside: avoid; } .chapters li + li { border-top: 0; }
  .three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .three .mini:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .two, .top, .forget .wrap { grid-template-columns: minmax(0, 1fr); }
  .top { align-items: start; }
  .pics, .prog .vis, .tvis { margin-inline: auto; }
  .prac .two > :first-child { order: 2; }
  .teach .photo { aspect-ratio: 4 / 3; }
  .thero .wrap { grid-template-columns: minmax(0, 1fr); }
  .tvis { max-width: 440px; margin-top: 76px; }
  .tvis .phone { left: -6%; top: 44%; width: 40%; }
  .tvis .hand { right: auto; left: 4%; top: auto; bottom: 101%; text-align: left; }
  .tvis .badge { right: -3%; }
  .money .wrap > :first-child { order: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}

/* ── Phone ── */
@media (max-width: 720px) {
  .nav { padding: 14px 0; } .nav.stuck { padding: 10px 0; }
  .nav .btn { display: none; }
  .brand img { width: 36px; height: 36px; }
  br.d, .status .long { display: none; }

  .watch { display: none; }
  .hero h1 { margin: 16px 0; font-size: clamp(42px, 13.2vw, 56px); }
  .hero .cta { gap: 10px; margin-top: 24px; }
  .store { min-height: 54px; padding: 0 16px 0 14px; } .store b { font-size: 16px; }
  .player .lbl .over, .player .time, .player .chip { display: none; }
  .player .lbl { justify-content: flex-end; margin-bottom: 8px; }
  .player .box { min-height: 66px; gap: 12px; padding: 0 14px; border-radius: 22px; }
  .player .play { width: 40px; height: 40px; font-size: 18px; }
  .track span { font-size: 11px; margin-bottom: 7px; padding-right: 4px; }

  .forget .q { margin-bottom: 22px; }
  .pics { aspect-ratio: 600 / 780; }
  .how { padding-top: 10px; }
  .stage { padding-bottom: 120px; }
  .float { padding: 14px 16px; }
  .float.f1 { left: -6px; top: 47%; width: min(236px, 68%); }
  .float.f2 { right: -6px; top: auto; bottom: 0; width: min(270px, 80%); }
  .float .row { font-size: 13.5px; padding: 7px 0; white-space: nowrap; } .float .row small { font-size: 11px; }
  .b-navy .ribbon { width: 200px; opacity: .5; }
  .arts { grid-template-columns: minmax(0, 1fr); gap: 14px; } .art { min-height: 260px; }
  .shot { aspect-ratio: 335 / 420; transform: none; } .shot img { width: 235%; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .three { grid-template-columns: minmax(0, 1fr); }
  .mini .artx { height: 190px; }
  .count b.on { transform: translateY(-4px) scale(1.04); }

  .event { grid-template-columns: minmax(0, 1fr); }

  .final .qr, .final .row p:not(.wide) { display: none; }

  .chapters ol { columns: 1; } .chapters li + li { border-top: 1px solid var(--border); }
  .vid { border-radius: 24px; } .vid .cap { font-size: 13px; padding: 10px 14px; } .vid .cap span { display: none; }
  .days i { width: 26px; height: 26px; font-size: 11px; }
  .foot .cols { grid-template-columns: 1fr; gap: 30px; }

  .thero .wrap { padding-top: 108px; }
  .tvis { width: 88%; }
  .money .tile.t1 { left: 0; } .money .tile.t2 { right: 0; }
  .fcard, .cbox { border-radius: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .state { opacity: 1; translate: none; scale: 1; transition: none; }
  .ticker p:first-child { animation: none; }
  .shot { transform: none; }
  * { transition-duration: .01ms !important; }
}
