:root {
  --sp-primary: var(--primary-navy);
  --sp-secondary: var(--primary-red);
  --white: #ffffff;
  --sp-bg: #f5f4f0;
  --sp-text: #2a2a2a;
  --sp-text-muted: #5a5a5a;
  --sp-nav-bg: var(--primary-navy);
  --sp-nav-text: #ffffff;
  --sp-link-color: var(--primary-navy);
  --sp-card-bg: #ffffff;
  --sp-border: rgba(0, 40, 85, 0.1);
  --sp-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  --sp-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.06);
  --sp-radius: 6px;
  --sp-section-gap: 2rem;
  --sp-font-display: 'calluna', Georgia, serif;
  --sp-font-body: 'calluna', Georgia, serif;
  --sp-font-ui: 'proxima-nova', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.dark-mode {
  --sp-secondary: var(--secondary-flood);
  --sp-bg: #141418;
  --sp-text: #e0ddd8;
  --sp-text-muted: #9a9a9a;
  --primary-silver: #2a2a2a;
  --white: #1e1e22;
  --sp-card-bg: #1e1e22;
  --sp-link-color: var(--secondary-flood);
  --sp-border: rgba(255, 255, 255, 0.08);
  --sp-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
  --sp-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ─── Main Container ─── */

.show-program {
  font-family: var(--sp-font-body);
  background: var(--sp-bg);
  color: var(--sp-text);
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.show-program-page {
  background: var(--sp-bg);
  min-height: 100vh;
}

/* ─── Header ─── */

.sp-header {
  background: var(--sp-nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.sp-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sp-header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.sp-header-logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.sp-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Dark Mode Toggle ── */

.sp-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 56px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s;
  flex-shrink: 0;
}

.sp-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}

.sp-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .sp-toggle-thumb {
  transform: translateX(28px);
  background: #2a2a2a;
}

.sp-toggle-icon {
  width: 14px;
  height: 14px;
}

.sp-toggle-icon-moon { color: #5a5a5a; }
.sp-toggle-icon-sun { color: #f5c542; display: none; }
body.dark-mode .sp-toggle-icon-moon { display: none; }
body.dark-mode .sp-toggle-icon-sun { display: block; }

.sp-toggle-label-light,
.sp-toggle-label-dark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.sp-toggle-label-light { right: 7px; }
.sp-toggle-label-dark { left: 7px; display: none; }
body.dark-mode .sp-toggle-label-light { display: none; }
body.dark-mode .sp-toggle-label-dark { display: block; }

.sp-toggle-label-icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* ── Hamburger Button ── */

.sp-menu-btn {
  background: transparent;
  border: none;
  color: var(--sp-nav-text);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}

.sp-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sp-menu-btn svg {
  width: 24px;
  height: 24px;
}

.sp-menu-close { display: none; }
.sp-menu-btn[aria-expanded="true"] .sp-menu-open { display: none; }
.sp-menu-btn[aria-expanded="true"] .sp-menu-close { display: block; }

/* ── Mobile Nav ── */

.sp-header-nav-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid transparent;
}

.sp-header-nav-mobile.active {
  max-height: 500px;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.sp-header-nav-mobile ul,
.sp-header-nav-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.sp-header-nav-mobile a {
  display: block;
  color: var(--sp-nav-text);
  text-decoration: none;
  font-family: var(--sp-font-ui);
  font-size: 0.9rem;
  padding: 0.7rem 1.25rem;
  transition: background 0.2s;
}

.sp-header-nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ── Desktop Nav ── */

.sp-header-nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .sp-menu-btn { display: none; }
  .sp-header-nav-mobile { display: none; }

  .sp-header-nav-desktop {
    display: block;
  }

  .sp-header-nav-desktop ul {
    display: flex;
    gap: 0;
    padding: 0;
  }

  .sp-header-nav-desktop a {
    display: block;
    color: var(--sp-nav-text);
    text-decoration: none;
    font-family: var(--sp-font-ui);
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: background 0.2s;
    white-space: nowrap;
  }

  .sp-header-nav-desktop a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* ─── Section Headlines ─── */

.sp-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0 0.5rem;
  margin: 0;
  text-align: center;
  font-family: var(--sp-font-display);
  color: var(--sp-primary);
}

body.dark-mode .sp-headline {
  color: var(--sp-text);
}

.sp-headline-text {
  font-family: var(--sp-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.sp-dot {
  height: 5px;
  width: 5px;
  background-color: var(--sp-secondary);
  border-radius: 50%;
  display: inline-block;
  margin: 2px 3px;
}

.sp-subtitle {
  font-family: var(--sp-font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.12em;
  color: var(--sp-text-muted);
}

/* ─── Hero ─── */

.sp-welcome {
  background: var(--sp-bg);
  text-align: center;
  width: 100%;
  padding: 1.25rem 0 1rem;
}

.sp-hero-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.sp-hero-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow-lg);
}

.sp-hero-subtitle {
  font-family: var(--sp-font-display);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  padding: 1rem 0 0.25rem;
  margin: 0;
  color: var(--sp-text-muted);
}

.sp-scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 0.25rem;
}

.sp-scroll-dots {
  display: flex;
  gap: 0.4rem;
}

.sp-scroll-text {
  font-family: var(--sp-font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--sp-text-muted);
  margin: 0;
}

/* ─── Card-style Sections ─── */

.sp-info {
  background: var(--sp-card-bg);
  text-align: center;
  border-radius: var(--sp-radius);
  margin: var(--sp-section-gap) 12px;
  padding: 1.5rem 20px;
  box-shadow: var(--sp-shadow);
  border: 1px solid var(--sp-border);
}

.sp-container .sp-info {
  margin: 0;
}

.sp-info-body {
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.sp-info table {
  margin: 0 auto;
}

.sp-bio-group .sp-info {
  text-align: left;
}
/* ─── President's Note ─── */

.sp-note {
  padding: 1.5rem 0;
  margin: 0 12px;
}

.sp-note-headshot {
  float: right;
  margin: 0 0 12px 16px;
}

.sp-note-headshot img {
  border-radius: var(--sp-radius);
  width: 150px;
  height: auto;
  box-shadow: var(--sp-shadow);
}

.sp-note-body {
  font-size: 0.93rem;
  line-height: 1.75;
}

.sp-note .sp-info {
  text-align: left;
}

.sp-note-signature {
  margin-top: 1rem;
}

.sp-note-signature img {
  width: 220px;
  height: auto;
  opacity: 0.85;
}

body.dark-mode .sp-note-signature img {
  filter: invert(1) brightness(1.5);
  opacity: 0.7;
}

.sp-note-attribution {
  font-style: italic;
  color: var(--sp-text-muted);
  font-size: 0.9rem;
}

/* ─── Ad Sections ─── */

.sp-ad {
  margin: var(--sp-section-gap) 12px;
  border-radius: var(--sp-radius);
  overflow: hidden;
  box-shadow: var(--sp-shadow);
  border: 1px solid var(--sp-border);
  background: var(--sp-card-bg);
}

.sp-ad-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-ad img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─── Bio Section ─── */

.sp-bio-group {
  padding: 0.5rem 0;
  margin: 0 12px;
}

.sp-bio {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--sp-border);
  overflow: hidden;
}

.sp-bio:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sp-bio hr {
  display: block;
  border: none;
  border-top: 2px solid var(--sp-secondary);
  margin: 0.25rem 0 0.75rem;
}

.sp-bio-name {
  font-family: var(--sp-font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--sp-link-color);
  margin-bottom: 0.5rem;
}

.sp-bio-headshot {
  float: right;
  border-radius: var(--sp-radius);
  margin: 0 0 10px 14px;
  width: 150px;
  height: auto;
  box-shadow: var(--sp-shadow);
}

.sp-bio-text {
  font-size: 0.93rem;
  line-height: 1.7;
}

.sp-bio-social {
  color: var(--sp-link-color);
  text-decoration: none;
  font-family: var(--sp-font-ui);
  font-size: 0.85rem;
}

.sp-bio-social:hover {
  text-decoration: underline;
}

/* ─── Section Divider ─── */

.sp-divider {
  text-align: center;
  padding: 0.75rem 0;
}

/* ─── Footer ─── */

.sp-footer {
  background: var(--sp-card-bg);
  text-align: center;
  border-top: 3px solid var(--sp-primary);
}

body.dark-mode .sp-footer {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.sp-footer-cta {
  padding: 1.75rem 1.5rem 1.25rem;
}

.sp-footer-cta-btn {
  display: inline-block;
  font-family: var(--sp-font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-primary);
  text-decoration: none;
  padding: 0.6rem 1.6rem;
  border: 2px solid var(--sp-primary);
  border-radius: 4px;
  transition: all 0.25s ease;
}

.sp-footer-cta-btn:hover {
  background: var(--sp-primary);
  color: #fff;
  text-decoration: none;
}

body.dark-mode .sp-footer-cta-btn {
  color: var(--sp-link-color);
  border-color: var(--sp-link-color);
}

body.dark-mode .sp-footer-cta-btn:hover {
  background: var(--sp-link-color);
  color: #141418;
}

.sp-footer-info {
  padding: 0.75rem 1.5rem 1rem;
}

.sp-footer-venue {
  font-family: var(--sp-font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sp-text);
  margin: 0 0 0.15rem;
}

.sp-footer-address,
.sp-footer-contact {
  font-family: var(--sp-font-ui);
  font-size: 0.85rem;
  color: var(--sp-text-muted);
  margin: 0.15rem 0;
  line-height: 1.5;
}

.sp-footer-contact a {
  color: var(--sp-link-color);
  text-decoration: none;
}

.sp-footer-contact a:hover {
  text-decoration: underline;
}

.sp-footer-divider {
  width: 40px;
  height: 1px;
  background: var(--sp-border);
  margin: 0.85rem auto;
}

.sp-footer-copyright {
  padding: 0 1.5rem 1.5rem;
}

.sp-footer-copyright p {
  font-family: var(--sp-font-ui);
  font-size: 0.72rem;
  color: var(--sp-text-muted);
  margin: 0;
  opacity: 0.6;
}

/* ─── Global Link Styling ─── */

.show-program a {
  color: var(--sp-link-color);
  transition: opacity 0.2s;
}

.show-program a:hover {
  opacity: 0.8;
  list-style: none;
}

/* ─── Utility: Accent Line ─── */

.sp-info::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--sp-secondary);
  margin: 0 auto 1rem;
  border-radius: 2px;
  opacity: 0.7;
}

/* ─── Print Styles ─── */

@media print {
  .sp-header,
  .sp-toggle,
  .sp-menu-btn,
  .sp-scroll-indicator {
    display: none !important;
  }

  .show-program {
    padding-top: 0;
    max-width: 100%;
  }

  .sp-info, .sp-footer, .sp-ad {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}