/*
Theme Name: GHF Theme
Theme URI: https://goshenhaven.org.uk
Description: Lightweight custom theme for Goshen Haven Foundation. Serves hand-coded pages via a blank template.
Author: KingTosin
Version: 1.1.0
Text Domain: ghf-theme
*/

:root {
  --bg: #fffefd;
  --grey: #fafafa;
  --espresso: #362222;
  --espresso-50: #f9f6f6;
  --espresso-500: #9c6363;
  --slate: #1a252c;
  --slate-100: #e9eef2;
  --slate-50: #f5f8f9;
  --text-heading: #362222;
  --text-body: #1a252c;
  --surface-section-light: #fdf5e6;
  --action-primary: #f86732;
  --saffron-600: #cc7600;
  --white: #ffffff;
  --font-display: 'Fraunces', serif;
  --font-body: 'Syne', sans-serif;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; padding: 0; }

.fraunces, h1, h2, h3 { font-variation-settings: "SOFT" 0, "WONK" 1; }

/* Reusable arrow icon for buttons */
.has-arrow::after {
  content: "";
  width: 24px; height: 24px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

.nav-inner {
  max-width: 1248px; height: 80px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 5.5px; }
.brand-mark { height: 36px; width: auto; }
.brand-word { height: 24px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  font-size: 16px; line-height: 1.8; padding: 4px 0; color: var(--text-body);
  transition: color .2s ease;
}
.nav-link.active { color: var(--action-primary); font-weight: 700; }
.nav-link:not(.active):hover { color: var(--action-primary); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--action-primary); transition: width .2s ease;
}
.nav-link:not(.active):hover::after { width: 100%; }
.caret {
  width: 8px; height: 8px; margin-left: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-cta {
  background: var(--action-primary); color: var(--white);
  font-weight: 600; font-size: 14px; line-height: 20px;
  padding: 10px 24px; border-radius: 20px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta:hover { background: #C53A07; box-shadow: 0 6px 16px rgba(248,103,50,.35); }
.btn-cta:active { transform: scale(.97); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--espresso-50); align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 926px; padding: 80px 24px 0;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1201px; height: 464px; margin: 0 auto;
  display: grid; grid-template-columns: 601px 568px; gap: 32px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-section-light); border-radius: 100px;
  padding: 6px 16px; height: 28px; margin-bottom: 12px;
  font-size: 16px; line-height: 1.8; white-space: nowrap;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--action-primary); flex-shrink: 0; }

h1.hero-heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.45vw, 64px); line-height: 1.1;
  color: var(--text-heading); margin: 0 0 10px;
}
h1.hero-heading em { font-style: italic; color: var(--action-primary); }

.hero-body { font-size: 18px; line-height: 1.75; margin: 0 0 13px; max-width: 592px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; height: 56px;
  padding: 16px 28px; border-radius: 20px;
  font-weight: 600; font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn-primary { gap: 12px; background: var(--action-primary); color: var(--white); letter-spacing: .04em; }
.btn-primary:hover { background: #C53A07; box-shadow: 0 8px 20px rgba(248,103,50,.35); transform: translateY(-1px); }
.btn-secondary { gap: 8px; background: var(--espresso-50); color: var(--espresso); }
.btn-secondary:hover { background: #f1e9e9; }
.btn-primary:active, .btn-secondary:active { transform: scale(.97); }

.carousel {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 568 / 426;
  border-radius: 32px; background: var(--grey);
  box-shadow: 12px 12px 24px 0 #c8bfb0, -8px -8px 24px 0 #fff;
}
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  height: 28px; padding: 8px 12px; border-radius: 20px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.6);
}
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--espresso); opacity: .85; cursor: pointer; transition: all .25s ease; }
.carousel-dot.is-active { width: 10px; height: 10px; background: var(--action-primary); opacity: 1; }

