/* ==========================================================================
   BOLD — Black Outreach Leadership Directive
   Master Stylesheet
   Light editorial layout: white page, black type, brand yellow as highlight.
   Content sits directly on the page — no cards nested inside panels.
   ========================================================================== */

:root {
  /* Brand */
  --brand-yellow: #FDF496;        /* Official logo yellow — used for fills/highlights only */
  --brand-yellow-strong: #F7E55A;

  /* Legacy token names (referenced by inline styles + JS templates).
     --bold-yellow is now the readable accent for text on white. */
  --bold-yellow: #7A5C00;
  --bold-yellow-light: #FFFBD6;
  --bold-yellow-hover: #F7E55A;
  --bold-yellow-deep: #111111;
  --bold-yellow-accent: #7A5C00;
  --bold-yellow-glow: transparent;
  --bold-yellow-subtle: #FFFBD6;
  --gold-400: #7A5C00;
  --gold-500: #FDF496;

  /* Page */
  --bg-dark: #FFFFFF;
  --bg-surface-1: #FFFFFF;
  --bg-surface-2: #FFFFFF;
  --bg-surface-3: #F1F0EC;
  --border-subtle: #E6E4DE;
  --border-medium: #CFCCC4;
  --border-yellow: #111111;
  --border-focus: #111111;

  /* Type colours (names kept for compatibility: "white" = primary ink) */
  --text-white: #111111;
  --text-primary: #1C1C1C;
  --text-secondary: #3F3F3F;
  --text-muted: #6A6862;
  --text-dark: #111111;
  --text-yellow: #7A5C00;

  /* Accent palette — sits alongside the yellow + black brand colours */
  --accent-yellow: #F5D90A;       /* saturated yellow for rules and shapes */
  --accent-green: #14804A;
  --accent-green-soft: #E3F4EA;
  --accent-red: #D64527;
  --accent-red-soft: #FCE9E3;
  --accent-ink: #111111;

  /* State */
  --success: #0F7A4F;
  --success-bg: #E8F5EE;
  --warning: #9A5B00;
  --warning-bg: #FFF4E0;
  --info: #145C8C;
  --info-bg: #E8F2F9;
  --danger: #B42318;
  --danger-bg: #FDECEA;

  /* Fonts */
  --font-display: "Plus Jakarta Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;
  --section-padding: 96px;
  --grid-gap: 48px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-full: 9999px;

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-yellow: none;
  --glass-bg: rgba(255, 255, 255, 0.96);

  --transition-fast: 150ms ease;
  --transition-normal: 220ms ease;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background: #FFFFFF;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #FFFFFF;
  color: var(--text-primary);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--brand-yellow);
  color: #111;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: #111;
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
}

/* --- Layout & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-yellow, .text-gold { color: var(--bold-yellow); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

/* Labels (formerly pill badges) — plain small caps text, no box */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
}
.badge-gold, .badge-yellow { color: var(--bold-yellow); }
.badge-success { color: var(--success); }
.badge-warning { color: var(--warning); }
.badge-info { color: var(--info); }

.placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0 4px;
  background: var(--brand-yellow);
  color: #111;
  vertical-align: middle;
  margin-left: 6px;
}

/* --- Sections --- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}
.section + .section,
.section + .newsletter-strip,
.qr-codes-section + .section {
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 56px;
}
.section-header.text-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .badge {
  display: block;
}
span.section-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bold-yellow);
  margin-bottom: 14px;
}
p.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.section-title,
.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 3rem) !important;
  font-weight: 600 !important;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 18px;
}
.section-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.btn-primary:hover {
  background: var(--brand-yellow);
  color: #111;
}

.btn-secondary {
  background: transparent;
  color: #111;
  border-color: #111;
}
.btn-secondary:hover {
  background: #111;
  color: #fff;
}

.btn-outline-gold, .btn-outline-yellow {
  background: transparent;
  color: #111;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: var(--brand-yellow-strong);
}
.btn-outline-gold:hover, .btn-outline-yellow:hover {
  text-decoration-color: #111;
}
.btn[style*="width: 100%"].btn-outline-yellow {
  justify-content: flex-start;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-outline-gold.btn-sm, .btn-outline-yellow.btn-sm,
.btn-outline-gold.btn-lg, .btn-outline-yellow.btn-lg {
  padding-left: 0;
  padding-right: 0;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--brand-yellow);
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
}
.brand-acronym {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #111;
  display: flex;
  align-items: center;
  gap: 1px;
}
.brand-acronym .brand-dot { color: var(--bold-yellow); }
.brand-subtext {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
  /* Two lines ("Black Outreach / Leadership Directive") so the logo leaves
     room for the menu and the Donate button. */
  max-width: 150px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 1;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: #111; }
.nav-link.active {
  color: #111;
  border-bottom-color: var(--brand-yellow-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.btn-member-nav {
  background: #111;
  color: #fff;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.btn-member-nav:hover {
  background: var(--brand-yellow);
  color: #111;
}
.btn-donate-nav {
  color: #111;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--brand-yellow-strong);
}
.btn-donate-nav:hover { text-decoration-color: #111; }

/* --- Top contact line --- */
.prominent-contact-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 1001;
}
.prominent-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-bar-left, .contact-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 500;
}
.contact-item-link:hover { color: #111; }
.contact-item-badge {
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- QR sign-up --- */
.qr-codes-section {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--border-subtle);
}
.qr-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 48px;
}
.qr-card + .qr-card {
  border-left: 1px solid var(--border-subtle);
}
.qr-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bold-yellow);
  margin-bottom: 20px;
}
.qr-image-wrapper {
  margin-bottom: 20px;
  display: inline-block;
}
.qr-image {
  width: 168px;
  height: 168px;
  object-fit: contain;
  display: block;
}
.qr-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.qr-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 400px;
}

