/* ============================================
   BURDEN BEARER CARRIER INITIATIVE — DESIGN TOKENS
   ============================================ */
:root {
  --ink:          #17130F;
  --charcoal:     #221C17;
  --charcoal-2:   #2C241D;
  --cream:        #FFFFFF;
  --cream-tint:   #F6F3EE;
  --parchment:    #F1EBDD;
  --gold:         #B9863B;
  --gold-light:   #D9A75C;
  --maroon:       #6E2A2A;
  --ink-soft:     #4A443C;
  --line:         rgba(23, 19, 15, 0.12);
  --line-light:   rgba(255, 255, 255, 0.16);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Work Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --container: 1160px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============================================
   REUSABLE: eyebrow, tags, buttons
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.eyebrow--light { color: var(--gold-light); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.9em 1.8em;
  border-radius: var(--radius-pill);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(185, 134, 59, 0.32);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--line-light);
}
.btn--ghost:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark:hover {
  background: var(--charcoal-2);
  transform: translateY(-2px);
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__mark {
  background: var(--ink);
  color: var(--gold-light);
  width: 2.5em;
  height: 2.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.2;
}
.nav__name small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase; font-weight: 500; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__links a { color: var(--ink-soft); transition: color 0.15s ease; }
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.6em 1.4em;
  border-radius: var(--radius-pill);
}
.nav__cta:hover { background: var(--charcoal-2); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.nav__toggle span { height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.42; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,19,15,0.55) 0%, rgba(23,19,15,0.72) 55%, rgba(23,19,15,0.94) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--cream);
}
.hero__headline-accent { color: var(--gold-light); font-style: italic; }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   SECTIONS (generic)
   ============================================ */
.section { padding: 6rem 0; }
.section--tint { background: var(--cream-tint); }
.section--parchment { background: var(--parchment); }
.section--dark {
  background: var(--ink);
  color: var(--cream);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section__title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  max-width: 680px;
  margin-bottom: 1.1rem;
}
.section__title--light { color: var(--cream); }
.section__lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 3rem;
}
.section__lede--light { color: rgba(255, 255, 255, 0.75); }

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

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.section--tint .card, .section--parchment .card { background: var(--cream); }
.section--dark .card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-light);
}
.card__icon { width: 40px; height: 40px; margin-bottom: 1.1rem; }
.card__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.section--dark .card__eyebrow { color: var(--gold-light); }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }
.section--dark .card p { color: rgba(255,255,255,0.72); }

/* ============================================
   ABOUT / PHOTO SPLIT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.split--reverse { grid-template-columns: 1.1fr 0.9fr; }
.split--reverse .split__photo { order: 2; }
.split__photo img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ============================================
   PROGRAMS
   ============================================ */
.program-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 0;
  border-top: 1px solid var(--line-light);
}
.program-block:first-of-type { border-top: none; padding-top: 0; }
.program-block__photo img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 16/11; object-fit: cover; }
.program-block__phases { display: flex; flex-direction: column; gap: 1.4rem; }
.phase { display: flex; gap: 1.1rem; }
.phase__num {
  flex-shrink: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-light);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}
.phase h4 { color: var(--cream); font-size: 1.08rem; margin-bottom: 0.3rem; }
.phase p { color: rgba(255,255,255,0.68); font-size: 0.94rem; margin: 0; }

/* ============================================
   SKILLS CHIPS
   ============================================ */
.chip-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  border: 1.5px solid var(--line-light);
  color: var(--cream);
  padding: 0.55em 1.15em;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
}
.chip--outline-dark {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--cream-tint);
}

/* ============================================
   PILLARS
   ============================================ */
.pillar-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: left;
}
.pillar-card__num { font-family: var(--font-mono); color: var(--gold); font-size: 0.82rem; font-weight: 600; margin-bottom: 0.9rem; display: block; }
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.pillar-card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* ============================================
   FOUNDER
   ============================================ */
