/* CrewPool design system, v1 (2026-11-12)
   One stylesheet for every page. Spec: design-system/DIRECTION.md. Reference render: kit.html.
   Rules that live here, not in page files:
   - No per-page <style> blocks and no inline style="" (except --vars on a single element).
   - Colour roles: ink = information, blue = crew action, fluoro red = hirer action + pay tag. Ink text on red, never cream or white (cream on red is 3.1:1).
   - No box-shadow anywhere. No rotation anywhere except .pay--hero.
*/

/* ---------- 1. Font: Archivo variable (wght 100-900, wdth 62-125), self-hosted, latin subset ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-var.woff2") format("woff2");   /* absolute: the css is served from /assets/ (fingerprinted) and from design-system/ in the preview */
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  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;
}
/* metric-matched fallback so the swap does not shift layout */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 101%;
  ascent-override: 88%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* colour */
  --paper: #F4F0E3;        /* page */
  --pulp: #EAE4D1;         /* quiet band, hover, disabled fill */
  --field: #FFFDF7;        /* input fill */
  --ink: #1D1C1A;          /* text, rules, borders. 14.9:1 on paper */
  --ink-2: #5A554A;        /* secondary text. 6.5:1 on paper, 5.8:1 on pulp */
  --rule: #CFC8B4;         /* hairline dividers only, never text */
  --blue: #2B3FBB;         /* action. 7.3:1 on paper, paper on blue 7.3:1 */
  --blue-deep: #1F2F94;    /* hover/pressed */
  --blue-wash: #DCE1F6;    /* selected-row tint only */
  --red: #FF4724;          /* fluoro: pay tag, the hirer's one primary button, the hirer poster band. Ink text on it 5.0:1. Never red text, never cream/white on it */
  --red-ink: #C42E0E;      /* error text + error borders. 4.9:1 on paper */

  /* type */
  --font: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --cond: 72%;             /* display width */
  --semi: 86%;             /* h2 width */
  --t-display: clamp(3rem, 1.6rem + 5.6vw, 6.5rem);
  --t-h1: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
  --t-h2: clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem);
  --t-h3: clamp(1.25rem, 1.2rem + .25vw, 1.375rem);
  --t-lede: clamp(1.1875rem, 1.12rem + .3vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-micro: .8125rem;
  --measure: 66ch;

  /* space: 4px base */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  --section: var(--s8);    /* 64px mobile, 96px >=1024 */
  --gutter: 1rem;
  --margin: 1.25rem;
  --container: 75rem;      /* 1200px */

  /* shape + motion */
  --radius: 4px;
  --border: 2px;
  --tap: 2.75rem;          /* 44px minimum target */
  --control: 3.25rem;      /* 52px inputs and buttons */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 140ms;
  --t-reveal: 650ms;
}
@media (min-width: 40rem) { :root { --gutter: 1.5rem; --margin: 2rem; } }
@media (min-width: 64rem) { :root { --section: var(--s9); --margin: 2.5rem; --control: 3rem; } }

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55; font-weight: 400;
  font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }   /* component display rules must never un-hide a hidden element */
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: var(--border) solid var(--ink); margin: var(--s7) 0; }
::selection { background: var(--blue); color: var(--paper); }

a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
@media (hover: hover) { a:hover { color: var(--blue-deep); text-decoration-thickness: 2.5px; } }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.band--blue :focus-visible { outline-color: var(--paper); }

