/* Boundless Support Initiative: a hand-painted roadside signboard.
   Enamel on primed board: two grounds (board teal, enamel white), mark orange
   for lettering and the one primary action, leaf green for finished work,
   blue-black ink for shading and reading text. */

@font-face {
  font-family: "Bowlby One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bowlby-one-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Kaushan Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kaushan-script-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/lexend-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paints */
  --teal: #075560;        /* board ground */
  --teal-mid: #0f8a97;    /* pictogram enamel */
  --turq: #2ec4d6;        /* pinstripe on the board */
  --white: #f7f8f5;       /* enamel white ground */
  --orange: #f28c1e;      /* lettering, primary action */
  --green: #6db33f;       /* finished work */
  --ink: #10232a;         /* shade and reading text */
  --ink-soft: #33474e;    /* secondary text on white */
  --mist: #cfe9ec;        /* secondary text on teal */

  --display: "Bowlby One", "Arial Black", sans-serif;
  --script: "Kaushan Script", cursive;
  --body: "Lexend", system-ui, sans-serif;

  /* Spacing, 4px base */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --measure: 66ch;
  --edge: clamp(18px, 4vw, 56px);   /* inner margin of the board */
  --frame: 10px;                     /* painted border width */

  /* Letter treatments, in em so they scale with the lettering */
  --outline-white:
    0.028em 0 0 #fff, -0.028em 0 0 #fff, 0 0.028em 0 #fff, 0 -0.028em 0 #fff,
    0.02em 0.02em 0 #fff, -0.02em -0.02em 0 #fff, 0.02em -0.02em 0 #fff, -0.02em 0.02em 0 #fff;
  --shade-ink:
    0.045em 0.045em 0 var(--ink), 0.06em 0.06em 0 var(--ink),
    0.075em 0.075em 0 var(--ink), 0.09em 0.09em 0 var(--ink);
  --shade-orange:
    0.03em 0.03em 0 var(--orange), 0.045em 0.045em 0 var(--orange), 0.06em 0.06em 0 var(--orange);
}

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

html {
  background: var(--teal);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--teal) var(--white);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  caret-color: var(--orange);
}

::selection { background: var(--orange); color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
p, li, figcaption { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--orange); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 10;
  background: var(--orange); color: var(--ink); padding: var(--s3) var(--s4);
  font-weight: 600; text-decoration: none; border: 3px solid var(--ink);
}
.skip-link:focus { top: var(--s4); }

/* ---------- The board ---------- */

.board {
  position: relative;
  border: var(--frame) solid var(--orange);
  min-height: 100vh;
}
/* Inner pinstripe of the painted double border */
.board::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 3px solid var(--turq);
  pointer-events: none;
  z-index: 3;
}

/* Painted divider: orange over green with a white gap */
.stripe {
  height: 16px;
  background: var(--white);
  border-top: 6px solid var(--orange);
  border-bottom: 6px solid var(--green);
}

/* ---------- Lettering ---------- */

.letter {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.04;
  text-wrap: balance;
}

.letter--hero {
  font-size: clamp(2.2rem, 5.4vw, 5.3rem);
  color: var(--orange);
  text-shadow: var(--outline-white), var(--shade-ink);
  padding-bottom: 0.1em;
}
.letter--hero .ln { display: block; }
.ln-narrow { display: none; }

/* One line per panel is lettered at monumental scale; the rest stay small */
.letter.letter--monument {
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  line-height: 0.98;
}
.nowrap { white-space: nowrap; }

.letter--panel {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  color: var(--teal);
  text-shadow: var(--shade-orange);
}
.letter--on-teal {
  color: var(--orange);
  text-shadow: var(--outline-white), var(--shade-ink);
}

/* ---------- Plaques (buttons) ---------- */

.plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  border: 3px solid var(--ink);
  border-radius: 6px;
  outline: 2px solid transparent;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms ease-out, outline-color 160ms ease-out;
}
.plaque--orange {
  background: var(--orange);
  color: var(--ink);
  outline: 2px solid var(--white);
  outline-offset: -8px;
}
.plaque--white {
  background: var(--white);
  color: var(--teal);
  outline: 2px solid var(--orange);
  outline-offset: -8px;
}
.plaque:hover { transform: translateY(2px); }
.plaque--orange:hover { background: #f59a37; }
.plaque--white:hover { background: #ffffff; }
.plaque:active { transform: translateY(3px); }
.plaque:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* On the teal ground the ring turns turquoise (4.0:1); on enamel white it stays ink */
.hero .plaque:focus-visible { outline-color: var(--turq); }

/* ---------- Top band ---------- */

.band { background: var(--white); position: relative; z-index: 2; }
.band__inner {
  display: flex;
  align-items: center;
  gap: var(--s5) var(--s6);
  padding: var(--s4) var(--edge);
  max-width: 1440px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 50px; height: auto; }
.brand__name {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--teal);
  text-shadow: var(--shade-orange);
}
.brand__name span { display: block; font-size: 0.78em; letter-spacing: 0.06em; }

.nav ul { display: flex; gap: var(--s1) var(--s5); flex-wrap: wrap; }
.nav a {
  display: block;
  padding: var(--s2) 0;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  transition: border-color 160ms ease-out;
}
.nav a:hover { border-bottom-color: var(--orange); }

.band__call {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.band__call:hover { color: var(--ink); }
.band__icon { width: 22px; height: 22px; color: var(--orange); }
.band__call-label { font-size: 0.72em; color: var(--ink); margin-right: 0.2em; }

/* ---------- Hero board ---------- */

.hero {
  background: var(--teal);
  color: var(--white);
  padding: clamp(40px, 6vw, 72px) var(--edge) clamp(84px, 7.5vw, 108px);
}
.hero__grid {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s6) var(--s6);
  align-items: start;
}
.hero__copy { grid-column: 1 / span 8; }
.hero__lede {
  margin-top: var(--s5);
  max-width: 38em;
  font-size: clamp(1.06rem, 1.3vw, 1.22rem);
  line-height: 1.6;
}
.plaques { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); margin-top: var(--s6); }
.hero__reg { margin-top: var(--s5); font-size: 0.94rem; color: var(--mist); }
.hero__reg strong { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Services menu: an enamel-white panel nailed to the board */
.menu {
  grid-column: 9 / span 4;
  background: var(--white);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 4px;
  outline: 2px solid var(--orange);
  outline-offset: -11px;
  padding: var(--s6) var(--s5) var(--s5);
  margin-top: var(--s2);
}
.menu__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.32rem;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  color: var(--teal);
  text-shadow: var(--shade-orange);
  padding-bottom: var(--s3);
  border-bottom: 3px solid var(--ink);
  margin: 0 var(--s2);
}
.menu__list { margin: var(--s2) var(--s2) 0; }
.menu__list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: var(--s4);
  padding: var(--s3) 0;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  border-bottom: 2px dotted rgba(16, 35, 42, 0.35);
}
.menu__list li:last-child { border-bottom: 0; }
.menu__foot {
  margin: var(--s3) var(--s2) 0;
  padding-top: var(--s3);
  border-top: 3px solid var(--ink);
  font-size: 0.84rem;
  text-align: center;
  color: var(--ink-soft);
}

.picto { width: 52px; height: 52px; flex: none; overflow: visible; }
.picto--big { width: 112px; height: 112px; }

/* ---------- The Wumba day ---------- */

.day {
  background: var(--white);
  padding: 0 var(--edge) var(--s9);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--s6);
  max-width: 1440px;
  margin: 0 auto;
}
/* The board's white panel spans the full width even inside the centred grid */
.day, .work, .people, .help { position: relative; }
.day::before, .people::before {
  content: ""; position: absolute; inset: 0 -100vmax; background: var(--white); z-index: -1;
}
main { position: relative; z-index: 1; isolation: isolate; overflow: clip; }