/* Photo wave band (exported from Figma) */
.hero-band {
   position: absolute; right: 0; bottom: 0; z-index: 2;
     width: max(1600px, 100%); max-width: none; height: 327px;
     object-fit: cover; object-position: right bottom;
     transform: scaleX(-1); pointer-events: none;
}

/* Glass */
.glass-badge {
  position: absolute; z-index: 3; top: 628px; left: calc(50% + 461px);
  width: 100px; height: 100px; border-radius: 24px;
  border: 1px solid #fff; background: rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 12px rgba(0,0,0,.12);
}
.stats-row {
  position: absolute; z-index: 3; left: 50%; bottom: 43px; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 48px);
  display: flex; gap: 25.6px; padding: 32px; border-radius: 44px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 0 12px rgba(0,0,0,.12);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 9.6px; }
.stat-number {
  padding: 9.6px 19.2px; border-radius: 12px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 33.6px; line-height: 1.1;
  color: #fff; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.stat-label { font-weight: 600; font-size: 12.8px; line-height: 1.8; color: #fff; text-align: center; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* ---------- Sections ---------- */
.section { max-width: 1248px; margin: 0 auto; padding: 80px 24px; position: relative; }
.section-eyebrow { margin: 0 0 24px; font-weight: 700; font-size: 18px; line-height: 1.75; color: var(--espresso-500); }
.section-heading { margin: 0; max-width: 917px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.1; color: var(--text-heading); }
.section-heading.h2-warm { color: #1e1410; }
.section-sub { margin: 0; max-width: 624px; font-size: 18px; line-height: 1.75; }

.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row .section-eyebrow { font-size: 16px; line-height: 1.8; margin-bottom: 12px; }
.view-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--action-primary); }
.view-all::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s ease; }
.view-all:hover::after { transform: translateX(4px); }

/* ---------- Expanding accordion ---------- */
.accordion { display: flex; gap: 12px; height: 480px; margin-top: 56px; border-radius: 24px; overflow: hidden; }
.accordion-panel {
  position: relative; flex: 1 1 0; min-width: 72px; border-radius: 20px; overflow: hidden;
  cursor: pointer; background: #1a120f;
  transition: flex .5s cubic-bezier(.22, 1, .36, 1);
}
#who-accordion .accordion-panel.is-active { flex: 3.62 1 0; }
#how-accordion .accordion-panel.is-active { flex: 3.41 1 0; }
.accordion-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.accordion-panel > img.flip { transform: scaleX(-1); }
.accordion-panel::before { content: ''; position: absolute; inset: 0; background: rgba(20,12,8,.62); transition: background .4s ease; }
.accordion-panel.is-active::before { background: linear-gradient(to top, rgba(20,12,8,.93), rgba(20,12,8,.45) 45%, rgba(20,12,8,.08)); }

.accordion-content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .35s ease .1s, transform .35s ease .1s;
}
.accordion-panel.is-active .accordion-content { opacity: 1; transform: none; pointer-events: auto; }

