/* ==========================================================================
   HELMHOLTZ-MUSICAL — SUBPAGE KIT 2027
   Shared primitives for the redesigned subpages. Every selector is scoped so
   the homepage (indexv2.html) is untouched.
   ========================================================================== */

/* ---------- Shell & heroes ---------- */

.sp-page {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px) 0 clamp(56px, 7vw, 96px);
}

.sp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(24px, 4vw, 56px) 0 clamp(36px, 5vw, 64px);
}

.sp-hero--center {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px) 0 clamp(30px, 4vw, 48px);
  text-align: center;
}

.sp-hero--wide { grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr); }

.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-gold-700);
}

.sp-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--refresh-gold-500);
  transform: rotate(45deg);
}

.sp-eyebrow--plain::before { display: none; }

.sp-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 1.3rem + 4.6vw, 4.9rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--refresh-ink);
  text-wrap: balance;
}

.sp-title em {
  display: block;
  font-family: var(--font-script);
  font-size: 0.86em;
  font-style: normal;
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: 0;
  color: var(--refresh-rose-600);
}

.sp-title .sp-title-sub {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

.sp-lede {
  max-width: 610px;
  margin: clamp(18px, 2.4vw, 24px) 0 0;
  font-size: clamp(1rem, 0.96rem + 0.28vw, 1.1rem);
  line-height: 1.82;
  color: var(--refresh-body);
}

.sp-hero--center .sp-lede { margin-left: auto; margin-right: auto; }
.sp-lede strong { color: var(--refresh-ink); }

.sp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

.sp-hero--center .sp-actions { justify-content: center; }

.sp-meta {
  display: flex;
  flex-wrap: wrap;
  margin: clamp(26px, 3.6vw, 36px) 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--refresh-line);
}

.sp-meta li {
  padding: 0 clamp(14px, 2.2vw, 24px);
  border-left: 1px solid rgba(183, 140, 71, 0.26);
}

.sp-meta li:first-child { padding-left: 0; border-left: 0; }

.sp-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--refresh-ink);
}

.sp-meta span {
  display: block;
  margin-top: 3px;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

/* ---------- Sections & headings ---------- */

.sp-section {
  padding: clamp(40px, 6vw, 82px) 0;
  border-top: 1px solid rgba(183, 140, 71, 0.22);
}

.sp-section--plain { border-top: 0; }
.sp-section--tight { padding-top: clamp(26px, 4vw, 46px); }

.sp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: end;
  gap: clamp(18px, 4vw, 56px);
  margin-bottom: clamp(26px, 4vw, 46px);
}

.sp-head h2 {
  max-width: 680px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.3rem + 2.3vw, 2.85rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.sp-head p {
  max-width: 430px;
  margin: 0 0 4px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--refresh-muted);
}

.sp-head--center {
  display: block;
  max-width: 760px;
  margin: 0 auto clamp(26px, 4vw, 44px);
  text-align: center;
}

.sp-head--center p { margin: 14px auto 0; }
.sp-head--center .sp-index { display: block; }

.sp-index {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-gold-700);
}

/* ---------- Layout helpers ---------- */

.sp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
}

.sp-split--flip > :first-child { order: 2; }
.sp-split--wide { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.sp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sp-stack {
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
}

/* ---------- Surfaces ---------- */

.sp-panel {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--refresh-line);
  border-radius: 15px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 16px 44px rgba(57, 19, 34, 0.06);
}

.sp-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sp-panel p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--refresh-body);
}

.sp-panel--quiet {
  border-color: rgba(183, 140, 71, 0.2);
  background: transparent;
  box-shadow: none;
}

.sp-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--refresh-line);
  background: var(--refresh-paper);
  box-shadow: var(--refresh-shadow);
}

.sp-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(183, 140, 71, 0.24);
  pointer-events: none;
}

.sp-tag {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid rgba(183, 140, 71, 0.38);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--refresh-gold-700);
  background: rgba(255, 253, 249, 0.6);
}

