/* ════════════════════════════════════════════
   Youth SA — Site Styles (forked from Parks Youth)
   Display: Fraunces · Body: Work Sans
   ════════════════════════════════════════════ */

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

:root {
  /* court & chalk — colours from the group's own world:
     the blue basketball court, the sun in the logo, marker pens, the grass */
  --ink:         #1D1A4E;
  --ink-deep:    #14113A;
  --court:       #2B4BE0;
  --court-deep:  #1F36B8;
  --sun:         #FFC83D;
  --pink:        #FF5D8F;
  --grass:       #2EB67D;
  --paper:       #FFFFFF;
  --paper-alt:   #F0F5FF;
  /* older names, remapped */
  --teal:        #FFC83D;
  --teal-deep:   #2B4BE0;
  --teal-dim:    rgba(43, 75, 224, 0.1);
  --coral:       #FF5D8F;
  --coral-dark:  #E8437A;
  --white:       #ffffff;
  --grey:        #5B5F7A;
  --rule:        rgba(29, 26, 78, 0.12);
  --rule-light:  rgba(255, 255, 255, 0.18);
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Figtree', sans-serif;
  --font-hand:    'Caveat', cursive;
  --radius:      14px;
  --sticker:     3px 3px 0 var(--ink);
  --sticker-lg:  5px 5px 0 var(--ink);
  --shadow-sm:   0 4px 20px rgba(29, 26, 78, 0.08);
  --shadow-md:   0 16px 44px rgba(29, 26, 78, 0.14);
  --shadow-lg:   0 26px 70px rgba(29, 26, 78, 0.22);
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--paper);
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Labels / kickers ── */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.label.light { color: var(--teal); }

/* ── Section titles ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}

.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.02rem;
  color: var(--grey);
  margin-bottom: 2.75rem;
  max-width: 540px;
}

.section-sub.light { color: rgba(255,255,255,0.66); }

.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Scroll-in animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.32s; }

/* ── Grain texture (used on dark sections) ── */
.grain {
  position: relative;
}
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.grain > .container { position: relative; z-index: 1; }


/* ════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.4rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.9rem 0;
  border-bottom-color: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.wordmark-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.22);
}

.site-header.scrolled .wordmark { color: var(--ink); }

/* ── Nav links ── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.site-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--white); }

.site-header.scrolled .site-nav a { color: rgba(29, 26, 78,0.72); }
.site-header.scrolled .site-nav a:hover,
.site-header.scrolled .site-nav a.active { color: var(--ink); }

.site-nav a.nav-cta,
.site-header.scrolled .site-nav a.nav-cta {
  color: var(--white);
  background: var(--coral);
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  box-shadow: 0 4px 18px rgba(255, 93, 143, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.site-nav a.nav-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.site-nav a.nav-ig {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
}

.site-nav a.nav-ig::after { display: none; }
.nav-ig-text { display: none; }

/* ── Mobile menu button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}

.site-header.scrolled .nav-toggle span { background: var(--ink); }

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Anchored sections land below the fixed header */
section[id], [id="junior-youth-program"], [id="animators"] { scroll-margin-top: 84px; }


/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 17, 58, 0.9) 0%,
    rgba(20, 17, 58, 0.62) 44%,
    rgba(20, 17, 58, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 2rem 2rem 5rem 7%;
  max-width: 640px;
}

.hero-content .label {
  color: var(--teal);
  animation: fadeDrop 0.9s ease both;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.4rem);
  font-weight: 600;
  font-style: normal;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 32px rgba(0,0,0,0.5);
  animation: fadeDrop 0.9s 0.12s ease both;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
  max-width: 460px;
  line-height: 1.65;
  animation: fadeDrop 0.9s 0.26s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  animation: fadeDrop 0.9s 0.4s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 28px rgba(255, 93, 143, 0.4);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(255, 93, 143, 0.5);
}

.btn-primary.large {
  padding: 1.15rem 2.75rem;
  font-size: 1.05rem;
}

.btn-ghost {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 3px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

@keyframes fadeDrop {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: 70px; }


/* ════════════════════════════════════════════
   PHOTO FRAME (offset outline device)
   ════════════════════════════════════════════ */

.photo-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--teal);
  border-radius: 4px;
  z-index: 0;
}

.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.photo-frame.reverse::before { inset: 16px 16px -16px -16px; }


/* ════════════════════════════════════════════
   WAYS IN — one card per audience
   ════════════════════════════════════════════ */

.ways-in {
  padding: 5.5rem 0 5rem;
  background: var(--paper);
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.way-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.way-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 200, 61, 0.45);
}

.way-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.way-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.way-card:hover .way-img img { transform: scale(1.05); }

.way-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem 1.6rem 1.75rem;
}

.way-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-dim);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

.way-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.way-body p {
  font-size: 0.93rem;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}

.way-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral);
}

/* Quick facts under the cards */
.glance {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.25rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--grey);
}

.glance li { position: relative; padding-left: 1.1rem; }

