/* ============================================================
   Michigan Piano Project — Main Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Backgrounds */
  --bg-primary: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-alt: #EAEAE8;
  --bg-dark: #2A2A2A;

  /* Accent — Coral */
  --accent: #FD5A55;
  --accent-hover: #E5403B;
  --accent-light: #FFF0EF;

  /* Secondary accents */
  --sage: #A4C380;
  --sage-light: #F3F8ED;
  --violet: #7266A8;
  --violet-light: #E2DDEF;

  /* Text */
  --text: #2A2A2A;
  --text-light: #6B7280;
  --text-white: #FFFFFF;

  /* Special */
  --gold: #F5BF2A;
  --gold-light: #FFFAEB;
  --border: #E5E7EB;
  --success: #A4C380;
  --heart: #FD5A55;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1200px;
  --card-padding: 2rem;
  --gap: 2rem;

  /* Misc */
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: 0.2s ease;
}

/* ------------------------------------------------------------
   2. CSS RESET & BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 72px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a[href^="mailto:"]:not(.btn):not(.social-link) {
  color: var(--accent);
}

a[href^="mailto:"]:not(.btn):not(.social-link):hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

small,
.text-sm {
  font-size: 0.875rem;
}

/* ------------------------------------------------------------
   4. UTILITY CLASSES
   ------------------------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   5. SKIP LINK
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background-color: var(--bg-white);
  color: var(--accent);
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-white);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  background-color: var(--accent);
  color: var(--text-white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-donate:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------------
   7. NAVIGATION
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: var(--bg-white);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.nav-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color var(--transition);
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-donate-btn {
  background-color: var(--accent);
  color: var(--text-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600 !important;
  text-decoration: none;
}

.nav-donate-btn::after {
  display: none !important;
}

.nav-donate-btn:hover {
  background-color: var(--accent-hover);
  color: var(--text-white) !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* X animation for active hamburger */
.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ------------------------------------------------------------
   8. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  background:
    linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-white) 50%, var(--bg-primary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 250, 250, 0.7) 0%,
    rgba(250, 250, 250, 0.5) 40%,
    rgba(250, 250, 250, 0.7) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-heading {
  margin-bottom: 1.25rem;
}

.hero-heading span {
  color: var(--accent);
}

.hero-subtext {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   9. GENERIC SECTIONS
   ------------------------------------------------------------ */
.section {
  padding: var(--section-padding);
}

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

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

.section-heading {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

.section-subtext {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Accent-tinted section backgrounds */
.section--sage    { background-color: var(--sage-light); }
.section--violet  { background-color: var(--violet-light); }
.section--gold    { background-color: var(--gold-light); }
.section--coral   { background-color: var(--accent-light); }

/* ------------------------------------------------------------
   10. HOW IT WORKS — JOURNEY TIMELINE
   ------------------------------------------------------------ */
.journey-timeline {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  padding-left: 28px;
}

.journey-track {
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--border);
  border-radius: 3px;
}

.journey-track-fill {
  width: 100%;
  height: 0%;
  background: var(--border);
  border-radius: 3px;
  transition: height 0.1s linear;
}

.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  position: relative;
}

.journey-dot {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.journey-desc {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0.15rem 0 0;
}

/* ------------------------------------------------------------
   11. IMPACT METRICS
   ------------------------------------------------------------ */
.impact-strip {
  padding: 3rem 0;
  background-color: var(--gold);
  color: var(--text);
}

.impact-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metrics-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-body);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* ------------------------------------------------------------
   12. LOCATION CARDS
   ------------------------------------------------------------ */
#locations-map {
  position: relative;
  z-index: 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.location-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  padding: var(--card-padding);
}

.location-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.location-card--coming-soon {
  border-style: dashed;
  opacity: 0.85;
}

.location-info {
  padding: var(--card-padding);
}

.location-name {
  margin-bottom: 0.5rem;
}

.location-city {
  color: var(--text-light);
  font-size: 0.95rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.status-active {
  background-color: rgba(5, 150, 105, 0.1);
  color: var(--success);
}

.status-coming-soon {
  background-color: var(--gold-light);
  color: var(--gold);
}

/* ------------------------------------------------------------
   13. PARTNERSHIPS / SCENARIOS
   ------------------------------------------------------------ */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.scenario-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.scenario-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  margin-bottom: 0;
}

.scenario-icon svg {
  width: 28px;
  height: 28px;
}

