/* AtEase.org site styles
   Plain CSS equivalents of the design system's React components
   (Button, Badge, Card, StatBlock, QuoteBlock, NavBar, Footer).
   Everything here uses the tokens in tokens.css. */

/* One corner for every button on the site, taken from the poster concept. */
:root {
  --radius-button: 2px;

  /* Tightened palette: one cream (cream-100) and one green (sage-300).
     Green is for fills and accents; text on cream or on green is charcoal.
     The design system's aliases point at other shades, so repoint them here. */
  --bg-accent: var(--sage-300);
  --bg-accent-soft: var(--sage-300);
  --bg-tag: var(--cream-100);
  --text-on-inverse: var(--cream-100);
  --text-link: var(--charcoal-700);
  --text-link-hover: var(--charcoal-900);
  --text-on-accent: var(--charcoal-900);
  --accent-primary: var(--sage-300);
  --accent-primary-hover: var(--sage-300);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-light);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text-link); }
a:hover { color: var(--text-link-hover); }

img { max-width: 100%; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--charcoal-700); color: var(--cream-100);
  padding: var(--space-3) var(--space-5); z-index: 100;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

:focus-visible { outline: 3px solid var(--sage-300); outline-offset: 2px; }

/* ---------- layout ---------- */

.wrap { max-width: var(--container-max); margin: 0 auto; }

.band { padding: var(--space-9) var(--space-6); }
.band--tight { padding: var(--space-7) var(--space-6); }
.band--cream { background: var(--cream-100); }
.band--sand { background: var(--cream-100); }
.band--dark { background: var(--charcoal-700); color: var(--cream-100); }
.band--deep { background: var(--sage-300); color: var(--charcoal-900); }
.band--dark h2, .band--dark h3 { color: var(--cream-100); }
.band--deep h2, .band--deep h3 { color: var(--charcoal-900); }

.row { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.row--wide { gap: var(--space-7); }
.row--middle { align-items: center; }
.row--between { justify-content: space-between; }
.col { flex: 1 1 320px; min-width: 0; }
.col--wide { flex: 1 1 420px; min-width: 0; }

/* ---------- type ---------- */

.eyebrow {
  font-size: var(--size-eyebrow);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--charcoal-700);
  margin-bottom: var(--space-4);
}
.band--dark .eyebrow { color: var(--sage-300); }
.band--deep .eyebrow { color: var(--charcoal-900); }

.display-xl, .display-l, .display-m {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-5);
}
.display-xl { font-size: var(--size-display-xl); }
.display-l { font-size: var(--size-display-l); }
.display-m { font-size: var(--size-display-m); }

.lede { font-size: var(--size-body-l); margin: 0 0 var(--space-5); max-width: 68ch; }
.lede:last-child { margin-bottom: 0; }

h2 { font-size: var(--size-heading); font-weight: var(--weight-medium); line-height: var(--leading-heading); margin: 0 0 var(--space-3); }
h3 { font-size: var(--size-subheading); font-weight: var(--weight-medium); line-height: var(--leading-heading); margin: 0 0 var(--space-3); }

/* ---------- button ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: var(--weight-medium);
  border-radius: var(--radius-button); border: none; cursor: pointer;
  text-decoration: none; padding: var(--space-3) var(--space-5);
  font-size: var(--size-body); min-height: 44px;
  transition: background-color .15s ease, color .15s ease;
}
.btn--s { padding: var(--space-2) var(--space-4); font-size: var(--size-caption); }
.btn--l { padding: var(--space-4) var(--space-6); font-size: var(--size-body-l); }

.btn--primary { background: var(--accent-primary); color: var(--text-on-accent); }
.btn--primary:hover { background: var(--accent-primary-hover); color: var(--text-on-accent); }
.btn--secondary { background: var(--charcoal-500); color: var(--cream-100); }
.btn--secondary:hover { background: var(--charcoal-700); color: var(--cream-100); }
.btn--outline { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border-strong); }
.btn--outline:hover { background: var(--bg-accent-soft); color: var(--text-primary); }
.band--dark .btn--outline { color: var(--cream-100); border-color: var(--cream-300); }
.band--dark .btn--outline:hover { background: rgba(253,250,246,.12); color: var(--cream-100); }
/* on a green section a green button disappears, so buttons go dark */
.band--deep .btn--primary { background: var(--charcoal-900); color: var(--cream-100); }
.band--deep .btn--primary:hover { background: var(--charcoal-700); color: var(--cream-100); }
.band--deep .btn--outline { color: var(--charcoal-900); border-color: var(--charcoal-900); }

