/*
Theme Name: Verifera
Theme URI: https://verifera.co.uk
Description: Custom theme for Verifera — specialist UK recruitment, verified at source. Confident-minimalist, type-led, built lean for Core Web Vitals.
Author: Verifera
Version: 0.1.0
Requires PHP: 8.1
Text Domain: verifera
*/

/* ============================ TOKENS ============================ */
/*
 * PHASE 3 — 2026-08-11. The primitives below are the swap this section's own
 * comment anticipated ("Phase 3 leaves these names, swaps the primitives").
 * Operator ruling, same date: keep --c-navy exactly as-is — confirmed the
 * identical hex on camdenmedicals.co.uk, a real shared brand asset, not a
 * per-brand accent — and push everything built on top of it. Camden pairs
 * navy with gold + cream + a serif; Verifera now pairs the SAME navy with
 * nothing but its own tonal range (no second hue), a cool neutral ground,
 * and a confident sans display face — precision over ornament, opposite
 * strategy on the same anchor. Full writeup + before/after mockups:
 * camden memory camden/verifera_visual_identity_and_content_audit_2026_08_11.md.
 *
 * PHASE 3.6 — 2026-08-16. Phase 3.5 did not hold: the operator's verdict five
 * days later was still "stale aesthetically … bland monotone colour (only the
 * bee badge is quite exciting)". Measured, that verdict was exact — the honey
 * ramp 3.5 added reached 0.26% of the homepage's weighted surface at ranks 16
 * and 18, while the largest non-white surface was #E8EAEE grey at 32%.
 * 3.6 does not add a third correction on top; it goes back to the LOCKED brand
 * pack (commerce/brand/_proposals/verifera-bee-mark-2026-07-19/pack-final/) and
 * takes the ground and the accent FROM it. Two of the three colours that pack
 * locks — cream and the ring bevel — had been reasoned away rather than looked
 * up. Details at the two primitives blocks below; what Phase 3 got RIGHT (the
 * sans display face, the .trust ledger, the .cta-band grid) is untouched, and
 * it is the part that was actually carrying the divergence.
 *
 * PHASE 3.5 — same date, pm. Operator verdict on the pure-tonal result: "bland
 * and stale — the best part is literally just the logo." The correction is not
 * a new colour: the seal/bee artwork's own bronze-honey ramp joins the tokens
 * (micro-dose: the kickers + one hover), with hexes chosen to stay OFF Camden's
 * gold steps (--cm-gold #FFB300 · gold-text #7B6000 · hover #e6a200). Sibling
 * brands share the warm family the way they already share the navy; divergence
 * is carried by ground + type + dose, not by refusing the family's second hue.
 * Comparator evidence + contrast maths: §1e of the same memory doc.
 */
