/* Giving Tuesday 2026, The Moscow Times.
   In the design of the manager's live club page, "Join The Undesirables" (undesirables.vercel.app;
   Projects/undesirables-club/site/plans.html), chosen 22 Nov 2026. Its rules, kept here:
   - Three grounds only: blue #2619D1, white #FFF, amber #FFAB00. Amber never touches blue, and no two bands in a
     row share a ground, so white falls on every second band. Adding a band means re-solving the order.
   - No colour carries an alpha: where something steps back, it changes size or weight, not opacity.
   - Square corners everywhere.
   - Merriweather for what you read, Roboto for what you press or name. (The club's brush face for one word per heading
     is not used: the manager, 22 Nov 2026.)
   - Red #E81900 for the hero's main button (turning blue under the pointer, as JOIN does) and, as the extrusion, under
     the campaign's name in the headline; "Support now" and "Support us" are blue. No TMT yellow (the manager, 22 Nov 2026).
   Earlier designs: index-v3.html with styles-v3.css (TMT fonts on the blue), index-v2-cards.html, index-v1.html. */

:root{
  --h1:clamp(2.125rem,24px + 3.4vw,6rem);  /* the hero headline; the size rules for short screens change it, and section titles
     follow it (at most 80% of it, never under 18 px), so a heading never outranks the headline (review, 22 Nov 2026) */
  --blue:#2619D1;
  --blue-dark:#1B11A6;
  --white:#FFFFFF;
  --amber:#FFAB00;
  --red:#E81900;
  --paper:#ECEAFB;          /* the club page's pale lilac, solid: tracks, hovers, unselected marks */
  --ink:#171717;
  --ink-soft:#3F4046;
  --muted:#6B7078;
  --body:Merriweather,Georgia,"Times New Roman",serif;
  --ui:Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;
  --gutter:clamp(20px,3.4vw,48px);
  --rail:1152px;
  --frame-pad:clamp(10px,2vw,24px);  /* the space between a frame line and the content: taken out of the side margin */
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--body);font-size:clamp(15px,11px + .35vw,20px);line-height:1.6}
h1,h2,h3,p,ul,figure,blockquote{margin:0;padding:0}
ul{list-style:none}
a{color:inherit}
img,svg{display:block}
button{font:inherit;color:inherit;background:none;border:0;border-radius:0;padding:0;cursor:pointer}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ------------------------------------------------------------------ bands, and the frame
   Every band's content sits in one centred column drawn with a 1 px line down each side. The lines run on from band
   to band; a line across closes the column under the navbar and divides the sections inside a band. (The frame of
   the Guardian's support page, which the manager liked on 22 Nov.) Each line is a solid colour a step off its ground.
   The lines sit in the side margin, outside the content, so the content keeps the width it had without them. */
.band{padding:0 calc(var(--gutter) - var(--frame-pad))}
.band--blue{--frame:#5448E2;background:var(--blue);color:var(--white)}
.band--white{--frame:#D9D6F2;background:var(--white);color:var(--ink)}
.band--blue :focus-visible{outline-color:var(--white)}
.rail{max-width:calc(var(--rail) + 2 * var(--frame-pad));margin:0 auto;padding:clamp(3.5rem,6vw,6rem) calc(var(--frame-pad) - 1px);
  border-left:1px solid var(--frame);border-right:1px solid var(--frame)}
.rule{height:0;margin:clamp(3rem,5vw,5rem) calc(var(--frame-pad) * -1);border:0;border-top:1px solid var(--frame)}

/* a heading followed by a paragraph sits close to it, the same everywhere */
.title:has(+ p){margin-bottom:.45em}
/* Section headings: the club's Merriweather Black, flat blue (white on the blue), centred; no capitals anywhere on the page
   (manager, 22 Nov) */
.title{margin:0 0 clamp(2rem,3vw,3.25rem);text-align:center;font-family:var(--body);font-weight:900;font-size:max(1.125rem,min(clamp(2.125rem,15px + 2.7vw,4rem),calc(var(--h1) * .8)));
  line-height:1.05;letter-spacing:-.015em;color:var(--blue);text-wrap:balance}
.band--blue .title{color:var(--white)}  /* white on the blue: no amber here (manager, 22 Nov) */

/* ------------------------------------------------------------------ hero: the full first screen on the blue */
.hero{--frame:#5448E2;position:relative;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;padding:0 calc(var(--gutter) - var(--frame-pad));
  background:var(--blue);color:var(--white);text-align:center}
.hero :focus-visible{outline-color:var(--white)}
.hero__head{flex:none;display:flex;align-items:center;justify-content:center;gap:20px;height:98px}
.hero__logo img{height:24px;width:auto}
.hero__gt{height:28px;width:auto}
/* the framed column: a line across under the navbar, the side lines running on into the bands below; the group centred in it */
.hero__body{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:calc(var(--rail) + 2 * var(--frame-pad));
  margin:0 auto;padding:32px calc(var(--frame-pad) - 1px) 40px;border:1px solid var(--frame);border-bottom:0}

/* the countdown, right above the headline */
.hero__timer{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 1.1em;margin:0 0 1.1em;font-family:var(--ui)}
.hero__timer[hidden]{display:none}
.give__unit{display:inline-flex;align-items:baseline;gap:.35em;white-space:nowrap;font-size:.875em;font-weight:700}
.give__unit b{font-family:var(--body);font-size:2.15em;font-weight:900;line-height:1;letter-spacing:0;font-variant-numeric:tabular-nums lining-nums}

/* the headline: Merriweather Black; the campaign's name amber over the red extrusion, the club page's one effect */
.hero__title{max-width:24ch;margin:0 auto;font-family:var(--body);font-size:var(--h1);font-weight:900;
  line-height:1.16;letter-spacing:-.02em;text-wrap:balance}
.hero__title em{display:inline;color:var(--amber);font-style:normal;letter-spacing:.02em;white-space:nowrap;
  text-shadow:-0.0027em 0.0027em 0 #E81900,-0.0053em 0.0053em 0 #E81900,-0.0080em 0.0080em 0 #E81900,-0.0107em 0.0107em 0 #E81900,
    -0.0134em 0.0134em 0 #E81900,-0.0160em 0.0160em 0 #E81900,-0.0187em 0.0187em 0 #E81900,-0.0214em 0.0214em 0 #E81900,
    -0.0240em 0.0240em 0 #E81900,-0.0267em 0.0267em 0 #E81900,-0.0294em 0.0294em 0 #E81900,-0.0320em 0.0320em 0 #E81900,
    -0.0347em 0.0347em 0 #E81900,-0.0374em 0.0374em 0 #E81900,-0.0401em 0.0401em 0 #E81900,-0.0427em 0.0427em 0 #E81900,
    -0.0454em 0.0454em 0 #E81900,-0.0481em 0.0481em 0 #E81900}
@media (max-width:479px){.hero__title em{white-space:normal}}
.hero__sub{max-width:40rem;margin:.8em auto 0;font-size:1.0625em;line-height:1.6;text-wrap:balance}
.hero__sub a{color:var(--white)}
.thanks__go{margin-top:2em}

/* The choice of gift, as one control: a white card holding the period row (with the currency picker), the amount row
   and the red button. Each switcher is its own outlined box, as on the club page, with the chosen option inset and
   filled blue; 16 px inside the card and 12 px between rows, so nothing touches. The one-time gift has its own block below the hero. */
.hero__give{display:grid;grid-auto-rows:1fr;gap:12px;width:100%;max-width:34em;margin:1.9em auto 0;padding:16px;background:var(--white);color:var(--ink);text-align:center}
.hero__row{display:flex;gap:12px}
.give__switch{display:grid;padding:4px;border:2px solid var(--paper)}
.give__freq{flex:1;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.give__amounts{grid-template-columns:repeat(4,minmax(0,1fr))}
.give__switch button{display:flex;align-items:center;justify-content:center;gap:.4em;min-width:0;height:3em;padding:0 .5em;background:var(--white);color:var(--ink-soft);
  font-family:var(--ui);font-size:1em;font-weight:400;line-height:1.2;white-space:nowrap;transition:background-color .15s ease,color .15s ease}
.give__switch button:hover{background:var(--paper);color:var(--ink)}
.give__switch button[aria-pressed="true"]{background:var(--blue);color:var(--white)}
.give__switch button:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
.give__switch button[aria-pressed="true"]:focus-visible{outline-color:var(--white);outline-offset:-5px}
.give__heart{flex:none;width:.875em;height:.875em;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* the currency picker: the sign in a blue square, the code, a chevron; a small list of US dollar and Euro */
.give__currency{position:relative;flex:none}
.give__currency-btn{display:flex;align-items:center;gap:.6em;height:calc(3em + 12px);padding:4px .9em 4px 4px;border:2px solid var(--paper);background:var(--white);color:var(--ink-soft);
  font-family:var(--ui);font-size:1em;line-height:1.2;transition:background-color .15s ease,color .15s ease}
.give__currency-btn:hover,.give__currency-btn[aria-expanded="true"]{background:var(--paper);color:var(--ink)}
.give__currency-btn:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
.give__currency-sym{display:grid;place-items:center;flex:none;width:2.5em;height:2.5em;background:var(--blue);color:var(--white);font-family:var(--ui);font-size:1em;line-height:1}
.give__currency-btn .give__currency-sym{width:3em;height:3em}
.give__currency-chev{flex:none;width:.75em;height:.75em;transition:transform .15s ease}
.give__currency-btn[aria-expanded="true"] .give__currency-chev{transform:rotate(180deg)}
.give__currency-list{position:absolute;top:calc(100% + 8px);right:-4px;z-index:30;min-width:13.5em;margin:0;padding:4px;background:var(--white);
  border:2px solid var(--blue);text-align:left}  /* solid edge, no shadow: no colour carries an alpha (club rule) */
.give__currency-list[hidden]{display:none}
.give__currency-opt{display:flex;align-items:center;gap:.65em;height:3em;padding:0 .8em 0 .25em;color:var(--ink);font-family:var(--ui);font-size:1em;line-height:1.2;cursor:pointer}
.give__currency-opt:hover,.give__currency-opt:focus{background:var(--paper);outline:none}
.give__currency-opt:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
.give__currency-opt .give__currency-sym{background:var(--paper);color:var(--ink)}
.give__currency-opt[aria-selected="true"] .give__currency-sym{background:var(--blue);color:var(--white)}
.give__currency-name{margin-left:auto;padding-left:1em;font-size:.875em;color:var(--ink-soft)}

/* "Other": the reader's own amount, a field in the card's own outlined box */
.give__other{display:flex;align-items:center;gap:.4em;padding:4px 4px 4px 1em;border:2px solid var(--paper);background:var(--white);font-family:var(--ui);cursor:text}
.give__other[hidden]{display:none}
.give__other-sign{color:var(--ink)}
.give__other input{flex:1;min-width:0;height:3em;border:0;border-radius:0;outline:0;background:transparent;color:var(--ink);font-family:var(--ui);font-size:1em;font-weight:400;
  -moz-appearance:textfield;appearance:textfield}
.give__other input::-webkit-outer-spin-button,.give__other input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.give__other:has(input[aria-invalid="true"]){border-color:var(--red)}

/* the red button: the club page's JOIN, blue under the pointer; written as a sentence, not in capitals (manager, 22 Nov) */
.give__cta{display:inline-flex;align-items:center;justify-content:center;min-height:3em;padding:.4em 1.4em;border:1.5px solid var(--red);background:var(--red);color:var(--white);
  font-family:var(--ui);font-size:1.125em;font-weight:800;line-height:1.2;text-align:center;text-decoration:none;
  transition:background-color .15s ease,border-color .15s ease}
.give__cta:hover{background:var(--blue);border-color:var(--blue)}
.give__cta:active{background:var(--blue-dark);border-color:var(--blue-dark)}
.hero__give .give__cta{display:flex;min-height:0}
.hero__give .give__cta:focus-visible{outline:3px solid var(--blue);outline-offset:-6px}


/* ------------------------------------------------------------------ white band: support us just once, then progress and why we ask */
.once{display:flex;flex-direction:column;align-items:center;text-align:center}
.once__why{max-width:min(40em,46rem);margin-bottom:1.5em;font-size:1.0625em;line-height:1.6;text-wrap:pretty}
/* "Support now" in the brand blue rather than red (manager, 22 Nov); a step darker under the pointer */
.once .give__cta{background:var(--blue);border-color:var(--blue)}
.once .give__cta:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.once .give__cta:active{background:#140C80;border-color:#140C80}

/* the progress band, centred on the blue: the heading and the paragraph in white, then a white panel
   (square, solid) with the raised figure in blue on the left, the goal on the right, a blue bar on the pale track and
   the counts under it. No amber. */
.progress{max-width:46rem;margin:0 auto;text-align:center}
.progress .title{color:var(--white)}
.progress__say{max-width:40em;margin:0 auto 1.5em;font-size:1.0625em;line-height:1.6;color:var(--white);text-wrap:pretty}
.give__closes{margin:0 auto 1.5em;font-size:1.0625em;color:var(--white)}
.give__closes strong{color:var(--white)}
.give__panel{margin-top:0;padding:1.4em 1.6em 1.2em;background:var(--white);color:var(--ink);text-align:left}
.give__raised{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.25em 1.5em;font-size:1.125em;line-height:1.2}
.give__raised strong{margin-right:.15em;font-size:clamp(2.25rem,1.5rem + 2.4vw,3.5rem);font-weight:900;line-height:1;letter-spacing:-.02em;color:var(--blue)}
.give__goal{font-family:var(--ui);font-weight:800;color:var(--blue)}
.give__track{height:14px;margin-top:.9em;background:var(--paper);overflow:hidden}
.give__fill{width:0;height:100%;background:var(--blue);transition:width .6s ease}
.give__stats{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:.9em;font-family:var(--ui);font-size:.9375em;color:var(--ink-soft)}
.give__stat + .give__stat::before{content:"•";margin-right:12px;color:var(--muted)}
.progress [hidden]{display:none}

/* recent donations: its own white band; outlined cards (2 px paper, like the story cards). As in the JNS list: the line "Someone made a
   … donation", the donor's comment under it in the same plain type, then the flag, place and time; the amount right */
.band[hidden],.recent__more[hidden]{display:none}
.recent{max-width:46rem;margin:0 auto}
.recent__intro{max-width:40em;margin:0 auto 1.5em;font-size:1.0625em;line-height:1.6;text-align:center;text-wrap:pretty}
.recent__list{display:grid;gap:8px}
.recent__list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:1.25em;padding:1.05em 1.6em;
  border:2px solid var(--paper);background:var(--white);color:var(--ink);font-family:var(--ui);line-height:1.4}
.recent__who{min-width:0}
.recent__who strong{font-weight:800}
.recent__say{margin:.3em 0 0;line-height:1.5;overflow-wrap:anywhere}
.recent__when{margin:.35em 0 0;font-size:.875em;color:var(--ink-soft)}
.recent__say + .recent__when{margin-top:.6em}
.recent__flag{display:inline-block;width:1.35em;height:auto;margin-right:.45em;vertical-align:-.12em;box-shadow:0 0 0 1px var(--frame)}
.recent__sum{margin:0;font-weight:800}
.recent__more{display:block;margin:1em auto 0;padding:.5em 0;font-family:var(--ui);font-size:.9375em;font-weight:800;color:var(--blue);
  text-decoration:underline;text-underline-offset:.2em}
.recent__more:hover{color:var(--blue-dark)}
@media (max-width:420px){.recent__list li{padding:1em 1.1em}}

/* the publisher's quote: its own blue band, white on blue. Its top line shows only when the recent-donations band
   above is hidden (then the progress band, also blue, comes straight before it) */
.band--quote .rule--top{display:none;margin-top:0}
[data-recent][hidden] + .band--quote > .rail{padding-top:0}
[data-recent][hidden] + .band--quote .rule--top{display:block}
.quote{max-width:46em}
/* the publisher's quote: centred */
.quote--centre{max-width:40em;margin:0 auto;text-align:center}
.quote blockquote p{font-size:1.25em;line-height:1.55}
.who{margin-top:1em;font-family:var(--ui);font-size:.9375em;font-weight:500}


/* ------------------------------------------------------------------ the stories: outlined tiles on the white band */
.stories__list{display:flex;gap:12px;margin:0 calc(var(--frame-pad) * -1);padding:0 var(--frame-pad);overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-padding:0 var(--frame-pad);scrollbar-width:none}
.stories__list::-webkit-scrollbar{display:none}
.story{flex:0 0 82%;scroll-snap-align:start;border:2px solid var(--paper);background:var(--white)}
.story__link{display:flex;flex-direction:column;height:100%;color:var(--ink);text-decoration:none}
.story__link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.story__img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:var(--paper)}
.story__title{flex-grow:1;padding:.9em 1.1em 0;font-size:1.0625em;font-weight:700;line-height:1.4;transition:color .15s ease}
.story__link:hover .story__title{color:var(--blue)}
.story__by{padding:1em calc(1.1em * 1.0625 / .875) 0;font-family:var(--ui);font-size:.875em;font-weight:800;line-height:1.35}
.story__date{padding:.2em calc(1.1em * 1.0625 / .875) 1.25em;font-size:.875em;color:var(--blue)}

/* ------------------------------------------------------------------ blue band: the questions, the club page's FAQ, its dividing
   lines as thin as the frame's (manager, 22 Nov) */
/* thin lines between the questions: the frame's own 1 px line in the frame's colour */
.faq__item{border-top:1px solid var(--frame)}
.faq__item:last-child{border-bottom:1px solid var(--frame)}
.faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem 0;cursor:pointer;list-style:none;
  font-family:var(--ui);font-size:clamp(1.125rem,10px + .8vw,1.625rem);font-weight:800;line-height:1.25;letter-spacing:-.005em;color:var(--white);transition:color .15s ease}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary:hover{color:var(--paper)}
.faq__item summary::after{content:"+";flex:none;display:grid;place-items:center;width:2.75rem;height:2.75rem;border:2px solid var(--white);background:var(--white);color:var(--blue);
  font-family:var(--ui);font-size:1.75rem;font-weight:400;line-height:1}
.faq__item[open] summary::after{content:"\2212";background:transparent;color:var(--white)}
.faq__item p{max-width:68ch;margin:0 0 1.75rem;font-size:1.0625em;line-height:1.6;color:var(--white)}
.faq__item a{color:var(--white);text-underline-offset:.2em}

/* ------------------------------------------------------------------ white band: the closing ask */
.closing__say{max-width:min(40em,46rem);margin:0 auto 1.5em;font-size:1.0625em;line-height:1.6;text-align:center;text-wrap:pretty}  /* centred with its title (manager, 22 Nov) */
.closing__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75em 1.5em}
/* the closing button in the brand blue (manager, 22 Nov) */
.closing__actions .give__cta{background:var(--blue);border-color:var(--blue)}
.closing__actions .give__cta:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.closing__actions .give__cta:active{background:#140C80;border-color:#140C80}

/* ------------------------------------------------------------------ blue footer: logos, three columns, a line, the fine print */
.foot .rail{padding-top:4rem;padding-bottom:0}
.foot__inner{display:grid;gap:2.75em;text-align:left}
.foot__logos{display:flex;align-items:center;gap:28px}
.foot__tmt{height:36px;width:auto}
.foot__gt{height:42px;width:auto}
.foot__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(13em,1fr));gap:2.25em 2em}
.foot__col{display:flex;flex-direction:column;align-items:flex-start;gap:.6em;font-family:var(--ui);font-size:.9375em}
.foot__cap{margin-bottom:.3em;font-weight:800;color:var(--white)}
.foot__col a{color:var(--white);text-decoration:none;overflow-wrap:anywhere}
.foot__col a:hover,.foot__base a:hover{text-decoration:underline;text-underline-offset:.2em}
.foot__social{display:flex;flex-direction:column;gap:.6em}
.foot__social a{display:inline-flex;align-items:center;gap:.65em}
.foot__social svg{flex:none;width:1.15em;height:1.15em;fill:currentColor}
.foot__base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6em 2em;margin:0 calc(var(--frame-pad) * -1);
  padding:1.4em var(--frame-pad) 1.6em;border-top:1px solid var(--frame);font-family:var(--ui);font-size:.8125em}
.foot__base a{color:var(--white);text-decoration:none}
.foot__legal{margin:0}

/* ------------------------------------------------------------------ payment, inline: the email field and the messages */
/* the email row of the card: the same outlined box and height as the switchers. Clicking into a field changes
   nothing around it, as on the club page: the cursor is the sign (manager, 22 Nov). Red only for a field left empty. */
.give__email{display:flex;align-items:center;padding:4px 4px 4px 1em;border:2px solid var(--paper);background:var(--white);cursor:text}
.give__email:has(input[aria-invalid="true"]){border-color:var(--red)}
.give__email input{flex:1;min-width:0;height:3em;border:0;border-radius:0;outline:0;background:transparent;color:var(--ink);font-family:var(--ui);font-size:1em}
.give__email input::placeholder{color:var(--muted)}
.give__msg{max-width:34em;margin:.9em auto 0;font-family:var(--ui);font-size:.9375em;font-weight:700;line-height:1.45}
.give__msg[hidden],.give__fallback[hidden]{display:none}
.give__fallback{display:inline-block;margin-top:.4em;font-family:var(--ui);font-size:.9375em;font-weight:700;color:inherit;text-underline-offset:.2em}
.give__cta[aria-disabled="true"]{background:var(--muted);border-color:var(--muted);cursor:progress}

/* Filling a field from the browser's saved addresses must not tint it: Chrome and Safari paint autofilled fields
   pale blue over the page's own styles, so a white inset fill covers it and the text keeps the page's ink.
   Two rules, because a browser that does not know one of the two selectors would drop a shared rule entirely. */
.give__email input:-webkit-autofill,.give__other input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px var(--white) inset;box-shadow:0 0 0 100px var(--white) inset;-webkit-text-fill-color:var(--ink);caret-color:var(--ink);transition:background-color 600000s 0s}
.give__email input:autofill,.give__other input:autofill{box-shadow:0 0 0 100px var(--white) inset;-webkit-text-fill-color:var(--ink);caret-color:var(--ink)}