/* ---------- badge ---------- */

.badge {
  display: inline-block; border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
  font-size: var(--size-caption); font-weight: var(--weight-medium);
  line-height: 1.5;
}
.badge--sage { background: var(--sage-300); color: var(--charcoal-900); }
.badge--cream { background: var(--cream-100); color: var(--charcoal-700); }
.badge--dark { background: var(--charcoal-500); color: var(--cream-100); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }

/* ---------- card ---------- */

.card {
  background: var(--bg-surface); border-radius: var(--radius-m);
  box-shadow: var(--shadow-card); padding: var(--space-6);
}
.card h3 { margin-bottom: var(--space-2); }
.card p { margin: 0 0 var(--space-4); color: var(--text-secondary); font-size: var(--size-body); }
.card__link { font-size: var(--size-caption); font-weight: var(--weight-medium); word-break: break-word; }

.card__step {
  font-family: var(--font-display); font-size: 40px; line-height: 1;
  color: var(--charcoal-900); margin-bottom: var(--space-4);
}

/* ---------- stat ---------- */

.stat { display: flex; flex-direction: column; gap: var(--space-1); }
.stat__value { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--charcoal-900); }
.stat__label {
  font-size: var(--size-caption); color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.4;
}
.stat-grid { display: flex; flex-wrap: wrap; gap: var(--space-7) var(--space-8); }

/* ---------- quote ---------- */

.quoteblock {
  background: var(--sage-300); border-radius: var(--radius-l);
  padding: var(--space-6) var(--space-7); color: var(--charcoal-900);
}
.quoteblock p { font-size: var(--size-body-l); line-height: 1.6; margin: 0 0 var(--space-3); }
.quoteblock cite { font-size: var(--size-caption); font-style: normal; color: var(--charcoal-700); }

/* An interstitial quote card, dropped between resource cards */
.interstitial {
  background: var(--charcoal-700); border-radius: var(--radius-l);
  padding: var(--space-6) var(--space-7); margin: var(--space-5) 0;
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
}
.interstitial img { height: 44px; width: auto; display: block; opacity: .9; }
.interstitial p {
  flex: 1 1 400px; min-width: 0; margin: 0;
  font-family: var(--font-display); font-size: var(--size-display-m);
  line-height: 1.15; letter-spacing: var(--tracking-display);
  text-transform: uppercase; color: var(--cream-100);
}

/* ---------- nav and footer ---------- */

.nav {
  background: var(--charcoal-700); padding: var(--space-4) var(--space-6);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-5); justify-content: space-between;
}
.nav__logo img { height: 60px; width: auto; display: block; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.nav__links a {
  color: var(--cream-100); text-decoration: none;
  font-size: 15px; font-weight: var(--weight-medium);
}
.nav__links a:hover { color: var(--white); }
/* Give in the menu matches the poster buttons */
.nav__links .btn--primary { background: var(--sage-300); color: var(--charcoal-900); }
.nav__links .btn--primary:hover { background: var(--sage-300); color: var(--charcoal-900); }
.nav__links a[aria-current="page"] {
  color: var(--white); font-weight: var(--weight-bold);
  border-bottom: 2px solid var(--sage-300); padding-bottom: 2px;
}

.site-footer {
  background: var(--charcoal-700); color: var(--cream-300);
  padding: var(--space-6); font-size: var(--size-caption);
  text-align: center; line-height: 1.7;
}
.site-footer a { color: var(--cream-300); }

/* ---------- forms ---------- */

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: var(--size-eyebrow); font-weight: var(--weight-medium);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary);
}
.field input, .field select {
  font-family: inherit; font-size: 17px; padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--border-subtle); border-radius: var(--radius-s);
  background: var(--white); color: var(--text-primary); min-width: 0; min-height: 44px;
}
.panel {
  background: var(--cream-100); border-radius: var(--radius-l);
  padding: var(--space-6) var(--space-7); color: var(--text-primary);
}