/* The Verifera website palette (web.light / web.dark) and the per-market flag threads: GENERATED from packages/core/src/Design/tokens.json. The semantic aliases further down read these (--w-*); no palette hex is typed beside them. */
/* BEGIN GENERATED web tokens: packages/core/bin/build_tokens.py */
:root{
  --w-ground:#F8F7F3;
  --w-surface:#FFFFFF;
  --w-tint:#F0EDE6;
  --w-line:#E7E4DC;
  --w-edge:#8E887B;
  --w-ink:#16171B;
  --w-ink-soft:#45443F;
  --w-muted:#68645B;
  --w-placeholder:#68645B;
  --w-link:#061645;
  --w-action:#061645;
  --w-on-action:#FFFFFF;
  --w-action-hover:#0B2160;
  --w-kicker:#6B4A00;
  --w-gold:#FFB300;
  --w-gold-wash:#FFF4D6;
  --w-focus:#061645;
  --w-footer:#FFFFFF;
  --w-footer-ink:#45443F;
  --w-footer-head:#16171B;
  --w-footer-line:#E7E4DC;
  --w-legal-ink:#68645B;
  --w-header:#FFFFFF;
  --w-header-line:#E7E4DC;
  --w-featured-edge:#FFB300;
  --w-card-edge:#EDEAE3;
  --w-sector-health:#009389;
  --w-sector-industry:#D85D35;
  --w-sector-business:#4467B3;
  --w-sector-public:#973D80;
  --w-footer-link:#061645;
  --w-thread-uk:linear-gradient(90deg,#F19C8F 0%,#F19C8F 50%,#9CB5ED 50%,#9CB5ED 100%);
  --w-thread-us:linear-gradient(90deg,#E99DAB 0%,#E99DAB 50%,#A4B8D0 50%,#A4B8D0 100%);
  --w-thread-nl:linear-gradient(90deg,#E9A099 0%,#E9A099 33%,#A0B7DB 33%,#A0B7DB 66%,#E8A385 66%,#E8A385 100%);
  --w-thread-pt:linear-gradient(90deg,#9AC1A5 0%,#9AC1A5 33%,#F19C8E 33%,#F19C8E 66%,#C7B674 66%,#C7B674 100%);
}
:root[data-theme="dark"]{
  --w-ground:#0F1115;
  --w-header:#171A1F;
  --w-header-line:#262A31;
  --w-surface:#1D2028;
  --w-ink:#ECEEF2;
  --w-ink-soft:#B4BBC8;
  --w-muted:#959DAC;
  --w-line:#2B2F38;
  --w-edge:#6B7385;
  --w-placeholder:#959DAC;
  --w-gold:#FFB300;
  --w-footer:#15181D;
  --w-sector-health:#49E9EF;
  --w-sector-industry:#FFB9A2;
  --w-sector-business:#82A6FE;
  --w-sector-public:#D27DAF;
  --w-footer-ink:#B4BBC8;
  --w-footer-head:#ECEEF2;
  --w-footer-line:#262A31;
  --w-legal-ink:#959DAC;
  --w-link:#FFB300;
  --w-action:#FFB300;
  --w-on-action:#061645;
  --w-action-hover:#FFC233;
  --w-kicker:#FFCA4D;
  --w-focus:#FFB300;
  --w-tint:#181B21;
  --w-gold-wash:#2A2414;
  --w-featured-edge:#FFB300;
  --w-card-edge:#262A32;
  --w-footer-link:#ECEEF2;
  --w-thread-uk:linear-gradient(90deg,#DC7D6F 0%,#DC7D6F 50%,#7C9ADE 50%,#7C9ADE 100%);
  --w-thread-us:linear-gradient(90deg,#D77C8F 0%,#D77C8F 50%,#869DBB 50%,#869DBB 100%);
  --w-thread-nl:linear-gradient(90deg,#D77F79 0%,#D77F79 33%,#819DC7 33%,#819DC7 66%,#D6835E 66%,#D6835E 100%);
  --w-thread-pt:linear-gradient(90deg,#79A987 0%,#79A987 33%,#DC7D6F 33%,#DC7D6F 66%,#B09B45 66%,#B09B45 100%);
}
body.vf-m-uk{--w-thread:var(--w-thread-uk)}
body.vf-m-us{--w-thread:var(--w-thread-us)}
body.vf-m-nl{--w-thread:var(--w-thread-nl)}
body.vf-m-pt{--w-thread:var(--w-thread-pt)}
/* END GENERATED web */
:root{
  /* ---- PRIMITIVES — the ONLY place raw hex lives. ---- */
  /* BEGIN GENERATED site tokens: packages/core/bin/build_tokens.py */
  --c-ink:#16171B;
  --c-navy:#061645;
  --c-navy-soft:#E8ECF7;
  --c-paper:#FFFFFF;
  --c-honey-bright:#FFD873;
  --radius-sm:7px;
  --radius:10px;
  /* END GENERATED */
  /* --c-navy* are the shared brand navy, do not touch; the palette values below are owned by packages/core/src/Design/tokens.json (group site) */
  --c-honey:#9D6722;
  /* PHASE 3.6 — the honey ramp is now the LOCKED RING BEVEL, and the previous
     ramp is withdrawn because its provenance did not survive checking.
     Phase 3.5 described #B86E00/#FFD060 as "lifted from the commissioned
     artwork (assets/brand/bees + seal)". Counted per file, 2026-08-16:
     #B86E00 appears 36/54/36 times across bees/bee-mellifera-{worker,queen,
     drone}.svg and ZERO times in seal-mono-navy.svg. Those plates are the
     parametric caste drawings the operator identified on sight as never
     approved (see assets/brand/bees/README.md) — so the site's accent hue was
     sampled from retired art, one layer below the same defect that put the
     wrong bee in a mockup.
     What replaces it is not a new hue, it is the bevel the brand pack already
     locked: #FFD873 → #E3A72B → #9D6722 (pack-final/README.md, 2026-07-19).
     #9D6722 is present in seal-mono-navy.svg, which is byte-identical to the
     pack's own element/seal-mono-navy.svg — so this ramp is checkable against
     a file, not against a description of one.
       --c-honey        #9D6722  bevel dark; CTA/surface fill (white label 4.78:1)
       --c-honey-bright #FFD873  bevel light; 12.68:1 on navy, the on-ink eyebrow
     The bevel's MID step #E3A72B is deliberately NOT declared: nothing consumes it,
     and it is 2.14:1 on white so nothing text-bearing ever could. Declaring it would
     put a third dead token in this file — see the note on .section below for what
     that costs. It is recorded here so the ramp stays legible, not as a control.
     Gold #FFB300 is still deliberately excluded: the brand pack names it for
     BOTH brands, so it is shared like the navy and cannot carry divergence.
     The bevel is Verifera's alone. */
  /* --c-ink --c-paper: generated above (warmed to sit on cream; THE LOCKED CREAM FIELD, white = cards only) */
  /* PHASE 3.6 — cream is restored because it is Verifera's own, not Camden's.
     Phase 3 (#369) retired it on a reading of this file's own comment, "Camden
     editorial identity (navy/gold/cream)", and concluded the palette was a
     template copy. The brand pack locked five weeks EARLIER names the same
     three: "Navy #061645 · Gold #FFB300 · Cream field #F6F4ED"
     (pack-final/README.md, 2026-07-19). Cream was never borrowed; it is one of
     three colours the identity has.
     Measured rather than assumed, 2026-08-16:
       - camdenmedicals.co.uk runs #FAF7F2/#F8F7F4, NOT #F6F4ED. Different
         creams — but only 1.03:1 apart, so this token is honestly NOT where
         the two brands separate, and it was never doing that work.
       - what DID read as Camden was the display face. Camden's h1 is Cormorant
         Garamond live; Verifera's was too. Phase 3's third move — serif → sans —
         is the one that actually broke the resemblance, and it STAYS.
       - Hays runs a warm cream ground at 47% of its homepage. Retiring cream
         did not move Verifera away from Camden so much as away from the whole
         premium category, into the #E8EAEE grey the operator called "stale…
         bland monotone" on 2026-08-15.
     Divergence is carried by type, image strategy (one illustrated bee here vs
     20 photographs there), mono texture and composition — never by desaturation.
     Every pair above is re-checked at the size it renders; all pass WCAG 2.2 AA. */
  --c-ok:#2F6B4F; --c-ok-soft:#E7F1EC; --c-warn:#6B4A00;           /* verified green — semantic, not brand; unchanged */
  --c-pending:#5E6B7A; --c-pending-soft:#E1E5EA;                   /* pending/unverified — grey-blue, NEVER red; unchanged */
  --c-flag:#B3261E; --c-flag-soft:#FBEBEA;                         /* fraud/integrity flag ONLY (firewalled red); unchanged */
  --c-ink-invert:#EDEAE0;                                          /* text on navy — warm again, matching the cream ground it alternates with (14.44:1 on navy) */
  --c-on-dark-muted:#ABB4C4; --c-on-dark-kicker:var(--c-honey-bright);  /* on-navy muted + light honey eyebrow: read by the Trustpilot invite band (verifera-trustpilot/assets/invite-band.css), which is navy in both modes */
  --f-display:"Helvetica Neue","Arial",sans-serif;                 /* was Cormorant Garamond — see the .brand override below, which keeps the WORDMARK serif on purpose */
  --f-body:"DM Sans","Helvetica Neue",Arial,sans-serif;            /* UNCHANGED — shared with Camden on purpose: a workhorse reading face carries no brand signal, so forking it buys nothing */
  --f-mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;           /* UNCHANGED — already Verifera's own texture (job-card employer labels, chips); leaned into harder below */

  /* ---- SEMANTIC ALIASES — reference these everywhere (Phase 3 leaves these names, swaps the primitives) ---- */
  /* FINAL DESIGN (operator 2026-11-12): every colour role below reads the generated web.* tokens (--w-*, top of this file), which flip with the theme. */
  --ink:var(--w-ink); --ink-soft:var(--w-ink-soft); --muted:var(--w-muted);
  --line:var(--w-line); --line-2:var(--w-line);
  --paper:var(--w-ground); --paper-2:var(--w-tint); --paper-3:var(--w-tint); --surface:var(--w-surface);
  --brand:var(--w-link); --brand-ink:var(--w-action-hover); --brand-soft:var(--w-tint);
  --accent:var(--c-honey); --accent-text:var(--w-kicker); --accent-pale:var(--w-gold-wash);
  --field-edge:var(--w-edge); --card-edge:var(--w-card-edge);  /* Phase 3.5 — bronze micro-accent (provenance + AA maths at the honey primitives above); Phase 3's "no second hue" over-shot */
  --ok:var(--c-ok); --ok-soft:var(--c-ok-soft); --warn:var(--c-warn);
  /* Dark-mode seams (2026-10-30): the primary-button fill and its label, the header glass, and the surface (cards, inputs) were typed #fff / var(--brand) in places; they are tokens now so the dark palette below can swap them. Light values are the previous literals, byte for byte. */
  --brand-fill:var(--w-action); --brand-fill-hover:var(--w-action-hover); --on-brand:var(--w-on-action);
  --focus-ring:rgba(6,22,69,.1);
  --shadow-card:0 1px 2px rgba(22,23,27,.05), 0 6px 20px rgba(22,23,27,.07);
  /* Band seams (2026-10-30): the footer, the .ink section and the CTA band were typed var(--c-navy). The dark ground IS that
     navy, so in dark they would vanish into the page; these tokens let the dark palette lift them. Light values = navy, unchanged.
     --plate is the light backing a third-party widget that only ships a light skin (Trustpilot) needs on a dark ground. */
  --band:var(--w-surface); --band-raised:var(--w-surface); --band-edge:var(--w-featured-edge); --plate:transparent; --plate-pad:0;
  color-scheme:light;
  --font-display:var(--f-display); --font-body:var(--f-body); --font-mono:var(--f-mono);

  /* ---- SCALES ---- */
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem; --space-5:1.5rem;
  --space-6:2rem; --space-8:3rem; --space-10:4rem; --space-12:6rem; --space-16:8rem;
  /* 84 -> 72. Not a length trim: the type scale above came down 26% in this same
     pass, and spacing that does not move with it stops being rhythm and becomes a
     gap. A design system scales both or neither — 84px was tuned against a 70px
     headline and reads as a hole under a 52px one. */
  --section-y:72px; --gap-grid:26px;
  --radius-pill:9999px;
  --maxw:1160px; --container:1160px;
  --shadow:0 1px 2px rgba(20,24,31,.04), 0 8px 30px rgba(20,24,31,.06);
  --shadow-lg:0 20px 60px rgba(20,24,31,.12);
  --dur-fast:.12s; --dur-color:.15s; --dur-natural:.2s; --dur-reveal:.6s;
  --ease-fast:cubic-bezier(.4,0,.2,1); --ease-natural:cubic-bezier(.22,1,.36,1);
  --z-sticky:50; --z-dropdown:60; --z-overlay:200;
  /* fluid type — defined now (kept at current sizes for zero-diff); Phase 3 applies the editorial scale */
  /* PHASE 3.6 — a MODULAR scale, replacing sizes that were never designed. The note
     above says it: these were "kept at current sizes for zero-diff" in Phase 2 and
     Phase 3 never came back to apply the editorial scale it promised. Measured at
     1440px on 2026-08-16, the result was 70.4 / 46.4 / 21.1 / 17 / 14.7 / 11.8 / 11.5
     — a 2.2x chasm between the lead and the H2, and two sizes 0.3px apart doing
     different jobs. That gap IS the generated-layout signature: one dramatic hero
     size, one body size, nothing chosen in between.

     Peers, measured the same day, biggest adjacent jump in their whole homepage scale:
       Hays    H1 40px w300 @2327 viewport  -> 1.33x
       Indeed  no H1 at all, largest 24px   -> 1.50x
       Reed    H1 32px w700 @2560 viewport  -> 1.60x
     Verifera was 70.4px at a 1455 viewport: the largest headline of the four, on the
     narrowest screen, with the gappiest scale. Hays sets its H1 in a 380px column —
     best in class CONSTRAINS rather than fills.

     New chain at 1440px: 52 / 34 / 23 / 21.6 / 17 / 14.7 / 12.5 / 11.8, biggest jump
     1.53x — inside the peer band, and no hole. The floors move less than the ceilings
     because small screens were never the problem. */
  --text-h1:clamp(2.3rem, 1.7rem + 2.1vw, 3.25rem); --text-h2:clamp(1.6rem, 1.35rem + .9vw, 2.125rem);
  --text-h3:clamp(1.2rem, 1.1rem + .45vw, 1.44rem); --text-lead:clamp(1.12rem, 1.02rem + .35vw, 1.35rem);
}


/* ============================ DARK MODE ============================
   Dark is the generated web.dark graphite block (--w-*, top of this file); only status colours, shadows and the Trustpilot plate are set below.
   Device-follow is gated: the head script (inc/language-switcher.php) follows the device only when vf_dark_follow_device is '1'; this file holds one palette, no media-query twin. */
:root[data-theme="dark"]{
  color-scheme:dark;
  /* The palette is the generated web.dark graphite (--w-*, top of this file); only the non-palette seams are set here. */
  --c-ok:#22c55e; --c-ok-soft:rgba(34,197,94,.15); --c-warn:#f59e0b; --c-pending:#A8B4C4; --c-pending-soft:#222A35;
  --c-flag:#f87171; --c-flag-soft:rgba(220,38,38,.15);
  --focus-ring:rgba(255,179,0,.22);
  --shadow:0 2px 8px rgba(0,0,0,.30), 0 12px 32px rgba(0,0,0,.40); --shadow-lg:0 18px 44px rgba(0,0,0,.50);
  --shadow-card:0 1px 0 rgba(255,255,255,.04) inset, 0 6px 18px rgba(0,0,0,.35);
  --plate:var(--c-paper); --plate-pad:10px 12px;
}
/* The colour seal is a navy raster: on the dark ground it sits on a light disc so the ring and the bee still read. */
:root[data-theme="dark"] .site-header .brand .mark{background:var(--w-ink);border-radius:50%;padding:1px}
/* Theme toggle (header). Shows the moon in light mode and the sun in dark mode. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
  border:1px solid var(--line);background:transparent;color:var(--ink-soft);cursor:pointer;padding:0}
.theme-toggle:hover{color:var(--ink);border-color:var(--muted)}
.theme-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.theme-toggle .ti-sun{display:none}
:root[data-theme="dark"] .theme-toggle .ti-sun{display:block}
:root[data-theme="dark"] .theme-toggle .ti-moon{display:none}

/* ============================ RESET / BASE ============================ */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--paper);
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
.vf-i{width:1em;height:1em;display:inline-block;vertical-align:-.125em;flex:0 0 auto;stroke-width:1.75}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-ink)}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:800;color:var(--ink);line-height:1.12;letter-spacing:-.015em;margin:0 0 .4em}
/* was weight 600 — right for Cormorant Garamond's serif presence, reads weak
   in a grotesk. 800 + tighter tracking gives the sans headline the same
   confidence at a glance. */
h1{font-size:var(--text-h1);line-height:1.05}
h2{font-size:var(--text-h2)}
h3{font-size:var(--text-h3)}
p{margin:0 0 1rem}
.lead{font-size:var(--text-lead);line-height:1.55;color:var(--ink-soft)}
.muted{color:var(--muted)}
ul,ol{margin:0 0 1rem;padding-left:1.15rem}
li{margin-bottom:.35rem}
hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0}

/* ============================ LAYOUT ============================ */
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
/* ⚠ This hardcoded 84px, so --section-y was a DEAD TOKEN — declared in the scales
   block, referenced by nothing, and silently ignoring any change made to it. Found
   2026-08-16 by editing the token, rebuilding, and measuring: computed padding came
   back 84px unchanged. A token nothing consumes is worse than no token, because it
   reads as the control and absorbs the edit. Wired now. */
.section{padding:var(--section-y) 0}
.section.tight{padding:56px 0}
.section.paper-2{background:var(--paper-2)}
.grid{display:grid;gap:26px}
.g-2{grid-template-columns:repeat(2,1fr)}
.g-3{grid-template-columns:repeat(3,1fr)}
.g-4{grid-template-columns:repeat(4,1fr)}
.center{text-align:center}
.maxw-680{max-width:680px}
.mx-auto{margin-left:auto;margin-right:auto}

/* The eyebrow is the accent's ONE site-wide home: every page opens with the same
   chassis (breadcrumb → kicker → H1, enforced in functions.php), so this single
   declaration threads the seal's bronze through the whole site without touching
   a template. Was var(--brand) through Phase 3 — the light-ground kicker had
   been navy even before it, so this line is 3.5's one genuinely NEW move. */
.kicker{font-family:var(--font-mono);font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent-text);font-weight:600;margin-bottom:.7rem;display:inline-block}

/* ============================ THE BEE MARK ============================
   The canon bee, for "What will your next job be ·bee·" (archive-job.php, the line
   settled 2026-08-07 whose comment reserved this terminal position for "approved
   artwork"). That artwork is assets/brand/bee-canon.svg — the LOCKED seal's own bee
   (vp #125), extracted path-identical with fill="currentColor".

   ⚠ NOT assets/brand/bees/*.svg. Those are parametric caste plates that arrived in
   vp #217, a location-hubs PR, were never ratified as the mark, and the operator
   identified them on sight. See assets/brand/bees/README.md.

   MASK, NOT INLINE SVG — the reserved comment said inline, and this is the one place
   it is worth departing from: the path is ~13KB, so inlining puts 13KB of markup into
   every /jobs/ render for a 19px glyph, where a masked background is one cached file
   that recolours from currentColor for free.

   SIZE IS MEASURED, NOT CHOSEN. Rendered against the real 11.8px kicker at 1.2 / 1.6 /
   2.2 / 3em: 1.2em is a speck, 2.2em+ is legible but visibly out of scale with the line
   it sits in. 1.6em (~19px) is the only size that is both readable as a bee and
   proportionate to the type. Do not scale it up to "make the mark bigger" — that trade
   was tested and it loses.

   The @supports guard matters: `background:currentColor` WITHOUT a mask is a solid
   navy rectangle, so an unsupported mask must fall back to an empty box, never a block.
   Decorative by construction — the word "be" carries the meaning, so callers pass
   aria-hidden and nothing is lost when it does not paint. */
.vf-bee{display:inline-block;width:1.6em;height:1.6em;vertical-align:-.46em}
@supports ((-webkit-mask-image:url("#m")) or (mask-image:url("#m"))){
  .vf-bee{background:currentColor;
    -webkit-mask:url("assets/brand/bee-canon.svg") center/contain no-repeat;
            mask:url("assets/brand/bee-canon.svg") center/contain no-repeat}
}
/* THE SLOGAN EDITION — the mark set INTO the line, at text scale.
   ⚠ This replaced a 190px standalone .vf-bee-hero that shipped for about an hour
   on 2026-08-16. The operator's correction: "the bee does not need to be that big,
   just after the 'what will your next job be', same size as the font." The mark
   alone was never the approved design — the approved design is the mark landing on
   the pun, so its size is decided by the WORD it follows, not by the space available.

   1.4em, chosen by rendering 1 / 1.25 / 1.4 / 1.6em against the real headline —
   NOT by matching the font size arithmetically, which was the first attempt and came
   out visibly small. The reason is the pose: the bee flies corner-to-corner across
   its box, so at any horizontal band the ink is sparse and a 1em box reads nearer to
   x-height than cap-height. (It is not padding in the asset — the alpha bbox fills
   95.6% x 95.9% of the frame.) The base .vf-bee stays 1.6em for the 11.8px /jobs/
   kicker, where a bee at text size is an unreadable speck. Two contexts, two measured
   sizes, neither guessed.

   NO colour rule — it inherits currentColor, which is the ink of the line. Bronze and
   navy were both rendered at this size and both read as an ICON PLACED BESIDE the
   word. The bee is standing in for the letter the reader expected, so it belongs to
   the word: inking it like type is what makes the pun land rather than decorate it.
   Inheriting also means it recolours for free wherever the line goes (white on the
   navy band). To override anyway, add one `color:` — bronze is var(--accent-text). */
.vf-bee-lead{width:1.4em;height:1.4em;vertical-align:-.34em;margin-left:-.14em}

/* ============================ BUTTONS ============================ */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-body);font-weight:600;
  font-size:.98rem;padding:.8rem 1.4rem;border-radius:var(--radius-sm);border:1.5px solid transparent;
  cursor:pointer;transition:transform .12s ease,background .15s ease,border-color .15s ease,color .15s ease;
  line-height:1;text-align:center}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn:disabled,.btn[aria-disabled="true"],.btn.is-loading{opacity:.55;cursor:not-allowed;pointer-events:none}
