/* Concerto — Performance Ledger design system */

@import url("https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap");

:root {
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "DM Mono", "Courier New", monospace;
  --nav-height: 4.5rem;
  --nav-height-scrolled: 4rem;
  --bg: #0b0907;
  --bg-elevated: #12100d;
  --surface: #16130f;
  --surface-alt: #1c1813;
  --surface-gradient-end: #12100d;
  --text: #ebe3d2;
  --text-soft: #b9aa8c;
  --muted: #7d6f58;
  --primary: #c9a84a;
  --primary-strong: #a88732;
  --accent: #d4bc7a;
  --accent-warm: #9e4a3a;
  --border: rgba(201, 168, 74, 0.28);
  --border-subtle: rgba(235, 227, 210, 0.1);
  --shadow-sm: none;
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.32);
  --topbar-bg: #0b0907;
  --hero-overlay: transparent;
  --hero-glow: transparent;
  --body-glow-1: transparent;
  --body-glow-2: transparent;
  --input-bg: transparent;
  --btn-on-primary: #1a1408;
  --footer-bg: #080706;
  --focus-ring: rgba(201, 168, 74, 0.22);
  --hover-fill: rgba(201, 168, 74, 0.07);
  --active-fill: rgba(201, 168, 74, 0.11);
  --dialog-backdrop: rgba(0, 0, 0, 0.72);
  --btn-shadow: rgba(201, 168, 74, 0.2);
  --link-underline: rgba(201, 168, 74, 0.45);
  --grid-line: rgba(201, 168, 74, 0.07);
  --note-texture-color: #fff;
  --note-texture-opacity: 0.14;
  --chapter-established: #7eb3c4;
  --chapter-established-border: #6b9aaa;
  --chapter-established-bg: rgba(107, 154, 170, 0.16);
  --chapter-active: #c9a84a;
  --chapter-active-border: #c9a84a;
  --chapter-active-bg: rgba(201, 168, 74, 0.16);
  --chapter-in-progress: #c4a07a;
  --chapter-in-progress-border: #a8845f;
  --chapter-in-progress-bg: rgba(196, 160, 122, 0.16);
  --partner-venue-border: rgba(201, 168, 74, 0.32);
  --partner-venue-media-tint: rgba(201, 168, 74, 0.08);
  --partner-venue-fill: rgba(201, 168, 74, 0.1);
  --partner-venue-hover-border: var(--primary);
  --partner-venue-hover-fill: rgba(201, 168, 74, 0.16);
  --partner-org-border: rgba(201, 168, 74, 0.45);
  --partner-org-media-tint: rgba(201, 168, 74, 0.1);
  --partner-org-fill: rgba(201, 168, 74, 0.12);
  --partner-org-hover-border: var(--primary);
  --partner-org-hover-fill: rgba(201, 168, 74, 0.18);
  --movement-mark-color: var(--primary);
  --movement-mark-opacity: 0.18;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

[data-theme="night"] {
  --bg: #0b0907;
  --bg-elevated: #12100d;
  --surface: #16130f;
  --surface-alt: #1c1813;
  --surface-gradient-end: #12100d;
  --text: #ebe3d2;
  --text-soft: #b9aa8c;
  --muted: #7d6f58;
  --primary: #c9a84a;
  --primary-strong: #a88732;
  --accent: #d4bc7a;
  --border: rgba(201, 168, 74, 0.28);
  --border-subtle: rgba(235, 227, 210, 0.1);
  --topbar-bg: #0b0907;
  --footer-bg: #080706;
  --grid-line: rgba(201, 168, 74, 0.07);
  --note-texture-color: #fff;
  --note-texture-opacity: 0.12;
  --partner-venue-border: rgba(201, 168, 74, 0.32);
  --partner-venue-media-tint: rgba(201, 168, 74, 0.08);
  --partner-venue-fill: rgba(201, 168, 74, 0.1);
  --partner-venue-hover-border: var(--primary);
  --partner-venue-hover-fill: rgba(201, 168, 74, 0.16);
  --partner-org-border: rgba(201, 168, 74, 0.45);
  --partner-org-media-tint: rgba(201, 168, 74, 0.1);
  --partner-org-fill: rgba(201, 168, 74, 0.12);
  --partner-org-hover-border: var(--primary);
  --partner-org-hover-fill: rgba(201, 168, 74, 0.18);
}

[data-theme="day"] {
  --bg: #e5d9c4;
  --bg-elevated: #efe6d6;
  --surface: #f7f0e3;
  --surface-alt: #ddd0b8;
  --surface-gradient-end: #f0e8d8;
  --text: #1a140c;
  --text-soft: #4d4230;
  --muted: #6b5d48;
  --primary: #8a6312;
  --primary-strong: #6e4e0c;
  --accent: #5c4210;
  --accent-warm: #8b3d2e;
  --border: rgba(100, 72, 12, 0.35);
  --border-subtle: rgba(26, 20, 12, 0.12);
  --shadow-md: 0 12px 32px rgba(26, 20, 12, 0.14);
  --topbar-bg: #f7f0e3;
  --footer-bg: #d4c4a8;
  --focus-ring: rgba(138, 99, 18, 0.2);
  --hover-fill: rgba(138, 99, 18, 0.09);
  --active-fill: rgba(138, 99, 18, 0.14);
  --dialog-backdrop: rgba(26, 20, 12, 0.4);
  --btn-shadow: rgba(100, 72, 12, 0.25);
  --link-underline: rgba(100, 72, 12, 0.4);
  --grid-line: rgba(100, 72, 12, 0.12);
  --note-texture-color: #000;
  --note-texture-opacity: 0.3;
  --chapter-established: #3d6f7d;
  --chapter-established-border: #3d6f7d;
  --chapter-established-bg: rgba(61, 111, 125, 0.12);
  --chapter-active: #9a7200;
  --chapter-active-border: #7d5c00;
  --chapter-active-bg: rgba(154, 114, 0, 0.16);
  --chapter-in-progress: #9c4528;
  --chapter-in-progress-border: #7d3620;
  --chapter-in-progress-bg: rgba(156, 69, 40, 0.14);
  --partner-venue-border: rgba(92, 66, 16, 0.44);
  --partner-venue-media-tint: rgba(92, 66, 16, 0.09);
  --partner-venue-fill: rgba(92, 66, 16, 0.1);
  --partner-venue-hover-border: #6e4e0c;
  --partner-venue-hover-fill: rgba(92, 66, 16, 0.16);
  --partner-org-border: rgba(154, 114, 0, 0.82);
  --partner-org-media-tint: rgba(154, 114, 0, 0.15);
  --partner-org-fill: rgba(154, 114, 0, 0.14);
  --partner-org-hover-border: #7d5c00;
  --partner-org-hover-fill: rgba(154, 114, 0, 0.2);
  --movement-mark-color: var(--primary-strong);
  --movement-mark-opacity: 0.16;
  --btn-on-primary: #fff;
  --primary: #6e4e0c;
  --primary-strong: #523908;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 0.75rem);
  font-family: var(--font-body);
}

