/* Music theme v2 "Manuscript": sheet-music paper, tempo markings, dynamics, piano-key header, Da Capo footer. Layered over the base design. */
:root {
  --mus-orange: #FE7D05;
  --mus-ink: #0a0a0a;
  --mus-font: "Noto Music", "Segoe UI Symbol", "Apple Symbols", serif;
  --mus-serif: "Playfair Display", Georgia, serif;
}
.mus-glyph { font-family: var(--mus-font); font-style: normal; font-weight: 400; line-height: 1; }

/* ---------- Manuscript paper: faint staves on the light sections ---------- */
.services-grid-section, .rv, .sp-intro, .sp-more, .sv-process, .ab-musician, .sv-section, .sp-quote {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='150' viewBox='0 0 40 150'%3E%3Cg stroke='%23FE7D05' stroke-opacity='0.17' stroke-width='1'%3E%3Cpath d='M0 50.5H40M0 60.5H40M0 70.5H40M0 80.5H40M0 90.5H40'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
.sp-quote { background-color: #fff3eb; }

/* ---------- Piano keys hang off the bottom of the header ---------- */
.sv-header { position: sticky; }
.sv-header::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  height: 16px; z-index: 5; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='196' height='16' viewBox='0 0 196 16'%3E%3Crect width='196' height='16' fill='%23f7f4ef'/%3E%3Cg stroke='%23221d17' stroke-width='1'%3E%3Cpath d='M0 0V16M28 0V16M56 0V16M84 0V16M112 0V16M140 0V16M168 0V16'/%3E%3C/g%3E%3Cg fill='%230a0a0a'%3E%3Crect x='19' width='18' height='10' rx='1.5'/%3E%3Crect x='47' width='18' height='10' rx='1.5'/%3E%3Crect x='103' width='18' height='10' rx='1.5'/%3E%3Crect x='131' width='18' height='10' rx='1.5'/%3E%3Crect x='159' width='18' height='10' rx='1.5'/%3E%3C/g%3E%3C/svg%3E")
    left top / 196px 16px repeat-x;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.5);
}

/* ---------- Hero: clef + fermata + crescendo hairpin ---------- */
.mus-hero-host { position: relative; }
.mus-hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.mus-hero-host > :not(.mus-hero-deco):not(.hero-bg) { position: relative; z-index: 2; }
.mus-hero-deco .mus-clef-xl {
  position: absolute; right: 3%; bottom: -6%;
  font-size: clamp(300px, 44vw, 640px);
  color: var(--mus-orange); opacity: 0.14;
}
.mus-hero-deco .mus-fermata {
  position: absolute; left: 4%; top: 17%;
  font-size: 54px; color: var(--mus-orange); opacity: 0.8;
}
.mus-hairpin {
  display: block;
  width: min(360px, 70%); height: 22px;
  margin: 26px 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='22' viewBox='0 0 360 22'%3E%3Cpath d='M0 11L360 1M0 11L360 21' stroke='%23FE7D05' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}
.mus-dyn { font-family: var(--mus-serif); font-style: italic; font-weight: 700; color: var(--mus-orange); letter-spacing: 0.02em; }
.mus-dyn-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.mus-dyn-row .mus-dyn { font-size: 26px; }

/* ---------- Tempo markings in front of eyebrows ---------- */
.mus-tempo {
  font-family: var(--mus-serif); font-style: italic; font-weight: 600;
  text-transform: none; letter-spacing: 0.02em;
  font-size: 1.35em; margin-right: 0.5em; color: var(--mus-orange);
}
.mus-tempo::after { content: " \2014"; font-style: normal; opacity: 0.7; }

/* ---------- Ticker: dynamics marks as separators ---------- */
.ticker-content i {
  width: auto; height: auto; border-radius: 0; background: none;
  font-family: var(--mus-serif); font-style: italic; font-weight: 700;
  color: var(--mus-orange); font-size: 1.25rem; line-height: 1;
}
.ticker-content i::before { content: "p"; }
.ticker-content i:nth-of-type(2n)::before { content: "mf"; }
.ticker-content i:nth-of-type(3n)::before { content: "f"; }
.ticker-content i:nth-of-type(4n)::before { content: "ff"; }

