/* ============================================================
   98 OCTANE FOUNDATION — Main Stylesheet
   "Performance garage meets a well-designed field manual"
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --carbon:    #171A18;
  --field-olive: #59634A;
  --deep-olive: #293129;
  --off-white: #F3F0E7;
  --orange:    #F06423;
  --steel:     #687068;

  --font-headline: 'Barlow Condensed', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'IBM Plex Mono', monospace;

  --max-w: 1200px;
  --section-pad: 96px 24px;
  --section-pad-sm: 64px 24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--carbon);
  background: var(--off-white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.2rem; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.mono-label-light { color: var(--field-olive); }

/* --- Layout Utilities --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-light { background: var(--off-white); color: var(--carbon); }
.section-dark  { background: var(--carbon);    color: var(--off-white); }
.section-olive { background: var(--deep-olive); color: var(--off-white); }
.section-field { background: var(--field-olive); color: var(--off-white); }

section { padding: var(--section-pad); }
section.compact { padding: var(--section-pad-sm); }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 56px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 16px;
  opacity: 0.9;
}
.section-header h2 { flex: 1; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border-radius: 2px;
}
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: #d4531a; border-color: #d4531a; }

.btn-outline-light {
  background: transparent;
  color: var(--off-white);
  border-color: var(--off-white);
}
.btn-outline-light:hover { background: var(--off-white); color: var(--carbon); }

.btn-outline-dark {
  background: transparent;
  color: var(--carbon);
  border-color: var(--carbon);
}
.btn-outline-dark:hover { background: var(--carbon); color: var(--off-white); }

.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline-orange:hover { background: var(--orange); color: #fff; }

/* --- Divider rule --- */
.rule { border: none; border-top: 1px solid currentColor; opacity: 0.2; margin: 40px 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--carbon);
  border-bottom: 1px solid var(--deep-olive);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--off-white);
  line-height: 1.1;
}
.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--off-white);
  padding: 8px 12px;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
  opacity: 0.85;
}
.nav-links a:hover { color: var(--orange); background: rgba(240,100,35,0.08); opacity: 1; }
.nav-links a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.nav-links a.active { color: var(--orange); opacity: 1; }

.nav-give-monthly {
  color: var(--off-white) !important;
  border: 1px solid var(--field-olive) !important;
  margin-left: 8px;
  padding: 7px 14px !important;
  opacity: 1 !important;
}
.nav-give-monthly:hover { border-color: var(--orange) !important; }