.founder {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}
.founder__photo img { width: 100%; border-radius: var(--radius-sm); }
.founder__name { font-size: 1.7rem; margin-bottom: 0.2rem; }
.founder__title { color: var(--gold); font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.4rem; display: block; }
.founder__bio p { color: var(--ink-soft); margin: 0 0 1rem; }
.founder__credentials {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.founder__credentials h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); font-weight: 600; color: var(--ink); margin-bottom: 0.9rem; }
.founder__credentials ul { display: flex; flex-direction: column; gap: 0.5rem; }
.founder__credentials li { color: var(--ink-soft); font-size: 0.92rem; padding-left: 1.1rem; position: relative; }
.founder__credentials li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
details.founder__more { margin-top: 1.4rem; }
details.founder__more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.94rem;
  list-style: none;
}
details.founder__more summary::-webkit-details-marker { display: none; }
details.founder__more summary::after { content: ' →'; }
details.founder__more[open] summary::after { content: ' ↑'; }
details.founder__more .founder__bio { margin-top: 1rem; }

/* ============================================
   ORG STRUCTURE
   ============================================ */
.org-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.org-card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.org-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
  position: relative;
  padding: 7rem 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.testimonial-section__bg { position: absolute; inset: 0; z-index: 0; }
.testimonial-section__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.testimonial-section__scrim { position: absolute; inset: 0; background: rgba(23,19,15,0.78); z-index: 1; }
.testimonial-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 2.4rem;
}
.testimonial__mark { font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 0.8rem; display: block; }
.testimonial p.testimonial__quote { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--cream); margin: 0 0 1.2rem; line-height: 1.4; }
.testimonial__source { font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold-light); letter-spacing: 0.03em; }
.testimonial__source span { display: block; color: rgba(255,255,255,0.55); font-family: var(--font-body); margin-top: 0.2rem; }

/* ============================================
   VOLUNTEER / GET INVOLVED
   ============================================ */
.volunteer-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem;
}
.volunteer-card h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.volunteer-card ul { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.4rem; }
.volunteer-card li { color: var(--ink-soft); font-size: 0.93rem; padding-left: 1.2rem; position: relative; }
.volunteer-card li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 0.75rem; top: 0.25em; }

/* ============================================
   DONATE / PARTNER
   ============================================ */
.donate-panel {
  background: var(--charcoal);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
}
.donate-panel p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 1.8rem; }
.donate-panel__note {
  margin-top: 1.6rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.98rem;
}
.contact__row svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.15em; }
.contact__row span.small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.86rem; margin-top: 0.15rem; }

.contact__form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 20px 48px rgba(23, 19, 15, 0.06);
}
.form__row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form__row--split { flex-direction: row; gap: 1rem; }
.form__row--split > div { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.form__row label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.form__row input, .form__row select, .form__row textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.8em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream-tint);
  color: var(--ink);
}
.form__row input::placeholder, .form__row textarea::placeholder { color: #948C7F; }
.form__row select option { color: var(--ink); }
.form__submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form__note {
  font-size: 0.88rem;
  margin-top: 0.9rem;
  min-height: 1.2em;
  color: var(--gold);
}
.form__note[data-state="error"] { color: #E28B7D; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
}
.footer__tagline { font-size: 0.9rem; margin: 0; }
.footer__links { display: flex; gap: 1.4rem; font-size: 0.9rem; }
.footer__links a:hover { color: var(--cream); }
.footer__copy { width: 100%; font-size: 0.8rem; opacity: 0.6; margin: 0; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__photo { order: 0; }
  .program-block { grid-template-columns: 1fr; gap: 1.8rem; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 260px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .hero { padding: 6rem 0 4.5rem; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .nav__inner { height: 68px; }
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 24px 2rem;
    gap: 1.3rem;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.3rem 0; font-size: 1.02rem; }
  .nav__toggle { display: flex; }
  .nav__cta { align-self: flex-start; }

  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form__row--split { flex-direction: column; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .contact__form { padding: 1.5rem; }
  .donate-panel { padding: 2rem 1.5rem; }
}