.skip { position: absolute; left: var(--s4); top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: var(--s3) var(--s4); }
.skip:focus { top: var(--s4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 4. Type ---------- */
.display, h1, .h1 {
  font-stretch: var(--cond); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.005em; text-wrap: balance;
}
.display { font-size: var(--t-display); line-height: .9; max-width: 14ch; }
h1, .h1 { font-size: var(--t-h1); line-height: .94; max-width: 18ch; }
h2, .h2 {
  font-size: var(--t-h2); line-height: 1.04; font-stretch: var(--semi); font-weight: 760;
  letter-spacing: -.01em; text-wrap: balance; max-width: 24ch;
}
h3, .h3 { font-size: var(--t-h3); line-height: 1.2; font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
.lede { font-size: var(--t-lede); line-height: 1.42; max-width: 44ch; text-wrap: pretty; }
p, li, dd { text-wrap: pretty; }
.small { font-size: var(--t-small); line-height: 1.5; }
.muted { color: var(--ink-2); }
.num, .pay, .stat__n, td, .meta dd { font-variant-numeric: tabular-nums lining-nums; }
.nowrap { white-space: nowrap; }   /* wrap prices, dates and "£15 an hour" in this */
.measure { max-width: var(--measure); }

/* ---------- 5. Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }                 /* same-surface sections never double the gap */
.section--rule { border-top: var(--border) solid var(--ink); padding-top: var(--section) !important; }
.section__head { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
@media (min-width: 64rem) { .section__head { margin-bottom: var(--s7); } }

.grid { display: grid; gap: var(--gutter); row-gap: var(--s7); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.grid > * { grid-column: 1 / -1; }

/* card grids: pick the class that matches the count. 2 -> .cols-2, 3 -> .cols-3, 4 -> .cols-2x2 or .cols-4, 6 -> .cols-3 */
.cols-2, .cols-3, .cols-4, .cols-2x2 { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .cols-2, .cols-3, .cols-4, .cols-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.band--pulp { background: var(--pulp); }
.band--blue { background: var(--blue); color: var(--paper); }
.band--blue a:not(.btn) { color: var(--paper); }
.band--blue .muted { color: #D9DDF3; }               /* 5.4:1 on blue */
.band--ink { background: var(--ink); color: var(--paper); }

/* ---------- 6. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--border) solid var(--ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 3.5rem; }
@media (min-width: 64rem) { .site-header__inner { min-height: 4.5rem; } }
.brand { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); }
.brand img, .brand svg { height: .9375rem; width: auto; }   /* the wide lockup: 15px on phones so it sits beside "Jobs" and "Hiring crew?" without wrapping */
@media (min-width: 48rem) { .brand img, .brand svg { height: 1.25rem; } }
@media (min-width: 64rem) { .brand img, .brand svg { height: 1.5rem; } }
.nav { display: flex; align-items: center; gap: var(--s5); }
.nav a:not(.btn) {
  white-space: nowrap;
  display: none; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none;
  font-weight: 560; font-size: var(--t-small); border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue); }
.nav a.nav__switch, .nav a.nav__keep { display: inline-flex; }       /* the links that survive on phones: Jobs (or Browse crew) and the audience switch */
@media (max-width: 47.99rem) { .nav a.nav__keep { margin-right: calc(var(--s2) * -1); } }   /* phones only: from 768px the flex gap spaces every item evenly */
@media (min-width: 48rem) { .nav a:not(.btn) { display: inline-flex; } }
.nav .btn { display: none; }
@media (min-width: 48rem) { .nav .btn { display: inline-flex; min-height: 2.75rem; padding-inline: var(--s5); } }

/* ---------- 7. Footer ---------- */
.site-footer { border-top: var(--border) solid var(--ink); padding-block: var(--s8) var(--s6); font-size: var(--t-small); }
.site-footer__grid { display: grid; gap: var(--s6) var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand img { height: 1.5rem; width: auto; margin-bottom: var(--s3); }
@media (min-width: 64rem) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } .site-footer__brand { grid-column: auto; } }
.site-footer h2 { font-size: var(--t-small); font-stretch: 100%; font-weight: 700; letter-spacing: 0; margin-bottom: var(--s2); }
.site-footer ul a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer__legal { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--rule); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); justify-content: space-between; }

/* ---------- 8. Buttons: primary, secondary, text. Nothing else. ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--control); padding: .5rem 1.5rem; border: var(--border) solid var(--blue); border-radius: var(--radius);
  background: var(--blue); color: var(--paper); font-weight: 680; font-size: 1.0625rem; line-height: 1.15;
  text-decoration: none; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--pulp); color: var(--ink); border-color: var(--ink); }
.btn--block { width: 100%; }
@media (min-width: 40rem) { .btn--block-sm { width: auto; } }
/* Wider than a phone, a button sizes to its label (never a full-width slab): 12rem to 20rem, left-aligned with the fields above it.
   Side-by-side pairs (.actions) share the same minimum, so Confirm and Not now stay equal. Full width stays on phones. */
@media (min-width: 40rem) {
  .btn--block { width: fit-content; min-width: 12rem; max-width: 20rem; justify-self: start; align-self: flex-start; }
  .actions > .btn { min-width: 12rem; max-width: 20rem; }
  .actionbar .btn--block { width: 100%; max-width: none; justify-self: stretch; }
}
.btn[disabled], .btn[aria-disabled="true"] { background: var(--pulp); border-color: var(--pulp); color: var(--ink-2); cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; position: relative; overflow: hidden; }
.btn[aria-busy="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 40%; background: var(--paper);
  animation: busy 1.1s var(--ease) infinite;
}
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.btn__main { display: block; }
.btn__sub { display: block; font-weight: 420; font-size: var(--t-micro); opacity: .9; margin-top: 2px; }
.btn--two-line { flex-direction: column; gap: 0; padding-block: .55rem; }
/* inside the one blue band per page, the primary inverts */
.band--blue .btn { background: var(--paper); border-color: var(--paper); color: var(--blue); }
.band--blue .btn:hover { background: var(--pulp); border-color: var(--pulp); }
.band--blue .btn--secondary { background: transparent; color: var(--paper); border-color: var(--paper); }
.band--blue .btn--secondary:hover { background: var(--blue-deep); }

/* ---------- 8b. Red = the hirer's action. Blue = the crew's. (2026-11-16)
   One red button per view: Get crew, Post a job, Post the job, Confirm pick. Matched by href/id so no markup changes.
   Ink text on the fluoro (5.0:1); hover flips to ink fill. Never red text on blue, never blue text on red. */
.btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"], :where(#hero-hire, #confirmPick, #goBar, #hire-form #go)):not([disabled], [aria-disabled="true"]) {
  background: var(--red); border-color: var(--red); color: var(--ink);
}
.btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"], :where(#hero-hire, #confirmPick, #goBar, #hire-form #go)):not([disabled], [aria-disabled="true"]):hover {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"], :where(#hero-hire, #confirmPick, #goBar, #hire-form #go))[aria-busy="true"]::after { background: var(--ink); }
/* the header button is the same action as the page's own: when the page already carries a red hirer button, the header one steps back to an outline */
body:has(main :is(.btn[href="/hire"], .btn[href^="/hire?"], .btn[href^="/hire#"], .btn[href^="hire.html"], :where(#hero-hire, #confirmPick, #hire-form #go))) .nav .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"]) {
  background: transparent; border-color: var(--ink); color: var(--ink);
}
body:has(main :is(.btn[href="/hire"], .btn[href^="/hire?"], .btn[href^="/hire#"], .btn[href^="hire.html"], :where(#hero-hire, #confirmPick, #hire-form #go))) .nav .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"]):hover {
  background: var(--pulp); color: var(--ink);
}
/* the hirer call-to-action band (any poster whose action goes to /hire) is the one red band: ink type, ink button, cobalt photo stays */
.poster.band--blue:has(.actions .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"])) { background: var(--red); color: var(--ink); }
.poster.band--blue:has(.actions .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"])) :is(.lede, .muted) { color: var(--ink); }
.poster.band--blue:has(.actions .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"])) a:not(.btn) { color: var(--ink); }
.poster.band--blue:has(.actions .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"])) :focus-visible { outline-color: var(--ink); }
.poster.band--blue:has(.actions .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"])) .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.poster.band--blue:has(.actions .btn:is([href="/hire"], [href^="/hire?"], [href^="/hire#"], [href^="hire.html"])) .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.link { display: inline-flex; align-items: center; gap: .35em; min-height: var(--tap); font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.link svg { width: .9em; height: .9em; flex: none; transition: transform var(--t-fast) var(--ease); }
.link:hover svg { transform: translateX(2px); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }

/* ---------- 9. Forms ---------- */
.form { display: grid; gap: var(--s5); max-width: 36rem; }
.form-row { display: grid; gap: var(--s5); }
@media (min-width: 40rem) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s2); align-content: start; }
.label { font-weight: 650; font-size: 1rem; line-height: 1.3; }
.label .opt { font-weight: 400; color: var(--ink-2); }
.hint { font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; margin-top: -2px; }
.input, .select, .textarea {
  width: 100%; min-height: var(--control); padding: .7rem .875rem; border: var(--border) solid var(--ink); border-radius: var(--radius);
  background: var(--field); font-size: 1.0625rem; line-height: 1.3; -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast) var(--ease);
}
.textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #8A8476; opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--blue); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--blue); outline-offset: 2px; }
.select {
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%231D1C1A' stroke-width='2.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .875rem center; background-size: 1rem;
}
.input[type="date"] { display: flex; }
.input[type="date"]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.input--short { max-width: 10rem; }
.field--error .input, .field--error .select, .field--error .textarea, [aria-invalid="true"] { border-color: var(--red-ink); }
.error-msg { display: none; color: var(--red-ink); font-weight: 600; font-size: var(--t-small); line-height: 1.4; gap: .5em; }
.error-msg::before { content: ""; flex: none; width: .5rem; height: .5rem; margin-top: .4em; background: var(--red-ink); }
.field--error .error-msg, .error-msg.is-shown { display: flex; }
.field--ok .input { border-color: var(--blue); }

/* fieldset legend reads as a label, never a heading */
.legend { font-weight: 650; font-size: 1rem; line-height: 1.3; margin-bottom: var(--s2); padding: 0; }

/* checkbox + radio */
.choice { display: flex; gap: var(--s3); align-items: flex-start; min-height: var(--tap); padding-block: .55rem; cursor: pointer; line-height: 1.4; }
/* The input is a 44px hit area (negative margins keep the row and the 24px box where they were); the visible box is its ::before. */
.choice input {
  flex: none; position: relative; width: var(--tap); height: var(--tap); margin: calc((var(--tap) - 1.5rem) / -2 - .05rem) calc((var(--tap) - 1.5rem) / -2); padding: 0; border: 0; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: pointer; display: block;
}
.choice input::before { content: ""; position: absolute; inset: calc((var(--tap) - 1.5rem) / 2); border: var(--border) solid var(--ink); background: var(--field); border-radius: 3px; }
.choice input[type="radio"]::before { border-radius: 50%; }
.choice input:checked::before { background: var(--blue); border-color: var(--blue); }
.choice input[type="checkbox"]:checked::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23F4F0E3' stroke-width='2.4'/%3E%3C/svg%3E"); background-size: 1rem; background-repeat: no-repeat; background-position: center; }
.choice input[type="radio"]:checked::before { box-shadow: inset 0 0 0 4px var(--field); }  /* inset ring, not a drop shadow */
.choice input[aria-invalid="true"]::before { border-color: var(--red-ink); }
.choice input:focus-visible { outline: none; }
.choice input:focus-visible::before { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice small { display: block; color: var(--ink-2); font-size: var(--t-small); }
.choices--2 { display: grid; gap: 0 var(--gutter); }
.choices--inline { display: flex; flex-wrap: wrap; gap: 0 var(--s7); }
@media (min-width: 40rem) { .choices--2 { grid-template-columns: 1fr 1fr; } }

/* segmented control (one of a few, e.g. travel distance) */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: var(--border) solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.segmented label { position: relative; display: flex; align-items: center; justify-content: center; min-height: calc(var(--control) - 2 * var(--border)); padding: .4rem .5rem; text-align: center; font-weight: 600; font-size: var(--t-small); line-height: 1.2; cursor: pointer; }
.segmented label + label { border-left: var(--border) solid var(--ink); }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--blue); color: var(--paper); }   /* selected = blue fill, per the colour rules */
.segmented label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: -5px; }
.segmented label:hover:not(:has(input:checked)) { background: var(--pulp); }

/* toggle chips (multi-select). Buttons with aria-pressed, never decorative tags */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: var(--tap); padding: .45rem .9rem; border: var(--border) solid var(--ink);
  border-radius: var(--radius); background: transparent; font-weight: 560; font-size: var(--t-small); line-height: 1.2; cursor: pointer; text-align: left;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
@media (hover: hover) { .chip:hover { background: var(--pulp); } }
.chip::before { content: ""; width: .75rem; height: .75rem; border: 2px solid currentColor; border-radius: 2px; flex: none; }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.chip[aria-pressed="true"]::before { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%232B3FBB' stroke-width='3'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--paper); }
.chip[disabled] { opacity: .45; cursor: not-allowed; }
/* big work-type tiles for signup step 1 (3-5 broad types) */
.chips--tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.chips--tiles .chip { min-height: 4rem; font-size: 1rem; padding: .75rem .9rem; }
@media (min-width: 40rem) { .chips--tiles.chips--tiles-4 { grid-template-columns: repeat(4, 1fr); } }

/* step indicator for multi-step forms */
.progress { display: grid; gap: var(--s2); font-size: var(--t-small); color: var(--ink-2); }
.progress__bar { display: grid; grid-auto-flow: column; gap: 4px; }
.progress__bar span { height: 6px; background: var(--rule); }
.progress__bar span.is-done { background: var(--blue); }

/* ---------- 10. Pay tag: the only fluoro red in the system ---------- */
.pay {
  display: inline-flex; align-items: baseline; gap: .3em; background: var(--red); color: var(--ink);
  font-stretch: var(--cond); font-weight: 800; font-size: 1.25rem; line-height: 1; padding: .3em .42em .26em;
  white-space: nowrap; letter-spacing: 0;
}
.pay small { font-size: .7em; font-weight: 700; font-stretch: var(--semi); text-transform: none; }
.pay--lg { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.pay--hero { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); transform: rotate(-2deg); transform-origin: left center; } /* the system's one rotation */

/* ---------- 11. Photos ---------- */
.photo { position: relative; background: var(--blue); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--card { aspect-ratio: 3 / 2; }
.photo--hero { aspect-ratio: 3 / 2; }
@media (min-width: 40rem) { .photo--hero { aspect-ratio: 16 / 9; } }
@media (min-width: 64rem) { .photo--hero { aspect-ratio: 1; } }
.photo--band { aspect-ratio: 4 / 3; }
@media (min-width: 64rem) { .photo--band { aspect-ratio: 21 / 9; } }
.photo--square { aspect-ratio: 1; }
.photo--live img { mix-blend-mode: luminosity; }   /* user-supplied photos that skip tools/duotone.py */
.photo figcaption { font-size: var(--t-micro); color: var(--ink-2); padding-top: var(--s2); background: var(--paper); }

/* ---------- 12. Hero ---------- */
.hero { padding-bottom: var(--section); }
.hero__media { margin-inline: calc(var(--margin) * -1); }
.hero__body { display: grid; gap: var(--s4); justify-items: start; padding-top: var(--s5); }
.hero__body .btn { min-width: 15rem; }
/* Home hero: crew and hirer buttons, same class, same size, side by side; one plain line under each says who it is for. */
.hero__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); width: 100%; max-width: 36rem; }
.hero__choice { display: grid; gap: var(--s2); align-content: start; }
.hero__body .hero__pair .btn { min-width: 0; width: 100%; padding-inline: var(--s3); }
.hero__for { font-size: var(--t-small); color: var(--ink-2); line-height: 1.3; }
.actionbar--pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.hero__proof { font-size: var(--t-small); color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; line-height: 1.1; }   /* last line sits on the photo's bottom edge */
#hero-proof { min-height: 1.1em; font-variant-numeric: tabular-nums; }   /* the live crew count: height reserved so the figures never shift the page */   /* last line sits on the photo's bottom edge */
@media (max-width: 39.99rem) { .hero__body .btn { width: 100%; } }
@media (min-width: 64rem) {
  /* Two columns share their edges: the photo's top is the H1 cap height, its bottom is the last line of text.
     The text sets the row height; the photo fills it (img is absolutely positioned, so it adds no height). */
  .hero { --hero-fs: var(--t-h1); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; padding-top: var(--s8); }
  .hero:has(.display) { --hero-fs: var(--t-display); --cap: .084; }   /* cap-height offset inside the H1 line box: .084em at line-height .9, .121em at .94 */
  .hero__body > .link:last-child { margin-bottom: calc((var(--tap) - 1.1em) / -2); }   /* the 44px hit area must not push the photo's bottom edge below the text */
  .hero__body { grid-column: 1 / span 7; grid-row: 1; padding-top: 0; gap: var(--s6); align-content: start; }
  .hero__media { grid-column: 8 / -1; grid-row: 1; margin: calc(var(--hero-fs) * var(--cap, .121)) 0 0; aspect-ratio: auto; position: relative; min-height: 12rem; }
  .hero__media.photo--sq { aspect-ratio: auto; }
  .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- 12b. Poster band: the one blue block per page. Photo overprints the blue (multiply) ---------- */
.poster { background: var(--blue); color: var(--paper); display: grid; }
.poster__body { display: grid; gap: var(--s4); justify-items: start; padding: var(--s8) var(--margin); }
.poster__media { position: relative; aspect-ratio: 3 / 2; background: var(--blue); overflow: hidden; }
.poster__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; }
.poster h2 { font-size: var(--t-h1); font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; line-height: .94; max-width: 14ch; }
.poster .lede { color: var(--paper); }
@media (min-width: 64rem) {
  .poster { grid-template-columns: 1fr 1fr; }
  .poster__body { padding: var(--s9) var(--s8) var(--s9) max(var(--margin), calc((100vw - var(--container)) / 2)); align-content: center; }
  .poster__media { aspect-ratio: auto; min-height: 30rem; }
}

/* ---------- 13. Meta rows (call-sheet label/value) ---------- */
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 0; font-size: var(--t-small); }
.meta dt, .meta dd { padding-block: .45rem; border-top: 1px solid var(--rule); }
.meta dt { color: var(--ink-2); padding-right: var(--s4); }
.meta dd { font-weight: 560; }

/* ---------- 14. Job card: whole card is the link ---------- */
.job-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); border: var(--border) solid var(--ink); border-radius: var(--radius);
  background: var(--paper); transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.job-card:hover { border-color: var(--blue); }
.job-card:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.job-card__title a { display: block; padding-block: .7rem; margin-block: -.7rem; color: var(--ink); text-decoration: none; }   /* 44px hit area, layout unchanged */
.job-card__title a::after { content: ""; position: absolute; inset: 0; }   /* stretched link */
.job-card__title a:focus-visible { outline: none; }
.job-card:hover .job-card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.job-card__who { font-size: var(--t-small); color: var(--ink-2); margin-top: calc(var(--s2) * -1); }
.job-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-top: var(--s2); }
.job-card__go { font-weight: 650; font-size: var(--t-small); color: var(--blue); }
.job-card--filled { opacity: .62; }
.job-card--filled .pay { background: var(--pulp); }
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-micro); font-weight: 650; }
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); }
.status--off::before { background: var(--ink-2); }