/* --- Team: featured member --- */
.team-chase-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}
.team-chase-photo-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.team-chase-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}
.team-placeholder-card {
  border-top: 2px solid #111;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* --- Executive roles --- */
.exec-roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
  margin-top: 40px;
}
.exec-role-card {
  border-top: 2px solid #111;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
.exec-role-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}
.exec-role-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.exec-role-duties {
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exec-role-duty-item {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.exec-role-duty-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: #111;
}

/* --- Mobile nav --- */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #111;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.4);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid var(--border-subtle);
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  z-index: 2000;
  transition: right var(--transition-normal);
  overflow-y: auto;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }
.mobile-drawer.open { right: 0; }
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.mobile-drawer-menu {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: #111;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--bold-yellow);
}

/* --- Hero --- */
.hero-section {
  position: relative;
  padding: 88px 0 72px;
  text-align: center;
}
.hero-header-center {
  max-width: 900px;
  margin: 0 auto 56px;
}
.hero-title {
  /* Capped so "Post-Secondary" (~8em, kept on one line) always fits beside the 16px gutters. */
  font-size: min(clamp(2.6rem, 6vw, 4.75rem), calc((100vw - 32px) / 8.3));
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: #111;
  margin-bottom: 26px;
}
.hero-title {
  text-wrap: balance;
}
/* Highlight band sits centred behind the letters, and "Post-Secondary"
   never breaks at its hyphen, so the band is always one piece. */
.hero-title .highlight-word {
  white-space: nowrap;
  background: linear-gradient(transparent 34%, var(--brand-yellow) 34%, var(--brand-yellow) 86%, transparent 86%);
  padding: 0 0.12em;
  margin: 0 -0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 auto 36px;
  max-width: 700px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.hero-featured-showcase {
  max-width: 1040px;
  margin: 0 auto;
}
.hero-featured-showcase img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
}
.hero-featured-caption {
  padding-top: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  text-align: left;
}
.hero-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-yellow-strong);
  display: inline-block;
}

/* Three pillars */
.hero-pillars-strip {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  text-align: left;
}
.pillar-card {
  border-top: 2px solid #111;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-icon-box, .value-icon-box {
  width: auto;
  height: auto;
  color: #111;
  display: flex;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
}
.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Mission statement --- */
.mission-banner-wrap {
  padding: 88px 0;
  background: var(--brand-yellow);
  text-align: center;
}
.mission-lead {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111;
  margin-bottom: 18px;
}
.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
  color: #111;
  max-width: 980px;
  margin: 0 auto;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.story-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.vision-box {
  border-left: 3px solid var(--brand-yellow-strong);
  padding: 4px 0 4px 22px;
  margin: 32px 0;
}
.vision-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.vision-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px var(--grid-gap);
}
.value-card {
  border-top: 2px solid #111;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
}
.value-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Impact metrics --- */
.impact-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-bottom: 72px;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}
.metric-card {
  padding: 40px 20px;
  text-align: center;
}
.metric-card + .metric-card {
  border-left: 1px solid var(--border-subtle);
}
.metric-number, .metric-label { display: block; }
.metric-number {
  font-family: var(--font-display);
  /* Sized so "$1,500" fits its card at every width. */
  font-size: clamp(2.75rem, 4vw, 4rem);
  white-space: nowrap;
  font-weight: 600;
  line-height: 1;
  color: #111;
  margin-bottom: 12px;
  letter-spacing: -0.022em;
}
.metric-label {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}
.metric-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stories */
.stories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.story-card {
  display: flex;
  flex-direction: column;
}
.story-image, .story-img-wrap {
  height: 240px;
  overflow: hidden;
  background: var(--bg-surface-3);
}
.story-image img, .story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.story-card:hover .story-image img,
.story-card:hover .story-img {
  transform: scale(1.03);
}
.story-body, .story-content {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}
.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.story-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
  line-height: 1.25;
}
.story-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-secondary);
  padding-left: 14px;
  border-left: 3px solid var(--brand-yellow-strong);
  margin-top: auto;
}

/* --- Programs --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  margin-bottom: 80px;
}
.program-card {
  border-top: 2px solid #111;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}
.program-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.program-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  line-height: 1.15;
}
.program-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bold-yellow);
  margin-top: 6px;
}
.program-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.program-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.program-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.feature-check {
  color: #111;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Resource hub --- */
.resource-hub-wrap {
  border-top: 1px solid #111;
  padding-top: 40px;
}
.resource-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.resource-search-input,
.newsletter-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #111;
  border-radius: 0;
  padding: 12px 2px;
  color: #111;
  font-size: 1rem;
}
.resource-search-input:focus,
.newsletter-input:focus {
  outline: none;
  border-bottom-color: var(--bold-yellow);
}
.resource-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 40px;
}
.filter-btn, .resource-filter-btn {
  padding: 6px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}