.scenario-icon--sage   { background-color: var(--sage-light); color: var(--sage); }
.scenario-icon--violet { background-color: var(--violet-light); color: var(--violet); }
.scenario-icon--gold   { background-color: var(--gold-light); color: var(--gold); }

.scenario-text {
  flex: 1;
}

.scenario-title {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.scenario-description {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0;
}

/* ------------------------------------------------------------
   14. GALLERY
   ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  box-shadow: 0 8px 24px rgba(114, 102, 168, 0.2);
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-grid--2x3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 2001;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-light);
  font-style: italic;
}

/* Gallery scroll hint — right edge fade on mobile */
.gallery-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .gallery-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    opacity: 0.6;
  }

  .gallery-note {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
}

/* ------------------------------------------------------------
   15. GET INVOLVED
   ------------------------------------------------------------ */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.involve-grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin: 0 auto;
}

.involve-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.involve-description {
  flex: 1;
}

.involve-card::after {
  content: '\2192';
  display: block;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.involve-card--gold::after { color: var(--gold); }
.involve-card--sage::after { color: var(--sage); }
.involve-card--violet::after { color: var(--violet); }

.involve-card:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

.involve-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--accent);
}

.involve-icon {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
}

.involve-icon svg {
  width: 32px;
  height: 32px;
}

.involve-title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.involve-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.involve-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  transition: gap var(--transition);
}

.involve-link:hover {
  gap: 0.625rem;
}

/* Involve card color variants */
.involve-card--sage:hover   { border-left-color: var(--sage); }
.involve-card--violet:hover { border-left-color: var(--violet); }
.involve-card--gold:hover   { border-left-color: var(--gold); }
.involve-card--sage .involve-link   { color: var(--sage); }
.involve-card--violet .involve-link { color: var(--violet); }
.involve-card--gold .involve-link   { color: var(--gold); }

/* ------------------------------------------------------------
   16. DONATION PROMPT
   ------------------------------------------------------------ */
.donate-prompt {
  padding: var(--section-padding);
  background-color: var(--gold-light);
  text-align: center;
}

.donate-heading {
  margin-bottom: 1rem;
}

