/* ============================================================
   WELL MADE PLAYS · /jobs
   Loaded after the cream chrome that tools/house-chrome.mjs
   inlines, so it wins its ties. The page is Brand System v2:
   Paper ground, Ink text, one category colour at a time, and
   one Spotlight in the whole composition (the hero).

   Tokens are --jb-* on purpose. The chrome's --paper, --ink
   and --line belong to the header and footer and are left
   exactly as every other cream page sets them.

   Type is the site's: Inter, loaded by the chrome. No new font.
   Nothing here goes under the 12px floor (tools/text-floor.mjs).

   Sizes. Four, and two display sizes for the headings:
     --jb-t-label  12px  the small capital labels
     --jb-t-small  14px  help under a field, the line under the form
     (body)        17px  everything else; the chrome sets it, nothing here does
     --jb-t-lead   20px  the lede, a role's summary, the block headings
     h2 and h1     fluid
   There were twelve until 2026-11-29, several a pixel apart.
   ============================================================ */

/* The role's colour is three registered properties, so switching roles can
   cross-fade them. Where @property is missing they snap, which is the same
   page a frame later. */
@property --ac {
  syntax: '<color>';
  inherits: true;
  initial-value: #240046;
}
@property --ac-on {
  syntax: '<color>';
  inherits: true;
  initial-value: #FFFEE5;
}
@property --ac-line {
  syntax: '<color>';
  inherits: true;
  initial-value: #240046;
}

body.jobs {
  /* Brand System v2 */
  --jb-paper: #FFFEE5;
  --jb-ink: #252525;
  --jb-passion: #240046;
  --jb-bleak: #1A4301;
  --jb-petal: #072AC8;
  --jb-night: #F9D20F;

  /* 6.0:1 on Paper; quiet without going under the contrast floor */
  --jb-soft: #62625B;
  --jb-rule: #DEDCC2;
  --jb-rule-strong: #BFBDA3;
  /* The edge of a form box. 3.77:1 on Paper: the box fill is all but the page
     colour, so the edge is the whole boundary and has to clear 3:1. The rule
     colour above is 1.87:1 and was the edge until 2026-11-28. */
  --jb-field-line: #85836B;

  --jb-t-label: .75rem;
  --jb-t-small: .875rem;
  --jb-t-lead: 1.25rem;

  --jb-ease: cubic-bezier(.16, 1, .3, 1);
  /* The frame and the gutter are the chrome's own (.wrap: 1120px, and
     clamp(1.25rem, 5vw, 3rem) each side), so the page's left edge is the
     header's and the footer's at every width. They were 1180px and up to 56px,
     which put the content 24px left of the header mark at 1280. */
  --jb-gut: clamp(1.25rem, 5vw, 3rem);
  --jb-max: var(--wrap, 1120px);

  background: var(--jb-paper);
  color: var(--jb-ink);
  --ac: var(--jb-passion);
  --ac-on: var(--jb-paper);
  --ac-line: var(--jb-passion);
  transition: --ac .22s linear, --ac-on .22s linear, --ac-line .22s linear;
}

/* One category colour on screen at a time: the active role sets it.

   The colour is a fill and a mark, never a word (Dougie, 2026-11-29). Until
   then links and pay figures were set in it, and Passion at 17.7:1 read as
   black, Petal read as an unvisited link, and the fourth role had a brown
   made by darkening Night Light until it could carry text.
     --ac       the fill: the button, the selected role, the hero arch
     --ac-on    the words on that fill
     --ac-line  a line or a mark on Paper: an underline, a list dash, the
                focus ring, the edge of the button
   For three roles the line is the fill. Night Light on Paper is 1.44:1, so a
   line in it cannot be seen: the fourth role's lines are Ink, and its button
   is Night Light with Ink words (10.4:1) inside an Ink edge. */
body.jobs[data-role="manager"]  { --ac: var(--jb-passion); --ac-on: var(--jb-paper); --ac-line: var(--jb-passion); }
body.jobs[data-role="booking"]  { --ac: var(--jb-petal);   --ac-on: var(--jb-paper); --ac-line: var(--jb-petal); }
body.jobs[data-role="marketing"]{ --ac: var(--jb-bleak);   --ac-on: var(--jb-paper); --ac-line: var(--jb-bleak); }
body.jobs[data-role="outreach"] { --ac: var(--jb-night);   --ac-on: var(--jb-ink);   --ac-line: var(--jb-ink); }

