@import url('https://fonts.googleapis.com/css2?family=Georama:ital,wdth,wght@0,62.5..150,100..900;1,62.5..150,100..900&display=swap');

/*
  SwooSay name page boards, second take (2026-10-23).

  Direction: "The Liner Notes". A Criterion booklet crossed with a dictionary headword. The page is a sheet of paper:
  the respelling is the headword, set huge in the display face; the card art is a plate with a caption; sources are
  credits, set small with hairline rules. No panels, no cards, no decoration: hierarchy comes from size, weight and space.

  Theming is token-first. Every color is a Web Awesome token, so the visitor's aspect (wa-brand-*) and alignment
  (wa-light / wa-dark) re-skin the page. Every token is from themes/swoosay.css, spliced in below by build.py; nothing here sets a color or a font family.
*/
/*
  SwooSay theme. Tokens only: no ::part, and no component selectors except where a rule sets only tokens on one
  component because Web Awesome has no per-component token for it (each tied to a friction entry) (DESIGN-SYSTEM-PLAN.md Phase 2).
  Apply with <html class="wa-theme-swoosay wa-palette-swoosay wa-light wa-brand-blue">:
    wa-theme-swoosay   type, Sand and ink, radius, the form-control group, the Sand texture
    wa-palette-swoosay the Look Awesome SwooSay 11-tint scales (blue, green, red, yellow, and gray, which holds Sand)
    wa-light / wa-dark alignment: Heroism is light, Villainy is dark
    wa-brand-*         aspect: blue Vigilance, green Command, red Aggression, yellow Cunning
  Every value here is the owner's. Nobody else writes a color.
  Fonts are not loaded here; a page loads Georama (width 62.5–150, weight 100–900, italics) from Google
  Fonts before this file.
*/

/* ---------- Palette: the owner's scales, Pantone-matched ---------- */
.wa-palette-swoosay {
  

  /* Look Awesome SwooSay: Vigilance (blue) */
  --wa-color-blue-95: #e8f3ff;
  --wa-color-blue-90: #d2e8ff;
  --wa-color-blue-80: #a8cdf4;
  --wa-color-blue-70: #87b2e0;
  --wa-color-blue-60: #6999ca;
  --wa-color-blue-50: #4a79a8;
  --wa-color-blue-40: #2e5c89;
  --wa-color-blue-30: #1f486f;
  --wa-color-blue-20: #143453;
  --wa-color-blue-10: #091f34;
  --wa-color-blue-05: #051321;
  --wa-color-blue: var(--wa-color-blue-50);
  --wa-color-blue-key: 50;

  /* Command (green) */
  --wa-color-green-95: #e4f6eb;
  --wa-color-green-90: #d2ebdc;
  --wa-color-green-80: #afd1bd;
  --wa-color-green-70: #8fb8a0;
  --wa-color-green-60: #729f86;
  --wa-color-green-50: #537f67;
  --wa-color-green-40: #37624b;
  --wa-color-green-30: #284d3a;
  --wa-color-green-20: #1b3829;
  --wa-color-green-10: #0e2217;
  --wa-color-green-05: #08150e;
  --wa-color-green: var(--wa-color-green-50);
  --wa-color-green-key: 50;

  /* Cunning (yellow) */
  --wa-color-yellow-95: #fff0d5;
  --wa-color-yellow-90: #fbe2b5;
  --wa-color-yellow-80: #e7c586;
  --wa-color-yellow-70: #d1a95c;
  --wa-color-yellow-60: #ba8e33;
  --wa-color-yellow-50: #986e00;
  --wa-color-yellow-40: #745400;
  --wa-color-yellow-30: #5c4100;
  --wa-color-yellow-20: #442f00;
  --wa-color-yellow-10: #2a1b00;
  --wa-color-yellow-05: #1b1000;
  --wa-color-yellow: var(--wa-color-yellow-50);
  --wa-color-yellow-key: 50;

  /* Aggression (red) */
  --wa-color-red-95: #ffeeec;
  --wa-color-red-90: #ffded9;
  --wa-color-red-80: #ffb8ae;
  --wa-color-red-70: #f1968b;
  --wa-color-red-60: #db796e;
  --wa-color-red-50: #b75950;
  --wa-color-red-40: #963c34;
  --wa-color-red-30: #7a2c26;
  --wa-color-red-20: #5c1e19;
  --wa-color-red-10: #3a100d;
  --wa-color-red-05: #260907;
  --wa-color-red: var(--wa-color-red-50);
  --wa-color-red-key: 50;

  /* Sand: the neutral for every aspect (surfaces, text, borders) */
  --wa-color-gray-95: #faf0e7;
  --wa-color-gray-90: #f0e3d7;
  --wa-color-gray-80: #d8c6b6;
  --wa-color-gray-70: #c0ab98;
  --wa-color-gray-60: #a7917c;
  --wa-color-gray-50: #87725e;
  --wa-color-gray-40: #6a5542;
  --wa-color-gray-30: #544232;
  --wa-color-gray-20: #3e3023;
  --wa-color-gray-10: #261c13;
  --wa-color-gray-05: #17110b;
  --wa-color-gray: var(--wa-color-gray-50);
  --wa-color-gray-key: 50;
}

/* ---------- Aspect: the brand color. Its loud fill is the aspect's Pantone base hex, white text on it (black on 1365 C) ---------- */
/* Vigilance / Accent — Pantone 279 C */
.wa-theme-swoosay.wa-brand-blue {
  --wa-color-brand-fill-loud: #386694;
  --wa-color-brand-on-loud: white;
}
.wa-theme-swoosay.wa-brand-blue.wa-light,
.wa-theme-swoosay.wa-light .wa-brand-blue {
  --wa-color-text-link: var(--wa-color-blue-40);   /* a step darker than the icons, for reading (owner, 2026-10-31) */
  --wa-color-brand-fill-quiet: var(--wa-color-blue-90);
  --wa-color-brand-border-quiet: var(--wa-color-blue-80);
  --wa-color-brand-on-quiet: var(--wa-color-blue-50);
  --sw-color-stamp-border-hover: var(--wa-color-blue-20);
  --sw-color-card-border: var(--wa-color-blue-30);
  --sw-color-stamp-fill: var(--wa-color-blue-80);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-blue-50);
  --sw-color-logo-mark-hover: var(--wa-color-blue-60);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}
.wa-theme-swoosay.wa-brand-blue.wa-dark,
.wa-theme-swoosay.wa-dark .wa-brand-blue {
  --wa-color-brand-fill-quiet: var(--wa-color-blue-10);
  --wa-color-brand-border-quiet: var(--wa-color-blue-20);
  --wa-color-brand-on-quiet: var(--wa-color-blue-80);
  --sw-color-stamp-border-hover: var(--wa-color-blue-70);
  --sw-color-card-border: var(--wa-color-blue-60);
  --sw-color-stamp-fill: var(--wa-color-blue-20);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-blue-60);
  --sw-color-logo-mark-hover: var(--wa-color-blue-50);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}

/* Command — Pantone Blarney */
.wa-theme-swoosay.wa-brand-green {
  --wa-color-brand-fill-loud: #436e57;
  --wa-color-brand-on-loud: white;
}
.wa-theme-swoosay.wa-brand-green.wa-light,
.wa-theme-swoosay.wa-light .wa-brand-green {
  --wa-color-text-link: var(--wa-color-green-40);   /* a step darker than the icons, for reading (owner, 2026-10-31) */
  --wa-color-brand-fill-quiet: var(--wa-color-green-90);
  --wa-color-brand-border-quiet: var(--wa-color-green-80);
  --wa-color-brand-on-quiet: var(--wa-color-green-50);
  --sw-color-stamp-border-hover: var(--wa-color-green-20);
  --sw-color-card-border: var(--wa-color-green-30);
  --sw-color-stamp-fill: var(--wa-color-green-80);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-green-50);
  --sw-color-logo-mark-hover: var(--wa-color-green-60);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}
.wa-theme-swoosay.wa-brand-green.wa-dark,
.wa-theme-swoosay.wa-dark .wa-brand-green {
  --wa-color-brand-fill-quiet: var(--wa-color-green-10);
  --wa-color-brand-border-quiet: var(--wa-color-green-20);
  --wa-color-brand-on-quiet: var(--wa-color-green-80);
  --sw-color-stamp-border-hover: var(--wa-color-green-70);
  --sw-color-card-border: var(--wa-color-green-60);
  --sw-color-stamp-fill: var(--wa-color-green-20);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-green-60);
  --sw-color-logo-mark-hover: var(--wa-color-green-50);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}

/* Cunning — Pantone 1365 C */
.wa-theme-swoosay.wa-brand-yellow {
  --wa-color-brand-fill-loud: #dcaf57;
  --wa-color-brand-on-loud: black;
}
.wa-theme-swoosay.wa-brand-yellow.wa-light,
.wa-theme-swoosay.wa-light .wa-brand-yellow {
  --wa-color-text-link: var(--wa-color-yellow-40);   /* a step darker than the icons, for reading (owner, 2026-10-31) */
  --wa-color-brand-fill-quiet: var(--wa-color-yellow-90);
  --wa-color-brand-border-quiet: var(--wa-color-yellow-80);
  --wa-color-brand-on-quiet: var(--wa-color-yellow-50);
  --sw-color-stamp-border-hover: var(--wa-color-yellow-20);
  --sw-color-card-border: var(--wa-color-yellow-30);
  --sw-color-stamp-fill: var(--wa-color-yellow-80);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-yellow-60);  /* one step past the rest: 2.4:1 on Sand, the owner's call (2026-10-31) */
  --sw-color-logo-mark-hover: var(--wa-color-yellow-70);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}
.wa-theme-swoosay.wa-brand-yellow.wa-dark,
.wa-theme-swoosay.wa-dark .wa-brand-yellow {
  --wa-color-brand-fill-quiet: var(--wa-color-yellow-10);
  --wa-color-brand-border-quiet: var(--wa-color-yellow-20);
  --wa-color-brand-on-quiet: var(--wa-color-yellow-80);
  --sw-color-stamp-border-hover: var(--wa-color-yellow-70);
  --sw-color-card-border: var(--wa-color-yellow-60);
  --sw-color-stamp-fill: var(--wa-color-yellow-20);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-yellow-60);
  --sw-color-logo-mark-hover: var(--wa-color-yellow-50);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}

/* Aggression — Pantone Calypso Coral */
.wa-theme-swoosay.wa-brand-red {
  --wa-color-brand-fill-loud: #9c4139;
  --wa-color-brand-on-loud: white;
}
.wa-theme-swoosay.wa-brand-red.wa-light,
.wa-theme-swoosay.wa-light .wa-brand-red {
  --wa-color-text-link: var(--wa-color-red-40);   /* a step darker than the icons, for reading (owner, 2026-10-31) */
  --wa-color-brand-fill-quiet: var(--wa-color-red-90);
  --wa-color-brand-border-quiet: var(--wa-color-red-80);
  --wa-color-brand-on-quiet: var(--wa-color-red-50);
  --sw-color-stamp-border-hover: var(--wa-color-red-20);
  --sw-color-card-border: var(--wa-color-red-30);
  --sw-color-stamp-fill: var(--wa-color-red-80);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-red-50);
  --sw-color-logo-mark-hover: var(--wa-color-red-60);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}
.wa-theme-swoosay.wa-brand-red.wa-dark,
.wa-theme-swoosay.wa-dark .wa-brand-red {
  --wa-color-brand-fill-quiet: var(--wa-color-red-10);
  --wa-color-brand-border-quiet: var(--wa-color-red-20);
  --wa-color-brand-on-quiet: var(--wa-color-red-80);
  --sw-color-stamp-border-hover: var(--wa-color-red-70);
  --sw-color-card-border: var(--wa-color-red-60);
  --sw-color-stamp-fill: var(--wa-color-red-20);
  --sw-color-stamp-text: var(--sw-color-card-border);
  --sw-color-brand-icon: var(--wa-color-red-60);
  --sw-color-logo-mark-hover: var(--wa-color-red-50);
  --wa-color-brand-fill-normal: var(--wa-color-brand-fill-quiet);
  --wa-color-brand-border-normal: var(--wa-color-brand-border-quiet);
  --wa-color-brand-on-normal: var(--wa-color-brand-on-quiet);
}

