/* BotPartners site styles. Hand-written.
   Direction A "Boardroom": Matte Black leads (about 60%), Storm Grey bands (30%), Safety Orange (10%),
   Paper White for text and for the one document sheet. The four colours are the BotBoys palette:
   every other tone is a color-mix() of them. Do not add new colours.
   Orange has four jobs and no others: actions, the "with the bot" proof cells, done marks, the line. */
:root {
  --storm: #5A6068; --black: #1C1D20; --orange: #FF5F00; --paper: #F2F3F5;
  --panel: color-mix(in srgb, var(--storm) 40%, var(--black));
  --mute: color-mix(in srgb, var(--paper) 74%, var(--black));
  --dim: color-mix(in srgb, var(--paper) 52%, var(--black));
  --on-storm: color-mix(in srgb, var(--paper) 92%, var(--storm));
  --rule: color-mix(in srgb, var(--paper) 16%, transparent);
  --rule-ink: color-mix(in srgb, var(--black) 14%, transparent);
  --ink-mute: color-mix(in srgb, var(--black) 78%, var(--paper));
  --display: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gut: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --r: 6px;
  --r-btn: 4px;
  --nav-h: 72px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--paper); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 2px; }
.sheet :focus-visible { outline-color: var(--black); }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); color: var(--black); padding: 10px 14px; border-radius: var(--r-btn); z-index: 30; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow { font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.title { font: 700 clamp(30px, 3.9vw, 54px)/1.06 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.title--xl { font-size: clamp(34px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
.title--xl span { color: var(--dim); display: block; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--mute); max-width: 36em; }
.lead--on-storm { color: var(--on-storm); }
.fine { font: 400 12.5px/1.4 var(--mono); color: var(--dim); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 20px; border: 0; border-radius: var(--r-btn); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color 160ms var(--ease); }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 52px; padding: 16px 26px; font-size: 16px; }
.btn--orange { background: var(--orange); color: var(--black); }
.link { font: 500 16px/1.2 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); transition: text-decoration-color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn--orange:hover { background: color-mix(in srgb, var(--orange) 86%, var(--paper)); }
  .link:hover { text-decoration-color: currentColor; }
  .nav__links a:hover, .foot__links a:hover { color: var(--paper); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.dot, .ring { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot { background: var(--orange); }
.ring { border: 3px solid currentColor; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--black); border-bottom: 1px solid var(--rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand__mark { width: 40px; height: 37px; flex: none; }
.brand__word { font: 700 22px/1 var(--display); letter-spacing: -.02em; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav__links a { font: 500 15px/1 var(--sans); color: var(--mute); text-decoration: none; padding-block: 14px; transition: color 160ms var(--ease); }
@media (max-width: 899px) { .nav__links { display: none; } }
@media (max-width: 420px) { .nav__cta { padding-inline: 14px; } .brand__word { font-size: 20px; } .brand__mark { width: 34px; height: 31px; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 104px); }
.hero__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.06fr .94fr; } }
.hero__copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero__title { font: 700 clamp(40px, 4.9vw, 70px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.nb { white-space: nowrap; }

.report { background: var(--panel); border-radius: var(--r); padding: clamp(20px, 2.4vw, 32px); min-width: 0; }
.report__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.report__rows { position: relative; }
.report__rows::before { content: ""; position: absolute; left: 5.5px; top: 34px; bottom: 34px; width: 3px; border-radius: 3px; background: var(--orange); }
.report__rows li { position: relative; display: grid; grid-template-columns: 30px 58px 1fr; align-items: center; min-height: 68px; padding-block: 12px; border-bottom: 1px solid color-mix(in srgb, var(--paper) 10%, transparent); }
.report__rows li:last-child { border-bottom: 0; }
.report__rows .ring { background: var(--panel); color: var(--on-storm); }
.report__rows time { font: 400 13.5px/1 var(--mono); color: var(--mute); }
.report__rows p { font-size: 16px; line-height: 1.4; }
.report__rows strong { font-weight: 500; color: var(--orange); }
.report .fine { padding-top: 14px; }

.trio { display: grid; gap: 28px clamp(28px, 4vw, 64px); margin-top: clamp(48px, 7vw, 104px); padding-block: clamp(28px, 3.2vw, 44px); border-top: 1px solid var(--rule); }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio h2 { font: 600 21px/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 8px; }
.trio p { font-size: 16px; color: var(--mute); max-width: 30em; }

/* ---------- bands ---------- */
.band { padding-block: clamp(72px, 9vw, 132px); }
.band--storm { background: var(--storm); }
.band--ruled { border-top: 1px solid var(--rule); }
.plain { min-height: 60vh; }
.plain .wrap { display: flex; flex-direction: column; gap: 24px; }
.head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(36px, 4.6vw, 64px); }
@media (min-width: 1000px) {
  .head--split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
}

/* ---------- how it runs: the line ---------- */
.linepanel { background: var(--black); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); }
.linepanel__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.line { margin-top: 28px; }
.line__bot { display: block; width: 64px; height: 59px; color: var(--paper); }
.line__stops { position: relative; display: grid; row-gap: 30px; padding-block: 22px; }
.line__stops::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: var(--orange); }
.line__stops li { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; }
.line__stops b { grid-column: 2; grid-row: 1; font: 600 19px/1.2 var(--display); letter-spacing: -.01em; }
.line__stops i { grid-column: 1; grid-row: 1; justify-self: center; margin-top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--black); }
.line__stops small { grid-column: 2; grid-row: 2; margin-top: 4px; font: 400 13px/1.45 var(--mono); color: var(--mute); }
.line__stamp { display: inline-block; margin-top: 14px; padding: 10px 14px; border: 3px solid var(--orange); border-radius: 5px; background: var(--black); color: var(--orange); font: 700 18px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-4deg); }
@media (min-width: 1000px) {
  .line { display: grid; grid-template-columns: 84px 1fr auto; column-gap: 20px; align-items: start; margin-top: 36px; padding-bottom: 12px; }
  .line__bot { width: 84px; height: 77px; margin-top: 21px; }
  .line__stops { grid-template-columns: repeat(4, 1fr); row-gap: 0; padding-block: 0; }
  .line__stops::before { left: -24px; right: -24px; top: 63px; bottom: auto; width: auto; height: 4px; }
  .line__stops li { grid-template-columns: 1fr; grid-template-rows: 56px 18px auto; column-gap: 0; justify-items: center; text-align: center; padding-inline: 8px; }
  .line__stops b { grid-column: 1; grid-row: 1; align-self: center; }
  .line__stops i { grid-column: 1; grid-row: 2; margin-top: 0; }
  .line__stops small { grid-column: 1; grid-row: 3; margin-top: 14px; max-width: 15em; }
  .line__stamp { position: relative; margin-top: 43px; }
}
/* The draw: only when scripting is on and motion is welcome. Without either, the line is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .js .line__stops::before { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease); }
  .js .line__stamp { opacity: 0; transition: opacity 400ms var(--ease) 900ms; }
  .js .is-in .line__stops::before { clip-path: inset(0); }
  .js .is-in .line__stamp { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
  .js .line__stops::before { clip-path: inset(0 100% 0 0); }
  .js .is-in .line__stops::before { clip-path: inset(0); }
}

.steps { display: grid; gap: 32px clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--paper) 34%, transparent); min-width: 0; }
.steps__n { font: 500 13px/1 var(--mono); color: var(--on-storm); }
.steps h3 { font: 600 21px/1.2 var(--display); letter-spacing: -.01em; }
.steps p { font-size: 16px; color: var(--on-storm); }

/* ---------- controls: the sheet ---------- */
.sheet { background: var(--paper); color: var(--black); border-radius: var(--r); padding: clamp(8px, 1.6vw, 20px) clamp(18px, 2.8vw, 40px) clamp(12px, 1.8vw, 24px); }
.who { width: 100%; border-collapse: collapse; font-size: 17px; }
.who caption { caption-side: top; text-align: left; padding-block: 14px 6px; font: 500 12.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.who th, .who td { text-align: left; vertical-align: middle; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule-ink); }
.who thead th { font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); padding-block: 12px; border-bottom: 2px solid var(--black); }
.who tbody th { font: 600 18px/1.3 var(--display); letter-spacing: -.005em; width: 44%; }
.who tbody tr:last-child th, .who tbody tr:last-child td { border-bottom: 0; }
.who td { font-weight: 500; }
.who td .dot, .who td .ring { margin-right: 10px; vertical-align: -1px; }
.who .quiet { color: var(--ink-mute); font-weight: 400; }
@media (max-width: 719px) {
  .who thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .who, .who tbody, .who tr, .who th, .who td { display: block; width: auto; }
  .who tbody th { width: auto; padding: 18px 0 8px; border-bottom: 0; }
  .who td { display: grid; grid-template-columns: 6.2em 1fr; align-items: baseline; padding: 4px 0; border-bottom: 0; font-size: 16px; }
  .who td::before { content: attr(data-label); grid-column: 1; grid-row: 1; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
  .who td .dot, .who td .ring { display: none; }
  .who tbody tr { padding-bottom: 14px; border-bottom: 1px solid var(--rule-ink); }
  .who tbody tr:last-child { border-bottom: 0; }
}

.notes { display: grid; gap: 28px clamp(28px, 4vw, 64px); margin-top: clamp(36px, 4.4vw, 60px); }
@media (min-width: 800px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.notes h3 { font: 600 21px/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 8px; }
.notes p { font-size: 16px; color: var(--mute); max-width: 30em; }

/* ---------- jobs ---------- */
.jobs li { display: grid; gap: 10px clamp(24px, 4vw, 64px); padding-block: 26px; border-top: 1px solid var(--rule); }
.jobs li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .jobs li { grid-template-columns: 1fr 1.5fr 1.1fr; align-items: baseline; } }
.jobs h3 { font: 600 clamp(22px, 2.1vw, 28px)/1.15 var(--display); letter-spacing: -.015em; }
.jobs p { font-size: 16.5px; color: var(--mute); }
.jobs__asks span { display: block; margin-bottom: 4px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

/* ---------- proof ---------- */
.proof { display: grid; gap: 16px; }
.proof__row { display: grid; gap: 12px; }
@media (min-width: 900px) { .proof__row { grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: stretch; } }
.proof__job { font: 500 clamp(18px, 1.6vw, 21px)/1.4 var(--sans); padding: 6px 24px 6px 0; align-self: center; max-width: 26em; }
.proof__cell { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 148px; padding: 22px 24px; border-radius: var(--r); background: var(--black); }
.proof__cell span { font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.proof__cell b { font: 700 clamp(26px, 2.9vw, 40px)/1.05 var(--display); letter-spacing: -.025em; }
.proof__cell--bot { background: var(--orange); color: var(--black); }
.proof__cell--bot span { color: var(--black); }
.proof__label { margin-top: 28px; font-size: 15.5px; color: var(--on-storm); max-width: 46em; }

/* ---------- briefing ---------- */
.brief { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .brief { grid-template-columns: 1fr 1.05fr; } }
.brief__copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.next { counter-reset: n; margin-top: 10px; border-top: 1px solid var(--rule); }
.next li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 16.5px; }
.next li::before { content: "0" counter(n); font: 500 13px/1 var(--mono); color: var(--dim); }
.form { display: grid; gap: 18px 16px; background: var(--panel); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); min-width: 0; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; } .field--wide, .form__foot { grid-column: 1 / -1; } }
.form__trap { position: absolute; left: -9999px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field span { font: 500 14px/1.3 var(--sans); color: var(--on-storm); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); border-radius: var(--r-btn); background: var(--black); color: var(--paper); font: 400 16px/1.45 var(--sans); }
.field textarea { resize: vertical; }
.field ::placeholder { color: var(--dim); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--paper); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form__note { font-size: 15px; color: var(--on-storm); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); padding-block: 48px 28px; }
.foot__in { display: grid; gap: 28px clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot__brand p { margin-top: 12px; font-size: 15.5px; color: var(--mute); }
.foot__links { display: grid; gap: 4px; justify-items: start; }
.foot__links a { font-size: 15.5px; color: var(--mute); text-decoration: none; padding-block: 8px; transition: color 160ms var(--ease); }
.foot__family { font-size: 15.5px; color: var(--mute); }
.foot__family a { color: var(--paper); text-underline-offset: 4px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--dim); }
.foot__base a { color: var(--mute); text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ================= added for the full site (17 Nov 2026) ================= */
.defs { position: absolute; }
.bot-eye { fill: var(--bot-eye, #1C1D20); }
.brand__mark, .line__bot { color: var(--paper); }

/* Second text colour and rule colour follow the ground they sit on. */
.band, .phero, .hero { --t2: var(--mute); --ln: var(--rule); }
.band--storm { --t2: var(--on-storm); --ln: color-mix(in srgb, var(--paper) 34%, transparent); }
.band--storm .lead { color: var(--on-storm); }
.more { margin-top: clamp(28px, 3.4vw, 44px); }

/* ---------- nav: current page, phone menu ---------- */
.nav__links a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--orange); }
.nav__end { display: flex; align-items: center; gap: 12px; }
.nav__menu { display: none; min-height: 44px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); border-radius: var(--r-btn); background: transparent; color: var(--paper); font: 600 15px/1 var(--sans); cursor: pointer; transition: transform 160ms var(--ease); }
.nav__menu:active { transform: scale(.97); }
@media (max-width: 899px) { .nav__menu { display: inline-flex; align-items: center; } }
@media (max-width: 479px) { .nav__cta { display: none; } }
@media (max-width: 559px) { .nav__cta { padding-inline: 14px; } }
.menu { position: fixed; inset: calc(var(--nav-h) + 1px) 0 0 0; z-index: 19; background: var(--black); overflow-y: auto; padding-block: 12px 40px; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a:not(.btn) { padding-block: 18px; border-bottom: 1px solid var(--rule); font: 600 26px/1.15 var(--display); letter-spacing: -.02em; color: var(--paper); text-decoration: none; }
.menu__links a[aria-current="page"]:not(.btn) { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
.menu__cta { margin-top: 28px; align-self: flex-start; }
@media (min-width: 900px) { .menu { display: none; } }

/* ---------- inner page hero ---------- */
.phero { padding-block: clamp(56px, 8vw, 116px) clamp(44px, 5.5vw, 80px); border-bottom: 1px solid var(--rule); }
.phero--flush { border-bottom: 0; padding-bottom: 0; }
.phero .wrap { display: flex; flex-direction: column; gap: 24px; }
.phero .title--xl { max-width: 15em; }

/* ---------- split sections and row lists ---------- */
.split { display: grid; gap: 32px clamp(40px, 6vw, 104px); align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: .82fr 1.18fr; } .split__head { position: sticky; top: calc(var(--nav-h) + 32px); } }
.split__head { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rows { min-width: 0; }
.rows li { display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; align-items: baseline; padding-block: 24px; border-top: 1px solid var(--ln); }
.rows li:last-child { border-bottom: 1px solid var(--ln); }
.rows--plain li { grid-template-columns: 1fr; }
.rows__n { font: 500 13px/1 var(--mono); color: var(--t2); }
.rows h3 { font: 600 clamp(20px, 1.7vw, 23px)/1.25 var(--display); letter-spacing: -.01em; }
.rows p { margin-top: 8px; font-size: 16.5px; color: var(--t2); max-width: 36em; }
.rows .link { font-size: inherit; }
.prose { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- questions ---------- */
.qas { min-width: 0; }
.qa { border-bottom: 1px solid var(--ln); }
.qa:first-child { border-top: 1px solid var(--ln); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font: 600 clamp(19px, 1.6vw, 23px)/1.25 var(--display); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 28px; text-align: center; font: 400 26px/1 var(--mono); color: var(--t2); transition: rotate 200ms var(--ease), color 200ms var(--ease); }
.qa[open] summary::after { rotate: 45deg; color: var(--orange); }
.qa__a p { padding-bottom: 24px; font-size: 16.5px; color: var(--t2); max-width: 36em; }

/* ---------- job cards with an example exchange ---------- */
.jobcards { display: grid; }
.job { display: grid; gap: 28px clamp(32px, 5vw, 80px); padding-block: clamp(36px, 4.4vw, 60px); border-top: 1px solid var(--rule); align-items: start; }
.job:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1000px) { .job { grid-template-columns: 1.25fr .75fr; } }
.job__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.job__facts { display: grid; gap: 0; margin: 10px 0 0; }
.job__facts div { display: grid; gap: 4px 24px; padding-block: 16px; border-top: 1px solid var(--rule); }
@media (min-width: 640px) { .job__facts div { grid-template-columns: 11em 1fr; } }
.job__facts dt { font: 500 12.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.job__facts dd { margin: 0; font-size: 16.5px; color: var(--mute); max-width: 36em; }
.ex { display: grid; gap: 12px; background: var(--panel); border-radius: var(--r); padding: clamp(18px, 2vw, 26px); }
.ex__label { font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.ex__bot, .ex__you { max-width: 24em; padding: 12px 15px; font-size: 16px; line-height: 1.45; }
.ex__bot { justify-self: start; background: var(--black); border-radius: 8px 8px 8px 2px; }
.ex__you { justify-self: end; background: var(--paper); color: var(--black); border-radius: 8px 8px 2px 8px; }
.jobcards > .fine { padding-top: 8px; }

/* ---------- closing band ---------- */
.close__in { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- controls not covered above ---------- */
.btn--line { background: transparent; color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover, .nav__menu:hover { border-color: var(--paper); }
  .menu__links a:not(.btn):hover { color: var(--orange); }
}

/* ---------- cookie notice ---------- */
.cookies { position: fixed; z-index: 30; left: var(--gut); bottom: 16px; width: min(440px, 100% - 2 * var(--gut)); display: grid; gap: 14px; padding: 18px 20px; background: var(--panel); color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); border-radius: var(--r); }
.cookies__text { font-size: 15px; line-height: 1.45; }
.cookies__text a { text-underline-offset: 4px; }
.cookies__actions { display: flex; gap: 10px; }

/* ---------- footer columns ---------- */
.foot__links h2 { margin-bottom: 8px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.foot__links .foot__family { margin-top: 14px; max-width: 22em; }

/* ---------- fixes after first review ---------- */
@media (max-width: 719px) { .who caption { display: block; padding-block: 14px 2px; } }
.foot__base { position: relative; border-top: 0; }
.foot__base::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 0; height: 1px; background: var(--rule); }

/* ---------- audit fixes (17 Nov 2026) ---------- */
/* heading sizes in order: h1 always the largest thing on its page */
.title { font-size: clamp(26px, 3.9vw, 54px); }
.title--xl { font-size: clamp(36px, 5.2vw, 76px); }
.title--duo span { color: var(--dim); display: block; }
.rows__h { margin: 0; font: 600 clamp(20px, 1.7vw, 23px)/1.25 var(--display); letter-spacing: -.01em; color: var(--paper); }
.rows p.rows__h { margin-top: 0; font-size: clamp(20px, 1.7vw, 23px); color: var(--paper); }
@media (min-width: 1000px) { .head--split { align-items: start; } }
@media (max-width: 419px) { .eyebrow { font-size: 12px; letter-spacing: .06em; } }
.jobs h3 a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .jobs h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; } }

/* contrast on the panel tone */
.report .fine { color: var(--mute); }
.report__rows strong { font: 700 19px/1.3 var(--display); letter-spacing: -.005em; }
.field input, .field textarea { border-color: color-mix(in srgb, var(--paper) 55%, transparent); }

/* who-does-what table: fixed columns, markers in their own gutter */
@media (min-width: 720px) {
  .who { table-layout: fixed; }
  .who thead th:first-child, .who tbody th { width: 40%; }
  .who thead th:nth-child(2) { width: 27%; }
  .who thead th:nth-child(2), .who td:nth-child(2) { padding-left: 26px; }
  .who td:nth-child(2) { position: relative; }
  .who td .dot, .who td .ring { position: absolute; left: 0; top: 50%; translate: 0 -50%; margin: 0; }
}

/* briefing page: the form comes first on phones */
.phero--flush + .band { padding-top: clamp(32px, 4vw, 56px); }
@media (min-width: 1000px) { .brief--form-first .form { order: 2; } }
.form__privacy { flex-basis: 100%; font-size: 14px; color: var(--on-storm); }
.form__privacy a { text-underline-offset: 4px; }

/* tap targets */
.brand { min-height: 44px; }
.foot__links a { padding-block: 10px; }
.foot__base a, .more .link, .actions .link { display: inline-block; padding-block: 12px; }

/* cookie notice: a slim bar on phones so it never covers the main button */
@media (max-width: 559px) {
  .cookies { left: 0; right: 0; bottom: 0; width: auto; border-radius: 0; border-width: 1px 0 0; padding: 12px var(--gut); grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .cookies__text { font-size: 14px; }
  .cookies__actions .btn { min-height: 44px; padding-inline: 14px; }
}