html.theme-changing,
html.theme-changing * {
  transition: none !important;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--text, #ebe3d2);
  background-color: var(--bg, #0b0907);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.music-notes-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hero,
.section {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.section-notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  clip-path: inset(0);
}

.section-notes .music-note {
  position: absolute;
  fill: currentColor;
  color: var(--note-texture-color);
  opacity: calc(var(--note-texture-opacity) * var(--note-opacity-scale, 1));
  transform: rotate(var(--note-rotate, 0deg));
  transform-origin: center;
  max-width: 2.75rem;
  max-height: 3.5rem;
}

@media (max-width: 1023px) {
  .section-notes .music-note {
    max-width: 2.1rem;
    max-height: 2.75rem;
  }
}

[data-theme="day"] .section-notes .music-note {
  opacity: calc(var(--note-texture-opacity) * var(--note-opacity-scale, 1) * 1.08);
}

[data-theme="night"] .section-notes .music-note {
  opacity: calc(var(--note-texture-opacity) * var(--note-opacity-scale, 1));
  color: #ffffff;
}

.hero > :not(.section-notes):not(.hero-media),
.section > :not(.section-notes) {
  position: relative;
  z-index: 1;
}

/* Layout */
main,
.topbar,
.footer {
  position: relative;
  z-index: 1;
}

/* Typography */
h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.08;
  font-weight: 700;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  letter-spacing: -0.025em;
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h3 {
  font-size: 1.38rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  transition: color 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.kicker-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: 0.15rem 0.35rem;
  border: 1px solid var(--border);
  color: var(--accent-warm);
  font-size: 0.62rem;
}

.section-header {
  margin-bottom: 2rem;
}

.compact-header {
  margin-bottom: 1.15rem;
}

.section-intro-block {
  position: relative;
  padding-left: 0;
  max-width: 44rem;
}

.section-intro-block::before {
  display: none;
}

.section-header-inline {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1.35fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-header-inline h2 {
  margin-bottom: 0;
}

.section-intro-inline {
  margin: 0;
  max-width: none;
  font-style: italic;
  color: var(--text-soft);
}

.body-text {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-soft);
  line-height: 1.7;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-header h2:not(:last-child) {
  margin-bottom: 0.75rem;
}

.panel-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.panel p {
  color: var(--text-soft);
}

.panel p strong {
  color: var(--text);
  font-weight: 600;
}

/* Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--topbar-bg);
  transition: background-color 0.24s var(--ease-out), border-color 0.24s var(--ease-out);
}

.nav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--nav-height);
  padding: 0.4rem 0;
  transition: min-height 0.24s var(--ease-out);
}

.topbar.is-scrolled .nav-wrap {
  min-height: var(--nav-height-scrolled);
  padding: 0.3rem 0;
}

.nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0.48rem 0.78rem;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.22s var(--ease-out), color 0.22s var(--ease-out), background-color 0.22s var(--ease-out), transform 0.16s var(--ease-out);
}

.nav-menu-toggle:hover {
  border-color: var(--border);
  color: var(--text);
}

.nav-menu-toggle:active {
  transform: scale(0.98);
}

.nav-menu-toggle-bars {
  position: relative;
  display: block;
  width: 1rem;
  height: 0.7rem;
}

.nav-menu-toggle-bars::before,
.nav-menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
}

.nav-menu-toggle-bars::before {
  top: 0;
  box-shadow: 0 0.28rem 0 currentColor;
}

.nav-menu-toggle-bars::after {
  bottom: 0;
}

.topbar.is-nav-open .nav-menu-toggle {
  border-color: var(--primary);
  color: var(--primary);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(18rem, calc(100vw - 2rem));
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.45rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  z-index: 220;
}

.topbar.is-nav-open .nav-links {
  display: flex;
  animation: nav-drop 0.22s var(--ease-out);
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.nav-links a {
  display: block;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.22s var(--ease-out);
}

.nav-links a:last-child {
  border-bottom: none;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--hover-fill);
  transform: translateX(3px);
}

.nav-num {
  display: none;
}

.nav a.nav-cta {
  margin-left: 0.15rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--primary);
  color: var(--btn-on-primary);
  background: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), transform 0.16s var(--ease-out);
}

.nav a.nav-cta:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: var(--btn-on-primary);
}

.nav a.nav-cta:active {
  transform: scale(0.98);
}

.theme-toggle {
  position: relative;
  z-index: 3;
  margin-left: 0.35rem;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.theme-toggle .theme-toggle-icon {
  pointer-events: none;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.theme-toggle[data-theme-icon="day"] {
  border-color: var(--primary);
  color: var(--primary);
}

.theme-toggle-icon {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  line-height: 0;
}

.theme-toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Icon shows the mode you switch *to* (moon = go dark, sun = go light) */
.theme-toggle[data-theme-icon="day"] .theme-toggle-icon--moon,
.theme-toggle[data-theme-icon="night"] .theme-toggle-icon--sun {
  display: block;
}

/* Hero — photo is content (full brightness), not a dimmed backdrop */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-media {
  position: relative;
  z-index: 0;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(50vw, 19rem);
  overflow: hidden;
  background: var(--bg-elevated);
}

.hero-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  opacity: 1;
  filter: none;
  transition: transform 0.42s var(--ease-out);
}

.hero:hover .hero-media-img {
  transform: scale(1.02);
}

.hero::after {
  display: none;
}

.hero-score-grid {
  display: none;
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.35rem;
  width: 100%;
  max-width: min(68rem, 100%);
  margin-inline: auto;
  padding: 2rem 1.25rem 2.75rem;
  text-align: left;
  background: var(--bg);
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: auto;
  text-decoration: none;
  line-height: 0;
}

.hero-logo {
  display: block;
  height: auto;
  width: auto;
  max-width: min(140px, 38vw);
  max-height: 4.5rem;
  min-height: 0;
  object-fit: contain;
  object-position: left center;
}

.hero-main {
  flex: 0 1 auto;
  width: 100%;
  max-width: 34rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

@media (min-width: 901px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
    min-height: min(86vh, 46rem);
  }

  .hero-media {
    flex: 1 1 55%;
    width: auto;
    max-height: none;
    aspect-ratio: auto;
    min-height: min(86vh, 46rem);
    border-right: 1px solid var(--border-subtle);
  }

  .hero-media-img {
    object-position: center 66%;
  }

  .hero-stage {
    flex: 1 1 45%;
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding: clamp(3rem, 6vh, 4.75rem) clamp(2rem, 5vw, 4.25rem);
    gap: 1.75rem;
  }

  .hero-logo {
    max-width: min(168px, 22vw);
    max-height: 5.25rem;
  }

  .hero-main {
    max-width: 31rem;
  }
}

.hero-established {
  margin: 0 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.hero-title-line {
  display: block;
}

.hero-title-line--gold {
  color: var(--primary);
  font-style: italic;
  padding-left: 0;
}

.lead {
  max-width: 31rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--text-soft);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 1.85rem;
}

.proof-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.proof-list li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 0;
  transition: transform 0.24s var(--ease-out);
}

.proof-list li:hover {
  transform: translateX(3px);
}

.proof-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.proof-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Surfaces */
.panel,
.card,
.stat,
.form-panel {
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  box-shadow: none;
}

.panel {
  padding: 1.5rem;
}

.panel:hover,
.card:hover {
  border-color: var(--border);
}

/* Sections */
.section {
  padding: clamp(3.75rem, 8.5vh, 6rem) 0;
  background: var(--bg);
}

.section--ruled {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.music-staff-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 1.5rem;
  background: var(--border-subtle);
  pointer-events: none;
}

.alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border-subtle);
}