/* ---------- crisis strip ---------- */

.crisis { background: var(--cream-100); padding: var(--space-6); }
.crisis__grid { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.crisis__item {
  flex: 1 1 240px; min-width: 0; background: var(--white);
  border-radius: var(--radius-m); padding: var(--space-4) var(--space-5);
}
.crisis__num { font-size: 19px; font-weight: var(--weight-bold); color: var(--charcoal-700); margin-bottom: var(--space-1); }
.crisis__desc { font-size: var(--size-caption); line-height: 1.5; color: var(--text-secondary); }

/* ---------- video cards ---------- */

.video-card {
  display: block; text-decoration: none; background: var(--bg-surface);
  border-radius: var(--radius-m); box-shadow: var(--shadow-card); overflow: hidden;
}
.video-card__thumb {
  background: var(--charcoal-700); aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.video-card__play {
  width: 46px; height: 46px; border-radius: var(--radius-pill);
  background: var(--accent-primary); display: flex;
  align-items: center; justify-content: center;
}
.video-card__body { padding: var(--space-5); }
.video-card__name { font-size: 19px; font-weight: var(--weight-medium); color: var(--text-primary); margin-bottom: var(--space-1); }
.video-card__title { font-size: var(--size-caption); color: var(--text-secondary); }

/* ---------- phone ---------- */

@media (max-width: 720px) {
  .band { padding: var(--space-8) var(--space-5); }
  .band--tight { padding: var(--space-6) var(--space-5); }
  .nav { padding: var(--space-3) var(--space-5); }
  .crisis { padding: var(--space-5); }
  .display-xl { font-size: 42px; }
  .display-l { font-size: 34px; }
  .display-m { font-size: 28px; }
  .lede { font-size: var(--size-body); }
  .stat__value { font-size: 38px; }
  .btn { width: 100%; }
  .btn--s { width: auto; }
  .interstitial p { font-size: 26px; }
}

/* ---------- crisis bar, above the nav on every page ---------- */

.helpbar {
  background: var(--cream-100); color: var(--charcoal-700);
  padding: var(--space-3) var(--space-6);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: var(--space-3) var(--space-5);
  font-size: 15px;
}
.helpbar__lead { margin: 0; }
.helpbar__lead strong { font-weight: var(--weight-bold); margin-right: var(--space-2); }
.helpbar__actions { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.helpbar__actions a {
  display: inline-flex; gap: var(--space-2);
  min-height: 40px; align-items: center;
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--charcoal-500); border-radius: var(--radius-button);
  color: var(--charcoal-700); font-weight: var(--weight-medium); text-decoration: none;
}
.helpbar__actions a:first-child { background: var(--charcoal-700); border-color: var(--charcoal-700); color: var(--cream-100); }
.helpbar__actions a:hover { background: var(--charcoal-500); border-color: var(--charcoal-500); color: var(--cream-100); }
.helpbar__note { font-size: 13px; font-weight: var(--weight-light, 300); opacity: .85; }

@media (max-width: 720px) {
  .helpbar { padding: var(--space-3) var(--space-4); }
  .helpbar__lead { width: 100%; text-align: center; }
  .helpbar__actions { width: 100%; }
  .helpbar__actions a { flex: 1 1 auto; justify-content: center; }
}

/* ---------- homepage: road and plate ----------
   The plate sets the language (silver panel, raised black condensed
   letters, bolt slots); highway signage carries the content. */

.asphalt { background: var(--charcoal-900); color: var(--cream-100); }
.asphalt h2, .asphalt h3 { color: var(--cream-100); }
.asphalt .eyebrow { color: var(--sage-300); }
.asphalt .btn--outline { color: var(--cream-100); border-color: var(--cream-300); }
.asphalt .btn--outline:hover { background: rgba(253,250,246,.12); color: var(--cream-100); }

/* A strip of road seen from above: edge lines and a dashed centre line */
.road {
  height: 56px; background:
    linear-gradient(var(--cream-300), var(--cream-300)) top 8px left 0 / 100% 2px no-repeat,
    linear-gradient(var(--cream-300), var(--cream-300)) bottom 8px left 0 / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, #e8c25a 0 56px, transparent 56px 104px) center / 100% 4px no-repeat,
    var(--charcoal-900);
  opacity: 1;
}

/* Hero */
.hero { padding: var(--space-8) var(--space-6) var(--space-9); }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-7);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: var(--weight-bold);
  text-transform: uppercase; line-height: .86; letter-spacing: 0;
  font-size: clamp(76px, 11vw, 156px); margin: 0 0 var(--space-5);
  color: var(--cream-100);
}
.hero__kicker {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: var(--size-heading); color: var(--sage-300);
  margin: 0 0 var(--space-6);
}
.hero__plate img {
  display: block; width: 100%;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.55));
}
.plate-strip {
  display: inline-block; margin: 0 0 var(--space-5);
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .08em; font-size: 15px;
  padding: var(--space-1) var(--space-3);
  background: #c4c4c2; color: #161616; border-radius: var(--radius-s);
}

