/* ==========================================================================
   The Clootie Club
   Palette and type taken from the club's flyers: cream paper, plum, teal,
   orange, magenta and purple, chunky poster headings and marker accents.
   ========================================================================== */

@font-face {
  font-family: "Bowlby One SC";
  src: url("/fonts/bowlby-one-sc.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("/fonts/permanent-marker.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cream: #fbf4e6;
  --paper: #fffdf8;
  --ink: #241b2c;
  --ink-soft: #4d4356;
  --plum: #5a1f4e;
  --plum-dark: #3f1437;
  --teal: #176874;
  --teal-dark: #0f4b54;
  --teal-light: #8fd0d6;
  --orange: #ec7a24;
  --orange-light: #f9c48f;
  --magenta: #c42a5e;
  --purple: #4e2d86;
  --yellow: #f6c731;

  --font-display: "Bowlby One SC", "Arial Black", Impact, sans-serif;
  --font-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 0.75rem;
  --shadow: 0 0.25rem 0 rgba(36, 27, 44, 0.9);

  /* Rough "torn paper / brush" edge used on bands and tags */
  --rough: polygon(0 6%, 4% 0, 18% 4%, 33% 0, 51% 5%, 67% 1%, 84% 5%, 100% 0, 99% 50%, 100% 94%, 85% 100%, 68% 95%, 50% 100%, 32% 96%, 15% 100%, 2% 95%, 0 52%);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-dark); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--magenta); }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--plum);
  margin: 0 0 0.6em;
  text-wrap: balance;
  /* Long words (e.g. SAFEGUARDING) must not push the page wider than a small screen */
  overflow-wrap: break-word;
  hyphens: auto;
}
h2 { font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1vw + 0.9rem, 1.4rem); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0.4rem;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.3rem;
  font-family: var(--font-body); font-weight: 900; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 3px solid var(--ink); border-radius: 0.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 0.375rem 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 0.125rem 0 var(--ink); }
.btn-small { min-height: 2.6rem; padding: 0.45rem 1rem; font-size: 0.95rem; }
.btn-teal { --btn-bg: var(--teal); }
.btn-plum { --btn-bg: var(--plum); }
.btn-magenta { --btn-bg: var(--magenta); }
.btn-orange { --btn-bg: var(--orange); --btn-fg: var(--ink); }
.btn-cream { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }

/* ---------- Notices ---------- */
.notices { background: var(--yellow); border-bottom: 3px solid var(--ink); }
.notice {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: 0.65rem 0;
  font-weight: 700; line-height: 1.4;
}
.notice-title {
  font-family: var(--font-marker); font-weight: 400; letter-spacing: 0.02em;
  background: var(--ink); color: var(--yellow);
  padding: 0.1rem 0.55rem; margin-right: 0.4rem; border-radius: 0.3rem;
  display: inline-block; transform: rotate(-1.5deg);
}

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 3px solid var(--ink); position: relative; z-index: 10; }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding-block: 0.75rem; }

.wordmark {
  display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 0.4rem;
  text-decoration: none; color: var(--plum); line-height: 0.9;
}
.wordmark:hover { color: var(--plum); }
.wordmark-the {
  grid-column: 1 / -1; font-family: var(--font-display); font-size: 0.85rem; color: var(--teal);
  letter-spacing: 0.08em;
}
.wordmark-clootie { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw + 0.6rem, 2.2rem); }
.wordmark-club {
  font-family: var(--font-display); font-size: clamp(1rem, 1.6vw + 0.5rem, 1.35rem);
  color: var(--paper); background: var(--teal); padding: 0.2rem 0.45rem 0.1rem;
  clip-path: var(--rough); transform: rotate(-3deg) translateY(-0.15rem);
}