.filter-btn:hover { color: #111; }
.filter-btn.active {
  color: #111;
  border-bottom-color: var(--brand-yellow-strong);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
}
.resource-card {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.resource-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
}
.resource-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex-grow: 1;
}
.resource-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  text-decoration-color: var(--brand-yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.resource-action:hover { text-decoration-color: #111; }

/* --- Events --- */
.events-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 48px;
}
.event-tab-btn {
  padding: 6px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}
.event-tab-btn.active {
  color: #111;
  border-bottom-color: var(--brand-yellow-strong);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.event-card {
  display: flex;
  flex-direction: column;
}
.event-image {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface-3);
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-date-chip {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--brand-yellow);
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111;
}
.event-body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}
.event-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
  line-height: 1.25;
}
.event-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.event-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.event-actions {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* --- Roles --- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px var(--grid-gap);
  margin-bottom: 80px;
}
.role-card {
  border-top: 2px solid #111;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.role-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
}
.role-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}
.role-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Forms --- */
.form-card {
  max-width: 820px;
  margin: 0 auto;
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}
.form-group-full { grid-column: 1 / -1; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-label .required { color: var(--danger); }
.form-control, .form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #111;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}
.form-control:focus, .form-input:focus {
  border-color: #111;
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-yellow);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 6px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #111;
  cursor: pointer;
}
.checkbox-label {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

/* --- Donate --- */
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.donate-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.impact-allocations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.allocation-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.975rem;
  color: var(--text-secondary);
}
.allocation-item svg {
  color: #111;
  flex-shrink: 0;
  margin-top: 4px;
}
.donate-card {
  border-top: 2px solid #111;
  padding-top: 28px;
}
.frequency-toggle {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}
.freq-btn {
  padding: 6px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}
.freq-btn.active {
  color: #111;
  border-bottom-color: var(--brand-yellow-strong);
}
.amount-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.amount-btn {
  padding: 14px 10px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #111;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.amount-btn:hover { border-color: #111; }
.amount-btn.active {
  border-color: #111;
  background: #111;
  color: #fff;
}
.custom-amount-wrap {
  position: relative;
  margin-bottom: 24px;
}
.currency-symbol {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--text-muted);
}
.custom-amount-input {
  width: 100%;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  background: #fff;
}
.custom-amount-input:focus {
  outline: none;
  border-color: #111;
}
.legal-financial-disclosure {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 24px;
}

/* --- Branches & team --- */
.branches-grid, .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px var(--grid-gap);
}
.branch-card {
  border-top: 2px solid #111;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.branch-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
}
.branch-region {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bold-yellow);
}
.branch-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-top: 2px solid #111;
  padding-top: 20px;
}
.team-avatar-box {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--brand-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 0.75rem;
  padding: 8px;
  text-align: center;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #111;
}
.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bold-yellow);
}
.team-bio {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- FAQ --- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid #111;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-question {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: #111;
}
.faq-icon {
  color: #111;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms ease;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
}
.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-answer-inner::after {
  content: "";
  display: block;
  height: 24px;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-question:hover { color: var(--accent-green); }

/* --- Newsletter --- */
.newsletter-strip {
  background: var(--brand-yellow);
  padding: 88px 0;
  text-align: center;
}
.newsletter-content {
  max-width: 640px;
  margin: 0 auto;
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}
.newsletter-desc {
  font-size: 1.05rem;
  color: #2b2b2b;
  margin-bottom: 28px;
}
.newsletter-strip .text-muted,
.newsletter-strip p { color: #2b2b2b; }
.newsletter-form {
  display: flex;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto 16px;
  align-items: flex-end;
}

/* --- Footer --- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #111;
  padding: 72px 0 32px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-mission-text, .footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #111;
  margin-bottom: 18px;
}
.footer-nav, .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-link:hover { color: #111; text-decoration: underline; }
.footer-social-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-icon-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.social-icon-btn:hover { color: #111; }
.footer-bottom-bar, .footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* --- Modals & toasts --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-dialog {
  background: #FFFFFF;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  position: relative;
  transform: translateY(8px);
  transition: transform var(--transition-normal);
}
.modal-overlay.open .modal-dialog { transform: translateY(0); }
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.modal-close-btn:hover { color: #111; }

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #111;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.925rem;
  max-width: 400px;
  animation: slideInToast 250ms ease-out;
}
@keyframes slideInToast {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1140px) {
  .nav-menu, .header-actions { display: none !important; }
  .mobile-nav-toggle { display: flex !important; }
  .hero-pillars-strip { grid-template-columns: 1fr; gap: 32px; }
  .qr-cards-grid { grid-template-columns: 1fr; gap: 56px; }
  .qr-card + .qr-card { border-left: none; border-top: 1px solid var(--border-subtle); padding-top: 56px; }
  .team-chase-featured { grid-template-columns: 1fr; text-align: center; }
  .team-chase-photo-wrap { margin: 0 auto; max-width: 260px; }
  .team-placeholder-grid { grid-template-columns: repeat(2, 1fr); }
  .exec-roles-grid { grid-template-columns: 1fr; }
  .values-grid,
  .stories-grid,
  .events-grid,
  .roles-grid,
  .branches-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
    --section-padding: 64px;
    --grid-gap: 36px;
  }
  .container { padding-left: 16px; padding-right: 16px; }
  .prominent-contact-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .team-placeholder-grid { grid-template-columns: 1fr; }
  .about-grid, .donate-layout { grid-template-columns: 1fr; gap: 40px; }
  .values-grid,
  .stories-grid,
  .events-grid,
  .roles-grid,
  .branches-grid,
  .team-grid,
  .resources-grid { grid-template-columns: 1fr; }
  .impact-metrics-grid { grid-template-columns: 1fr; }
  .metric-card + .metric-card { border-left: none; border-top: 1px solid var(--border-subtle); }
  .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .amount-buttons-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-card { padding-left: 0; padding-right: 0; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .modal-dialog { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Colour accents
   ========================================================================== */

/* Tri-colour stripe at the very top of every page */
body::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg,
    var(--accent-yellow) 0 34%, var(--accent-green) 34% 67%, var(--accent-red) 67% 100%);
}

/* Section eyebrows get a short coloured dash */
span.section-subtitle,
.section-header .badge {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}
span.section-subtitle::before,
.section-header .badge::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--accent-yellow);
  display: inline-block;
}
.section:nth-of-type(3n+1) .section-header .badge::before,
.section:nth-of-type(3n+1) span.section-subtitle::before { background: var(--accent-green); }
.section:nth-of-type(3n+2) .section-header .badge::before,
.section:nth-of-type(3n+2) span.section-subtitle::before { background: var(--accent-red); }

