/*
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, html { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  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 .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 top;
     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: -72px auto 32px; flex-wrap: wrap; justify-content: center; width: auto; padding: 24px; border-radius: 32px; background: rgba(54,34,34,.92); border-color: rgba(255,255,255,.18); box-shadow: 0 12px 32px rgba(0,0,0,.28); }
  .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 .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; }
.hero-delay-4 { animation-delay: 550ms; }

/* 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,.68); }
.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; }
/* Default gap between a heading and the paragraph that follows it, for sections that do not already set their own spacing */
.story-para { margin-top: 20px; }
.activities-head .story-para, .story-heading.gap-below + .story-para { margin-top: 0; }
.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; }

.timeline-line-fill { position: absolute; left: 20px; top: 24px; width: 1px; height: 0%; background: var(--espresso-500); transition: height 0.1s linear; }
.timeline-item { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.timeline-item.is-visible { opacity: 1; transform: translateY(0); }
.timeline-dot-wrap { transition: box-shadow 0.4s ease, transform 0.4s ease; }
.timeline-item.is-visible .timeline-dot-wrap { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .timeline-item { opacity: 1; transform: none; transition: none; }
  .timeline-line-fill { transition: none; }
  .timeline-item.is-visible .timeline-dot-wrap { transform: none; }
}

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

/* Core values card hover */
.value-card {
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.value-card:hover {
  border-color: var(--accent-saffron, #ff9f1c);
  background: var(--grey, #fafafa);
  box-shadow: 4px 4px 8px 0 rgba(54,34,34,.15), -4px -4px 8px 0 rgba(255,255,255,.7);
}
.value-card:hover .value-icon {
  box-shadow: 4px 4px 8px 0px rgba(54,34,34,.22), -4px -4px 8px 0px rgba(255,255,255,.85);
}
@media (prefers-reduced-motion: reduce) {
  .value-card, .value-card:hover { transition: 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);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-right, .reveal-left, .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-animate {
    opacity: 1;
    animation: 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 max(24px, calc((100% - 1200px) / 2 + 96px)) 140px; }
.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,.68); }
.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; }
.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; }

/* Replace the existing .food-card / .food-card .text / .food-card h3 /
   .food-card p / .food-card img rules in style.css with these. */
.food-card {
  position: relative;
  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);
  overflow: hidden;
  margin-top: 20px;
}
.food-slide { display: none; align-items: center; justify-content: space-between; }
.food-slide.is-active { display: flex; }
.food-slide .text { padding: 32px; flex: 1 1 auto; min-width: 0; }
.food-slide 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-slide p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 0; max-width: 460px; }
.food-slide img { width: 546px; max-width: 45%; height: 365px; object-fit: cover; display: block; flex-shrink: 0; }

@media (max-width: 1000px) {
  .food-slide { flex-direction: column; }
  .food-slide img { width: 100%; max-width: 100%; height: 220px; }
}

/* 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-text { flex: none; width: 100%; }
  .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; }
}


.activities-head + .section { padding-top: 0; }
.values-grid { margin-top: 32px; }
.food-card { margin-top: 20px; }


/* =========================================================
   FOOD CAROUSEL — complete block. Paste this at the very end
   of style.css. It's safe even if older .food-card / .food-nav
   rules already exist earlier in the file — these come later,
   so they take priority regardless of what's above them.
   ========================================================= */

.food-section { max-width: 1220px; margin: 0 auto; padding: 0 24px 80px; }

.food-card {
  position: relative;
  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);
  overflow: hidden;
  margin-top: 20px;
}
.food-slide { display: none; align-items: center; justify-content: space-between; }
.food-slide.is-active { display: flex; }
.food-slide .text { padding: 32px; flex: 1 1 auto; min-width: 0; }
.food-slide 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-slide p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 0; max-width: 460px; }
.food-slide 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: 8px; 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-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; }

@media (max-width: 1000px) {
  .food-slide { flex-direction: column; }
  .food-slide img { width: 100%; max-width: 100%; height: 220px; }
}



/* =========================================================
   PARENTS & CARERS PAGE — append to the very end of style.css
   (Builds on the Our Story + Young People CSS already in place.)
   ========================================================= */

.eyebrow-right { text-align: right; }

