/* ============================================================
   PETITS CUISINIERS DE ROUEN — Warm & Human Community Design
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta:   #D4522A;
  --terracotta-lt:#E8754F;
  --terracotta-dk:#A83D1E;
  --cream:        #FFF3E0;
  --cream-dk:     #F5E6C8;
  --cream-dkr:    #EDD5A3;
  --warm-brown:   #6B4226;
  --warm-brown-lt:#9A6240;
  --warm-text:    #3D2410;
  --warm-mid:     #6B4A2C;
  --warm-light:   #A07850;
  --off-white:    #FFFDF6;
  --shadow-sm:    0 2px 8px rgba(107,66,38,.12);
  --shadow-md:    0 6px 24px rgba(107,66,38,.18);
  --shadow-lg:    0 12px 48px rgba(107,66,38,.22);
  --r-sm:  12px;
  --r-md:  24px;
  --r-lg:  40px;
  --r-xl:  56px;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--warm-text);
  background: var(--off-white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.15rem; font-weight: 700; }

p { max-width: 68ch; }
p + p { margin-top: .9em; }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--terracotta);
  background: rgba(212,82,42,.1);
  padding: .25em .9em;
  border-radius: 100px;
  margin-bottom: .75rem;
}

/* ── Utility ── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  padding: .75em 2em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dk); }
.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2.5px solid var(--terracotta);
}
.btn-outline:hover { background: var(--terracotta); color: #fff; }
.btn-cream { background: var(--cream); color: var(--terracotta); }
.btn-cream:hover { background: var(--cream-dk); }

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--off-white);
  border-bottom: 2px dotted var(--cream-dkr);
  box-shadow: 0 2px 12px rgba(107,66,38,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none !important;
  flex-shrink: 0;
}
.brand-lockup img.logo-icon { width: 44px; height: 44px; object-fit: contain; }
.brand-lockup img.wordmark { height: 28px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  font-weight: 700;
  font-size: .9rem;
  padding: .45em .85em;
  border-radius: 100px;
  color: var(--warm-text);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(212,82,42,.12);
  color: var(--terracotta);
}
.nav-links .nav-cta a {
  background: var(--terracotta);
  color: #fff;
  padding: .45em 1.1em;
}
.nav-links .nav-cta a:hover { background: var(--terracotta-dk); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--warm-text);
  border-radius: 2px;
  transition: .2s;
}

/* ── SVG Squiggle Divider ── */
.squiggle-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}
.squiggle-divider svg { width: 100%; display: block; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 640px;
  background: var(--cream);
  overflow: visible;
  padding-bottom: 0;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(61,36,16,.68) 0%,
    rgba(61,36,16,.35) 55%,
    rgba(61,36,16,.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 7rem 0 10rem;
}
.hero-content .container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.hero-text { max-width: 620px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--cream-dkr);
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: .3em 1em;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.hero-text h1 { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.3); margin-bottom: 1.2rem; }
.hero-text .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 52ch;
}
.hero-text .hero-sub + .btn { margin-top: .5rem; }

/* Hero overlap card */
.hero-overlap-wrap {
  position: relative;
  z-index: 3;
  margin-top: -120px;
  padding-bottom: 3rem;
}
.hero-overlap-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2.5rem 2.5rem;
  border: 3px solid var(--cream-dk);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat-item {
  text-align: center;
  padding: 1rem;
}
.stat-item .stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
  display: block;
}
.stat-item .stat-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--warm-mid);
  margin-top: .3rem;
}
.stat-divider {
  width: 1px;
  background: var(--cream-dkr);
  align-self: stretch;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--cream);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: rgba(212,82,42,.07);
  border-radius: 50%;
}
.page-hero .section-label { display: block; margin-bottom: .75rem; }
.page-hero h1 { color: var(--warm-text); margin-bottom: 1rem; }
.page-hero .lead {
  font-size: 1.15rem;
  color: var(--warm-mid);
  max-width: 60ch;
  line-height: 1.7;
}