.glance li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.glance strong { color: var(--ink); font-weight: 700; }


/* ════════════════════════════════════════════
   PURPOSE
   ════════════════════════════════════════════ */

.purpose {
  position: relative;
  background: radial-gradient(120% 140% at 12% -10%, #3A5AF2 0%, var(--ink) 45%, var(--ink-deep) 100%);
  padding: 6rem 0;
}

.purpose .label,
.purpose .section-title,
.purpose .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

/* Junior Youth Spiritual Empowerment Programme explainer */
.jy-intro {
  text-align: left;
  padding-bottom: 3.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.jy-intro a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Centred, big heading — this is the part people most need to understand */
.jy-lead {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.jy-lead::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%; top: 45%;
  width: 720px; height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 200, 61,0.16), rgba(255, 200, 61,0));
  pointer-events: none;
}

.jy-lead h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0.4rem 0 1.5rem;
}

.jy-lead-pre {
  display: block;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.jy-lead-name {
  display: block;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  background: linear-gradient(100deg, #ffffff 10%, var(--teal) 55%, #8ef0e2 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jy-lead p {
  color: rgba(255,255,255,0.75);
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.jy-lead strong { color: var(--white); }

.jy-age {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.25rem;
  align-items: center;
  max-width: 900px;
  margin: 3.25rem auto 0;
  background: linear-gradient(160deg, rgba(255, 200, 61,0.12), rgba(255,255,255,0.03) 60%);
  border: 1px solid rgba(255, 200, 61,0.25);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
}

.jy-age-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(20, 17, 58,0.45);
  border: 1.5px solid rgba(255, 200, 61,0.45);
}

.jy-age-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--teal);
}

.jy-age-unit {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.jy-age h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.jy-age p {
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* The three aims */
.jy-aims-intro {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--white);
  margin: 4rem 0 2rem;
}

.jy-aims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.jy-aim {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.25rem 2rem 2.1rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

/* teal hairline across the top of each card */
.jy-aim::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(255, 200, 61,0));
}

.jy-aim:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 200, 61,0.4);
  background: rgba(255,255,255,0.06);
}

.jy-aim-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 200, 61,0.5);
  background: rgba(255, 200, 61,0.1);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.4rem;
}

/* The programme's own name for the aim, above the plain-English heading */
.jy-aim-term {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

.jy-aim h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.jy-aim p {
  color: rgba(255,255,255,0.62);
  font-size: 0.93rem;
  line-height: 1.7;
}

.jy-ruhi {
  max-width: 760px;
  margin: 2.75rem auto 0;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ── Sub-pages ── */
.page-top { padding-top: 8.5rem; }

.jy-section--page { margin-bottom: 3rem; }

/* Families page: its own intro, centred like the other page heads */
.families.page-top { padding-top: 9rem; }
.families.page-top .container > .label,
.families.page-top .container > .section-title,
.families.page-top .container > .section-sub { display: block; text-align: center; margin-left: auto; margin-right: auto; }

.page-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.page-facts > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-weight: 500;
}

.page-back {
  margin-top: 2.5rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.page-back a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

/* JY Section */
.jy-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
  text-align: left;
  margin-bottom: 3.5rem;
}

.jy-img img { aspect-ratio: 4 / 5; object-position: center top; }

.jy-text h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.jy-text p {
  color: rgba(255,255,255,0.66);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.jy-text p:last-child { margin-bottom: 0; }

/* Friendship Block */
.friendship-block {
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
}

.friendship-block h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

.friendship-block p {
  color: rgba(255,255,255,0.64);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.friendship-block p:last-child {
  margin-bottom: 0;
  color: rgba(255,255,255,0.88);
}


/* ════════════════════════════════════════════
   WHAT HAPPENS
   ════════════════════════════════════════════ */

.what-happens {
  padding: 6rem 0 4rem;
  background: var(--paper);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.activity-card { grid-column: span 2; }
.activity-card:nth-child(n+4) { grid-column: span 3; }

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 200, 61, 0.4);
}

.activity-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal-deep);
  opacity: 0.45;
  margin-bottom: 0.9rem;
}

.activity-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.activity-card p {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.65;
}

.event-details-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  flex-wrap: wrap;
  padding: 1.85rem 2rem;
  margin-top: 2rem;
}

.event-bar-title {
  flex-basis: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 600;
  color: var(--white);
  padding-bottom: 1.25rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.detail-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.detail-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
}

.detail-venue-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.detail-venue-link:hover { color: var(--teal); }

.detail-address {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.detail-maps-link {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.detail-maps-link:hover { opacity: 0.75; }


/* ════════════════════════════════════════════
   FAMILIES
   ════════════════════════════════════════════ */

.families {
  padding: 5.5rem 0 5rem;
  background: var(--paper-alt);
}

.families-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.families-col {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.25rem 2.25rem 2.4rem;
}

.families-col.support {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.families-col h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.tick-list {
  list-style: none;
  margin-bottom: 0;
}

.tick-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.95rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--grey);
}

.tick-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tick-list strong { color: var(--ink); }

.support .tick-list li { color: rgba(255,255,255,0.66); }
.support .tick-list strong { color: var(--white); }
.support .tick-list li::before { background: rgba(255, 200, 61, 0.18); color: var(--teal); }
.support .btn-primary { margin-top: 0.9rem; }

.families-note {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--grey);
}


