/* ==========================================================================
   Our Kids — Northern Rivers Children's Health Fund
   Redesign stylesheet · Wolf Tracks · v0.1 prototype
   --------------------------------------------------------------------------
   Visual language pulled from the existing brand:
   · Logo palette (sampled from logo-800w.png) → tokens below
   · Cartoon ink outline of the letter-kids → 2px ink borders + offset "sticker" shadows
   · The Lismore "Our Kids" mural → diagonal rainbow band + confetti crosses/dots
   · Circle-cropped portraits used across the old site → ringed portraits
   · Rounded display type (old site used Fredoka One / Baloo) → Fredoka
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Ink & paper */
  --ink: #1d1b2e;
  --ink-2: #3a374f;
  --muted: #5b586e;
  --paper: #fffaf3;
  --paper-2: #fff2e4;
  --card: #ffffff;
  --peach: #ffd9c4;
  --line: rgba(29, 27, 46, 0.14);

  /* Logo palette (sampled) — base + soft tints */
  --sun: #ffd400;        /* logo yellow  #fcd800 */
  --sun-soft: #fff3b0;
  --orange: #f7902f;     /* logo / heritage orange #f09030 */
  --flame: #ef5a24;      /* logo #f05418 */
  --berry: #cc1676;      /* logo magenta #e40084, deepened for AA with white */
  --berry-soft: #fde1ef;
  --grape: #7a4fa3;      /* logo purple #9060a8, deepened for AA */
  --grape-soft: #ede3f7;
  --ocean: #0060a8;      /* logo blue */
  --ocean-soft: #dcebf8;
  --sky: #00a8e4;        /* logo cyan */
  --sky-soft: #d4f0fb;
  --teal: #1b7f7f;       /* logo teal #249090, deepened for AA */
  --teal-soft: #d6efee;
  --leaf: #3aa655;

  /* The mural, as a gradient */
  --mural: linear-gradient(115deg, #7a4fa3 0%, #0060a8 14%, #00a8e4 26%, #3aa655 40%, #ffd400 54%, #f7902f 66%, #ef5a24 78%, #cc1676 90%, #7a4fa3 100%);

  /* Type */
  --font-display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.9rem);
  --step-5: clamp(2.6rem, 1.7rem + 4.2vw, 5rem);

  /* Shape & depth */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --bw: 2px;
  --shadow-sticker: 5px 5px 0 var(--ink);
  --shadow-sticker-lg: 8px 8px 0 var(--ink);
  --shadow-soft: 0 18px 40px -18px rgba(29, 27, 46, 0.35);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 112px);
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ocean); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--berry); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; }
small, .small { font-size: var(--step--1); }
.muted { color: var(--muted); }
hr { border: 0; height: var(--bw); background: var(--line); margin: 2rem 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 820px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink a { color: var(--sun); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: var(--gap, clamp(16px, 2.4vw, 28px)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--rev > :first-child { order: 2; } }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- 3. Signature motifs ---------- */
/* Eyebrow chip */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step--1);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35em 0.9em; border-radius: 999px;
  background: var(--card); border: var(--bw) solid var(--ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--berry); box-shadow: 0.85em 0 0 var(--sun), 1.7em 0 0 var(--sky); margin-right: 1.7em; }
.section--ink .eyebrow { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }

