/* Wiseman for New England. October 2026 redesign, in clay since November 2026.
 *
 * Two typefaces, both self-hosted: Plus Jakarta Sans for everything, Spline
 * Sans Mono for numbers and data. Loading them from Google Fonts would make a
 * third-party request on every page view, leak visitor IPs, and be blocked by
 * the Content-Security-Policy in render.yaml. Each is one variable file,
 * Latin subset. Both are under the SIL Open Font License; the license texts
 * are in fonts/ beside them.
 *
 * The look is clay (November 2026): every surface has a dark inner shadow
 * along the bottom, a bright inner highlight along the top, and a wide soft
 * drop shadow. No solid edges and no 1px borders around a surface. Navy
 * surfaces are lit from one side with a radial gradient.
 *
 * Class names are produced by build.py and the templates. No JavaScript.
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("/static/fonts/spline-sans-mono-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors. These do not change with the color scheme. */
  --navy: #13294B;
  --navy-deep: #0C1B33;
  --navy-lit: #2A5290;
  --navy-edge: #0A1730;
  --red: #C8102E;
  --red-light: #DE2743;
  --red-dark: #B00D27;
  --red-edge: #7F0A1D;
  --on-dark: #FFFFFF;
  --on-dark-muted: #D5DCE6;
  --on-dark-faint: #C9D0D8;
  --on-dark-line: #2C4A78;

  /* Surfaces and text. These are the ones dark mode replaces. */
  --ink: #1B2938;
  --heading: #13294B;
  --muted: #4A5563;
  --line: #DDE3EA;
  --link: #1F4E8C;
  --link-hover: #13294B;
  --accent-text: #C8102E;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* A 1120px column of content with 24px of padding on each side. */
  --wrap: 1168px;
  --gutter: 24px;

  /* Clay (November 2026): the ground behind it, its surfaces, and the three shadows of each. */
  --ground: #E9EDF2;
  --surface: #FFFFFF;
  --inset: #F4F5F7;
  --clay-white: inset 0 -10px 14px rgba(19, 41, 75, 0.08), inset 0 6px 8px #fff, 0 20px 34px rgba(19, 41, 75, 0.16);
  --clay-quiet: inset 0 -4px 6px rgba(19, 41, 75, 0.1), inset 0 3px 4px #fff, 0 6px 10px rgba(19, 41, 75, 0.14);
  --clay-quiet-down: inset 0 -4px 6px rgba(19, 41, 75, 0.1), inset 0 3px 4px #fff, 0 3px 5px rgba(19, 41, 75, 0.14);
  --clay-navy-bg: radial-gradient(120% 130% at 78% 12%, #2A5290 0%, #13294B 55%, #0C1B33 100%);
  --clay-navy: inset 0 -16px 24px rgba(0, 0, 0, 0.35), inset 0 10px 14px rgba(255, 255, 255, 0.16), 0 28px 46px rgba(12, 27, 51, 0.34);
  --clay-red-bg: linear-gradient(180deg, #DE2743, #C8102E 55%, #B00D27);
  --clay-red: inset 0 -6px 8px rgba(127, 10, 29, 0.55), inset 0 4px 5px rgba(255, 255, 255, 0.4), 0 10px 18px rgba(200, 16, 46, 0.32);
  --clay-red-down: inset 0 -6px 8px rgba(127, 10, 29, 0.55), inset 0 4px 5px rgba(255, 255, 255, 0.4), 0 5px 9px rgba(200, 16, 46, 0.32);
  --clay-sphere-bg: radial-gradient(circle at 35% 22%, #fff 0%, #F4F6F9 55%, #DFE4EB 100%);
  --clay-sphere: inset 0 -18px 24px rgba(19, 41, 75, 0.16), inset 0 12px 14px #fff, 0 28px 40px rgba(12, 27, 51, 0.34);
  --inset-field: inset 0 4px 8px rgba(19, 41, 75, 0.16), inset 0 -2px 2px #fff;
  --clay-white-sm: inset 0 -5px 7px rgba(19, 41, 75, 0.08), inset 0 3px 4px #fff, 0 8px 14px rgba(19, 41, 75, 0.14);
  --clay-pill: inset 0 -8px 12px rgba(19, 41, 75, 0.08), inset 0 5px 6px #fff, 0 16px 28px rgba(19, 41, 75, 0.14);
  --clay-navy-pill-bg: radial-gradient(circle at 35% 20%, #2A5290, #13294B 70%);
  --clay-navy-pill: inset 0 -5px 7px rgba(0, 0, 0, 0.4), inset 0 3px 4px rgba(255, 255, 255, 0.25), 0 8px 14px rgba(12, 27, 51, 0.3);
  --clay-red-sphere-bg: radial-gradient(circle at 35% 22%, #F4687C, #C8102E 55%, #8E0A1F);
  --clay-ghost: inset 0 2px 3px rgba(255, 255, 255, 0.2), inset 0 -3px 5px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E4EAF2;
    --heading: #F2F5FA;
    --muted: #A9B6C6;
    --line: #2A3A52;
    --link: #8FB8F2;
    --link-hover: #FFFFFF;
    --accent-text: #FF8194;
    --ground: #0A1220;
    --surface: #17263F;
    --inset: #0F1B2E;
    --clay-white: inset 0 -10px 14px rgba(0, 0, 0, 0.3), inset 0 6px 8px rgba(255, 255, 255, 0.06), 0 20px 34px rgba(0, 0, 0, 0.45);
    --clay-quiet: inset 0 -4px 6px rgba(0, 0, 0, 0.35), inset 0 3px 4px rgba(255, 255, 255, 0.09), 0 6px 10px rgba(0, 0, 0, 0.4);
    --clay-quiet-down: inset 0 -4px 6px rgba(0, 0, 0, 0.35), inset 0 3px 4px rgba(255, 255, 255, 0.09), 0 3px 5px rgba(0, 0, 0, 0.4);
    --clay-navy-bg: radial-gradient(120% 130% at 78% 12%, #35629F 0%, #1A3560 55%, #10213D 100%);
    --clay-navy: inset 0 -16px 24px rgba(0, 0, 0, 0.4), inset 0 10px 14px rgba(255, 255, 255, 0.14), 0 28px 46px rgba(0, 0, 0, 0.5);
    --clay-sphere-bg: radial-gradient(circle at 35% 22%, #33496D 0%, #22365A 55%, #16253F 100%);
    --clay-sphere: inset 0 -18px 24px rgba(0, 0, 0, 0.35), inset 0 12px 14px rgba(255, 255, 255, 0.1), 0 28px 40px rgba(0, 0, 0, 0.5);
    --inset-field: inset 0 4px 8px rgba(0, 0, 0, 0.5), inset 0 -2px 2px rgba(255, 255, 255, 0.05);
    --clay-white-sm: inset 0 -5px 7px rgba(0, 0, 0, 0.3), inset 0 3px 4px rgba(255, 255, 255, 0.07), 0 8px 14px rgba(0, 0, 0, 0.4);
    --clay-pill: inset 0 -8px 12px rgba(0, 0, 0, 0.3), inset 0 5px 6px rgba(255, 255, 255, 0.06), 0 16px 28px rgba(0, 0, 0, 0.45);
    --clay-navy-pill-bg: radial-gradient(circle at 35% 20%, #4577BD, #2A5290 70%);
    --clay-navy-pill: inset 0 -5px 7px rgba(0, 0, 0, 0.4), inset 0 3px 4px rgba(255, 255, 255, 0.25), 0 8px 14px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light dark; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; }
::selection { background: var(--navy); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px; top: 16px; z-index: 50;
  background: var(--navy-deep); color: #fff;
  padding: 10px 16px; border-radius: 6px;
}

.mono { font-family: var(--mono); }

/* ---------- buttons ----------
 * Every button is a pill of clay: a dark inner shadow along the bottom, a
 * bright highlight along the top, a soft drop shadow. It lifts a hair on
 * hover and sinks when pressed. */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

.btn-red, a.btn-red, button.btn-red { color: #fff; background: var(--clay-red-bg); box-shadow: var(--clay-red); }
.btn-red:hover { color: #fff; }
.btn-red:active { box-shadow: var(--clay-red-down); }

/* Quiet, on a light surface: Donate in the header, the share buttons. */
.btn-outline, a.btn-outline, .btn-white, a.btn-white {
  color: var(--heading); background: var(--inset); box-shadow: var(--clay-quiet);
}
.btn-outline:hover, .btn-white:hover { color: var(--heading); }
.btn-outline:active, .btn-white:active { box-shadow: var(--clay-quiet-down); }

/* On navy: a pane of frosted white. */
.btn-ghost, a.btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: var(--clay-ghost); }
.btn-ghost:hover { color: #fff; }

.btn svg { flex-shrink: 0; }

/* ---------- header: one white pill ---------- */

.masthead { padding-block: 24px 28px; }
.masthead-pill {
  display: flex; align-items: center; gap: 10px 28px; min-height: 80px; padding: 13px 14px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--clay-pill);
}
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.masthead-pill .wordmark { margin-right: auto; }
.wordmark-badge {
  display: block; width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(12, 27, 51, 0.3);
}
.wm-name {
  display: block; font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: 0.01em;
  color: var(--heading); text-transform: uppercase;
}
.wm-sub {
  display: block; font-weight: 700; font-size: 10px; line-height: 1.5;
  color: var(--accent-text); letter-spacing: 0.14em; text-transform: uppercase;
}

.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; }
.main-nav a {
  padding: 12px 18px; border-radius: 999px; color: var(--heading); text-decoration: none;
}
.main-nav a:hover { color: var(--heading); background: var(--inset); }
.main-nav a[aria-current="page"] {
  color: #fff; background: var(--clay-navy-pill-bg); box-shadow: var(--clay-navy-pill);
}

.masthead-actions { display: flex; align-items: center; gap: 10px; }
.masthead-actions .btn { min-height: 52px; padding: 0 26px; font-size: 16px; }

/* ---------- lit navy surfaces ---------- */

.hero-eyebrow {
  margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9FB3CF;
}
/* The holding page's headline: his name. */
.hero-title {
  margin: 14px 0 0; font-weight: 800;
  font-size: clamp(38px, 7vw, 58px); line-height: 1.02;
  letter-spacing: -0.025em; text-wrap: balance;
}
.hero-title strong { font-weight: 800; }
.hero-sub {
  margin: 20px 0 0; font-size: 19px; color: var(--on-dark-muted); max-width: 34em;
}

/* The head of an inner page: a navy clay card with the page's name. */
.page-hero { padding-inline: var(--gutter); }
.page-hero-inner {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); padding: 44px 48px 48px;
  border-radius: 44px; color: #fff;
  background: var(--clay-navy-bg); box-shadow: var(--clay-navy);
}
.breadcrumb { margin: 0 0 12px; font-size: 15px; color: var(--on-dark-faint); }
.breadcrumb a { color: #fff; }
.page-title {
  margin: 0; font-weight: 800; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.04;
  letter-spacing: -0.02em; max-width: 18em; text-wrap: balance;
}
.page-lede {
  margin: 16px 0 0; font-size: 19px; color: var(--on-dark-muted); max-width: 36em;
}
.page-meta {
  margin: 16px 0 0; font-family: var(--mono); font-size: 14px;
  color: var(--on-dark-faint);
}

/* ---------- sections ---------- */

.section { padding-block: 36px 64px; }

.kicker {
  margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-text);
}

/* ---------- clay cards ---------- */

.card { background: var(--surface); border-radius: 32px; box-shadow: var(--clay-white); }
.card-pad { padding: 26px 28px; }
.card-title {
  margin: 0; font-weight: 800; font-size: 20px; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--heading);
}

.card-navy { color: #fff; border-radius: 32px; background: var(--clay-navy-bg); box-shadow: var(--clay-navy); }
.card-navy .card-title { color: #fff; font-size: 22px; }
.card-navy p { color: var(--on-dark-muted); font-size: 16px; }

/* ---------- issue cards ---------- */

.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}
.issue-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 28px;
  border-radius: 32px; background: var(--surface); box-shadow: var(--clay-white);
  text-decoration: none; color: var(--ink);
  transition: transform 0.08s ease;
}
a.issue-card:hover { color: var(--ink); transform: translateY(-2px); }
.issue-card-title {
  font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; color: var(--heading);
}
.issue-card-desc { font-size: 16px; color: var(--muted); }
.issue-card-has { font-size: 14px; font-weight: 700; color: var(--link); margin-top: auto; padding-top: 4px; }

/* ---------- videos ---------- */

.video-grid {
  display: grid; gap: 32px 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.video-card, .video-feature, .side-video {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink);
}
.video-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden;
  background: var(--clay-navy-bg); box-shadow: 0 18px 28px rgba(12, 27, 51, 0.3);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.video-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.play {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  background: var(--clay-red-sphere-bg);
  box-shadow: inset 0 -8px 10px rgba(90, 5, 18, 0.6), inset 0 5px 6px rgba(255, 255, 255, 0.4), 0 10px 18px rgba(0, 0, 0, 0.45);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.play-md { width: 68px; height: 68px; }
.video-duration {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 13px; color: var(--on-dark-faint);
  background: rgba(12, 27, 51, 0.72); padding: 2px 10px; border-radius: 999px;
}
.video-title {
  display: block; font-weight: 800; font-size: 20px; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--heading);
}
.video-meta { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }

/* A video's own page. The video stands upright at about a phone's width,
 * 9:16, in a navy clay frame, with the browser's own controls; the write-up
 * runs under it. Every size is here and none is on the tag, so the policy,
 * which allows no inline style, has nothing to block. */
.reel {
  width: min(100%, 360px, calc((100vh - 160px) * 9 / 16));
  width: min(100%, 360px, calc((100svh - 160px) * 9 / 16));
  aspect-ratio: 9 / 16; margin: 0 auto;
  border-radius: 26px; overflow: hidden;
  background: var(--clay-navy-bg); box-shadow: 0 18px 28px rgba(12, 27, 51, 0.3);
}
.reel video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--navy-deep); }
.share-video { justify-content: center; margin: 24px 0 8px; padding-top: 0; border-top: 0; }
.video-elsewhere { text-align: center; }

/* ---------- statements ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--clay-white-sm);
  color: var(--heading); font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform 0.08s ease;
}
.chip:hover { color: var(--heading); transform: translateY(-1px); }
.chip[aria-current="page"] { color: #fff; background: var(--clay-navy-pill-bg); box-shadow: var(--clay-navy-pill); }

.statement-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.statement-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px;
  padding: 18px 26px; border-radius: 30px;
  background: var(--surface); box-shadow: var(--clay-white-sm);
  text-decoration: none; color: var(--ink);
  transition: transform 0.08s ease;
}
a.statement-row:hover { color: var(--ink); transform: translateY(-1px); }
.statement-date { flex: 0 0 112px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.statement-title { flex: 1 1 320px; font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--heading); }
.statement-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--link);
}
.statement-note { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.statement-note a { font-weight: 700; white-space: nowrap; }
.empty-note { margin: 24px 0 0; color: var(--muted); }

/* ---------- chip in (the home page, once there is somewhere to give) ---------- */

.chipin {
  min-width: 0; padding: 30px 34px; border-radius: 44px; color: #fff;
  background: var(--clay-navy-bg); box-shadow: var(--clay-navy);
}
.chipin-title { margin: 0; font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.01em; }
.chipin p { margin: 8px 0 0; font-size: 16px; color: var(--on-dark-muted); }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.amount {
  flex: 1 1 60px; display: flex; align-items: center; justify-content: center;
  min-height: 48px; border: 2px solid #fff; border-radius: 999px;
  color: #fff; font-weight: 700; text-decoration: none;
}
.amount:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.amount-other { background: #fff; color: var(--navy); }
.amount-other:hover { background: var(--on-dark-muted); color: var(--navy); }
.attest { margin: 16px 0 0; font-size: 15px; color: var(--on-dark-muted); }
.donate-go { margin-top: 16px; }

/* ---------- footer: a navy clay card ---------- */

.site-footer { padding: 8px var(--gutter) 28px; font-size: 15px; color: var(--on-dark-faint); }
.site-footer > .wrap {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); padding: 44px 48px 36px; border-radius: 44px;
  background: var(--clay-navy-bg); box-shadow: var(--clay-navy);
}
.footer-top { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.footer-brand { flex: 1 1 260px; }
.footer-brand .wm-name { color: #fff; font-size: 26px; }
.footer-brand .wm-sub { color: #fff; font-size: 11px; margin-top: 4px; }
.footer-office {
  margin: 14px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--on-dark-faint);
}
.footer-mail { display: inline-block; margin-top: 2px; color: #fff; padding: 11px 0; }
.footer-mail:hover { color: var(--on-dark-faint); }
.footer-social { display: flex; margin-left: -12px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: #fff;
}
.footer-social a:hover { color: var(--on-dark-faint); }
.footer-col { flex: 0 1 150px; display: flex; flex-direction: column; }
.footer-col-wide { flex-basis: 190px; }
.footer-col h2 {
  margin: 0 0 4px; font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.footer-col a { color: var(--on-dark-faint); text-decoration: none; padding: 11px 0; }
.footer-col a:hover { color: #fff; }
.disclaimer {
  margin: 0; font-size: 14px; color: var(--on-dark-faint); max-width: 60em;
}
.footer-top + .disclaimer {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--on-dark-line);
}

/* ---------- inner pages: prose ----------
 * Words to read sit on a white clay card. */

.page-body { padding-block: 36px 64px; }
.page-body > .prose, .plain-page > .prose, .issue-main {
  padding: 40px 48px 44px; border-radius: 44px;
  background: var(--surface); box-shadow: var(--clay-white);
}
.prose { max-width: 46em; }
.page-body > .prose, .plain-page > .prose { max-width: calc(46em + 96px); }
.prose h2 {
  margin: 40px 0 0; font-weight: 800; font-size: 26px; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--heading);
}
.prose > h2:first-child, .prose > .draft-banner + h2 { margin-top: 0; }
.prose h3 { margin: 28px 0 0; font-weight: 700; font-size: 19px; color: var(--heading); }
.prose p { margin: 14px 0 0; }
.prose > p:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose li::marker { color: var(--accent-text); font-weight: 700; }
.prose blockquote {
  margin: 20px 0 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--red);
  color: var(--muted);
}
.prose blockquote p:first-child { margin-top: 0; }
.prose code {
  font-family: var(--mono); font-size: 0.88em;
  background: var(--inset); padding: 2px 8px; border-radius: 8px;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 0; }
.prose a { text-underline-offset: 2px; }

/* A source marker in running text: [1], raised, bold. */
.cite { font-size: 13px; font-weight: 700; text-decoration: none; }
.cite sup { vertical-align: super; font-size: inherit; line-height: 0; }
.cite sup::before { content: "["; }
.cite sup::after { content: "]"; }

.sources { margin-top: 40px; }
.sources h2 { margin: 0; }
.source-list, .prose .source-list {
  margin: 14px 0 0; padding: 0; list-style: none;
  font-size: 16px; color: var(--muted);
  display: flex; flex-direction: column; gap: 6px;
}
.source-list li, .prose .source-list li { display: flex; gap: 6px; margin: 0; }
.source-list li:target, .prose .source-list li:target {
  background: var(--inset); border-radius: 12px; padding: 4px 10px; margin: -4px -10px;
}
.source-num { flex: 0 0 1.4em; }
.source-num::after { content: "."; }

.dateline { margin: 0 0 8px; font-family: var(--mono); font-size: 14px; color: var(--muted); }

.canonical-note {
  margin-top: 40px; padding: 20px 24px; background: var(--inset);
  border-radius: 24px; font-size: 15px; color: var(--muted);
}
.canonical-note p { margin: 0; }

.draft-banner {
  margin: 0 0 24px; padding: 14px 20px; border-radius: 22px;
  background: #FBEBEE; border: 2px solid var(--red); color: #1B2938;
  font-size: 15px; line-height: 1.5;
}

/* ---------- issue page ---------- */

.issue-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding-block: 36px 64px; }
.issue-main { flex: 3 1 520px; min-width: 0; }
.issue-main .prose { max-width: none; }
.issue-side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.commitments, .prose .commitments {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.commitment, .prose .commitment {
  display: flex; gap: 16px; margin: 0; padding: 18px 22px;
  border-radius: 24px; background: var(--inset);
}

.share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.share-label { font-weight: 700; color: var(--heading); margin-right: 6px; }
.share .btn { font-weight: 700; padding: 0 18px; }

.side-video .video-title { font-size: 18px; line-height: 1.3; }

.link-list { display: flex; flex-direction: column; margin-top: 8px; }
.link-list a {
  display: flex; flex-direction: column; padding: 12px 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.link-list a:last-child { border-bottom: 0; }
.link-list .label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.link-list .title { font-weight: 700; color: var(--heading); }
.link-list a:hover .title { color: var(--accent-text); }
.link-list-more { display: inline-block; font-weight: 700; padding: 14px 0 4px; }

.ask-card p { margin: 8px 0 16px; }

.pager-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 0 36px;
}
.pager a { font-weight: 700; padding: 12px 0; }

/* ---------- get involved page ---------- */

.gi-page main > .draft-banner { margin: 28px 0 0; }
.gi-layout {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px;
  padding-block: 36px 64px;
}
.gi-form {
  flex: 3 1 520px; min-width: 0; margin: 0; padding: 36px 40px; border-radius: 44px;
  background: var(--surface); box-shadow: var(--clay-white);
  display: flex; flex-direction: column; gap: 24px;
}
.gi-side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.gi-side .card { padding: 28px 30px; }

.gi-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.gi-legend {
  padding: 0; font-weight: 800; font-size: 21px; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--heading);
}
.gi-hint { margin: 2px 0 12px; font-size: 15px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  border-radius: 999px; background: var(--inset); box-shadow: var(--clay-quiet); font-weight: 700;
}
.pill input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy-lit); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-weight: 700; font-size: 17px; color: var(--heading); }
.field-sm > label { font-weight: 700; font-size: 15px; color: var(--ink); }
/* Fields are pressed into the card. */
.field input, .field select, .field textarea {
  width: 100%; border: 0; font: inherit; color: var(--ink);
  background: var(--inset); box-shadow: var(--inset-field);
}
.field input, .field select { min-height: 50px; padding: 0 20px; border-radius: 999px; }
.field textarea { padding: 14px 20px; border-radius: 24px; resize: vertical; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field { flex: 1 1 180px; }
.field-row .field.wide { flex: 2 1 260px; }

.gi-answer {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.gi-subhead {
  margin: 0; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--heading);
}
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; }
.check input { width: 22px; height: 22px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--navy-lit); }
.gi-optional {
  padding: 22px 24px; background: var(--inset); border-radius: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.gi-optional .check { align-items: center; }
.gi-optional .check input { margin: 0; }
.gi-optional-title { margin: 0 0 6px; font-weight: 700; font-size: 16px; color: var(--heading); }
.gi-optional .field { margin-top: 10px; }
.gi-optional .field input, .gi-optional .field select { background: var(--surface); }
.gi-send { min-height: 56px; font-size: 18px; }
.gi-fine { margin: 0; font-size: 14px; color: var(--muted); }

/* The same questions when there is nowhere to send a form: a readable list of
   what the email asks, and one button that opens it. */
.gi-questions {
  margin: 0; padding: 0; list-style: none; counter-reset: q;
  display: flex; flex-direction: column; gap: 18px;
}
.gi-questions > li { display: flex; gap: 16px; counter-increment: q; }
.gi-questions > li::before {
  content: counter(q, decimal-leading-zero);
  font-family: var(--mono); font-weight: 700; color: var(--accent-text);
}
.gi-q { font-weight: 700; color: var(--heading); }
.gi-q-note { display: block; font-weight: 400; color: var(--muted); font-size: 15px; margin-top: 2px; }

.steps { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; gap: 14px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-weight: 700; color: var(--accent-text);
}

.donate-card { padding: 28px 30px; }
.donate-card .card-title { font-size: 23px; line-height: 1.1; }
.donate-card p { margin: 10px 0 0; }

/* ---------- 404 and moved pages ---------- */

.plain-page { padding-block: 36px 64px; }
.plain-page h1 {
  margin: 0 0 22px; font-weight: 800; font-size: clamp(30px, 5vw, 42px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--heading);
}

/* ---------- holding page (the public site before launch) ----------
 * One navy clay card in the middle of the clay ground: the badge, the
 * office, his name, his sentence, and the way to be kept posted. */

body.holding { min-height: 100vh; display: flex; flex-direction: column; padding-top: 24px; }
.holding-main {
  width: calc(100% - 48px); max-width: 920px; margin: auto; padding: 56px 48px 60px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: 64px; color: #fff;
  background: var(--clay-navy-bg); box-shadow: var(--clay-navy);
}
.holding-badge {
  position: relative; width: min(272px, 62vw); aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; margin-bottom: 36px;
  box-shadow: 0 30px 44px rgba(0, 0, 0, 0.5);
}
.holding-badge img { display: block; width: 100%; height: 100%; }
.holding-badge::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.3) 100%);
}
.holding-slogan {
  margin: 20px 0 0; font-size: clamp(19px, 3.4vw, 23px); font-weight: 700;
  color: #fff; max-width: 24em; text-wrap: balance;
}
.holding-line { margin: 18px 0 0; font-size: 18px; color: var(--on-dark-muted); }
.holding-signup { margin-top: 32px; max-width: 34em; }
.signup-mail { margin: 0 0 14px; }
.signup-fine { margin: 0; font-size: 14px; color: var(--on-dark-faint); }
.signup-fine a { color: #fff; }
.signup-pending { font-size: 15px; color: var(--on-dark-muted); }
/* The join page: the same button on a light card. */
.join-mail { margin: 8px 0 18px; }
.join-fine { font-size: 15px; color: var(--muted); }
/* Its foot is the disclaimer alone, on the ground under the card. */
body.holding .site-footer { padding: 28px 24px 32px; }
body.holding .site-footer > .wrap {
  max-width: 62em; padding: 0; border-radius: 0; background: none; box-shadow: none; text-align: center;
}
body.holding .disclaimer { max-width: none; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- the home page ----------
 * A top row with no menu, the hero, four round doors that are the menu, two
 * cards, and a one-row foot. */

.home-top, .home-main, .home-footer {
  width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 48px;
}

/* A clay button: every button on the home page. */
.clay-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 800; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.clay-btn:hover { transform: translateY(-1px); }
.clay-btn:active { transform: translateY(2px); }
.clay-btn-red, a.clay-btn-red { color: #fff; background: var(--clay-red-bg); box-shadow: var(--clay-red); }
.clay-btn-red:hover { color: #fff; }
.clay-btn-red:active { box-shadow: var(--clay-red-down); }
.clay-btn-quiet, a.clay-btn-quiet { color: var(--heading); background: var(--surface); box-shadow: var(--clay-quiet); }
.clay-btn-quiet:hover { color: var(--heading); }
.clay-btn-quiet:active { box-shadow: var(--clay-quiet-down); }

/* The top row: the wordmark, the office, the accounts, Get involved. */
.home-top { display: flex; align-items: center; gap: 12px 20px; padding-block: 32px 36px; }
.home-top .wordmark { margin-right: auto; }
.home-top .wordmark-badge { display: none; }
.home-top .wm-name { font-size: 24px; }
.home-office {
  margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.home-social { display: flex; align-items: center; }
.home-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--heading);
}
.home-social a:hover { color: var(--accent-text); }
.home-actions { display: flex; align-items: center; gap: 10px; }

.home-main { display: flex; flex-direction: column; gap: 36px; padding-bottom: 36px; }

/* The hero: a navy clay card, his sentence at the left, the badge at the right. */
.home-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: center;
  padding: 56px 64px 150px; border-radius: 64px; color: #fff;
  background: var(--clay-navy-bg); box-shadow: var(--clay-navy);
}
.home-hero.no-doors { padding-bottom: 56px; }
.home-title {
  /* Sized so each of his sentences fits on its own line beside the badge. */
  margin: 14px 0 0; font-weight: 800; font-size: clamp(26px, calc(7.5vw - 32px), 52px);
  line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance;
}
.home-title strong { font-weight: 800; }
.home-title .title-line { display: block; }
.home-title .title-line + .title-line { margin-top: 0.3em; }
.home-hero .hero-sub { margin: 22px 0 0; max-width: 33em; }
.home-badge {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; box-shadow: 0 30px 44px rgba(0, 0, 0, 0.5);
}
.home-badge img { display: block; width: 100%; height: 100%; }
.home-badge::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.3) 100%);
}