.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.menu-toggle {
  align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.4rem 0.9rem;
  font: inherit; font-weight: 900; color: var(--ink);
  background: var(--paper); border: 3px solid var(--ink); border-radius: 0.6rem; cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 1.2rem; height: 3px; background: currentColor; border-radius: 2px; position: relative;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.site-nav { border-top: 2px dashed rgba(36, 27, 44, 0.25); }
.site-nav ul {
  list-style: none; padding: 0.4rem 0; margin-block: 0 !important;
  display: flex; flex-wrap: wrap; gap: 0.15rem 0.25rem;
}
.site-nav a {
  display: block; padding: 0.4rem 0.5rem; border-radius: 0.4rem;
  font-weight: 800; font-size: 0.9rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
@media (min-width: 90.01rem) {
  .site-nav ul { flex-wrap: nowrap; justify-content: space-between; }
}
.site-nav a:hover { background: var(--cream); color: var(--plum); }
.site-nav a[aria-current="page"] { background: var(--plum); color: #fff; }

/* With JavaScript and on smaller screens the nav becomes a drop-down menu */
@media (max-width: 90rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding-block: 0.5rem 1rem; }
  .site-nav a { padding: 0.7rem 0.75rem; font-size: 1.05rem; }
}
@media (min-width: 90.01rem) {
  .menu-toggle { display: none !important; }
}
@media (max-width: 34rem) {
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); position: relative; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* Body font, not the marker font: eyebrows can be a full sentence and
   decorative script is harder to read (especially for dyslexic readers). */
.eyebrow {
  font-family: var(--font-body); font-weight: 900; font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
  color: var(--teal); line-height: 1.4; margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--teal-light); }

.hero-title {
  font-size: clamp(2.1rem, 4.6vw + 0.8rem, 4rem);
  line-height: 1.04; color: var(--plum); margin-bottom: 1.25rem;
}
.highlight {
  color: var(--paper); background: var(--magenta);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0.02em 0.25em 0.08em; line-height: 1.35;
  clip-path: none; border-radius: 0.2em;
}
.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); color: var(--ink-soft); max-width: 38rem; }

