:root {
  --sand: #f5f0e8;
  --cream: #faf8f4;
  --charcoal: #2d2a26;
  --terracotta: #c46b3a;
  --terracotta-dark: #a8562d;
  --warm-gray: #8c7e72;
  --light-gray: #e8e3db;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--sand);
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(196, 107, 58, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(196, 107, 58, 0.05) 0%, transparent 45%);
  border-bottom: 1px solid var(--light-gray);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 28px;
}

h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 580px;
}

/* ── PROBLEM ── */
.problem {
  background-color: var(--charcoal);
  color: var(--cream);
  padding: 100px 40px;
}

.problem-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

.problem-stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 40px;
  border-right: 1px solid rgba(245,240,232,0.15);
}

.stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(245,240,232,0.7);
  font-weight: 300;
}

.problem-text h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--cream);
}

.problem-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.75);
  margin-bottom: 18px;
}

.problem-text p:last-child {
  color: var(--terracotta);
  font-weight: 500;
  font-size: 1.1rem;
}

/* ── APPROACH ── */
.approach {
  padding: 100px 40px;
  background-color: var(--cream);
}

.approach-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.approach h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 64px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pillar {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--light-gray);
}

.pillar:last-child {
  border-right: none;
  padding-right: 0;
}

.pillar:not(:first-child) {
  padding-left: 32px;
}

.pillar-icon {
  color: var(--terracotta);
  margin-bottom: 20px;
}

.pillar h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.pillar p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--warm-gray);
}

/* ── BUILD PROGRAM ── */
.buildprogram {
  background-color: var(--sand);
  padding: 100px 40px;
  background-image: radial-gradient(ellipse at 80% 50%, rgba(196, 107, 58, 0.06) 0%, transparent 50%);
}

.bp-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.bp-content .section-label {
  margin-bottom: 16px;
}

.bp-content h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 28px;
  line-height: 1.25;
}

.bp-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--warm-gray);
  margin-bottom: 18px;
}

.bp-card {
  background-color: var(--cream);
  border: 1px solid var(--light-gray);
  padding: 48px 40px;
}

.bp-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 20px;
}

.bp-card-quote {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.4;
}

/* ── CLOSING ── */
.closing {
  background-color: var(--charcoal);
  padding: 100px 40px;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.2;
}

.closing p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245,240,232,0.7);
  margin-bottom: 20px;
}

.closing p:last-child {
  color: var(--terracotta);
  font-weight: 500;
}

/* ── FOOTER ── */
footer {
  background-color: var(--sand);
  padding: 48px 40px;
  border-top: 1px solid var(--light-gray);
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--warm-gray);
  font-weight: 300;
}

/* ── MEMORIAL HEART ── */
.memorial-stripe {
  background-color: var(--sand);
  padding: 20px 40px 28px;
  text-align: center;
}

.memorial-heart {
  display: inline-block;
  font-size: 18px;
  text-decoration: none;
  opacity: 0.35;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  line-height: 1;
}

.memorial-heart:hover,
.memorial-heart:focus {
  opacity: 1;
  transform: scale(1.2);
  animation: heart-pulse 1s ease-in-out infinite;
}

@keyframes heart-pulse {
  0%, 100% { transform: scale(1.2); }
  50% { transform: scale(1.45); }
}

/* ── MEMORIAL PAGE ── */
.memorial-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.memorial-card {
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(45, 42, 38, 0.08);
  padding: 60px 48px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  position: relative;
}

.memorial-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--warm-gray);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.memorial-close:hover {
  background: var(--light-gray);
  color: var(--charcoal);
}

.memorial-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 32px;
  display: block;
  border: 3px solid var(--light-gray);
  box-shadow: 0 2px 16px rgba(45, 42, 38, 0.1);
}

.memorial-divider {
  width: 40px;
  height: 1px;
  background: var(--terracotta);
  margin: 28px auto;
  opacity: 0.6;
}

.memorial-quote {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 28px;
}

.memorial-attribution {
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-weight: 300;
}

.memorial-back {
  display: inline-block;
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.memorial-back:hover {
  color: var(--terracotta-dark);
}

@media (max-width: 480px) {
  .memorial-card {
    padding: 48px 28px;
  }
  .memorial-photo {
    width: 160px;
    height: 160px;
  }
}
@media (max-width: 768px) {
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-stat {
    border-right: none;
    border-bottom: 1px solid rgba(245,240,232,0.15);
    padding-right: 0;
    padding-bottom: 40px;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .pillar {
    border-right: none;
    padding: 0 !important;
  }

  .bp-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  .approach, .problem, .buildprogram, .closing {
    padding: 72px 24px;
  }

  .hero-inner {
    padding: 60px 24px;
  }

  .stat-num {
    font-size: 3.5rem;
  }

  .approach h2 {
    font-size: 1.7rem;
    margin-bottom: 48px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bp-card {
    padding: 32px 28px;
  }

  .bp-card-quote {
    font-size: 1.4rem;
  }
}