/* ---------- Theme ---------- */
.wa-theme-swoosay {
  /* links: Web Awesome's dotted underline at rest; on hover solid, the text's color at 50% (owner, 2026-10-31) */
  --wa-link-decoration-hover: underline oklch(from currentColor l c h / 0.5);
  /* Loud fills (buttons, badges, tags in the accent appearance) are the Pantone base colors themselves, not a scale
     tint: 279 C, Blarney, Calypso Coral, 1365 C and Quarry. White text on each, black on the yellow (owner, 2026-10-23). */
  --wa-color-success-fill-loud: #436e57;
  --wa-color-success-on-loud: white;
  --wa-color-warning-fill-loud: #dcaf57;
  --wa-color-warning-on-loud: black;
  --wa-color-danger-fill-loud: #9c4139;
  --wa-color-danger-on-loud: white;
  --wa-color-neutral-fill-loud: var(--wa-color-gray-40);
  --wa-color-neutral-on-loud: white;

  /* type: Georama for everything (DESIGN.md §3) */
  --wa-font-family-heading: 'Georama', system-ui, sans-serif;
  --wa-font-family-body: 'Georama', system-ui, sans-serif;
  --wa-font-family-longform: 'Georama', system-ui, sans-serif;
  --wa-font-family-code: ui-monospace, 'SF Mono', Menlo, monospace;
  --wa-font-weight-heading: 700;
  --wa-font-weight-body: 400;
  --wa-font-weight-longform: 400;
  --wa-font-weight-semibold: 600;
  --wa-font-weight-bold: 700;
  --wa-font-weight-action: 600;
  --wa-line-height-condensed: 1.15;
  --wa-line-height-normal: 1.55;
  --wa-line-height-expanded: 1.75;
  /* the headword: the respelling and the wordmark, Georama at width 90, weight 700 (owner, 2026-10-31) */
  --sw-font-stretch-headword: 90%;
  --sw-letter-spacing-headword: 0;   /* a condensed bold is already tight; no negative tracking (owner, 2026-10-23) */
  --sw-line-height-headword: 1;
  /* the wordmark: SWOOSAY, all caps, beside the mark (brand/icons/waveform-lines-sharp-25.svg) */
  --sw-font-weight-wordmark: 800;
  --sw-letter-spacing-wordmark: 0.06em;
  --sw-text-transform-wordmark: uppercase;
  --sw-logo-mark-offset: 0;   /* by eye, a smidge above the middle of the caps (owner, 2026-10-31); depends on the font */
  /* the home page's top line: width 90, as the logo */
  --sw-font-weight-tagline: 800;
  --sw-logo-mark-scale: 1.3;   /* the mark's box against the wordmark's cap height */
  --sw-color-logo-mark: var(--sw-color-brand-icon);   /* the mark takes the aspect; the wordmark stays ink (owner, 2026-10-23) */
  /* the level word on a name page (VERIFIED, BEST GUESS): ExtraBold, two steps above the theme's 600 bold (owner, 2026-10-23: 700, then 800) */
  --sw-font-weight-level: 800;
  /* caps labels */
  --sw-font-weight-caps: 500;
  --sw-letter-spacing-caps: 0.12em;

  /* shape: Web Awesome's own corner radius (owner, 2026-10-26: the near-square 0.5 is gone) */
  --wa-border-radius-scale: 1;
  --wa-border-width-s: 1px;

  /* form controls */
  --wa-form-control-label-font-weight: var(--wa-font-weight-semibold);
  --wa-form-control-value-font-weight: var(--wa-font-weight-body);

  /* the alignment menu: each item previews its own mode, whichever is active */
  --sw-color-menu-heroism-fill: white;   /* owner, 2026-10-31 */
  --sw-color-menu-heroism-text: var(--wa-color-gray-10);
  --sw-color-menu-villainy-fill: var(--wa-color-gray-10);
  --sw-color-menu-villainy-text: var(--wa-color-gray-95);
}

/* ---------- Heroism: Sand 90, the same for every aspect ---------- */
.wa-theme-swoosay.wa-light, .wa-theme-swoosay .wa-light {
  --wa-color-surface-default: var(--sw-sand-under);
  --sw-sand-under: #f8ebde; /* under the texture, so clouds and grain average out to Sand 90, #f0e3d7 */
  --wa-color-surface-lowered: var(--wa-color-gray-80);
  --wa-color-surface-raised: var(--wa-color-gray-95);
  --wa-color-surface-border: var(--wa-color-gray-70);
  --sw-color-wordmark-hover: var(--wa-color-gray-40);
  --wa-form-control-background-color: var(--wa-color-gray-95);   /* search and other fields, set off from the page (owner, 2026-10-31) */
  --wa-color-text-normal: var(--wa-color-gray-20);
  --sw-color-misprint-band: var(--wa-color-brand-40);   /* the Misprint band and its note: the chosen aspect's color, two shades lighter than the Best Guess band's tint to draw the eye (owner, 2026-11-02) */
  --sw-color-misprint-band-text: var(--wa-color-brand-95);   /* its word and icon, in the aspect's color too */
  --wa-color-text-quiet: var(--wa-color-gray-40);
  --wa-form-control-placeholder-color: var(--wa-color-gray-40);
  --sw-clouds-image: url(../texture/clouds-light.svg);
}

/* ---------- Villainy: Sand 10 ---------- */
.wa-theme-swoosay.wa-dark, .wa-theme-swoosay .wa-dark {
  --wa-color-surface-default: var(--sw-sand-under);
  --sw-sand-under: #231910; /* under the texture, so clouds and grain average out to Sand 10, #261c13 */
  --wa-color-surface-lowered: var(--wa-color-gray-05);
  --wa-color-surface-raised: var(--wa-color-gray-20);
  --wa-color-surface-border: var(--wa-color-gray-30);
  --sw-color-wordmark-hover: var(--wa-color-gray-70);
  --wa-form-control-background-color: var(--wa-color-gray-05);   /* search and other fields, set off from the page (owner, 2026-10-31) */
  --wa-color-text-normal: var(--wa-color-gray-90);
  --sw-color-misprint-band: var(--wa-color-brand-70);   /* the Misprint band and its note: the chosen aspect's color, two shades lighter than the Best Guess band's tint to draw the eye (owner, 2026-11-02) */
  --sw-color-misprint-band-text: var(--wa-color-brand-10);   /* its word and icon, in the aspect's color too */
  --wa-color-text-quiet: var(--wa-color-gray-60);
  --wa-font-weight-body: 350;
  --wa-color-success-on-quiet: var(--wa-color-green-80);
  --wa-color-warning-on-quiet: var(--wa-color-yellow-80);
  --wa-color-danger-on-quiet: var(--wa-color-red-80);
  --wa-color-neutral-on-quiet: var(--wa-color-gray-80);
  --wa-color-text-link: var(--wa-color-brand-on-quiet);
  --wa-form-control-placeholder-color: var(--wa-color-gray-60);
  --sw-clouds-image: url(../texture/clouds-dark.svg);
}

/* ---------- The Sand texture: your film scan's grain over soft clouds, one layer each so each strength is one number.
   Web Awesome has no token for a page background image, so these are real rules (RETHEME-LOG.md) ---------- */
.wa-theme-swoosay {
  --sw-grain-strength: 0.1;    /* the options page's Grain 20 */
  --sw-cloud-strength: 0.8;    /* the options page's Cloud 80 */
  background-color: var(--wa-color-surface-default);
}
.wa-theme-swoosay body, .wa-theme-swoosay wa-page, .wa-theme-swoosay wa-page::part(header), .wa-theme-swoosay wa-page::part(banner), .wa-theme-swoosay wa-page::part(subheader), .wa-theme-swoosay wa-page::part(footer) { background: transparent; }
.wa-theme-swoosay body { position: relative; isolation: isolate; }
.wa-theme-swoosay body::before, .wa-theme-swoosay body::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wa-theme-swoosay body::before { background-image: var(--sw-clouds-image); opacity: var(--sw-cloud-strength); }
.wa-theme-swoosay body::after { background-image: url(../texture/grain.webp); background-size: 512px; opacity: var(--sw-grain-strength); }
/* Each texture layer is its own compositing layer, so Safari doesn't repaint it with the page. Painted into the page, the
   two cost about 290 ms of every repaint, and Safari repaints the whole window whenever anything inside the card grid is
   restyled on hover: a scan across a set page's cards ran at 6 frames a second, and scrolling was as bad (measured by
   driving Safari 26.5, 2026-11-11; raw/foil-reports/safari/sd.py). They still scroll with the page and look the same. */
.wa-theme-swoosay body::before, .wa-theme-swoosay body::after { will-change: transform; }

/* ---------- Buttons: Web Awesome's Awesome theme's feel with our colors (owner, 2026-10-31). A 2px outline on a solid lip in the
   button's own border color; pressed, the lip goes and the button drops onto it, with no transition so it snaps. No token
   for the lip, so ::part: friction F-032 ---------- */
.wa-theme-swoosay wa-button {
  /* both are a share of the button's own height, so they scale with it, from a small button to the round Say */
  --sw-button-lift: round(calc(var(--wa-form-control-height) * 0.1), 1px);
  --wa-form-control-border-width: round(calc(var(--wa-form-control-height) * 0.05), 1px);
  --wa-button-transform-hover: none;
  --wa-button-transform-active: translateY(var(--sw-button-lift));
  --wa-transition-slow: 0s;
  --wa-transition-normal: 0s;
  --wa-transition-fast: 0s;
  --sw-button-lip: var(--wa-color-border-normal);
}
.wa-theme-swoosay wa-button[appearance='outlined'] { --sw-button-lip: var(--wa-color-border-loud); }
.wa-theme-swoosay wa-button:not([appearance='plain'])::part(base) {
  height: calc(var(--wa-form-control-height) - var(--sw-button-lift));
  box-shadow: 0 var(--sw-button-lift) 0 0 var(--sw-button-lip);
  margin-bottom: var(--sw-button-lift);
}
.wa-theme-swoosay wa-button:not([appearance='plain'], [disabled]):active::part(base) { box-shadow: none; }
.wa-theme-swoosay wa-button.say.playing::part(base) { transform: translateY(var(--sw-button-lift)); box-shadow: none; }   /* held down while it speaks, up when it's done (owner, 2026-11-01) */
.wa-theme-swoosay wa-button.say::part(base) { height: var(--wa-form-control-height); margin-bottom: 0; }   /* the round Say stays a circle, its lip below it */

/* ---------- Accent buttons wear the sabacc card (owner, 2026-11-01): a tint for the fill, its outline, lip, and text a darker step in
   light mode and a lighter one in dark; on hover the outline, lip, and text go one more step, and the center holds. The round Say wears it too. ---------- */