/* ------------------------------------------------------------------ narrow phones */
@media (max-width:420px){
  .foot__logos{gap:16px}
  .foot__tmt{height:28px}
  .foot__gt{height:34px}
  .hero__timer{gap:4px .8em}
  .give__unit{font-size:.8em}
  .give__stat--last{flex-basis:100%}
  .give__stat--last::before{display:none}
}
/* phones: the red button's capitals a step smaller, so "Become Our Recurring Supporter" stays on one line */
@media (max-width:480px){
  .give__cta{padding:.4em .75em;font-size:.9375em}
  .hero__give{padding:12px;gap:10px}
  .hero__row{gap:8px}
}
@media (max-width:360px){
  .hero__logo img{height:20px}
  .hero__gt{height:24px}
  .give__switch button{height:calc(3em / .9375);padding:0 .3em;font-size:.9375em}
  .give__freq button{gap:.25em}
  .give__currency-code{display:none}
  .give__currency-btn{gap:.35em;padding-right:.5em}
  .hero__give .give__cta{font-size:.8125em}
}

/* ------------------------------------------------------------------ wider screens */
@media (min-width:700px){
  .stories__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,1.6vw,32px);margin:0;padding:0;overflow:visible}
}
@media (min-width:860px){
  .hero__head{height:120px;gap:32px}
  .hero__logo img{height:42px}
  .hero__gt{height:40px}
  .foot__tmt{height:48px}
  .foot__gt{height:56px}
}

