/* Stop the Camps — styles for every page.
   Order: fonts, tokens, base, utilities, buttons, header bar, home sections (hero, who we are,
   the crisis, what we can do, how you can help, donate, livestream, sign-up, partners), the
   not-found and sign-up service pages, footer, motion. Mobile first; 768px and 981px are the
   Divi tablet and desktop breakpoints the original site used. */

@font-face { font-family: "Urbanist"; src: url("/fonts/urbanist-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --yellow: #ffff04;     /* header bar, accents on black, the donate block */
  --red: #e30c07;        /* buttons and accents. The old #ee0d08 gives white text 4.47:1; this passes AA */
  --black: #000;
  --gray: #ededed;       /* light section bands */
  --field: #eeeeee;      /* form inputs */
  --ink: #000;
  --ink-2: #555;         /* body text: 6.4:1 on --gray, 7.5:1 on white; the old #666/#858585 */
  --line: #e7e7e7;

  --head: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink-2);
  font: 400 1rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--head); font-weight: 900; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: 2px; }
b, strong { font-weight: 700; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
:where(.band--black, .hero, .signup-band, .site-footer) :focus-visible { outline-color: var(--yellow); }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .6rem 1rem;
  background: var(--black); color: var(--yellow); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }
.red { color: var(--red); }
.yellow { color: var(--yellow); }