.wa-theme-swoosay wa-button[variant='brand'] { --sw-accent-fill: var(--sw-color-stamp-fill); --sw-accent-border: var(--sw-color-card-border); --sw-accent-hover: var(--sw-color-stamp-border-hover); }
.wa-theme-swoosay.wa-light wa-button[variant='success'] { --sw-accent-fill: var(--wa-color-green-80); --sw-accent-border: var(--wa-color-green-30); --sw-accent-hover: var(--wa-color-green-20); }
.wa-theme-swoosay.wa-light wa-button[variant='warning'] { --sw-accent-fill: var(--wa-color-yellow-80); --sw-accent-border: var(--wa-color-yellow-30); --sw-accent-hover: var(--wa-color-yellow-20); }
.wa-theme-swoosay.wa-light wa-button[variant='danger'] { --sw-accent-fill: var(--wa-color-red-80); --sw-accent-border: var(--wa-color-red-30); --sw-accent-hover: var(--wa-color-red-20); }
.wa-theme-swoosay.wa-light wa-button[variant='neutral'], .wa-theme-swoosay.wa-light wa-button:not([variant]) { --sw-accent-fill: var(--wa-color-gray-80); --sw-accent-border: var(--wa-color-gray-30); --sw-accent-hover: var(--wa-color-gray-20); }
.wa-theme-swoosay.wa-dark wa-button[variant='success'] { --sw-accent-fill: var(--wa-color-green-20); --sw-accent-border: var(--wa-color-green-60); --sw-accent-hover: var(--wa-color-green-70); }
.wa-theme-swoosay.wa-dark wa-button[variant='warning'] { --sw-accent-fill: var(--wa-color-yellow-20); --sw-accent-border: var(--wa-color-yellow-60); --sw-accent-hover: var(--wa-color-yellow-70); }
.wa-theme-swoosay.wa-dark wa-button[variant='danger'] { --sw-accent-fill: var(--wa-color-red-20); --sw-accent-border: var(--wa-color-red-60); --sw-accent-hover: var(--wa-color-red-70); }
.wa-theme-swoosay.wa-dark wa-button[variant='neutral'], .wa-theme-swoosay.wa-dark wa-button:not([variant]) { --sw-accent-fill: var(--wa-color-gray-20); --sw-accent-border: var(--wa-color-gray-60); --sw-accent-hover: var(--wa-color-gray-70); }
.wa-theme-swoosay wa-button:is([appearance='accent'], :not([appearance])) { --sw-button-lip: var(--sw-accent-border); }
.wa-theme-swoosay wa-button:is([appearance='accent'], :not([appearance]))::part(base) { background-color: var(--sw-accent-fill); border-color: var(--sw-accent-border); color: var(--sw-accent-border); }
@media (hover: hover) {
  .wa-theme-swoosay wa-button:is([appearance='accent'], :not([appearance])):not([disabled]):hover { --sw-button-lip: var(--sw-accent-hover); }
  .wa-theme-swoosay wa-button:is([appearance='accent'], :not([appearance])):not([disabled]):hover::part(base) { background-color: var(--sw-accent-fill); border-color: var(--sw-accent-hover); color: var(--sw-accent-hover); }
}
.wa-theme-swoosay wa-button:is([appearance='accent'], :not([appearance])):not([disabled]):active::part(base) { background-color: var(--sw-accent-fill); }

/* ---------- The neutral badge, inverted ---------- */
/* A neutral accent badge is the page turned around: filled with the ink, its text the paper (near-black on light,
   near-white on dark): contrast, not color (owner, 2026-10-23). It was made for Verified's badge, which became a seal
   after the name the same day; it stays as the system's neutral accent badge. Only tokens are set,
   on the badge alone: Web Awesome has no badge-only fill token, and the neutral loud fill (Quarry) stays for everything
   else. friction: F-012 */
.wa-theme-swoosay wa-badge[variant="neutral"][appearance="accent"] {
  --wa-color-fill-loud: var(--wa-color-text-normal);
  --wa-color-on-loud: var(--wa-color-surface-default);
}


/* ---------- Tokens come from themes/swoosay.css (spliced in above by build.py); this file only uses them ---------- */
/* What the patterns read that Web Awesome has no token for, set from Web Awesome's own, so any theme can wear them; themes/swoosay.css sets its own values over these (:where has no weight). Owner, 2026-11-01 */
:where(:root) {
  --sw-color-brand-icon: var(--wa-color-brand-on-quiet);
  --sw-color-misprint-band: var(--wa-color-danger-fill-loud);   /* the Misprint band's fill, 90% of it (shared/site.css), and the name page's Misprint row */
  --sw-color-misprint-band-text: var(--wa-color-danger-on-loud);   /* the Misprint band's word and icon */
  --sw-color-logo-mark: var(--sw-color-brand-icon);
  --sw-color-logo-mark-hover: var(--wa-color-brand-on-normal);
  --sw-color-wordmark-hover: var(--wa-color-text-quiet);
  --sw-color-stamp-fill: var(--wa-color-brand-fill-normal);
  --sw-color-card-border: var(--wa-color-brand-border-loud);
  --sw-color-stamp-text: var(--wa-color-brand-on-normal);
  --sw-color-stamp-border-hover: var(--wa-color-brand-on-quiet);
  --sw-color-menu-heroism-fill: var(--wa-color-surface-raised);
  --sw-color-menu-heroism-text: var(--wa-color-text-normal);
  --sw-color-menu-villainy-fill: var(--wa-color-surface-raised);
  --sw-color-menu-villainy-text: var(--wa-color-text-normal);
  --sw-font-stretch-headword: normal;
  --sw-letter-spacing-headword: normal;
  --sw-line-height-headword: var(--wa-line-height-condensed);
  --sw-font-weight-wordmark: var(--wa-font-weight-heading);
  --sw-letter-spacing-wordmark: normal;
  --sw-text-transform-wordmark: none;
  --sw-font-weight-tagline: var(--wa-font-weight-heading);
  --sw-logo-mark-scale: 1.3;
  --sw-logo-mark-offset: 0;
  --sw-font-weight-level: var(--wa-font-weight-bold);
  --sw-font-weight-caps: var(--wa-font-weight-semibold);
  --sw-letter-spacing-caps: 0.08em;
}
:root {
  /* one text column for header, page and footer. The page's own content is 51.2rem and everything is in rem, so tablet,
     laptop, and desktop are one design at three root sizes: 768, 1024, and 1280 wide, plus their gutters (owner, 2026-10-31) */
  --sw-gutter: 1.6rem; --sw-page-max: 54.4rem; }
/* Tablet and laptop start where the page and gutters fit, 54.4rem at the root size; desktop at 1600px, so most laptops stay
   laptop (owner, 2026-10-31). In em, and the root in %, so both follow the
   browser's own text size. Under 51em is the phone layout (the @media blocks below). */
@media (min-width: 51em) { html { font-size: 93.75%; } }
@media (min-width: 68em) { html { font-size: 125%; } }
@media (min-width: 100em) { html { font-size: 156.25%; } }
/* the header's and footer's inline padding puts their content on the page's text column at every width */
.site-header, .site-footer { padding-inline: max(var(--sw-gutter), calc((100% - var(--sw-page-max)) / 2 + var(--sw-gutter))); }
/* Create's preview wrapper adds an unlayered :where(body) { padding: 1rem }, which beats Web Awesome's layered reset
   for pages with wa-page, so the whole frame sat inside a 16px margin. Not on the real site. friction: F-010 */
body:has(> wa-page) { padding: 0; }
body { font-family: var(--wa-font-family-body); font-weight: var(--wa-font-weight-body); font-kerning: normal; }
h1, h2, h3 { font-family: var(--wa-font-family-heading); font-weight: var(--wa-font-weight-heading); line-height: var(--wa-line-height-condensed); text-wrap: balance; }
/* no margins of their own, except inside wa-prose, whose layered rhythm an unlayered margin: 0 would beat (F-020); in
   :where() so it weighs nothing and every heading's own margin (section > h2) still wins */
:where(:is(h1, h2, h3):not(.wa-prose *)) { margin: 0; }
.display { font-family: var(--wa-font-family-heading); font-weight: var(--wa-font-weight-heading); letter-spacing: var(--sw-letter-spacing-headword); line-height: var(--sw-line-height-headword); font-stretch: var(--sw-font-stretch-headword); }
.caps { font-family: var(--wa-font-family-body); font-weight: var(--sw-font-weight-caps); font-size: var(--wa-font-size-xs); letter-spacing: var(--sw-letter-spacing-caps); text-transform: uppercase; color: var(--wa-color-text-quiet); }
.num { font-variant-numeric: tabular-nums; }
.longform { font-family: var(--wa-font-family-longform); font-weight: var(--wa-font-weight-longform); }
/* a tooltip's text stays hidden until Web Awesome defines it, so it never flashes inline under its name while the page loads */
wa-tooltip:not(:defined) { display: none; }
/* the theme menus and the set page's sort: their items would show as loose text in the header until Web Awesome
   defines them, so they hold their place, unseen, until then (owner, 2026-10-27) */
wa-dropdown:not(:defined), wa-select:not(:defined) { visibility: hidden; }
wa-dropdown:not(:defined) > wa-dropdown-item, wa-select:not(:defined) > wa-option { display: none; }
a { color: inherit; font-weight: var(--wa-font-weight-action); }  /* Web Awesome's own token for text that's interactive: F-031 */
/* a link turns the brand link color on hover, and its underline goes solid (the theme) */
a:hover, .copy-text__trigger:hover { color: var(--wa-color-text-link); }

/* ---------- Board bar (not part of the design) ---------- */
.board-bar { display: flex; flex-wrap: wrap; align-items: end; gap: var(--wa-space-xs) var(--wa-space-m); padding: var(--wa-space-xs) var(--wa-space-l);
  background: var(--wa-color-neutral-fill-quiet); border-bottom: 1px solid var(--wa-color-neutral-border-quiet); font-family: system-ui, sans-serif; font-size: var(--wa-font-size-s); }
.board-bar__title { font-weight: 600; padding-bottom: var(--wa-space-xs); }
.board-bar wa-select { min-width: 16rem; }