/* ------------------------------------------------------------------ short screens: the hero still fits one screen.
   Last in the file so these win over the sizes above. */
@media (min-width:860px) and (max-height:820px){
  .hero__head{height:104px}
  .hero__body{padding-top:24px;padding-bottom:28px}
  :root{--h1:58px}
}
@media (min-width:860px) and (max-height:700px){
  .hero__give{padding:10px;gap:8px}
  .hero__head{height:72px}
  .hero__body{padding-top:16px;padding-bottom:20px}
  .hero__logo img{height:34px}
  .hero__gt{height:34px}
  :root{--h1:46px}
}
@media (max-width:859px) and (max-height:700px){
  .hero__give{padding:10px;gap:8px;margin-top:1.25em}
  .hero__row{gap:8px}
  .hero__head{height:72px}
  .hero__body{padding-top:16px;padding-bottom:20px}
  :root{--h1:30px}
  .hero__sub{margin-top:.6em}
}
@media (max-width:859px) and (max-height:600px){
  :root{--h1:25px}
  .give__switch button{height:2.6em}
  .give__currency-btn{height:calc(2.6em + 12px)}
  .give__currency-btn .give__currency-sym{width:2.6em;height:2.6em}
  .hero__timer{margin-bottom:.6em}
  .give__unit b{font-size:1.8em}
  .hero__give{margin-top:1em}
}