/* Card rules and icons cycle through yellow / green / red / black */
:is(.pillar-card, .value-card, .program-card, .role-card, .exec-role-card,
    .team-placeholder-card, .branch-card, .team-card) {
  border-top-width: 4px;
  --card-accent: var(--accent-yellow);
}
:is(.pillar-card, .value-card, .program-card, .role-card, .exec-role-card,
    .team-placeholder-card, .branch-card, .team-card):nth-child(4n+2) { --card-accent: var(--accent-green); }
:is(.pillar-card, .value-card, .program-card, .role-card, .exec-role-card,
    .team-placeholder-card, .branch-card, .team-card):nth-child(4n+3) { --card-accent: var(--accent-red); }
:is(.pillar-card, .value-card, .program-card, .role-card, .exec-role-card,
    .team-placeholder-card, .branch-card, .team-card):nth-child(4n+4) { --card-accent: var(--accent-ink); }
:is(.pillar-card, .value-card, .program-card, .role-card, .exec-role-card,
    .team-placeholder-card, .branch-card, .team-card) {
  border-top-color: var(--card-accent);
}
.pillar-icon-box, .value-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--card-accent);
  color: #fff;
  transition: transform 300ms ease;
}
.pillar-card:nth-child(4n+1) .pillar-icon-box,
.value-card:nth-child(4n+1) .value-icon-box { color: #111; }
.pillar-card:hover .pillar-icon-box,
.value-card:hover .value-icon-box { transform: rotate(-8deg) scale(1.08); }
.exec-role-duty-item::before { background: var(--card-accent, #111); }

/* Metric numbers in brand colours */
.metric-card:nth-child(4n+1) .metric-number { color: #111; }
.metric-card:nth-child(4n+2) .metric-number { color: var(--accent-green); }
.metric-card:nth-child(4n+3) .metric-number { color: var(--accent-red); }
.metric-card:nth-child(4n+4) .metric-number { color: #111; }
.metric-card:nth-child(4n+1) .metric-number,
.metric-card:nth-child(4n+4) .metric-number {
  background: linear-gradient(transparent 62%, var(--brand-yellow) 62%);
  display: inline-block;
}
.impact-metrics-grid { border-top: 4px solid #111; }

/* Story + event accents */
.story-card:nth-child(3n+2) .story-quote { border-left-color: var(--accent-green); }
.story-card:nth-child(3n+3) .story-quote { border-left-color: var(--accent-red); }
.event-card:nth-child(3n+2) .event-date-chip { background: var(--accent-green); color: #fff; }
.event-card:nth-child(3n+3) .event-date-chip { background: var(--accent-red); color: #fff; }
.badge-success { color: var(--accent-green); }

/* FAQ: coloured marker on the open item */
.faq-item { position: relative; transition: background 250ms ease; }
.faq-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 22px;
  width: 4px;
  height: 0;
  background: var(--accent-green);
  transition: height 300ms ease;
}
.faq-item.open::before { height: calc(100% - 44px); }
.faq-item.open .faq-question { color: var(--accent-green); }
.faq-item.open .faq-icon { color: var(--accent-green); }

/* Hero: offset colour blocks behind the photo */
.hero-featured-showcase { position: relative; isolation: isolate; }
.hero-featured-showcase::before,
.hero-featured-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
}
.hero-featured-showcase::before {
  top: -18px;
  right: -18px;
  width: 42%;
  height: 55%;
  background: var(--brand-yellow);
}
.hero-featured-showcase::after {
  top: 52%;
  left: -18px;
  width: 22%;
  height: 32%;
  background: var(--accent-green);
}

/* Ink band: black section with yellow highlights */
.band-ink {
  --text-white: #FFFFFF;
  --text-primary: #F4F4F4;
  --text-secondary: #D8D8D8;
  --text-muted: #A9A9A9;
  --bold-yellow: var(--brand-yellow);
  background: #111111;
  color: #fff;
  border-top: none !important;
}
.band-ink .btn-primary { background: var(--brand-yellow); color: #111; border-color: var(--brand-yellow); }
.band-ink .btn-primary:hover { background: #fff; border-color: #fff; }
.band-ink .btn-secondary { color: #fff; border-color: #fff; }
.band-ink .btn-secondary:hover { background: #fff; color: #111; }
.band-ink .btn-outline-yellow { color: #fff; }
.band-ink .btn-outline-yellow:hover { text-decoration-color: #fff; }

/* Values ticker */
.values-ticker {
  background: #111;
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  border-top: 4px solid var(--accent-yellow);
}
.values-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.values-ticker:hover .values-ticker-track { animation-play-state: paused; }
.values-ticker-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 500;
  white-space: nowrap;
}
.ticker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-yellow);
  flex-shrink: 0;
}
.values-ticker-group .ticker-dot:nth-of-type(3n+2) { background: var(--accent-green); }
.values-ticker-group .ticker-dot:nth-of-type(3n+3) { background: var(--accent-red); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Footer accent */
.site-footer { border-top: 4px solid #111; }
.footer-heading::after {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  margin-top: 8px;
  background: var(--accent-yellow);
}
.footer-grid > :nth-child(3) .footer-heading::after { background: var(--accent-green); }
.footer-grid > :nth-child(4) .footer-heading::after { background: var(--accent-red); }

/* ==========================================================================
   Motion
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-green), var(--accent-red));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 3000;
  pointer-events: none;
}

.site-header { transition: box-shadow 250ms ease, background 250ms ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.25); }

/* Underline grows in on nav hover */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { border-bottom-color: transparent; }

/* Buttons: lift + arrow nudge */
.btn { transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform 200ms ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary:hover { box-shadow: 4px 4px 0 #111; border-color: #111; }

/* Image hover zoom */
.event-image img { transition: transform 600ms ease; }
.event-card:hover .event-image img { transform: scale(1.05); }
.hero-featured-showcase img,
.about-grid img { transition: transform 700ms ease; }


/* Card hover: accent rule thickens */
:is(.pillar-card, .value-card, .program-card, .role-card, .exec-role-card,
    .team-placeholder-card, .branch-card, .team-card) {
  transition: border-top-width 200ms ease, padding-top 200ms ease;
}
:is(.pillar-card, .value-card, .program-card, .role-card, .exec-role-card,
    .team-placeholder-card, .branch-card, .team-card):hover {
  border-top-width: 8px;
  padding-top: 16px;
}

/* Pulsing dot */
.pulse-indicator { animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 217, 10, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(245, 217, 10, 0); }
}

/* Hero entrance (runs once on load) */
.motion-ready .hero-header-center > *,
.motion-ready .section:first-of-type .container > .section-title,
.motion-ready .section:first-of-type .container > .section-description {
  animation: riseIn 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.motion-ready .hero-header-center > :nth-child(2) { animation-delay: 100ms; }
.motion-ready .hero-header-center > :nth-child(3) { animation-delay: 220ms; }
.motion-ready .hero-header-center > :nth-child(4) { animation-delay: 340ms; }
.motion-ready .section:first-of-type .container > .section-description { animation-delay: 150ms; }
.motion-ready .hero-title .highlight-word {
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: markerSweep 900ms 650ms cubic-bezier(0.6, 0, 0.2, 1) forwards;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes markerSweep {
  to { background-size: 100% 100%; }
}

/* Scroll reveal (classes added by js/motion.js) */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    border-top-width 200ms ease, padding-top 200ms ease;
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Photos fade in rather than wipe: a fully clipped element (clip-path inset 100%)
   never reports as intersecting, so the observer would leave it hidden forever. */
.motion-ready img.reveal,
.motion-ready .hero-featured-showcase.reveal {
  transform: none;
  transition: opacity 900ms ease var(--reveal-delay, 0ms);
}

@media (max-width: 768px) {
  .hero-featured-showcase::before { top: -10px; right: -10px; }
  .hero-featured-showcase::after { left: -10px; top: 18%; height: 26%; }
  .faq-item::before { left: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .values-ticker-track { animation: none; }
}

/* --- Regional outreach team (grouped by region) --- */
.outreach-team {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-subtle);
}
.outreach-team-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 24px;
}
/* One shared column track per person (regions span 2/2/1), with the same gap
   inside and between regions, so every headshot is exactly the same size. */
.outreach-regions {
  --outreach-gap: 28px;
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  gap: 32px var(--outreach-gap);
}
.outreach-region { grid-column: span var(--members, 2); }
.outreach-region {
  border-top: 2px solid #111;
  padding-top: 16px;
}
.outreach-region-label {
  display: inline-block;
  background: var(--brand-yellow);
  color: #111;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.outreach-members {
  display: grid;
  grid-template-columns: repeat(var(--members, 2), minmax(0, 1fr));
  gap: var(--outreach-gap);
}
.outreach-member { text-align: center; }
/* Photos are capped at their native width so they are never upscaled. */
.outreach-photo {
  display: block;
  width: 100%;
  max-width: 214px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 auto 12px;
  background: var(--bg-surface-3);
}
.outreach-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-muted);
}
.outreach-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}
.outreach-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 2px;
}

/* Team cards with photos (About page) */
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  background: var(--bg-surface-3);
}
.team-photo-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-muted);
}
.team-region {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Event photo feature (two photos + story) --- */
.event-feature + .event-feature {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--border-subtle);
}
.event-feature-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.event-feature-photos img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--bg-surface-3);
}
.event-feature-photos.is-wide img { aspect-ratio: 2048 / 946; }
.event-feature-photos.is-tall img { aspect-ratio: 3 / 4; max-height: 620px; }

@media (max-width: 1140px) {
  .outreach-regions { --cols: 4 !important; }
  .outreach-region { grid-column: span 2; }
  .outreach-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .outreach-regions { --outreach-gap: 16px; --cols: 2 !important; }
  .event-feature-photos { grid-template-columns: 1fr; }
}

/* Three photos (portrait / landscape / portrait) at one shared height:
   column widths follow each photo's aspect ratio (3:4, 4:3, 3:4 = 9:16:9). */
.event-feature-photos.is-trio {
  grid-template-columns: 9fr 16fr 9fr;
  grid-template-areas: "left wide right";
}
.event-feature-photos.is-trio img { aspect-ratio: auto; }
.event-feature-photos.is-trio .photo-wide { grid-area: wide; aspect-ratio: 4 / 3; }
.event-feature-photos.is-trio .photo-left { grid-area: left; }
.event-feature-photos.is-trio .photo-right { grid-area: right; }
@media (max-width: 768px) {
  .event-feature-photos.is-trio {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "wide wide" "left right";
  }
  .event-feature-photos.is-trio .photo-left,
  .event-feature-photos.is-trio .photo-right { aspect-ratio: 3 / 4; }
}

/* --- Events: date tile (events without a photo) --- */
.event-date-tile {
  height: 100%;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}
.event-date-tile-month {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--brand-yellow);
}
.event-date-tile-day {
  font-family: var(--font-display);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1;
}
.event-date-tile-weekday {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}
.event-date-tile-note {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-top: 6px;
}

/* --- Events: 2026–27 Workshop Series schedule --- */
.workshop-series {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
  border-top: 2px solid #111;
  padding-top: 28px;
  margin-bottom: 64px;
}
.workshop-series[hidden] { display: none; }
.workshop-series-pill {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.workshop-series-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  margin-bottom: 12px;
}
.workshop-series-desc {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.workshop-series-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 10px;
}
.workshop-series-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.series-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.series-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--border-subtle);
  background: #fff;
}
.series-date {
  flex: 0 0 auto;
  width: 64px;
  padding: 6px 0;
  background: #111;
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.05;
}
.series-date span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--brand-yellow);
}
.series-text { display: flex; flex-direction: column; min-width: 0; }
.series-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}
.series-when { font-size: 0.85rem; color: var(--text-muted); }
.series-item.is-past { opacity: 0.55; }
.series-item.is-past .series-date { background: var(--text-muted); }

