/* =========================================================================
   Rise Youth — shared stylesheet
   Rebuild of the Voldog (voldogfood.com) layout system for a youth/community
   charity. Brand: deep teal + lime-yellow. Fredoka (display) + Nunito Sans.
   ========================================================================= */

:root {
  --teal-900: #173a39;
  --teal-800: #1d4354;
  --teal-700: #204e4a;
  --teal-600: #2c655f;
  --lime: #e1e53f;
  --lime-deep: #c9cd1f;
  --ink: #25303a;
  --ink-soft: #5b6770;
  --paper: #ffffff;
  --paper-2: #f4f6f8;
  --scroll-bg: #eeeff5;
  --line: #e3e7ea;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -22px rgba(23, 58, 57, 0.35);
  --shadow-soft: 0 10px 30px -16px rgba(23, 58, 57, 0.28);
  --maxw: 1240px;
  --header-h: 88px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--teal-800);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lime-deep); border-radius: 2px; }
.text-accent { color: var(--lime-deep); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--teal-900);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.82em 1.6em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(201, 205, 31, 0.7); }
.btn--dark { --btn-bg: var(--teal-700); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: 0 14px 26px -12px rgba(32, 78, 74, 0.6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: #fff; color: var(--teal-800); border-color: #fff; }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--teal-800); border-color: var(--line); }
.btn--ghost-dark:hover { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.btn--sm { padding: 0.6em 1.2em; font-size: 0.92rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header .container { display: flex; align-items: center; gap: 24px; }

.header-logo {
  display: inline-flex;
  align-items: center;
  height: 52px;
  color: #fff;                       /* light over the dark hero */
  transition: color 0.35s ease;
  z-index: 2;
}
/* Monochrome logo rendered via CSS mask so its colour follows the background:
   it inherits `color` from .header-logo (white over hero), and flips to deep
   teal once the page background turns light (body.scrolling). */
.logo-mark {
  display: block;
  width: 132px;
  height: 44px;
  background-color: currentColor;
  -webkit-mask: url("../assets/img/logo.svg") left center / contain no-repeat;
          mask: url("../assets/img/logo.svg") left center / contain no-repeat;
  transition: background-color 0.35s ease;
}
body.scrolling .header-logo { color: var(--teal-800); }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: #fff;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.primary-nav a:hover::after, .primary-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* solid header after the page background turns light */
body.scrolling .site-header {
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 8px 30px -20px rgba(23,58,57,0.5);
}
body.scrolling .primary-nav a { color: var(--teal-800); }

.nav-toggle { display: none; }

/* ---------- Hero (fullwidth header) ---------- */
.hero {
  position: relative;
  border: 1px solid transparent; /* JS animates borderColor like the source */
  min-height: 100vh;             /* fallback */
  min-height: 100svh;            /* fits the visible viewport (no browser-chrome overshoot) */
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,58,57,0.62) 0%, rgba(23,58,57,0.48) 40%, rgba(29,67,84,0.82) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: var(--header-h); max-width: 880px; }
.hero h1 { color: #fff; }
.hero h1 .text-accent { color: var(--lime); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.92); max-width: 620px; margin-bottom: 1.8em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: rgba(255,255,255,0.85); font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,0.8), transparent); animation: scrollpulse 1.8s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100%{ transform: scaleY(0.4); opacity:0.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* compact hero for inner pages */
.hero--inner { min-height: 64vh; min-height: 64svh; }
.hero--inner .hero__inner { max-width: 760px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 70px 0; }
.section--paper2 { background: var(--paper-2); }
.section--teal { background: var(--teal-700); color: #fff; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section--teal .lead { color: rgba(255,255,255,0.82); }

/* the riser: section that lifts over the pinned hero on home */
.section-next {
  position: relative;
  z-index: 5;
  background: var(--scroll-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: -36px;
}
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 span { color: var(--lime-deep); }

/* ---------- Category / Programme grid (Voldog product-category cards) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  color: #fff;
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,58,57,0) 35%, rgba(23,58,57,0.85) 100%);
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.cat-card__body h3 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.cat-card__body p { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.cat-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--lime); color: var(--teal-900);
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  padding: 5px 12px; border-radius: 999px;
}
.cat-card .arrow {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.4);
  display: grid; place-items: center; transition: background 0.3s ease, transform 0.3s ease;
}
.cat-card:hover .arrow { background: var(--lime); color: var(--teal-900); transform: rotate(-45deg); }

/* a feature tile inside the grid (the "make your own recipe" -> fundraiser CTA) */
.cat-card--feature::after { background: linear-gradient(135deg, var(--teal-700), var(--teal-800)); opacity: 1; }
.cat-card--feature { color: #fff; }
.cat-card--feature .cat-card__body { position: relative; padding: 30px; display: flex; flex-direction: column; gap: 14px; height: 100%; justify-content: center; }
.cat-card--feature .cat-card__body .btn { align-self: flex-start; }

/* ---------- Split (story / featured) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.split__media .badge {
  position: absolute; bottom: 18px; left: 18px; background: var(--lime);
  color: var(--teal-900); padding: 12px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; box-shadow: var(--shadow-soft);
}
.split__body h2 { margin-bottom: 0.4em; }
.checklist { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 3px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--lime); line-height: 1; }
.section--teal .stat__num { color: var(--lime); }
.stat__label { font-size: 0.98rem; color: rgba(255,255,255,0.82); margin-top: 8px; }

/* ---------- Donation tier cards (Voldog product cards) ---------- */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }

.filter-panel {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 22px 22px;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
}
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group:last-child { border-bottom: 0; }
.filter-group > h4 {
  font-family: var(--font-display); font-size: 1.02rem; margin: 0 0 12px;
  display: flex; justify-content: space-between; align-items: center; color: var(--teal-800);
}
.filter-group label { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 0.96rem; color: var(--ink-soft); }
.filter-group input { accent-color: var(--teal-700); width: 17px; height: 17px; }
.filter-group label .count { margin-left: auto; font-size: 0.82rem; color: #9aa6ad; }
.filter-group label:hover { color: var(--teal-800); }

.shop-main { min-width: 0; }
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.shop-toolbar .count-text { color: var(--ink-soft); font-size: 0.96rem; }
.shop-toolbar select {
  font-family: var(--font-body); font-size: 0.95rem; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer;
}

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tier-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.tier-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tier-card:hover .tier-card__media img { transform: scale(1.06); }
.tier-card__cause {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92);
  color: var(--teal-800); font-family: var(--font-display); font-weight: 600;
  font-size: 0.74rem; padding: 5px 12px; border-radius: 999px;
}
.tier-card__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-card__body h3 { font-size: 1.18rem; margin: 0; }
.tier-card__desc { font-size: 0.92rem; color: var(--ink-soft); margin: 0; flex: 1; }

/* frequency toggle (one-off / monthly) — replaces Voldog's pack-size variants */
.freq-toggle { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; gap: 4px; }
.freq-toggle button {
  border: 0; background: transparent; cursor: pointer; font-family: var(--font-display);
  font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); padding: 7px 14px; border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.freq-toggle button.active { background: var(--teal-700); color: #fff; }
.tier-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.tier-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--teal-800); }
.tier-card__price small { font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); }
.multi-note { font-size: 0.78rem; color: #9aa6ad; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.pagination a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; color: var(--teal-800);
  transition: all 0.25s ease;
}
.pagination a.active, .pagination a:hover { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

/* breadcrumb */
.breadcrumb { font-size: 0.9rem; color: var(--ink-soft); padding: 18px 0 0; }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb span { color: var(--teal-800); }

/* ---------- Voices / testimonials ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px;
}
.voice__quote { font-size: 1.05rem; color: var(--ink); flex: 1; }
.voice__quote::before { content: "“"; font-family: var(--font-display); font-size: 2.6rem; color: var(--lime-deep); line-height: 0.2; display: block; }
.voice__who { display: flex; align-items: center; gap: 14px; }
.voice__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.voice__who b { font-family: var(--font-display); color: var(--teal-800); display: block; }
.voice__who span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--teal-800);
  padding: 22px 44px 22px 0; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--lime-deep); transition: transform 0.3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { padding: 0 0 22px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-800), var(--teal-700));
  color: #fff; border-radius: var(--radius-lg); padding: 64px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,229,63,0.28), transparent 70%);
  top: -120px; right: -80px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 1.6em; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--teal-800); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--lime-deep); border-color: transparent; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); margin-bottom: 18px; }
.info-card h4 { font-family: var(--font-display); color: var(--teal-800); margin: 0 0 6px; }
.info-line { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--ink-soft); }
.info-line svg { flex: none; color: var(--teal-600); }
.map-wrapper { border-radius: var(--radius); overflow: hidden; height: 280px; box-shadow: var(--shadow-soft); }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.78); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { color: #fff; }
.footer-brand .logo-mark { width: 150px; height: 50px; }
.footer-brand p { margin-top: 14px; max-width: 280px; }
.site-footer h5 { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--lime); }
.footer-contact .info-line { color: rgba(255,255,255,0.78); padding: 6px 0; }
.footer-contact .info-line svg { color: var(--lime); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); transition: background 0.25s ease; }
.socials a:hover { background: var(--lime); color: var(--teal-900); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem;
}
.footer-bottom a:hover { color: var(--lime); }

/* subtle design credit — jiggles on hover */
.credit { color: rgba(255,255,255,0.4); display: inline-block; transition: color 0.25s ease; }
.credit:hover { color: var(--lime); animation: jiggle 0.45s ease; }
@keyframes jiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  15% { transform: rotate(-5deg) translateY(-1px); }
  35% { transform: rotate(4deg) translateY(1px); }
  55% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
  90% { transform: rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) { .credit:hover { animation: none; } }

/* ---------- Reveal baseline (no-JS safe) ---------- */
html.js .reveal { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 980px) {
  /* tablet vertical rhythm — between desktop (96px) and phone (40px) */
  .section { padding: 52px 0; }
  .section--tight { padding: 44px 0; }
  .section-head { margin-bottom: 36px; }
  .site-footer { padding: 56px 0 26px; }

  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: var(--teal-800); flex-direction: column; padding: calc(var(--header-h) + 20px) 32px 32px;
    transform: translateX(100%); transition: transform 0.35s ease; margin: 0; z-index: 55;
  }
  .primary-nav.open { transform: translateX(0); box-shadow: -20px 0 60px -20px rgba(0,0,0,0.5); }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 20px; }
  .primary-nav a { color: #fff !important; font-size: 1.2rem; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 8px; z-index: 56;
  }
  .nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
  body.scrolling .nav-toggle span { background: var(--teal-800); }
  .nav-toggle.open span { background: #fff; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header-actions .btn { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; max-height: none; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .voices { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
}
@media (max-width: 600px) {
  /* tighter vertical rhythm so section transitions don't read as big gaps */
  .section { padding: 40px 0; }
  .section--tight { padding: 34px 0; }
  .section-head { margin-bottom: 30px; }
  .container { padding: 0 20px; }

  /* Programme/category cards become a horizontal swipe carousel */
  .cat-grid, .cat-grid.cols-3 {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 -20px;
    padding: 4px 20px 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-grid > * { flex: 0 0 80%; scroll-snap-align: center; }

  .tier-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }

  /* Footer: "Our work" and "Get involved" side by side */
  .site-footer { padding: 48px 0 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }

  .field--row { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  .hero__scroll span { animation: none; }
  * { scroll-behavior: auto !important; }
}