/* ════════════════════════════════════════════
   PHOTO STRIPS
   Full-bleed photos that break up the page
   instead of one big gallery block.
   ════════════════════════════════════════════ */

.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  line-height: 0;   /* kill the inline-block gap under images */
}

.photo-strip.duo { grid-template-columns: 1fr 1fr; }

.photo-strip figure {
  position: relative;
  overflow: hidden;
  height: clamp(240px, 38vw, 520px);
}

.photo-strip.duo figure { height: clamp(200px, 28vw, 400px); }

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* bias the crop upward — faces sit above centre, and a wide
     band on a 4:3 source trims a lot off the top otherwise */
  object-position: center 28%;
  transition: transform 1s ease;
}

.photo-strip figure:hover img { transform: scale(1.04); }

/* Inset variant — sits inside a .container instead of going full-bleed */
.photo-strip.inset {
  gap: 1.25rem;
  margin: 3rem 0 0;
}

.photo-strip.inset figure {
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}


/* ════════════════════════════════════════════
   ARTWORK
   ════════════════════════════════════════════ */

.artwork {
  padding: 3.5rem 0 6rem;
  background: var(--paper-alt);
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.artwork-frame {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.artwork-piece:hover .artwork-frame {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* contain, never crop — these are artworks, not photos */
.artwork-frame img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
}

.artwork-caption { margin-top: 1.15rem; }

.artwork-caption h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.artwork-caption p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--grey);
}


/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */

.testimonials {
  padding: 3rem 0 6rem;
  background: var(--paper);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 700;
}

.testimonial-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--grey);
}


/* ════════════════════════════════════════════
   UPCOMING
   ════════════════════════════════════════════ */

.upcoming {
  padding: 5rem 0 6rem;
  background: var(--paper-alt);
}

.event-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 2.25rem;
  max-width: 720px;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 84px;
  padding: 0.7rem 0 0.8rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  line-height: 1.1;
}

.event-month,
.event-weekday {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.event-day {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  margin: 0.15rem 0;
}

.event-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.event-meta {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 0.2rem;
}

.event-info .detail-maps-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--teal-deep);
  font-size: 0.88rem;
}

.upcoming-more {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--grey);
}

.upcoming-more a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ════════════════════════════════════════════
   INSTAGRAM
   ════════════════════════════════════════════ */

.instagram {
  padding: 5rem 0 5.5rem;
  background: var(--paper);
}

.ig-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.ig-head .section-sub { margin-bottom: 0; }

.ig-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(221, 42, 123, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-ig:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(221, 42, 123, 0.4);
}

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

.ig-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.ig-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(20, 17, 58, 0.55);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ig-tile:hover img { transform: scale(1.05); }
.ig-tile:hover .ig-tile-overlay,
.ig-tile:focus-visible .ig-tile-overlay { opacity: 1; }

.contact-note a { color: var(--teal); }


/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */

.contact {
  position: relative;
  background: radial-gradient(120% 140% at 88% 110%, #3A5AF2 0%, var(--ink) 45%, var(--ink-deep) 100%);
  padding: 6rem 0 6.5rem;
  text-align: center;
}

.contact .label,
.contact .section-title,
.contact .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}


/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */

.footer {
  background: var(--ink-deep);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.footer p {
  color: rgba(255,255,255,0.4);
  font-size: 0.84rem;
  margin-bottom: 0.3rem;
}

.footer a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer a:hover { opacity: 0.75; }

.footer-note {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.45) !important;
  margin-top: 0.7rem;
}


/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ════════════════════════════════════════════ */

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.5rem;
    background: var(--ink-deep);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a,
  .site-header.scrolled .site-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .site-nav a::after { display: none; }

  .site-nav a.nav-ig { gap: 0.6rem; font-size: 1.05rem; }
  .nav-ig-text { display: inline; }
  .site-nav a.active { color: var(--teal) !important; }

  .site-nav a.nav-cta,
  .site-header.scrolled .site-nav a.nav-cta {
    margin-top: 1.1rem;
    text-align: center;
    border-bottom: 0;
    padding: 0.9rem 1.3rem;
  }

  /* Solid bar while the menu is open, even over the hero */
  .nav-open.site-header { background: var(--ink-deep); }
  .nav-open.site-header .wordmark { color: var(--white); }
  .nav-open.site-header .nav-toggle span { background: var(--white); }
}

