/* =========================================================
   RECITAL — the "music" style (data-theme="music")
   A printed recital programme: ivory paper, burgundy, antique-gold hairlines, Cormorant display,
   Source Serif prose, Inter small-caps labels. Motion "andante": slow rises, gold rules that draw once,
   no lifts, no glows, no loops. Also styles /music/ and /ISSIauction/ (they link this file directly).
   Loaded only when this style is active (head script / applyTheme in script.js).
   Every token is defined here so nothing leaks from the Professional base in styles.css.
   ========================================================= */

/* ---------- Fonts ----------
   Cormorant Garamond (OFL, self-hosted) is the display face and is only ever used at >= 28px; its
   x-height is small. Source Serif 4 (prose) and Inter (UI labels) are declared in styles.css. */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-600.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-600-italic.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallbacks (measured against Times New Roman: same advance width, Cormorant's
   924/287 ascent/descent) so the swap re-wraps nothing. The weight range stops a faux-bold. */
@font-face { font-family: "Cormorant-fb"; font-style: normal; font-weight: 100 900; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Georgia"); size-adjust: 96%; ascent-override: 96.3%; descent-override: 29.9%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant-fb"; font-style: italic; font-weight: 100 900; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Georgia Italic"); size-adjust: 88.6%; ascent-override: 104.3%; descent-override: 32.4%; line-gap-override: 0%; }

/* ---------- Tokens: "Burgundy & gold" (light, the default) ---------- */
[data-theme="music"] {
  color-scheme: light;
  --paper: #F7F2E9; --paper-2: #EDE4D4; --surface: #FCF9F3; --card-warm: #F3EADB;
  --ink: #241E19;          /* 14.8:1 on paper */
  --ink-soft: #625A50;     /* 6.1:1 */
  --ink-faint: #756C61;    /* 4.6:1 on paper, 4.9:1 on surface (never used on paper-2) */
  --line: rgba(36, 30, 25, 0.13); --line-soft: rgba(36, 30, 25, 0.07); --line-strong: rgba(36, 30, 25, 0.24);
  --accent: #7A2E3D;       /* burgundy, text-safe: 8.2:1 on paper; ivory on it 8.7:1 */
  --accent-strong: #7A2E3D; --on-accent: #FCF9F3;
  --accent-soft: rgba(122, 46, 61, 0.10);
  --gold-text: #7E6127;    /* eyebrows + small caps: 5.2:1 on paper, 5.5:1 on surface */
  --gold-deco: #C2A15F;    /* rules, ornaments, glyph accents only (never text) */
  --danger: #9B2C2C;
  --mark-bg: #7A2E3D; --mark-fg: #F3E7C9;   /* S tile: 7.5:1 */
  --veil: 247, 242, 233;   /* paper as an rgb triplet for photo veils */
  --theme-color: #F7F2E9;

  /* legacy names used by base rules → this palette (never red/coral) */
  --cobalt: var(--accent); --cobalt-deep: color-mix(in srgb, var(--accent) 85%, #000);
  --vermilion: var(--gold-text); --vermilion-soft: var(--gold-deco);
  --accent-bright: var(--gold-deco);
  --glow-cobalt: transparent; --glow-verm: transparent;

  --shadow-sm: 0 1px 2px rgba(60, 40, 20, .05);
  --shadow-md: 0 14px 34px -22px rgba(60, 40, 20, .26);
  --shadow-lg: 0 26px 56px -30px rgba(60, 40, 20, .32);
  --shadow-card: var(--shadow-md);
  --radius: 8px; --radius-sm: 6px; --radius-lg: 12px; --radius-btn: 6px;

  --font-display: "Cormorant Garamond", "Cormorant-fb", "Times New Roman", serif;
  --font-prose: "Source Serif 4", "SourceSerif-fb", Georgia, serif;
  --font-serif: var(--font-prose);
  --font-body: "Inter", "Inter-fb", system-ui, sans-serif;   /* UI: nav, buttons, labels, forms */
  --font-mono: var(--font-body);

  --maxw: 1240px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out: cubic-bezier(.165, .85, .45, 1);
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
  --dur-hover: 260ms; --dur-press: 140ms;
  --press-scale: .99;
}

/* ---------- Tokens: "Recital hall" (dark) ---------- */
[data-theme="music"][data-mode="dark"] {
  color-scheme: dark;
  --paper: #15110F; --paper-2: #1C1714; --surface: #221C19; --card-warm: #2A221E;
  --ink: #F4EEE4;          /* 16.3:1 */
  --ink-soft: #C9BFB0;     /* 10.3:1 */
  --ink-faint: #A39888;    /* 5.9:1 on surface */
  --line: rgba(244, 238, 228, 0.13); --line-soft: rgba(244, 238, 228, 0.07); --line-strong: rgba(244, 238, 228, 0.26);
  --accent: #C98593;       /* burgundy lifted to a muted wine-rose for dark: 6.5:1 on paper, 5.8:1 on surface */
  --accent-strong: #D9B872; --on-accent: #15110F;   /* gold buttons, dark text 9.9:1 */
  --accent-soft: rgba(201, 133, 147, 0.16);
  --gold-text: #D9B872;    /* 9.9:1 */
  --gold-deco: #B8975A;
  --danger: #F2A7A0;
  --mark-bg: #8A3445; --mark-fg: #F3E7C9;   /* 6.4:1 */
  --veil: 21, 17, 15;
  --theme-color: #15110F;
  --cobalt-deep: color-mix(in srgb, var(--accent) 80%, #fff);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 14px 34px -20px rgba(0, 0, 0, .6);
  --shadow-lg: 0 26px 56px -28px rgba(0, 0, 0, .7);
}

/* ---------- Brand mark: the S tile in Recital's colourway (no star anywhere) ---------- */
[data-theme="music"] :is(.logo-mark, .mus-brand i) {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 6px;
  background: var(--mark-bg); color: var(--mark-fg); font-size: 0; line-height: 0; font-style: normal; transform: none;
  vertical-align: -6px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-deco) 55%, transparent);
}
[data-theme="music"] :is(.logo-mark, .mus-brand i)::before {
  content: "S"; font: 600 16px/1 var(--font-prose); letter-spacing: 0; color: var(--mark-fg); transform: translateY(.5px);
}
[data-theme="music"] .nav-logo:hover .logo-mark { transform: none; }

/* =========================================================
   HOMEPAGE DEMO (a sample Suzuki studio)
   ========================================================= */
/* quiet: no texture, washes, blobs, orbs, progress bar or spine */
[data-theme="music"] body::before,
[data-theme="music"] .grain,
[data-theme="music"] .scroll-progress,
[data-theme="music"] .spine,
[data-theme="music"] .hero-canvas,
[data-theme="music"] .hero-blob,
[data-theme="music"] .hero-spotlight,
[data-theme="music"] .hero-photo,
[data-theme="music"] .hero-photo-veil,
[data-theme="music"] .contact-orb,
[data-theme="music"] .ripple { display: none; }
/* real Seth sections that make no sense on a violin-studio sample */
[data-theme="music"] .showcase,
[data-theme="music"] .pricing-custom,
[data-theme="music"] .field--budget,
[data-theme="music"] .footer-manage,
[data-theme="music"] #testimonials,
[data-theme="music"] .hero-meta { display: none; }

/* ---- type ---- */
[data-theme="music"] body { font-family: var(--font-prose); }
[data-theme="music"] h1, [data-theme="music"] h2 { font-weight: 600; letter-spacing: -0.005em; }
/* small headings never use Cormorant (display face is >= 28px only) */
[data-theme="music"] :is(h3, h4) { font-family: var(--font-prose); font-weight: 600; letter-spacing: -0.01em; }
[data-theme="music"] em { font-family: inherit; font-style: normal; font-weight: 600; letter-spacing: inherit; color: var(--ink); }
[data-theme="music"] :is(.section-title, .hero-music-title, .rc-h2, .music-band-title) em {
  font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--accent);
}
[data-theme="music"] .eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font: 600 .9rem/1.2 var(--font-body); font-variant-caps: all-small-caps; text-transform: none; letter-spacing: .12em;
  color: var(--gold-text);
}
[data-theme="music"] .eyebrow::before,
[data-theme="music"] .eyebrow::after { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--gold-deco); }
[data-theme="music"] ::selection { background: var(--accent-soft); color: var(--ink); }