[aria-busy="true"]{cursor:progress}
.empty-state{grid-column:1/-1;text-align:center;padding:56px 24px;border:1px dashed var(--line);border-radius:var(--radius-sm);background:var(--surface)}
.empty-state .empty-ic{width:2.2rem;height:2.2rem;color:var(--muted);margin-bottom:.5rem}
.empty-state h3{margin:.2rem 0}
.empty-state p{margin:0 0 1.1rem}
.btn-primary{background:var(--brand-fill);color:var(--on-brand)}
.btn-primary:hover{background:var(--brand-fill-hover);color:var(--on-brand)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}
.btn-light{background:var(--c-paper);color:var(--c-ink)}
.btn-light:hover{background:var(--c-paper);color:var(--c-navy)}
.btn-lg{padding:1rem 1.7rem;font-size:1.05rem}
.btn-row{display:flex;gap:12px;flex-wrap:wrap}

/* ============================ HEADER ============================ */
.site-header{position:sticky;top:0;z-index:50;background:var(--w-header);border-bottom:1px solid var(--w-header-line)}
/* The market flag thread: 3 px, the market's flag pastels (generated --w-thread-<market>; body.vf-m-<market> picks one). */
.site-header::before,.site-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--w-thread,var(--w-thread-uk));pointer-events:none}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:.33rem;/* 0.35·cap — locked bee-seal spec 2026-07-19 (cap≈.95rem at 1.32rem Cormorant; seal D=cap/0.62≈25px) */font-family:"Cormorant Garamond","Georgia",serif;font-weight:700;
  /* WORDMARK KEEPS THE SERIF — Phase 3 (2026-08-11) moved page headlines to a
     sans (--font-display, above) but deliberately left the logotype alone:
     the bee-seal geometry above is hand-tuned against Cormorant's cap-height
     specifically, and a logo is a considered asset of its own, not a
     byproduct of a content-typography change. Hardcoded rather than reading
     --font-display so it can never silently follow a future headline swap. */
  font-size:1.32rem;letter-spacing:-.02em;color:var(--ink)}
.brand:hover{color:var(--ink)}
/* Header fit (operator row w-5abed488): nothing in the bar ever wraps onto a second line, and the wordmark keeps a real gap before the first item. */
.brand{flex:0 0 auto;margin-right:2rem;white-space:nowrap}
/* Only the bar's own items: the old `.nav-links a` also reached every mega-panel link, so long sector names ran out of their 202 px
   column into the next one (8 overflowed, 4 overlapped on verifera.co.uk, measured 2026-11-12). Panel links wrap by default. */
.nav-links>li>a,.dd-toggle,.nav-cta .btn,.nav-cta .nav-signin,.vf-region>summary{white-space:nowrap}
.nav-cta{flex:0 0 auto}
.brand .mark{flex:0 0 auto}
.nav-links{display:flex;align-items:center;gap:1.6rem;list-style:none;margin:0;padding:0}
.nav-links a{font-family:var(--font-body);font-weight:500;font-size:.98rem;color:var(--ink-soft)}
.nav-links a:hover{color:var(--ink)}
.nav-cta{display:flex;align-items:center;gap:10px}
.nav-signin{font-family:var(--font-body);font-weight:500;font-size:.98rem;color:var(--ink-soft);padding:6px 4px}
.nav-signin:hover{color:var(--ink)}
/* The account island swaps "Sign in" for a name and a badge INSIDE this fixed box, so nothing around it moves (CLS 0). */
.nav-signin{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;box-sizing:border-box;width:7.5rem;white-space:nowrap}
.nav-signin__name{min-width:0;overflow:hidden;text-overflow:ellipsis}
.nav-signin__badge{flex:none;background:var(--brand-fill);color:var(--on-brand);border-radius:999px;font-size:.72rem;font-weight:600;line-height:1;padding:3px 7px}
.nav-links .nav-links__signin{display:none}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px}
/* FIRST PAINT NEEDS NO HALF A HEADER. The header is 14 KB of markup (two mega-panels), so a streamed chunk boundary can fall inside it and the
   browser paints a nav whose list or CTA group is only partly parsed; `.nav` is space-between, so that lone fragment sits at the right edge and
   jumps when the rest arrives (CLS up to 0.013, about 3 loads in 10). Until the menu button's third bar exists (the last element of the last
   group) the links and the CTA group take their space but are not painted; the brand, which never moves, shows at once. visibility never
   changes layout, so the finished header is exactly as before. :has() unsupported = rule dropped = today's behaviour. */
.nav:not(:has(.nav-toggle>span:nth-child(3))) :is(.nav-links,.nav-cta){visibility:hidden}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--ink);margin:5px 0;transition:.2s}

/* ============================ HERO ============================ */
.hero{padding:52px 0 30px;background:var(--paper)}
/* was a gold radial glow (var(--accent-pale) fading to a hardcoded rgba of
   the same hue) — dropped rather than re-tinted navy: a flat ground reads as
   the "no ornament" side of the Phase 3 thesis, not just a recoloured one.
   3.6 keeps it flat and does NOT bring the glow back. The warmth now comes
   from the cream ground itself and the ornament is the bee, which is a real
   asset rather than a gradient standing in for one; 74px of top padding was
   holding space the mark now occupies, so it drops to 52. */
/* .5rem was a FIXED 8px under a headline that scales — cramped at any size and
   absurd at 70px. Proportional now, so the space under the line tracks the line. */
.hero h1{margin-bottom:.34em}
/* 680, not 620 — the hero's three blocks were 1112 / 620 / 760px wide, which reads as
   three unrelated decisions. At the new H1 size the headline sets ~780px, so a 680px
   reading column holds the lead while the search pill spans the full container, so its right edge lines up with the sector list below (2026-10-30). The lead holds
   ~62 characters a line, inside the 45-75 that reading research settles on. */
.hero .lead{max-width:680px}

/* ======================= MARKET HERO (canon v1c, d-2026-11-09) =======================
   Colours: only the --vf-* custom properties inc/hero-canon.php prints per market (light, and dark under the site's theme switch).
   The lattice (assets/brand/hero-lattice.svg) is the same file on every market; it is a 340x188 band pinned top-right, right of the H1
   and lead and above the search form, so it never sits under text. Hidden below 1100px, where the text would reach it. */
.hero{position:relative;overflow:clip}
.hero > .container{position:relative;z-index:1}
.vf-hero-art{position:absolute;inset:0;pointer-events:none}
.vf-lat{display:none;position:absolute;top:0;right:0}
@media (min-width:1100px){.vf-lat{display:block}}
.vf-lat .h{fill:none;stroke:var(--vf-stroke);stroke-opacity:calc(var(--s,.4) * .42)}
:root[data-theme="dark"] .vf-lat .h{stroke-opacity:calc(var(--s,.4) * .16)}
.vf-lat .f0{fill:var(--vf-f0)}
.vf-lat .f1{fill:var(--vf-f1)}
.vf-lat .f2{fill:var(--vf-f2)}
.vf-lat .g0{fill:var(--vf-g0)}
.vf-lat .g1{fill:var(--vf-g1)}
.vf-lat .g2{fill:var(--vf-g2)}
.vf-lat .g3{fill:var(--vf-g3)}
.vf-lat .ac{stroke:none}
.vf-lat .a0{fill:var(--vf-a0)}
.vf-lat .a1{fill:var(--vf-a1)}
/* Hero C: a flat ground (Paper, graphite in dark; the glow is gone), the headline on ONE line, the gold "next job" underline and the bee.
   The font size fits the market's measured line width (--vf-h1-ems, tokens market.*.$h1Ems, +4%) into the room left of the lattice; below 700px it wraps again. */