.nav-donate-btn {
  display: inline-block;
  padding: 9px 20px;
  background: var(--orange);
  color: #fff !important;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  margin-left: 8px;
  opacity: 1 !important;
  transition: background 0.15s;
}
.nav-donate-btn:hover { background: #d4531a !important; color: #fff !important; }
.nav-donate-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 2px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger:focus-visible { outline: 2px solid var(--orange); }

.mobile-menu {
  display: none;
  background: var(--carbon);
  border-top: 1px solid var(--deep-olive);
  padding: 16px 24px 24px;
}
.mobile-menu a {
  display: block;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--off-white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu a.mobile-donate {
  color: var(--orange);
  border-bottom: none;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-donate-btn { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu.open { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background: var(--carbon);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,26,24,0.98) 0%, rgba(23,26,24,0.55) 50%, rgba(23,26,24,0.2) 100%);
}
.hero-content {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
  color: var(--off-white);
}
.hero-content .mono-label { color: var(--field-olive); margin-bottom: 20px; }
.hero-content h1 { margin-bottom: 24px; max-width: 840px; }
.hero-content h1 .accent { color: var(--orange); }
.hero-content .hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  line-height: 1.65;
  color: rgba(243,240,231,0.8);
  margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   AUDIENCE PATHS
   ============================================================ */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(89,99,74,0.4);
}
.path-card {
  padding: 40px 32px;
  border-right: 1px solid rgba(89,99,74,0.4);
  transition: background 0.2s;
}
.path-card:last-child { border-right: none; }
.path-card:hover { background: rgba(240,100,35,0.05); }
.path-card .path-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.path-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.path-card p { font-size: 0.95rem; color: var(--steel); line-height: 1.6; margin-bottom: 20px; }
.path-card .path-link {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}
.path-card .path-link:hover { gap: 10px; }
.path-card .path-link::after { content: '→'; }

@media (max-width: 768px) {
  .paths-grid { grid-template-columns: 1fr; }
  .path-card { border-right: none; border-bottom: 1px solid rgba(89,99,74,0.4); }
  .path-card:last-child { border-bottom: none; }
}

/* ============================================================
   STATS — CHECK ENGINE
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat-card {
  background: var(--carbon);
  padding: 40px 32px;
  position: relative;
}
.stat-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--orange);
  margin-bottom: 20px;
}
.stat-number {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-desc { font-size: 0.95rem; line-height: 1.6; color: rgba(243,240,231,0.75); margin-bottom: 12px; }
.stat-source { font-family: var(--font-mono); font-size: 0.68rem; color: var(--steel); letter-spacing: 0.08em; }

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

/* ============================================================
   MANUAL FEATURE
   ============================================================ */
.manual-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manual-cover-placeholder {
  aspect-ratio: 3/4;
  background: var(--deep-olive);
  border: 1px solid var(--field-olive);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.manual-cover-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--orange);
}
.manual-cover-placeholder .cover-label {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-white);
  text-align: center;
  padding: 0 20px;
}
.manual-cover-placeholder .cover-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--field-olive);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.manual-text .benefit-list { margin: 24px 0; }
.manual-text .benefit-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(89,99,74,0.25);
  font-size: 0.95rem;
  line-height: 1.5;
}
.manual-text .benefit-list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

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

/* ============================================================
   PROGRAMS OVERVIEW
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(89,99,74,0.3);
  border: 1px solid rgba(89,99,74,0.3);
}
.program-card {
  background: var(--deep-olive);
  padding: 32px 28px;
  transition: background 0.2s;
}
.program-card:hover { background: rgba(89,99,74,0.6); }
.program-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--field-olive);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: block;
}
.program-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--off-white); }
.program-card p { font-size: 0.88rem; color: rgba(243,240,231,0.65); line-height: 1.6; margin-bottom: 16px; }
.program-card a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  transition: letter-spacing 0.15s;
}
.program-card a:hover { letter-spacing: 0.14em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.testimonial-card {
  border: 1px solid rgba(89,99,74,0.3);
  padding: 40px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-headline);
  font-size: 5rem;
  color: var(--orange);
  opacity: 0.4;
  position: absolute;
  top: 16px;
  left: 32px;
  line-height: 1;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  margin-top: 20px;
  font-style: italic;
}
.testimonial-attr { display: flex; flex-direction: column; gap: 2px; }
.testimonial-attr strong {
  font-family: var(--font-headline);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.testimonial-attr span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel); letter-spacing: 0.08em; }

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

/* ============================================================
   GIVING / DONATE
   ============================================================ */
.giving-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.giving-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 768px) {
  .giving-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-top: 24px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  color: var(--off-white);
  border-radius: 2px 0 0 2px;
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--orange); }
.newsletter-form input[type="email"]::placeholder { color: var(--steel); }
.newsletter-form button {
  padding: 14px 22px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--orange);
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  transition: background 0.15s;
}
.newsletter-form button:hover { background: #d4531a; }
.newsletter-form button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--carbon);
  border-top: 1px solid var(--deep-olive);
  padding: 64px 24px 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--steel); line-height: 1.65; max-width: 280px; margin-top: 12px; }