/* ---- nav ---- */
[data-theme="music"] .nav { font-family: var(--font-body); }
[data-theme="music"] .nav.scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); box-shadow: 0 1px 0 var(--line-soft); }
[data-theme="music"] .nav-logo { font-family: var(--font-prose); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
[data-theme="music"] .nl-num { display: none; }
[data-theme="music"] .nav-link { color: var(--ink-soft); transition: color var(--dur-hover) var(--ease-out); }
[data-theme="music"] .nav-link::after { height: 1px; bottom: 4px; background: var(--gold-deco); transition: transform 420ms var(--ease-out); }
[data-theme="music"] .nav-link:hover { color: var(--ink); }
[data-theme="music"] .nav-cta { padding: 11px 18px; font-size: .92rem; font-weight: 600; }
[data-theme="music"] .nav-cta::before { display: none; }
[data-theme="music"] .nav-login { padding: 10px 14px; color: var(--ink); }

/* ---- hero: "Matted print" — statement left, a wide violin photo right, programme strip beneath ---- */
[data-theme="music"] .hero { min-height: 92svh; padding-top: 118px; padding-bottom: 118px; }
[data-theme="music"] .hero-content { max-width: none; }
[data-theme="music"] .hero-kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font: 600 .98rem/1.3 var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--gold-text);
}
[data-theme="music"] .hero-kicker i { display: none; }
[data-theme="music"] .hero-title { display: none; }
[data-theme="music"] .hero-music-title {
  display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.04;
  font-size: clamp(2.7rem, 6vw, 5.2rem); color: var(--ink); margin-bottom: 26px; max-width: 15ch;
}
[data-theme="music"] .hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.28rem); line-height: 1.62; max-width: 32em; margin-bottom: 36px; color: var(--ink-soft); }
/* the photo: a wide "matted print" showing the whole frame (16:10, the photo's own shape), bleeding off the
   right edge on desktop, with an offset gold hairline behind it. .hero-scene is in the markup, so its box is
   reserved from first paint (no layout shift); recital.js only drops the photo into it. */