@media (min-width:700px){
  .vf-market-hero h1{white-space:nowrap;font-size:min(var(--text-h1),calc((100vw - 48px) / (var(--vf-h1-ems,13.4) * 1.04)))}
}
@media (min-width:1100px){
  .vf-market-hero h1{font-size:min(var(--text-h1),calc(770px / (var(--vf-h1-ems,13.4) * 1.04)))}
}
@media (prefers-reduced-motion:no-preference){
  .vf-lat .h{transform-box:fill-box;transform-origin:center;animation:vf-lat-in .7s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--d,0) * 70ms)}
}
@keyframes vf-lat-in{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.vf-hero-pill{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 14px;font-size:.86rem;font-weight:600;color:var(--ink-soft)}
.vf-hero-pill .vf-seal{flex:none}
.vf-hl{text-decoration:underline;text-decoration-color:var(--w-gold);text-decoration-thickness:.16em;text-underline-offset:.12em;text-decoration-skip-ink:none}
:root[data-theme="dark"] .vf-hl{color:var(--w-gold);text-decoration:none}
.vf-nw{white-space:nowrap}
.hero-paths{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:34px}
.path-card{border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:var(--surface);
  transition:box-shadow .2s ease,transform .2s ease;box-shadow:var(--shadow)}
.path-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.path-card h3{margin-bottom:.3rem}
.path-card p{color:var(--muted);font-size:.97rem;margin-bottom:1rem}
.searchbar{display:flex;gap:10px;margin-top:30px;flex-wrap:wrap}
.searchbar input{flex:1;min-width:160px;padding:.85rem 1rem;border:1.5px solid var(--field-edge);
  border-radius:var(--radius-sm);font-family:var(--font-body);font-size:1rem;background:var(--surface)}
.searchbar input:focus{border-color:var(--brand)}
/* ── HERO SEARCH — one pill, two fields (Indeed shape, benchmarked 2026-08-14) ──
   Segments join into a single control on desktop and STACK on narrow screens, where a
   three-across pill would give each field ~90px. The wrap is driven by the container,
   not a device query: `flex-wrap` plus a min-width means it breaks when it runs out of
   room, so it is correct inside any column this ever sits in. */
.hero-search{max-width:none;width:100%;gap:0;flex-wrap:wrap;box-shadow:0 1px 3px rgba(10,22,69,.08);
  border-radius:999px;background:var(--surface);padding:6px}
.hero-search input{border:none;flex:1 1 200px;min-width:200px;padding:.9rem 1.15rem;background:transparent;border-radius:999px}
.hero-search input:focus{outline:2px solid var(--brand);outline-offset:-2px;border-color:transparent}
.hero-search input + input{box-shadow:inset 1px 0 0 var(--line)}
.hero-search .btn{border-radius:999px;padding-inline:1.6rem;white-space:nowrap}
@media (max-width:640px){
  .hero-search{border-radius:var(--radius-sm);padding:8px}
  .hero-search input{min-width:100%;border-radius:var(--radius-sm)}
  /* The inset divider is a VERTICAL rule; stacked, it would draw down the left edge of
     the second field, which reads as a stray mark rather than a separator. */
  .hero-search input + input{box-shadow:inset 0 1px 0 var(--line)}
  .hero-search .btn{width:100%;justify-content:center;margin-top:6px}
}
.hero-meta{margin-top:16px;font-size:.92rem;color:var(--muted)}
.hero-meta b{color:var(--ink)}

/* ============================ TRUST STRIP ============================ */
/* ⚠ NO MARKUP USES THIS ANY MORE (checked 2026-08-14: no `class="trust"` remains in
   the theme). The strip was removed from front-page.php in the Indeed-shape hero pass;
   its four statements live on in the verification section below the fold.

   KEPT, not deleted, and deliberately: these rules are ~15 lines of dead CSS against a
   real chance the strip returns on a landing page or a sector hub, and a stale COMMENT
   is what actually misleads the next reader — the previous one said "untouched in
   front-page.php", which stopped being true the moment the section was cut. If nothing
   has claimed `.trust` by the next theme sweep, delete the block then.

   Phase 3 styling, for whoever revives it: a mono ledger read-out — one scannable line
   with hairline dividers rather than four badges — stacking below 760px. */
.trust{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper-2)}
.trust .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  padding-top:16px;padding-bottom:16px}
.trust .item{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-mono);font-size:.76rem;
  letter-spacing:.01em;color:var(--ink-soft);font-weight:500;
  padding:2px 22px;border-right:1px solid var(--line)}
.trust .item:last-child{border-right:0}
@media (max-width:760px){.trust .item{border-right:0;padding:2px 0}}
.check{display:inline-flex;color:var(--ok);align-items:center;justify-content:center;flex:0 0 auto}
/* was a filled 22px circle badge; the mono ledger treatment wants a bare
   tick, matched to the rest of the line, not a separate badge component */
.check .vf-i{width:.85rem;height:.85rem;stroke-width:3}

/* ============================ CARDS ============================ */
.card{background:var(--surface);border:1px solid var(--card-edge);box-shadow:var(--shadow-card);border-radius:var(--radius);padding:24px;
  transition:box-shadow .2s ease,transform .2s ease}
.card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.sector-card{display:block;border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:var(--surface);
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s}
.sector-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);border-color:var(--brand)}
.sector-card h3{color:var(--ink)}
.sector-card .arrow{color:var(--brand);font-family:var(--font-display);font-weight:600;margin-top:.6rem;display:inline-block}

/* THE SECTOR INDEX — replaced the homepage's five .sector-card boxes (1,073px,
   fifth card orphaned on row three). Rows, not boxes: hairline-ruled, one per
   sector, carrying the REAL specialism groups rather than a label alone. Reuses
   the mono ledger texture #369 built for .trust instead of adding a new one, and
   no row can be orphaned at any sector count. Reasoning + the rejected chip row:
   the block comment in front-page.php. */
.sector-index{list-style:none;margin:26px 0 0;padding:0;border-top:1px solid var(--line)}
.sector-index li{border-bottom:1px solid var(--line)}
.sector-index a{display:grid;grid-template-columns:minmax(190px,auto) 1fr auto;align-items:center;
  gap:20px;padding:17px 14px;color:var(--ink);text-decoration:none;
  transition:background var(--dur-color) var(--ease-fast),color var(--dur-color) var(--ease-fast)}
.sector-index a:hover,.sector-index a:focus-visible{background:var(--accent-pale);color:var(--accent-text)}
.sector-index-name{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;
  font-family:var(--font-display);font-weight:700;font-size:1.06rem}
/* Mono, because these are DATA — the same reasoning that made .job-card-employer
   and .chip mono. It is also what stops the row reading as a nav link. */
.sector-index-spec{font-family:var(--font-mono);font-size:.78rem;letter-spacing:.02em;
  color:var(--muted);line-height:1.5}
/* The live count, 2026-08-16 — same "these are DATA" rule as .sector-index-spec
   above, not a second treatment invented for it. Mono + muted keeps it read as a
   fact subordinate to the sector name (700 weight, display face) rather than a
   second headline competing with it — the exact failure the retired chip row had,
   now avoided inside one row instead of five equal boxes. flex-wrap on the parent
   is defensive: "Driving & Logistics" plus a count is the longest combination on
   the narrowest column this can render in. */
.sector-index-count{font-family:var(--font-mono);font-size:.72rem;font-weight:600;
  letter-spacing:.02em;color:var(--muted);white-space:nowrap;
  transition:color var(--dur-color) var(--ease-fast)}
.sector-index a:hover .sector-index-count{color:var(--accent-text)}
/* .72rem was 11.5px — within 0.3px of the .kicker, so the scale carried two sizes that
   looked identical and meant different things, and this one runs to ~74 characters of
   mono. Raised to 12.5px and the tracking eased: it is the longest line on the block,
   and tracking that flatters a 5-word eyebrow fights a 74-character list. */
.sector-index a:hover .sector-index-spec{color:var(--accent-text)}
.sector-index-go{color:var(--muted);transition:color var(--dur-color) var(--ease-fast)}
.sector-index a:hover .sector-index-go{color:var(--accent-text)}
@media(max-width:720px){
  /* The arrow goes, rather than shrinking the row: at this width the whole row is
     the tap target and a 16px chevron is decoration competing with the copy. */
  .sector-index a{grid-template-columns:1fr;gap:7px;padding:15px 10px}
  .sector-index-go{display:none}
}

.job-card{position:relative;display:flex;flex-direction:column;gap:.5rem;background:var(--surface);border:1px solid var(--card-edge);box-shadow:var(--shadow-card);
  border-radius:var(--radius-sm);padding:22px 24px;transition:border-color .2s ease,box-shadow .2s ease}
.job-card:hover{border-color:var(--brand);box-shadow:var(--shadow-card)}
.job-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.job-card-employer{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.job-card-save{background:none;border:0;color:var(--muted);cursor:pointer;padding:5px;margin:-5px;border-radius:6px;line-height:0}
.job-card-save:hover{color:var(--brand)}
.job-card-save .vf-i{width:1.2rem;height:1.2rem}
.job-card-save.is-engaged{color:var(--brand);opacity:.55;cursor:default} /* already opened or applied: not a plain save, not clickable */
.job-card-save.is-saved{color:var(--brand)} /* S7b — filled client-side, see assets/job-save.js */
.job-card-badge{margin:.1rem 0}
.job-card h3{font-size:1.3rem;margin:0;letter-spacing:-.01em;line-height:1.15}
.job-card h3 a{color:var(--ink)}
.job-card h3 a:hover{color:var(--brand)}
.job-excerpt{color:var(--muted);font-size:.92rem;margin:0;line-height:1.5}
.job-card-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:.1rem}
.chip{font-family:var(--font-mono);font-size:.66rem;letter-spacing:.03em;text-transform:uppercase;
  padding:4px 9px;border-radius:var(--radius-pill);background:var(--paper-2);color:var(--ink-soft);border:1px solid var(--line)}
.chip-advert{background:transparent;color:var(--ink);border:1px solid currentColor;font-weight:600;text-decoration:none}
.vf-wj-live h3 .chip-advert{margin-left:.5rem;vertical-align:middle}
.chip-work{background:var(--brand-soft);color:var(--brand-ink);border-color:transparent}
.chip-confirmed-live{background:var(--brand-soft);color:var(--brand-ink);border-color:transparent} /* S20 */
.vf-results-alert-box{margin-top:28px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper-2)}
.vf-results-alert-box h3{margin:0 0 .6rem;font-size:1.05rem}
.job-card-foot{margin-top:.25rem;padding-top:.55rem;border-top:1px solid var(--line-2);
  display:flex;align-items:center;justify-content:space-between;gap:10px}
.job-posted{font-family:var(--font-mono);font-size:.72rem;color:var(--muted)}
.job-card-apply,.job-card-view{display:inline-flex;align-items:center;gap:4px;font-family:var(--font-mono);font-size:.72rem;
  font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--brand-ink);background:var(--brand-soft);
  padding:4px 10px;border-radius:var(--radius-pill);border:1px solid transparent;transition:border-color .15s ease}
