/* ==========================================================================
   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: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", "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;
}

body.highlight-placeholders .placeholder-item,
body.highlight-placeholders [data-placeholder="true"],
body.highlight-placeholders .placeholder-tag {
  outline: 2px dashed #111 !important;
  background-color: var(--brand-yellow) !important;
}

/* --- 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;
}

.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 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 26px;
}
.hero-title .highlight-word {
  background: linear-gradient(transparent 58%, var(--brand-yellow) 58%);
  padding: 0 0.08em;
}
.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 28px;
  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);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  color: #111;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.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;
  gap: 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; }
}

/* --- Admin / launch readiness drawer --- */
.admin-trigger-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  background: #111;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.admin-trigger-pill:hover {
  background: var(--brand-yellow);
  color: #111;
}

.admin-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 500px;
  max-width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid var(--border-subtle);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}
.admin-drawer.open { right: 0; }
.admin-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-drawer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-drawer-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.checklist-progress-box { padding: 0; }
.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--bg-surface-3);
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar-fill {
  height: 100%;
  background: #111;
  transition: width var(--transition-normal);
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}
.checklist-item.done { color: var(--text-muted); }
.checklist-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #111;
  cursor: pointer;
  margin-top: 2px;
}

/* --- 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; }
}