[data-theme="music"] .hero { --hp: clamp(22px, 7vw, 110px); }
[data-theme="music"] .hero-scene {
  display: block; position: relative; z-index: 2; width: 100%; aspect-ratio: 16 / 10; margin: 40px 0 0;
  border-radius: 14px; overflow: hidden; background: var(--paper-2);
  /* paper-then-gold offset shadows draw a 1px gold outline 16px down-left of the photo */
  box-shadow: -16px 16px 0 -1px var(--paper), -16px 16px 0 0 color-mix(in srgb, var(--gold-deco) 85%, transparent), var(--shadow-md);
}
[data-theme="music"] .hero-scene .glyph { display: none; }
/* the photo is 3:2 in a 16:10 frame: full width (the whole violin, scroll to chinrest), with ~3% spare height
   above and below for recital.js's slow scroll drift */
[data-theme="music"] .rc-hero-img { display: block; position: absolute; left: 0; top: -3.4%; width: 100%; height: 106.8%; object-fit: cover; object-position: 50% 50%;
  opacity: 0; transition: opacity 1s var(--ease-reveal); }
[data-theme="music"] .rc-hero-img.is-loaded { opacity: 1; animation: rcSettle 2.6s var(--ease-reveal) both; }
[data-theme="music"][data-mode="dark"] .rc-hero-img { filter: brightness(.86) saturate(.95); }   /* pale wood, softened for the dark hall */
@media (min-width: 961px) {
  [data-theme="music"] .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px);
    align-items: center; width: 100%; max-width: var(--maxw); margin: 0 auto;
  }
  [data-theme="music"] .hero-music-title { font-size: clamp(2.7rem, 5vw, 4.6rem); }
  /* run past the viewport's right edge (the hero clips it): side padding + centring gap on wide screens + 16px,
     so the gold outline, offset 16px left, also ends at the screen edge */
  [data-theme="music"] .hero-scene {
    width: auto; margin: 0 calc(-1 * (var(--hp) + max(0px, (100vw - 2 * var(--hp) - var(--maxw)) / 2)) - 16px) 0 0;
    border-radius: 14px 0 0 14px;
  }
}
@media (max-width: 960px) {
  [data-theme="music"] .hero-grid { display: block; }
  [data-theme="music"] .hero-music-title { font-size: clamp(2.7rem, 7vw, 4.4rem); }
  [data-theme="music"] .hero-scene { margin-left: 16px; width: calc(100% - 16px); }
}
@media (max-width: 600px) {
  [data-theme="music"] .hero-scene { margin-top: 36px; margin-left: 12px; width: calc(100% - 12px); box-shadow: -12px 12px 0 -1px var(--paper), -12px 12px 0 0 color-mix(in srgb, var(--gold-deco) 85%, transparent), var(--shadow-md); }
  [data-theme="music"] .hero-kicker { font-size: .9rem; letter-spacing: .06em; gap: 10px; }
}
/* programme strip: absolutely placed in the hero's reserved bottom padding, so injecting it moves nothing */
[data-theme="music"] .rc-programme {
  position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 2 * clamp(22px, 7vw, 110px)));
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; list-style: none;
  padding-top: 18px; border-top: 1px solid transparent;   /* the visible rule is ::before, which draws in */
  font: 600 .95rem/1.4 var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--ink-soft);
}
[data-theme="music"] .rc-programme li { white-space: nowrap; }
[data-theme="music"] .rc-programme li + li::before { content: "\00B7"; color: var(--gold-text); margin: 0 14px; }
@media (max-width: 760px) {
  [data-theme="music"] .hero { padding-bottom: 132px; }
  [data-theme="music"] .rc-programme { bottom: 30px; width: calc(100% - 44px); font-size: .9rem; }
  [data-theme="music"] .rc-programme li + li::before { margin: 0 9px; }
}
/* five-line staff in the kicker; draws once on load */
[data-theme="music"] .rc-staff { display: block; flex: 0 0 auto; width: 38px; height: 20px; overflow: visible; }
[data-theme="music"] .rc-staff path { fill: none; stroke: var(--gold-deco); stroke-width: 1.1; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: rcDraw 1s var(--ease-reveal) calc(var(--i, 0) * 110ms + 250ms) forwards; }
[data-theme="music"] .rc-staff .rc-note { stroke: var(--accent); stroke-width: 1.5; }
@keyframes rcDraw { to { stroke-dashoffset: 0; } }