.job-card-apply:hover,.job-card-view:hover{border-color:var(--brand)}
.vf-apply-unavailable{display:inline-block;font-size:.85rem;color:var(--muted,#667);font-style:italic}
.job-card-apply .vf-i{width:.85em;height:.85em}
.job-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.9rem;color:var(--muted);margin-top:.2rem}
.job-meta .salary{color:var(--ink);font-weight:600}
.job-meta .src-chip{font-family:var(--font-mono);font-size:.68rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  color:var(--c-navy);background:var(--c-navy-soft);padding:2px 9px;border-radius:999px;align-self:center}
/* The partner attribution lockup. A LICENCE TERM, not a design element: Adzuna's ToS
   requires it at >= 116x23px on every displayed advert, so the size is asserted inline on
   the element itself (Source::floor_css) and nothing here may take it back. These rules
   are therefore only about the space AROUND it — `flex:none` stops a narrow card column
   from flex-shrinking the logo below the floor, and there is deliberately no width,
   height, max-width, transform or overflow:hidden anywhere in this block. */
.vf-advert-attribution{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;
  font-size:.72rem;color:var(--muted);line-height:1.2}
.vf-advert-attribution img{flex:none}
.vf-advert-attribution a{color:inherit;text-decoration:none}
.vf-advert-attribution a:hover{text-decoration:underline}
.job-card-attrib{margin-top:10px}
/* SLOT-STABLE JOB CARDS (2026-09-23). verifera_render_job_card_markup() emits the same
   seven slots on every card — head · title · location · pay · excerpt · chips · foot —
   each ALWAYS present (empty, or holding its neutral phrase), and marks the card
   data-slots="7". Where a card sits directly in a grid, CSS subgrid hands its seven rows
   to the grid, so every row lines up across the cards beside it: a card with a two-line
   title or no excerpt no longer shifts its neighbours' salary and chips out of line (the
   live /jobs/ defect, where a missing salary span moved every row beneath it up). Outside
   a grid — or in a browser without subgrid — the card is its own seven-row grid whose
   excerpt row absorbs spare height, so the foot still sits on the bottom edge. Layout is
   CSS only; no script measures anything. */
.job-card[data-slots]{display:grid;grid-template-rows:auto auto auto auto 1fr auto auto;row-gap:.5rem;align-content:start}
@supports (grid-template-rows:subgrid) and selector(:has(*)){
  .grid > .job-card[data-slots]{grid-row:span 7;grid-template-rows:subgrid;row-gap:.5rem}
  /* A grid can MIX slot cards with other children — Roles::job_cards() (verifera-seo) still
     hand-rolls its post-backed cards beside theme cards for index rows. A plain child
     occupying ONE track would stretch the slot cards' head row to its full height, so every
     other child of such a grid spans the same seven tracks as one box. */
  .grid:has(> .job-card[data-slots]) > :not(.job-card[data-slots]){grid-row:span 7}
}
.job-card-title{align-self:start}
.job-card-loc{display:flex;align-items:center;gap:6px;margin:0;min-height:1.35em;font-size:.9rem;color:var(--muted)}
.job-card-loc .vf-i{flex:none}
.job-card-pay{min-height:1.35em;font-size:.9rem}
.job-card-pay .salary{color:var(--ink);font-weight:600}
.job-card-pay .salary-estimate{margin:0;font-size:.8rem;line-height:1.45;color:var(--muted);font-style:italic}
.job-card-pay .salary-none{color:var(--muted)}
.job-card[data-slots] .job-excerpt{align-self:start}
.job-card[data-slots] .job-card-chips{align-self:start;margin-top:0}
.job-card-chips .job-card-badge{display:inline-flex;margin:0}
.job-card-employer.is-undisclosed{font-style:italic;text-transform:none;letter-spacing:0;font-family:var(--font-body,inherit);font-size:.8rem}
.job-card[data-slots] .job-card-foot{flex-wrap:wrap;align-self:end;margin-top:0}
.job-card-foot .job-card-attrib{flex:1 0 100%;margin:0 0 .35rem}
.job-head-pay{margin-top:.5rem;font-size:1rem}
.job-head-pay .salary{color:var(--ink);font-weight:600}
.job-head-pay .salary-estimate{margin:0;font-size:.9rem;color:var(--muted);font-style:italic}
.job-head-pay .salary-none{color:var(--muted)}
.src-note{border-top:1px solid var(--line);padding-top:14px}
.src-note a{color:var(--brand-ink);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.src-note a:hover{color:var(--ink)}
.src-note .vf-i{width:.9em;height:.9em;vertical-align:-1px;margin-left:4px}
.tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:.4rem}
.tag{font-family:var(--font-mono);font-size:.7rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;
  padding:3px 9px;border-radius:20px;background:var(--brand-soft);color:var(--brand-ink)}
.tag.green{background:var(--ok-soft);color:var(--ok)}
.tag.neutral{background:var(--paper-3);color:var(--ink-soft)}

.insight-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,transform .2s}
.insight-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.insight-card .body{padding:22px 24px}
.insight-card h3{font-size:1.15rem}
.insight-card h3 a{color:var(--ink)} .insight-card h3 a:hover{color:var(--brand)}
.insight-card .excerpt{color:var(--muted);font-size:.95rem}

/* ============================ STATS ============================ */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat{padding:8px 4px}
.stat .n{font-family:var(--font-display);font-size:2.5rem;font-weight:600;letter-spacing:-.03em;line-height:1}
.stat .l{color:var(--muted);font-size:.9rem;margin-top:.4rem}

/* ============================ VERIFIED / FEATURE LIST ============================ */
.feature{display:flex;gap:14px;align-items:flex-start}
.feature .ic{flex:0 0 auto;width:38px;height:38px;border-radius:9px;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-family:var(--font-display)}
.feature h3{font-size:1.08rem;margin-bottom:.2rem}
.feature p{color:var(--muted);font-size:.95rem;margin:0}

/* ============================ BANDS / CTA ============================ */
/* Phase 3: split two-column/left-aligned instead of centred text over two
   stacked buttons — Camden's closing band runs the same centred formula, so
   this changes the LAYOUT (colour didn't need to move; navy fill unchanged).
   Explicit grid placement on the 3 existing siblings (h2, p, .btn-row) —
   front-page.php markup is untouched, no wrapper div needed. */
.cta-band{background:var(--band-raised);border:2px solid var(--band-edge);color:var(--ink);border-radius:16px;padding:46px;
  display:grid;grid-template-columns:1.3fr auto;column-gap:40px;align-items:center;text-align:left}
.cta-band h2{color:var(--ink);grid-column:1;grid-row:1;margin-bottom:.3em}
.cta-band p{color:var(--ink-soft);grid-column:1;grid-row:2;margin:0;max-width:52ch}
.cta-band .btn-row{grid-column:2;grid-row:1/3;flex-wrap:nowrap}
/* Stacks at the theme's existing 760px breakpoint (see RESPONSIVE at the
   bottom of this file, which this rule set supersedes for .cta-band —
   removed the old duplicate padding-only rule there) rather than a new one,
   to stay on the same breakpoint the rest of the theme uses. */
@media (max-width:760px){
  .cta-band{grid-template-columns:1fr;text-align:center;padding:36px 24px}
  .cta-band h2,.cta-band p{grid-column:1;text-align:center;max-width:none;margin-left:auto;margin-right:auto}
  .cta-band .btn-row{grid-column:1;grid-row:3;justify-content:center;margin-top:1.4rem;flex-wrap:wrap}
}

/* ============================ PAGE HEADER ============================ */
.page-head{padding:70px 0 40px;background:var(--paper-2);border-bottom:1px solid var(--line)}
.page-head .lead{max-width:680px}
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:1rem}
.breadcrumb a{color:var(--muted)} .breadcrumb a:hover{color:var(--brand)}

/* ============================ CONTENT (prose) ============================ */
.prose{max-width:760px}
.prose h2{margin-top:2.2rem}
.prose h3{margin-top:1.6rem}
.prose ul{padding-left:1.2rem}
.prose img{border-radius:var(--radius);margin:1.4rem 0}
.prose blockquote{border-left:3px solid var(--brand);margin:1.5rem 0;padding:.2rem 0 .2rem 1.2rem;
  font-family:var(--font-display);font-size:1.2rem;color:var(--ink)}
.prose .callout{background:var(--paper-2);border:1px solid var(--line);border-left:3px solid var(--brand);
  border-radius:var(--radius-sm);padding:18px 22px;margin:1.4rem 0}
.prose code{background:var(--paper-3);padding:.1rem .35rem;border-radius:4px;font-size:.9em}

/* ============================ FORMS ============================ */
.field{margin-bottom:14px}
.field label{display:block;font-family:var(--font-body);font-weight:600;font-size:.9rem;margin-bottom:.35rem}
.field input,.field textarea,.field select{width:100%;padding:.8rem 1rem;border:1.5px solid var(--field-edge);
  border-radius:var(--radius-sm);font-family:var(--font-body);font-size:1rem;background:var(--surface)}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--brand)}

/* ============================ JOB SINGLE ============================ */
.job-head{padding:54px 0 30px;background:var(--paper-2);border-bottom:1px solid var(--line)}
.job-apply-box{position:sticky;top:96px;border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;background:var(--surface);box-shadow:var(--shadow)}
.job-apply-box .salary{font-family:var(--font-display);font-size:1.6rem;font-weight:600}
/* Phone: a range like "£21.00–£22.00 per hour" must stay on one line where it fits, so the figure scales with the viewport and any wrap is balanced rather than orphaning "hour". */
@media (max-width:760px){.job-apply-box .salary{font-size:clamp(1.05rem,5.4vw,1.6rem);line-height:1.25;text-wrap:balance;overflow-wrap:anywhere}}
.job-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:46px;align-items:start}
.job-layout>*{min-width:0}
.job-desc{max-width:none;line-height:1.7;overflow-wrap:anywhere;word-break:normal}
.job-desc p{margin:0 0 1rem}
.job-desc h3,.job-desc h4{margin:1.6rem 0 .5rem;line-height:1.3}
.job-desc h4{font-size:1.05rem}
.job-desc ul,.job-desc ol{padding-left:1.3rem;margin:0 0 1rem}
.job-desc li{margin:0 0 .4rem}
.job-desc strong{font-weight:600}
.kv{display:flex;justify-content:space-between;gap:12px;padding:.55rem 0;border-bottom:1px solid var(--line-2);font-size:.95rem}
.kv:last-child{border-bottom:0}
.kv .k{color:var(--muted)}

/* ============================ FOOTER ============================ */
.site-footer{position:relative;background:var(--w-footer);color:var(--w-footer-ink);border-top:1px solid var(--w-footer-line);padding:64px 0 30px}
.trustpilot-widget{background:var(--plate);padding:var(--plate-pad);border-radius:12px}
.site-footer a{color:var(--w-footer-link)}
.site-footer a:hover{color:var(--w-footer-head);text-decoration:underline}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:34px}
/* NO margin-bottom on .foot-brand .mark. It carried `margin-bottom:14px` from when the
   footer lockup was STACKED (mark above the wordmark). The lockup is now the same
   horizontal .brand flex row as the header, and in a row with align-items:center the
   seal is centred INCLUDING its bottom margin — so 14px of it lifted the seal ~7px off
   the wordmark's optical centre. Spacing below the lockup belongs to the block, not to
   the mark inside it. */
.foot-brand .brand{margin-bottom:14px;color:var(--w-footer-head)}
.foot-brand p{color:var(--w-footer-ink);font-size:.95rem;max-width:300px}
.foot-col .foot-h{font-family:var(--font-display);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--w-footer-head);margin:0 0 1rem}/* Q5 demoted from h4 · Q6 AA grey */
.foot-col ul{list-style:none;margin:0;padding:0}
.foot-col li{margin-bottom:.4rem}
.foot-col li a{display:inline-block;padding:3px 0}/* WCAG 2.2 AA ≥24px target */
.foot-contact{margin:12px 0 0;font-size:.95rem}
.foot-social{list-style:none;margin:12px 0 0;padding:0;display:flex;gap:6px}
.foot-social li{margin:0}
.foot-social a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--w-footer-line);color:var(--w-footer-link)}
.foot-social a:hover{color:var(--w-footer-head);border-color:var(--w-edge)}
.foot-markets{margin-top:34px}
.foot-markets .foot-h{font-family:var(--font-display);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--w-footer-head);margin:0 0 .6rem}
.foot-markets ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px}
/* WP12 (w-df09b4b5): the region switcher (a no-JS <details> list of real links) and the UK "Jobs in Europe" banner */
.vf-region{position:relative;font-size:.9rem}
/* Market flags (Market_Flag, operator 2026-11-06): inline SVG, decorative (aria-hidden), one fixed 20x14 box in light and dark; the
   edge is drawn in the SVG itself in currentColor, so it follows the text colour of either theme. */
