/* We Wear the Word — site styles.
   Built from _reference/ui-mockups/Style Guide.dc.html (style guide v1).
   Phone first: base rules are phone (<600px); 600px+ is tablet, 1024px+ is desktop.
   Tablet uses phone type sizes except page title (64px) and section heading (34px). */

/* ---------- Fonts (self-hosted, OFL; licences in /assets/fonts/) ---------- */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-wdth-wght.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-opsz-wght.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-opsz-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* fixed */
  --ink: #15120F;  --text: #241F1A;
  --cream: #FBF4E7; --paper: #FFFDF7;
  --rev-muted: #E4D8C6; --hairline-dark: #3A2F24; --error: #9B2E1F;
  /* Per person (round-2 spec §3–4): --field, --accent, --accent-strong, --accent-pressed,
     --ground-dark, --sand, --highlight, --muted. Not set here: the layout's inline <style>,
     generated from people.json, sets them on :root (the first figure's values, the default
     for shared pages) and on each [data-person="slug"]. */
  /* shape */
  --r-control: 4px; --r-tag: 2px; --border: 2px solid var(--ink); --rule: 3px solid var(--ink);
  --shadow-card: 8px 8px 0 var(--field); --shadow-ink: 8px 8px 0 var(--ink);
  --shadow-mat: 0 24px 48px rgba(21,18,15,.24);
  --hairline: 1px solid rgba(21,18,15,.18);
  --focus: 3px solid var(--ink); --focus-offset: 3px;
  --ease: cubic-bezier(.2,.7,.2,1);
  /* layout */
  --margin: 20px; --content: 1320px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}
@media (max-width: 599px) { :root { --shadow-card: 6px 6px 0 var(--field); --shadow-ink: 6px 6px 0 var(--ink); } }
@media (min-width: 600px) { :root { --margin: 40px; } }
@media (min-width: 1024px) { :root { --margin: 60px; } }
/* Tokens derived from per-person ones resolve where they are declared, so re-declare them on
   every person scope; otherwise a Vaid card inside a Rustin page keeps Rustin's shadow. */