/* The email row costs a row of height: on shorter screens the spacing and then the headline step down.
   Last in the file so these win. */
@media (min-width:860px) and (max-height:960px){ .hero__body{padding-bottom:24px} }
@media (min-width:860px) and (max-height:820px){
  .hero__body{padding-top:16px;padding-bottom:12px}
  :root{--h1:52px}
  .hero__give{margin-top:1.4em}
}
@media (min-width:860px) and (max-height:700px){
  .hero__body{padding-top:10px;padding-bottom:10px}
  :root{--h1:40px}
  .hero__timer{margin-bottom:.6em}
  .hero__give{margin-top:1em}
}
@media (max-width:859px) and (max-height:860px){ .hero__body{padding-bottom:20px} }
@media (max-width:859px) and (max-height:700px){
  .hero__body{padding-top:12px;padding-bottom:12px}
  :root{--h1:27px}
  .hero__give{margin-top:1em}
}
@media (max-width:859px) and (max-height:600px){
  :root{--h1:22px}
  .hero__sub{margin-top:.4em}
  .hero__give{padding:8px;gap:6px;margin-top:.8em}
  .give__switch button{height:2.4em}
  .give__currency-btn{height:calc(2.4em + 12px)}
  .give__currency-btn .give__currency-sym{width:2.4em;height:2.4em}
  .give__email input{height:2.4em}
}