.jobs .jb-wrap { width: 100%; max-width: var(--jb-max); margin: 0 auto; padding-inline: var(--jb-gut); }
.jobs main { display: block; }

.jobs ::selection { background: var(--ac); color: var(--ac-on); }

/* Focus is the role's line colour, visible on Paper and never removed. */
.jobs a:focus-visible,
.jobs button:focus-visible,
.jobs input:focus-visible,
.jobs select:focus-visible,
.jobs textarea:focus-visible {
  outline: 3px solid var(--ac-line);
  outline-offset: 2px;
}
/* The header is the site's dark bar, and the accent on it is 1.09:1 to 2.21:1.
   The rule above outranks the chrome's own cream ring there (same weight,
   loaded later), so it is put back by name (2026-11-28). */
.jobs .nav a:focus-visible,
.jobs .nav button:focus-visible {
  outline-color: var(--paper, #F4EEDC);
}

/* ---- shared small parts ------------------------------------ */
/* One small label: mono, capitals, 12px, tracked .1em. There were three
   trackings (.12, .10, .08) for what is one thing. */
.jobs .jb-label,
.jobs .jb-tab .jb-tab-note,
.jobs .jb-facts dt,
.jobs .jb-back,
.jobs .jb-field .jb-req,
.jobs .jb-hww-table thead th,
.jobs .jb-hww-table td::before {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: var(--jb-t-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jb-soft);
}
.jobs .jb-label { margin: 0 0 10px; }

/* A link that is not inside a sentence: Ink words on a line in the role's
   colour. One underline, the drawn one; the browser's own is switched off
   (all six of these carried both until 2026-11-29). */
.jobs .jb-back,
.jobs .jb-rolelink,
.jobs .jb-rosterlink,
.jobs .jb-hww-back a,
.jobs .jb-bad a,
.jobs .jb-noscript a {
  color: var(--jb-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ac-line);
  padding-bottom: 2px;
  transition: border-color .22s var(--jb-ease);
}
.jobs .jb-back:hover,
.jobs .jb-rolelink:hover,
.jobs .jb-rosterlink:hover,
.jobs .jb-hww-back a:hover,
.jobs .jb-bad a:hover,
.jobs .jb-noscript a:hover { border-bottom-color: var(--jb-ink); }

.jobs .jb-sec { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--jb-rule); }
/* A section that is one sentence under its heading gets half the band. At the
   full band "How hiring goes" read as a gap in the page. */
.jobs .jb-sec-brief { padding-block: clamp(28px, 3.5vw, 48px); }
.jobs .jb-sec-brief h2 { margin-bottom: 12px; }
/* Headings are the page's Ink. The chrome sets its own, darker one on every
   h1 to h3, and it showed here beside body text in #252525. */
.jobs h1, .jobs h2, .jobs h3 { color: var(--jb-ink); }
.jobs h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 24px; }
/* The block headings ("What you'll do", "Pay") are a size up from the lines
   under them. They were the body's own size, told apart by weight alone. */
.jobs h3 { font-size: var(--jb-t-lead); font-weight: 600; letter-spacing: -.005em; line-height: 1.25; margin: 0 0 12px; }
.jobs p { margin: 0 0 14px; }
.jobs p:last-child { margin-bottom: 0; }

/* The arch, the house mark at any size. Same path as the one
   tools/house-chrome.mjs puts in the header. */
.jobs .jb-archmark { display: block; overflow: visible; }
.jobs .jb-archmark path { fill: none; stroke: var(--ac); stroke-width: 9; }

/* ---- hero -------------------------------------------------- */
.jobs .jb-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(44px, 8vw, 104px) clamp(36px, 5vw, 64px);
  isolation: isolate;
}
.jobs .jb-hero > .jb-wrap { position: relative; z-index: 2; }

/* The one Spotlight in the composition: Night Light, never as
   text. It rests behind the role chips. */
.jobs .jb-spot {
  position: absolute;
  z-index: 1;
  left: 36%;
  bottom: -30%;
  width: min(1000px, 128%);
  aspect-ratio: 1.55;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(249, 210, 15, .46), rgba(249, 210, 15, .2) 46%, rgba(249, 210, 15, 0) 72%);
  pointer-events: none;
}

