/* Reeleyes, brutalist. A black sheet cut into boxes by 3px white rules, the brand yellow for actions and one loud band.
   Three kinds of type and no more: Archivo Expanded Black capitals for display, plain Archivo for reading,
   Space Mono Bold capitals for every small label, button and number. All self-hosted.
   Hovers invert at once. No inline styles anywhere: the content policy forbids them. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/space-mono-700-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: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/space-mono-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --k: #0a0a0a;
  --w: #f2f2f0;
  --y: #ffd500;
  --muted: #a8a7a1;
  --surface: #1a1a1a;          /* behind pictures while they load */
  --bad: #ff8a7a;
  --rule: 3px solid var(--w);
  --rule-k: 3px solid var(--k);

  --display: 'Archivo', 'Arial Black', sans-serif;
  --text: 'Archivo', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  /* the five type sizes. The fifth, mega, is set on .mega: it fills its box (see there) */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  --step-head: clamp(2rem, 0.8rem + 4.6vw, 5.25rem);

  --m: clamp(16px, 2.2vw, 32px);       /* the page margin, and the padding inside every box */
  --hard: cubic-bezier(.7, 0, .2, 1);
  interpolate-size: allow-keywords;    /* lets the credits and the archive open to their own height */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; padding: var(--m); background: var(--k); color: var(--w); font: 400 var(--step-body)/1.5 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }   /* hidden stays hidden, whatever display a class gives it */
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
::selection { background: var(--y); color: var(--k); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 50; background: var(--y); color: var(--k); padding: 14px 18px; }
.skip:focus { top: 12px; }

/* ---------- type: the three kinds ---------- */
.display { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.86; }
/* the one label style: every small label, button, number and tag */
.label, .skip, .nav a, .btn, .bar-link, .filters button, .close, .tag, .field label, .player-credits dt {
  font: 700 var(--step-small)/1.35 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; }
/* mega fills the width of its box: 100cqi is the box, 9.8 is how many ems wide PRODUCTIONS sets. 9vw is for browsers without cqi */
.fit { container-type: inline-size; }
.mega { font-size: 9vw; font-size: calc(100cqi / 9.8); }
.squeeze { font-stretch: 115%; }     /* SCARBOROUGH, the one word wider than PRODUCTIONS */
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 36ch; }
.small { font-size: var(--step-small); }
.soft { color: var(--muted); }
.mark { display: block; fill: currentColor; }

/* ---------- the sheet: every part is a box, and neighbours share one rule ---------- */
.site-head, main > *, .site-foot { border: var(--rule); border-top: 0; }
.site-head { border-top: var(--rule); }
.bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding: var(--m); }
.bar-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border: var(--rule); background: none; text-decoration: none; cursor: pointer; }
.bar-link:hover { background: var(--y); border-color: var(--y); color: var(--k); }

/* the one button */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--y); color: var(--k); border: 0; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--w); }
.btn:active { translate: 2px 2px; }
.text-link { text-decoration: underline; }
.text-link:hover { background: var(--y); color: var(--k); text-decoration: none; }

/* pause and play, drawn as icons. The icon shows what the row is doing: play while it moves, pause once stopped */
.toggle svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.toggle .i-pause, .toggle[aria-pressed="true"] .i-play { display: none; }
.toggle[aria-pressed="true"] .i-pause { display: block; }

/* ---------- header: a row of cells ---------- */
.site-head { display: flex; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px var(--m); text-decoration: none; font: 900 var(--step-body)/1 var(--display); font-stretch: 125%; text-transform: uppercase; }
.brand .mark { width: 42px; color: var(--y); }
/* the turning RE: yellow on black, black once the cell turns yellow under the pointer */
.brand-3d { display: block; width: 52px; height: 40px; color: var(--y); cursor: grab; touch-action: none; }
.brand-3d:active { cursor: grabbing; }
.brand.is-3d .mark { display: none; }
.brand:hover { background: var(--y); color: var(--k); }
.brand:hover .mark, .brand:hover .brand-3d { color: var(--k); }
.nav { display: flex; }
.nav a { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 clamp(14px, 1.8vw, 28px); border-left: var(--rule); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--w); color: var(--k); }
.nav .go { background: var(--y); color: var(--k); }
.nav .go:hover, .nav .go[aria-current="page"] { background: var(--w); }
@media (max-width: 640px) {
  .site-head { flex-direction: column; }
  .brand { border-bottom: var(--rule); min-height: 56px; }
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a { min-height: 52px; padding: 0 4px; }
  .nav a:first-child { border-left: 0; }
}