/* Overhead signs */
.signs {
  list-style: none; padding: 0; margin: var(--space-7) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
}
.sign {
  background: var(--sage-300); color: var(--white);
  border-radius: var(--radius-m);
  box-shadow: inset 0 0 0 4px var(--sage-300), inset 0 0 0 6px var(--cream-100), 0 6px 16px rgba(26,24,21,.18);
  padding: var(--space-5) var(--space-6);
}
.signpost > .sign {
  display: flex; align-items: center; gap: var(--space-4);
  min-height: 112px; position: relative; margin-bottom: var(--space-7);
}
/* the two posts the sign hangs on */
.signpost > .sign::after {
  content: ""; position: absolute; left: 22%; right: 22%; top: 100%;
  height: var(--space-6);
  border-left: 6px solid var(--charcoal-300); border-right: 6px solid var(--charcoal-300);
}
.sign__shield {
  flex: none; width: 52px; height: 56px;
  display: grid; place-items: center;
  background: var(--cream-100); color: var(--sage-300);
  font-family: var(--font-display); font-size: 32px;
  border-radius: 6px 6px 26px 26px;
}
.sign__title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 28px; line-height: 1.05;
}
.signpost p { margin: 0; color: var(--text-secondary); }
.how__note { margin-top: var(--space-7); color: var(--text-secondary); }