/* The house arch, whole, beside the headline, in the role's colour. It sits
   inside the frame, on the frame's right edge, level with the top of the
   content, and ends above the role buttons.

   Until 2026-11-29 it was a partial arch that bled off the bottom-right corner
   of the hero, and it kept meeting the role buttons: its left leg ran behind
   the fourth one at 1280 wide, was narrowed to clear it, and met it again the
   day a role's title grew by two words. Where it is now depends on no title.
   It was also faint (.24), and a faint Passion is a grey. */
.jobs .jb-hero-arch {
  position: absolute;
  z-index: -1;
  --jb-arch: min(340px, 30%);
  width: var(--jb-arch);
  /* The drawn arch stops short of its own box: the path's outer edge is 9.5
     of the 120 units in from the side. Moved out by that much, so the stroke's
     right edge is the frame's, where the facts strip under it ends. */
  right: calc(var(--jb-gut) - var(--jb-arch) * .079);
  top: 0;
  pointer-events: none;
}
/* Below these widths the words need the room. A role's own page has a longer
   lede, so it gives the arch up sooner. */
@media (max-width: 959px) {
  .jobs .jb-hero-arch { display: none; }
}
@media (max-width: 1199px) {
  .jobs .jb-hero-one .jb-hero-arch { display: none; }
}

.jobs .jb-mark { display: block; width: clamp(158px, 20vw, 232px); height: auto; margin-bottom: clamp(26px, 4vw, 44px); }
.jobs h1 {
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: .95;
  font-weight: 650;
  letter-spacing: -.035em;
  margin: 0 0 clamp(16px, 2vw, 22px);
  max-width: 14ch;
}
.jobs .jb-lede {
  font-size: var(--jb-t-lead);
  line-height: 1.45;
  font-weight: 300;
  color: var(--jb-ink);
  max-width: 44ch;
  margin: 0 0 clamp(28px, 4vw, 44px);
}

/* ---- a single role's own page ------------------------------
   /jobs/<role>. One job, its own URL, its own JobPosting. The hero is
   shorter because the role title is the only thing in it, and the block
   headings are h2 there (nothing above them but the h1) while they stay
   at the h3 size they have on /jobs. */
.jobs .jb-hero-one { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.jobs .jb-hero-one h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); max-width: 18ch; }
.jobs .jb-hero-one .jb-lede { max-width: 56ch; margin-bottom: 0; }
.jobs .jb-back { display: inline-block; margin-bottom: clamp(18px, 3vw, 28px); font-weight: 400; color: var(--jb-ink); }
.jobs.is-role .jb-block h2 { font-size: var(--jb-t-lead); font-weight: 600; letter-spacing: -.005em; line-height: 1.25; margin: 0 0 12px; }
.jobs .jb-fixedrole { display: flex; flex-direction: column; gap: 6px; margin: 0 0 22px; font-weight: 500; }
.jobs .jb-fixedrole .jb-label { margin: 0; }

/* ---- the role switcher ------------------------------------- */
.jobs .jb-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.jobs .jb-tab {
  font: inherit;
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1.2;
  padding: 13px 20px;
  border: 1px solid var(--jb-ink);
  background: transparent;
  color: var(--jb-ink);
  cursor: pointer;
  transition: background .22s var(--jb-ease), color .22s var(--jb-ease), border-color .22s var(--jb-ease);
}
/* A role that is not the open one answers the pointer. It had no hover state. */
.jobs .jb-tab:hover { background: rgba(37, 37, 37, .07); }
.jobs .jb-tab[aria-selected="true"] { background: var(--ac); border-color: var(--ac-line); color: var(--ac-on); }
.jobs .jb-tab .jb-tab-note { display: block; margin-top: 5px; }
.jobs .jb-tab[aria-selected="true"] .jb-tab-note { color: var(--ac-on); opacity: .8; }
.jobs .jb-tab.is-filled { border-style: dashed; }

@media (max-width: 640px) {
  /* On a phone: a grid two across, ruled like the facts strip under it. It was
     one row of equal parts, which set a three-word title on three lines and
     had no room at all for a five-word one. */
  .jobs .jb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--jb-ink); border: 1px solid var(--jb-ink); }
  .jobs .jb-tab { border: 0; background: var(--jb-paper); padding: 14px 12px; text-align: left; font-size: var(--jb-t-small); }
  .jobs .jb-tab:hover { background: #F2F0D6; }
  .jobs .jb-tab[aria-selected="true"] { background: var(--ac); }
  .jobs .jb-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .jobs .jb-tab .jb-tab-note { display: none; }
}