/* ---------- 15. Crew card ---------- */
.crew-card { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); border: var(--border) solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.crew-card__head { display: grid; grid-template-columns: 4rem 1fr; gap: var(--s4); align-items: center; }
.avatar { width: 4rem; height: 4rem; overflow: hidden; background: var(--blue); color: var(--paper); display: grid; place-items: center; font-stretch: var(--cond); font-weight: 800; font-size: 1.5rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; }  /* runtime duotone for crew uploads */
.crew-card__name { font-size: var(--t-h3); font-weight: 700; line-height: 1.15; }
.crew-card__where { font-size: var(--t-small); color: var(--ink-2); }
.crew-card__fresh { font-size: var(--t-small); }
.crew-card__roles { font-size: var(--t-small); line-height: 1.5; }
.crew-card__roles b { font-weight: 650; }
.crew-card__more { color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--t-micro); font-weight: 650; color: var(--blue); }
.badge svg { width: 1rem; height: 1rem; }
.crew-card__actions { margin-top: auto; display: grid; gap: var(--s1); padding-top: var(--s2); }
.crew-card__actions .link { justify-self: center; }

/* ---------- 16. Stat ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--gutter); }
@media (min-width: 64rem) { .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { border-top: var(--border) solid currentColor; padding-top: var(--s3); }
.stat__n { display: block; font-stretch: var(--cond); font-weight: 800; font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: .95; }
.stat__l { display: block; font-size: var(--t-small); margin-top: var(--s2); max-width: 22ch; }

/* ---------- 17. Table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }
.table-wrap:focus-visible { outline-offset: -3px; }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.4; }
.table caption { text-align: left; color: var(--ink-2); padding-bottom: var(--s3); caption-side: top; }
.table th, .table td { text-align: left; vertical-align: top; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--rule); }
.table thead th { border-bottom: var(--border) solid var(--ink); font-weight: 700; font-size: var(--t-small); }
.table tbody th { font-weight: 600; width: 32%; }
.table .is-us { background: var(--blue-wash); padding-left: .75rem; }
.table--wide { min-width: 40rem; }   /* 4+ columns: scrolls inside .table-wrap on phones */
@media (max-width: 39.99rem) { .table th, .table td { padding-right: .5rem; } .table tbody th { width: auto; } }
.table thead .is-us { background: var(--blue); color: var(--paper); border-bottom-color: var(--blue); }

