/* ==========================================================================
   Sustainable Jewellers Association — sj.v001.css

   LEGAL BOUNDARY — READ BEFORE EDITING ANY MARKUP OR COPY
   ---------------------------------------------------------------------------
   The following must never appear anywhere on this site:

     - the words certified / accredited / approved / verified / endorsed
       applied to members or their goods
     - any badge, seal, crest, trust mark or logo asset for members to display
     - any mention of, link to, or logo of AIDI
     - any wording implying third-party audit, assessment or verification

   Permitted: members' self-declared commitments ("commits to", "has signed",
   "pledges"), the association's own position, and a roster of signatories.

   Why: Directive (EU) 2024/825 applies from 2026-09-27. It inserts UCPD
   Annex I point 2a, a per se ban on displaying a sustainability label not
   based on a scheme supervised by a third party independent of both the
   scheme owner and the trader. A site with no labels sits outside its scope.

   Full rationale: docs/superpowers/specs/2026-07-29-sj-website-design.md §3
   ---------------------------------------------------------------------------
   Cache busting: version lives in the FILENAME. Bump sj.vNNN.css on change;
   never use a ?ver= query string.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
/* Self-hosted. No Google Fonts CDN: German courts have held its IP transfer
   to breach GDPR, and this site's audience is substantially European. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Colour. Names avoid --paper/--cream/--sand on purpose; those names are
     themselves the tell. Strategy is Committed: oxblood carries the
     masthead, the manifesto fold, the Code frame and the footer. */
  --ground: oklch(0.978 0.002 30);
  --ground-2: oklch(0.945 0.004 30);
  --ink: oklch(0.20 0.015 30);
  --muted: oklch(0.44 0.015 30);
  --rule: oklch(0.865 0.008 30);
  --red: oklch(0.42 0.14 27);
  --red-deep: oklch(0.31 0.11 28);
  --on-red: oklch(0.975 0.008 40);
  --on-red-muted: oklch(0.855 0.020 35);
  --rule-on-red: oklch(0.52 0.11 28);

  /* --red is tuned for RED-AS-TEXT on --ground, and the dark scheme lifts it
     to keep that legible. That lifted value fails as a BUTTON FILL behind
     near-white type (2.75:1), so filled controls get their own pair. */
  --btn-bg: var(--red);
  --btn-fg: var(--on-red);

  /* Two named roles, not one accent and a spare.
       --red    the oath: masthead, manifesto, the Code's articles, footer
       --patina material and time: longevity, environmental effect, the roster
     Patina is verdigris, the green copper turns as it ages. It is a
     jeweller's green, meaning "this has been here a long time and still is",
     which is the argument. It is deliberately NOT the eco/NGO green: that
     colour asserts an environmental claim before a word is read, and the
     Code's fourth commitment is not to overstate. */
  --patina: oklch(0.46 0.08 180);
  --patina-band: oklch(0.40 0.07 180);
  --on-patina: oklch(0.98 0.010 180);
  --on-patina-muted: oklch(0.89 0.022 180);
  --rule-on-patina: oklch(0.55 0.07 180);

  /* Type. One family; contrast comes from the width axis. */
  --face: 'Archivo', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;

  --t-xs: 0.78rem;
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.36rem;
  --t-lg: 1.74rem;
  --t-xl: clamp(1.9rem, 1.4rem + 1.6vw, 2.23rem);
  --t-2xl: clamp(2.2rem, 1.5rem + 2.6vw, 2.85rem);
  --t-3xl: clamp(2.6rem, 1.4rem + 5vw, 4.75rem);

  --measure: 68ch;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: clamp(4rem, 8vw, 7rem);
  --s-10: clamp(5rem, 11vw, 10rem);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --wide: 74rem;

  /* Motion */
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur: 320ms;
  --dur-slow: 900ms;

  /* Semantic z-index scale. Never arbitrary values. */
  --z-base: 0;
  --z-sticky: 100;
  --z-skip: 900;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: oklch(0.175 0.018 28);
    --ground-2: oklch(0.225 0.020 28);
    --ink: oklch(0.945 0.005 40);
    --muted: oklch(0.72 0.012 35);
    --rule: oklch(0.32 0.018 28);
    --red: oklch(0.62 0.15 27);
    --red-deep: oklch(0.26 0.09 28);
    --on-red: oklch(0.975 0.008 40);
    --on-red-muted: oklch(0.855 0.020 35);
    --rule-on-red: oklch(0.44 0.10 28);

    /* Filled controls flip to dark type on the lifted red: 5.1:1 rather
       than the 2.75:1 that near-white would give here. */
    --btn-bg: var(--red);
    --btn-fg: oklch(0.16 0.03 28);

    --patina: oklch(0.72 0.08 180);
    --patina-band: oklch(0.34 0.06 180);
    --rule-on-patina: oklch(0.46 0.06 180);
  }
  /* On dark, the drenched bands read heavy; hold them a step back
     from the light-scheme oxblood so long-form stays comfortable. */
  .band-red { --band: oklch(0.36 0.12 27); }
}

