/* Music Key — site styles
   Palette: Music Key yellow #FFDF09 (from the original site), its darker shade #DBC00B,
   butter tint, white, warm ink, logo red (accent only) */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --yellow: #ffdf09;
  --yellow-deep: #dbc00b;
  --butter: #fff9ce;
  --butter-2: #fffceb;
  --white: #ffffff;
  --ink: #1d1b16;
  --ink-soft: #5e584b;
  --line: #ece4c8;
  --red: #d7141a;

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 120px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 760; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }

.lead { font-size: clamp(1.13rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 38em; }
.muted { color: var(--ink-soft); }
.measure { max-width: 40em; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--yellow);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--butter { background: var(--butter); }
.section--yellow { background: var(--yellow); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 700 1rem/1.2 var(--body);
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bd); border-radius: var(--r-md);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 0 var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ink { --bg: var(--ink); --fg: var(--yellow); --bd: var(--ink); box-shadow: 0 4px 0 0 rgba(0,0,0,.28); }
.btn--ink:hover { box-shadow: 0 2px 0 0 rgba(0,0,0,.28); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); box-shadow: none; }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); transform: none; box-shadow: none; }
.btn--white { --bg: var(--white); --bd: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.text-link {
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow-deep);
  text-decoration-thickness: 3px; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink);
}
.nav a:hover { background: var(--butter); }
.nav a[aria-current="page"] { background: var(--yellow); }
.header-cta { flex: none; min-height: 44px; padding: 9px 18px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--yellow); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 1140px) and (min-width: 901px) {
  .key a { padding-inline: 14px; }
  .key-age { font-size: 1.35rem; }
  .key-desc { font-size: .88rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; margin: 0;
    background: var(--white); border-bottom: 4px solid var(--yellow);
    max-height: calc(100vh - 76px); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; gap: 2px; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav-mobile-cta { display: block; margin-top: 16px; }
  .nav .nav-mobile-cta a { border: 0; }
}
.nav-mobile-cta { display: none; }
.nav .nav-mobile-cta a.btn { display: flex; padding: 12px 24px; border-radius: var(--r-md); border: 2px solid var(--yellow); }
.nav .nav-mobile-cta a.btn:hover { background: var(--yellow); }

/* ---------- Home hero ---------- */
.hero { background: var(--yellow); position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px);
}
.hero h1 { margin-bottom: .35em; max-width: 11ch; }
.hero .lead { margin-bottom: 0; }
.hero-facts {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-weight: 650; font-size: 1rem;
}
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before {
  content: ""; width: 9px; height: 18px; background: var(--ink); border-radius: 0 0 3px 3px; flex: none;
}
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 480px; margin: 0; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 10px solid var(--white); border-radius: var(--r-sm);
  box-shadow: 14px 14px 0 0 var(--ink);
}
.hero-photo figcaption {
  position: absolute; left: -28px; bottom: 34px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-md);
  padding: 12px 16px; font-size: .92rem; line-height: 1.35; max-width: 240px;
}
.hero-photo figcaption strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.hero-photo .note-dot {
  position: absolute; top: -18px; right: 40px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--red);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 420px; margin-top: 8px; }
  .hero-photo figcaption { left: auto; right: -8px; }
}