/* The reminder, on a plate */
.plate-panel {
  position: relative;
  background: linear-gradient(180deg, #d6d6d3, #b9b9b6);
  border: 6px solid #f2f2f0; border-radius: 22px;
  box-shadow: 0 0 0 1px #9a9a96, 0 14px 30px rgba(26,24,21,.22);
  padding: var(--space-8) var(--space-7) var(--space-7);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7);
  color: #1e1e1e;
}
/* bolt slots */
.plate-panel::before, .plate-panel::after {
  content: ""; position: absolute; top: var(--space-4);
  width: 64px; height: 12px; border-radius: 6px; background: #3b3b3b;
}
.plate-panel::before { left: 16%; }
.plate-panel::after { right: 16%; }
.emboss {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: var(--size-display-l); line-height: 1; margin: 0 0 var(--space-4);
  color: #1b1b1b;
  text-shadow: 0 1px 0 rgba(255,255,255,.7), 0 -1px 0 rgba(0,0,0,.25);
}
.plate-panel__head p { margin: 0; color: #3a3a38; }
.plate-panel__form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-content: start; }
.plate-panel__form .field label { color: #2f2f2d; }
.plate-panel__form .btn { grid-column: 1 / -1; justify-self: start; }
.plate-panel__fine { grid-column: 1 / -1; margin: 0; font-size: var(--size-caption); color: #3a3a38; }
.btn--dark { background: var(--charcoal-900); color: var(--cream-100); }
.btn--dark:hover { background: var(--charcoal-500); color: var(--cream-100); }

/* Distance sign and speed-limit signs */
.funds {
  margin-top: var(--space-7);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-7); align-items: center;
}
.sign--distance { margin: 0; padding: var(--space-6) var(--space-7); }
.sign--distance > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-4) 0;
}
.sign--distance > div + div { border-top: 1px solid rgba(253,250,246,.25); }
.sign--distance dt {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 22px; line-height: 1.15;
}
.sign--distance dd { margin: 0; font-family: var(--font-display); font-size: 52px; line-height: 1; }
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.limit {
  background: var(--white); color: #111; text-align: center;
  border-radius: 12px; padding: var(--space-5) var(--space-3);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 8px #111;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); text-transform: uppercase;
}
.limit__top { font-size: 17px; line-height: 1.1; }
.limit__num { font-size: 96px; line-height: .9; }
.limit__bottom { font-size: 17px; line-height: 1.15; }
.limit__bottom strong { font-weight: var(--weight-bold); }
.limit--plate { box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 8px var(--sage-300), 0 0 0 4px var(--sage-300); }
.limit--plate .limit__num, .limit--plate strong { color: var(--sage-300); }

/* Exit signs */
.exits { margin-top: var(--space-8); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.exit {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--sage-300); color: var(--white); text-decoration: none;
  border-radius: var(--radius-m) 0 var(--radius-m) var(--radius-m);
  box-shadow: inset 0 0 0 4px var(--sage-300), inset 0 0 0 6px var(--cream-100), 0 6px 16px rgba(26,24,21,.18);
  padding: var(--space-6);
  transition: transform .15s ease;
}
.exit:hover { color: var(--white); transform: translateY(-3px); }
.exit__tab {
  position: absolute; right: 0; bottom: 100%;
  background: var(--sage-300); color: var(--white);
  font-family: var(--font-display); text-transform: uppercase; font-size: 16px;
  padding: var(--space-1) var(--space-4) 2px;
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  box-shadow: inset 0 0 0 2px var(--sage-300), inset 0 0 0 4px var(--cream-100);
  padding-top: var(--space-1);
}
.exit__title { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; line-height: 1.05; }
.exit__body { font-size: var(--size-body); line-height: 1.55; color: var(--sage-300); }
.exit__go { margin-top: auto; font-weight: var(--weight-medium); color: var(--cream-100); }

/* Sojourn numbers, set like an odometer row */
.odometer {
  margin: var(--space-7) 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--charcoal-700); border-bottom: 2px solid var(--charcoal-700);
}
.odometer > div { padding: var(--space-5) var(--space-4); font-size: var(--size-caption); text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal-500); }
.odometer > div + div { border-left: 1px solid var(--cream-300); }
.odometer span { display: block; font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: 0; color: var(--charcoal-900); margin-bottom: var(--space-2); }
.pullquote { margin: 0; }
.pullquote p { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; line-height: 1.12; color: var(--sage-300); margin: 0 0 var(--space-3); }
.pullquote cite { font-style: normal; font-size: var(--size-caption); text-transform: uppercase; letter-spacing: .08em; color: var(--charcoal-500); }

@media (max-width: 900px) {
  .hero__grid, .funds, .plate-panel { grid-template-columns: 1fr; }
  .hero__plate { order: -1; }
  .signs, .exits { grid-template-columns: 1fr; }
  .exits { gap: var(--space-8); }
  .odometer { grid-template-columns: 1fr 1fr; }
  .odometer > div:nth-child(3) { border-left: none; }
  .odometer > div:nth-child(n+3) { border-top: 1px solid var(--cream-300); }
}
@media (max-width: 720px) {
  .hero { padding: var(--space-6) var(--space-5) var(--space-8); }
  .plate-panel { padding: var(--space-8) var(--space-5) var(--space-6); }
  .plate-panel__form { grid-template-columns: 1fr; }
  .plate-panel__form .btn { justify-self: stretch; }
  .emboss { font-size: 34px; }
  .sign--distance { padding: var(--space-5); }
  .sign--distance dt { font-size: 17px; }
  .sign--distance dd { font-size: 38px; }
  .limit__num { font-size: 72px; }
  .odometer span { font-size: 36px; }
  .pullquote p { font-size: 24px; }
}

