/* Music theme: staff dividers, clefs, notes, piano keys. Layered on top of the base design (load last). */
:root {
  --mus-orange: #FE7D05;
  --mus-ink: #0a0a0a;
  --mus-staff: rgba(254, 125, 5, 0.42);
  --mus-font: "Noto Music", "Segoe UI Symbol", "Apple Symbols", serif;
}
.mus-glyph { font-family: var(--mus-font); font-style: normal; font-weight: 400; line-height: 1; }

/* ---------- Staff divider ---------- */
.mus-staff {
  --s: 10px;
  position: relative;
  height: calc(var(--s) * 4 + 90px);
  background: #f5f5f5;
  overflow: hidden;
  user-select: none;
}
.mus-staff--dark { background: #0a0a0a; }
.mus-staff__lines {
  position: absolute;
  left: 4%; right: 4%;
  top: 45px;
  height: calc(var(--s) * 4 + 1px);
  background: repeating-linear-gradient(to bottom, var(--mus-staff) 0 1px, transparent 1px var(--s));
}
.mus-staff--dark .mus-staff__lines { --mus-staff: rgba(254, 125, 5, 0.5); }
.mus-staff__lines::before,
.mus-staff__lines::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  background: var(--mus-orange);
}
.mus-staff__lines::before { left: 0; width: 1.5px; }
.mus-staff__lines::after { right: 0; width: 5px; box-shadow: -8px 0 0 -3.5px var(--mus-orange); }

.mus-clef {
  position: absolute;
  left: calc(4% + 10px);
  top: 4px;
  font-size: 86px;
  color: var(--mus-ink);
}
.mus-staff--dark .mus-clef { color: var(--mus-orange); }
.mus-clef--bass { top: 24px; font-size: 62px; }
.mus-sig {
  position: absolute;
  left: calc(4% + 78px);
  top: 45px;
  height: calc(var(--s) * 4);
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--mus-font);
  font-size: 26px; line-height: 1; font-weight: 700;
  color: var(--mus-ink);
}
.mus-sig span { display: block; height: 20px; line-height: 20px; text-align: center; }
.mus-staff--dark .mus-sig { color: var(--mus-orange); }
.mus-note { position: absolute; color: var(--mus-ink); animation: mus-bob 6s ease-in-out infinite; }
.mus-staff--dark .mus-note { color: #f5f5f5; }
.mus-note svg { display: block; overflow: visible; }
.mus-note.is-orange { color: var(--mus-orange); }
.mus-note:nth-of-type(odd) { animation-delay: -2.2s; }
@keyframes mus-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ---------- Piano key strip ---------- */
.mus-keys {
  height: 54px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='196' height='54' viewBox='0 0 196 54'%3E%3Crect width='196' height='54' fill='%23f7f4ef'/%3E%3Cg stroke='%23221d17' stroke-width='1.2'%3E%3Cpath d='M0 0V54M28 0V54M56 0V54M84 0V54M112 0V54M140 0V54M168 0V54'/%3E%3C/g%3E%3Cg fill='%230a0a0a'%3E%3Crect x='19' width='18' height='32' rx='2'/%3E%3Crect x='47' width='18' height='32' rx='2'/%3E%3Crect x='103' width='18' height='32' rx='2'/%3E%3Crect x='131' width='18' height='32' rx='2'/%3E%3Crect x='159' width='18' height='32' rx='2'/%3E%3C/g%3E%3C/svg%3E")
    left top / 196px 54px repeat-x;
  border-top: 4px solid #0a0a0a;
  box-shadow: inset 0 10px 14px -10px rgba(0, 0, 0, 0.55);
}

/* ---------- Heroes: big clef watermark + staff ---------- */
.mus-hero-host { position: relative; }
.mus-hero-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.mus-hero-deco .mus-clef-xl {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(260px, 38vw, 560px);
  color: var(--mus-orange);
  opacity: 0.16;
}
.mus-hero-deco .mus-hero-staff {
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  height: 41px;
  background: repeating-linear-gradient(to bottom, rgba(254, 125, 5, 0.4) 0 1px, transparent 1px 10px);
}
.mus-hero-deco .mus-hero-notes { position: absolute; left: 0; right: 0; bottom: 36px; height: 41px; }
.mus-hero-notes .mus-note { color: #f5f5f5; opacity: 0.85; animation: mus-float 9s ease-in-out infinite; }
.mus-hero-notes .mus-note.is-orange { color: var(--mus-orange); }
@keyframes mus-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(1.5deg); } }
.mus-hero-host > :not(.mus-hero-deco):not(.hero-bg) { position: relative; z-index: 2; }

/* ---------- Eyebrows get a note ---------- */
.sv-eyebrow::before, .services-grid-section__eyebrow::before,
.ab-hero__eyebrow::before, .ab-musician__eyebrow::before, .gl-head__eyebrow::before {
  content: "\266A";
  font-family: var(--mus-font);
  font-size: 1.25em;
  margin-right: 0.55em;
  vertical-align: -0.1em;
  color: inherit;
}

/* ---------- Ticker: notes instead of dots ---------- */
.ticker-content i {
  width: auto; height: auto; border-radius: 0; background: none;
  font-family: var(--mus-font); font-style: normal;
  color: var(--mus-orange);
  font-size: 1.35rem; line-height: 1;
}
.ticker-content i::before { content: "\266B"; }

/* ---------- Cards: clef badge ---------- */
.service-card__media { position: relative; }
.service-card__media::after {
  content: "\1D11E";
  position: absolute; left: 14px; top: 14px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid rgba(254, 125, 5, 0.6);
  color: var(--mus-orange);
  font-family: var(--mus-font);
  font-size: 26px; line-height: 1;
}

/* ---------- Section heading flourish: tiny staff under titles ---------- */
.services-grid-section__title::after, .rv__title::after, .sv-section-head h2::after {
  content: "";
  display: block;
  width: 120px; height: 21px;
  margin: 16px auto 0;
  background: repeating-linear-gradient(to bottom, var(--mus-orange) 0 1px, transparent 1px 5px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
          mask: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
}

/* ---------- Quote blocks ---------- */
.sp-quote { position: relative; overflow: hidden; }
.sp-quote::before {
  content: "\1D11E";
  position: absolute; left: 3%; top: 50%; transform: translateY(-50%);
  font-family: var(--mus-font); font-size: clamp(120px, 18vw, 240px);
  color: var(--mus-orange); opacity: 0.14; pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer, .sv-footer { position: relative; }
.mus-footer-sign {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 26px 16px 8px;
  font-family: var(--mus-font);
  color: var(--mus-orange); font-size: 30px;
}
.mus-footer-sign small {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: 15px; letter-spacing: 0.04em; color: #d9d2c8;
}

@media (max-width: 760px) {
  .mus-staff { --s: 8px; height: calc(var(--s) * 4 + 80px); }
  .mus-staff__lines { top: 40px; }
  .mus-clef { font-size: 68px; top: 6px; }
  .mus-sig { display: none; }
  .mus-note--desk { display: none; }
  .mus-hero-deco .mus-clef-xl { opacity: 0.1; right: -6%; }
}
@media (prefers-reduced-motion: reduce) { .mus-note, .mus-hero-notes .mus-note { animation: none; } }