/* The four round doors, pulled up over the bottom of the hero. They are the menu. */
.doors {
  --door: min(244px, 21vw);
  position: relative; display: flex; justify-content: center; gap: min(52px, 3vw);
  margin-top: -150px;
}
.door {
  position: relative; flex: 0 0 var(--door); width: var(--door); height: var(--door);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 0 28px; border-radius: 50%; text-align: center; text-decoration: none;
  color: var(--ink); background: var(--clay-sphere-bg); box-shadow: var(--clay-sphere);
  transition: transform 0.08s ease;
}
.door:hover { color: var(--ink); transform: translateY(-2px); }
.door:active { transform: translateY(2px); }
.door-title {
  font-weight: 800; font-size: 25px; line-height: 1.05; letter-spacing: -0.01em; color: var(--heading);
}
.door-desc { font-size: 14px; line-height: 1.35; color: var(--muted); }
/* The last door is his photograph, with its name over the lower half. */
.door-photo {
  justify-content: flex-end; padding-bottom: 30px; overflow: hidden;
  border: 8px solid var(--surface); background: var(--navy-deep);
  box-shadow: 0 28px 40px rgba(12, 27, 51, 0.34);
}
.door-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 80%;
}
.door-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12, 27, 51, 0) 42%, rgba(12, 27, 51, 0.94) 100%);
}
.door-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  box-shadow: inset 0 10px 14px rgba(255, 255, 255, 0.28), inset 0 -14px 20px rgba(0, 0, 0, 0.3);
}
.door-photo .door-title { position: relative; z-index: 2; color: #fff; }

.home-banner .draft-banner { margin: 0; border-radius: 26px; }

/* The two cards: what is newest, and the question for him. */
.home-cards {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px;
}
.home-cards.alone { grid-template-columns: minmax(0, 1fr); }
.clay-card {
  min-width: 0; padding: 30px 34px; border-radius: 44px;
  background: var(--surface); box-shadow: var(--clay-white);
}
.newest-list { list-style: none; margin: 4px 0 0; padding: 0; }
.newest-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0 16px; padding: 6px 0; border-bottom: 1px solid var(--line);
}
.newest-list li:last-child { border-bottom: 0; }
.newest-list a {
  padding: 11px 0; font-size: 19px; font-weight: 800; line-height: 1.25;
  color: var(--heading); text-decoration: none;
}
.newest-list a:hover { text-decoration: underline; }
.newest-meta {
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.ask-title {
  margin: 0; max-width: 13em; font-weight: 800; font-size: 28px; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--heading); text-wrap: balance;
}
.ask-lede { margin: 12px 0 0; }
.ask > .clay-btn { margin-top: 20px; }
.ask-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.ask-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ask-question { grid-column: 1 / -1; }
.ask-field label { font-size: 14px; font-weight: 700; color: var(--heading); }
/* The card's heading is the question's visible prompt; its own label is for a screen reader. */
.ask-question label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.ask-field input, .ask-field textarea {
  width: 100%; border: 0; font: inherit; color: var(--ink);
  background: var(--inset); box-shadow: var(--inset-field);
}
.ask-field input { min-height: 50px; padding: 0 20px; border-radius: 999px; }
.ask-field textarea { min-height: 76px; padding: 14px 20px; border-radius: 26px; line-height: 1.5; resize: vertical; }
.ask-form .clay-btn { justify-self: start; margin-top: 6px; }
.home-cards .chipin { grid-column: 1 / -1; }
.home-prose .prose { max-width: 46em; }