@media (max-width: 900px) {
  .ways-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .glance { justify-content: flex-start; flex-direction: column; max-width: 480px; margin-left: auto; margin-right: auto; }

  .families-grid { grid-template-columns: 1fr; }
  .page-facts { grid-template-columns: 1fr; }
  .page-top { padding-top: 7rem; }
  .families.page-top { padding-top: 7rem; }

  .ig-grid { grid-template-columns: repeat(2, 1fr); }

  .jy-age { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.25rem; padding: 2rem 1.5rem; }
  .jy-age-badge { width: 116px; height: 116px; }
  .jy-aims { grid-template-columns: 1fr; gap: 1.1rem; max-width: 520px; margin: 0 auto; }
  .jy-aims-intro { margin-top: 3rem; }

  .jy-section { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .jy-img { order: -1; max-width: 320px; margin: 0 auto; }
  .jy-text { text-align: left; }

  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-card,
  .activity-card:nth-child(n+4) { grid-column: span 1; }
  .activity-card:last-child { grid-column: 1 / -1; }

  .event-details-bar { flex-direction: column; gap: 1.25rem; padding: 1.75rem; }
  .detail-divider { width: 60px; height: 1px; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .artwork-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .artwork-frame img { height: 300px; }
}


/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
   ════════════════════════════════════════════ */

@media (max-width: 600px) {
  .hero { justify-content: center; }
  .hero-content { text-align: center; padding: 5rem 1.25rem 5rem; max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-content h1 { font-size: 2.6rem; }

  .section-title { font-size: 1.65rem; }
  .section-sub { max-width: 100%; }

  .ways-in { padding: 4rem 0 3.5rem; }
  .families { padding: 4rem 0 3.5rem; }
  .families-col { padding: 1.75rem 1.5rem; }

  .purpose { padding: 4rem 0; }

  .what-happens { padding: 4rem 0 3rem; }
  .activities-grid { grid-template-columns: 1fr; }
  .activity-card:last-child { grid-column: auto; }

  /* Side-by-side pairs get too cramped on a phone — stack them */
  .photo-strip.duo { grid-template-columns: 1fr; }
  .photo-strip figure,
  .photo-strip.duo figure { height: 240px; }
  .photo-strip.inset { gap: 0.85rem; margin-top: 2.25rem; }

  .artwork { padding: 3rem 0 4rem; }
  .artwork-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .artwork-frame img { height: auto; max-height: 420px; }

  .testimonials { padding: 2.5rem 0 4rem; }

  .upcoming { padding: 4rem 0 4.5rem; }
  .event-card { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }

  .contact { padding: 4rem 0 4.5rem; }
}


/* ════════════════════════════════════════════
   RESPONSIVE — SMALL PHONES (≤ 400px)
   ════════════════════════════════════════════ */

@media (max-width: 400px) {
  .hero-content h1 { font-size: 2.2rem; }
  .container { padding: 0 1rem; }
}


/* ════════════════════════════════════════════
   THEME — court & chalk
   Playful layer over the base styles: marker-note labels,
   sticker buttons and cards, court-blue dark sections.
   ════════════════════════════════════════════ */

body { color: var(--ink); }

h1, h2, h3, h4,
.section-title,
.wordmark { font-family: var(--font-display); }

.section-title {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* Labels read like marker notes on a flyer, not all-caps eyebrows */
.label,
.label.light {
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  color: var(--court);
  transform: rotate(-2deg);
  transform-origin: left center;
  margin-bottom: 0.6rem;
}

.label.light { color: var(--sun); }

.center .label, .label[style*="center"] { transform-origin: center; }

/* ── Buttons: stickers ── */
.btn-primary,
.site-nav a.nav-cta,
.site-header.scrolled .site-nav a.nav-cta {
  background: var(--sun);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: var(--sticker);
  font-weight: 700;
}

.btn-primary:hover,
.site-nav a.nav-cta:hover {
  background: var(--sun);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-primary:active,
.site-nav a.nav-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-primary:focus-visible,
.site-nav a:focus-visible,
.way-card:focus-visible,
.ig-tile:focus-visible,
.btn-ig:focus-visible,
.btn-ghost:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

/* ── Header ── */
.site-nav a { white-space: nowrap; }
.wordmark { font-weight: 800; letter-spacing: -0.02em; }
.wordmark-dot { background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.3); }
.site-nav a:not(.nav-cta)::after { background: var(--pink); height: 3px; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.94); }

/* ── Hero ── */
.hero-scrim {
  background: linear-gradient(100deg,
    rgba(31, 54, 184, 0.92) 0%,
    rgba(31, 54, 184, 0.6) 44%,
    rgba(29, 26, 78, 0.15) 100%);
}

.hero-content h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero-content .label { color: var(--sun); }
.btn-ghost:hover { border-color: var(--sun); color: var(--sun); }

/* ── Ways in ── */
.way-card {
  border: 2.5px solid var(--ink);
  box-shadow: var(--sticker-lg);
}

.way-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
  border-color: var(--ink);
}

.way-img { border-bottom: 2.5px solid var(--ink); }
.way-body h3 { font-weight: 800; letter-spacing: -0.02em; }

.way-tag {
  color: var(--ink);
  background: var(--sun);
  border: 2px solid var(--ink);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.8rem;
}

.way-card:nth-child(2) .way-tag { background: var(--pink); color: var(--white); }
.way-card:nth-child(3) .way-tag { background: var(--grass); color: var(--white); }
.way-link { color: var(--court); }

.glance li::before { background: var(--sun); box-shadow: 0 0 0 2px var(--ink); }
.glance li:nth-child(2)::before { background: var(--pink); }
.glance li:nth-child(3)::before { background: var(--grass); }
.glance li:nth-child(4)::before { background: var(--court); }

/* ── Programme (court-blue section) ── */
.purpose,
.contact {
  background: var(--court);
}

.purpose .grain::before,
.grain::before { opacity: 0.08; }

.jy-lead::before {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.jy-lead-pre {
  font-family: var(--font-hand);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  color: var(--sun);
  transform: rotate(-2deg);
}

.jy-lead-name {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.jy-lead p { color: rgba(255, 255, 255, 0.88); }

.jy-age {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.jy-age-badge {
  background: var(--sun);
  border: 2.5px solid var(--ink);
  box-shadow: var(--sticker);
  transform: rotate(-6deg);
}

.jy-age-num { color: var(--ink); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.jy-age-unit { color: var(--ink); letter-spacing: 0.04em; text-transform: none; font-size: 0.85rem; }
.jy-age p { color: rgba(255, 255, 255, 0.85); }

.jy-aims-intro {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: var(--sun);
}

/* The three aims as coloured stickers
   (.jy-aims prefix so the tilt beats .fade-up.visible's transform) */
.jy-aims .jy-aim {
  background: var(--sun);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--sticker-lg);
  transform: rotate(-1.5deg);
}

.jy-aim::before { display: none; }
.jy-aims .jy-aim:nth-child(2) { background: var(--pink); transform: rotate(1.2deg); }
.jy-aims .jy-aim:nth-child(3) { background: var(--grass); transform: rotate(-0.8deg); }

.jy-aims .jy-aim:hover {
  background: var(--sun);
  border-color: var(--ink);
  transform: rotate(0deg) translateY(-4px);
}

.jy-aim:nth-child(2):hover { background: var(--pink); }
.jy-aim:nth-child(3):hover { background: var(--grass); }

.jy-aim h4 { color: var(--ink); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.jy-aim p { color: rgba(29, 26, 78, 0.85); font-size: 0.97rem; }
.jy-aim-term {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

.jy-aim:nth-child(2) h4,
.jy-aim:nth-child(3) h4,
.jy-aim:nth-child(2) p,
.jy-aim:nth-child(3) p,
.jy-aim:nth-child(2) .jy-aim-term,
.jy-aim:nth-child(3) .jy-aim-term { color: var(--white); }

.jy-ruhi { color: rgba(255, 255, 255, 0.8); }
.jy-intro a, .jy-text a, .friendship-block a { color: var(--sun); }
.jy-text p, .friendship-block p { color: rgba(255, 255, 255, 0.85); }
.jy-text h3, .friendship-block h3 { font-weight: 800; letter-spacing: -0.02em; }
.jy-intro, .friendship-block { border-color: rgba(255, 255, 255, 0.18); }

.photo-frame::before { border: 3px solid var(--sun); border-radius: 10px; }
.photo-frame img { border-radius: 10px; border: 2.5px solid var(--ink); }

/* ── Gatherings ── */
.activity-card {
  border: 2.5px solid var(--ink);
  border-top-width: 10px;
  border-top-color: var(--sun);
  box-shadow: var(--sticker);
}

.activity-card:nth-child(2) { border-top-color: var(--pink); }
.activity-card:nth-child(3) { border-top-color: var(--grass); }
.activity-card:nth-child(4) { border-top-color: var(--court); }
.activity-card:nth-child(5) { border-top-color: var(--sun); }

.activity-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--sticker-lg);
  border-color: var(--ink);
  border-top-color: inherit;
}

.activity-card:nth-child(1):hover, .activity-card:nth-child(5):hover { border-top-color: var(--sun); }
.activity-card:nth-child(2):hover { border-top-color: var(--pink); }
.activity-card:nth-child(3):hover { border-top-color: var(--grass); }
.activity-card:nth-child(4):hover { border-top-color: var(--court); }

.activity-card h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.activity-card p { color: var(--grey); font-size: 0.92rem; }

.photo-strip.inset figure { border: 2.5px solid var(--ink); box-shadow: var(--sticker); }

.event-details-bar {
  background: var(--court);
  border: 2.5px solid var(--ink);
  box-shadow: var(--sticker-lg);
}

.event-bar-title { font-weight: 800; letter-spacing: -0.02em; border-bottom-color: rgba(255, 255, 255, 0.25); }
.detail-label { font-family: var(--font-hand); font-size: 1.3rem; letter-spacing: 0; text-transform: none; color: var(--sun); }
.detail-address { color: rgba(255, 255, 255, 0.75); }

/* ── Families ── */
.families-col { border: 2.5px solid var(--ink); box-shadow: var(--sticker-lg); }
.families-col.support { background: var(--court); border-color: var(--ink); }
.families-col h3 { font-weight: 800; letter-spacing: -0.02em; }
.tick-list li::before { background: var(--sun); color: var(--ink); border: 2px solid var(--ink); }
.support .tick-list li::before { background: var(--sun); color: var(--ink); }
.support .tick-list li { color: rgba(255, 255, 255, 0.85); }

/* ── Artwork & testimonials ── */
.artwork-frame { border: 2.5px solid var(--ink); box-shadow: var(--sticker); }
.artwork-piece:nth-child(1) .artwork-frame { transform: rotate(-1.5deg); }
.artwork-piece:nth-child(2) .artwork-frame { transform: rotate(1deg); }
.artwork-piece:nth-child(3) .artwork-frame { transform: rotate(-0.6deg); }
.artwork-piece:hover .artwork-frame { transform: rotate(0) translateY(-4px); box-shadow: var(--sticker-lg); }
.artwork-caption h3 { font-weight: 800; letter-spacing: -0.01em; }

.testimonial-card { border: 2.5px solid var(--ink); box-shadow: var(--sticker); }
.testimonial-card:hover { box-shadow: var(--sticker-lg); transform: translate(-2px, -2px); }
.quote { font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: 1.08rem; }
.author-avatar { background: var(--sun); color: var(--ink); border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 800; }
.testimonial-card:nth-child(2) .author-avatar { background: var(--pink); color: var(--white); }
.testimonial-card:nth-child(3) .author-avatar { background: var(--grass); color: var(--white); }

/* ── Community Day ── */
.event-card { border: 2.5px solid var(--ink); border-left-width: 2.5px; box-shadow: var(--sticker-lg); }
.event-date { background: var(--pink); border: 2.5px solid var(--ink); transform: rotate(-4deg); }
.event-month, .event-weekday { color: var(--white); letter-spacing: 0.04em; }
.event-day { font-family: var(--font-display); font-weight: 800; }
.event-info h3 { font-weight: 800; letter-spacing: -0.02em; }
.event-info .detail-maps-link,
.upcoming-more a { color: var(--court); }

/* ── Instagram ── */
.ig-tile { border: 2.5px solid var(--ink); box-shadow: var(--sticker); }
.btn-ig { border: 2.5px solid var(--ink); box-shadow: var(--sticker); }
.ig-tile-overlay { background: rgba(31, 54, 184, 0.7); }

/* ── Contact & footer ── */
.contact .section-sub { color: rgba(255, 255, 255, 0.85); }
.contact-note { color: rgba(255, 255, 255, 0.75); }
.contact-note a { color: var(--sun); }
.footer { background: var(--ink); }
.footer a { color: var(--sun); }

/* Sub-page fact boxes sit on court blue */
.page-facts > div { background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.25); }
.page-back a { color: var(--sun); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .jy-aims .jy-aim, .jy-aims .jy-aim:nth-child(2), .jy-aims .jy-aim:nth-child(3) { transform: none; }
  .label, .label.light { font-size: 1.4rem; }
}


/* ════════════════════════════════════════════
   READABILITY — bigger text, darker greys,
   and key phrases picked out
   ════════════════════════════════════════════ */

html { font-size: 106.25%; }   /* 17px base: everything in rem scales up */

body { line-height: 1.7; }

:root { --grey: #454968; }

.section-sub { font-size: 1.15rem; max-width: 620px; line-height: 1.7; }
.hero-sub { font-size: clamp(1.1rem, 2.3vw, 1.25rem); color: rgba(255, 255, 255, 0.95); }

.way-body p,
.activity-card p,
.artwork-caption p,
.tick-list li,
.event-meta,
.jy-age p { font-size: 1.02rem; line-height: 1.7; }

.jy-aims .jy-aim p { font-size: 1.05rem; }
.jy-lead p { font-size: 1.2rem; }
.jy-ruhi { font-size: 1.05rem; }
.jy-text p, .friendship-block p { font-size: 1.08rem; }
.quote { font-size: 1.15rem; line-height: 1.6; }
.glance { font-size: 1rem; }
.families-note, .upcoming-more { font-size: 1rem; }
.contact-note { font-size: 0.95rem; }
.footer p { font-size: 0.9rem; }

/* Key phrases: highlighter marker on light backgrounds … */
strong {
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(transparent 58%, rgba(255, 200, 61, 0.6) 58%, rgba(255, 200, 61, 0.6) 92%, transparent 92%);
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* … sunshine text on the court-blue and ink sections … */
.hero strong,
.purpose strong,
.contact strong,
.families-col.support strong,
.event-details-bar strong {
  color: var(--sun);
  background: none;
  padding: 0;
}

/* … and plain bold inside the coloured stickers, the tick-list lead-ins
   and anywhere a highlight would fight the background */
.jy-aims .jy-aim strong {
  color: inherit;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.tick-list strong,
.glance strong,
.testimonial-author strong,
.footer strong { background: none; padding: 0; }

.support .tick-list strong { color: var(--white); }


/* ── Mobile: nothing may push the page wider than the screen ──
   The glow behind the programme heading is 720px wide; iOS Safari
   ignores overflow-x on body alone, so clip at the root and the section. */
html, body { overflow-x: clip; }
.purpose { overflow: hidden; }
.jy-lead::before { width: min(720px, 100%); }


/* ════════════════════════════════════════════
   VOLUNTEERS — sunshine band under the hero
   ════════════════════════════════════════════ */

.volunteer {
  background: var(--sun);
  border-bottom: 3px solid var(--ink);
  padding: 4.5rem 0 4.75rem;
  margin-top: -2px;
}

.volunteer-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.volunteer .label { color: var(--ink); }
.volunteer .section-title { color: var(--ink); font-size: clamp(2.2rem, 5vw, 3.3rem); }

.volunteer-copy p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.75rem;
  max-width: 460px;
}

.volunteer strong {
  background: none;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--pink);
  text-decoration-skip-ink: none;
  text-underline-offset: 3px;
}

/* On yellow the sticker button flips to ink */
.volunteer .btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--pink);
}

.volunteer .btn-primary:hover { background: var(--ink); box-shadow: 6px 6px 0 var(--pink); }

/* These really are steps in order, so they're numbered */
.volunteer-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.volunteer-steps li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--sticker);
  padding: 1.2rem 1.4rem 1.25rem 4.4rem;
}

.volunteer-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--court);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  border: 2px solid var(--ink);
}

