/* ============================================================================
   hero-words.css: the home hero's words (Nathan's picks, 19 Nov 2026, chat HERO TYPE,
   review section "Hero: your words"). Ported from the review lane's hero-type.css and
   review.css with only his locked picks, no options:
   "Hi, I'm" in a small hand, "Nate" in Inter with a letter run, the subline on one line,
   the location line with a pin, the social row with the WCAG badge after Figma.
   hero-words.js draws the runs on "Nate" and sizes the lines to their column.
   Loaded after sections.css on index.html only. Under Reduce motion the words sit still.
   Caveat is a stand-in hand, a free Google font. Inter and Caveat are served from this site (end of file), Google's own
   latin files.
   ========================================================================== */

/* ---- the dagger the letter run puts on the t of "Nate" (hero-words.js, MARK): Inter's own glyph, Google's file of
   that one character (css2?family=Inter:opsz,wght@14..32,400;14..32,600&text=%E2%80%A0, 1.6 KB, same outline,
   widths and line metrics at every weight). Inter's latin file has no U+2020, so the run fetched Inter's whole
   latin-ext file (131 KB) for it as the page opened (page-weight gate, 21 Nov 2026, chat PAGE WEIGHT). A private
   name so it can never stand in for other letters; unicode-range keeps it off the line's metrics. OFL beside it. ---- */
@font-face { font-family: "Hero Dagger"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/hero-dagger.woff2") format("woff2"); unicode-range: U+2020; }

/* ---- where the words sit ---- */
#hero .hw-intro { display: flex; flex-direction: column; gap: var(--space-400); position: relative; z-index: 1; max-width: 44%; margin-block: auto; align-self: stretch; }
#hero .hw-intro p { margin: 0; }

/* ---- held until Inter and Caveat are in (index.html, HERO WORDS HOLD; the load-shift gate, 20 Nov 2026): laid out but
   unseen while a stand-in face draws them, so their letters' move to the real faces is never scored. The rise of the
   line's words waits with them, and the location line keeps to one line, so a wider stand-in hand cannot wrap it and
   push the picture and buttons down. Under 3s, then they show whatever has loaded. ---- */
html[data-hw-wait] #hero .hw-intro { opacity: 0; }
html[data-hw-wait] #hero .hw-sub .hw-w { animation-play-state: paused; }
html[data-hw-wait] #hero .hw-intro .hw-loc { flex-wrap: nowrap; white-space: nowrap; }

/* the headline carries .hx-h1 only so it keeps the hero's own size (--hx-line, --hx-tail) and its Theme lab fit;
   everything else about it is set here */
:root #hero .hw-h1.hx-h1 {
  display: block; white-space: normal; flex-direction: initial; flex-wrap: initial; gap: 0;
  font-family: "Inter", var(--font-body); font-optical-sizing: auto; font-weight: var(--weight-regular);
  font-size: calc(var(--hx-line) * var(--hx-tail) * 0.8);
  letter-spacing: var(--tracking-tight); line-height: var(--line-display);
  color: var(--color-text-primary); text-wrap: balance; margin: 0;
}