:root, [data-person] { --gold: var(--highlight); /* alias, remove next release */ --shadow-card: 8px 8px 0 var(--field); }
@media (max-width: 599px) { :root, [data-person] { --shadow-card: 6px 6px 0 var(--field); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font: 400 18px/1.7 var(--serif); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 19px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.icon { display: inline-block; flex: none; }
:focus-visible { outline: var(--focus); outline-offset: var(--focus-offset); }
.on-ink :focus-visible { outline-color: var(--highlight); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--cream); color: var(--ink); padding: 12px 16px; font: 800 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; border: var(--border); border-radius: var(--r-control); }
.skip-link:focus { top: 12px; }

.wrap { max-width: calc(var(--content) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }

/* ---------- Type ---------- */
.display, .title, .section-heading, .subheading, .wordmark { font-family: var(--sans); font-weight: 900; text-transform: uppercase; color: var(--ink); }
.display { font-size: min(56px, 15vw); line-height: .9; font-stretch: 112%; letter-spacing: -.02em; }
/* Long words (WASHINGTON:, TROUBLEMAKER) hyphenate on narrow screens rather than overflow. */
.display, .title, .section-heading, .subheading { overflow-wrap: break-word; hyphens: auto; }
/* Page title is 44px phone / 64px tablet (style guide); below 390px it scales so a 9-letter word (BIOGRAPHY) still fits. */
.title { font-size: min(44px, 11.2vw); line-height: .94; font-stretch: 112%; letter-spacing: -.015em; }
.section-heading { font-size: min(28px, 6.6vw); line-height: 1; font-stretch: 112%; }
.subheading { font-size: min(23px, 5.8vw); line-height: 1.1; font-stretch: 100%; }
.accent { color: var(--accent); }
.lead { font: italic 400 22px/1.4 var(--serif); color: var(--accent-strong); }
.pull-quote { font: italic 400 27px/1.25 var(--serif); color: var(--accent-strong); max-width: 22ch; text-wrap: pretty; }
.step-word { font: 400 44px/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.01em; }
.card-desc { font-size: 17px; line-height: 1.55; color: var(--text); }
.caption { font: 700 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.caption a { text-decoration: underline; text-underline-offset: 2px; }
.label { font: 700 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-strong); }
.meta { display: flex; flex-wrap: wrap; gap: 0 .6em; }
.meta > * + *::before { content: "·"; margin-right: .6em; }
.body-text { font-size: 18px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.rule-gold { height: 2px; background: var(--highlight); max-width: 520px; }
/* Colour-mark rule (round-2 §5.4): people with a `motif` swap the title rule for up to four
   marks (squares and bars from the art). Decorative, aria-hidden, only under titles and as an
   article end mark. Placed right after a .rule-gold, it takes that rule's spacing. */
.mark-rule { display: none; align-items: flex-end; gap: 7px; height: 18px; }
.mark-rule span:nth-child(odd) { width: 11px; height: 11px; }
.mark-rule span:nth-child(even) { width: 5px; height: 18px; }
.mark-rule span:nth-child(1) { background: var(--motif-1); }
.mark-rule span:nth-child(2) { background: var(--motif-2); }
.mark-rule span:nth-child(3) { background: var(--motif-3); }
.mark-rule span:nth-child(4) { background: var(--motif-4); }
[data-motif] .rule-gold:has(+ .mark-rule) { height: 0; background: none; margin-bottom: -2px; }
[data-motif] .rule-gold + .mark-rule { display: flex; margin-top: 0; }
[data-motif] .end-mark { display: flex; margin-top: 40px; }
/* Titles whose longest word has 10-11 letters (WASHINGTON) or 12+ (TROUBLEMAKER) step down on phones and small tablets so the word stays whole. */
@media (max-width: 599px) { .title.title--long { font-size: min(44px, 10.2vw); } .title.title--xlong { font-size: min(44px, 8.6vw); } }
@media (max-width: 359px) { .title.title--long { font-size: 9.8vw; } .title.title--xlong { font-size: 8.2vw; } }
@media (min-width: 600px) and (max-width: 1023px) { .title.title--long, .title.title--xlong { font-size: min(64px, 7.8vw); } }
@media (min-width: 600px) {
  .title { font-size: min(64px, 8.4vw); }
  .section-heading { font-size: 34px; }
}
@media (min-width: 1024px) {
  .display { font-size: 104px; }
  .title { font-size: min(80px, 6.25vw); } /* 80px from 1280px up; 64px at 1024 so split heroes fit */
  .section-heading { font-size: 40px; }
  .subheading { font-size: 26px; }
  .lead { font-size: 25px; }
  .pull-quote { font-size: 36px; }
  .step-word { font-size: 50px; }
  .label { font-size: 12px; }
  .body-text { font-size: 19px; }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 17px 28px; border: 2px solid var(--ink); border-radius: var(--r-control);
  font: 800 14px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
  background: transparent; color: var(--ink);
  transition: background-color 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out, transform 60ms linear;
}
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--cream); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-primary:active { background: var(--accent-pressed); border-color: var(--accent-pressed); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-secondary:active { background: #000; border-color: #000; color: var(--cream); }
.btn[disabled], .btn[aria-disabled="true"] { background: #E9D6C2; border-color: #E9D6C2; color: #6B5A4B; cursor: not-allowed; transform: none; }
.btn-secondary[disabled] { background: transparent; border-color: #CDBFA8; }
.actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 600px) { .actions { flex-direction: row; flex-wrap: wrap; gap: 16px; } }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font: 800 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; border-bottom: 3px solid var(--accent); padding-bottom: 3px;
  transition: color 120ms ease-out, border-color 120ms ease-out;
}
a.text-link:hover, .card:hover .text-link { color: var(--accent-strong); border-color: var(--accent-strong); }
a.text-link:active { color: var(--accent-pressed); border-color: var(--accent-pressed); }

/* ---------- Header and navigation ---------- */
.site-header { background: var(--ink); color: var(--cream); position: relative; z-index: 50; }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-size: 15px; line-height: 1; font-stretch: 112%; letter-spacing: .08em; color: var(--cream); text-decoration: none; }
@media (min-width: 1024px) {
  .site-header__inner { height: 78px; }
  .wordmark { font-size: 20px; letter-spacing: .09em; }
}

.nav-desktop { display: none; height: 100%; }
@media (min-width: 1024px) { .nav-desktop { display: block; } .menu-button { display: none !important; } }
.nav-desktop > ul { display: flex; align-items: center; gap: 30px; height: 100%; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; background: none; border: 0;
  border-bottom: 3px solid transparent; color: var(--cream); text-decoration: none;
  font: 600 13px/1 var(--sans); letter-spacing: .11em; text-transform: uppercase;
}
.nav-link[aria-current], .nav-link.is-current { border-bottom-color: var(--highlight); }
.nav-link:hover { color: var(--rev-muted); }
.nav-link[aria-expanded="true"] { color: var(--field); }
.nav-link .icon { transition: transform 160ms ease-out; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-cta { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: var(--r-control); background: var(--accent); color: var(--cream); text-decoration: none; font: 600 13px/1 var(--sans); letter-spacing: .11em; text-transform: uppercase; transition: background-color 120ms ease-out; }
.nav-cta:hover { background: var(--accent-strong); }
.nav-cta:active { background: var(--accent-pressed); }

.dropdown {
  position: absolute; top: 100%; right: var(--margin); width: min(820px, calc(100% - 2 * var(--margin)));
  background: var(--cream); color: var(--ink); border: var(--border); box-shadow: var(--shadow-ink);
  padding: 26px 28px 28px; white-space: normal; z-index: 3;
  opacity: 0; transform: translateY(-4px); transition: opacity 160ms ease-out, transform 160ms ease-out;
}
.dropdown.is-open { opacity: 1; transform: none; }
.dropdown :focus-visible { outline-color: var(--ink); outline-offset: 3px; }
.dropdown__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.dropdown__overview { display: inline-flex; align-items: center; gap: 8px; font: 900 22px/1.1 var(--sans); text-transform: uppercase; color: var(--ink); text-decoration: none; }
.dropdown__overview:hover { color: var(--accent-strong); }
.dropdown__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.dropdown__col { display: flex; flex-direction: column; }
.dropdown__col .label { padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; font-size: 11px; }
.dropdown__col a { display: flex; align-items: center; gap: 6px; font: 400 17px/1.3 var(--serif); color: var(--ink); text-decoration: none; padding: 10px; margin: 0 -10px; border-bottom: 1px solid rgba(21,18,15,.14); }
.dropdown__col a:hover, .dropdown__col a[aria-current] { background: var(--sand); }
/* People dropdown (round-2 §5.3): one column per person, max 4, each in its own colours. */
.people-menu { width: auto; max-width: calc(100% - 2 * var(--margin)); padding: 24px; max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; }
.people-menu__cols { display: grid; gap: 24px; grid-template-columns: repeat(var(--people, 2), minmax(0, 416px)); align-items: stretch; }
.people-menu__col { display: flex; flex-direction: column; border: var(--border); border-top: 8px solid var(--field); box-shadow: 0 -2px 0 var(--ink); padding: 16px 18px 18px; }
.people-menu__name { font: 900 22px/1.05 var(--sans); font-stretch: 112%; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.people-menu__name .accent { color: var(--accent); }
.people-menu__name:hover { color: var(--accent-strong); }
.people-menu__dates { margin-top: 8px; font: 700 11px/1.2 var(--sans); letter-spacing: .16em; color: var(--muted); }
.people-menu__overview { align-self: flex-start; margin-top: 12px; }
/* "All N stories" sits centred between the last story's rule and the column's bottom border. */
.people-menu__all { align-self: flex-start; margin-top: 22px; margin-bottom: 4px; }
/* Safari can shrink flex children below their content when the dropdown is height-capped, so text
   overlaps; nothing in a column may shrink. */
.people-menu__col > *, .people-menu__group > * { flex-shrink: 0; }
.people-menu__group { display: flex; flex-direction: column; margin-top: 22px; }
.people-menu__group .label { font-size: 11px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.people-menu__group a { display: flex; align-items: center; gap: 6px; font: 400 16px/1.3 var(--serif); color: var(--ink); text-decoration: none; padding: 9px 10px; margin: 0 -10px; border-bottom: var(--hairline); }
.people-menu__group a:hover, .people-menu__group a[aria-current] { background: var(--sand); }
.people-menu__foot { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 16px; border-top: var(--rule); }
.nav-backdrop { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(21,18,15,.18); z-index: 2; }

.menu-button {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
  background: transparent; border: 2px solid var(--cream); border-radius: var(--r-control); color: var(--cream);
}
.menu-button[aria-expanded="true"] { background: var(--field); border-color: var(--field); color: var(--ink); }
.menu-button .icon-close, .menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button .icon-open { display: flex; }
.menu-button[aria-expanded="true"] .icon-close { display: flex; }

.mobile-menu {
  position: fixed; inset: 64px 0 0 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); border-top: 1px solid var(--hairline-dark); padding: 6px var(--margin) 30px;
  opacity: 0; transform: translateY(-8px); transition: opacity 150ms ease-in, transform 200ms var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.mobile-menu > ul { list-style: none; margin: 0; padding: 0; }
.mm-link, .mm-group {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0;
  background: none; border: 0; border-bottom: 1px solid var(--hairline-dark); text-align: left; text-decoration: none;
  font: 800 22px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--cream);
}
.mm-link[aria-current] { color: var(--highlight); }
.mm-group[aria-expanded="true"] { color: var(--field); }
.mm-group .icon-minus, .mm-group[aria-expanded="true"] .icon-plus { display: none; }
.mm-group[aria-expanded="true"] .icon-minus { display: block; }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 200ms var(--ease); }
.mm-sub.is-open { grid-template-rows: 1fr; border-bottom: 1px solid var(--hairline-dark); }
.mm-sub > div { overflow: hidden; }
.mm-sub ul { list-style: none; margin: 6px 0 4px; padding: 4px 0 10px 14px; border-left: 3px solid var(--field); }
.mm-sub a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 0; font: 400 18px/1.3 var(--serif); color: var(--rev-muted); text-decoration: none; border-bottom: 1px solid var(--hairline-dark); }
.mm-sub li:first-child a, .mm-sub a[aria-current], .mm-sub a.mm-all { color: var(--cream); }
.mobile-menu .btn { width: 100%; margin-top: 22px; }
/* Phone menu person rows (round-2 §5.3): swatch, name, shirt number, plus/minus. */
.mm-people { padding: 22px 0 6px; font-size: 11px; color: var(--highlight); }
.mm-person { justify-content: flex-start; gap: 12px; min-height: 52px; font-size: 20px; }
.mm-person__swatch { flex: none; width: 14px; height: 14px; background: var(--field); border: 2px solid var(--cream); }
.mm-person__name { flex: 1; min-width: 0; }
.mm-person__no { font: 700 11px/1 var(--sans); letter-spacing: .14em; color: var(--rev-muted); }
.mm-person .icon-plus, .mm-person .icon-minus { display: flex; }
.mm-person .icon-minus, .mm-person[aria-expanded="true"] .icon-plus { display: none; }
.mm-person[aria-expanded="true"] .icon-minus { display: flex; }
body.menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ground-dark); color: var(--cream); }
.site-footer__inner { display: flex; flex-direction: column; gap: 14px; padding-block: 26px; }
.site-footer .licence { font: 400 14px/1.55 var(--serif); color: var(--rev-muted); max-width: 70ch; margin: 0 0 16px; }
.site-footer .licence a { color: var(--rev-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-mark { font: 900 15px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); text-decoration: none; padding: 8px 0; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1024px) {
  .site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-block: 36px; }
  .site-footer .licence { font-size: 15px; margin-bottom: 18px; }
}

/* ---------- Split heroes ---------- */
/* Colour panels run full-bleed; text columns keep the 1320px content edge. */
.hero { border-bottom: var(--border); }
.hero__text { padding: 28px var(--margin) 30px; }
.art-panel { background: var(--field); display: flex; align-items: center; justify-content: center; padding: 28px; }
.mat { margin: 0; width: 100%; max-width: 460px; background: var(--cream); padding: 14px 14px 0; box-shadow: var(--shadow-mat); }
.mat img { width: 100%; }
.mat figcaption { padding: 14px 0 16px; }
@media (min-width: 600px) { .hero__text { padding: 48px var(--margin); } .art-panel { padding: 48px; } }
@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: 1fr minmax(0, 560px); }
  .hero--article { grid-template-columns: 1fr minmax(0, 460px); }
  .hero__text { padding: 72px var(--margin) 64px max(var(--margin), calc((100vw - var(--content)) / 2)); display: flex; flex-direction: column; justify-content: center; }
  .art-panel { padding: 56px; }
  .hero--article .art-panel { padding: 52px; }
  .mat { padding: 20px 20px 0; }
  .hero--article .mat { padding: 18px 18px 0; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a { color: var(--accent-strong); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--muted); }
