/* HP Charitable League — site styles.
   Colours follow the Town of Highland Park website (hptx.org): navy, olive,
   warm off-white and stone. --accent comes from admin settings (default Town navy). */
:root {
  /* Town of Highland Park (hptx.org) palette */
  --accent: #21345b;            /* Town navy (admin setting) */
  --accent-dark: color-mix(in srgb, var(--accent) 70%, black);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, white);
  --navy-deep: #12224a;
  --olive: #737952;             /* section headings, check marks */
  --link: #3c597f;
  --ink: #252627;
  --ink-soft: #3e4246;
  --muted: #696d70;
  --paper: #fbfaf7;
  --cream: #f5f4f0;
  --sand: #e8e5dd;
  --sky: #3c597f;
  --sage: #737952;
  --line: #e2ded4;
  --error: #a3261c;
  --ok: #4f5a2f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 34, 74, .05), 0 8px 24px rgba(18, 34, 74, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 20; border-radius: 8px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--olive); margin-bottom: .6rem; }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 253, 249, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { height: 50px; width: auto; display: block; }
.footer-logo { height: 48px; width: auto; margin-bottom: 1.1rem; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a { text-decoration: none; color: var(--ink-soft); font-weight: 550; font-size: .97rem; }
nav a:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.7rem; font: 650 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-small { padding: .5rem 1.15rem; font-size: .93rem; color: #fff !important; }
.btn-ghost { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75); backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.btn-wide { width: 100%; padding: 1.05rem; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(520px, 78vh, 720px); display: flex; overflow: hidden; background: var(--navy-deep); }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-img { object-fit: cover; object-position: 50% 62%; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 34, 74, .55) 0%, rgba(18, 34, 74, .25) 38%, rgba(18, 34, 74, 0) 60%),
    linear-gradient(90deg, rgba(18, 34, 74, .62) 0%, rgba(18, 34, 74, .35) 38%, rgba(18, 34, 74, 0) 62%); }
.hero-inner { padding-top: clamp(2.6rem, 7vh, 4.5rem); padding-bottom: 3rem; max-width: 1140px; width: 100%; }
.hero-inner > * { max-width: 540px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: #e9e4c9; margin-bottom: .9rem; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.lede { font-size: 1.18rem; }
.hero .lede { color: #f1f5f8; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); max-width: 470px; }
.hero-credit { position: absolute; right: .75rem; bottom: .75rem; margin: 0; padding: .25rem .6rem; border-radius: 999px; background: rgba(18, 34, 74, .62); backdrop-filter: blur(3px); font-size: .72rem; line-height: 1.4; color: rgba(255, 255, 255, .92); letter-spacing: .02em; max-width: calc(100% - 1.5rem); }
@media (max-width: 720px) { .hero-credit { font-size: .66rem; border-radius: 8px; } }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--cream); }

