/* Shalvit Online School — public site.
   The approved app design system (v24 theme.css) in plain CSS:
   warm cream ground, Baloo 2 display + Nunito body, amber-ringed white
   surfaces, teal/amber glossy buttons, the green notice board with its
   wooden frame, and the app's premium motion layer. No build step. */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  color-scheme: only light;
  --bg: #fffbeb;
  --surface: #ffffff;
  --surface-warm: #fff7ed;
  --text: #292524;
  --dim: #78716c;
  --border: #fde68a;
  --accent: #f59e0b;
  --accent-deep: #d97706;
  --teal: #0f766e;
  --teal-deep: #115e59;
  --coral: #f97316;
  --sky: #0284c7;
  --board: #14532d;
  --board-frame: #92400e;
  --wa-header: #0b5e52;
  --wa-wall: #f3ead9;
  --wa-bubble-out: #d9f2c2;
  --wa-bubble-in: #ffffff;
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3, h4, .serif { font-family: var(--font-display); color: var(--text); }
.gold { color: #b45309; }
a { color: #0f766e; }
img { -webkit-user-drag: none; user-select: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
button, a, [role="button"] { touch-action: manipulation; }

/* ── Header (the app's public shell: crest in a white box, wordmark,
      pill nav, Log In + Register Now) ─────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(255, 251, 235, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-head img.logo {
  width: 46px; height: 46px; border-radius: 12px; background: #fff;
  object-fit: cover; padding: 2px;
  box-shadow: 0 1px 3px rgba(120, 70, 5, .18); border: 1px solid #fde68a;
}
.site-head .brand { line-height: 1.05; margin-right: 6px; }
.site-head .brand .brand-name {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.06rem; letter-spacing: .06em; color: var(--text);
}
.site-head .brand .brand-sub {
  display: block; font-size: .6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em; color: var(--teal);
}
.site-head nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.site-head nav a {
  color: var(--dim); text-decoration: none; font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; border: 1px solid transparent;
}
.site-head nav a:hover { background: var(--surface); color: var(--text); }
.site-head nav a.here { background: var(--accent); color: #1c1917; font-weight: 800; box-shadow: 0 4px 10px -4px rgba(245, 158, 11, .6); }
.site-head nav a.nav-login {
  background: var(--surface); color: #115e59; border: 2px solid var(--teal); padding: 6px 16px;
}
.site-head nav a.nav-register {
  background: linear-gradient(to bottom, #fbbf24, #f59e0b 55%, #d97706);
  color: #1c1917; font-weight: 800; border: 1px solid #fcd34d;
  box-shadow: 0 6px 14px -6px rgba(245, 158, 11, .55);
}
.site-head .free-pill {
  display: none; align-items: center; white-space: nowrap;
  background: var(--teal); color: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: .75rem; font-weight: 700;
}
@media (min-width: 1100px) { .site-head .free-pill { display: inline-flex; } }

/* ── Layout ────────────────────────────────────────────────────────── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 20px 20px 64px; }
.view-enter { animation: viewIn .45s ease both; }

/* Hero (legacy centred hero, app-styled) */
.hero { text-align: center; padding: 30px 0 8px; }
.hero img.crest {
  width: 120px; height: 120px; border-radius: 24px; background: #fff; object-fit: cover;
  box-shadow: 0 10px 24px -12px rgba(180, 110, 10, .45); border: 1px solid var(--border); padding: 4px;
}
.hero h1 { font-size: 2.6rem; margin: 16px 0 8px; line-height: 1.15; font-weight: 800; }
.hero .tagline { font-size: 1.1rem; color: var(--dim); max-width: 680px; margin: 8px auto; line-height: 1.6; font-weight: 600; }
.rule { width: 72px; height: 3px; background: var(--accent); margin: 26px auto; border-radius: 2px; }

/* Cards & blocks (legacy names, app surfaces) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 20px;
  box-shadow: 0 1px 3px rgba(120, 70, 5, .06);
}
.card h2, .card h3 { color: var(--text); margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; }
.card p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--dim); }
.card a.more { display: inline-block; margin-top: 10px; font-size: .95rem; font-weight: 800; font-family: var(--font-display); text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
/* Door cards (Levels & Fees "Who signs up how", 2026-11-17): a card that
   is itself a link keeps the exact card look, and says so. */
a.card { display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.card:hover { border-color: var(--accent); }
.card .card-go { display: inline-block; margin-top: 10px; font-size: .95rem; font-weight: 800; font-family: var(--font-display); color: var(--teal); text-decoration: none; }
a.card:hover .card-go, .card a.card-go:hover { text-decoration: underline; }
.card .card-doors { margin-top: 2px; }

section.block { margin: 38px 0; }
section.block > h2 { font-size: 1.6rem; margin: 0 0 10px; font-weight: 800; }
section.block p.lead { color: var(--dim); line-height: 1.65; max-width: 760px; font-size: 1.02rem; }
section.block p.lead strong { color: var(--text); }

/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: 0 1px 3px rgba(120, 70, 5, .06); }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--surface); }
th, td { padding: 12px 16px; text-align: left; font-size: .97rem; }
th { background: #fef3c7; color: #78350f; font-family: var(--font-display); font-weight: 800; }
tr + tr td { border-top: 1px solid #fef3c7; }
td.num, th.num { text-align: right; white-space: nowrap; }
td .gold, th .gold { color: #b45309; }

/* Buttons (app: amber-gradient primary with shine; white/teal ghost) */
.btn {
  position: relative; overflow: hidden;
  display: inline-block; cursor: pointer; text-decoration: none;
  background: linear-gradient(to bottom, #fbbf24, #f59e0b 55%, #d97706);
  color: #1c1917; font-family: var(--font-display); font-weight: 800;
  padding: 12px 24px; border-radius: 999px; font-size: 1rem;
  border: 1px solid #fcd34d; box-shadow: 0 8px 16px -8px rgba(245, 158, 11, .55);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-130%); pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); transition: transform .7s ease; }
.btn.teal { background: #0f766e; color: #fff; border-color: #0f766e; box-shadow: 0 8px 16px -8px rgba(15, 118, 110, .55); }
.btn.teal:hover { background: #115e59; }
.btn.pink { background: #be185d; color: #fff; border-color: #be185d; box-shadow: 0 8px 16px -8px rgba(190, 24, 93, .5); }
.btn.pink:hover { background: #9d174d; }
.btn.ghost {
  background: var(--surface); color: #115e59; border: 2px solid var(--teal);
  box-shadow: none;
}
.btn.ghost:hover { background: #f0fdf9; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 4px; }

.note {
  background: #fffbeb; border: 1px solid #fcd34d;
  border-radius: 20px; padding: 16px 18px; line-height: 1.6; font-size: .98rem; color: var(--text);
}
.note strong.gold, .note .gold { color: #b45309; }
.small { font-size: .92rem; color: var(--dim); line-height: 1.6; }
.small strong { color: var(--text); }

footer {
  border-top: 1px solid var(--border); background: var(--surface-warm);
  margin-top: 44px; padding: 26px 20px 36px; color: var(--dim); font-size: .9rem; line-height: 1.7;
}
footer .foot-inner { max-width: 1080px; margin: 0 auto; }
footer .foot-brand { display: flex; align-items: center; gap: 12px; }
footer .foot-brand img {
  width: 46px; height: 46px; border-radius: 12px; background: #fff; object-fit: cover;
  padding: 2px; box-shadow: 0 1px 3px rgba(120, 70, 5, .18); border: 1px solid var(--border);
}
footer .foot-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); }
footer p { max-width: 760px; }
footer a { color: #115e59; font-weight: 700; }

/* ── The app's premium motion layer (from theme.css) ──────────────── */
@keyframes writeIn { from { opacity: 0; transform: translateY(10px) rotate(-1deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
.write-in { animation: writeIn .45s ease both; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.bob { animation: bob 3s ease-in-out infinite; }
@keyframes popStar { 0% { transform: scale(0) rotate(-30deg); opacity: 0; } 70% { transform: scale(1.3) rotate(8deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.pop-star { animation: popStar .5s ease both; }
@keyframes kenBurns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.13) translate(-1.6%, 1.6%); } }
.ken-burns { animation: kenBurns 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: riseIn .7s cubic-bezier(.22, .9, .3, 1) both; }
.reveal-1 { animation-delay: .08s; } .reveal-2 { animation-delay: .18s; }
.reveal-3 { animation-delay: .3s; } .reveal-4 { animation-delay: .45s; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(5deg); } }
.floaty { animation: floaty 7s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
.twinkle { animation: twinkle 3.2s ease-in-out infinite; display: inline-block; }
@keyframes driftGlow { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 60%; } }
.living-bg { background-size: 170% 170%; animation: driftGlow 18s ease-in-out infinite; }
.lift-card { transition: transform .35s cubic-bezier(.22, .9, .3, 1), box-shadow .35s ease; }
@media (hover: hover) {
  .lift-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(180, 110, 10, .45), 0 6px 14px -8px rgba(15, 118, 110, .28); }
}
.lift-card:active { transform: translateY(-1px) scale(.995); }
.btn-shine { position: relative; overflow: hidden; }
@keyframes badgePop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.badge-pop { animation: badgePop .5s ease both; }

/* Dashboard gloss (app) */
@keyframes dashSheen { 0% { transform: translateX(-140%) skewX(-18deg); } 55%, 100% { transform: translateX(240%) skewX(-18deg); } }
.dash-sheen { position: relative; overflow: hidden; }
.dash-sheen::after {
  content: ""; position: absolute; inset: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  animation: dashSheen 7s ease-in-out infinite; pointer-events: none;
}
.dash-tile {
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px -12px rgba(120, 70, 5, .35);
  transition: transform .3s cubic-bezier(.22, .9, .3, 1), box-shadow .3s ease;
}
.dash-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-130%); pointer-events: none;
}
@media (hover: hover) { .dash-tile:hover { transform: translateY(-3px); } .dash-tile:hover::after { transform: translateX(130%); transition: transform .65s ease; } }
.dash-tile:active { transform: translateY(-1px) scale(.99); }

/* Living teacher (app) */
@keyframes teacherSway { 0%, 100% { transform: rotate(-.7deg) translateY(0); } 50% { transform: rotate(.7deg) translateY(-3px); } }
.teacher-live { animation: teacherSway 5.5s ease-in-out infinite; transform-origin: 50% 92%; will-change: transform; }
@keyframes handWrite { 0% { transform: translate(0,0) rotate(-6deg); opacity: 0; } 12% { opacity: 1; } 25% { transform: translate(14px,-3px) rotate(4deg); } 50% { transform: translate(30px,1px) rotate(-4deg); } 75% { transform: translate(46px,-3px) rotate(5deg); } 100% { transform: translate(60px,0) rotate(-6deg); opacity: 1; } }
.hand-write { animation: handWrite 1.15s ease-in-out infinite alternate; display: inline-block; will-change: transform; }
@keyframes pointNod { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
.point-hand { animation: pointNod 1.6s ease-in-out infinite; display: inline-block; }

/* WhatsApp-style chat wallpaper (app) */
.wa-wallpaper {
  background-color: var(--wa-wall);
  background-image:
    radial-gradient(circle at 12px 18px, rgba(180, 140, 60, .10) 2.2px, transparent 2.6px),
    radial-gradient(circle at 44px 52px, rgba(15, 118, 110, .08) 1.8px, transparent 2.2px),
    radial-gradient(circle at 70px 8px, rgba(217, 119, 6, .07) 1.5px, transparent 1.9px);
  background-size: 84px 84px;
}

/* ── Home page components (ported from the app's HomeView) ────────── */
.hero-shell {
  position: relative; overflow: hidden; border-radius: 32px;
  background: linear-gradient(to bottom, #fef3c7, #fff7ed 55%, #fffbeb);
  box-shadow: 0 1px 3px rgba(120, 70, 5, .08); border: 1px solid #fde68a;
  padding: 30px 26px 30px;
}
.hero-shell .deco { position: absolute; inset: 0; pointer-events: none; }
.hero-logo-card {
  background: #fff; border-radius: 22px; padding: 14px;
  box-shadow: 0 12px 24px -12px rgba(146, 64, 14, .25); border: 1px solid #fde68a;
  max-width: 430px;
}
.hero-logo-card img { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.hero-shell h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin: 18px 0 0; }
@media (min-width: 768px) { .hero-shell h1 { font-size: 2.35rem; } }
.hero-sub { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.35; color: #44403c; max-width: 860px; margin: 12px 0 0; }
.hero-sub .teal { color: #115e59; }
.hero-feats { margin: 8px 0 0; max-width: 860px; font-size: .95rem; font-weight: 600; line-height: 1.6; color: #57534e; }
.band-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.band-pill {
  display: inline-block; background: rgba(255,255,255,.85); color: #134e4a; text-decoration: none;
  padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 800;
  box-shadow: 0 1px 3px rgba(120, 70, 5, .12); border: 1px solid #fcd34d;
}
.band-pill:hover { background: #fff; }
.band-pill .bp-dim { font-weight: 700; color: #57534e; }
.band-pill.dark { background: #1c1917; color: #fcd34d; border-color: #44403c; }
.band-pill.dark .bp-dim { color: #d6d3d1; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-ctas .btn { font-size: 1.08rem; padding: 13px 24px; }
.free-line {
  display: inline-block; margin-top: 12px; background: rgba(255,255,255,.8);
  padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  color: #115e59; border: 1px solid #99f6e4;
}
.free-line.full-line { color: #57534e; border-color: #d6d3d1; }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 460px; margin-top: 20px; text-align: center; }
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { background: rgba(255,255,255,.75); border: 1px solid #fde68a; border-radius: 16px; padding: 8px 4px; }
.stat-tile .v { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; line-height: 1; color: #115e59; }
.stat-tile .l { margin-top: 4px; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #57534e; }

.offer-card { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 22px; box-shadow: 0 1px 3px rgba(120, 70, 5, .06); }
.offer-card .eyebrow { font-family: var(--font-display); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); margin: 0; }
.offer-card p.body { margin: 8px 0 0; max-width: 1000px; font-size: 1rem; line-height: 1.65; color: var(--text); }

/* Carousel */
.carousel-frame { margin-top: 24px; height: 256px; overflow: hidden; border-radius: 26px; box-shadow: 0 16px 30px -16px rgba(120, 70, 5, .4); border: 1px solid #fde68a; }
@media (min-width: 640px) { .carousel-frame { height: 320px; } }
@media (min-width: 1024px) { .carousel-frame { height: 384px; } }
.carousel { position: relative; height: 100%; width: 100%; overflow: hidden; user-select: none; touch-action: pan-y; }
.carousel-track { display: flex; height: 100%; transition: transform .7s ease-out; }
.carousel-track.dragging { transition: none; }
.carousel-slide { height: 100%; width: 100%; flex-shrink: 0; overflow: hidden; }
.carousel-slide img { height: 100%; width: 100%; object-fit: cover; }
.carousel .chip-top {
  position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.55); color: #fffbeb;
  padding: 4px 12px; border-radius: 999px; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; border: 1px solid rgba(255,255,255,.3);
}
.carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  border: 1px solid rgba(255,255,255,.4); cursor: pointer;
}
.carousel .arrow:hover { background: rgba(0,0,0,.65); }
.carousel .arrow.prev { left: 8px; } .carousel .arrow.next { right: 8px; }
.carousel .caption-zone {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.25) 55%, transparent);
  pointer-events: none;
}
.carousel .caption-zone .cap { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); margin: 0; }
.carousel .caption-zone .line { max-width: 460px; font-size: .82rem; font-weight: 600; line-height: 1.45; color: #fef3c7; margin: 2px 0 0; }
.carousel .dots { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 6px; }
.carousel .dots button { height: 10px; width: 10px; border-radius: 999px; border: none; background: rgba(255,255,255,.7); cursor: pointer; padding: 0; transition: all .3s; }
.carousel .dots button.on { width: 28px; background: #fbbf24; }

/* Section heads (app SectionHead) */
.section-head { margin: 34px 0 12px; }
.section-head h2 { font-size: 1.55rem; font-weight: 700; line-height: 1.25; margin: 0; }
.section-head p { margin: 2px 0 0; font-size: .96rem; color: var(--dim); }

/* Band sections (app HomeBandSection) */
.band-section { margin-top: 34px; }
.band-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.band-icon { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 16px; background: #fef3c7; font-size: 1.5rem; border: 1px solid #fde68a; }
.band-head .band-meta { flex: 1; min-width: 200px; }
.band-head .band-eyebrow { font-family: var(--font-display); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #b45309; margin: 0; }
.band-head h2 { font-size: 1.55rem; font-weight: 800; line-height: 1.2; margin: 0; }
.band-blurb { margin: 8px 0 0; max-width: 860px; font-size: .96rem; line-height: 1.6; color: var(--dim); }
.level-grid { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .level-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .level-grid { grid-template-columns: repeat(4, 1fr); } }
.level-card {
  display: block; text-decoration: none; border-radius: 24px; padding: 16px; color: #1c1917;
  border: 1px solid var(--border); text-align: left;
}
.level-card .lc-top { font-family: var(--font-display); font-size: .88rem; font-weight: 700; margin: 0; }
.level-card .lc-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; margin: 0; line-height: 1.25; }
.level-card .lc-class { font-size: .82rem; font-weight: 700; color: #57534e; margin: 0; }
.level-card .lc-focus { font-size: .88rem; color: #44403c; margin: 4px 0 0; line-height: 1.5; }
.level-card .lc-meta { font-size: .82rem; font-weight: 700; color: #44403c; margin: 8px 0 0; }
.band-notes { margin: 12px 0 0; max-width: 860px; font-size: .93rem; line-height: 1.6; color: var(--dim); }
.band-notes strong { color: var(--text); }
.band-notes a { font-family: var(--font-display); font-weight: 700; color: var(--teal); text-decoration: underline; text-decoration-color: #5eead4; text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* Dark + gradient feature cards (app) */
.dark-card { margin-top: 30px; border-radius: 24px; background: #1c1917; color: #fafaf9; padding: 22px; box-shadow: 0 10px 24px -12px rgba(28, 25, 23, .5); }
.dark-card .eyebrow { font-family: var(--font-display); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fbbf24; margin: 0; }
.dark-card h2 { color: #fff; font-size: 1.55rem; font-weight: 800; margin: 0; }
.dark-card p { color: #e7e5e4; font-size: .96rem; line-height: 1.6; }
.dark-card .row-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.dark-card .big-icon { font-size: 2.4rem; }
.blue-card { margin-top: 24px; border-radius: 24px; background: linear-gradient(to bottom right, #172554, #1e3a8a 55%, #1e40af); color: #fff; padding: 22px; box-shadow: 0 10px 24px -12px rgba(23, 37, 84, .55); }
.blue-card h2 { color: #fff; font-size: 1.55rem; font-weight: 800; margin: 0; }
.blue-card p { color: #eff6ff; font-size: .96rem; line-height: 1.6; font-weight: 600; }
.blue-card .row-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.blue-card .big-icon { font-size: 2.4rem; }
.btn.white { background: #fff; color: #172554; border-color: #fff; box-shadow: 0 8px 16px -8px rgba(0,0,0,.4); }
.btn.white:hover { background: #eff6ff; }
.coming-chip { display: inline-block; margin-left: 6px; border-radius: 999px; background: #fbbf24; padding: 4px 12px; vertical-align: middle; font-family: var(--font-display); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #172554; }

/* Notice board (app: green board, wooden frame) */
.notice-board { margin-top: 20px; }
.board-frame {
  position: relative; overflow: hidden; border-radius: 26px; padding: 22px;
  background: var(--board); border: 10px solid var(--board-frame);
  box-shadow: 0 16px 30px -14px rgba(20, 83, 45, .55);
}
@media (min-width: 640px) { .board-frame { padding: 22px 28px; } }
.board-frame h2 { font-size: 1.15rem; font-weight: 800; color: #fffbeb; margin: 0; }
.board-frame .nb-title { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; line-height: 1.3; color: #fff; margin: 8px 0 0; }
.board-frame .nb-body { margin: 4px 0 0; max-width: 860px; font-size: 1rem; line-height: 1.6; color: #fef3c7; }
.board-frame .nb-meta { margin: 8px 0 0; font-size: .82rem; font-weight: 700; color: rgba(252, 211, 77, .9); }
.kind-chip { border-radius: 999px; padding: 2px 10px; font-size: .7rem; font-weight: 800; }
.kind-chip.inspiration { background: #fbbf24; color: #1c1917; }
.kind-chip.event { background: #5eead4; color: #042f2e; }
.kind-chip.offer { background: #f9a8d4; color: #500724; }
.kind-chip.announcement { background: rgba(255,255,255,.85); color: #1c1917; }
.nb-dots { margin-left: auto; display: flex; gap: 6px; }
.nb-dots button { height: 8px; width: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .3s; }
.nb-dots button.on { width: 24px; background: #fbbf24; }
.nb-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Steps / mode cards */
.step-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { border-radius: 24px; background: var(--surface); padding: 16px; border: 1px solid var(--border); }
.step-num { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: #fef3c7; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: #92400e; }
.step-card .t { margin: 8px 0 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.step-card .d { margin: 4px 0 0; font-size: .9rem; line-height: 1.6; color: var(--dim); }
.mode-card { border-radius: 24px; background: var(--surface); padding: 16px; border: 1px solid var(--border); }
.mode-card .ic { font-size: 1.8rem; }
.mode-card .t { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.mode-card .d { margin: 4px 0 0; font-size: .9rem; line-height: 1.6; color: var(--dim); }

/* Lesson cards (app LessonCard) */
.lesson-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .lesson-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lesson-grid { grid-template-columns: repeat(3, 1fr); } }
.lesson-card { display: block; text-decoration: none; border-radius: 24px; padding: 16px; color: #1c1917; border: 1px solid var(--border); transition: box-shadow .3s; }
.lesson-card:hover { box-shadow: 0 10px 22px -12px rgba(120, 70, 5, .35); }
.lesson-card .lc-top { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.lesson-card .lc-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; margin: 2px 0 0; }
.lesson-card .lc-intro { font-size: .9rem; line-height: 1.55; color: #44403c; margin: 4px 0 0; }
.lesson-card .lc-with { font-family: var(--font-display); font-size: .9rem; font-weight: 700; margin: 8px 0 0; }

/* Fees summary band (app) */
.fees-band { margin-top: 32px; border-radius: 24px; background: var(--surface); padding: 22px; border: 1px solid var(--border); }
.fees-band h2 { font-size: 1.55rem; font-weight: 700; margin: 0; }
.fees-band p { margin: 4px 0 0; max-width: 620px; font-size: .96rem; color: var(--dim); line-height: 1.6; }
.fees-band .row-flex { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }

/* Safeguard strip (app) */
.safeguard { border-radius: 24px; background: #115e59; padding: 14px 18px; color: #f0fdf9; margin-top: 24px; }
.safeguard .t { font-family: var(--font-display); font-size: .9rem; font-weight: 700; margin: 0; }
.safeguard ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .83rem; line-height: 1.5; }
.safeguard li .tick { color: #fcd34d; margin-right: 6px; }

/* Final CTA (app) */
.final-cta { margin-top: 24px; border-radius: 32px; background: linear-gradient(to bottom right, #172554, #1e3a8a 55%, #1e40af); padding: 28px 24px; color: #fff; text-align: center; box-shadow: 0 16px 30px -14px rgba(23, 37, 84, .5); }
.final-cta h2 { color: #fff; font-size: 1.9rem; font-weight: 800; line-height: 1.25; margin: 8px 0 0; }
.final-cta p { color: #dbeafe; font-size: 1rem; line-height: 1.6; max-width: 640px; margin: 8px auto 0; }
.final-cta .cta-row { margin-top: 20px; }
.final-cta .foot-line { font-size: .85rem; font-weight: 600; color: #bfdbfe; }

/* Store (app StoreView) */
.store-hero { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(to bottom right, #1c1917, #292524 50%, #134e4a); padding: 22px; color: #fff; box-shadow: 0 12px 24px -12px rgba(28, 25, 23, .55); }
.store-hero .eyebrow { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fcd34d; margin: 0; }
.store-hero h2 { color: #fff; font-size: 1.9rem; font-weight: 800; margin: 4px 0 0; }
.store-hero p { color: #e7e5e4; font-size: .96rem; line-height: 1.6; max-width: 860px; }
.store-featured { margin-top: 16px; overflow: hidden; border-radius: 24px; background: linear-gradient(to bottom right, #115e59, #0f766e 50%, #d97706); color: #fff; box-shadow: 0 12px 24px -12px rgba(17, 94, 89, .55); }
.store-featured .inner { padding: 22px; }
.store-featured .eyebrow { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fde68a; margin: 0; }
.store-featured h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 0; line-height: 1.25; }
.store-featured p { color: #f0fdf9; font-size: .96rem; line-height: 1.6; }
.store-featured .price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; }
.feat-flex { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; margin-top: 12px; }
.feat-cover { width: 100%; max-width: 340px; flex-shrink: 0; }
@media (min-width: 640px) { .feat-cover { width: 300px; } }
.feat-dots { display: flex; gap: 6px; margin-top: 16px; }
.feat-dots button { height: 8px; width: 10px; border-radius: 999px; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: all .3s; }
.feat-dots button.on { width: 32px; background: #fff; }
.cat-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; margin-top: 16px; }
.cat-chip { flex-shrink: 0; border-radius: 999px; padding: 8px 16px; font-family: var(--font-display); font-size: .9rem; font-weight: 700; background: var(--surface); color: var(--text); border: 2px solid var(--border); cursor: pointer; }
.cat-chip.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.store-grid { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .store-grid { grid-template-columns: repeat(3, 1fr); } }
.store-item { display: block; text-decoration: none; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.store-item:hover { border-color: #fbbf24; }
.store-item .si-body { padding: 14px 20px 20px; }
.store-item .si-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; line-height: 1.35; margin: 0; color: var(--text); }
.store-item .si-blurb { font-size: .88rem; line-height: 1.55; color: var(--dim); margin: 4px 0 0; }
.store-item .si-note { font-size: .82rem; font-weight: 600; color: var(--dim); margin: 6px 0 0; }
.store-item .si-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 0; }
.store-item .si-price { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; }
.store-item .si-buy { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--teal); }
.cover-stage { position: relative; width: 100%; overflow: hidden; background: #1c1917; aspect-ratio: 16 / 10; }
.cover-stage.tall { aspect-ratio: 4 / 3; }
.cover-stage .echo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: blur(12px); transform: scale(1.1); }
.cover-stage .main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.45)); transition: transform .7s; }
.store-item:hover .cover-stage .main, a:hover .cover-stage .main { transform: scale(1.04); }
.cover-stage.fan { display: grid; grid-template-columns: 1fr 1fr; }
.cover-stage.fan img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s; }
.cover-cat {
  position: absolute; right: 10px; top: 10px; z-index: 2; border-radius: 999px;
  background: rgba(255,255,255,.9); padding: 2px 10px; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; color: #134e4a; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

/* Support agent cards (app SupportZoneView) */
.agent-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
.agent-card {
  display: flex; align-items: center; gap: 12px; border-radius: 24px; background: var(--surface);
  padding: 16px; text-align: left; box-shadow: 0 1px 3px rgba(120, 70, 5, .08);
  border: 2px solid var(--border); text-decoration: none; color: var(--text);
}
.agent-avatar { display: flex; width: 48px; height: 48px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #fff; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }
.agent-card .a-name { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.25; }
.agent-card .a-spec { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.45; color: var(--dim); }
.agent-card .a-chat { display: inline-block; margin-top: 6px; border-radius: 999px; background: var(--teal); padding: 2px 12px; font-family: var(--font-display); font-size: .75rem; font-weight: 700; color: #fff; }

/* Plan cards (app FeesView chooser) — the card surface is always cream, so
   the card pins its own dark ink: a plan card inside a white-text board (the
   Music School board) must never inherit white (contrast fix, 2026-11-16). */
.plan-grid { display: grid; gap: 10px; margin: 14px 0; }
@media (min-width: 640px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plan-grid { grid-template-columns: repeat(4, 1fr); } }
.plan-card { border-radius: 20px; padding: 14px 16px; background: var(--surface-warm); border: 2px solid var(--border); color: var(--text); }
.plan-card .p-name { font-family: var(--font-display); font-weight: 800; display: block; color: var(--text); }
.plan-card .p-note { font-size: .88rem; font-weight: 600; color: #0f766e; display: block; margin-top: 2px; }

/* Compact fee rows (Compact Arrangement Law, 2026-11-14): a fee is a
   tidy aligned row — label left, price right — never a run-on sentence. */
.fee-rows { margin: 12px 0; }
.fee-line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 2px; border-bottom: 1px solid var(--border); }
.fee-line:last-child { border-bottom: 0; }
.fee-line strong { font-family: var(--font-display); white-space: nowrap; }

/* Exam track pills + panel */
.track-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.track-pill { border-radius: 999px; padding: 10px 20px; font-family: var(--font-display); font-weight: 800; background: var(--surface); color: var(--text); border: 1px solid var(--border); cursor: pointer; font-size: 1rem; }
.track-pill.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.track-panel { margin-top: 12px; border-radius: 24px; background: var(--surface); padding: 22px; border: 1px solid var(--border); }
.track-panel .tp-full { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; margin: 0; }
.track-panel .tp-desc { margin: 4px 0 0; font-size: .96rem; line-height: 1.6; color: var(--dim); }
.track-panel .tp-format { margin: 12px 0 0; border-radius: 16px; background: var(--surface-warm); padding: 12px 16px; font-size: .96rem; border: 1px solid var(--border); line-height: 1.6; }
.track-panel .tp-format strong { font-family: var(--font-display); }
.track-panel h3 { font-family: var(--font-display); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teal); margin: 14px 0 0; }
.track-panel ul { margin: 4px 0 0; padding-left: 20px; font-size: .96rem; line-height: 1.6; }
.track-panel .tp-season { margin: 12px 0 0; border-radius: 16px; background: #f0fdf9; padding: 12px 16px; font-size: .96rem; font-weight: 600; color: #134e4a; border: 1px solid #99f6e4; line-height: 1.6; }
.fee-tile-grid { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .fee-tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fee-tile-grid { grid-template-columns: repeat(3, 1fr); } }
.fee-tile { border-radius: 16px; padding: 12px 16px; background: var(--surface-warm); border: 1px solid var(--border); }
.fee-tile .f-name { font-family: var(--font-display); font-weight: 800; margin: 0; }
.fee-tile .f-amt { font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; margin: 0; }
.fee-tile .f-amt span { font-size: .88rem; font-weight: 700; color: var(--dim); }
.fee-tile .f-note { font-size: .78rem; font-weight: 600; color: var(--dim); margin: 0; }

/* Music School (app MusicSchoolView) */
.music-hero {
  margin-top: 20px; overflow: hidden; border-radius: 28px; color: #fff;
  background: linear-gradient(to bottom right, #9d174d, #be185d 50%, #d97706);
  padding: 22px; box-shadow: 0 16px 30px -14px rgba(157, 23, 77, .5);
}
/* Language School hero — owner order 2026-11-14: navy blue (logo palette), not red.
   Scoped to .lang-hero so the Music School hero keeps its own colour. */
.music-hero.lang-hero {
  background: linear-gradient(to bottom right, #172554, #1e3a8a 55%, #1e40af);
  box-shadow: 0 16px 30px -14px rgba(23, 37, 84, .5);
}
.music-hero .eyebrow { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fde68a; margin: 0; }
.music-hero h1 { color: #fff; font-size: 1.9rem; font-weight: 800; margin: 4px 0 0; line-height: 1.2; }
.music-hero p { color: #fff1f2; font-size: .96rem; font-weight: 600; line-height: 1.6; max-width: 720px; }
.music-hero .mh-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.music-hero img.mh-pic { width: 64px; height: 80px; flex-shrink: 0; border-radius: 16px; object-fit: cover; object-position: top; border: 4px solid rgba(255,255,255,.5); }
.teacher-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.teacher-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.15); padding: 4px 14px 4px 4px; border: 1px solid rgba(255,255,255,.25); }
.teacher-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; }
.teacher-chip span { font-family: var(--font-display); font-size: .82rem; font-weight: 700; }
.rung-grid { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 640px) { .rung-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rung-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .rung-grid { grid-template-columns: repeat(5, 1fr); } }
.rung-card { border-radius: 24px; padding: 16px; background: var(--surface); border: 2px solid var(--border); text-decoration: none; color: var(--text); display: block; }
.rung-card .r-eyebrow { font-family: var(--font-display); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #be185d; }
.rung-card .r-name { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.rung-card .r-blurb { display: block; margin-top: 4px; font-size: .82rem; line-height: 1.5; color: var(--dim); }
.rung-card .r-count { display: block; margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--dim); }

/* University hero (app UniversityView) */
.uni-hero { margin-top: 20px; border-radius: 24px; background: #1c1917; padding: 22px; color: #fafaf9; }
.uni-hero .eyebrow { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fbbf24; margin: 0; }
.uni-hero h1 { color: #fff; font-size: 1.9rem; font-weight: 800; margin: 4px 0 0; line-height: 1.2; }
.uni-hero p { color: #e7e5e4; font-size: .97rem; line-height: 1.65; max-width: 860px; }
.uni-hero p strong { color: #fff; }
.uni-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.uni-chip { border-radius: 999px; background: rgba(255,255,255,.1); padding: 4px 12px; font-size: .75rem; font-weight: 800; color: #fef3c7; border: 1px solid rgba(255,255,255,.2); }
.legal-box { margin-top: 16px; border-radius: 16px; background: rgba(251, 191, 36, .15); padding: 14px 18px; border: 1px solid rgba(252, 211, 77, .4); line-height: 1.6; }
.legal-box p { color: #fef3c7; font-size: .88rem; margin: 0; max-width: none; }

/* ── Homepage boards — one board per band/arm (owner order 2026-11-14):
      each board is a single rich panel holding everything about its band;
      inside, the cards ride one shared swipe carousel (see index.html).
      Palette is frozen — every colour below already lives in this file. ── */
.band-panel {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 26px 24px 22px;
  box-shadow: 0 18px 34px -18px rgba(120, 70, 5, .35), 0 2px 6px rgba(120, 70, 5, .06);
}
.band-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(to right, #fbbf24, #f59e0b 55%, #d97706);
}
@media (max-width: 480px) { .band-panel { padding: 22px 16px 18px; } }
.board-hint {
  margin: 10px 0 0; font-family: var(--font-display); font-size: .82rem;
  font-weight: 800; letter-spacing: .02em; color: #b45309;
}
.board-car { position: relative; margin-top: 2px; }
.board-car-view { overflow: hidden; touch-action: pan-y; user-select: none; border-radius: 20px; }
.board-car-track {
  display: flex; gap: 12px; padding: 6px 2px 10px;
  transition: transform .55s cubic-bezier(.22, .9, .3, 1);
}
.board-car-track.dragging { transition: none; }
.board-car-track > * { flex: 0 0 84%; margin-top: 0; margin-bottom: 0; }
@media (min-width: 640px) { .board-car-track > * { flex-basis: calc((100% - 12px) / 2); } }
@media (min-width: 1024px) { .board-car-track > * { flex-basis: calc((100% - 24px) / 3); } }
.board-car.mini .board-car-track > * { flex-basis: 46%; }
@media (min-width: 640px) { .board-car.mini .board-car-track > * { flex-basis: calc((100% - 24px) / 3); } }
@media (min-width: 1024px) { .board-car.mini .board-car-track > * { flex-basis: calc((100% - 36px) / 4); } }
.mini-card {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 20px; padding: 18px 10px; min-height: 76px;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 14px -8px rgba(120, 70, 5, .35);
}
.board-arrow {
  position: absolute; top: 46%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .4); cursor: pointer;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
}
.board-arrow:hover { background: rgba(0, 0, 0, .65); }
.board-arrow.prev { left: 6px; }
.board-arrow.next { right: 6px; }
.board-dots { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.board-dots button {
  height: 10px; width: 10px; border-radius: 999px; border: 1px solid #fcd34d;
  background: #fcd34d; cursor: pointer; padding: 0; transition: all .3s;
}
.board-dots button.on { width: 28px; background: #d97706; border-color: #d97706; }
.board-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0 0; }
.board-register { font-size: 1.05rem; padding: 13px 26px; }

/* The Music School board — the Music School's own red, as kept on
   music-school.html (owner decision: Music stays red; Language went navy). */
.music-board {
  margin-top: 24px; position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(to bottom right, #9d174d, #be185d 50%, #d97706);
  color: #fff; padding: 24px 22px;
  box-shadow: 0 16px 30px -14px rgba(157, 23, 77, .5);
}
.music-board .eyebrow { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fde68a; margin: 0; }
.music-board h2 { color: #fff; font-size: 1.9rem; font-weight: 800; margin: 4px 0 0; line-height: 1.2; }
.music-board .mh-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.music-board img.mh-pic { width: 64px; height: 80px; flex-shrink: 0; border-radius: 16px; object-fit: cover; object-position: top; border: 4px solid rgba(255, 255, 255, .5); }
.music-board .mb-lede { color: #fff1f2; font-size: .96rem; font-weight: 600; line-height: 1.6; max-width: 720px; }
.music-board .mb-sub { color: #fff1f2; font-size: .96rem; line-height: 1.6; margin: 18px 0 0; max-width: 860px; }
.music-board .mb-sub strong { color: #fff; }
.music-board .board-hint { color: #fde68a; }
.music-board .mb-fees { margin-top: 20px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; padding: 18px; }
.music-board .mb-fees h3 { color: #fff; font-size: 1.15rem; font-weight: 800; margin: 0; }
.music-board .mb-fees > p { color: #fff1f2; font-size: .96rem; line-height: 1.6; }
.music-board .mb-fees > p strong { color: #fff; }
.music-board .mb-small { color: #fff1f2; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .board-car-track { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .write-in, .bob, .pop-star, .ken-burns, .reveal, .view-enter, .floaty, .twinkle, .living-bg, .badge-pop,
  .teacher-live, .hand-write, .point-hand, .dash-sheen::after { animation: none; }
  .lift-card, .dash-tile { transition: none; }
  .lift-card:hover, .lift-card:active, .dash-tile:hover, .dash-tile:active { transform: none; box-shadow: none; }
  .btn::after, .btn-shine::after, .dash-tile::after { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-shell { padding: 22px 18px; }
  .hero-sub { font-size: 1.12rem; }
  .final-cta h2 { font-size: 1.5rem; }
}