.volunteer-steps li:nth-child(2)::before { background: var(--pink); }
.volunteer-steps li:nth-child(3)::before { background: var(--grass); }

.volunteer-steps h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.volunteer-steps p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey);
}

.volunteer-steps a {
  color: var(--court);
  font-weight: 700;
}

/* Hero wave now sits on the yellow band */
.hero-wave path { fill: var(--sun); }

.page-note {
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
}

.page-note a { color: var(--sun); font-weight: 600; }

@media (max-width: 900px) {
  .volunteer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .volunteer { padding: 3.5rem 0; }
}

@media (max-width: 1140px) and (min-width: 1001px) {
  .site-nav { gap: 1.25rem; }
  .site-nav a { font-size: 0.85rem; }
}


/* ════════════════════════════════════════════
   COHERENCE PASS — volunteer banner, What's on
   ════════════════════════════════════════════ */

.volunteer-banner {
  background: var(--sun);
  border-bottom: 3px solid var(--ink);
  padding: 1.6rem 0 1.7rem;
  margin-top: -2px;
}

.volunteer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}

.volunteer-banner p {
  flex: 1 1 420px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
}

.volunteer-banner-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-right: 0.35rem;
}

.volunteer-banner strong {
  background: none;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--pink);
  text-decoration-skip-ink: none;
  text-underline-offset: 3px;
}