/* The foot of the home page: the disclaimer, the address, the fine print. */
.home-footer {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 8px 32px; padding-block: 4px 44px;
}
.home-footer .disclaimer { flex: 1 1 520px; max-width: 62em; font-size: 13px; line-height: 1.5; color: var(--muted); }
.home-foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.home-foot-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 700; color: var(--link);
}
.home-foot-links a:hover { color: var(--link-hover); }

@media (max-width: 1180px) {
  .home-top, .home-main, .home-footer { padding-inline: 28px; }
  .home-hero { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; padding: 48px 44px 150px; }
  .home-hero.no-doors { padding-bottom: 48px; }
  .door { padding: 0 2.2vw; }
  .door-title { font-size: clamp(18px, 2.2vw, 25px); }
}
@media (max-width: 1000px) {
  .door-desc { display: none; }
  .home-office { display: none; }
}
/* A phone: the badge beside the name, the hero as the eyebrow and his sentence, the doors two by two. */
@media (max-width: 760px) {
  .home-top, .home-main, .home-footer { padding-inline: 16px; }
  .home-top { flex-wrap: wrap; gap: 6px 12px; padding-block: 16px 18px; }
  .home-top .wordmark-badge { display: block; width: 48px; height: 48px; }
  .home-top .wm-sub { display: none; }
  .home-social { order: 3; flex: 1 1 100%; justify-content: center; }
  .home-actions .clay-btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
  .home-main { gap: 24px; }
  .home-hero { display: block; padding: 26px 22px 116px; border-radius: 40px; }
  .home-hero.no-doors { padding-bottom: 30px; }
  .home-hero .hero-eyebrow { font-size: 12px; }
  .home-title { margin-top: 10px; font-size: clamp(22px, calc(7.5vw - 6px), 34px); line-height: 1.05; }
  .home-hero .hero-sub, .home-badge { display: none; }
  .doors {
    --door: 148px;
    display: grid; grid-template-columns: repeat(2, var(--door)); justify-content: space-evenly;
    gap: 18px 12px; margin-top: -84px;
  }
  .door { padding: 0 14px; }
  .door:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; }
  .door-title { font-size: 18px; line-height: 1.1; }
  .door-photo { padding-bottom: 24px; border-width: 5px; }
  .door-photo .door-title { font-size: 17px; }
  .home-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .clay-card { padding: 24px 22px; border-radius: 34px; }
  .ask-title { font-size: 24px; }
  .ask-form { grid-template-columns: minmax(0, 1fr); }
  .home-footer { padding-bottom: 32px; }
}