/* "Hi, I'm": small, in a hand, set a little lower, no tilt (his pick; "hi, i'm" size 0.85) */
#hero .hw-h1 .hw-hi { display: block; width: fit-content; font-family: "Caveat", cursive; font-weight: 500; font-size: calc(0.4 * 0.85 * 1em); letter-spacing: 0; line-height: var(--line-title); color: var(--color-text-tertiary); transform: scale(1.4); transform-origin: 0 100%; translate: 0 0.32em; }
/* fit-content: the 1.4 scale grows the box from its centre on phones, so a full-width box ran 53px past a 375 screen (overflow gate, 19 Nov 2026) */
@media (max-width: 1023.98px) { #hero .hw-h1 .hw-hi { transform-origin: 50% 100%; margin-inline: auto; } }

/* "Nate" */
#hero .hw-h1 .hw-nate { display: inline-block; position: relative; white-space: nowrap; font-family: "Hero Dagger", "Inter", var(--font-body); font-weight: var(--weight-semibold); font-size: var(--hw-nate-size, 1.25em); letter-spacing: var(--tracking-tight); color: var(--color-text-primary); }

/* the line under his name: one line at every width, sized down to its column by hero-words.js (--hw-fit) */
#hero .hw-intro .hw-sub { --sub-fs: var(--size-2xl); font-family: "Inter", var(--font-body); font-weight: var(--weight-regular); letter-spacing: var(--tracking-tight); font-size: calc(var(--sub-fs) * var(--hw-fit, 1)); line-height: var(--line-title); color: var(--color-text-primary); white-space: nowrap; max-width: none; }
.hw-sub .hw-w { display: inline-block; opacity: 0; translate: 0 0.4em; animation: hw-rise var(--duration-flourish) var(--ease-entrance) forwards; animation-delay: calc(var(--i) * var(--duration-reveal-gap)); }
@keyframes hw-rise { to { opacity: 1; translate: 0 0; } }

/* the location line */
#hero .hw-intro .hw-loc { display: flex; align-items: center; gap: var(--space-200); margin: var(--space-300) 0 0; font-family: "Inter", var(--font-body); font-size: var(--size-lg); font-weight: var(--weight-regular); line-height: 1.3; letter-spacing: 0; color: var(--color-text-tertiary); flex-wrap: wrap; row-gap: var(--space-100); }
/* one line at the authored size; at 200% text it may wrap, so no word is cut (WCAG 1.4.4, overflow gate 19 Nov 2026) */
@media (max-width: 1023.98px) { #hero .hw-intro .hw-loc { font-size: var(--size-sm); margin-block-start: var(--space-200); } }
.hw-loc .hw-loc-i { flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: url("icons/map-pin.svg") center / contain no-repeat; mask: url("icons/map-pin.svg") center / contain no-repeat; opacity: 0; transform: scale(0); } /* Lucide map-pin, drawn as a mask so it takes the line's own colour */
.hw-loc .hw-loc-hand { font-family: "Caveat", cursive; font-weight: 500; font-size: 1.5em; line-height: 0.9; color: var(--color-text-primary); rotate: -3deg; margin-inline-end: var(--space-100); }
/* the pin grows from nothing on its point as the line arrives (his words, 21 Nov 2026: "scale from 0 up, so it goes from
   small to large and wobbles at the end"), and lifts when he points at the line */
.hw-loc.is-in .hw-loc-i { opacity: 1; transform: none; transition: transform var(--duration-slow) var(--ease-entrance), opacity var(--duration-moderate) var(--ease-default); }
.hw-loc.is-in:hover .hw-loc-i { transform: translateY(-0.2em); transition-duration: var(--duration-fast); }
/* then it wobbles on its point, left and right, and settles; the same wobble when he points at the line (his words,
   21 Nov 2026: "have it wobble, like it's got a bounce to it, left to right ... And the same when I hover it"). It rides
   the rotate property, so the drop and the lift above keep the transform. Two names in one list: the first never changes,
   so leaving the line never replays it; the second is only named once the first has ended (.is-set, hero-words.js), so
   a pin that is still moving is never started again. */
.hw-loc .hw-loc-i { transform-origin: 50% 100%; }
.hw-loc.is-in .hw-loc-i { animation: hw-pin-wobble var(--duration-flourish) var(--ease-default) var(--duration-slow) both, var(--hw-pin-again, none) var(--duration-flourish) var(--ease-default) both; }
.hw-loc.is-set:is(:hover, :focus-within) { --hw-pin-again: hw-pin-wobble-again; }
@keyframes hw-pin-wobble { 0% { rotate: 0deg; } 22% { rotate: 14deg; } 48% { rotate: -9deg; } 72% { rotate: 4deg; } 100% { rotate: 0deg; } }
@keyframes hw-pin-wobble-again { 0% { rotate: 0deg; } 22% { rotate: 14deg; } 48% { rotate: -9deg; } 72% { rotate: 4deg; } 100% { rotate: 0deg; } }

/* ---- phone and tablet: centred, "Nate" a size larger (index.html's HERO WORDS PRE-FIT sets --hw-nate-size) ---- */
@media (max-width: 1023.98px) {
  #hero .hero-inner { height: auto; }
  #hero .hero-text { justify-content: flex-start; padding-block-start: calc(var(--space-600) + var(--space-200)); }
  #hero .hw-intro { max-width: none; text-align: center; }
    #hero .hw-intro .hw-loc { justify-content: center; }
  #hero .hero-foot { align-self: stretch; }
  #hero .status-row { flex: 1; align-items: stretch; }
  #hero .status-row__secondary { max-width: none; justify-content: center; }
}

/* ---- the picture's slot under 1024: the picture helper's picture is laid over it ---- */
#hero .hero-pic-slot { display: none; }
@media (max-width: 1023.98px) {
  /* The picture lifted as one group (his pick 23 Nov 2026, chat HERO LIFT: "half"): the gap from "Fully remote" to
     the top of the tail fin is this margin plus the fin's own offset in the slot, 22% of the slot's height, so the
     lift halves both. The slot's height is min(125% of its width, 72svh), and a margin's % is of that same width,
     so the sum holds at every width under 1024. The buttons under the picture come up with it. */
  #hero .hero-pic-slot {
    display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 72svh;
    margin-block: calc(var(--space-500) / 2 - 0.11 * min(125%, 72svh)) var(--space-300);   /* lint-ok: half of the fin's 22% offset in the slot, measured at 360 to 744 wide */
  }
}

/* ---- "Nate": the real word keeps its place and name, see through; each letter's looks are drawn on a layer over it,
   in a slot pinned to that letter's own spot ---- */
.hw-nate.is-set .hw-real { color: transparent; }
.hw-nate .hw-over { position: absolute; inset: 0; white-space: nowrap; color: var(--color-text-primary); pointer-events: none; user-select: none; }
.hw-nate .hw-base { display: inline-block; width: 0; height: 0; }
.hw-nate .hw-l { position: absolute; inset-block: 0; --hw-u: 0em; --hw-o: 0; translate: 0 0; transition: translate var(--duration-moderate) var(--ease-default); }
.hw-nate .hw-ink { position: absolute; inset: 0; }
.hw-nate .hw-in { position: absolute; inset-block-start: 0; inset-inline-start: 50%; translate: -50% 0; white-space: nowrap; opacity: 0; }
.hw-nate .hw-in.is-on { opacity: 1; }
.hw-nate .hw-gl { line-height: 0; }
.hw-nate :is(.hw-g, .hw-swap) { color: var(--hw-c, currentColor); }
.hw-nate .hw-outline { color: transparent; -webkit-text-stroke: max(2px, 0.028em) var(--hw-c, currentColor); }
.hw-nate .hw-swap { text-shadow: -0.035em 0 var(--hw-c2, var(--fx-swap-8)), 0.035em 0 var(--hw-c3, var(--fx-swap-1)); }
.hw-nate .hw-double { color: transparent; -webkit-text-stroke: max(2px, 0.03em) var(--hw-c, currentColor); text-shadow: 0.05em 0.05em 0 var(--hw-c2, var(--fx-swap-1)); }
.hw-nate .hw-emoji .hw-gl { font-family: "Noto Color Emoji", "Apple Color Emoji", sans-serif; font-size: 0.64em; font-weight: var(--weight-regular); }
/* the one canvas over the whole word that draws its 3D letters (hero-words.js sizes and places it) */
.hw-nate .hw-cv { position: absolute; pointer-events: none; }
.hw-nate .hw-cv[hidden] { display: none; }
.hw-nate .hw-spark { position: absolute; width: var(--sz, 0.14em); height: var(--sz, 0.14em); pointer-events: none; animation: hw-rise-spark calc(var(--duration-flourish) * 1.4) var(--ease-exit) forwards; }
.hw-nate .hw-spark svg { display: block; width: 100%; height: 100%; fill: var(--hw-sc, var(--fx-swap-4)); } /* the letter's own colour (hero-words.js spark) */
@keyframes hw-rise-spark {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(var(--dx, 0), -0.55em) scale(0.4); opacity: 0; }
}
/* every look stands at its letter's own size (NATE HOVER, 22 Nov 2026: the 0.84 the looks were set at read as the word
   shrinking); a mark's glyph is a box so hero-words.js seat() can move it onto the letter's centre (HERO NAME, 20 Nov 2026) */