/* ---------- homepage: campaign poster ----------
   From the poster concept: one giant headline, then quiet sections that
   put the heading on the left and ruled rows on the right. */

.poster .nav { border-bottom: 1px solid var(--charcoal-300); }
.p-wrap { width: min(1200px, 100% - 2 * var(--space-6)); margin: 0 auto; }

.p-hero { background: var(--charcoal-700); color: var(--cream-100); padding: var(--space-7) 0 var(--space-8); }
.p-kicker { font-size: var(--size-caption); font-weight: var(--weight-medium); color: var(--sage-300); margin: 0 0 var(--space-5); }
.p-title {
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: clamp(100px, 20.5vw, 280px); line-height: .84; letter-spacing: -.025em;
  margin: 0; color: var(--cream-100);
}
.p-hero__bottom { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; margin-top: 42px; }
.p-intro { font-size: 21px; line-height: 1.5; max-width: 36ch; margin: 0 0 var(--space-5); font-weight: var(--weight-medium); }
.p-plate { width: 100%; display: block; }
.p-fact { font-size: 15px; margin: 18px 0 0; color: var(--sage-300); font-weight: var(--weight-medium); }

.p-button {
  display: inline-block; background: var(--sage-300); color: var(--charcoal-900);
  padding: 18px 38px; text-decoration: none; font-size: 19px; font-weight: var(--weight-medium);
  border: 0; border-radius: var(--radius-button); cursor: pointer; font-family: inherit;
}
.p-button:hover { background: var(--sage-300); color: var(--charcoal-900); }
.p-button--dark { background: var(--charcoal-700); color: var(--cream-100); }
.p-button--dark:hover { background: var(--charcoal-900); color: var(--cream-100); }

.p-section { padding: 65px 0 75px; }
.p-section--dark { background: var(--charcoal-700); color: var(--cream-100); }
.p-section--rule { border-top: 1px solid var(--cream-300); }
.p-split { display: grid; grid-template-columns: 1fr 1.75fr; gap: 80px; }
.p-split--follow { margin-top: var(--space-9); }
.p-h2 {
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 0 0 20px; color: inherit;
}
.p-h2--s { font-size: clamp(34px, 4vw, 48px); }
.p-aside { font-size: 17px; line-height: 1.6; max-width: 30ch; margin: 0; }
.p-section--dark .p-aside { color: var(--cream-300); }
.p-body { font-size: 17px; line-height: 1.6; margin: 0; max-width: 60ch; }

.p-rows { list-style: none; padding: 0; margin: 0; }
.p-rows li { display: grid; grid-template-columns: minmax(60px, auto) 1fr; gap: 24px; padding: 23px 0; border-top: 1px solid var(--charcoal-100); align-items: baseline; }
.p-rows li:last-child { border-bottom: 1px solid var(--charcoal-100); }
.p-rows h3 { font-size: 21px; font-weight: var(--weight-medium); margin: 0 0 8px; }
.p-rows p { font-size: 17px; line-height: 1.5; margin: 0; max-width: 60ch; }
.p-rows--stats li { grid-template-columns: 210px 1fr; }
.p-num { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 49px; color: var(--charcoal-900); line-height: 1; min-width: 60px; }
.p-section--dark .p-num { color: var(--sage-300); }
.p-section--dark .p-rows li { border-color: var(--charcoal-300); }
.p-link { display: inline-block; margin-top: var(--space-3); font-weight: var(--weight-medium); color: var(--charcoal-700); }
/* Marks a program that is announced but not open yet. */
.p-soon { display: inline-block; margin-top: var(--space-3); padding: 4px 10px; border: 1.5px solid currentColor; font-size: 13px; font-weight: var(--weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--charcoal-700); }