/* ---------- Keyboard pathway (signature element) ---------- */
.keyboard-section { background: var(--white); }
.keyboard {
  position: relative;
  background: var(--ink);
  padding: 14px 14px 18px;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 50px -28px rgba(29,27,22,.55);
}
.keys {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--count, 6), 1fr); gap: 6px;
  position: relative;
}
.key a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 380px; height: 100%;
  padding: 156px 20px 30px;
  background: linear-gradient(#fff 0%, #fff 88%, #f3eee0 100%);
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none; color: var(--ink);
  box-shadow: inset 0 -8px 0 0 #e7dfc6;
  transition: background .18s ease, transform .12s ease, box-shadow .12s ease;
}
.key a:hover, .key a:focus-visible, .key.is-current a {
  background: var(--yellow);
  box-shadow: inset 0 -3px 0 0 var(--yellow-deep);
  transform: translateY(4px);
}
.key a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.key-age {
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 14px;
}
.key-name { font-weight: 800; font-size: 1.08rem; line-height: 1.25; margin-bottom: 8px; }
.key-desc { font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }
.key a:hover .key-desc, .key a:focus-visible .key-desc, .key.is-current .key-desc { color: var(--ink); }
.black-keys { position: absolute; inset: 14px 14px auto 14px; height: 0; pointer-events: none; }
.black-keys span {
  position: absolute; top: 0;
  width: calc((100% - 30px) / var(--count, 6) * .56);
  height: 128px;
  left: calc((100% + 6px) / var(--count, 6) * var(--at) - 3px);
  transform: translateX(-50%);
  background: linear-gradient(#2c2923, var(--ink) 70%, #000);
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 -6px 0 0 #3a362e;
}
.keyboard-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.keyboard-foot p { margin: 0; color: var(--ink-soft); }

@media (max-width: 900px) {
  .keyboard { padding: 12px 12px 12px 12px; }
  .keys { grid-template-columns: 1fr; gap: 5px; }
  .key a {
    min-height: 0; padding: 18px 18px 18px 30%;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    box-shadow: inset -8px 0 0 0 #e7dfc6;
    background: linear-gradient(90deg, #fff 0%, #fff 90%, #f3eee0 100%);
  }
  .key a:hover, .key a:focus-visible, .key.is-current a { transform: translateX(4px); box-shadow: inset -3px 0 0 0 var(--yellow-deep); }
  .key-age { font-size: 1.25rem; margin-bottom: 6px; }
  .black-keys { inset: 12px auto 12px 12px; width: calc(100% - 24px); height: auto; }
  .black-keys span {
    left: 0; transform: translateY(-50%);
    top: calc((100% + 5px) / var(--count, 6) * var(--at) - 2.5px);
    width: 22%; height: 34px;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(90deg, #2c2923, var(--ink) 70%, #000);
    box-shadow: inset -6px 0 0 0 #3a362e;
  }
}

/* compact keyboard used on course pages */
.keyboard--mini .key a { min-height: 190px; padding: 96px 14px 16px; }
.keyboard--mini .black-keys span { height: 74px; }
.keyboard--mini .key-age { font-size: 1.1rem; margin-bottom: 6px; }
.keyboard--mini .key-name { font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .keyboard--mini .key a { padding: 12px 14px 12px 30%; }
  .keyboard--mini .black-keys span { height: 24px; }
}

/* ---------- Instruments mosaic ---------- */
.instruments {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
}
.inst {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-md);
  text-decoration: none; color: var(--ink); background: var(--white);
  border: 2px solid var(--ink);
}
.inst img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.inst:hover img { transform: scale(1.04); }
.inst-label {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-sm);
  padding: 6px 12px; font-family: var(--display); font-weight: 750; font-size: 1.15rem;
}
.inst:hover .inst-label { background: var(--yellow); }
.inst--tall { grid-row: span 2; }
.inst--wide { grid-column: span 2; }
.inst--text {
  background: var(--yellow); padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
}
.inst--text h3 { font-size: 1.6rem; margin: 0; }
.inst--text p { margin: 0; font-weight: 600; }
.inst--text:hover { background: var(--yellow-deep); }
@media (max-width: 900px) {
  .instruments { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .inst--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .instruments { grid-auto-rows: 170px; gap: 10px; }
  .inst-label { font-size: 1rem; }
}

/* ---------- Why / split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.reasons { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.reasons li { display: grid; grid-template-columns: 14px 1fr; gap: 18px; }
.reasons li::before { content: ""; width: 14px; height: 30px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 0 0 4px 4px; margin-top: 2px; }
.reasons h3 { font-size: 1.15rem; margin: 0 0 4px; }
.reasons p { margin: 0; color: var(--ink-soft); }

.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.photo-stack img:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 9; }
.photo-stack--quad img:nth-child(1) { grid-column: auto; aspect-ratio: 4 / 3; }

/* ---------- Concert feature ---------- */
.concert { position: relative; background: var(--ink); color: var(--white); }
.concert img { width: 100%; height: clamp(420px, 56vw, 700px); object-fit: cover; object-position: 50% 85%; }
.concert-card {
  position: absolute; left: var(--gutter); bottom: clamp(24px, 5vw, 56px);
  max-width: 460px; background: var(--white); color: var(--ink);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  border-top: 10px solid var(--yellow);
}
.concert-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
@media (min-width: 1300px) { .concert-card { left: calc((100vw - var(--wrap)) / 2); } }
@media (max-width: 640px) {
  .concert img { height: 300px; }
  .concert-card { position: relative; left: auto; bottom: auto; margin: -40px var(--gutter) 0; }
  .concert { padding-bottom: 32px; }
}

/* ---------- Testimonial ---------- */
.quote-block { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.quote-mark {
  font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 12vw, 10rem); line-height: .8;
  color: var(--yellow); -webkit-text-stroke: 2px var(--ink);
}
.quote-block blockquote { margin: 0; }
.quote-block blockquote p {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.28; letter-spacing: -0.015em; max-width: 30em;
}
.quote-block cite { display: block; font-style: normal; margin-top: 20px; font-weight: 700; }
.quote-block cite span { display: block; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 640px) { .quote-block { grid-template-columns: 1fr; } .quote-mark { font-size: 5rem; } }

/* ---------- Extras row ---------- */
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.extra {
  display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 18px;
  text-decoration: none; color: var(--ink);
}
.extra img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--r-md); }
.extra h3 { margin-bottom: 6px; }
.extra p { margin: 0 0 10px; color: var(--ink-soft); }
.extra .price { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.extra:hover { background: var(--butter-2); }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .extra { grid-template-columns: 1fr; } .extra img { width: 100%; height: 180px; } }