.section-intro {
  max-width: none;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.35rem 1.25rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}

/* Mission */
.mission-header {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.mission-lead {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.62;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border-subtle);
}

.mission-pillar {
  position: relative;
  padding: 2rem 2rem 2rem 0;
  background: transparent;
  border-right: 1px solid var(--border-subtle);
}

.mission-pillar:not(:first-child) {
  padding-left: 2rem;
}

.mission-pillar:last-child {
  border-right: none;
  padding-right: 0;
}

.movement-mark {
  display: block;
  position: static;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--primary);
  opacity: 0.85;
  pointer-events: none;
}

.mission-pillar h3 {
  margin-bottom: 0.55rem;
  font-size: 1.55rem;
  color: var(--text);
  font-style: italic;
}

.mission-pillar p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.mission-panels {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  border: none;
  align-items: start;
}

.mission-panel {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.mission-panel + .mission-panel {
  border-left: 1px solid var(--border);
  padding-left: 2.25rem;
}

.mission-panel-highlight {
  background: transparent;
}

.mission-panel-title {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.mission-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.mission-list li,
.note-bullet-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.note-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.list-note-bullet {
  flex: 0 0 auto;
  width: 1rem;
  height: 1.2rem;
  margin-top: 0.12em;
  color: var(--primary);
  fill: currentColor;
  overflow: visible;
}

[data-theme="night"] .list-note-bullet {
  color: var(--accent);
}

.mission-panel-highlight p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.section-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 2rem;
  align-items: stretch;
}

.section-row .section-header {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

.booking-layout .form-panel {
  margin-top: 0;
  max-width: none;
}

.section-heading {
  margin-top: 0;
}

/* Stats ledger */
.stats-grid,
.ledger-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
}

.stat {
  padding: 1.65rem 1.5rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle);
  transition: background-color 0.24s var(--ease-out);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: none;
  padding-right: 0;
}

.stat:hover {
  background: transparent;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 3.65rem);
  font-weight: 700;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  margin: 0 0 0.45rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.stat-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Partner rows */
#partners .section-header-inline {
  margin-bottom: 3.25rem;
}

.partner-rows {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.partner-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.partner-row-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: var(--text);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.partner-row-note {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.35rem;
  color: var(--primary);
  fill: currentColor;
  opacity: 0.9;
}

[data-theme="night"] .partner-row-note {
  color: var(--accent);
}

.partner-row--venues .partner-row-title {
  border-bottom-color: var(--partner-venue-border);
}

.partner-row--orgs .partner-row-title {
  border-bottom-color: var(--partner-org-border);
}

.partner-row .partner-wheel {
  margin: 0;
}

.partner-rows .partner-type {
  display: none;
}

/* Partner wheel */
.partner-wheel {
  margin-top: 0;
  overflow: hidden;
  border: none;
  background: transparent;
}

.partner-wheel-track {
  display: flex;
  width: max-content;
  padding: 0.5rem 0;
  will-change: transform;
}

.partner-wheel.is-ready .partner-wheel-track {
  animation: partner-wheel-scroll var(--marquee-duration, 14s) linear infinite;
}

.partner-wheel.is-static .partner-wheel-track {
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 1rem;
}

.partner-wheel-group {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  gap: 1.25rem;
  padding-right: 1.25rem;
}

.partner-wheel-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.65rem;
  width: 16.5rem;
  padding: 1.35rem;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.24s var(--ease-out), background-color 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

.partner-wheel-item:hover {
  border-color: var(--primary);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: none;
}

.partner-wheel-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.partner-wheel-item__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0;
  background: transparent;
  border: none;
  overflow: hidden;
}