.hw-nate .hw-sym .hw-gl { display: inline-block; }
/* one letter as a construction drawing */
.hw-nate .hw-in.hw-conl { inset: 0; translate: none; }
.hw-nate .hw-con { position: absolute; overflow: visible; pointer-events: none; color: var(--color-text-primary); }
.hw-con .hw-con-g { fill: none; stroke: currentColor; stroke-opacity: var(--alpha-200); stroke-width: calc(var(--sw) * 1px); stroke-dasharray: 1; stroke-dashoffset: 1; }
.hw-con .hw-con-t { fill: none; stroke: currentColor; stroke-opacity: 0.9; stroke-width: calc(var(--sw) * 2.6px); stroke-linejoin: round; stroke-linecap: round; }
.hw-con .hw-con-a { fill: var(--brand-primary); stroke: currentColor; stroke-width: calc(var(--sw) * 1px); opacity: 0; }

/* ---- the social row: the WCAG badge sits in it, after Figma; the buttons' outlines are a softer hairline ---- */
#hero .status-row__secondary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-300); }
/* the badge's wrapper (.hero-a11y) steps out of the way so the badge is a flex item of the social row, after Figma */
#hero .status-row__secondary > .hero-a11y { display: contents; }
#hero .hero-a11y > .wcagm-btn { position: static; }
/* The badge enters as the fourth of the social row, with their exact motion, one step after Figma (his words, 21 Nov
   2026: "use the same motion as the other ones"). Here .hero-a11y is display: contents, so the entrance sections.css
   gives it moved nothing and the badge sat there from the first frame: the button takes the pills' rest, beat, curve
   and length instead (sections.css, HERO ENTRANCE and HERO INTRO: 4.4, 4.9, 5.4, then 5.9; 12, 12.6, 13.2, then 13.8). */