/* ---------- Site header and footer ---------- */
.site-header { --sw-header-gap: var(--wa-space-l); display: flex; align-items: center; gap: var(--sw-header-gap); padding-block: var(--wa-space-m); border-bottom: 1px solid var(--wa-color-surface-border); }
.wordmark { font-family: var(--wa-font-family-heading); font-weight: var(--sw-font-weight-wordmark); letter-spacing: var(--sw-letter-spacing-wordmark); font-stretch: var(--sw-font-stretch-headword); text-transform: var(--sw-text-transform-wordmark); font-size: var(--wa-font-size-l); text-decoration: none; color: var(--wa-color-text-normal); }
/* the logo's hover: toward the page, text and mark together */
.wordmark:hover { color: var(--sw-color-wordmark-hover); }
.wordmark:hover .lockup__mark { color: var(--sw-color-logo-mark-hover); }
.lockup { display: inline-flex; align-items: center; gap: .3em; line-height: 1; }
.lockup__mark { font-size: calc(0.9em * var(--sw-logo-mark-scale)); display: block; height: 1em; width: 1.211em; flex-shrink: 0; color: var(--sw-color-logo-mark); translate: 0 var(--sw-logo-mark-offset); }  /* the mark's middle on the middle of the all-caps wordmark, measured (owner, 2026-10-31) */
/* On hover the logo says its own name, silently, from a real recording of SWOO-say (owner, 2026-11-01). Written by mockups/logo/say_wave.py */
.lockup__mark { overflow: visible; }
/* say_wave.py: start */
@keyframes sw-logo-say-1 { 0.0% { height: 114px; y: 263px; } 7.4% { height: 103px; y: 268px; } 14.8% { height: 92px; y: 274px; } 22.2% { height: 116px; y: 262px; } 29.6% { height: 124px; y: 258px; } 37.0% { height: 122px; y: 259px; } 44.4% { height: 106px; y: 267px; } 51.9% { height: 92px; y: 274px; } 59.3% { height: 94px; y: 273px; } 66.7% { height: 90px; y: 275px; } 74.1% { height: 106px; y: 267px; } 81.5% { height: 111px; y: 265px; } 88.9% { height: 115px; y: 262px; } 96.3% { height: 120px; y: 260px; } }
@keyframes sw-logo-say-2 { 0.0% { height: 285px; y: 178px; } 7.4% { height: 230px; y: 205px; } 14.8% { height: 175px; y: 232px; } 22.2% { height: 293px; y: 174px; } 29.6% { height: 331px; y: 154px; } 37.0% { height: 320px; y: 160px; } 44.4% { height: 244px; y: 198px; } 51.9% { height: 176px; y: 232px; } 59.3% { height: 184px; y: 228px; } 66.7% { height: 169px; y: 236px; } 74.1% { height: 242px; y: 199px; } 81.5% { height: 267px; y: 186px; } 88.9% { height: 290px; y: 175px; } 96.3% { height: 312px; y: 164px; } }
@keyframes sw-logo-say-3 { 0.0% { height: 455px; y: 93px; } 7.4% { height: 357px; y: 142px; } 14.8% { height: 258px; y: 191px; } 22.2% { height: 469px; y: 85px; } 29.6% { height: 539px; y: 51px; } 37.0% { height: 518px; y: 61px; } 44.4% { height: 383px; y: 129px; } 51.9% { height: 260px; y: 190px; } 59.3% { height: 274px; y: 183px; } 66.7% { height: 247px; y: 197px; } 74.1% { height: 379px; y: 130px; } 81.5% { height: 424px; y: 108px; } 88.9% { height: 464px; y: 88px; } 96.3% { height: 504px; y: 68px; } }
@keyframes sw-logo-say-4 { 0.0% { height: 228px; y: 206px; } 7.4% { height: 188px; y: 226px; } 14.8% { height: 147px; y: 246px; } 22.2% { height: 234px; y: 203px; } 29.6% { height: 262px; y: 189px; } 37.0% { height: 254px; y: 193px; } 44.4% { height: 198px; y: 221px; } 51.9% { height: 148px; y: 246px; } 59.3% { height: 154px; y: 243px; } 66.7% { height: 142px; y: 249px; } 74.1% { height: 197px; y: 222px; } 81.5% { height: 215px; y: 212px; } 88.9% { height: 232px; y: 204px; } 96.3% { height: 248px; y: 196px; } }
@keyframes sw-logo-say-5 { 0.0% { height: 341px; y: 149px; } 7.4% { height: 272px; y: 184px; } 14.8% { height: 203px; y: 219px; } 22.2% { height: 352px; y: 144px; } 29.6% { height: 400px; y: 120px; } 37.0% { height: 386px; y: 127px; } 44.4% { height: 291px; y: 175px; } 51.9% { height: 204px; y: 218px; } 59.3% { height: 214px; y: 213px; } 66.7% { height: 195px; y: 223px; } 74.1% { height: 288px; y: 176px; } 81.5% { height: 319px; y: 160px; } 88.9% { height: 348px; y: 146px; } 96.3% { height: 376px; y: 132px; } }
@keyframes sw-logo-say-6 { 0.0% { height: 114px; y: 263px; } 7.4% { height: 103px; y: 268px; } 14.8% { height: 92px; y: 274px; } 22.2% { height: 116px; y: 262px; } 29.6% { height: 124px; y: 258px; } 37.0% { height: 122px; y: 259px; } 44.4% { height: 106px; y: 267px; } 51.9% { height: 92px; y: 274px; } 59.3% { height: 94px; y: 273px; } 66.7% { height: 90px; y: 275px; } 74.1% { height: 106px; y: 267px; } 81.5% { height: 111px; y: 265px; } 88.9% { height: 115px; y: 262px; } 96.3% { height: 120px; y: 260px; } }
@media (prefers-reduced-motion: no-preference) { .wordmark:hover .lockup__mark rect:nth-child(1) { animation: sw-logo-say-1 450ms linear; } .wordmark:hover .lockup__mark rect:nth-child(2) { animation: sw-logo-say-2 450ms linear; } .wordmark:hover .lockup__mark rect:nth-child(3) { animation: sw-logo-say-3 450ms linear; } .wordmark:hover .lockup__mark rect:nth-child(4) { animation: sw-logo-say-4 450ms linear; } .wordmark:hover .lockup__mark rect:nth-child(5) { animation: sw-logo-say-5 450ms linear; } .wordmark:hover .lockup__mark rect:nth-child(6) { animation: sw-logo-say-6 450ms linear; } }
/* say_wave.py: end */
.site-nav { display: flex; margin-inline-start: -1rem; }  /* measured from the words, not the button around them: a small plain button's sides are 1rem. friction: F-033 */
.site-search { width: 16rem; margin-inline: auto; }  /* centered between the wordmark and the links (owner, 2026-11-01) */
.wordmark { order: -1; }  /* the search comes first in the markup, for the first Tab (owner, 2026-10-30) */
/* a search field's magnifying glass and clear button in Quiet Ink, lighter than what's typed (owner, 2026-10-27) */
wa-input[type="search"] > [slot="start"], wa-input[type="search"] > [slot="clear-icon"] { color: var(--wa-color-text-quiet); }
wa-page:has(main.home) .site-nav { margin-inline-start: auto; }  /* with no search in the bar, the nav and the theme controls at the right */
.site-theme { display: flex; gap: 0; }
.site-theme { --wa-form-control-padding-inline: var(--wa-space-3xs); }  /* the two icons close together, as they've always been (owner, 2026-11-01) */
.site-theme { --sw-icon-inset: calc(var(--wa-space-3xs) + 0.125rem); margin-inline: calc(1rem - var(--sw-header-gap) - var(--sw-icon-inset)) calc(-1 * var(--sw-icon-inset)); }  /* the same 2rem from the last link as the links have between them, and the last icon on the gutter; its inset is the button's padding and clear border */
.site-theme { min-height: 2.625rem; }  /* a button's height, held before wa-button loads so the page doesn't shift down */
#aspect-icon, #alignment-icon { font-size: var(--wa-font-size-l); }  /* larger than a label, as they've always been (owner, 2026-10-27) */
/* In the menus, as the Darth Vader prototype had them: each aspect shows its own hue on hover and focus, whichever
   aspect is active (the raw hue scale, not the brand, which tracks the active aspect), and the current one shows its
   color all the time (owner, 2026-10-27) */
#aspect-dropdown wa-dropdown-item[value='vigilance']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-blue-90); color: var(--wa-color-blue-30); }
#aspect-dropdown wa-dropdown-item[value='command']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-green-90); color: var(--wa-color-green-30); }
#aspect-dropdown wa-dropdown-item[value='aggression']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-red-90); color: var(--wa-color-red-30); }
#aspect-dropdown wa-dropdown-item[value='cunning']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-yellow-90); color: var(--wa-color-yellow-30); }
/* Heroism and Villainy are neutral only (owner, 2026-10-27): the current one a quiet neutral fill, and on hover each
   previews its own mode, whichever is active: Villainy dark behind light text, Heroism light behind dark text */
#alignment-dropdown wa-dropdown-item[data-current] { background-color: var(--wa-color-neutral-fill-quiet); color: var(--wa-color-neutral-on-quiet); }
#alignment-dropdown wa-dropdown-item[value='villainy']:is(:hover, :focus-visible) { background-color: var(--sw-color-menu-villainy-fill); color: var(--sw-color-menu-villainy-text); }
#alignment-dropdown wa-dropdown-item[value='heroism']:is(:hover, :focus-visible, [data-current]) { background-color: var(--sw-color-menu-heroism-fill); color: var(--sw-color-menu-heroism-text); }
/* in Villainy the same hues, turned for a dark menu: the dark tint behind, the light one for the text */
.wa-dark #aspect-dropdown wa-dropdown-item[value='vigilance']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-blue-20); color: var(--wa-color-blue-90); }
.wa-dark #aspect-dropdown wa-dropdown-item[value='command']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-green-20); color: var(--wa-color-green-90); }
.wa-dark #aspect-dropdown wa-dropdown-item[value='aggression']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-red-20); color: var(--wa-color-red-90); }
.wa-dark #aspect-dropdown wa-dropdown-item[value='cunning']:is(:hover, :focus-visible, [data-current]) { background-color: var(--wa-color-yellow-20); color: var(--wa-color-yellow-90); }
.site-footer { display: flex; flex-direction: column; gap: var(--wa-space-2xs); padding-block: var(--wa-space-xl) var(--wa-space-3xl); border-top: 1px solid var(--wa-color-surface-border);
  font-size: var(--wa-font-size-s); color: var(--wa-color-text-quiet); }
.site-footer__built { margin-bottom: var(--wa-space-s); } /* Built With, then the fine print a step below it */

/* ---------- The page ---------- */
.name-page { max-width: var(--sw-page-max); margin: 0 auto; padding: var(--wa-space-2xl) var(--sw-gutter) var(--wa-space-3xl); display: grid; gap: var(--wa-space-3xl); }
section > h2 { font-size: var(--wa-font-size-l); padding-bottom: var(--wa-space-m); margin-bottom: var(--wa-space-m); border-bottom: 1px solid var(--wa-color-surface-border); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--wa-space-2xs) var(--wa-space-m); }

/* The lede: the respelling with a round Say beside it, across the top; under them the card art as a big plate on
   the left, and in the wider right column the level mark (right under Say), then the name and its credits (owner,
   2026-10-23). On a phone the level mark comes before the card and the rest after it. Rows are spaced by margins. */
.lede { /* the respelling fills its line between a max and a min (owner, 2026-11-01); --fit is its width in ems, measured at build (site/data.py) */
  --sw-headword-max: 6rem; --sw-headword-min: 3rem; --sw-head-gap: var(--wa-space-l); --sw-say-size: 4.8rem;
  --sw-headword: clamp(var(--sw-headword-min), calc((100cqw - var(--sw-say-size) - var(--sw-head-gap)) / var(--fit, 10)), var(--sw-headword-max));
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head head" "plate meta";
  column-gap: var(--wa-space-3xl); align-items: start; }
.lede__head { grid-area: head; container-type: inline-size; display: flex; align-items: center; gap: var(--sw-head-gap); padding-top: var(--wa-space-m); margin-bottom: var(--wa-space-2xl); }
.respelling { font-size: var(--sw-headword); overflow-wrap: anywhere; margin: 0; min-width: 0; }
.respelling .plain, .add-source__resp .plain { color: var(--wa-color-text-quiet); }
.respelling .syl, .add-source__resp .syl { white-space: nowrap; } /* a syllable group wraps as one piece, never at its hyphen */
.respelling:focus-visible { outline: var(--wa-focus-ring); outline-offset: 4px; }
/* Say: round, icon only, centered on the headword's first line (line height 1, so the line box is the headword size).
   The mark fills 52% of the circle (owner, 2026-10-23: a tad smaller than 60%). While a clip plays the
   mark's bars move with the sound (script.js, frame()). */
.say { flex: none; --wa-form-control-height: var(--sw-say-size); --wa-form-control-padding-inline: 0; font-size: calc(var(--sw-say-size) * 0.52); }
.say-mark { display: block; height: 1em; width: 1.211em; }  /* the mark's own 620 × 512 box */
/* An icon-only button stays square: Web Awesome only squares a button whose sole child is its icon component, and the
   icons here are Font Awesome's own markup (friction F-015), so the width matches the height it already has */
.icon-button { width: var(--wa-form-control-height); --wa-form-control-padding-inline: 0; }
.lede__meta { grid-area: meta; display: grid; gap: var(--wa-space-s); align-content: start; }
/* The name isn't shown here (owner, 2026-10-26: it returns with the metadata); its h1 stays for screen readers, and the
   level row starts the column, level with the top of the card */

/* The level mark in word entries: how sure we are, in ink, told apart by its icon and its word; definition as a tooltip */
.level { display: inline-flex; align-items: center; gap: .45em; font-weight: var(--wa-font-weight-semibold); }
.level > i { font-size: .9em; }
.level:focus-visible { outline: var(--wa-focus-ring); outline-offset: 2px; border-radius: 2px; }
/* The level row heads the credits: its icon and its word at the size the seal after the name had (xl, 25px), the word
   bold, the explanation under it at body s. Verified's icon is full ink, the others quiet (owner, 2026-10-23: the seal
   after the name was harder to notice than this row, so it went). */
.credits .level-word { display: block; font-weight: var(--sw-font-weight-level); font-size: var(--wa-font-size-l); line-height: 1.25; margin-bottom: var(--wa-space-3xs);
  text-transform: uppercase; letter-spacing: 0.05em; } /* all caps, one size down, tracked +5% as caps want (owner, 2026-10-23) */
.credits dd:has(.level-word) .credit-icon { font-size: var(--wa-font-size-xl); line-height: 1.25; }
/* centred on the word's capitals, not set on its baseline: on the baseline the circle rides 2px high (owner, 2026-10-26) */
.credits dd:has(.level-word) .credit-icon > i { translate: 0 0.08em; --fa-width: 1em; } /* the circle's own width, so it fits its 1em column */
.credits dd:has(.level-word--best-guess) .credit-icon > i { translate: 0 0.06em; } /* the same lift as every Best Guess icon: 0.02em above true center (owner, 2026-10-31) */
.credits dd:has(.level-word--verified) .credit-icon { color: var(--wa-color-text-normal); }
.credits dd:has(.quote) .credit-icon { font-size: var(--wa-font-size-l); line-height: 1.35; } /* the quote's size and line, so it sits on the quote's baseline like a letter would (owner, 2026-10-26) */
.credits .level-word--best-guess { color: var(--wa-color-text-quiet); } /* the word matches its quiet icon */