/* Gaps found in the size check of 22 Nov 2026: three more steps so the first screen holds its card.
   Narrow Android phones (360 wide, 740 to 800 tall): the headline ran to five lines. */
@media (max-width:379px) and (min-height:701px) and (max-height:820px){
  :root{--h1:31px}
}
/* Laptop windows 701 to 760 tall (1280x720, 1536x730) */
@media (min-width:860px) and (min-height:701px) and (max-height:760px){
  .hero__head{height:88px}
  :root{--h1:46px}
  .hero__give{margin-top:1.1em}
}
/* Wide windows 821 to 880 tall (1536x864): the headline grew with the width faster than the screen allows */
@media (min-width:860px) and (min-height:821px) and (max-height:880px){
  .hero__head{height:104px}
  :root{--h1:min(clamp(2.125rem,24px + 3.4vw,6rem),64px)}
}
/* Browser windows on 1080p monitors (1920x940, 1680x920): the headline a step smaller, the navbar a little lower */
@media (min-width:860px) and (min-height:881px) and (max-height:980px){
  .hero__head{height:104px}
  :root{--h1:min(clamp(2.125rem,24px + 3.4vw,6rem),76px)}
}
/* Laptop windows 640 tall or less (1366x625) */
@media (min-width:860px) and (max-height:640px){
  .hero__head{height:64px}
  :root{--h1:36px}
}