.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { margin: 0; position: relative; isolation: isolate; }
.about-photo img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--sand); border-radius: var(--radius); z-index: -1; }
.about-body { font-size: 1.08rem; color: var(--ink-soft); }
.about-body h2 { color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.facts li { border-left: 3px solid var(--olive); padding: .2rem 0 .2rem 1rem; }
.fact-num { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.fact-label { color: var(--muted); font-size: .92rem; }

.officers { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.officers li { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.officer-initials { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.officer-name { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 700; }
.officer-title { display: block; color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* ---------- Donate ---------- */
.section-donate { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.donate-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.donate-copy { position: sticky; top: 96px; color: var(--ink-soft); }
.trust { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .9rem; }
.trust li { position: relative; padding-left: 1.9rem; }
.trust li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.trust strong { color: var(--ink); }
.check-note { border-top: 1px solid var(--line); padding-top: 1.2rem; font-size: .95rem; }
.check-title { font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.check-note address { font-style: normal; }

/* ---------- Forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form { display: grid; gap: 1.1rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: .6rem; font-size: 1.02rem; }
.preset-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; margin-bottom: 1rem; }
.preset { border: 1.5px solid var(--sand); background: #fff; border-radius: 12px; padding: .85rem 0; font: 700 1.1rem var(--sans); cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s, color .15s; }
.preset:hover { border-color: var(--accent); color: var(--accent); }
.preset.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.field { display: grid; gap: .35rem; }
.field > span { font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.field small { color: var(--muted); font-size: .84rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input:not([type]) { width: 100%; padding: .8rem .9rem; border: 1.5px solid #d6d1c4; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #a09a8f; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.preset:focus-visible, .btn:focus-visible, summary:focus-visible, .check input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.money-input { position: relative; display: flex; align-items: center; }
.money-input input { padding-left: 2rem; padding-right: 3.4rem; font-size: 1.2rem; font-weight: 700; }
.money-symbol { position: absolute; left: .95rem; font-weight: 700; font-size: 1.2rem; color: var(--ink-soft); pointer-events: none; }
.money-code { position: absolute; right: .95rem; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; pointer-events: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.tribute { border: 1px dashed var(--sand); border-radius: 10px; padding: .7rem .9rem; }
.tribute summary { cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--link); list-style: none; }
.tribute summary::before { content: "+ "; }
.tribute[open] summary::before { content: "– "; }
.tribute summary::-webkit-details-marker { display: none; }
.tribute[open] .field { margin-top: .8rem; }

.consents { display: grid; gap: .8rem; background: var(--cream); border-radius: 12px; padding: 1rem 1.1rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.check input { margin-top: .22rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--accent); }
.check strong { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.check small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.reveal { margin-left: 1.85rem; }

.form-error { color: var(--error); background: #fcefed; border: 1px solid #f2cdc8; border-radius: 10px; padding: .75rem .95rem; margin: 0; font-size: .95rem; }
.form-success { color: var(--ok); background: #eef0e4; border: 1px solid #d3d8bd; border-radius: 10px; padding: .75rem .95rem; margin: 0; font-weight: 600; }
.fine { display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .84rem; color: var(--muted); margin: -.2rem 0 0; }
.cf-turnstile { min-height: 0; }

.signup-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.signup-main { color: var(--ink-soft); }
.signup-main h2 { color: var(--ink); }
.signup-main .card { margin-top: 1.5rem; }
.signup-photo { margin: 0; position: relative; isolation: isolate; }
.signup-photo img { width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.signup-photo::after { content: ""; position: absolute; inset: 14px 14px -14px -14px; border: 2px solid var(--sand); border-radius: var(--radius); z-index: -1; }

/* ---------- Around Highland Park ---------- */
.places-section { padding-top: 0; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.places { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.places figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream); }
.places img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.places figure:hover img { transform: scale(1.04); }
.places figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .7rem; color: #fff; font-weight: 650; font-size: .95rem;
  background: linear-gradient(180deg, rgba(18, 34, 74, 0) 0%, rgba(18, 34, 74, .75) 100%); }
@media (max-width: 520px) {
  .places { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; margin-right: -1.5rem; padding-right: 1.5rem; }
  .places li { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .places img { transition: none; } }

/* ---------- Policy pages ---------- */
.policy { padding-top: clamp(2.5rem, 6vw, 4rem); }
.policy h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .2rem; }
.policy-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.4rem; }
.policy .lede { color: var(--ink-soft); margin-bottom: 2rem; }
.policy h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.policy p, .policy li { color: var(--ink-soft); }
.policy ul { padding-left: 1.2rem; margin: 0 0 1rem; display: grid; gap: .45rem; }
.policy-contact { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.check small a, .fine a { color: inherit; text-decoration: underline; }
.fine { flex-wrap: wrap; text-align: center; }
.footer-admin { margin-top: .6rem; opacity: .7; font-size: .88rem; }

/* ---------- Admin ---------- */
.admin { padding-top: clamp(2rem, 5vw, 3rem); }
.admin h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .3rem; }
.admin h2 { font-size: 1.35rem; margin: 2.4rem 0 .8rem; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.admin-who { color: var(--muted); font-size: .92rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: 0; }
.admin-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-outline { background: #fff; color: var(--accent) !important; box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent) !important; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; margin-left: .35rem; vertical-align: middle; }
.badge-test { background: #f6ecd2; color: #7a5a12; }
.badge-live { background: #e4ecd8; color: #3f4f1f; }
.stats { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.stat-num { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.stat-label { color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { padding: .65rem .85rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.admin-table th { background: var(--cream); font-weight: 650; color: var(--ink-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table .empty { text-align: center; color: var(--muted); padding: 1.4rem; }
.status { font-size: .8rem; font-weight: 650; padding: .12rem .5rem; border-radius: 999px; background: var(--cream); color: var(--ink-soft); }
.status-paid { background: #e4ecd8; color: #3f4f1f; }
.status-refunded, .status-disputed, .status-failed { background: #fbe9e6; color: #8a2a1e; }
.status-pending { background: #f6ecd2; color: #7a5a12; }
.admin-foot { color: var(--muted); font-size: .88rem; margin-top: 1.4rem; }

.admin-tabs { display: flex; gap: .3rem; flex-wrap: wrap; background: var(--cream); padding: .3rem; border-radius: 999px; }
.admin-tabs a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .92rem; padding: .45rem 1rem; border-radius: 999px; }
.admin-tabs a.active { background: #fff; color: var(--accent); box-shadow: var(--shadow); }
.admin-title-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.admin-title-row h1 { margin: 0; }
.admin-note { color: var(--muted); font-size: .88rem; margin: .7rem 0 0; }
.flash { border-radius: 10px; padding: .75rem 1rem; margin: 1.2rem 0 0; font-weight: 550; }
.flash-ok { background: #eef0e4; color: #3f4f1f; border: 1px solid #d3d8bd; }
.flash-err { background: #fcefed; color: var(--error); border: 1px solid #f2cdc8; }
.flash-warn { background: #fbf3df; color: #6e5110; border: 1px solid #ecdcae; font-weight: 500; }
.admin-form { gap: .9rem; }
.admin-form > .btn, .admin-form > button { justify-self: start; min-width: 140px; }
.admin-form textarea, .admin-form select, .officer-row input { width: 100%; padding: .7rem .8rem; border: 1.5px solid #d6d1c4; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.admin-form textarea { resize: vertical; line-height: 1.5; }
.admin-form input[type="color"] { width: 4rem; height: 2.6rem; padding: .15rem; border: 1.5px solid #d6d1c4; border-radius: 10px; background: #fff; }
.admin-form input[type="file"] { font-size: .9rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.narrow-field { max-width: 260px; }
.form-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.inline-form { margin-top: .8rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; color: var(--link); text-decoration: underline; cursor: pointer; }
.link-btn.danger { color: var(--error); }
.actions { display: flex; gap: .8rem; align-items: center; }
.actions form { display: inline; margin: 0; }
/* Donor address in the gift list, and its inline editor. */
.cell-addr { margin-top: .15rem; }
.addr-edit { margin-top: .3rem; font-size: .85rem; }
.addr-edit summary { cursor: pointer; color: var(--link); }
.addr-edit form { display: grid; gap: .4rem; margin-top: .4rem; width: 260px; }
.addr-edit textarea { font: inherit; font-size: .88rem; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: 6px; resize: vertical; }
.addr-edit .btn { justify-self: start; }
.actions a { font-size: .9rem; }
.cell-sub { display: block; color: var(--muted); font-size: .8rem; white-space: normal; max-width: 280px; }
.cell-ok { color: #3f4f1f; font-size: .85rem; }
.cell-warn { color: #8a2a1e; font-size: .85rem; text-decoration: underline dotted; cursor: help; }
.status-void { background: #ecebe8; color: #6b6b6b; text-decoration: line-through; }
.jump { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.officer-list { display: grid; gap: .6rem; }
.officer-row { display: grid; grid-template-columns: 4rem 1fr 1.6fr auto auto; gap: .6rem; align-items: center; }
.officer-add { border-top: 1px dashed var(--line); padding-top: .8rem; margin-top: .2rem; grid-template-columns: 4rem 1fr 1.6fr auto; }
.order-input { text-align: center; }
.img-preview { background: var(--cream); border-radius: 10px; padding: .8rem; display: grid; place-items: center; min-height: 120px; }
.img-preview img { max-height: 160px; width: auto; border-radius: 6px; }
.img-preview-logo img { max-height: 70px; }
.backup-list { padding-left: 1.1rem; margin: .4rem 0 1rem; }
.footer-logo-custom { filter: brightness(0) invert(1); max-width: 240px; object-fit: contain; }
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .officer-row, .officer-add { grid-template-columns: 3rem 1fr; }
  .officer-row > :nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- Thanks ---------- */
.thanks { min-height: 60vh; display: grid; align-items: center; }
.thanks-mark { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-size: 2rem; }
.thanks .muted { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9d1de; padding: 3.5rem 0 3rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr 1.4fr; gap: 2rem; }
.footer-links { display: grid; gap: .45rem; align-content: start; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.footer-legal { color: #a3aec2; font-size: .88rem; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .about, .donate-grid, .signup-grid { grid-template-columns: 1fr; }
  .signup-photo { order: -1; }
  .signup-photo img { max-height: 420px; object-position: 50% 45%; }
  .donate-copy { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  nav a:not(.btn) { display: none; }
  .brand-logo { height: 40px; }
  .hero { min-height: 560px; }
  .hero-img { object-position: 56% 100%; }
  .hero-shade { background: linear-gradient(180deg, rgba(18, 34, 74, .78) 0%, rgba(18, 34, 74, .5) 42%, rgba(18, 34, 74, .05) 70%); }
  .hero-inner { padding-top: 2.4rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-photo img { max-height: 340px; }
  .about-photo::after { display: none; }
  .signup-photo img { max-height: 320px; object-position: 50% 45%; }
  .signup-photo::after { display: none; }
  .preset-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .preset, input { transition: none; }
}
