/* =====================================================================
   DCM Music School — site styles
   Feel: bright, calm and premium. Lots of white space, big confident
   headlines, product-style sections that glide in as you scroll.
   Colour: white and soft grey (#f5f5f7) grounds, near-black type, the DCM
   teal as the single accent. A few black "showcase" sections for contrast.
   Type: the system UI font (SF Pro on Apple devices), Inter elsewhere.
   ===================================================================== */
:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --bg-3: #FBFBFD;
  --ink: #1D1D1F;
  --body: #424245;
  --muted: #6E6E73;
  --line: rgba(0, 0, 0, 0.09);
  --line-2: rgba(0, 0, 0, 0.16);
  --teal: #007A70;          /* accent for text, links and buttons (accessible on white) */
  --teal-btn: #007F73;
  --teal-bright: #15D8C4;   /* the DCM brand teal, for highlights and dark sections */
  --teal-dim: rgba(21, 216, 196, 0.12);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 22px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.53; letter-spacing: -0.016em; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p a, li a, address a, .lead a, figcaption a, summary a { text-decoration: none; }
::selection { background: rgba(21, 216, 196, .3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.06; margin: 0; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.03em; }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.17; }
.hl { color: var(--teal); }
.grad { background: linear-gradient(90deg, #0A8F83, #15D8C4 55%, #4FB3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.38; color: var(--muted); max-width: 680px; font-weight: 400; letter-spacing: -0.02em; text-wrap: pretty; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--teal); margin: 0 0 12px; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons: Apple-style pills ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; background: var(--teal-btn); color: #fff; text-decoration: none; font-family: var(--text); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; padding: 11px 24px; border: 0; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.btn:hover { background: #006A61; color: #fff; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-outline { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn::after { content: none; }
/* A "Learn more ›" text link */
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; color: var(--teal); }
.more::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); transition: transform .25s var(--ease); }
.more:hover::after { transform: translate(3px, -1px); }