/* ---------- Home: the name, then a bar with the reel ---------- */
.hero-head { padding: calc(var(--m) * 1.5) var(--m); }
.hero-sub { margin-top: calc(var(--m) * 0.75); }
.hero-bar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border-top: var(--rule); }
.hero-bar > * { padding: var(--m); }
.hero-bar > * + * { border-left: var(--rule); }
.hero-note { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
/* the reel: a yellow block with its words in the middle; white under the pointer */
.hero-play { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--y); color: var(--k); text-decoration: none; font: 900 var(--step-lead)/1 var(--display); font-stretch: 125%; text-transform: uppercase; }
.hero-play:hover { background: var(--w); }
@media (max-width: 640px) {
  .hero-bar { grid-template-columns: 1fr; }
  .hero-bar > * + * { border-left: 0; border-top: var(--rule); }
  .hero-play { min-height: 88px; }
}

/* ---------- the yellow band of names: moves like the gallery (site.js); without the script it simply wraps ---------- */
.marquee { display: flex; background: var(--y); color: var(--k); }
.marquee-view { flex: 1; min-width: 0; overflow: hidden; padding-block: 16px; }
.marquee-row { display: flex; flex-wrap: wrap; row-gap: 10px; padding-inline: var(--m); }
.marquee li { font: 900 var(--step-lead)/1 var(--display); font-stretch: 125%; text-transform: uppercase; white-space: nowrap; padding-right: 0.9em; }
.marquee li::after { content: ''; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.9em; background: currentColor; vertical-align: 0.12em; }
.marquee.is-live .marquee-view { cursor: grab; touch-action: pan-y; user-select: none; }
.marquee.is-live .marquee-view.is-grabbing { cursor: grabbing; }
.marquee.is-live .marquee-row { flex-wrap: nowrap; width: max-content; padding-inline: 0; will-change: transform; }
.marquee-toggle { flex: none; display: grid; place-items: center; width: 60px; background: var(--k); color: var(--y); border: 0; cursor: pointer; }
.marquee-toggle:hover { background: var(--w); color: var(--k); }

/* ---------- Home: selected work as a grid of cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--w); border-top: var(--rule); }
.cards li { background: var(--k); }
.cards a { position: relative; display: grid; height: 100%; grid-template-rows: auto 1fr; text-decoration: none; }
.cards img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.card-meta { display: grid; gap: 10px; align-content: start; padding: calc(var(--m) * 0.75) var(--m) var(--m); border-top: var(--rule); }
.card-title { font: 900 var(--step-lead)/1 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.card-who { color: var(--muted); }
.cards a:hover .card-meta { background: var(--y); color: var(--k); }
.cards a:hover .card-who { color: var(--k); }
.tag { display: inline-block; background: var(--y); color: var(--k); padding: 4px 8px; }
.cards .tag { position: absolute; left: 0; top: 0; }
.cards li:nth-child(4n+2) { --d: 60ms; } .cards li:nth-child(4n+3) { --d: 120ms; } .cards li:nth-child(4n) { --d: 180ms; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-meta { gap: 6px; padding: 12px 12px 16px; }
  .card-title { font-size: var(--step-body); }
  .card-kind { display: none; }   /* just the number on phones, so every title starts at the same height */
  .card-who { font-size: var(--step-small); }
}

/* ---------- Start an inquiry: one block, kept tight ---------- */
.start-link { display: grid; gap: calc(var(--m) * 1.25); padding: calc(var(--m) * 1.25) var(--m); text-decoration: none; }
.start-link .label { max-width: 40ch; color: var(--y); }
.start-link:hover { background: var(--y); color: var(--k); }
.start-link:hover .label { color: var(--k); }   /* the block turns yellow, so the line goes black */