.volunteer-banner .btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--pink);
}

.volunteer-banner .btn-primary:hover { background: var(--ink); box-shadow: 6px 6px 0 var(--pink); }

.whats-on {
  padding: 5rem 0 4.5rem;
  background: var(--white);
}

.whats-on-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.whats-on .event-card { max-width: none; height: 100%; align-items: flex-start; }
.weekly-date { background: var(--court); }
.weekly-date .event-day { font-size: 1.7rem; }

/* the old stand-alone upcoming section is gone */
.whats-on .upcoming-more { margin-top: 1.75rem; }

.testimonials { padding-top: 5rem; }

@media (max-width: 900px) {
  .whats-on-grid { grid-template-columns: 1fr; }
  .whats-on { padding: 3.5rem 0; }
}

/* footer text is on ink: no highlighter, keep its colour */
.footer strong { color: inherit; font-weight: 600; }

/* the programme intro now ends its section — no trailing divider */
.jy-intro:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

/* Flat nav (dropdowns removed): current page gets the underline;
   the Volunteer button shows an ink ring when you're on that page */
.site-nav { gap: 2rem; }
.site-nav a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 5.5px var(--ink); }

/* open mobile menu: dark bar even over the solid sub-page header */
.site-header.nav-open,
.site-header.scrolled.nav-open { background: var(--ink-deep); }
.site-header.nav-open .wordmark { color: var(--white); }
.site-header.nav-open .nav-toggle span { background: var(--white); }