/* --- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--face);
  font-size: var(--t-base);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 750;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}

p, ul, ol, dl { margin: 0; }

a { color: inherit; }

/* --- Skip link ------------------------------------------------------------ */

.skip {
  position: absolute;
  left: var(--s-4);
  top: -100vh;
  z-index: var(--z-skip);
  background: var(--ink);
  color: var(--ground);
  padding: var(--s-3) var(--s-4);
  font-weight: 600;
  font-stretch: 88%;
  text-decoration: none;
}

.skip:focus-visible { top: var(--s-4); }

/* --- Focus ---------------------------------------------------------------- */

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 1px;
}

.band-red :where(a, button, input, textarea, select):focus-visible {
  outline-color: var(--on-red);
}

/* --- Layout primitives ---------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose {
  max-width: var(--measure);
  font-size: var(--t-base);
  line-height: 1.68;
  text-wrap: pretty;
}

.prose > * + * { margin-top: var(--s-5); }
.prose strong { font-weight: 650; }

.prose h2 { font-size: var(--t-xl); margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--t-md); margin-top: var(--s-6); }

.lede {
  font-size: var(--t-md);
  line-height: 1.45;
  font-weight: 450;
  max-width: 46ch;
  text-wrap: pretty;
}

.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }

.band-red {
  background: var(--band, var(--red));
  color: var(--on-red);
}

.band-deep { background: var(--red-deep); color: var(--on-red); }
.band-2 { background: var(--ground-2); }

.band-patina { background: var(--patina-band); color: var(--on-patina); }
.band-patina .rule { border-top-color: var(--rule-on-patina); }
.band-patina .muted { color: var(--on-patina-muted); }
.band-patina .figure figcaption { color: var(--on-patina-muted); }
.band-patina :where(a, button, input, textarea, select):focus-visible {
  outline-color: var(--on-patina);
}

.band-patina .btn--solid {
  background: var(--on-patina);
  color: oklch(0.30 0.06 180);
  border-color: var(--on-patina);
}

.band-patina .btn--solid:hover { background: transparent; color: var(--on-patina); }
.band-patina .link { color: var(--on-patina); }

/* Text and image side by side. Used once, for the longevity fold, so the
   patina role arrives as a full surface rather than as a stray accent. */
.duo { display: grid; gap: var(--s-6); align-items: center; }

@media (min-width: 52rem) {
  .duo { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
}

.duo h2 { font-size: var(--t-2xl); margin-bottom: var(--s-5); }
.duo p { max-width: 46ch; text-wrap: pretty; }
.duo p + p { margin-top: var(--s-4); }
.duo .figure img { aspect-ratio: 5 / 4; }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.band-red .rule, .band-deep .rule { border-top-color: var(--rule-on-red); }

/* --- Masthead ------------------------------------------------------------- */

.masthead {
  background: var(--red);
  color: var(--on-red);
}

@media (prefers-color-scheme: dark) {
  .masthead { background: oklch(0.36 0.12 27); }
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-4) var(--s-6);
  padding-block: var(--s-4);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.62em;
  font-size: var(--t-md);
  font-weight: 800;
  font-stretch: 116%;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  margin-right: auto;
}

/* The punch sits at cap height, not at the full line box, so it reads as
   struck alongside the name rather than floating above it. */
.wordmark__mark {
  flex: none;
  height: 1.72em;
  width: auto;
}

.wordmark__sub {
  display: block;
  font-size: var(--t-xs);
  font-weight: 500;
  font-stretch: 88%;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--on-red-muted);
  margin-top: 0.35em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  font-size: var(--t-sm);
  font-weight: 550;
  font-stretch: 92%;
}

.nav a {
  text-decoration: none;
  padding-block: var(--s-1);
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out-quint);
}

.nav a:hover { border-bottom-color: var(--on-red); }
.nav a[aria-current='page'] { border-bottom-color: var(--on-red); }

/* --- Manifesto fold ------------------------------------------------------- */

.manifesto { padding-block: var(--s-10) var(--s-9); }

.manifesto h1 {
  font-size: var(--t-3xl);
  font-weight: 800;
  font-stretch: 120%;
  max-width: 17ch;
}

.manifesto__sub {
  margin-top: var(--s-6);
  max-width: 52ch;
  font-size: var(--t-md);
  line-height: 1.45;
  color: var(--on-red-muted);
  text-wrap: pretty;
}

.manifesto__acts {
  margin-top: var(--s-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-5);
  align-items: center;
}