.hero-collage { position: relative; min-height: 22rem; max-width: 30rem; margin-inline: auto; width: 100%; }
.polaroid {
  position: absolute; margin: 0; background: #fff; padding: 0.6rem 0.6rem 1.8rem;
  border: 2px solid var(--ink); box-shadow: 0.35rem 0.35rem 0 rgba(36, 27, 44, 0.85);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid::before {
  content: ""; position: absolute; top: -0.8rem; left: 50%; width: 5rem; height: 1.6rem;
  background: rgba(143, 208, 214, 0.75); transform: translateX(-50%) rotate(-4deg);
}
.p1 { width: 72%; top: 0; left: 4%; transform: rotate(-4deg); z-index: 2; }
.p2 { width: 52%; bottom: 0; left: 0; transform: rotate(5deg); z-index: 3; }
.p3 { width: 50%; bottom: 8%; right: 0; transform: rotate(-2deg); z-index: 1; }
.p2::before { background: rgba(249, 196, 143, 0.85); }
.p3::before { background: rgba(196, 42, 94, 0.45); }
.doodle { position: absolute; width: 2.5rem; height: 2.5rem; }
.s1 { color: var(--orange); top: -1rem; right: 6%; transform: rotate(12deg); }
.s2 { color: var(--magenta); bottom: -1.5rem; left: 46%; width: 2rem; height: 2rem; }
@media (max-width: 30rem) { .hero-collage { min-height: 17rem; } }

/* Clootie the mascot, standing in front of the photo collage */
.hero-collage .p3 { bottom: auto; top: 6%; right: 0; transform: rotate(4deg); }
.mascot {
  position: absolute; z-index: 5; right: -4%; bottom: -10%;
  width: 50%; height: auto;
  filter: drop-shadow(0.3rem 0.35rem 0 rgba(36, 27, 44, 0.35));
}
@media (max-width: 30rem) { .mascot { width: 46%; bottom: -8%; right: -2%; } }

/* ---------- Quick facts band ---------- */
.facts { background: var(--teal); color: #fff; clip-path: var(--rough); padding-block: 1.6rem; margin-block: -0.5rem 0; }
.facts-list {
  list-style: none; padding: 0; margin-block: 0 !important;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem 1.5rem;
}
.facts-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; line-height: 1.3; }
.icon {
  flex: none; width: 2.6rem; height: 2.6rem; padding: 0.45rem;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: var(--teal-dark); border-radius: 50%;
}

/* ---------- Sections and cards ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-title { text-align: center; margin-bottom: 1.6em; }
.two-col { display: grid; gap: 1.75rem; }
@media (min-width: 50rem) { .two-col { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

.card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0.4rem 0.4rem 0 var(--ink);
}
.card p:last-child { margin-bottom: 0; }
.card-tilt-left { transform: rotate(-0.6deg); }
.card-tilt-right { transform: rotate(0.6deg); }
.card-tilt-left h2 { color: var(--teal-dark); }
.card-tilt-right h2 { color: var(--magenta); }

/* ---------- Journey line ---------- */
.journey-section { background: var(--paper); border-block: 3px solid var(--ink); }
.journey {
  list-style: none; padding: 0; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.2rem;
  counter-reset: step;
}
.journey li {
  counter-increment: step; position: relative; text-align: center;
  font-family: var(--font-marker); font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.3rem);
  color: #fff; background: var(--c); padding: 0.55rem 0.6rem 0.5rem;
  border: 3px solid var(--ink); border-radius: 0.6rem; box-shadow: var(--shadow);
}
.journey li::before {
  content: counter(step) / ""; /* the <ol> already announces the step order */
  display: inline-grid; place-items: center;
  width: 1.6rem; height: 1.6rem; margin-right: 0.5rem; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-family: var(--font-body); font-weight: 900; font-size: 0.9rem;
  vertical-align: 0.15em;
}
.journey li:not(:last-child)::after {
  content: "\2192" / ""; position: absolute; right: -1.75rem; top: 50%; transform: translateY(-50%);
  color: var(--ink); font-family: var(--font-body); font-weight: 900; font-size: 1.4rem;
}
.journey li.c-orange { color: var(--ink); }
.journey-link { text-align: center; margin: 2rem 0 0; font-weight: 800; }
@media (max-width: 62rem) {
  .journey { grid-template-columns: 1fr; max-width: 18rem; gap: 1.6rem; }
  .journey li:not(:last-child)::after { content: "\2193" / ""; right: auto; left: 50%; top: auto; bottom: -1.75rem; transform: translateX(-50%); }
}

.c-purple { --c: var(--purple); }
.c-teal { --c: var(--teal); }
.c-orange { --c: var(--orange); }
.c-magenta { --c: var(--magenta); }

/* ---------- Mission ---------- */
.mission { background: var(--plum); color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; }
.mission-inner { max-width: 52rem; text-align: center; }
.mission blockquote { margin: 0; }
/* Long statement: mixed case body font rather than the all-caps display face */
.mission blockquote p {
  font-family: var(--font-body); font-weight: 800; font-size: clamp(1.35rem, 2vw + 0.9rem, 2.1rem); line-height: 1.35;
  margin-bottom: 1.5rem; text-wrap: balance;
}
.mission-tagline { font-family: var(--font-marker); color: var(--orange-light); font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.35rem); margin: 0; }