/* Credits: ruled rows, each led by its icon from the inventory instead of a caps label (the label is for screen readers) */
.credits { display: grid; margin: 0; }
.credits > div { padding: var(--wa-space-s) 0; border-bottom: 1px solid var(--wa-color-surface-border); font-size: var(--wa-font-size-s); }
.credits > div:first-child { padding-top: 0; }
.credits dd { margin: 0; min-width: 0; display: grid; grid-template-columns: var(--wa-font-size-xl) minmax(0, 1fr); /* wide enough for the level icon, so every row's text starts on one line */ column-gap: calc(var(--wa-space-s) + .21 * var(--wa-font-size-l)); /* room for half a quote's hanging mark: 16px after every icon, the mark hanging 8px from it, and every row's text, a quote's letters included, starts on one edge (owner, 2026-10-26) */ align-items: baseline; }
/* Each row's icon sits on the first line's baseline, set by Font Awesome as it sets any icon in text */
.credit-icon { color: var(--wa-color-text-quiet); justify-self: center; }
/* IPA's mark is the schwa, a letter (DESIGN.md §7): sized to Font Awesome's circle keyshape, 16 of its 20-by-16 canvas units, which is 1em: ink about 14 by 14 on the 14px row. Line height 0 keeps the row's height; it sits on the row's baseline, nudged down to center on the row's icons */
.credit-icon--schwa { font-size: 1.82em; font-weight: 800; line-height: 0; align-self: baseline; translate: 0 0.054em; }
.ipa-info { margin-inline-start: var(--wa-space-xs); text-decoration: none; }
.credits .v a.ipa-info { color: var(--wa-color-text-quiet); }
.credits .v a.ipa-info:hover { color: var(--wa-color-text-link); }
.credits .v { display: flex; flex-wrap: wrap; gap: .25em .6em; align-items: baseline; }
/* Text that copies when clicked: the whole of it is the copy button's trigger, set as the text it is (no button box, so
   the row keeps the text's own line), underlined on hover; the component's tooltip below it says Copy Link, then Copied
   (owner, 2026-10-26) */
.copy-text__trigger { all: unset; cursor: pointer; color: var(--wa-color-text-quiet); } /* Quiet Ink like Printed In, not the copy button's own gray, which unset let in */

.copy-text__trigger:focus-visible { outline: var(--wa-focus-ring); outline-offset: 2px; border-radius: 2px; }
.credits .v .num { font-weight: var(--wa-font-weight-semibold); }
/* Links in the credits: a set name reads as plain text, quietly underlined; Add a Source, where a visitor can help, is
   the link in color (owner, 2026-10-26) */
.credits .v a.set-link { color: var(--wa-color-text-quiet); }
.credits .v a.set-link:hover { color: var(--wa-color-text-link); } /* Quiet Ink, as the share link and the quotes (owner, 2026-10-26) */
.entry__note a { color: var(--wa-color-text-link); }
.credits .v a, .credits .help a { color: var(--wa-color-text-link); }
.credits .help { margin: 0; max-width: 48ch; line-height: 1.5; }
/* the Misprint row wears the card's Misprint band, its fill and its text, so the note reads as the band's explanation (owner, 2026-11-02) */
.credits dd:has(.misprint-note) { padding: var(--wa-space-s); margin-inline: calc(-1 * var(--wa-space-s));  /* its icon and text stay on the other rows' lines */ border-radius: var(--wa-border-radius-l); color: var(--sw-color-misprint-band-text); background: color-mix(in oklab, var(--sw-color-misprint-band) 90%, transparent); }
.credits dd:has(.misprint-note) .credit-icon, .credits .misprint-note a { color: inherit; }  /* the link too: the band's text, underlined, never the link color on the band's fill */
.credits > div:has(.misprint-note), .credits > div:has(+ div .misprint-note) { border-bottom: none; }  /* no rule above or below it, and no space: the fill is the row (owner, 2026-11-02) */
.credits > div:has(.misprint-note) { padding-block: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Heard In: the line it's said in, as a pull quote in the essay face, with the work and time under it as its credit */
.heard { display: grid; gap: var(--wa-space-xs); }
/* the quote and its citation both in Quiet Ink: the quote takes it from Web Awesome's blockquote, set here so it's ours (owner, 2026-10-26) */
.quote, .heard > .v { color: var(--wa-color-text-quiet); }
.heard > .v { display: block; } /* a long source wraps as text and the time follows it, not alone on a line (owner, 2026-10-29: Darth Nihilus) */
.heard > .v .num { margin-inline-start: .6em; white-space: nowrap; }
.heard-list { display: grid; gap: var(--wa-space-m); } /* two quotes of one kind in one row: listed, no rule between */
.quote { margin: 0; padding-block: 0; padding-inline-end: 0; border: 0; font-family: var(--wa-font-family-longform); font-size: var(--wa-font-size-l); line-height: 1.35; text-wrap: pretty;
  padding-inline-start: 0; text-indent: -.42em; } /* the opening mark hangs into the icon gap, so the quote's letters, its wrapped lines and its citation start where every other row's text does (owner, 2026-10-26) */
.quote strong { font-weight: 700; }
/* A name with sound-alikes behind it: a dotted underline as the cue, the tooltip a line per word */
.quote .hint { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: .18em; cursor: pointer; }
.quote .hint:focus-visible { outline: var(--wa-focus-ring); outline-offset: 2px; border-radius: 2px; }
/* a sound-alike word is a click target now: it takes the brand color on hover, like a link (owner, 2026-10-27), only
   where there's a real hover, so a tap on a phone doesn't leave it colored */
@media (hover: hover) { .hint:hover { color: var(--wa-color-text-link); } :is(.quote, .dict__words, .entry__words, .prose-key) .hint:hover { text-decoration-style: solid; text-decoration-color: oklch(from currentColor l c h / 0.5); } }  /* solid on hover, as a link's underline goes (owner, 2026-11-03) */
.hint-tip { --max-width: 22rem; text-indent: 0; text-wrap: wrap; } /* it sits inside the quote: never take a text indent */
.hint-tip .hint-line { display: block; }
/* Dictionary Words, and any entry with no quote (a written guide, our call, a video with no script): the words, each
   with its how-to-say tooltip, then why that's all it needs, or where they come from and any note (owner, 2026-10-26) */
.dict, .entry { display: grid; gap: var(--wa-space-2xs); }
.dict__words, .entry__words { margin: 0; font-size: var(--wa-font-size-l); font-family: var(--wa-font-family-longform); }
.dict__words .hint, .entry__words .hint { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: .18em; cursor: pointer; }
.dict__words .hint:focus-visible, .entry__words .hint:focus-visible { outline: var(--wa-focus-ring); outline-offset: 2px; border-radius: 2px; }
.dict__why, .entry__note { margin: 0; color: var(--wa-color-text-quiet); }
/* A word's best lead (best_leads.json): its own line between why and the ask, like the note around it (owner, 2026-10-27) */
.entry__lead { margin: 0; color: var(--wa-color-text-quiet); }
.entry__lead strong { color: var(--wa-color-text-normal); font-weight: var(--wa-font-weight-semibold); }
.credits dd:has(.dict) .credit-icon, .credits dd:has(.entry) .credit-icon { font-size: var(--wa-font-size-l); line-height: 1.35; }

/* The plate: the card as a physical object on the page, filling its column */
.plate { grid-area: plate; margin: 0; }
.plate img, .printing img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 4.5% / 3.2%; box-shadow: var(--wa-shadow-l); background: var(--wa-color-surface-lowered); }
/* Landscape art (a Base, or a Leader with no portrait face) keeps the portrait frame: the whole card, turned a
   quarter turn counterclockwise, never cropped (owner, 2026-10-26). The frame is a size container so the art can be
   sized from its width before it turns. */
/* A Leader's two sides, stacked at the card's width: its landscape front, unturned, then its portrait side
   (owner, 2026-11-10). Each card is its own frame, so the bands sit on the first one. */
.plate--sides { display: grid; gap: var(--wa-space-l); align-content: start; }
.plate__card { position: relative; container-type: inline-size; }
.plate__card--wide img { aspect-ratio: 7 / 5; border-radius: 3.2% / 4.5%; }
.plate--landscape, .printing--landscape { position: relative; aspect-ratio: 5 / 7; container-type: inline-size; }
.plate--landscape img, .printing--landscape img { position: absolute; top: 50%; left: 50%; width: calc(100cqw * 7 / 5); max-width: none; height: 100cqw; aspect-ratio: auto; border-radius: 3.2% / 4.5%; transform: translate(-50%, -50%) rotate(-90deg); }

/* Other cards with this name: art only, three to a row, as in the first mockup. The art already carries the
   subtitle; the alt text says what a caption would (subtitle, type, set, number). The count sits right after the
   heading in quiet type. */
section > h2 .count { margin-inline-end: auto; color: var(--wa-color-text-quiet); font-weight: var(--wa-font-weight-normal); }
/* the other printings in the set pages' grid (owner, 2026-10-27): 5 across, 4 on a tablet, 2 on a phone */
.printings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--wa-space-xl) var(--wa-space-l); }
@media (min-width: 51em) and (max-width: 67.9375em) { .printings { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.printing { display: block; }
.printing img { transition: transform 200ms cubic-bezier(.25, 1, .5, 1), box-shadow 200ms cubic-bezier(.25, 1, .5, 1); }
/* a card in a list is its own layer where there's a pointer to hover with: its art and soft shadow were the other 160 ms
   of each of Safari's whole-window repaints (see the texture's note in themes/swoosay.css); with both out of the page's
   own painting, hovering across a set page holds 60 frames a second there. Not on touch screens, which have no hover
   and less memory for a layer per card. */
@media (hover: hover) { .printing img { will-change: transform; } }
.printing:hover img { transform: translateY(-2px); }
.printing--landscape:hover img { transform: translate(-50%, calc(-50% - 2px)) rotate(-90deg); }  /* the same lift, keeping a landscape card turned upright (it lost its rotation on hover before) */

/* Use it, argue with it: two columns of plain text on one rule */
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--wa-space-2xl) var(--wa-space-3xl); }
.two-up section { display: grid; gap: var(--wa-space-s); align-content: start; }
/* the section's own gap already sits under the heading, so its margin is the rest: m (16px) from the rule to its small
   text in all (owner, 2026-10-27: l, 24px, looked too open over the s-size paragraph; l plus s, 36px, before that) */
.two-up section > h2 { margin-bottom: calc(var(--wa-space-m) - var(--wa-space-s)); }
.two-up p { margin: 0; color: var(--wa-color-text-quiet); max-width: 48ch; font-size: var(--wa-font-size-s); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: var(--wa-space-xs); margin-top: var(--wa-space-xs); }

/* How We Verify: the summary (How We Know until 2026-10-26, then Our Process) */
.how p { font-size: var(--wa-font-size-l); line-height: 1.5; max-width: 62ch; margin: 0; }
/* m (16px) from the rule, like the small sections above it (owner, 2026-10-27: 24 was too much room) */
.how > h2 { margin-bottom: var(--wa-space-m); }
.how p + p { margin-top: var(--wa-space-m); }
.two-up .actions { margin-top: 0; }  /* the section's own gap (s) spaces it, as it does Use It's button */
.how .actions { margin-top: var(--wa-space-m); }  /* Read the Whole Thing, under the summary (owner, 2026-10-26) */