.footer-col h4 {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--steel);
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--orange); }
.footer-col a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 1px; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-family: var(--font-mono); font-size: 0.7rem; color: var(--steel); letter-spacing: 0.08em; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--steel);
  letter-spacing: 0.08em;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--off-white); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--carbon);
  color: var(--off-white);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,26,24,0.9), rgba(41,49,41,0.7));
}
.page-hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero-content .mono-label { color: var(--field-olive); margin-bottom: 16px; }
.page-hero-content h1 { margin-bottom: 20px; max-width: 720px; }
.page-hero-content h1 .accent { color: var(--orange); }
.page-hero-content .hero-sub {
  font-size: 1.1rem;
  color: rgba(243,240,231,0.78);
  max-width: 540px;
  line-height: 1.65;
}

/* ============================================================
   PROGRAM DETAIL SECTIONS
   ============================================================ */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.program-detail.reverse { direction: rtl; }
.program-detail.reverse > * { direction: ltr; }
.program-img-placeholder {
  aspect-ratio: 16/10;
  background: var(--deep-olive);
  border: 1px solid rgba(89,99,74,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.program-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.program-img-placeholder .img-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(243,240,231,0.5);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .program-detail, .program-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ============================================================
   FORMS
   ============================================================ */
.inquiry-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(89,99,74,0.4);
  padding: 48px 40px;
  max-width: 680px;
  border-radius: 2px;
}
.inquiry-form h3 { margin-bottom: 8px; }
.inquiry-form .form-sub { color: var(--steel); margin-bottom: 32px; font-size: 0.95rem; }

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--carbon);
  color: var(--off-white);
  border: 1px solid rgba(89,99,74,0.5);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23687068' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   GIVING TIERS
   ============================================================ */
.giving-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.giving-tier {
  border: 1px solid rgba(89,99,74,0.4);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.giving-tier:hover { border-color: var(--orange); background: rgba(240,100,35,0.05); }
.giving-tier.featured { border-color: var(--orange); background: rgba(240,100,35,0.08); }
.giving-tier .amount {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
}
.giving-tier .tier-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 6px 0;
  display: block;
}
.giving-tier .tier-desc { font-size: 0.85rem; color: var(--steel); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid rgba(89,99,74,0.3);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--carbon);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--orange); }
.faq-question:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 1px; }
.faq-question .faq-icon {
  font-size: 1.4rem;
  color: var(--orange);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--steel);
}
.faq-answer.open { display: block; }

/* Dark variant FAQ */
.section-dark .faq-question { color: var(--off-white); }
.section-dark .faq-item { border-bottom-color: rgba(243,240,231,0.1); }
.section-dark .faq-answer { color: rgba(243,240,231,0.65); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(89,99,74,0.4);
}
.pillar-card {
  padding: 48px 36px;
  border-right: 1px solid rgba(89,99,74,0.4);
  position: relative;
}
.pillar-card:last-child { border-right: none; }
.pillar-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--orange);
  margin-bottom: 24px;
}
.pillar-card h3 { margin-bottom: 12px; font-size: 1.6rem; }
.pillar-card p { font-size: 0.95rem; line-height: 1.7; color: rgba(243,240,231,0.72); }

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card { border-right: none; border-bottom: 1px solid rgba(89,99,74,0.4); }
  .pillar-card:last-child { border-bottom: none; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.team-card {
  border: 1px solid rgba(89,99,74,0.3);
  overflow: hidden;
}
.team-photo {
  aspect-ratio: 1;
  background: var(--deep-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 3rem;
  color: var(--field-olive);
}
.team-info { padding: 20px; }
.team-info h4 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.team-info .team-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.team-info p { font-size: 0.88rem; color: var(--steel); line-height: 1.6; }

/* ============================================================
   404
   ============================================================ */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--carbon);
  color: var(--off-white);
}
.not-found .error-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--field-olive);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: block;
}
.not-found h1 { margin-bottom: 20px; }
.not-found h1 .accent { color: var(--orange); }
.not-found p { color: rgba(243,240,231,0.65); max-width: 420px; margin: 0 auto 32px; line-height: 1.7; }
.not-found-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CALL-OUT BANNER
   ============================================================ */