.site-header .site-nav a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 5.5px var(--ink); }

@media (max-width: 1000px) {
  .site-nav { gap: 0; }
}

/* ── Youth SA: conference page ───────────────────────────────────────── */
.conf-facts {
  margin: 2rem 0 2.5rem;
  background: none;
}
.conf-facts { grid-template-columns: repeat(4, 1fr); }
.conf-facts > div {
  background: var(--paper-alt);
  border: 2px solid var(--ink);
  box-shadow: var(--sticker);
}
@media (max-width: 860px) {
  .conf-facts { grid-template-columns: repeat(2, 1fr); }
}
.conf-facts .detail-label { color: var(--court); }
.section-sub a { color: var(--court); font-weight: 600; }

.register-head { text-align: center; }
.register-head .section-sub { margin-left: auto; margin-right: auto; }

.form-embed {
  max-width: 680px;
  margin: 2rem auto 0;
  background: var(--paper-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.form-embed iframe {
  display: block;
  width: 100%;
  height: 1300px;
  border: 0;
}
@media (max-width: 640px) {
  .form-embed { margin-left: -1rem; margin-right: -1rem; border-radius: 0; }
  .form-embed iframe { height: 1600px; }
}
.families-col.support p + p { margin-top: 0.9rem; }

/* ── Youth SA: featured conference card on the home page ── */
.whats-on .event-feature {
  grid-column: 1 / -1;
  align-items: center;
  gap: 3rem;
  padding: 3rem 3.5rem;
}
.event-feature .event-date { width: 150px; padding: 1.2rem 0 1.3rem; }
.event-feature .event-month,
.event-feature .event-weekday { font-size: 1rem; }
.event-feature .event-day { font-size: 3.6rem; line-height: 1.1; }
.event-feature .event-info h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1.1rem; }
.event-feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.6rem;
}
.event-feature .event-meta { font-size: 1.12rem; line-height: 1.8; }
@media (max-width: 760px) {
  .whats-on .event-feature { padding: 2rem 1.5rem; gap: 1.5rem; align-items: flex-start; }
  .event-feature .event-date { width: 110px; }
  .event-feature .event-day { font-size: 2.6rem; }
  .event-feature-cols { grid-template-columns: 1fr; gap: 0.8rem; }
}
.conf-facts .detail-address { color: var(--grey); font-size: 0.9rem; }
.conf-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 1.8rem 0 0.5rem;
}
.conf-cta span { color: var(--grey); font-size: 0.95rem; }
.conf-facts strong { background: none; padding: 0; font-size: 1.05rem; line-height: 1.35; }