/* ---------- Phone: one column, in order: the respelling and Say, the card, the name and credits ---------- */
@media (max-width: 50.9375em) {
  /* the one layout that reflows, edge to edge: four cards across from 600px, three from 450px, two below (owner, 2026-10-31) */
  :root { --sw-gutter: max(16px, env(safe-area-inset-left, 0px)); --sw-page-max: 100%; }
  /* one line (owner, 2026-11-01): search takes what's left, and the buttons sit closer */
  .site-header { --sw-header-gap: var(--wa-space-s); }
  .site-search { flex: 1; min-width: 0; width: auto; }
  @media (max-width: 39.9375em) { .site-nav { display: none; } .site-theme { margin-inline-start: calc(-1 * var(--sw-icon-inset)); } wa-page:has(main.home) .site-theme { margin-inline-start: auto; } }  /* the links go first as it narrows */
  @media (max-width: 24.9375em) { .site-header:not(.lab-header) .wordmark span { display: none; } }  /* then the wordmark, so search keeps room for its words */
  .name-page { padding-block: var(--wa-space-xl) var(--wa-space-2xl); gap: var(--wa-space-2xl); }
  .lede { --sw-headword-max: 4rem; --sw-headword-min: 2rem; --sw-head-gap: var(--wa-space-m); --sw-say-size: 2.75rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "plate" "meta"; }
  .lede__head { padding-top: 0; margin-bottom: var(--wa-space-l); }
  .plate { max-width: 22rem; margin-bottom: var(--wa-space-xl); }
  /* the page no wider than its card, so every section below lines up with it (owner, 2026-10-27) */
  .name-page:has(.plate) { max-width: calc(22rem + 2 * var(--sw-gutter)); }
  .printings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wa-space-l) var(--wa-space-m); }  /* two across in the one column, at any phone width (owner, 2026-10-27) */
  .site-footer { padding-block: var(--wa-space-l) var(--wa-space-2xl); }
  .board-bar wa-select { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* The Add a Source dialog (owner, 2026-10-26): its title one of our serif headings, then where sources go (a brand
   callout), then the name clicked on, then You'll Need, each need led by its own icon in Quiet Ink */
.add-source__title { font-size: var(--wa-font-size-xl); }
.add-source__why { margin: 0 0 var(--wa-space-m); } /* a brand filled callout (owner, 2026-10-26) */
/* its icon on the first line, not the middle of the message: Web Awesome centers the icon box on the whole message, which
   only lines up on one line (F-017). The box starts at the top, and the icon sits in a box one message line tall, so it
   centers on that line. 12px of space before the text, as the You'll Need icons below have, not the callout's 20px
   margin plus the icon box's side air */
.add-source__why::part(icon) { align-items: flex-start; }
.add-source__why [slot="icon"] { display: flex; align-items: center; height: calc(var(--wa-line-height-normal) * var(--wa-font-size-m)); margin-inline-end: var(--wa-space-s); }
.add-source__why [slot="icon"] > i { --fa-width: 1em; } /* the circle's own width: Font Awesome's 1.25em box added 2.5px of air each side */
.add-source__for { margin: 0 0 var(--wa-space-l); display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: var(--wa-space-m); align-items: center; }
/* the name as the page opens: the card's art small, as Other Cards shows it, then the card in caps, the respelling large
   in the headword face, and the word under it (owner, 2026-10-26) */
.add-source__art img { box-shadow: var(--wa-shadow-s); }
.add-source__name { display: grid; gap: var(--wa-space-2xs); min-width: 0; }
.add-source__name p { margin: 0; }
.add-source__resp { font-size: var(--wa-font-size-2xl); color: var(--wa-color-text-normal); text-wrap: balance; }
.add-source__word { color: var(--wa-color-text-quiet); font-family: var(--wa-font-family-longform); }
.add-source__word:empty { display: none; }
.add-source .caps { margin: 0 0 var(--wa-space-xs); }
.add-source__needs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wa-space-s); }
.add-source__needs li { margin: 0; display: grid; grid-template-columns: 1em minmax(0, 1fr); column-gap: var(--wa-space-s); align-items: baseline; } /* F-013: native list indents */
.add-source__icon { color: var(--wa-color-text-quiet); justify-self: center; } /* Quiet Ink, a different icon per need (owner, 2026-10-26: back to these after one shared mark in brand tints) */
.add-source__needs strong { display: block; }
.add-source__detail { display: block; color: var(--wa-color-text-quiet); font-size: var(--wa-font-size-s); }
/* Use It on Your Site: the intro, then the download at its own width, like Think It's Wrong?'s button (owner, 2026-10-26) */
.download { justify-self: start; }

/* A button's icon: its own width, half an em from the label (F-018). Web Awesome puts 0.75em between a slotted icon and
   the label, and Font Awesome 7 draws the icon in a 1.25em box, so the glyph sat 12px from the text at 14px; now 7px, half an em (owner, 2026-10-26: 8 was too much). */
wa-button > [slot="start"] { margin-inline-end: .5em; }
wa-button > [slot="end"] { margin-inline-start: .5em; }
wa-button > [slot="start"] > i, wa-button > [slot="end"] > i { --fa-width: 1em; }


/* Site-only patterns (the site's stylesheet is the boards' style.css with the theme, then this): the home page, search,
   and the 404. Same tokens and the same ladder as the name page (DESIGN.md); no colors of our own. */

/* ---------- Home: what SwooSay is, and a big search ---------- */
.home { gap: var(--wa-space-3xl); }
.home-hero { display: grid; grid-template-columns: minmax(0, 36rem) minmax(14rem, 1fr); gap: var(--wa-space-xl) 0; align-items: stretch; margin-block-end: var(--wa-space-m); }
.home-hero__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wa-space-m); justify-items: start; align-content: center; min-width: 0; padding-block-start: var(--wa-space-s); }  /* a little air over the tagline; the stamp's top margin matches */  /* 40px under the header, as every page */
.home-hero__main { container-type: inline-size; }
/* Both lines fill the search box's width (owner, 2026-11-01): --fit is the line's width in ems, measured at build (site/data.py) */
.home-hero__tagline { font-family: var(--wa-font-family-heading); font-weight: var(--sw-font-weight-tagline); font-stretch: var(--sw-font-stretch-headword); font-size: calc(100cqw / var(--fit)); line-height: 1; margin: 0; white-space: nowrap; }
.home-hero__subline { font-weight: var(--wa-font-weight-medium, 500); color: var(--wa-color-text-quiet); font-size: calc(100cqw / var(--fit)); line-height: 1.25; margin: 0; white-space: nowrap; }
/* --fit is measured from Georama, so only our theme can trust it; any other font gets a size that wraps */
:root:not(.wa-theme-swoosay) :is(.home-hero__tagline, .home-hero__subline) { white-space: normal; }
:root:not(.wa-theme-swoosay) .home-hero__tagline { font-size: var(--wa-font-size-3xl); }
:root:not(.wa-theme-swoosay) .home-hero__subline { font-size: var(--wa-font-size-l); }
/* too small to read on one line: two lines, bigger */
@container (max-width: 28rem) { .home-hero__subline { font-size: min(1.4rem, 6.6cqw); white-space: normal; text-wrap: balance; } }
.home-hero wa-input { width: 100%; max-width: 36rem; }
.home-hero__stat span, .home-hero__stat a { white-space: nowrap; }
.home-hero__stat a { color: inherit; }  /* each level opens its page of names; How We Verify, the full process */
.home-hero__stat a:hover { color: var(--wa-color-text-link); }  /* "68 Best Guess" stays together */
.home-hero__stat { margin: 0;  /* the hero's gap: a little air under the search (owner, 2026-10-30) */ font-size: var(--wa-font-size-m); color: var(--wa-color-text-quiet); font-variant-numeric: tabular-nums; }
/* the levels on the left, How We Verify on the right edge of the search box (owner, 2026-11-03); on a phone too narrow for one
   line, How We Verify drops to its own line and stays right */
.home-hero__stat { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--wa-space-2xs) var(--wa-space-m); width: 100%; max-width: 36rem; }
.home-hero__how { margin-inline-start: auto; }
/* phones narrower than the line (about 370px: 360px Androids) take it a size smaller so it stays one line; 320px still wraps */
@media (max-width: 23rem) { .home-hero__stat { font-size: var(--wa-font-size-s); column-gap: var(--wa-space-xs); } }
/* the minutes reviewed, on the sabacc card (brand/icons/sabacc-jack.svg, traced from the deck's jack), set like a stamp:
   the hero's height, tilted, the count in ink in the card's open middle (owner, 2026-10-30) */
.home-stamp { position: relative; display: grid; place-items: center; aspect-ratio: 0.75; height: 11.625rem; align-self: center; margin-block-start: var(--wa-space-s);  /* centered on the left column's text, under the same top padding */ container-type: size;  /* a set height: stretched, it grew when the headline wrapped */ color: var(--sw-color-card-border); text-decoration: none; justify-self: center; translate: var(--wa-space-s) -0.1875rem;  /* optically centered: 3px at a 16px root over the measured center (owner, 2026-10-31) */ transform: rotate(-8deg) scale(0.9); transition: transform 200ms cubic-bezier(0.25, 1, 0.5, 1); }  /* 0.75 of its first size (1.2), owner 2026-10-31 */
.home-stamp:hover { transform: rotate(-4deg) scale(0.9); color: var(--sw-color-stamp-border-hover); --sw-color-stamp-text: var(--sw-color-stamp-border-hover); }  /* the outline and text a step on; the center holds */
.home-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-stamp__fill { fill: var(--sw-color-stamp-fill); }  /* a tint, with its outline and text a darker step in light mode and a lighter one in dark (owner, 2026-10-31) */
.home-stamp__text { color: var(--sw-color-stamp-text); position: relative; display: grid; justify-items: center; gap: 2cqh; line-height: 1.15; text-align: center; }
.home-stamp__text span { font-size: var(--wa-font-size-2xs); font-weight: var(--sw-font-weight-caps); letter-spacing: var(--sw-letter-spacing-caps); text-transform: uppercase; }
.home-stamp__text b { font-stretch: var(--sw-font-stretch-headword); font-family: var(--wa-font-family-heading); font-weight: var(--wa-font-weight-heading); font-size: 20cqh; line-height: 1; font-variant-numeric: lining-nums proportional-nums; }
/* the phone layout, in CSS and not wa-page's view, which is set by script, so the stamp would show until it ran (F-025) */
@media (max-width: 50.9375em) {
  .home-hero__main { padding-block-start: 0; }
  .home-hero { grid-template-columns: minmax(0, 1fr) auto; margin-block-end: 0; column-gap: var(--wa-space-xl); }
  .home-stamp { margin-block-start: 0; translate: 0 -0.1875rem; }
}
/* a phone's narrow end drops the stamp the moment four cards stop fitting (owner, 2026-10-31) */
@media (max-width: 37.4375em) {
  .home-stamp { display: none; }
  .home-hero { grid-template-columns: minmax(0, 1fr); }
}
/* the header's small search would repeat the big one */
wa-page:has(main.home) .site-search { display: none; }
wa-page:has(main.home) .nav-how { display: none; }  /* the hero's How We Verify link is the home page's (owner, 2026-11-03) */


/* ---------- A set's row: its hardest names as tiles ---------- */
.home-sets { display: grid; gap: var(--wa-space-3xl); }
.home-sets[hidden] { display: none; }
/* the whole heading row, the set's name and See All, is one link to its page: a bigger target (owner, 2026-10-27); it
   reaches the rule under it, so the row's full height takes the tap */
.home-sets section > h2 { padding-bottom: 0; }
.home-sets section > h2 { font-size: var(--wa-font-size-xl); }
.set-icon { margin-inline-end: .4em; opacity: 0.6; }  /* before a set's name, on the home rows and its page */
.set-section__head { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--wa-space-2xs) var(--wa-space-m);
  padding-bottom: var(--wa-space-m); color: inherit; font-weight: var(--wa-font-weight-heading); text-decoration: none; }  /* the heading's bold, not a link's semibold */
.set-section__head:hover .set-section__link { color: var(--wa-color-text-link); }
.set-section__head:hover .set-section__text { text-decoration: var(--wa-link-decoration-hover); }
.set-section__head:focus-visible { outline: var(--wa-focus-ring); outline-offset: var(--wa-focus-ring-offset); border-radius: var(--wa-border-radius-s); }
.set-section__link { margin-inline-start: auto; display: inline-flex; align-items: baseline; gap: .5em; font-family: var(--wa-font-family-body);
  font-size: var(--wa-font-size-m); font-weight: var(--wa-font-weight-action); color: var(--wa-color-text-quiet); white-space: nowrap; flex: none; }  /* reads as a link, though its whole row is the link (owner, 2026-10-31) */