.sp-tag--rose {
  border-color: rgba(191, 46, 88, 0.3);
  color: var(--refresh-rose-700);
  background: var(--refresh-rose-100);
}

.sp-note {
  margin: 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--refresh-gold-400);
  font-size: 0.84rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--refresh-muted);
}

.sp-rule {
  width: 100%;
  height: 1px;
  margin: clamp(24px, 4vw, 40px) 0;
  border: 0;
  background: linear-gradient(90deg, var(--refresh-gold-500), rgba(183, 140, 71, 0.05));
}

.sp-linkrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid var(--refresh-line);
}

.sp-linkrow > span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

.sp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--refresh-rose-700);
  border-bottom: 1px solid rgba(142, 30, 65, 0.3);
  padding-bottom: 3px;
  transition: gap 0.2s ease, border-color 0.2s ease;
}

.sp-link:hover { gap: 12px; border-color: var(--refresh-rose-600); }

/* ---------- Quote ---------- */

.sp-quote {
  padding: clamp(34px, 5vw, 54px) clamp(24px, 5vw, 60px);
  border-top: 1px solid rgba(221, 193, 139, 0.32);
  border-bottom: 1px solid rgba(221, 193, 139, 0.32);
  background:
    radial-gradient(circle at 84% 6%, rgba(191, 46, 88, 0.26), transparent 44%),
    linear-gradient(120deg, var(--refresh-plum-950), var(--refresh-plum-800));
  text-align: center;
}

.sp-quote blockquote {
  max-width: 840px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.15rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #fffaf3;
  text-wrap: balance;
}

.sp-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.24em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-gold-300);
}

/* ---------- FAQ ---------- */

.sp-faq { display: grid; gap: 0; border-top: 1px solid var(--refresh-line); }

.sp-faq details { border-bottom: 1px solid rgba(183, 140, 71, 0.22); }

.sp-faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--refresh-ink);
}

.sp-faq summary::-webkit-details-marker { display: none; }

.sp-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--refresh-gold-600);
}

.sp-faq details[open] summary::after { content: "–"; }
.sp-faq details[open] summary { color: var(--refresh-rose-700); }

.sp-faq details p {
  max-width: 680px;
  margin: 0;
  padding: 0 2px 18px;
  font-size: 0.91rem;
  line-height: 1.75;
  color: var(--refresh-body);
}

/* ---------- Photos & captions ---------- */

.sp-photo {
  position: relative;
  margin: 0;
}

.sp-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.sp-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

/* ---------- Inline stats ---------- */

.sp-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: clamp(18px, 2.6vw, 24px) 0;
  list-style: none;
  border-top: 1px solid var(--refresh-line);
  border-bottom: 1px solid var(--refresh-line);
}

.sp-facts li {
  padding: 0 clamp(14px, 2.2vw, 22px);
  border-left: 1px solid rgba(183, 140, 71, 0.22);
}

.sp-facts li:first-child { padding-left: 0; border-left: 0; }

.sp-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--refresh-ink);
}

.sp-facts span {
  display: block;
  margin-top: 3px;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

/* ---------- Closing band (lighter than the homepage CTA) ---------- */

.sp-close {
  padding: clamp(38px, 5vw, 60px) 0;
  border-top: 1px solid var(--refresh-line);
  background: rgba(255, 253, 249, 0.5);
}

.sp-close-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
}

.sp-close h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.sp-close p {
  max-width: 520px;
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--refresh-muted);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .sp-page .reveal,
  .sp-page .reveal[data-reveal],
  .sp-page .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .sp-hero,
  .sp-hero--wide { grid-template-columns: 1fr; }
  .sp-hero { gap: 28px; }

  .sp-head { display: block; }
  .sp-head p { margin-top: 12px; }

  .sp-split,
  .sp-split--wide { grid-template-columns: 1fr; }
  .sp-split--flip > :first-child { order: 0; }

  .sp-grid--3,
  .sp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .sp-close-inner { display: block; }
  .sp-close .sp-actions { margin-top: 20px; }
}

