:root {
  --ink: #1b1720; --muted: #594b5a; --night: #171221; --deep: #21182a; --paper: #fffaf6;
  --panel: #fff; --plum: #3d2541; --copper: #d87654; --peach: #ffb78c; --lime: #b8d767;
  --border: #dfd4dc; --line: #ad95ad;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.58 Arial, sans-serif; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0074ae; outline-offset: 4px; }
.wrap { width: min(71rem, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; top: -6rem; left: 1rem; z-index: 3; background: #fff; padding: .6rem; }
.skip:focus { top: .5rem; }
.top { color: var(--ink); background: #fff; }
.top-inner, .footer { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 750; font-size: 1.08rem; text-decoration: none; }
.brand span { border-left: 1px solid var(--border); padding-left: .75rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.8rem, 2.4vw, 2rem); }
nav a { font-size: .94rem; text-decoration: none; font-weight: 700; }
nav a:hover { color: #863d42; }
.nav-contact { border: 1px solid #856d83; padding: .4rem .85rem; border-radius: .28rem; }
.hero { position: relative; isolation: isolate; background: var(--night); color: white; }
.hero-photo { inset: 0 0 0 32%; position: absolute; z-index: -1; background: linear-gradient(90deg,var(--night) 1%,#17122124 47%,#17122118 100%), url("assets/karaoke-stage.webp") 70% center/cover no-repeat, var(--plum); }
.hero-inner { min-height: 34rem; padding-block: clamp(4.2rem,8vw,7.5rem); }
.overline { color: #82394a; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 800; margin: 0 0 1rem; }
.hero .overline, .contact .overline { color: var(--peach); }
h1,h2,h3 { line-height: 1.03; letter-spacing: -.04em; margin: 0 0 .65em; }
h1 { font-size: clamp(3.6rem,8vw,7.5rem); margin-bottom: .2em; }
h2 { font-size: clamp(2.25rem,4.8vw,4.25rem); margin-bottom: .18em; }
h3 { font-size: clamp(1.45rem,2.5vw,2rem); }
p { margin-top: 0; }
.hero p:not(.overline) { max-width: 31rem; font-size: 1.16rem; color: #f2e8f1; margin-bottom: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-block; padding: .65rem .95rem; border: 1px solid transparent; border-radius: .32rem; text-decoration: none; font-weight: 750; text-align: center; }
.accent { background: var(--peach); color: #241724; }
.accent:hover { background: #ffcdb3; }
.ghost,.mini { background: transparent; color: inherit; border: 1px solid var(--line); }
.ghost:hover,.mini:hover:not(:disabled) { background: #ffffff22; }
.section { padding-block: clamp(3.4rem,7vw,6rem); }
.section-heading { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading > p { color: var(--muted); margin-bottom: .3rem; max-width: 30rem; }
.karaoke-grid,.quiz-grid,.service-grid { display: grid; gap: 1rem; }
.karaoke-grid { grid-template-columns: 1.75fr 1fr; }
.stage { display: grid; grid-template-rows: auto 1fr auto auto; padding: clamp(1rem,3vw,2rem); background: radial-gradient(ellipse at 15% 5%, #442944, #1f172a 64%); color: #fff6f9; border-radius: .65rem; min-height: 19rem; }
.stage-top,.stage-bottom { display: flex; justify-content: space-between; gap: .8rem; align-items: center; }
.stage-top strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.stage-bottom { margin-top: 1.5rem; }
.lyric { align-self: center; text-align: center; color: #ffd0b6; font-size: clamp(1.7rem,3.5vw,3.4rem); font-weight: 800; line-height: 1.16; overflow-wrap: anywhere; padding-top: 1.8rem; }
.next-line { text-align: center; color: #d9ccd9; margin: .8rem 0 0; min-height: 1.6rem; overflow-wrap: anywhere; }
.mini { border-radius: .25rem; padding: .38rem .6rem; font-size: .89rem; white-space: nowrap; }
.mini:disabled { opacity: .5; }
.stage:fullscreen, .stage-expanded { padding: clamp(1.4rem,5vw,5rem); border-radius: 0; }
.stage:fullscreen .lyric, .stage-expanded .lyric { font-size: clamp(2rem,7vw,7rem); }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: .65rem; padding: clamp(1rem,3vw,1.8rem); min-width: 0; }
.panel > p:last-child { margin-bottom: 0; }
audio { width: 100%; min-width: 0; display: block; }
label { display: block; font-weight: 700; }
label small { display: block; color: var(--muted); font-weight: 400; }
.checkbox { display: flex; align-items: center; gap: .54rem; margin-block: 1rem; font-size: .94rem; }
summary { font-weight: 800; }
form { display: grid; gap: .82rem; margin-block: 1rem; }
form .button { justify-self: start; }
input:not([type=checkbox]),textarea { width: 100%; min-width: 0; margin-top: .28rem; padding: .52rem .55rem; border: 1px solid #9b8595; border-radius: .3rem; color: var(--ink); background: #fff; }
textarea { resize: vertical; }
.text-button { display: inline-block; background: transparent; border: 0; color: #793447; text-decoration: underline; text-underline-offset: .22rem; padding: .25rem 0; font-weight: 700; }
.karaoke-settings .text-button { margin-top: .7rem; }
.small { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.quiz-band { background: #f1e8f2; }
.quiz-grid { grid-template-columns: .85fr 1.65fr; }
.quiz-choices { display: grid; gap: .7rem; align-content: start; }
.choice { text-align: left; background: #fff8fc; border: 1px solid var(--border); border-radius: .45rem; padding: 1.1rem; color: var(--ink); }
.choice strong,.choice span { display: block; }
.choice strong { font-size: 1.2rem; }
.choice span { color: var(--muted); font-size: .94rem; }
.choice:hover,.choice[aria-pressed=true] { border-color: #803d67; box-shadow: inset .26rem 0 #803d67; }
.quiz-card { min-height: 13.25rem; }
.quiz-progress { font-size: .93rem; color: var(--muted); margin-bottom: .55rem; }
.quiz-progress:empty,#feedback:empty,#playlist-status:empty,#karaoke-status:empty { display: none; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.answer { text-align: left; color: var(--ink); background: white; border: 1px solid #a790a2; padding: .58rem; border-radius: .34rem; }
.answer:not(:disabled):hover { background: #f2e7f0; }
.answer.correct { background: #e4f4d6; border-color: #63824e; }
.answer.incorrect { background: #fbe4df; border-color: #a35951; }
#feedback { margin-block: .9rem; }
.service-grid { grid-template-columns: 1fr 1fr; }
.playlist { margin-top: 1rem; }
.playlist > p:first-of-type { margin: .65rem 0; max-width: 52rem; }
.playlist form { grid-template-columns: minmax(8rem,25rem) auto; align-items: end; }
.contact { background: #2c2033; color: white; }
.contact-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.contact-inner p:not(.overline),address { color: #f2e9f1; }
address { font-style: normal; line-height: 1.8; flex: 0 1 18rem; }
.footer { justify-content: flex-start; font-size: .92rem; color: var(--muted); }
.footer a:last-child { margin-left: auto; }
.footer img { display: block; object-fit: contain; }
@media(max-width: 52rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .section-heading,.karaoke-grid,.quiz-grid { grid-template-columns: 1fr; }
  .quiz-choices { grid-template-columns: 1fr 1fr; }
  .hero-photo { left: 22%; opacity: .63; }
  .hero-inner { min-height: auto; }
}
@media(max-width: 33rem) {
  .top-inner { align-items: start; flex-direction: column; justify-content: center; gap: .45rem; padding-block: .7rem; }
  nav { gap: .65rem; }
  nav a { font-size: .85rem; }
  .nav-contact { border: 0; padding: 0; }
  .hero-photo { left: 0; opacity: .45; background-position: 60% center; }
  h1 { font-size: clamp(3rem,13.4vw,4rem); }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  address { flex-basis: auto; }
  .playlist form,.service-grid { grid-template-columns: 1fr; }
  .stage-bottom { gap: .35rem; }
  .mini { font-size: .8rem; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.stage-expanded { position: fixed; inset: 0; z-index: 10; overflow: auto; }
body.stage-open { overflow: hidden; }