/* ---- the role panel ---------------------------------------- */
.jobs .jb-panel[hidden] { display: none; }
.jobs .jb-panel { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--jb-rule); }
/* The role's title on /jobs, which is the panel's own direct child. Not the
   block headings: on a role page those are h2 as well, because the h1 above
   them is the role title, and a 20ch cap would wrap them. */
.jobs .jb-panel > .jb-wrap > h2 { max-width: 20ch; }
.jobs .jb-summary { font-size: var(--jb-t-lead); line-height: 1.5; max-width: 62ch; margin: 0 0 clamp(26px, 3vw, 36px); }

/* Type, Location, Hours, Pay: ruled cells in one row, however many the config
   gives a role. The hairlines are the grid's own background. The first cell
   has no left padding, so its words start on the page's left edge with
   everything else; they sat 20px in from it. */
.jobs .jb-facts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--jb-rule);
  border-block: 1px solid var(--jb-rule);
  margin: 0 0 clamp(32px, 4vw, 52px);
}
.jobs .jb-facts div { background: var(--jb-paper); padding: 18px 20px 20px; }
.jobs .jb-facts div:first-child { padding-left: 0; }
.jobs .jb-facts dt { margin-bottom: 7px; }
.jobs .jb-facts dd { margin: 0; line-height: 1.4; font-weight: 500; }
@media (max-width: 860px) {
  .jobs .jb-facts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .jobs .jb-facts div:nth-child(odd) { padding-left: 0; }
  /* An odd number of facts would otherwise leave the last cell of the grid
     empty, and the gap would show as a grey block. The last one takes the
     whole row instead. */
  .jobs .jb-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.jobs .jb-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.jobs .jb-block { margin-bottom: clamp(30px, 4vw, 44px); }
.jobs .jb-block:last-child { margin-bottom: 0; }
/* One column. Pay goes first, then the second Apply button, then the duties,
   and Growth last: stacked in the order of the markup, Pay came after both
   lists, about 2,000px down a phone. The two column wrappers stop being boxes
   so their four blocks can be ordered as one list. */
@media (max-width: 900px) {
  .jobs .jb-cols { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 44px); }
  .jobs .jb-cols > div { display: contents; }
  .jobs .jb-cols .jb-block { margin-bottom: 0; }
  .jobs .jb-cols .jb-payblock { order: -2; }
  .jobs .jb-cols .jb-applyside { order: -1; }
}
.jobs .jb-list { list-style: none; margin: 0; padding: 0; }
/* A web address in a duty or a question is one long word. On a 320px phone
   "(wellmadeplays.com/playbook#prices)." pushed the page 38px sideways, so
   these lines may break inside a word when nothing else fits. */
.jobs .jb-list li,
.jobs .jb-field label { overflow-wrap: anywhere; }
.jobs .jb-list li { position: relative; padding: 0 0 12px 22px; line-height: 1.55; }
.jobs .jb-list li:last-child { padding-bottom: 0; }
.jobs .jb-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 1px; background: var(--ac-line);
}

/* Pay: a list of lines, each a label and its figure, and a note under it. */
.jobs .jb-pay { border-top: 1px solid var(--jb-rule-strong); margin: 0; }
/* A label and its figure share the label's first line: the label wraps, the
   figure does not move. As a wrapping flex row, a long label pushed "$25" and
   "$100" onto lines of their own while "$50" stayed put. */
.jobs .jb-pay > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--jb-rule); }
.jobs .jb-pay dt { font-weight: 500; }
.jobs .jb-pay dd { margin: 0; text-align: right; color: var(--jb-ink); }
.jobs .jb-pay .jb-amount { font-weight: 600; }
/* A value that is a sentence (the build marks the row) reads under its label,
   in Ink, from the left. */
.jobs .jb-pay > div.is-long { grid-template-columns: 1fr; }
.jobs .jb-pay > div.is-long .jb-amount { text-align: left; font-weight: 400; color: var(--jb-ink); }

/* Ink, not the soft grey: this is the plainest thing the page says about pay,
   and for two roles it is the whole of it. */