/* ── Sections ── */
section { padding: 5rem 0; }
.section-bg-cream { background: var(--cream); }
.section-bg-terracotta { background: var(--terracotta); color: #fff; }
.section-bg-terracotta h2, .section-bg-terracotta h3 { color: #fff; }
.section-bg-warm { background: var(--cream-dk); }

/* ── Intro Section ── */
.intro-section { padding: 5rem 0 4rem; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-text .section-label { margin-bottom: 1rem; }
.intro-text h2 { margin-bottom: 1.5rem; }
.intro-text p { color: var(--warm-mid); }
.intro-image-wrap {
  position: relative;
  padding: 1.5rem 1.5rem 3rem 0;
}
.polaroid {
  background: var(--off-white);
  border: 4px solid var(--off-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.polaroid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: calc(var(--r-md) - 4px); }
.polaroid-caption {
  font-size: .82rem;
  font-weight: 700;
  color: var(--warm-mid);
  padding: .75rem .5rem .25rem;
  text-align: center;
  letter-spacing: .03em;
}
.polaroid-tilt-r { transform: rotate(2.5deg); }
.polaroid-tilt-l { transform: rotate(-2deg); }

.intro-image-wrap .polaroid-main {
  position: relative;
  z-index: 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-image-wrap .polaroid-main img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.intro-image-wrap .polaroid-float {
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 44%;
  z-index: 3;
}

/* ── Highlights / Feature Cards ── */
.highlights-section { padding: 5rem 0; }
.highlights-header { margin-bottom: 3rem; }
.cards-stagger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.cards-stagger .card:nth-child(2) { margin-top: 2.5rem; }
.cards-stagger .card:nth-child(3) { margin-top: 1rem; }

.card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2.5px solid var(--cream-dk);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px) rotate(.3deg); box-shadow: var(--shadow-md); }
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity .2s;
}
.card:hover::before { opacity: 1; }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .75rem; color: var(--warm-text); font-size: 1.25rem; }
.card p { font-size: .95rem; color: var(--warm-mid); line-height: 1.65; max-width: none; }

.card-dotted {
  border-style: dashed;
  border-color: var(--terracotta);
  border-width: 2px;
  background: rgba(212,82,42,.03);
}

/* ── Stamp Badge ── */
.stamp-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  border: 4px dashed rgba(255,255,255,.6);
  box-shadow: 0 4px 20px rgba(212,82,42,.35);
  font-weight: 800;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.3;
  position: relative;
  flex-shrink: 0;
}
.stamp-badge .stamp-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.stamp-badge-wrap {
  position: absolute;
  top: -20px;
  right: -20px;
  transform: rotate(8deg);
  z-index: 4;
}

/* ── Full-bleed Photo Banner ── */
.photo-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 5rem 0 9rem;
}
.photo-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.photo-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.photo-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61,36,16,.55);
}
.photo-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.photo-banner-content h2 { color: #fff; margin-bottom: 1rem; }
.photo-banner-content p { color: rgba(255,255,255,.9); }
.photo-banner-overlap {
  position: relative;
  z-index: 3;
  margin-top: -120px;
}

/* ── Programme Cards ── */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.programme-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2.5px solid var(--cream-dk);
  transition: transform .2s, box-shadow .2s;
}
.programme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.programme-icon { font-size: 2.8rem; margin-bottom: 1.1rem; }
.programme-card h3 { color: var(--warm-text); margin-bottom: .6rem; }
.programme-card .blurb {
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: .75rem;
  font-size: .95rem;
  max-width: none;
}
.programme-card .detail { font-size: .93rem; color: var(--warm-mid); max-width: none; line-height: 1.65; }

/* ── Impact strip ── */
.impact-strip {
  background: var(--terracotta);
  padding: 4rem 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.impact-item .num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.impact-item .lbl {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  margin-top: .4rem;
  font-weight: 600;
}

/* ── Story / About ── */
.story-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: start;
}
.story-text p { color: var(--warm-mid); }

.photo-collage {
  position: relative;
  padding-top: 2rem;
}
.photo-collage .pc-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-collage .pc-main img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.photo-collage .pc-float {
  position: absolute;
  top: -16px;
  right: -24px;
  width: 55%;
  z-index: 2;
}
.photo-collage .pc-float .polaroid {
  border-radius: var(--r-md);
}
.pc-stamp { position: absolute; bottom: 12px; left: -16px; transform: rotate(-6deg); z-index: 4; }