/* ---------- Service cards: program numbers ---------- */
.service-card, .sv-card { counter-increment: mus-card; }
.services-grid { counter-reset: mus-card; }
.service-card__media { position: relative; }
.service-card__media::after {
  content: "No. " counter(mus-card);
  position: absolute; left: 0; top: 18px;
  padding: 7px 16px 7px 14px;
  background: var(--mus-ink); color: var(--mus-orange);
  font-family: var(--mus-serif); font-style: italic; font-weight: 700; font-size: 15px; letter-spacing: 0.03em;
  border-right: 3px solid var(--mus-orange);
}
.service-card__body::before {
  content: "\1D11E"; display: block; margin-bottom: 4px;
  font-family: var(--mus-font); font-size: 30px; line-height: 1; color: var(--mus-orange); opacity: 0.85;
}

/* ---------- Heading underline: crescendo hairpin ---------- */
.services-grid-section__title::after, .rv__title::after, .sv-section-head h2::after {
  content: ""; display: block; width: 150px; height: 14px; margin: 14px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='14' viewBox='0 0 150 14'%3E%3Cpath d='M0 7L150 1M0 7L150 13' stroke='%23FE7D05' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Section dividers: repeat signs ---------- */
.mus-repeat {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 34px 5%; background: #f5f5f5; user-select: none;
}
.mus-repeat::before, .mus-repeat::after {
  content: ""; flex: 1; max-width: 360px; height: 41px;
  background: repeating-linear-gradient(to bottom, rgba(254,125,5,0.5) 0 1px, transparent 1px 10px);
}
.mus-repeat span { font-family: var(--mus-font); font-size: 46px; line-height: 1; color: var(--mus-ink); }
.mus-repeat span.is-o { color: var(--mus-orange); font-size: 34px; }

/* ---------- Quote blocks ---------- */
.sp-quote { position: relative; overflow: hidden; }
.sp-quote::before {
  content: "\1D11E"; position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  font-family: var(--mus-font); font-size: clamp(100px, 16vw, 220px); color: var(--mus-orange); opacity: 0.13; pointer-events: none;
}
.sp-quote blockquote::before, .sp-quote blockquote::after { font-family: var(--mus-font); color: var(--mus-orange); }

/* ---------- Footer: bass clef, key signature, Da Capo ---------- */
.site-footer, .sv-footer { position: relative; overflow: hidden; }
.mus-footer-mark {
  position: absolute; right: 3%; top: 8%; font-family: var(--mus-font); font-size: 300px; line-height: 1;
  color: var(--mus-orange); opacity: 0.07; pointer-events: none;
}
.mus-fine {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px;
  padding: 30px 16px 6px; position: relative;
}
.mus-fine .mus-key { font-family: var(--mus-font); font-size: 34px; color: var(--mus-orange); letter-spacing: 4px; }
.mus-fine a {
  font-family: var(--mus-serif); font-style: italic; font-weight: 600; font-size: 17px;
  color: var(--mus-orange); text-decoration: none; border-bottom: 1px solid rgba(254,125,5,0.5); padding-bottom: 2px;
}
.mus-fine a:hover { color: #fff; border-color: #fff; }
.mus-fine small { font-family: var(--mus-serif); font-style: italic; font-size: 15px; color: #d9d2c8; }

@media (max-width: 760px) {
  .mus-hero-deco .mus-fermata { font-size: 36px; top: 12%; }
  .mus-hero-deco .mus-clef-xl { opacity: 0.1; right: -10%; }
  .mus-repeat span { font-size: 34px; }
  .mus-repeat::before, .mus-repeat::after { height: 31px; background: repeating-linear-gradient(to bottom, rgba(254,125,5,0.5) 0 1px, transparent 1px 8px); }
  .mus-footer-mark { font-size: 200px; }
}