.set-section__text { text-decoration: var(--wa-link-decoration-default); }  /* on the words alone: a flex item would underline the arrow too */
.set-section__link > i { font-size: .85em; --fa-width: 1em; flex: none; }  /* a set width: in the row's flex link it stretched to 59px */
/* on mobile the name and See All wrapped: See All goes, and the arrow follows the set name at the heading's size, inline so a long name's last line keeps it */
@media (max-width: 50.9375em) {
  .set-section__head { display: block; }
  .set-section__text { display: none; }
  .set-section__link { display: inline; margin-inline-start: .4em; font-size: inherit; }
}
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--wa-space-xl) var(--wa-space-l); }
/* each tile: the card, then its whole name respelled, Say floated beside the first line so every line after it has the
   tile's full width (AW-zih-TUK Liberator / Gunship fits two lines, not three). The tile's one column never grows past the
   grid's, so a long respelling wraps instead of stretching the card. A syllable group moves to the next line whole; one
   wider than the first line (fitSyllables in home-client.js marks it .syl--wide) breaks at a hyphen and the words after
   it flow on: peh-truh-NAH- / kee Arena (owner, 2026-10-27). */
.tile { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wa-space-s); align-content: start; container-type: inline-size; }
.tile__foot { display: flow-root; font-size: 11cqw; line-height: 1.15; }  /* sized from the tile's width, as the Best Guess band is, so Say and the name's line breaks scale with the card (owner, 2026-10-31) */
.tile__resp { color: var(--wa-color-text-normal); text-decoration: none; }
/* The art opens the card; everything under it, the respelling and the mark together, is one button that says it (owner, 2026-10-31) */
button.tile__foot { width: 100%; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font: inherit; font-size: 11cqw; line-height: 1.15; letter-spacing: normal; text-align: start; white-space: normal; color: inherit; cursor: pointer; }  /* Web Awesome styles native buttons: one line, a set height (F-027) */
button.tile__foot:focus-visible { outline: var(--wa-focus-ring); outline-offset: var(--wa-focus-ring-offset); border-radius: var(--wa-border-radius-s); }
@media (hover: hover) { button.tile__foot:hover :is(.tile__resp, .plain) { color: var(--wa-color-text-link); } button.tile__foot:hover .tile__say { color: var(--sw-color-logo-mark-hover); } }
button.tile__foot.playing :is(.tile__resp, .plain) { color: var(--wa-color-text-link); }
.tile__resp .syl { white-space: nowrap; }
.tile__resp .syl--wide { white-space: normal; }
.tile__resp .plain { color: var(--wa-color-text-quiet); }
/* Say: the name page's mark, in the brand, one line tall on the first line; it speaks with its clip while it plays */
.tile__say { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none;
  cursor: pointer; color: var(--sw-color-brand-icon); font-size: inherit; height: 1.15em; }
.tile__say { float: right; margin-inline-start: 0.227em; font-size: 1.1em; height: calc(1.15em / 1.1); }  /* first in the HTML, so it floats on the first line */
.tile__say .say-mark { display: block; height: 1em; width: 1.211em; }  /* the mark's own 620 × 512 box */
/* tablet only: four across, one row of four (owner, 2026-10-31) */
@media (min-width: 51em) and (max-width: 67.9375em) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles > .tile:nth-child(n + 5) { display: none; }
}
@media (max-width: 50.9375em) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wa-space-l) var(--wa-space-m); }
  .tiles > .tile:nth-child(n + 5) { display: none; }  /* one row of four */
}
@media (max-width: 37.4375em) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles > .tile:nth-child(n + 4) { display: none; }  /* one row of three */
}
@media (max-width: 28.0625em) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles > .tile:nth-child(4) { display: grid; }  /* two rows of two */
}

/* ---------- Search results ---------- */
.search-results { display: grid; gap: var(--wa-space-m); }
.search-results[hidden] { display: none; }
.search-results__count { margin: 0; font-size: var(--wa-font-size-s); color: var(--wa-color-text-quiet); }
/* the results are the home page's tiles exactly, in its grid (owner, 2026-10-27); every result shows, where a set's
   row shows only its first four on a narrower screen */
.search-results__list.tiles > .tile, .tiles.tiles--all > .tile { display: grid; }
.tile__trait { vertical-align: baseline; font-size: 0.7em; padding: 0.2em 0.45em; }  /* the trait a result matched on, after its name: on its last line when it fits, else wrapping under it; a size under Web Awesome's badge, with less room around its word (owner, 2026-10-27) */
.tile__trait::part(start), .tile__trait::part(end) { display: none; }  /* the empty slots set the badge's baseline 4px low; without them the label does (F-021) */
/* The Best Guess band (owner, 2026-10-30; the Theme Lab has the pattern): 75% ink across the bottom of the card, whose text is fine to
   cover, right above the respelling it qualifies. The level row's proportions at a 16.6px word on a 13rem card, in ems from the tile's
   width (.tile is the container), so it scales with the card. Even above and below the capitals and at the left. The corners are the
   card art's, 4.5% / 3.2% of a 5:7 card. */
/* The Misprint band (owner, 2026-11-02) is the same band with circle-exclamation, on the art of a card that prints its name wrong,
   wherever that art is: tiles, and the name page's card and Other Cards, each a container so the band keeps the card's
   proportions. A card with both stacks them in .bands, Misprint on top, Best Guess right above the respelling. */
.tile .printing:has(.bands), .printings .printing:has(.bands), .plate:has(.bands) { position: relative; container-type: inline-size; }
.bands { position: absolute; z-index: 1; inset: auto 0 0; display: grid; overflow: hidden; border-radius: 0 0 4.5cqw 4.5cqw / 0 0 4.48cqw 4.48cqw; transition: translate 200ms cubic-bezier(.25, 1, .5, 1); }
.band { display: grid; grid-template-columns: 1.25em auto; justify-content: start; align-items: baseline; column-gap: 0.4em; /* icon to word, as every level label (owner, 2026-11-03; 0.81em before) */ padding: 0.383em 0.84em 0.479em; font-family: var(--wa-font-family-body); font-size: 10.1cqw; /* Best Guess spans the card with the same space at its right as its left (owner, 2026-11-02; 9.7cqw with the wider gap, 8cqw before); Misprint is the same size */ font-weight: var(--sw-font-weight-level); line-height: 1.25; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; color: var(--wa-color-surface-default); background: color-mix(in oklab, var(--wa-color-text-normal) 75%, transparent); }
.band--misprint { color: var(--sw-color-misprint-band-text); background: color-mix(in oklab, var(--sw-color-misprint-band) 90%, transparent); }  /* the chosen aspect's color, two shades lighter than the Best Guess band's tint, at 90% to its 75%, to draw the eye (owner, 2026-11-02) */
.band + .band { box-shadow: inset 0 1px color-mix(in oklab, var(--wa-color-surface-default) 25%, transparent); }  /* a hairline between stacked bands */
.band__icon { font-size: 1.25em; line-height: 1.25; }
.band__icon i { --fa-width: 1em; translate: 0 0.06em; }  /* the Best Guess lift */
.printing:hover .bands { translate: 0 -2px; }  /* rises with the card */
@media (prefers-reduced-motion: reduce) { .bands { transition: none; } }
.tile.is-active .printing img { outline: var(--wa-focus-ring); outline-offset: var(--wa-focus-ring-offset); }  /* the arrow keys' place */

/* ---------- Not found ---------- */
/* The mark flatlined, with one lonely blip running across it (owner, 2026-11-01) */
.flatline { display: block; height: 6rem; width: auto; margin-block-end: var(--wa-space-l); color: var(--sw-color-brand-icon); }
@keyframes sw-flatline-blip { 4% { height: 300px; y: 106px; } 8% { height: 70px; y: 221px; } }
@media (prefers-reduced-motion: no-preference) {
  .flatline rect { animation: sw-flatline-blip 3.2s ease-in-out infinite; }
  .flatline rect:nth-child(2) { animation-delay: 110ms; }
  .flatline rect:nth-child(3) { animation-delay: 220ms; }
  .flatline rect:nth-child(4) { animation-delay: 330ms; }
  .flatline rect:nth-child(5) { animation-delay: 440ms; }
  .flatline rect:nth-child(6) { animation-delay: 550ms; }
}
.not-found h1 { font-size: var(--wa-font-size-2xl); margin-block: 0 var(--wa-space-s); }

/* ---------- A level's page: every name at it, A to Z ---------- */
/* the page's heading is the name page's level row (.credits, its icon, .level-word and .help as they are there), with no
   rule under it, the word an h1 and its count after it, quiet (owner, 2026-10-27) */
/* the site's light rule right under the level's row, as under a section title, 12px under the word and 16px over what
   follows, as the name page's small sections have it (owner, 2026-10-27) */
.level-head { margin-bottom: var(--wa-space-m); padding-bottom: var(--wa-space-m); border-bottom: 1px solid var(--wa-color-surface-border); }
.level-head .level-word { margin-bottom: 0; }
/* a level's call for help, between its row and its names: the count set as Verified's line, then the ask in a brand
   callout (owner, 2026-10-27) */
.level-help { display: grid; gap: var(--wa-space-xs); margin: 0 0 var(--wa-space-l); }  /* the callout runs the page's full width (owner, 2026-10-27) */

.level-help p { margin: 0; }
.level-help__lead { font-size: var(--wa-font-size-s); line-height: 1.5; }  /* set as Verified's line is (.level-head__line; owner, 2026-10-27) */
/* the ask: Web Awesome's large brand callout, its text and spacing as they come (owner, 2026-10-27). Only its icon is
   ours, as the Add a Source dialog's is (F-017): on the first line, not the middle of the message, and spaced for the
   large size (owner, 2026-10-27) */
.level-help__ask { padding-inline: var(--wa-space-l); }  /* the large callout's sides a step wider, 24px (owner, 2026-10-27) */
.level-help__ask::part(icon) { align-items: flex-start; font-size: var(--wa-font-size-xl); }  /* xl, 25px (owner, 2026-10-27) */
.level-help__ask [slot="icon"] { display: flex; align-items: center; height: calc(var(--wa-line-height-normal) * var(--wa-font-size-l)); margin-inline-end: var(--wa-space-m); }  /* one text line tall, so it centers on the first; 16px to the text */
.level-help__ask [slot="icon"] > i { --fa-width: 1em; }
.level-head__line { margin: 0 0 var(--wa-space-l); font-size: var(--wa-font-size-s); line-height: 1.5; }  /* the level's line, as its row gives it, under the whole row */
.level-head > div { border-bottom: 0; padding: 0; }
.level-head dd { column-gap: calc(.4 * var(--wa-font-size-l)); }  /* the level word's .4em: tighter than the credits it's built from (owner, 2026-11-03) */
.level-head h1.level-word { font-family: inherit; }
.level-head .count { font-weight: var(--wa-font-weight-normal); letter-spacing: normal; color: var(--wa-color-text-quiet); margin-inline-start: .15em; }

/* ---------- A page of prose: How We Verify ---------- */
/* Web Awesome's wa-prose sets the rhythm and the readable line length (--wa-prose-line-length, set to 60ch); we set the face,
   the size it scales from, and the site's own patterns inside it (owner, 2026-10-27) */
.prose-page .wa-prose { --wa-prose-line-length: 60ch; font-family: var(--wa-font-family-longform);
  font-size: var(--wa-font-size-l); line-height: 1.5; }
@media (max-width: 50.9375em) { .prose-page .wa-prose { font-size: clamp(var(--wa-font-size-m), calc(0.875rem + 0.6vw), var(--wa-font-size-l)); } }
/* the text scales with the window, 16px on a phone to 20px from about 1000px; wa-prose's headings and spacing are in em,
   so they scale with it (owner, 2026-10-27) */
.prose-page .wa-prose :where(h1, h2, h3) { font-family: var(--wa-font-family-heading); font-weight: var(--wa-font-weight-heading); }
/* a long-form title's space above equals its lede's space below (0.6em: about 79px of white to the capitals, matching
   the 80 under the lede; impeccable critique, owner 2026-10-27) */
