/* idgaf / IDGAR v2. "Road Works" direction: research/09_design_direction.md */
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 900; font-display: swap; src: url('../fonts/barlow-condensed-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }

:root {
  --ink: #0E0F10; --kerb: #1A1C1F; --kerb2: #232629; --line: #33373C; --paper: #F4F4F0; --muted: #A3A7AD;
  --yellow: #FFD200; --red: #E3241B; --amber: #FF9E00; --green: #00A651; --wa: #25D366;
  --cond: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gut: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body { margin: 0; font-family: var(--body); color: var(--paper); background: var(--ink); line-height: 1.45; font-size: 17px; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.small { font-size: 14px; color: var(--muted); }
.small a { color: var(--paper); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 50; font-weight: 600; }
.skip:focus { left: 8px; }

/* type */
.display, h1, h2 { font-family: var(--cond); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; margin: 0; }
h1.display { font-size: clamp(44px, 12.4vw, 132px); }
h1.display em { font-style: normal; color: var(--yellow); display: block; }
h2.display { font-size: clamp(46px, 12vw, 104px); margin-bottom: 18px; }
.lede { font-size: clamp(17px, 4.4vw, 20px); line-height: 1.4; max-width: 34em; margin: 18px 0 0; color: #DCDDD8; }
.label { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.marker { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--paper); }
.marker > span:first-child { background: var(--yellow); color: var(--ink); padding: 2px 8px; font-size: 15px; letter-spacing: .02em; }
.est { display: inline-block; font-family: var(--cond); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 2px 7px; vertical-align: middle; }

/* buttons: square, heavy, road-sign */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 18px; line-height: 1; border: 0; border-radius: 0; padding: 13px 18px; min-height: 48px; text-decoration: none; cursor: pointer; color: var(--ink); background: var(--paper); transition: transform .12s ease, background-color .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-big { font-size: 22px; min-height: 58px; padding: 16px 24px; }
.btn-yellow { background: var(--yellow); }
.btn-red { background: var(--red); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-wa { background: var(--wa); color: #06140B; }
.btn-line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--line); }
.btn-find { background: var(--kerb2); color: var(--paper); min-height: 52px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--paper); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--yellow); }

/* header: brand, "Where to give" and the always-present "Challenge a mate" */
.top { position: absolute; left: 0; right: 0; top: 0; z-index: 1200; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; line-height: 0; flex: 0 1 auto; min-width: 0; }
.brand svg { height: 50px; width: auto; max-width: 100%; display: block; }
.top-nav { display: flex; align-items: center; gap: 10px; }
.btn-nav { min-height: 44px; font-size: 16px; padding: 10px 14px; white-space: nowrap; }
.btn-give { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.btn-give:hover, .btn-give[aria-current=page] { background: var(--paper); color: var(--ink); }
.cta-challenge::before { content: ''; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* phones: the challenge button is a fixed bottom bar */
@media (max-width: 759px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .cta-challenge { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; min-height: 60px; font-size: 21px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(0,0,0,.45); }
  .cta-challenge:hover { transform: none; }
  body.typing .cta-challenge { display: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* logo lamps come on once, in order: red, amber, green */
.wm-lamps circle[class] { animation: lampon .5s steps(2, jump-none) both; }
.wm-lamps .wm-l1 { animation-delay: .2s; }
.wm-lamps .wm-l2 { animation-delay: .55s; }
.wm-lamps .wm-l3 { animation-delay: .9s; }
@keyframes lampon { from { opacity: .12; } to { opacity: 1; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 0 0; overflow: visible; isolation: isolate;
  background-color: #121315;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::before { /* fallback road markings when no photo: two edge lines and a centre dash */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, transparent calc(50% - 4px), var(--yellow) calc(50% - 4px) calc(50% + 4px), transparent calc(50% + 4px)) center / 100% 120px repeat-y,
    linear-gradient(90deg, transparent 6%, rgba(244,244,240,.5) 6% calc(6% + 6px), transparent calc(6% + 6px) calc(94% - 6px), rgba(244,244,240,.5) calc(94% - 6px) 94%, transparent 94%);
  -webkit-mask: linear-gradient(transparent 0 0); mask: none; opacity: .35;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.hero.has-photo::before { display: none; }
.hero.has-photo .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,16,.55) 0%, rgba(14,15,16,.55) 35%, rgba(14,15,16,.94) 72%, var(--ink) 100%); }
.hero-grid { display: grid; gap: 28px; padding-bottom: 36px; width: 100%; }
.hero-copy { max-width: 820px; }
/* hero carousel: static lead line, rotating excuse, reply in italics */
.excuse-head { font: 800 clamp(22px, 6vw, 36px)/1.05 var(--cond); text-transform: uppercase; letter-spacing: .01em; color: var(--yellow); margin: 0 0 12px; }
.slide { min-height: 13.5rem; max-width: 900px; }
.slide.in { animation: slidein .35s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reason { margin: 0; font: 900 clamp(36px, 10vw, 84px)/.94 var(--cond); text-transform: uppercase; letter-spacing: -.01em; color: var(--paper); text-wrap: balance; }
.slide.long .reason { font-size: clamp(31px, 8.4vw, 68px); }
/* reply: subtle but AA legible on the dark overlay (#C9CCD1 on #1A1C1F is about 11:1) */
.reply { margin: 14px 0 0; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.35; color: #C9CCD1; max-width: 36em; }
.reply em { font-style: italic; }
.gantry-head { font: 800 21px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 14px; }
.challenge { background: var(--red); color: #fff; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 19px; line-height: 1.15; padding: 10px 14px; margin: 0 0 14px; }

/* the calculator: one framed panel, like a gantry sign */
.gantry { background: rgba(14,15,16,.92); border-top: 8px solid var(--yellow); padding: 20px 18px 16px; position: relative; }
.field { margin-bottom: 14px; position: relative; }
.field label { display: flex; align-items: center; gap: 10px; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; margin-bottom: 6px; }
.pin-tag { display: inline-grid; place-items: center; width: 26px; height: 26px; font-family: var(--cond); font-weight: 900; font-size: 16px; color: var(--ink); }
.pin-a { background: var(--yellow); }
.pin-b { background: var(--paper); }
.search-row { display: flex; }
.search-row input { flex: 1; min-width: 0; }
input[type=search], input[type=text], select { font: 600 18px var(--body); color: var(--ink); background: var(--paper); border: 0; border-radius: 0; padding: 13px 14px; min-height: 52px; }
input[type=search]::placeholder, input[type=text]::placeholder { color: #6B6F75; font-weight: 400; }
.suggest { list-style: none; margin: 0; padding: 0; background: var(--paper); color: var(--ink); position: absolute; z-index: 30; left: 0; right: 0; box-shadow: 0 12px 30px rgba(0,0,0,.5); max-height: 340px; overflow: auto; }
.suggest li { border-top: 1px solid #D6D6D0; }
.suggest [role=option] { padding: 10px 14px; cursor: pointer; font-size: 15px; line-height: 1.3; }
.suggest [role=option] strong { display: block; font-weight: 600; font-size: 16px; }
.suggest [role=option] span { display: block; color: #4A4E54; font-size: 14px; }
.suggest [role=option]:hover, .suggest [role=option][aria-selected=true] { background: var(--yellow); }
.suggest [role=option][aria-selected=true] { box-shadow: inset 5px 0 0 var(--ink); }
.suggest .empty { padding: 11px 14px; font-size: 15px; }
.row-actions { display: flex; gap: 10px; margin-top: 18px; }
.row-actions .btn-yellow { flex: 1; }
.status { min-height: 0; margin: 12px 0 0; font-size: 15px; }
.status:empty { display: none; }
.status.busy { color: var(--yellow); }
.status.busy::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--amber); margin-right: 8px; animation: blink 1s steps(1) infinite; }
.status.warn { color: #fff; background: var(--red); padding: 8px 10px; }
@keyframes blink { 50% { opacity: 0; } }
.gantry-foot { margin: 14px 0 0; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.road { height: 46px; background: var(--ink); border-top: 8px solid var(--paper); position: relative; }
.road::after { content: ''; position: absolute; left: 0; right: 0; top: 16px; height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0 64px, transparent 64px 120px); }

/* route + count */
.route { padding: 56px 0 40px; background: var(--ink); }
.route-grid { display: grid; gap: 28px; }
.map { height: 340px; background: #1B1D20; }
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) contrast(.85) brightness(.9); }
.leaflet-container { font-family: var(--body); }
.leaflet-control-attribution { background: rgba(14,15,16,.8) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--paper) !important; }
.leaflet-bar a { border-radius: 0 !important; background: var(--ink); color: var(--paper); border-color: var(--line); }
.map-legend { font-size: 14px; color: var(--muted); margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.map-hint { flex-basis: 100%; }
.lg { display: inline-block; width: 12px; height: 12px; }
.lg-robot { background: var(--red); border-radius: 50%; }
.lg-ped { background: var(--amber); border-radius: 50%; }
.lg-route { background: var(--yellow); height: 5px; width: 20px; }
.lg-est { background: transparent; border: 2px dashed var(--amber); border-radius: 50%; box-sizing: border-box; }
#lg-est[hidden] { display: none; }
#lg-est { display: inline-flex; align-items: center; gap: 6px; }
.pin { display: grid; place-items: center; font-family: var(--cond); font-weight: 900; font-size: 17px; color: var(--ink); box-shadow: 0 0 0 3px var(--ink); }
.pin-a.pin { background: var(--yellow); }
.pin-b.pin { background: var(--paper); }
.robot-tip { font-family: var(--body); }
.count-col { border-top: 8px solid var(--paper); padding-top: 18px; }
.count-row { display: flex; align-items: stretch; gap: 0; }
.count-row input { width: 100%; min-width: 0; flex: 1; font: 900 clamp(96px, 26vw, 168px)/1 var(--cond); color: var(--yellow); background: transparent; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.count-row input::-webkit-outer-spin-button, .count-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step { width: 64px; border: 0; background: var(--kerb2); color: var(--paper); font: 900 40px/1 var(--cond); cursor: pointer; }
.step:hover { background: var(--line); }
.count-sub { font-size: 15px; color: var(--muted); margin: 0 0 6px; }
.count-sub[hidden] { display: none; }
.count-note { font-family: var(--cond); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .02em; margin: 10px 0 6px; }
.quality { margin-top: 16px; font-size: 15px; border-left: 6px solid var(--muted); padding: 2px 0 2px 12px; }
.quality p { margin: 0 0 6px; }
.quality.good { border-color: var(--green); }
.quality.poor { border-color: var(--amber); }

/* result: the number is the headline */
.result { padding: 40px 0 64px; background: var(--ink); border-top: 1px solid var(--line); }
.mega { margin: 0; font-family: var(--cond); font-weight: 900; line-height: .82; letter-spacing: -.02em; }
.mega #annual { display: block; font-size: clamp(92px, 27vw, 300px); color: var(--yellow); font-variant-numeric: tabular-nums; }
.mega .per { display: block; font-size: clamp(30px, 7vw, 64px); text-transform: uppercase; margin-top: .45em; }
.breakdown { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0 0; border-top: 2px solid var(--line); }
.breakdown div { padding: 14px 0; border-bottom: 2px solid var(--line); }
.breakdown dt { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--muted); }
.breakdown dd { margin: 2px 0 0; font: 800 34px/1 var(--cond); }
.result-actions { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 40px; }
.assumptions { border-top: 8px solid var(--paper); padding-top: 18px; }
.assumptions h2 { font-size: 15px; letter-spacing: .06em; }
.sliders { display: grid; gap: 6px 28px; }
.slider { padding: 10px 0; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 18px; gap: 10px; }
.slider output { font-size: 28px; color: var(--yellow); }
.slider .small { margin: 4px 0 0; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin: 6px 0 0; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: repeating-linear-gradient(90deg, var(--paper) 0 18px, transparent 18px 26px); }
input[type=range]::-moz-range-track { height: 4px; background: repeating-linear-gradient(90deg, var(--paper) 0 18px, transparent 18px 26px); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--yellow); border-radius: 0; cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 0; cursor: pointer; }
.formula { margin-top: 12px; }
.formula-line { font: 700 20px/1.3 var(--cond); letter-spacing: .02em; color: var(--paper); margin: 0 0 6px; }

/* challenge: signal red band */
.challenge-sec { background: var(--red); color: #fff; padding: 56px 0 64px; }
.challenge-sec .marker > span:first-child { background: var(--ink); color: var(--paper); }
.challenge-sec .lede { color: #fff; }
.challenge-sec .small { color: rgba(255,255,255,.82); }
.share-grid { display: grid; gap: 32px; align-items: center; }
.paid-toggle { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; align-items: center; margin: 24px 0 0; padding: 12px 14px; background: var(--ink); color: var(--paper); max-width: 520px; cursor: pointer; }
.paid-toggle input { width: 26px; height: 26px; margin: 0; accent-color: var(--green); grid-row: span 2; }
.paid-toggle span { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 20px; }
.paid-toggle em { font-style: normal; font-size: 14px; color: var(--muted); }
.paid-toggle:has(input:checked) { box-shadow: inset 6px 0 0 var(--green); }
.friend { display: block; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; margin: 24px 0 6px; }
.friend span { font-weight: 600; opacity: .8; text-transform: none; letter-spacing: 0; }
#friend { width: 100%; max-width: 360px; display: block; }
.wa-preview { background: #0E0F10; color: var(--paper); font-size: 16px; line-height: 1.4; padding: 14px 16px; margin: 16px 0 16px; max-width: 520px; border-left: 6px solid var(--wa); word-break: break-word; }
.share-more { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 14px; }
.share-more .link { color: #fff; }
.share-more .link:hover { color: var(--ink); }
.card-img { width: 100%; height: auto; display: block; box-shadow: 0 0 0 6px var(--ink); }
@media (min-width: 1080px) { .card-img { box-shadow: 0 0 0 6px var(--ink), 18px 18px 0 6px rgba(0,0,0,.35); } }


/* /charities page */
.page-charities .top { position: sticky; background: rgba(14,15,16,.96); border-bottom: 2px solid var(--line); }
.give-page { padding: 36px 0 72px; }
.give-title { font-size: clamp(56px, 15vw, 128px); margin: 0; }
.fn-mark { color: var(--yellow); text-decoration: none; margin-left: .04em; }
.give-page .lede { margin: 14px 0 0; }
.near-note { margin: 14px 0 0; }
.give-sec { margin-top: 34px; }
.group-head { font-family: var(--cond); font-weight: 900; text-transform: uppercase; font-size: 28px; letter-spacing: .02em; margin: 0; padding-bottom: 10px; border-bottom: 4px solid var(--yellow); line-height: 1; }
.charity-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 36px; }
.charity { display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 2px solid var(--line); align-items: start; }
.charity .logo { width: 64px; height: 64px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.charity .logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.charity .logo.dark { background: var(--kerb2); }
.charity .logo.initials { background: var(--kerb2); color: var(--yellow); font: 900 26px var(--cond); }
.charity h3 { font: 800 23px/1.05 var(--cond); text-transform: uppercase; margin: 0 0 6px; letter-spacing: .01em; }
.charity h3 .near { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 13px; letter-spacing: .08em; color: var(--yellow); border-bottom: 2px solid var(--yellow); }
.charity .blurb { margin: 0 0 6px; font-size: 16px; line-height: 1.4; color: #E4E5E0; }
.charity .area { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.charity .area .k { font-weight: 600; color: #CFD1CC; }
.charity .links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.charity .links .btn { min-height: 44px; font-size: 17px; padding: 10px 18px; }
.charity .links .link { font-size: 15px; }
.tax-note { margin-top: 28px; max-width: 60em; }
.footnote { margin: 28px 0 24px; padding-top: 14px; border-top: 2px solid var(--line); font-size: 14px; color: var(--muted); max-width: 60em; }
.another { margin: -6px 0 16px; }
.another .link { color: #fff; }

/* footer */
.foot { background: #000; color: var(--muted); padding: 44px 0 56px; font-size: 15px; border-top: 8px solid var(--yellow); }
.foot a { color: var(--paper); }
.foot-grid { display: grid; gap: 24px; }
.foot-brand svg { width: 200px; height: auto; }
.foot summary { cursor: pointer; color: var(--paper); font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.sources { padding-left: 18px; }
.sources li { margin: 4px 0; }

/* admin stats page */
.admin { max-width: 900px; margin: 30px auto; padding: 0 18px; }
.admin table { border-collapse: collapse; width: 100%; }
.admin td, .admin th { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; }

/* desktop grid */
@media (min-width: 760px) {
  :root { --gut: 32px; }
  .breakdown { grid-template-columns: repeat(4, 1fr); }
  .breakdown div { padding: 16px 16px 16px 0; }
  .result-actions { flex-direction: row; }
  .sliders { grid-template-columns: 1fr 1fr; }
  .charity-list { grid-template-columns: 1fr 1fr; }
  .map { height: 460px; }
  .brand svg { height: 58px; }
  .top { position: fixed; background: linear-gradient(180deg, rgba(14,15,16,.9), rgba(14,15,16,.72)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .page-charities .top { position: sticky; }
  .btn-nav { font-size: 17px; padding: 10px 18px; }
}
@media (min-width: 1080px) {
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: repeat(12, 1fr); align-items: end; gap: 32px; padding-bottom: 56px; }
  .hero-copy { grid-column: 1 / span 7; }
  h1.display { font-size: clamp(80px, 7.6vw, 128px); }
  .gantry { grid-column: 8 / span 5; }
  .hero.has-photo .hero-bg::after { background: linear-gradient(90deg, rgba(14,15,16,.92) 0%, rgba(14,15,16,.78) 45%, rgba(14,15,16,.5) 100%), linear-gradient(180deg, transparent 60%, rgba(14,15,16,.85) 100%); }
  .route-grid { grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: start; }
  .map-col { grid-column: 1 / span 8; }
  .count-col { grid-column: 9 / span 4; position: sticky; top: 24px; }
  .map { height: 520px; }
  .share-grid { grid-template-columns: repeat(12, 1fr); }
  .share-copy { grid-column: 1 / span 6; }
  .card-img { grid-column: 7 / span 6; }
  .sliders { grid-template-columns: repeat(4, 1fr); }
  .charity-list { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 260px 1fr; }
  .slide { min-height: 15rem; }
  .reason { font-size: clamp(56px, 4.6vw, 70px); }
  .slide.long .reason { font-size: clamp(48px, 3.9vw, 58px); }
  .hero-copy { padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