/* ── Team trustees ── */
.trustees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trustee-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2.5px dotted var(--cream-dkr);
  transition: transform .2s;
}
.trustee-card:hover { transform: translateY(-3px) rotate(.5deg); }
.trustee-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--cream-dk);
  box-shadow: var(--shadow-sm);
}
.trustee-card h4 { margin-bottom: .25rem; color: var(--warm-text); }
.trustee-card .role { font-size: .9rem; color: var(--terracotta); font-weight: 700; }

/* ── Ways to get involved ── */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.ways-grid .card:nth-child(2) { margin-top: 2rem; }

/* ── CTA banner ── */
.cta-banner {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--cream-dkr);
  box-shadow: var(--shadow-md);
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  background: rgba(212,82,42,.08);
  border-radius: 50%;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { color: var(--warm-mid); margin-bottom: 1.75rem; }

/* ── Blog cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.blog-grid .blog-card:nth-child(2) { margin-top: 2.5rem; }

.blog-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2.5px solid var(--cream-dk);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px) rotate(.4deg); box-shadow: var(--shadow-md); }
.blog-card-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-tag {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--terracotta);
  margin-bottom: .6rem;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: .6rem; color: var(--warm-text); }
.blog-card .dek { font-size: .9rem; color: var(--warm-mid); line-height: 1.6; flex: 1; max-width: none; }
.blog-card-link {
  margin-top: 1.2rem;
  font-weight: 800;
  font-size: .9rem;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.blog-card-link::after { content: '→'; }

/* ── Article ── */
.article-header {
  background: var(--cream);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 360px; height: 360px;
  background: rgba(212,82,42,.06);
  border-radius: 50%;
}
.article-tag {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--terracotta);
  margin-bottom: .75rem;
  display: block;
}
.article-header h1 { margin-bottom: 1.2rem; max-width: 20ch; }
.article-dek {
  font-size: 1.2rem;
  color: var(--warm-mid);
  line-height: 1.65;
  max-width: 58ch;
  font-style: italic;
}
.article-featured-img {
  margin: 3rem 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-dk);
}
.article-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.article-body {
  max-width: 72ch;
}
.article-body p {
  max-width: none;
  color: var(--warm-text);
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-body p + p { margin-top: 1.2em; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--warm-mid);
  font-size: .95rem;
  margin-bottom: 2rem;
  text-decoration: none;
  padding: .45em 1em;
  border-radius: 100px;
  border: 2px solid var(--cream-dkr);
  background: var(--off-white);
  transition: border-color .15s, color .15s;
}
.article-back:hover { border-color: var(--terracotta); color: var(--terracotta); text-decoration: none; }
.article-back::before { content: '←'; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 2.5px solid var(--cream-dk);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--warm-text);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75em 1em;
  border: 2px solid var(--cream-dkr);
  border-radius: var(--r-sm);
  background: var(--off-white);
  font: inherit;
  font-size: .95rem;
  color: var(--warm-text);
  transition: border-color .15s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-info { padding-top: 1rem; }
.contact-info h3 { margin-bottom: 1.25rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: var(--r-md);
  border: 2px dotted var(--cream-dkr);
}
.contact-item-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item-body strong { display: block; font-size: .85rem; color: var(--warm-mid); margin-bottom: .15rem; }
.contact-item-body a { color: var(--terracotta); word-break: break-all; }

