/* H2H Peace of Mind: preview of the new design (2026-10-26).
   Layout: one 72rem column; full-width bands (the dawn header bands, the footer) hold an inner .wrap; pairs of
   columns on wide screens fold to one column on phones.
   Colour: the emblem's jade and water blue, and the old site's sky-to-peach dawn, kept as the brand. */

/* Bricolage Grotesque is one cut, weight 700 at optical size 48, latin only: 22 KB where the variable font with its
   optical-size axis was 77 KB, the largest download on every page. From Google Fonts' css2 API,
   family=Bricolage+Grotesque:opsz,wght@48,700 (2026-10-26). Every display style uses 700, so nothing is faked. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/bricolage-700-opsz48-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/atkinson-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-italic-latin.woff2") format("woff2");
}

:root {
  --paper: #f3f7f5;
  --surface: #ffffff;
  --ink: #142e28;
  --muted: #4b605a;
  --line: #d2ded8;
  --jade: #2b7356;
  --jade-deep: #1d5640;
  --on-jade: #ffffff;
  --aqua: #5fb4c9;
  --peach: #f2b79a;
  --sky: #d4e7f1;
  --dawn: #f8dccb;
  --wash: #fbede4;
  --wash-ink: #8e4220;
  --footer: #12302a;
  --on-footer: #e3eee9;
  --footer-muted: #a9c2b9;
  --plate: #ffffff;
  --focus: #1f7fa0;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.85rem, 1.4rem + 2.1vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.45rem + 5vw, 5.25rem);
  --radius: 14px;
  --gutter-l: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1916; --surface: #15231f; --ink: #e4eeea; --muted: #a3b6af; --line: #2a3b36;
    --jade: #7ccfa8; --jade-deep: #9bddbd; --on-jade: #0b1f18; --aqua: #6cc3d6; --peach: #c98a6e;
    --sky: #14303a; --dawn: #3a2a25; --wash: #33241f; --wash-ink: #f4c1a6;
    --footer: #09120f; --on-footer: #dde9e4; --footer-muted: #93aaa2; --plate: #ffffff; --focus: #7fd0e8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1916; --surface: #15231f; --ink: #e4eeea; --muted: #a3b6af; --line: #2a3b36;
  --jade: #7ccfa8; --jade-deep: #9bddbd; --on-jade: #0b1f18; --aqua: #6cc3d6; --peach: #c98a6e;
  --sky: #14303a; --dawn: #3a2a25; --wash: #33241f; --wash-ink: #f4c1a6;
  --footer: #09120f; --on-footer: #dde9e4; --footer-muted: #93aaa2; --plate: #ffffff; --focus: #7fd0e8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-wrap: break-word;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
p { margin: 0 0 1rem; max-width: 65ch; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 1rem; }
h3 { font-size: var(--step-1); line-height: 1.25; margin-bottom: 0.4rem; }
.wrap { max-width: var(--wrap, 72rem); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 0.5rem; z-index: 50; background: var(--surface); padding: 0.5rem 1rem; border-radius: 8px; }
.eyebrow {
  margin: 0 0 0.75rem; font-weight: 700; font-size: var(--step--1); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--jade);
}
.muted { color: var(--muted); }

/* Preview notice, header and navigation ---------------------------------------------------------------------- */
.preview-bar { background: var(--ink); color: var(--paper); font-size: var(--step--1); line-height: 1.4; }
.preview-bar .wrap { padding-block: 0.45rem; text-align: center; }
.preview-bar a { color: inherit; font-weight: 700; margin-left: 0.4rem; text-decoration-thickness: 1px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; position: relative; }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.15;
}
.brand img { width: 54px; height: 44px; }
.nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem; }
.nav a {
  padding: 0.45rem 0.75rem; border-radius: 999px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 0.95rem; line-height: 1.3;
}
.nav a:hover { background: color-mix(in srgb, var(--jade) 10%, transparent); }
.nav a[aria-current="page"] { color: var(--jade); background: color-mix(in srgb, var(--jade) 12%, transparent); }
.nav a.nav-donate { background: var(--jade); color: var(--on-jade); padding-inline: 1.15rem; margin-left: 0.4rem; }
.nav a.nav-donate:hover { background: var(--jade-deep); }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 0.5rem; font: inherit; font-weight: 700;
  color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1rem; cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 1000px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0.25rem; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter-r) 1.25rem var(--gutter-l); box-shadow: 0 18px 30px -24px rgb(0 0 0 / 0.35);
  }
  .js .nav[data-open="true"] { display: flex; }
  .js .nav a { padding: 0.7rem 0.9rem; font-size: 1.05rem; }
  .js .nav a.nav-donate { margin: 0.4rem 0 0; text-align: center; }
}