@media (max-width: 900px) {
  .workshop-series { grid-template-columns: 1fr; gap: 28px; }
}

/* Join note on virtual event cards (replaces the old RSVP button) */
.event-join-note {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  text-decoration: underline;
  text-decoration-color: var(--accent-yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.event-join-note:hover { text-decoration-color: #111; }
.workshop-series-join {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* --- Contact page: email / Instagram / Facebook links --- */
.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.contact-link:hover,
.contact-link:focus-visible { border-color: #111; background: var(--bold-yellow-light); }
.contact-link-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-link-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-link-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  overflow-wrap: anywhere;
}

/* Spam-trap field: kept out of view and out of the tab order. */
.visually-hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* =====================================================================
   Event photos throughout the site
   ===================================================================== */

/* Homepage "BOLD in Action" gallery: big / tall / wide / square tiles. */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 12px;
}
.mosaic-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-surface-3);
}
.mosaic-tile.is-big { grid-column: span 2; grid-row: span 2; }
.mosaic-tile.is-tall { grid-row: span 2; }
.mosaic-tile.is-wide { grid-column: span 2; }
.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.mosaic-tile:hover img { transform: scale(1.04); }
.mosaic-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

/* Row of captioned photos (inner-page headers, partnerships, membership). */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}
.photo-strip-item { margin: 0; }
.photo-strip-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--bg-surface-3);
}
.photo-strip-item figcaption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: 8px;
  line-height: 1.4;
}