/* ── Footer ── */
.site-footer {
  background: var(--warm-brown);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .brand-lockup { margin-bottom: 1rem; }
.footer-brand .brand-lockup img.wordmark { filter: invert(1) brightness(2); }
.footer-brand p { font-size: .9rem; line-height: 1.65; max-width: 36ch; }
.footer-brand .footer-emails { margin-top: 1rem; }
.footer-brand .footer-emails a {
  display: block;
  color: var(--cream-dkr);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-brand .footer-emails a:hover { color: #fff; text-decoration: underline; }
.footer-col h4 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cream-dkr);
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  text-decoration: none;
  transition: color .15s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── Squiggle path decorations ── */
.deco-squiggle {
  display: block;
  width: 140px;
  height: 20px;
  margin: 1rem 0 1.5rem;
}

/* ── What we do ── */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.what-we-do-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.what-we-do-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.what-we-do-text p { color: var(--warm-mid); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cards-stagger { grid-template-columns: repeat(2, 1fr); }
  .cards-stagger .card:nth-child(3) { margin-top: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .photo-collage { max-width: 480px; margin: 0 auto; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-image-wrap { max-width: 500px; }
  .what-we-do-grid { grid-template-columns: 1fr; }
  .what-we-do-img { max-width: 500px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--off-white); padding: 1rem; gap: .25rem; border-bottom: 2px solid var(--cream-dk); box-shadow: var(--shadow-sm); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; text-align: center; padding: .6em 1em; }
  .nav-toggle { display: flex; }

  .hero-content { min-height: auto; padding: 5rem 0 8rem; }
  .hero-overlap-wrap { margin-top: -80px; }
  .hero-overlap-card { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem; }
  .stat-divider { display: none; }

  .cards-stagger { grid-template-columns: 1fr; }
  .cards-stagger .card:nth-child(2) { margin-top: 0; }
  .programme-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid .blog-card:nth-child(2) { margin-top: 0; }
  .trustees-grid { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .ways-grid .card:nth-child(2) { margin-top: 0; }
  .impact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .photo-banner { padding: 4rem 0 7rem; }
  .photo-banner-overlap { margin-top: -80px; }
  .cta-banner { padding: 2.5rem 1.5rem; border-radius: var(--r-lg); }
  .contact-form { padding: 1.5rem; }
  section { padding: 3.5rem 0; }
  .page-hero { padding: 3.5rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .brand-lockup img.logo-icon { width: 36px; height: 36px; }
  .brand-lockup img.wordmark { height: 22px; }
  .hero-overlap-card { border-radius: var(--r-md); }
}

/* Article sidebar stacks below body on mobile */
@media (max-width: 900px) {
  .article-body + aside,
  [style*="grid-template-columns:1fr 320px"] {
    display: block !important;
  }
  [style*="grid-template-columns:1fr 320px"] > aside {
    margin-top: 2.5rem;
  }
  [style*="grid-template-columns:1fr 1fr"][style*="gap:4rem"] {
    display: block !important;
  }
  [style*="grid-template-columns:1fr 1fr"][style*="gap:4rem"] > div:last-child {
    margin-top: 2.5rem;
  }
  /* Blog featured article */
  [style*="grid-template-columns:1fr 1fr"][style*="overflow:hidden"] {
    display: block !important;
  }
  [style*="grid-template-columns:1fr 1fr"][style*="overflow:hidden"] > div:first-child {
    max-height: 260px !important;
    min-height: 0 !important;
  }
  [style*="grid-template-columns:1fr 1fr"][style*="overflow:hidden"] > div:last-child {
    padding: 1.5rem !important;
  }
  .scatter-wrap { flex-wrap: wrap; }
  .scatter-wrap .polaroid { width: 160px !important; }
}

/* ── Polaroid scattered images ── */
.scatter-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}
.scatter-wrap .p1 { transform: rotate(-3deg) translateY(8px); position: relative; z-index: 1; }
.scatter-wrap .p2 { transform: rotate(2deg) translateY(-12px) translateX(-12px); position: relative; z-index: 2; margin-left: -3rem; }
.scatter-wrap .p3 { transform: rotate(-1.5deg) translateY(4px) translateX(-8px); position: relative; z-index: 0; margin-left: -3rem; }
.scatter-wrap .polaroid { width: 220px; }
.scatter-wrap .polaroid img { aspect-ratio: 1/1; width: 100%; object-fit: cover; }

/* ── Dotted section accent ── */
.dotted-accent {
  border: 3px dashed var(--cream-dkr);
  border-radius: var(--r-xl);
  padding: 3rem 2.5rem;
}