.print {
  background: var(--white);
  padding: 10px 10px 14px;
  border: 3px solid var(--ink);
  border-radius: 3px;
  position: relative;
}
.print img { width: 100%; border: 2px solid var(--ink); }
.print figcaption { margin-top: var(--s3); font-size: 0.86rem; line-height: 1.45; color: var(--ink-soft); }
/* Nail heads */
.print::before, .print::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid #5d6e74;
}
.print::before { left: 22px; }
.print::after { right: 22px; }

.print--lead {
  grid-column: 1 / span 5;
  margin-top: calc(-1 * clamp(64px, 6vw, 84px));
  align-self: start;
  position: sticky;
  top: var(--s5);
}

.day__body { grid-column: 7 / span 6; padding-top: var(--s8); }
.day__intro { margin-top: var(--s4); font-size: 1.12rem; max-width: var(--measure); }

.hours { margin-top: var(--s6); border-top: 4px solid var(--ink); }
.hours li {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: var(--s5);
  padding: var(--s5) 0;
  border-bottom: 2px solid rgba(16, 35, 42, 0.22);
}
.hours__time {
  font-family: var(--display);
  font-size: 1.24rem;
  white-space: nowrap;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--teal);
  text-shadow: var(--shade-orange);
  font-variant-numeric: tabular-nums;
}
.hours h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.hours p { margin-top: var(--s2); max-width: 54ch; }

.source { margin-top: var(--s5); font-size: 0.92rem; color: var(--ink-soft); }
.source a { color: var(--teal); font-weight: 600; }

/* ---------- Four areas of work ---------- */

.work {
  background: var(--teal);
  color: var(--white);
  padding: var(--s9) var(--edge);
}
.work > * { max-width: 1328px; margin-left: auto; margin-right: auto; }
.work__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s4) var(--s6);
  align-items: end;
}
.work__head h2 { grid-column: 1 / span 6; }
.work__head p { grid-column: 7 / span 6; color: var(--mist); max-width: 52ch; font-size: 1.08rem; }

.area--done {
  margin-top: var(--s7);
  background: var(--white);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 4px;
  outline: 2px solid var(--green);
  outline-offset: -11px;
  padding: var(--s6) var(--s7);
  display: grid;
  grid-template-columns: auto 1fr minmax(16rem, 22rem);
  gap: var(--s6);
  align-items: center;
}
.area__name {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
}
.area--done .area__name {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--teal);
  text-shadow: var(--shade-orange);
}
.area__aimtag { margin-top: var(--s4); }
.area__aims { margin-top: var(--s2); }
.area__aims li { position: relative; padding-left: 1.4em; margin-top: var(--s1); font-size: 1.05rem; }
/* Open rings: aims are not yet painted in */
.area__aims li::before {
  content: ""; position: absolute; left: 0.2em; top: 0.5em;
  width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--white); border: 2px solid var(--ink);
}
.area--done .area__status { font-weight: 600; line-height: 1.4; }
.area__source { display: block; margin-top: var(--s2); font-weight: 400; font-size: 0.92rem; color: var(--ink-soft); }
.area__source a { color: var(--teal); font-weight: 600; }

.tag {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 5px 12px 4px;
  border-radius: 4px;
  margin-right: var(--s2);
  vertical-align: 0.1em;
}
.tag--done { background: var(--green); color: var(--ink); border: 2px solid var(--ink); }
.tag--aim { color: var(--white); border: 2px dashed var(--white); }
.tag--aim-ink { color: var(--ink); border-color: var(--ink); }

.aims {
  margin-top: var(--s6);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--s6);
}
.area--aim {
  grid-column: 1 / span 8;
  display: grid;
  grid-template-columns: 52px 18rem 1fr auto;
  gap: var(--s5);
  align-items: center;
  padding: var(--s5) 0;
  border-bottom: 2px solid rgba(46, 196, 214, 0.45);
}
.area--aim:first-child { border-top: 2px solid rgba(46, 196, 214, 0.45); }
.area--aim .area__name {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  color: transparent;
  -webkit-text-stroke: 0.06em var(--white);
  paint-order: stroke fill;
}
.area--aim p { color: var(--mist); font-size: 1rem; }
.area--aim .area__status { justify-self: end; }

