/* ============================================================
   Tributary — community fundraising
   Identity: "Confluence ledger"
   Paper: silt grey-green · Ink: damson · Action: plum
   River blue is reserved for money in motion (raised amounts,
   meters, gifts). Petrona / Albert Sans / Fragment Mono.
   ============================================================ */

:root {
  --paper: #efede6;
  --card: #fbfaf6;
  --card-high: #fffdf8;
  --well: #f3f0e8;

  --ink: #2a2430;
  --ink-soft: #584f61;
  --ink-faint: #8a8292;

  --line: #ddd8cb;
  --line-strong: #c3bcaa;

  --plum: #5c3763;
  --plum-deep: #452950;
  --plum-tint: #ede4ee;

  --river: #33627b;
  --river-deep: #254b60;
  --river-bright: #4c86a4;
  --river-tint: #dce7eb;

  --moss: #5c7350;
  --error: #9e3b34;
  --error-tint: #f4e4e1;

  --font-display: "Petrona", "Iowan Old Style", Georgia, serif;
  --font-body: "Albert Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "Fragment Mono", "SFMono-Regular", Menlo, monospace;

  --radius-card: 14px;
  --radius-ctl: 9px;
  --shadow-soft: 0 1px 2px rgba(42, 36, 48, 0.05), 0 10px 28px rgba(42, 36, 48, 0.06);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
svg { display: block; }

a { color: var(--river-deep); text-decoration-color: rgba(51, 98, 123, 0.4); text-underline-offset: 2px; }
a:hover { color: var(--river); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -0.005em; }

:focus-visible { outline: 2px solid var(--river-bright); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--plum-tint); }

.wrap { max-width: 1088px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

/* ---------- utility type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.mono { font-family: var(--font-mono); }

.amount { font-family: var(--font-mono); color: var(--river-deep); }

.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.small { font-size: 13px; }

/* ---------- header (native chrome, no boxed bar) ---------- */

.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.wordmark strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.wordmark .mark { color: var(--river); flex: none; }

.wordmark small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: -2px;
}

.site-nav { display: flex; align-items: center; gap: 18px; }

.site-nav a { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

.session-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px 4px 12px;
}

.session-chip button {
  border: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  font: 500 12px var(--font-body);
  color: var(--plum);
  cursor: pointer;
}
.session-chip button:hover { background: var(--plum-tint); }

/* ---------- banners / notices ---------- */

.banner {
  display: flex;
  gap: 10px;
  align-items: baseline;
  border-radius: var(--radius-ctl);
  border: 1px solid var(--river-tint);
  background: color-mix(in srgb, var(--river-tint) 55%, var(--card));
  color: var(--river-deep);
  padding: 10px 14px;
  font-size: 13.5px;
  margin: 18px 0 0;
}

.banner.error {
  border-color: #e4c4bf;
  background: var(--error-tint);
  color: var(--error);
}

/* ---------- hero ---------- */

.hero { padding: clamp(30px, 5.5vw, 56px) 0 8px; }

.hero h1 {
  font-size: clamp(31px, 4.6vw, 46px);
  max-width: 21ch;
  margin: 10px 0 12px;
}

.hero .lede { max-width: 58ch; color: var(--ink-soft); font-size: clamp(15px, 1.9vw, 16.5px); margin: 0; }

.confluence-panel {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 12px;
}

.confluence-panel .eyebrow { display: block; margin-bottom: 6px; }

#confluence { width: 100%; min-height: 150px; }

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  border-top: 1px dashed var(--line);
  margin-top: 12px;
  padding-top: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.stat-strip .amount { font-size: 12px; }

/* ---------- sections ---------- */

.section { padding: clamp(26px, 4vw, 42px) 0 6px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }

.section-head h2 { font-size: clamp(22px, 2.8vw, 27px); }

.section-head p { margin: 4px 0 0; }

.stack > * + * { margin-top: 16px; }

/* ---------- cause bands ---------- */

.band {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  margin-top: 18px;
}

.band-media { position: relative; }

.band-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--well);
}

