:root {
  --ink: #161616;
  --muted: #4b5563;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --line: #e4e8ee;
  --donate: #e10600;
  --donate-dark: #b80500;
  --progress: #128a4a;
  --sans: "Nunito Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 1.05rem; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--donate); outline-offset: 2px; }

.mast {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem 5vw; background: #fff; border-bottom: 1px solid var(--line);
}
.word { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; }
.mast nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; }
.mast nav a { text-decoration: none; font-weight: 700; }
.donate, button.donate {
  background: var(--donate); color: #fff !important; text-decoration: none; border: 0; border-radius: 999px;
  padding: 0.65rem 1.15rem; font: inherit; font-weight: 800; cursor: pointer; display: inline-block;
}
.donate:hover, button.donate:hover { background: var(--donate-dark); }

.hero {
  min-height: 34rem; display: grid; align-items: end;
  background: #1c2833 center/cover no-repeat; color: #fff; position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,18,24,.78), rgba(12,18,24,.25)); }
.hero-copy { position: relative; padding: 4rem 5vw 3rem; max-width: 44rem; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 0.8rem; font-weight: 800; }
.hero p { font-size: 1.25rem; max-width: 34rem; margin: 0 0 1.4rem; }
.amounts, .chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.amounts a, .chip {
  background: #fff; color: var(--ink); border-radius: 999px; padding: 0.55rem 0.9rem;
  text-decoration: none; font-weight: 800; border: 1px solid transparent;
}
.hero .amounts a { border: 0; }
.hero .amounts a.donate { background: var(--donate); color: #fff; }
.chip { background: #fff; border: 1px solid var(--line); cursor: pointer; font: inherit; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.section { padding: 3.5rem 5vw; }
.section.mist { background: var(--mist); }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin: 0 0 0.6rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.split img, .photo { width: 100%; height: 22rem; object-fit: cover; border-radius: 1.25rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: #fff; border-radius: 1rem; padding: 1.25rem 1.3rem; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; line-height: 1; }
.stat span { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.appeal-card { background: #fff; border-radius: 1.25rem; overflow: hidden; text-decoration: none; box-shadow: 0 10px 30px rgba(16,24,40,.06); display: flex; flex-direction: column; }
.appeal-card img, .appeal-card .fallback { width: 100%; height: 14rem; object-fit: cover; background: #d9e2ea; }
.appeal-card div { padding: 1.1rem 1.2rem 1.3rem; }
.appeal-card h3 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.appeal-card p { margin: 0; color: var(--muted); }
.track { height: 0.55rem; background: #e6ebf0; border-radius: 999px; overflow: hidden; margin: 0.8rem 0 0.45rem; }
.track span { display: block; height: 100%; background: var(--progress); }
.raised { font-weight: 800; }

.cover { min-height: 26rem; display: grid; align-items: end; background: #243140 center/cover no-repeat; color: #fff; position: relative; }
.cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(10,16,22,.75)); }
.cover-copy { position: relative; padding: 2rem 5vw 2.2rem; }
.cover h1 { margin: 0.2rem 0; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; font-weight: 800; }
.campaign { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 2rem; align-items: start; padding: 2.2rem 5vw 1rem; }
.donate-card { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.3rem; position: sticky; top: 5.2rem; }
.donate-card .big { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; margin: 0; }
.donate-card .of { color: var(--muted); margin: 0 0 0.8rem; }
.page { padding: 1rem 5vw 4rem; max-width: 76rem; }
.page.narrow { max-width: 46rem; }

form.gift, form.plain { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
form.gift .full, form.plain .full, form.gift button, form.plain button, form.gift .choices, form.gift .chips { grid-column: 1 / -1; }
label { display: block; font-weight: 800; }
form.gift label input, form.gift label select, form.gift label textarea,
form.plain label input, form.plain label select, form.plain label textarea { margin-top: 0.35rem; }
input, select, textarea { width: 100%; padding: 0.75rem 0.8rem; border: 1px solid var(--line); border-radius: 0.7rem; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 6rem; }
input.amount { font-size: 1.7rem; font-weight: 800; }
.choices { display: grid; gap: 0.6rem; }
label.choice { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 650; }
label.choice input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; }
.wording { color: var(--muted); font-weight: 600; }
button { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 0.75rem 1.2rem; font: inherit; font-weight: 800; cursor: pointer; justify-self: start; }
form.gift button.chip { background: #fff; color: var(--ink); border: 1px solid var(--line); }
form.gift button.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
form.gift button.donate { background: var(--donate); color: #fff; }
.warn { background: #fde8e4; color: #6d2016; padding: 0.75rem 0.9rem; border-radius: 0.7rem; }
.validation-summary-valid { display: none; }
.note { background: #e8f6ee; padding: 0.75rem 0.9rem; border-radius: 0.7rem; }

.page-foot { background: var(--mist); color: var(--ink); padding: 0; }
.foot-main { padding: 3rem 5vw 2.4rem; }
.foot-brand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.foot-name { color: var(--ink); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.foot-kicker { font-weight: 800; margin: 0 0 0.7rem; }
.foot-address { white-space: pre-line; margin: 0 0 0.8rem; }
.foot-grid a { color: var(--ink); }
.foot-grid nav { display: grid; align-content: start; gap: 0.7rem; }
.foot-grid nav a { text-decoration: none; font-weight: 700; }
.foot-grid nav a:hover, .foot-contact a { text-decoration: underline; text-underline-offset: 0.18em; }
.foot-contact p { margin: 0.35rem 0; }
.foot-legal { background: #12171c; color: #d5dde6; padding: 1.3rem 5vw; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot-legal p { margin: 0; }
.social { display: flex; gap: 0.55rem; }
.social a { width: 2.3rem; height: 2.3rem; border: 1px solid #d5dde6; border-radius: 999px; display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 0.78rem; font-weight: 800; }
.back-top { background: #fff; color: #12171c; text-decoration: none; font-weight: 800; padding: 0.65rem 0.85rem; }
.section h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 0.7rem; }
.amount-editor { margin: 1.2rem 0; }
.amount-editor .row { display: flex; gap: 0.6rem; align-items: center; margin: 0.4rem 0; }
.amount-editor .row label { display: flex; align-items: center; gap: 0.35rem; margin: 0; }
.amount-editor .row input { width: 7rem; }
button.remove { background: #fff; color: var(--ink); border: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.6rem 0.4rem; vertical-align: top; }
body.admin { background: var(--mist); margin: 0; }
.admin-shell { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); min-height: 100vh; }
.side { background: #12171c; color: #d5dde6; padding: 1.1rem 0.75rem 2rem; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side a, .side .brand { color: #fff; text-decoration: none; display: block; padding: 0.45rem 0.7rem; border-radius: 0.55rem; font-weight: 700; }
.side a.on { background: #fff; color: #12171c; }
.side .brand { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.8rem; }
.side .group { margin: 1rem 0.7rem 0.25rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8b97a6; font-weight: 800; }
.side form { margin: 0.4rem 0.7rem; }
.side button { background: transparent; color: #fff; border: 1px solid #3a4450; padding: 0.45rem 0.8rem; }
.admin-main { padding: 1.6rem 2rem 3rem; min-width: 0; }
.admin-main h1 { margin-top: 0; }
.admin-main form { max-width: 40rem; }
.admin-main form label { margin-top: 0.85rem; }
.admin-main > .help { color: var(--muted); margin-top: 0; }
.content-board { display: grid; gap: 1rem; }
.amount-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.content-card { background: #fff; border-radius: 1rem; padding: 1.25rem 1.3rem 1.4rem; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05); }
.content-card h2 { margin: 0 0 0.3rem; font-size: 1.35rem; }
.content-card .help { color: var(--muted); margin: 0 0 0.4rem; }
.admin-main .content-card form { max-width: none; }
.content-card input.pounds { width: 8rem; }
.content-card .toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 0.9rem; }
.photo-preview { width: 100%; max-height: 16rem; object-fit: cover; border-radius: 0.8rem; background: #d9e2ea; margin: 0.6rem 0; }
.crop-modal { position: fixed; inset: 0; z-index: 40; background: rgba(12, 18, 24, 0.72); display: grid; place-items: center; padding: 1rem; }
.crop-modal[hidden] { display: none; }
.crop-panel { background: #fff; border-radius: 1rem; padding: 1rem; width: min(52rem, 100%); }
.crop-panel img { max-width: 100%; max-height: 60vh; }
.ck-editor { margin-top: 0.4rem; }
.toasts { position: fixed; right: 1rem; bottom: 1rem; display: grid; gap: 0.5rem; z-index: 30; }
.toast { background: #12171c; color: #fff; margin: 0; padding: 0.85rem 1rem; border-radius: 0.7rem; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); max-width: 22rem; }
.side form { max-width: none; }
body.quiet { background: var(--mist); }
body.quiet main { padding: 2rem 5vw 4rem; }
body.quiet h1 { font-size: 2rem; }
body.quiet ul { line-height: 1.9; }
body.quiet form { max-width: 46rem; }

@media (max-width: 860px) {
  .split, .stats, .cards, .campaign, form.gift, form.plain, .foot-grid, .admin-shell, .amount-pair { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .donate-card { position: static; }
  .hero { min-height: 28rem; }
  .mast { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