.p-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--space-5); align-items: end; margin: var(--space-6) 0 var(--space-4); }
.p-form input { border: 0; border-bottom: 1.5px solid var(--charcoal-300); border-radius: 0; background: transparent; padding-left: 0; padding-right: 0; }
.p-form input:focus { outline: none; border-bottom-color: var(--sage-300); }
.p-fine { font-size: var(--size-caption); color: var(--text-secondary); margin: 0; max-width: 60ch; }

.p-compare {
  margin: var(--space-9) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--charcoal-300);
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 58px); line-height: 1.02; color: var(--cream-100);
}
.p-compare span { color: var(--charcoal-100); }
.p-compare em { font-style: normal; color: var(--sage-300); }

.p-quote { padding: 65px 0; }
.p-quote blockquote {
  font-family: Georgia, serif; font-style: italic; font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2; margin: 0; max-width: 30ch; color: var(--charcoal-900);
}
.p-quote cite { display: block; font-size: 14px; margin-top: 22px; font-style: normal; font-weight: var(--weight-medium); }

.p-give { background: var(--sage-300); padding: 45px 0; }
.p-give .p-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.p-give p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--charcoal-900); }
.p-give strong { font-weight: var(--weight-bold); }

@media (min-width: 900px) { .p-title br { display: none; } }
/* Below 900px the headline breaks onto two lines, so the hero stacks too.
   Between 700 and 900 it used to keep two columns beside a stacked title. */
@media (max-width: 899.98px) {
  .p-hero__bottom { grid-template-columns: 1fr; gap: 35px; margin-top: 30px; }
  .p-hero__logo { justify-self: start; width: 240px; }
  .p-split { grid-template-columns: 1fr; gap: 25px; }
  .p-aside { max-width: none; }
  .p-form { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .p-wrap { width: calc(100% - 2 * var(--space-5)); }
  .p-hero { padding-top: var(--space-6); }
  .p-title { font-size: clamp(110px, 34vw, 240px); }
  .p-intro { font-size: 19px; }
  .p-section { padding: 45px 0; }
  .p-split--follow { margin-top: var(--space-8); }
  .p-rows li { gap: 14px; grid-template-columns: minmax(45px, auto) 1fr; }
  .p-num { font-size: 38px; }
  .p-rows--stats li { grid-template-columns: 118px 1fr; }
  .p-quote { padding: 40px 0; }
  .p-give .p-wrap { display: block; }
  .p-give .p-button { margin-top: var(--space-4); }
  .p-button { width: 100%; text-align: center; }
}

/* ---------- poster: shared pieces for the inner pages ---------- */

.p-hero__logo { width: min(320px, 100%); justify-self: end; display: block; }
.p-prose p { font-size: 19px; line-height: 1.65; margin: 0 0 var(--space-5); max-width: 60ch; }
.p-prose .p-button { margin-top: var(--space-3); }
.p-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.p-section--dark .p-rows p { color: var(--cream-300); }
.p-section--dark a:not(.p-button) { color: var(--cream-100); }

/* rows that lead with an icon instead of a number */
.p-rows--icons li { grid-template-columns: 64px 1fr; align-items: start; }
.p-rows--icons img { width: 56px; height: 56px; object-fit: contain; }
/* rows with no lead column */
.p-rows--plain li { grid-template-columns: 1fr; }

/* one big line, set like the hero */
.p-statement { padding: var(--space-9) 0; border-top: 1px solid var(--cream-300); }
.p-statement__line {
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: clamp(44px, 8vw, 112px); line-height: 1.02; letter-spacing: 0;
  margin: 0 0 var(--space-6); color: var(--charcoal-900);
}
/* reads as a correction: the old word struck in grey, the new one highlighted */
.p-statement__line s { color: var(--charcoal-100); text-decoration-thickness: .08em; }
.p-statement__line mark { background: var(--sage-300); color: var(--charcoal-900); padding: 0 .1em; }
.p-statement__body { font-size: 21px; line-height: 1.55; max-width: 52ch; margin: 0; }

@media (max-width: 700px) {
  .p-hero__logo { width: 200px; }
  .p-prose p { font-size: 17px; }
  .p-statement { padding: var(--space-8) 0; }
  .p-statement__body { font-size: 18px; }
  .p-ctas { display: grid; }
}

/* Find help: filters on the dark hero, resources as ruled rows */
.p-filters { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.p-hero .field label { color: var(--cream-300); }
.p-hero .field select { border-radius: var(--radius-button); }
.resource h3 { margin-bottom: var(--space-2); }
.resource p { color: var(--charcoal-500); margin-bottom: var(--space-3); }
.resource .resource__contact { color: var(--charcoal-900); font-weight: var(--weight-medium); }
.resource .badge-row { margin: var(--space-3) 0; }
.resource__link { font-size: var(--size-caption); font-weight: var(--weight-medium); word-break: break-word; }
.resource[hidden], [data-state-section][hidden] { display: none; }
.resource-quote p {
  margin: 0; font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.02; color: var(--charcoal-900);
}
.p-rows--crisis h3 { font-size: 24px; }
.p-rows--crisis p { color: var(--charcoal-500); }
.badge { border-radius: var(--radius-button); }
.badge--cream { box-shadow: inset 0 0 0 1px var(--charcoal-100); }

@media (max-width: 700px) {
  .p-filters { grid-template-columns: 1fr; }
}

/* Voices: square, flat video tiles in a two-up grid */
.p-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.video-card { border-radius: var(--radius-button); box-shadow: none; background: transparent; }
.video-card__thumb { border-radius: var(--radius-button); }
.video-card__body { padding: var(--space-3) 0 0; }
.video-card--feature .video-card__thumb { aspect-ratio: 16 / 9; }
.p-hero .video-card--feature { display: block; }

@media (max-width: 700px) {
  .p-videos { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-3); }
  .video-card__name { font-size: 16px; }
}

/* Find help: what the filters just did */
.p-results {
  margin: var(--space-6) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--charcoal-300);
  font-size: 19px; font-weight: var(--weight-medium); color: var(--sage-300);
}