.hero .title, .page-head .title { margin-top: 14px; }
.hero .rule-gold, .page-head .rule-gold { margin-top: 22px; }
.hero .meta { margin-top: 18px; }
@media (min-width: 1024px) {
  .hero .title, .page-head .title { margin-top: 20px; }
  .hero .rule-gold, .page-head .rule-gold { margin-top: 28px; }
}
.lead-photo img { aspect-ratio: 4 / 5; max-height: 440px; object-fit: cover; object-position: top; }
.cover-mat { max-width: 300px; }

/* Simple page head (about, licenses) */
.page-head { padding-block: 28px 30px; border-bottom: var(--border); }
@media (min-width: 1024px) { .page-head { padding-block: 72px 64px; } }

/* ---------- Home ---------- */
.home-hero .title { max-width: 15ch; }
.home-hero .lead { margin-top: 16px; max-width: 32ch; }
.home-hero .rule-gold { margin-top: 24px; }
.home-hero .body-text { margin-top: 20px; max-width: 46ch; }
.home-hero .actions { margin-top: 28px; }
@media (min-width: 1024px) {
  .home-hero .hero__text { padding-top: 80px; padding-bottom: 72px; }
  .home-hero .lead { margin-top: 22px; }
  .home-hero .rule-gold { margin-top: 26px; }
  .home-hero .body-text { margin-top: 22px; }
  .home-hero .actions { margin-top: 36px; }
  .home-hero .art-panel { padding: 64px 56px; }
}
.steps { border-bottom: var(--border); }
.steps__inner { display: flex; flex-direction: column; gap: 22px; padding-block: 30px; }
.steps p { font-size: 17px; line-height: 1.55; margin-top: 8px; }
.step-word--1 { color: var(--accent); }
.step-word--2 { color: var(--accent-strong); }
.step-word--3 { color: var(--accent-pressed); }
@media (min-width: 600px) { .steps__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .steps__inner { gap: 56px; padding-block: 60px; } .steps p { font-size: 18px; line-height: 1.6; margin-top: 12px; } }