/* Photo at the top of program / portal cards. */
.card-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  background: var(--bg-surface-3);
}

@media (max-width: 1140px) {
  .photo-mosaic { grid-auto-rows: 180px; }
}
@media (max-width: 768px) {
  .photo-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
  .mosaic-tile figcaption { font-size: 0.75rem; padding: 22px 10px 8px; }
  /* On phones show the first photo large and the other two side by side. */
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 28px; }
  .photo-strip-item:first-child { grid-column: 1 / -1; }
}

/* --- Donate page heading --- */
.donate-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #111;
  margin-bottom: 8px;
}
.donate-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- Donate page: Donorbox form --- */
#donate-form { scroll-margin-top: calc(var(--header-height, 80px) + 24px); }
.donorbox-wrap {
  min-height: 420px;               /* reserve space while the form loads */
  margin: 4px 0 8px;
}
.donorbox-wrap dbox-widget { display: block; width: 100%; max-width: 100%; }
.donorbox-fallback {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.donorbox-fallback a { color: #111; text-decoration: underline; }

/* --- Scholarships: highlight box (Donate page) + winners grid (site-wide) --- */
.donate-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: #111;
  margin: 4px 0 18px;
}
.scholarship-highlight {
  border: 2px solid #111;
  background: var(--bold-yellow-light);
  padding: 22px 22px 24px;
  margin-bottom: 26px;
}
.scholarship-highlight-tag {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.scholarship-highlight-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  margin-bottom: 10px;
}
.scholarship-highlight p {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--text-primary);
}
.scholarship-highlight-sub {
  font-weight: 700;
  margin: 16px 0 12px;
}
.donate-also-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

/* Winners: photos are ~328px; the grid is capped so they are never upscaled. */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}
.winner-card { margin: 0; text-align: center; }
.winner-card img {
  display: block;
  width: 100%;
  max-width: 328px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 4px solid var(--accent-yellow);
  background: var(--bg-surface-3);
}
.winner-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}
.winner-award {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bold-yellow);
  margin-top: 2px;
}
.winners-grid.is-compact { gap: 12px; }
.winners-grid.is-compact img { border-width: 3px; margin-bottom: 8px; }
.winners-grid.is-compact .winner-name { font-size: 0.85rem; line-height: 1.25; }
.winners-grid.is-compact .winner-award { font-size: 0.75rem; }

@media (max-width: 768px) {
  .winners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .winners-grid > .winner-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .winners-grid.is-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .winners-grid.is-compact > .winner-card:last-child:nth-child(odd) { grid-column: auto; max-width: none; margin: 0; }
  .winners-grid.is-compact .winner-award { font-size: 0.7rem; }
  .scholarship-highlight { padding: 18px 16px 20px; }
}
/* Small phones: the Donate page's compact winners become rows (photo beside name). */
@media (max-width: 480px) {
  .winners-grid.is-compact { grid-template-columns: 1fr; gap: 10px; }
  .winners-grid.is-compact .winner-card { display: flex; align-items: center; gap: 12px; text-align: left; }
  .winners-grid.is-compact img { width: 72px; flex: 0 0 72px; margin: 0; }
  .winners-grid.is-compact .winner-name { font-size: 0.95rem; }
  .winners-grid.is-compact .winner-award { font-size: 0.8rem; }
}

/* Impact numbers on tablets: the four cards sit in an even 2x2 grid
   (avoids a lone card on its own row). */