.donate-text {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.donate-legal {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

/* Donate step color variants */
.donate-step--sage   { border-left-color: var(--sage); }
.donate-step--violet { border-left-color: var(--violet); }
.donate-step--gold   { border-left-color: var(--gold); }
.donate-step--sage .donate-step-label   { color: var(--sage); }
.donate-step--violet .donate-step-label { color: var(--violet); }
.donate-step--gold .donate-step-label   { color: var(--gold); }

/* Pipeline step number color variants (how-it-works) */
.pipeline-step-number--sage   { color: var(--sage); }
.pipeline-step-number--violet { color: var(--violet); }
.pipeline-step-number--gold   { color: var(--gold); }

/* Placement icon color variants */
.placement-icon--sage   { color: var(--sage); }
.placement-icon--violet { color: var(--violet); }
.placement-icon--gold   { color: var(--gold); }

/* ------------------------------------------------------------
   17. FAQ ACCORDION
   ------------------------------------------------------------ */
.faq-list {
  /* wrapper — no special styles needed */
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

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

.faq-question::marker {
  display: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 1.5rem 0;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}

/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-centered {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-brand-center {
  margin-bottom: 1.5rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.5rem auto;
  max-width: 400px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.5rem 2rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.footer-links-grid a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links-grid a:hover {
  color: var(--text-white);
}

.footer-address-center {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-address-center a {
  color: var(--accent);
  transition: color var(--transition);
}

.footer-address-center a:hover {
  color: var(--accent-hover);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 3rem;
}

.footer-col {
  /* column wrapper */
}

.footer-heading {
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background-color: var(--accent);
  color: var(--text-white);
}

.contact-social .social-link {
  color: var(--accent);
  background-color: rgba(253, 90, 85, 0.1);
}

.contact-social .social-link:hover {
  background-color: var(--accent);
  color: var(--text-white);
}

.footer-links {
  list-style: none;
}

.footer-links a {
  display: block;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.footer-address {
  font-style: normal;
}

.footer-address a {
  color: var(--accent);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

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

.footer-legal a {
  color: inherit;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--text-white);
}

.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer-bottom .heart {
  color: var(--heart);
}

/* ------------------------------------------------------------
   19. LINK ARROW
   ------------------------------------------------------------ */
.link-arrow {
  color: var(--accent);
  font-weight: 600;
  transition: text-decoration var(--transition);
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   20. ANIMATIONS
   ------------------------------------------------------------ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ------------------------------------------------------------
   21. FORMS (subpages)
   ------------------------------------------------------------ */
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-light);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.field-error {
  border-color: var(--heart) !important;
}

/* ------------------------------------------------------------
   22. FOUNDER / TEAM (about page)
   ------------------------------------------------------------ */
.founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--border);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card {
  text-align: center;
}

.team-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-card .team-title {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.team-card .team-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.team-card--placeholder .team-name {
  color: var(--text-light);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.story-content p + p {
  margin-top: 1rem;
}

/* --- Location Detail Cards (locations page) --- */
.locations-detail-grid {
  display: grid;
  gap: 1rem;
}

.location-detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.location-detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.location-detail-card--coming-soon {
  border-style: dashed;
  opacity: 0.85;
}

.location-detail-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.location-detail-header .location-name {
  margin-bottom: 0;
}

.location-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

@media (min-width: 769px) {
  .locations-detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.press-content > div + div {
  margin-top: 2rem;
}

.press-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.press-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 320px;
    margin: 2rem auto 0;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .founder-photo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    border-width: 3px;
  }
  .team-card h3 {
    font-size: 1.05rem;
    line-height: 1.2;
    margin-bottom: 0.15rem;
  }
  .team-card .team-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
  .team-card .team-link {
    font-size: 0.85rem;
  }
  .team-photo-placeholder {
    width: 90px;
    height: 90px;
    margin-bottom: 0.75rem;
  }
  .team-photo-placeholder svg {
    width: 50px;
    height: 50px;
  }
}

/* ------------------------------------------------------------
   23. PAGE HERO (subpages)
   ------------------------------------------------------------ */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-white) 50%, var(--bg-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-heading {
  margin-bottom: 0.75rem;
}

.page-hero-subtext {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.6;
}

.page-hero--fuel {
  padding: 5rem 0 4rem;
}

.page-hero--fuel .hero-bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.page-hero--fuel .hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero--fuel .container {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------
   23. RESPONSIVE — TABLET (max-width: 1024px)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .section {
    padding: 4.5rem 0;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .journey-timeline {
    max-width: 100%;
  }

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

  .involve-grid,
  .involve-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .metrics-grid {
    gap: 2rem;
  }

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

/* ------------------------------------------------------------
   24. RESPONSIVE — MOBILE (max-width: 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 1.5rem;
    display: flex;
    align-items: center;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(250, 250, 250, 0.5) 0%,
      rgba(250, 250, 250, 0.35) 40%,
      rgba(250, 250, 250, 0.6) 100%
    );
  }

  .hero-bg-image img {
    opacity: 0.45;
  }

  .hero-subtext {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group .btn {
    padding: 1rem 2rem;
    font-size: 1.05rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .impact-strip {
    padding: 2.5rem 0;
  }

  .donate-prompt {
    padding: 2.5rem 0;
  }

  .site-footer {
    padding: 2.5rem 0 0;
  }

  .scenario-card {
    gap: 0.75rem;
  }

  .scenario-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .scenario-icon svg {
    width: 24px;
    height: 24px;
  }

  .section-heading {
    margin-bottom: 1rem;
    text-align: center;
  }

  .section-subtext {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }

  .involve-card {
    padding: 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Nav mobile */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1002;
  }

  /* Hamburger → X animation */
  .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Full-screen mobile nav overlay */
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-white);
    z-index: 1001;
    gap: 0;
    animation: navFadeIn 0.25s ease;
  }

  @keyframes navFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .nav-links.nav-open li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .nav-links.nav-open a {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: none;
    color: var(--text);
    transition: color 0.15s ease;
  }

  .nav-links.nav-open a:hover {
    color: var(--accent);
  }

  .nav-links.nav-open a::after {
    display: none;
  }

  .nav-links.nav-open .nav-donate-btn {
    display: inline-block;
    margin: 1.5rem auto 0;
    text-align: center;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    border-bottom: none;
  }

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

  /* Grids */
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 100%;
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .involve-grid,
  .involve-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: 100%;
  }

  .gallery-grid,
  .gallery-grid--2x3,
  .gallery-grid--3x3 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    scrollbar-width: none;
  }

  .gallery-grid::-webkit-scrollbar,
  .gallery-grid--2x3::-webkit-scrollbar,
  .gallery-grid--3x3::-webkit-scrollbar {
    display: none;
  }

  .gallery-grid .gallery-item,
  .gallery-grid--2x3 .gallery-item,
  .gallery-grid--3x3 .gallery-item {
    flex: 0 0 72vw;
    scroll-snap-align: center;
    aspect-ratio: 4 / 3;
    display: block !important;
  }

  #locations-map {
    height: 200px !important;
  }

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

  .metric-number {
    font-size: 2rem;
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .other-ways-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, auto);
    gap: 0.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

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

  /* Journey timeline — slightly larger on mobile for readability */
  .journey-label {
    font-size: 1rem;
  }
  .journey-desc {
    font-size: 0.9rem;
  }

  /* --- Mobile: Vertical animated journey timeline --- */
  .journey-track {
    background: var(--border);
  }

  .journey-track-fill {
    background: linear-gradient(180deg, var(--accent), var(--sage), var(--violet), var(--gold));
    transition: height 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .journey-timeline.journey-animated .journey-track-fill {
    height: 100%;
  }

  .journey-timeline {
    padding-left: 0;
    max-width: 340px;
    position: relative;
  }

  .journey-track {
    left: 18px;
    top: 12.5%;
    bottom: 12.5%;
    width: 3px;
  }

  .journey-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    min-height: 80px;
  }

  .journey-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
    margin: 0;
    margin-top: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .journey-step--final {
    min-height: 80px;
  }

  .journey-number {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-body);
    line-height: 1;
  }

  /* No scale animation on mobile — keep dots uniform size */
  .journey-timeline.journey-animated .journey-dot { transform: none; }

  /* --- Mobile: Map section white --- */
  #locations {
    background-color: var(--bg-white) !important;
  }

  /* --- Mobile: Why Communities Host Pianos gray + white cards --- */
  #partnerships {
    background-color: var(--bg-alt) !important;
  }

  #partnerships .scenario-card {
    background-color: var(--bg-white);
  }

  /* --- Mobile: Be Part of Our Story light gray + white cards --- */
  #get-involved {
    background-color: var(--bg-alt) !important;
  }

  #get-involved .involve-card {
    background-color: var(--bg-white);
  }

  /* --- Mobile: Involve cards smaller vertical size --- */
  .involve-card {
    padding: 0.75rem 1rem;
    gap: 0.25rem;
  }

  .involve-card .involve-icon {
    margin-bottom: 0;
  }

  /* --- Mobile: Donate-piano details section — no background, with spacing --- */
  #donate-piano-details {
    background-color: var(--bg-white) !important;
  }

  #donate-piano-details .donate-piano-grid {
    gap: 0 !important;
  }

  #what-we-look-for {
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 2.5rem;
  }

  /* --- Mobile: Boxed gray callouts on donation pages --- */
  #request-what-to-expect {
    background-color: var(--bg-white) !important;
  }
  #request-what-to-expect .container {
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
  }

  #donate-other-ways-give {
    background-color: var(--bg-white) !important;
  }
  #donate-other-ways-give .container {
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
  }

  #sponsor-benefits {
    background-color: var(--bg-white) !important;
  }
  #sponsor-benefits .container {
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
  }

  /* Gallery items all visible in horizontal scroll */

  /* --- Mobile: Better animations — subtler, faster --- */
  .animate-on-scroll {
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  /* --- Mobile: Touch feedback for interactive cards --- */
  .involve-card:active,
  .scenario-card:active,
  .other-ways-card:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  /* --- Mobile: Better form inputs — taller tap targets --- */
  input,
  select,
  textarea {
    padding: 0.875rem 1rem;
    font-size: 16px; /* prevents iOS zoom */
    border-radius: var(--radius-lg);
  }

  input:focus,
  select:focus,
  textarea:focus {
    box-shadow: 0 0 0 4px var(--accent-light);
  }

  /* --- Mobile: Page hero images stronger --- */
  .page-hero--fuel .hero-bg-image img {
    opacity: 0.4;
  }

  /* --- Mobile: Tighter section gaps --- */
  .section-heading {
    font-size: 1.65rem;
  }

  .section-subtext {
    font-size: 1rem;
  }

  /* --- Mobile: FAQ tighter --- */
  .faq-question {
    padding: 1.15rem 0;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 0 1.15rem;
  }

  /* --- Mobile: Compact footer --- */
  .footer-centered {
    margin-bottom: 1.25rem;
  }

  .footer-brand-center {
    margin-bottom: 1rem;
  }

  .footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .footer-divider {
    margin: 1rem auto;
  }

  .footer-address-center {
    font-size: 0.85rem;
  }

  .footer-address-center p {
    margin-bottom: 0.25rem;
  }

  .footer-bottom {
    padding: 1rem 0;
    gap: 0.25rem;
    font-size: 0.8rem;
  }

  /* --- Mobile: Subpage heroes — more breathing room --- */
  .page-hero {
    padding: 3rem 0 2.5rem;
  }

  .page-hero--fuel {
    padding: 3.5rem 0 3rem;
  }

  .page-hero-heading {
    font-size: 1.85rem;
  }

  .page-hero-subtext {
    font-size: 1rem;
  }

  /* --- Mobile: Location cards — proper card treatment --- */
  .location-detail-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .location-detail-card .location-name {
    font-size: 1.1rem;
  }

  .location-detail-card--coming-soon {
    border-style: dashed;
    opacity: 0.8;
  }

  /* --- Mobile: Form submit buttons — full width --- */
  .form-actions {
    margin-top: 0.5rem;
  }

  .form-actions .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
  }

  /* --- Mobile: "Other Ways to Support" cards — tighter --- */
  .other-ways-card {
    padding: 1.25rem;
  }

  .other-ways-card::after {
    display: none;
  }

}