/* ---------- 18. Step list ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s3); padding-block: var(--s4); border-top: var(--border) solid var(--ink); counter-increment: step; }
.steps li::before { content: counter(step); font-stretch: var(--cond); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--blue); }
.steps h3 { font-size: 1.125rem; }
.steps p { font-size: var(--t-small); color: var(--ink-2); margin-top: var(--s1); max-width: 34ch; }
@media (min-width: 64rem) {
  .steps--row { grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--gutter); }
  .steps--row li { grid-template-columns: 1fr; gap: var(--s3); }
}
/* the "what happens next" three-liner above a submit button */
.next { display: grid; gap: var(--s2); font-size: var(--t-small); counter-reset: n; padding: var(--s4) 0; border-block: 1px solid var(--rule); }
.next li { display: grid; grid-template-columns: 1.5rem 1fr; counter-increment: n; }
.next li::before { content: counter(n) "."; font-weight: 700; color: var(--blue); }

/* ---------- 19. Notice ---------- */
.notice { display: grid; gap: var(--s1); padding: var(--s4) var(--s5); border: var(--border) solid var(--ink); border-radius: var(--radius); background: var(--paper); font-size: var(--t-small); }
.notice__title { font-weight: 700; font-size: 1rem; }
.notice--info { border-color: var(--blue); }
.notice--info .notice__title { color: var(--blue); }
.notice--done { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.notice--done a { color: var(--paper); }
.notice--error { border-color: var(--red-ink); }
.notice--error .notice__title { color: var(--red-ink); }

/* ---------- 20. Pagination ---------- */
.pager { display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.pager__count { font-size: var(--t-small); color: var(--ink-2); }
.pager__pages { display: flex; flex-wrap: wrap; gap: var(--s1); justify-content: center; }
.pager__pages a, .pager__pages span {
  display: inline-grid; place-items: center; min-width: var(--tap); height: var(--tap); padding-inline: .6rem; border-radius: var(--radius);
  font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums;
}
.pager__pages a:hover { background: var(--pulp); }
.pager__pages [aria-current="page"] { background: var(--ink); color: var(--paper); }
.pager__pages .gap { color: var(--ink-2); }
.pager__pages .edge { border: var(--border) solid var(--ink); }
@media (max-width: 39.99rem) { .pager__pages .far { display: none; } }   /* phones: first, current, neighbours, last */

/* ---------- 21. Empty state + 404 ---------- */
.empty { display: grid; gap: var(--s4); justify-items: start; padding: var(--s7) var(--s5); background: var(--pulp); border-radius: var(--radius); }
.empty p { max-width: 40ch; }
@media (min-width: 40rem) { .empty { padding: var(--s8); } }
.notfound { display: grid; gap: var(--s5); justify-items: start; padding-block: var(--s8) var(--s9); }
.notfound__code { font-stretch: var(--cond); font-weight: 800; font-size: clamp(6rem, 3rem + 14vw, 14rem); line-height: .8; color: var(--blue); letter-spacing: -.02em; }

/* ---------- 22. FAQ accordion ---------- */
.faq { border-top: var(--border) solid var(--ink); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: grid; grid-template-columns: 1fr 1.25rem; gap: var(--s4); align-items: center; min-height: 3.5rem; padding-block: var(--s3);
  font-weight: 650; font-size: 1.0625rem; line-height: 1.35; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 1.25rem; height: 1.25rem;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
.faq details[open] summary::after { background-size: 100% 2px, 2px 0; }
@media (hover: hover) { .faq summary:hover { color: var(--blue); } }
.faq .faq__a { padding-bottom: var(--s5); max-width: var(--measure); color: var(--ink); }

/* ---------- 23. Breadcrumb + link list ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0 .5rem; font-size: var(--t-small); color: var(--ink-2); padding-top: var(--s4); }
.crumbs a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: var(--tap); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule); }
.crumbs ol { display: contents; }
.crumbs li { display: inline-flex; align-items: center; }

.linklist { columns: 1; column-gap: var(--gutter); border-top: var(--border) solid var(--ink); }
@media (min-width: 40rem) { .linklist { columns: 2; } }
@media (min-width: 64rem) { .linklist { columns: 3; } }
.linklist li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.linklist a { display: flex; align-items: center; min-height: var(--tap); padding-block: .5rem; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .linklist a:hover { color: var(--blue); text-decoration: underline; } }

/* ---------- 24. Prose (guides, privacy) ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { margin-top: var(--s7); font-size: clamp(1.5rem, 1.35rem + .7vw, 2rem); }
.prose h3 { margin-top: var(--s6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s3); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--s2); }
.prose li::marker { color: var(--blue); }
.prose blockquote { border-left: 4px solid var(--blue); padding-left: var(--s4); font-size: var(--t-lede); line-height: 1.4; }
.prose figure { margin-block: var(--s6); }
.toc { font-size: var(--t-small); border-top: var(--border) solid var(--ink); padding-top: var(--s3); }
.toc a { display: flex; align-items: center; min-height: var(--tap); color: var(--ink); }

/* ---------- 25. Sticky mobile action bar (signup, hire) ----------
   Hidden while the hero button or the form is on screen (crewpool.js toggles .is-shown). */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; transform: translateY(110%); transition: transform 240ms var(--ease); z-index: 40; background: var(--paper); border-top: var(--border) solid var(--ink); padding: var(--s3) var(--margin) calc(var(--s3) + env(safe-area-inset-bottom)); }
.actionbar.is-shown { transform: none; }
@media (min-width: 64rem) { .actionbar { display: none; } }

/* ---------- 26. Motion: one reveal, block by block ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .pay--hero { transform: rotate(-2deg); }   /* static, not motion: kept */
}

/* ---------- 27. Print ---------- */
@media print { .site-header, .site-footer, .actionbar, .btn { display: none !important; } body { background: #fff; } }

/* ---------- 28. Additions for the page build (2026-11-12). Same idiom as above; see DIRECTION.md section 9 ---------- */
/* 5th work-type tile never sits alone: an odd last tile takes the full row */
.chips--tiles .chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Turnstile slot collapses until the widget needs room (no blank gap above the button) */
.ts-slot:empty { display: none; }
.ts-slot { min-height: 0; }
/* page has a sticky phone action bar: keep the footer clear of it */
@media (max-width: 63.99rem) { .has-actionbar .site-footer { padding-bottom: calc(var(--s6) + 5rem); } }
/* grid column helpers for 2-column page bodies (form + photo, filters + results) */
@media (min-width: 64rem) {
  .grid > .col-7 { grid-column: 1 / span 7; }
  .grid > .col-5 { grid-column: 8 / span 5; }
  .grid > .col-3 { grid-column: 1 / span 3; }
  .grid > .col-9 { grid-column: 4 / span 9; }
  .sticky-lg { position: sticky; top: 6rem; align-self: start; }
  /* side panel that spans the rows of the text column beside it, so both columns end on the same line (job page) */
  .grid > .aside-span { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: stretch; }
  .grid > .aside-span { margin-top: calc(var(--t-h1) * .121); }   /* panel top = cap height of the H1 beside it */
  .cap-top { margin-top: calc(var(--t-h1) * .121); }   /* a column beside an H1 starts at the H1's cap height */
  .aside-span > .empty { height: 100%; align-content: space-between; }
}
/* roles picked in signup step 2: name left, Done it / Happy to learn right */
.rolelist { display: grid; border-top: var(--border) solid var(--ink); }
.rolelist li { display: grid; gap: var(--s2); padding-block: var(--s3); border-bottom: 1px solid var(--rule); }
.rolelist__name { font-weight: 650; }
@media (min-width: 40rem) { .rolelist li { grid-template-columns: 1fr 16rem; align-items: center; } }
/* "More detail" disclosure: a text link that opens plain fields (hire form, search cards, filters) */
.more > summary { display: inline-flex; align-items: center; gap: .5em; min-height: var(--tap); font-weight: 650; color: var(--blue); cursor: pointer; list-style: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: ""; width: .875rem; height: .875rem; flex: none; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.more[open] > summary::before { background-size: 100% 2px, 2px 0; }
.more > .more__body { display: grid; gap: var(--s5); padding-top: var(--s4); }
/* search filters: a control on phones, a left column from 1024px */
.filters > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--control); padding: .5rem 1rem; border: var(--border) solid var(--ink); border-radius: var(--radius); font-weight: 650; cursor: pointer; list-style: none; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary::after { content: ""; width: 1rem; height: 1rem; flex: none; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; }
.filters[open] > summary::after { background-size: 100% 2px, 2px 0; }
.filters > summary:hover { background: var(--pulp); }
.filters__body { display: grid; gap: var(--s5); padding-top: var(--s5); }
@media (min-width: 64rem) { .filters > summary { display: none; } .filters__body { padding-top: 0; } }
.searchbar { display: grid; gap: var(--s3); }
@media (min-width: 40rem) { .searchbar { grid-template-columns: 1fr auto; align-items: end; } }
.searchbar .field { margin: 0; }
.results-head { display: grid; gap: var(--s3); }
/* unlocked contact block inside a crew card */
.contact-list { display: grid; gap: var(--s1); font-weight: 600; word-break: break-word; }
.contact-list a { display: inline-flex; align-items: center; min-height: var(--tap); }
/* availability calendar (signup step 2): tap the days you cannot work */
.cal { display: grid; gap: var(--s3); max-width: 24rem; }
.cal__bar { display: grid; grid-template-columns: var(--tap) 1fr var(--tap); align-items: center; text-align: center; font-weight: 650; }
.cal__bar button { width: var(--tap); height: var(--tap); border: var(--border) solid var(--ink); border-radius: var(--radius); background: transparent; cursor: pointer; font-weight: 700; }
.cal__bar button:hover:not(:disabled) { background: var(--pulp); }
.cal__bar button:disabled { opacity: .4; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal__dow { text-align: center; font-size: var(--t-micro); color: var(--ink-2); padding-block: .25rem; font-weight: 650; }
.cal__day { min-height: var(--tap); border: 1px solid var(--rule); border-radius: 2px; background: var(--field); font-variant-numeric: tabular-nums; cursor: pointer; padding: 0; }
.cal__day:hover:not(:disabled) { border-color: var(--blue); }
.cal__day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cal__day:disabled { background: transparent; color: var(--rule); border-color: transparent; cursor: default; }
.cal__blank { min-height: var(--tap); }
/* photo picker preview (signup step 2) */
.photopick { display: flex; align-items: center; gap: var(--s4); }
/* quiet section divider inside long forms */
.form-group { display: grid; gap: var(--s5); padding-top: var(--s5); border-top: var(--border) solid var(--ink); }
.form--wide { max-width: 44rem; }
/* page-head: interior page title block, tighter than a full section so results sit near the top on a phone */
.page-head { padding-block: var(--s5) var(--s6); }
@media (min-width: 64rem) { .page-head { padding-block: var(--s7); } }
.only-lg { display: none; }
@media (min-width: 64rem) { .only-lg { display: block; } }
/* crew-card grid beside a filter column: 2 across until there is room for 3 */
@media (min-width: 80rem) { .cols-3-xl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* a .link that is a real <button> (inline actions): same look as the anchor version */
button.link { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.hint + .chips, .hint + .segmented, .hint + .choices--inline, .hint + .choices--2, .hint + .rolelist { margin-top: var(--s2); }
/* two short fields that stay side by side on phones (dates, amount + unit) */
.form-row--keep { grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (min-width: 40rem) { .form-row--keep { gap: var(--s5); } }
.crew-card__actions .btn { padding-inline: .75rem; }
@media (min-width: 64rem) { .hide-lg { display: none !important; } }
/* a section straight after the hero does not stack two full paddings */
.hero + .section { padding-top: 0; }

/* ---------- 29. Fresh-eyes pass (2026-11-13) ---------- */
/* steps: every row starts at the top, whatever the copy length */
.steps li, .steps--row li { align-content: start; }
.steps--row { align-items: start; }
/* contents and list links read as links */
.toc a { color: var(--blue); }
.linklist a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (hover: hover) { .linklist a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; } }
/* inline links in running text keep a 44px hit area without changing the line height */
.prose a, .choice a, .faq__a a { padding-block: .95rem; }
/* removable filter chips show a cross, not a tick box */
.chips--removable .chip::before { display: none; }
.chips--removable .chip::after { content: "\00d7"; font-size: 1.35em; line-height: 1; margin-left: .15rem; font-weight: 700; }
/* date inputs: an unset date reads as unset on every browser (iOS shows a grey default otherwise) */
.datefield { position: relative; }
.datefield .input.is-empty { color: transparent; }
.datefield .input.is-empty::-webkit-datetime-edit { color: transparent; }
.datefield__ph { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: #8A8476; pointer-events: none; font-size: 1.0625rem; }
.datefield .input:not(.is-empty) + .datefield__ph { display: none; }
/* narrow form column inside a wider page body */
.form--wide .form { max-width: none; }
/* sticky side column (contents, photo) beside long reading text */
.side { display: grid; gap: var(--s5); align-content: start; }
/* square photo that always stays square (portrait sources) */
.photo--sq { aspect-ratio: 1; }
/* page body with a side column on desktop */
.doc { display: grid; gap: var(--s6); }
.empty .actions { margin-top: var(--s2); }
/* two-line wrap safety on long headings inside prose */
.prose h2 { max-width: 30ch; }
@media (min-width: 64rem) { h2, .h2 { max-width: 40ch; } .prose h2 { max-width: 44ch; } }   /* short H2s stay on one line on desktop */
.rolelist .error-msg { grid-column: 1 / -1; }
.field--error .segmented { border-color: var(--red-ink); }
/* hero video: poster paints first, the duotone video fades in over it once loaded (JS starts it after window load; reduced motion and Save-Data keep the poster) */
.photo video.herovideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease); }
.photo video.herovideo.is-playing { opacity: 1; }
.photo video.herovideo { object-position: 54% 50%; transform: translateY(1.1%) scale(1.636); transform-origin: 100% 100%; }   /* same region as the baked crowdvid-hero poster crop (x 410-740, y 210-540 of the 960x540 frame) in the desktop hero box (aspect about 0.81): no jump on swap */
@media (prefers-reduced-motion: reduce) { .photo video.herovideo { display: none; } }

/* ---------- 30. Round 2 ---------- */
.stats--3 { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stack-xl > * + * { margin-top: var(--s7); }
.panel-wide { max-width: 44rem; }
.cols-2 + p, .cols-3 + p, .cols-4 + p, .cols-2x2 + p { margin-top: var(--s5); }
.notice p:empty { display: none; }

/* a grid whose stacked rows stay close on phones (job page: title, then the action) */
.grid--tight { row-gap: var(--s5); }
@media (min-width: 64rem) { .grid--tight { row-gap: var(--s6); } }

/* the pulp panel as a compact form holder (job page action) */
.empty--form { padding: var(--s5); justify-items: stretch; }
@media (min-width: 64rem) { .empty--form { padding: var(--s6); } }

html { scroll-padding-top: 5rem; }

/* the last line of a column that must end level with its neighbour: no trailing leading below the text */
.flush-end { line-height: 1.1; }

/* one very long unbroken name (a festival title) must wrap inside its column, never push the page sideways */
h1, h2, .hero__body, .poster__body { overflow-wrap: anywhere; min-width: 0; }

/* a form column never grows to its widest child (a row of chips or a date input): it stays the width of its container */
.form, .form-group { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 39.99rem) { .form-row:not(.form-row--keep) { grid-template-columns: minmax(0, 1fr); } }
input[type="date"].input { min-width: 0; max-width: 100%; }
.form-row--keep { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.form-row--keep .input { min-width: 0; width: 100%; }
.job-card { min-width: 0; }
.job-card .pay { white-space: normal; max-width: 100%; }
.job-card .meta dd { overflow-wrap: anywhere; }


/* long reading pages (privacy, hand-enriched SEO pages): contents list beside a 66ch prose column, the pair balanced on the 12-column grid
   (contents cols 1-3, one empty column, prose cols 5-11, one empty column), sections divided by a rule so a long page scans */
@media (min-width: 64rem) {
  .grid > .side + .col-9 { grid-column: 5 / span 7; }
  .side .toc--long ul { max-height: calc(100vh - 10rem); overflow-y: auto; }
}
@media (max-width: 63.99rem) {
  .side .toc--long ul { max-height: 13rem; overflow-y: auto; }
}
.doc-main .prose h2 { border-top: var(--border) solid var(--ink); padding-top: var(--s4); scroll-margin-top: 6rem; }
.doc-main .prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }


/* a side column that must end level with the form beside it: it stretches, and its photo takes the spare height */
@media (min-width: 64rem) {
  .grid > .aside-fill { align-self: stretch; display: flex; flex-direction: column; gap: var(--s6); }
  .aside-fill > * + * { margin-top: 0; }
  .aside-fill > .photo { flex: 1 1 auto; min-height: 14rem; aspect-ratio: auto; position: relative; }
  .aside-fill > .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .aside-fill > .photo.photo--hold { flex: none; min-height: 0; aspect-ratio: 1; position: sticky; top: 5rem; }   /* the portrait stays one square as tall as its column is wide and follows the form: a face is never cropped by a column-tall box */
}
@media (min-width: 40rem) { .form-row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-row--2 { align-items: end; }   /* paired inputs share the input line even when their hints differ in height */
.flush-link-wrap { margin-bottom: calc((var(--tap) - 1.1em) / -2); }   /* the link's 44px hit area does not push the column's bottom edge below its text */

/* wide data tables that stack into one block per row on phones: no sideways scroll. Cells carry data-label. */
@media (max-width: 39.99rem) {
  .table-wrap--stack { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .table--stack caption { display: block; width: 100%; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack th, .table--stack td { display: block; min-width: 0; width: auto; }
  .table--stack tr { border-top: var(--border) solid var(--ink); padding-block: var(--s3); }
  .table--stack tbody th { font-size: 1.0625rem; padding: 0 0 var(--s2); border: 0; }
  .table--stack td { display: flex; justify-content: space-between; gap: var(--s4); padding: .35rem 0; border: 0; }
  .table--stack td::before { content: attr(data-label); color: var(--ink-2); }
}

/* ---------- x2: home city links, hero video pause button ---------- */
@media (min-width: 64rem) { .linklist--2 { columns: 2; } }
.herovideo-toggle { position: absolute; right: var(--s3); bottom: var(--s3); z-index: 2; display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; background: var(--paper); color: var(--ink); border: var(--border) solid var(--ink); border-radius: 0; box-shadow: none; cursor: pointer; }
.herovideo-toggle:hover { background: var(--ink); color: var(--paper); }
.herovideo-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
/* ---------- x3: Turnstile never pushes content (CLS) ---------- */
/* The widget is invisible unless Cloudflare shows a challenge. Until then the slot is out of flow, so a
   late-mounting iframe cannot move anything; ts.js adds --open only when a challenge needs a click. */
.ts-slot, .ts-slot:empty { display: block; position: absolute; width: 100%; height: 0; min-height: 0; margin: 0; overflow: visible; pointer-events: none; }
.ts-slot--open { position: static; height: auto; min-height: 4.1rem; margin-block: var(--s2); pointer-events: auto; }
/* x3: placeholder text 5.7:1 on --field (was #8A8476 at 3.7:1) */
.input::placeholder, .textarea::placeholder { color: #6B6558; opacity: 1; }
.datefield__ph { color: #6B6558; }

/* ---------- s1: phone first fold, wrapping, breadcrumbs, link lists, sticky action bar (2026-11-13) ---------- */
/* Hero photo on phones and tablets is a short band so the H1 and the primary button sit in the first screen (390 x 664). */
.hero__media picture { display: block; }
@media (max-width: 63.99rem) {
  .hero__media { aspect-ratio: 16 / 9; position: relative; }
  .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 12%); }   /* --hero-pos: set on .hero__media to re-aim the crop for a different photo; the default keeps the head of a standing or raised subject in frame */
}
@media (max-width: 39.99rem) {
  .hero__media { aspect-ratio: 3 / 2; }                    /* 390 x 260: the whole 3:2 photo, so no crop can cut a head off */
  .hero__body { padding-top: var(--s4); gap: var(--s3); }
  .hero__body > * { order: 3; }                                   /* lede and proof read after the button on phones, so a long lede can never push it off the first screen */
  .hero__body > h1 { order: 1; }
  .hero__body > .btn, .hero__body > .actions, .hero__body > .hero__pair { order: 2; }
  .hero { padding-bottom: var(--s7); }
  .crumbs { padding-top: var(--s2); }
}
/* balanced wrapping everywhere a short last line would look wrong */
h1, h2, h3, h4, .display, .poster h2, .btn, .chip, .link, .pay, .stat__l, .notice__title, summary, .crumbs, .empty .h3, figcaption { text-wrap: balance; }
.crumbs a, .crumbs li { text-wrap: balance; }
/* breadcrumbs: the "/" belongs to the item before it, so a line can never start with one */
.crumbs li + li::before { content: none; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--ink-2); }
.crumbs { column-gap: .5rem; }
/* contents list: one even rhythm whatever the item length */
.toc a { min-height: 0; padding-block: .7rem; }
.toc li + li { border-top: 1px solid var(--rule); }
.toc ul { margin: 0; }
/* link lists: crewpool.js sets the column count so the last column never holds one item alone; few items = one column */
.linklist--2 { columns: 1; }
@media (min-width: 40rem) { .linklist--2 { columns: 2; } }
/* sticky phone action bar, sitewide (markup from the shell; crewpool.js shows it) */
.actionbar .btn { min-width: 0; }
.actionbar[hidden] { display: none; }

/* ---------- s2: card grids ---------- */
/* One column width for every row, whatever the count: 1 column on phones, 2 from 40rem, 3 from 64rem (.cols-3-xl: 3 from 80rem).
   A short last row sits at the left at full card width. Job grids show whole rows (see board.js), so a lone card is the exception. */
.cols-2 > *, .cols-3 > *, .cols-3-xl > * { min-width: 0; }

/* ---------- s2: job page, strips, ts slot, search cards ---------- */
/* phone-only photo strip above the first heading (board, job, search): short crop, never on desktop */
.mstrip { margin: 0; aspect-ratio: auto; background: var(--blue); }
.mstrip img { display: block; width: 100%; height: 7rem; object-fit: cover; }
@media (min-width: 64rem) { .mstrip { display: none; } }
/* job page: the details table follows the date line directly (no blank); the panel stretches to the left column's height, so both end on content */
@media (min-width: 64rem) {
  .grid--job { grid-template-rows: auto 1fr; }
  .grid--job > #jdetails { align-self: start; }
}
/* compact numbered list (job panel "what happens next") */
.jnext { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.steps--compact li { grid-template-columns: 1.75rem 1fr; padding-block: var(--s2); gap: var(--s2); align-items: start; }
.steps--compact li::before { font-size: 1.25rem; }
.steps--compact p { margin-top: 0; max-width: none; color: var(--ink); font-size: 1rem; }
.jnext .link { justify-self: start; }
.steps--compact li { border-top-width: 1px; }
/* crew cards: faces centre on the top of the photo; the one primary action never leaves a one-word last line; the number is a quiet link */
.avatar img { object-position: top center; }
.crew-card__actions .btn { white-space: normal; text-wrap: balance; }
.crew-card__actions .link { font-weight: 600; }
.only-sm { display: block; }
@media (min-width: 64rem) { .only-sm { display: none; } }
.page-head > .only-sm { margin-bottom: var(--s4); }
.page-head > .only-sm:first-child { margin-top: calc(var(--s5) * -1); }   /* the phone photo sits directly under the header, no strip of page background above it */
.mstrip--short img { height: 5rem; }
.pull-up { margin-top: calc(var(--s3) * -1); }
/* how it works, for companies: steps use the full column; the two columns end on the same line (steps text bottom = button bottom) */
#companies .steps p { max-width: none; }
#companies .steps li:last-child { padding-bottom: 0; }
@media (min-width: 64rem) { .aside-end { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; } }

/* BEGIN generated card-grid balance (/tmp gen_balance.py) */
/* two-across: an odd last card takes the full row, never a lone half-width card */
@media (min-width: 40rem) { .cols-2:not(.cols-3-xl) > :last-child:nth-child(odd):not(:only-child) { grid-column: 1 / -1; } }
@media (min-width: 40rem) and (max-width: 63.99rem) { .cols-3 > [data-full] { grid-column: 1 / -1; } }
@media (min-width: 40rem) and (max-width: 79.99rem) { .cols-3-xl > [data-full] { grid-column: 1 / -1; } }
/* three-across, balanced to the count */
@media (min-width: 64rem) {
  .cols-3[data-n] { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cols-3[data-n] > * { grid-column: span 4; }
  .cols-3[data-n="1"] > * { grid-column: 1 / -1; }
  .cols-3[data-n="2"] > *, .cols-3[data-n="4"] > * { grid-column: span 6; }
  .cols-3[data-n="5"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="7"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="8"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="10"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="11"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="13"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="14"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="16"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="17"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="19"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="20"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="22"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="23"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="25"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="26"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="28"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="29"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="31"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="32"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="34"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="35"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="37"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="38"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="40"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="41"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="43"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="44"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="46"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="47"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="49"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="50"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="52"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="53"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="55"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="56"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n="58"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3[data-n="59"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3[data-n] > [data-s="3"] { grid-column: span 3; }
  .cols-3[data-n] > [data-s="4"] { grid-column: span 4; }
  .cols-3[data-n] > [data-s="6"] { grid-column: span 6; }
  .cols-3[data-n] > [data-s="12"] { grid-column: 1 / -1; }
}
@media (min-width: 80rem) {
  .cols-3-xl[data-n] { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cols-3-xl[data-n] > * { grid-column: span 4; }
  .cols-3-xl[data-n="1"] > * { grid-column: 1 / -1; }
  .cols-3-xl[data-n="2"] > *, .cols-3-xl[data-n="4"] > * { grid-column: span 6; }
  .cols-3-xl[data-n="5"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="7"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="8"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="10"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="11"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="13"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="14"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="16"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="17"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="19"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="20"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="22"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="23"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="25"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="26"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="28"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="29"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="31"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="32"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="34"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="35"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="37"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="38"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="40"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="41"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="43"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="44"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="46"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="47"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="49"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="50"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="52"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="53"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="55"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="56"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n="58"] > :nth-child(-n+4) { grid-column: span 3; }
  .cols-3-xl[data-n="59"] > :nth-last-child(-n+2) { grid-column: span 6; }
  .cols-3-xl[data-n] > [data-s="3"] { grid-column: span 3; }
  .cols-3-xl[data-n] > [data-s="4"] { grid-column: span 4; }
  .cols-3-xl[data-n] > [data-s="6"] { grid-column: span 6; }
  .cols-3-xl[data-n] > [data-s="12"] { grid-column: 1 / -1; }
}
/* END generated card-grid balance */

/* ---------- s3: phone first screen and the crew signup flow (2026-11-13) ---------- */
/* Double-tap zoom off on everything you tap; pinch zoom stays (no user-scalable, no viewport lock). */
html, a, button, input, select, textarea, label, summary, [role="button"] { touch-action: manipulation; }
/* Targets we focus from script or by anchor get no ring: it showed as a blue line above "Your details" after tapping Get on the list. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
#signup { scroll-margin-top: 3.5rem; }
.progress { scroll-margin-top: 6rem; }
/* Hero actions: two equal buttons. Full width and stacked on phones, label width and side by side from 40rem. */
.hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); width: 100%; }
.hero__actions .btn { min-width: 0; width: 100%; }
@media (min-width: 40rem) { .hero__actions { grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; width: max-content; } }
/* First phone screen = photo, headline, two buttons, then the live crew count. Pay tag and lede read on tablet and desktop. */
@media (max-width: 39.99rem) { .hero__body > .pay, .hero__body > .lede, .hero__body > .hero__proof:not(#hero-proof) { display: none; } }
/* The hero fills the phone's first screen (small viewport height minus the 3.5rem header and its rule), so the next block starts below the fold. */
@media (max-width: 39.99rem) {
  .hero:has(.hero__actions) { display: flex; flex-direction: column; min-height: calc(100svh - 3.5rem - var(--border)); padding-bottom: var(--s6); }
  /* One composed group: the photo takes the spare height (16.25rem = the 3:2 photo at 390, never shorter, capped so a tall phone does not crop the crowd to a sliver); headline, buttons and counter follow at one even step. */
  .hero:has(.hero__actions) .hero__media { flex: 1 1 16.25rem; min-height: 16.25rem; max-height: 32rem; aspect-ratio: auto; }
  .hero:has(.hero__actions) .hero__body { flex: none; align-content: start; padding-top: var(--s5); gap: var(--s5); }
  .hero:has(.hero__actions) .hero__actions { gap: var(--s3); }
}
/* "How it works" before the form: phones only (desktop keeps the full steps beside the form). */
@media (min-width: 64rem) { .how-short { display: none; } }
@media (max-width: 63.99rem) { #how > h2:first-child, #how > .steps { display: none; } .is-joined .how-short { display: none; } }
.how-short .steps h3 { font-size: 1.0625rem; }
.how-short .steps li { padding-block: var(--s3); }
/* ---------- 2026-11 review: roles grid, success screen, scroll targets ---------- */
/* The success screen carries no photo. */
.is-joined #how .photo { display: none; }
/* Scroll targets sit just under the sticky header (3.5rem), so nothing above them peeks out between the header and the heading. */
#done-h { scroll-margin-top: 4.25rem; }
#dayChips + .hint { margin-top: var(--s2); }

/* ---------- Signup: one page, three sections (the form this site ran until 2026-11-13, in the current kit) ---------- */
.form-section { display: grid; gap: var(--s5); }
.form-section__h { font-size: var(--t-h3); }
.milesrow { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.milesrow__unit { font-size: var(--t-small); color: var(--ink-2); }
/* Roles: groups open by default; each role is a name and two equal one-tap buttons. */
.rolegroups { display: grid; gap: var(--s4); }
.rolegroup > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--tap); padding-block: var(--s2); font-weight: 700; cursor: pointer; list-style: none; border-top: var(--border) solid var(--ink); }
.rolegroup > summary::-webkit-details-marker { display: none; }
.rolegroup > summary::after { content: ""; width: .75rem; height: .75rem; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--t-fast) var(--ease); }
.rolegroup[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.rolegroup__t { flex: 1; text-wrap: balance; }
.rolegroup__n { font-weight: 400; font-size: var(--t-small); color: var(--ink-2); text-align: right; }
.rolegroups .rolelist { border-top: 0; }
.rolebtns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.rolebtns .chip { justify-content: flex-start; width: 100%; min-width: 0; padding-inline: .6rem; }
@media (min-width: 40rem) { .rolegroups .rolelist li { grid-template-columns: 1fr 20rem; } }
@media (max-width: 22rem) { .rolegroup__n { display: none; } }

/* ---------- Signup roles: calm two-button rows (2026-11-16, all widths) ---------- */
/* Each role = name + two compact toggles. Done it = solid fill; Happy to learn = pale tint with a dashed outline (shape differs, not just colour). */
.rolegroups .rolebtns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s2); width: max-content; max-width: 100%; }
.rolegroups .rolebtns .chip { justify-content: center; width: 100%; min-width: 6.5rem; min-height: 2.75rem; padding-inline: .9rem; border: 1px solid var(--ink-2); background: transparent; color: var(--ink-2); font-weight: 560; text-align: center; white-space: nowrap; }
.rolegroups .rolebtns .chip::before { display: none; }
@media (hover: hover) { .rolegroups .rolebtns .chip:hover { background: var(--pulp); color: var(--ink); } }
.rolegroups .rolebtns .chip[data-s="done"][aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--paper); font-weight: 650; }
.rolegroups .rolebtns .chip[data-s="willing"][aria-pressed="true"] { background: var(--blue-wash); border: 2px dashed var(--blue); padding-inline: calc(.9rem - 1px); color: var(--blue); font-weight: 560; }
.rolegroups .rolelist li { padding-left: .75rem; }
.rolegroups .rolelist li:has(.chip[aria-pressed="true"]) { box-shadow: inset 3px 0 0 var(--blue); }
.rolegroups .rolelist li:has(.chip[aria-pressed="true"]) .rolelist__name { font-weight: 750; }
.rolegroup > summary { border-top: 1px solid var(--rule); }
@media (min-width: 40rem) { .rolegroups .rolelist li { grid-template-columns: minmax(0, 1fr) auto; } }
/* The hint above the list doubles as the key: the two words wear miniature versions of the selected states. */
.form-section__h + .hint strong:nth-of-type(1), .form-section__h + .hint strong:nth-of-type(2) { display: inline-block; padding: 0 .45rem; border-radius: var(--radius); font-weight: 650; white-space: nowrap; }
.form-section__h + .hint strong:nth-of-type(1) { background: var(--blue); border: 1px solid var(--blue); color: var(--paper); }
.form-section__h + .hint strong:nth-of-type(2) { background: var(--blue-wash); border: 1px dashed var(--blue); color: var(--blue); }

/* ---------- Signup roles: each group is a card (2026-11-16) ----------
   One boxed card per group: tinted header bar (name, live count, arrow), roles in tidy cells below. Buttons are tinted before they are tapped.
   No second colour token exists in the kit that is not red, so Happy to learn = cream with a dashed cobalt outline; on = pale cobalt, heavier dashed outline and a tick. */
.rolegroups { gap: var(--s5); }
.rolegroup { border: 1px solid var(--blue); border-radius: var(--radius); background: var(--field); overflow: hidden; }
.rolegroup > summary { border-top: 0; padding: var(--s2) var(--s4); background: var(--blue-wash); color: var(--ink); }
.rolegroup[open] > summary { border-bottom: 1px solid var(--blue); }
.rolegroup__n { color: var(--ink); }
.rolegroups .rolelist { padding: var(--s2) var(--s4) var(--s3); }
.rolegroups .rolelist li { padding-left: .75rem; }
.rolegroups .rolebtns { width: 100%; }
.rolegroups .rolebtns .chip { min-width: 0; }
.rolegroups .rolebtns .chip[data-s="done"] { background: var(--blue-wash); border: 1px solid var(--blue); color: var(--blue); font-weight: 600; }
.rolegroups .rolebtns .chip[data-s="willing"] { background: var(--field); border: 1px dashed var(--blue); color: var(--blue); font-weight: 560; }
@media (hover: hover) { .rolegroups .rolebtns .chip:hover { background: var(--pulp); color: var(--blue); } }
.rolegroups .rolebtns .chip[data-s="done"][aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--paper); font-weight: 700; }
.rolegroups .rolebtns .chip[data-s="willing"][aria-pressed="true"] { background: var(--blue-wash); border: 2px dashed var(--blue); padding-inline: calc(.9rem - 1px); color: var(--blue); font-weight: 700; }
.rolegroups .rolebtns .chip[aria-pressed="true"]::before { display: inline-block; width: .8rem; height: .8rem; border: 0; margin-right: .35rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/100% no-repeat; }
.form-section__h + .hint strong:nth-of-type(1) { background: var(--blue); border: 1px solid var(--blue); color: var(--paper); }
.form-section__h + .hint strong:nth-of-type(2) { background: var(--blue-wash); border: 2px dashed var(--blue); color: var(--blue); }
@media (min-width: 40rem) {
  .rolegroups .rolelist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); }
  .rolegroups .rolelist li { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
}

/* ---------- Signup roles: Happy to learn in red, as the old form (2026-11-16) ----------
   --red-ink on a 10% tint (4.7:1) unselected; cream on --red-ink (4.9:1) selected. Selected keeps a dashed cream edge and a tick, so it differs from Done it by pattern as well as hue. */
.rolegroups .rolebtns .chip[data-s="willing"] { background: color-mix(in srgb, var(--red-ink) 10%, var(--field)); border: 1px solid color-mix(in srgb, var(--red-ink) 40%, var(--field)); color: var(--red-ink); font-weight: 600; }
@media (hover: hover) { .rolegroups .rolebtns .chip[data-s="willing"]:hover { background: color-mix(in srgb, var(--red-ink) 18%, var(--field)); color: var(--red-ink); } }
.rolegroups .rolebtns .chip[data-s="willing"][aria-pressed="true"] { background: var(--red-ink); border: 2px dashed var(--paper); box-shadow: 0 0 0 1px var(--red-ink); color: var(--paper); font-weight: 700; }
.rolegroups .rolelist li:has(.chip[data-s="willing"][aria-pressed="true"]) { box-shadow: inset 3px 0 0 var(--red-ink); }
.form-section__h + .hint strong:nth-of-type(2) { background: var(--red-ink); border: 2px dashed var(--paper); box-shadow: 0 0 0 1px var(--red-ink); color: var(--paper); }

/* ---------- Signup review fixes (2026-11-16, no change to fields, order or behaviour) ---------- */
/* Home signup on desktop (2026-11-16, rounds 3-4): the whole form is ONE 40rem column, one question per row, in phone order; "How it works" and the FAQ sit beside it and stay put (sticky) for the length of the form.
   One rhythm: 1.75rem between every question and section; a hint sits 0.5rem under its own control. Roles: one per row. */
@media (min-width: 64rem) {
  #signup:has(#step1-wrap:not([hidden])) > .grid { align-items: start; }
  #signup:has(#step1-wrap:not([hidden])) > .grid > .col-7 { max-width: 40rem; }
  /* aside: tight enough to fit a 768px-high window without an inner scroll (scrolls only if an FAQ item is opened) */
  #signup:has(#step1-wrap:not([hidden])) > .grid > .col-5 { align-self: start; position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow-y: auto; gap: var(--s4); }
  #signup:has(#step1-wrap:not([hidden])) #how .steps li { padding-block: var(--s3); }
  #signup:has(#step1-wrap:not([hidden])) #how .faq summary { min-height: 3rem; padding-block: var(--s2); }
  #signup:has(#step1-wrap:not([hidden])) #f .form-row--2 { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  #signup:has(#step1-wrap:not([hidden])) #f :is(.input, .textarea, .select):not(.input--short) { max-width: none; }
  #signup:has(#step1-wrap:not([hidden])) #jobs { max-width: none; gap: 1.75rem; }
  #signup:has(#step1-wrap:not([hidden])) #f > .form-group:last-child > #submit { width: 100%; max-width: none; }
  /* one gap */
  #signup:has(#step1-wrap:not([hidden])) #f, #signup:has(#step1-wrap:not([hidden])) #f .form-section, #signup:has(#step1-wrap:not([hidden])) #f .form-group, #signup:has(#step1-wrap:not([hidden])) #f .form-row { gap: 1.75rem; }
  #signup:has(#step1-wrap:not([hidden])) #f > * + *, #signup:has(#step1-wrap:not([hidden])) #f .form-section > * + *, #signup:has(#step1-wrap:not([hidden])) #f .form-group > * + * { margin-top: 0; }
  #signup:has(#step1-wrap:not([hidden])) #f .form-section, #signup:has(#step1-wrap:not([hidden])) #f .form-group { padding-top: 1.75rem; }
  #signup:has(#step1-wrap:not([hidden])) #f #sec-you { padding-top: 0; }
  #signup:has(#step1-wrap:not([hidden])) #f .hint { margin-top: 0; }
  #signup:has(#step1-wrap:not([hidden])) #f .form-section__h + .hint, #signup:has(#step1-wrap:not([hidden])) #f .form-row + .hint { margin-top: -1.25rem; }
  #signup:has(#step1-wrap:not([hidden])) #f .field > .hint { margin-top: 0; }
  #signup:has(#step1-wrap:not([hidden])) #jobTally:empty { display: none; }
  /* roles: label left, the two buttons right, one role per row */
  #signup:has(#step1-wrap:not([hidden])) .rolegroups .rolelist { grid-template-columns: minmax(0, 1fr); }
  #signup:has(#step1-wrap:not([hidden])) .rolegroups .rolelist li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s3); }
  #signup:has(#step1-wrap:not([hidden])) .rolegroups .rolebtns { width: auto; }
  #signup:has(#step1-wrap:not([hidden])) .rolegroups .rolebtns .chip { min-width: 9.5rem; white-space: nowrap; }
  #signup:has(#step1-wrap:not([hidden])) .rolegroups .rolebtns .chip[aria-pressed="true"] { padding-inline: .9rem; }
}
/* Turnstile: the slot takes room only once the widget has put something on screen; an open flag with no iframe yet leaves no gap. */
.ts-slot--open { min-height: 0; margin-block: 0; }
.ts-slot--open:not(:has(iframe)) { position: absolute; height: 0; pointer-events: none; }
/* Phones: group header = title and arrow on one row, the tally on its own line under the title. */
@media (max-width: 39.99rem) {
  .rolegroup > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s3); row-gap: 0; align-items: center; }
  .rolegroup > summary > .rolegroup__t { grid-column: 1; grid-row: 1; }
  .rolegroup > summary > .rolegroup__n { grid-column: 1; grid-row: 2; text-align: left; }
  .rolegroup > summary::after { grid-column: 2; grid-row: 1 / 3; }
}
/* Key line: the two chips and their full stop never split. */
.hint .keychips { white-space: nowrap; }