/* ---- sections: centred programme heads with a gold rule that draws in ---- */
[data-theme="music"] .section-head {
  grid-template-columns: 1fr; gap: 0; justify-items: center; text-align: center; max-width: 780px; margin-left: auto; margin-right: auto;
}
[data-theme="music"] .index { display: none; }
/* Cormorant's default figures are old-style ("10" reads as "IO"): numbers use lining figures */
[data-theme="music"] :is(.stat-num, .price-amount, .footer-big, .mus-price .amount, .mus-step .n) { font-variant-numeric: lining-nums; }
[data-theme="music"] .section-title { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.06; margin-bottom: 20px; }
[data-theme="music"] .section-title::after {
  content: ""; display: block; width: 72px; height: 1px; margin: 22px auto 0; background: var(--gold-deco);
  transform: scaleX(0); transition: transform 1.1s var(--ease-reveal) .35s;
}
[data-theme="music"] .section-head.in .section-title::after { transform: scaleX(1); }
[data-theme="music"] .section-lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.65; max-width: 34em; margin: 0 auto; }
[data-theme="music"] .section-glyph { margin: 0 auto 16px; }

/* ---- cards: ivory, hairline; no lift — the border warms to gold ---- */
[data-theme="music"] .tilt-inner,
[data-theme="music"] .glass-card .glass-inner {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transform-style: flat; will-change: auto; backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: border-color 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
[data-theme="music"] .tilt-inner > *, [data-theme="music"] .why-num { transform: none; }
[data-theme="music"] .tilt-inner::before, [data-theme="music"] .glass-card .glass-inner::after { display: none; }
[data-theme="music"] :is(.tilt-card, .glass-card):hover :is(.tilt-inner, .glass-inner) {
  transform: none; border-color: var(--gold-deco); box-shadow: var(--shadow-sm);
}
[data-theme="music"] .why-icon, [data-theme="music"] .price-icon { display: none; }
[data-theme="music"] .why-num { font: 600 .9rem/1 var(--font-prose); color: var(--gold-text); top: 20px; right: 22px; }
[data-theme="music"] .tilt-inner h3 { font-size: 1.2rem; }
[data-theme="music"] .tilt-inner p { font-size: 1rem; line-height: 1.62; }
[data-theme="music"] .card-glyph { margin-bottom: 18px; }

/* hand-drawn glyphs: stroked in ink, accent strokes in gold; draw in once with the card */
[data-theme="music"] .glyph { display: block; color: var(--ink); }
[data-theme="music"] .glyph .g-acc { stroke: var(--gold-deco); }
[data-theme="music"] :is(.tilt-card, .glass-card):hover .glyph .g-acc { animation: gDraw .9s var(--ease-out) both; }

/* ---- pricing (tuition) ---- */
[data-theme="music"] .price-grid { align-items: stretch; }
[data-theme="music"] .glass-card--featured .glass-inner {
  transform: none; border-color: var(--gold-deco);
  box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 6px color-mix(in srgb, var(--gold-deco) 55%, transparent), var(--shadow-sm);
}
[data-theme="music"] .glass-card--featured:hover .glass-inner {
  box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 6px var(--gold-deco), var(--shadow-sm);
}
[data-theme="music"] .featured-badge {
  top: -12px; padding: 5px 14px; font: 600 .86rem/1.2 var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .1em;
  background: var(--accent-strong); color: var(--on-accent); border-radius: 999px; box-shadow: none;
}
[data-theme="music"] .price-head h3 { font-size: 1.35rem; }
[data-theme="music"] .price-amount { font-family: var(--font-display); font-weight: 600; font-size: 3.4rem; letter-spacing: -0.01em; }
[data-theme="music"] .price-amount .dollar { font-family: var(--font-prose); font-size: 1.35rem; color: var(--ink-soft); }
[data-theme="music"] .price-tag { font-family: var(--font-prose); font-style: italic; font-size: 1rem; color: var(--ink-soft); }
[data-theme="music"] .price-features li { color: var(--ink-soft); }
[data-theme="music"] .price-features li::before { background: var(--gold-text); }
[data-theme="music"] .price-addon {
  font: 500 .86rem/1.4 var(--font-body); color: var(--ink-soft);
  background: color-mix(in srgb, var(--gold-deco) 11%, transparent); border-radius: var(--radius-sm);
}
[data-theme="music"] .price-note { color: var(--ink-soft); }

/* ---- the studio in numbers ---- */
[data-theme="music"] .stats { box-shadow: none; background: var(--surface); }
[data-theme="music"] .stat { text-align: center; }
[data-theme="music"] .stat-num { font-family: var(--font-display); font-weight: 600; color: var(--accent); letter-spacing: -0.01em; font-size: clamp(2.4rem, 5vw, 3.5rem); }
[data-theme="music"] .stat-label { font: 600 .92rem/1.3 var(--font-body); font-variant-caps: all-small-caps; text-transform: none; letter-spacing: .08em; color: var(--ink-soft); }

/* ---- photographic band (recital) ---- */
[data-theme="music"] .music-band {
  display: block; position: relative; overflow: hidden; max-width: var(--maxw); margin: clamp(10px, 3vw, 30px) auto;
  height: clamp(280px, 36vw, 440px); border-radius: var(--radius-lg);
  background: url("/assets/music/recital.webp") center 40%/cover no-repeat;
}
@media (max-width: 1288px) { [data-theme="music"] .music-band { margin-left: clamp(16px, 3vw, 24px); margin-right: clamp(16px, 3vw, 24px); } }
[data-theme="music"] .music-band-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(24px, 5vw, 56px); color: #fff;
  background: linear-gradient(0deg, rgba(24, 15, 12, .84), rgba(24, 15, 12, .35) 52%, rgba(24, 15, 12, .12));
}
[data-theme="music"] .music-band-kicker { font: 600 .92rem/1.3 var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .12em; margin-bottom: 8px; color: #F3E7C9; }
[data-theme="music"] .music-band-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.08; max-width: 20ch; color: #fff; }

/* ---- contact / footer ---- */
[data-theme="music"] .contact-form {
  background: var(--surface); box-shadow: var(--shadow-sm); backdrop-filter: none; -webkit-backdrop-filter: none;
}
[data-theme="music"] .field input, [data-theme="music"] .field select, [data-theme="music"] .field textarea {
  font-family: var(--font-body); border-width: 1px; border-color: var(--line-strong); border-radius: var(--radius-sm);
}
[data-theme="music"] .field label { font-family: var(--font-body); }
[data-theme="music"] .field input:focus, [data-theme="music"] .field select:focus, [data-theme="music"] .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
[data-theme="music"] .form-status { font-family: var(--font-body); color: var(--accent); }
[data-theme="music"] .form-status.error { color: var(--danger); }
[data-theme="music"] .footer { background: var(--paper-2); border-top-color: var(--line-soft); font-family: var(--font-body); }
[data-theme="music"] .footer-big { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: color-mix(in srgb, var(--ink) 8%, var(--paper-2)); }
[data-theme="music"] .footer-big span { color: var(--gold-deco); opacity: .8; }
[data-theme="music"] .footer-links a::after { display: none; }
[data-theme="music"] .footer-copy { font-size: .82rem; color: var(--ink-soft); }

/* =========================================================
   INTERACTIONS ("poised"): buttons darken 8% and press to .99; no lift, glow, ripple or magnet.
   Text links: a gold underline draws in from the left.
   ========================================================= */
[data-theme="music"] :is(.btn, .nav-cta, .nav-login, .mus-cta, .mus-login) {
  border-radius: var(--radius-btn); box-shadow: none; will-change: auto; overflow: hidden;
  transition: background-color var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out),
              border-color var(--dur-hover) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
[data-theme="music"] .btn { padding: 14px 24px; font-family: var(--font-body); font-weight: 600; font-size: .98rem; }
[data-theme="music"] :is(.btn, .nav-cta, .nav-login, .mus-cta, .mus-login):hover { transform: none; box-shadow: none; filter: none; }
[data-theme="music"] :is(.btn, .nav-cta, .nav-login, .mus-cta, .mus-login):active { transform: scale(var(--press-scale)); }
[data-theme="music"] .btn-glow { display: none; }
[data-theme="music"] :is(.btn-primary, .nav-cta, .mus-cta) { background: var(--accent-strong); color: var(--on-accent); border: 1px solid var(--accent-strong); }
[data-theme="music"] :is(.btn-primary, .nav-cta, .mus-cta):hover {
  background: color-mix(in srgb, var(--accent-strong) 92%, #000); border-color: color-mix(in srgb, var(--accent-strong) 92%, #000); color: var(--on-accent);
}
[data-theme="music"] :is(.btn-ghost, .btn-outline, .nav-login, .mus-login) { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
[data-theme="music"] :is(.btn-ghost, .btn-outline, .nav-login, .mus-login):hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); border-color: var(--line-strong);
}
[data-theme="music"] .btn-arrow { transition: transform var(--dur-hover) var(--ease-out); }
[data-theme="music"] .btn-ghost:hover .btn-arrow { transform: translateY(2px); }
/* gold underline that draws L→R */
[data-theme="music"] :is(.card-link, .price-note a, .footer-links a, .rc-link, .mus-fineprint a, .mus-foot a, .mus-reassure a) {
  color: var(--accent); border: 0; text-decoration: none;
  background: linear-gradient(var(--gold-deco), var(--gold-deco)) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size 480ms var(--ease-out), color var(--dur-hover) var(--ease-out);
}
[data-theme="music"] :is(.card-link, .price-note a, .footer-links a, .rc-link, .mus-fineprint a, .mus-foot a, .mus-reassure a):hover { background-size: 100% 1px; }
[data-theme="music"] .card-link { font-family: var(--font-body); font-size: .95rem; }
[data-theme="music"] .card-link:hover { gap: 6px; }
[data-theme="music"] .footer-links a { color: var(--ink-soft); }
[data-theme="music"] .footer-links a:hover { color: var(--ink); }
[data-theme="music"] :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* =========================================================
   MOTION "andante": opacity + 12px rise, 900ms, 120ms stagger. The hero rises transform-only
   (the <h1> stays the LCP element and is never faded).
   ========================================================= */
[data-theme="music"] .reveal { transform: translateY(12px); }
[data-theme="music"] .reveal.in { transition: opacity .9s var(--ease-reveal), transform .9s var(--ease-reveal); }
[data-theme="music"] .reveal[data-delay="1"].in { transition-delay: .12s; }
[data-theme="music"] .reveal[data-delay="2"].in { transition-delay: .24s; }
[data-theme="music"] .reveal[data-delay="3"].in { transition-delay: .36s; }
[data-theme="music"] .reveal[data-delay="4"].in { transition-delay: .48s; }
@keyframes rcRise { from { transform: translateY(12px); } to { transform: none; } }
@keyframes rcFade { from { opacity: 0; } to { opacity: 1; } }
[data-theme="music"] .hero .reveal,
[data-theme="music"] .hero-kicker,
[data-theme="music"] .hero-music-title { transform: none; animation: rcRise .9s var(--ease-reveal) both; }
[data-theme="music"] .hero-music-title { animation-delay: .06s; }
[data-theme="music"] .hero .reveal[data-delay="2"] { animation-delay: .18s; }
[data-theme="music"] .hero .reveal[data-delay="3"] { animation-delay: .3s; }
/* the print wipes open from the screen edge toward the words; the photo settles inside it */
@keyframes rcArch {
  from { -webkit-clip-path: inset(-40px -40px -70px 100%); clip-path: inset(-40px -40px -70px 100%); }
  to   { -webkit-clip-path: inset(-40px -40px -70px -40px); clip-path: inset(-40px -40px -70px -40px); }
}
@keyframes rcSettle { from { scale: 1.12; } to { scale: 1; } }
@keyframes rcUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
[data-theme="music"] .hero-scene { animation: rcArch 1.6s var(--ease-reveal) .2s both; }
/* programme strip: the gold rule draws out from the centre, then each item follows */
[data-theme="music"] .rc-programme { animation: rcFade .6s var(--ease-reveal) .5s both; }
[data-theme="music"] .rc-programme::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: color-mix(in srgb, var(--gold-deco) 70%, transparent);
  transform-origin: 50% 50%; animation: rcRule 1.4s var(--ease-reveal) .55s both;
}
@keyframes rcRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
[data-theme="music"] .rc-programme li { animation: rcUp .9s var(--ease-reveal) both; }
[data-theme="music"] .rc-programme li:nth-child(1) { animation-delay: .8s; }
[data-theme="music"] .rc-programme li:nth-child(2) { animation-delay: .9s; }
[data-theme="music"] .rc-programme li:nth-child(3) { animation-delay: 1s; }
[data-theme="music"] .rc-programme li:nth-child(4) { animation-delay: 1.1s; }