/* ---------- Footer: a white block on four columns; the row under them keeps the same lines ---------- */
.site-foot { background: var(--w); color: var(--k); }
.foot-top, .legal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.foot-top > * + * { border-left: var(--rule-k); }
.foot-mark { display: grid; place-items: center; padding: var(--m); text-decoration: none; }
.foot-mark .mark { width: min(100%, 180px); }
.foot-mark:hover { background: var(--y); }
.foot-top ul { display: grid; gap: 6px; align-content: start; padding: var(--m); }
.foot-top li.label { margin-bottom: 6px; }
.foot-top a { text-decoration: none; overflow-wrap: anywhere; }
.foot-top a:hover { background: var(--k); color: var(--w); }
.legal { border-top: var(--rule-k); }
.legal > * { padding: 14px var(--m); }
/* every line here is drawn on the left of a cell, like the columns above, so they meet exactly */
.legal .spin-txt { grid-column: 1; }
.legal-gap { grid-column: 2 / 4; border-left: var(--rule-k); }
.legal a { grid-column: 4; display: flex; align-items: center; justify-content: center; border-left: var(--rule-k); }
.legal a:hover { background: var(--k); color: var(--w); }
/* the company name turning on a small drum, as on the BACKEND dashboard */
.spin-txt { position: relative; display: block; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); } /* taste-skill-ignore: a fade mask on the ticker's edges, not a colour fill */
.spin-track { display: inline-flex; animation: spin-txt 14s linear infinite; }
.spin-track > span { flex: none; }
.spin-track > span::after { content: '\00a0\00b7\00a0'; }
@keyframes spin-txt { to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .foot-top, .legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top > :nth-child(3) { border-left: 0; }
  .foot-top > :nth-child(n+3) { border-top: var(--rule-k); }
  .foot-mark .mark { width: 120px; }
  .legal-gap { display: none; }
  .legal a { grid-column: 2; }
}
@media (max-width: 480px) {
  .foot-top, .legal { grid-template-columns: 1fr; }
  .foot-top > * + * { border-left: 0; border-top: var(--rule-k); }
  .legal a { grid-column: 1; border-left: 0; border-top: var(--rule-k); }
}

/* ---------- Page intros: the title in the middle of its box, then the lead under a rule ---------- */
.intro-head { padding: calc(var(--m) * 1.5) var(--m); }
.intro-lead { padding: var(--m); border-top: var(--rule); }
.intro-lead .lead { max-width: 40ch; }
.lead-more { margin-top: 20px; max-width: 46ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: var(--rule); }
.split > .intro-lead { border-top: 0; }
.split > :last-child { border-left: var(--rule); }
.lead-note, .lost-go { margin-top: 24px; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split > :last-child { border-left: 0; border-top: var(--rule); }
}

/* ---------- Work: filters, a numbered table, then the archive folded away ---------- */
.filters { display: flex; flex-wrap: wrap; }
.filters button { min-height: 56px; padding: 0 var(--m); background: none; border: 0; border-right: var(--rule); cursor: pointer; }
.filters button:hover { background: var(--w); color: var(--k); }
.filters button[aria-pressed="true"] { background: var(--y); color: var(--k); }
@media (max-width: 640px) {
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--w); }
  .filters button { background: var(--k); border: 0; }
  .filters button:first-child { grid-column: 1 / -1; }
}
.lineup { border-bottom: 0; }
.lineup li { border-bottom: var(--rule); }
/* every row is as tall as its thumbnail, with the text centred on it */
.lineup a, .lineup .row { display: grid; grid-template-columns: 40px 160px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); grid-template-areas: "num thumb what who kind";
  align-items: center; align-content: center; gap: 24px; padding: 12px var(--m); text-decoration: none; }