/* ---------- Paths ---------- */
.paths { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.path {
  position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem; border-top: 0.9rem solid var(--c);
  box-shadow: 0.35rem 0.35rem 0 var(--ink); transition: transform 0.12s ease;
}
.path:hover { transform: translateY(-3px); }
.path h3 { margin-bottom: 0.4rem; }
.path h3 a { color: var(--plum); text-decoration: none; }
.path h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.path h3 a:focus-visible { outline: none; }
.path:focus-within { outline: 3px solid var(--magenta); outline-offset: 3px; }
.path p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #ece6f0; padding-top: clamp(2.5rem, 5vw, 4rem); margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange-light); }
.site-footer .btn, .site-footer .btn:hover { color: var(--btn-fg); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; }
.footer-tagline { font-family: var(--font-marker); color: var(--orange-light); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.footer-nav li { margin-bottom: 0.35rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 2rem; padding-block: 1.1rem; font-size: 0.95rem; }
.footer-base p { margin: 0; }
.site-footer :focus-visible { outline-color: var(--yellow); } /* 10:1 on the dark footer */

/* ---------- Inner pages ---------- */
.page-header { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-header h1 { font-size: clamp(1.75rem, 3.6vw + 0.8rem, 3.3rem); max-width: 22ch; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; }
.draft-note {
  background: var(--paper); border: 3px dashed var(--orange); border-radius: var(--radius);
  padding: 1rem 1.25rem; font-weight: 700;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; max-width: 40rem; }
.field label, .field legend { display: block; font-weight: 900; margin-bottom: 0.35rem; }
.field .hint { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.4rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 3px solid var(--ink); border-radius: 0.5rem; padding: 0.7rem 0.8rem; min-height: 3rem;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--magenta); outline-offset: 2px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 700; }
.check input { width: 1.4rem; height: 1.4rem; margin-top: 0.2rem; accent-color: var(--plum); flex: none; }
.hp { display: none !important; }
.req { color: var(--magenta); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.form-note { margin: 0; font-weight: 700; }
.prose ul { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35rem; }

/* ==========================================================================
   Inner page components
   ========================================================================== */
.page-header .lead { max-width: 44rem; }
/* Long headings: mixed-case body font, as long runs of capitals are hard to read */
.page-header h1.long {
  font-family: var(--font-body); font-weight: 900; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 2.4vw + 0.9rem, 2.7rem); line-height: 1.2; max-width: 32ch;
}

.band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band-paper { background: var(--paper); border-block: 3px solid var(--ink); }
.band + .band-paper, .band-paper + .band { margin-top: 0; }
.band h2 { max-width: 30ch; }
.intro { max-width: 44rem; margin-bottom: 2rem; }
.intro p:last-child { margin-bottom: 0; }

/* Two columns of prose sections */
.columns { display: grid; gap: 2.5rem 3.5rem; }
@media (min-width: 52rem) { .columns { grid-template-columns: 1fr 1fr; } }
.columns > section > h2 { font-size: clamp(1.35rem, 1.6vw + 0.8rem, 1.8rem); }
.columns p:last-child { margin-bottom: 0; }

/* Cards with a coloured top edge (term + description pairs from the brief) */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.tile {
  background: var(--paper); border: 3px solid var(--ink); border-top: 0.75rem solid var(--c, var(--teal));
  border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: 0.3rem 0.3rem 0 var(--ink);
}
.band-paper .tile { background: var(--cream); }
.tile h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.tile p { margin: 0; color: var(--ink-soft); }
.tiles > :nth-child(4n+1) { --c: var(--teal); }
.tiles > :nth-child(4n+2) { --c: var(--orange); }
.tiles > :nth-child(4n+3) { --c: var(--purple); }
.tiles > :nth-child(4n+4) { --c: var(--magenta); }

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 1rem; max-width: 50rem; }
.steps > li {
  counter-increment: s; position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1rem;
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem;
}
.band-paper .steps > li { background: var(--cream); }
.steps > li::before {
  content: counter(s) / ""; grid-row: 1 / span 2;
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.4rem; color: #fff; background: var(--c, var(--teal)); border: 3px solid var(--ink);
}
.steps > li:nth-child(4n+1) { --c: var(--purple); }
.steps > li:nth-child(4n+2) { --c: var(--teal); }
.steps > li:nth-child(4n+3) { --c: var(--magenta); }
.steps > li:nth-child(4n+4) { --c: var(--plum); }
.steps h3 { margin: 0.35rem 0 0.25rem; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Key details box (who / when / where / cost) */
.details {
  margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.2rem;
  background: var(--teal); color: #fff; border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; box-shadow: 0.4rem 0.4rem 0 var(--ink); max-width: 34rem;
}
.details dt { font-weight: 900; }
.details dd { margin: 0; }
.details-title { font-family: var(--font-display); color: var(--plum); font-size: 1.4rem; margin-bottom: 0.8rem; }

/* Big statement / quote */
.callout {
  margin: 0; background: var(--plum); color: #fff; border-radius: var(--radius); border: 3px solid var(--ink);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0.4rem 0.4rem 0 var(--ink);
}
.callout p { font-weight: 800; font-size: clamp(1.2rem, 1.2vw + 0.9rem, 1.6rem); line-height: 1.35; margin: 0; }
.callout .callout-label { font-weight: 900; font-size: 1rem; color: var(--teal-light); margin-bottom: 0.6rem; }
.callout-orange { background: var(--orange); color: var(--ink); }
.callout-orange .callout-label { color: var(--plum-dark); }

/* Question checklist */
.questions { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.questions li {
  display: flex; gap: 0.7rem; align-items: center; font-weight: 800;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 0.6rem; padding: 0.8rem 1rem;
}
.questions li::before {
  content: "?" / ""; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--orange); color: var(--ink); font-weight: 900; border: 2px solid var(--ink);
}

/* Flow line (Problem -> Intervention -> ...) */
.flow { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.flow li {
  position: relative; font-weight: 900; background: var(--paper); border: 3px solid var(--ink);
  border-radius: 999px; padding: 0.45rem 1.1rem;
}
.flow li:not(:last-child)::after {
  content: "\2192" / ""; position: absolute; right: -1.55rem; top: 50%; transform: translateY(-50%); font-size: 1.2rem;
}
@media (max-width: 52rem) {
  .flow { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .flow li:not(:last-child)::after { content: "\2193" / ""; right: auto; left: 1.5rem; top: auto; bottom: -1.65rem; transform: none; }
}

/* Photo strip with real alt text */
.photos { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.photos figure { margin: 0; background: #fff; border: 2px solid var(--ink); padding: 0.5rem; box-shadow: 0.3rem 0.3rem 0 var(--ink); }
.photos li:nth-child(odd) figure { transform: rotate(-1deg); }
.photos li:nth-child(even) figure { transform: rotate(1deg); }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photos figcaption { font-size: 0.9rem; font-weight: 700; padding: 0.45rem 0.2rem 0.1rem; color: var(--ink-soft); }

/* Placeholder for information the charity still has to confirm */
.todo {
  background: #fff3c4; border: 3px dashed var(--magenta); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; font-weight: 700;
}
.todo::before { content: "To confirm before launch: "; color: var(--magenta); font-weight: 900; }

.cta-band { text-align: center; }
.cta-band .button-row { justify-content: center; }

/* Tiles whose heading is a link (e.g. the 404 page list) */
.tile h3:only-child { margin: 0; }
.tile h3 a { color: var(--plum); }
.tile h3 a:hover { color: var(--magenta); }

/* Netlify injects a "Powered by Netlify" badge on free-plan sites. The CSP in
   src/_headers stops it rendering; this hides its empty frame so it can never
   sit over (and block taps on) page content. */
#nl-badge-frame { display: none !important; }

/* ---------- 404 page: Clootie with a speech bubble ---------- */
.notfound { display: grid; gap: 0 2rem; align-items: center; }
@media (min-width: 52rem) { .notfound { grid-template-columns: 1fr 17rem; } }
.clootie-404 {
  margin: 0 auto 2rem; display: flex; flex-direction: column; align-items: center;
  width: min(17rem, 80%);
}
.clootie-404 img { width: 88%; height: auto; filter: drop-shadow(0.3rem 0.35rem 0 rgba(36, 27, 44, 0.35)); }
.bubble {
  position: relative; margin-bottom: 1.4rem; padding: 0.8rem 1rem;
  background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 1rem;
  box-shadow: 0.3rem 0.3rem 0 var(--ink);
  font-family: var(--font-marker); font-size: 1.15rem; line-height: 1.35; text-align: center;
  transform: rotate(-2deg);
}
/* the bubble's tail, pointing down at Clootie */
.bubble::after {
  content: "" / ""; position: absolute; left: 50%; bottom: -1.05rem; width: 1.6rem; height: 1.6rem;
  background: var(--paper); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}
@media (min-width: 52rem) { .clootie-404 { margin: 0; } }