html[data-hero-enter] #hero .hero-a11y > .wcagm-btn { --hxe-i: 5.9; --hxe-y: var(--space-500); --hxe-dur: var(--duration-slow); --hxe-ease: var(--ease-emphasized); }
html[data-hero-intro] #hero .hero-a11y > .wcagm-btn { --hxe-i: calc(13.8 * var(--hi-f)); --hxe-y: 0; }
html[data-hero-enter="rest"] #hero .hero-a11y > .wcagm-btn.wcagm-btn { transition: none; opacity: 0; transform: translate3d(0, var(--hxe-y, 0), 0); }
html[data-hero-enter="play"] #hero .hero-a11y > .wcagm-btn.wcagm-btn { transition: none; animation: hxe-in var(--hxe-dur) var(--hxe-ease) calc(var(--hxe-i, 0) * var(--hxe-beat)) both; }
#hero .sbtn-row > .sbtn { border-width: 0.5px; border-color: color-mix(in oklab, var(--btn-secondary-border) 55%, transparent); }
/* the WCAG badge takes the same softer hairline as LinkedIn, GitHub and Figma, and under 1024 the row stays one line
   (sections.css sets nowrap there; the wrap above won on specificity and dropped the badge onto a line of its own). His words, 21 Nov 2026 */
/* It is their twin (his words, 21 Nov 2026: "the exact same component"): the plate under its hairline is the buttons'
   surface, not the amber (the see-through edge read tan over amber); no lift on the button itself, no ink ring, no sweep. */