/* ---------- Visit block ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.visit-info h2 { margin-bottom: 18px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.info-list svg { width: 24px; height: 24px; margin-top: 2px; }
.info-list strong { display: block; }
.info-list a { font-weight: 600; }
.hours { border-collapse: collapse; margin-top: 2px; }
.hours td { padding: 2px 18px 2px 0; vertical-align: top; }
.hours td:first-child { font-weight: 600; }
.map-frame {
  border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; min-height: 360px; background: var(--butter);
  box-shadow: 10px 10px 0 0 var(--ink);
}
.map-frame { position: relative; }
.map-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-weight: 600; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map-frame { box-shadow: 6px 6px 0 0 var(--ink); } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--yellow); }
.page-head .wrap { padding-block: clamp(40px, 6vw, 80px) clamp(44px, 6vw, 84px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; }
.page-head--plain .wrap { grid-template-columns: 1fr; }
.page-head h1 { margin-bottom: .3em; max-width: 16ch; }
.page-head .lead { margin: 0; }
.page-head-img img { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--white); border-radius: var(--r-sm); box-shadow: 10px 10px 0 0 var(--ink); margin-left: auto; }
.crumbs { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; font-weight: 600; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .55; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.tag {
  display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: .95rem;
  padding: 6px 12px; border-radius: var(--r-sm); margin-bottom: 18px;
}
@media (max-width: 760px) {
  .page-head .wrap { grid-template-columns: 1fr; }
  .page-head-img img { margin-left: 0; max-width: 260px; }
}

/* ---------- Course detail ---------- */
.course-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 16px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 0 0 3px 3px; }
.prose p, .prose li { max-width: 40em; }
.levels { list-style: none; counter-reset: lvl; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.levels li { counter-increment: lvl; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--white); }
.levels li::before {
  content: counter(lvl); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 1.3rem;
}
.levels h3 { margin: 4px 0 4px; font-size: 1.15rem; }
.levels p { margin: 0; color: var(--ink-soft); }
.aside-card {
  position: sticky; top: 100px;
  background: var(--butter); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 26px;
}
.aside-card img { border-radius: var(--r-md); margin-bottom: 20px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.aside-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.aside-card .btn { width: 100%; margin-top: 12px; }
.aside-card .small { font-size: .92rem; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 900px) { .course-body { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Course index grid ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: var(--r-md); }
.course-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 2px solid var(--ink); transition: box-shadow .15s ease, transform .15s ease; }
.course-card:hover img { box-shadow: 8px 8px 0 0 var(--yellow); transform: translate(-2px, -2px); }
.course-card h3 { margin: 16px 0 4px; }
.course-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.course-card .meta { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .course-grid { grid-template-columns: 1fr; } }

/* ---------- Galleries ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: var(--r-sm); overflow: hidden; position: relative; }
.masonry img { width: 100%; transition: transform .35s ease, filter .2s; }
.masonry a:hover img { transform: scale(1.03); }
.masonry a:focus-visible { outline-offset: 2px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--ink); background: var(--ink); box-shadow: 10px 10px 0 0 var(--yellow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,18,14,.94);
  display: none; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--ink); font-size: 1.6rem; font-weight: 800; display: grid; place-items: center;
}
.lb-btn:focus-visible { outline: 3px solid var(--white); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; font-size: .95rem; }
@media (max-width: 640px) { .lightbox { padding: 72px 10px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } .lb-count { bottom: 26px; } }

/* ---------- Calendar ---------- */
.cal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cal-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center;
  padding: 14px; border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--white);
}
.cal-date {
  display: grid; place-items: center; text-align: center; width: 64px; height: 68px; border-radius: var(--r-sm);
  background: var(--yellow); line-height: 1;
}
.cal-date b { font-family: var(--display); font-size: 1.65rem; font-weight: 800; display: block; }
.cal-date span { font-size: .78rem; font-weight: 700; display: block; margin-top: 3px; }
.cal-item h3 { font-size: 1.05rem; margin: 0 0 2px; }
.cal-item p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.cal-item--break .cal-date { background: var(--ink); color: var(--yellow); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 24px; font-weight: 600; font-size: .95rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 18px; height: 18px; border-radius: 4px; background: var(--yellow); display: inline-block; }
.cal-legend i.dark { background: var(--ink); }
.callout {
  border-left: 8px solid var(--yellow); background: var(--butter-2); padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; max-width: 46rem;
}

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: 10px 10px 0 0 var(--yellow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.field .hint { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; min-height: 50px;
  border: 2px solid #cfc6aa; border-radius: var(--r-sm); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 600; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 9px 14px; border: 2px solid #cfc6aa; border-radius: 999px; cursor: pointer; user-select: none; }
.chips input:checked + span { background: var(--yellow); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.form-note { font-size: .92rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-error { color: #a1060b; font-weight: 700; margin: 12px 0 0; display: none; }
.form-error.is-visible { display: block; }
.field.has-error input, .field.has-error select { border-color: #a1060b; }

/* ---------- Jobs ---------- */
.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.roles li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--white); }
.roles h3 { margin: 0; font-size: 1.2rem; }
.roles span { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) { .roles li { flex-direction: column; align-items: start; gap: 4px; } }

/* ---------- Posters ---------- */
.posters { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.posters figure { margin: 0; }
.posters img { border-radius: var(--r-md); border: 2px solid var(--ink); }
.posters figcaption { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 640px) { .posters { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 8px solid var(--yellow); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h2 { font-size: 1.05rem; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-soft); max-width: 22em; font-size: .98rem; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; }
.footer-social a:hover { background: var(--yellow); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--yellow); text-decoration: none; font-weight: 700;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #000; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Utilities ---------- */
.stack-lg > * + * { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.inst--guitar img { object-position: 50% 100%; }
@media (max-width: 900px) { .inst--text { padding: 18px; } .inst--text h3 { font-size: 1.35rem; } .inst--text p { font-size: .92rem; line-height: 1.4; } }
@media (max-width: 480px) { .inst--text p { display: none; } .inst--text::after { content: "Learn more"; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; } }
.cal-date b.range { font-size: 1.15rem; letter-spacing: -0.02em; }

.quote-block cite .cite-name { display: block; color: var(--ink); font-weight: 700; }
.hero-photo figcaption span { display: block; }