.band { padding-top: 40px; }
@media (min-width: 1024px) { .band { padding-top: 80px; } }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: var(--rule); margin-bottom: 24px; }
.band-head .text-link { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 1024px) { .band-head { padding-bottom: 16px; margin-bottom: 32px; } }
.features { display: grid; gap: 32px; }
.features p { margin-top: 12px; }
@media (min-width: 1280px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features { gap: 56px; } .features p { margin-top: 16px; } }

.sand-band { background: var(--sand); border-top: var(--border); margin-top: 40px; }
.sand-band__inner { display: grid; gap: 16px; padding-block: 32px; }
.sand-band__inner > .body-text { max-width: 62ch; }
@media (min-width: 1024px) {
  .sand-band { margin-top: 80px; }
  .sand-band__inner { gap: 28px; padding-block: 60px; }
}
.sand-band .body-text { max-width: 62ch; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1279px) { .card-grid--3 .subheading { font-size: 24px; } }
@media (min-width: 1280px) { .card-grid--3 .subheading { font-size: 21px; } }
.card { display: flex; flex-direction: column; border: var(--border); background: var(--cream); color: var(--ink); text-decoration: none; }
.card--shadow { box-shadow: var(--shadow-card); }
.card:hover .subheading { color: var(--accent-strong); }
.card__img { width: 100%; height: 170px; object-fit: cover; border-bottom: var(--border); }
@media (min-width: 1024px) { .card__img { height: 230px; } .card-grid--3 .card__img { height: 210px; } }
.card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px; }
.card__body .card-desc { flex: 1; }
@media (min-width: 1024px) { .card__body { padding: 24px; } }
.card .label .icon { display: inline; vertical-align: -2px; margin-left: 2px; }

/* Document card with paper stack */
.doc-card { flex-direction: row; gap: 18px; align-items: flex-start; padding: 18px; }
@media (min-width: 1024px) { .doc-card { gap: 22px; padding: 20px 22px; } }
.doc-card__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.doc-card__issue { font: 600 15px/1.3 var(--serif); color: var(--ink); }
.doc-card__source { font: italic 400 15px/1.4 var(--serif); color: var(--muted); }
.doc-card .text-link { margin-top: 4px; }
.stack { position: relative; flex: none; width: 70px; height: 90px; margin: 0 8px 8px 0; }
@media (min-width: 1024px) { .stack { width: 96px; height: 124px; } }
.stack span { position: absolute; inset: 0; border: 1.5px solid var(--ink); }
.stack span:nth-child(1) { transform: translate(8px, 8px); background: var(--sand); }
.stack span:nth-child(2) { transform: translate(4px, 4px); background: var(--cream); }
.stack span:nth-child(3) { background: var(--paper); overflow: hidden; }
.stack img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stack .ruled { height: 100%; padding: 9px; background-image: repeating-linear-gradient(var(--paper) 0 9px, #E8DCC6 9px 10px); background-position: 0 34px; background-repeat: no-repeat; background-size: 100% 100%; font: 700 8px/1.3 var(--serif); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
@media (min-width: 1024px) { .stack .ruled { padding: 12px; font-size: 9px; } }

/* External link card */
.ext-card { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 16px; padding-right: 16px; border: var(--border); background: var(--cream); color: var(--ink); text-decoration: none; }
.ext-card img { width: 100%; height: 100%; min-height: 110px; object-fit: cover; border-right: var(--border); }
.ext-card__info { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; min-width: 0; }
.ext-card__title { font: 900 20px/1.1 var(--sans); text-transform: uppercase; }
.ext-card__domain { font: 400 15px/1.4 var(--serif); color: var(--muted); }
.ext-card:hover .ext-card__title { color: var(--accent-strong); }
@media (min-width: 1024px) { .ext-card { grid-template-columns: 160px 1fr auto; gap: 24px; padding-right: 24px; } .ext-card__title { font-size: 22px; } }

/* Horizontal "keep reading" card */
.next-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); border: var(--border); background: var(--cream); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card); }
.next-card img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; object-position: top; border-right: var(--border); }
.next-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; }
.next-card__body .text-link { margin-top: auto; }
.next-card:hover .subheading { color: var(--accent-strong); }
@media (min-width: 1024px) { .next-card { grid-template-columns: 160px minmax(0, 1fr); } .next-card__body { padding: 20px 22px 22px; } }
/* Side-by-side cards on phones: shrink the title a little so TROUBLEMAKER fits its column at 360-390px. */
@media (max-width: 599px) { .next-card .subheading, .doc-card .subheading { font-size: min(23px, 5.2vw); } .next-card { grid-template-columns: 92px minmax(0, 1fr); } .next-card__body { padding: 16px 14px 18px 16px; } }
/* Below 360px "Troublemaker" outgrew the card: tighter padding and a smaller step. */
@media (max-width: 359px) { .doc-card { gap: 12px; padding: 14px; } .doc-card .subheading, .next-card .subheading { font-size: 4.6vw; } .next-card__body { padding-inline: 12px 10px; } }