/* ------------------------------------------------------------
   25. RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 65vh;
    padding: 2.5rem 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .impact-strip,
  .donate-prompt {
    padding: 2rem 0;
  }

  .metrics-grid {
    gap: 1.25rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .gallery-grid .gallery-item,
  .gallery-grid--2x3 .gallery-item,
  .gallery-grid--3x3 .gallery-item {
    flex: 0 0 80vw;
  }

  .metric-number {
    font-size: 2rem;
  }

  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .container,
  .container--narrow {
    padding: 0 1rem;
  }

  /* Nav overlay text even larger on small screens */
  .nav-links.nav-open a {
    font-size: 1.3rem;
    padding: 1.1rem;
  }

}

/* ------------------------------------------------------------
   26. DESKTOP LAYOUT ENHANCEMENTS
   ------------------------------------------------------------ */

/* --- Step number inside journey dots (all viewports) --- */
.journey-number {
  color: white;
  font-weight: 700;
  font-size: 0.7rem;
  font-family: var(--font-body);
  line-height: 1;
}

.journey-dot {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Desktop: Horizontal Journey Timeline --- */
@media (min-width: 769px) {
  .journey-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    padding-left: 0;
    position: relative;
  }

  /* Horizontal connector line behind dots */
  .journey-timeline::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: var(--border);
    z-index: 0;
  }

  /* Animated fill line */
  .journey-timeline::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--sage), var(--violet), var(--gold));
    z-index: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .journey-timeline.journey-animated::after {
    transform: scaleX(1);
  }

  .journey-track {
    display: none;
  }

  .journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
  }

  .journey-dot {
    width: 36px;
    height: 36px;
    min-width: 36px;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .journey-number {
    font-size: 0.85rem;
  }

  /* Dots animate in sequence (track is child 1, steps are 2-5) */
  .journey-timeline.journey-animated .journey-step:nth-child(2) .journey-dot { transform: scale(1.15); }
  .journey-timeline.journey-animated .journey-step:nth-child(3) .journey-dot { transform: scale(1.15); transition-delay: 0.3s; }
  .journey-timeline.journey-animated .journey-step:nth-child(4) .journey-dot { transform: scale(1.15); transition-delay: 0.6s; }
  .journey-timeline.journey-animated .journey-step:nth-child(5) .journey-dot { transform: scale(1.15); transition-delay: 0.9s; }

  .journey-step--final {
    margin-left: 0;
    background: none;
    padding: 0 1rem;
    border-radius: 0;
  }

  .journey-content {
    text-align: center;
  }

  .journey-label {
    font-size: 1.05rem;
  }

  .journey-desc {
    font-size: 0.85rem;
    max-width: 200px;
    margin: 0.15rem auto 0;
  }
}

