/* Coupe des Banques Genevoises — feuille de style
   Couleurs principales réglables dans l'administration (--ink, --accent, --gold). */

:root {
  --ink: #13212F;
  --accent: #C8102E;
  --gold: #E3A81B;
  --paper: #F6F2EA;
  --paper-2: #EDE6D8;
  --card: #FFFFFF;
  --text: #1C2733;
  --muted: #5E6A75;
  --line: rgba(19, 33, 47, .12);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19,33,47,.06), 0 8px 28px rgba(19,33,47,.08);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.eyebrow--light { color: var(--gold); }
.h3 { font: 600 20px/1.2 var(--display); margin: 0 0 12px; }
.prose p:last-child { margin-bottom: 0; }
.num { display: inline-block; font: 700 12px/1 var(--sans); color: var(--muted); background: var(--paper-2); border-radius: 6px; padding: 4px 6px; margin-right: 8px; vertical-align: 2px; font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */
.btn { --b: var(--ink); --f: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--b); background: var(--b); color: var(--f); padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { --b: var(--accent); }
.btn--gold { --b: var(--gold); --f: var(--ink); }
.btn--light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: rgba(255,255,255,.1); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246,242,234,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand__mark { width: 38px; height: 38px; color: var(--ink); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { font: 600 17px/1.15 var(--display); max-width: 15ch; }
.brand__logo { height: 46px; width: auto; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* ---------- Héros ---------- */
.hero, .crew-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero--photo::before { content: ""; position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; z-index: -2; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, color-mix(in srgb, var(--ink) 92%, transparent) 30%, color-mix(in srgb, var(--ink) 55%, transparent)); z-index: -1; }
.hero__waves { position: absolute; inset: auto 0 0 0; height: 70%; z-index: -1; opacity: .5; pointer-events: none;
  background:
    radial-gradient(120% 60% at 85% 0%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='24' viewBox='0 0 160 24'%3E%3Cpath d='M0 12 Q20 2 40 12 T80 12 T120 12 T160 12' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.5'/%3E%3C/svg%3E") repeat;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent); mask-image: linear-gradient(to top, #000 10%, transparent); }
.hero--photo .hero__waves { display: none; }
.hero__inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; padding: 84px 0 92px; }
.hero__title { font: 600 clamp(40px, 6.2vw, 76px)/1.02 var(--display); letter-spacing: -.02em; margin-bottom: 20px; text-wrap: balance; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: rgba(255,255,255,.85); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--gold); }
.hero__tagline { font-size: 18px; color: rgba(255,255,255,.8); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tally { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 30px; backdrop-filter: blur(6px); }
.tally__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.tally__amount { font: 600 clamp(46px, 6vw, 68px)/1 var(--display); color: var(--gold); margin: 0 0 18px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tally__amount small { font: 700 18px var(--sans); color: rgba(255,255,255,.7); letter-spacing: 0; }
.tally__goal { font-size: 14px; color: rgba(255,255,255,.75); margin: 10px 0 0; }
.tally__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.tally__stats dt { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.tally__stats dd { margin: 2px 0 0; font: 600 26px/1 var(--display); font-variant-numeric: tabular-nums; }

.meter { height: 10px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.meter--dark { background: var(--paper-2); }
.meter__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 70%, #fff)); transition: width 1s cubic-bezier(.2,.8,.2,1); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2BD47D; box-shadow: 0 0 0 0 rgba(43,212,125,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(43,212,125,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,125,0); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--paper-2); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.section__head--center { justify-content: center; text-align: center; }
.section__title { font: 600 clamp(30px, 4vw, 46px)/1.08 var(--display); letter-spacing: -.015em; color: var(--ink); }
.section__lede { max-width: 42ch; color: var(--muted); margin: 0; }

/* ---------- Classement ---------- */
.section--board { padding-top: 72px; }
.board { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.board--solo { grid-template-columns: 1fr; }
.ranking { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.rank-row { display: grid; grid-template-columns: 44px minmax(0, 1.5fr) minmax(80px, 1fr) auto auto; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 14px; box-shadow: var(--shadow); position: relative; }
.rank-row.is-leader { border-color: color-mix(in srgb, var(--gold) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent), var(--shadow); }
.rank-row__pos { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); font: 700 18px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rank-row.is-leader .rank-row__pos { background: var(--gold); }
.rank-row__id { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.rank-row__names { display: grid; min-width: 0; }
.rank-row__name { font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row__id:hover .rank-row__name { text-decoration: underline; text-underline-offset: 3px; }
.rank-row__assoc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row__bar { height: 8px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.rank-row__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 75%, var(--ink)), var(--accent)); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.rank-row.is-leader .rank-row__bar span { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 80%, var(--ink)), var(--gold)); }
.rank-row__amount { display: grid; text-align: right; min-width: 110px; }
.rank-row__amount strong { font: 700 18px/1.2 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.rank-row__amount small { font-size: 12px; color: var(--muted); }
.rank-row.is-bumped { animation: bump 1.4s ease; }
@keyframes bump { 0% { background: color-mix(in srgb, var(--gold) 30%, #fff); } 100% { background: var(--card); } }
.empty { padding: 32px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--radius); }
.float-plus { position: absolute; right: 120px; top: 6px; font-weight: 800; color: var(--accent); pointer-events: none; animation: floatUp 1.6s ease forwards; }
@keyframes floatUp { from { opacity: 0; transform: translateY(8px); } 20% { opacity: 1; } to { opacity: 0; transform: translateY(-26px); } }

.avatar { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none; background: var(--paper); }
.avatar--mono { display: grid; place-items: center; color: #fff; font: 700 16px/1 var(--sans); letter-spacing: .02em; background: linear-gradient(135deg, hsl(var(--h) 45% 38%), hsl(calc(var(--h) + 30) 50% 28%)); }

/* ---------- Fil des dons ---------- */
.ticker { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; }
.ticker__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.ticker__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 560px; overflow: hidden; }
.tick { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.tick:last-child { border-bottom: 0; }
.tick.is-new { animation: tickIn .7s ease; }
@keyframes tickIn { from { opacity: 0; transform: translateY(-10px); background: rgba(227,168,27,.18); } to { opacity: 1; transform: none; background: transparent; } }
.tick__line { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 15px; }
.tick__amount { color: var(--gold); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tick__crew { margin: 2px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }
.tick__msg { margin: 6px 0 0; font-size: 13px; font-style: italic; color: rgba(255,255,255,.82); }
.tick--empty { color: rgba(255,255,255,.7); }

/* ---------- Étapes ---------- */
.section--steps { padding: 0 0 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 16px/1 var(--display); margin-bottom: 14px; }
.step h3 { font: 600 20px/1.2 var(--display); margin-bottom: 8px; color: var(--ink); }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Événement ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about__text .section__title { margin-bottom: 22px; }
.about__text .prose { font-size: 17px; }
.about__card { background: var(--card); border-radius: 24px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 6px solid var(--accent); }
.facts { margin: 0 0 24px; display: grid; gap: 14px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font: 600 22px/1.25 var(--display); color: var(--ink); }
.about__card-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.program { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.program li { counter-increment: p; display: flex; gap: 12px; align-items: baseline; }
.program li::before { content: counter(p, decimal-leading-zero); font: 700 13px/1 var(--sans); color: var(--accent); min-width: 22px; }

/* ---------- Associations ---------- */
.assocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.assoc { background: var(--card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.assoc__head { display: flex; align-items: center; gap: 14px; }
.assoc__logo { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); }
img.assoc__logo { background: #fff; }
.assoc__logo.avatar--mono { border: 0; }
.assoc__name { font: 600 19px/1.2 var(--display); color: var(--ink); }
.assoc__desc { color: var(--muted); font-size: 15px; margin: 0; }
.assoc__crews { font-size: 14px; margin: 0; }
.assoc__crews a { font-weight: 700; color: var(--ink); }
.assoc__link { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--accent); text-decoration: none; }
.assoc--card { box-shadow: var(--shadow); }

/* ---------- Partenaires ---------- */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.partner a, .partner > span, .partner > img { height: 96px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; text-decoration: none; }
.partner img { max-height: 60px; width: auto; object-fit: contain; }
.partner span { font-weight: 700; color: var(--muted); }

/* ---------- Appel final ---------- */
.section--cta { background: var(--accent); color: #fff; padding: 64px 0; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font: 600 clamp(26px, 3.4vw, 40px)/1.1 var(--display); max-width: 20ch; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); font-size: 14px; padding: 56px 0 28px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 32px; }
.site-footer__name { font: 600 20px/1.2 var(--display); color: #fff; }
.site-footer__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.site-footer a { color: #fff; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Page équipage ---------- */
.crew-hero__inner { padding: 36px 0 64px; }
.crew-hero__id { display: flex; align-items: center; gap: 28px; margin-top: 26px; }
.crew-hero__photo { width: 128px; height: 128px; border-radius: 28px; font-size: 40px; border: 4px solid rgba(255,255,255,.15); }
.crew-hero__title { font: 600 clamp(36px, 5.5vw, 64px)/1.03 var(--display); letter-spacing: -.02em; }
.crew-hero__members { color: rgba(255,255,255,.75); margin: 12px 0 0; font-weight: 600; }
.link-back { background: none; border: 0; padding: 0; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.link-back--light { color: rgba(255,255,255,.75); }
.section--crew { padding-top: 0; }
.crew-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; margin-top: -36px; position: relative; }
.crew-main { display: grid; gap: 20px; align-content: start; }
.crew-total, .crew-pitch, .share { background: var(--card); border-radius: 24px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.crew-total .tally__label { color: var(--muted); }
.crew-total__amount { font: 600 clamp(44px, 6vw, 64px)/1 var(--display); color: var(--ink); margin: 0 0 18px; font-variant-numeric: tabular-nums; }
.crew-total .tally__goal { color: var(--muted); }
.crew-total__count { color: var(--muted); font-size: 14px; margin: 12px 0 18px; }
.crew-side { display: grid; gap: 20px; align-content: start; }
.ticker--crew { position: static; }
.share__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 99px; padding: 9px 16px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.share__btn:hover { background: var(--paper-2); }

/* ---------- Fenêtre de don ---------- */
.donate { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.donate[hidden] { display: none; }
.donate__backdrop { position: absolute; inset: 0; background: rgba(10,18,26,.6); backdrop-filter: blur(3px); animation: fade .2s ease; }
.donate__panel { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--card); border-radius: 26px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: rise .28s cubic-bezier(.2,.8,.2,1); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.donate__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }
.donate__title { font: 600 28px/1.15 var(--display); color: var(--ink); margin-bottom: 22px; }
.donate__step[hidden] { display: none; }
.field { display: block; border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field__label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; padding: 0; }
.field__label em { font-style: normal; font-weight: 500; color: var(--muted); }
.field__hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 1em; }
.field input[type=text], .field select, .field textarea, .amount-other { width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus, .amount-other:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.field textarea { resize: vertical; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; text-align: center; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 800; font-size: 16px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .12s, border-color .12s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.amount-other { margin-top: 10px; }
.check { display: flex; gap: 10px; align-items: center; margin: -6px 0 18px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.donate__error { background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px; }
.donate__fine { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.donate__summary { font-weight: 700; color: var(--ink); margin: 12px 0 16px; }
.donate__checkout { min-height: 300px; }
.donate__thanks { text-align: center; padding: 12px 0; }
.thanks-mark { width: 72px; height: 72px; margin: 0 auto 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 700; z-index: 80; box-shadow: var(--shadow); animation: rise .25s ease; }

/* ---------- Adaptation mobile ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 64px; }
  .board, .crew-layout { grid-template-columns: 1fr; }
  .ticker { position: static; }
  .ticker__list { max-height: 420px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section__head { flex-direction: column; align-items: start; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .rank-row { grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "pos id amount" "bar bar bar" "cta cta cta"; gap: 10px 12px; padding: 14px; }
  .rank-row__pos { grid-area: pos; width: 34px; height: 34px; font-size: 16px; }
  .rank-row__id { grid-area: id; gap: 10px; }
  .rank-row__avatar { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
  .rank-row__bar { grid-area: bar; }
  .rank-row__amount { grid-area: amount; min-width: 0; }
  .rank-row__amount strong { font-size: 16px; }
  .rank-row__cta { grid-area: cta; width: 100%; }
  .float-plus { right: 16px; top: -4px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .brand__text { font-size: 15px; }
  .crew-hero__id { flex-direction: column; align-items: start; gap: 18px; }
  .crew-hero__photo { width: 96px; height: 96px; font-size: 30px; }
  .donate { padding: 0; place-items: end center; }
  .donate__panel { border-radius: 24px 24px 0 0; max-height: 94dvh; padding: 26px 20px 22px; }
  .tally { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.eyebrow sup { text-transform: none; letter-spacing: 0; }