/* ---------- Person index ---------- */
.person-hero { display: grid; grid-template-areas: "head" "art" "quote" "body"; border-bottom: var(--border); }
.person-hero__head { grid-area: head; padding: 28px var(--margin) 28px; }
.person-hero__head .display { margin-top: 12px; }
.person-hero__head .lead { margin-top: 16px; max-width: 34ch; }
.person-hero .art-panel { grid-area: art; }
.person-hero__quote { grid-area: quote; padding: 32px var(--margin); border-bottom: var(--border); }
.person-hero__body { grid-area: body; padding: 28px var(--margin) 40px; }
.person-hero__body .body-text { margin-top: 24px; max-width: 56ch; }
.scan-box { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: 28px; padding: 18px 16px; background: var(--sand); border: var(--border); }
.scan-box p { font-size: 17px; line-height: 1.45; margin-top: 6px; }
.scan-box .btn { padding-inline: 16px; text-align: center; }
@media (min-width: 1024px) {
  .person-hero { grid-template-columns: 1fr minmax(0, 560px); grid-template-areas: "head art" "body art" "quote quote"; border-bottom: 0; }
  .person-hero__head { padding: 72px var(--margin) 0 max(var(--margin), calc((100vw - var(--content)) / 2)); align-self: end; }
  .person-hero__head .display { margin-top: 18px; }
  .person-hero__head .lead { margin-top: 20px; }
  .person-hero__body { padding: 26px var(--margin) 64px max(var(--margin), calc((100vw - var(--content)) / 2)); align-self: start; }
  .person-hero .art-panel { border-bottom: var(--border); }
  .person-hero__quote { padding: 64px var(--margin) 64px calc(max(var(--margin), calc((100vw - var(--content)) / 2)) + 356px); border-top: var(--border); }
  .scan-box { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; margin-top: 34px; }
  .scan-box .btn { white-space: nowrap; padding-inline: 28px; }
}
.group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 40px; }
.group__head { border-top: var(--rule); padding-top: 18px; }
/* Group labels sit in a 300px column, so they run smaller than a section heading (mockup I1/I2: 30px desktop, 24px phone). */
.group__head .section-heading { font-size: min(24px, 6.2vw); line-height: 1.05; }
@media (min-width: 1024px) { .group__head .section-heading { font-size: 30px; } }
.group__note { font: italic 400 17px/1.45 var(--serif); color: var(--muted); margin-top: 8px; }
/* Group headings sit above their cards at every width, so they stay on one line (owner, 2026-10-09). */
@media (min-width: 1024px) { .group { gap: 28px; padding-top: 56px; } }
.person-end { height: 40px; }
@media (min-width: 1024px) { .person-end { height: 80px; } }

/* ---------- Articles ---------- */
.article-layout { padding-bottom: 64px; }
.article-layout__rail { display: none; }
.prose { max-width: 680px; }
.prose > h2 { font: 900 min(23px, 5.2vw)/1.1 var(--sans); text-transform: uppercase; color: var(--ink); margin-top: 40px; padding-top: 16px; border-top: var(--rule); scroll-margin-top: 24px; }
.prose > p { margin-top: 16px; text-wrap: pretty; }
.prose > h2 + p { margin-top: 16px; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .article-layout { display: grid; grid-template-columns: 260px minmax(0, 680px) 1fr; gap: 64px; padding-top: 24px; padding-bottom: 96px; }
  .article-layout--scans { grid-template-columns: 260px minmax(0, 820px) 1fr; padding-top: 28px; }
  .article-layout__rail { display: block; padding-top: 52px; }
  .article-layout--scans .article-layout__rail { padding-top: 28px; }
  .prose > h2 { font-size: 26px; margin-top: 52px; padding-top: 20px; }
}
.rail { position: sticky; top: 24px; }
.rail__head { font: 900 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-strong); padding-bottom: 12px; border-bottom: var(--rule); }
.toc { display: flex; flex-direction: column; }
.toc a { font: 600 13px/1.35 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 12px 0 12px 16px; border-bottom: var(--hairline); }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-left: 4px solid var(--accent); padding-left: 12px; }

.figure { margin-top: 32px; }
.figure > img, .figure > a > img { width: 100%; background: var(--cream); padding: 12px; border: var(--border); }
.figure figcaption { margin-top: 12px; font: 700 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.figure figcaption a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1024px) { .figure { margin-top: 36px; } .figure + p { margin-top: 32px; } }

.quote-block { margin-top: 32px; background: var(--accent-strong); border: var(--border); box-shadow: var(--shadow-ink); padding: 22px 20px; }
.quote-block p { font: italic 400 24px/1.25 var(--serif); color: var(--cream); text-wrap: pretty; }
.quote-block footer { margin-top: 16px; font: 700 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
.quote-block + p { margin-top: 30px; }
@media (min-width: 1024px) { .quote-block { margin-top: 36px; padding: 30px 32px; } .quote-block p { font-size: 30px; } }

/* Keep reading band */
.next-band .card-grid { gap: 24px; }
.next-band .section-heading { margin-top: 12px; }
@media (max-width: 1023px) { .next-band .section-heading { font-size: min(28px, 5.9vw); } }
@media (min-width: 1024px) { .next-band .card-grid { gap: 32px; } }
/* Two columns only where each card can hold a long title; otherwise one (1024-1439px beside the 300/320px label column). */
@media (min-width: 600px) { .next-band .card-grid, .group .card-grid:not(.card-grid--1) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); } }