#hero .hero-a11y > .wcagm-btn .wcagm { border-width: 0.5px; border-color: color-mix(in oklab, var(--btn-secondary-border) 55%, transparent); background: var(--color-surface); }
#hero .hero-a11y > .wcagm-btn .wcagm, #hero .hero-a11y > .wcagm-btn :is(.wcagm-w3c, .wcagm-txt) { transition: var(--btn-transition); }
#hero .hero-a11y > .wcagm-btn .wcagm::before, #hero .hero-a11y > .wcagm-btn .wcagm::after { content: none; }
#hero .hero-a11y > .wcagm-btn, #hero .hero-a11y > .wcagm-btn:hover, #hero .hero-a11y > .wcagm-btn:active { transform: none; }
/* Hover, focus and press move the whole badge as one (WCAG HOVER, his pick 21 Nov 2026: "You need to treat it as one"):
   the halves swap, the W3C side takes the amber and the WCAG side turns ink with amber words (11.4 to 1; the W3C logo
   keeps its own blue, 4.8 to 1 on amber, never recoloured), and a press deepens the amber one step. */
@media (hover: hover) {
  #hero .hero-a11y > .wcagm-btn:hover .wcagm { border-color: color-mix(in oklab, var(--btn-secondary-border) 55%, transparent); box-shadow: none; }
  #hero .hero-a11y > .wcagm-btn:hover :is(.wcagm, .wcagm-w3c) { background: var(--ext-brand-wcag-amber); }
  #hero .hero-a11y > .wcagm-btn:hover .wcagm-txt { background: var(--brand-ink); color: var(--ext-brand-wcag-amber); }
}
#hero .hero-a11y > .wcagm-btn:focus-visible { outline: var(--border-focus); outline-color: var(--btn-focus-ring); outline-offset: var(--focus-ring-offset); }
#hero .hero-a11y > .wcagm-btn:focus-visible :is(.wcagm, .wcagm-w3c) { background: var(--ext-brand-wcag-amber); }
#hero .hero-a11y > .wcagm-btn:focus-visible .wcagm-txt { background: var(--brand-ink); color: var(--ext-brand-wcag-amber); }
#hero .hero-a11y > .wcagm-btn:active :is(.wcagm, .wcagm-w3c) { background: color-mix(in oklab, var(--ext-brand-wcag-amber), var(--brand-ink) 15%); }
#hero .hero-a11y > .wcagm-btn:active .wcagm-txt { background: var(--brand-ink); color: var(--ext-brand-wcag-amber); }
/* All four pills grow 4% on hover with a small spring, so the row answers as one (his picks 21 Nov 2026: the badge grows,
   then "the other buttons now don't scale 4% should they?", yes). The badge grows by its shell: the button's own
   transform belongs to the entrance and the scroll exit. A press settles them back; nothing grows under Reduce motion.
   The pills take the scale transition only once the entrance has let go (sections.css turns their transitions off while
   data-hero-enter is rest or play; an id here would out-rank that). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html:not([data-hero-enter="rest"]):not([data-hero-enter="play"]) #hero .sbtn-row > .sbtn,
  #hero .hero-a11y > .wcagm-btn .wcagm { transition: var(--btn-transition), scale var(--duration-base) var(--ease-spring); }
  #hero .sbtn-row > .sbtn:hover, #hero .hero-a11y > .wcagm-btn:hover .wcagm { scale: 1.04; } /* lint-ok: the row's hover grow, his pick 21 Nov 2026 */
  #hero .sbtn-row > .sbtn:active, #hero .hero-a11y > .wcagm-btn:active .wcagm { scale: 1; }
}
@media (max-width: 1023.98px) { #hero .status-row__secondary { flex-wrap: nowrap; } }
/* One row from 1024 to 1199 (BADGE ROW, his pick 21 Nov 2026, "One row"). sections.css caps this row at the space left of
   the old phone scene (100vw - --hero-stage - 64px), 397 to 496 px here, so the badge wrapped under the socials; his picture
   is not sized by --hero-stage, and the four pills (529 px) end under the chair, clear of him, the chair and Lumi.
   max-width only: the row may still wrap at large text sizes. Proof: badge-row-test.mjs, 1024 to 1440 at four heights. */
@media (min-width: 1024px) and (max-width: 1199.98px) { #hero .status-row__secondary { max-width: none; } }

/* ---- the colour under the cursor (his pick 25 Nov 2026, chat CURSOR LAB, option 4): the hero word's eight swap
   colours, a bright one in the middle fading to a partner three along at the edge, centred on the circle. The hero's
   reveal script sets the centre and radius every frame and steps to the next pair as the pointer travels, never on a
   timer (THE COLOUR). Strength is the most that keeps "Hi, I'm" (large grey text) at 3:1 over every pair: 35% and 30%
   light, 26% and 22% dark. Dark had no colour before (the white lift in sections.css); it now has the pair too. ---- */
@property --hero-swap-a { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --hero-swap-b { syntax: '<color>'; inherits: true; initial-value: transparent; }
#hero .hero-ground { --hero-swap-a: var(--fx-swap-1); --hero-swap-b: var(--fx-swap-4); transition: --hero-swap-a var(--duration-flourish) var(--ease-default), --hero-swap-b var(--duration-flourish) var(--ease-default); }
#hero .hero-ground::before { inset: 0; opacity: 1; filter: none; background: radial-gradient(circle var(--hero-swap-r, closest-side) at var(--hero-swap-x, 50%) var(--hero-swap-y, 50%), color-mix(in oklab, var(--hero-swap-a) 35%, var(--color-bg)) 0%, color-mix(in oklab, var(--hero-swap-b) 30%, var(--color-bg)) 100%); }
html[data-theme="dark"] #hero .hero-ground::before { background: radial-gradient(circle var(--hero-swap-r, closest-side) at var(--hero-swap-x, 50%) var(--hero-swap-y, 50%), color-mix(in oklab, var(--hero-swap-a) 26%, var(--color-bg)) 0%, color-mix(in oklab, var(--hero-swap-b) 22%, var(--color-bg)) 100%); }
/* The location line is small text (4.5:1) and the circle can sit under it: over the swap pairs tertiary falls to 3.2:1
   in light and 3.6:1 in dark, so wherever the circle can show (a fine pointer) it steps up a token: secondary in light
   (5.9:1 or better over every pair), primary in dark (10.4:1; dark's secondary reaches only 4.5). Measured 25 Nov 2026
   on the cursor lab. */
@media (pointer: fine) {
  #hero .hw-intro .hw-loc { color: var(--color-text-secondary); }
  html[data-theme="dark"] #hero .hw-intro .hw-loc { color: var(--color-text-primary); }
}
/* No-script twin (the form at the logo inversions in sections.css): with JavaScript off nothing sets data-theme, so the
   OS setting decides dark, and the line takes the same step up (no-script check, deploy 25 Nov 2026). */
@media (pointer: fine) and (prefers-color-scheme: dark) {
  :root:where(:not([data-theme])) #hero .hw-intro .hw-loc { color: var(--color-text-primary); }
}

/* ---- leaving on scroll: the words lift away one after another on the hero's own timeline (sections.css, HERO EXIT);
   the buttons leave one by one, LinkedIn, GitHub, Figma, then the WCAG badge fourth ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [id="hero"] { --hero-exit-r-b4: exit 33% exit 51%; }
    @media (max-width: 1023.98px) { [id="hero"] { --hero-exit-r-b4: exit 35% exit 53%; } }
    html[data-hero-stack] [id="hero"] { --hero-exit-r-b4: exit 35% exit 53%; }
    html:not([data-hero-enter="rest"]):not([data-hero-enter="play"]) #hero .hw-h1 .hw-hi { animation: hero-exit-lift var(--ease-exit) both; animation-timeline: --hero-exit; animation-range: var(--hero-exit-r-lead); }
    html:not([data-hero-enter="rest"]):not([data-hero-enter="play"]) #hero .hw-h1 .hw-nate { animation: hero-exit-lift var(--ease-exit) both; animation-timeline: --hero-exit; animation-range: var(--hero-exit-r-tail); }
    html:not([data-hero-enter="rest"]):not([data-hero-enter="play"]) #hero :is(.hw-sub, .hw-loc) { animation: hero-exit-lift var(--ease-exit) both; animation-timeline: --hero-exit; animation-range: var(--hero-exit-r-aside); }
    html:not([data-hero-enter="rest"]):not([data-hero-enter="play"]) #hero .hero-a11y > .wcagm-btn.wcagm-btn {
      animation: hero-exit-row var(--ease-exit) both, hero-exit-fade var(--ease-exit) both;
      animation-timeline: --hero-exit, --hero-exit; animation-range: var(--hero-exit-r-row), var(--hero-exit-r-b4);
    }
  }
}

/* ---- Forced colours (Windows high contrast) ----
   sections.css draws the hero headline in the system text colour with no plate (forced-color-adjust none), but this
   file's own colours win on specificity, which left "Hi, I'm" in the site's grey on whatever ground the reader picked.
   Here every part of the headline takes the system text colour, and "Nate" shows as its real word: the letter layer,
   its drawings and sparks keep their own effect colours, so they step aside, as the letter swap's overlay does. */
@media (forced-colors: active) {
  /* stylelint-disable-next-line scale-unlimited/declaration-strict-value -- CanvasText is the standards-required system text colour for forced-colors mode, intentional, not a raw colour */
  :root #hero .hw-h1.hx-h1, :root #hero .hw-h1.hx-h1 .hw-hi, :root #hero .hw-h1.hx-h1 .hw-nate, :root #hero .hw-h1.hx-h1 .hw-nate.is-set .hw-real { color: CanvasText; }
  #hero .hw-nate :is(.hw-over, .hw-cv, .hw-con, .hw-spark) { display: none; }
}

/* ---- Reduce motion: the words at rest, nothing runs ---- */
@media (prefers-reduced-motion: reduce) {
  .hw-sub .hw-w { opacity: 1; translate: none; animation: none; }
  .hw-loc .hw-loc-i, .hw-loc.is-in .hw-loc-i { opacity: 1; transform: none; transition: none; animation: none; rotate: none; }
  #hero .hero-ground { animation: none; }
  .hw-nate .hw-l { transition: none; }
  .hw-nate .hw-spark { display: none; }
}

/* ---- Inter and Caveat, self-hosted (HERO GATES, 22 Nov 2026): Google's own latin files, byte for byte
   (fonts.gstatic.com inter/v20 UcCo3FwrK3iLTcviYwYZ8UA3, one variable file for both weights, and caveat/v23), with the
   faces, ranges and display Google's sheet gave them, so every letter draws as it did. They came from an async Google
   sheet, so the faces were unknown until it landed: on a slow answer the words showed in a stand-in face at the hold's
   3s backstop and moved when Inter arrived (the load-shift gate at 1280 and 1024 on the 22 Nov deploy), and a page read
   before the sheet landed was sized for Inter but drawn wider (the overflow gate: "tools." cut by 69px at 600). Here
   the faces are known from the first stylesheet and preloaded (index.html). OFL beside them. ---- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Caveat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

