/* Seasonal holiday section + home banner. Scoped so year-round Academy styles stay untouched. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --navy: #173b89;
  --navy-deep: #0e2052;
  --ink: #142b52;
  --muted: #465c7b;
  --teal: #007668;
  --yellow: #ffcf42;
  --bg: #f0f5ff;
  --line: #d4dfef;
  --gold: #cb9b16;
  --holly: #147046;
}

/* —— injected home banner —— */
#nma-holiday-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin: 24px 0;
  padding: clamp(20px, 4vw, 36px);
  border: 2px solid #e8b923;
  border-radius: 22px;
  background: linear-gradient(125deg, #142b52, #0a3a32);
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
#nma-holiday-banner .nma-hol-banner-logo {
  flex: 0 0 auto;
  width: min(240px, 100%);
  height: auto;
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
}
#nma-holiday-banner .nma-hol-banner-copy { flex: 1 1 240px; min-width: 0; }
#nma-holiday-banner .nma-hol-kicker {
  margin: 0 0 6px;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--yellow);
}
#nma-holiday-banner h2 {
  color: var(--yellow);
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 10px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
#nma-holiday-banner p { color: #fff; font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.55; margin: 0; max-width: 46ch; }
#nma-holiday-banner .nma-hol-banner-play {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--yellow);
  border-radius: 14px;
  background: var(--yellow);
  color: #142b52;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  box-sizing: border-box;
}
#nma-holiday-banner .nma-hol-banner-play:hover { background: #ffe18a; border-color: #ffe18a; }
#nma-holiday-banner .nma-hol-banner-play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
@media (max-width: 600px) {
  #nma-holiday-banner { gap: 16px; }
  #nma-holiday-banner .nma-hol-banner-play { width: 100%; }
}

/* —— holiday pages —— */
body.nma-holiday {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.5;
}
body.nma-holiday h1, body.nma-holiday h2, body.nma-holiday h3 {
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: -.04rem;
}
body.nma-holiday a { color: var(--teal); }
body.nma-holiday :focus-visible { outline: 3px solid #eead00; outline-offset: 4px; }

.hol-top {
  background: #fff;
  border-bottom: 3px solid #e1e9f7;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
}
.hol-top .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.hol-top .brand img { width: min(220px, 70vw); height: auto; display: block; }
.hol-top nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.hol-top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}
.hol-top nav a:hover { background: #e8eef8; }

.hol-hero {
  background: #0e2052;
  color: #fff;
  padding: 0 0 28px;
}
.hol-hero img.hol-header {
  width: 100%;
  height: auto;
  display: block;
  max-height: 280px;
  object-fit: cover;
  object-position: left center;
  background: #0e2052;
}
.hol-hero-inner { padding: 8px 20px 0; max-width: 1100px; margin: 0 auto; }
.hol-hero .pill {
  display: inline-block;
  background: var(--yellow);
  color: #142b52;
  font-size: .8rem;
  letter-spacing: .06em;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 9px;
  margin: 16px 0 10px;
}
.hol-hero h1 {
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 12px;
  color: #fff;
}
.hol-hero p { color: #e3edff; font-size: 1.05rem; max-width: 48ch; margin: 0 0 8px; }

.hol-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
.hol-wrap h2 { font-size: clamp(1.25rem, 4vw, 1.7rem); margin: 8px 0 14px; }

.inst-grid, .song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.inst-card, .song-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 92px;
  box-shadow: 0 3px 0 #d4deee;
}
.inst-card:hover, .song-card:hover { border-color: var(--navy); }
.inst-card strong, .song-card strong { font-family: Manrope, Arial, sans-serif; font-size: 1.02rem; }
.inst-card small, .song-card small { color: var(--muted); font-size: .86rem; }

.hol-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: .95rem;
}