/* ---------- Scanned documents ---------- */
.page-jump { background: var(--sand); border-bottom: var(--border); }
.page-jump__inner { display: flex; flex-direction: column; gap: 14px; padding-block: 18px 20px; }
.page-jump .rail__head { border: 0; padding: 0; font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: var(--border); border-radius: var(--r-control); background: var(--cream); color: var(--ink); text-decoration: none; font: 800 15px/1 var(--sans); }
.chips a:hover { background: var(--sand); }
.chips a[aria-current="true"] { background: var(--ink); color: var(--cream); }
.show-all {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 15px 18px;
  border: 2px solid var(--accent); border-radius: var(--r-control); background: var(--accent); color: var(--cream);
  font: 800 13px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, transform 60ms linear;
}
.show-all:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.show-all:active { transform: translateY(2px); }
.show-all[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.show-all .icon { color: var(--field); display: none; }
.show-all[aria-pressed="true"] .icon { display: block; }
.rail .chips, .rail .show-all { margin-top: 18px; }
.rail__note { font: 400 15px/1.5 var(--serif); color: var(--muted); margin-top: 18px; }
@media (min-width: 1024px) { .page-jump { display: none; } }

.scans { padding-inline: 0; }
.scan { padding-top: 28px; scroll-margin-top: 0; }
.scan__frame { background: var(--cream); border: var(--border); padding: 12px; }
.scan__frame img { width: 100%; }
.scan figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.scan__name { font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.scan__count { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; color: var(--muted); white-space: nowrap; }
.transcript { margin-top: 12px; border: var(--border); border-radius: var(--r-control); overflow: hidden; }
.transcript__toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 16px; border: 0;
  background: var(--cream); color: var(--ink); font: 800 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.transcript__toggle:hover { background: var(--sand); }
.transcript__toggle[aria-expanded="true"] { background: var(--ink); color: var(--cream); }
.transcript__toggle .icon-minus, .transcript__toggle[aria-expanded="true"] .icon-plus { display: none; }
.transcript__toggle[aria-expanded="true"] .icon-minus { display: block; }
.transcript__toggle:focus-visible { outline-offset: -6px; }
.transcript__toggle[aria-expanded="true"]:focus-visible { outline-color: var(--highlight); }
.transcript__region { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms var(--ease); }
.transcript__region.is-open { grid-template-rows: 1fr; }
.transcript__region > div { overflow: hidden; }
.transcript__text { padding: 18px 18px 22px; background: var(--cream); font-size: 17px; line-height: 1.6; color: var(--text); max-width: 680px; }
.transcript__text > * + * { margin-top: 14px; }
.transcript__text ul, .transcript__text ol { margin-bottom: 0; padding-left: 1.4em; }
.transcript__text li + li, .transcript__text li > ul { margin-top: 6px; }
.transcript__text hr { border: 0; border-top: var(--hairline); margin: 24px 0; }
.transcript__table { overflow-x: auto; border: var(--hairline); }
.transcript__table:focus-visible { outline: var(--focus); outline-offset: 2px; }
.transcript__table table { border-collapse: collapse; font-size: 15px; line-height: 1.4; min-width: 560px; }
.transcript__table th, .transcript__table td { padding: 8px 10px; border: var(--hairline); text-align: left; vertical-align: top; }
.transcript__table th { font-weight: 700; background: var(--sand); }
@media (min-width: 1024px) { .transcript__toggle { padding: 16px 18px; } .transcript__text { padding: 22px 24px 26px; font-size: 18px; line-height: 1.7; } }
.transcript .badge { display: inline-block; font: 700 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--error); background: transparent; border: 2px solid var(--error); border-radius: var(--r-tag); padding: 6px 9px; }

/* ---------- Shirt landing (round-2 §5.2, §6–7; mockups L1–L10) ---------- */
/* Figure hero. Phone: kicker + name, art panel, then tagline, rule, bio, button.
   Desktop: text column | 560px art panel. */
.landing-hero { display: grid; grid-template-areas: "head" "art" "body"; border-bottom: var(--rule); }
.landing-hero__head { grid-area: head; padding: 28px var(--margin) 24px; }
.landing-hero__head .title { margin-top: 12px; }
.landing-hero .art-panel { grid-area: art; border-block: var(--border); }
.landing-hero__body { grid-area: body; padding: 28px var(--margin) 40px; }
.landing-hero__body .lead { max-width: 34ch; }
.landing-hero__body .rule-gold { margin-top: 22px; }
.landing-hero__body .body-text { margin-top: 24px; max-width: 56ch; }
.landing-hero__body .btn { margin-top: 28px; }
@media (max-width: 599px) { .landing-hero__body .btn { width: 100%; } }
@media (min-width: 1024px) {
  .landing-hero { grid-template-columns: 1fr minmax(0, 560px); grid-template-areas: "head art" "body art"; grid-template-rows: auto 1fr; }
  .landing-hero .art-panel { border-block: 0; }
  .landing-hero__head { padding: 72px var(--margin) 0 max(var(--margin), calc((100vw - var(--content)) / 2)); align-self: end; }
  .landing-hero__head .title { margin-top: 18px; }
  .landing-hero__body { padding: 22px var(--margin) 64px max(var(--margin), calc((100vw - var(--content)) / 2)); align-self: start; }
  .landing-hero__body .rule-gold { margin-top: 26px; }
  .landing-hero__body .body-text { font-size: 19px; }
  .landing-hero__body .btn { margin-top: 34px; }
}

/* Suggested-story band: sand, full bleed; content in a 760px column on the 356px line. */
.suggest { background: var(--sand); border-bottom: var(--rule); }
.suggest__inner { max-width: calc(var(--content) + 2 * var(--margin)); margin-inline: auto; padding: 28px var(--margin) 30px; }
.suggest__inner > * { max-width: 760px; }
.suggest__kicker { color: var(--accent-strong); }
.suggest__heading { margin-top: 10px; font: 900 24px/1.06 var(--sans); text-transform: uppercase; color: var(--ink); }
.suggest__line { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 400 17px/1.5 var(--serif); color: var(--text); }
.suggest[data-state="found"] .suggest__line { font-style: italic; color: var(--ink); }
.suggest__pin { display: inline-flex; }
.suggest__body { margin-top: 20px; }
.suggest__body:empty { display: none; }
.suggest__another { margin-top: 16px; }
.suggest__another[hidden] { display: none; }
.suggest__another .icon { margin-left: 2px; }
.suggest__privacy { margin-top: 16px; font: 400 14px/1.5 var(--serif); color: var(--muted); max-width: 62ch; }
@media (max-width: 599px) { .suggest .btn { width: 100%; } }
@media (min-width: 1024px) {
  .suggest__inner { padding-block: 56px; }
  .suggest__inner > * { margin-left: 356px; }
  .suggest__heading { font-size: 30px; }
  .suggest__line { font-size: 18px; }
  .suggest__privacy { font-size: 15px; }
}

/* Loading: dashed box with the progress bar and a skeleton card. */
.skeleton { border: 2px dashed var(--ink); background: var(--cream); padding: 16px; }
.bar { height: 12px; border: 2px solid var(--ink); border-radius: var(--r-tag); overflow: hidden; background: var(--cream); }
.bar__fill { height: 100%; width: 0; background: var(--ink); }
.suggest.is-running .bar__fill { width: 90%; transition: width 1000ms var(--ease); }
.suggest.is-complete .bar__fill { width: 100%; transition: width 200ms var(--ease); }
.skeleton__row { display: flex; gap: 16px; margin-top: 14px; }
.skeleton i { display: block; background: var(--sand); }
.skeleton__thumb { flex: none; width: 76px; height: 98px; }
.skeleton__row span { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 30px; }
.skeleton__row span i:nth-child(1) { width: 40%; height: 12px; }
.skeleton__row span i:nth-child(2) { width: 85%; height: 22px; }
.skeleton__row span i:nth-child(3) { width: 60%; height: 14px; }
@media (min-width: 600px) { .skeleton { padding: 22px 24px; } .skeleton__thumb { width: 104px; height: 134px; } }
@media (prefers-reduced-motion: reduce) { .suggest.is-running .bar__fill, .suggest .bar__fill { width: 50%; transition: none; } }

/* The suggestion (or, when location fails, the biography) as one story card. */
.story-card { background: var(--cream); border: var(--border); box-shadow: var(--shadow-card); padding: 16px; animation: fade-in 150ms ease-out; }
.story-card__top { display: flex; gap: 16px; align-items: flex-start; }
.story-card__thumb { flex: none; width: 92px; }
.story-card__thumb img { display: block; width: 100%; height: 108px; object-fit: cover; object-position: top; border: var(--border); }
.story-card__thumb.stack { width: 70px; height: 90px; }
.story-card__thumb.stack img { height: 100%; border: 0; }
.story-card__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.story-card__title { font: 900 20px/1.1 var(--sans); text-transform: uppercase; color: var(--ink); overflow-wrap: break-word; hyphens: auto; }
.story-card__sub { font: 600 15px/1.35 var(--serif); color: var(--ink); }
.story-card__source { font: italic 400 15px/1.4 var(--serif); color: var(--muted); }
.story-card__go { margin-top: 18px; }
@media (min-width: 600px) {
  .story-card { padding: 22px 24px; }
  .story-card__thumb { width: 120px; }
  .story-card__thumb img { height: 140px; }
  .story-card__thumb.stack { width: 96px; height: 124px; }
  .story-card__title { font-size: 26px; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .story-card { animation: none; } }

/* The collection under the band uses the person-index group layout. */
.landing-shirts__range { margin-top: 8px; }
/* Landing-page band for a story that bridges figures: one photo per figure, in their colours. */
.pair-band__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pair-band__panel { margin: 0; border: var(--border); border-top: 8px solid var(--field); background: var(--paper); }
.pair-band__panel img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pair-band__panel figcaption { display: grid; gap: 6px; padding: 12px 14px 14px; }
.pair-band__caption { font: 400 18px/1.3 var(--serif); color: var(--ink); }
.pair-band__foot { display: grid; gap: 16px; justify-items: start; }
.pair-band__foot .body-text { max-width: 40em; }
@media (max-width: 599px) { .pair-band__panels { gap: 10px; } .pair-band__panel figcaption { padding: 10px; } .pair-band__caption { font-size: 16px; } }
@media (min-width: 1024px) { .pair-band { grid-template-columns: minmax(0, 720px) minmax(0, 1fr); column-gap: 48px; } .pair-band .group__head { grid-column: 1 / -1; } .pair-band__foot { align-self: end; } }
/* Phone (L6/L8): heading with the shirt range on the right, link under the rule. */
@media (max-width: 1023px) {
  .landing-shirts .group__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; }
  .landing-shirts .group__head .landing-shirts__range { margin-top: 0; }
  .landing-shirts .group__head .text-link { grid-column: 1 / -1; }
}
.landing-shirts .group__head .text-link { margin-top: 14px; display: inline-flex; }

@media (min-width: 1280px) { .figure-wide { margin-right: -160px; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 28px; padding-block: 28px 40px; }
@media (min-width: 1024px) { .contact { padding-block: 80px 96px; } .contact form { max-width: 680px; } .contact__head .rule-gold { max-width: 320px; } }
/* Side by side only where "Contact us" still fits on one line. */
@media (min-width: 1400px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; } .contact__head { padding-top: 8px; } }
.contact__head .title { margin-top: 12px; }
@media (max-width: 599px) { .form__submit .btn { width: 100%; } }
.contact__head .rule-gold { margin-top: 20px; }
@media (min-width: 1024px) { .contact__head .title { margin-top: 18px; } .contact__head .rule-gold { margin-top: 26px; } }
.form { display: flex; flex-direction: column; gap: 24px; }
.form__row { display: grid; gap: 24px; align-items: start; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 800 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea {
  width: 100%; background: var(--paper); border: var(--border); border-radius: var(--r-control);
  padding: 14px 16px; font: 400 18px/1.4 var(--serif); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
@media (min-width: 1024px) { .field textarea { min-height: 170px; } }
.field.has-error label { color: var(--error); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__error { display: flex; gap: 8px; align-items: center; font: 600 15px/1.4 var(--serif); color: var(--error); }
.field__error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }
.sent { background: var(--sand); border: var(--border); box-shadow: var(--shadow-card); padding: 24px 20px; align-self: start; }
.sent__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-control); background: var(--ink); color: var(--field); }
.sent h2 { margin-top: 16px; }
.sent p { margin-top: 10px; }
.sent .actions { margin-top: 24px; }
@media (min-width: 1024px) { .sent { padding: 32px 34px; } .sent__icon { width: 48px; height: 48px; } .sent h2 { margin-top: 18px; } }

/* ---------- 404 ---------- */
.not-found { display: grid; border-bottom: var(--border); }
.not-found__num { background: var(--field); display: flex; align-items: center; justify-content: center; padding: 40px 20px; font: 900 120px/.85 var(--sans); font-stretch: 112%; letter-spacing: -.04em; color: var(--ink); }
.not-found__text { padding: 32px var(--margin) 40px; }
.not-found__text .title { max-width: 16ch; }
.not-found__text .rule-gold { margin-top: 24px; max-width: 420px; }
.not-found__text .actions { margin-top: 28px; }
@media (min-width: 1024px) {
  .not-found { grid-template-columns: minmax(0, 560px) 1fr; }
  .not-found__num { padding: 72px 40px; font-size: 220px; }
  .not-found__text { padding: 80px max(var(--margin), calc((100vw - var(--content)) / 2)) 80px var(--margin); display: flex; flex-direction: column; justify-content: center; }
  .not-found__text .rule-gold { margin-top: 28px; }
  .not-found__text .actions { margin-top: 32px; }
}

/* ---------- About and licences ---------- */
.page-body { padding-block: 32px 64px; }
@media (min-width: 1024px) { .page-body { padding-block: 56px 96px; } }
.bio { display: grid; gap: 16px; padding-block: 28px; border-bottom: var(--hairline); max-width: 960px; }
.bio:first-child { padding-top: 0; }
.bio img { width: 120px; border: var(--border); }
@media (min-width: 600px) { .bio { grid-template-columns: 160px 1fr; gap: 32px; } .bio img { width: 160px; } }
.page-body .prose > h2:first-child { margin-top: 0; }
.page-body .prose ul { padding-left: 1.2em; margin: 16px 0 0; }
.page-body .prose li + li { margin-top: 8px; }
.about-nyac { margin-bottom: 28px; }
.about-team { margin-bottom: 28px; }
.about-team > h2 { margin-top: 0; }
.about-team + .bio { padding-top: 0; }
.cohorts { display: grid; gap: 16px; max-width: 960px; margin-bottom: 40px; }
.cohorts__photo img { aspect-ratio: auto; }
@media (min-width: 600px) { .cohorts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .btn:active, .show-all:active, .locate__stay:active { transform: none; }
}

/* ---------- Small additions ---------- */
@media (min-width: 600px) { .card-grid--1 { grid-template-columns: minmax(0, 1fr); } }
.next-band { margin-top: 0; }

/* ---------- Badges (round-2 §5.1, §5.6) ---------- */
.badge { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); background: var(--ink); padding: 6px 9px; border-radius: var(--r-tag); }
/* Stand-in content on previews only; the build fails if one would reach main. */
.badge--placeholder { color: var(--error); background: transparent; border: 2px solid var(--error); margin: 0 0 24px; }