/* =========================================================
   PARENT MODULES (injected by recital.js; sample content)
   ========================================================= */
[data-theme="music"] .rc-teacher, [data-theme="music"] .rc-parents { display: block; }
[data-theme="music"] .rc-policy { display: grid; }
[data-theme="music"] .rc-teacher { padding-top: clamp(20px, 4vw, 40px); padding-bottom: clamp(48px, 7vw, 88px); }
[data-theme="music"] .rc-teacher-card {
  display: grid; grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: start;
  padding: clamp(26px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 6px color-mix(in srgb, var(--gold-deco) 45%, transparent);
}
[data-theme="music"] .rc-teacher-card .glyph { width: 64px; height: 64px; }
[data-theme="music"] .rc-teacher-card .eyebrow { margin-bottom: 10px; }
[data-theme="music"] .rc-teacher-card .eyebrow::before { display: none; }
[data-theme="music"] .rc-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; margin-bottom: 14px; color: var(--ink); }
[data-theme="music"] .rc-teacher-main p { color: var(--ink-soft); line-height: 1.65; max-width: 30em; }
[data-theme="music"] .rc-sample { display: block; margin-top: 14px; font: 600 .86rem/1.3 var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .08em; color: var(--ink-faint); }
[data-theme="music"] .rc-creds { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
[data-theme="music"] .rc-creds li { display: grid; gap: 2px; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); position: relative; }
[data-theme="music"] .rc-creds li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold-deco); }
[data-theme="music"] .rc-creds b { font-weight: 600; color: var(--ink); }
[data-theme="music"] .rc-creds span { font-size: .94rem; color: var(--ink-soft); line-height: 1.5; }