.partner-wheel-item__media.is-fallback {
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.partner-wheel-item__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 4.75rem;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.partner-wheel-item__logo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--primary-strong);
  opacity: 0.55;
}

.partner-wheel-item__media.is-fallback .partner-wheel-item__logo-fallback {
  display: flex;
}

.partner-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: var(--text);
}

.partner-type {
  margin: -0.2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.partner-city {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

.partner-wheel-item--map {
  cursor: pointer;
}

.partner-wheel-item.is-selected {
  border-color: var(--primary);
  background: var(--bg-elevated);
}

.partner-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary);
}

.partner-visit:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.partner-visit:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.partner-wheel-item--org {
  border-color: var(--border);
  background: var(--surface);
}

.partner-wheel-item--org .partner-wheel-item__media.is-fallback {
  background: var(--bg-elevated);
}

.partner-wheel-item--org:hover {
  border-color: var(--primary);
  background: var(--bg-elevated);
}

.partner-wheel-item--biweekly {
  border-color: var(--border);
}

.partner-wheel-item--biweekly .partner-type {
  color: var(--primary);
}

.partner-visit::after {
  content: "→";
  display: inline-block;
  transition: transform 0.24s var(--ease-out);
}

.partner-wheel-item:hover .partner-visit::after {
  transform: translateX(3px);
}

@keyframes partner-wheel-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 0px)), 0, 0);
  }
}

/* Forms — ledger underline style */
.form-panel {
  max-width: none;
  margin-top: 0;
  padding: 2rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.stacked-form {
  display: grid;
  gap: 1.1rem;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
}

.form-grid .full-width,
.form-grid button,
.form-grid h3,
.form-grid .tiny-note {
  grid-column: 1 / -1;
}

.form-grid > .tiny-note:first-of-type {
  margin-bottom: 0.25rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0.65rem 0 0.75rem;
  background: var(--input-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
  box-shadow: 0 2px 0 0 var(--focus-ring);
}

textarea {
  resize: none;
  overflow: hidden;
  min-height: 2.85rem;
  line-height: 1.5;
  field-sizing: content;
}

textarea.textarea-autogrow {
  transition: height 0.12s ease;
}

.btn {
  border-radius: 0;
  border: 1px solid transparent;
  padding: 0.9rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background-color 0.24s var(--ease-out),
    border-color 0.24s var(--ease-out),
    color 0.24s var(--ease-out),
    transform 0.16s var(--ease-out);
}

.btn:hover {
  transform: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-glyph {
  font-size: 0.9rem;
  display: inline-block;
  transition: transform 0.24s var(--ease-out);
}

.btn-primary:hover .btn-glyph {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--primary);
  color: var(--btn-on-primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: var(--btn-on-primary);
  box-shadow: none;
}

a.btn.btn-primary,
a.btn.btn-primary:hover,
button.btn.btn-primary,
button.btn.btn-primary:hover {
  color: var(--btn-on-primary);
}

.btn.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--hover-fill);
}

.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.split > div > p,
.split .checks li {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.checks {
  margin: 0.75rem 0;
  padding: 0;
}

.tiny-note {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-soft);
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-body);
}

#join h3.section-heading {
  margin-top: 1rem;
  font-size: 1.25rem;
}

#booking a:not(.btn),
#join a:not(.btn),
#start-chapter a:not(.btn) {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--link-underline);
}

#booking a:not(.btn):hover,
#join a:not(.btn):hover,
#start-chapter a:not(.btn):hover {
  color: var(--primary-strong);
  border-bottom-color: var(--primary);
}

a[href^="mailto:"]:not(.btn) {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--link-underline);
}

a[href^="mailto:"]:not(.btn):hover {
  color: var(--primary-strong);
  border-bottom-color: var(--primary);
}

#start-chapter .mission-list {
  margin: 1rem 0 1.25rem;
}

#chapterForm.form-panel {
  max-width: none;
}

/* Concert calendar */
.calendar-summary {
  max-width: 42rem;
}

.concert-calendar {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 1.35rem 1.5rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.calendar-month-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
}

.calendar-nav {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.calendar-nav:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.calendar-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-weekdays {
  margin-bottom: 0.35rem;
}

.calendar-weekdays span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.calendar-day {
  min-height: 4.25rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.calendar-day--pad {
  visibility: hidden;
  border-color: transparent;
  background: transparent;
}

.calendar-day--today {
  border-color: var(--accent-warm);
  box-shadow: inset 0 0 0 1px var(--accent-warm);
}

.calendar-day--event {
  border-color: var(--primary);
  background: var(--hover-fill);
}

.calendar-day-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
}

.calendar-day-events {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.calendar-day-events li {
  margin: 0;
  min-width: 0;
}

.calendar-event-btn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.35rem;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  min-width: 0;
  align-items: start;
}

.calendar-event-note {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 0.7rem;
  height: 0.95rem;
  margin-top: 0.15rem;
  color: var(--primary);
  fill: currentColor;
  opacity: 0.85;
}

.calendar-event-time {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.calendar-event-name {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 0.12em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event-btn:hover .calendar-event-name,
.calendar-event-btn:focus-visible .calendar-event-name {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

.calendar-event-btn--past .calendar-event-note,
.calendar-event-btn--past .calendar-event-time {
  color: var(--muted);
}

.calendar-event-btn--past .calendar-event-name {
  color: var(--text-soft);
}

.concert-event-dialog {
  padding: 0;
  border: 1px solid var(--border);
  max-width: min(92vw, 32rem);
  width: 100%;
  background: var(--surface);
  color: var(--text);
}

.concert-event-dialog::backdrop {
  background: var(--dialog-backdrop);
}

.concert-event-dialog-inner {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
}

.concert-event-dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.concert-event-dialog-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.concert-event-dialog-title {
  margin: 0 2rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.concert-event-dialog-meta {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.concert-event-dialog-meta div {
  display: grid;
  gap: 0.2rem;
}

.concert-event-dialog-meta dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.concert-event-dialog-meta dd {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.concert-event-dialog-meta a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--link-underline);
}

.concert-event-dialog-meta a:hover {
  border-bottom-color: var(--primary);
}

/* Leadership */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.85rem;
}

.leadership-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  border: none;
  background: transparent;
}

.leadership-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  margin-bottom: 0.25rem;
}

.leadership-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.38s var(--ease-out);
}

.leadership-card:hover .leadership-photo img {
  transform: scale(1.03);
}

.leadership-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}