/* --- Desktop: Taller map --- */
@media (min-width: 769px) {
  #locations-map {
    height: 360px !important;
  }
}

/* --- Desktop: Consistent centered section headings --- */
@media (min-width: 769px) {
  .section-heading {
    text-align: center;
  }

  .section-subtext {
    text-align: center;
  }
}

/* --- Desktop: Hero with scroll indicator --- */
@media (min-width: 769px) {
  .hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    animation: scrollBounce 2s ease-in-out infinite;
  }

  .hero-scroll-indicator svg {
    width: 20px;
    height: 20px;
  }
}

/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
  .hero-scroll-indicator {
    display: none;
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* --- Desktop: Wider "Be Part of Our Story" grid --- */
@media (min-width: 769px) {
  .involve-grid--2x2 {
    max-width: 900px;
    gap: 1.5rem;
  }
}

@media (min-width: 1025px) {
  .involve-grid--2x2 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    gap: var(--gap);
  }

  .involve-card {
    padding: 2rem 1.25rem;
  }

  .involve-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* --- Desktop: Scenario cards with hover color --- */
@media (min-width: 1025px) {
  .scenarios-grid {
    gap: 1.5rem;
  }

  .scenario-card {
    padding: 1.75rem;
    gap: 1.25rem;
    background-color: var(--bg-white);
  }

  .scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--accent);
  }

  .scenario-card--sage:hover   { border-left-color: var(--sage); }
  .scenario-card--gold:hover   { border-left-color: var(--gold); }
  .scenario-card--violet:hover { border-left-color: var(--violet); }

  .scenario-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }

  .scenario-icon svg {
    width: 32px;
    height: 32px;
  }

  .scenario-title {
    font-size: 1.1rem;
  }

  .scenario-description {
    font-size: 0.9rem;
  }
}

