/* Dallas Music Academy: the logo's navy, red and gold; clean, warm and phone-first.
   Light by default, dark follows the system; every text pair meets WCAG AA in both. */
:root {
  --navy: #10264f; --navy-2: #1b3a73; --red: #c8202f; --gold: #f2b632; --gold-ink: #2a1d00;
  --bg: #fbf8f2; --surface: #ffffff; --ink: #18213a; --muted: #4d5672; --line: #e6dfd2; --link: #1b4fb0;
  --display: "Montserrat", system-ui, sans-serif; --body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1426; --surface: #152038; --ink: #eef1f8; --muted: #b5bdd4; --line: #263453; --link: #8fb4ff; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5.5vw, 54px); font-weight: 800; } h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; } h3 { font-size: 20px; font-weight: 700; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin: 0 0 10px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: #ff8a93; } }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 46ch; }
.small { font-size: 14px; } .small-h { font-size: 18px; color: var(--muted); }

.top { background: var(--navy); position: sticky; top: 0; z-index: 20; border-bottom: 4px solid var(--red); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand img { width: 110px; }
.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; font: 700 15px var(--display); padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { background: rgba(255,255,255,.12); }
@media (max-width: 900px) { .nav { display: none; } .top-in { justify-content: space-between; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 10px; font: 700 16px var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn.gold { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.btn.gold:hover { background: #ffc54d; }
.btn.ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn.big { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.btn.small { min-height: 42px; padding: 8px 14px; font-size: 14px; }

.hero { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: clamp(28px, 6vw, 72px) 0; }
.hero .eyebrow { color: var(--gold); } .hero .lead { color: #d9e2f5; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.hero .btn.ghost { color: #fff; }
.hero-meta a { color: #fff; } .hero-meta { color: #d9e2f5; }
.hero-img img { border-radius: 18px; border: 6px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(1.5deg); }
@media (max-width: 820px) { .hero-in { grid-template-columns: 1fr; } .hero-img { order: -1; } .hero-img img { transform: none; } }

section.wrap { margin-top: clamp(36px, 6vw, 64px); }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.head-row a { font-weight: 700; text-decoration: none; }
.lessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.lesson { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3/2; text-decoration: none; background: var(--navy); }
.lesson img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.lesson:hover img { transform: scale(1.05); }
.lesson span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font: 700 16px var(--display); background: linear-gradient(transparent, rgba(8,18,40,.9)); }

.band { background: var(--navy); color: #fff; margin-top: clamp(36px, 6vw, 64px); padding: 40px 0; border-top: 4px solid var(--gold); }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.benefits h3 { color: var(--gold); } .benefits p { color: #d9e2f5; margin: 0; font-size: 16px; }

.teachers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.teacher { display: grid; gap: 4px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.teacher img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; margin: 0 auto 10px; width: 82%; }
.teacher b { font: 800 18px var(--display); } .teacher span { color: var(--muted); font-size: 15px; } .teacher small { color: var(--muted); font-weight: 600; }
.teacher:hover { border-color: var(--gold); }

.promo { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, #1c1840, #3a2f80); color: #f6f3ff; }
.promo .eyebrow { color: var(--gold); } .promo p { color: #d8d2f5; margin: 0; max-width: 52ch; }
.affil .logos { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.affil img { height: 56px; width: auto; border-radius: 6px; background: #fff; padding: 4px; }

.page-head { margin-top: 36px; }
.prose { max-width: 820px; }
.block { margin: 0 0 26px; } .section-h { margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--line); }
.ticks { padding-left: 0; list-style: none; } .ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: "♪"; position: absolute; left: 4px; color: var(--red); font-weight: 700; }
@media (prefers-color-scheme: dark) { .ticks li::before { color: var(--gold); } }

.teacher-page { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.teacher-page img { border-radius: 50%; position: sticky; top: 100px; }
@media (max-width: 760px) { .teacher-page { grid-template-columns: 1fr; } .teacher-page img { position: static; max-width: 260px; } }

.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; margin-bottom: 40px; }
.visit-info .big-line { font: 700 20px var(--display); margin: 6px 0; } .visit-info .big-line a { text-decoration: none; }
.map { width: 100%; min-height: 380px; border: 0; border-radius: 18px; }
.hours { border-collapse: collapse; margin: 14px 0; } .hours caption { text-align: left; font: 800 16px var(--display); margin-bottom: 6px; }
.hours th { text-align: left; padding: 4px 18px 4px 0; font-weight: 600; } .hours td { color: var(--muted); }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

.foot { background: var(--navy); color: #d9e2f5; margin-top: 48px; padding: 36px 0 90px; border-top: 4px solid var(--red); }
.foot-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.foot h2 { font-size: 16px; color: #fff; } .foot a { color: #fff; } .foot img { width: 110px; margin-bottom: 8px; }
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy); border-top: 3px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { color: #fff; text-decoration: none; text-align: center; padding: 14px 4px; font: 700 15px var(--display); }
  .callbar a.gold { background: var(--gold); color: var(--gold-ink); }
  .top .btn.small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