.leadership-photo-initials {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  opacity: 0.55;
  letter-spacing: 0.04em;
}

.leadership-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  color: var(--text);
}

.leadership-link {
  text-decoration: none;
  color: inherit;
}

.leadership-link--photo {
  display: block;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.leadership-link--photo:hover {
  opacity: 0.92;
}

.leadership-link--photo:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.leadership-link--name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
}

.leadership-link--name:hover {
  color: var(--primary);
}

.leadership-link--name:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.leadership-linkedin-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #0a66c2;
  flex-shrink: 0;
}

.leadership-role {
  margin: -0.35rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.leadership-bio {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
}

/* Gallery */
#gallery .gallery-layout {
  display: block;
}

#gallery .gallery-photos-block {
  margin: 0;
}

#gallery .gallery-videos-block {
  margin-top: 3.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
}

#gallery .gallery-subheading {
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

#gallery .gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  border: none;
  background: transparent;
  overflow: visible;
}

#gallery .gallery-photo-item {
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--surface);
  cursor: zoom-in;
  overflow: hidden;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.28s var(--ease-out);
}

#gallery .gallery-photo-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

#gallery .gallery-photo-item:first-child img {
  object-position: center 64%;
}

#gallery .gallery-photo-item:nth-child(6),
#gallery .gallery-photo-item:nth-child(7) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

#gallery .gallery-photo-item:hover {
  border-color: var(--primary);
  z-index: 1;
}

#gallery .gallery-photo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s var(--ease-out);
}

#gallery .gallery-photo-item:hover img {
  transform: scale(1.035);
}

#gallery .gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

#gallery .gallery-video-item {
  min-width: 0;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.24s var(--ease-out);
}

#gallery .gallery-video-item:hover {
  border-color: var(--border);
}

#gallery .gallery-video-item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.gallery-video-caption {
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-lightbox {
  padding: 0;
  border: none;
  max-width: min(96vw, 1100px);
  width: 100%;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(8, 6, 4, 0.88);
}

.gallery-lightbox-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.gallery-lightbox-figure {
  margin: 0;
  min-width: 0;
}

.gallery-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 720px);
  width: auto;
  height: auto;
  margin: 0 auto;
  transition: opacity 0.22s var(--ease-out);
}

.gallery-lightbox-figure img.is-switching {
  opacity: 0;
}

.gallery-lightbox-figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-soft);
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-nav {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-mono);
  cursor: pointer;
}

.gallery-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-lightbox-nav:hover:not(:disabled),
.gallery-lightbox-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.involve-form.form-grid {
  grid-template-columns: 1fr;
}

.form-fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.form-fieldset legend {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
  padding: 0;
}

.field-required {
  text-transform: lowercase;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--accent-warm);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

.checkbox-option,
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  cursor: pointer;
}

.checkbox-option input,
.radio-option input {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.chapter-tracker-wrap {
  margin-bottom: 2.5rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--surface);
}

.chapter-tracker {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.chapter-tracker thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.chapter-tracker tbody th,
.chapter-tracker tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px dashed var(--border-subtle);
  vertical-align: middle;
}

.chapter-tracker tbody tr:last-child th,
.chapter-tracker tbody tr:last-child td {
  border-bottom: none;
}

.chapter-tracker-name {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
  font-style: italic;
  text-align: left;
}

.chapter-tracker-location {
  color: var(--text-soft);
}

.chapter-tracker-status {
  width: 11rem;
}

.chapter-coverage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.chapter-coverage--tabs {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  grid-template-columns: none;
}

.chapter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding-bottom: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.chapter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 -1px;
  padding: 0.65rem 0.15rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
}

.chapter-tab:hover {
  border-bottom-color: var(--border);
  color: var(--text);
}

.chapter-tab.is-active {
  border-bottom-color: var(--primary);
  background: transparent;
  color: var(--text);
}

.chapter-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.chapter-tab-count {
  min-width: 1.15rem;
  padding: 0.05rem 0.25rem;
  border: none;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--primary);
  text-align: center;
}

.chapter-tab.is-active .chapter-tab-count {
  border-color: transparent;
}

.chapter-panels {
  min-height: 0;
}

.chapter-panel {
  border: none;
  background: transparent;
  padding: 1.25rem 0 0;
}

.chapter-panel[hidden] {
  display: none;
}

.chapter-coverage-block {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.35rem 1.5rem;
}

.chapter-coverage-state {
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--text);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.chapter-coverage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.chapter-coverage--tabs .chapter-coverage-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.chapter-coverage-list li,
.chapter-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.chapter-coverage--tabs .chapter-card {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--border-subtle);
  border-bottom-color: var(--border-subtle);
  background: var(--bg-elevated);
  min-height: 100%;
}

.chapter-card--map {
  cursor: pointer;
  transition: border-color 0.24s var(--ease-out), background-color 0.24s var(--ease-out);
}

.chapter-card--map:hover,
.chapter-card--map:focus-visible,
.chapter-card.is-selected {
  border-color: var(--primary);
  background: var(--surface);
  outline: none;
}

.chapter-entry {
  min-width: 0;
  flex: 1;
}

.chapter-coverage-list li:last-child {
  border-bottom: none;
}

