/* Soli — "Program Notes" homepage restyle
   A concert program treated as a designed printed object.
   Scoped entirely under body.pn so /join and /mentorship (still on the
   Directory system in style.css) are unaffected. See DESIGN.md § Program
   Notes. */

body.pn {
  --pn-ink: #131211;
  --pn-cream: #fceed5;
  --pn-charcoal: #302e2b;
  --pn-offwhite: #f6eede;
  --pn-peach: #f5d2a5;

  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-label: "Space Grotesk", ui-sans-serif, sans-serif;
  --font-script: "Parisienne", cursive;
}

/* Two grounds — alternate by section, never blended. Redefining the shared
   --color-* custom properties here means every existing component class
   (.hero, .room-row, .card, .chip, …) inherits the right palette without a
   parallel set of overrides. */
body.pn .pn-ground-cream {
  --color-paper: var(--pn-cream);
  --color-paper-raised: var(--pn-cream);
  --color-ink: var(--pn-charcoal);
  --color-ink-soft: rgba(48, 46, 43, 0.72);
  --color-line: rgba(48, 46, 43, 0.16);
  background: var(--color-paper);
  color: var(--color-ink);
}
body.pn .pn-ground-ink {
  --color-paper: var(--pn-ink);
  --color-paper-raised: var(--pn-ink);
  --color-ink: var(--pn-offwhite);
  --color-ink-soft: rgba(246, 238, 222, 0.72);
  --color-line: rgba(246, 238, 222, 0.18);
  background: var(--color-paper);
  color: var(--color-ink);
}

body.pn h1,
body.pn h2,
body.pn h3,
body.pn h4 {
  font-weight: 600;
  letter-spacing: 0;
}

/* Labels / nav / meta — Space Grotesk, uppercase, tracked, small */
body.pn .pn-label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 500;
}
/* Page-number-style meta ("p. 01") keeps the label typeface but not the
   uppercase transform — the lowercase "p." is the point of the convention. */
body.pn .pn-meta {
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  white-space: nowrap;
}

/* Roman numerals — serif italic, like a program's movement numbering.
   (Parisienne is reserved for a genuine pull-quote/ampersand moment should
   one appear; a cursive "I." reads too easily as "l." to be usable as a
   wayfinding marker, so it isn't spent here.) */
body.pn .pn-numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

/* Nav */
body.pn .site-header {
  background: rgba(252, 238, 213, 0.94);
  border-bottom: 1px solid rgba(48, 46, 43, 0.16);
  backdrop-filter: blur(4px);
}
body.pn .brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--pn-charcoal);
}
body.pn .nav-links a,
body.pn .mobile-nav a {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pn-charcoal);
  border-radius: 0;
}
body.pn .nav-links a:hover {
  background: var(--pn-charcoal);
  color: var(--pn-cream);
}
body.pn .nav-toggle {
  border-color: rgba(48, 46, 43, 0.16);
  border-radius: 0;
  color: var(--pn-charcoal);
}
body.pn .mobile-nav {
  background: var(--pn-cream);
  border-color: rgba(48, 46, 43, 0.16);
}
body.pn .mobile-nav a {
  border-color: rgba(48, 46, 43, 0.16);
}

/* Peach stamp — the one accent color, fill-only, charcoal text on top */
body.pn .pn-stamp {
  display: inline-flex;
  align-items: center;
  background: var(--pn-peach);
  color: var(--pn-charcoal);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5em 0.9em;
  transform: rotate(-6deg);
  border-radius: 0;
}

/* Peach "Coming Soon" tag — replaces the ink-outlined .chip on this page */
body.pn .pn-tag {
  display: inline-flex;
  align-items: center;
  background: var(--pn-peach);
  color: var(--pn-charcoal);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45em 0.75em;
  border-radius: 0;
  border: none;
}

/* Hero */
body.pn .hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
}
body.pn .hero p {
  font-family: var(--font-body);
  color: var(--color-ink-soft);
}
body.pn .hero .pn-stamp {
  margin-bottom: var(--spacing-5);
}

/* Buttons — flat, square-cornered, no shadow */
body.pn .btn {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0;
}
body.pn .btn-outline {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
body.pn .btn-outline:hover {
  background: var(--color-ink);
  color: var(--color-paper);
}
/* The one filled CTA on the page — peach fill, charcoal text, per the
   "accent as fill only" rule. Every other button stays an outline. */
body.pn .btn-solid {
  background: var(--pn-peach);
  color: var(--pn-charcoal);
  border-radius: 0;
}
body.pn .btn-solid:hover {
  background: #f0c288;
}
body.pn .text-link {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Sheet-music staff dividers between major sections */
body.pn .pn-divider {
  display: flex;
  justify-content: center;
  padding-block: var(--spacing-6);
}
body.pn .pn-divider svg { width: 96px; height: auto; }

/* Mission */
body.pn .mission-copy p { font-family: var(--font-body); }

/* Where We Play — program listing, not cards */
body.pn .rooms-list { border-top-color: var(--color-line); }
body.pn .room-row {
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: var(--spacing-4) var(--spacing-5);
  border-bottom-color: var(--color-line);
}
body.pn .room-row .dot { display: none; }
body.pn .room-row h3 {
  font-family: var(--font-display);
  font-weight: 600;
}
body.pn .room-row p {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-ink-soft);
}
body.pn .room-row .pn-meta { justify-self: end; align-self: start; }
@media (max-width: 639px) {
  body.pn .room-row { grid-template-columns: auto 1fr; }
  body.pn .room-row .pn-meta { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* Mentorship teaser — same listing rhythm, ink ground, peach tag instead of
   a page marker */
body.pn .teaser-inner { max-width: 40rem; }
body.pn .teaser-grid h2 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: var(--spacing-4);
}
body.pn .teaser-grid p { font-family: var(--font-body); }

/* Get involved — flat plates, no rounded corners, no shadow */
body.pn .card {
  border-radius: 0;
  border-color: var(--color-line);
  background: var(--color-paper-raised);
}
body.pn .card h3 { font-family: var(--font-display); font-weight: 600; }
body.pn .card p { font-family: var(--font-body); }
body.pn .eyebrow { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
body.pn .family-card { border-top: 1px solid var(--color-line); }

/* Mentorship page — cascade + CTA, wing violet swapped for the page's
   own ink/hairline treatment (no wing colors survive on Program Notes) */
body.pn .cascade-item h3 { font-family: var(--font-display); font-weight: 600; }
body.pn .cascade-item p { font-family: var(--font-body); }
body.pn .feature-row dt { font-family: var(--font-display); font-weight: 600; }
body.pn .feature-row dd { font-family: var(--font-body); }
body.pn .mentor-rule { border-left-color: var(--color-line); }

/* Join page */
body.pn .join-lead h2 { font-family: var(--font-display); font-weight: 600; }
body.pn .join-lead p { font-family: var(--font-body); }
body.pn .slip-card {
  border-radius: 0;
  border-color: var(--color-line);
  background: var(--color-paper-raised);
}
body.pn .slip-card > p {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-ink);
}
body.pn .slip-field dt { font-family: var(--font-label); letter-spacing: 0.02em; }

/* Footer */
body.pn .site-footer { background: var(--pn-ink); color: var(--pn-offwhite); }
body.pn .site-footer .brand-mark { font-family: var(--font-display); font-style: italic; font-weight: 600; }
body.pn .footer-meta a,
body.pn .footer-meta span { font-family: var(--font-label); letter-spacing: 0.04em; }