@media (max-width: 760px) {
  .sp-page { padding: 18px 0 54px; }
  .sp-title { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .sp-lede { font-size: 0.97rem; line-height: 1.75; }

  .sp-actions { display: grid; grid-template-columns: 1fr; }
  .sp-actions .btn { width: 100%; }

  .sp-meta { display: grid; grid-template-columns: 1fr; gap: 0; }
  .sp-meta li { padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(183, 140, 71, 0.2); }
  .sp-meta li:first-child { padding-top: 0; border-top: 0; }

  .sp-section { padding: 36px 0; }
  .sp-head h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  .sp-grid--2,
  .sp-grid--3,
  .sp-grid--4 { grid-template-columns: 1fr; }

  .sp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
  .sp-facts li:nth-child(3) { padding-left: 0; border-left: 0; }

  .sp-quote { padding: 32px 22px; }
  .sp-linkrow { display: block; }
  .sp-linkrow .sp-actions { margin-top: 14px; }

  .sp-frame { padding: 8px; }
}

/* ==========================================================================
   SPIELZEITHEFT — editorial pass
   The stage background, corner ornaments and header treatment are shared with
   the homepage. Subpages keep their flat editorial surfaces on top of it.
   ========================================================================== */

/* Editorial type: the script stays on the show mark, not on every page title. */
.sp-page--flush { padding: 0; }

.sp-page .sp-title {
  letter-spacing: -0.035em;
}

.sp-page .sp-title em {
  display: block;
  margin-top: 0.06em;
  font-family: var(--font-display);
  font-size: 0.86em;
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--refresh-rose-700);
}

.sp-page .sp-eyebrow {
  gap: 12px;
  letter-spacing: 0.22em;
}

.sp-page .sp-eyebrow::before {
  width: 28px;
  height: 1px;
  border: 0;
  background: var(--refresh-gold-500);
  transform: none;
}

.sp-page .sp-lede {
  max-width: 58ch;
}

/* A readable floor for shared metadata; the print look should not mean 7px type. */
.sp-page .sp-eyebrow { font-size: 0.66rem; }
.sp-page .sp-index { font-size: 0.64rem; }
.sp-page .sp-meta span,
.sp-page .sp-facts span,
.sp-page .sp-caption { font-size: 0.6rem; }
.sp-page .sp-tag { font-size: 0.58rem; }
.sp-page .sp-link { font-size: 0.64rem; }
.sp-page .sp-linkrow > span { font-size: 0.62rem; }

.sp-page p a:not(.btn):not(.sp-link) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Motion is reserved for state changes, not for making content appear. */
.sp-page .reveal,
.sp-page .reveal[data-reveal],
.sp-page .reveal.in {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  transition: none !important;
}

.sp-page .sp-link:hover { gap: 8px; }