@media (min-width: 769px) and (max-width: 1180px) {
  .impact-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-metrics-grid .metric-card + .metric-card { border-left: none; }
  .impact-metrics-grid .metric-card:nth-child(even) { border-left: 1px solid var(--border-subtle); }
  .impact-metrics-grid .metric-card:nth-child(n+3) { border-top: 1px solid var(--border-subtle); }
}

/* Header on narrower laptops (between the 1140px mobile-menu breakpoint and
   ~1280px): tighten spacing so the Donate button always fits on screen. */
@media (min-width: 1141px) and (max-width: 1279px) {
  .header-inner { gap: 8px; }
  .nav-menu { gap: 9px; }
  .nav-link { font-size: 0.82rem; }
  .header-actions { gap: 10px; }
  .btn-member-nav { padding: 8px 10px; }
}
/* Wider screens: up to nine menu links (incl. the two-line "Meet the Team")
   plus the two header buttons must fit the 1152px content width. */
@media (min-width: 1280px) {
  .nav-menu { gap: 12px; }
  .nav-link { font-size: 0.86rem; }
}

/* Small phones: let long button labels wrap instead of running off-screen. */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .badge { white-space: normal; max-width: 100%; }
}

/* --- Nav: two-line "Meet / the Team" tab so the header still fits --- */
.nav-link-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.1;
  padding: 2px 0;
}
.nav-link-stack span { white-space: nowrap; }

/* --- Executive Team row (Meet the Team page + homepage): centred, larger photos --- */
.outreach-team.is-leads .outreach-regions {
  --cols: 1 !important;
  max-width: calc(var(--lead-count, 3) * 290px);
  margin: 0 auto;
}
.outreach-team.is-leads .outreach-region { grid-column: 1 / -1 !important; }
.outreach-team.is-leads .outreach-members { grid-template-columns: repeat(var(--members, 3), minmax(0, 1fr)) !important; }
.outreach-team.is-leads .outreach-photo { max-width: 260px; }
@media (max-width: 600px) {
  .outreach-team.is-leads .outreach-members { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* =====================================================================
   Organizational chart (About Us "Meet the Team" + homepage)

            [ President ]
                  |
     +------------+
     |
     +-- [ Outreach Team panel ]  Director -> regions -> leads -> executives
     +-- [ Events Team panel ]    Director -> executives (one row)
     +-- [ Finance Team panel ]   members side by side
     +-- [ High School panel ]    Lead -> advisor

   Same card ("pc") for everyone, three sizes: President > Directors > rest.
   ===================================================================== */
.org-chart {
  --org-line: #111;
  --spine-x: 14px;          /* x position of the left spine */
  --dept-indent: 44px;      /* panels start this far from the left edge */
  --stub-y: 30px;           /* where the spine meets each panel header */
  --dept-gap: 28px;
  --card: 150px;
  max-width: 1152px;
  margin: 0 auto 56px;
}
.org-chart ul, .org-chart ol { list-style: none; margin: 0; padding: 0; }

/* ---- Person card ---- */
.pc {
  flex: 0 1 var(--card);
  width: var(--card);
  max-width: var(--card);
  min-width: 0;
  margin: 0 auto;
  padding: 8px 8px 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--border-medium);
  text-align: center;
  box-shadow: 0 8px 20px -16px rgba(0, 0, 0, 0.35);
}
.pc-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 8px;
  background: var(--bg-surface-3);
}
.pc-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-muted);
}
.pc-name { font-family: var(--font-display); font-size: 0.86rem; font-weight: 800; line-height: 1.25; color: #111; overflow-wrap: anywhere; }
.pc-title { font-size: 0.72rem; color: var(--text-muted); line-height: 1.3; margin-top: 2px; hyphens: auto; overflow-wrap: anywhere; }
.pc.is-lead { border-top-color: var(--accent-yellow); }
.pc.is-lead .pc-title { color: var(--bold-yellow); font-weight: 600; }
.pc.is-director { --card: 240px; padding: 12px 12px 14px; border-top: 4px solid var(--accent-yellow); }
.pc.is-director .pc-name { font-size: 1.1rem; }
.pc.is-director .pc-title { font-size: 0.85rem; color: var(--bold-yellow); font-weight: 600; }
.pc.is-president { --card: 280px; padding: 14px 14px 16px; border-top: 4px solid #111; }
.pc.is-president .pc-name { font-size: 1.2rem; }
.pc.is-president .pc-title { font-size: 0.88rem; color: var(--bold-yellow); font-weight: 600; }

/* ---- President -> spine ---- */
.org-root { position: relative; display: flex; justify-content: center; padding-bottom: 28px; }
.org-root::after {           /* down from the President */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 28px;
  border-left: 2px solid var(--org-line);
}
.org-chart .org-depts { position: relative; padding-left: var(--dept-indent); }
.org-depts::before {         /* across from the centre to the spine */
  content: "";
  position: absolute;
  top: 0;
  left: var(--spine-x);
  width: calc(50% - var(--spine-x));
  border-top: 2px solid var(--org-line);
}

/* ---- Team panels hanging off the spine ---- */
.org-dept { position: relative; padding-top: var(--dept-gap); }
.org-dept::before {          /* spine segment beside this panel */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--spine-x) - var(--dept-indent));
  border-left: 2px solid var(--org-line);
}
.org-dept:last-child::before { bottom: auto; height: calc(var(--dept-gap) + var(--stub-y)); }
.org-dept::after {           /* stub from the spine into the panel header */
  content: "";
  position: absolute;
  top: calc(var(--dept-gap) + var(--stub-y));
  left: calc(var(--spine-x) - var(--dept-indent));
  width: calc(var(--dept-indent) - var(--spine-x));
  border-top: 2px solid var(--org-line);
}
.org-dept-head {
  display: flex;
  align-items: center;
  gap: 12px;
  height: calc(var(--stub-y) * 2);
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  border-left: 4px solid var(--accent-yellow);
}
.org-team-label {
  display: inline-block;
  background: var(--brand-yellow);
  color: #111;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 12px;
}
.org-dept-note { font-size: 0.8rem; color: var(--text-muted); }
.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 28px;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-yellow);
}