/* ── Youth SA: sun logo ── */
.wordmark-sun {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: transform 0.6s ease;
}
.wordmark:hover .wordmark-sun { transform: rotate(40deg); }
.wordmark { gap: 0.5rem; }

/* ── Youth SA: keep hero text clear of the fixed header ── */
.hero-content { padding-top: 8rem; }
@media (max-width: 760px) { .hero-content { padding-top: 7rem; } }

/* ── Youth SA: countdown band ── */
.countdown-band {
  background: var(--sun);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 2.2rem 0 2.4rem;
  text-align: center;
}
.countdown-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.countdown-title {
  font-family: var(--font-hand);
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}
.countdown { display: flex; gap: 0.9rem; }
.countdown[hidden] { display: none; }
.countdown > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
  padding: 0.8rem 0.6rem 0.6rem;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--sticker);
}
.countdown span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.countdown small {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.countdown-note { color: var(--ink); font-size: 1.05rem; }
.countdown-note strong { background: none; padding: 0; }
@media (max-width: 520px) {
  .countdown { gap: 0.5rem; }
  .countdown > div { min-width: 68px; padding: 0.6rem 0.3rem 0.5rem; }
  .countdown span { font-size: 1.9rem; }
  .countdown small { font-size: 0.66rem; }
}

/* ── Youth SA: photos on the activity cards ── */
.activity-card.has-photo { padding-top: 0; overflow: hidden; }
.activity-photo {
  width: calc(100% + 3.2rem);
  max-width: none;
  margin: 0 -1.6rem 1.3rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 2.5px solid var(--ink);
}

/* ── Youth SA: gallery ── */
.gallery { padding: 5rem 0; background: var(--paper-alt); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 14px;
  margin-top: 2.2rem;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--sticker);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-cta { margin-top: 2.4rem; text-align: center; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* ── Youth SA: about photo + conference photo trio ── */
.about-photo {
  margin: 1.8rem 0 1.6rem;
  max-width: 760px;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--sticker-lg);
}
.about-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 1rem 0 0;
  padding-bottom: 1rem;
}
.photo-trio figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--sticker);
}
.photo-trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-trio figcaption { padding: 0.7rem 1rem 0.8rem; font-weight: 600; font-size: 0.95rem; }
@media (max-width: 760px) { .photo-trio { grid-template-columns: 1fr; } }
.section-sub a.btn-primary { color: var(--ink); }
@media (min-width: 761px) {
  .event-feature-cols { grid-template-columns: auto 1fr; gap: 2.5rem; }
  .event-feature-cols .event-meta:first-child { white-space: nowrap; }
}
/* the dusk marquee shot: show the crowd under the lights, not the roof */
.photo-strip img.crop-low { object-position: center 74%; }