.print--school {
  grid-column: 9 / span 4;
  grid-row: 1 / span 3;
  align-self: start;
}
.aims .print--school { margin-top: var(--s2); }

/* ---------- Who we are ---------- */

.people {
  background: var(--white);
  padding: var(--s9) var(--edge);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s7) var(--s6);
  max-width: 1440px;
  margin: 0 auto;
}
.people__creed { grid-column: 1 / span 7; }
.people__mission { margin-top: var(--s5); font-size: 1.16rem; line-height: 1.65; max-width: var(--measure); }
.people__quote {
  margin-top: var(--s6);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.3;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--teal);
  text-shadow: var(--shade-orange);
  max-width: 22em;
}
.values {
  margin-top: var(--s6);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5) var(--s6);
  border-top: 4px solid var(--ink);
  padding-top: var(--s5);
}
.values li { font-size: 0.98rem; color: var(--ink-soft); }
.values strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.12rem;
  text-transform: uppercase;
  color: var(--teal);
  text-shadow: var(--shade-orange);
  margin-bottom: var(--s1);
}

.trustees { grid-column: 9 / span 4; }
.trustees__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: var(--s3);
  border-bottom: 4px solid var(--ink);
}
.trustee {
  display: grid;
  grid-template-columns: 112px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--s5);
  align-items: end;
  padding: var(--s5) 0;
  border-bottom: 2px solid rgba(16, 35, 42, 0.18);
}
.trustee img {
  grid-row: 1 / span 2;
  width: 112px; height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--orange);
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.trustee__name { font-weight: 600; font-size: 1.12rem; line-height: 1.25; align-self: end; }
.trustee__role { font-size: 0.94rem; color: var(--ink-soft); align-self: start; margin-top: var(--s1); }

/* ---------- Paint your pledge ---------- */

.help {
  background: var(--teal);
  color: var(--white);
  padding: var(--s9) max(var(--edge), calc((100% - 1328px) / 2));
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s6);
  align-items: start;
}
.help > * { min-width: 0; }
.help__head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s4) var(--s6);
  align-items: end;
  max-width: 1328px; width: 100%; margin: 0 auto var(--s3);
}
.help__head h2 { grid-column: 1 / span 6; }
.help__head p { grid-column: 7 / span 6; color: var(--mist); max-width: 52ch; font-size: 1.08rem; }

.pledge {
  background: var(--white);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 4px;
  outline: 2px solid var(--orange);
  outline-offset: -11px;
  padding: var(--s7) var(--s6) var(--s6);
}
/* The fund board runs the full width of the panel: its pledge line is lettered big */
.pledge--fund {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
  gap: 0 var(--s8);
}
.pledge--fund .pledge__title { grid-column: 1 / -1; }
.pledge--fund .pledge__choices { grid-column: 1; grid-row: 2 / span 2; }
.pledge--fund .pledge__note { grid-column: 2; grid-row: 2; align-self: end; }
.pledge--fund .pledge__send { grid-column: 2; grid-row: 3; align-self: start; justify-self: start; }
.pledge--fund .pledge__line { font-size: clamp(1.25rem, 2.4vw, 2.1rem); line-height: 1.35; }
.pledge--fund .pledge__blank { font-size: 1.15em; }
.pledge--fund .choice span { min-height: 52px; padding: 10px 18px; font-size: 1.02rem; }

.help__side {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s6);
  align-items: stretch;
}
.pledge--volunteer { grid-column: 1 / span 7; }
.pledge--invite { grid-column: 8 / span 5; display: flex; flex-direction: column; align-items: flex-start; }
.pledge--invite .plaque { margin-top: auto; }
.pledge--invite p { margin-bottom: var(--s5); }
.pledge--volunteer, .pledge--invite { padding: var(--s6) var(--s6) var(--s5); }
.pledge--invite p { margin-top: var(--s3); font-size: 0.98rem; }