.accordion-meta { display: flex; align-items: center; gap: 10px; }
.accordion-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,240,232,.14); border: 1px solid rgba(245,240,232,.18);
}
.accordion-icon img { width: 16px; height: 16px; }
.accordion-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--grey); color: var(--slate);
  font-weight: 600; font-size: 11px; line-height: 1.2; letter-spacing: .2em; white-space: nowrap;
}
.accordion-tag.tag-saffron { background: var(--saffron-600); color: #fff; }

.accordion-content h3 { margin: 0; padding-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; color: #fff; }
.accordion-content h3.h3-syne { font-family: var(--font-body); font-weight: 600; font-size: 24px; line-height: 33px; color: var(--surface-section-light); font-variation-settings: normal; }
.accordion-content p { margin: 0; padding: 8px 0 24px; max-width: 380px; font-size: 16px; line-height: 1.8; color: #fff; }

.accordion-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 56px;
  padding: 16px 28px; border-radius: 20px;
  background: var(--action-primary); color: #fff;
  font-weight: 600; font-size: 14px; letter-spacing: .04em; white-space: nowrap;
  transition: transform .15s ease;
}
.accordion-btn:hover { background: #C53A07; transform: translateY(-1px); }

.accordion-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; line-height: 1.8; white-space: nowrap;
  writing-mode: vertical-rl; transform: rotate(180deg);
  transition: opacity .3s ease;
}
.accordion-panel.is-active .accordion-label { opacity: 0; pointer-events: none; }

/* ---------- CTA ---------- */
.cta-dark {
  position: relative; background: var(--espresso); border-radius: 32px; padding: 80px 48px;
}
.cta-dark > * { position: relative; z-index: 2; }
.cta-eyebrow { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.75; color: var(--action-primary); max-width: 600px; }
.cta-heading { margin: 0; padding-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.1; color: #fff; max-width: 600px; }
.cta-body { margin: 0; padding-top: 20px; max-width: 523px; font-size: 16px; line-height: 26px; color: var(--surface-section-light); max-width: 600px; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 40px; max-width: 600px; }
.btn-cta-primary, .btn-cta-outline {
  display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 16px 28px; border-radius: 20px;
  font-weight: 600; font-size: 14px; line-height: 20px; color: #fff; transition: transform .15s ease, background .2s ease;
}
.btn-cta-primary { background: var(--action-primary); }
.btn-cta-primary::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.btn-cta-primary:hover { background: #C53A07; transform: translateY(-1px); }
.btn-cta-outline { border: 1px solid rgba(255,255,255,.22); }
.btn-cta-outline:hover { background: rgba(255,255,255,.08); }
.cta-people {
  position: absolute !important; z-index: 1 !important; right: 0; bottom: 0;
  width: 591px; height: auto; pointer-events: none;
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 112px; align-items: start; }
.blog-card {
  background: var(--bg); border-radius: 20px; overflow: hidden;
  box-shadow: 4px 4px 8px 0 #c8bfb0; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 6px 10px 20px 0 #c8bfb0; }
.blog-img { height: 254px; background: #fef3c6; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; }
.blog-tag { padding: 4px 12px; border-radius: 100px; background: rgba(232,96,76,.09); color: var(--espresso); font-weight: 600; font-size: 11px; line-height: 1.2; letter-spacing: .2em; }
.blog-date { font-size: 11px; line-height: 1.2; letter-spacing: .2em; color: #b9aeae; }
.blog-title { margin: 0; padding-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; color: var(--text-heading); }
.blog-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; }
.blog-readtime { font-weight: 600; font-size: 11px; letter-spacing: .2em; color: #7a6e65; }
.blog-readmore { font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--action-primary); }

/* ---------- Footer ---------- */
.footer { background: #120f0f; padding: 80px 0 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 0; }
.footer-desc { margin: 0; padding: 20px 0 0; max-width: 258px; font-size: 16px; line-height: 1.8; color: rgba(245,240,232,.58); }
.footer-social { display: flex; gap: 10px; padding-top: 24px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(245,240,232,.1); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.footer-social a:hover { background: rgba(245,240,232,.22); }
.footer-social img { width: 14px; height: 14px; }
.footer-col h4 { margin: 0 0 8px; font-weight: 700; font-size: 16px; line-height: 1.8; color: #fff; }
.footer-col a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 16px; line-height: 1.8; color: #fff; transition: color .2s ease; }
.footer-col a:hover { color: var(--action-primary); }
.footer-col a img { width: 13px; height: 13px; }
.footer-get-involved { display: inline-flex !important; margin-top: 18px; height: 40px; padding: 10px 20px !important; border-radius: 20px; background: var(--action-primary); font-weight: 600 !important; font-size: 14px !important; line-height: 20px !important; }
.footer-get-involved:hover { color: #fff !important; filter: brightness(1.08); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 33px; border-top: 1px solid rgba(245,240,232,.1); font-size: 14px; line-height: 1.2; letter-spacing: .04em; color: var(--surface-section-light); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--action-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { min-height: 0; display: flex; flex-direction: column; padding-bottom: 0; }
  .hero-inner { order: 1; grid-template-columns: 1fr; height: auto; gap: 40px; padding-top: 24px; }
  .hero-body { max-width: 60ch; }
  .hero-band { order: 2; position: relative; width: calc(100% + 48px); margin: 56px -24px 0; height: 240px; object-position: center; }
  .stats-row { order: 3; position: relative; left: auto; bottom: auto; transform: none; margin: -110px auto 32px; flex-wrap: wrap; justify-content: center; width: auto; padding: 24px; border-radius: 32px; }
  .stat-label { white-space: normal; }
  .glass-badge { display: none; }
  .eyebrow-pill { white-space: normal; height: auto; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-actions .btn-cta { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 80px;
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 24px 24px;
    background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .nav.nav-open .nav-links { display: flex; }
  .accordion { flex-direction: column; height: auto; }
  .accordion-panel, #who-accordion .accordion-panel.is-active, #how-accordion .accordion-panel.is-active { flex: none; height: 88px; }
  .accordion-panel.is-active { height: 440px !important; }
  .accordion-label { writing-mode: horizontal-tb; transform: none; }
  .blog-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .cta-dark { padding: 48px 28px; }
  .cta-people { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 16px; }
  .stat { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide, .accordion-panel, .accordion-content { transition: none; }
}

/* ==========================================================================
   ENTRANCE ANIMATIONS
   ========================================================================== */

/* Hero Load Animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-delay-1 { animation-delay: 100ms; }
.hero-delay-2 { animation-delay: 250ms; }
.hero-delay-3 { animation-delay: 400ms; }

/* Scroll-Triggered Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }



/* =========================================================
   OUR STORY PAGE — append this block to the end of style.css
   ========================================================= */

/* Hero (dark, photo background) */
.story-hero { position: relative; overflow: hidden; padding: 160px 24px 140px; display: flex; justify-content: center; }
.story-hero-bg { position: absolute; inset: 0; }
.story-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(17px); }
.story-hero-scrim { position: absolute; inset: 0; background: rgba(18,15,15,.5); }
.story-hero-grid { position: relative; z-index: 2; max-width: 1200px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow-pill.on-dark { background: rgba(245,166,35,.56); color: #f9f6f6; }
.eyebrow-pill.on-dark .eyebrow-dot { background: #f5a623; }
.story-hero h1.hero-heading { color: #fff; }
.story-hero .hero-body { color: var(--surface-section-light); max-width: 448px; }

.bento { background: #e7e5e4; border-radius: 32px; padding: 12px; display: flex; flex-direction: column; gap: 12px; height: 426px; }
.bento-row1 { display: flex; gap: 12px; height: 235px; }
.bento-large { flex: 3; border-radius: 20px; overflow: hidden; }
.bento-large img, .bento-right img, .bento-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-right-wrap { flex: 2; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 20px; }
.bento-right { width: 100%; height: 100%; transform: scaleX(-1); }
.bento-row2 { display: flex; gap: 12px; flex: 1; }
.bento-cell { flex: 1; border-radius: 20px; overflow: hidden; }

/* Shared heading pattern (founder story, values, milestones) */
.story-eyebrow { font-weight: 700; font-size: 16px; color: var(--espresso-500); margin: 0 0 12px; }
.story-heading { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.1; color: var(--text-heading); margin: 0; font-variation-settings: "SOFT" 0, "WONK" 1; }

/* Founder story split */
.story-split { max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story-photo { border-radius: 32px; overflow: hidden; height: 100%; min-height: 420px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-heading.gap-below { margin-bottom: 32px; }
.story-para { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 0 0 20px; }
.story-quote { margin-top: 40px; background: rgba(30,20,16,.03); border-left: 3px solid var(--espresso-500); border-radius: 16px; padding: 20px 28px; }
.story-quote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.6; color: var(--text-heading); margin: 0; font-variation-settings: "SOFT" 0, "WONK" 1; }

/* Dark "name meaning" section */
.story-dark { background: #120f0f; padding: 80px 24px; display: flex; justify-content: center; }
.story-dark-inner { max-width: 672px; text-align: center; }
.story-dark .story-eyebrow { color: var(--espresso-500); text-align: center; }
.story-dark h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); color: #fff; margin: 20px 0 0; font-variation-settings: "SOFT" 0, "WONK" 1; }
.story-dark .body { color: var(--surface-section-light); font-size: 16px; line-height: 1.6; margin: 32px 0 0; }
.story-dark .pull { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; color: #ff9f1c; margin: 40px 0 0; font-variation-settings: "SOFT" 0, "WONK" 1; }

/* Mission / Vision / Photo row */
.mv-row { max-width: 1327px; margin: 0 auto; display: flex; padding: 24px; }
.mv-panel { flex: 0 0 447px; padding: 100px 80px; display: flex; flex-direction: column; gap: 32px; }
.mv-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: 42px; margin: 0; font-variation-settings: "SOFT" 0, "WONK" 1; }
.mv-panel .lead { font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0 0 18px; }
.mv-panel .body { font-size: 17px; line-height: 1.7; margin: 0; }
.mv-mission { background: var(--espresso); color: #fff; }
.mv-mission h3 { color: #fff; }
.mv-mission .lead { color: #f5f8f9; }
.mv-mission .body { color: #cfdbe3; }
.mv-vision { background: #f1b74c; }
.mv-vision h3, .mv-vision .lead { color: var(--text-heading); }
.mv-vision .body { color: var(--text-body); }
.mv-photo { flex: 1; min-width: 0; }
.mv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Core values grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; max-width: 1220px; margin-left: auto; margin-right: auto; }
.value-card { background: #fff; border: 1.5px solid rgba(54,34,34,.12); border-radius: 20px; padding: 33.5px; display: flex; flex-direction: column; gap: 12px; min-height: 292px; }
.value-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--grey); box-shadow: 4px 4px 8px rgba(54,34,34,.15), -4px -4px 8px rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; }
.value-icon img { width: 24px; height: 24px; }
.value-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: var(--text-heading); margin: 0; }
.value-card p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 0; }

/* Milestones timeline */
.timeline-wrap { max-width: 768px; margin: 0 auto; padding: 80px 24px; }
.timeline-list { position: relative; margin-top: 24px; }
.timeline-line { position: absolute; left: 20px; top: 24px; bottom: 24px; width: 1px; background: #c8bfb0; }
.timeline-item { position: relative; display: flex; gap: 32px; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot-wrap { position: relative; z-index: 1; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #f5f0e8; box-shadow: 4px 4px 8px #c8bfb0, -4px -4px 8px white; display: flex; align-items: center; justify-content: center; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--espresso-500); }
.timeline-dot.upcoming { background: #f5a623; }
.timeline-year { font-weight: 700; font-size: 14px; color: var(--espresso-500); margin: 0 0 4px; }
.timeline-year.upcoming { color: #f5a623; }
.timeline-title { font-weight: 700; font-size: 20px; color: var(--text-heading); margin: 0 0 8px; }
.timeline-desc { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .story-hero-grid, .story-split { grid-template-columns: 1fr; }
  .bento { height: auto; }
  .mv-row { flex-direction: column; }
  .mv-panel { flex: none; padding: 56px 32px; }
  .mv-photo { height: 260px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .timeline-item { gap: 20px; }
}


/* =========================================================
   OUR STORY — hero entrance animation
   Append this to the end of style.css, after the other
   "OUR STORY PAGE" additions.
   ========================================================= */

@keyframes story-hero-drop {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes story-hero-slide-left {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes story-hero-slide-right {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes story-hero-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.story-hero .eyebrow-pill {
  animation: story-hero-drop .6s cubic-bezier(.22,1,.36,1) both;
}
.story-hero h1.hero-heading {
  animation: story-hero-slide-left .7s cubic-bezier(.22,1,.36,1) .15s both;
}
.story-hero .hero-body {
  animation: story-hero-fade-up .6s cubic-bezier(.22,1,.36,1) .35s both;
}
.story-hero .bento {
  animation: story-hero-slide-right .7s cubic-bezier(.22,1,.36,1) .2s both;
}

@media (prefers-reduced-motion: reduce) {
  .story-hero .eyebrow-pill,
  .story-hero h1.hero-heading,
  .story-hero .hero-body,
  .story-hero .bento {
    animation: none;
  }
}

/* =========================================================
   OUR STORY — scroll-triggered reveal (Founder Story section)
   Append this to the end of style.css.
   ========================================================= */

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



/* =========================================================
   WHO WE HELP — YOUNG PEOPLE PAGE
   Append this block to the end of style.css.
   ========================================================= */

/* Simple dark photo hero (single column, no bento) */
.wwh-hero { position: relative; overflow: hidden; min-height: 749px; display: flex; align-items: center; padding: 160px 24px 140px 120px; }
.wwh-hero-bg { position: absolute; inset: 0; }
.wwh-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.wwh-hero-scrim { position: absolute; inset: 0; background: rgba(18,15,15,.5); }
.wwh-hero-copy { position: relative; z-index: 2; max-width: 806px; }
.wwh-hero h1.hero-heading { color: #fff; font-size: clamp(36px, 4.4vw, 64px); }
.wwh-hero .hero-body { color: var(--surface-section-light); max-width: 100%; margin: 24px 0 0; }
.wwh-hero .hero-btns { margin-top: 20px; }

/* Alternating photo/text split rows (What we do / How we cater / What to expect) */
.wwh-split { max-width: 1200px; margin: 0 auto; padding: 40px 96px; display: flex; align-items: flex-start; justify-content: space-between; gap: 64px; }
.wwh-split.reverse { flex-direction: row-reverse; }
.wwh-text { flex: 0 1 663px; }
.wwh-text.align-right { text-align: right; }
.wwh-text.align-right .story-quote { text-align: left; }
.wwh-photo-wrap { flex: 0 0 473px; align-self: flex-start; }
.wwh-photo-wrap img { width: 100%; height: 355px; object-fit: cover; border-radius: 24px; display: block; }

/* Activities grid (reuses .values-grid / .value-card look from Our Story) */
.activities-head { max-width: 1220px; margin: 0 auto; padding: 80px 24px 0; }
.activities-head .story-heading { margin-bottom: 6px; }
.activities-head .story-para { max-width: 663px; }

/* Food / activity carousel card */
.food-section { max-width: 1220px; margin: 0 auto; padding: 0 24px 80px; }
.food-card { background: var(--grey); border-radius: 20px; box-shadow: 4px 4px 8px 0 rgba(54,34,34,.15), -4px -4px 8px 0 rgba(255,255,255,.7); display: flex; align-items: center; justify-content: space-between; overflow: hidden; margin-top: 40px; }
.food-card .text { padding: 32px; flex: 1 1 auto; min-width: 0; }
.food-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 31px; line-height: 1.5; color: var(--text-heading); margin: 0 0 22px; }
.food-card p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 0; max-width: 460px; }
.food-card img { width: 546px; max-width: 45%; height: 365px; object-fit: cover; display: block; flex-shrink: 0; }
.food-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.food-dots { display: flex; gap: 8px; }
.food-dot { width: 24px; height: 8px; border-radius: 4px; background: var(--espresso-100, #f1e9e9); transition: all .2s ease; }
.food-dot.is-active { width: 24px; background: var(--espresso-500); }
.food-dot:not(.is-active) { width: 8px; }
.food-arrows { display: flex; gap: 8px; }
.food-arrow { width: 44px; height: 44px; border-radius: 12px; background: #f5f0e8; box-shadow: 4px 4px 8px #c8bfb0, -4px -4px 8px white; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.food-arrow img { width: 18px; height: 18px; }
.food-arrow.disabled { opacity: .3; box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 white; cursor: default; pointer-events: none; }

/* FAQ accordion */
.faq-section { max-width: 1220px; margin: 0 auto; padding: 80px 24px; display: flex; flex-direction: column; align-items: center; }
.faq-section .story-heading, .faq-section .story-eyebrow { text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 846px; margin-top: 64px; }
.faq-item { background: var(--grey); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; cursor: pointer; text-align: left; }
.faq-q-left { display: flex; align-items: center; gap: 12px; }
.faq-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--action-primary); flex-shrink: 0; }
.faq-q-text { font-weight: 600; font-size: 14px; color: #1e1410; }
.faq-chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform .25s ease; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-a { max-height: 240px; }
.faq-a p { margin: 0; padding: 0 24px 20px 46px; font-size: 14px; line-height: 1.8; color: var(--text-body); }
.faq-a p.placeholder { color: #b9aeae; font-style: italic; }

/* Dark CTA with form */
.wwh-cta { background: #120f0f; padding: 140px 24px; }
.wwh-cta-grid { max-width: 1200px; margin: 0 auto; display: flex; gap: 64px; align-items: center; justify-content: center; flex-wrap: wrap; }
.wwh-cta-text { flex: 0 1 568px; }
.wwh-cta-text .cta-eyebrow { color: var(--action-primary); }
.wwh-cta-text h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 39px); color: #fff; margin: 20px 0 0; font-variation-settings: "SOFT" 0, "WONK" 1; }
.wwh-cta-text p { color: #fff; font-size: 16px; line-height: 1.8; margin: 24px 0 0; }
.wwh-cta-card { flex: 0 1 568px; min-width: 300px; background: var(--grey); border-radius: 20px; padding: 32px; }
.wwh-cta-card h3 { font-weight: 700; font-size: 20px; color: var(--text-heading); margin: 0; }
.wwh-cta-card .sub { font-size: 17px; color: #3d5667; margin: 4px 0 0; }
.wwh-form { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.wwh-input {
  width: 100%; height: 49px; border-radius: 12px; border: none;
  padding: 0 16px; font-family: var(--font-body); font-size: 14px; color: var(--text-heading);
  background: #fff; box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 white;
}
.wwh-input::placeholder { color: #4c6c80; }
.btn-primary.full { width: 100%; justify-content: center; }

/* Parallax */
.parallax { will-change: transform; }

@media (max-width: 1000px) {
  .wwh-hero { padding: 120px 24px 80px; min-height: 0; }
  .wwh-split, .wwh-split.reverse { flex-direction: column; padding: 32px 24px; }
  .wwh-text.align-right { text-align: left; }
  .wwh-photo-wrap { flex: none; width: 100%; }
  .food-card { flex-direction: column; }
  .food-card img { width: 100%; max-width: 100%; height: 220px; }
  .wwh-cta-grid { flex-direction: column; }
}


/* =========================================================
   NAV DROPDOWNS — append to the end of style.css
   ========================================================= */

.nav-dropdown { position: relative; }

.nav-dropdown-btn { display: inline-flex; align-items: center; gap: 4px; }

.nav-dropdown .caret { transition: transform .2s ease; }
.nav-dropdown.is-open .caret { transform: rotate(180deg) translateY(2px); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(54,34,34,.18), 0 2px 8px rgba(54,34,34,.08);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-body);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--espresso-50);
  color: var(--action-primary);
}

/* Mobile: dropdown expands inline within the stacked menu instead of floating */
@media (max-width: 960px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 300px;
  }
  .nav-dropdown-menu a {
    padding: 8px 0;
  }
  .nav-dropdown-btn { width: 100%; justify-content: space-between; }
}