.callout-banner {
  border: 2px solid var(--orange);
  padding: 32px 40px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.callout-banner .callout-text { flex: 1; min-width: 240px; }
.callout-banner .callout-text p { font-size: 1.1rem; line-height: 1.6; }
.callout-banner .callout-text strong { color: var(--orange); }

/* ============================================================
   COMING SOON STATE
   ============================================================ */
.coming-soon-block {
  border: 1px dashed var(--field-olive);
  padding: 40px;
  text-align: center;
}
.coming-soon-block .mono-label { margin-bottom: 12px; }
.coming-soon-block p { color: var(--steel); max-width: 420px; margin: 0 auto; }

/* ============================================================
   SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 24px;
  background: var(--orange);
  color: #fff;
  padding: 8px 16px;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 999;
  transition: top 0.15s;
  border-radius: 0 0 2px 2px;
}
.skip-link:focus { top: 0; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-orange { color: var(--orange); }
.text-steel  { color: var(--steel); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-8 { margin-bottom: 32px; }

.noindex-banner {
  background: var(--field-olive);
  color: var(--off-white);
  text-align: center;
  padding: 8px 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */

/* Reusable responsive 2-col grid — use class="grid-2" on any container */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

/* Photo strip 4-up → 2-up → 1-up */
.photo-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 200px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .photo-strip-4 { grid-template-columns: repeat(2, 1fr); height: 160px; }
}
@media (max-width: 480px) {
  .photo-strip-4 { grid-template-columns: repeat(2, 1fr); height: 120px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  /* Announcement bar wraps gracefully */
  .announcement-bar { font-size: 0.75rem !important; padding: 8px 16px !important; }

  /* Page hero — tighter on mobile */
  .page-hero { padding: 56px 20px; }

  /* Buttons — full width on small screens in CTA groups */
  .hero-ctas .btn,
  .giving-ctas .btn { width: 100%; text-align: center; }

  /* Programs sub-nav pills wrap and shrink */
  .programs-subnav { flex-wrap: wrap; gap: 8px; }
  .programs-subnav a { font-size: 0.7rem !important; padding: 6px 10px !important; }
}

@media (max-width: 600px) {
  :root { --section-pad: 64px 20px; --section-pad-sm: 48px 20px; }
  .hero { min-height: 75vh; }
  .hero-content { padding: 60px 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .inquiry-form { padding: 32px 20px; }
  .callout-banner { padding: 24px; flex-direction: column; }
  .giving-ctas { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,0.2); border-bottom: none; border-radius: 2px 2px 0 0; }
  .newsletter-form button { border-radius: 0 0 2px 2px; }

  /* Section headers stack on tiny screens */
  .section-header { flex-direction: column; gap: 8px; }

  /* Stat numbers don't need to be huge on mobile */
  .stat-card { padding: 28px 20px; }

  /* Testimonial cards — tighter padding */
  .testimonial-card { padding: 28px 24px; }

  /* Pillar cards — tighter */
  .pillar-card { padding: 32px 24px; }

  /* Path cards — tighter */
  .path-card { padding: 28px 20px; }

  /* Giving tiers — full width */
  .giving-tiers { grid-template-columns: 1fr 1fr; }

  /* Program cards — tighter */
  .program-card { padding: 24px 20px; }

  /* Buttons full width in stacked layouts */
  .not-found-actions { flex-direction: column; align-items: center; }
  .not-found-actions .btn { width: 100%; max-width: 280px; text-align: center; }
}

/* ============ PARTNERS MARQUEE ============ */
.partners-marquee {
  background: var(--carbon);
  padding: 40px 0 32px;
  border-top: 1px solid rgba(89,99,74,0.2);
  border-bottom: 1px solid rgba(89,99,74,0.2);
  overflow: hidden;
}
.marquee-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
}
.marquee-inner:hover {
  animation-play-state: paused;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 72px;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.partner-logo:hover {
  opacity: 0.9;
}
.partner-logo img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .marquee-inner { gap: 40px; }
  .partner-logo { height: 52px; }
  .partner-logo img { max-width: 140px; }
}