.band.completed .band-media img { filter: saturate(0.72) contrast(0.96); }

.seal {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--plum);
  color: #fdf9fd;
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 6px 11px;
  box-shadow: 0 2px 8px rgba(69, 41, 80, 0.35);
}

.band-body { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.band-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }

.status-dot { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); }
.status-dot.active::before { background: var(--moss); }
.status-dot.completed::before { background: var(--plum); }
.status-dot.paused::before { background: var(--line-strong); }

.band h3 { font-size: clamp(19px, 2.4vw, 23px); }
.band h3 a { color: inherit; text-decoration: none; }
.band h3 a:hover { color: var(--plum); }

.band .desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.band-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; }

.band-foot .when { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- river meter ---------- */

.river-wrap { margin-top: 2px; }

.river-numbers {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
}

.river-numbers .raised { font-family: var(--font-mono); font-size: 15px; color: var(--river-deep); }
.river-numbers .raised b { font-weight: 400; font-size: 17px; }
.river-numbers .goal { color: var(--ink-faint); font-size: 12.5px; }
.river-numbers .pct { font-family: var(--font-mono); font-size: 12px; color: var(--river); }

.river { width: 100%; }

.river svg { width: 100%; height: auto; overflow: visible; }

@keyframes riverflow { to { stroke-dashoffset: -72; } }
.flowline { animation: riverflow 5.5s linear infinite; }

.river-big .river-numbers .raised b { font-size: 23px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-ctl);
  padding: 10px 18px;
  font: 600 14px var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn-primary { background: var(--plum); color: #fdf9fd; }
.btn-primary:hover { background: var(--plum-deep); color: #fdf9fd; }
.btn-primary:disabled { background: var(--line-strong); cursor: default; }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); }

.btn-quiet { background: var(--well); border-color: var(--line); color: var(--ink-soft); }
.btn-quiet:hover { color: var(--ink); border-color: var(--line-strong); }

.btn-sm { padding: 6px 12px; font-size: 12.5px; }

/* ---------- how-it-works strip ---------- */

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }

.how article { border-top: 2px solid var(--line-strong); padding-top: 10px; }
.how article:first-child { border-top-color: var(--river); }
.how article:nth-child(2) { border-top-color: var(--river-bright); }
.how article:last-child { border-top-color: var(--plum); }

.how h3 { font-size: 15.5px; font-family: var(--font-body); font-weight: 600; }
.how p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- campaign page ---------- */

.backlink { display: inline-block; margin-top: 20px; font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.backlink:hover { color: var(--plum); }

.campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
  gap: clamp(24px, 4vw, 44px);
  padding: 18px 0 40px;
  align-items: start;
}

.campaign-story { min-width: 0; }

.campaign-story h1 { font-size: clamp(27px, 3.6vw, 38px); margin: 8px 0 10px; }

.campaign-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-bottom: 14px; }
.campaign-meta .item { font-size: 13px; color: var(--ink-soft); }

.campaign-story .photo { border-radius: var(--radius-card); aspect-ratio: 16 / 9; object-fit: cover; background: var(--well); box-shadow: var(--shadow-soft); }

.campaign-story .river-wrap { margin: 20px 0 6px; }

.campaign-story .prose { color: var(--ink-soft); font-size: 15.5px; max-width: 62ch; }
.campaign-story .prose p { margin: 12px 0 0; }

/* supporters ledger */

.feed { margin-top: 30px; }
.feed h2 { font-size: 21px; margin-bottom: 4px; }
.feed .feed-sub { margin: 0 0 8px; }