.vf-flag{display:inline-block;width:20px;height:14px;flex:none;vertical-align:-2px;margin-right:.45em;border-radius:2px}
.vf-front-door a{display:inline-flex;align-items:center}
.vf-region>summary{cursor:pointer;list-style:none;padding:6px 10px;border:1px solid var(--field-edge);border-radius:999px;color:var(--ink-soft)}
.vf-region>summary::-webkit-details-marker{display:none}
.vf-region>summary::after{content:" \25BE"}
/* The pill shows the flag and a short code (UK, US, NL, PT) wherever it shows; the full name stays in the summary's aria-label and in the list. */
.vf-region__code{font-weight:600;letter-spacing:.03em}
.nav-links .nav-links__region{display:none}
.vf-region ul{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:12rem;margin:0;padding:6px 0;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.vf-region li a{display:block;padding:6px 14px;color:var(--ink);text-decoration:none}
.vf-region li a:hover,.vf-region li a:focus{text-decoration:underline}
.vf-region li a[aria-current]{font-weight:600}
.vf-market-banner{background:var(--surface);border-bottom:1px solid var(--line);font-size:.92rem}
.vf-market-banner .container{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;padding-bottom:8px}
.vf-market-banner p{margin:0}
.vf-market-banner a[hidden]{display:none}
.vf-market-banner__close::before{content:"\00D7"}
.vf-market-banner__close{background:none;border:0;font-size:1.3rem;line-height:1;cursor:pointer;color:var(--ink-soft);padding:4px 8px}
.foot-markets li{margin:0}
.foot-markets a{display:inline-block;padding:3px 0}
.foot-bottom{border-top:1px solid var(--w-footer-line);margin-top:44px;padding-top:22px;display:flex;
  justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:.85rem;color:var(--w-legal-ink)}/* AA on the footer ground (gated: web.*.legalInk on footer) */
.foot-data-credit{flex-basis:100%;font-size:.78rem}/* the UK gazetteer's OGL credit: its own small-print line under the legal lines */

/* ============================ MOTION ============================ */
/* Q3: reveals only hide when JS is present (no-JS/slow-JS see content immediately) */
.has-js .reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
/* ============================ A11Y ============================ */
.skip-link{position:absolute;left:-9999px;top:0;z-index:200;background:var(--ink);color:var(--paper);
  padding:10px 16px;border-radius:0 0 6px 0;font-family:var(--font-display);font-weight:600}
.skip-link:focus{left:0;color:var(--paper)}
#main:focus{outline:none}
/* Q2 — global keyboard focus ring (WCAG 2.4.7); inputs no longer kill their outline */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--brand);outline-offset:2px;border-radius:var(--radius-sm)}
:where(a,button,input,select,textarea,[tabindex]){scroll-margin-top:96px}
.path-card h2{font-size:1.3rem;letter-spacing:-.01em;margin-bottom:.3rem}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none;transition:none}
  .btn:hover,.card:hover,.job-card:hover,.path-card:hover,.sector-card:hover{transform:none}
}

/* ============================ RESPONSIVE ============================ */
@media (max-width:900px){
  .g-3,.g-4,.stats{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .job-layout{grid-template-columns:minmax(0,1fr);gap:24px}
  .job-apply-box{position:static}
  .job-layout>aside{order:-1}
}
@media (max-width:760px){
  .job-head{padding:34px 0 22px}
  .job-head h1{font-size:1.75rem;line-height:1.2}
  .job-desc{font-size:1rem}
  body{font-size:16px}
  .section{padding:60px 0}
  .hero-paths{grid-template-columns:1fr}
  .g-2,.g-3,.g-4,.stats{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  /* .cta-band's mobile rules now live with its base rules above (BANDS / CTA)
     — grid-to-stack needs to sit next to the grid it's overriding. */
  .job-apply-box{position:static}
  /* Trust bar: stack as a left-aligned column on mobile so the ticks line up in a
     straight vertical line, instead of wrap+centre giving ragged, misaligned rows. */
  .trust .container{flex-direction:column;align-items:flex-start;gap:12px}
}

/* HEADER FIT (operator row w-5abed488). The full row (brand, four nav items, region pill, Sign in, Submit CV, Find a job, theme toggle,
   plus the language switcher on /nl/ and /pt/) needs about 1150px at its widest (estimated from the font metrics; see the PR). Under
   1200px it collapses to the hamburger exactly as it did under 760px: nav links, Sign in and Submit CV move into the menu. */
@media (max-width:1200px){
  .nav-links,.nav-cta .btn-ghost,.nav-cta .nav-signin{display:none}
  .nav.open .nav-links .nav-links__signin{display:block}
  .nav-toggle{display:block}
  .nav.open .nav-links{display:flex;position:absolute;top:72px;left:0;right:0;background:var(--surface);
    flex-direction:column;align-items:flex-start;gap:0;padding:8px 24px 20px;border-bottom:1px solid var(--line)}
  .nav.open .nav-links li{width:100%;padding:.7rem 0;border-bottom:1px solid var(--line-2)}
  .brand{margin-right:auto}
}
/* Between the collapse and 1360px the four nav labels sit a little closer so the row still fits with the language switcher. */
@media (min-width:1201px) and (max-width:1359px){.nav-links{gap:1.2rem}}
/* Phones: the region list lives in the open menu (a plain list of the same links), so the bar keeps only Find a job, the theme toggle,
   the language switcher where there is one, and the menu button. */
@media (max-width:640px){
  .nav-cta .vf-region{display:none}
  .nav.open .nav-links .nav-links__region{display:block}
  .nav-links__region ul{list-style:none;margin:0;padding:0}
  .nav.open .nav-links .nav-links__region li{padding:.45rem 0;border-bottom:0}
  .nav.open .nav-links .nav-links__region a{display:inline-flex;align-items:center}
  .site-header .container{padding:0 16px}
  .brand{margin-right:auto}
}

/* ============================ MEGA PANELS (header nav) ============================
   Replaces the single 210px-wide absolute column that used to hang off the "Sectors"
   <li>. At 24 sectors that column was ~1,500px tall: it ran off the bottom of the
   viewport, and — having no overflow container — the wheel event chained to the
   document, so trying to scroll to the sectors below the fold scrolled the PAGE.
   Four things close that: a real scroll container (max-height + overflow-y),
   overscroll-behavior:contain so the chain stops at the panel, a column grid so 24
   items fit in one screen anyway, and a full-bleed panel so the columns have room.

   POSITIONED AGAINST .site-header, NOT THE <li>. .site-header is position:sticky,
   which is a positioned ancestor, so left:0/right:0 on the panel spans the viewport.
   That only works while no ancestor between them is positioned — hence .has-dd is
   position:static below, and must stay that way. */
.nav-links .has-dd{position:static}
.vf-mega{
  /* Local, so this block is self-contained: .nav is height:72px. */
  --vf-header-h:72px;
  position:absolute;left:0;right:0;top:100%;z-index:60;display:none;
  background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  box-shadow:0 22px 44px -12px rgba(22,23,27,.18), 0 2px 6px rgba(22,23,27,.05);
  /* THE FIX FOR THE REPORTED BUG. dvh first for iOS's collapsing toolbar; the vh
     line is the fallback for engines without dvh. overscroll-behavior:contain is
     what stops a wheel/touch gesture that hits the end of this box from continuing
     into the document underneath. */
  max-height:calc(100vh - var(--vf-header-h));
  max-height:calc(100dvh - var(--vf-header-h));
  overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.nav-links .has-dd.open .vf-mega{display:block}
/* NO-JS PATH. main.js adds nothing to the markup, but .open is JS-set — so without
   it the panel would be unreachable. Hover and focus-within open it instead, which
   covers mouse and keyboard; the panel's primary route (/jobs/) is also the plain
   "Find a job" link next to it, so it is never more than one link away regardless. */
html:not(.has-js) .nav-links .has-dd:hover .vf-mega,
html:not(.has-js) .nav-links .has-dd:focus-within .vf-mega{display:block}
.vf-mega__inner{padding-top:26px;padding-bottom:30px}
.vf-mega__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:22px 26px;align-items:start}
.vf-mega__h{font-family:var(--font-body);font-weight:600;font-size:.72rem;line-height:1.35;
  text-transform:uppercase;letter-spacing:.075em;color:var(--w-kicker);margin:0 0 12px;text-wrap:balance}
.vf-mega__list{list-style:none;margin:0;padding:0}
.vf-mega__list li{margin:0}
.vf-mega__list a{display:flex;align-items:center;gap:.55em;padding:7px 8px;margin:0 -8px;
  border-radius:var(--radius-sm);font-size:.94rem;line-height:1.3;color:var(--ink-soft)}
.vf-mega__list a:hover{background:var(--w-tint);color:var(--ink)}
.vf-mega__list a:hover span{text-decoration:underline;text-decoration-color:var(--w-gold);text-decoration-thickness:1.5px;text-underline-offset:4px}
.vf-mega__list a:focus-visible{background:var(--w-tint);color:var(--ink)}
.vf-mega__list .vf-i{flex:0 0 auto}
.vf-mega__col--browse{border-left:1px solid var(--line-2);padding-left:24px}
/* menus v3: the footer row (route to every sector + the live total) and AFERA's edition box: white, a 2 px gold edge */
.vf-mega__foot{border-top:1px solid var(--line-2);background:var(--w-tint)}
.vf-mega__foot .container{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:14px;padding-bottom:14px}
.vf-mega__more{font-weight:600;font-size:.9rem;color:var(--ink)}
.vf-mega__more::after{content:" \2192";content:" \2192" / "";color:var(--w-kicker)}
.vf-mega__live{font-size:.85rem;color:var(--ink-soft)}
.vf-mega__live b{font-family:var(--font-mono);font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.vf-mega__card{align-self:start;background:var(--surface);border:2px solid var(--w-featured-edge);border-radius:12px;padding:16px 18px}
.vf-mega__card .vf-mega__h{margin:8px 0 8px}
.vf-honey{display:block}
.dd-toggle{font-family:var(--font-body);font-weight:500;font-size:.98rem;color:var(--ink-soft);background:none;border:0;cursor:pointer;padding:0;display:inline-flex;align-items:center;gap:.3em}
.dd-toggle:hover,.dd-toggle[aria-expanded="true"]{color:var(--ink)}
.dd-caret{transition:transform .2s ease}
.has-dd.open .dd-caret{transform:rotate(180deg)}
/* display:none → block cannot transition, so the reveal is a keyframe. It only ever
   moves the panel's own compositing layer (the panel is absolute), so nothing on the
   page shifts when it opens. */
@keyframes vf-mega-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  .nav-links .has-dd.open .vf-mega{animation:vf-mega-in .16s ease-out}
}
@media (prefers-reduced-motion:reduce){
  .dd-caret{transition:none}
  .nav-links .has-dd.open .vf-mega{animation:none}
}

/* MOBILE — the panel becomes an accordion inside the off-canvas drawer.
   ⚠ THIS BREAKPOINT MUST EQUAL the one that hides .nav-links (1200px, HEADER FIT above), and that is
   ASSERTED by tests/integration/NavBreakpointTest.php — a comment cannot pin a
   number, so retuning either literal alone now fails a test rather than this note
   quietly becoming false. It used to be
   860px, and between 761 and 860 the panel was therefore position:static AND
   display:block unconditionally, inside a nav bar that was still in desktop layout:
   every sector rendered permanently expanded into the header on every page. A second
   breakpoint for the same state is a second source of truth; there is now one. */
@media (max-width:1200px){
  .vf-mega{position:static;max-height:none;overflow:visible;border:0;box-shadow:none;background:none}
  .vf-mega .container{max-width:none;padding:0}
  .vf-mega__inner{padding:2px 0 10px}
  .vf-mega__cols{display:block}
  .vf-mega__col{padding:0}
  .vf-mega__col + .vf-mega__col{margin-top:14px}
  .vf-mega__col--browse{border-left:0;padding-left:0;border-top:1px solid var(--line-2);padding-top:14px}
  .vf-mega__list a{padding:10px 8px}
  /* The drawer's RESPONSIVE rule gives every direct nav <li> a padding and a
     bottom rule, to separate the top-level items. Inside a panel that turns a
     24-link accordion into a striped table, so the panel's own <li>s opt out —
     the family heading is what separates them. */
  .nav.open .nav-links .vf-mega li{width:auto;padding:0;border-bottom:0}
  /* Full-width row with the caret at the far end — a 44px tap target, not a 60px
     word with a 10px chevron beside it. */
  .dd-toggle{width:100%;justify-content:space-between;padding:.2rem 0}
  /* Hover must NOT open anything on touch: a tap fires mouseenter first, so a
     hover-opened panel would flash open under the finger and the click that follows
     would immediately close it again. */
  html:not(.has-js) .nav-links .has-dd:hover .vf-mega{display:none}
  html:not(.has-js) .nav-links .has-dd:focus-within .vf-mega{display:block}
  /* THE DRAWER ITSELF SCROLLS. It is position:absolute with no height bound, so a
     nav carrying two accordions of sector links simply ran off the bottom of the
     document — the same class of defect as the desktop panel, one level up. Later
     in the file than the RESPONSIVE block's own rule, and at equal specificity, so
     this wins without touching a rule another lane may be editing. */
  .nav.open .nav-links{
    max-height:calc(100vh - 72px);
    max-height:calc(100dvh - 72px);
    overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
}
/* Body scroll lock while the drawer is open (main.js adds the class). Outside the
   media query on purpose: the class is only ever set while the drawer is open, and a
   viewport that crosses 760px mid-gesture must not silently unlock the page. */
body.vf-nav-lock{overflow:hidden}

/* jobs archive filter bar — the [verifera_job_search] facet form (sector/location/salary/keyword) */
.jobs-filter{margin:0 0 28px}
.vf-job-search{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px}
.vf-job-search select,.vf-job-search input{font:inherit;font-size:.95rem;padding:.6rem .75rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);min-width:0}
.vf-job-search input[name="location"],.vf-job-search input[name="q"]{flex:1 1 160px}
.vf-job-search select:focus,.vf-job-search input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--focus-ring)}
.vf-job-search button{font:inherit;font-weight:600;padding:.6rem 1.1rem;background:var(--brand-fill);color:var(--on-brand);border:0;border-radius:var(--radius-sm);cursor:pointer}
.vf-job-search button:hover{background:var(--brand-fill-hover)}
@media(max-width:640px){.vf-job-search{flex-direction:column;align-items:stretch}.vf-job-search select,.vf-job-search input,.vf-job-search button{width:100%}}

