/* Donor site */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: max(16px, 4vw); }
.hero, .catalog, .why, .wall, .faq { padding-block: clamp(48px, 7vw, 96px); }

/* Top bar */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.brand span { display: grid; line-height: 1.15; min-width: 0; }
.brand b { font: 400 19px/1.1 var(--f-display); white-space: nowrap; }
.brand small { font-size: 12px; color: var(--brass-ink); font-weight: 700; letter-spacing: .04em; }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; }
.topnav a:hover { color: var(--ink); }
.basket-btn { flex: none; }
.basket-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--brass); color: #fff; font-size: 13px; }
@media (max-width: 760px) { .topnav { display: none; } .basket-btn { margin-left: auto; } .brand small { display: none; } .brand b { font-size: 17px; } }
@media (max-width: 420px) { .brand b { white-space: normal; font-size: 16px; } .basket-btn { padding: 0 12px; } }

/* Hero: deck slide 1 composition */
.hero { padding-block: clamp(32px, 5vw, 72px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.hero-fig { margin: 0; position: relative; }
.hero-fig img { width: 100%; height: auto; aspect-ratio: 1800 / 1162; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow); }
.hero-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .hero-fig { order: -1; } }

.progress-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brass); padding: 18px 20px; display: grid; gap: 14px; }
.progress-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.progress-figs > div { display: grid; min-width: 0; }
.big { font: 400 clamp(24px, 3vw, 34px)/1.1 var(--f-display); color: var(--ink); }
.lbl { font-size: 13px; color: var(--ink-2); }
.bar { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brass), color-mix(in srgb, var(--brass) 70%, #fff)); transition: width .8s ease; }
.deadline { font-size: 13px; color: var(--ink-2); }

/* Catalog */
.section-head { display: grid; gap: 12px; max-width: 46em; margin-bottom: 28px; }
.section-head h2, .why h2, .faq h2, .wall h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.sub { color: var(--ink-2); font-size: 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding-block: 14px; border-block: 1px solid var(--line); margin-bottom: 8px;
  position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); background: var(--bg); z-index: 20; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font: 700 13px/1.2 var(--f-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-right { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.search input { min-height: 38px; width: 220px; padding: 6px 12px; font-size: 15px; }
.avail-toggle { align-items: center; white-space: nowrap; }
@media (max-width: 700px) { .filters { position: static; } .search input { width: 100%; } .filter-right { width: 100%; } .search { flex: 1; } }

.cat-group { padding-top: 36px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.cat-head h3 { font-size: 28px; }
.cat-head p { color: var(--ink-2); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }

.card { display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: color-mix(in srgb, var(--brass) 55%, var(--line)); box-shadow: var(--shadow); }
.card.is-pledged { background: var(--surface-2); }
.card.in-basket { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.card-top { padding: 18px 20px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card .he { font-size: 19px; color: var(--brass-ink); line-height: 1.2; }
.card-body { padding: 8px 20px 16px; display: grid; gap: 8px; align-content: start; }
.card h4 { font: 400 23px/1.15 var(--f-display); margin: 0; color: var(--ink); }
.card .desc { font-size: 14.5px; color: var(--ink-2); }
.card .recog { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; }
.card .recog::before { content: ""; flex: none; width: 14px; height: 10px; margin-top: 4px; border-radius: 1px; background: linear-gradient(135deg, var(--plaque-a), var(--plaque-b)); }
.units { font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
.units .bar { height: 6px; }
.dedicated { font-size: 13px; color: var(--ink-2); font-style: italic; }
.card-foot { border-top: 1px solid var(--line); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font: 400 26px/1 var(--f-display); color: var(--ink); }
.price small { font: 13px var(--f-body); color: var(--ink-2); }
.empty { padding: 40px 0; color: var(--ink-2); }
.loading { padding: 40px 0; color: var(--muted); }

/* Why */
.why { background: var(--surface-2); }
.why-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.why-copy { display: grid; gap: 20px; }
.why-copy > p { font-size: 17px; color: var(--ink-2); max-width: 36em; }
.why-copy b { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 8px; }
.stats > div { display: grid; gap: 6px; border-top: 2px solid var(--brass); padding-top: 14px; font-size: 14px; color: var(--ink-2); }
.why-map { margin: 0; }
.why-map img { width: 100%; height: auto; border-radius: 2px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .why-in { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } }

/* Donor wall */
.names { list-style: none; padding: 0; margin: 24px 0 0; columns: 3 220px; column-gap: 32px; }
.names li { font: 400 20px/1.6 var(--f-display); break-inside: avoid; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.faq-list { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font: 400 21px/1.3 var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brass-ink); font-family: var(--f-body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 44em; }
@media (max-width: 800px) { .faq-in { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 56px; height: 56px; object-fit: contain; }
.foot-brand div { display: grid; font-size: 14px; color: var(--ink-2); }
.foot-brand b { font: 400 20px var(--f-display); color: var(--ink); }
.foot-contact { font-size: 14px; color: var(--ink-2); display: grid; gap: 2px; }
.foot-links { display: flex; gap: 20px; font-size: 14px; font-weight: 700; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(15,20,34,.45); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); z-index: 70; background: var(--bg); box-shadow: -10px 0 40px rgba(0,0,0,.2);
  display: grid; grid-template-rows: auto 1fr auto; transform: translateX(102%); transition: transform .25s ease; visibility: hidden;
  padding-top: env(safe-area-inset-top, 0px); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; flex: none; }
.drawer-body { overflow-y: auto; padding: 18px 22px; display: grid; gap: 18px; align-content: start; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; background: var(--surface); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total-row .big { font-size: 28px; }
.foot-actions { display: flex; gap: 10px; }
.foot-actions .btn { flex: 1; }

.line { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 14px; }
.line-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.line-head h4 { margin: 0; font: 400 21px/1.2 var(--f-display); }
.line-head .meta { font-size: 13px; color: var(--ink-2); }
.line-amt { font: 400 21px/1.2 var(--f-display); white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brass-ink); font: 700 13px var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 460px) { .two { grid-template-columns: 1fr; } }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font-size: 20px; cursor: pointer; }
.stepper output { min-width: 36px; text-align: center; font-weight: 700; }
.note { font-size: 13px; color: var(--ink-2); background: var(--brass-soft); border-radius: var(--r); padding: 10px 12px; }
.err { font-size: 14px; color: var(--bad); background: var(--bad-soft); border-radius: var(--r); padding: 10px 12px; }
.counter { text-align: right; font-size: 12px; color: var(--muted); }
.counter.over { color: var(--bad); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.fieldset legend { font: 400 20px var(--f-display); padding: 0; margin-bottom: 4px; }
.radios { display: grid; gap: 8px; }
.radios label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; font-size: 15px; }
.radios label:has(input:checked) { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.radios input { accent-color: var(--brass); }
.confirm { display: grid; gap: 18px; text-align: left; }
.confirm .ref { font: 400 34px/1 var(--f-display); letter-spacing: .04em; }
.summary-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.cat-group { scroll-margin-top: 190px; }

/* Gifts of any size (one-time, donor-entered amount) */
.give { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.give-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.give-copy { display: grid; gap: 18px; }
.give h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.give-copy > p { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.circle-cta { margin-top: 10px; padding: 20px; border: 1px solid var(--line); border-left: 4px solid var(--brass); background: var(--surface); display: grid; gap: 10px; justify-items: start; }
.circle-cta h3 { font-size: 24px; }
.circle-cta p { color: var(--ink-2); font-size: 15px; }
.gift-amt input { font: 400 28px/1.2 var(--f-display); min-height: 58px; }
.gift-amt .money > span { font: 400 28px var(--f-display); }
.give-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brass); padding: 22px; display: grid; gap: 20px; box-shadow: var(--shadow); min-width: 0; }
/* founding levels — mirrors the paper pledge form */
.levels { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.levels legend { font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.tier-list { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tier { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px 12px 40px; position: relative; border: 0; border-top: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; text-align: left; font-family: var(--f-body); }
.tier:first-child { border-top: 0; }
.tier::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--ink-2); border-radius: 3px; background: var(--surface); }
.tier[aria-checked="true"] { background: var(--brass-soft); }
.tier[aria-checked="true"]::before { border-color: var(--brass); background: var(--brass); box-shadow: inset 0 0 0 3px var(--surface); }
.tier:hover { background: color-mix(in srgb, var(--brass-soft) 60%, var(--bg)); }
.tier:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }
.tier-name { font: 400 20px/1.2 var(--f-display); min-width: 0; }
.tier-min { font: 700 15px/1.2 var(--f-body); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tier[aria-checked="true"] .tier-min { color: var(--brass); }
@media (max-width: 460px) { .tier { padding: 11px 12px 11px 36px; } .tier::before { left: 12px; } .tier-name { font-size: 17px; } .tier-min { font-size: 13px; } }
.level-pill { display: inline-block; font: 700 12px/1 var(--f-body); letter-spacing: .04em; color: var(--brass); background: var(--brass-soft); border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); padding: 5px 9px; border-radius: 999px; vertical-align: middle; }
.give-total span.level-pill { font: 700 12px/1 var(--f-body); }
.level-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--ink-2); }
.level-row small { flex-basis: 100%; font-size: 13px; color: var(--ink-2); }
.level-badge { display: grid; gap: 6px; justify-items: start; border: 1px solid var(--brass); border-radius: var(--r); padding: 14px 16px; background: var(--brass-soft); }
.level-badge strong { font: 400 26px/1.15 var(--f-display); color: var(--ink); }
.tier-wall { display: grid; gap: 28px; margin-top: 24px; }
.tier-group h3 { font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tier-group .names { margin-top: 12px; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 460px) { .amounts { gap: 6px; } .amt { padding: 10px 2px; } .amt b { font-size: 17px; } .amt small { font-size: 10px; } }
.amt { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); cursor: pointer; font-family: var(--f-body); }
.amt b { font: 400 22px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.amt small { font-size: 11px; color: var(--ink-2); font-weight: 700; letter-spacing: .02em; }
.amt[aria-checked="true"] { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); background: var(--brass-soft); }
.money { display: flex; align-items: center; gap: 8px; }
.money > span { color: var(--muted); font-size: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { flex: 1 1 160px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); cursor: pointer; font-size: 15px; }
.seg label:has(input:checked) { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.seg input { accent-color: var(--brass); }
.give-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
.give-total span { font: 400 20px var(--f-display); }
@media (max-width: 900px) { .give-in { grid-template-columns: 1fr; } }

/* Invited-by-a-circle banner */
.circle-banner { padding-block: 28px; background: var(--ink); color: var(--bg); }
.circle-banner .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.circle-banner .eyebrow { color: var(--brass); }
.circle-banner h2 { color: var(--bg); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin-top: 4px; }
.circle-banner blockquote { margin: 10px 0 0; font: italic 400 19px/1.45 var(--f-display); color: color-mix(in srgb, var(--bg) 85%, transparent); border-left: 3px solid var(--brass); padding-left: 14px; }
.circle-banner .cb-side { display: grid; gap: 12px; }
.circle-banner .big { color: var(--bg); }
.circle-banner .lbl { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.circle-banner .bar { background: color-mix(in srgb, var(--bg) 18%, transparent); }
.circle-banner .names { columns: auto; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.circle-banner .names li { font: 700 12px/1 var(--f-body); background: color-mix(in srgb, var(--bg) 14%, transparent); padding: 6px 10px; border-radius: 999px; }
.circle-banner .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
@media (max-width: 800px) { .circle-banner .wrap { grid-template-columns: 1fr; } }

/* Share panel */
.share { border: 1px solid var(--line); background: var(--surface); padding: 16px; display: grid; gap: 12px; }
.share h3 { font-size: 22px; }
.share p { color: var(--ink-2); font-size: 14px; }
.link-row { display: flex; gap: 8px; }
.link-row input { font-size: 14px; min-height: 40px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btns .btn { flex: 1 1 120px; }

/* ---------- pay your pledge (/pay/) ---------- */
.pay-main { padding-block: clamp(32px, 6vw, 72px); }
.pay-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .pay-in { grid-template-columns: 1fr; } }
.pay-summary { display: grid; gap: 16px; }
.pay-summary h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; }
.pay-totals { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pay-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pay-totals dt { color: var(--ink-2); }
.pay-totals dd { margin: 0; font-weight: 700; }
.pay-totals .bal dt { color: var(--ink); font-weight: 700; }
.pay-totals .bal dd { font: 400 28px/1.1 var(--f-display); }
.pay-history summary { cursor: pointer; font-weight: 700; color: var(--brass-ink); font-size: 14px; }
.pay-history ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 14px; }
.pay-history li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.small-note { font-size: 13px; color: var(--ink-2); }
.pay-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brass); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); min-width: 0; display: grid; gap: 16px; }
#payForm { display: grid; gap: 16px; }
#payForm[hidden] { display: none; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pay-tabs a { text-align: center; padding: 11px 8px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 15px; background: var(--bg); }
.pay-tabs a + a { border-left: 1px solid var(--line); }
.pay-tabs a[aria-selected="true"] { background: var(--brass-soft); color: var(--ink); box-shadow: inset 0 -3px 0 var(--brass); }
.pay-tabs a[hidden] { display: none; }
.pay-tabs:has(a[hidden]) { grid-template-columns: 1fr; }
.pay-fields { display: grid; gap: 14px; }
.pay-fields[hidden] { display: none; }
.three { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 460px) { .three { grid-template-columns: 1fr 1fr; } .three > :last-child { grid-column: 1 / -1; } }
.sola-field { height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.sola-field:focus-within { border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 25%, transparent); }
.sola-field iframe, .sola-field input { display: block; width: 100%; height: 42px; border: 0 !important; box-shadow: none !important; min-height: 0 !important; background: transparent; }
.radios-row { grid-template-columns: 1fr 1fr; }
.ifields-err { color: var(--bad); font-size: 14px; }
.ifields-err:empty { display: none; }
.pay-btn { min-height: 52px; font-size: 17px; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); }
.secure-note svg { flex: none; margin-top: 2px; }
.pay-done { display: grid; gap: 12px; justify-items: start; }
.pay-done h2 { font-size: clamp(26px, 3vw, 34px); }
.pay-done:focus { outline: none; }
.pay-actions { display: grid; gap: 10px; }
.pay-actions .btn { width: 100%; }
.pay-fields .field { align-content: start; }

/* ---------- welcome popup ---------- */
.welcome { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.welcome[hidden] { display: none; }
.welcome-scrim { position: absolute; inset: 0; background: rgba(15, 20, 34, .62); animation: wFade .25s ease-out; }
.welcome-card { position: relative; width: min(920px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--bg); border-top: 4px solid var(--brass);
  box-shadow: 0 30px 80px rgba(0,0,0,.35); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); animation: wRise .3s cubic-bezier(.2,.8,.2,1); outline: none; }
.welcome-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.welcome-x:hover { border-color: var(--brass); }
.welcome-fig { margin: 0; position: relative; min-height: 100%; background: var(--surface-2); }
.welcome-fig > img { width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.welcome-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 28px 16px 14px; color: #fff;
  background: linear-gradient(to top, rgba(15,20,34,.85), rgba(15,20,34,0)); }
.welcome-fig figcaption img { width: 40px; height: 40px; object-fit: contain; background: #F3EEE3; border-radius: 50%; padding: 3px; flex: none; }
.welcome-fig figcaption span { display: grid; line-height: 1.2; }
.welcome-fig figcaption b { font: 400 18px var(--f-display); }
.welcome-fig figcaption small { font-size: 12px; opacity: .85; }
.welcome-body { padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 14px; align-content: start; }
.welcome-body h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; padding-right: 30px; }
.welcome-text { display: grid; gap: 10px; color: var(--ink-2); font-size: 16px; }
.welcome-invite { font-weight: 700; color: var(--brass-ink); }
.welcome-progress .bar { height: 8px; }
.welcome-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.welcome-ways li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.welcome-ways li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
.welcome-ways b { font: 400 18px/1.2 var(--f-display); color: var(--ink); }
.welcome-ways span { font-size: 14px; color: var(--ink-2); }
.welcome-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.welcome-cta .btn { flex: 1 1 180px; }
.welcome-skip { justify-self: center; }
body.modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .welcome { padding: 0; align-items: end; }
  .welcome-card { grid-template-columns: 1fr; max-height: 94dvh; border-radius: 14px 14px 0 0; }
  .welcome-fig { height: 180px; min-height: 0; }
  .welcome-body { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes wFade { from { opacity: 0; } }
@keyframes wRise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .welcome-scrim, .welcome-card { animation: none; } }
.pay-choice label { align-items: flex-start; }
.pay-choice label > span { display: block; min-width: 0; }
.pay-choice label small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.pay-choice input { margin-top: 4px; }
.plaque-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); background: var(--brass-soft); border-radius: var(--r); color: var(--ink); max-width: 34em; }
.plaque-note svg { flex: none; color: var(--brass-ink); margin-top: 2px; }
.plaque-note p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.plaque-note b { color: var(--ink); }