/* --- Buttons and links ---------------------------------------------------- */

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 650;
  font-stretch: 96%;
  font-size: var(--t-sm);
  padding: 0.85em 1.5em;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out-quint),
              color var(--dur-fast) var(--ease-out-quint);
}

.btn--solid {
  background: var(--on-red);
  color: var(--red-deep);
  border-color: var(--on-red);
}

.btn--solid:hover { background: transparent; color: var(--on-red); }
.band-red .btn:not(.btn--solid):hover { background: var(--on-red); color: var(--red-deep); }

.btn--ink {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bg);
}

.btn--ink:hover { background: transparent; color: var(--red); }

.link {
  color: var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  transition: color var(--dur-fast) var(--ease-out-quint);
}

.link:hover { color: var(--ink); }
.band-red .link, .band-deep .link { color: var(--on-red); }

.prose a:not(.btn) {
  color: var(--red);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
}

/* --- Figure --------------------------------------------------------------- */

.figure { margin: 0; }

.figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.figure--tall img { aspect-ratio: 4 / 3; }

/* A vertical photograph deserves a vertical container. Forcing one into a
   full-bleed landscape band crops it to a head-and-shoulders shot and loses
   the workshop around the subject, which is the point of the picture. */
.duo--portrait { align-items: center; }

@media (min-width: 52rem) {
  .duo--portrait { grid-template-columns: 1.35fr 1fr; }
}

.figure--portrait { max-width: 24rem; margin-inline-start: auto; width: 100%; }

/* Scoped under .duo on purpose: .duo .figure img sets 5/4 at the same
   specificity, so an unscoped .figure--portrait img loses to it. */
.duo .figure--portrait img { aspect-ratio: 3 / 4; object-position: 50% 18%; }

.figure figcaption {
  padding-top: var(--s-3);
  font-size: var(--t-xs);
  font-stretch: 88%;
  color: var(--muted);
  max-width: 54ch;
}

.band-red .figure figcaption { color: var(--on-red-muted); }

/* --- Ledger: the three-claim list on the home page.
       A ruled list, not a card grid. --------------------------------------- */

.ledger { border-top: 1px solid var(--rule); }

.ledger__row {
  display: grid;
  gap: var(--s-3) var(--s-7);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

@media (min-width: 52rem) {
  .ledger__row { grid-template-columns: minmax(14rem, 22rem) 1fr; }
}

.ledger__row h2 {
  font-size: var(--t-lg);
  font-stretch: 112%;
}

.ledger__row p { color: var(--muted); max-width: 56ch; }

.ledger__row a.link {
  display: inline-block;
  margin-top: var(--s-3);
  font-weight: 600;
  font-stretch: 92%;
  font-size: var(--t-sm);
}

/* --- Charter: the Code's numbered articles -------------------------------- */

.charter { counter-reset: article; }

.article {
  display: grid;
  gap: var(--s-2) var(--s-6);
  padding-block: var(--s-7);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 52rem) {
  .article { grid-template-columns: 5rem 1fr; }
}

.article__num {
  counter-increment: article;
  font-size: var(--t-lg);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.article__num::before { content: counter(article, decimal-leading-zero); }

/* Commitments 3 and 6 are the two about the physical world: what the
   workshop consumes, and whether the piece survives. They carry the
   material colour so the two roles are legible as a system. */
.article__num--patina { color: var(--patina); }

.article h2 {
  font-size: var(--t-xl);
  margin-bottom: var(--s-3);
}

.article p { color: var(--ink); max-width: var(--measure); text-wrap: pretty; }
.article p + p { margin-top: var(--s-4); }

/* --- Steps: the join process. Ordered, so numbered. ----------------------- */

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--rule);
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: var(--s-2) var(--s-5);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 46rem) {
  .steps li { grid-template-columns: 3.5rem 1fr; }
}

.steps li::before {
  content: counter(step);
  font-weight: 800;
  font-stretch: 118%;
  font-size: var(--t-md);
  line-height: 1.15;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.steps b { display: block; font-weight: 650; }
.steps p { color: var(--muted); margin-top: var(--s-1); max-width: 58ch; }

/* --- Roster --------------------------------------------------------------- */

.roster {
  border-top: 1px solid var(--rule);
  list-style: none;
  padding: 0;
}

.roster li {
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  justify-content: space-between;
}

.roster__where { color: var(--muted); font-size: var(--t-sm); }

.empty {
  border: 1px solid var(--rule);
  padding: var(--s-7) var(--s-6);
  max-width: var(--measure);
}

.empty h2 { font-size: var(--t-lg); margin-bottom: var(--s-4); }
.empty p { color: var(--muted); }
.empty p + p { margin-top: var(--s-4); }

/* --- Form ----------------------------------------------------------------- */

.form { max-width: 42rem; }

.field { margin-bottom: var(--s-5); }

.field > label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  font-stretch: 90%;
  margin-bottom: var(--s-2);
}