/* Flat surfaces: borders and rules carry the structure now. */
.sp-page .sp-panel {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sp-page .sp-panel--quiet {
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  border: 0;
  border-top: 1px solid var(--refresh-line);
}

.sp-page .sp-tag,
.sp-page .sp-tag--rose {
  border-radius: 0;
  background: transparent;
}

.sp-page .sp-frame {
  box-shadow: none;
}

.sp-page .sp-frame::after { display: none; }

.sp-page .sp-quote {
  background: var(--refresh-plum-900);
}

.sp-page .sp-rule {
  background: var(--refresh-line);
}

.sp-page .sp-close {
  background: transparent;
}

.sp-page .btn {
  box-shadow: none;
}

.sp-page .btn:hover { box-shadow: none; }

.sp-page .btn-pink {
  background: var(--refresh-rose-700);
  border-color: var(--refresh-rose-700);
}

.sp-page .btn-pink:hover {
  background: var(--refresh-rose-600);
  border-color: var(--refresh-rose-600);
}

.sp-page .btn-gold {
  background: var(--refresh-gold-300);
  border-color: var(--refresh-gold-500);
}

.sp-page .btn-ghost {
  background: transparent;
}

/* Page-specific surfaces that used generic gradients or lifted cards. */
.sp-page .musical-cover {
  background: var(--refresh-plum-800);
  box-shadow: none;
  transform: none;
}

.sp-page .musical-cover-inner {
  background: var(--refresh-paper);
}

.sp-page .musical-cover-inner::before { display: none; }

.sp-page .cover-seal { box-shadow: none; }

.sp-page .programme {
  border-radius: 0;
  background: var(--refresh-paper);
  box-shadow: none;
}

.sp-page .programme::before { display: none; }

.sp-page .video-frame {
  background: #12060b;
  box-shadow: none;
}

.sp-page .box-office {
  background: var(--refresh-plum-900);
  box-shadow: none;
}

.sp-page .stub {
  background: var(--refresh-paper);
  box-shadow: none;
}

.sp-page .stub:nth-child(n) { transform: none; }

.sp-page .stub-status { border-radius: 0; }

.sp-page .step { background: transparent; }

.sp-page .letter {
  background: var(--refresh-paper);
  box-shadow: none;
  transform: none;
}

.sp-page .letter::before { background: var(--refresh-rose-700); }
.sp-page .letter::after { display: none; }

.sp-page .q-block,
.sp-page .quiz-result {
  border-radius: 0;
  background: var(--refresh-paper);
  box-shadow: none;
}

.sp-page .quiz-result { border-top: 3px solid var(--refresh-rose-700); }

.sp-page .q-opts label {
  border-radius: 0;
  background: transparent;
}

.sp-page .q-opts label:hover { transform: none; }

.sp-page .q-letter { border-radius: 0; }

.sp-page .result-char {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.03em;
}

.sp-page .quiz-track i { background: var(--refresh-rose-600); }

.sp-page .patron-seal,
.sp-page .patron-band {
  background: var(--refresh-plum-900);
  box-shadow: none;
}

.sp-page .latest { background: var(--refresh-plum-900); }

.sp-page .entry-link { border-radius: 0; }

.sp-page .give-stamp,
.sp-page .pay-card--dark {
  background: var(--refresh-plum-900);
}

.sp-page .pay-card { box-shadow: none; }

.sp-page .on-air { background: var(--refresh-plum-900); }

.sp-page .channel--lead {
  background: var(--refresh-paper);
  box-shadow: none;
}

.sp-page .skill { border-radius: 0; }

.sp-page .cast-shot { box-shadow: none; }

.sp-page .cast-band {
  border-radius: 0;
  background: var(--refresh-plum-900);
}

.sp-page .sheet {
  background: var(--refresh-paper);
  box-shadow: none;
}

.sp-page .sheet:hover {
  transform: none;
  box-shadow: none;
}

.sp-page .proof:hover { transform: none; }

.sp-page .gl-outro {
  background: transparent;
  box-shadow: none;
}

.sp-page .fb-paper {
  background: var(--refresh-paper);
  box-shadow: none;
}

.sp-page .fb-paper::before { display: none; }

.sp-page .fb-progress-track i { background: var(--refresh-rose-600); }

.sp-page .ty-stage {
  background: #1c0710;
}

.sp-page .ty-stage::after { display: none; }

.sp-page .cd-stage {
  background: #1c0710;
}

.sp-page .cd-clock {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.sp-page .pfp-stage {
  background: #1c0710;
}

.sp-page .pfp-canvas-wrap,
.sp-page .pfp-console {
  box-shadow: none;
}

.sp-page .kr-portrait { box-shadow: none; }

.sp-page .kr-quote { background: var(--refresh-plum-900); }

.sp-page .im-doc,
.sp-page .ds-doc {
  box-shadow: none;
}

.sp-page .ds-track i { background: var(--refresh-rose-600); }

/* Keep horizontal reveal offsets from widening the mobile layout viewport. */
@media (max-width: 760px) {
  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"] {
    transform: translateY(22px);
  }

  .reveal[data-reveal="left"].in,
  .reveal[data-reveal="right"].in {
    transform: none;
  }
}