/* ---------- Shirt cards (round-2 §5.1) ---------- */
/* auto-fit: two figures fill the row (no empty third column on wide screens); more wrap. */
.shirt-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.shirt-grid--large { gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.shirt-card { position: relative; display: flex; flex-direction: column; background: var(--cream); border: var(--border); box-shadow: var(--shadow-card); }
.shirt-card__art { position: relative; display: flex; justify-content: center; background: var(--field); padding: 26px 26px 0; border-bottom: var(--border); }
.shirt-card__art img { display: block; width: 100%; max-width: 250px; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: top; border: var(--border); border-bottom: 0; }
.shirt-grid--large .shirt-card__art { padding: 34px 34px 0; }
.shirt-grid--large .shirt-card__art img { max-width: 320px; }
.shirt-card__badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.shirt-card__badge--phone { display: none; }
.shirt-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 26px; }
.shirt-card__name { font: 900 26px/1.05 var(--sans); font-stretch: 112%; text-transform: uppercase; color: var(--ink); overflow-wrap: break-word; }
.shirt-grid--large .shirt-card__name { font-size: 32px; }
.shirt-card__name a { color: inherit; text-decoration: none; }
.shirt-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.shirt-card__name a:focus-visible { outline: none; }
.shirt-card:has(a:focus-visible) { outline: var(--focus); outline-offset: var(--focus-offset); }
.shirt-card .accent { color: var(--accent); }
.shirt-card__meta { font: 700 11px/1.2 var(--sans); letter-spacing: .16em; color: var(--muted); }
.shirt-card__tagline { font: 400 17px/1.55 var(--serif); color: var(--text); }
.shirt-card__credit { margin-top: 2px; }
.shirt-card__link { align-self: flex-start; margin-top: 6px; }
.shirt-card:hover .shirt-card__link { color: var(--accent-strong); border-color: var(--accent-strong); }
.shirt-card__short { display: none; }
/* Phone: compact side-by-side card on home and the landing page; /shirts.html keeps the full card. */
@media (max-width: 599px) {
  .shirt-grid:not(.shirt-grid--large) .shirt-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__art { flex-direction: column; justify-content: flex-end; padding: 12px 12px 0; border-bottom: 0; border-right: var(--border); }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__art img { width: 100%; max-width: none; }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__art .shirt-card__badge { display: none; }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__badge--phone { display: inline-block; position: static; align-self: flex-start; }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__body { padding: 16px 16px 18px; gap: 8px; }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__name { font-size: min(21px, 5.3vw); }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__tagline { display: none; }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__full { display: none; }
  .shirt-grid:not(.shirt-grid--large) .shirt-card__short { display: inline; }
  .shirt-grid--large .shirt-card__art { padding: 26px 26px 0; }
  .shirt-grid--large .shirt-card__name { font-size: 26px; }
}