.lineup .num { grid-area: num; }
.lineup .thumb { grid-area: thumb; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: var(--surface); }
.lineup .what { grid-area: what; font: 900 var(--step-lead)/1.02 var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.lineup .who { grid-area: who; overflow-wrap: anywhere; }
.lineup .by { display: block; color: var(--muted); }
.lineup .kind { grid-area: kind; text-align: right; color: var(--muted); }
.lineup .kind .tag { margin: 0 0 6px auto; display: table; }
.lineup a:hover, .lineup a:focus-visible, .lineup li.is-target a, .lineup li.is-target .row { background: var(--y); color: var(--k); }
.lineup a:hover .by, .lineup a:hover .kind, .lineup li.is-target .by, .lineup li.is-target .kind { color: var(--k); }

/* Archive works: one bar that slides open onto smaller rows, each on a single line */
.archive::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--hard), content-visibility .5s allow-discrete; }
.archive[open]::details-content { block-size: auto; }
.archive summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: var(--m); cursor: pointer; list-style: none; user-select: none; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary .display { font-size: var(--step-lead); white-space: nowrap; }
.archive summary .label::after { content: '+'; display: inline-block; margin-left: 14px; font-size: 1.3em; line-height: 1; vertical-align: -0.08em; transition: rotate .35s var(--hard); }
.archive[open] summary .label::after { rotate: 45deg; }
.archive summary:hover { background: var(--y); color: var(--k); }
.archive .lineup li { border-bottom: 0; border-top: var(--rule); }
.archive .lineup a, .archive .lineup .row { grid-template-columns: 40px 80px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 20px; padding-block: 8px; }
.archive .lineup .what { font-size: var(--step-body); }
.archive .lineup .by { display: none; }
.archive .lineup .what, .archive .lineup .who, .archive .lineup .kind { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* tablets: the text stacks beside the thumbnail, still centred on it; the director's name is in the player */
@media (max-width: 1000px) {
  /* the empty first and last rows share the spare height, so the text sits as one block in the middle */
  .lineup a, .lineup .row { grid-template-columns: 120px minmax(0, 1fr) minmax(0, max-content); grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: "thumb . kind" "thumb num kind" "thumb what kind" "thumb who kind" "thumb . kind"; gap: 4px 20px; }
  .lineup .thumb { grid-row: 1 / -1; }
  .lineup .what { font-size: var(--step-body); }
  .lineup .who { font-size: var(--step-small); }
  .lineup .by { display: none; }
  .archive .lineup a, .archive .lineup .row { grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "thumb what who"; gap: 16px; }
  .archive .lineup .num, .archive .lineup .kind { display: none; }
}
/* phones: the same, one line each for number, title and client */
@media (max-width: 560px) {
  .lineup a, .lineup .row { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: "thumb ." "thumb what" "thumb who" "thumb ."; gap: 4px 16px; }
  .lineup .num, .lineup .kind { display: none; }
  .lineup .what { font-stretch: 110%; overflow-wrap: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }   /* two lines at most, so every row stays the height of its thumbnail */
  .lineup .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .archive-word { display: none; }
  .archive .lineup a, .archive .lineup .row { grid-template-columns: 70px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: "thumb ." "thumb what" "thumb who" "thumb ."; gap: 2px 16px; }
}

/* ---------- Player dialog: sized to each video's own shape, black around it ---------- */
dialog { color: var(--w); }
dialog::backdrop { background: rgb(0 0 0 / .94); }
.player { border: 0; padding: 0; background: #000; max-width: none; max-height: none; width: 100vw; height: 100svh; margin: 0; overflow: auto; }
.player[open] { display: grid; place-items: center; }
.player-inner { width: min(94vw, calc((100svh - 190px) * var(--ratio, 1.7778))); display: grid; gap: 18px; padding-block: 72px 24px; }
.player-frame { position: relative; width: 100%; aspect-ratio: var(--ratio, 16 / 9); background: #000; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; gap: 16px 32px; }
.player-title { font: 900 var(--step-lead)/1.05 var(--display); font-stretch: 125%; text-transform: uppercase; }
/* credits: the role in a fixed column so every video's list lines up the same; on phones, role above name, evenly spaced */
.player-credits { display: grid; grid-template-columns: minmax(0, 20em) minmax(0, 1fr); gap: 8px 20px; align-items: baseline; font-size: var(--step-small); margin: 0; }
.player-credits dt { color: var(--muted); }
.player-credits dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .player-meta { grid-template-columns: 1fr; }
  .player-credits { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .player-credits dt { margin-top: 14px; }
  .player-credits dt:first-child { margin-top: 0; }
  .player-credits dd { margin-top: 2px; }
}
.close { position: fixed; top: 16px; right: var(--m); z-index: 2; min-height: 48px; padding: 0 16px; background: var(--k); color: var(--w); border: var(--rule); cursor: pointer; }
.close:hover { background: var(--y); border-color: var(--y); color: var(--k); }

/* ---------- About, and its gallery: a row of photos that runs on its own and can be grabbed ---------- */
.about-pic { width: 100%; height: 100%; object-fit: cover; }
.onset { scroll-margin-top: var(--m); }
.onset-toggle { width: 48px; padding: 0; }
/* without the script the row simply scrolls sideways */
.onset-view { border-top: var(--rule); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-color: var(--y) var(--k); }
.onset-row { display: flex; width: max-content; gap: 3px; background: var(--w); }
.onset-row li { position: relative; flex: none; width: clamp(240px, 27vw, 400px); background: var(--k); scroll-snap-align: start; }
.onset-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); -webkit-user-drag: none; user-select: none; }
.credit { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: var(--y); color: var(--k); opacity: 0; pointer-events: none; }
.onset-row li.show-credit .credit { opacity: 1; }
@media (hover: hover) { .onset-row li:hover .credit { opacity: 1; } }
/* with it, the row drifts along on its own and follows the hand that grabs it */
.onset.is-live .onset-view { overflow: hidden; scroll-snap-type: none; cursor: grab; touch-action: pan-y; user-select: none; }
.onset.is-live .onset-view.is-grabbing { cursor: grabbing; }
.onset.is-live .onset-row { will-change: transform; }
@media (max-width: 760px) {
  .about-pic { height: auto; aspect-ratio: 3 / 2; }
  .onset-row li { width: 62vw; }
}

/* ---------- Inquiries ---------- */
.inq { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
#form-area { padding: var(--m); }
.form { display: grid; gap: 24px; max-width: 760px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.hint { display: block; color: var(--muted); font-size: var(--step-small); max-width: 62ch; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 56px; padding: 12px 14px; background: var(--k); color: var(--w); border: var(--rule); border-radius: 0; font: inherit; }
textarea { min-height: 200px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--y); outline: 3px solid var(--y); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--bad); }
/* the dropdowns: our own arrow, set well in from the edge, that turns over while the list is open */
.select { position: relative; }
.select select { appearance: none; padding-right: 60px; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor;
  translate: 0 -70%; rotate: 45deg; pointer-events: none; transition: rotate .3s var(--hard), translate .3s var(--hard); }
.select:has(select:open)::after { rotate: 225deg; translate: 0 -25%; }
/* where the browser allows it, the list itself drops open under the box */
@supports (appearance: base-select) {
  .select select, .select select::picker(select) { appearance: base-select; }
  .select select::picker-icon { display: none; }
  .select select::picker(select) { margin: 0; padding: 0; border: var(--rule); border-top: 0; background: var(--k); color: var(--w);
    opacity: 0; translate: 0 -8px; transition: opacity .2s var(--hard), translate .25s var(--hard), overlay .25s allow-discrete, display .25s allow-discrete; }
  .select select::picker(select):popover-open { opacity: 1; translate: 0 0; }
  @starting-style { .select select::picker(select):popover-open { opacity: 0; translate: 0 -8px; } }
  .select option { padding: 12px 14px; }
  .select option::checkmark { display: none; }
  .select option:hover, .select option:focus-visible { background: var(--y); color: var(--k); outline: 0; }
  .select option:checked { background: var(--w); color: var(--k); }
}
.error { color: var(--bad); font-size: var(--step-small); }
.error:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent span { max-width: 62ch; font-size: var(--step-small); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--y); flex: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: the hidden spam-trap field, never seen */
.status.bad { color: var(--bad); }
.fine { font-size: var(--step-small); color: var(--muted); max-width: 62ch; }
.form > .reveal:nth-child(2) { --d: 60ms; } .form > .reveal:nth-child(3) { --d: 120ms; }
.aside { border-left: var(--rule); }
.aside > div { padding: var(--m); }
.aside > * + * { border-top: var(--rule); }
.aside h2 { margin-bottom: 10px; }
.aside p { color: var(--muted); }
.done { display: grid; gap: 20px; justify-items: start; }
.done h2 { font: 900 var(--step-head)/0.9 var(--display); font-stretch: 125%; text-transform: uppercase; }
.grecaptcha-badge { visibility: hidden; }
@media (max-width: 760px) {
  .inq, .two { grid-template-columns: 1fr; }
  .aside { border-left: 0; border-top: var(--rule); }
}

/* ---------- Privacy ---------- */
.short { background: var(--y); color: var(--k); padding: var(--m); display: grid; gap: 16px; align-content: start; }
.short ul { display: grid; gap: 10px; list-style: square; padding-left: 1.2em; }
.prose { padding: var(--m) var(--m) calc(var(--m) * 2); }
.prose > * { max-width: 68ch; }
.prose h2 { font: 900 var(--step-lead)/1.1 var(--display); font-stretch: 125%; text-transform: uppercase; margin: 48px 0 14px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* ---------- Page to page: the header holds still while the next page wipes up over the last one.
   Browsers without cross-page view transitions simply change pages as before ---------- */
@view-transition { navigation: auto; }
.site-head { view-transition-name: site-head; }
::view-transition-old(root) { animation: page-out .5s var(--hard) both; }
::view-transition-new(root) { animation: page-in .6s var(--hard) both; }
@keyframes page-out { to { opacity: .35; transform: translateY(-3%); } }
@keyframes page-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Motion: titles rise, parts come in once, the bands run. Hovers stay instant ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .45s var(--hard), transform .45s var(--hard); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.mask { display: block; overflow: hidden; padding-bottom: .04em; }
.mask > * { display: block; animation: rise .8s var(--hard) both; animation-delay: var(--d, 0ms); }
.mask:nth-child(2) > * { --d: 90ms; }
@keyframes rise { from { transform: translateY(105%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* the footer's company line still turns, at half speed: it's the one bit of motion here that runs with no button */
  .spin-track { animation: spin-txt 28s linear infinite !important; }
}