/* ============================ ACCOUNT PORTAL (/account/, token pass 2026-10-30) ============================
   The records office (verifera-accounts class-portal.php). Tokens only, so the site-wide dark toggle carries it:
   surface, ink, line, brand-fill, on-brand and muted all swap in the dark palette. No typed colour in this block. */
.vf-account{max-width:760px;color:var(--ink)}
.vf-account h2{margin:0 0 var(--space-4)}
.vf-account h3{margin:var(--space-8) 0 var(--space-3);padding-top:var(--space-5);border-top:1px solid var(--line)}
.vf-account h4{margin:var(--space-5) 0 var(--space-2);color:var(--ink-soft)}
.vf-account p{margin:0 0 var(--space-3)}
.vf-account a:not(.btn):not(.vf-auth-btn){color:var(--brand);text-underline-offset:2px}
.vf-account-meta{color:var(--muted);font-size:.9em}
.vf-account-flash{background:var(--brand-soft);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);color:var(--ink)}
.vf-account-roles,.vf-account-data,.vf-account-history{list-style:none;margin:0 0 var(--space-4);padding:0}
.vf-account-roles li,.vf-account-history li{padding:var(--space-3) 0;border-bottom:1px solid var(--line)}
.vf-account-data li{padding:var(--space-2) 0}
.vf-account-inline{display:inline-flex;gap:var(--space-3);margin-left:var(--space-3);vertical-align:baseline}
.vf-link-button{background:none;border:0;padding:0;font:inherit;font-size:.9em;color:var(--brand);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.vf-link-button:hover{color:var(--brand-ink)}
.vf-account-table{width:100%;border-collapse:collapse;margin:0 0 var(--space-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm)}
.vf-account-table th,.vf-account-table td{text-align:left;padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--line);vertical-align:top}
.vf-account-table th{font-size:.85em;font-weight:600;color:var(--muted)}
.vf-account-decision{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-4) var(--space-5);margin:0 0 var(--space-4)}
.vf-account-decision p:last-child,.vf-account-decision form p:last-child{margin-bottom:0}
.vf-account textarea{width:100%;box-sizing:border-box;margin-top:var(--space-2);padding:var(--space-3);font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm)}
.vf-account textarea:focus-visible,.vf-account button:focus-visible,.vf-account a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* Secondary button inside the portal (erasure, contest): outlined, token colours, so it reads as a button in light and dark. */
.vf-account .btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.vf-account .btn-ghost:hover{border-color:var(--ink)}
.vf-account .vf-passkeys{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-4) var(--space-5)}
.vf-account .vf-passkeys .muted{color:var(--muted)}

/* ============================ UTILITIES ============================ */
.sr-only{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}
.linkish{background:none;border:0;padding:0;font:inherit;color:var(--brand);cursor:pointer;
  text-decoration:underline;text-underline-offset:2px}
.linkish:hover{color:var(--brand-ink)}
.vf-brand-img{max-width:100%;height:auto}

/* ── A BADGE MUST NOT STRETCH ────────────────────────────────────────────────
   .job-card is `flex-direction:column`, which blockifies its children and — with
   the default align-items:stretch — inflated a bare `.tag` pill into a 493px bar
   across a 543px card, reading as a broken progress bar on every job card on the
   site. The markup now wraps badges in `.tags` (the flex row .tag was designed
   for), and this rule is the guard rail so a future bare .tag cannot regress it. */
.job-card > .tag,.job-card > .tags{align-self:flex-start}
.job-card > .tags{margin-top:.15rem}
.job-loc{display:inline-flex;align-items:center;gap:.35em}
.job-loc .ic{width:.95em;height:.95em;color:var(--muted);flex:0 0 auto}

/* ============================ LOCATION HUB ============================ */
.hub-roles-h{font-size:1.35rem;margin-bottom:.85rem;text-wrap:balance}

/* Role breakdown + sibling cities. Both are link lists first and chips second:
   a keyboard user tabs a list, so it stays a <ul> of <a> and the pill is styling. */
.hub-rolelist{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:0;padding:0}
.hub-rolelist li{margin:0}
.rolepill{display:inline-flex;align-items:center;gap:.55em;padding:.42rem .5rem .42rem .85rem;
  border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);
  font-size:.93rem;font-weight:500;color:var(--ink);
  transition:border-color var(--dur-color) var(--ease-fast),background var(--dur-color) var(--ease-fast)}
.rolepill:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-ink)}
.rolepill:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.rolepill-n{font-family:var(--font-mono);font-size:.72rem;font-weight:600;line-height:1;
  padding:.34em .6em;border-radius:var(--radius-pill);
  background:color-mix(in oklab,var(--brand) 9%,transparent);color:var(--brand-ink);
  font-variant-numeric:tabular-nums}
.rolepill:hover .rolepill-n{background:var(--surface)}

/* Heading + filter share a baseline row and stack cleanly when there is no width. */
.hub-bar{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:14px 22px;margin-bottom:20px}
.hub-bar h2{margin:0;text-wrap:balance}
.hub-filter{flex:0 1 340px;min-width:240px}
.hub-filter-box{display:flex;align-items:center;gap:.5em;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:.1rem .75rem;
  transition:border-color var(--dur-color) var(--ease-fast),box-shadow var(--dur-color) var(--ease-fast)}
.hub-filter-box:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--focus-ring)}
.hub-filter-box .ic{width:1em;height:1em;color:var(--muted);flex:0 0 auto}
.hub-filter-box input{flex:1;min-width:0;font:inherit;font-size:.95rem;padding:.62rem 0;
  border:0;background:none;color:var(--ink)}
.hub-filter-box input:focus{outline:none}
.hub-filter-box input::-webkit-search-cancel-button{cursor:pointer}
.hub-filter-n{margin:.45rem 0 0;font-family:var(--font-mono);font-size:.72rem;color:var(--muted);min-height:1em}
.hub-cap{margin-top:16px;font-size:.9rem}

/* The empty state is CSS-owned: it shows only when every card is filtered out.
   :has() means no JS has to track "are any cards left" — the DOM already knows,
   so the two can never disagree. It is rendered only when the city HAS jobs, so
   it can never double up with the zero-supply message job_cards() prints. */
.hub-noresults{display:grid;justify-items:center;text-align:center;gap:.25rem;
  padding:44px 24px 52px;color:var(--muted)}
.hub-jobs:has(.job-card:not([hidden])) .hub-noresults{display:none}
.hub-noresults p{margin:0;max-width:46ch;text-wrap:pretty}
.hub-noresults-bee{width:132px;height:auto;opacity:.9}

/* ── SALARY RANGE PLOT ───────────────────────────────────────────────────────
   A real <table>, drawn as a range plot by CSS alone. No JS, no SVG, no image:
   screen readers, reader mode, print and a CSS-less fetch all get the honest
   numbers, and there is nothing to lay out late so the section cannot shift.
   ONE hue throughout — this is a single measure (pay) across roles, so colour
   encodes nothing and must not vary by value. */
.salaryplot{width:100%;max-width:820px;border-collapse:collapse;margin:1.3rem 0 0}
.salaryplot thead th{font-family:var(--font-mono);font-size:.68rem;letter-spacing:.13em;
  text-transform:uppercase;font-weight:600;color:var(--muted);text-align:left;
  padding:0 0 11px;border-bottom:1px solid var(--line)}
.salaryplot tbody th{width:1%;white-space:nowrap;text-align:left;vertical-align:middle;
  font-family:var(--font-body);font-size:.95rem;font-weight:500;color:var(--ink);
  padding:13px 22px 13px 0}
.salaryplot tbody td{vertical-align:middle;padding:13px 0}
.salaryplot tbody tr + tr th,.salaryplot tbody tr + tr td{border-top:1px solid var(--line-2)}
.salaryplot-track{position:relative;display:block;height:9px;border-radius:var(--radius-pill);
  background:color-mix(in oklab,var(--line) 70%,transparent)}
/* 4px rounded data-ends; the span is positioned from the row's own --lo/--hi. */
.salaryplot-bar{position:absolute;top:0;bottom:0;left:var(--lo);right:calc(100% - var(--hi));
  background:var(--brand);border-radius:4px;transition:background var(--dur-color) var(--ease-fast)}
.salaryplot tbody tr:hover .salaryplot-bar{background:var(--accent)}
.salaryplot tbody tr:hover th{color:var(--brand-ink)}
/* Values wear text tokens, never the mark's colour. */
.salaryplot-v{display:block;margin-top:7px;font-family:var(--font-mono);font-size:.76rem;
  color:var(--ink-soft);font-variant-numeric:tabular-nums}
.salaryplot-axis{display:flex;justify-content:space-between;padding-top:10px!important;
  border-top:1px solid var(--line);font-family:var(--font-mono);font-size:.68rem;color:var(--muted);
  font-variant-numeric:tabular-nums}
.salaryplot-note{max-width:70ch;margin:1.1rem 0 1.3rem;font-size:.86rem;text-wrap:pretty}

@media (max-width:640px){
  /* Stack the role above its bar — a nowrap label column cannot survive 320px. */
  .salaryplot,.salaryplot tbody,.salaryplot tbody tr,.salaryplot tbody th,.salaryplot tbody td{display:block;width:auto}
  .salaryplot thead,.salaryplot tfoot{display:none}
  .salaryplot tbody tr{padding:12px 0}
  .salaryplot tbody tr + tr{border-top:1px solid var(--line-2)}
  .salaryplot tbody tr + tr th,.salaryplot tbody tr + tr td{border-top:0}
  .salaryplot tbody th{padding:0 0 8px;white-space:normal}
  .salaryplot tbody td{padding:0}
}

@media (prefers-reduced-motion:reduce){
  .rolepill,.salaryplot-bar,.hub-filter-box{transition:none}
}

/* ============================ PAGINATION ============================ */
/* Replaces core's default `1 2 … 147 Next` (operator 2026-09-10: "the numbering is
   clunky, what if I want page 4,5,6?"). Every link is a plain <a href> — fully
   functional with JS off — and the "Go to page" box is a real GET <form> (submits
   ?paged=N, which WP resolves/redirects to the canonical pretty URL) with an inline
   script as a same-request shortcut, never a JS requirement. See inc/pager.php. */