/* /shirts.html */
.collection { padding-block: 30px 44px; }
.collection .title { margin-top: 14px; }
.collection .rule-gold { margin-top: 22px; }
.collection .shirt-grid--large { margin-top: 32px; gap: 32px; }
.collection__intro { margin-top: 22px; max-width: 56ch; }
@media (min-width: 1024px) { .collection .title { margin-top: 20px; } .collection .rule-gold { margin-top: 28px; } .collection { padding-block: 56px 96px; } .collection .shirt-grid--large { margin-top: 48px; gap: 40px; } }

/* ---------- All stories (/stories.html) ---------- */
.page-head__intro { margin-top: 22px; max-width: 56ch; }
/* Links inside running text on shared pages, styled like prose links. */
.page-head__intro a, .collection__intro a, .steps__link { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Near you: the home band (cream, so it doesn't sit orange-on-orange under the hero art) and /near-you.html. */
.near-band { background: var(--cream); border-top: var(--border); border-bottom: var(--border); }
.near-band__inner { display: grid; gap: 20px; padding-block: 32px; }
.near-band .label { color: var(--accent); }
.near-band__title .accent { color: var(--accent); }
.near-band__title { margin-top: 10px; font: 900 28px/1.05 var(--sans); text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.near-band .body-text { margin-top: 12px; color: var(--ink); max-width: 52ch; }
.near-band__go { justify-self: start; }
.near-band__go .icon { margin-right: 2px; }
.near-band__title { font-size: min(28px, 6.6vw); }
@media (min-width: 1024px) { .near-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; } }
@media (min-width: 1024px) { .near-band__inner { padding-block: 48px; } .near-band__title { font-size: 36px; } }
.suggest--page { border-top: 0; }
@media (min-width: 1024px) { .suggest--page .suggest__inner > * { margin-left: 0; } }
.near-more__text { max-width: 62ch; }
.near-more .actions { margin-top: 24px; }
.stories-person { padding-top: 40px; }
.stories-person + .stories-person { margin-top: 24px; border-top: var(--rule); }
.stories-person__head { display: flex; flex-direction: column; gap: 10px; }
.stories-person__head .section-heading a { color: inherit; text-decoration: none; }
.stories-person__head .section-heading a:hover { color: var(--accent-strong); }
.stories-person__head .accent { color: var(--accent); }
.stories-person__tagline { font: italic 400 19px/1.4 var(--serif); color: var(--accent-strong); max-width: 48ch; }
.stories-person__empty { margin-top: 24px; padding: 18px 20px; background: var(--sand); border: var(--border); max-width: 680px; }
.stories-person__empty a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 1024px) { .stories-person { padding-top: 64px; } .stories-person__tagline { font-size: 22px; } }

/* Tap targets (UI audit #10): small text links get a 44px-tall hit area without moving the text. */
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.text-link, .crumbs a { position: relative; }
.text-link::before, .crumbs a::before { content: ""; position: absolute; inset: -12px 0; }