/* YouTube's hqdefault thumbnails are 4:3 with black bars baked in above and
   below (45-50px of 360). Cover only crops 45px, leaving a sliver on most of
   them, so zoom until the bars are always cropped off. The featured tile uses
   the 16:9 maxres image, which on some videos has a few dark rows of its own. */
.video-card__thumb { background-size: auto 142%; }
.video-card--feature .video-card__thumb { background-size: 104%; }
.p-call { margin-top: var(--space-4); font-weight: var(--weight-medium); color: var(--charcoal-900); }

/* The T's crossbar reaches over the hyphen in POST-TRAUMATIC; give it room. */
.p-hyphen { margin: 0 .03em 0 .01em; }

/* Kern A-T in the AT EASE hero: +8px of real space, set by eye on a laptop.
   The A sits in its own inline-block so every browser drops the font's A-T
   kerning pair (-0.1431em). A plain span did that in Chrome and Safari, but
   Firefox kerns across spans and applied the pair twice, jamming A into T.
   The margin restores the pair and the title's tracking (-0.025em), plus 8px. */
.p-kern { display: inline-block; letter-spacing: 0; margin-right: calc(-0.1681em + 8px); }

@media (max-width: 700px) { .nav__logo img { height: 48px; } }

/* Bureau Grot Condensed kerns L-T by -0.184em, which jams the T against the L.
   The L sits in its own inline-block so every browser (Firefox included) drops
   the font's pair; the margin puts back half of it. */
.kern-lt { display: inline-block; letter-spacing: 0; margin-right: -0.092em; }

/* Long email addresses must be allowed to wrap on narrow screens. */
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* One-word titles longer than the phone headline allows (PRIVACY). */
@media (max-width: 700px) { .p-title--long { font-size: 28vw; } }
