/* Beacon Harbour donation pages.
   Brand values from www.beaconharbour.org.hk; layout is a one-screen split (image panel + wide form card). */
:root {
  --accent: #bd1616;
  --accent-tint: #bd161614;
  --coral: #f35f55;
  --apricot: #ffb052;
  --teal: #168da2;
  --paper: #fffefb;
  --paper-warm: #fff7ec;
  --fg: #25252b;
  --muted: #64646f;
  --border: #e2e4ea;
  --field-border: #bd161638;
  --soft-border: #bd161629;
  --focus: #e77840;
  --max: 1240px;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Huninn", "Noto Sans TC", "PingFang TC", sans-serif;
  --shadow-red-btn: 0 7px 0 oklch(74% .145 55), 0 18px 32px oklch(48% .195 25 / .24);
  --shadow-red-btn-hover: 0 9px 0 oklch(74% .145 55), 0 22px 38px oklch(48% .195 25 / .28);
  --shadow-red-btn-active: 0 3px 0 oklch(74% .145 55), 0 10px 22px oklch(48% .195 25 / .2);
  --shadow-sm: 0 1px 2px oklch(22% .02 250 / .04);
  --shadow-md: 0 8px 28px oklch(22% .02 250 / .07);
  color-scheme: light;
}
:root:lang(en) {
  --font-body: "Noto Sans", "Noto Sans TC", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Arsenal", "Noto Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--fg);
  font: 400 16px/1.55 var(--font-body);
}
a { color: var(--accent); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- header (same pieces as the main site, no divider) ---------- */
.site-header {
  width: min(100% - 3rem, var(--max)); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 14px 0 12px;
}
.logo img { height: 48px; width: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav-link { color: var(--fg); text-decoration: none; border-radius: 999px; padding: .55rem .95rem; font-weight: 600; transition: background .18s, color .18s; }
.nav-link:hover { color: var(--accent); background: var(--accent-tint); }
.lang-toggle {
  border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--muted);
  border-radius: 999px; padding: .45rem .9rem; font-size: .875rem; font-weight: 600;
}
.lang-toggle:hover { color: var(--fg); border-color: var(--fg); }

/* ---------- layout: harbour scenery as the page background ---------- */
.backdrop { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--paper); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 45%; }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 40% at 14% 16%, #fffefbe6 0%, #fffefb99 45%, #fffefb00 100%),
    linear-gradient(90deg, #fff9ef14 0%, #fff9ef1f 45%, #fffefb8c 62%, #fffefbcc 100%);
}
.layout {
  flex: 1; min-height: 0;
  width: min(100% - 3rem, var(--max)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); grid-template-rows: minmax(0, 1fr);
  gap: 2.5rem; align-items: stretch;
}
.page-result .layout { grid-template-columns: minmax(0, 1fr) minmax(0, 700px); }
.hero-side { grid-area: 1 / 1; position: relative; min-height: 0; }
.visual-copy { position: relative; z-index: 1; padding: 1.5rem 0 0 .5rem; max-width: 30rem; }
.visual-copy h1 { margin: 0; color: var(--accent); font: 400 clamp(2.6rem, 3.6vw, 3.6rem)/1.05 var(--font-display); }
.visual-copy p { margin: .7rem 0 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.55; }
.visual-person {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: min(76%, 580px); width: auto; max-width: none;
}
.page-result .visual-person { height: min(84%, 620px); }

/* ---------- card ---------- */
.donation-card, .result-card {
  grid-area: 1 / 2; align-self: center;
  position: relative; overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--soft-border);
  border-radius: 1.35rem 1.35rem 2.4rem;
  padding: calc(1.4rem + 6px) 1.9rem 1.25rem;
  box-shadow: 8px 9px 0 #ffb0527a, 0 20px 44px #25252b14;
}
.donation-card::before, .result-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px;
  background: linear-gradient(90deg, var(--coral) 0 33.34%, var(--apricot) 33.34% 66.67%, var(--teal) 66.67%);
}
.donation-card h2 { margin: 0 0 .85rem; font-size: 1.5rem; font-weight: 800; line-height: 1.25; }