/* Crayon highlight under words */
.hl { background: linear-gradient(transparent 58%, var(--hl, var(--sun)) 58%, var(--hl, var(--sun)) 92%, transparent 92%); padding: 0 0.08em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl--sky { --hl: var(--sky-soft); }
.hl--berry { --hl: var(--berry-soft); }

/* Multi-colour word — each letter a different kid, like the logo */
.rainbow-word > span:nth-child(7n+1) { color: var(--berry); }
.rainbow-word > span:nth-child(7n+2) { color: var(--orange); }
.rainbow-word > span:nth-child(7n+3) { color: #d9a400; }
.rainbow-word > span:nth-child(7n+4) { color: var(--leaf); }
.rainbow-word > span:nth-child(7n+5) { color: var(--sky); }
.rainbow-word > span:nth-child(7n+6) { color: var(--ocean); }
.rainbow-word > span:nth-child(7n+7) { color: var(--grape); }
.rainbow-word > span { display: inline-block; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.rainbow-word:hover > span:nth-child(odd) { transform: translateY(-4px) rotate(-4deg); }
.rainbow-word:hover > span:nth-child(even) { transform: translateY(2px) rotate(3deg); }

/* The mural band */
.mural-band { height: 14px; background: var(--mural); background-size: 200% 100%; }
.mural-band--thick { height: 22px; }
.mural-band--animated { animation: mural-slide 18s linear infinite; }
@keyframes mural-slide { to { background-position: 200% 0; } }

/* Confetti pattern — crosses and dots borrowed from the mural */
.confetti { position: relative; isolation: isolate; }
.confetti::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--confetti-o, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M20 24l12 12M32 24L20 36' stroke='%23ffd400'/%3E%3Cpath d='M150 40l10 10M160 40l-10 10' stroke='%2300a8e4'/%3E%3Cpath d='M96 150l12 12M108 150l-12 12' stroke='%23cc1676' opacity='.6'/%3E%3Cpath d='M190 170l10 10M200 170l-10 10' stroke='%233aa655'/%3E%3Ccircle cx='80' cy='70' r='6' stroke='%23f7902f'/%3E%3Ccircle cx='40' cy='170' r='5' stroke='%237a4fa3'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='120' cy='100' r='4' fill='%23ef5a24'/%3E%3Ccircle cx='180' cy='110' r='3' fill='%230060a8'/%3E%3Ccircle cx='60' cy='120' r='3' fill='%23ffd400'/%3E%3Ccircle cx='150' cy='200' r='4' fill='%2300a8e4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 300px;
}
.section--ink.confetti { --confetti-o: 0.18; }

/* Sticker cards — the cartoon ink outline */
.sticker {
  background: var(--card); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--shadow-sticker);
  padding: clamp(20px, 2.6vw, 32px);
  position: relative;
}
.sticker--lift { transition: transform .2s ease, box-shadow .2s ease; }
.sticker--lift:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.sticker--sun { background: var(--sun); }
.sticker--sun-soft { background: var(--sun-soft); }
.sticker--sky { background: var(--sky-soft); }
.sticker--ocean { background: var(--ocean); color: #fff; }
.sticker--grape { background: var(--grape-soft); }
.sticker--berry { background: var(--berry-soft); }
.sticker--teal { background: var(--teal-soft); }
.sticker--peach { background: var(--peach); }
.sticker--ink { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--sun); }
.sticker--flat { box-shadow: none; }
.tilt-l { rotate: -1.6deg; }
.tilt-r { rotate: 1.4deg; }

/* Ringed portraits (the old site's circle crops, upgraded) */
.portrait { position: relative; aspect-ratio: 1; border-radius: 50%; border: var(--bw) solid var(--ink); box-shadow: 0 0 0 7px var(--ring, var(--sun)), 0 0 0 9px var(--ink); overflow: hidden; background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. Buttons ---------- */
.btn {
  --b: var(--card); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; line-height: 1.1;
  padding: 0.85em 1.35em; min-height: 48px;
  border-radius: 999px; border: var(--bw) solid var(--ink);
  background: var(--b); color: var(--c); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--c); transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn .ic { width: 1.15em; height: 1.15em; flex: none; }
.btn--ocean { --b: var(--ocean); --c: #fff; }
.btn--berry { --b: var(--berry); --c: #fff; }
.btn--sun { --b: var(--sun); }
.btn--grape { --b: var(--grape); --c: #fff; }
.btn--teal { --b: var(--teal); --c: #fff; }
.btn--ink { --b: var(--ink); --c: #fff; box-shadow: 0 4px 0 var(--sun); }
.btn--ink:hover { box-shadow: 0 6px 0 var(--sun); }
.btn--lg { font-size: 1.18rem; padding: 1em 1.6em; min-height: 56px; }
.btn--sm { font-size: 0.95rem; padding: 0.6em 1em; min-height: 40px; box-shadow: 0 3px 0 var(--ink); }
.btn--block { width: 100%; }
.btn--wrap { white-space: normal; text-align: left; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: var(--bw) solid var(--sun); padding-bottom: 2px; }
.link-arrow .ic { width: 1.05em; height: 1.05em; transition: transform .2s; }
.link-arrow:hover { color: var(--berry); }
.link-arrow:hover .ic { transform: translateX(4px); }
.section--ink .link-arrow { color: #fff; }

/* Pills / chips */
.pill { display: inline-flex; align-items: center; gap: .4em; font-size: .82rem; font-weight: 700; letter-spacing: .02em; padding: .3em .75em; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); line-height: 1.2; }
.pill--open { background: #d7f5dd; }
.pill--open::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: #1e8a3b; box-shadow: 0 0 0 3px rgba(30,138,59,.2); }
.pill--soon { background: var(--sun-soft); }
.pill--closed { background: #eee; color: var(--muted); }
.pill--sun { background: var(--sun); }
.pill--sky { background: var(--sky-soft); }
.pill--grape { background: var(--grape-soft); }
.pill--berry { background: var(--berry-soft); }
.pill--teal { background: var(--teal-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 600 0.98rem/1 var(--font-display); padding: 0.7em 1.1em; min-height: 44px; border-radius: 999px; border: var(--bw) solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; transition: background .15s, transform .15s; }
.chip:hover { background: var(--sun-soft); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 3px 0 var(--sun); }

/* Icons */
.ic { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }
.icon-blob { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; border: var(--bw) solid var(--ink); background: var(--blob, var(--sun)); box-shadow: 3px 3px 0 var(--ink); flex: none; }
.icon-blob .ic { width: 28px; height: 28px; }

/* ---------- 5. Header ---------- */
.utility { background: var(--ink); color: #fff; font-size: .88rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.utility a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.utility a:hover { color: var(--sun); }
.utility__links { display: flex; gap: 20px; align-items: center; }
.utility__tag { opacity: .85; }
@media (max-width: 760px) { .utility__tag, .utility__email { display: none; } .utility .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: var(--bw) solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 42px; width: auto; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(-2deg) scale(1.03); }
@media (min-width: 1100px) { .brand img { height: 48px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .3em;
  font: 600 1.02rem/1 var(--font-display); color: var(--ink); text-decoration: none;
  padding: 0.75em 0.85em; border-radius: 999px; background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__toggle { background: var(--sun-soft); color: var(--ink); }
.nav__link[aria-current="page"], .nav__toggle.is-current { background: var(--ink); color: #fff; }
.nav__link--priority { position: relative; }
.nav__link--priority .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--berry); display: inline-block; }
.nav__toggle .ic { width: 1em; height: 1em; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 270px;
  list-style: none; margin: 0; padding: 10px;
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-sticker);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.nav__menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
@media (hover: hover) { .nav__item:hover > .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; } }
.nav__menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.nav__menu a:hover { background: var(--paper-2); color: var(--ink); }
.nav__menu strong { display: block; font-family: var(--font-display); font-weight: 600; }
.nav__menu span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.nav__menu .ic { margin-top: 2px; color: var(--berry); }
.nav__cta { margin-left: 10px; }
.icon-btn.menu-btn { display: none; margin-left: auto; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .icon-btn.menu-btn { display: inline-grid; }
  .header-donate { margin-left: auto; }
  .header-donate + .menu-btn { margin-left: 8px; }
}
@media (min-width: 1181px) { .header-donate { display: none; } }
.nav__link, .nav__toggle { white-space: nowrap; }
@media (max-width: 420px) { .header-donate { display: none; } .brand img { height: 34px; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(29,27,46,.45); animation: fade .2s ease; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(100%, 440px); background: var(--paper); border-left: var(--bw) solid var(--ink); display: flex; flex-direction: column; overflow-y: auto; animation: slide-in .28s cubic-bezier(.2,.9,.3,1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: var(--bw) solid var(--ink); }
.drawer__head img { height: 34px; width: auto; }
.drawer__body { padding: 18px; display: grid; gap: 14px; }
.drawer__big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drawer__big a { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; color: var(--ink); font: 600 1.1rem/1.15 var(--font-display); }
.drawer__big a:nth-child(1) { background: var(--sun); }
.drawer__big a:nth-child(2) { background: var(--sky-soft); }
.drawer__list { list-style: none; margin: 0; padding: 0; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); overflow: hidden; }
.drawer__list li + li { border-top: 1.5px solid var(--line); }
.drawer__list a { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; font: 600 1.08rem/1.2 var(--font-display); text-decoration: none; color: var(--ink); }
.drawer__list a:hover { background: var(--paper-2); }
.drawer__label { font: 600 .8rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 4px -4px; }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.icon-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.icon-btn:hover { background: var(--sun-soft); }

/* Mobile action dock — the two priority tasks always one thumb away */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-radius: 22px; padding: 6px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 16px; color: #fff; text-decoration: none; font: 600 .78rem/1 var(--font-display); }
  .dock a .ic { width: 22px; height: 22px; }
  .dock a.is-hot { background: var(--sun); color: var(--ink); }
  .dock a.is-donate { color: #ffb3d6; }
  body { padding-bottom: 88px; }
}

/* ---------- 6. Page hero (interior) ---------- */
.page-hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 64px); overflow: hidden; }
.page-hero h1 { font-size: var(--step-4); max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.15fr .85fr; } }
.page-hero--sun { background: var(--sun-soft); }
.page-hero--sky { background: var(--sky-soft); }
.page-hero--grape { background: var(--grape-soft); }
.page-hero--berry { background: var(--berry-soft); }
.page-hero--teal { background: var(--teal-soft); }
.page-hero--peach { background: var(--paper-2); }
.page-hero + .mural-band { margin-top: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .92rem; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--muted); }

/* Photo with sticker frame */
.photo { border: var(--bw) solid var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sticker-lg); background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tilt { rotate: 2deg; }

/* ---------- 7. Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 90px) clamp(70px, 9vw, 130px); }
.hero__grid { display: grid; gap: clamp(32px, 4vw, 60px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.2rem); line-height: 1; margin-bottom: .35em; }
.hero h1 .swash { position: relative; white-space: nowrap; color: var(--ocean); }
.hero h1 .swash svg { position: absolute; left: -2%; right: -2%; width: 104%; bottom: -0.16em; height: 0.34em; overflow: visible; }
.hero h1 .swash path { stroke: var(--sun); stroke-width: 9; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s .5s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { max-width: 52ch; }
.hero__aside { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.hero__aside span { display: inline-flex; align-items: center; gap: .4em; }
.hero__aside .ic { color: var(--leaf); }

/* collage */
.collage { position: relative; aspect-ratio: 1 / 0.98; max-width: 560px; margin-inline: auto; width: 100%; }
.collage__blob { position: absolute; inset: 6% 2% 4% 6%; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; background: var(--mural); background-size: 160% 160%; border: var(--bw) solid var(--ink); animation: blob 16s ease-in-out infinite alternate; }
.collage__blob::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(115deg, rgba(255,255,255,.18) 0 6px, transparent 6px 26px); }
@keyframes blob { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; background-position: 100% 50%; } }
.collage__pic { position: absolute; border: var(--bw) solid var(--ink); background: #fff; padding: 8px; border-radius: 26px; box-shadow: var(--shadow-sticker-lg); }
.collage__pic img { border-radius: 18px; width: 100%; height: 100%; object-fit: cover; }
.collage__pic--a { width: 54%; aspect-ratio: 4/5; left: 2%; top: 4%; rotate: -5deg; }
.collage__pic--b { width: 46%; aspect-ratio: 1; right: 0; top: 18%; rotate: 4deg; }
.collage__pic--c { width: 42%; aspect-ratio: 5/4; left: 28%; bottom: 0; rotate: -2deg; }
.collage__pic { animation: bob 7s ease-in-out infinite; }
.collage__pic--b { animation-delay: -2.4s; }
.collage__pic--c { animation-delay: -4.6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.badge-spin { position: absolute; width: 132px; height: 132px; right: 4%; bottom: 8%; z-index: 3; }
.badge-spin__ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-spin__ring text { font: 600 15px var(--font-display); letter-spacing: 4px; fill: var(--ink); }
.badge-spin__ring circle { fill: var(--ink); }
.badge-spin__core { position: absolute; inset: 27%; border-radius: 50%; background: var(--berry); border: var(--bw) solid var(--ink); display: grid; place-items: center; color: #fff; }
.badge-spin__core .ic { width: 30px; height: 30px; fill: #fff; stroke: none; }
.badge-spin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sun); border: var(--bw) solid var(--ink); box-shadow: var(--shadow-sticker); z-index: -1; }
@keyframes spin { to { rotate: 360deg; } }
.float-note { position: absolute; z-index: 3; left: -2%; bottom: 14%; background: #fff; border: var(--bw) solid var(--ink); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow-sticker); font: 600 .95rem/1.2 var(--font-display); display: flex; gap: 10px; align-items: center; rotate: -3deg; }
.float-note b { display: block; font-size: 1.5rem; color: var(--ocean); }
@media (max-width: 520px) { .badge-spin { width: 100px; height: 100px; } .float-note { font-size: .82rem; } .float-note b { font-size: 1.2rem; } }

/* Priority doors (home) */
.doors { position: relative; z-index: 2; margin-top: calc(var(--section) * -0.6);margin-bottom:2rem; }
.doors__main { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 880px) { .doors__main { grid-template-columns: 1fr 1fr; } }
.door { display: grid; gap: 18px; align-content: start; overflow: hidden; }
.door h2 { font-size: var(--step-3); margin: 0; }
.door p { margin: 0; }
.door__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.door__art { position: absolute; right: -24px; bottom: -24px; width: 190px; opacity: .95; pointer-events: none; }
.door .btn-row { position: relative; z-index: 1; }
.doors__minor { display: grid; gap: 14px; margin-top: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.mini-door { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; box-shadow: 3px 3px 0 var(--ink); }
.mini-door:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.mini-door strong { display: block; font: 600 1.1rem/1.15 var(--font-display); }
.mini-door span { font-size: .9rem; color: var(--muted); }
.mini-door .icon-blob { width: 48px; height: 48px; border-radius: 14px; }
.mini-door .chev { margin-left: auto; }

/* ---------- 8. Stats ---------- */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.stat { padding: 22px; border-radius: var(--r); border: 2px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.stat__num { font: 600 clamp(2.6rem, 2rem + 2.4vw, 3.8rem)/1 var(--font-display); letter-spacing: -.02em; display: block; margin-bottom: 10px; }
.stat:nth-child(1) .stat__num { color: var(--sun); }
.stat:nth-child(2) .stat__num { color: #6fd3ff; }
.stat:nth-child(3) .stat__num { color: #ff9ccd; }
.stat:nth-child(4) .stat__num { color: #9ce6a7; }
.stat p { margin: 0; color: rgba(255,255,255,.86); }

/* ---------- 9. Cards & lists ---------- */
.card-title { font-size: var(--step-2); margin-bottom: .35em; }
.kid-card { text-align: center; }
.kid-card .portrait { width: min(220px, 70%); margin: 10px auto 26px; }
.kid-card h3 { margin-bottom: .3em; }
.kid-card p { color: var(--ink-2); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks--cross li::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc1676' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/14px no-repeat; }

.wish { display: flex; flex-direction: column; gap: 10px; }
.wish__price { font: 600 1.9rem/1 var(--font-display); color: var(--ocean); }
.wish__where { font-size: .9rem; color: var(--muted); display: flex; gap: .4em; align-items: center; }
.wish h3 { font-size: 1.22rem; margin: 0; }
.wish__by { margin: auto 0 0; padding-top: 12px; border-top: 1.5px dashed var(--line); display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.wish__by .ic { flex: none; color: var(--berry); margin-top: 2px; }
.wish__by b { display: block; font: 600 .74rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Event cards */
.event { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.date-block { width: 82px; text-align: center; border: var(--bw) solid var(--ink); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 3px 3px 0 var(--ink); flex: none; }
.date-block__m { display: block; background: var(--berry); color: #fff; font: 600 .82rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; padding: 7px 0; }
.date-block__d { display: block; font: 600 2.1rem/1 var(--font-display); padding: 8px 0 2px; }
.date-block__y { display: block; font-size: .78rem; color: var(--muted); padding-bottom: 7px; }
.event h3 { font-size: 1.3rem; margin: 2px 0 6px; }
.event h3 a { color: var(--ink); text-decoration: none; }
.event h3 a:hover { color: var(--berry); }
.event p { margin: 0 0 8px; color: var(--ink-2); }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.events-list { display: grid; gap: 18px; }

/* Accordion */
.accordion { display: grid; gap: 12px; }
.accordion details { border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); overflow: hidden; }
.accordion details[open] { box-shadow: var(--shadow-sticker); }
.accordion summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 18px 20px; font: 600 1.12rem/1.25 var(--font-display); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sun-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b2e' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.accordion summary:hover { background: var(--paper-2); }
.accordion__body { padding: 0 20px 20px; }
.accordion__body > :last-child { margin-bottom: 0; }

/* Steps / timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 26px 62px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 600 1.15rem var(--font-display); background: var(--step-c, var(--sun)); border: var(--bw) solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.steps li::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 2px; width: 2px; background: repeating-linear-gradient(var(--ink) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps li:nth-child(2) { --step-c: var(--sky-soft); }
.steps li:nth-child(3) { --step-c: var(--berry-soft); }
.steps li:nth-child(4) { --step-c: #d7f5dd; }
.steps h4 { margin: 4px 0 4px; font-size: 1.12rem; }
.steps p { margin: 0; color: var(--ink-2); }

/* Callout */
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); border: var(--bw) solid var(--ink); background: var(--sky-soft); }
.callout--sun { background: var(--sun-soft); }
.callout--berry { background: var(--berry-soft); }
.callout .ic { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.callout p:last-child { margin-bottom: 0; }

/* Logo wall */
.logo-wall { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logo-wall--lg { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.logo-tile { aspect-ratio: 3/2; display: grid; place-items: center; padding: 16px; border-radius: var(--r-sm); background: #fff; border: 1.5px solid var(--line); transition: border-color .2s, transform .2s; }
.logo-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.logo-tile { position: relative; overflow: hidden; }
.logo-tile img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); max-width: none; object-fit: contain; object-position: center; }
.logo-tile--text { font: 600 1.05rem/1.2 var(--font-display); text-align: center; color: var(--ink-2); background: var(--paper-2); }
a.logo-tile { text-decoration: none; color: var(--ink-2); }
a.logo-tile:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
/* Our Kids Stars: logo + thank-you text (partners.php) */
.stars { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.star-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; background: #fff; }
.star-card > .logo-tile { width: 112px; aspect-ratio: 3/2; padding: 0; }
.star-card > .logo-tile img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.star-card > .logo-tile:hover { transform: none; border-color: var(--line); }
.star-card__body { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.star-card__body h3 { font-size: 1.25rem; margin: 0; }
.star-card__content { margin: 0; }
.star-card__content > :first-child { margin-top: 0; }
.star-card__content > :last-child { margin-bottom: 0; }
.star-card .link-arrow { margin-top: auto; align-self: flex-start; }
.marquee { overflow: hidden; padding-block: 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .logo-tile { width: 190px; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* Table */
.table-wrap { overflow-x: auto; border: var(--bw) solid var(--ink); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sticker); }
table.tiers { border-collapse: collapse; width: 100%; min-width: 620px; }
.tiers th, .tiers td { text-align: left; padding: 14px 18px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.tiers thead th { font: 600 .9rem var(--font-display); text-transform: uppercase; letter-spacing: .06em; background: var(--paper-2); }
.tiers tbody th { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.tiers tr:last-child td, .tiers tr:last-child th { border-bottom: 0; }

/* Quote box */
.copybox { position: relative; border: var(--bw) dashed var(--ink); border-radius: var(--r); background: #fff; padding: 22px 22px 18px; font-family: Georgia, "Times New Roman", serif; font-size: 1.04rem; line-height: 1.65; }
.copybox .btn { position: absolute; top: -18px; right: 16px; font-family: var(--font-display); }

/* Video */
.video { aspect-ratio: 16/9; border-radius: var(--r); border: var(--bw) solid var(--ink); overflow: hidden; box-shadow: var(--shadow-sticker); background: var(--ink); position: relative; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video__facade { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: var(--ink) center/cover no-repeat; color: #fff; font: 600 1.1rem var(--font-display); }
.video__facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,27,46,.1), rgba(29,27,46,.7)); }
.video__facade span { position: relative; display: grid; justify-items: center; gap: 10px; }
.video__facade .play { width: 76px; height: 76px; border-radius: 50%; background: var(--sun); border: var(--bw) solid var(--ink); display: grid; place-items: center; box-shadow: 0 4px 0 var(--ink); transition: transform .2s; }
.video__facade:hover .play { transform: scale(1.08); }
.video__facade .play .ic { width: 32px; height: 32px; fill: var(--ink); stroke: none; margin-left: 4px; }

/* People */
.people { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.person { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fff; }
.person__av { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 1rem var(--font-display); background: var(--av, var(--sun)); }
.person:nth-child(5n+2) .person__av { --av: var(--sky-soft); }
.person:nth-child(5n+3) .person__av { --av: var(--berry-soft); }
.person:nth-child(5n+4) .person__av { --av: var(--grape-soft); }
.person:nth-child(5n+5) .person__av { --av: var(--teal-soft); }
.person strong { display: block; font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.person span { font-size: .86rem; color: var(--muted); }

/* Map */
.region-map { width: 100%; height: auto; }
.region-map { overflow: visible; }
/* Colours are set as attributes in the SVG itself (so the map still draws if this file is stale); CSS only sets type. */
.region-map .map-state { font: 600 11px var(--font-display); letter-spacing: 3px; }
.region-map .map-sea-label { font: 600 13px var(--font-display); letter-spacing: 4px; }
.region-map .map-note { font: 500 11px var(--font-body); }
.region-map .town text { font: 500 12.5px var(--font-body); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.region-map .pin text { font: 600 15px var(--font-display); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
/* Zone legend beside the map */
.zone-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.zone-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.zone-list__swatch { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--ink); background: var(--z); box-shadow: 0 0 0 5px var(--zs, rgba(0,0,0,.08)); }
.zone-list strong { display: block; }
.zone-list span.muted { font-size: .95rem; }
.region-map .pulse { animation: pulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }

/* ---------- 10. Calendars ---------- */
/* Wall calendar mock in hero */
.wallcal { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.wallcal__page { position: relative; background: #fff; border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow-sticker-lg); padding: 30px 14px 14px; }
.wallcal__page--back { position: absolute; inset: 0; rotate: 5deg; translate: 14px 6px; background: var(--sky-soft); box-shadow: none; }
.wallcal__page--back2 { position: absolute; inset: 0; rotate: -4deg; translate: -12px 10px; background: var(--berry-soft); box-shadow: none; }
.rings { position: absolute; top: -13px; left: 10%; right: 10%; display: flex; justify-content: space-between; pointer-events: none; }
.rings i { width: 12px; height: 26px; border-radius: 8px; border: var(--bw) solid var(--ink); background: linear-gradient(90deg, #d9d6e3, #fff 45%, #b9b5c8); }
.wallcal__photo { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--ink); }
.wallcal__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.wallcal__head { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 4px 6px; }
.wallcal__head b { font: 600 1.5rem var(--font-display); color: var(--berry); }
.wallcal__head span { font: 600 1rem var(--font-display); color: var(--muted); }
.wallcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: .78rem; text-align: center; }
.wallcal__grid b { font: 600 .7rem var(--font-display); color: var(--muted); padding-bottom: 2px; }
.wallcal__grid span { padding: 4px 0; border-radius: 6px; }
.wallcal__grid span.sun { color: var(--berry); font-weight: 700; }
.wallcal__grid span.today { background: var(--sun); outline: 1.5px solid var(--ink); }
.price-tag { position: absolute; z-index: 2; right: -10px; top: 38%; width: 104px; height: 104px; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--sun); border: var(--bw) solid var(--ink); box-shadow: var(--shadow-sticker); rotate: 10deg; font: 600 1rem/1 var(--font-display); }
.price-tag b { display: block; font-size: 2.1rem; }

/* Ways to get one */
.ways { counter-reset: way; }
.way { display: flex; flex-direction: column; gap: 12px; }
.way h3 { font-size: 1.4rem; margin: 0; }
.way p { margin: 0; flex: 1; }

/* Stockists */
.stockists { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.stockist { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fff; transition: opacity .25s, transform .25s; }
.stockist[hidden] { display: none; }
.stockist .ic { color: var(--berry); margin-top: 3px; }
.stockist strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.stockist span { font-size: .88rem; color: var(--muted); }
.stockist a { font-size: .88rem; font-weight: 600; }

/* Year tabs */
.year-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.year-tabs .chip { scroll-snap-align: start; flex: none; }
.archive-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.archive-head h3 { margin: 0; font-size: var(--step-3); }

/* Month cards */
.months { display: grid; gap: clamp(16px, 2vw, 26px) clamp(14px, 1.8vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(46%, 210px), 1fr)); padding-top: 14px; }
.month { position: relative; text-align: left; background: #fff; border: var(--bw) solid var(--ink); border-radius: 18px; padding: 18px 9px 10px; cursor: pointer; font: inherit; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .2s cubic-bezier(.3,1.5,.5,1), box-shadow .2s; animation: pop-in .45s both cubic-bezier(.3,1.4,.5,1); animation-delay: calc(var(--i, 0) * 35ms); }
.month:hover, .month:focus-visible { transform: translateY(-4px) rotate(var(--rot, -1deg)); box-shadow: 6px 7px 0 var(--ink); }
.month:nth-child(even) { --rot: 1deg; }
.month > .rings { display: flex; top: -10px; left: 16%; right: 16%; }
.month .rings i { width: 9px; height: 20px; }
.month > span { display: block; }
.month__img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--ink); background: var(--paper-2); }
.month__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform .5s; }
.month:hover .month__img img { transform: scale(1.05); }
.month > .month__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 4px 0; }
.month__m { font: 600 .78rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--berry); }
.month__name { font: 600 1.08rem/1.15 var(--font-display); }
.month:nth-child(6n+2) .month__m { color: var(--ocean); }
.month:nth-child(6n+3) .month__m { color: var(--teal); }
.month:nth-child(6n+4) .month__m { color: var(--grape); }
.month:nth-child(6n+5) .month__m { color: #a14e00; }
.month:nth-child(6n+6) .month__m { color: #b8380a; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 980px); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(29,27,46,.82); backdrop-filter: blur(4px); }
.lightbox__inner { background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--sun); overflow: hidden; display: grid; }
@media (min-width: 760px) { .lightbox__inner { grid-template-columns: 1.5fr 1fr; } }
.lightbox__img { background: var(--ink); display: grid; place-items: center; max-height: 78vh; }
.lightbox__img img { max-height: 78vh; width: 100%; object-fit: contain; }
.lightbox__info { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.lightbox__info h2 { font-size: var(--step-3); margin: 0; }
.lightbox__desc > :first-child { margin-top: 0; }
.lightbox__desc > :last-child { margin-bottom: 0; }
.lightbox__desc { max-height: 32vh; overflow-y: auto; }
@media (min-width: 760px) { .lightbox--portrait { max-width: min(96vw, 820px); } .lightbox--portrait .lightbox__inner { grid-template-columns: 1fr 1fr; } }
.month--portrait .month__img img { object-position: center 22%; }
.year-tabs a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.year-tabs a.chip[aria-current] { background: var(--ink); color: #fff; box-shadow: 0 3px 0 var(--sun); }
.lightbox__nav { display: flex; gap: 10px; margin-top: auto; }
.lightbox__close { position: absolute; top: -18px; right: -12px; z-index: 2; }

/* ---------- 11. Apply / funds ---------- */
.chooser { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.choice { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-align: left; padding: 22px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: #fff; cursor: pointer; font: inherit; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.choice:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.choice strong { font: 600 1.25rem/1.15 var(--font-display); }
.choice span { color: var(--muted); font-size: .95rem; }
.choice[aria-pressed="true"] { background: var(--sun); box-shadow: 6px 6px 0 var(--ink); }
.choice[aria-pressed="true"] span { color: var(--ink-2); }

.funds { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.fund { display: flex; flex-direction: column; gap: 14px; transition: opacity .3s, transform .3s, filter .3s; }
.fund__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.fund h3 { font-size: 1.5rem; margin: 0; }
.fund p { margin: 0; color: var(--ink-2); }
.fund__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 0; }
.fund__facts div { padding: 10px 12px; border-radius: 12px; background: var(--paper-2); }
.fund__facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.fund__facts dd { margin: 2px 0 0; font: 600 1.05rem/1.2 var(--font-display); }
.fund .btn { margin-top: auto; align-self: flex-start; }
.funds.is-filtered .fund:not(.is-match) { opacity: .38; filter: saturate(.3); transform: scale(.98); }
.funds.is-filtered .fund.is-match { box-shadow: 8px 8px 0 var(--ink); }
.fund--community { --accent: var(--sun); }
.fund { overflow: hidden; padding-top: calc(clamp(20px, 2.6vw, 32px) + 12px) !important; }
.fund__stripe { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--accent, var(--sun)); border-bottom: var(--bw) solid var(--ink); }

/* Fund detail layout */
.fund-layout { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .fund-layout { grid-template-columns: minmax(0, 1fr) 340px; } .fund-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.fund-aside dl { margin: 0; display: grid; gap: 14px; }
.fund-aside dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.fund-aside dd { margin: 2px 0 0; font: 600 1.15rem/1.25 var(--font-display); }
.fund-aside .btn { width: 100%; }
.status-bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 14px 18px; border: var(--bw) solid var(--ink); border-radius: var(--r); background: #fff; box-shadow: 3px 3px 0 var(--ink); margin-top: 22px; }
.seg { display: inline-flex; padding: 5px; border: var(--bw) solid var(--ink); border-radius: 999px; background: #fff; gap: 4px; margin-bottom: 18px; }
.seg a { font: 600 1rem/1 var(--font-display); padding: .7em 1.1em; border-radius: 999px; text-decoration: none; color: var(--ink); }
.seg a[aria-current="page"] { background: var(--ink); color: #fff; }
.seg a:not([aria-current]):hover { background: var(--sun-soft); }

/* Checklist */
.checklist { display: grid; gap: 10px; }
.checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fff; cursor: pointer; transition: background .2s; }
.checklist label:hover { background: var(--paper-2); }
.checklist input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: 0; border: var(--bw) solid var(--ink); border-radius: 8px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.checklist input::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); rotate: -45deg; translate: 0 -2px; opacity: 0; transition: opacity .15s; }
.checklist input:checked { background: var(--sun); }
.checklist input:checked::after { opacity: 1; }
.checklist input:checked + span { text-decoration: line-through; text-decoration-color: rgba(29,27,46,.4); color: var(--muted); }
.checklist span b { display: block; font-family: var(--font-display); font-weight: 600; }
.progress { display: flex; align-items: center; gap: 12px; font: 600 .95rem var(--font-display); margin-bottom: 14px; }
.progress__bar { flex: 1; height: 12px; border-radius: 99px; border: 1.5px solid var(--ink); background: #fff; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: var(--mural); background-size: 400% 100%; transition: width .4s cubic-bezier(.3,1.3,.5,1); }

/* Form shell around Cognito embeds */
.form-shell { border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sticker-lg); overflow: hidden; }
.form-shell__head { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; padding: 22px clamp(18px, 3vw, 34px); background: var(--paper-2); border-bottom: var(--bw) solid var(--ink); }
.form-shell__head h2 { font-size: var(--step-3); margin: 0; }
.form-shell__secure { display: inline-flex; align-items: center; gap: .45em; font-size: .9rem; color: var(--ink-2); }
.form-shell__secure .ic { color: var(--leaf); }
.form-shell__body { padding: clamp(18px, 3vw, 34px); min-height: 280px; position: relative; }
.form-shell__foot { padding: 16px clamp(18px, 3vw, 34px); border-top: 1.5px solid var(--line); font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.cog-skeleton { display: grid; gap: 16px; }
.cog-skeleton i { display: block; height: 52px; border-radius: 12px; background: linear-gradient(90deg, #f3eee6 0%, #fbf8f3 50%, #f3eee6 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.cog-skeleton i:nth-child(odd) { width: 70%; height: 18px; }
.cog-skeleton p { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
@keyframes shimmer { to { background-position: -200% 0; } }
.cog-mount:has(.cog-cognito, .cognito, iframe, form) .cog-skeleton { display: none; }

/* ---------- 12. CTA band & footer ---------- */
.cta-band { position: relative; overflow: hidden; border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow-sticker-lg); display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { font-size: var(--step-4); margin: 0 0 .3em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -130px; width: 230px; height: 230px; border-radius: 50%; background: var(--mural); opacity: .9; filter: blur(0); border: var(--bw) solid #fff; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 860px) { .cta-band .btn-row { justify-content: flex-end; } }

.site-footer { background: var(--ink); color: rgba(255,255,255,.86); margin-top: var(--section); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer__top { display: grid; gap: 36px; padding-block: clamp(44px, 6vw, 76px) 36px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand .logo-plate { display: inline-block; background: #fff; border-radius: 18px; padding: 12px 16px; border: var(--bw) solid #fff; box-shadow: 4px 4px 0 var(--sun); margin-bottom: 18px; }
.footer__brand .logo-plate img { height: 40px; width: auto; }
.site-footer h3 { font-size: 1.05rem; color: var(--sun); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { color: var(--sun); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.4); }
.socials a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.16); padding-block: 20px; font-size: .86rem; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: rgba(255,255,255,.7); }

/* ---------- 13. Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .swash path { stroke-dashoffset: 0; }
}

/* ---------- 15. Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.maxw-60 { max-width: 60ch; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 52ch; color: var(--ink-2); }
.badge-num { display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; padding: 0 .5em; border-radius: 99px; background: var(--ink); color: #fff; font: 600 .82rem var(--font-display); }

@media print {
  .site-header, .utility, .dock, .site-tools, .site-footer, .drawer { display: none !important; }
  body { background: #fff; }
}
[data-ev="status"]:empty { display: none !important; }
code { font-size: .88em; background: var(--paper-2); padding: .1em .35em; border-radius: 6px; }

.collage__blob { inset: 2% -4% 0 12%; }
@media (max-width: 420px) { .icon-btn.menu-btn { margin-left: auto; } }
.stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); }
@media (max-width: 520px) {
  .stat { padding: 16px; }
  .stat__num { font-size: 2.1rem; }
  .price-tag { top: -26px; right: -8px; width: 86px; height: 86px; }
  .price-tag b { font-size: 1.7rem; }
  .stockists { gap: 10px; }
  .stockist { padding: 12px 14px; }
}

/* ---------- 16. Feedback dialog ---------- */
.feedback-dialog .form-shell__head h2 { display: flex; align-items: center; gap: 10px; }
.feedback-dialog .form-shell__head h2 .ic { color: var(--berry); }
.feedback-dialog { border: 0; padding: 0; background: transparent; width: min(100% - 24px, 760px); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; }
.feedback-dialog::backdrop { background: rgba(29,27,46,.72); backdrop-filter: blur(4px); }
.feedback-dialog[open] { animation: pop-in .3s cubic-bezier(.3,1.3,.5,1); }
.feedback-dialog .form-shell { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); box-shadow: 8px 8px 0 var(--sun); }
.feedback-dialog .form-shell__head { flex: none; flex-wrap: nowrap; padding-block: 16px; }
.feedback-dialog .form-shell__head h2 { font-size: var(--step-2); }
.feedback-dialog .form-shell__body { overflow-y: auto; overscroll-behavior: contain; min-height: 220px; }
@media print { .feedback-dialog { display: none !important; } }

/* ---------- 17. Feedback button (fixed, bottom left) ---------- */
.site-tools { position: fixed; z-index: 70; left: 14px; bottom: 14px; pointer-events: none; }
.tool-btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px; border: var(--bw) solid var(--ink); font: 600 .9rem var(--font-display); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tool-btn:hover { transform: translateY(-2px); }
.tool-btn .ic { width: 18px; height: 18px; }
.tool-btn--fb { background: var(--ink); color: #fff; box-shadow: 0 3px 0 var(--sun); }
.tool-btn--fb:hover { box-shadow: 0 5px 0 var(--sun); }
.tool-btn--fb .ic { color: var(--sun); }
@media (max-width: 760px) {
  .site-tools { bottom: 98px; left: 10px; }
  .tool-btn--fb { width: 46px; justify-content: center; padding: 0; }
  .tool-btn--fb span { display: none; }
}

/* Community Grant round closed (fund pages) */
.round-closed { display: grid; gap: 22px; align-items: center; padding: 6px 0; }
@media (min-width: 640px) { .round-closed { grid-template-columns: auto 1fr; } }
.round-closed__dates { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.round-closed h3 { font-size: 1.3rem; margin: 0 0 8px; }