.jobs .jb-paynote { margin-top: 16px; color: var(--jb-ink); line-height: 1.55; }
.jobs .jb-apply-row { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.jobs .jb-btn {
  display: inline-block; font: inherit; font-weight: 600; line-height: 1;
  padding: 17px 28px; border: 1px solid var(--ac-line); background: var(--ac); color: var(--ac-on);
  cursor: pointer; text-align: center;
  transition: opacity .22s var(--jb-ease);
}
.jobs .jb-btn:hover { opacity: .88; }
.jobs .jb-btn[disabled] { opacity: .55; cursor: default; }
.jobs .jb-shut { font-weight: 600; }
.jobs .jb-shut + p { margin-top: 8px; color: var(--jb-soft); }

/* ---- how hiring goes --------------------------------------- */
/* This was a five-step rail with a line that drew itself in on scroll. The
   steps went on 2026-11-17: more process than the page needed, and it
   committed us publicly to a sequence we would not always follow. One
   sentence says the part worth saying. */
.jobs .jb-hiring { max-width: 58ch; line-height: 1.65; }

/* ---- how we work ------------------------------------------- */
/* /jobs/how-we-work, built from config/how-we-work.json. No role, so it keeps
   the default colour. The two tables are three columns of sentences, which no
   phone fits: under 640px each row is stacked (see below). */
/* Room under the back link: with none, its underline sat on the section's rule. */
.jobs.is-hww .jb-hww-top { padding-bottom: clamp(24px, 3vw, 36px); }
.jobs .jb-hww-lede { max-width: 54ch; font-size: var(--jb-t-lead); line-height: 1.5; margin-top: 10px; }
.jobs .jb-hww-back { margin-top: 22px; }
.jobs .jb-hww > * + * { margin-top: 14px; }
.jobs .jb-hww p { max-width: 68ch; line-height: 1.65; }
.jobs .jb-hww h2 { max-width: 24ch; }
.jobs .jb-hww-cap { font-weight: 600; }
.jobs .jb-hww-list { max-width: 68ch; padding-left: 0; list-style: none; }
.jobs .jb-hww-list li { position: relative; padding-left: 22px; line-height: 1.6; }
.jobs .jb-hww-list li + li { margin-top: 10px; }
.jobs ul.jb-hww-list li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--ac-line);
}
.jobs ol.jb-hww-list { counter-reset: hww; }
.jobs ol.jb-hww-list li { padding-left: 30px; counter-increment: hww; }
.jobs ol.jb-hww-list li::before {
  content: counter(hww) "."; position: absolute; left: 0; top: 0;
  font-weight: 600;
}
.jobs .jb-hww-scroll { overflow-x: auto; margin-top: 14px; }
.jobs .jb-hww-table { border-collapse: collapse; width: 100%; min-width: 580px; text-align: left; }
.jobs .jb-hww-table caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
.jobs .jb-hww-table th, .jobs .jb-hww-table td {
  border-top: 1px solid var(--jb-rule); padding: 11px 18px 11px 0; vertical-align: top;
  line-height: 1.55;
}
.jobs .jb-hww-table thead th { border-top: 0; border-bottom: 1px solid var(--jb-rule-strong); font-weight: 400; }
.jobs .jb-hww-table tbody th { font-weight: 600; }
.jobs .jb-hww-back a + a { margin-left: 20px; }
/* On a phone the table is stacked: one block a row, the row's name first, then
   each cell under its column's heading (the build puts it on the cell as
   data-label). It used to keep its 580px and scroll sideways inside its box,
   which left the third column off the screen with nothing to say it was there. */
@media (max-width: 640px) {
  .jobs .jb-hww-scroll { overflow-x: visible; }
  .jobs .jb-hww-table { display: block; min-width: 0; }
  /* Gone, not just hidden from sight: each cell now says its own column's
     heading, so the header row would be read out a second time on its own. */
  .jobs .jb-hww-table thead { display: none; }
  .jobs .jb-hww-table tbody,
  .jobs .jb-hww-table tr,
  .jobs .jb-hww-table tbody th,
  .jobs .jb-hww-table td { display: block; }
  .jobs .jb-hww-table tr { border-top: 1px solid var(--jb-rule); padding: 14px 0; }
  .jobs .jb-hww-table tbody th,
  .jobs .jb-hww-table td { border-top: 0; padding: 0; }
  .jobs .jb-hww-table td { margin-top: 10px; }
  .jobs .jb-hww-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; }
}

/* ---- about and terms --------------------------------------- */
.jobs .jb-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .jobs .jb-about { grid-template-columns: 1fr; } }
.jobs .jb-about .jb-list li::before { background: var(--jb-rule-strong); }
.jobs .jb-rosterlink { display: inline-block; margin-top: 16px; }
/* Two links side by side with a word space between them read as one. */
.jobs .jb-rosterlink + .jb-rosterlink { margin-left: 20px; }