.band { padding: 60px 0; }
.band--gray { background: var(--gray); }
.band--black { background: var(--black); color: #fff; }
.band--black h2, .band--black h3 { color: #fff; }
.title { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); text-align: center; text-transform: uppercase; }
.prose p { font-size: 1.125rem; line-height: 1.5; }
.prose b { color: #333; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 14px 28px;
  border: 2px solid transparent; border-radius: 0;
  font: 900 1rem/1.2 var(--head); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--red { background: var(--red); border-color: #fff; color: #fff; }
.btn--red:hover { background: #b80904; }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: #fff; }
.btn--outline { border-color: var(--yellow); background: transparent; color: var(--yellow); font: 500 1.25rem/1.4 var(--body); text-transform: none; padding: 6px 20px; border-radius: 3px; }
.btn--outline:hover { background: var(--yellow); color: var(--black); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Header: the yellow bar ---------- */
.topbar { height: 18px; background: var(--yellow); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: #fff; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { z-index: -2; }
/* A shade on the text side, so white copy holds AA over the lit middle of the photo. */
/* On phones the copy spans the photo's lit middle, so the shade is even and heavier there. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / .55); }
@media (min-width: 981px) { .hero::before { background: linear-gradient(90deg, rgb(0 0 0 / .62), rgb(0 0 0 / .38) 55%, rgb(0 0 0 / .15)); } }
.hero-inner { width: min(100% - 2.5rem, 900px); margin-inline: auto; padding: 72px 0 64px; }
.hero-logo { margin: 0 0 22px; }
.hero-logo img { width: 100%; max-width: 809px; }
/* The tight dark halo sits right behind the glyphs; WCAG counts it as the text's background. */
.hero-kicker, .hero-lede { color: #fff; text-shadow: 0 0 2px #000, 0 0 6px rgb(0 0 0 / .8), 0 1px 14px rgb(0 0 0 / .6); }
.hero-kicker { margin: 0 0 12px; font: 900 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.05 var(--head); text-wrap: balance; }
.hero-lede { max-width: 800px; margin: 0 0 40px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; }
.hero-donate { display: grid; grid-template-columns: 1fr auto; align-items: stretch; background: var(--red); }
.hero-donate p { margin: 0; padding: 20px; align-self: center; font-weight: 600; line-height: 1.5; color: #fff; }
.hero-donate .btn { min-height: 72px; padding-inline: 28px; border: 0; }
@media (min-width: 981px) {
  .hero { min-height: 1073px; }
  .hero-inner { width: auto; margin: 0 144px; max-width: 900px; padding: 240px 0 200px; }
  .hero-donate { position: absolute; right: 0; bottom: 0; width: min(690px, 48%); grid-template-columns: 3fr 1fr; }
  .hero-donate p { padding: 34px 20px 34px 45px; }
  .hero-donate .btn { min-height: 95px; }
}

/* ---------- Who we are ---------- */
.who { padding: 54px 0 80px; }
.who .title { margin-bottom: 36px; font-size: clamp(2.25rem, 1.7rem + 2vw, 2.95rem); }
.who-grid { display: grid; gap: 1.5rem; }
.who-grid p { margin: 0; font-size: 1rem; line-height: 1.7; }
.who-partners strong { display: block; font: 900 clamp(1.25rem, 1.1rem + .5vw, 1.375rem)/1 var(--head); color: var(--ink); }
@media (min-width: 981px) {
  .who-grid { grid-template-columns: 1fr 1fr; gap: 5.5%; }
}

/* ---------- The crisis ---------- */
.crisis { padding: 100px 0 40px; }
.title--crisis { margin-bottom: 70px; }
.title--crisis .crisis-line { display: block; }
.crisis-grid { display: grid; gap: 40px; }
.collage { display: grid; gap: 30px; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 981px) {
  .crisis-grid { grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
  .crisis .prose { max-width: 465px; }
  .collage { position: relative; display: block; width: 557px; aspect-ratio: 557 / 505; }
  .collage-a { position: absolute; left: 0; top: 0; width: 100%; height: calc(450 / 505 * 100%); }
  .collage-b { position: absolute; left: 0; bottom: 0; width: calc(357 / 557 * 100%); height: calc(300 / 505 * 100%); }
}

/* ---------- What we can do ---------- */
.act { padding: 40px 0 100px; }
.act .title { margin-bottom: 42px; }
.act-grid { display: grid; gap: 32px; }
.act-photo img { width: 100%; max-width: 321px; }
.act .prose p { font-size: 1rem; line-height: 1.7; }
@media (min-width: 981px) {
  .act-grid { grid-template-columns: 2fr 3fr; gap: 5.5%; align-items: start; }
}

/* ---------- How you can help ---------- */
.help { padding: 24px 0 100px; }
.title--help { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.625rem); margin: 20px 0 36px; }
.help-partner { display: grid; gap: 24px; justify-items: start; margin-bottom: 40px; }
.help-partner h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.125rem); line-height: 1; }
.cards { display: grid; gap: 30px; }
.card { padding: 30px 30px 45px; border: 1px solid var(--line); background: #fff; text-align: center; }
.card-icon { width: 55px; height: 55px; margin: 0 auto 18px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-icon--fill { fill: var(--red); stroke: none; }
.card h3 { margin-bottom: 14px; font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.card p { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 981px) {
  .help-partner { grid-template-columns: 3fr 2fr; align-items: center; gap: 40px; }
  .help-partner h3 { text-align: right; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 2%; }
}

/* ---------- Donate box ---------- */
.support { padding: 50px 0; }
.support-box { padding: 40px 24px; background: var(--black); color: #fff; }
.support-box h2 { color: #fff; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2rem); line-height: 1.2; text-transform: uppercase; }
.support-box h2::after { content: ""; display: block; width: 210px; height: 7px; margin: 22px 0 26px; background: var(--yellow); }
.support-box p { font-size: 1.125rem; line-height: 1.5; }
@media (min-width: 981px) { .support-box { width: min(100% - 2.5rem, 1170px); padding: 54px 50px; } }

/* ---------- Livestream ---------- */
.livestream { padding: 100px 0 54px; }
.livestream .title { margin-bottom: 30px; }
.live-text { margin-bottom: 40px; text-align: center; }
.live-text p { font-size: 1.125rem; line-height: 1.5; color: #fff; }
.video {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; color: #fff; text-decoration: none;
}
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video picture { height: 100%; }
.video-caption {
  position: absolute; inset: 0 0 auto; padding: 18px 24px 40px;
  background: linear-gradient(rgb(0 0 0 / .85), rgb(0 0 0 / .6) 60%, transparent);
  text-shadow: 0 0 2px #000, 0 0 6px rgb(0 0 0 / .8);
  font: 600 clamp(.95rem, 1.5vw, 1.15rem)/1.3 var(--body); text-align: left;
}
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 68px; height: 48px; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .4));
}
.video:hover .video-play path:first-child, .video:focus-visible .video-play path:first-child { fill: #f00; }
.live-coda { margin: 36px 0 0; font-size: 1.125rem; text-align: center; color: var(--yellow); }
/* Phones: the original left-aligns these headings (and right-aligns the partner call below). */
@media (max-width: 767px) { .live-text, .live-coda, .livestream .title, .title--crisis { text-align: left; } .help-partner { justify-items: end; } .help-partner h3 { text-align: right; } }

/* ---------- Sign-up ---------- */
.signup-band { position: relative; isolation: isolate; overflow: hidden; padding: 105px 0 100px; background: var(--black); color: #fff; }
.signup-bg, .signup-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signup-bg { z-index: -2; }
.signup-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #000 34%, rgb(0 0 0 / .72) 100%); }
/* The red corner flags of the original section. */
.signup-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom left, var(--red) 50%, transparent 50%) top right / 44px 44px no-repeat,
    linear-gradient(to top right, var(--red) 50%, transparent 50%) bottom left / 37px 37px no-repeat;
}
.signup-inner { width: min(100% - 2.5rem, 800px); margin-inline: auto; }
.signup-band .title { margin-bottom: 18px; color: #fff; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.625rem); }
.signup-lede { margin-bottom: 40px; font-size: 1.125rem; line-height: 1.5; text-align: center; }
.signup { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 16px 3%; }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; color: #fff; }
.req { color: var(--yellow); }
.signup input[type="text"], .signup input[type="email"], .signup input[type="tel"] {
  width: 100%; min-height: 49px; padding: 14px 16px;
  border: 0; border-radius: 0; background: var(--field); color: #000; font-size: .9375rem;
}
.signup input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8125rem; line-height: 1.5; color: #fff; cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--red); }
.consent-note { margin: 0; font-size: .8125rem; line-height: 1.5; color: #fff; }
.consent a, .consent-note a { color: var(--yellow); text-decoration: underline; }
.form-foot { display: grid; gap: 16px; }
.btn--submit { min-height: 49px; padding: 8px 40px; border: 0; font-size: 1.25rem; justify-self: start; }
.form-status { min-height: 1.5em; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--yellow); }
.form-status:empty { min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .form-foot { grid-template-columns: 1fr auto; align-items: start; gap: 32px; }
}

/* ---------- Partner logos ---------- */
.partners { padding: 30px 0; }
.partner-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 0; align-items: center; justify-items: center; }
.partner-logos a { display: block; padding: 8px; }
.partner-logos img { width: auto; max-height: 126px; }
@media (min-width: 768px) {
  .partner-logos { grid-template-columns: repeat(12, 1fr); padding-block: 20px; }
  .partner-logos li { grid-column: span 3; }
  .partner-logos li:nth-child(n + 5) { grid-column: span 4; }
}

/* ---------- Not-found page, and the sign-up service's own pages ----------
   The turnleft-signups Worker serves its confirmation and unsubscribe pages on this host with
   <body class="page--plain"><main class="lost textured"><div class="wrap"><h1 class="title-l">
   and .lost-links / .btn .btn--green, so those classes are styled here. */
.notfound, .lost { padding: 72px 0 96px; background: var(--black); color: #fff; text-align: center; }
.notfound .title, .lost .title-l { margin-bottom: 20px; color: #fff; }
.notfound p, .lost p { font-size: 1.125rem; line-height: 1.5; }
.notfound-logo { display: inline-block; margin: 0 auto 36px; }
.notfound-logo img { width: 480px; }
.notfound-actions, .lost-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 2rem; }
.title-l { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); text-transform: uppercase; }
.lost a:not(.btn) { color: var(--yellow); }
.btn--green { background: var(--red); border-color: #fff; color: #fff; }
.btn--green:hover { background: #b80904; }
.page--plain { min-height: 100vh; margin: 0; border-top: 18px solid var(--yellow); background: var(--black); }

/* ---------- Footer ---------- */
.site-footer { padding: 54px 0; background: var(--black); color: #fff; font-size: .8125rem; line-height: 1.6; text-align: center; }
.site-footer p { margin: 0 0 1em; }
.footer-legal { margin-top: 2.2em !important; }
.footer-legal a { color: var(--yellow); text-decoration: underline; }
.footer-legal a:hover { text-decoration-thickness: 2px; }
.version { margin-top: 1.5em !important; font-size: .75rem; color: #b3b3b3; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