/* "A direct line" section + cards */
.pc-connect { max-width: 1220px; margin: 0 auto; padding: 80px 24px 0; }
.pc-connect .story-heading { max-width: 659px; }
.pc-connect .story-para { max-width: 663px; margin: 6px 0 0; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding: 24px 0; }
.pc-card {
  background: var(--grey); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  border: 2px solid transparent;
  box-shadow: 4px 4px 8px 0 rgba(54,34,34,.15), -4px -4px 8px 0 rgba(255,255,255,.7);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pc-card:hover { border-color: var(--accent-saffron, #ff9f1c); box-shadow: 4px 4px 8px 0 rgba(54,34,34,.15), -4px -4px 8px 0 rgba(255,255,255,.7); }
.pc-card .value-icon { background: var(--espresso-50); }
.pc-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.8; color: var(--text-heading); margin: 0; }
.pc-card p { font-size: 16px; line-height: 1.8; color: var(--text-body); margin: 0; }

/* Safeguarding commitment panel (photo pops out above the card) */
.safe-wrap { max-width: 1138px; margin: 0 auto; padding: 170px 24px 80px; }
.safe-card { position: relative; background: #1e1410; border-radius: 16px; padding: 32px 52px; min-height: 350px; display: flex; flex-direction: column; }
.safe-label { margin: 0; font-weight: 600; font-size: 14px; line-height: 15px; letter-spacing: 2px; text-transform: uppercase; color: #f5a623; }
.safe-list { list-style: none; margin: 0; padding: 20px 0 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; max-width: 560px; position: relative; z-index: 2; }
.safe-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.8; color: #fdf5e6; }
.safe-list li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--espresso-500); margin-top: 12px; }
.safe-img { position: absolute; right: -13px; bottom: 0; width: 484px; height: 550px; object-fit: cover; pointer-events: none; }

/* Contact section (variant of the Young People CTA) */
.wwh-cta.pc-contact { padding: 80px 24px; }
.pc-contact .cta-eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: #f5a623; margin: 0; }
.pc-contact .wwh-cta-text h2 { font-weight: 600; font-size: clamp(28px, 2.5vw, 36px); line-height: 40px; }
.pc-contact .wwh-cta-card { box-shadow: 0 12px 24px rgba(54,34,34,.14); }
.pc-contact .wwh-input { background: var(--espresso-50); }
textarea.wwh-input { height: 133px; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }

/* FAQ row alignment fix (applies to Young People AND Parents & Carers).
   Grid layout keeps the question on the left and the arrow on the right,
   whatever other button styles are in play. */
.faq-item { text-align: left; }
.faq-item > .faq-q {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px;
  width: 100%; margin: 0; padding: 16px 24px; min-height: 0; height: auto;
  line-height: 1.4; text-align: left; background: transparent; border: 0; border-radius: 0; cursor: pointer;
}
.faq-item .faq-q-left { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; text-align: left; }
.faq-item .faq-q-text { text-align: left; }
.faq-item .faq-chevron { justify-self: end; }

@media (max-width: 1000px) {
  .pc-grid { grid-template-columns: 1fr; }
  .safe-wrap { padding-top: 80px; }
  .safe-card { padding: 32px 24px; }
  .safe-list { max-width: 100%; gap: 16px; }
  .safe-img { display: none; }
}




/* =========================================================
   PARTNERS & FUNDERS PAGE — append to the very end of style.css
   Depends on the Our Story, Young People and Parents & Carers CSS
   already being in place (the Parents & Carers file holds the FAQ
   alignment fix this page's FAQ also relies on).
   ========================================================= */

.eyebrow-reg { font-weight: 400; }

/* ---------- Layout: three framework rows ---------- */
.pf-frame { max-width: 1392px; margin: 0 auto; padding: 80px 24px; display: flex; flex-direction: column; align-items: center; gap: 42px; }
.pf-row { display: flex; align-items: center; justify-content: center; gap: 65px; width: 100%; }
.pf-text { flex: 0 1 662.656px; min-width: 0; }
.pf-text .story-heading { margin: 0; }
.pf-photo { flex: 0 0 473.328px; height: 591.656px; border-radius: 24px; overflow: hidden; background: #e7e5e4; }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-callout { margin-top: 42px; background: rgba(232,96,76,.05); border-left: 3px solid #643f3f; border-radius: 16px; padding: 24px 28px 24px 31px; }
.pf-callout h4 { margin: 0; font-weight: 700; font-size: 14px; line-height: 20px; color: var(--text-heading); }
.pf-callout p { margin: 12px 0 0; font-size: 16px; line-height: 1.8; color: var(--text-body); }

/* ---------- Hub & Spokes diagram ---------- */
:root { --hv-spring: cubic-bezier(.34,1.45,.64,1); }
@supports (animation-timing-function: linear(0, 1)) {
  :root { --hv-spring: linear(0, 0.0188, 0.0679, 0.1374, 0.2195, 0.308, 0.3978, 0.4856, 0.5686, 0.6452, 0.7142, 0.7753, 0.8283, 0.8735, 0.9113, 0.9423, 0.9671, 0.9866, 1.0014, 1.0123, 1.0198, 1.0247, 1.0274, 1.0283, 1.0281, 1.0268, 1.025, 1.0227, 1.0202, 1.0177, 1.0152, 1.0128, 1.0106, 1.0085, 1.0068, 1.0052, 1.0039, 1.0028, 1.0018, 1.0011, 1.0005, 1, 0.9997, 0.9995, 0.9993, 0.9992, 0.9992, 0.9992, 0.9992, 0.9993, 0.9993); }
}

.hv-fit { flex: 0 0 auto; width: 580.205px; max-width: 100%; aspect-ratio: 580.205 / 455.875; position: relative; }
.hv { position: absolute; left: 0; top: 0; width: 580.205px; height: 455.875px; background: #362222; border-radius: 19.893px; overflow: hidden; transform-origin: 0 0; transform: scale(var(--hv-s, 1)); }
.hv-canvas { position: absolute; left: 0; top: 66.31px; width: 580.205px; height: 331.545px; }
.hv-orbit { position: absolute; left: 116.04px; top: -20.72px; width: 348.123px; height: 348.123px; }

.hv-line { position: absolute; width: 116.041px; height: 0; }
.hv-line img { position: absolute; left: 0; top: -1.66px; width: 100%; height: 1.66px; max-width: none; display: block; }

.hv-spoke { position: absolute; } .hv-spoke > * { position: absolute; }
.hv-node { width: 53.047px; height: 53.047px; }
.hv-node img { position: absolute; left: -18.75%; top: -12.5%; width: 137.5%; height: 137.5%; max-width: none; display: block; }
.hv-ell { width: 39.785px; height: 39.785px; }
.hv-ell img, .hv-ic img { width: 100%; height: 100%; display: block; }
.hv-ic { width: 19.893px; height: 19.893px; }
.hv-lbl { margin: 0; transform: translateX(-50%); text-align: center; font-family: var(--font-body); font-weight: 600; font-size: 9.946px; line-height: normal; color: #fff; }

.hv-ring { position: absolute; left: 50%; top: 50%; }
.hv-ring img { width: 100%; height: 100%; display: block; max-width: none; }
.hv-ring.outer { width: 223.793px; height: 223.793px; margin: -111.8965px 0 0 -111.8965px; opacity: .15; }
.hv-ring.inner { width: 149.195px; height: 149.195px; margin: -74.5975px 0 0 -74.5975px; opacity: .1; }

.hv-hub { position: absolute; left: calc(50% - 41.443px); top: calc(50% - 12.43px - 41.443px); width: 82.886px; height: 82.886px; }
.hv-hub img { position: absolute; left: -24%; top: -16%; width: 148%; height: 148%; max-width: none; display: block; }
.hv-hub span { position: absolute; left: 50%; top: 33.153px; width: 66.309px; transform: translateX(-50%); text-align: center; font-family: var(--font-body); font-weight: 800; font-size: 14.92px; line-height: normal; color: #fff; }

/* Hub & Spokes motion — timings/easings from Figma's own 2.5s timeline,
   played once when the diagram scrolls into view. */
@keyframes hv-fade    { from { opacity: 0; } to { opacity: 1; } }
@keyframes hv-fade-15 { from { opacity: 0; } to { opacity: .15; } }
@keyframes hv-fade-10 { from { opacity: 0; } to { opacity: .1; } }
@keyframes hv-pop     { from { scale: 0 0; } to { scale: 1 1; } }
@keyframes hv-pop-3   { from { scale: .3 .3; } to { scale: 1 1; } }
@keyframes hv-pop-2   { from { scale: .2 .2; } to { scale: 1 1; } }
@keyframes hv-grow    { from { scale: 0 1; } to { scale: 1 1; } }

.hv .hv-hub        { animation: hv-fade .3s cubic-bezier(0,0,.15,1) .2s both, hv-pop .6s var(--hv-spring) .2s both; }
.hv .hv-ring.outer { animation: hv-fade-15 .5s cubic-bezier(0,0,.15,1) .4s both, hv-pop-3 .6s var(--hv-spring) .4s both; }
.hv .hv-ring.inner { animation: hv-fade-10 .4s cubic-bezier(0,0,.15,1) .5s both, hv-pop-2 .5s var(--hv-spring) .5s both; }
.hv .hv-line       { animation: hv-fade .3s cubic-bezier(0,0,.15,1) var(--d) both, hv-grow .4s cubic-bezier(.22,1.4,.36,1) var(--d) both; }
.hv .hv-spoke      { animation: hv-fade .25s cubic-bezier(0,0,.15,1) var(--d) both, hv-pop .5s var(--hv-spring) var(--d) both; }
.hv .hv-a          { animation-play-state: paused; }
.hv.is-playing .hv-a { animation-play-state: running; }

/* ---------- "What to expect" process card ---------- */
.wt { flex: 0 0 auto; width: 569.208px; max-width: 100%; min-height: 853.8px; background: var(--grey); border-radius: 0 62px 0 62px; padding: 45.537px; display: flex; flex-direction: column; gap: 39.845px; }
.wt-head { display: flex; flex-direction: column; gap: 11.384px; }
.wt-eyebrow { display: flex; align-items: center; gap: 5.692px; }
.wt-dot { width: 5.692px; height: 5.692px; border-radius: 2.846px; background: #e8604c; flex-shrink: 0; }
.wt-eyebrow-text { font-weight: 700; font-size: 9.961px; letter-spacing: 1.423px; text-transform: uppercase; color: var(--espresso-500); white-space: nowrap; }
.wt-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 29.883px; line-height: 1.1; color: var(--text-heading); font-variation-settings: "SOFT" 0, "WONK" 1; }
.wt-divider { display: block; width: 100%; height: 1.423px; }

.wt-steps { padding: 0 8.538px; }
.wt-step { display: flex; align-items: flex-start; gap: 17.076px; }
.wt-ind { display: flex; flex-direction: column; align-items: center; width: 34.153px; flex-shrink: 0; }
.wt-circle { width: 34.153px; height: 34.153px; border-radius: 17.076px; background: #e8604c; color: #fefaf6; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14.23px; box-shadow: 0 2.846px 4.269px rgba(232,96,76,.2); font-variation-settings: "SOFT" 0, "WONK" 1; }
.wt-conn { height: 71.151px; width: 0; display: flex; align-items: center; justify-content: center; }
.wt-conn img { flex: none; width: 71.151px; height: 1.423px; transform: rotate(90deg); display: block; }
.wt-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 5.692px; padding-bottom: 34.153px; }
.wt-step:last-child .wt-body { padding-bottom: 0; }
.wt-body h4 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 17.076px; line-height: normal; color: var(--text-heading); font-variation-settings: "SOFT" 0, "WONK" 1; }
.wt-body p { margin: 0; font-size: 11.384px; line-height: 1.8; color: var(--text-body); }

.wt-callout { background: rgba(232,96,76,.05); border-left: 2.846px solid #e8604c; padding: 22.768px; border-radius: 2.846px 11.384px 11.384px 2.846px; }
.wt-callout p { margin: 0; font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 15.653px; line-height: 1.4; color: var(--text-heading); font-variation-settings: "SOFT" 0, "WONK" 1; }

.wt-region { background: #fefaf6; border: .712px solid #643f3f; border-radius: 17.076px; padding: 25.614px; display: flex; flex-direction: column; gap: 11.384px; box-shadow: 0 5.692px 8.538px rgba(54,34,34,.06); }
.wt-region-head { display: flex; align-items: center; gap: 8.538px; }
.wt-pin { width: 28.46px; height: 28.46px; border-radius: 14.23px; background: rgba(232,96,76,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wt-pin img { width: 14.23px; height: 14.23px; display: block; }
.wt-region-title { font-weight: 700; font-size: 12.807px; color: var(--text-heading); white-space: nowrap; }
.wt-region > p { margin: 0; font-size: 11.384px; line-height: 1.8; color: var(--text-body); }
.wt-region strong { font-weight: 700; color: #362222; }
.wt-div { display: block; width: 100%; height: 1.423px; }
.wt-future { display: flex; align-items: center; gap: 5.692px; }
.wt-future img { width: 11.384px; height: 11.384px; display: block; flex-shrink: 0; }
.wt-future p { margin: 0; flex: 1 1 0; min-width: 0; font-weight: 600; font-size: 9.961px; line-height: normal; color: var(--espresso-500); }

/* Process card motion — Figma's 2.1s timeline, staggered, played once on scroll-in */
@keyframes wt-rise  { from { opacity: 0; translate: 0 var(--rise, 14px); } to { opacity: 1; translate: 0 0; } }
@keyframes wt-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes wt-scale { from { opacity: 0; scale: .92 .92; } to { opacity: 1; scale: 1 1; } }
.wt .wt-a           { animation: wt-rise var(--dur, .55s) cubic-bezier(.16,1,.3,1) var(--d, 0s) both; }
.wt .wt-a.wt-fade   { animation-name: wt-fade; }
.wt .wt-a.wt-scale  { animation-name: wt-scale; }
.wt .wt-a           { animation-play-state: paused; }
.wt.is-playing .wt-a { animation-play-state: running; }

/* ---------- Contact CTA ---------- */
.pf-cta { background: #120f0f; padding: 80px 24px; }
.pf-cta-inner { max-width: 568px; margin: 0 auto; }
.pf-cta-label { margin: 0; font-weight: 600; font-size: 11px; line-height: 16.5px; letter-spacing: 2.42px; text-transform: uppercase; color: #f5a623; }
.pf-cta-inner h2 { margin: 20px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.5vw, 36px); line-height: 40px; color: #fff; font-variation-settings: "SOFT" 0, "WONK" 1; }
.pf-cta-body { margin: 24px 0 0; font-size: 16px; line-height: 1.8; color: var(--surface-section-light); }
.pf-cta-btn { margin-top: 34px; width: 504px; max-width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .hv .hv-a, .wt .wt-a { animation: none !important; }
}

@media (max-width: 1100px) {
  .pf-row { flex-direction: column; gap: 40px; }
  .pf-text { flex: none; width: 100%; }
  .pf-photo { flex: none; width: 100%; height: 360px; }
  .hv-fit { width: 100%; max-width: 580.205px; }
  .wt { width: 100%; max-width: 569.208px; min-height: 0; padding: 32px 24px; }
}



/* =========================================================
   COMMUNITY HANGOUT PAGE — append to the very end of style.css
   Builds on the Our Story / Young People / Parents & Carers CSS.
   ========================================================= */

/* ---------- Hero entrance (Figma's 3s timeline, played once on load) ---------- */
@keyframes hh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hh-move { from { translate: var(--tx, 0px) var(--ty, 0px); } to { translate: 0 0; } }
.hh-a {
  animation:
    hh-fade var(--fd, .45s) cubic-bezier(.16,1,.3,1) var(--d, 0s) both,
    hh-move var(--md, .7s) cubic-bezier(.16,1,.3,1) var(--d, 0s) both;
}
.hh-hero .wwh-hero-copy { max-width: 862px; }
.hh-btn { width: 382px; max-width: 100%; height: 52px; padding: 16px 28px; justify-content: center; margin-top: 4px; }
.btn-primary.arrow-down::after { width: 15px; height: 15px; transform: rotate(90deg); }

/* ---------- "What happens" ---------- */
.hh-section { max-width: 1440px; margin: 0 auto; padding: 80px 120px; display: flex; flex-direction: column; gap: 40px; }
.hh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1172.4px; }
.hh-step { min-height: 405.6px; border-radius: 13.65px; padding: 89.7px 31.2px; display: flex; flex-direction: column; gap: 60.45px; }
.hh-step-n { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 40.95px; line-height: 1.1; color: var(--slate, #1a252c); font-variation-settings: "SOFT" 0, "WONK" 1; }
.hh-step-t { margin: 0; font-size: 15.6px; line-height: 1.8; color: var(--text-body); }

.hh-dark { background: #120f0f; border-radius: 32px; padding: 70px 40px; max-width: 1206px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hh-dark-label { margin: 0 0 22px; font-weight: 700; font-size: 16px; line-height: 1.8; color: var(--espresso-500); text-align: center; }
.hh-dark h2 { margin: 0; max-width: 752px; text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.1; color: #fff; font-variation-settings: "SOFT" 0, "WONK" 1; }
.hh-dark-body { margin: 14px 0 0; max-width: 681px; text-align: center; font-size: 16px; line-height: 1.8; color: var(--surface-section-light); }

/* ---------- "What it actually is" ---------- */
.hh-split { max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: flex; justify-content: center; align-items: flex-start; gap: 64px; }
.hh-left { flex: 0 1 568px; min-width: 0; min-height: 710px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hh-lead .story-heading { max-width: 568px; }
.hh-strip { display: flex; gap: 14px; overflow-x: auto; width: 100%; max-width: 568px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; border-radius: 6.214px; }
.hh-strip::-webkit-scrollbar { display: none; }
.hh-strip img { flex: 0 0 192px; width: 192px; height: 149px; object-fit: cover; border-radius: 6.214px; scroll-snap-align: start; display: block; }

.hh-photo { position: relative; flex: 0 0 568px; height: 710px; border-radius: 32px; overflow: hidden; background: #e7e5e4; }
.hh-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-badge { position: absolute; left: 20px; top: 20px; background: var(--espresso-500); color: #fff; font-weight: 600; font-size: 12px; line-height: 16px; padding: 8px 16px; border-radius: 12px; z-index: 2; }
.hh-photo-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,12,8,.7), rgba(0,0,0,0) 55%); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 32px; gap: 4px; }
.hh-pill { display: inline-block; background: #f5a623; color: #1e1410; font-weight: 700; font-size: 10px; line-height: 15px; padding: 4px 12px; border-radius: 100px; }
.hh-photo-grad p { margin: 0; font-size: 14px; line-height: 20px; color: rgba(245,240,232,.8); }

/* ---------- "Why it works" + generic carousel ---------- */
.hh-why { padding: 80px 24px; }
.hh-why-inner { max-width: 1200px; margin: 0 auto; }
.hh-why-sub { margin: 12px 0 0; max-width: 700px; font-size: 18px; line-height: 1.75; color: var(--text-body); }
.cx { padding-top: 56px; }
.hh-feature { background: var(--grey); border-radius: 24px; overflow: hidden; }
.cx-slide { display: none; align-items: center; gap: 32px; }
.cx-slide.is-active { display: flex; }
.hh-feature-img { position: relative; flex: 0 0 420px; width: 420px; height: 326px; border-radius: 13.592px; overflow: hidden; }
.hh-feature-img img { position: absolute; left: -12.81px; top: -9.79px; width: 446.62px; height: 345.77px; max-width: none; object-fit: cover; display: block; }
.hh-feature-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,12,8,.93), rgba(20,12,8,.45) 45%, rgba(20,12,8,.08)); }
.hh-feature-text { flex: 1 1 0; min-width: 0; padding: 12px 32px 12px 0; }
.hh-feature-text h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.1; color: var(--text-heading); font-variation-settings: "SOFT" 0, "WONK" 1; }
.hh-feature-text p { margin: 12px 0 0; font-size: 18px; line-height: 1.75; color: var(--text-body); }

.cx-nav { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.cx-nav[hidden] { display: none; }
.cx-dots { display: flex; align-items: center; gap: 8px; }
.cx-dot { width: 8px; height: 8px; border-radius: 100px; border: 0; padding: 0; background: var(--espresso-100, #f1e9e9); cursor: pointer; transition: width .2s ease, background .2s ease; }
.cx-dot.is-active { width: 28px; background: var(--espresso-900, #362222); }
.cx-arrows { display: flex; align-items: center; gap: 12px; }
.cx-arrow { width: 44px; height: 44px; border-radius: 100px; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity .2s ease, transform .15s ease; }
.cx-arrow img { width: 16px; height: 16px; display: block; }
.cx-prev { background: var(--espresso-100, #f1e9e9); }
.cx-next { background: var(--espresso-900, #362222); }
.cx-arrow:hover:not(:disabled) { transform: scale(1.05); }
.cx-arrow:disabled { opacity: .3; cursor: default; }

/* ---------- Community Hangout block ---------- */
.hh-hangout { max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: flex; gap: 64px; align-items: flex-start; }
.hh-hangout-text { flex: 0 1 662.66px; min-width: 0; }
.hh-hangout-side { flex: 0 0 473.328px; position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
.hh-next { margin-top: 13px; background: var(--grey); border-left: 3px solid var(--espresso-500); border-radius: 16px; padding: 24px 28px 24px 31px; }
.hh-next h4 { margin: 0; font-weight: 700; font-size: 14px; line-height: 20px; color: #1e1410; }
.hh-next p { margin: 8px 0 0; font-size: 16px; line-height: 1.8; color: var(--text-body); }
.hh-note { margin: 24px 0 0; font-size: 14px; line-height: 20px; color: #7a6e65; }
.hh-form-title { margin: 48px 0 0; font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 24px; color: #1e1410; }
.hh-form { display: flex; flex-direction: column; gap: 39px; padding-top: 20px; }
.hh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hh-input { width: 100%; height: 49px; border: 0; border-radius: 12px; padding: 0 16px; font-family: var(--font-body); font-size: 14px; color: #1e1410; background: var(--bg); box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 #fff; }
.hh-input::placeholder { color: rgba(30,20,16,.5); }
.hh-submit { width: 164.359px; height: 52px; padding: 0; justify-content: center; }

.hh-photo-sm { flex: none; width: 100%; height: 354.984px; }
.hh-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hh-stat { background: #1e1410; border-radius: 20px; padding: 24px; box-shadow: 8px 8px 16px 0 #c8bfb0, -8px -8px 16px 0 #fff; text-align: center; }
.hh-stat-n { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 36px; color: var(--espresso-500); font-variation-settings: "SOFT" 0, "WONK" 1; }
.hh-stat-l { margin: 4px 0 0; font-size: 12px; line-height: 19.5px; color: rgba(245,240,232,.62); }

@media (prefers-reduced-motion: reduce) { .hh-a { animation: none; } }

@media (max-width: 1100px) {
  .hh-section { padding: 56px 24px; }
  .hh-steps { grid-template-columns: 1fr 1fr; }
  .hh-step { min-height: 0; padding: 40px 24px; gap: 24px; }
  .hh-split, .hh-hangout { flex-direction: column; gap: 40px; }
  .hh-left { flex: none; width: 100%; min-height: 0; }
  .hh-photo { flex: none; width: 100%; height: 440px; }
  .hh-hangout-text, .hh-hangout-side { flex: none; width: 100%; position: static; }
  .cx-slide.is-active { flex-direction: column; align-items: stretch; gap: 0; }
  .hh-feature-img { flex: none; width: 100%; height: 240px; border-radius: 0; }
  .hh-feature-text { padding: 24px; }
}
@media (max-width: 640px) {
  .hh-steps { grid-template-columns: 1fr; }
  .hh-form-row { grid-template-columns: 1fr; }
}






/* =========================================================
   BLOG — append to the very end of style.css
   Builds on the existing hero (.wwh-hero), .story-* and --arrow styles.
   ========================================================= */

/* Required by WordPress for visually-hidden helper text (pagination heading etc.) */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

/* ---------- Hero ---------- */
.bp-hero, .bp-single-hero { background: #1e1410; }
.bp-hero .wwh-hero-copy { max-width: 708px; }
.bp-single-hero { min-height: 520px; padding-top: 150px; padding-bottom: 90px; }
.bp-single-hero .wwh-hero-copy { max-width: 860px; }
.bp-single-hero h1.hero-heading { font-size: clamp(30px, 3.6vw, 52px); }

/* ---------- Audience filters ---------- */
.bp-filters-wrap { padding: 40px 24px 0; }
.bp-filters { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; }
.bp-filter {
  display: inline-flex; align-items: center; height: 40px; padding: 10px 20px;
  border-radius: 100px; background: #f5f0e8; color: #3d3530;
  font-weight: 600; font-size: 14px; line-height: 20px;
  box-shadow: 4px 4px 8px 0 #c8bfb0, -4px -4px 8px 0 #fff;
  transition: color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.bp-filter:hover { color: var(--action-primary); }
.bp-filter:active { transform: scale(.97); }
.bp-filter.is-active { color: #e8604c; box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 #fff; }

/* ---------- Card grid ---------- */
.bp-grid-wrap { max-width: 1248px; margin: 0 auto; padding: 40px 24px 140px; }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }

.bp-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border-radius: 20px; overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 4px 4px 16px 0 #c8bfb0, -4px -4px 16px 0 #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bp-card:hover { border-color: var(--accent-saffron, #ff9f1c); box-shadow: 4px 4px 8px 0 rgba(54,34,34,.15), -4px -4px 8px 0 rgba(255,255,255,.7); }
.bp-card-img { position: relative; height: 238.328px; background: #e7e5e4; overflow: hidden; }
.bp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-badge {
  position: absolute; left: 12px; bottom: 21px;
  background: #1e1410; color: rgba(245,240,232,.9);
  font-weight: 600; font-size: 10px; line-height: 15px; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 8px;
}
.bp-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 32px; }
.bp-date { margin: 0 0 16px; font-weight: 600; font-size: 11px; line-height: 16.5px; letter-spacing: 1.76px; text-transform: uppercase; color: #e8604c; }
.bp-title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 24.75px; color: #1e1410; font-variation-settings: "SOFT" 0, "WONK" 1; }
.bp-link { color: inherit; }
.bp-link::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card is clickable */
.bp-excerpt { margin: 0 0 24px; font-size: 16px; line-height: 1.8; color: var(--text-body); }
.bp-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; line-height: 20px; color: #e8604c; }
.bp-more::after {
  content: ''; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform .2s ease;
}
.bp-card:hover .bp-more::after { transform: translateX(3px); }

.bp-empty { text-align: center; padding: 80px 0; font-size: 18px; color: #7a6e65; margin: 0; }

/* ---------- Pagination ---------- */
.bp-pagination { margin-top: 56px; }
.bp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bp-pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 100px; background: #f5f0e8; color: #3d3530; font-weight: 600; font-size: 14px;
  box-shadow: 4px 4px 8px 0 #c8bfb0, -4px -4px 8px 0 #fff; transition: color .2s ease;
}
.bp-pagination a.page-numbers:hover { color: var(--action-primary); }
.bp-pagination .page-numbers.current { color: #e8604c; box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 #fff; }
.bp-pagination .page-numbers.dots { background: none; box-shadow: none; }

/* ---------- Single post ---------- */
.bp-article { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.bp-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--action-primary); }
.bp-back::before {
  content: ''; width: 14px; height: 14px; background: currentColor; transform: rotate(180deg);
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
.entry-content { font-size: 18px; line-height: 1.8; color: var(--text-body); }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--text-heading); margin-top: 1.9em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.entry-content h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--text-heading); margin-top: 1.6em; font-variation-settings: "SOFT" 0, "WONK" 1; }
.entry-content h4 { font-weight: 700; font-size: 18px; color: var(--text-heading); margin-top: 1.5em; }
.entry-content a { color: var(--action-primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: #C53A07; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote {
  margin-left: 0; margin-right: 0; padding: 20px 28px; background: rgba(30,20,16,.03);
  border-left: 3px solid var(--espresso-500); border-radius: 16px;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.6; color: var(--text-heading);
}
.entry-content blockquote p { margin: 0; }
.entry-content img { max-width: 100%; height: auto; border-radius: 16px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { margin-top: 8px; font-size: 14px; color: #7a6e65; }
.entry-content hr { border: 0; border-top: 1px solid rgba(54,34,34,.12); margin: 2.5em 0; }

.bp-related { max-width: 1248px; margin: 0 auto; padding: 0 24px 120px; }
.bp-related .bp-grid { margin-top: 40px; }

@media (max-width: 1000px) {
  .bp-grid { grid-template-columns: 1fr 1fr; }
  .bp-grid-wrap { padding-bottom: 80px; }
  .bp-single-hero { min-height: 0; padding-top: 120px; padding-bottom: 60px; }
}
@media (max-width: 640px) {
  .bp-grid { grid-template-columns: 1fr; }
  .bp-card-body { padding: 24px; }
}




/* =========================================================
   BLOG POST (single) — Figma node 254:2787
   Append this to the very END of style.css, after the
   existing blog block. Later rules win, so the few
   overrides below are intentional.
   ========================================================= */

/* Post pages use the lighter page surface from the design. */
body.single-post { background: #fffefd; }

/* One shared gutter so the back link, header, image, body and
   related grid all sit on the same 1200px column. */
body.single-post { --bp-gutter: clamp(24px, 8.33vw, 120px); }

/* ---- Back to blog ------------------------------------- */
.bp-backwrap { max-width: 1440px; margin: 0 auto; padding: 120px var(--bp-gutter) 0; }
.bp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: #e8604c;
  transition: color .2s ease, transform .2s ease;
}
.bp-back::before { content: none; }           /* old CSS arrow: replaced by inline SVG */
.bp-back:hover { color: #C53A07; }
.bp-back:hover .bp-ico { transform: translateX(-3px); }
.bp-ico { flex: none; transition: transform .2s ease; }

/* ---- Post header -------------------------------------- */
.bp-post-head {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px var(--bp-gutter) 0;
}
.bp-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.bp-badge-flat {
  position: static;
  background: #9c6363;
  color: #fff;
  border-radius: 8px;
  padding: 4px 12px;
  font-weight: 600;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.bp-post-date {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: #362222;
}
.bp-post-read { font-size: 14px; line-height: 20px; color: #7a6e65; }

.bp-post-title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  color: var(--text-heading);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.bp-post-lede {
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.625;
  color: #1a252c;
}

.bp-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 8px 0;
  border-top: 1px solid #cfdbe3;
}
.bp-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8604c;
  box-shadow: 4px 4px 8px 0 #c8bfb0, -4px -4px 8px 0 #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.bp-byline-name { font-weight: 600; font-size: 14px; line-height: 20px; color: #1e1410; }

/* ---- Hero image ---------------------------------------
   Sits 24px under the byline, inside the same column.
   Radius and shadow live on the img so the gutter stays clean. */
.bp-post-figure {
  max-width: 1440px;
  margin: 24px auto 80px;
  padding: 0 var(--bp-gutter);
}
.bp-post-figure img {
  display: block;
  width: 100%;
  height: clamp(240px, 30vw, 434px);
  object-fit: cover;
  border-radius: 24px;
  background: #e7e5e4;
  box-shadow: 12px 12px 24px 0 #c8bfb0, -12px -12px 24px 0 #fff;
}

/* ---- Article body -------------------------------------
   Full 1200px measure, aligned to the hero image above it. */
.bp-article { max-width: 1440px; margin: 0 auto; padding: 64px var(--bp-gutter); }
.bp-article .entry-content { font-size: 18px; line-height: 1.85; color: #3d3530; }
.bp-article .entry-content > * + * { margin-top: 28px; }
.bp-article .entry-content h2 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.33;
  color: #1e1410;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.bp-article .entry-content h2 + p { margin-top: 20px; }
.bp-article .entry-content h3 { margin-top: 40px; font-size: 20px; color: #1e1410; }

/* Pull quote */
.bp-article .entry-content blockquote {
  margin-top: 24px;
  max-width: 688px;
  padding: 24px 32px;
  border: 0;
  border-left: 3px solid #e8604c;
  border-radius: 16px;
  background: rgba(30, 20, 16, .03);
}
.bp-article .entry-content blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.625;
  color: #1e1410;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

.bp-written {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #c8bfb0;
}
.bp-written-label { font-weight: 600; font-size: 14px; line-height: 20px; color: #7a6e65; }
.bp-written-name  { font-weight: 600; font-size: 14px; line-height: 20px; color: #1e1410; }

/* ---- More from our blog ------------------------------- */
.bp-related { max-width: 1440px; margin: 0 auto; padding: 64px var(--bp-gutter) 96px; }
.bp-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bp-related-eyebrow {
  margin: 0;
  font-weight: 600;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 1.54px;
  text-transform: uppercase;
  color: #9c6363;
}
.bp-related-heading {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.11;
  color: var(--text-heading);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.bp-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #e8604c;
  transition: color .2s ease;
}
.bp-viewall:hover { color: #C53A07; }
.bp-viewall:hover .bp-ico { transform: translateX(3px); }
.bp-related .bp-grid { margin-top: 24px; }

/* Related cards are a touch tighter than the listing cards. */
.bp-related .bp-card-img { height: 199px; }
.bp-related .bp-card-body { padding: 28px; }
.bp-related .bp-date { margin-bottom: 12px; letter-spacing: 1.76px; color: #9c6363; }
.bp-related .bp-title { margin-bottom: 12px; font-size: 16px; line-height: 1.375; }
.bp-related .bp-excerpt { margin-bottom: 20px; font-size: 14px; line-height: 1.625; color: #1a252c; }

/* ---- Card link + arrow (listing and related) ---------- */
.bp-card { position: relative; }
.bp-card-link { position: absolute; inset: 0; z-index: 2; }
.bp-more::after { content: none; }            /* old CSS arrow: replaced by inline SVG */
.bp-more { color: var(--action-primary); }
.bp-card:hover .bp-more .bp-ico { transform: translateX(3px); }

/* ---- Responsive --------------------------------------- */
@media (max-width: 900px) {
  .bp-backwrap { padding-top: 96px; }
  .bp-post-head { padding-top: 40px; }
  .bp-post-figure { margin: 24px auto 48px; }
  .bp-article { padding-top: 48px; padding-bottom: 48px; }
  .bp-related { padding-top: 48px; padding-bottom: 72px; }
  .bp-related .bp-grid,
  .bp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bp-post-lede { font-size: 18px; }
  .bp-article .entry-content { font-size: 17px; }
  .bp-article .entry-content blockquote { padding: 20px 22px; }
  .bp-article .entry-content blockquote p { font-size: 18px; }
  .bp-related-head { align-items: flex-start; flex-direction: column; }
  .bp-related .bp-grid,
  .bp-grid { grid-template-columns: 1fr; }
}





/* =========================================================
   SPOKES — Figma node 96:2647
   Append to the end of style.css.
   Shared classes (wwh-hero, story-*, hh-dark, pc-*, value-icon)
   are already defined by the earlier pages; this file only adds
   what is specific to Spokes, plus two small shared modifiers.
   ========================================================= */

/* ---- Shared modifiers this page introduces ------------- */

/* Amber "Coming Soon" pill (the other pages use the cream pill). */
.eyebrow-pill.pill-soon {
  background: #f5a623;
  color: #1e1410;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  padding: 6px 16px;
}
.eyebrow-pill.pill-soon .eyebrow-dot { background: rgba(30, 20, 16, .38); }

/* Button with a trailing arrow. */
.btn-primary.has-arrow::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
  transition: transform .2s ease;
}
.btn-primary.has-arrow:hover::after { transform: rotate(45deg) translate(1px, -1px); }

/* Four process cards sit 2 × 2 rather than the default 3-up. */
.pc-grid.two { grid-template-columns: repeat(2, 1fr); }

/* ---- Page rhythm --------------------------------------- */
.sp-intro,
.sp-row,
.sp-model { max-width: 1248px; margin: 0 auto; padding: 100px 24px; }
.sp-intro { padding-bottom: 0; }
.sp-row.tight { padding-top: 60px; }

/* ---- Hero ---------------------------------------------
   Geometry comes from .wwh-hero; only the accent differs. */
.sp-hero .hero-heading em { font-style: italic; color: var(--action-primary); }

/* ---- Feature: image left, copy right ------------------- */
.sp-feature { position: relative; }
.sp-feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sp-feature-text .story-heading { max-width: 568px; }
.sp-feature-inner .sp-img { order: -1; }   /* image sits first in this section */

/* ---- Image card with badge + caption ------------------- */
.sp-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #e7e5e4;
  box-shadow: 8px 8px 16px 0 #c8bfb0, -8px -8px 16px 0 #fff;
  min-height: 380px;
}
.sp-img img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.sp-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 9px;
  background: #9c6363;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
}
.sp-img-grad {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(20, 12, 8, .7) 0%, rgba(20, 12, 8, 0) 55%);
}
.sp-img-grad p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 240, 232, .88);
}
.sp-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f5a623;
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  color: #1e1410;
}

/* ---- Dark statement band ------------------------------- */
.sp-intro .hh-dark {
  max-width: 1206px;
  margin: 100px auto 0;
  padding: 70px 40px;
  border-radius: 32px;
  background: #120f0f;
  text-align: center;
}
.sp-intro .hh-dark h2 {
  max-width: 752px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.1;
  color: #fff;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.sp-intro .hh-dark-body {
  max-width: 752px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 240, 232, .72);
}

/* ---- Stats -------------------------------------------- */
.sp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 100px;
}
.sp-stat {
  display: flex;
  flex-direction: column;
  gap: 62px;
  min-height: 416px;
  padding: 92px 32px;
  border-radius: 14px;
  background: #fafafa;
}
.sp-stat-n {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  color: #1a252c;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.sp-stat-t { margin: 0; font-size: 18px; line-height: 1.75; color: #3d5667; }

/* ---- Two-column text / image rows ---------------------- */
.sp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sp-col { display: flex; flex-direction: column; align-items: flex-start; }
.sp-col .story-heading { max-width: 568px; }
.sp-block + .sp-block { margin-top: 48px; }

/* Closing row: 568px copy column beside a portrait 438px image,
   with the CTA filling the width of the copy column. */
.sp-row.end {
  grid-template-columns: minmax(0, 568px) minmax(0, 438px);
  justify-content: space-between;
  padding-top: 80px;
  padding-bottom: 80px;
}
.sp-row.end .sp-img { aspect-ratio: 438 / 547.5; min-height: 0; }
.sp-row.end .sp-img img { min-height: 0; }
.sp-cta-btn {
  align-self: stretch;
  margin-top: 32px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---- Process cards ------------------------------------- */
.sp-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-heading);
}

/* ---- The Spokes model + timeline ----------------------- */
.sp-model {
  display: grid;
  grid-template-columns: minmax(0, 663px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.sp-model-text .story-heading { max-width: 663px; }

.sp-callout {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 16px;
  background: #fafafa;
}
.sp-callout h4 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-heading);
}
.sp-callout p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--text-body); }

.sp-looking { margin-top: 24px; }
.sp-looking-label {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-heading);
}
.sp-looking ul { margin: 0; padding: 0; list-style: none; }
.sp-looking li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}
.sp-looking li + li { margin-top: 6px; }
.sp-looking li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9c6363;
}

/* Timeline card */
.sp-timeline {
  padding: 32px;
  border-radius: 24px;
  background: #1e1410;
  box-shadow: 8px 8px 16px 0 #c8bfb0, -8px -8px 16px 0 #fff;
}
.sp-timeline-label {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f9f6f6;
}
.sp-tl { display: flex; flex-direction: column; }
.sp-tl-item { position: relative; display: flex; gap: 16px; --c: #e8604c; }
.sp-tl-item + .sp-tl-item { margin-top: 28px; }
.sp-tl-dot { position: relative; flex: none; width: 14px; display: flex; justify-content: center; }
.sp-tl-dot i {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px rgba(245, 240, 232, .08);
}
/* connector line between dots */
.sp-tl-item:not(:last-child) .sp-tl-dot::after {
  content: '';
  position: absolute;
  top: 19px;
  bottom: -28px;
  width: 1px;
  background: rgba(245, 240, 232, .18);
}
.sp-tl-when {
  margin: 0;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #9c6363;
}
.sp-tl-body h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #f5f0e8;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.sp-tl-body p:last-child {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 240, 232, .62);
}

/* ---- Responsive ---------------------------------------- */
@media (max-width: 1100px) {
  .sp-stats { grid-template-columns: repeat(2, 1fr); }
  .sp-stat { min-height: 0; gap: 32px; padding: 48px 28px; }
  .sp-model { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .sp-intro, .sp-row, .sp-model { padding: 64px 24px; }
  .sp-intro { padding-bottom: 0; }
  .sp-feature-inner, .sp-row, .sp-row.end { grid-template-columns: 1fr; gap: 40px; }
  .sp-row.end .sp-img { aspect-ratio: auto; min-height: 380px; }
  .sp-row.end .sp-img img { min-height: 380px; }
  .sp-feature-inner .sp-img { order: 0; }
  .sp-intro .hh-dark { margin-top: 64px; padding: 48px 24px; }
  .sp-stats { margin-top: 64px; }
  .pc-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sp-stats { grid-template-columns: 1fr; }
  .sp-img, .sp-img img { min-height: 300px; }
}




/* =========================================================
   SCHOOL POP-UP PODS — Figma node 96:2406
   Append to the end of style.css.
   Shared classes (wwh-hero, story-*, btn-*, eyebrow-pill)
   already exist from the earlier pages.
   ========================================================= */

/* ---- SITE-WIDE FIX: parallax hero backgrounds -----------
   .wwh-hero-bg was sized exactly to the hero, so the parallax
   slid it off the bottom edge and left a grey strip across the
   base of every hero. Oversizing it by 120px top and bottom
   covers the full travel, now that main.js clamps that travel
   to 80px. Both halves of this fix are needed.
   This affects every page with a .wwh-hero, not just this one. */
.wwh-hero-bg { inset: -120px 0; }

/* ---- Hero ---------------------------------------------- */
.pod-hero .hero-heading em {
  font-style: italic;
  color: #f86732;
}
.eyebrow-pill.pill-amber {
  background: rgba(245, 166, 35, .56);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  padding: 6px 16px;
}
.eyebrow-pill.pill-amber .eyebrow-dot { background: #f5a623; }

/* ---- Shared page rhythm -------------------------------- */
.pod-intro,
.pod-how,
.pod-offer,
.pod-why { max-width: 1268px; margin: 0 auto; padding: 80px 24px; }

/* ---- Intro: copy + image ------------------------------- */
.pod-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 663px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.pod-intro-text .story-heading { max-width: 663px; }
.pod-intro-text .story-para { max-width: 663px; margin-top: 32px; }

/* Bordered note panels under the intro copy. */
.pod-note {
  margin-top: 40px;
  padding: 24px 28px 24px 31px;
  border-left: 3px solid #9c6363;
  border-radius: 16px;
  background: rgba(232, 96, 76, .05);
}
.pod-note h3 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-heading);
}
.pod-note p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--text-body); }

.pod-intro-img {
  border-radius: 24px;
  overflow: hidden;
  background: #e7e5e4;
  box-shadow: 4px 4px 8px 0 #c8bfb0, -4px -4px 8px 0 #fff;
}
.pod-intro-img img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* ---- How it works: two alternating panels --------------
   Each panel is 440px tall with its picture lifting 170px
   above the top edge, on opposite sides. */
.pod-how .story-para { max-width: 999px; margin-top: 12px; }
/* 216px clears the 170px picture overhang on the first panel
   so it cannot ride up over the heading above it. */
.pod-steps { display: flex; flex-direction: column; gap: 224px; margin-top: 216px; }

.pod-step {
  position: relative;
  display: flex;
  align-items: center;
  height: 440px;
  padding: 70px 40px;
  border-radius: 32px;
}
.pod-step.coral { background: #fee5dc; }
.pod-step.cream { background: #fdf5e6; }
.pod-step.reverse { justify-content: flex-end; }

.pod-step-body { width: 607px; max-width: 100%; }
.pod-step.reverse .pod-step-body { width: 540px; }
.pod-step-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  color: #1a252c;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.pod-step-body p { margin: 14px 0 0; font-size: 18px; line-height: 1.75; color: #3d5667; }

.pod-step-img {
  position: absolute;
  top: -170px;
  width: 43.3%;
  height: 570px;
  border-radius: 32px;
  overflow: hidden;
  background: #e7e5e4;
}
.pod-step .pod-step-img { right: 3.3%; }
.pod-step.reverse .pod-step-img { right: auto; left: 3.3%; }
.pod-step-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- Bento grid ----------------------------------------
   Each card carries a picture that lifts out past its top
   edge; proportions are kept as percentages so the overlap
   survives being scaled down. */
.pod-bento { display: flex; flex-direction: column; gap: 62px; margin-top: 152px; }
.pod-row { display: grid; gap: 32px; padding-top: 64px; }
.pod-row-a { grid-template-columns: minmax(0, 530fr) minmax(0, 658fr); }
.pod-row-b { grid-template-columns: minmax(0, 658fr) minmax(0, 530fr); }
.pod-row-full { grid-template-columns: minmax(0, 1fr); }

.pod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 70px 40px;
  border-radius: 32px;
  aspect-ratio: 530 / 526;
}
.pod-card.cream { background: #fdf5e6; }
.pod-card.coral { background: #fee5dc; }
.pod-card.slate { background: #e9eef2; }
.pod-card.wide  { aspect-ratio: 1220 / 810; padding-bottom: 24px; }
.pod-card.tall  { aspect-ratio: 658 / 815; }
.pod-card.cream.tall { aspect-ratio: 530 / 815; }
.pod-row-a .pod-card.coral { aspect-ratio: 658 / 526; }

.pod-card-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 24px;
  overflow: hidden;
  background: #e7e5e4;
}
.pod-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Per-card picture geometry, taken from the frame. */
.pod-row-a .pod-card.cream .pod-card-img { width: 92.3%; height: 74.3%; top: -20.3%; }
.pod-row-a .pod-card.coral .pod-card-img { width: 93.8%; height: 70.5%; top: -18.4%; }
.pod-card.wide .pod-card-img            { width: 96.6%; height: 87.3%; top: -3%; }
.pod-row-b .pod-card.coral .pod-card-img { width: 93.8%; height: 81.7%; top: -8.7%; }
.pod-row-b .pod-card.cream .pod-card-img { width: 92.3%; height: 73.3%; top: -8.7%; }

.pod-card-body { position: absolute; left: 40px; right: 40px; z-index: 1; }
.pod-row-a .pod-card.cream .pod-card-body { top: 61%; }
.pod-row-a .pod-card.coral .pod-card-body { top: 62%; }
.pod-card.wide .pod-card-body { top: 85%; }
.pod-row-b .pod-card.coral .pod-card-body { top: 78.7%; }
.pod-row-b .pod-card.cream .pod-card-body { top: 75.5%; }
.pod-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
  color: #1a252c;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.pod-card-body p {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: #3d5667;
}
.pod-card.wide .pod-card-body { max-width: 771px; }

/* ---- Why choose: heading + cream panel ----------------- */
.pod-why-head { max-width: 834px; }
.pod-why-head .story-para { margin-top: 12px; }

/* Four-slide carousel. Behaviour comes from the generic
   [data-carousel] script already in main.js; these rules only
   restyle it for this page. */
.pod-slider { margin-top: 216px; }
.pod-slider-stage {
  position: relative;
  height: 414px;
  padding: 70px 40px;
  border-radius: 32px;
  background: #fdf5e6;
}
.pod-slider .cx-slide { display: none; height: 100%; align-items: center; justify-content: flex-end; gap: 0; }
.pod-slider .cx-slide.is-active { display: flex; }

.pod-slide-img {
  position: absolute;
  left: 3.5%;
  top: -171px;
  width: 36.3%;
  height: 547px;
  border-radius: 24px;
  overflow: hidden;
  background: #e7e5e4;
}
.pod-slide-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pod-slide-body { width: 568px; max-width: 100%; }
.pod-slide-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  color: #1a252c;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.pod-slide-body p { margin: 14px 0 0; font-size: 16px; line-height: 1.8; color: #3d5667; }

/* Controls — squarer and quieter than the Community Hangout set. */
.pod-slider .cx-nav { height: auto; margin-top: 24px; }
.pod-slider .cx-dot { width: 8px; height: 8px; border-radius: 4px; background: #c8bfb0; }
.pod-slider .cx-dot.is-active { width: 24px; background: #9c6363; }
.pod-slider .cx-arrow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f5f0e8;
}
.pod-slider .cx-arrow img { width: 18px; height: 18px; }
.pod-slider .cx-arrow:disabled {
  opacity: .3;
  box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 #fff;
}

/* ---- Closing CTA --------------------------------------- */
.pod-cta { max-width: 1248px; margin: 0 auto; padding: 140px 24px; }
.pod-cta-card {
  padding: 80px 48px;
  border-radius: 32px;
  background: #362222;
}
.pod-cta-eyebrow {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  color: #e8a09a;
}
.pod-cta-card h2 {
  max-width: 481px;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  color: #fff;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.pod-cta-body {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 240, 232, .72);
}
.pod-cta-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 1000px) {
  .pod-intro, .pod-how, .pod-offer, .pod-why { padding: 64px 24px; }
  .pod-cta { padding: 80px 24px; }
  .pod-intro-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Panels stop overlapping and stack picture-above-copy. */
  .pod-steps { gap: 40px; }
  .pod-step, .pod-step.reverse {
    display: block;
    height: auto;
    padding: 0 0 32px;
    overflow: hidden;
  }
  .pod-step-img, .pod-step.reverse .pod-step-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 32px 32px 0 0;
  }
  .pod-step-body, .pod-step.reverse .pod-step-body { width: auto; padding: 28px 28px 0; }

  /* The lifted pictures stop overlapping and simply stack. */
  .pod-bento { gap: 32px; }
  .pod-row, .pod-row-a, .pod-row-b, .pod-row-full { grid-template-columns: 1fr; padding-top: 0; }
  .pod-card, .pod-card.wide, .pod-card.tall, .pod-card.cream.tall,
  .pod-row-a .pod-card.coral { aspect-ratio: auto; padding: 0 0 32px; overflow: hidden; }
  .pod-card .pod-card-img {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 32px 32px 0 0;
  }
  .pod-card-body { position: static; padding: 28px 28px 0; }

  /* Carousel slides stack too. */
  .pod-slider-stage { height: auto; padding: 0 0 32px; overflow: hidden; }
  .pod-slider .cx-slide.is-active { display: block; height: auto; }
  .pod-slide-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 32px 32px 0 0;
  }
  .pod-slide-body { width: auto; padding: 28px 28px 0; }
}
@media (max-width: 640px) {
  .pod-cta-card { padding: 48px 24px; }
  .pod-cta-btns .btn-primary, .pod-cta-btns .btn-cta-outline { width: 100%; text-align: center; }
}






/* =========================================================
   THE HUB — Figma node 96:2951
   Append to the end of style.css.
   Reuses .wwh-hero, .story-*, .btn-*, .eyebrow-pill,
   .pill-soon and the .sp-img image card from the earlier
   pages, so the Spokes block must already be in style.css.
   ========================================================= */

/* ---- Hero ---------------------------------------------- */
.hub-hero .hero-heading em { font-style: italic; color: #f86732; }
.hub-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Second, quieter pill beside the amber "Coming Soon" one. */
.eyebrow-pill.pill-amber-soft {
  background: rgba(245, 166, 35, .16);
  color: #fdf5e6;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  padding: 6px 16px;
}
.eyebrow-pill.pill-amber-soft .eyebrow-dot { background: #f5a623; }

/* ---- What the Hub is ----------------------------------- */
.hub-about { max-width: 1248px; margin: 0 auto; padding: 100px 24px; }
.hub-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 568px) minmax(0, 568px);
  justify-content: space-between;
  gap: 64px;
  align-items: center;
}
.hub-about-text .story-heading { max-width: 568px; }
.hub-about-text .story-para { max-width: 568px; margin-top: 32px; }
.hub-about-img { aspect-ratio: 568 / 710; min-height: 0; }
.hub-about-img img { min-height: 0; }

/* ---- What's inside the Hub ----------------------------- */
.hub-inside { max-width: 1248px; margin: 0 auto; padding: 0 24px 100px; }
.hub-inside .story-para { max-width: 860px; margin-top: 16px; }

.hub-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.hub-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  border: 2px solid rgba(54, 34, 34, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 4px 4px 4px 0 rgba(54, 34, 34, .15);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hub-value:hover {
  border-color: var(--accent-saffron, #ff9f1c);
  background: var(--grey, #fafafa);
  box-shadow: 4px 4px 8px 0 rgba(54, 34, 34, .15), -4px -4px 8px 0 rgba(255, 255, 255, .7);
}
.hub-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fafafa;
  box-shadow: 4px 4px 8px 0 rgba(54, 34, 34, .15), -4px -4px 8px 0 rgba(255, 255, 255, .8);
}
.hub-value-icon img { width: 24px; height: 24px; display: block; }
.hub-value h3 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-heading);
}
.hub-value p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--text-body); }
.hub-value h3 + p { margin-top: 0; }

/* ---- Coming soon / notify band ------------------------- */
.hub-notify { background: #120f0f; padding: 40px 24px; }
.hub-notify-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hub-notify-text h2 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.8;
  color: #fff;
}
.hub-notify-text p {
  margin: 4px 0 0;
  max-width: 801px;
  font-size: 16px;
  line-height: 1.8;
  color: #fdf5e6;
}

.hub-notify-form { display: flex; align-items: stretch; gap: 12px; height: 45px; }
.hub-notify-input {
  width: 220px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: #f5f0e8;
  box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 #fff;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1e1410;
}
.hub-notify-input::placeholder { color: rgba(30, 20, 16, .5); }
.hub-notify-input:focus { outline: 2px solid #f86732; outline-offset: 2px; }
.hub-notify-btn {
  padding: 12px 24px;
  border: 0;
  border-radius: 20px;
  background: var(--action-primary, #f86732);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.hub-notify-btn:hover { background: #C53A07; }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 1000px) {
  .hub-about { padding: 64px 24px; }
  .hub-inside { padding: 0 24px 64px; }
  .hub-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hub-about-img { aspect-ratio: 16 / 11; }
  .hub-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hub-values { grid-template-columns: 1fr; }
  .hub-notify-inner { gap: 24px; }
  .hub-notify-form { width: 100%; }
  .hub-notify-input { width: auto; flex: 1 1 auto; min-width: 0; }
}




/* =========================================================
   CONTACT PAGE — Figma node 95:1257
   Append to the end of style.css.
   Reuses .hero-heading, .btn-primary, .has-arrow,
   .eyebrow-pill / .eyebrow-dot from the earlier pages.
   ========================================================= */

/* ---- Pill: light amber, dark text (hero sits on a light surface) ---- */
.eyebrow-pill.pill-contact { background: rgba(245, 166, 35, .16); color: #1e1410; }
.eyebrow-pill.pill-contact .eyebrow-dot { background: #f5a623; }

/* ---- CTA color override: Figma specifies #e8604c here, not the
   site's usual --action-primary coral. ---- */
.btn-primary.btn-coral { background: #e8604c; }
.btn-primary.btn-coral:hover { background: #C53A07; }

/* ---- Hero -------------------------------------------- */
/* Matches the Figma frame's own 1440px coordinate space: the blob and
   photo are absolutely positioned at the exact Figma offsets, and the
   section clips anything (mostly the oversized blob) that spills past
   its own box — that clip is what keeps the blob off the heading text
   and keeps the hero from bleeding into the section below it. */
.contact-hero {
  position: relative;
  width: 1440px;
  max-width: 100%;
  min-height: 726px;
  margin: 0 auto;
  padding: 160px 24px 140px;
  box-sizing: border-box;
  overflow: hidden;
}
.contact-hero-copy { position: relative; z-index: 2; max-width: 568px; }
.contact-hero-copy .hero-heading { margin: 24px 0 0; color: var(--text-heading, #362222); }
.contact-hero-body {
  margin: 24px 0 0;
  max-width: 448px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body, #1a252c);
}
.contact-hero-copy .btn-primary { margin-top: 40px; }

.contact-blob {
  position: absolute;
  left: 675px;
  top: -22px;
  width: 943px;
  height: 899px;
  background: #f86732;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  z-index: 0;
}
.contact-hero-img {
  position: absolute;
  left: 600px;
  top: 82px;
  width: 858px;
  max-width: none;
  height: 644px;
  object-fit: cover;
  border-radius: 24px;
  z-index: 1;
}

/* ---- Main: info column + form card --------------------- */
.contact-main { max-width: 1248px; margin: 0 auto; padding: 140px 24px 140px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 473px) minmax(0, 663px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}

/* -- Info column -- */
.contact-info-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.33;
  color: #1e1410;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.contact-info-lede { margin: 16px 0 0; font-size: 16px; line-height: 1.8; color: var(--text-body, #1a252c); }

.contact-rows { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; }
.contact-row-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  border-radius: 50%;
  background: #f5f0e8;
  box-shadow: 4px 4px 8px 0 #c8bfb0, -4px -4px 8px 0 #fff;
}
.contact-row-label { margin: 0; font-weight: 700; font-size: 14px; line-height: 20px; color: #1e1410; }
.contact-row-value { margin: 2px 0 0; font-size: 16px; line-height: 1.8; color: var(--text-body, #1a252c); }
.contact-row-value a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-row-value a:hover { color: #e8604c; }

.contact-social { margin-top: 48px; }
.contact-social-label { margin: 0; font-weight: 600; font-size: 14px; line-height: 20px; color: #1e1410; }
.contact-social-links { display: flex; gap: 10px; margin-top: 16px; }
.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(30, 20, 16, .07);
  transition: background .2s ease, transform .2s ease;
}
.contact-social-link:hover { background: rgba(30, 20, 16, .14); transform: translateY(-2px); }

/* -- Form card -- */
.contact-card {
  background: var(--surface-card, #fffefd);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 8px 8px 16px 0 #c8bfb0, -8px -8px 16px 0 #fff;
}
.contact-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.33;
  color: #1e1410;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.contact-card-sub { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: #7a6e65; }

.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; }
.contact-label {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #7a6e65;
}
.contact-input {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #f5f0e8;
  box-shadow: inset 4px 4px 10px 0 #c8bfb0, inset -4px -4px 10px 0 #fff;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1e1410;
}
.contact-input::placeholder { color: rgba(30, 20, 16, .5); }
.contact-input:focus { outline: 2px solid #f86732; outline-offset: 2px; }
.contact-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231e1410' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-select:invalid { color: rgba(30, 20, 16, .5); }
.contact-textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); line-height: 1.5; }

.contact-form-btn {
  margin-top: 4px;
  width: 100%;
  border: 0;
  border-radius: 20px;
  background: #e8604c;
  padding: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.contact-form-btn:hover { background: #C53A07; }

/* ---- Responsive ----------------------------------------- */
/* Below the point where the 1440px hero coordinates no longer have
   room to breathe, drop the absolute positioning and stack copy
   above photo like every other hero on the site. */
@media (max-width: 1100px) {
  .contact-hero {
    width: auto;
    display: flex;
    flex-direction: column;
    padding: 120px 24px 64px;
  }
  .contact-hero-copy { max-width: 568px; }
  .contact-blob { display: none; }
  .contact-hero-img {
    position: relative;
    left: auto; top: auto;
    width: 100%;
    max-width: 568px;
    height: 320px;
    margin-top: 32px;
  }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-hero { padding-left: 24px; padding-right: 24px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 28px; }
}








/* =========================================================
   LEGAL PAGES — Figma node 597:2547 (shared hero + sidebar +
   numbered-section layout, used by all 5 legal pages)
   Append to the end of style.css.
   ========================================================= */

/* ---- Hero ---------------------------------------------- */
.legal-hero {
  background: var(--cream-500, #eca113);
  padding: 140px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.legal-hero-copy { max-width: 608px; }
.legal-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  color: var(--text-body, #1a252c);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-hero-body {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body, #1a252c);
}

/* ---- Layout: sidebar + document -------------------------- */
.legal-main { max-width: 1240px; margin: 0 auto; padding: 80px 24px 140px; }
.legal-grid {
  display: grid;
  grid-template-columns: 306px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* ---- Sidebar nav + scroll-progress track ------------------ */
.legal-nav {
  position: sticky;
  top: 112px;
  display: flex;
  gap: 31px;
  align-items: stretch;
}
.legal-track {
  position: relative;
  flex: none;
  width: 10px;
  background: var(--grey, #fafafa);
  border-radius: 12px;
}
.legal-track-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--action-primary, #f86732);
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(54, 34, 34, .25);
  transform: translateX(-50%);
  /* top is set by JS to align with whichever nav link is .is-current;
     see main.js — it does not move on scroll. */
}
.legal-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-nav-list a {
  display: block;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
  text-decoration: none;
}
.legal-nav-list a:hover { color: var(--action-primary, #f86732); }
.legal-nav-list a.is-current {
  font-weight: 700;
  color: var(--espresso-900, #362222);
}

/* ---- Document title block -------------------------------- */
.legal-doc-head { padding-bottom: 12px; }
.legal-doc-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-doc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-updated {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-intro {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

/* ---- Numbered sections ------------------------------------ */
.legal-section { margin-top: 24px; }
.legal-section-head {
  background: var(--surface-base, #fdf5e6);
  border-radius: 12px;
  padding: 10px 20px;
}
.legal-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--espresso-900, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-section-body { padding: 24px 0 0; }
.legal-section-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}
.legal-section-body p + p,
.legal-section-body p + .legal-list,
.legal-section-body p + .legal-deflist,
.legal-section-body .legal-list + p,
.legal-section-body .legal-deflist + p { margin-top: 16px; }

.legal-list { margin: 16px 0 0; padding: 0 0 0 22px; }
.legal-list li { font-size: 18px; line-height: 1.75; color: var(--slate-900, #1a252c); }
.legal-list li + li { margin-top: 8px; }

.legal-deflist { margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.legal-deflist-row { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-deflist-row dt {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-heading, #362222);
}
.legal-deflist-row dt::after { content: ":"; }
.legal-deflist-row dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

.legal-contact-lines { font-weight: 600; }

/* ---- Responsive --------------------------------------------- */
@media (max-width: 900px) {
  .legal-hero { padding: 100px 24px; }
  .legal-main { padding-top: 48px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-nav { position: static; }
  .legal-track { display: none; }
  .legal-nav-list { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }
}
@media (max-width: 640px) {
  .legal-section-head h3 { font-size: 24px; }
  .legal-doc-title { font-size: 26px; }
}









/* =========================================================
   LEGAL PAGES — Figma node 597:2547 (shared hero + sidebar +
   numbered-section layout, used by all 5 legal pages)
   Append to the end of style.css.
   ========================================================= */

/* ---- Hero ---------------------------------------------- */
.legal-hero {
  background: var(--cream-500, #eca113);
  padding: 140px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.legal-hero-copy { max-width: 608px; }
.legal-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  color: var(--text-body, #1a252c);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-hero-body {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body, #1a252c);
}

/* ---- Layout: sidebar + document -------------------------- */
.legal-main { max-width: 1240px; margin: 0 auto; padding: 80px 24px 140px; }
.legal-grid {
  display: grid;
  grid-template-columns: 306px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* ---- Sidebar nav + scroll-progress track ------------------ */

.legal-track-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--action-primary, #f86732);
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(54, 34, 34, .25);
  transform: translateX(-50%);
  /* top is set by JS to align with whichever nav link is .is-current;
     see main.js — it does not move on scroll. */
}
.legal-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-nav-list a {
  display: block;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
  text-decoration: none;
}
.legal-nav-list a:hover { color: var(--action-primary, #f86732); }
.legal-nav-list a.is-current {
  font-weight: 700;
  color: var(--espresso-900, #362222);
}

/* ---- Document title block -------------------------------- */
.legal-doc-head { padding-bottom: 12px; }
.legal-doc-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-doc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-updated {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-intro {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

/* ---- Numbered sections ------------------------------------ */
.legal-section { margin-top: 24px; }
.legal-section-head {
  background: var(--surface-base, #fdf5e6);
  border-radius: 12px;
  padding: 10px 20px;
}
.legal-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--espresso-900, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-section-body { padding: 24px 0 0; }
.legal-section-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}
.legal-section-body p + p,
.legal-section-body p + .legal-list,
.legal-section-body p + .legal-deflist,
.legal-section-body .legal-list + p,
.legal-section-body .legal-deflist + p { margin-top: 16px; }

.legal-list { margin: 16px 0 0; padding: 0 0 0 22px; }
.legal-list li { font-size: 18px; line-height: 1.75; color: var(--slate-900, #1a252c); }
.legal-list li + li { margin-top: 8px; }

.legal-deflist { margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.legal-deflist-row { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-deflist-row dt {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-heading, #362222);
}
.legal-deflist-row dt::after { content: ":"; }
.legal-deflist-row dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

.legal-contact-lines { font-weight: 600; }

/* ---- Inline link to an externally-hosted document (e.g. a Google Doc
   staff/volunteers sign during induction), styled as the bold coral
   text Figma shows inline in the intro paragraph. ---- */
.legal-doc-link {
  font-weight: 700;
  color: var(--action-primary, #f86732);
  text-decoration: none;
}
.legal-doc-link:hover,
.legal-doc-link:focus-visible { text-decoration: underline; }

/* ---- Responsive --------------------------------------------- */
@media (max-width: 900px) {
  .legal-hero { padding: 100px 24px; }
  .legal-main { padding-top: 48px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-nav { position: static; }
  .legal-track { display: none; }
  .legal-nav-list { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }
}
@media (max-width: 640px) {
  .legal-section-head h3 { font-size: 24px; }
  .legal-doc-title { font-size: 26px; }
}





/* =========================================================
   LEGAL PAGES — Figma node 597:2547 (shared hero + sidebar +
   numbered-section layout, used by all 5 legal pages)
   Append to the end of style.css.
   ========================================================= */

/* ---- Hero ---------------------------------------------- */
.legal-hero {
  background: var(--cream-500, #eca113);
  padding: 140px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.legal-hero-copy { max-width: 608px; }
.legal-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  color: var(--text-body, #1a252c);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-hero-body {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body, #1a252c);
}

/* ---- Layout: sidebar + document -------------------------- */
.legal-main { max-width: 1240px; margin: 0 auto; padding: 80px 24px 140px; }
.legal-grid {
  display: grid;
  grid-template-columns: 306px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* ---- Sidebar nav + scroll-progress track ------------------ */
.legal-nav {
  position: sticky;
  top: 112px;
  display: flex;
  gap: 31px;
  align-items: stretch;   /* was: flex-start */
}
.legal-track {
  position: relative;
  flex: none;
  width: 10px;
  /* height: 236px;  ← delete this line */
  background: var(--grey, #fafafa);
  border-radius: 12px;
}
.legal-track-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--action-primary, #f86732);
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(54, 34, 34, .25);
  transform: translateX(-50%);
  /* top is set by JS to align with whichever nav link is .is-current;
     see main.js — it does not move on scroll. */
}
.legal-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-nav-list a {
  display: block;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
  text-decoration: none;
}
.legal-nav-list a:hover { color: var(--action-primary, #f86732); }
.legal-nav-list a.is-current {
  font-weight: 700;
  color: var(--espresso-900, #362222);
}

/* ---- Document title block -------------------------------- */
.legal-doc-head { padding-bottom: 12px; }
.legal-doc-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-doc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-updated {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-intro {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

/* ---- Doc meta block (Organization / Effective Date / Review Date),
   used on the Safeguarding and Child Protection Policy page. ---- */
.legal-doc-meta {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-doc-meta p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-body, #1a252c);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-meta strong { font-weight: 700; }

/* ---- Numbered sections ------------------------------------ */
.legal-section { margin-top: 24px; }
.legal-section-head {
  background: var(--surface-base, #fdf5e6);
  border-radius: 12px;
  padding: 10px 20px;
}
.legal-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--espresso-900, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-section-body { padding: 24px 0 0; }
.legal-section-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}
.legal-section-body p + p,
.legal-section-body p + .legal-list,
.legal-section-body p + .legal-deflist,
.legal-section-body .legal-list + p,
.legal-section-body .legal-deflist + p { margin-top: 16px; }

.legal-list { margin: 16px 0 0; padding: 0 0 0 22px; }
.legal-list li { font-size: 18px; line-height: 1.75; color: var(--slate-900, #1a252c); }
.legal-list li + li { margin-top: 8px; }

.legal-deflist { margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.legal-deflist-row { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-deflist-row dt {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-heading, #362222);
}
.legal-deflist-row dt::after { content: ":"; }
.legal-deflist-row dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

.legal-contact-lines { font-weight: 600; }

/* ---- Roles & Responsibilities table (Safeguarding and Child
   Protection Policy, section 3). Two columns: Role / Responsibility. ---- */
.legal-table-wrap { margin: 16px 0 0; width: 100%; overflow-x: auto; }
.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th {
  background: var(--saffron-500, #ff9f1c);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--slate-900, #1a252c);
  padding: 15px 16px;
}
.legal-table td {
  border-top: 1.5px solid var(--saffron-100, #fff0db);
  vertical-align: top;
  padding: 12px 16px;
  font-family: var(--font-body);
  color: var(--slate-900, #1a252c);
}
.legal-table td:first-child {
  font-size: 18px;
  line-height: 1.75;
  width: 42%;
}
.legal-table td:last-child {
  font-size: 16px;
  line-height: 1.75;
}
.legal-table tbody tr:nth-child(odd) td { background: var(--cream-50, #fdf5e6); }
.legal-table tbody tr:nth-child(even) td { background: var(--saffron-50, #fff9f0); }

/* ---- Inline link to an externally-hosted document (e.g. a Google Doc
   staff/volunteers sign during induction), styled as the bold coral
   text Figma shows inline in the intro paragraph. ---- */
.legal-doc-link {
  font-weight: 700;
  color: var(--action-primary, #f86732);
  text-decoration: none;
}
.legal-doc-link:hover,
.legal-doc-link:focus-visible { text-decoration: underline; }

/* ---- Responsive --------------------------------------------- */
@media (max-width: 900px) {
  .legal-hero { padding: 100px 24px; }
  .legal-main { padding-top: 48px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-nav { position: static; }
  .legal-track { display: none; }
  .legal-nav-list { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }
}
@media (max-width: 640px) {
  .legal-section-head h3 { font-size: 24px; }
  .legal-doc-title { font-size: 26px; }
}




/* =========================================================
   LEGAL PAGES — Figma node 597:2547 (shared hero + sidebar +
   numbered-section layout, used by all 5 legal pages)
   Append to the end of style.css.
   ========================================================= */

/* ---- Hero ---------------------------------------------- */
.legal-hero {
  background: var(--cream-500, #eca113);
  padding: 140px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.legal-hero-copy { max-width: 608px; }
.legal-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  color: var(--text-body, #1a252c);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-hero-body {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body, #1a252c);
}

/* ---- Layout: sidebar + document -------------------------- */
.legal-main { max-width: 1240px; margin: 0 auto; padding: 80px 24px 140px; }
.legal-grid {
  display: grid;
  grid-template-columns: 306px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* ---- Sidebar nav + scroll-progress track ------------------ */

.legal-track-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--action-primary, #f86732);
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(54, 34, 34, .25);
  transform: translateX(-50%);
  /* top is set by JS to align with whichever nav link is .is-current;
     see main.js — it does not move on scroll. */
}
.legal-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-nav-list a {
  display: block;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
  text-decoration: none;
}
.legal-nav-list a:hover { color: var(--action-primary, #f86732); }
.legal-nav-list a.is-current {
  font-weight: 700;
  color: var(--espresso-900, #362222);
}

/* ---- Document title block -------------------------------- */
.legal-doc-head { padding-bottom: 12px; }
.legal-doc-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-doc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-updated {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-heading, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-intro {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

/* ---- Doc meta block (Organization / Effective Date / Review Date),
   used on the Safeguarding and Child Protection Policy page. ---- */
.legal-doc-meta {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legal-doc-meta p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--text-body, #1a252c);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-doc-meta strong { font-weight: 700; }

/* ---- Numbered sections ------------------------------------ */
.legal-section { margin-top: 24px; }
.legal-section-head {
  background: var(--surface-base, #fdf5e6);
  border-radius: 12px;
  padding: 10px 20px;
}
.legal-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--espresso-900, #362222);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.legal-section-body { padding: 24px 0 0; }
.legal-section-body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}
.legal-section-body p + p,
.legal-section-body p + .legal-list,
.legal-section-body p + .legal-deflist,
.legal-section-body .legal-list + p,
.legal-section-body .legal-deflist + p { margin-top: 16px; }

.legal-list { margin: 16px 0 0; padding: 0 0 0 22px; }
.legal-list li { font-size: 18px; line-height: 1.75; color: var(--slate-900, #1a252c); }
.legal-list li + li { margin-top: 8px; }

.legal-deflist { margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.legal-deflist-row { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-deflist-row dt {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-heading, #362222);
}
.legal-deflist-row dt::after { content: ":"; }
.legal-deflist-row dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--slate-900, #1a252c);
}

.legal-contact-lines { font-weight: 600; }

/* ---- Roles & Responsibilities table (Safeguarding and Child
   Protection Policy, section 3). Two columns: Role / Responsibility. ---- */
.legal-table-wrap { margin: 16px 0 0; width: 100%; overflow-x: auto; }
.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th {
  background: var(--saffron-500, #ff9f1c);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--slate-900, #1a252c);
  padding: 15px 16px;
}
.legal-table td {
  border-top: 1.5px solid var(--saffron-100, #fff0db);
  vertical-align: top;
  padding: 12px 16px;
  font-family: var(--font-body);
  color: var(--slate-900, #1a252c);
}
.legal-table td:first-child {
  font-size: 18px;
  line-height: 1.75;
  width: 42%;
}
.legal-table td:last-child {
  font-size: 16px;
  line-height: 1.75;
}
.legal-table tbody tr:nth-child(odd) td { background: var(--cream-50, #fdf5e6); }
.legal-table tbody tr:nth-child(even) td { background: var(--saffron-50, #fff9f0); }

/* ---- Inline link to an externally-hosted document (e.g. a Google Doc
   staff/volunteers sign during induction), styled as the bold coral
   text Figma shows inline in the intro paragraph. ---- */
.legal-doc-link {
  font-weight: 700;
  color: var(--action-primary, #f86732);
  text-decoration: none;
}
.legal-doc-link:hover,
.legal-doc-link:focus-visible { text-decoration: underline; }

/* ---- Responsive --------------------------------------------- */
@media (max-width: 900px) {
  .legal-hero { padding: 100px 24px; }
  .legal-main { padding-top: 48px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-nav { position: static; }
  .legal-track { display: none; }
  .legal-nav-list { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }
}
@media (max-width: 640px) {
  .legal-section-head h3 { font-size: 24px; }
  .legal-doc-title { font-size: 26px; }
}




/* ================= GHF Resources page ================= */

/* Immediate danger banner */
.res-danger { background: var(--action-primary, #f86732); padding: 24px; }
.res-danger-inner { max-width: 1248px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 24px 32px; }
.res-danger-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 24px; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.res-danger-icon img { width: 24px; height: 24px; }
.res-danger-text { flex: 1; min-width: 0; }
.res-danger-lead { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; }
.res-danger-lead a { color: #fff; text-decoration: none; background: #fff; color: var(--action-primary, #f86732); border-radius: 12px; padding: 2px 14px; font-family: var(--font-display); font-weight: 700; font-size: 24px; margin: 0 4px; display: inline-block; }
.res-danger-sub { margin: 6px 0 0; font-size: 16px; color: #fff; opacity: .95; }

/* Urgent help now: card grid */
.res-urgent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.res-urgent-card { background: var(--grey, #fafafa); border-radius: 20px; padding: 28px; box-shadow: 4px 4px 8px rgba(54,34,34,.15), -4px -4px 8px rgba(255,255,255,.7); display: flex; flex-direction: column; min-height: 260px; }
.res-urgent-card h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text-heading); line-height: 1.3; }
.res-urgent-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.25; color: var(--action-primary, #f86732); text-decoration: none; margin-bottom: 8px; display: block; }
.res-urgent-num:hover { text-decoration: underline; }
.res-urgent-meta { margin: 0 0 16px; font-size: 14px; color: #7a6e65; }
.res-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 16px; }
.res-tag { background: rgba(245,166,35,.16); color: #1e1410; font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-radius: 100px; padding: 6px 10px; }
.res-call-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--action-primary, #f86732); text-decoration: none; }
.res-call-link img { width: 15px; height: 15px; }
.res-call-link:hover { text-decoration: underline; }

/* Support-topics sticky sub-nav */
.res-subnav { position: sticky; top: 80px; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; background: rgba(255,254,253,.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(54,34,34,.12); padding: 16px 0; margin: 40px 0 0; }
.res-pill { background: #f5f0e8; color: #3d3530; font-weight: 600; font-size: 14px; border-radius: 100px; padding: 10px 20px; text-decoration: none; box-shadow: 4px 4px 8px #c8bfb0, -4px -4px 8px #fff; white-space: nowrap; }
.res-pill.is-active, .res-pill:hover { color: var(--action-primary, #f86732); box-shadow: inset 4px 4px 10px #c8bfb0, inset -4px -4px 10px #fff; }

/* Topic blocks */
.res-topic-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.res-topic-block { background: var(--grey, #fafafa); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 300px 1fr; gap: 48px; box-shadow: 4px 4px 8px rgba(54,34,34,.15), -4px -4px 8px rgba(255,255,255,.7); scroll-margin-top: 150px; }
.res-topic-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 24px; background: #f5f0e8; box-shadow: 4px 4px 8px #c8bfb0, -4px -4px 8px #fff; margin-bottom: 24px; }
.res-topic-icon img { width: 24px; height: 24px; }
.res-topic-head h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--text-heading); line-height: 1.15; }
.res-topic-head p { margin: 0; font-size: 16px; color: var(--text-body); line-height: 1.6; }
.res-topic-label { margin: 28px 0 12px; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso-500, #9c6363); }
.res-topic-body > .res-topic-label:first-child { margin-top: 0; }
.res-topic-intro { margin: 0 0 16px; font-size: 16px; color: var(--text-body); line-height: 1.8; }
.res-links-row { display: flex; flex-wrap: wrap; gap: 10px; }
.res-ext-link { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid rgba(54,34,34,.12); border-radius: 100px; padding: 8px 16px; font-weight: 600; font-size: 14px; color: #3d3530; text-decoration: none; }
.res-ext-link:hover { border-color: var(--action-primary, #f86732); color: var(--action-primary, #f86732); }
.res-service-rows { display: flex; flex-direction: column; }
.res-service-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 16px 0; border-bottom: 1px solid rgba(54,34,34,.12); }
.res-service-row strong { font-weight: 700; font-size: 16px; color: var(--text-heading); flex: 1 1 260px; }
.res-service-row a { font-weight: 700; font-size: 16px; color: var(--action-primary, #f86732); text-decoration: none; }
.res-service-row a:hover { text-decoration: underline; }
.res-row-meta { font-size: 14px; color: #7a6e65; }
.res-service-row-link a { font-weight: 600; font-size: 14px; }

/* Websites you can rely on */
.res-website-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.res-website-card { position: relative; display: flex; flex-direction: column; gap: 6px; justify-content: center; background: #fff; border: 1px solid rgba(54,34,34,.12); border-radius: 16px; padding: 20px 40px 20px 24px; min-height: 100px; text-decoration: none; }
.res-website-card strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-heading); }
.res-website-card span:not(.res-ext-arrow) { font-size: 14px; color: #7a6e65; }
.res-website-card .res-ext-arrow { position: absolute; top: 16px; right: 20px; color: var(--action-primary, #f86732); }
.res-website-card:hover { border-color: var(--action-primary, #f86732); }

/* "Tell someone safe" italic CTA variant */
.res-cta-step .cta-heading { text-align: center; }
.res-cta-step .cta-heading em { font-family: var(--font-display); font-style: italic; }
.res-cta-step .cta-body { text-align: center; }

/* Quote / lived-experience section */
.res-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.res-quote { margin: 24px 0 0; background: rgba(30,20,16,.03); border-left: 2px solid var(--espresso-500, #9c6363); border-radius: 16px; padding: 24px 28px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.6; color: var(--text-heading); }
.res-quote-attr { margin: 28px 0 0; font-weight: 600; font-size: 14px; color: var(--espresso-500, #9c6363); }
.res-quote-sub { margin: 12px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--text-heading); line-height: 1.3; }
.res-quote-figure { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 8px 8px 16px #c8bfb0, -8px -8px 16px #fff; }
.res-quote-figure img { display: block; width: 100%; height: 430px; object-fit: cover; }
.res-quote-figure figcaption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(18,15,15,.72); color: #fff; font-size: 11px; font-weight: 600; border-radius: 8px; padding: 8px 12px; white-space: nowrap; }

/* Responsive */
@media (max-width: 1100px) {
  .res-urgent-grid { grid-template-columns: repeat(2, 1fr); }
  .res-website-grid { grid-template-columns: repeat(2, 1fr); }
  .res-topic-block { grid-template-columns: 1fr; gap: 24px; }
  .res-quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .res-quote-figure img { height: 320px; }
}
@media (max-width: 640px) {
  .res-urgent-grid { grid-template-columns: 1fr; }
  .res-website-grid { grid-template-columns: 1fr; }
  .res-danger-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .res-subnav { top: 0; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
}