.pledge__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--teal);
  text-shadow: var(--shade-orange);
}
.pledge__choices { border: 0; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); min-width: 0; }
.pledge__line {
  float: left;
  width: 100%;
  margin-bottom: var(--s4);
  padding: 0;
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
}
.pledge__line + * { clear: left; }
.pledge__blank {
  display: inline-block;
  min-width: 9ch;
  margin-left: 0.2em;
  padding: 0 0.2em 0.05em;
  border-bottom: 3px solid var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05em;
  text-transform: uppercase;
  color: var(--teal);
  text-shadow: var(--shade-orange);
}
.pledge--volunteer .pledge__line { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }

.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input {
  position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  background: var(--white);
  transition: background-color 140ms ease-out, transform 140ms cubic-bezier(0.16, 1, 0.3, 1);
}
.choice:hover span { background: #fff1df; }
.choice input:checked + span { background: var(--orange); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.pledge__note { margin-top: var(--s5); font-size: 0.92rem; color: var(--ink-soft); max-width: 58ch; }
.pledge__send { margin-top: var(--s5); }

/* ---------- Footer: the bottom strip with the phone lettered big ---------- */

.foot { background: var(--white); color: var(--ink); position: relative; z-index: 2; }
.foot__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--s8) var(--edge) var(--s7);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s6);
  align-items: end;
}
.foot__call { grid-column: 1 / span 7; }
.foot__script { font-family: var(--script); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.2; color: var(--teal); }
.foot__phone {
  display: inline-block;
  margin-top: var(--s3);
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  color: var(--teal);
  text-shadow: var(--shade-orange);
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.foot__phone span { font-size: clamp(1rem, 2.2vw, 1.85rem); vertical-align: 0.55em; margin-right: 0.25em; color: var(--ink); text-shadow: none; }
.foot__phone:hover { color: var(--ink); }
.foot__links { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-weight: 600; overflow-wrap: anywhere; }
.foot__links a { color: var(--teal); }

.foot__facts { grid-column: 8 / span 5; font-size: 0.92rem; color: var(--ink-soft); }
.foot__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--s3);
}
.foot__facts address { font-style: normal; margin-bottom: var(--s3); }
.foot__social { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s4); font-weight: 600; }
.foot__social a { color: var(--teal); }
.foot__copy { margin-top: var(--s4); font-size: 0.86rem; }

/* ---------- Motion: the sign is painted once ---------- */