/* ---- the form ---------------------------------------------- */
.jobs .jb-form { max-width: 640px; }
.jobs .jb-applyintro { line-height: 1.5; max-width: 52ch; margin: 0 0 26px; }
.jobs .jb-field { margin-bottom: 22px; }
.jobs .jb-field label { display: block; font-weight: 500; line-height: 1.45; margin-bottom: 7px; }
.jobs .jb-field .jb-help { display: block; font-size: var(--jb-t-small); line-height: 1.45; color: var(--jb-soft); margin-bottom: 9px; }
.jobs .jb-field .jb-req { margin-left: 8px; }
.jobs .jb-field input,
.jobs .jb-field select,
.jobs .jb-field textarea {
  display: block; width: 100%; font: inherit; line-height: 1.45;
  padding: 13px 14px; background: #FFFFF2; color: var(--jb-ink);
  border: 1px solid var(--jb-field-line); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
/* The Role menu. With the native look switched off it was indistinguishable
   from the text boxes under it, so it carries a plain chevron in Ink. */
.jobs .jb-field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23252525' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 8px;
}
/* The field a refusal is about, and the sentence under it (jobs.js writes
   both). The red is the one already used for .jb-bad, 6.4:1 on Paper. */
.jobs .jb-field [aria-invalid="true"] { border-color: #B3261E; }
.jobs .jb-field .jb-fieldmsg { margin: 8px 0 0; line-height: 1.45; font-weight: 500; color: #B3261E; }
.jobs .jb-field textarea { min-height: 128px; resize: vertical; }
.jobs .jb-field input:focus, .jobs .jb-field select:focus, .jobs .jb-field textarea:focus { border-color: var(--ac-line); }
.jobs .jb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jobs .jb-consent { font-size: var(--jb-t-small); line-height: 1.5; color: var(--jb-soft); margin: 0 0 20px; }
.jobs .jb-said { margin-top: 20px; line-height: 1.55; }
.jobs .jb-said[hidden] { display: none; }
/* What the form says back. A full hairline box, not a bar down one side: the
   side-striped callout is on this project's own list of things to avoid. */
.jobs .jb-ok { border: 1px solid var(--ac-line); padding: 16px 18px; font-weight: 600; }
.jobs .jb-bad { border: 1px solid #B3261E; padding: 14px 18px; }
/* Shown in place of the form when script is off. */
.jobs .jb-noscript { border: 1px solid var(--jb-field-line); padding: 14px 18px; max-width: 640px; line-height: 1.55; }
.jobs .vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---- motion ------------------------------------------------
   On load: the hero arch draws in over 900 ms, then one pass of
   the Spotlight, which settles behind the role chips and stops.
   The Playbook's hero light was a loop until playbook-review
   decision 5 (2026-11-06) made it a still, for the cost; this is
   one pass and then nothing, for the same reason. */
@keyframes jb-draw { from { stroke-dashoffset: 210; } to { stroke-dashoffset: 0; } }
@keyframes jb-sweep {
  0%   { transform: translateX(-108%) scale(.82); opacity: 0; }
  22%  { opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}
@keyframes jb-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .jobs .jb-hero-arch path { stroke-dasharray: 210; animation: jb-draw .9s var(--jb-ease) both; }
  .jobs .jb-spot { animation: jb-sweep 1.5s var(--jb-ease) .55s both; }
  .jobs .jb-panel.is-swapped { animation: jb-rise .22s var(--jb-ease) both; }
}

/* Final state, no movement at all.
   Durations, not "none". An animation turned off outright falls back to its
   first frame, and jb-draw's first frame is an undrawn arch, so switching it
   off would hide the hero's arch from exactly the people this is for. A 1ms
   duration with the fill it already has lands on the last frame instead.
   The blanket rule covers the transitions too, including any added later. */
@media (prefers-reduced-motion: reduce) {
  .jobs *,
  .jobs *::before,
  .jobs *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

/* Print: the arch, the light and the chrome come off; the words stay. */
@media print {
  .jobs .jb-spot, .jobs .jb-hero-arch, .jobs .jb-tabs, .jobs .jb-apply-row, .jobs .jb-applyside, .jobs .jb-form { display: none; }
  .jobs .jb-panel[hidden] { display: block; }
}