/* progress: three dots on a line (as on Greenpeace HK) */
.donation-progress { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.donation-progress li { position: relative; min-width: 0; color: var(--muted); }
.donation-progress li + li::before {
  content: ""; position: absolute; top: .45rem; right: 50%; width: 100%; height: 2px; background: #bd161626;
}
.donation-progress li.is-active::before, .donation-progress li.is-complete::before { background: var(--accent); }
.step-control { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 100%; padding: 0; border: 0; background: none; color: inherit; }
button.step-control:not(:disabled) { cursor: pointer; }
button.step-control:not(:disabled):hover .step-label { color: var(--accent); }
.step-dot { width: 1rem; height: 1rem; border-radius: 50%; background: #fff; border: 2px solid #bd161647; }
.is-active .step-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px #bd16161f; }
.is-complete .step-dot { background: var(--accent); border-color: var(--accent); }
.is-active, .is-complete { color: var(--fg); }
.step-label { font-size: .875rem; font-weight: 700; }

.step fieldset { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.step legend, .field-label { display: block; margin-bottom: .4rem; padding: 0; font-size: .9375rem; font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); }

/* segmented controls (as on the main site) */
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); }
.segmented label { position: relative; min-width: 0; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; min-height: 3rem; padding: .4rem;
  background: var(--paper-warm); border: 1px solid var(--soft-border); margin-left: -1px;
  font-size: 1.0625rem; font-weight: 700; text-align: center; line-height: 1.25; cursor: pointer;
  transition: background .15s, color .15s;
}
.segmented label:first-child > span { border-radius: .55rem 0 0 .55rem; margin-left: 0; }
.segmented label:last-child > span { border-radius: 0 .55rem .55rem 0; }
.segmented label:not(.is-disabled) > span:hover { background: #ffeed8; }
.segmented input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; position: relative; z-index: 1; }
.segmented .is-disabled > span { cursor: not-allowed; color: #8b8b95; background: #faf6f0; }
.segmented .is-disabled small { font-size: .8125rem; font-weight: 600; }

/* amounts: 2 x 2 tiles */
.amount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.amount-grid label { position: relative; }
.amount-grid input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount-grid span {
  display: flex; align-items: center; justify-content: center; min-height: 3.35rem;
  background: var(--paper-warm); border: 1px solid var(--soft-border); border-radius: .6rem;
  font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background .15s, color .15s;
}
.amount-grid span:hover { background: #ffeed8; }
.amount-grid input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.amount-grid input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* fields */
.custom-amount { display: block; margin-top: .75rem; }
.money-input { position: relative; display: block; }
.money-input .prefix { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.field input, .custom-amount input, .select-control, .cc-other {
  width: 100%; min-height: 2.85rem;
  background: #fff; border: 1px solid var(--field-border); border-radius: .55rem;
  padding: .55rem .8rem; font-size: 1rem;
}
.custom-amount .money-input input { padding-left: 3.3rem; font-variant-numeric: tabular-nums; }
.field input::placeholder, .custom-amount input::placeholder { color: #8f8f99; }
.field input[aria-invalid="true"], .custom-amount input[aria-invalid="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field { display: grid; gap: 0; min-width: 0; align-content: start; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; margin-bottom: .9rem; }
.field--wide { grid-column: 1 / -1; }
.phone-row { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: .5rem; }
.phone-row:has(.cc-other:not([hidden])) { grid-template-columns: minmax(0, 10rem) 5rem minmax(0, 1fr); }
.select-control {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 52%, calc(100% - .75rem) 52%;
  background-size: .35rem .35rem; background-repeat: no-repeat;
}
.hint { color: var(--muted); font-size: .875rem; font-weight: 400; }
.field-error { display: block; margin: .3rem 0 0; color: var(--accent); font-size: .875rem; font-weight: 600; }

.summary-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin: 0 0 .9rem; padding-bottom: .7rem; border-bottom: 1px solid #bd16161f;
}
.summary-line strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.text-button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.receipt { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1rem; align-items: center; }
.receipt > .check-row { grid-column: 1; white-space: nowrap; }
.receipt > #err-receiptRequired { grid-column: 1 / -1; }
.receipt-title { grid-column: 2; grid-row: 1; }
.check-row { display: flex; align-items: flex-start; gap: .65rem; margin: .55rem 0; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.receipt .check-row { margin: 0; }
.check-row input { flex: none; width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--accent); cursor: pointer; }
.check-row.is-disabled { color: var(--muted); cursor: not-allowed; }
.check-row.is-disabled input { cursor: not-allowed; }

/* collection statement dialog – same feel as the welcome modal on www.beaconharbour.org.hk */
.pics-dialog {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: 1.25rem; border: 0; color: var(--fg);
  background: radial-gradient(circle at 50% 38%, #fff7ec33, #0000 44%), #25252b70;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  place-items: center; opacity: 0; transition: opacity .32s;
}
.pics-dialog[open] { display: grid; }
.pics-dialog::backdrop { background: transparent; }
.pics-dialog.is-open { opacity: 1; }
.pics-panel {
  position: relative; width: min(100%, 36rem); max-height: 88dvh; overflow: auto;
  padding: 2.1rem 2rem 1.8rem;
  background: var(--paper); border: 1px solid #ffc48c85; border-radius: 28px 56px;
  box-shadow: 8px 10px 0 #ffc48c6b, 0 20px 50px oklch(22% .02 250 / .1);
  opacity: 0; transform: translateY(.85rem) scale(.97);
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .32s;
}
.pics-dialog.is-open .pics-panel { opacity: 1; transform: none; }
.pics-dialog.is-closing .pics-panel { opacity: 0; transform: translateY(.4rem) scale(.985); }
.pics-dialog h3 { margin: 0 2.5rem .9rem 0; font: 400 1.5rem/1.3 var(--font-display); color: var(--accent); }
.pics-body { font-size: .95rem; line-height: 1.7; color: var(--muted); }
.pics-body p { margin: 0 0 .65rem; }
.pics-body p:first-child { color: var(--fg); font-weight: 600; }
.pics-dialog.is-open .pics-body p { animation: line-in .55s both; }
.pics-dialog.is-open .pics-body p:nth-child(1) { animation-delay: .16s; }
.pics-dialog.is-open .pics-body p:nth-child(2) { animation-delay: .24s; }
.pics-dialog.is-open .pics-body p:nth-child(3) { animation-delay: .32s; }
.pics-dialog.is-open .pics-body p:nth-child(4) { animation-delay: .40s; }
@keyframes line-in { from { opacity: 0; transform: translateY(.45rem); } to { opacity: 1; transform: none; } }
.pics-close {
  position: absolute; top: .9rem; right: 1rem; width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  color: var(--fg); background: #fffefbeb; border: 1px solid #ffffffb8; box-shadow: var(--shadow-sm);
}
.pics-close:hover, .pics-close:focus-visible { color: var(--accent); background: #fff; border-color: #bd161647; }
.pics-close svg { width: 1rem; height: 1rem; }
.pics-actions { display: flex; justify-content: center; margin-top: 1.25rem; }
@media (max-width: 600px) {
  .pics-dialog { padding: 0; place-items: stretch; }
  .pics-panel { width: 100%; max-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 1.25rem 1.6rem; }
}

.turnstile:empty { display: none; }
.turnstile { margin: .5rem 0; }
.form-status { margin: .6rem 0 0; padding: .7rem .9rem; border-radius: .5rem; background: var(--paper-warm); font-weight: 700; font-size: .9375rem; }
.step-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; margin-top: .9rem; }
.card-note { margin: 0 0 1rem; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.secure-note {
  display: flex; align-items: flex-start; gap: .45rem;
  margin: 1rem 0 0; padding-top: .8rem; border-top: 1px dashed #bd161626;
  font-size: .8125rem; line-height: 1.5; color: var(--muted);
}
.secure-note svg { flex: none; margin-top: .15rem; color: var(--teal); }

/* buttons – same as .btn / .btn-primary / .btn-secondary on www.beaconharbour.org.hk */
.btn {
  isolation: isolate; position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  border: none; border-radius: 999px; cursor: pointer; white-space: nowrap; text-decoration: none;
  font-size: 1rem; font-weight: 700;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-red-btn); overflow: visible; }
.btn-primary::before, .btn-primary::after {
  content: ""; pointer-events: none; position: absolute; left: 0; right: 0; width: 100%;
  transform-origin: 0; transition: opacity .2s, transform .28s;
}
.btn-primary::before {
  z-index: 1; height: .34rem; bottom: .12rem; background: var(--accent-warm, #ff9400); opacity: 0; transform: scaleX(.12);
  /* curved brush stroke, repeated every ~90px so it stays wavy on wide buttons */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 46C10 14 22 40 34 16S58 40 70 14S90 38 100 46L100 84C90 68 78 96 66 76S42 96 30 78S10 92 0 84Z'/%3E%3C/svg%3E") repeat-x 0 0 / 92px 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 46C10 14 22 40 34 16S58 40 70 14S90 38 100 46L100 84C90 68 78 96 66 76S42 96 30 78S10 92 0 84Z'/%3E%3C/svg%3E") repeat-x 0 0 / 92px 100%;
}
.btn-primary::after {
  z-index: 2; height: .16rem; bottom: .16rem; background: #e07a00; opacity: 0; transform: scaleX(.1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 40C14 8 26 38 40 10S64 36 76 12S92 30 100 40L100 82C88 64 74 92 60 70S36 92 24 72S8 88 0 82Z'/%3E%3C/svg%3E") repeat-x 18px 0 / 84px 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 40C14 8 26 38 40 10S64 36 76 12S92 30 100 40L100 82C88 64 74 92 60 70S36 92 24 72S8 88 0 82Z'/%3E%3C/svg%3E") repeat-x 18px 0 / 84px 100%;
}
.btn-primary:hover { box-shadow: var(--shadow-red-btn-hover); transform: translateY(-3px) rotate(-1deg); }
.btn-primary:hover::before, .btn-primary:focus-visible::before { opacity: .85; transform: scaleX(1); }
.btn-primary:hover::after, .btn-primary:focus-visible::after { opacity: .95; transform: scaleX(1); }
.btn-primary:active { box-shadow: var(--shadow-red-btn-active); transform: translateY(2px) rotate(0); }
.btn-primary:disabled { opacity: .75; cursor: progress; transform: none; box-shadow: var(--shadow-red-btn); }
.btn-primary.is-busy { opacity: .85; cursor: progress; }
.btn-secondary { background: #fff; color: var(--fg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); min-width: 7.5rem; }
.btn-secondary:hover { box-shadow: var(--shadow-md); border-color: oklch(75% .02 250); }
.btn-block { width: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

.overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgb(255 254 251 / .9); font-weight: 700; font-size: 1.0625rem; }

/* footer: full-width band, the girl "stands" on its top edge */
.site-footer { position: relative; z-index: 1; background: var(--paper-warm); border-top: 1px solid #bd16161f; }
.footer-inner {
  width: min(100% - 3rem, var(--max)); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem;
  padding: .8rem 0 .9rem; font-size: .8125rem; color: var(--muted);
}
.footer-contact { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }

/* ---------- result pages ---------- */
.result-card { padding: calc(2rem + 6px) 2.25rem 2rem; }
.result-card h1 { margin: 0 0 .9rem; color: var(--accent); font: 400 clamp(2.1rem, 3vw, 2.8rem)/1.15 var(--font-display); }
.result-card p { margin: 0 0 .5rem; font-size: 1.0625rem; }
.result-card .ref-line + .result-actions, .result-card p:last-of-type { margin-bottom: 0; }
.ref-line { margin: 1.4rem 0 1.6rem; padding-left: .9rem; border-left: 4px solid var(--focus); }
.ref-line dt { font-size: .875rem; color: var(--muted); }
.ref-line dd { margin: .1rem 0 .15rem; font-size: 1.2rem; font-weight: 800; letter-spacing: .02em; }
.ref-line dd.hint { font-size: .875rem; font-weight: 400; letter-spacing: 0; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.result-actions .link { font-weight: 700; text-underline-offset: 3px; }

/* ---------- shorter desktop screens (e.g. 1366×768) ---------- */
@media (min-width: 1024px) and (max-height: 860px) {
  .site-header { padding: 8px 0 6px; }
  .logo img { height: 42px; }
  .donation-card { padding: calc(1rem + 6px) 1.6rem .9rem; }
  .donation-card h2 { font-size: 1.3rem; margin-bottom: .6rem; }
  .donation-progress { margin-bottom: .8rem; }
  .amount-grid span { min-height: 2.9rem; }
  .step fieldset { margin-bottom: .75rem; }
  .segmented label > span { min-height: 2.7rem; }
  .field input, .custom-amount input, .select-control, .cc-other { min-height: 2.6rem; padding-block: .45rem; }
  .field-grid { gap: .55rem 1rem; margin-bottom: .6rem; }
  .summary-line { margin-bottom: .6rem; padding-bottom: .5rem; }
  .check-row { margin: .35rem 0; }
  .step-actions { margin-top: .6rem; }
  .btn { min-height: 2.75rem; }
  .card-note { margin-bottom: .75rem; }
  .secure-note { margin-top: .7rem; padding-top: .6rem; }
  .visual-copy { padding-top: .75rem; }
  .donation-card h2 { margin-bottom: .45rem; }
  .step-label { font-size: .8125rem; }
  .footer-inner { padding: .55rem 0 .6rem; }
}

/* ---------- tablet & phone: stack ---------- */
@media (max-width: 1023px) {
  .backdrop { position: absolute; height: 430px; }
  .backdrop img { object-position: 15% 40%; }
  .backdrop::after { background: linear-gradient(#fffefb59 0, #fffefb26 40%, #fffefbd9 80%, var(--paper) 100%); }
  .layout, .page-result .layout { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; gap: 0; width: min(100% - 2rem, 640px); padding-bottom: 1.5rem; }
  .hero-side { grid-area: 1 / 1; height: 250px; }
  .page-result .hero-side { height: 210px; }
  .visual-copy { padding: .75rem 0 0; max-width: 58%; }
  .visual-person, .page-result .visual-person { left: auto; right: 2%; transform: none; height: 100%; }
  .donation-card, .result-card { grid-area: 2 / 1; }
  .site-header, .footer-inner { width: min(100% - 2rem, 640px); }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 600px) {
  .header-actions .nav-link { display: none; }
  .logo img { height: 40px; }
  .hero-side { height: 210px; }
  .visual-copy h1 { font-size: 2.5rem; }
  .visual-copy p { font-size: .9375rem; }
  .donation-card, .result-card { padding: calc(1.25rem + 6px) 1.1rem 1.1rem; }
  .field-grid { grid-template-columns: 1fr; }
  .receipt { grid-template-columns: 1fr; }
  .receipt > .check-row { white-space: normal; }
  .receipt-title { grid-column: 1; grid-row: auto; }
  .phone-row { grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); }
  .phone-row:has(.cc-other:not([hidden])) { grid-template-columns: minmax(0, 1fr) 5rem; }
  .phone-row:has(.cc-other:not([hidden])) #phone { grid-column: 1 / -1; }
  .step-actions { grid-template-columns: 1fr; }
  .step-actions .btn-secondary { order: 2; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