.chapter-coverage--tabs .chapter-card:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.chapter-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.chapter-sub {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}

.chapter-sub-school,
.chapter-sub-place,
.chapter-sub-line,
.chapter-sub-president,
.chapter-sub-note {
  display: block;
  line-height: 1.35;
}

.chapter-sub-president {
  font-style: normal;
  color: var(--text-soft);
}

.chapter-sub-note {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.chapter-status {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0;
}

.chapter-status.is-active {
  color: var(--chapter-active);
  border-color: var(--chapter-active-border);
  background: var(--chapter-active-bg);
}

.chapter-status.is-established {
  color: var(--chapter-established);
  border-color: var(--chapter-established-border);
  background: var(--chapter-established-bg);
}

.chapter-status.is-pending {
  color: var(--chapter-in-progress);
  border-color: var(--chapter-in-progress-border);
  background: var(--chapter-in-progress-bg);
}

.chapter-apply-row {
  padding-top: 2rem;
  border-top: 2px solid var(--text);
}

.location-map-block {
  margin-top: 1.25rem;
}

.location-map-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.location-map {
  height: 18rem;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 0 0 1.25rem;
  z-index: 1;
}

.leaflet-tooltip.map-pin-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  padding: 0.15rem 0.35rem;
  white-space: nowrap;
}

.leaflet-tooltip.map-pin-label::before {
  display: none;
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

html.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s var(--ease-out), transform 0.38s var(--ease-out);
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s var(--ease-out), transform 0.38s var(--ease-out);
}

html.js-reveal .reveal:not(.is-visible) .mission-pillar,
html.js-reveal .reveal:not(.is-visible) .stat,
html.js-reveal .reveal:not(.is-visible) .leadership-card,
html.js-reveal .reveal:not(.is-visible) .gallery-photo-item,
html.js-reveal .reveal:not(.is-visible) .proof-list li {
  opacity: 0;
  transform: translateY(10px);
}

html.js-reveal .reveal.is-visible .mission-pillar,
html.js-reveal .reveal.is-visible .stat,
html.js-reveal .reveal.is-visible .leadership-card,
html.js-reveal .reveal.is-visible .gallery-photo-item,
html.js-reveal .reveal.is-visible .proof-list li {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.36s var(--ease-out), transform 0.36s var(--ease-out);
}

html.js-reveal .reveal.is-visible .mission-pillar:nth-child(2),
html.js-reveal .reveal.is-visible .stat:nth-child(2),
html.js-reveal .reveal.is-visible .leadership-card:nth-child(2),
html.js-reveal .reveal.is-visible .gallery-photo-item:nth-child(2),
html.js-reveal .reveal.is-visible .proof-list li:nth-child(2) {
  transition-delay: 50ms;
}

html.js-reveal .reveal.is-visible .mission-pillar:nth-child(3),
html.js-reveal .reveal.is-visible .stat:nth-child(3),
html.js-reveal .reveal.is-visible .leadership-card:nth-child(3),
html.js-reveal .reveal.is-visible .gallery-photo-item:nth-child(3),
html.js-reveal .reveal.is-visible .proof-list li:nth-child(3) {
  transition-delay: 100ms;
}

html.js-reveal .reveal.is-visible .stat:nth-child(4),
html.js-reveal .reveal.is-visible .leadership-card:nth-child(4),
html.js-reveal .reveal.is-visible .gallery-photo-item:nth-child(4) {
  transition-delay: 150ms;
}

html.js-reveal .reveal.is-visible .leadership-card:nth-child(5),
html.js-reveal .reveal.is-visible .gallery-photo-item:nth-child(5) {
  transition-delay: 190ms;
}

html.js-reveal .reveal.is-visible .leadership-card:nth-child(6),
html.js-reveal .reveal.is-visible .gallery-photo-item:nth-child(6),
html.js-reveal .reveal.is-visible .gallery-photo-item:nth-child(7) {
  transition-delay: 230ms;
}

/* Sticky form intro on desktop */
@media (min-width: 981px) {
  .booking-copy,
  #join .split > div:first-child,
  .chapter-apply-row > div:first-child {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
  }
}

/* Footer */
.footer {
  padding: 2.5rem 0 3rem;
  background: var(--bg);
  border-top: 2px solid var(--text);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.footer-clef {
  flex: 0 0 auto;
  display: block;
  width: clamp(2.75rem, 5vw, 3.5rem);
  height: clamp(4.4rem, 8vw, 5.35rem);
  object-fit: contain;
  object-position: center;
}

.footer-text-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.15rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  color: var(--text);
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text-soft);
}