.gift {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.gift:last-child { border-bottom: 0; }

.gift .glyph { color: var(--river-bright); padding-top: 3px; }

.gift-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.gift-head .who { font-weight: 600; font-size: 14.5px; }
.gift-head .amount { font-size: 14px; }
.gift-head .ago { font-size: 12px; color: var(--ink-faint); }

.gift .note { margin: 3px 0 0; color: var(--ink-soft); font-size: 14.5px; overflow-wrap: anywhere; }

.gift.is-new { animation: giftin 500ms ease; background: linear-gradient(90deg, color-mix(in srgb, var(--river-tint) 45%, transparent), transparent 70%); border-radius: 8px; }
@keyframes giftin { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- give card ---------- */

.give-card {
  position: sticky;
  top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.give-card h2 { font-size: 20px; margin-bottom: 2px; }
.give-card .give-sub { margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); }

.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.preset { position: relative; }
.preset input { position: absolute; opacity: 0; inset: 0; }
.preset label {
  display: block;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ctl);
  padding: 9px 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  background: var(--card-high);
}
.preset input:checked + label { border-color: var(--river-deep); background: var(--river-tint); color: var(--river-deep); }
.preset input:focus-visible + label { outline: 2px solid var(--river-bright); outline-offset: 2px; }

.custom-amount { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.custom-amount .currency { font-family: var(--font-mono); color: var(--ink-faint); }

.field { margin-top: 13px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; }
.field .hint { font-weight: 400; color: var(--ink-faint); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="url"], textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ctl);
  background: var(--card-high);
  color: var(--ink);
  font: 400 14.5px var(--font-body);
  padding: 9px 11px;
}

textarea { resize: vertical; min-height: 66px; }

input:focus, textarea:focus, select:focus { outline: 2px solid var(--river-bright); outline-offset: 1px; border-color: var(--river-bright); }

input[disabled] { background: var(--well); color: var(--ink-faint); }

.field-error { color: var(--error); font-size: 12.5px; margin-top: 4px; }
.invalid input, .invalid textarea, .invalid select { border-color: var(--error); }

/* anonymous switch */

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.switch-row .lab { font-size: 13px; color: var(--ink-soft); }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; z-index: 1; cursor: pointer; }
.switch .track {
  position: absolute; inset: 0;
  background: var(--line-strong);
  border-radius: 999px;
  transition: background-color 140ms ease;
}
.switch .track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--card-high);
  border-radius: 50%;
  transition: transform 140ms ease;
  box-shadow: 0 1px 2px rgba(42, 36, 48, 0.25);
}
.switch input:checked + .track { background: var(--plum); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--river-bright); outline-offset: 2px; }

/* payment method */

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.pay { position: relative; }
.pay input { position: absolute; opacity: 0; inset: 0; }
.pay label {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ctl);
  background: var(--card-high);
  padding: 9px 11px;
  cursor: pointer;
}
.pay label b { display: block; font-size: 13.5px; font-weight: 600; }
.pay label span { font-size: 11.5px; color: var(--ink-faint); }
.pay input:checked + label { border-color: var(--plum); background: var(--plum-tint); }
.pay input:checked + label span { color: var(--plum); }
.pay input:focus-visible + label { outline: 2px solid var(--river-bright); outline-offset: 2px; }

.demo-note {
  margin-top: 13px;
  padding: 9px 12px;
  background: var(--well);
  border-radius: var(--radius-ctl);
  font-size: 12px;
  color: var(--ink-soft);
  border: 1px dashed var(--line-strong);
}

.give-card .btn-primary { width: 100%; margin-top: 14px; font-size: 15px; padding: 12px; }

.form-alert { margin-top: 12px; }

/* ---------- receipt ---------- */

.receipt-thanks h2 { font-size: 22px; }
.receipt-thanks > p { color: var(--ink-soft); font-size: 14px; margin: 6px 0 14px; }