[data-theme="music"] .rc-policy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 48px); margin-top: 42px;
  padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
[data-theme="music"] .rc-policy-head .eyebrow { margin-bottom: 8px; }
[data-theme="music"] .rc-policy-head .eyebrow::before { display: none; }
[data-theme="music"] .rc-policy-head h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--ink); }
[data-theme="music"] .rc-policy-head p { color: var(--ink-soft); line-height: 1.6; font-size: .98rem; }
[data-theme="music"] .rc-policy ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
[data-theme="music"] .rc-policy li { position: relative; padding-left: 20px; color: var(--ink-soft); line-height: 1.55; font-size: .97rem; }
[data-theme="music"] .rc-policy li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-deco); }
[data-theme="music"] .rc-policy li b { color: var(--ink); font-weight: 600; }

[data-theme="music"] .rc-faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
[data-theme="music"] .rc-faq details { border-bottom: 1px solid var(--line); transition: border-color 420ms var(--ease-out); }
[data-theme="music"] .rc-faq details:hover { border-bottom-color: var(--gold-deco); }
[data-theme="music"] .rc-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 2px; font: 600 1.12rem/1.4 var(--font-prose); color: var(--ink);
}
[data-theme="music"] .rc-faq summary::-webkit-details-marker { display: none; }
[data-theme="music"] .rc-faq summary::after {
  content: ""; flex: 0 0 auto; width: 11px; height: 11px; margin-right: 6px; border-right: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text);
  transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-hover) var(--ease-out);
}
[data-theme="music"] .rc-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
[data-theme="music"] .rc-faq details p { padding: 0 2px 22px; color: var(--ink-soft); line-height: 1.68; max-width: 40em; }
[data-theme="music"] .rc-faq-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: .92rem; color: var(--ink-faint); }