.hol-foot {
  border-top: 3px solid #e1e9f7;
  background: #fff;
  padding: 22px 16px 36px;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.hol-foot a { color: var(--teal); font-weight: 700; }

/* play page */
.crumb { font-size: .95rem; margin: 0 0 14px; }
.song-head h1 { font-size: clamp(1.5rem, 5.5vw, 2.15rem); margin: 0 0 8px; }
.song-head .meta { color: var(--muted); margin: 0 0 16px; }
.trans-callout {
  background: #e4f7ed;
  border: 1px solid #b2d9c5;
  color: #005f51;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-weight: 600;
}
.player {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin: 0 0 22px;
}
.player audio { width: 100%; display: block; }
.player .player-help { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

.note-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding: 4px 0 16px;
}
.note-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 72px;
  max-width: 110px;
  background: #fff;
  border: 2px solid #c9d7ec;
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}
.note-chip .nm {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.note-chip .cue { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.note-chip.rest { background: #f3f6fa; border-style: dashed; }

.fingering-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 24px;
}
.fing-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.fing-item strong { display: block; margin-bottom: 4px; }
.fing-item p { margin: 0; color: var(--ink); }
.valve-row { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.valve {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--navy);
  background: #fff;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 800;
}
.valve.down { background: var(--navy); color: #fff; }

.tab-block {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  overflow-x: auto;
  font-size: .9rem;
  line-height: 1.45;
  white-space: pre;
  margin: 0 0 22px;
}

.lyrics {
  background: #fff8e8;
  border: 1px solid #e6d394;
  border-radius: 16px;
  padding: 16px 18px;
  white-space: pre-wrap;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
.source { color: var(--muted); font-size: .88rem; }

.selectors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 18px;
}
.selectors label { font-weight: 700; font-size: .9rem; display: grid; gap: 6px; }
.selectors select {
  font: inherit;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
}

@media (min-width: 720px) {
  .hol-wrap, .hol-hero-inner { padding-left: 28px; padding-right: 28px; }
  .fingering-list { grid-template-columns: 1fr 1fr; }
  .selectors { grid-template-columns: 1fr 1fr; }
  .inst-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 390px) {
  .hol-top { padding: 8px 12px; }
  .hol-wrap { padding: 18px 12px 56px; }
  .note-chip { min-width: 66px; }
  .hol-hero h1 { font-size: 1.6rem; }
}

.fing-intro { color: var(--muted); margin: 0 0 12px; }

/* —— holiday header logo (base image + SVG bulbs) —— */
.nma-hol-logo-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}
.nma-hol-logo-wrap img { display: block; width: auto; max-width: 100%; height: auto; }
.hol-top .nma-hol-logo-wrap img { width: min(220px, 70vw); height: auto; }
/* Keep the existing compact header mark at 390px — do not force a 160px width. */
.academy-header .brand-mark .nma-hol-logo-wrap {
  display: inline-flex;
  width: auto;
  height: 100%;
  max-width: 100%;
}
.academy-header .brand-mark .nma-hol-logo-wrap img,
.academy-header a.brand .nma-hol-logo-wrap img {
  width: auto !important;
  height: 36px;
  max-width: 180px;
  object-fit: contain;
}
@media (max-width: 600px) {
  .academy-header .brand-mark .nma-hol-logo-wrap img,
  .academy-header a.brand .nma-hol-logo-wrap img {
    height: 32px;
    max-width: 160px;
  }
}
.nma-hol-logo-wrap svg.nma-hol-lights,
svg.nma-hol-lights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.nma-hol-bulb { transform-box: fill-box; transform-origin: center; }
.nma-hol-bulb-0 { animation: nma-hol-twinkle 2.8s ease-in-out infinite; }
.nma-hol-bulb-1 { animation: nma-hol-twinkle 2.8s ease-in-out 0.9s infinite; }
.nma-hol-bulb-2 { animation: nma-hol-twinkle 3.1s ease-in-out 1.5s infinite; }
@keyframes nma-hol-twinkle {
  0%, 100% { opacity: 0.4; filter: brightness(0.85); }
  50% { opacity: 1; filter: brightness(1.28); }
}
@media (prefers-reduced-motion: reduce) {
  .nma-hol-bulb-0, .nma-hol-bulb-1, .nma-hol-bulb-2 {
    animation: none;
    opacity: 0.92;
    filter: none;
  }
}


/* ===================== Christmas 2026 look =====================
   Warm cream page, navy and gold pills, holly garlands, illustrated carol cards.
   Overrides the plainer rules above; same scope (body.nma-holiday). Artwork: assets/xmas-*.
   Snow is CSS-only and switches off for prefers-reduced-motion. */
:root { --cream: #fff8ea; --gold-line: #e8b923; --crimson: #b71c2f; }
body.nma-holiday {
  position: relative;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(120% 40% at 50% 0%, #fff1c9 0%, rgba(255,241,201,0) 70%),
    url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22211%22%20height%3D%22263%22%3E%3Ccircle%20cx%3D%2255%22%20cy%3D%22142%22%20r%3D%222.0%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.77%22/%3E%3Ccircle%20cx%3D%22121%22%20cy%3D%22157%22%20r%3D%221.7%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.58%22/%3E%3Ccircle%20cx%3D%22200%22%20cy%3D%22124%22%20r%3D%222.4%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.62%22/%3E%3Ccircle%20cx%3D%2254%22%20cy%3D%2247%22%20r%3D%222.2%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.72%22/%3E%3Cg%20transform%3D%22translate%2822%2C194%29%20scale%280.61%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.59%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22175%22%20cy%3D%22125%22%20r%3D%222.5%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.71%22/%3E%3Ccircle%20cx%3D%2285%22%20cy%3D%22205%22%20r%3D%221.6%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.79%22/%3E%3C/svg%3E"), url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22347%22%20height%3D%22419%22%3E%3Cpath%20transform%3D%22translate%28161%2C159%29%20scale%280.69%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.66%22/%3E%3Cg%20transform%3D%22translate%28121%2C195%29%20scale%280.97%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.60%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Cpath%20transform%3D%22translate%28239%2C301%29%20scale%280.61%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.81%22/%3E%3Cpath%20transform%3D%22translate%28247%2C73%29%20scale%280.50%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.62%22/%3E%3Cg%20transform%3D%22translate%28295%2C405%29%20scale%280.75%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.73%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22254%22%20cy%3D%2251%22%20r%3D%221.7%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.56%22/%3E%3Ccircle%20cx%3D%22269%22%20cy%3D%22365%22%20r%3D%221.9%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.77%22/%3E%3Cg%20transform%3D%22translate%28122%2C27%29%20scale%280.62%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.76%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Cg%20transform%3D%22translate%28134%2C206%29%20scale%280.89%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.57%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Cg%20transform%3D%22translate%28288%2C395%29%20scale%280.83%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.54%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3C/svg%3E");
}
body.nma-holiday::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .8;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22300%22%20height%3D%22300%22%3E%3Ccircle%20cx%3D%2256%22%20cy%3D%22203%22%20r%3D%221.7%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.64%22/%3E%3Cpath%20transform%3D%22translate%28232%2C236%29%20scale%280.53%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.75%22/%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%22114%22%20r%3D%222.4%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.52%22/%3E%3Cg%20transform%3D%22translate%2875%2C75%29%20scale%281.00%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.63%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22226%22%20cy%3D%22124%22%20r%3D%221.8%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.51%22/%3E%3Ccircle%20cx%3D%22149%22%20cy%3D%2242%22%20r%3D%222.3%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.51%22/%3E%3Cg%20transform%3D%22translate%2835%2C236%29%20scale%280.82%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.64%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Cpath%20transform%3D%22translate%28106%2C146%29%20scale%280.61%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.80%22/%3E%3Cpath%20transform%3D%22translate%28240%2C31%29%20scale%280.79%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.66%22/%3E%3C/svg%3E"), url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22420%22%20height%3D%22420%22%3E%3Ccircle%20cx%3D%22238%22%20cy%3D%22263%22%20r%3D%222.5%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.64%22/%3E%3Ccircle%20cx%3D%22223%22%20cy%3D%22221%22%20r%3D%222.0%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.79%22/%3E%3Cg%20transform%3D%22translate%28188%2C387%29%20scale%280.72%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.59%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22208%22%20cy%3D%2231%22%20r%3D%221.7%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.74%22/%3E%3Cpath%20transform%3D%22translate%28138%2C316%29%20scale%280.47%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.64%22/%3E%3Cpath%20transform%3D%22translate%28402%2C124%29%20scale%280.47%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.90%22/%3E%3Cpath%20transform%3D%22translate%28156%2C271%29%20scale%280.56%29%22%20d%3D%22M0%2C-10%20L2.9%2C-3.2%20L10%2C-3%20L4.4%2C1.6%20L6.2%2C8.6%20L0%2C4.6%20L-6.2%2C8.6%20L-4.4%2C1.6%20L-10%2C-3%20L-2.9%2C-3.2Z%22%20fill%3D%22%23f0b82e%22%20opacity%3D%220.75%22/%3E%3Ccircle%20cx%3D%22152%22%20cy%3D%22273%22%20r%3D%222.2%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.62%22/%3E%3Cg%20transform%3D%22translate%28362%2C156%29%20scale%280.64%29%22%20stroke%3D%22%23d9a520%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%20opacity%3D%220.52%22%3E%3Cpath%20d%3D%22M0%2C-9V9M-7.8%2C-4.5L7.8%2C4.5M-7.8%2C4.5L7.8%2C-4.5%22/%3E%3C/g%3E%3Ccircle%20cx%3D%22333%22%20cy%3D%2211%22%20r%3D%221.6%22%20fill%3D%22%23e7b43a%22%20opacity%3D%220.58%22/%3E%3C/svg%3E");
  background-size: 300px 300px, 420px 420px;
  background-position: 0 0, 90px 0;
}
@media (prefers-reduced-motion: no-preference) {
  body.nma-holiday::before { animation: nma-snowfall 38s linear infinite; }
}
@keyframes nma-snowfall {
  from { background-position: 0 0, 90px 0; }
  to { background-position: 40px 300px, 30px 840px; }
}
.hol-top, .hol-hero, .garland, .hol-wrap, .hol-foot { position: relative; z-index: 1; }

/* header: transparent logo straight on cream */
.hol-top {
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 14px 6px;
  background: none;
  border-bottom: 0;
}
.hol-top .brand img, .hol-top .nma-hol-logo-wrap img { background: none; }
.hol-top nav { margin-left: 0; justify-content: center; gap: 7px; }
.hol-top nav a {
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .9rem;
  border: 2px solid var(--gold-line);
  box-shadow: 0 2px 0 rgba(20,43,82,.15);
  background: var(--navy);
  color: #fff;
}
.hol-top nav a:hover { background: #1f4aa6; }
.hol-top nav a.gold, .hol-top nav a:nth-child(2) { background: var(--yellow); color: var(--ink); }
.hol-top nav a.gold:hover { background: #ffe18a; }
body.nma-holiday .hol-top nav a { color: #fff; }
body.nma-holiday .hol-top nav a.gold, body.nma-holiday .hol-top nav a:nth-child(2) { color: var(--ink); }

/* hero */
.hol-hero { background: none; color: var(--ink); padding: 8px 14px 0; text-align: center; max-width: 1100px; margin: 0 auto; }
.hero-frame {
  position: relative;
  border-radius: 24px;
  border: 4px solid var(--gold-line);
  background: var(--navy-deep);
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--crimson), 0 12px 26px rgba(14,32,82,.28);
  margin: 6px 4px 0;
}
.hero-frame img.hero-art { display: block; width: 100%; height: auto; border-radius: 19px; object-fit: contain; }
.ribbon { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); width: min(330px, 96%); height: 60px; display: flex; align-items: center; justify-content: center; }
.ribbon-svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 5px rgba(0,0,0,.3)); }
.ribbon span { position: relative; font-family: Manrope, Arial, sans-serif; font-weight: 800; font-size: 1.28rem; color: #fff8e0; letter-spacing: .01em; text-shadow: 0 1px 0 #7a0c1c, 0 0 8px rgba(255,214,90,.5); }
.hol-hero .hol-hero-inner { padding: 40px 6px 4px; max-width: none; }
.hol-hero .pill { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: var(--ink); border: 2px solid var(--gold-line); font-size: .78rem; letter-spacing: .03em; font-weight: 800; padding: 5px 12px 5px 8px; border-radius: 999px; margin: 0 0 10px; }
.hol-hero .pill svg { width: 16px; height: 16px; }
.hol-hero h1 { font-size: 2.15rem; line-height: 1.1; margin: 0 0 10px; color: var(--navy-deep); text-shadow: 0 2px 0 #ffe9a8; }
.hol-hero p { margin: 0 auto 9px; color: var(--ink); font-size: 1.02rem; max-width: 52ch; }
.hol-hero p.lead { font-size: 1.08rem; color: var(--navy); }
.hol-hero b { color: var(--crimson); }
.cta { display: flex; flex-direction: column; gap: 8px; margin: 14px auto 0; max-width: 300px; }
.btn { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--gold-line); font-size: 1rem; box-shadow: 0 3px 0 rgba(20,43,82,.2); }
body.nma-holiday .btn.navy { background: var(--navy); color: #fff; }
body.nma-holiday .btn.gold { background: var(--yellow); color: var(--ink); }

/* garland dividers (tile repeats seamlessly) */
.garland { height: 72px; margin: 6px 0 0; background: url(assets/xmas-garland.svg) repeat-x center top / auto 72px; }
.garland-mid { margin: 6px -16px 4px; }

/* sections */
.hol-index.hol-wrap { padding: 6px 16px 24px; }
.hol-index h2 { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 1.55rem; line-height: 1.15; margin: 10px 0 8px; color: var(--navy-deep); }
.hol-index h2 .hd { width: 22px; height: 22px; flex: 0 0 auto; }
.hol-index .sec-intro { text-align: center; color: var(--muted); margin: 0 4px 16px; font-size: 1rem; }

/* carol cards */
.hol-index .song-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 10px; }
.hol-index .song-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-height: 0;
  border-radius: 20px;
  border: 3px solid var(--gold-line);
  background: linear-gradient(#10275f, #0b1a47);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--crimson), 0 8px 16px rgba(14,32,82,.28);
}
.hol-index .song-card:hover { border-color: #ffd96b; transform: translateY(-2px); }
.hol-index .song-card .art { display: block; background: #0b1a47; aspect-ratio: 1 / 1; }
.hol-index .song-card .art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hol-index .sc-body { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 9px 13px; text-align: center; flex: 1; }
.hol-index .song-card strong { font-family: Manrope, Arial, sans-serif; font-size: 1.05rem; line-height: 1.2; color: #ffd96b; }
.hol-index .song-card small { color: #e7eeff; font-size: .82rem; line-height: 1.3; margin-bottom: 8px; }
.hol-index .play-pill { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; padding: 4px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .88rem; border: 2px solid #fff3c4; }
.hol-index .song-card.wide { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.hol-index .song-card.wide .art { flex: 0 0 48%; }
.hol-index .song-card.wide .sc-body { justify-content: center; }

/* instrument cards */
.hol-index .inst-grid { grid-template-columns: 1fr; gap: 10px; margin: 6px 0 24px; }
.hol-index .inst-card {
  position: relative;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  min-height: 0;
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(100deg, #fff3cf, #ffe6a0);
  border: 2px solid var(--gold-line);
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px rgba(183,28,47,.55), 0 4px 10px rgba(14,32,82,.14);
  margin: 2px 3px;
}
.hol-index .inst-card:hover { border-color: var(--navy); }
.hol-index .inst-card .ph { flex: 0 0 66px; height: 88px; border-radius: 12px; background: #fff; border: 2px solid var(--navy); overflow: hidden; display: block; }
.hol-index .inst-card .ph img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hol-index .inst-card .ib { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 22px; }
.hol-index .inst-card strong { font-family: Manrope, Arial, sans-serif; font-size: 1.08rem; color: var(--navy-deep); }
.hol-index .inst-card small { color: var(--muted); font-size: .86rem; line-height: 1.3; }
.hol-index .inst-card .berry { position: absolute; right: 6px; top: 4px; width: 30px; height: 30px; }

/* footer */
.hol-foot { margin-top: 44px; background: linear-gradient(#10275f, #0b1a47); color: #e8eeff; padding: 30px 16px 40px; border-top: 0; }
.hol-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20390%2040%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2C40%20V22%20C40%2C2%2080%2C6%20120%2C20%20C170%2C36%20220%2C0%20270%2C12%20C320%2C24%20350%2C8%20390%2C16%20V40Z%22%20fill%3D%22%23fff8ea%22/%3E%3Cpath%20d%3D%22M0%2C22%20C40%2C2%2080%2C6%20120%2C20%20C170%2C36%20220%2C0%20270%2C12%20C320%2C24%20350%2C8%20390%2C16%22%20fill%3D%22none%22%20stroke%3D%22%23e8b923%22%20stroke-width%3D%222%22/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
body.nma-holiday .hol-foot a { color: #ffd96b; }
.hol-foot p { margin: 0 0 6px; }
.hol-foot .f-greet { font-family: Manrope, Arial, sans-serif; font-weight: 800; font-size: 1.15rem; color: #ffd96b; margin-bottom: 8px; }
.hol-foot .small { font-size: .82rem; opacity: .85; }

@media (min-width: 720px) {
  .hol-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 28px; text-align: left; padding: 14px 28px 0; }
  .hol-hero .hol-hero-inner { padding: 0 0 20px; }
  .hol-hero p { margin-left: 0; }
  .cta { margin-left: 0; flex-direction: row; max-width: none; }
  .cta .btn { padding: 0 22px; }
  .hol-index.hol-wrap { padding: 6px 28px 24px; }
  .garland-mid { margin: 6px 0 4px; }
  .hol-index .song-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
  .hol-index .song-card.wide { grid-column: auto; flex-direction: column; }
  .hol-index .song-card.wide .art { flex: none; }
  .hol-index .inst-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
  .hol-index h2 { font-size: 1.9rem; }
  .hol-top { flex-direction: row; justify-content: space-between; padding: 8px 28px; max-width: 1100px; margin: 0 auto; }
}
@media (max-width: 390px) {
  .hol-top { padding: 8px 12px 6px; }
  .hol-index.hol-wrap { padding: 6px 12px 24px; }
  .hol-hero h1 { font-size: 2rem; }
  .garland-mid { margin: 6px -12px 4px; }
}

/* —— carol toggle: Academy home and /holiday/ (fixed, compact, decorated) —— */
.nma-hol-carol-toggle {
  position: fixed;
  z-index: 80;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 14px 6px 12px;
  border-radius: 26px;
  border: 2px solid #e8b923;
  background: #fffaf0;
  color: #142b52;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 2px #b71c2f, 0 4px 14px rgba(0,0,0,.25);
  cursor: pointer;
}
.nma-hol-carol-toggle.is-on { background: linear-gradient(#ffdc6a, #ffcf42); box-shadow: 0 0 0 2px #b71c2f, 0 4px 14px rgba(0,0,0,.25), 0 0 16px rgba(255,207,66,.55); }
.nma-hol-carol-toggle .nma-hol-carol-icon { font-size: 17px; line-height: 1; }
.nma-hol-carol-toggle:focus-visible { outline: 3px solid #eead00; outline-offset: 5px; }
.nma-hol-carol-toggle .deco { position: absolute; pointer-events: none; overflow: visible; }
.nma-hol-carol-toggle .deco-holly { width: 54px; height: 38px; left: -20px; top: -22px; }
.nma-hol-carol-toggle .deco-bow { width: 38px; height: 31px; right: -4px; top: -21px; transform: rotate(12deg); }
.nma-hol-carol-toggle .deco-spark.s1 { width: 13px; height: 13px; right: -5px; bottom: -4px; }
.nma-hol-carol-toggle .deco-spark.s2 { width: 10px; height: 10px; left: 44%; top: -10px; }
.nma-hol-carol-toggle .deco-spark.s3 { width: 13px; height: 13px; left: -5px; bottom: -5px; }
@media (prefers-reduced-motion: no-preference) {
  .nma-hol-carol-toggle .deco-spark { animation: nma-hol-spark 2.4s ease-in-out infinite; }
  .nma-hol-carol-toggle .deco-spark.s2 { animation-delay: .8s; }
  .nma-hol-carol-toggle .deco-spark.s3 { animation-delay: 1.5s; }
}
@keyframes nma-hol-spark { 50% { transform: scale(1.35) rotate(18deg); opacity: .7; } }