/* Dawn bands: the front-page hero and each page's header ------------------------------------------------------ */
.dawn {
  position: relative;
  background:
    radial-gradient(90% 120% at 0% 0%, var(--sky) 0%, transparent 70%),
    radial-gradient(80% 120% at 100% 100%, var(--dawn) 0%, transparent 70%),
    var(--paper);
}
.dawn .waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(26px, 4vw, 46px); display: block; }
.waves path { vector-effect: non-scaling-stroke; }
.waves .ground { fill: var(--paper); }
.waves .line-a { fill: none; stroke: var(--aqua); stroke-width: 2; }
.waves .line-b { fill: none; stroke: var(--jade); stroke-width: 1.5; opacity: 0.55; }

.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; padding-block: clamp(2.75rem, 7vw, 6rem) clamp(4rem, 9vw, 7.5rem);
}
.hero-title {
  font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero-title .hth { color: var(--jade); }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; margin-bottom: 1.75rem; }
.hero-art { justify-self: center; width: min(100%, 380px); }
.hero-art .bubble-a { fill: var(--aqua); opacity: 0.55; }
.hero-art .bubble-b { fill: var(--peach); opacity: 0.75; }
.hero-art .heart { fill: var(--jade); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

.page-head .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.page-title { font-size: clamp(2.2rem, 1.35rem + 3.8vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 1rem; }
.page-head .lead { margin-bottom: 0; }
.page-head .actions { margin-top: 1.5rem; }
.page-head .status { margin-top: 0.5rem; }
.contact-line { margin: 0; color: var(--muted); }
.updated { color: var(--muted); margin: 0; }

/* Buttons ---------------------------------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem;
  padding: 0.7rem 1.35rem; border-radius: 999px; border: 2px solid var(--jade); font: inherit; font-weight: 700;
  line-height: 1.25; text-decoration: none; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--jade); color: var(--on-jade); }
.btn-primary:hover { background: var(--jade-deep); border-color: var(--jade-deep); }
.btn-quiet { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--jade); }
.btn-quiet:hover { background: var(--surface); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Sections --------------------------------------------------------------------------------------------------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(1.25rem, 4vw, 4.5rem); }
.split > * { min-width: 0; }
.big-p { font-size: var(--step-1); line-height: 1.55; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* The four-step path ----------------------------------------------------------------------------------------- */
.steps {
  list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.35rem; min-width: 0; }
.step-num {
  display: block; font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1;
  color: var(--jade); font-variant-numeric: tabular-nums; margin-bottom: 1rem;
}
.step p { margin: 0; }
.step strong { display: block; font-family: var(--display); font-size: var(--step-1); line-height: 1.25; margin-bottom: 0.35rem; }
.step-support { background: var(--wash); border-color: color-mix(in srgb, var(--wash-ink) 28%, transparent); }
.step-support .step-num { color: var(--wash-ink); }
.step-support:target { outline: 3px solid var(--wash-ink); outline-offset: 3px; }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Our Values (front page) ------------------------------------------------------------------------------------ */
/* The five pills are tabs. Each panel says what the value means, where it shows in H2H's work, and a question to
   ask at home, in a speech bubble like the hero's. The panels share one grid cell, so the band keeps the height of
   the tallest and nothing below it jumps; without script every panel shows, one after another. */
.values-band {
  background:
    radial-gradient(70% 90% at 100% 0%, var(--sky) 0%, transparent 70%),
    radial-gradient(70% 90% at 0% 100%, var(--dawn) 0%, transparent 70%),
    var(--paper);
}
.values-intro { font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }
.value-tabs { display: none; flex-wrap: wrap; gap: 0.6rem; margin: 1.75rem 0 1.25rem; }
.js .value-tabs { display: flex; }
.value-tabs [role="tab"] {
  font-family: var(--display); font-weight: 700; font-size: var(--step-1); line-height: 1.2; color: var(--ink);
  padding: 0.6rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.value-tabs [role="tab"]:hover { border-color: var(--jade); }
.value-tabs [aria-selected="true"] { background: var(--jade); border-color: var(--jade); color: var(--on-jade); }
.value-panels { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.js .value-panels { margin-top: 0; }
.js .value-panel { grid-area: 1 / 1; }
.js .value-panel:not(.is-active) { visibility: hidden; }
.value-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(1.25rem, 4vw, 3.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem); min-width: 0; align-content: start;
}
.value-panel > * { min-width: 0; }
.value-head .icon { width: 48px; height: 48px; color: var(--jade); margin-bottom: 0.75rem; }
.value-head h3 { font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 0.75rem; }
.value-head p { font-size: var(--step-1); line-height: 1.45; margin: 0; }
.value-label {
  margin: 0 0 0.35rem; font-weight: 700; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--jade);
}
.value-ask { position: relative; margin-top: 1.5rem; background: var(--dawn); border-radius: 22px; padding: 1.1rem 1.35rem 1.25rem; }
.value-ask::after {
  content: ""; position: absolute; left: 2rem; bottom: -14px; width: 26px; height: 16px; background: inherit;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.value-ask .value-label { color: var(--wash-ink); }
.value-question { font-family: var(--display); font-size: var(--step-1); line-height: 1.3; margin: 0; }
@media (max-width: 760px) { .value-panel { grid-template-columns: 1fr; } }

/* Cards ------------------------------------------------------------------------------------------------------ */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.35rem; min-width: 0;
}
.card .icon { width: 40px; height: 40px; color: var(--jade); margin-bottom: 0.5rem; }
.card .actions { margin-top: auto; padding-top: 1rem; }
.card p { margin: 0; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1040px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cards, .cards-2, .cards-4 { grid-template-columns: 1fr; } }

/* Programs: flyers, quote, speakers, partners ---------------------------------------------------------------- */
/* Each group holds flyers of one shape (tall: the kids' series; wide: the kids' and parents' series), so every
   flyer keeps its own proportions and the rows still line up. */
.flyers-title { margin-top: 2rem; }
.flyers { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0 1.5rem; }
.flyer { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.flyer a { display: block; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); padding: 0.5rem; }
.flyer img { width: 100%; }
.flyer figcaption { font-size: var(--step--1); line-height: 1.45; color: var(--muted); }
.credit { font-size: var(--step--1); color: var(--muted); max-width: 90ch; }
@media (max-width: 600px) {
  .flyers { grid-template-columns: 1fr; }
  .flyers-tall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.75rem; }
}
dialog.viewer {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; color: var(--on-footer);
}
dialog.viewer::backdrop { background: rgb(6 14 12 / 0.82); }
dialog.viewer img { max-height: calc(92vh - 4rem); width: auto; margin-inline: auto; border-radius: 8px; }
dialog.viewer .viewer-bar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-top: 0.75rem; }
dialog.viewer button { font: inherit; font-weight: 700; color: var(--footer); background: var(--on-footer); border: 0; border-radius: 999px; padding: 0.5rem 1.2rem; cursor: pointer; }