@media (max-width: 960px) {
  [data-theme="music"] .rc-teacher-card { grid-template-columns: 1fr; }
  [data-theme="music"] .rc-policy { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  [data-theme="music"] .rc-policy ul { grid-template-columns: 1fr; }
  [data-theme="music"] .rc-faq summary { font-size: 1.04rem; padding: 18px 0; }
}

/* =========================================================
   /music/ + /ISSIauction/ (their own .mus-* markup) — same tokens, fonts, S tile and hover recipe
   ========================================================= */
[data-theme="music"] .mus-top { font-family: var(--font-body); }
[data-theme="music"] .mus-brand { font-family: var(--font-prose); font-weight: 600; }
[data-theme="music"] .mus-actions { display: flex; align-items: center; gap: 10px; }

/* =========================================================
   REDUCED MOTION — everything static and readable
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  [data-theme="music"] .hero .reveal, [data-theme="music"] .hero-kicker, [data-theme="music"] .hero-music-title,
  [data-theme="music"] .hero-scene, [data-theme="music"] .rc-programme,
  [data-theme="music"] .rc-programme::before, [data-theme="music"] .rc-programme li, [data-theme="music"] .rc-hero-img { animation: none !important; }
  [data-theme="music"] .rc-hero-img { transition: none; }
  [data-theme="music"] .rc-staff path { animation: none !important; stroke-dashoffset: 0 !important; }
  [data-theme="music"] .section-title::after { transform: none !important; transition: none !important; }
  [data-theme="music"] :is(.tilt-card, .glass-card):hover .glyph .g-acc { animation: none !important; }
  [data-theme="music"] :is(.btn, .nav-cta, .nav-login, .mus-cta, .mus-login, .style-pill, .style-menu button):active { transform: none; }
  [data-theme="music"] :is(.card-link, .price-note a, .footer-links a, .rc-link, .mus-fineprint a, .mus-foot a, .mus-reassure a) { transition: none; }
}