/* ---------- focus and motion ---------- */

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #F2B705; outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .btn:hover, .btn:active, .clay-btn:hover, .clay-btn:active, .door:hover, .door:active,
  .chip:hover, a.issue-card:hover, a.statement-row:hover {
    transform: none;
  }
}

/* ---------- narrower screens ----------
 * The grids reflow on their own. These rules fold the header pill onto two
 * rows and give the cards a little less padding and a little less curve. */

@media (max-width: 900px) {
  .masthead-pill { flex-wrap: wrap; border-radius: 40px; }
  .main-nav { order: 3; flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 760px) {
  .wrap, .page-hero, .site-footer { padding-inline: 16px; }
  .masthead { padding-block: 16px 18px; }
  .masthead-pill { gap: 4px 10px; min-height: 60px; padding: 8px; border-radius: 34px; }
  .masthead-pill .wordmark-badge { width: 44px; height: 44px; }
  .masthead-pill .wm-name { font-size: 17px; }
  .masthead-pill .wm-sub, .masthead-actions .btn-outline { display: none; }
  .masthead-actions .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .main-nav { justify-content: space-between; gap: 0; font-size: 15px; }
  .main-nav a { padding: 10px 11px; }
  .page-hero-inner { padding: 28px 24px 30px; border-radius: 34px; }
  .page-body > .prose, .plain-page > .prose, .issue-main, .gi-form { padding: 26px 22px 28px; border-radius: 34px; }
  .site-footer > .wrap { padding: 32px 24px 28px; border-radius: 34px; }
  .card, .card-navy, .issue-card { border-radius: 28px; }
  .statement-row { padding: 16px 20px; border-radius: 26px; }
  .statement-date { flex-basis: 100%; }
  body.holding { padding-top: 16px; }
  .holding-main { width: calc(100% - 32px); padding: 36px 22px 40px; border-radius: 40px; }
}