.receipt {
  background: var(--card-high);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.receipt .r-head { display: flex; justify-content: space-between; letter-spacing: 0.12em; text-transform: uppercase; font-size: 10.5px; color: var(--ink-faint); border-bottom: 1px dashed var(--line); padding-bottom: 8px; margin-bottom: 8px; }

.receipt .r-row { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.receipt .r-row .k { color: var(--ink-faint); flex: none; }
.receipt .r-row .v { text-align: right; overflow-wrap: anywhere; }

.receipt .r-amount { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 9px; color: var(--ink); }
.receipt .r-amount .v { font-size: 21px; color: var(--river-deep); }

.receipt-tax { margin-top: 12px; font-size: 12px; color: var(--ink-soft); }

.receipt-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- sign in ---------- */

.auth-wrap { max-width: 430px; margin: clamp(30px, 6vw, 64px) auto 60px; }

.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: 26px; }

.auth-card h1 { font-size: 26px; margin: 6px 0 4px; }
.auth-card .sub { margin: 0 0 16px; color: var(--ink-soft); font-size: 14px; }

.demo-creds {
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: var(--radius-ctl);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.demo-creds code { font-family: var(--font-mono); font-size: 12px; color: var(--river-deep); overflow-wrap: anywhere; }

.auth-card .btn-primary { width: 100%; margin-top: 16px; }

.auth-toggle { margin-top: 14px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.auth-toggle button { border: 0; background: none; color: var(--plum); font: 500 13px var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- organizer console ---------- */

.console { padding: 26px 0 50px; }

.console-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.console-head h1 { font-size: clamp(24px, 3vw, 30px); }
.console-head .who { font-size: 13px; color: var(--ink-soft); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 18px; overflow-x: auto; }

.tab {
  border: 0;
  background: none;
  font: 500 14px var(--font-body);
  color: var(--ink-soft);
  padding: 9px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  text-decoration: none;
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--plum); border-bottom-color: var(--plum); font-weight: 600; }

.console-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 8px; flex-wrap: wrap; }
.console-toolbar p { margin: 0; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow-soft); }

table.reg { border-collapse: collapse; width: 100%; min-width: 660px; font-size: 13.5px; }

.reg th {
  text-align: left;
  font: 400 10.5px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 11px 14px 9px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.reg td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.reg tbody tr:last-child td { border-bottom: 0; }
.reg tbody tr:hover td { background: color-mix(in srgb, var(--well) 55%, transparent); }

.reg td.num, .reg th.num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
.reg td.num { color: var(--river-deep); }
.reg .cell-note { display: block; color: var(--ink-faint); font-size: 12px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.reg .mini-river { min-width: 130px; }

.reg tfoot td { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); background: var(--well); border-top: 1px solid var(--line); }

/* campaign editor */

.editor {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  margin: 14px 0 22px;
}

.editor h2 { font-size: 20px; }
.editor .editor-sub { margin: 3px 0 6px; font-size: 13px; color: var(--ink-soft); }

.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.editor-grid .span2 { grid-column: 1 / -1; }

.editor-actions { display: flex; gap: 10px; margin-top: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- states ---------- */

.state-block { padding: 34px 20px; text-align: center; color: var(--ink-soft); background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius-card); margin-top: 18px; font-size: 14px; }
.state-block .eyebrow { display: block; margin-bottom: 8px; }
.state-block .btn { margin-top: 12px; }

.skel { border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line); margin-top: 18px; padding: 18px; }
.skel .bone { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--well) 25%, var(--line) 50%, var(--well) 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; margin-top: 10px; }
.skel .bone:first-child { margin-top: 0; }
.skel .bone.w40 { width: 40%; } .skel .bone.w70 { width: 70%; } .skel .bone.w90 { width: 90%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line); margin-top: 46px; }
.site-foot .wrap { padding-block: 26px 34px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-foot .fm { max-width: 46ch; font-size: 13px; color: var(--ink-soft); }
.site-foot .fm .wordmark { margin-bottom: 8px; }
.site-foot .legal { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); align-self: flex-end; text-align: right; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flowline { animation: none; }
  .skel .bone { animation: none; }
  .gift.is-new { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .campaign-grid { grid-template-columns: 1fr; }
  .give-card { position: static; }
}

@media (max-width: 760px) {
  .band { grid-template-columns: 1fr; gap: 14px; }
  .band-media img { aspect-ratio: 5 / 2.4; }
  .how { grid-template-columns: 1fr; gap: 12px; }
  .editor-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .site-foot .legal { text-align: left; align-self: flex-start; }
}

@media (max-width: 430px) {
  .wordmark small { display: none; }
  .preset-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav { gap: 12px; }
  .band-foot .btn { width: 100%; }
  .band-foot .when { order: -1; }
}