.field__hint {
  display: block;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--muted);
  font-size: var(--t-xs);
  margin-top: var(--s-1);
}

.field input[type='text'],
.field input[type='email'],
.field input[type='url'],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--t-base);
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.7em 0.8em;
  transition: box-shadow var(--dur-fast) var(--ease-out-quint);
}

.field textarea { min-height: 7.5rem; resize: vertical; }

/* Windows Chrome renders a native select and ignores background-color on it,
   which leaves a white control among dark ones. appearance:none takes the
   control back; the chevron is a data URI so nothing extra is fetched. */
.field select {
  appearance: none;
  padding-right: 2.4em;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23191510' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85em center;
  background-size: 0.75em;
}

/* The chevron is baked into a data URI and cannot inherit currentColor, so
   it is restated here. This block must stay AFTER the rule above: same
   specificity, so source order decides. */
@media (prefers-color-scheme: dark) {
  .field select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23F0EAE6' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  }
}

.field :is(input, select, textarea):focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--red);
  border-color: var(--red);
}

/* Placeholder must meet the same 4.5:1 as body text. */
.field ::placeholder { color: var(--muted); opacity: 1; }

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-5);
  border: 1px solid var(--rule);
  /* --ground, not --ground-2: the form sits on a band-2 section, so matching
     it would leave the panel readable only by its border. */
  background: var(--ground);
}

.check input { width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--red); }
.check label { font-size: var(--t-sm); line-height: 1.5; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--rule);
  font-size: var(--t-sm);
}

.form__status[data-state='error'] { border-color: var(--red); color: var(--red); }
.form__status[data-state='ok'] { border-color: var(--ink); }
.form__status:empty { display: none; }

.field__error {
  display: block;
  color: var(--red);
  font-size: var(--t-xs);
  font-weight: 600;
  margin-top: var(--s-2);
}

.field__error:empty { display: none; }

/* --- Footer --------------------------------------------------------------- */

.footer { padding-block: var(--s-8) var(--s-6); }

.footer__grid {
  display: grid;
  gap: var(--s-6) var(--s-7);
}

@media (min-width: 52rem) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer h2 {
  font-size: var(--t-md);
  font-stretch: 114%;
  margin-bottom: var(--s-3);
}

.footer p, .footer li { color: var(--on-red-muted); font-size: var(--t-sm); }
.footer ul { list-style: none; padding: 0; }
.footer li + li { margin-top: var(--s-2); }
.footer a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.footer__note {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule-on-red);
  font-size: var(--t-xs);
  color: var(--on-red-muted);
  max-width: 68ch;
}

.footer__legal {
  margin-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  font-size: var(--t-xs);
  color: var(--on-red-muted);
}

/* --- Page head ------------------------------------------------------------ */

.pagehead { padding-block: var(--s-8) var(--s-7); }

.pagehead h1 {
  font-size: var(--t-2xl);
  max-width: 20ch;
}

.pagehead .lede { margin-top: var(--s-5); color: var(--muted); }
.band-red .pagehead .lede { color: var(--on-red-muted); }

/* --- Motion: one deliberate first-load reveal on the manifesto -------------
   Implemented as an animation, not a class-gated transition, so the content
   is never hidden if the animation does not run. --------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(0.6rem); }
  to { opacity: 1; transform: none; }
}

@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.manifesto h1 {
  animation: wipe var(--dur-slow) var(--ease-out-quint) both;
}

.manifesto__sub { animation: rise var(--dur) var(--ease-out-quint) 340ms both; }
.manifesto__acts { animation: rise var(--dur) var(--ease-out-quint) 460ms both; }

@media (prefers-reduced-motion: reduce) {
  .manifesto h1,
  .manifesto__sub,
  .manifesto__acts {
    animation: none;
  }
  *, *::before, *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --- Utilities ------------------------------------------------------------ */

.stack-5 > * + * { margin-top: var(--s-5); }
.stack-6 > * + * { margin-top: var(--s-6); }
.stack-7 > * + * { margin-top: var(--s-7); }

/* Spacing and size utilities exist so no page needs an inline style
   attribute; the Content-Security-Policy in _headers omits
   style-src 'unsafe-inline' and inline styles would be dropped. */
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.prose .h-2xl { font-size: var(--t-2xl); }

.muted { color: var(--muted); }
.band-red .muted, .band-deep .muted { color: var(--on-red-muted); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .masthead, .nav, .footer { background: #fff !important; color: #000 !important; }
  .band-red { background: #fff !important; color: #000 !important; }
}
