/* ==========================================================================
   Simon Berg – Klassisch-elegantes Design-System
   ========================================================================== */

:root {
  /* Farbpalette: Warme Naturtöne & tiefes Bühnengrün */
  --bg-ivory: #faf8f4;
  --bg-sand: #f2ede3;
  --bg-card: #ffffff;
  --bg-forest: #1b312b;
  --bg-forest-soft: #254038;

  --text-ink: #1e2320;
  --text-muted: #59605b;
  --text-light: #f6f3ec;
  --text-light-muted: #cfc9bc;

  --accent-gold: #b0843f;
  --accent-gold-hover: #966e31;
  --accent-gold-soft: rgba(176, 132, 63, 0.12);

  --border-subtle: #e5dfd2;
  --border-strong: #d3cab9;

  /* Typografie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Abstände & Radien */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(27, 49, 43, 0.05);
  --shadow-md: 0 12px 32px rgba(27, 49, 43, 0.08);
  --shadow-lg: 0 24px 48px rgba(27, 49, 43, 0.14);

  --nav-height: 76px;
  --container-max: 1180px;
  --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Basis */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-ink);
  background-color: var(--bg-ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Barrierefreiheit: Skip-Link & Fokus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-forest);
  color: var(--text-light);
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section--sand {
  background-color: var(--bg-sand);
}

.section--forest {
  background-color: var(--bg-forest);
  color: var(--text-light);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.section--forest .eyebrow {
  color: #d6b170;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.section--forest .lead {
  color: var(--text-light-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--accent-gold);
  color: #ffffff;
}
.btn--primary:hover {
  background-color: var(--accent-gold-hover);
  box-shadow: 0 8px 20px rgba(176, 132, 63, 0.28);
}

.btn--outline-light {
  border-color: rgba(246, 243, 236, 0.45);
  color: var(--text-light);
  background: transparent;
}
.btn--outline-light:hover {
  border-color: var(--text-light);
  background: rgba(246, 243, 236, 0.1);
}

.btn--outline-dark {
  border-color: var(--border-strong);
  color: var(--text-ink);
  background: transparent;
}
.btn--outline-dark:hover {
  border-color: var(--bg-forest);
  background: var(--bg-forest);
  color: var(--text-light);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-forest);
  color: #d6b170;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-ink);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-ink);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1.2rem !important;
  background-color: var(--bg-forest);
  color: var(--text-light) !important;
  border-radius: var(--radius-pill);
}
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background-color: var(--bg-forest-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  color: var(--text-ink);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background-color: var(--bg-forest);
  color: var(--text-light);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(176, 132, 63, 0.16), transparent 48%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.hero-roles {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d6b170;
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: #e4c78f;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-light-muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(246, 243, 236, 0.14);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-light);
  font-weight: 600;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.hero-media {
  position: relative;
}

.hero-portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(246, 243, 236, 0.16);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background-color: var(--bg-forest-soft);
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(27, 49, 43, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 243, 236, 0.16);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   3-Säulen Übersicht
   ========================================================================== */
.pillars {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.pillar-card h3 {
  margin-bottom: 0.45rem;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.pillar-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-forest);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pillar-link:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   Über mich
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

.bio-prose p {
  margin: 0 0 1.25rem;
  color: var(--text-ink);
}

.about-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.station-box {
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.station-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.station-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.station-list li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
}

.station-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

/* ==========================================================================
   Resonanzlehre
   ========================================================================== */
.resonance-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.quote-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent-gold);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--bg-forest);
}

.resonance-art {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  max-height: 320px;
}

.resonance-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold-hover);
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.card p:last-child {
  margin-bottom: 0;
}

.benefits-box {
  margin-top: 2rem;
  background: var(--bg-forest);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.benefits-box h3 {
  color: #e4c78f;
  margin-bottom: 1.25rem;
}

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

.benefit-item strong {
  display: block;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.benefit-item span {
  font-size: 0.92rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Dirigent & Pianist / Projekte
   ========================================================================== */
.ensemble-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ensemble-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ensemble-media {
  height: 185px;
  background: linear-gradient(135deg, var(--bg-sand) 0%, #eae2d3 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ensemble-media img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.ensemble-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-forest) 0%, #2d4e45 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e4c78f;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.ensemble-placeholder span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
}

.ensemble-body {
  padding: 1.75rem;
  flex: 1;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold-hover);
  background: var(--accent-gold-soft);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.ensemble-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}
.ensemble-body p:last-child {
  margin-bottom: 0;
}

.projects-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.projects-feature img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

/* ==========================================================================
   Termine & Hörproben
   ========================================================================== */
.events-audio-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 114px 1fr;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.event-date {
  background: var(--bg-sand);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.6rem;
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.event-date strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bg-forest);
  line-height: 1.1;
}

.event-date span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold-hover);
  font-weight: 600;
}

.event-info h4 {
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}

.event-info p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.audio-panel {
  background: var(--bg-forest);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.audio-panel h3 {
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.audio-panel > p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.track-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.track-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
}

.track-meta span {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.track-btn {
  background: var(--accent-gold);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.track-btn:hover {
  background: var(--accent-gold-hover);
}

.audio-note {
  margin-top: 1.15rem;
  font-size: 0.82rem;
  color: var(--text-light-muted);
  opacity: 0.9;
}

/* ==========================================================================
   Kontakt & Karte
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.contact-details strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--bg-forest);
  font-weight: 600;
}
.contact-details a:hover {
  color: var(--accent-gold);
}

.map-privacy-box {
  margin-top: 1.5rem;
  background: var(--bg-sand);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.map-privacy-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.map-frame {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
}

/* Formular */
.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-ink);
  background: var(--bg-ivory);
  transition: border-color var(--transition), background-color var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #ffffff;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.checkbox-field input {
  margin-top: 0.25rem;
}

.checkbox-field a {
  color: var(--bg-forest);
  text-decoration: underline;
}

.form-status {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.is-visible {
  display: block;
  background: rgba(27, 49, 43, 0.08);
  border: 1px solid var(--bg-forest);
  color: var(--bg-forest);
}

/* ==========================================================================
   Footer & Modals (Impressum / Datenschutz)
   ========================================================================== */
.site-footer {
  background: var(--bg-forest);
  color: var(--text-light-muted);
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

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

.footer-links a,
.footer-links button {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text-light);
  text-decoration: underline;
}

dialog.legal-modal {
  max-width: 720px;
  width: calc(100% - 2rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--bg-ivory);
  color: var(--text-ink);
  box-shadow: var(--shadow-lg);
}

dialog.legal-modal::backdrop {
  background: rgba(27, 49, 43, 0.65);
  backdrop-filter: blur(4px);
}

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

.modal-close {
  background: var(--bg-sand);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .resonance-intro,
  .projects-feature,
  .events-audio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    position: static;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-ivory);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.65rem 0.25rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.75rem 0;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-highlights,
  .benefits-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .event-item {
    grid-template-columns: 1fr;
  }

  .brand-sub {
    display: none;
  }
}