@media (prefers-reduced-motion: no-preference) {
  .paint .letter--hero .ln {
    animation:
      brush 820ms cubic-bezier(0.16, 1, 0.3, 1) both,
      shade 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .paint .letter--hero .ln:nth-child(1) { animation-delay: 120ms, 700ms; }
  .paint .letter--hero .ln:nth-child(2) { animation-delay: 380ms, 960ms; }
  .paint .letter--hero .ln:nth-child(3) { animation-delay: 640ms, 1220ms; }

  .pledge__blank.is-painting { animation: brush 520ms cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes brush {
  from { clip-path: inset(-0.2em 100% -0.3em -0.1em); }
  to { clip-path: inset(-0.2em -0.3em -0.3em -0.1em); }
}
@keyframes shade {
  from { text-shadow: var(--outline-white); }
  to { text-shadow: var(--outline-white), var(--shade-ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plaque, .choice span, .nav a { transition: none; }
  .plaque:hover, .plaque:active { transform: none; }
}

/* ---------- Narrower boards ---------- */

@media (max-width: 1120px) {
  .band__inner { flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; }
  .nav ul { gap: var(--s1) var(--s5); }
  .hero__copy { grid-column: 1 / span 7; }
  .letter--hero { font-size: 4.6vw; }
  .menu { grid-column: 8 / span 5; }
  .area--aim { grid-template-columns: 52px 14rem 1fr; }
  .area--aim .area__status { grid-column: 3; justify-self: start; }
}

@media (max-width: 900px) {
  :root { --frame: 7px; }
  .board::after { inset: 3px; border-width: 2px; }

  .hero__grid { grid-template-columns: 1fr; gap: var(--s7); }
  .letter--hero { font-size: clamp(2.2rem, 8.2vw, 4.4rem); }
  .hero__copy, .menu { grid-column: 1; }
  .menu { margin-top: 0; padding: var(--s5) var(--s4) var(--s4); }
  .menu__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s4); }
  .menu__list li { border-bottom: 2px dotted rgba(16, 35, 42, 0.35); }
  .menu__list li:last-child { grid-column: 1 / -1; }

  .day { grid-template-columns: 1fr; }
  .print--lead { grid-column: 1; position: relative; top: auto; margin-top: -56px; max-width: 560px; }
  .day__body { grid-column: 1; padding-top: var(--s7); }

  .work__head, .help__head { grid-template-columns: 1fr; }
  .work__head h2, .work__head p, .help__head h2, .help__head p { grid-column: 1; }

  .area--done { grid-template-columns: auto 1fr; padding: var(--s6) var(--s5); gap: var(--s4) var(--s5); }
  .area--done .area__status { grid-column: 1 / -1; }
  .picto--big { width: 84px; height: 84px; }

  .aims { grid-template-columns: 1fr; }
  .area--aim { grid-column: 1; }
  .print--school { grid-column: 1; grid-row: auto; margin-top: var(--s6); max-width: 520px; }

  .people { grid-template-columns: 1fr; }
  .people__creed, .trustees { grid-column: 1; }

  .help { grid-template-columns: 1fr; }
  .pledge--fund, .help__side { grid-column: 1; }
  .pledge--fund { display: block; }
  .help__side { grid-template-columns: 1fr; }
  .pledge--volunteer, .pledge--invite { grid-column: 1; }

  .foot__inner { grid-template-columns: 1fr; }
  .foot__call, .foot__facts { grid-column: 1; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .work, .people, .help { padding-top: var(--s8); padding-bottom: var(--s8); }
  .day { padding-bottom: var(--s8); }
  .people { gap: var(--s6); }
  .help__head p, .work__head p { font-size: 1rem; }
  .band__inner { gap: var(--s3) var(--s4); padding-top: var(--s3); padding-bottom: var(--s3); }
  .brand__mark { width: 40px; }
  .brand__name { font-size: 0.98rem; }
  .band__call { font-size: 1rem; }
  .band__call-label { display: none; }
  .nav ul { justify-content: space-between; gap: 0 var(--s3); }
  .nav a { font-size: 0.92rem; padding: var(--s2) 0 var(--s1); }

  .letter--hero { font-size: min(calc(12.7vw - 6px), 4.4rem); }
  .letter.letter--monument { font-size: min(2.5rem, calc((100vw - 50px) / 7.4)); }
  .ln-wide { display: none; }
  .ln-narrow { display: inline; }
  .ln-break { display: block; }

  .plaques { flex-direction: column; align-items: stretch; }
  .plaques .plaque { width: 100%; }

  /* Pictograms keep their size: a two-column grid of painted signs, label under each */
  .menu__list { grid-template-columns: 1fr 1fr; gap: 0 var(--s3); }
  .menu__list li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--s2);
    padding: var(--s4) 0;
    font-size: 0.92rem;
  }

  .hours li { grid-template-columns: 1fr; gap: var(--s2); }

  .area--done { grid-template-columns: 1fr; }
  .area--aim { grid-template-columns: 52px 1fr; gap: var(--s2) var(--s4); }
  .area--aim p, .area--aim .area__status { grid-column: 1 / -1; }
  .area--aim .area__status { justify-self: start; }

  .values { grid-template-columns: 1fr; }
  .trustee { grid-template-columns: 96px 1fr; }
  .trustee img { width: 96px; height: 96px; }

  .pledge { padding: var(--s6) var(--s4) var(--s5); outline-offset: -9px; }
  .pledge .plaque { width: 100%; }
  .foot__phone { font-size: clamp(1.7rem, 7.8vw, 2.3rem); }
  .foot__phone span { display: block; font-size: 0.95rem; vertical-align: baseline; margin: 0 0 0.15em; }
  .foot__links { font-size: 0.94rem; }
}