.prose-page .wa-prose h1 { margin-block: 0.6em var(--wa-space-m); }
.prose-page__lede { font-size: 1.2em; line-height: 1.35; }
/* Section headings on the site's rule, as every section title (DESIGN.md): wa-prose spaces them in em of their own size
   (2.5em above, 0.75em below), so at 1.4em it's 70px above and the rule sits about 24px over the text below */
.prose-page .wa-prose h2 { font-size: 1.4em; padding-bottom: var(--wa-space-m); margin-block-end: var(--wa-space-m); border-bottom: 1px solid var(--wa-color-surface-border); }  /* a rule has the same space above and below it, here and everywhere (owner, 2026-11-01) */
/* the page's key lines, a step up in the heading face: "A name is only as sure as its least sure word." */
.prose-pull { font-family: var(--wa-font-family-heading); font-size: 1.35em; line-height: 1.25; text-wrap: balance;
  margin-block-end: var(--wa-space-m); }  /* the text it leads, close under it: not wa-prose's 1.5em of its larger size (40px) */

/* a level: its name as the name page's level row sets it, the definition in the essay's voice, then a real name as
   its page shows it */
.prose-level { padding-block: var(--wa-space-m); border-bottom: 1px solid var(--wa-color-surface-border); }  /* the same distance from content to the rule on each side (owner, 2026-11-01) */
.prose-page .wa-prose h2:has(+ .prose-level) { margin-block-end: 0; }
.prose-level > p:not(.prose-level__name) { margin-block: var(--wa-space-2xs) 0; padding-inline-start: calc(var(--wa-font-size-xl) + .4 * var(--wa-font-size-l)); }  /* under the word: the name's icon column and gap */
.prose-level__name { display: grid; grid-template-columns: var(--wa-font-size-xl) minmax(0, 1fr); align-items: baseline; column-gap: .4em; /* tighter than the card page's level row, as every level label but the credits (owner, 2026-11-03) */ margin: 0; font-family: var(--wa-font-family-body);
  font-weight: var(--sw-font-weight-level); font-size: var(--wa-font-size-l); line-height: 1.25; text-transform: uppercase; letter-spacing: .05em; }
/* the card page's level row exactly (owner, 2026-10-30): the same baseline grid, the icon xl and its own width, nudged onto the capitals; Best Guess's word as quiet as its icon, Verified's icon full ink */
.prose-level__name .credit-icon { font-size: var(--wa-font-size-xl); line-height: 1.25; }
.prose-level__name .credit-icon > i { translate: 0 0.08em; --fa-width: 1em; }
.prose-level__name--verified .credit-icon { color: var(--wa-color-text-normal); }
.prose-level__name--best-guess { color: var(--wa-color-text-quiet); }
.prose-level__name--best-guess .credit-icon > i { translate: 0 0.06em; }  /* the Best Guess lift: 0.02em above true center, 0.5px here, because the circle looks low beside the caps when centered (owner, 2026-10-31) */
.prose-level__name a { color: inherit; font-weight: inherit; text-decoration: none; }  /* the level word's own weight, as on a card page, not a link's */
.prose-level__name a:hover { color: var(--wa-color-text-link); }

/* a level, and the call for help, with a real card beside the text that opens its name page (owner, 2026-10-27: the
   full exhibit was too much); the card is the name page's own printing pattern, a size the text column can live beside */
.prose-level--card { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; grid-template-areas: "name card" "text card"; grid-template-rows: auto 1fr; column-gap: var(--wa-space-xl); align-items: start; }
.prose-level--card > .prose-level__name { grid-area: name; }
.prose-level--card > p:not(.prose-level__name) { grid-area: text; }
.prose-level--card > .prose-card { grid-area: card; }
.prose-aside--card { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; column-gap: var(--wa-space-xl); align-items: start; }
.prose-aside > div > :first-child { margin-top: 0; }
.prose-card { display: block; }
.prose-card img { box-shadow: var(--wa-shadow-m); transition: transform 200ms cubic-bezier(.25, 1, .5, 1); }
.prose-card:hover img { transform: translateY(-2px); }
.prose-card.printing--landscape:hover img { transform: translate(-50%, calc(-50% - 2px)) rotate(-90deg); }  /* a landscape card keeps its turn */
@media (max-width: 50.9375em) {
  .prose-level--card, .prose-aside--card { grid-template-columns: minmax(0, 1fr) 5rem; column-gap: var(--wa-space-m); }
}

/* the least-sure-word rule, seen: the name and its level, then each word over its own */
.word-levels { margin-block: var(--wa-space-l); font-family: var(--wa-font-family-body); }
.word-levels__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--wa-space-xs); margin: 0 0 var(--wa-space-xs);
  font-size: var(--wa-font-size-s); color: var(--wa-color-text-quiet); }
/* on the baseline, not centered: at the same size an icon's ink centers .375em up and the caps' .371em, so they match at any size; centered, the line box leaves the icon low */
.word-levels__level, .word-level__tag { display: inline-flex; align-items: baseline; gap: .3em; /* .4em before (owner, 2026-11-03) */ font-weight: var(--sw-font-weight-level);
  text-transform: uppercase; letter-spacing: .05em; color: var(--wa-color-text-normal); }
.word-levels__level i.fa-circle-question, .word-level__tag i.fa-circle-question { translate: 0 -0.02em; }  /* the Best Guess lift; no base nudge here, these sit on the baseline */
.word-levels__words { display: flex; flex-wrap: wrap; gap: var(--wa-space-xs) var(--wa-space-2xl); }
.word-level { display: grid; gap: var(--wa-space-2xs); }
.word-level__resp { font-size: 2.5rem; }
@media (max-width: 50.9375em) { .word-level__resp { font-size: clamp(1.75rem, 4vw, 2.5rem); } }
.word-level__resp .plain { color: var(--wa-color-text-quiet); }
.word-level__tag { font-size: var(--wa-font-size-xs); color: var(--wa-color-text-quiet); }

/* the source ranking: numbered rows, each with the icon its credit row has on a name page */
.prose-page .wa-prose p:has(+ .prose-tiers) { margin-block-end: var(--wa-space-xs); }
.prose-tiers { list-style: none; counter-reset: tier; margin-block: 0 var(--wa-space-m); padding: 0; border-top: 1px solid var(--wa-color-surface-border); }
.prose-tiers li { counter-increment: tier; display: grid; grid-template-columns: 1.6em var(--wa-font-size-xl) minmax(0, 1fr); column-gap: var(--wa-space-s);
  align-items: baseline; padding-block: var(--wa-space-xs); border-bottom: 1px solid var(--wa-color-surface-border); }
.prose-tiers li::before { content: counter(tier); font-family: var(--wa-font-family-heading); color: var(--wa-color-text-quiet); font-variant-numeric: tabular-nums; }
.prose-tiers .credit-icon { justify-self: center; }
.prose-every { margin-block: var(--wa-space-m); font-size: var(--wa-font-size-m); }
.prose-every dt { font-family: var(--wa-font-family-body); font-weight: var(--wa-font-weight-bold); font-size: var(--wa-font-size-s); }
.prose-every dd { margin: 0 0 var(--wa-space-s); }

/* How to Read a Respelling leads with one, its sound-alikes on it */
.prose-key { font-size: 3rem; line-height: 1.1; }
@media (max-width: 50.9375em) { .prose-key { font-size: clamp(2rem, 5vw, 3rem); } }
.prose-key .syl { white-space: nowrap; }
.prose-key .hint { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: .18em; cursor: pointer; }
/* the essay's pieces that aren't prose keep the interface face, as on every page */
.prose-page .wa-prose wa-button, .prose-page .wa-prose wa-details { font-family: var(--wa-font-family-body); }
.prose-level + .prose-pull { margin-block-start: var(--wa-space-m); }  /* the same space below the last level's rule as above it */
.prose-page .wa-prose .prose-key { margin-block: 0 var(--wa-space-m); }  /* not 1.5em of its own 48px */

/* Download's sample from the Markdown file: its lines wrap, so a long entry never scrolls sideways */
.prose-page .wa-prose pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose-page .wa-prose :not(pre) > code { white-space: nowrap; }  /* an address or header name never breaks at its hyphen */

/* ---------- A set's page: its home page row, every name in it (owner, 2026-10-27) ---------- */
/* the heading is the home row's (section > h2), as the page's h1; the count and release date where See All sits */
.set-page section > h1 { font-size: var(--wa-font-size-xl); padding-bottom: var(--wa-space-m); margin: 0 0 var(--wa-space-m); border-bottom: 1px solid var(--wa-color-surface-border);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--wa-space-2xs) var(--wa-space-m); }
.set-page__meta { font-family: var(--wa-font-family-body); font-size: var(--wa-font-size-m); font-weight: var(--wa-font-weight-normal); color: var(--wa-color-text-quiet); }
/* under the heading's rule: the count on the left, the sort on the right, then the tiles (owner, 2026-10-27) */
.set-page section > h1 { margin-bottom: var(--wa-space-m); }
.set-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--wa-space-s) var(--wa-space-m); margin: 0 0 var(--wa-space-l); }
.set-bar__count { margin: 0; font-size: var(--wa-font-size-s); color: var(--wa-color-text-quiet); }
.set-sort { width: 12rem; }

/* Foil (owner, 2026-11-11): Protect the Pod's foil pattern (github.com/ledwards/swupod, Card.css: a diagonal rainbow,
   overlaid on the art, sliding corner to corner over 6 seconds) on a card that moves like Web Awesome's Holo Foil
   Cards. shared/namepage-client.js runs it and says why it's built this way. A list card is never touched: three
   stand-ins (.foil-stage) are built at page load with every layer they need, parked off screen, and laid over the
   card being hovered, showing its art; a card page's own card (.foil.is-lit) wears the sheen itself and is its own
   layer from the start. So nothing becomes a layer, or stops being one, on hover: in Safari each such change
   repainted against the page-tall sand texture and a scan across a row ran at 2 frames a second. The script writes
   the tilt and zoom, the rainbow's shift against the pointer, and the glare's place and strength straight onto each
   part as a transform or an opacity; the springs are the easing, so no transitions. The spectrum is the foil's own,
   not a brand color, so it's written out here. */
.foil { position: relative; }
.foil.is-lit { will-change: transform; }
.foil.is-live { z-index: 2; }
/* the zoom is the lift: the art's own 2px hover lift is off wherever the foil can run, so the two never trade places */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.printing:not(.printing--landscape):hover img { transform: none; }
  a.printing:not(.printing--landscape):hover .bands { translate: none; }
}
.foil-stages { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 3; pointer-events: none; }
.foil-stage { position: absolute; top: 0; left: 0; will-change: transform; }
.foil-stage__card { position: relative; width: 100%; height: 100%; container-type: inline-size; will-change: transform; }
.foil-stage__art { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4.5% / 3.2%; box-shadow: var(--wa-shadow-l); }
.foil__sheen { position: absolute; inset: 0; overflow: hidden; border-radius: 4.5% / 3.2%; pointer-events: none; mix-blend-mode: overlay; opacity: 0; }
.is-lit > .foil__sheen { opacity: .8; }
.plate__card--wide > .foil__sheen { border-radius: 3.2% / 4.5%; }
.foil__rainbow { position: absolute; top: 0; left: 0; width: 200%; height: 200%; transform: translate(-25%, -25%); will-change: transform;
  background: linear-gradient(125deg, transparent 0%, rgba(255, 0, 0, .35) 15%, rgba(255, 127, 0, .4) 25%, rgba(255, 255, 0, .45) 35%, rgba(0, 255, 0, .45) 45%, rgba(0, 0, 255, .45) 55%, rgba(75, 0, 130, .4) 65%, rgba(148, 0, 211, .35) 75%, transparent 85%, transparent 100%); }
.foil__glare { position: absolute; inset: -25%; opacity: 0; will-change: transform, opacity; background: radial-gradient(closest-side, hsl(0 0% 100% / .85), hsl(0 0% 100% / .3) 40%, hsl(0 0% 100% / 0) 75%); }
@keyframes foil-shimmer { from { transform: translate(0, 0); } to { transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: no-preference) {
  .foil__rainbow { animation: foil-shimmer 6s ease-in-out infinite alternate; }
}