.vf-pager{margin-top:34px;display:flex;flex-direction:column;align-items:center;gap:14px}
.vf-pager__nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;width:100%}
.vf-pager__list{display:flex;align-items:center;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.vf-pager__item{display:flex}
.vf-pager__link,.vf-pager__current,.vf-pager__ellipsis{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:2.4rem;height:2.4rem;padding:0 .5rem;box-sizing:border-box;
  font-family:var(--font-mono);font-size:.85rem;font-variant-numeric:tabular-nums;
  border-radius:var(--radius-sm);color:var(--ink-soft);text-decoration:none;
  border:1px solid transparent;transition:border-color var(--dur-color) var(--ease-fast),color var(--dur-color) var(--ease-fast),background var(--dur-color) var(--ease-fast)}
.vf-pager__link{border-color:var(--line);background:var(--surface)}
.vf-pager__link:hover{border-color:var(--brand);color:var(--brand-ink)}
.vf-pager__current{background:var(--brand-fill);color:var(--on-brand);font-weight:700;border-color:var(--brand-fill)}
.vf-pager__ellipsis{color:var(--muted);border-color:transparent;background:none}
.vf-pager__prev,.vf-pager__next{font-family:var(--font-body);font-weight:600;font-size:.9rem;padding:0 .95rem;gap:.4em}
.vf-pager__summary{margin:0;text-align:center;font-size:.86rem;color:var(--muted);font-variant-numeric:tabular-nums}
.vf-pager__jump{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.55em;font-size:.86rem;color:var(--muted)}
.vf-pager__jump label{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase}
.vf-pager__jump input{width:4.4rem;font:inherit;font-size:.92rem;padding:.4rem .5rem;
  border:1px solid var(--field-edge);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);text-align:center}
.vf-pager__jump input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.vf-pager__jump-btn{font:inherit;font-weight:600;font-size:.86rem;padding:.4rem .85rem;
  border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);cursor:pointer;
  transition:border-color var(--dur-color) var(--ease-fast),color var(--dur-color) var(--ease-fast)}
.vf-pager__jump-btn:hover{border-color:var(--brand);color:var(--brand-ink)}

@media (max-width:480px){
  .vf-pager__link,.vf-pager__current,.vf-pager__ellipsis{min-width:2.15rem;height:2.15rem;padding:0 .35rem;font-size:.8rem}
  .vf-pager__prev,.vf-pager__next{padding:0 .7rem;font-size:.85rem}
}

@media (prefers-reduced-motion:reduce){
  .vf-pager__link,.vf-pager__jump-btn{transition:none}
}

/* ── HOME: roles scroller ── */
/* Operator 2026-09-18: "can we scroll through (like a left or right) for extra jobs
   before someone has to click on 'view all jobs'". Native overflow scrolling with
   scroll-snap — no carousel library, no autoplay, no JS requirement. The arrows in
   main.js are an enhancement layered on a control that already works without them. */
.roles-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:12px}
.roles-head-actions{display:flex;align-items:center;gap:10px}
.roles-nav{gap:6px}
.roles-nav:not([hidden]){display:inline-flex}
.roles-nav-btn{display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--surface);color:var(--ink);cursor:pointer;line-height:0;
  transition:border-color var(--dur-color) var(--ease-fast),color var(--dur-color) var(--ease-fast)}
.roles-nav-btn:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}
/* Disabled, not hidden: a control that vanishes at the end of the track moves its
   sibling under the pointer. It stays in place and stops responding. */
.roles-nav-btn:disabled{opacity:.35;cursor:default}
.roles-nav-btn .vf-i{width:1.1rem;height:1.1rem}

/* Edge fades. `data-roles-edge` is set by main.js (start / middle / end); with JS off
   the attribute stays at its server-rendered "start", which is the honest state for an
   un-scrolled track — content continues to the right and the right edge says so. */
.roles-scroller{
  position:relative;margin-top:30px;
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
  scroll-padding-inline:0;
  -webkit-overflow-scrolling:touch;
  /* padding-block gives .job-card:hover's box-shadow somewhere to land: a scroll
     container clips the cross axis too, so a shadow on a flush-fitting box is sliced
     off at the top and bottom. */
  padding:6px 0 14px;
  /* Hidden VISUALLY only. This box carries tabindex="0" + role="region" + a name, so
     it stays keyboard- and AT-reachable — which is the whole condition on hiding a
     scrollbar at all. */
  scrollbar-width:none;-ms-overflow-style:none}
.roles-scroller::-webkit-scrollbar{width:0;height:0}
.roles-scroller[data-roles-edge="start"]{mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 56px),transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 56px),transparent 100%)}
.roles-scroller[data-roles-edge="middle"]{mask-image:linear-gradient(90deg,transparent 0,#000 56px,#000 calc(100% - 56px),transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 56px,#000 calc(100% - 56px),transparent 100%)}
.roles-scroller[data-roles-edge="end"]{mask-image:linear-gradient(90deg,transparent 0,#000 56px,#000 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 56px,#000 100%)}
.roles-scroller[data-roles-edge="none"]{mask-image:none;-webkit-mask-image:none}

.roles-track{display:flex;gap:26px;list-style:none;margin:0;padding:0}
.roles-item{scroll-snap-align:start;display:flex;flex:0 0 calc((100% - 52px) / 3)}
.roles-item > .job-card{flex:1 1 auto}

@media (max-width:900px){
  .roles-item{flex:0 0 calc((100% - 26px) / 2)}
}
@media (max-width:760px){
  /* Bleed to the viewport edge on mobile: the negative margin cancels .container's
     24px gutter and the scroller pays it back as padding + scroll-padding, so a
     snapped card lines up with the heading above it, not with the screen edge. */
  .roles-scroller{margin-inline:-24px;padding-inline:24px;scroll-padding-inline:24px}
  .roles-track{gap:16px}
  .roles-item{flex:0 0 85%}
  .roles-head-actions{width:100%;justify-content:space-between}
}
@media (prefers-reduced-motion:reduce){
  .roles-nav-btn{transition:none}
}

/* Jobg8 Addendum cl. 18-19 (jg8-full-description-apply): the Apply for a source whose clause puts it after the description. */
.job-apply-after{margin:24px 0 0}
@media (max-width:760px){.job-apply-after .btn{width:100%;justify-content:center}}

/* LANDING-ENH (2026-10-15): search-landing conversion, all behind default-OFF options (inc/paid-landing.php). */
.page-head--compact{padding:20px 0 16px}
.page-head--compact h1{margin:0;font-size:clamp(1.45rem,5.6vw,2.2rem);line-height:1.15;text-wrap:balance;overflow-wrap:anywhere}
@media (max-width:760px){
  /* The call to action was a 0.72rem, 24px pill; on a phone it is a full-width 44px button the thumb can hit. */
  .vf-jobs-layout--landing .job-card-foot .job-card-apply,
  .vf-jobs-layout--landing .job-card-foot .job-card-view{flex:1 0 100%;justify-content:center;min-height:44px;font-size:.82rem;
    background:var(--brand-fill);color:var(--on-brand)}
}
.vf-recovery{list-style:none;margin:14px 0;padding:0;display:flex;flex-direction:column;gap:8px;align-items:center}
.vf-sticky-apply{display:none}
.vf-sticky-apply-spacer{display:none}
.vf-sticky-apply .btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
@media (max-width:900px){
  .vf-sticky-apply:not([hidden]){display:block;position:fixed;left:0;right:0;bottom:0;z-index:var(--z-sticky);
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:var(--shadow-lg)}
  .vf-sticky-apply .btn{width:100%;justify-content:center}
  .vf-sticky-apply--ad:not([hidden]){display:flex;align-items:center;gap:10px}
  .vf-sticky-apply--ad .btn{flex:1;width:auto}
  /* reserve the fixed bar's height so the footer is never covered and nothing shifts */
  .vf-sticky-apply-spacer{display:block;height:calc(72px + env(safe-area-inset-bottom))}
}

/* ── EU market home (/nl/, /pt/): inc/market-home.php. The hero, sector index and roles scroller reuse the front page's rules;
   only what the UK front page does not have is styled here. ───────────────────────────────────────────────────────────── */
.vf-market-sectors .sector-index a{grid-template-columns:1fr auto}
.vf-afera-entry{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;padding:42px}
.vf-afera-entry h2{margin-bottom:.3em}
.vf-afera-recent{font-family:var(--font-mono);font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
.vf-afera-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.vf-afera-list li{border-bottom:1px solid var(--line)}
.vf-afera-list a{display:block;padding:12px 2px;font-weight:600;text-decoration:none}
.vf-afera-list a:hover,.vf-afera-list a:focus-visible{color:var(--accent-text)}
.vf-market-transparency .card{padding:34px}
@media (max-width:760px){
  .vf-afera-entry{grid-template-columns:1fr;gap:24px;padding:26px}
  .vf-market-transparency .card{padding:24px}
}

/* ============================ FINAL DESIGN (operator 2026-11-12; tokens web.* / market.* in packages/core) ============================
   Paper ground, white chrome with the 3 px market flag thread, raised white cards with a 4 px sector stripe, the featured box and the
   CV band white with a 2 px gold edge, navy for actions and links, links in text underlined, graphite in dark. Colours: --w-* only. */
body{--w-thread:var(--w-thread-uk)}
.section.paper-2{background:var(--paper)} /* one ground per theme */
/* 4 px sector stripe in AFERA's group colour (the card says its sector in words too: colour is never the only cue) */
.job-card::before,.sector-card::before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:4px;background:var(--sec,var(--w-link));border-radius:var(--radius-sm) 0 0 var(--radius-sm);pointer-events:none}
.sector-card{position:relative;border-color:var(--card-edge);box-shadow:var(--shadow-card)}
.job-card:has(> [data-group="health"]),[data-group="health"]{--sec:var(--w-sector-health)}
.job-card:has(> [data-group="industry"]),[data-group="industry"]{--sec:var(--w-sector-industry)}
.job-card:has(> [data-group="business"]),[data-group="business"]{--sec:var(--w-sector-business)}
.job-card:has(> [data-group="public"]),[data-group="public"]{--sec:var(--w-sector-public)}
/* the featured job (a sponsored card) and the CV band: white, 2 px gold edge */
.job-card[data-featured],.job-card.is-featured{border:2px solid var(--w-featured-edge)}
/* links inside running text are underlined (WCAG 1.4.1: navy reads almost like body text). Not li: a list whose items ARE links
   (the sector index, the market homes) is navigation, not text; a list inside an article is covered by .prose. The footer's
   bottom line is a sentence too (the "trading name of" link): the device lab's axe run failed it on every page until it joined. */
main :is(p,dd,td,blockquote) a:not([class]),.prose a:not(.btn),.foot-bottom span a:not([class]){text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
:focus-visible{outline:2px solid var(--w-focus);outline-offset:3px}
::placeholder{color:var(--w-placeholder);opacity:1}
/* audit #5: the hero search pill has a visible 3:1 edge (it was white on cream, 1.10:1) */
.hero-search{border:1px solid var(--field-edge)}
/* the jobs filter fields (plugin markup, theme colour): a 3:1 edge (audit #8) */
form .vf-jf-field input,form .vf-jf-field select{border-color:var(--field-edge)}
/* S2: cross-document view transition, card title (the block h3) -> job H1. Desktop and tablet only (1024px up, where split
   view starts); phones and reduced motion get a plain, instant navigation. The root does not cross-fade. */
@media (min-width:1024px) and (prefers-reduced-motion: no-preference){
  @view-transition{navigation:auto}
  ::view-transition-old(root),::view-transition-new(root){animation:none}
}