/* ---- Lines inside a panel ---- */
.org-down,
.org-step { width: 0; border-left: 2px solid var(--org-line); margin: 0 auto; }
.org-down { height: 24px; }
.org-step { height: 16px; }

/* Row of children hanging from a horizontal bus */
.org-row { display: flex; justify-content: center; align-self: stretch; }
.org-node { position: relative; display: flex; justify-content: center; padding: 22px 6px 0; }
.org-node::before {          /* bus */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 2px solid var(--org-line);
}
.org-node:first-child::before { left: 50%; }
.org-node:last-child::before { right: 50%; }
.org-node:only-child::before { display: none; }
.org-node::after {           /* stub down to the child */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 22px;
  border-left: 2px solid var(--org-line);
}
.org-row.is-regions > .org-node { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; }
.org-row.is-people > .org-node { flex: 0 1 calc(var(--card) + 12px); min-width: 0; }
.org-row.is-people > .org-node > .pc { width: 100%; }

/* Region box (Outreach): leads in a row, then executives in a row */
.org-region-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 10px 14px;
  background: #fff;
  border: 1px solid var(--border-subtle);
}
.org-region {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  border-bottom: 2px solid var(--accent-yellow);
  padding-bottom: 3px;
  margin-bottom: 12px;
}
.org-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.org-cards > .pc { margin: 0; }
.org-region-panel .pc { --card: 140px; box-shadow: none; }

/* ---- Tablets ---- */
@media (max-width: 1100px) {
  .org-chart { --dept-indent: 36px; --spine-x: 10px; }
  .org-row.is-people { flex-wrap: wrap; row-gap: 14px; }
  .org-row.is-people > .org-node { flex: 0 0 33.333%; }
  .org-row.is-people > .org-node::before { display: none; }
  .org-row.is-people { position: relative; padding-top: 0; }
  .org-row.is-people > .org-node { padding-top: 0; }
  .org-row.is-people > .org-node::after { display: none; }
  .org-region-panel .pc { --card: 120px; }
}
@media (max-width: 900px) {
  .org-row.is-regions { flex-direction: column; gap: 14px; }
  .org-row.is-regions > .org-node { padding-top: 0; }
  .org-row.is-regions > .org-node::before,
  .org-row.is-regions > .org-node::after { display: none; }
  .org-region-panel .pc { --card: 140px; }
}

/* ---- Phones ---- */
@media (max-width: 640px) {
  .org-chart { --dept-indent: 22px; --spine-x: 6px; --stub-y: 24px; }
  .org-dept-head { padding: 0 12px; }
  .org-tree { padding: 16px 10px 20px; }
  .pc { padding: 6px 6px 8px; }
  .pc-name { font-size: 0.78rem; }
  .pc-title { font-size: 0.68rem; }
  .pc.is-director { --card: 200px; }
  .pc.is-president { --card: 230px; }
  .org-cards { gap: 8px; }
  .org-cards > .pc,
  .org-region-panel .pc { --card: calc((100% - 16px) / 3); flex: 0 0 calc((100% - 16px) / 3); max-width: none; }
  .org-row.is-people > .org-node { flex: 0 0 33.333%; padding: 0 4px; }
}

/* Finance + High School share one row; a line joins the two panel headers */
.org-pair { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.org-pair::before {
  content: "";
  position: absolute;
  top: var(--stub-y);
  left: 0;
  right: 0;
  border-top: 2px solid var(--org-line);
  z-index: 0;
}
.org-half { position: relative; z-index: 1; display: flex; flex-direction: column; }
.org-half > .org-tree { flex: 1 1 auto; justify-content: flex-start; }
@media (max-width: 900px) {
  .org-pair { grid-template-columns: 1fr; gap: var(--dept-gap); }
  .org-pair::before { display: none; }
  /* keep the spine running past Finance down to High School */
  .org-half:first-child::before {
    content: "";
    position: absolute;
    top: var(--stub-y);
    bottom: calc(-1 * var(--dept-gap));
    left: calc(var(--spine-x) - var(--dept-indent));
    border-left: 2px solid var(--org-line);
  }
  .org-half + .org-half::before {
    content: "";
    position: absolute;
    top: 0;
    height: var(--stub-y);
    left: calc(var(--spine-x) - var(--dept-indent));
    border-left: 2px solid var(--org-line);
  }
  .org-half + .org-half::after {
    content: "";
    position: absolute;
    top: var(--stub-y);
    left: calc(var(--spine-x) - var(--dept-indent));
    width: calc(var(--dept-indent) - var(--spine-x));
    border-top: 2px solid var(--org-line);
  }
}

/* Phones: two cards across (names fit without breaking), tighter panels */
@media (max-width: 640px) {
  .org-chart { --dept-indent: 16px; --spine-x: 4px; }
  .org-tree { padding: 14px 8px 18px; }
  .org-region-panel { padding: 10px 6px 12px; }
  .org-cards > .pc,
  .org-region-panel .pc { --card: calc(50% - 4px); flex: 0 0 calc(50% - 4px); max-width: 160px; }
  .org-row.is-people { justify-content: center; }
  .org-row.is-people > .org-node { flex: 0 0 50%; max-width: 172px; padding: 0 4px; }
  .org-tree > .pc:not(.is-director):not(.is-president) { --card: 160px; }
  .pc-name { overflow-wrap: normal; }
}
@media (max-width: 360px) {
  .pc-name { font-size: 0.72rem; overflow-wrap: anywhere; }
}