.quote { font-family: var(--display); font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; max-width: 26ch; margin: 0 0 1.75rem; text-wrap: balance; }

.speakers { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.speaker { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.speaker img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.speaker h3 { font-size: 1.05rem; margin: 0.1rem 0 0.25rem; }
.speaker p { font-size: var(--step--1); line-height: 1.5; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .speakers { grid-template-columns: 1fr; } }

.partners { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partners li { min-width: 0; }
.partners a, .partners span.plate {
  display: flex; align-items: center; justify-content: center; height: 96px; padding: 0.9rem 1.1rem;
  background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius);
}
.partners img { max-height: 56px; width: auto; }
.after-partners { margin-top: 1.5rem; }
@media (max-width: 760px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Team ------------------------------------------------------------------------------------------------------- */
.team-group + .team-group { margin-top: clamp(2.5rem, 6vw, 4rem); }
.team-group h2 { font-size: var(--step-2); margin-bottom: 1.25rem; }
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.person {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1.25rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.person img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }
.person h3 { margin: 0.15rem 0 0.2rem; font-size: var(--step-2); }
.person .role { font-weight: 700; color: var(--jade); margin: 0 0 0.75rem; }
.person .bio p { font-size: 0.98rem; line-height: 1.6; margin-bottom: 0.75rem; }
.creds { list-style: none; padding: 0; margin: 0.25rem 0 0.75rem; font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
.creds li + li { margin-top: 0.15rem; }
.creds .supervision { color: var(--ink); }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .person { grid-template-columns: 1fr; }
  .person img { width: 88px; height: 88px; }
}

/* Forms ------------------------------------------------------------------------------------------------------ */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form-grid > * { min-width: 0; }
.span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .field legend { font-weight: 700; }
.req { color: var(--wash-ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.85rem; width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--focus); }
.field input[type="file"] { font: inherit; color: var(--muted); max-width: 100%; }
.field input[type="file"]::file-selector-button {
  font: inherit; font-weight: 700; color: var(--jade); background: var(--surface); border: 2px solid var(--jade);
  border-radius: 999px; padding: 0.5rem 1.1rem; margin-right: 0.9rem; cursor: pointer;
}
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0.45rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; cursor: pointer; line-height: 1.3;
}
.choice input:checked + span { background: var(--jade); border-color: var(--jade); color: var(--on-jade); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--jade); flex: none; }
.counter { font-size: var(--step--1); color: var(--muted); align-self: flex-end; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 10px; background: var(--wash); color: var(--wash-ink); font-weight: 700; max-width: none; }
.form-actions { margin-top: 1.5rem; }
.gift { display: flex; flex-direction: column; gap: 1.25rem; }
.gift .btn { align-self: flex-start; }
.gift .form-status { margin-top: 0; }
.gift-title { font-size: var(--step-2); margin: 0; }
.split-gift { align-items: start; }
.donate-amount { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Notices ---------------------------------------------------------------------------------------------------- */
.status {
  display: inline-block; margin: 0; padding: 0.7rem 1.1rem; border-radius: 12px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line); max-width: 60ch;
}
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.checklist svg { width: 28px; height: 28px; color: var(--jade); }
.checklist p { margin: 0; }
@media (max-width: 1040px) { .checklist { grid-template-columns: 1fr; } }

/* Legal pages ------------------------------------------------------------------------------------------------ */
/* Each block is capped, not the wrap, so the text lines up with the page title instead of centring. */
.prose > * { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 0.75rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.5rem; }

/* Footer ----------------------------------------------------------------------------------------------------- */
.site-footer { background: var(--footer); color: var(--on-footer); }
.site-footer a { color: var(--on-footer); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr) minmax(0, 1.15fr); gap: 2rem 3rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top > * { min-width: 0; }
.motto { font-family: var(--display); font-size: var(--step-3); line-height: 1.04; font-weight: 700; margin: 0 0 1.25rem; }
.site-footer h2 { font-family: var(--body); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--footer-muted); margin: 0 0 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer .btn-light { background: var(--on-footer); color: var(--footer); border-color: var(--on-footer); }
.footer-email { margin-top: 0.75rem; color: var(--footer-muted); overflow-wrap: anywhere; }
.site-footer .field label { font-weight: 700; }
.site-footer .field input[type="email"] { background: color-mix(in srgb, var(--on-footer) 8%, transparent); color: var(--on-footer); border-color: color-mix(in srgb, var(--on-footer) 30%, transparent); }
.site-footer .check { font-size: var(--step--1); }
.site-footer .btn { margin-top: 0.25rem; align-self: flex-start; }
.subscribe { display: flex; flex-direction: column; gap: 0.75rem; }
.crisis { background: var(--wash); color: var(--wash-ink); border-radius: var(--radius); padding: 1rem 1.25rem; font-weight: 700; margin: 0; max-width: none; }
.site-footer .crisis a { color: inherit; text-decoration-thickness: 2px; }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--on-footer) 16%, transparent); margin-top: 2rem;
  padding-block: 1.25rem 2.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: var(--step--1); color: var(--footer-muted);
}
.footer-bottom p { margin: 0; max-width: none; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-left: auto; }
@media (max-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom .legal { margin-left: 0; } }

/* The email panel: on a computer, an email link first shows the address to copy, since a mailto link opens the
   computer's email app and many computers have none set up. */
dialog.mail-panel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--surface); color: var(--ink);
  width: min(30rem, calc(100vw - 2rem)); box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.45);
}
dialog.mail-panel::backdrop { background: rgb(6 14 12 / 0.55); }
.mail-inner { padding: 1.5rem; display: grid; gap: 1rem; }
.mail-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mail-panel h2 { font-size: var(--step-2); margin: 0; }
.mail-address { font-family: var(--display); font-size: var(--step-1); line-height: 1.3; overflow-wrap: anywhere; margin: 0; user-select: all; }
.mail-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.mail-status { font-weight: 700; color: var(--jade); margin: 0; }
.mail-status:empty { display: none; }
.mail-close {
  font: inherit; font-weight: 700; color: var(--jade); background: transparent; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 0.35rem 0.95rem; cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .choice span { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}