/* ---------- Header: slim, frosted glass ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .4s, background .4s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .8); }
.site-header .bar { max-width: 1240px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 32px); min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; }
.logo img { width: 172px; transition: width .4s var(--ease); }
.site-header.scrolled .logo img { width: 150px; }
@media (max-width: 700px) { .logo img { width: 128px; } .site-header.scrolled .logo img { width: 118px; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 400; letter-spacing: -0.01em; text-decoration: none; color: rgba(0, 0, 0, .8); border-radius: 999px; transition: color .2s; }
.nav a:hover { color: var(--teal); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-cta { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; content: ""; transition: transform .3s var(--ease), top .3s; }
.menu-btn span { top: 18px; } .menu-btn span::before { left: 0; right: 0; top: 7px; }
.menu-open .menu-btn span { transform: translateY(4px) rotate(45deg); } .menu-open .menu-btn span::before { top: 0; transform: rotate(-90deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 40; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: flex-start; padding: 96px 36px 40px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 7.5vw, 40px); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; line-height: 1.45; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s; }
.mobile-menu li:nth-child(2) a { transition-delay: .03s; } .mobile-menu li:nth-child(3) a { transition-delay: .06s; } .mobile-menu li:nth-child(4) a { transition-delay: .09s; } .mobile-menu li:nth-child(5) a { transition-delay: .12s; } .mobile-menu li:nth-child(6) a { transition-delay: .15s; } .mobile-menu li:nth-child(n+7) a { transition-delay: .18s; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; color: #fff; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open { overflow: hidden; }
@media (max-width: 1080px) { .nav { display: none; } .menu-btn { display: inline-block; } .header-cta { display: none; } }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-white { background: var(--bg-2); }
.section-dark { background: #000; color: #F5F5F7; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #F5F5F7; }
.section-dark .lead, .section-dark .muted { color: #A1A1A6; }
.section-dark .eyebrow, .section-dark a:not(.btn) { color: var(--teal-bright); }
.section-dark .btn { background: var(--teal-bright); color: #000; }
.section-dark .btn:hover { background: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 22px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin: 0 auto; max-width: 640px; }

/* ---------- Product-style hero: centred words, then a big image ---------- */
.hero { position: relative; padding: clamp(120px, 15vw, 170px) 0 0; text-align: center; overflow: hidden; }
.hero-inner { max-width: 980px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.hero .eyebrow { justify-content: center; }
.hero h1 { margin: 0 auto; max-width: 15ch; }
.hero .lead { margin: 22px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.hero .hero-actions, .center .hero-actions { justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero-meta a { color: var(--muted); }
.hero-media { position: relative; max-width: 1440px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 clamp(12px, 2.5vw, 32px); }
.hero-media img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; border-radius: clamp(18px, 2.5vw, 32px); transform-origin: 50% 0; will-change: transform; }
.hero-sub .hero-media img { aspect-ratio: 2 / 1; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(21,216,196,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(21,216,196,0); } 100% { box-shadow: 0 0 0 0 rgba(21,216,196,0); } }
.stars { color: #F5A623; letter-spacing: 1px; }
.scroll-cue { display: none; }
@media (max-width: 700px) { .hero-media img, .hero-sub .hero-media img { aspect-ratio: 4 / 3; } }

/* Page heading without an image */
.page-head { padding: clamp(130px, 16vw, 180px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-head .eyebrow { justify-content: center; }
.page-head h1 { font-size: clamp(44px, 7vw, 80px); max-width: 16ch; margin: 0 auto; }
.page-head .lead { margin: 20px auto 0; }

/* ---------- Instrument tiles (home): the Apple-style grid ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 580px; padding: 52px 24px 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); color: var(--ink); text-decoration: none; isolation: isolate; }
.tile:hover { text-decoration: none; }
.tile h3 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.03em; }
.tile p { margin: 8px 0 0; font-size: 19px; color: var(--body); max-width: 30ch; }
.tile .tile-links { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 18px; }
.tile .tile-links .btn { min-height: 38px; padding: 7px 18px; font-size: 15px; }
.tile .tile-img { margin-top: auto; width: calc(100% + 48px); height: 300px; overflow: hidden; }
.tile .tile-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.tile:hover .tile-img img { transform: scale(1.07); }
.tile.dark { background: #000; color: #F5F5F7; }
.tile.dark h3 { color: #F5F5F7; } .tile.dark p { color: #A1A1A6; }
.tile.dark .more { color: var(--teal-bright); }
.tile.dark .btn { background: var(--teal-bright); color: #000; }
.tile .num, .tile .arrow { display: none; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 520px; padding-top: 44px; } .tile .tile-img { height: 270px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { padding: clamp(28px, 3.5vw, 44px) 24px; background: var(--bg); border-radius: var(--radius); text-align: center; }
.section-white .stat, .stat { background: var(--bg); }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(48px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--teal); }
.stat > span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Big words that light up as you scroll ---------- */
.scrub { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.03em; max-width: 20ch; margin: 0 auto; text-align: center; }
.scrub .w { color: #3a3a3c; transition: color .35s var(--ease); }
.scrub .w.lit { color: #F5F5F7; }
.scrub .w.lit.acc { color: var(--teal-bright); }
.no-js .scrub .w, .scrub.done .w { color: #F5F5F7; }

/* ---------- Method steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 36px 32px 34px; border-radius: var(--radius); background: var(--bg-2); }
.section-dark .step { background: #1C1C1E; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--display); font-weight: 600; font-size: 19px; color: #000; background: var(--teal-bright); margin-bottom: 26px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
.section-dark .step p { color: #A1A1A6; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split feature (image + text) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* ---------- Cards & lists ---------- */
.card { background: var(--bg-2); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.section-white .card { background: var(--bg); }
.section-dark .card { background: #1C1C1E; }
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); text-decoration: none; }
.card h3 { margin-bottom: 8px; }
.price-card { text-align: left; display: flex; flex-direction: column; gap: 6px; }
.price-card .tag { font-size: 14px; font-weight: 600; color: var(--teal); }
.price-card .name { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
.price-card .price { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.04em; color: var(--ink); margin: 6px 0 2px; }
.price-card.featured { box-shadow: inset 0 0 0 2px var(--teal-bright); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 20px; width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows .r-name { font-weight: 600; font-size: 18px; }
.rows .r-val { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--ink); }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: var(--bg-2); border-radius: 999px; padding: 9px 18px; font-size: 15px; color: var(--body); transition: background .3s, color .3s; }
.section-white .pill-list li { background: var(--bg); }
.pill-list li:hover { background: var(--teal-dim); color: var(--ink); }
.pill-list a { text-decoration: none; color: inherit; }

/* ---------- Books ---------- */
.books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); perspective: 1200px; }
.book { text-decoration: none; display: block; color: inherit; }
.book:hover { text-decoration: none; }
.book img { width: 100%; aspect-ratio: 17 / 22; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.18); transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.section-dark .book img { box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); }
.book:hover img { transform: translateY(-10px) rotateY(-6deg); box-shadow: 0 46px 80px rgba(0,0,0,.25); }
.book .t { display: block; margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.book .p { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
.section-dark .book .p { color: #A1A1A6; }
.section-dark a.book { color: #F5F5F7; }
@media (max-width: 800px) { .books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Reviews ---------- */
.quotes { position: relative; max-width: 960px; margin: 0 auto; text-align: center; min-height: 170px; }
.quote { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); pointer-events: none; }
.quote.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); }
.quote figcaption { margin-top: 24px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(0,0,0,.2); cursor: pointer; position: relative; transition: width .4s var(--ease-out), background .4s; }
.dots button::before { content: ""; position: absolute; inset: -14px -6px; }
.dots button[aria-current="true"] { width: 28px; background: var(--ink); }
blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
figure { margin: 0; }
figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 64px; }
.logos img { height: 92px; width: auto; transition: transform .4s var(--ease-out); background: #fff; border-radius: 16px; padding: 10px; }
.logos img:hover { transform: translateY(-3px); }

/* ---------- Teachers ---------- */
.teacher { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 48px 0; border-bottom: 1px solid var(--line); }
.teacher img { width: 240px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.teacher .inst { font-size: 15px; font-weight: 600; color: var(--teal); margin: 0 0 6px; }
.teacher h2 { font-size: clamp(30px, 3.5vw, 40px) !important; }
.teacher p { color: var(--body); max-width: 760px; }
.teacher-noimg { grid-template-columns: 1fr; }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 18px; }
.team > div { display: flex; flex-direction: column; align-items: center; text-align: center; width: 116px; }
.team img, .team i { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.team i { display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 600; font-size: 30px; background: var(--bg-2); color: var(--teal); }
.team b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.team span { font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
@media (max-width: 640px) { .teacher { grid-template-columns: 1fr; } .teacher img { width: 100%; max-width: 320px; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center/100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.5px 100% no-repeat; transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 12px 0 0; color: var(--body); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { font-size: 14px; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 14px 16px; border: 1px solid rgba(0,0,0,.14); border-radius: 12px; background: #fff; font: inherit; font-size: 17px; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(21,216,196,.18); }
.form textarea { min-height: 140px; resize: vertical; }
.form-status { font-size: 15px; min-height: 1.2em; margin: 0; color: var(--body); }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(90px, 12vw, 150px) 0; background: var(--bg-2); }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { font-size: clamp(40px, 6.5vw, 80px); margin: 0 auto 30px; max-width: 15ch; letter-spacing: -0.035em; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Videos ---------- */
.video { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 16px; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.video:hover img { transform: scale(1.04); }
.video span { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.video span::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 17px solid #000; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

/* ---------- Booking iframe ---------- */
.booking-frame { width: 100%; min-height: 1400px; border: 0; border-radius: var(--radius); background: #fff; display: block; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Metronome ---------- */
.metronome { max-width: 480px; margin: 0 auto; text-align: center; }
.metronome output { display: block; font-family: var(--display); font-weight: 600; font-size: 120px; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.metronome input[type=range] { width: 100%; accent-color: var(--teal); }
.metronome select { background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; }
.beat { width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.12); margin: 16px auto; transition: background .05s, box-shadow .05s; }
.beat.on { background: var(--teal-bright); box-shadow: 0 0 30px var(--teal-bright); }

/* ---------- Footer: soft grey, small type ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); font-size: 14px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.footer-top h2 { font-family: var(--text); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 14px; }
.footer-top p, .footer-top address { margin: 0; font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-top a { color: var(--body); }
.footer-news .lead { font-size: 15px; margin: 0 0 16px; }
.footer-news .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.footer-news input { padding: 11px 14px; font-size: 15px; }
.footer-news label { font-size: 13px; }
.footer-news button { align-self: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 26px 0; margin: 48px 0 0; border-top: 1px solid var(--line); font-size: 13px; }
.footer-links a { text-decoration: none; color: var(--body); }
.footer-links a:hover { color: var(--teal); text-decoration: underline; }
.footer-word { display: none; }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: var(--muted); padding: 18px 0 40px; margin: 0; border-top: 1px solid var(--line); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; text-decoration: none; transition: background .3s, color .3s; }
.socials a:hover { background: var(--teal); color: #fff; }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } .footer-news .row { grid-template-columns: 1fr; } }

/* ---------- Gift vouchers: each choice looks like a mini (black) voucher ---------- */
.voucher-form { max-width: 1060px; margin: 0 auto; gap: 26px; }
.voucher-options { gap: 20px; }
.form .voucher-opt, .voucher-opt { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; background: #0B0B0B; color: #fff; border-radius: var(--radius); padding: 26px 24px 24px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.18); transition: transform .5s var(--ease-out), box-shadow .5s; }
.voucher-opt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--teal-bright); }
.voucher-opt:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0,0,0,.24); }
.voucher-opt input { position: absolute; opacity: 0; pointer-events: none; }
.v-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.v-top img { width: 104px; }
.v-label { font-weight: 500; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #CFCFCF; }
.v-amount { align-self: flex-start; color: #fff; font-family: var(--display); font-weight: 600; font-size: 60px; line-height: 1; letter-spacing: -0.03em; padding: 0 2px 8px; border-bottom: 2px solid var(--teal-bright); }
.v-eur { font-weight: 500; font-size: 24px; color: var(--teal-bright); vertical-align: top; position: relative; top: 6px; margin-right: 4px; }
.v-name { font-weight: 600; font-size: 19px; margin-top: 10px; color: #fff; }
.v-detail { font-size: 14px; color: #BDBDBD; }
.v-pick { position: absolute; right: 18px; bottom: 18px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #555; }
.voucher-opt:has(input:checked) { box-shadow: 0 0 0 3px var(--teal-bright), 0 24px 60px rgba(21,216,196,.25); }
.voucher-opt:has(input:checked) .v-pick { border-color: var(--teal-bright); background: var(--teal-bright); box-shadow: inset 0 0 0 4px #0B0B0B; }
.voucher-opt:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 3px; }
.voucher-amount { max-width: 260px; margin: 0 auto; }
.voucher-thanks { margin-bottom: 40px; }

/* ---------- Motion: things glide in as you scroll (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .split-words .w { display: inline-block; vertical-align: top; }
.js .split-words .w > span { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + .1s); }
.js .split-words.in .w > span { opacity: 1; transform: none; }
[data-zoom] img, img[data-zoom] { transition: transform .1s linear; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .split-words .w > span { opacity: 1; transform: none; }
  [data-zoom] img { transform: none !important; }
  .scrub .w { color: #F5F5F7 !important; }
}


/* ---------- Live next-free-lessons strip ---------- */
.slots-band { padding: 30px 0; }
.slots-band > .wrap { background: var(--bg-2); border-radius: var(--radius); padding-top: 26px; padding-bottom: 26px; }
.slots-home { padding: 14px 0 0; }
.slots-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 18px; }
.slots-head .eyebrow { margin: 0; }
.slots-head .eyebrow::before { display: none; }
.slots-head > a { font-size: 15px; }
.slot-list { display: flex; flex-wrap: wrap; gap: 12px; }
.slot { display: inline-flex; flex-direction: column; min-width: 170px; padding: 14px 20px; background: #fff; border: 1px solid transparent; border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.slot:hover { border-color: var(--teal); background: var(--teal-dim); color: var(--ink); transform: translateY(-2px); }
.slot b { font-family: var(--display); font-weight: 600; font-size: 20px; }
.slot span { font-size: 13px; color: var(--muted); }
.slot.sk { height: 68px; background: linear-gradient(90deg, var(--bg-2), rgba(0,0,0,.07), var(--bg-2)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-color: var(--line); }
@keyframes sk { to { background-position: -200% 0; } }
.slot-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.slot-tabs button { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--body); font: inherit; font-size: 14px; cursor: pointer; }
.slot-tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- WhatsApp button + mobile booking bar ---------- */
.wa-btn { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .3s var(--ease); }
.wa-btn:hover { color: #fff; transform: scale(1.08); }
.wa-btn svg { width: 30px; height: 30px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .show-bar .mobile-bar { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 48px; box-shadow: none; }
  .mb-call { display: grid; place-items: center; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; }
  .wa-btn { bottom: 84px; right: 14px; width: 52px; height: 52px; }
  body { padding-bottom: 76px; }
}
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-singles { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-singles .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* ---------- Quiz ---------- */
.quiz { max-width: 820px; margin: 0 auto; position: relative; overflow: hidden; }
.q-progress { position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--line); }
.q-progress i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .5s var(--ease); }
.quiz h2 { font-size: clamp(30px, 4vw, 46px); margin: 8px 0 28px; outline: none; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q-opts button { font: inherit; color: var(--ink); text-align: left; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 20px 22px; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); min-height: 64px; }
.q-opts button:hover, .q-opts button:focus-visible { border-color: var(--teal); background: rgba(21,216,196,.07); transform: translateY(-2px); }
.q-opts b { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; }
.q-opts small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.q-back { margin-top: 24px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; padding: 8px 0; }
.q-back:hover { color: var(--ink); }
.q-result .hero-actions { margin-top: 24px; }
.q-result .slots-band { margin: 32px -1px 0; border-radius: 12px; }
.q-result [data-r-title] { color: var(--teal); }

/* ---------- Tools ---------- */
.tool-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); min-height: 220px; }
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); text-decoration: none; }
.tool-card h3 { font-family: var(--display); font-weight: 600; font-size: 32px; margin: 6px 0 0; }
.tool-card p { margin: 0; flex: 1; }
.tool-num { font-size: 14px; font-weight: 600; color: var(--teal); }
.tool-go { font-size: 17px; color: var(--teal); margin-top: 16px; }
.tool-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool-links a { padding: 10px 18px; background: var(--bg-2); border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--ink); }
.tool-links a:hover { background: var(--teal); color: #fff; }
.small-note { font-size: 13px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(0,0,0,.05); border-radius: 999px; }
.seg button { font: inherit; font-size: 14px; color: var(--body); background: transparent; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; min-height: 40px; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.seg button small { opacity: .6; font-size: 11px; margin-left: 1px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 24px; cursor: pointer; }
.round:hover { border-color: var(--teal); color: var(--teal); }
select, .scales input, .rudiments input[type=number] { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; }

/* Tuner */
.tuner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.tuner-dial { position: relative; width: min(100%, 420px); aspect-ratio: 2 / 1.25; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.tuner-dial::before { content: ""; position: absolute; left: 6%; right: 6%; top: 8%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); clip-path: inset(0 0 52% 0); }
.tuner-scale { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 0 2%; }
.tuner-scale span:nth-child(2) { color: var(--teal); }
.tuner-needle { position: absolute; left: calc(50% - 1.5px); bottom: 40%; width: 3px; height: 52%; background: var(--ink); border-radius: 3px; transform-origin: 50% 100%; transition: transform .1s linear, background .2s; }
.tuner-note { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 12vw, 104px); line-height: 1; position: relative; }
.tuner-note[data-oct]::after { content: attr(data-oct); font-size: .3em; color: var(--muted); margin-left: 4px; }
.tuner-cents { color: var(--body); min-height: 1.6em; }
.tuner.in-tune .tuner-needle, .tuner.in-tune .tuner-note { color: var(--teal); background-color: var(--teal); }
.tuner.in-tune .tuner-note { background: none; }
.tuner-strings { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tuner-strings button { width: 64px; padding: 10px 0; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; font: inherit; transition: border-color .2s, background .2s; }
.tuner-strings button b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; }
.tuner-strings button small { color: var(--muted); font-size: 12px; }
.tuner-strings button:hover, .tuner-strings button.on { border-color: var(--teal); background: rgba(21,216,196,.08); }

/* Chord library */
[data-chords] { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.chord-roots button { min-width: 44px; }
.chord-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 10px; }
.chord { font: inherit; color: var(--ink); background: var(--bg-2); border: 1px solid transparent; border-radius: var(--radius); padding: 18px 14px 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: border-color .25s, transform .25s var(--ease); }
.chord:hover, .chord:focus-visible { border-color: var(--teal); transform: translateY(-3px); }
.chord.ring { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(21,216,196,.15); }
.chord-name { font-family: var(--display); font-weight: 600; font-size: 28px; }
.chord-type { font-size: 12px; color: var(--muted); }
.chord svg { width: 100%; max-width: 170px; margin-top: 8px; }
.chord-play { font-size: 12px; color: var(--teal); opacity: .8; }
svg .cs { stroke: rgba(0,0,0,.55); stroke-width: 1.2; }
svg .cf { stroke: rgba(0,0,0,.16); stroke-width: 1.2; }
svg .nut { stroke: var(--ink); stroke-width: 5; }
svg .cdot { fill: var(--teal); }
svg .copen { fill: none; stroke: var(--ink); stroke-width: 1.6; }
svg .cmark { fill: var(--muted); font: 18px var(--text); text-anchor: middle; }
svg .cbase { fill: var(--muted); font: 15px var(--text); text-anchor: end; }

/* Scale explorer */
.scales { display: flex; flex-direction: column; gap: 24px; }
.scale-controls { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; }
.scale-controls label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.fretboard { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.fretboard svg { min-width: 900px; width: 100%; display: block; }
svg .inlay { fill: rgba(0,0,0,.07); }
svg .sname, svg .fnum { fill: var(--muted); font: 13px var(--text); text-anchor: middle; }
svg .sname { text-anchor: start; }
svg .fn { cursor: pointer; }
svg .fn circle { fill: #fff; stroke: rgba(0,0,0,.55); stroke-width: 1.2; transition: fill .2s; }
svg .fn text { fill: var(--ink); font: 500 11px var(--text); text-anchor: middle; pointer-events: none; }
svg .fn.root circle { fill: var(--teal); stroke: var(--teal); }
svg .fn.root text { fill: #fff; }
svg .fn:hover circle { stroke: var(--teal); stroke-width: 2.5; }
.scale-notes { display: flex; flex-wrap: wrap; gap: 10px; }
.scale-notes span { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.scale-notes b { font-family: var(--display); font-weight: 600; font-size: 22px; }
.scale-notes small { color: var(--teal); font-size: 12px; }

/* Practice log */
.practice { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.p-clock { font-family: var(--display); font-weight: 600; font-size: clamp(72px, 14vw, 140px); line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 24px; transition: color .3s; }
.practice.running .p-clock { color: var(--teal); }
.p-form { margin-top: 28px; text-align: left; }
.p-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-stats .stat b { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.p-stats .stat { background: var(--bg-2); }
.p-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.linkish { background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; padding: 6px 0 6px 18px; }
.linkish:hover { color: var(--teal); }
.p-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.p-list li { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.p-list li.muted { display: block; }
.p-date { color: var(--muted); font-size: 14px; }
.p-what small { display: block; color: var(--muted); font-size: 14px; }
.p-list button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.p-list button:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 560px) { .p-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .p-stats .stat { padding: 20px 8px; } .p-stats .stat > span { font-size: 12px; } .p-list li { grid-template-columns: 1fr auto; } .p-date { grid-column: 1 / -1; } }

/* Rudiment trainer */
.rudiments { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center; }
.r-sticks { display: grid; grid-template-columns: repeat(calc(var(--per, 4) * 2), minmax(0, 1fr)); gap: 8px; width: 100%; }
.st { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 0 14px; border-radius: 10px; font-family: var(--display); font-size: clamp(22px, 4vw, 36px); background: var(--bg-2); border: 1px solid var(--line); transition: background .08s, color .08s, border-color .08s; }
.st i { font-style: normal; font-size: 14px; height: 16px; color: var(--teal); }
.st.down { border-color: rgba(21,216,196,.45); }
.st.rest { color: var(--muted); }
.st.now { background: var(--teal); color: #fff; border-color: var(--teal); }
.st.now i { color: #fff; }
.r-tempo { display: flex; align-items: center; gap: 26px; }
.r-tempo output { display: block; font-family: var(--display); font-weight: 600; font-size: 72px; line-height: 1; }
.rudiments label input[type=range] { display: block; width: min(420px, 80vw); margin-top: 8px; accent-color: var(--teal); }
.r-build { color: var(--body); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.r-build input[type=number] { width: 80px; padding: 6px 8px; }
.r-build input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--teal); }

/* Areas + articles */
.area-lesson { text-decoration: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }

.area-lesson h3 { font-family: var(--display); font-weight: 600; font-size: 28px; margin: 0; }
.article { max-width: 720px; margin: 0 auto; }
.article h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 48px 0 14px; }
.article p, .article li { color: var(--body); font-size: 18px; }
.article ol.ticks { list-style: none; counter-reset: s; }
.article-more { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-more ul { list-style: none; padding: 0; margin: 12px 0 20px; }
.article-more li { padding: 8px 0; }

.credits { max-width: 760px; margin: 28px auto 0; font-size: 12px; color: var(--muted); }
.credits a { color: var(--muted); text-decoration: underline; }

/* ---------- Review fixes ---------- */
/* Two grey bands in a row read as one block: keep the call-to-action white after a grey section. */
.section-white + .cta-band { background: var(--bg); }
/* Photos placed straight into page content get the same soft corners as everything else. */
main .grid-2 > img, main .grid-2 img:not(.logos img):not(.book img), main .stack > img { border-radius: var(--radius); }
/* Why choose us: a grid of benefit cards */
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.benefits .card { display: flex; flex-direction: column; gap: 18px; min-height: 160px; }
.benefits h3 { font-size: 21px; }
.benefits .tick { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-dim); position: relative; }
.benefits .tick::after { content: ""; position: absolute; left: 12px; top: 12px; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* ---------- Seasonal promo bar (inside the fixed header) ---------- */
.promo-bar { position: relative; display: flex; justify-content: center; align-items: center; background: #1D1D1F; color: #F5F5F7; font-size: 14px; padding: 9px 48px; text-align: center; }
.promo-bar a { color: #F5F5F7; text-decoration: none; }
.promo-bar .more { color: var(--teal-bright); font-size: 14px; margin-left: 6px; }
.promo-bar button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #A1A1A6; font-size: 20px; cursor: pointer; }
.promo-bar button:hover { color: #fff; background: rgba(255,255,255,.1); }
body:has(.promo-bar:not([hidden])) .hero, body:has(.promo-bar:not([hidden])) .page-head { padding-top: calc(clamp(120px, 15vw, 170px) + 36px); }

/* ---------- Family discount ---------- */
.offer-card { display: flex; align-items: center; gap: 24px; max-width: 860px; margin: 28px auto 0; padding: 26px 30px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(21,216,196,.14), rgba(79,179,255,.10)); }
.offer-card h3 { font-size: 22px; margin-bottom: 4px; }
.offer-card p { margin: 0; }
.offer-tag { flex: none; font-size: 13px; font-weight: 600; color: #fff; background: var(--teal-btn); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 640px) { .offer-card { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---------- Waiting list band on lesson pages ---------- */
.waitlist-band { padding-top: 0; }
.wl-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 30px; border-radius: var(--radius); background: var(--bg-2); }
.wl-inner h3 { margin-bottom: 4px; }
.wl-inner p { margin: 0; }

/* ---------- Sticky lesson bar (Apple-style local nav) ---------- */
.local-nav { position: sticky; top: var(--hh, 64px); z-index: 30; margin-top: clamp(40px, 5vw, 64px); background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.local-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.ln-title { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.ln-links { display: flex; align-items: center; gap: 4px 20px; font-size: 13px; }
.ln-links a:not(.btn) { color: var(--body); }
.ln-links a:not(.btn):hover { color: var(--teal); }
.ln-links .btn { min-height: 30px; padding: 4px 14px; font-size: 13px; }
.local-nav.stuck { box-shadow: 0 1px 0 var(--line); }
@media (max-width: 640px) { .ln-links a:not(.btn) { display: none; } .ln-title { font-size: 17px; } }
.local-nav + .slots-band { padding-top: 24px; }

/* ---------- Town pages: one section per instrument ---------- */
.town-lessons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.town-lesson { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius); overflow: hidden; }
.tl-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.tl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.town-lesson:hover .tl-img img { transform: scale(1.04); }
.tl-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tl-body h3 { font-size: 26px; }
.tl-body p { margin: 0; color: var(--body); flex: 1; }
.tl-body .tile-links { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.tl-body .btn { min-height: 38px; padding: 7px 18px; font-size: 15px; }
@media (max-width: 760px) { .town-lessons { grid-template-columns: 1fr; } }

/* ---------- Student practice page ---------- */
.s-login { max-width: 460px; margin: 0 auto; }
.s-login input { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.s-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.s-head h2 { font-size: clamp(36px, 5vw, 56px); }
.s-head .muted { margin: 6px 0 0; }
.s-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.s-grid h3 { margin-bottom: 14px; }
.s-text { color: var(--body); font-size: 18px; line-height: 1.55; }
.s-songs ul { list-style: none; margin: 0; padding: 0; }
.s-songs li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.s-songs li:last-child { border-bottom: 0; }
.s-goal { display: flex; flex-direction: column; }
.s-ring { position: relative; width: 180px; height: 180px; margin: 6px auto 0; }
.s-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.s-ring circle { fill: none; stroke-width: 12; }
.s-ring .r-bg { stroke: rgba(0,0,0,.08); }
.s-ring .r-fg { stroke: var(--teal-bright); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease-out); }
.s-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.s-ring b { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.s-ring span { font-size: 13px; color: var(--muted); max-width: 110px; margin-top: 4px; }
.s-goal.done .r-fg { stroke: #34C759; }
@media (max-width: 760px) { .s-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Dark mode: follows the visitor's phone or computer setting.
   ===================================================================== */
@media (prefers-color-scheme: dark) {
  :root { --bg: #000; --bg-2: #161617; --bg-3: #1C1C1E; --ink: #F5F5F7; --body: #D2D2D7; --muted: #A1A1A6; --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.22); --teal: #2EE6D2; --teal-btn: #15D8C4; --teal-dim: rgba(21,216,196,.16); color-scheme: dark; }
  .btn { color: #000; }
  .btn:hover { background: #7DEFE3; color: #000; }
  .btn-outline { background: transparent; color: var(--teal); }
  .btn-outline:hover { background: var(--teal); color: #000; }
  .site-header { background: rgba(22,22,23,.72); }
  .site-header.scrolled { background: rgba(22,22,23,.82); }
  .nav a { color: rgba(255,255,255,.82); }
  .mobile-menu { background: rgba(0,0,0,.96); }
  .mobile-menu .btn { color: #000; }
  .section-dark { background: #161617; }
  .section-dark .step, .section-dark .card { background: #232325; }
  .scrub .w { color: #48484A; }
  .tile.dark { background: #161617; }
  .stat, .section-white .stat { background: var(--bg-3); }
  .section-white .card, .section-white .pill-list li, .town-lesson { background: var(--bg-3); }
  .form input, .form select, .form textarea, select, .scales input, .rudiments input[type=number] { background: #1C1C1E; border-color: rgba(255,255,255,.16); color: var(--ink); }
  .slot { background: #232325; }
  .socials a { background: #232325; color: var(--ink); }
  .socials a:hover { color: #000; }
  .dots button { background: rgba(255,255,255,.25); }
  .logos img { background: #fff; }
  .video span { background: rgba(255,255,255,.85); }
  .tuner-strings button, .q-opts button { background: #1C1C1E; }
  .seg { background: rgba(255,255,255,.08); }
  .seg button[aria-pressed="true"] { background: #48484A; color: #fff; box-shadow: none; }
  .chord { background: var(--bg-3); }
  svg .cs { stroke: rgba(255,255,255,.6); } svg .cf { stroke: rgba(255,255,255,.18); }
  svg .fn circle { fill: #1C1C1E; stroke: rgba(255,255,255,.6); }
  svg .fn.root text { fill: #000; }
  svg .inlay { fill: rgba(255,255,255,.1); }
  .st.now, .st.now i, .seg button[aria-pressed="true"] small { color: #000; }
  .tuner.in-tune .tuner-note { color: var(--teal); }
  .local-nav { background: rgba(22,22,23,.78); }
  .promo-bar { background: #232325; }
  .offer-tag { color: #000; }
  .s-ring .r-bg { stroke: rgba(255,255,255,.12); }
  .booking-frame { box-shadow: 0 0 0 1px var(--line); }
  .stars { color: #FFB340; }
  .beat { background: rgba(255,255,255,.16); }
  .p-stats .stat { background: var(--bg-2); }
}

/* =====================================================================
   DCM Plus
   ===================================================================== */
.plus-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .01em; color: #fff; background: linear-gradient(120deg, #0A8F83, #15D8C4 60%, #4FB3FF); padding: 5px 12px; border-radius: 999px; }
.plus-hero h1 { max-width: 14ch; }
.plus-feat { min-height: 150px; display: flex; flex-direction: column; gap: 8px; }
.plus-feat .tool-num { font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.plus-feat p { margin: 0; }
.plus-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 0 auto; }
.plus-prices .price-card .btn { margin-top: 18px; align-self: flex-start; }
.plus-email { max-width: 420px; margin: 26px auto 0; }
.plus-email label { display: block; font-size: 14px; color: var(--muted); }
.plus-email input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid rgba(0,0,0,.14); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
@media (max-width: 640px) { .plus-prices { grid-template-columns: 1fr; } }
.plus-signin { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.plus-signin .form { width: 100%; }
.plus-dash { padding-top: clamp(110px, 13vw, 150px); }
.d-welcome { margin-bottom: 28px; background: linear-gradient(120deg, rgba(21,216,196,.16), rgba(79,179,255,.12)); }
.d-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.d-head h1 { font-size: clamp(40px, 6vw, 64px); }
.d-head .muted { margin: 8px 0 0; }
.d-actions { display: flex; align-items: center; gap: 14px; }
.d-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.d-stats .stat { background: var(--bg-2); }
.d-h2 { font-size: clamp(28px, 3.5vw, 40px); margin: 64px 0 22px; }
.d-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.d-books { list-style: none; margin: 0; padding: 0; }
.d-books li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.d-books li:last-child { border-bottom: 0; }
@media (max-width: 760px) { .d-grid { grid-template-columns: 1fr; } .d-stats { gap: 8px; } .d-stats .stat { padding: 20px 8px; } .d-stats .stat > span { font-size: 12px; } }
/* badges */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 12px; border-radius: var(--radius); background: var(--bg-2); opacity: .55; }
.badge .b-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.08); font-weight: 700; font-size: 18px; color: var(--muted); }
.badge b { font-size: 15px; }
.badge small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.badge.got { opacity: 1; }
.badge.got .b-icon { background: linear-gradient(140deg, #0A8F83, #15D8C4 60%, #4FB3FF); color: #fff; box-shadow: 0 8px 20px rgba(21,216,196,.35); }
/* locked tools */
.plus-gated { position: relative; }
.plus-wall { display: none; }
.plus-gated:not(.plus-open) { overflow: hidden; }
.plus-gated:not(.plus-open) > :not(.plus-wall) { filter: blur(3px); opacity: .45; pointer-events: none; user-select: none; }
.plus-gated:not(.plus-open) .plus-wall { display: grid; place-items: center; position: absolute; inset: 0; z-index: 5; padding: 20px; }
.plus-wall-card { max-width: 440px; text-align: center; background: var(--bg); border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.plus-wall-card h3 { margin: 14px 0 8px; font-size: 24px; }
/* shared bits for the Plus tools */
.ear-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 560px; margin: 8px auto 0; }
.ear-stats > div { text-align: center; padding: 16px 8px; border-radius: 16px; background: var(--bg); }
.ear-stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.ear-stats span { font-size: 13px; color: var(--muted); }
.backing, .ear, .sight, .changes, .strum, .fretquiz { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.backing .scale-controls, .sight .scale-controls, .strum .scale-controls, .fretquiz .scale-controls { justify-content: center; }
.scale-controls input[type=range] { display: block; width: 200px; accent-color: var(--teal); margin-top: 8px; }
.bt-now { font-family: var(--display); font-weight: 600; font-size: clamp(72px, 14vw, 140px); line-height: 1; letter-spacing: -0.04em; }
.bt-chords { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 640px; }
.bt-chord { padding: 14px 6px; border-radius: 12px; background: var(--bg); font-weight: 600; font-size: 19px; transition: background .15s, color .15s; }
.bt-chord.on { background: var(--teal-btn); color: #fff; }
.bt-tip { margin: 0; }
.ear-play { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.ear-feedback { min-height: 1.5em; margin: 0; font-weight: 600; }
.ear-feedback.ok, .fq-feedback.ok { color: #1E9E52; }
.ear-feedback.no, .fq-feedback.no { color: #D7372B; }
.ear-opts, .fq-answers { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; width: 100%; max-width: 760px; }
.fq-answers { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.ear-opts button, .fq-answers button { font: inherit; font-weight: 600; min-height: 52px; padding: 10px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.ear-opts button:hover, .fq-answers button:hover { border-color: var(--teal); }
.ear-opts button:active, .fq-answers button:active { transform: scale(.97); }
.ear-opts button.ok { background: #1E9E52; border-color: #1E9E52; color: #fff; }
.ear-opts button.no, .fq-answers button.no { background: #D7372B; border-color: #D7372B; color: #fff; }
.fq-answers small { font-size: 10px; opacity: .6; }
.fq-board { width: 100%; }
.fq-board svg { min-width: 860px; }
svg .fq-dot { fill: var(--teal-bright); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 2px 6px rgba(21,216,196,.6)); }
.sr-stage { width: 100%; overflow-x: auto; background: #fff; border-radius: 16px; padding: 12px; }
.sr-stage svg { min-width: 720px; width: 100%; display: block; }
svg .st-line { stroke: #1D1D1F; stroke-width: 1.2; }
svg .st-bar { stroke: #1D1D1F; stroke-width: 1.5; }
svg .nh { fill: #1D1D1F; stroke: #1D1D1F; stroke-width: 1.5; }
svg .nh.hollow { fill: #fff; }
svg .nh.now, svg .rest.now, svg .rest-b.now { fill: var(--teal-bright); stroke: var(--teal-btn); }
svg .stem, svg .flag { stroke: #1D1D1F; stroke-width: 1.6; fill: none; }
svg rect.stem { fill: #1D1D1F; stroke: none; }
svg .rest { fill: none; stroke: #1D1D1F; stroke-width: 2.4; stroke-linejoin: round; }
svg .rest-b { fill: #1D1D1F; }
svg .dot { fill: #1D1D1F; }
svg .ts { font: 700 22px var(--display); fill: #1D1D1F; text-anchor: middle; }
svg .clef { font: 46px "Noto Music", "Bravura", "Apple Symbols", "Segoe UI Symbol", serif; fill: #1D1D1F; }
svg .nn { font: 600 13px var(--text); fill: var(--teal-btn); text-anchor: middle; }
.cc-diagrams { display: flex; gap: 14px; justify-content: center; }
.cc-d { background: var(--bg); border-radius: 16px; padding: 14px 18px 8px; width: 150px; }
.cc-d b { font-size: 22px; }
.cc-big { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 10vw, 96px); line-height: 1.1; letter-spacing: -0.03em; min-height: 1.1em; }
.cc-big.pulse { animation: ccpulse .25s var(--ease-out); }
@keyframes ccpulse { from { transform: scale(1.08); color: var(--teal); } to { transform: none; } }
.changes:not(.running) .cc-tap { opacity: .5; }
.changes.running .cc-tap { min-height: 64px; padding: 14px 36px; font-size: 19px; }
.cc-history { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 420px; text-align: left; }
.cc-history li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sm-chord { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 9vw, 84px); line-height: 1; }
.sm-slots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 720px; }
.sm-slot { display: flex; flex-direction: column; align-items: center; padding: 12px 0 8px; border-radius: 12px; background: var(--bg); transition: background .08s, color .08s; }
.sm-slot i { font-style: normal; font-size: clamp(28px, 6vw, 44px); line-height: 1.1; height: 1.1em; font-weight: 700; color: var(--teal); }
.sm-slot small { font-size: 13px; color: var(--muted); }
.sm-slot.now { background: var(--teal-btn); }
.sm-slot.now i, .sm-slot.now small { color: #fff; }
@media (prefers-color-scheme: dark) {
  .plus-email input { background: #1C1C1E; border-color: rgba(255,255,255,.16); }
  .badge .b-icon { background: rgba(255,255,255,.1); }
  .ear-stats > div, .bt-chord, .ear-opts button, .fq-answers button, .cc-d, .sm-slot, .d-stats .stat { background: #232325; }
  .badge { background: #161617; }
  .plus-wall-card { background: #1C1C1E; }
  .bt-chord.on, .sm-slot.now { color: #000; }
  .sm-slot.now i, .sm-slot.now small { color: #000; }
  .cc-d svg .cs { stroke: rgba(255,255,255,.6); }
}
.d-stats .stat b, .p-stats .stat b { white-space: nowrap; }
@media (max-width: 560px) { .d-stats .stat b { font-size: clamp(28px, 9vw, 44px); } }

/* ---------- Plucky the Pick (kids only) ---------- */
.plucky { width: 120px; height: auto; flex: none; overflow: visible; }
.plucky .pk-body { fill: #E53935; stroke: #7A1F1A; stroke-width: 4; stroke-linejoin: round; }
.plucky .pk-shine { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 5; stroke-linecap: round; }
.plucky .pk-limb { fill: none; stroke: #7A1F1A; stroke-width: 4; stroke-linecap: round; }
.plucky .pk-hand { fill: #FFF3E8; stroke: #7A1F1A; stroke-width: 3; }
.plucky .pk-shoe { fill: #4FA3E3; stroke: #1F4E79; stroke-width: 3; }
.plucky .pk-eye { fill: #fff; stroke: #7A1F1A; stroke-width: 2.5; }
.plucky .pk-pupil { fill: #2B1A14; }
.plucky .pk-glint { fill: #fff; }
.plucky .pk-cheek { fill: #FF8A9A; opacity: .8; }
.plucky .pk-mouth { fill: none; stroke: #4A120E; stroke-width: 3.5; stroke-linecap: round; }
.plucky .pk-wave { transform-origin: 102px 70px; animation: pkwave 1.6s ease-in-out infinite; }
@keyframes pkwave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
.plucky { animation: pkbob 3s ease-in-out infinite; }
@keyframes pkbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Practice Pal ---------- */
.pal { max-width: 920px; margin: 0 auto; }
.pal > section { display: flex; flex-direction: column; gap: 22px; }
.pal-setup .form { width: 100%; }
.pal-guide { display: flex; align-items: center; gap: 14px; }
.pal-guide p { margin: 0; font-size: 19px; color: var(--body); }
.coach-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 6px var(--teal-dim); }
.pal-guide.kid { gap: 6px; }
.pal-guide .bubble { position: relative; background: #FFF6D6; color: #3A2A00; border: 3px solid #7A1F1A; border-radius: 22px; padding: 16px 20px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.pal-guide .bubble::before { content: ""; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); border: 10px solid transparent; border-right: 14px solid #7A1F1A; border-left: 0; }
.pal-hello .pal-guide p { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; color: var(--ink); }
.pal-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.pt-head { display: flex; justify-content: space-between; align-items: baseline; }
.pal-plan { list-style: none; margin: 12px 0 18px; padding: 0; }
.pal-plan li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pal-plan li:last-child { border-bottom: 0; }
.pal-plan b { display: block; font-weight: 600; }
.pal-plan small { color: var(--muted); }
.pp-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-dim); color: var(--teal); font-weight: 700; font-size: 14px; }
.pal-week { display: flex; flex-direction: column; }
.pal-nudge { display: flex; align-items: center; gap: 14px; padding: 18px 24px; }
.pal-nudge span { font-size: 24px; }
.pal-nudge p { margin: 0; }
.ask-row { display: flex; gap: 10px; }
.ask-row input { flex: 1; margin: 0 !important; }
.pal-answers { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pal-answer { padding: 16px 18px; border-radius: 16px; background: var(--bg); border-left: 4px solid var(--teal-bright); }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-dots { display: flex; gap: 6px; }
.pr-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,.15); }
.pr-dots i.on { background: var(--teal-bright); transform: scale(1.3); }
.pr-dots i.done { background: var(--teal-btn); }
.pr-title { text-align: center; font-size: clamp(34px, 5vw, 52px); }
.pr-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; }
.pr-timer { width: 190px; height: 190px; margin: 0; }
.pr-clock { font-size: 40px !important; }
.pal-run.time-up .pr-timer .r-fg { stroke: #34C759; }
.pr-mic { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; border-radius: 20px; background: var(--bg); }
.pm-scale { position: relative; width: min(360px, 100%); height: 10px; border-radius: 999px; background: linear-gradient(90deg, #FF9F0A, #34C759 45%, #34C759 55%, #FF9F0A); }
.pm-needle { position: absolute; top: -6px; left: 50%; width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: var(--ink); transition: left .15s; }
.pm-note { font-family: var(--display); font-size: 56px; line-height: 1; }
.pr-mic.ok .pm-note { color: #1E9E52; }
.pr-mic .pm-msg { margin: 0; text-align: center; }
.pd-stars { font-size: 44px; color: #FFB800; letter-spacing: 10px; animation: pkbob 1.2s ease-in-out infinite; }
.pal-done .pal-guide { justify-content: center; }
.kid-mode .pr-title, .kid-mode .pal-hello .bubble { color: #3A2A00; }
.kid-mode .pal-run, .kid-mode .pal-done { background: linear-gradient(180deg, #EAF6FF, #F5F5F7); }
@media (max-width: 760px) { .pal-grid, .pr-body { grid-template-columns: 1fr; } .pr-timer { margin: 0 auto; } .plucky { width: 92px; } .pal-guide .bubble { font-size: 17px; } }
.pal-feature { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; align-items: center; margin-bottom: 14px; background: linear-gradient(120deg, rgba(21,216,196,.12), rgba(79,179,255,.10)); }
.pal-feature h3 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 8px; }
.pal-feature-art .plucky { width: 150px; margin: 0 auto; display: block; }
@media (max-width: 640px) { .pal-feature { grid-template-columns: 1fr; } }

/* ---------- Rhythm game ---------- */
.rhythm, .playback, .chordcheck, .pitchtrain, .speed, .recorder, .theory { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.rg-lane { width: 100%; overflow-x: auto; background: var(--bg); border-radius: 16px; padding: 8px; }
.rg-lane svg { min-width: 640px; width: 100%; display: block; }
svg .rg-tick { stroke: rgba(127,127,127,.35); stroke-width: 1.5; }
svg .rg-bar { stroke: rgba(127,127,127,.8); stroke-width: 2.5; }
svg .rg-head { stroke: var(--teal-btn); stroke-width: 3; }
svg .rg-note { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
svg .rg-note.perfect { fill: #34C759; stroke: #1E9E52; }
svg .rg-note.good { fill: var(--teal-bright); stroke: var(--teal-btn); }
svg .rg-note.ok { fill: #FFB340; stroke: #C77800; }
svg .rg-note.miss { fill: #FF6B5E; stroke: #D7372B; }
.rg-pad { width: min(320px, 90%); height: 120px; border-radius: 24px; border: 0; background: linear-gradient(140deg, #1D1D1F, #3A3A3C); color: #fff; font: 700 28px var(--display); letter-spacing: .1em; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .06s; }
.rg-pad.hit { animation: padhit .15s ease-out; }
@keyframes padhit { from { transform: scale(.95); background: var(--teal-btn); } to { transform: none; } }
.rg-msg { margin: 0; font-weight: 600; min-height: 1.5em; }
/* ---------- Play it back ---------- */
.pb-notes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pb-note { display: flex; flex-direction: column; align-items: center; min-width: 72px; padding: 14px 10px; border-radius: 16px; background: var(--bg); border: 2px solid transparent; }
.pb-note b { font-family: var(--display); font-size: 30px; }
.pb-note small { font-size: 12px; color: var(--muted); min-height: 1.2em; }
.pb-note.ok { border-color: #34C759; }
.pb-note.no { border-color: #FF6B5E; }
.pb-msg { margin: 0; font-weight: 600; }
/* ---------- Chord checker ---------- */
.ck-diagram { width: 170px; background: var(--bg); border-radius: 16px; padding: 12px; }
.ck-meter { width: min(360px, 100%); height: 8px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; }
.ck-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #34C759, #FFB340 70%, #FF6B5E); transition: width .08s; }
.ck-result { max-width: 560px; text-align: left; }
.ck-good { color: #1E9E52; font-weight: 700; font-size: 20px; }
.ck-bad { color: #D7372B; font-weight: 700; }
/* ---------- Pitch trainer ---------- */
.pt-canvas { width: 100%; height: 260px; border-radius: 16px; background: var(--bg); }
.pt-msg { margin: 0; font-weight: 600; }
/* ---------- Speed trainer ---------- */
.sp-bpm { font-family: var(--display); font-weight: 600; font-size: clamp(72px, 14vw, 120px); line-height: 1; letter-spacing: -0.04em; }
.sp-progress { width: min(480px, 100%); height: 10px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; }
.sp-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0A8F83, #15D8C4); transition: width .4s var(--ease-out); }
.speed input:not([type=checkbox]), .recorder input[type=number] { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.speed input[type=number] { width: 100px; }
/* ---------- Recorder ---------- */
.rc-clock { font-family: var(--display); font-weight: 600; font-size: 72px; line-height: 1; font-variant-numeric: tabular-nums; }
.rc-btn { min-width: 180px; }
.recording .rc-btn { background: #D7372B; }
.recording .rc-clock { color: #D7372B; }
.rc-list { list-style: none; padding: 0; margin: 0; width: 100%; text-align: left; }
.rc-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.rc-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.rc-top input { font: inherit; font-weight: 600; border: 1px solid transparent; background: transparent; color: var(--ink); padding: 4px 6px; border-radius: 8px; }
.rc-top input:focus { border-color: var(--line-2); background: #fff; }
.rc-list audio { width: 100%; }
.rc-actions { display: flex; gap: 16px; align-items: center; }
/* ---------- Theory games ---------- */
.tg-stage { width: 100%; max-width: 520px; background: #fff; border-radius: 16px; padding: 10px; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tg-stage svg { width: 100%; }
svg .acc { font: 30px "Noto Music", "Apple Symbols", "Segoe UI Symbol", serif; fill: #1D1D1F; }
svg .bassclef { font-size: 40px; }
.tg-q { font-family: var(--display); font-weight: 600; font-size: 26px; color: #1D1D1F; margin: 20px; }
.tg-answers { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; width: 100%; max-width: 640px; }
.tg-answers button { font: inherit; font-weight: 600; min-height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; }
.tg-answers button:hover { border-color: var(--teal); }
.tg-feedback { margin: 0; min-height: 1.5em; font-weight: 600; }
.tg-feedback.ok { color: #1E9E52; } .tg-feedback.no { color: #D7372B; }
@media (prefers-color-scheme: dark) {
  .pal-answer, .pr-mic, .rg-lane, .pb-note, .ck-diagram, .pt-canvas, .tg-answers button { background: #232325; }
  .pr-dots i { background: rgba(255,255,255,.2); }
  .kid-mode .pal-run, .kid-mode .pal-done { background: linear-gradient(180deg, #10283A, #161617); }
  .kid-mode .pr-title { color: var(--ink); }
  .speed input:not([type=checkbox]), .recorder input[type=number], .rc-top input:focus { background: #1C1C1E; color: var(--ink); }
  svg .rg-note { fill: #1C1C1E; stroke: var(--ink); }
}

/* ---------- Theory course ---------- */
.course { max-width: 980px; margin: 0 auto; }
.co-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 14px; }
.co-top > div { flex: 1; min-width: 240px; }
.co-top h3 { margin-bottom: 4px; }
.co-bar { height: 10px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; margin-top: 10px; }
.co-bar.small { height: 6px; margin: 8px 0 12px; }
.co-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0A8F83, #15D8C4); transition: width .5s var(--ease-out); }
.co-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.co-level { background: var(--bg); }
.co-level.complete { box-shadow: inset 0 0 0 2px var(--teal-bright); }
.co-lh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.co-lh h3 { font-size: 20px; }
.co-level ol { margin: 0; padding-left: 20px; }
.co-level li { padding: 6px 0; display: flex; justify-content: space-between; gap: 8px; }
.co-level li::marker { color: var(--muted); }
.co-level li.done a { color: var(--ink); }
.co-tick { color: #1E9E52; font-size: 13px; font-weight: 600; white-space: nowrap; }
.co-cert { margin-top: 14px; min-height: 38px; padding: 6px 16px; font-size: 15px; }
.co-lesson h2 { font-size: clamp(34px, 5vw, 52px); margin: 6px 0 18px; }
.co-back { display: flex; width: max-content; margin-bottom: 14px; }
.co-back::after { content: none; } .co-back::before { content: "‹"; margin-right: 4px; }
.co-body p { font-size: 19px; line-height: 1.55; color: var(--body); max-width: 720px; }
.co-visuals { display: flex; flex-direction: column; gap: 14px; margin: 26px 0; }
.cs-vis { margin: 0; background: #fff; border-radius: 18px; padding: 14px; overflow-x: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; box-shadow: 0 0 0 1px var(--line); }
.cs-vis svg { max-width: 100%; height: auto; }
.cs-stave { height: auto; }
.cs-keys { max-width: 520px !important; }
.cs-fret { min-width: 380px; }
.cs-circle { width: 400px; max-width: 100%; margin: 0 auto; }
.cs-play { margin-left: 6px; }
svg .acc.small { font-size: 22px; }
svg .wk { fill: #fff; stroke: #1D1D1F; stroke-width: 1.5; }
svg .wk.on { fill: #BFF4EE; }
svg .bk { fill: #1D1D1F; }
svg .bk.on { fill: #0A8F83; }
svg .kl { font: 600 13px var(--text); fill: #0A6E65; text-anchor: middle; }
svg .kl.bl { fill: #fff; font-size: 10px; }
svg .cc-o { fill: #F5F5F7; stroke: #D2D2D7; }
svg .cc-i { fill: #fff; stroke: #D2D2D7; }
svg .cc-maj { font: 700 18px var(--display); fill: #1D1D1F; text-anchor: middle; }
svg .cc-min { font: 500 12px var(--text); fill: #6E6E73; text-anchor: middle; }
svg .cc-sig { font: 600 10px var(--text); fill: #007A70; text-anchor: middle; }
svg .cc-c { font: 600 13px var(--text); fill: #6E6E73; text-anchor: middle; }
.cs-vis svg .sname, .cs-vis svg .fnum { fill: #6E6E73; }
.cs-vis svg .cs { stroke: rgba(0,0,0,.55); } .cs-vis svg .cf { stroke: rgba(0,0,0,.18); } .cs-vis svg .nut { stroke: #1D1D1F; }
.cs-vis svg .fn circle { fill: #fff; stroke: rgba(0,0,0,.55); } .cs-vis svg .fn text { fill: #1D1D1F; }
.cs-vis svg .fn.root circle { fill: #007A70; stroke: #007A70; } .cs-vis svg .fn.root text { fill: #fff; }
.co-quiz { margin-top: 10px; }
.co-qt { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 4px 0 12px; }
.co-qn { margin: 0; }
.co-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.co-opts button { font: inherit; text-align: left; padding: 14px 16px; min-height: 54px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; }
.co-opts button:hover { border-color: var(--teal); }
.co-opts button.ok { background: #1E9E52; border-color: #1E9E52; color: #fff; }
.co-opts button.no { background: #D7372B; border-color: #D7372B; color: #fff; }
.co-fb { min-height: 1.4em; font-weight: 600; margin: 12px 0 0; }
.co-result { font-family: var(--display); font-size: 64px; font-weight: 600; margin: 0; text-align: center; }
.co-result.ok { color: #1E9E52; } .co-result.no { color: #D7372B; }
.co-quiz p { text-align: left; }
.co-levelup { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 16px 0; padding: 18px; border-radius: 16px; background: var(--teal-dim); }
.co-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.co-nav .btn { min-height: 40px; font-size: 15px; }
.co-certificate { display: none; }
@media print {
  .printing-cert body * { visibility: hidden !important; }
  .printing-cert .co-certificate, .printing-cert .co-certificate * { visibility: visible !important; }
  .printing-cert .co-certificate { display: flex !important; position: fixed; inset: 0; align-items: center; justify-content: center; background: #fff; z-index: 9999; }
  .printing-cert .site-header, .printing-cert .wa-btn, .printing-cert .mobile-bar { display: none !important; }
  .cert-inner { width: 90%; border: 6px double #0A8F83; border-radius: 12px; padding: 48px 40px; text-align: center; font-family: Georgia, serif; color: #1D1D1F; }
  .cert-inner img { width: 220px; margin: 0 auto 16px; }
  .cert-k { font-size: 30px; letter-spacing: .08em; text-transform: uppercase; color: #0A8F83; margin: 8px 0 24px; }
  .cert-name { font-size: 40px; font-style: italic; border-bottom: 1px solid #999; display: inline-block; padding: 0 30px 6px; margin: 10px 0 20px; }
  .cert-level { font-size: 24px; font-weight: bold; }
  .cert-date, .cert-sign { color: #555; margin-top: 18px; }
}
@media (prefers-color-scheme: dark) {
  .co-level { background: #1C1C1E; }
  .co-opts button { background: #232325; }
}

a.plus-feat { text-decoration: none; color: var(--ink); }
a.plus-feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }

/* ---- Theory course v2: preferences, TAB, interactive exercises ---- */
.co-prefs { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 18px; padding: 16px 20px; background: var(--card, #fff); }
.co-pref { display: flex; flex-direction: column; gap: 6px; }
.co-pref > span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.co-pref .seg button { padding: 7px 14px; min-height: 36px; }
.co-bpm { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.co-bpm input { width: 140px; accent-color: var(--teal); }
.co-bpm b { font-size: 14px; min-width: 64px; }
@media (max-width: 700px) { .co-prefs { padding: 14px; gap: 12px 16px; } .co-bpm input { width: 110px; } }
.cs-vis svg.cs-stave { width: calc(var(--w) * 1.35px); max-width: 100%; min-width: calc(var(--w) * 0.85px); }
.co-big .cs-vis svg.cs-stave { width: calc(var(--w) * 1.85px); max-width: none; min-width: calc(var(--w) * 1.2px); }
.co-big .cs-vis svg.cs-keys { max-width: 760px !important; width: calc(var(--w) * 1.6px); }
.co-big .cs-vis svg.cs-fret { width: calc(var(--w) * 1.5px); max-width: none; }
.co-big .co-body p, .co-big .co-sec li, .co-big .co-inst p { font-size: 22px; }
.co-big .co-qt { font-size: 28px; }
.co-big .co-opts button { font-size: 20px; min-height: 64px; }
svg .tab-line { stroke: #8E8E93; stroke-width: 1; }
svg .tabclef { font: 700 17px var(--display); fill: #1D1D1F; text-anchor: middle; }
svg .tabclef.small { font-size: 12px; }
svg .tabname { font: 600 11px var(--text); fill: #6E6E73; text-transform: uppercase; letter-spacing: .08em; }
svg .tbg { fill: #fff; }
svg .tn { font: 700 14px var(--text); fill: #1D1D1F; text-anchor: middle; }
svg .ev { cursor: pointer; }
svg .ev.now .nh, svg .ev.now .rest-b { fill: var(--teal-bright); stroke: var(--teal-btn); }
svg .ev.now .rest { stroke: var(--teal-btn); }
svg .ev.now .tn { fill: var(--teal-btn); }
svg .ev.now .tbg { fill: #D8FAF6; }
svg .ev.hitok .nh { fill: #1E9E52; stroke: #1E9E52; } svg .ev.hitok .flag { stroke: #1E9E52; } svg .ev.hitok rect.stem { fill: #1E9E52; }
svg .ev.hitno .nh { fill: #D7372B; stroke: #D7372B; } svg .ev.hitno .flag { stroke: #D7372B; } svg .ev.hitno rect.stem { fill: #D7372B; }
svg .midc { fill: #8E8E93; }
svg .key { cursor: pointer; }
svg .wk.ev.now, svg .wk.now { fill: var(--teal-bright); }
svg .bk.ev.now, svg .bk.now { fill: var(--teal-btn); }
svg .key.sel { fill: #9FE9E0; } svg .bk.key.sel { fill: #0A8F83; }
svg .key.right { fill: #7ED69C; } svg .bk.key.right { fill: #1E9E52; }
svg .key.wrong { fill: #F3A29B; } svg .bk.key.wrong { fill: #D7372B; }
svg .key.miss { stroke: #1E9E52; stroke-width: 4; }
svg .slot { cursor: pointer; }
svg .slot .ghost { opacity: 0; transition: opacity .1s; }
svg .slot .ghost ellipse { fill: var(--teal-btn); }
svg .slot:hover .ghost { opacity: .35; }
svg .slot.placed .ghost { opacity: 1; }
svg .slot.right .ghost ellipse { fill: #1E9E52; } svg .slot.wrong .ghost ellipse { fill: #D7372B; }
svg .fslot { cursor: pointer; }
svg .fslot circle { fill: transparent; stroke: transparent; }
svg .fslot:hover circle { fill: rgba(10,143,131,.18); }
svg .fslot text { font: 600 10px var(--text); text-anchor: middle; fill: #fff; pointer-events: none; }
svg .fslot.sel circle { fill: var(--teal-btn); }
svg .fslot.right circle { fill: #1E9E52; } svg .fslot.wrong circle { fill: #D7372B; }
.cs-vis figcaption { font-size: 14px; margin: 2px 4px 0; }
.cs-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.cs-ctl .cs-play { min-height: 40px; padding: 8px 18px; font-size: 15px; margin: 0; }
.cs-chip { font: inherit; font-size: 14px; border: 1px solid var(--line-2); background: #fff; color: #1D1D1F; border-radius: 999px; padding: 8px 14px; min-height: 40px; cursor: pointer; }
.cs-chip[aria-pressed="true"] { background: var(--teal-btn); border-color: var(--teal-btn); color: #fff; }
.cs-hint { font-size: 13px; }
.co-goals { background: var(--bg); border-radius: 18px; padding: 16px 20px; margin: 0 0 22px; max-width: 720px; }
.co-goals ul { margin: 8px 0 0; padding-left: 20px; } .co-goals li { padding: 3px 0; }
.co-sec { margin: 34px 0 10px; max-width: 760px; }
.co-sec h3 { font-size: 26px; margin-bottom: 8px; }
.co-sec li { font-size: 18px; line-height: 1.5; padding: 4px 0; color: var(--body); }
.co-sec .cs-vis { margin-top: 14px; }
.co-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-btn); color: #fff; font-size: 14px; font-weight: 700; margin-right: 10px; vertical-align: 2px; }
.co-inst { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 30px 0; }
.co-inst .card { background: var(--bg); }
.co-inst h4 { font-family: var(--display); font-size: 20px; margin: 0 0 6px; }
.co-inst p { font-size: 17px; line-height: 1.55; color: var(--body); }
.co-mist ul { padding-left: 22px; } .co-mist li::marker { content: "⚠  "; }
.co-task p { background: var(--bg); border-left: 4px solid var(--teal); border-radius: 12px; padding: 14px 18px; font-size: 18px; line-height: 1.5; }
.co-qbtns { margin-top: 8px; }
.co-fb.ok { color: #1E9E52; } .co-fb.no { color: #D7372B; }
.co-why { display: block; font-weight: 400; color: var(--body); margin-top: 6px; line-height: 1.5; }
.co-next { margin-top: 12px; }
.co-hear { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.co-rhy { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.co-pad { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 420px; min-height: 120px; border-radius: 24px; border: 2px dashed var(--line-2); background: var(--bg); color: var(--ink); font: 700 24px var(--display); cursor: pointer; touch-action: manipulation; user-select: none; }
.co-pad small { font: 400 13px var(--text); color: var(--muted); margin-top: 4px; }
.co-pad:disabled { opacity: .45; cursor: default; }
.co-pad.live { border-style: solid; border-color: var(--teal); }
.co-pad.hit { animation: padhit .15s ease-out; }
@keyframes padhit { from { background: var(--teal-bright); transform: scale(.98); } }
.co-drillhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--bg); margin-bottom: 12px; }
.co-drillhead .more { font: inherit; border: 0; background: none; cursor: pointer; }
@media (prefers-color-scheme: dark) {
  .co-prefs { background: #1C1C1E; }
  .cs-chip:not([aria-pressed="true"]) { background: #fff; }
}

.co-book { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.co-book > div { flex: 1; min-width: 260px; } .co-book h3 { margin: 2px 0 6px; } .co-book p.muted { margin: 0; }

/* ---- Theory Journey ---- */
.journey { max-width: 760px; margin: 0 auto; }
.jy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.jy-stats > div { background: var(--bg); border-radius: 18px; padding: 14px 10px; text-align: center; }
.jy-stats b { display: block; font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.jy-stats span { font-size: 13px; color: var(--muted); }
.jy-world { font-size: 22px; margin: 8px 0 14px; }
.jy-path { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.jy-node { display: flex; align-items: center; gap: 18px; padding: 10px 12px; border-radius: 20px; }
.jy-node:nth-child(4n+2) { margin-left: 40px; } .jy-node:nth-child(4n+3) { margin-left: 80px; } .jy-node:nth-child(4n+4) { margin-left: 40px; } .jy-node:nth-child(4n+1) { margin-left: 0; }
@media (max-width: 600px) { .jy-node:nth-child(n) { margin-left: 0; } }
.jy-node > button { flex: none; width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; background: var(--teal-btn); color: #fff; font: 600 24px var(--display); box-shadow: 0 6px 0 #076a61; transition: transform .12s; }
.jy-node > button:active { transform: translateY(4px); box-shadow: 0 2px 0 #076a61; }
.jy-node.done > button { background: #E8B43A; box-shadow: 0 6px 0 #B5861F; }
.jy-node.locked > button { background: #D8D8DC; box-shadow: 0 6px 0 #B9B9BE; cursor: default; color: #8E8E93; }
.jy-node.next > button { animation: jypulse 1.6s infinite; }
.jy-node.boss > button { width: 88px; height: 88px; font-size: 34px; }
@keyframes jypulse { 0%, 100% { outline: 0 solid rgba(21,216,196,.0); } 50% { outline: 8px solid rgba(21,216,196,.25); } }
.jy-icon { pointer-events: none; }
.jy-info { display: flex; flex-direction: column; gap: 2px; }
.jy-info b { font-size: 18px; } .jy-info span { font-size: 14px; color: var(--muted); }
.jy-stars i { font-style: normal; color: #D1D1D6; font-size: 16px; margin-right: 2px; } .jy-stars i.on { color: #E8B43A; }
.jy-go { margin-top: 8px; width: max-content; min-height: 40px; padding: 8px 18px; font-size: 15px; }
.jy-node.locked .jy-info { opacity: .55; }
.jy-soon { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; background: var(--bg); }
.jy-settings { margin: 10px 0 20px; } .jy-settings summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.jy-pref { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; } .jy-pref > span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.jy-play { min-height: 60vh; display: flex; flex-direction: column; }
.jy-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.jy-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); color: var(--muted); font-size: 18px; cursor: pointer; flex: none; }
.jy-prog { flex: 1; height: 14px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; }
.jy-prog i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #0A8F83, #15D8C4); transition: width .45s var(--ease-out); }
.jy-xp { font-weight: 700; font-size: 14px; color: var(--teal); min-width: 54px; text-align: right; }
.jy-combo { font-size: 13px; font-weight: 700; color: #E36B1D; min-width: 0; white-space: nowrap; } .jy-combo.hot { animation: jypop .3s; }
@keyframes jypop { from { transform: scale(1.3); } }
.jy-card { flex: 1; }
.jy-card.in { animation: jyin .35s var(--ease-out); }
@keyframes jyin { from { opacity: 0; transform: translateX(24px); } }
.jy-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin: 0 0 6px; }
.jy-card h2 { font-size: clamp(28px, 4.4vw, 40px); margin: 0 0 12px; letter-spacing: -0.02em; }
.jy-text { font-size: 21px; line-height: 1.5; color: var(--body); max-width: 640px; }
.jy-card .cs-vis { margin-top: 16px; }
.jy-ex .co-qt { font-size: 26px; }
.jy-count { font-weight: 700; color: var(--teal); }
.jy-bar { position: sticky; bottom: 0; margin: 24px -20px 0; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--bg-2, #fff); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; z-index: 4; }
.jy-bar.ok { background: #E3F7EA; border-color: #BFE8CC; } .jy-bar.ok .jy-msg { color: #17804A; }
.jy-bar.no { background: #FDE8E6; border-color: #F6C5C0; } .jy-bar.no .jy-msg { color: #B3261E; }
.jy-bar.no .jy-next { background: #D7372B; }
.jy-msg { margin: 0; font-size: 17px; }
.jy-next { min-width: 160px; }
.jy-bar.wait { background: transparent; border-color: transparent; }
.jy-sprint { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.jy-timer { flex: 1; height: 10px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; } .jy-timer i { display: block; height: 100%; width: 100%; background: #E36B1D; }
.jy-score { font: 700 34px var(--display); margin: 0; min-width: 50px; text-align: right; }
.jy-done { text-align: center; position: relative; padding-top: 10px; }
.jy-bigstars i { font-style: normal; font-size: 64px; color: #E5E5EA; display: inline-block; margin: 0 4px; }
.jy-bigstars i.on { color: #E8B43A; animation: jystar .5s var(--d) both cubic-bezier(.2,1.6,.4,1); }
@keyframes jystar { from { transform: scale(0) rotate(-40deg); } }
.jy-done .jy-stats { max-width: 520px; margin: 16px auto; }
.jy-confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.jy-confetti i { position: absolute; top: -10px; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: jyconf 1.8s ease-out forwards; }
.jy-confetti i:nth-child(3n) { background: #15D8C4; } .jy-confetti i:nth-child(3n+1) { background: #E8B43A; } .jy-confetti i:nth-child(3n+2) { background: #E36B1D; }
.jy-confetti i:nth-child(1) { left: 5%; animation-delay: .05s } .jy-confetti i:nth-child(2) { left: 12%; animation-delay: .2s } .jy-confetti i:nth-child(3) { left: 19%; animation-delay: .1s } .jy-confetti i:nth-child(4) { left: 26%; animation-delay: .3s } .jy-confetti i:nth-child(5) { left: 33%; animation-delay: 0s } .jy-confetti i:nth-child(6) { left: 40%; animation-delay: .25s } .jy-confetti i:nth-child(7) { left: 47%; animation-delay: .15s } .jy-confetti i:nth-child(8) { left: 54%; animation-delay: .35s } .jy-confetti i:nth-child(9) { left: 61%; animation-delay: .05s } .jy-confetti i:nth-child(10) { left: 68%; animation-delay: .2s } .jy-confetti i:nth-child(11) { left: 75%; animation-delay: .1s } .jy-confetti i:nth-child(12) { left: 82%; animation-delay: .3s } .jy-confetti i:nth-child(13) { left: 89%; animation-delay: 0s } .jy-confetti i:nth-child(14) { left: 95%; animation-delay: .25s } .jy-confetti i:nth-child(15) { left: 9%; animation-delay: .45s } .jy-confetti i:nth-child(16) { left: 23%; animation-delay: .5s } .jy-confetti i:nth-child(17) { left: 37%; animation-delay: .4s } .jy-confetti i:nth-child(18) { left: 51%; animation-delay: .55s } .jy-confetti i:nth-child(19) { left: 65%; animation-delay: .45s } .jy-confetti i:nth-child(20) { left: 79%; animation-delay: .5s } .jy-confetti i:nth-child(21) { left: 91%; animation-delay: .4s } .jy-confetti i:nth-child(22) { left: 44%; animation-delay: .6s } .jy-confetti i:nth-child(23) { left: 58%; animation-delay: .65s }
@keyframes jyconf { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(320px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .jy-card.in, .jy-confetti i, .jy-bigstars i.on, .jy-node.next > button { animation: none !important; } .jy-confetti i { opacity: 0; } }
@media (prefers-color-scheme: dark) { .jy-bar.ok { background: #0F2E1C; border-color: #1E5A36; } .jy-bar.ok .jy-msg { color: #6FD69A; } .jy-bar.no { background: #3A1512; border-color: #6B2A24; } .jy-bar.no .jy-msg { color: #FF9A90; } .jy-bar { background: #1C1C1E; } }

/* ---- DCM Plus page v2 ---- */
.plus-pricebar { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 26px auto 0; padding: 8px 6px; border-radius: 999px; background: var(--bg); font-size: 15px; color: var(--body); }
.plus-pricebar span { padding: 0 14px; } .plus-pricebar span + span { border-left: 1px solid var(--line-2); }
.plus-pricebar span:first-child { font-weight: 600; color: var(--teal); }
@media (max-width: 560px) { .plus-pricebar { border-radius: 18px; flex-direction: column; padding: 10px 16px; } .plus-pricebar span + span { border-left: 0; } }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.who-card { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); } .who-wrap { padding-bottom: 0 !important; } .who-card b { font-size: 19px; } .who-card p { margin: 6px 0 0; }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; gap: 10px; } }
.jy-feature { grid-template-columns: minmax(0, 1fr) 320px; }
.pal-feature .more { display: inline-flex; margin-top: 10px; }
.feat-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feat-2 .pal-feature { grid-template-columns: minmax(0, 1fr) 120px; margin: 0; }
.feat-2 .pal-feature-art .plucky { width: 110px; }
@media (max-width: 860px) { .feat-2 { grid-template-columns: 1fr; } .jy-feature { grid-template-columns: 1fr; } }
.jm { background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.12); color: #1D1D1F; font-size: 13px; max-width: 320px; margin: 0 auto; }
.jm-top { display: flex; align-items: center; gap: 8px; color: #8E8E93; } .jm-top i { flex: 1; height: 8px; border-radius: 9px; background: #E5E5EA; } .jm-top i b { display: block; width: 45%; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #0A8F83, #15D8C4); } .jm-top em { font-style: normal; font-weight: 700; color: #0A8F83; }
.jm-k { margin: 12px 0 2px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0A8F83; } .jm-q { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.jm-keys { position: relative; display: flex; height: 92px; } .jm-keys .w { flex: 1; border: 1.5px solid #1D1D1F; border-radius: 0 0 4px 4px; margin-right: -1.5px; background: #fff; } .jm-keys .w.on { background: #7ED69C; }
.jm-keys .b { position: absolute; top: 0; width: 9%; height: 56%; background: #1D1D1F; border-radius: 0 0 3px 3px; }
.jm-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 12px -14px -14px; padding: 10px 14px; border-radius: 0 0 22px 22px; background: #E3F7EA; color: #17804A; }
.jm-btn { background: #0A8F83; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; white-space: nowrap; }
.pg-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .pg-groups { grid-template-columns: 1fr; } }
.pg-group { display: flex; flex-direction: column; gap: 12px; }
.pg-head { display: flex; gap: 14px; align-items: flex-start; } .pg-head h3 { font-size: 22px; margin: 0; } .pg-head p { margin: 2px 0 0; }
.pg-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(21,216,196,.14); color: var(--teal); } .pg-icon svg { width: 26px; height: 26px; }
.pg-list { display: flex; flex-direction: column; }
.pg-tool { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pg-tool > span:first-child { display: flex; flex-direction: column; } .pg-tool b { font-size: 17px; } .pg-tool .muted { font-size: 14px; }
.pg-tool:hover b { color: var(--teal); } .pg-go { color: var(--muted); font-size: 22px; }
.plus-also { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 14px; background: var(--bg); }
.plus-also b { margin-right: 6px; } .plus-also span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2, #fff); border: 1px solid var(--line); }
.d-start { margin: 22px 0 6px; } .d-start h3 { margin: 0; }
.d-steps { list-style: none; counter-reset: st; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .d-steps { grid-template-columns: 1fr; } }
.d-steps li { counter-increment: st; } .d-steps a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px 14px 52px; position: relative; border-radius: 16px; background: var(--bg); text-decoration: none; color: var(--ink); }
.d-steps a::before { content: counter(st); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-btn); color: #fff; font-weight: 700; font-size: 14px; }
.d-steps li.done a::before { content: "✓"; background: #1E9E52; } .d-steps li.done b { text-decoration: line-through; color: var(--muted); }
@media (prefers-color-scheme: dark) { .jm { box-shadow: 0 0 0 1px rgba(255,255,255,.15); } }

/* =====================================================================
   DCM Plus promotion: menu pill, page bands, top bar
   ===================================================================== */
.nav a.nav-plus { color: #fff; font-weight: 600; background: linear-gradient(120deg, #0A8F83, #15D8C4 60%, #4FB3FF); padding: 6px 13px; margin: 0 4px; box-shadow: 0 2px 10px rgba(21,216,196,.35); }
.nav a.nav-plus:hover { color: #fff; filter: brightness(1.06); }
.nav a.nav-plus[aria-current="page"] { color: #fff; }
.mobile-menu a.nav-plus { background: linear-gradient(120deg, #0A8F83, #15D8C4 60%, #4FB3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-menu a.nav-plus small { display: inline-block; margin-left: 10px; vertical-align: middle; font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #fff; background: var(--teal-btn); padding: 3px 9px; border-radius: 999px; -webkit-text-fill-color: #fff; }

.plus-band { position: relative; overflow: hidden; background: #0B0F0F; color: #F5F5F7; padding: clamp(72px, 10vw, 120px) 0; }
.plus-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(21,216,196,.28), rgba(79,179,255,.10) 55%, transparent 75%); pointer-events: none; }
.plus-band-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.plus-band-mock .jm { max-width: 340px; transform: rotate(2deg); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
@media (max-width: 860px) { .plus-band-in { grid-template-columns: 1fr; } .plus-band-mock { display: none; } }
.plus-band h2 { color: #fff; font-size: clamp(36px, 5.4vw, 60px); max-width: 16ch; margin: 14px 0 0; }
.plus-band .lead { color: rgba(245,245,247,.78); margin-top: 18px; max-width: 46ch; }
.plus-band-chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plus-band-chips li { font-size: 14px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #F5F5F7; }
.plus-band-chips li:last-child { color: var(--teal-bright); border-color: rgba(21,216,196,.4); }
.plus-band .hero-actions { margin-top: 30px; }
.plus-band .more { color: var(--teal-bright); }
.plus-band-small { margin: 16px 0 0; font-size: 14px; color: rgba(245,245,247,.6); }

.promo-plus .plus-chip { font-size: 12px; padding: 3px 9px; margin-right: 6px; vertical-align: 1px; }
@media (max-width: 640px) { .promo-plus [data-promo-text] { display: none; } }

/* =====================================================================
   Christmas theme (html.xmas, set in <head> from 1 December to 1 January)
   Deep pine and warm gold over the usual layout. Remove nothing: it all
   switches off by itself on 2 January.
   ===================================================================== */
.xmas-only { display: none !important; }
html.xmas .xmas-only { display: inline-flex !important; }
html.xmas div.xmas-only { display: flex !important; }
html.xmas {
  --x-pine: #0F2A22; --x-pine-2: #17392E; --x-gold: #C9A45C; --x-gold-soft: #E7D3A4; --x-cream: #F4E7C8;
}
@media (prefers-color-scheme: light) {
  html.xmas { --bg-2: #F7F3EA; --bg-3: #FCFAF5; }
}
html.xmas .eyebrow { color: #8C6A2A; }
html.xmas .hero-home .eyebrow::before, html.xmas .page-head .eyebrow::before { content: "✦"; color: var(--x-gold); font-size: 13px; }
html.xmas .snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
html.xmas .hero > *:not(.snow), html.xmas .page-head > *:not(.snow), html.xmas .cta-band > *:not(.snow) { position: relative; z-index: 1; }
html.xmas .page-head { position: relative; overflow: hidden; }
html.xmas .btn-gift { background: var(--x-pine); color: var(--x-cream); box-shadow: inset 0 0 0 1px rgba(201,164,92,.55); }
html.xmas .btn-gift:hover { background: var(--x-pine-2); color: #fff; }
html.xmas .live i { background: var(--x-gold); box-shadow: 0 0 0 0 rgba(201,164,92,.6); }

/* Dark sections, Plus band and the closing call to action go pine and gold */
html.xmas .section-dark, html.xmas .plus-band { background: radial-gradient(120% 140% at 85% 0%, #1E4A3B 0%, var(--x-pine) 55%, #0A1E18 100%); }
html.xmas .section-dark .eyebrow, html.xmas .section-dark a:not(.btn), html.xmas .plus-band .more { color: var(--x-gold-soft); }
html.xmas .section-dark .btn { background: var(--x-gold); color: #10241D; }
html.xmas .section-dark .btn:hover { background: var(--x-cream); }
html.xmas .section-dark .step, html.xmas .section-dark .card { background: rgba(255,255,255,.06); }
html.xmas .plus-band::before { background: radial-gradient(closest-side, rgba(201,164,92,.22), rgba(201,164,92,.06) 55%, transparent 75%); }
html.xmas .plus-band-chips li:last-child { color: var(--x-gold-soft); border-color: rgba(201,164,92,.45); }
html.xmas .scrub .w.lit.acc { color: var(--x-gold-soft); }
html.xmas .section-dark .step::before { background: var(--x-gold); color: #10241D; }
html.xmas .cta-band { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, #1E4A3B 0%, var(--x-pine) 60%, #0A1E18 100%); color: var(--x-cream); }
html.xmas .cta-band h2 { color: #fff; }
html.xmas .cta-band .eyebrow { color: var(--x-gold-soft); }
html.xmas .cta-band .btn { background: var(--x-gold); color: #10241D; }
html.xmas .cta-band .btn:hover { background: var(--x-cream); }
html.xmas .cta-band .btn-outline { background: transparent; color: var(--x-cream); box-shadow: inset 0 0 0 1px rgba(244,231,200,.5); }
html.xmas .promo-bar { background: var(--x-pine); }
html.xmas .promo-bar .more { color: var(--x-gold-soft); }
html.xmas .site-footer { box-shadow: inset 0 3px 0 var(--x-gold); }

/* Vouchers page: festive note above the form */
.xmas-note { align-items: flex-start; gap: 14px; max-width: 760px; margin: 0 auto 34px; padding: 20px 24px; border-radius: var(--radius); background: linear-gradient(120deg, #0F2A22, #1E4A3B); color: #F4E7C8; }
.xmas-note b { color: #fff; }
.xmas-star { flex: none; color: #C9A45C; font-size: 22px; line-height: 1.2; }
html.xmas .voucher-opt { background: radial-gradient(130% 120% at 100% 0%, #1E4A3B 0%, var(--x-pine) 60%, #0A1E18 100%); }
html.xmas .voucher-opt::before { background: var(--x-gold); }
html.xmas .voucher-opt::after { content: "✦"; position: absolute; right: 22px; top: 54px; color: rgba(201,164,92,.35); font-size: 34px; pointer-events: none; }
html.xmas .v-amount { border-bottom-color: var(--x-gold); }
html.xmas .v-eur { color: var(--x-gold); }
html.xmas .v-label { color: var(--x-gold-soft); }
html.xmas .voucher-opt:has(input:checked) { box-shadow: 0 0 0 3px var(--x-gold), 0 24px 60px rgba(201,164,92,.25); }
html.xmas .voucher-opt:has(input:checked) .v-pick { border-color: var(--x-gold); background: var(--x-gold); box-shadow: inset 0 0 0 4px #0F2A22; }

/* ---------------------------------------------------------------------
   Christmas, stronger edition: pine and gold top sections, hanging
   baubles, gold headline accent, gift-card vouchers with a ribbon.
   --------------------------------------------------------------------- */
html.xmas .site-header { background: rgba(252,250,245,.94); box-shadow: inset 0 -1px 0 rgba(201,164,92,.35); }
html.xmas .site-header.scrolled { background: rgba(252,250,245,.96); }
html.xmas .nav a.nav-plus { background: linear-gradient(120deg, #A9843E, #E7D3A4 55%, #C9A45C); color: #0F2A22; box-shadow: 0 2px 10px rgba(201,164,92,.35); }
html.xmas .nav a.nav-plus[aria-current="page"], html.xmas .nav a.nav-plus:hover { color: #0F2A22; }
html.xmas .mobile-menu a.nav-plus { background: linear-gradient(120deg, #A9843E, #C9A45C 60%, #8C6A2A); -webkit-background-clip: text; background-clip: text; }
html.xmas .mobile-menu a.nav-plus small { background: var(--x-pine); }

html.xmas .hero, html.xmas .page-head { background:
    radial-gradient(60% 55% at 50% 0%, rgba(201,164,92,.20), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #1E4A3B 0%, var(--x-pine) 55%, #0A1E18 100%);
  color: #FBF6EA; }
html.xmas .hero { background-size: 100% 78%, 100% 78%; background-repeat: no-repeat; background-color: var(--bg); }
html.xmas .hero-sub { background-size: 100% 74%, 100% 74%; }
html.xmas .hero::after, html.xmas .page-head::after { content: ""; position: absolute; top: 0; left: max(8px, calc(50% - 720px)); width: 220px; height: 260px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22260%22 viewBox=%220 0 220 260%22%3E%3Cdefs%3E%3CradialGradient id=%22g%22 cx=%22.35%22 cy=%22.3%22 r=%22.8%22%3E%3Cstop offset=%220%22 stop-color=%22%23F4E7C8%22/%3E%3Cstop offset=%22.45%22 stop-color=%22%23C9A45C%22/%3E%3Cstop offset=%221%22 stop-color=%22%237A5A24%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Cline x1=%2240%22 y1=%220%22 x2=%2240%22 y2=%22120%22 stroke=%22%23C9A45C%22 stroke-width=%221%22 opacity=%22.7%22/%3E%3Crect x=%2236.5%22 y=%22119%22 width=%227%22 height=%226%22 rx=%221.5%22 fill=%22%23C9A45C%22/%3E%3Ccircle cx=%2240%22 cy=%22147%22 r=%2222%22 fill=%22url%28%23g%29%22 opacity=%221%22/%3E%3Ccircle cx=%2232.3%22 cy=%22139.3%22 r=%224.84%22 fill=%22%23fff%22 opacity=%22.35%22/%3E%3Cline x1=%22110%22 y1=%220%22 x2=%22110%22 y2=%2260%22 stroke=%22%23C9A45C%22 stroke-width=%221%22 opacity=%22.7%22/%3E%3Crect x=%22106.5%22 y=%2259%22 width=%227%22 height=%226%22 rx=%221.5%22 fill=%22%23C9A45C%22/%3E%3Ccircle cx=%22110%22 cy=%2280%22 r=%2215%22 fill=%22url%28%23g%29%22 opacity=%220.95%22/%3E%3Ccircle cx=%22104.75%22 cy=%2274.75%22 r=%223.3%22 fill=%22%23fff%22 opacity=%22.35%22/%3E%3Cline x1=%22170%22 y1=%220%22 x2=%22170%22 y2=%22170%22 stroke=%22%23C9A45C%22 stroke-width=%221%22 opacity=%22.7%22/%3E%3Crect x=%22166.5%22 y=%22169%22 width=%227%22 height=%226%22 rx=%221.5%22 fill=%22%23C9A45C%22/%3E%3Ccircle cx=%22170%22 cy=%22193%22 r=%2218%22 fill=%22url%28%23g%29%22 opacity=%220.9%22/%3E%3Ccircle cx=%22163.7%22 cy=%22186.7%22 r=%223.96%22 fill=%22%23fff%22 opacity=%22.35%22/%3E%3Cpath d=%22M110 0v6%22 stroke=%22%23C9A45C%22/%3E%3C/svg%3E") no-repeat; pointer-events: none; z-index: 1; }
html.xmas .hero::before, html.xmas .page-head::before { content: ""; position: absolute; top: 0; right: max(8px, calc(50% - 720px)); width: 220px; height: 260px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22260%22 viewBox=%220 0 220 260%22%3E%3Cdefs%3E%3CradialGradient id=%22g%22 cx=%22.35%22 cy=%22.3%22 r=%22.8%22%3E%3Cstop offset=%220%22 stop-color=%22%23F4E7C8%22/%3E%3Cstop offset=%22.45%22 stop-color=%22%23C9A45C%22/%3E%3Cstop offset=%221%22 stop-color=%22%237A5A24%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Cline x1=%2240%22 y1=%220%22 x2=%2240%22 y2=%22120%22 stroke=%22%23C9A45C%22 stroke-width=%221%22 opacity=%22.7%22/%3E%3Crect x=%2236.5%22 y=%22119%22 width=%227%22 height=%226%22 rx=%221.5%22 fill=%22%23C9A45C%22/%3E%3Ccircle cx=%2240%22 cy=%22147%22 r=%2222%22 fill=%22url%28%23g%29%22 opacity=%221%22/%3E%3Ccircle cx=%2232.3%22 cy=%22139.3%22 r=%224.84%22 fill=%22%23fff%22 opacity=%22.35%22/%3E%3Cline x1=%22110%22 y1=%220%22 x2=%22110%22 y2=%2260%22 stroke=%22%23C9A45C%22 stroke-width=%221%22 opacity=%22.7%22/%3E%3Crect x=%22106.5%22 y=%2259%22 width=%227%22 height=%226%22 rx=%221.5%22 fill=%22%23C9A45C%22/%3E%3Ccircle cx=%22110%22 cy=%2280%22 r=%2215%22 fill=%22url%28%23g%29%22 opacity=%220.95%22/%3E%3Ccircle cx=%22104.75%22 cy=%2274.75%22 r=%223.3%22 fill=%22%23fff%22 opacity=%22.35%22/%3E%3Cline x1=%22170%22 y1=%220%22 x2=%22170%22 y2=%22170%22 stroke=%22%23C9A45C%22 stroke-width=%221%22 opacity=%22.7%22/%3E%3Crect x=%22166.5%22 y=%22169%22 width=%227%22 height=%226%22 rx=%221.5%22 fill=%22%23C9A45C%22/%3E%3Ccircle cx=%22170%22 cy=%22193%22 r=%2218%22 fill=%22url%28%23g%29%22 opacity=%220.9%22/%3E%3Ccircle cx=%22163.7%22 cy=%22186.7%22 r=%223.96%22 fill=%22%23fff%22 opacity=%22.35%22/%3E%3Cpath d=%22M110 0v6%22 stroke=%22%23C9A45C%22/%3E%3C/svg%3E") no-repeat; transform: scaleX(-1) translateY(-30px); pointer-events: none; z-index: 1; }
@media (max-width: 900px) { html.xmas .hero::after, html.xmas .hero::before, html.xmas .page-head::after, html.xmas .page-head::before { width: 120px; height: 150px; background-size: 120px auto; opacity: .75; } }
@media (max-width: 560px) { html.xmas .hero::before, html.xmas .page-head::before { display: none; } }
html.xmas .hero h1, html.xmas .page-head h1 { color: #FBF6EA; }
html.xmas .hero h1 .w:last-child > span, html.xmas .page-head h1 .w:last-child > span { background: linear-gradient(100deg, #C9A45C 10%, #F4E7C8 45%, #C9A45C 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.xmas .hero .lead, html.xmas .page-head .lead, html.xmas .page-head p { color: rgba(251,246,234,.78); }
html.xmas .hero .eyebrow, html.xmas .page-head .eyebrow { color: var(--x-gold-soft); }
html.xmas .hero .btn:not(.btn-gift), html.xmas .page-head .btn { background: var(--x-gold); color: #10241D; }
html.xmas .hero .btn:not(.btn-gift):hover, html.xmas .page-head .btn:hover { background: var(--x-cream); }
html.xmas .hero .btn-gift { background: transparent; color: var(--x-cream); box-shadow: inset 0 0 0 1px rgba(244,231,200,.55); }
html.xmas .hero .btn-gift:hover { background: rgba(244,231,200,.1); color: #fff; }
html.xmas .hero .more, html.xmas .page-head .more, html.xmas .hero-meta a, html.xmas .hero-meta { color: var(--x-gold-soft); }
html.xmas .hero-meta .stars { color: var(--x-gold); }
html.xmas .hero-media img { box-shadow: 0 30px 80px rgba(6,20,15,.35), 0 0 0 1px rgba(201,164,92,.25); }
html.xmas .hero .snow, html.xmas .page-head .snow { z-index: 0; }

/* Gift-card vouchers: a gold ribbon and bow on every option */
html.xmas .voucher-opt { padding-right: 92px; }
html.xmas .voucher-opt::after { content: ""; position: absolute; top: 0; right: 14px; width: 120px; height: 100%; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22400%22 viewBox=%220 0 120 400%22%3E%3Cdefs%3E%3ClinearGradient id=%22r%22 x1=%220%22 x2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23A9843E%22/%3E%3Cstop offset=%22.5%22 stop-color=%22%23E7D3A4%22/%3E%3Cstop offset=%221%22 stop-color=%22%23A9843E%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x=%2253%22 y=%220%22 width=%2214%22 height=%22400%22 fill=%22url%28%23r%29%22/%3E%3Cpath d=%22M60 46 C 30 14, 8 28, 18 50 C 26 66, 50 58, 60 46Z%22 fill=%22url%28%23r%29%22/%3E%3Cpath d=%22M60 46 C 90 14, 112 28, 102 50 C 94 66, 70 58, 60 46Z%22 fill=%22url%28%23r%29%22/%3E%3Cpath d=%22M57 50 L 40 92 L 48 88 L 52 96 L 60 52Z%22 fill=%22%23B8924A%22/%3E%3Cpath d=%22M63 50 L 80 92 L 72 88 L 68 96 L 60 52Z%22 fill=%22%23B8924A%22/%3E%3Ccircle cx=%2260%22 cy=%2248%22 r=%228%22 fill=%22%23E7D3A4%22/%3E%3Ccircle cx=%2257.5%22 cy=%2245.5%22 r=%222.5%22 fill=%22%23fff%22 opacity=%22.5%22/%3E%3C/svg%3E") no-repeat top center / 120px auto; opacity: .95; }
html.xmas .voucher-opt .v-pick { right: auto; left: 24px; bottom: 22px; }
html.xmas .voucher-opt { padding-bottom: 60px; }
html.xmas .xmas-note { background: linear-gradient(120deg, var(--x-pine), #1E4A3B); color: rgba(251,246,234,.85); box-shadow: inset 0 0 0 1px rgba(201,164,92,.35); }

/* =====================================================================
   DCM Plus workbook reader
   ===================================================================== */
.reader { padding: var(--hh, 64px) 0 80px; background: var(--bg-2); min-height: 100vh; }
.reader-bar { position: sticky; top: var(--hh, 64px); z-index: 20; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.reader-bar-in { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.reader-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.reader-ctrls { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.r-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.r-btn:hover { border-color: var(--teal); color: var(--teal); }
.reader-status { max-width: 640px; margin: 40px auto 0; text-align: center; padding: 0 20px; }
.reader-pages { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 12px 0; }
.r-page { position: relative; max-width: 100%; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.r-page canvas { display: block; max-width: 100%; height: auto; }
.r-num { color: #BBB; font-size: 14px; }
.reader-note { max-width: 640px; margin: 36px auto 0; text-align: center; font-size: 14px; padding: 0 20px; }
@media (max-width: 640px) { .reader-back { display: none; } .reader-ctrls [data-r-zoom] { display: none; } }
@media print { .reader { display: none !important; } }
body:has([data-reader]) .promo-bar { display: none !important; }
body:has([data-reader]) .wa-btn { display: none; }
.reader-back { color: var(--teal); text-decoration: none; font-weight: 500; white-space: nowrap; }

/* Shared microphone switch and help */
.mic-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 22px; }
.mic-bar p { margin: 0; font-size: 14px; flex: 1 1 260px; }
.mic-bar-dash { margin: 4px 0 20px; }
.mic-chip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.mic-dot { width: 9px; height: 9px; border-radius: 50%; background: #B0B0B0; }
.mic-chip.on .mic-dot { background: #2BB673; box-shadow: 0 0 0 4px rgba(43,182,115,.18); }
.mic-chip.on { padding-right: 14px; }
.mic-chip.blocked .mic-dot { background: #D9534F; }
.mic-on, .mic-retry { border: 0; border-radius: 999px; background: var(--teal-btn); color: #fff; font: inherit; font-size: 13px; font-weight: 600; padding: 5px 12px; cursor: pointer; }
.mic-chip-help:empty { display: none; }
.mic-chip-help { flex-basis: 100%; font-weight: 400; padding: 4px 6px 4px 0; }
.mic-help { display: inline; font-size: 14px; line-height: 1.5; }
.mic-help b { font-weight: 600; }
.mic-retry { margin-left: 6px; vertical-align: 1px; }