.footer-meta {
  margin: 0;
  padding-left: calc(clamp(2.75rem, 5vw, 3.5rem) + 0.95rem);
  font-size: 0.95rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer a[href^="mailto:"] {
  color: var(--primary);
  border-bottom: 1px solid var(--link-underline);
}

.footer a:hover {
  color: var(--primary);
}

.footer a[href^="mailto:"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Dialog */
dialog {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
  max-width: 440px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

dialog[open] {
  animation: dialog-enter 0.24s var(--ease-out);
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

dialog::backdrop {
  background: var(--dialog-backdrop);
}

/* Responsive */
@media (max-width: 980px) {
  .split,
  .mission-pillars,
  .mission-panels,
  .section-row,
  .booking-layout,
  .section-header-inline,
  .chapter-coverage,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .chapter-coverage--tabs .chapter-coverage-list {
    grid-template-columns: 1fr;
  }

  #gallery .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #gallery .gallery-photo-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }

  #gallery .gallery-photo-item:nth-child(6),
  #gallery .gallery-photo-item:nth-child(7) {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  #gallery .gallery-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-pillar,
  .mission-pillar:not(:first-child) {
    padding: 1.5rem 0;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mission-pillar:last-child {
    border-bottom: none;
  }

  .mission-panel + .mission-panel {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 1.75rem;
  }

  .proof-list {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .card-grid.three,
  .stats-grid,
  .ledger-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 1.35rem 1rem;
  }

  .stat:first-child {
    padding-left: 1rem;
  }

  .stat:nth-child(2n) {
    border-right: none;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--border-subtle);
  }

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

@media (max-width: 700px) {
  :root {
    --nav-height: 4rem;
    --nav-height-scrolled: 3.75rem;
  }

  .nav-wrap {
    justify-content: center;
    width: 100%;
  }

  .nav {
    position: static;
  }

  .nav-links {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    transform: none;
    padding: 0.75rem 1rem 1rem;
    border-left: none;
    border-right: none;
    background: var(--topbar-bg);
  }

  .topbar.is-nav-open .nav-links {
    animation: none;
  }

  .nav-links a {
    padding: 0.85rem 0.35rem;
    font-size: 0.78rem;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: 0;
    padding: 0;
  }

  .hero-media {
    max-height: min(56vw, 17rem);
    aspect-ratio: 16 / 10;
  }

  .hero-media-img {
    opacity: 1;
    filter: none;
    object-position: center 64%;
  }

  .hero-stage {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.15rem;
    text-align: left;
    padding: 1.65rem 1.25rem 2.25rem;
  }

  .hero-brand {
    width: auto;
    display: inline-flex;
    justify-content: flex-start;
  }

  .hero-logo {
    height: auto;
    width: auto;
    max-width: min(132px, 38vw);
    max-height: 4rem;
    min-height: 0;
    margin-inline: 0;
  }

  .hero-main {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
  }

  .hero-established {
    margin-bottom: 0.65rem;
    text-align: left;
  }

  .hero-title {
    margin-bottom: 0.65rem;
    font-size: clamp(2rem, 9vw, 2.65rem);
    text-align: left;
    align-items: flex-start;
  }

  .hero-title-line {
    display: block;
  }

  .lead {
    font-size: 1rem;
    max-width: 28rem;
    margin-inline: 0;
    line-height: 1.52;
    text-align: left;
  }

  .hero-actions {
    margin-top: 1.25rem;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .proof-list li {
    gap: 0.25rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .card-grid.three,
  .stats-grid,
  .ledger-stats {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:first-child,
  .stat:last-child {
    padding: 1.25rem 0;
    border-right: none;
    border-top: 1px solid var(--border-subtle);
  }

  .stat:first-child {
    border-top: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .chapter-tracker-wrap {
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
  }

  .chapter-tracker tbody th,
  .chapter-tracker tbody td {
    padding: 0.75rem 0.85rem;
  }

  .partner-rows {
    gap: 2rem;
  }

  .partner-row .partner-wheel {
    overflow: hidden;
  }

  .partner-wheel.is-ready .partner-wheel-track,
  .partner-wheel.is-static .partner-wheel-track {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    animation: none;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0;
    transform: none !important;
    will-change: auto;
  }

  .partner-wheel.is-static .partner-wheel-group,
  .partner-wheel.is-ready .partner-wheel-group {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    gap: 0.85rem;
    padding: 0;
  }

  .partner-wheel-group[aria-hidden="true"] {
    display: none !important;
  }

  .partner-wheel-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .partner-wheel-item__logo {
    max-height: 3.75rem;
  }

  .chapter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    padding-bottom: 0.75rem;
  }

  .chapter-tab {
    flex: 0 0 auto;
    padding: 0.5rem 0.65rem;
  }

  .chapter-coverage--tabs .chapter-coverage-list {
    grid-template-columns: 1fr;
  }

  .chapter-coverage-list li,
  .chapter-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .join-actions .btn {
    width: 100%;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .concert-calendar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0.85rem 0.6rem 1rem;
  }

  .calendar-header {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .calendar-month-label {
    font-size: 1.05rem;
    text-align: center;
  }

  .calendar-nav {
    width: 2rem;
    height: 2rem;
  }

  .calendar-grid,
  .calendar-weekdays {
    min-width: 0;
    width: 100%;
    gap: 0.2rem;
  }

  .calendar-weekdays span {
    font-size: 0.5rem;
    letter-spacing: 0.02em;
  }

  .calendar-day {
    min-height: 2.65rem;
    padding: 0.2rem 0.12rem;
    overflow: hidden;
  }

  .calendar-day-num {
    font-size: 0.55rem;
  }

  .calendar-day-events {
    margin-top: 0.15rem;
    gap: 0.1rem;
  }

  .calendar-event-btn {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 0.15rem;
  }

  .calendar-event-note {
    width: 0.55rem;
    height: 0.75rem;
    margin-top: 0.05rem;
  }

  .calendar-event-time {
    display: none;
  }

  .calendar-event-name {
    font-size: 0.48rem;
    line-height: 1.15;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #gallery .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  #gallery .gallery-photo-item:first-child {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }

  #gallery .gallery-video-grid {
    grid-template-columns: 1fr;
  }

  #gallery .gallery-videos-block {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .gallery-lightbox-inner {
    grid-template-columns: 1fr;
    padding-top: 2.75rem;
  }

  .gallery-lightbox-nav {
    display: none;
  }

  .footer-wrap {
    align-items: flex-start;
  }

  .footer-clef {
    width: 2.65rem;
    height: 4.5rem;
  }

  .footer-meta {
    padding-left: calc(2.65rem + 0.95rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js-reveal .reveal:not(.is-visible),
  html.js-reveal .reveal.is-visible,
  .reveal,
  html.js-reveal .reveal .mission-pillar,
  html.js-reveal .reveal .stat,
  html.js-reveal .reveal .leadership-card,
  html.js-reveal .reveal .gallery-photo-item,
  html.js-reveal .reveal .proof-list li {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms !important;
  }

  .partner-wheel.is-ready .partner-wheel-track,
  .topbar.is-nav-open .nav-links,
  dialog[open] {
    animation: none;
  }

  .btn-primary:hover .btn-glyph,
  .partner-wheel-item:hover,
  .partner-wheel-item:hover .partner-visit::after,
  .nav-links a:hover,
  .proof-list li:hover,
  .hero:hover .hero-media-img,
  .leadership-card:hover .leadership-photo img,
  #gallery .gallery-photo-item:hover img,
  .btn:active,
  .nav-menu-toggle:active,
  .nav a.nav-cta:active {
    transform: none;
  }
}

/* Subpages + trust UX */
.prose-width {
  max-width: 40rem;
}

.subpage {
  padding-top: calc(var(--nav-height) + 1.5rem);
}

.subpage-topbar .nav-wrap {
  justify-content: space-between;
}

.subpage-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.subpage-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.subpage-nav a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
}

.subpage-nav a:hover {
  color: var(--primary);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.promise-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-list details {
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
}

.story-card {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.story-card h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.35rem;
}

.map-embed {
  margin: 1rem 0;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-links--rich {
  gap: 0.85rem 1.25rem;
  max-width: 28rem;
  justify-content: flex-end;
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  gap: 0.65rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--topbar-bg);
  border-top: 1px solid var(--border-subtle);
}

.sticky-mobile-cta .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
}

@media (max-width: 720px) {
  .sticky-mobile-cta:not([hidden]) {
    display: flex;
  }

  body:has(.sticky-mobile-cta:not([hidden])) {
    padding-bottom: 4.75rem;
  }

  .footer-links--rich {
    justify-content: flex-start;
    max-width: none;
  }
}

.analytics-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.analytics-consent p {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.analytics-consent-actions {
  display: flex;
  gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-mobile-cta,
  .analytics-consent {
    backdrop-filter: none;
  }
}

/* ==========================================================================
   Conservatory Editorial Layout Layer
   ========================================================================== */

/* Masthead Navigation */
.topbar .nav-wrap {
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-mark {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--text);
}

@media (min-width: 1024px) {
  .nav-menu-toggle {
    display: none;
  }

  .nav {
    gap: 1.25rem;
  }

  .nav-links,
  .nav-links[hidden] {
    display: flex;
    position: static;
    transform: none;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    font-size: 0.64rem;
    letter-spacing: 0.11em;
    color: var(--text-soft);
  }

  .nav-links a:hover {
    background: transparent;
    color: var(--primary);
    border-bottom-color: var(--primary);
    transform: none;
  }

  .nav-links a.nav-link-secondary {
    display: none;
  }
}

/* Hero — Overlapping Programme Stage */
.hero-media-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  padding: 0.4rem 0.7rem;
  background: rgba(11, 9, 7, 0.82);
  border: 1px solid rgba(201, 168, 74, 0.28);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ebe3d2;
}

@media (min-width: 901px) {
  .hero {
    min-height: min(88vh, 48rem);
  }

  .hero-media {
    flex: 1 1 60%;
    min-height: min(88vh, 48rem);
  }

  .hero-stage {
    flex: 1 1 40%;
    padding: clamp(3rem, 6vh, 4.5rem) clamp(2rem, 4.5vw, 3.75rem) clamp(3rem, 6vh, 4.5rem) clamp(1.75rem, 3.5vw, 3rem);
  }
}

/* Mission — 12-Column Asymmetric Manifesto */
.mission-editorial {
  display: grid;
  grid-template-columns: minmax(250px, 340px) 1fr;
  gap: 3.5rem;
  align-items: start;
}

.mission-rail {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.mission-rail .mission-header {
  margin-bottom: 0;
}

.mission-rail .mission-panel-highlight {
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}

.mission-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0;
}

.mission-feature-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}

.mission-feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 72%;
  transition: transform 0.42s var(--ease-out);
}

.mission-feature-photo:hover img {
  transform: scale(1.025);
}

.mission-feature-photo figcaption {
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.mission-editorial .mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border-subtle);
}

.mission-editorial .mission-pillar,
.mission-editorial .mission-pillar:not(:first-child) {
  display: grid;
  grid-template-columns: 3.25rem minmax(9rem, 11rem) 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-right: none;
  border-bottom: 1px solid var(--border-subtle);
}

.mission-editorial .mission-pillar:last-child {
  border-bottom: none;
}

.mission-editorial .movement-mark {
  margin: 0;
  font-size: 0.72rem;
}

.mission-editorial .mission-pillar h3 {
  margin: 0;
  font-size: 1.45rem;
}

.mission-what-we-do {
  padding-top: 0.25rem;
}

/* Calendar — Split Season Programme */
.calendar-editorial {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 3rem;
  align-items: start;
}

.calendar-rail .section-header {
  margin-bottom: 1.5rem;
}

.calendar-rail-cta {
  margin: 0;
}

.calendar-editorial .concert-calendar {
  margin-top: 0;
}

@media (min-width: 981px) {
  .mission-rail,
  .calendar-rail {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
  }
}

/* Partners — Static Editorial Grids + Side-by-Side Map */
.partner-venues-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.partner-venues-split .location-map-block {
  margin-top: 0;
}

.partner-venues-split .location-map {
  height: 29rem;
  margin-bottom: 0;
}

@media (min-width: 981px) {
  .partner-venues-split .location-map-block {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
  }
}

.partner-wheel.is-static {
  overflow: visible;
}

.partner-wheel.is-static .partner-wheel-track {
  display: block;
  width: 100%;
  padding: 0;
}

.partner-row--venues .partner-wheel.is-static .partner-wheel-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
}

.partner-row--orgs .partner-wheel.is-static .partner-wheel-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  padding: 0;
}

.partner-wheel.is-static .partner-wheel-item {
  width: 100%;
}

.leadership-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.65rem;
}

@media (max-width: 980px) {
  .mission-editorial,
  .calendar-editorial,
  .partner-venues-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .partner-row--orgs .partner-wheel.is-static .partner-wheel-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .mission-editorial .mission-pillar,
  .mission-editorial .mission-pillar:not(:first-child) {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .partner-row--venues .partner-wheel.is-static .partner-wheel-group,
  .partner-row--orgs .partner-wheel.is-static .partner-wheel-group,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .partner-venues-split .location-map {
    height: 19rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mission-feature-photo:hover img {
    transform: none;
  }
}