/* --- Desktop: Gallery 3x3 --- */
@media (min-width: 769px) {
  .gallery-grid--3x3 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) {
  .gallery-grid,
  .gallery-grid--2x3,
  .gallery-grid--3x3 {
    gap: 1.25rem;
  }
}

/* --- Desktop: Wider donation prompt --- */
@media (min-width: 769px) {
  .donate-text {
    max-width: 800px;
  }
}

/* --- Desktop: Tighter section spacing --- */
@media (min-width: 1025px) {
  :root {
    --section-padding: 4.5rem 0;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-container {
    max-width: 900px;
  }

  .hero-heading {
    font-size: 3.75rem;
  }

  .hero-subtext {
    font-size: 1.3rem;
    max-width: 720px;
  }

  .impact-strip {
    padding: 3rem 0;
  }

  .metrics-grid {
    gap: 4rem;
  }

  .metric-number {
    font-size: 3.5rem;
  }

  .donate-prompt {
    padding: 4rem 0;
  }
}

/* --- Desktop: FAQ wider --- */
@media (min-width: 1025px) {
  .container--narrow {
    max-width: 860px;
  }

  .faq-question {
    padding: 1.5rem 0;
    font-size: 1.125rem;
  }
}

/* --- Desktop: Footer — stack middle phrases --- */
@media (min-width: 769px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 1.5rem 0 2rem;
  }

  .footer-middle-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
  }

  .footer-middle-stack p {
    margin: 0;
  }

  .footer-legal {
    justify-self: end;
  }

  .footer-divider {
    max-width: 500px;
  }

  .footer-links-grid {
    gap: 0.75rem 2.5rem;
  }
}

/* --- Desktop: "Other Ways to Support" card hover --- */
.other-ways-card {
  display: block;
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.other-ways-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.other-ways-card::after {
  content: '\2192';
  display: block;
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.other-ways-card:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

/* --- Desktop: About page contact stacking --- */
@media (min-width: 769px) {
  .contact-grid--stacked {
    grid-template-columns: 1fr !important;
    max-width: 500px;
    margin: 0 auto;
    gap: 1.5rem;
  }
}

/* --- Desktop: Homepage section background overrides --- */
@media (min-width: 769px) {
  #get-involved {
    background-color: var(--bg-alt) !important;
  }
  #get-involved .involve-card {
    background-color: var(--bg-white);
  }
}

/* ------------------------------------------------------------
   27. PRIVACY/TERMS PAGE CONTENT STYLING
   ------------------------------------------------------------ */
.section--white .container--narrow p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.section--white .container--narrow ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.section--white .container--narrow ul li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.section--white .container--narrow h2 {
  margin-top: 1.75rem;
}

/* --- Mobile: Press page logo cards stack + constrain --- */
@media (max-width: 768px) {
  .logo-showcase {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .logo-showcase-card img {
    max-width: 160px;
    height: auto;
  }
}

.gallery-note .mobile-br { display: none; }

@media (max-width: 768px) {
  .gallery-note .mobile-br { display: block; }
}
