/* =====================================================================
   site.css: the shared Aligra styles. Every page loads this.
   Page-only styles go inline in that page.
   ===================================================================== */
/* #####################################################################
   SHARED: site-wide styles (lift into site.css)
   Tokens, base, buttons, chips, section headings, teaser links, the
   lockups, header, mobile menu, search box, job card stack,
   cards, footer, mobile bottom bar, toast and apply sheet.
   ##################################################################### */

/* =====================================================================
   Header
   ===================================================================== */
.top{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--off) 82%,transparent);backdrop-filter:saturate(1.4) blur(16px);-webkit-backdrop-filter:saturate(1.4) blur(16px);border-bottom:1px solid rgba(20,22,28,.07)}
.top .wrap{position:relative;display:flex;align-items:center;gap:var(--s5);height:var(--hdr)}
.logo{text-decoration:none}
.top .logo img{height:21px;width:auto}
.nav{display:none;gap:24px;font-weight:500;font-size:var(--t-sm)}
.nav a{text-decoration:none;color:var(--g-700);display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.nav a:hover{color:var(--red-txt)}
.nav a[aria-current="page"]{color:var(--ink);font-weight:600}
.mnav a[aria-current="page"]{background:var(--red-50);color:var(--red-700)}
.nav a svg{width:17px;height:13px;color:var(--red-txt)}
.top .sp{flex:1}
.top .reg{display:none}
.menu-btn{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;margin-right:-8px}
.menu-btn i{display:grid;gap:5px}
.menu-btn i b{display:block;width:20px;height:2px;background:var(--k-ink);border-radius:2px;transition:transform .3s var(--ease),opacity .2s}
.menu-btn[aria-expanded="true"] i b:first-child{transform:translateY(3.5px) rotate(45deg)}
.menu-btn[aria-expanded="true"] i b:last-child{transform:translateY(-3.5px) rotate(-45deg)}
.mnav{position:absolute;top:calc(var(--hdr) - 4px);left:10px;right:10px;background:var(--white);border-radius:var(--r-md);box-shadow:var(--sh-3);padding:8px;display:none}
.mnav.open{display:block;animation:rise .3s var(--ease)}
.mnav a{display:flex;align-items:center;gap:10px;padding:14px 16px;font-size:18px;font-weight:500;border-radius:12px;text-decoration:none}
.mnav a:hover{background:var(--g-50)}
.mnav a svg{width:20px;height:15px;color:var(--red-txt)}
.mnav .btn{width:100%;margin-top:6px;height:52px;font-size:16px}
@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- Shared: who-are-you toggle, search box, answer, job cards ---------- */
/* who-are-you toggle */
.mode{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:999px;background:rgba(192,195,200,.42);font-weight:600;font-size:var(--t-sm);margin-bottom:var(--s3)}
.mode input{position:absolute;opacity:0;pointer-events:none}
.mode label{position:relative;z-index:1;padding:8px 16px;border-radius:999px;cursor:pointer;color:var(--g-600);text-align:center;transition:color .25s;white-space:nowrap}
.mode .thumb{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:999px;background:var(--white);box-shadow:var(--sh-1);transition:transform .35s var(--ease)}
.mode:has(#m-hire:checked) .thumb{transform:translateX(100%)}
.mode:has(#m-work:checked) label[for=m-work],.mode:has(#m-hire:checked) label[for=m-hire]{color:var(--ink)}
.mode:has(:focus-visible){outline:3px solid var(--red);outline-offset:3px}

/* the smart box */
.ask{position:relative;z-index:5}
@keyframes launch{0%{transform:rotate(45deg) translateY(0)}45%{transform:rotate(45deg) translateY(-46px);opacity:1}46%{opacity:0;transform:rotate(45deg) translateY(46px)}100%{opacity:1;transform:rotate(45deg) translateY(0)}}
.chips{display:flex;gap:8px;margin:var(--s3) calc(var(--gut) * -1) 0;padding:0 var(--gut) 2px;overflow-x:auto;scrollbar-width:none;scroll-padding:0 var(--gut)}
.chips::-webkit-scrollbar{display:none}
.proof-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:var(--s5);font-size:14px;color:var(--g-600)}
.proof-line b{font-family:var(--num);font-weight:800;color:var(--ink);font-size:21px;margin-right:4px;vertical-align:-2px}
.proof-line .div{display:none;width:1px;height:22px;background:var(--g-300)}

/* the answer, inside the hero */
.fchips{display:flex;flex-wrap:wrap;gap:6px}
.fchip{position:relative;display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 4px 0 12px;border-radius:999px;background:var(--g-50);box-shadow:inset 0 0 0 1px var(--g-200);font-size:13.5px;transition:box-shadow .2s,background .2s;cursor:pointer;max-width:100%}
.fchip:hover{background:var(--white);box-shadow:inset 0 0 0 1px var(--g-300)}
.fchip .k{color:var(--g-500);font-weight:500;white-space:nowrap}
.fchip select{appearance:none;-webkit-appearance:none;border:0;background:transparent;font:600 13.5px var(--body);color:var(--ink);padding:0 24px 0 0;height:34px;cursor:pointer;outline:none;min-width:0;max-width:150px;text-overflow:ellipsis;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%235B5E65' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center;background-size:16px}
.fchip:focus-within{box-shadow:inset 0 0 0 2px var(--red);background:var(--white)}
.fchip.pop{animation:pop .5s var(--spring) both}
@keyframes pop{from{opacity:0;transform:translateY(6px) scale(.85)}}
.fchip{flex:none;height:32px}


.jcard .acts .btn{height:42px;padding:0 18px;font-size:14.5px}

/* =====================================================================
   2. Quick routes under the hero
   ===================================================================== */
.quick{display:grid;gap:var(--s3);margin-top:var(--s3)}
.qcard{display:flex;gap:var(--s4);align-items:center;background:var(--white);border-radius:var(--r-md);padding:12px 16px 12px 12px;box-shadow:var(--sh-1);text-decoration:none;min-width:0;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.qcard:hover{transform:translateY(-1px);box-shadow:var(--sh-2)}
.qcard img{width:64px;height:64px;border-radius:16px;object-fit:cover;flex:none}
.qcard .tx{min-width:0}
.qcard small{display:block;color:var(--g-500);font-size:14px}
.qcard strong{font-weight:600;font-size:var(--t-md);line-height:1.25;display:block}
.qcard .arrow{margin-left:auto;flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--g-50);transition:background .25s,color .25s,transform .35s var(--ease)}
.qcard .arrow svg{width:16px;height:16px}
.qcard:hover .arrow{background:var(--red);color:var(--k-white);transform:translateX(2px)}
.qrate{display:flex;align-items:center;gap:14px;padding:6px 8px}
.qrate .num{font-family:var(--num);font-size:40px;line-height:1;color:var(--ink)}
.qrate p{font-size:14.5px;color:var(--g-600);line-height:1.3}

/* =====================================================================
   8. Footer (dark)
   ===================================================================== */
.ftr{position:relative;z-index:2;background:var(--k-ink);color:var(--k-g-300);margin-top:var(--sec);padding:56px 0 150px;font-size:15px}
.ftr-grid{display:grid;gap:36px}
.ftr .logo img{height:26px;width:auto}
.ftr .about{margin-top:16px;line-height:1.55}
.ftr h4{font-family:var(--body);font-size:15px;font-weight:600;color:var(--k-white);letter-spacing:0;margin-bottom:12px}
.ftr ul{list-style:none;display:grid;gap:8px}
.ftr a{text-decoration:none;transition:color .2s}
.ftr a:hover{color:var(--k-white)}
.ftr-cols{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.homage{display:flex;align-items:center;gap:14px;margin-top:26px;max-width:420px}
.homage .disc{width:72px;height:72px;border-radius:50%;background:var(--ink-3);display:grid;place-items:center;overflow:hidden;flex:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.homage img{width:62px;height:auto;display:block;transform:rotate(-8deg);filter:grayscale(.15)}
.homage p{font-size:14px;line-height:1.45}
.homage b{display:block;color:var(--k-white);font-size:15px}
.branches{margin-top:40px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);font-size:14px;line-height:1.8}
.branches b{color:var(--k-white);font-weight:600;margin-right:8px}
.legal{margin-top:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-wrap:wrap;gap:8px 22px;font-size:13px;color:var(--k-g-400)}
.linkish{font-size:inherit;color:inherit;padding:0;text-decoration:none}.linkish:hover{color:var(--k-white)}

/* =====================================================================
   Fixed bits: note, toast, mobile bar, apply sheet
   ===================================================================== */
.mbar{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:55;display:flex;gap:8px;align-items:center;padding:8px;border-radius:22px;background:rgba(24,25,28,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--sh-3);transform:translateY(150%);transition:transform .45s var(--spring)}
.mbar.show{transform:none}
body.applying .mbar{transform:translateY(150%)}
.mbar label{flex:1;min-width:0;position:relative}
.mbar label svg{position:absolute;left:12px;top:50%;width:20px;height:15px;transform:translateY(-50%);color:var(--red-soft)}
.mbar input{width:100%;height:48px;border:0;border-radius:15px;background:rgba(255,255,255,.1);color:var(--k-white);padding:0 12px 0 40px;font-size:16px;outline:none}
.mbar input::placeholder{color:var(--k-g-400)}
.mbar input:focus{box-shadow:inset 0 0 0 1.5px var(--red-soft)}
.mbar .go{width:48px;height:48px;border-radius:15px;background:var(--red);color:var(--k-white);display:grid;place-items:center;flex:none}
.mbar .go svg{width:22px;height:22px;transform:rotate(45deg)}
.mbar .call{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:var(--white);color:var(--ink);flex:none}
.mbar .call svg{width:20px;height:20px}
.toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:120;transform:translate(-50%,30px);opacity:0;background:var(--k-ink);color:var(--k-off);padding:12px 18px;border-radius:16px;font-size:15px;box-shadow:var(--sh-2);transition:transform .4s var(--spring),opacity .25s;pointer-events:none;width:max-content;max-width:calc(100vw - 32px);text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}

 .sheet{position:fixed;inset:0;z-index:100;display:none;align-items:flex-end;justify-content:center}
.sheet.open{display:flex}
.sheet-bg{position:absolute;inset:0;background:rgba(24,25,28,.42);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:fade .3s}
@keyframes fade{from{opacity:0}}
.panel-s{position:relative;width:100%;max-width:480px;background:var(--off);border-radius:24px 24px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom));box-shadow:var(--sh-3);max-height:92vh;overflow:auto;animation:sheetup .4s var(--ease)}
@keyframes sheetup{from{transform:translateY(24px);opacity:0}}
.iconbtn{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--g-100)}
.iconbtn svg{width:18px;height:18px}
.close-s{position:absolute;right:14px;top:14px}
.s-head{padding-right:46px;margin-bottom:16px}
.s-head h3{font-family:var(--body);font-weight:600;font-size:22px;letter-spacing:-.01em;line-height:1.2}
.s-head p{font-size:14.5px;color:var(--g-600);margin-top:4px}
.fld{display:block;margin-bottom:12px;min-width:0;border:0}
.fld > span,.fld legend{display:block;font-size:14px;font-weight:600;margin-bottom:6px;padding:0}
.fld i{font-style:normal;font-weight:500;color:var(--g-500)}
.form-input{width:100%;height:50px;border-radius:12px;border:0;background:var(--white);box-shadow:inset 0 0 0 1.5px var(--g-200);padding:0 14px;font-size:17px;outline:none;transition:box-shadow .2s}
.form-input.ta{height:auto;padding:12px 14px;resize:vertical;line-height:1.4}
.form-input:focus{box-shadow:inset 0 0 0 2px var(--red)}
.fld.err .form-input{box-shadow:inset 0 0 0 2px var(--red)}
.err-msg{display:none;font-style:normal;font-size:13px;color:var(--red-700);margin-top:4px}
.fld.err .err-msg{display:block}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.seg{display:flex;gap:8px}
.seg label{flex:1;position:relative}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg span{display:block;text-align:center;padding:12px 8px;border-radius:12px;background:var(--white);box-shadow:inset 0 0 0 1.5px var(--g-200);font-weight:600;font-size:15px;cursor:pointer;transition:background .2s,color .2s}
.seg input:checked+span{background:var(--k-ink);color:var(--k-white);box-shadow:none}
.seg input:focus-visible+span{outline:3px solid var(--red);outline-offset:2px}
.fld.err .seg span{box-shadow:inset 0 0 0 2px var(--red)}
.file{position:relative;display:flex;align-items:center;gap:10px;min-height:50px;border-radius:12px;border:1.5px dashed var(--g-300);padding:10px 14px;font-size:15px;color:var(--g-600);cursor:pointer;background:var(--white)}
.file b{font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file svg{width:18px;height:18px;color:var(--red-txt);flex:none}
.file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.file:focus-within{border-color:var(--red)}
.consent{font-size:13px;color:var(--g-600);margin:4px 0 14px;line-height:1.45}
.consent a{color:var(--ink);font-weight:600}
.submit{width:100%;height:52px;border-radius:14px;background:var(--red);color:var(--k-white);font-weight:600;font-size:16px;transition:background .2s}
.submit:hover{background:var(--red-600)}
.done{outline:none;padding:4px 0}
.done .tick{width:44px;height:44px;border-radius:50%;background:var(--g-100);display:grid;place-items:center;color:var(--red-txt);margin-bottom:14px}
.done .tick svg{width:22px;height:22px}
.done h3{font-family:var(--body);font-weight:600;font-size:24px;letter-spacing:-.01em}
.done p{color:var(--g-700);margin-top:6px}
.done .contact{font-size:15px}
.done .contact a{color:var(--ink);font-weight:600}
.done .btn{margin-top:16px}

/* =====================================================================
   Tokens: one system for every section
   Red #B12718 with its tints and shades, white, off-white, cool greys, charcoal.
   ===================================================================== */
:root{
  --red:#B12718; --red-600:#9A2215; --red-700:#821C11; --red-800:#5F140C;
  --red-soft:#EE9385; --red-hot:#D9452F; --red-200:#EDBDB5; --red-100:#F7DEDD; --red-50:#FCF0F0;
  --white:#FFFFFF; --off:#F6F7F8;
  --g-50:#EFF0F2; --g-100:#E6E7EA; --g-200:#D7D9DD; --g-300:#C0C3C8; --g-400:#9EA1A8;
  --g-500:#686B72; --g-600:#5B5E65; --g-700:#3D3F45;
  --ink:#18191C;
  --online:#1F9D55;   /* status only: Ada online. Not a brand colour */
  --ink-2:#222327; --ink-3:#2E3035;

  /* One family everywhere. Aligra's official face is DIN Next LT Pro; swap these three tokens for it once the web licence is in place. */
  --display:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;
  --num:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px; --s9:96px; --s10:128px;
  --t-xs:13px; --t-sm:15px; --t-md:17px; --t-lg:20px; --t-xl:24px;
  --h1:clamp(46px,11.5vw,92px); --h2:clamp(36px,4.6vw,64px); --h3:clamp(26px,2.4vw,34px);
  --r-xl:36px; --r-lg:28px; --r-md:20px; --r-sm:14px; --r-xs:10px;

  --sh-1:0 1px 2px rgba(20,22,28,.06),0 8px 24px -10px rgba(20,22,28,.16);
  --sh-2:0 2px 6px rgba(20,22,28,.06),0 30px 60px -22px rgba(20,22,28,.30);
  --sh-3:0 4px 10px rgba(20,22,28,.06),0 40px 80px -30px rgba(20,22,28,.42);
  --sh-red:0 14px 30px -12px rgba(130,28,17,.65),inset 0 1px 0 rgba(255,255,255,.18);

  --ease:cubic-bezier(.2,.8,.2,1); --spring:cubic-bezier(.2,.9,.3,1.2);
  --max:1240px; --gut:16px; --hdr:60px; --sec:72px;

  /* Fixed colours: the same in light and dark mode. Used where a colour sits on something that never flips
     (white text on red buttons, dark and deep-red panels, light text on dark panels). */
  --k-white:#FFFFFF; --k-ink:#18191C; --k-off:#F6F7F8; --k-g-100:#E6E7EA; --k-g-200:#D7D9DD; --k-g-300:#C0C3C8; --k-g-400:#9EA1A8;
  --k-red-100:#F7DEDD; --k-red-200:#EDBDB5; --k-red-700:#821C11;
  --red-txt:var(--red);   /* red used as text: a lighter red in dark mode, for contrast */
  --glass:255,255,255;    /* frosted panels: rgba(var(--glass), alpha) */
}

/* ---------- dark mode ----------
   Light by default. Dark only when the visitor picks it (header moon button or Accessibility options): html[data-theme="dark"].
   Only the tokens change: everything painted from them follows. */
:root[data-theme="dark"]{--off:#131417; --white:#1D1E22;
  --g-50:#232529; --g-100:#2A2C31; --g-200:#35373D; --g-300:#474A51; --g-400:#6B6F77;
  --g-500:#9A9EA5; --g-600:#B1B4BA; --g-700:#CDCFD3; --ink:#F2F3F5;
  --red-50:#2A1714; --red-100:#3A1E19; --red-200:#5C2B23; --red-700:#F0503F; --red-txt:#F0503F;
  --glass:29,30,34;
  --sh-1:0 1px 2px rgba(0,0,0,.35),0 8px 24px -10px rgba(0,0,0,.6);
  --sh-2:0 2px 6px rgba(0,0,0,.35),0 30px 60px -22px rgba(0,0,0,.7);
  --sh-3:0 4px 10px rgba(0,0,0,.35),0 40px 80px -30px rgba(0,0,0,.8);
  color-scheme:dark;}
:root[data-theme="dark"].a11y-contrast{--off:#000000; --white:#111214; --g-200:#7A7E86; --g-300:#9A9EA5; --g-400:#B8BBC1; --g-500:#D6D8DC; --g-600:#E6E7EA; --g-700:#F4F5F6; --ink:#FFFFFF; --red-txt:#FF6A57; --red-700:#FF6A57;}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
body{background:var(--off);color:var(--ink);font-family:var(--body);font-size:var(--t-md);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.4;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .43 0 0 0 0 .46 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
img{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,textarea,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:8px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
main,footer,section{position:relative;z-index:2}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;letter-spacing:-.015em;line-height:1.06;text-wrap:balance}
h2{font-size:var(--h2)}
/* QA: inner pages (anything after the page band) use the section size, not the homepage display size. Zero extra specificity, so page rules still win. */
:where(.page-band ~ *) h2{font-size:clamp(28px,3.1vw,40px)}
h2 em,h1 em{font-style:normal;color:var(--red-txt)}
.lede{font-size:clamp(17px,1.35vw,20px);color:var(--g-600);text-wrap:pretty}
.eyebrow{display:block;font-weight:600;font-size:var(--t-sm);color:var(--red-txt);margin-bottom:var(--s3)}
.sec{padding-top:var(--sec)}
.ph{font-size:.82em;color:var(--g-500);font-weight:500;white-space:nowrap}

/* buttons, chips: shared */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 22px;border-radius:999px;font-weight:600;font-size:var(--t-sm);text-decoration:none;white-space:nowrap;transition:transform .25s var(--ease),background .2s,box-shadow .2s}
.btn svg{width:18px;height:18px;flex:none}
.btn:active{transform:scale(.97)}
.btn-red{background:var(--red);color:var(--k-white);box-shadow:0 8px 18px -10px rgba(130,28,17,.7)}
.btn-red:hover{background:var(--red-600)}
.btn-ghost{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1px var(--g-200)}
.btn-ghost:hover{box-shadow:inset 0 0 0 1px var(--g-300),var(--sh-1)}
.btn-light{background:var(--white);color:var(--red-700)}
.btn-light:hover{background:var(--off)}
.btn-line{color:var(--k-white);box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)}
.btn-line:hover{box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
.btn-sm{height:40px;padding:0 16px;font-size:14px}
.chip{flex:none;display:inline-flex;align-items:center;height:38px;padding:0 15px;border-radius:999px;background:rgba(var(--glass),.62);box-shadow:inset 0 0 0 1px var(--g-200);font-size:var(--t-sm);font-weight:500;color:var(--g-700);white-space:nowrap;transition:background .2s,box-shadow .2s,transform .25s var(--ease)}
.chip:hover{background:var(--white);box-shadow:inset 0 0 0 1px var(--g-300);transform:translateY(-1px)}
.stars{display:inline-flex;gap:1px;color:var(--red-txt);vertical-align:-2px}
.stars svg{width:15px;height:15px}

/* teaser links: every homepage section ends with one, pointing at its own page */
.more{display:inline-flex;align-items:center;gap:8px;margin-top:var(--s5);font-weight:600;font-size:var(--t-sm);color:var(--red-txt);text-decoration:none;border-bottom:1.5px solid transparent;transition:border-color .2s,gap .25s var(--ease)}
.more svg{width:16px;height:16px}
.more:hover{gap:12px;border-color:currentColor}
.more.inv{color:var(--k-white)}

/* the old lockup class, kept so a page not yet moved over still lays out; its icon is now Ada's orb */
.ai-lock{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:13px;line-height:1;color:var(--ink);white-space:nowrap}
.ai-lock svg{width:22px;height:17px;color:var(--red-txt);flex:none}
.ai-lock span{color:var(--g-500);font-weight:500}
.ai-lock.big{gap:12px;font-size:22px}
.ai-lock.big svg{width:46px;height:35px}
.ai-lock.inv{color:var(--k-white)}
.ai-lock.inv span{color:var(--k-g-300)}

/* ---------- Shared: the search bar (what + where, one button) ---------- */
.ask{position:relative;z-index:5}
.box{display:grid;grid-template-columns:minmax(0,1fr);background:var(--white);border-radius:20px;padding:6px;box-shadow:var(--sh-2),inset 0 0 0 1px var(--g-200)}
.bx{min-width:0;padding:8px 8px 6px 12px;border-radius:14px;transition:background .2s}
.bx:focus-within{background:var(--g-50)}
.bx + .bx{border-top:1px solid var(--g-100)}
.bx-lbl{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--g-600);line-height:1}
.bx-lbl .ai-lock{font-size:11px}
.bx-lbl .ai-lock svg{width:15px;height:11px}
.bx-row{display:flex;align-items:center;gap:4px;margin-top:4px}
.bx input{flex:1;min-width:0;height:34px;border:0;outline:0;background:transparent;font:500 17px/1 var(--body);color:var(--ink);text-overflow:ellipsis}
.bx input::placeholder{color:var(--g-500)}
.ibtn{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--g-600);transition:background .2s,color .2s}
.ibtn svg{width:19px;height:19px}
.ibtn.pc-x{width:30px;height:30px}
.ibtn.pc-x svg{width:15px;height:15px}
.ibtn:hover{background:var(--g-100);color:var(--ink)}
.mic[aria-pressed=true]{background:var(--red-100);color:var(--red-txt)}
.mic[aria-disabled=true]{opacity:.45}
.send{display:flex;align-items:center;justify-content:center;gap:8px;height:50px;margin-top:4px;padding:0 20px;border-radius:15px;background:var(--red);color:var(--k-white);font-weight:600;font-size:16px;overflow:hidden;box-shadow:0 8px 18px -10px rgba(130,28,17,.7);transition:background .2s}
.send:hover{background:var(--red-600)}
.send svg{width:20px;height:20px;transform:rotate(45deg);flex:none}
.send.launch svg{animation:launch .7s var(--ease)}
/* the row under the search: chips before, Ada's one-line reply after. Same height either way. */
.ask-zone{position:relative;height:104px;margin-top:14px}
.zone-default,.strip{position:absolute;left:0;right:0;top:0;transition:opacity .3s var(--ease),visibility .3s}
.zone-default .chips{margin-top:0}
.hero.asked .zone-default,.hero:not(.asked) .strip{opacity:0;visibility:hidden}
.strip{bottom:0;display:flex;flex-direction:column;gap:8px}
.strip-msg{display:flex;gap:8px;align-items:flex-start;font-size:15px;line-height:1.4;font-weight:500;color:var(--ink)}
.strip-msg svg{width:19px;height:14px;color:var(--red-txt);flex:none;margin-top:3px}
.strip-msg > span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.strip-msg .busy{color:var(--g-500)}
.strip-msg a{color:var(--red-txt);font-weight:600;text-decoration:none;white-space:nowrap}
.strip-msg a:hover{text-decoration:underline}
.strip-row{display:flex;gap:6px;align-items:center;overflow-x:auto;scrollbar-width:none;padding:1px 28px 1px 1px;margin-top:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent)}
.strip-row::-webkit-scrollbar{display:none}
.fchip{flex:none;height:32px}
.fchip select{max-width:none;text-overflow:clip;field-sizing:content;height:30px}
.clear{flex:none;height:32px;padding:0 10px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--g-600)}
.clear:hover{color:var(--red-txt)}

/* ---------- Shared: job cards, and the deck they sit in ---------- */
.jcard{position:relative;background:var(--white);border-radius:18px;padding:16px 16px 14px;box-shadow:inset 0 0 0 1px var(--g-200),0 1px 2px rgba(20,22,28,.06)}
.jc-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.jcard h3{font-family:var(--body);font-weight:600;font-size:18px;line-height:1.25;letter-spacing:-.005em;min-width:0}
.jcard .pay{font-family:var(--num);font-weight:800;font-size:26px;line-height:1;color:var(--red-txt);white-space:nowrap;text-align:right}
.jcard .pay small{display:block;font-family:var(--body);font-size:12px;font-weight:500;color:var(--g-500);margin-top:3px}
.jcard .where{display:flex;gap:6px;align-items:center;margin-top:2px;font-size:14px;color:var(--g-600);min-width:0}
.jcard .where svg{width:14px;height:14px;color:var(--g-500);flex:none}
.jcard .where span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jcard .where i{font-style:normal;color:var(--g-500)}
.jcard .facts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;list-style:none}
.jcard .facts li{font-size:12.5px;font-weight:500;background:var(--g-50);color:var(--g-700);border-radius:8px;padding:4px 8px}
.jcard .acts{display:flex;gap:8px;margin-top:12px}
.jcard .acts .btn{flex:1;height:42px;padding:0 14px;font-size:14.5px}
.jobs{position:relative;outline:none;perspective:1200px;touch-action:pan-y}
.jobs:focus-visible{outline:3px solid var(--red);outline-offset:4px;border-radius:20px}
.jobs .jcard{position:absolute;left:0;right:0;bottom:0;transform-origin:50% 100%;will-change:transform;cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y}
.jobs .jcard::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;box-shadow:0 26px 44px -22px rgba(20,22,28,.5),0 8px 18px -12px rgba(20,22,28,.22);opacity:calc(1 - var(--d,0) * .3);transition:box-shadow .35s var(--ease)}
.jobs .jcard.dragging{cursor:grabbing}
.jobs .jcard.dragging::before{box-shadow:0 40px 64px -26px rgba(20,22,28,.55),0 12px 24px -14px rgba(20,22,28,.25)}
.jobs .jcard:not(.front) .acts{opacity:.55}
.sheen{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:2}
.sheen::after{content:"";position:absolute;inset:-50%;background:linear-gradient(115deg,transparent 42%,rgba(var(--glass),.55) 50%,transparent 58%);transform:translate(calc(-22% + var(--mx,0) * 22%),calc(var(--my,0) * 10%));opacity:0;transition:opacity .5s var(--ease)}
.jcard.front:hover .sheen::after{opacity:.6}
.deck-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:5px 5px 5px 14px;border-radius:14px;background:rgba(var(--glass),.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px var(--g-200),var(--sh-1)}
.deck-foot > b{font-size:13.5px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dctl{display:flex;align-items:center;gap:2px;flex:none}
.ctrl{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--ink);transition:background .2s}
.ctrl:hover{background:var(--g-100)}
.ctrl:disabled{opacity:.35}
.ctrl svg{width:17px;height:17px}
.counter{min-width:48px;text-align:center;font-size:13px;color:var(--g-600)}
.counter b{color:var(--ink);font-weight:700}
/* job detail sheet */
.d-pay{font-family:var(--num);font-weight:800;font-size:40px;line-height:1;color:var(--red-txt);margin-bottom:14px}
.d-pay small{font-family:var(--body);font-size:15px;font-weight:500;color:var(--g-500)}
.d-rows{display:grid;margin-bottom:18px}
.d-rows div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--g-200);font-size:15px}
.d-rows dt{color:var(--g-500)}
.d-rows dd{font-weight:500}
.d-rows a{color:var(--ink);font-weight:600}
.d-acts{display:grid;gap:10px}
.d-acts .btn{height:50px}
/* a pay range or a salary is longer than an hourly rate: a touch smaller, and it may wrap under the title */
.jcard .pay.long{font-size:19px;white-space:normal;max-width:7.5em}

/* ---------- Shared: navigation dropdowns and the mobile accordion ---------- */
.nav{align-items:center;gap:4px}
.dd{position:relative}
.dd-btn,.nav-link{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 12px;border-radius:999px;font-weight:500;font-size:var(--t-sm);color:var(--g-700);text-decoration:none;transition:background .2s,color .2s}
.dd-btn svg{width:15px;height:15px;transition:transform .25s var(--ease)}
.dd-btn:hover,.nav-link:hover,.dd.open .dd-btn{background:rgba(192,195,200,.3);color:var(--ink)}
.dd.open .dd-btn svg{transform:rotate(180deg)}
.dd-panel{position:absolute;top:calc(100% + 10px);left:-8px;z-index:70;min-width:250px;padding:12px;border-radius:var(--r-md);background:var(--white);box-shadow:var(--sh-3),inset 0 0 0 1px var(--g-200);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .2s var(--ease),transform .2s var(--ease),visibility .2s}
.dd-panel::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.dd.open .dd-panel{opacity:1;visibility:visible;transform:none}
.dd.wide .dd-panel{left:-80px}
.dd-cols{display:grid;gap:4px 20px}
.dd-cols.c2{grid-template-columns:repeat(2,minmax(190px,1fr))}
.dd-cols.c5{grid-template-columns:repeat(5,max-content);gap:4px 32px}
.dd-list,.m-list{list-style:none}
.dd-list a{display:block;padding:7px 10px;border-radius:10px;font-size:14.5px;text-decoration:none;color:var(--ink);white-space:nowrap}
.dd-list a:hover,.dd-list a:focus-visible{background:var(--g-50);color:var(--red-txt)}
.dd-h{display:block;padding:8px 10px 4px;font-size:12.5px;font-weight:600;color:var(--g-500);text-decoration:none}
a.dd-h:hover{color:var(--red-txt)}
.dd-note{padding:2px 10px;font-size:13px;color:var(--g-600)}
.dd-top{display:flex;align-items:center;gap:8px;margin-bottom:6px;padding:10px 12px;border-radius:12px;background:var(--red-50);color:var(--red-700);font-weight:600;font-size:14.5px;text-decoration:none}
.dd-top svg{width:16px;height:16px}
.dd-top:hover{background:var(--red-100)}
.mnav{max-height:calc(100vh - var(--hdr) - 16px);overflow:auto;overscroll-behavior:contain}
.acc{border-bottom:1px solid var(--g-100)}
.acc summary{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;font-size:18px;font-weight:500;cursor:pointer;list-style:none;border-radius:12px}
.acc summary::-webkit-details-marker{display:none}
.acc summary svg{width:18px;height:18px;color:var(--g-500);transition:transform .25s var(--ease)}
.acc[open] summary svg{transform:rotate(180deg)}
.acc-in{padding:0 8px 10px}
.acc-in .m-list a{display:block;padding:9px 10px;font-size:16px;border-radius:10px;text-decoration:none}
.acc-in .m-list a:hover{background:var(--g-50)}
.acc-in .dd-top{margin:4px 0 6px}
.mnav .m-link{display:block;padding:14px 16px;font-size:18px;font-weight:500;text-decoration:none;border-radius:12px}
.mnav .dd-h{display:block;font-size:12.5px;font-weight:600;padding:12px 10px 4px;color:var(--g-500)}
.mnav .dd-top{display:flex;font-size:15px;padding:10px 12px}
/* Locations mega menu: four region columns, a narrower divisions column, one strip along the bottom */
.dd.mega{position:static}
.dd.mega .dd-panel{left:50%;translate:-50% 0;width:min(1000px,calc(100% - 2 * var(--gut)));padding:16px 16px 12px}
.dd.mega .dd-panel::before{top:-26px;height:26px}
.loc-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,.8fr);gap:4px}
.loc-col{min-width:0;padding:4px 4px 8px;display:flex;flex-direction:column}
.loc-col .dd-list{margin-top:6px}
.loc-more{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding:10px 10px 2px;font-size:13.5px;font-weight:600;color:var(--red-txt);text-decoration:none}
.loc-more svg{width:13px;height:13px;transition:transform .2s var(--ease)}
.loc-more:hover svg{transform:translateX(3px)}
.loc-divs{border-left:1px solid var(--g-100);padding-left:14px}
.loc-h{display:block;padding:4px 10px 2px;font-family:var(--display);font-weight:700;font-size:18px;line-height:1.15;color:var(--ink);text-decoration:none}
a.loc-h:hover{color:var(--red-txt)}
.loc-tag{padding:0 10px;font-size:12px;color:var(--g-500);line-height:1.35}
.loc-hub{display:flex;align-items:center;gap:8px;margin-top:8px;padding:7px 10px;border-radius:10px;font-size:14.5px;color:var(--ink);text-decoration:none}
.loc-hub b{font-weight:600}
.loc-hub:hover{background:var(--g-50)}
.loc-hub:hover b{color:var(--red-txt)}
.loc-cov{padding:0 10px 6px;font-size:12.5px;line-height:1.35;color:var(--g-500)}
.loc-cols .dd-list a{white-space:normal;line-height:1.3}
.hubtag{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:999px;background:var(--k-ink);color:var(--k-white);font:600 10.5px/1 var(--body);letter-spacing:.02em;vertical-align:2px}
.loc-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:6px;padding-top:12px;border-top:1px solid var(--g-100)}
.loc-strip .dd-top{margin:0}
.loc-strip span{flex:1;min-width:200px;font-size:13.5px;color:var(--g-600)}
.loc-map{display:inline-flex;align-items:center;gap:6px;padding:0 6px;font-size:14px;font-weight:600;color:var(--red-txt);text-decoration:none}
.loc-map svg{width:14px;height:14px}
.m-reach{padding:10px;font-size:13.5px;color:var(--g-600)}
/* footer bits */
/* ---------- Home: who we work with (testimonials) ---------- */
.clients{margin-top:22px;padding-top:18px;border-top:1px solid var(--g-100)}
.clients p{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--g-500)}
.clients ul{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px}
.clients li{font-family:var(--display);font-weight:700;font-size:22px;color:var(--g-700);letter-spacing:.01em}
/* ---------- Home: local branches (replaces the towns marquee) ---------- */
.lb-sec{padding:var(--s7,40px) 0}
.lb-panel{background:var(--white);border-radius:var(--r-lg);box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);padding:32px}
.lb-head{display:grid;gap:16px;align-items:end;margin-bottom:28px}
.lb-head h2{font-family:var(--display);font-weight:800;font-size:clamp(32px,3.4vw,46px);line-height:.98;letter-spacing:-.01em;margin:0}
.lb-head h2 em{font-style:normal;color:var(--red-txt)}
.lb-side{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.lb-side p{margin:0;color:var(--g-600);line-height:1.45}
.lb-btn{display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:999px;background:var(--red);color:var(--k-white);font-weight:600;text-decoration:none;white-space:nowrap}
.lb-grid{display:grid;gap:24px;border-top:1px solid var(--g-100);padding-top:24px}
.lb-col{min-width:0}
.lb-region{display:inline-flex;align-items:center;gap:6px;font-family:var(--display);font-weight:700;font-size:20px;color:var(--ink);text-decoration:none;margin-bottom:12px}
.lb-region svg{width:14px;height:14px;color:var(--red-txt);transition:transform .2s}
.lb-region:hover svg{transform:translateX(3px)}
.lb-col ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.lb-branch{display:block;font-weight:600;color:var(--ink);text-decoration:none}
.lb-branch small{font-weight:500;color:var(--red-txt);font-size:12px;margin-left:4px}
.lb-branch:hover{color:var(--red-txt)}
.lb-towns{display:block;font-size:13.5px;color:var(--g-500);line-height:1.4;margin-top:2px}
.lb-foot{margin:24px 0 0;padding-top:18px;border-top:1px solid var(--g-100);font-size:14px;color:var(--g-600)}
.lb-foot a{color:var(--red-txt);font-weight:600}
/* award feature: copy 5, media 7. The badge is shown exactly as supplied, never cropped or masked. */
.aw-panel{display:grid;gap:28px;align-items:center;background:var(--white);border-radius:var(--r-xl);padding:28px 20px;box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200)}
.aw-copy h2{font-family:var(--display);font-weight:800;font-size:clamp(34px,4vw,54px);line-height:.98;letter-spacing:-.01em}
.aw-copy .lede{margin-top:16px}
.aw-media{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:14px;align-items:stretch;min-width:0}
/* Interim: fill the tile with the award graphic's own teal; replace with the official transparent lockup from the media kit. */
.aw-badge{display:grid;place-items:center;margin:0;padding:0;border-radius:var(--r-lg);overflow:hidden;background:#47A6A0}
.aw-badge img{width:100%;height:100%;object-fit:contain}
.aw-photo{margin:0;border-radius:var(--r-lg);overflow:hidden;min-height:260px;background:var(--g-200)}
.aw-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
@media (min-width:900px){.aw-panel{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;padding:48px}.aw-photo{min-height:340px}}
.lb-hubrow .lb-branch{display:flex;align-items:center;gap:8px}
.lb-note{display:block;margin-top:2px;font-size:12.5px;font-weight:600;color:var(--g-600)}
.lb-tag{margin:-6px 0 12px;font-size:13.5px;color:var(--g-600);line-height:1.4}
.lb-more{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--red-txt);text-decoration:none}
.lb-more svg{width:13px;height:13px}
.lb-divs{display:grid;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--g-100);align-items:stretch}
.lb-divh{font-family:var(--display);font-weight:700;font-size:20px;align-self:center}
.lb-div{display:block;padding:12px 14px;border-radius:14px;background:var(--g-50);text-decoration:none;transition:background .2s}
.lb-div b{display:block;font-size:15px;font-weight:600;color:var(--ink)}
.lb-div span{display:block;margin-top:2px;font-size:13.5px;line-height:1.4;color:var(--g-600)}
.lb-div:hover{background:var(--g-100)}
.lb-div:hover b{color:var(--red-txt)}
@media (min-width:900px){.lb-divs{grid-template-columns:minmax(0,.6fr) repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:700px){.lb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1060px){
  .lb-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .lb-side{justify-content:flex-end}
  .lb-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lb-panel{padding:40px}
}
.map-reach{position:absolute;top:12px;left:56px;z-index:700;display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:999px;background:var(--white);box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);font-size:13px;font-weight:600;color:var(--g-700);white-space:nowrap}
@media (max-width:560px){.map-reach{display:none}}
/* ---------- Shared: towns marquee (unused, kept for reference) ---------- */
.marquee{display:flex;overflow:hidden;margin-top:18px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.mq-track{display:flex;flex:none;list-style:none;gap:0;padding:0;animation:mq 110s linear infinite}
.marquee:hover .mq-track,.marquee:focus-within .mq-track{animation-play-state:paused}
.mq-track li{display:flex;align-items:center;white-space:nowrap;font-family:var(--display);font-weight:600;font-size:clamp(22px,2.4vw,30px);color:var(--g-700);padding:0 18px}
.mq-track li::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--red);margin-left:36px;opacity:.8}
@keyframes mq{to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){
  .marquee{-webkit-mask-image:none;mask-image:none}
  .mq-track{flex-wrap:wrap;flex:1;animation:none;gap:6px 0}
  .mq-track[aria-hidden]{display:none}
  .mq-track li{font-size:20px}
}
/* ---------- Shared: cards that feel alive ---------- */
.jobs .jcard .jc-top h3{translate:calc(var(--lx,0) * 2px) calc(var(--ly,0) * 1.5px)}
.jobs .jcard .pay{translate:calc(var(--lx,0) * 4px) calc(var(--ly,0) * 3px)}
.jobs .jcard.dragging::before{box-shadow:0 50px 84px -28px rgba(20,22,28,.55),0 18px 32px -16px rgba(20,22,28,.28)}
.jcard .acts .btn-red{transition:translate .25s var(--ease),background .2s}
@keyframes breathe{0%,100%{translate:0 0}50%{translate:0 -1.5px}}
.jobs .jcard.front.idle{animation:breathe 5.5s ease-in-out infinite}
.jcard.end .end-ico{width:40px;height:40px;border-radius:12px;background:var(--red-50);display:grid;place-items:center;margin-bottom:10px}
.jcard.end .end-ico svg{width:22px;height:17px;color:var(--red-txt)}
.jcard.end h3{font-family:var(--body);font-weight:600;font-size:18px;line-height:1.3}
.end-sub{font-size:14.5px;color:var(--g-600);margin-top:4px}

/* shared breakpoints */
@media (min-width:1000px) and (max-width:1279px){
}
@media (min-width:700px){
  /* What gets the full top row; Where and Search share the second, so neither placeholder is cut off. */
  .box{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
  .bx-what{grid-column:1 / -1}
  .bx + .bx{border-top:1px solid var(--g-100)}
  .send{height:auto;margin:6px 0 0 6px;padding:0 26px}
  .ask-zone{height:88px}
  .strip-msg > span{-webkit-line-clamp:2}
  :root{--gut:28px;--hdr:64px;--sec:104px}
  .chips{flex-wrap:nowrap;margin:var(--s3) 0 0;padding:0 0 2px}
  .mbar{display:none}
  .toast{bottom:40px}
  .sheet{align-items:center}
  .panel-s{border-radius:24px;padding:26px 26px 24px}
  .ftr-cols{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1060px){
  .top .reg{display:inline-flex;align-items:center;gap:8px}
  .top .reg + .reg{margin-left:calc(8px - var(--s5))}
  .a11y-btn{margin-right:10px}
  .nav{display:flex}
  .menu-btn,.mnav{display:none!important}
}
@media (min-width:900px){
  .ask-card{right:auto;width:min(360px,86%)}
  .ftr{padding:80px 0 90px}
  .ftr-grid{grid-template-columns:minmax(0,.8fr) minmax(0,2.6fr);gap:56px}
  .ftr-cols{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
}
@media (min-width:1000px){
}
@media (max-width:420px){
  .mode label{padding:8px 13px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}
}



/* #####################################################################
   PAGE COMPONENTS for the inner pages. All use the tokens above.
   ##################################################################### */

/* current page in the header */
/* where you are: the section sits in a faint pill and goes bold */
.dd.current > .dd-btn,.nav-link.current{color:var(--ink);font-weight:600;background:rgba(192,195,200,.22)}
/* the page you're on, inside a menu: a soft red pill, so it never looks like hover (grey) */
.nav .dd-list a[aria-current="page"]{background:var(--red-50);color:var(--red-700);font-weight:600}
.mnav a[aria-current="page"]{color:var(--red-700);font-weight:600}
.ftr a[aria-current="page"]{color:var(--k-white)}

/* scroll reveal without GSAP (site.js adds .reveal-io to <html>) */
.reveal-io [data-reveal]{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .9s var(--ease)}
.reveal-io [data-reveal].in{opacity:1;transform:none}

/* utilities */
.muted{color:var(--g-600)}
.small{font-size:var(--t-sm)}
.center{text-align:center}
.stack > * + *{margin-top:var(--s4)}
.mt-0{margin-top:0}.mt-2{margin-top:var(--s2)}.mt-4{margin-top:var(--s4)}.mt-6{margin-top:var(--s6)}.mt-8{margin-top:var(--s8)}
.ph-tag{display:inline-block;font-size:12px;font-weight:600;color:var(--g-600);background:var(--g-100);border-radius:999px;padding:2px 8px;vertical-align:2px}

/* ---------- the page band: THE opening of every inner page (owner's pick, option 4h) ----------
   A slim charcoal band straight under the header: breadcrumb, h1 and a one-line intro, a faint dot map of Britain
   on the right where real job locations softly light up, and a red line that sweeps along the bottom on load.
   No buttons in the band: the page's actions start in the content below. Not used on the homepage.
   Markup: <header class="page-band" data-band-focus="all"><div class="wrap"><nav class="crumbs" aria-label="Breadcrumb"><ol>..</ol></nav>
           <div class="pb-ttl"><h1>..</h1><p>..</p></div></div></header>
   The older .page-hero / .page-intro / .ph-tile markup is turned into this band by site.js on load. */
.page-band{position:relative;overflow:hidden;isolation:isolate;height:100px;background:var(--k-ink);color:var(--k-white);z-index:3}
.page-band > .wrap{position:relative;z-index:2;height:100%;padding-top:16px;padding-bottom:0}
.pb-map{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none}
/* one line each, always: the breadcrumb, the h1 (32 characters at most) and the intro (90 at most, desktop only) */
.page-band .crumbs{display:block;margin:0;height:16px;overflow:hidden}
.page-band .crumbs > ol{flex-wrap:nowrap;gap:0 8px;font-size:12.5px;line-height:16px;color:var(--k-g-300);white-space:nowrap}
.page-band .crumbs a{color:var(--k-g-300)}
.page-band .crumbs a:hover{color:var(--k-white)}
.page-band .crumbs [aria-current]{color:var(--k-white);font-weight:600}
.page-band .crumbs li + li::before{border-color:var(--g-500)}
.pb-ttl{display:flex;flex-wrap:nowrap;align-items:baseline;gap:0 18px;margin-top:8px;min-width:0}
.pb-ttl h1{flex:none;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-family:var(--display);font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:32px;color:var(--k-white)}
.pb-ttl h1 em{font-style:normal;color:inherit}
.pb-ttl p{display:none;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:16px;line-height:22px;color:var(--k-g-300)}
/* the red line along the bottom: sweeps in from the left, then a slow shimmer */
.page-band::after{content:"";position:absolute;left:0;bottom:0;z-index:3;width:100%;height:3px;background:linear-gradient(90deg,var(--red) 0,var(--red-hot) 50%,var(--red) 100%);background-size:200% 100%;transform-origin:left;animation:pbSweep 1.1s cubic-bezier(.2,.8,.2,1) .2s both,pbShimmer 6s linear 1.4s infinite}
@keyframes pbSweep{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes pbShimmer{to{background-position:-200% 0}}
.page-band.pb-still::after{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.page-band::after{animation:none;transform:none}}
/* phones: the intro line sits just under the band, as the page's first line */
.pb-lede{margin-top:14px;font-size:16px;line-height:1.45;color:var(--g-600);text-wrap:pretty}
@media (min-width:700px){
  .page-band{height:120px}
  .page-band > .wrap{padding-top:22px}
  .pb-ttl{margin-top:10px;max-width:calc(100% - 340px)}
  .pb-ttl h1{font-size:34px;line-height:40px}
  .pb-ttl p{display:block}
  .pb-lede{display:none}
}
/* tablets: the map takes the space the intro would need, so the intro sits under the band as on phones */
@media (min-width:700px) and (max-width:999px){
  .pb-ttl p{display:none}
  .pb-lede{display:block}
  /* QA: with the intro moved out, the h1 can use the width (it was cutting "On-site and managed services" at 768) */
  .pb-ttl{max-width:calc(100% - 200px)}
  .pb-ttl h1{font-size:30px}
}
/* crumbs anywhere (also the pilots' own heads) */
.crumbs,nav.crumbs > ol{display:flex;flex-wrap:wrap;gap:4px 8px;list-style:none;font-size:13.5px;color:var(--g-600)}
ol.crumbs{margin-bottom:12px}
.crumbs li{display:flex;align-items:center;gap:8px}
.crumbs li + li::before{content:"";width:5px;height:5px;border-right:1.5px solid var(--g-400);border-top:1.5px solid var(--g-400);transform:rotate(45deg)}
.crumbs a{text-decoration:none;color:var(--g-700)}
.crumbs a:hover{color:var(--red-txt)}
.crumbs [aria-current]{color:var(--ink);font-weight:600}
/* what's left of older intro markup once its title has moved into the band: actions, facts, tags. Media stays hidden. */
.page-hero,.page-intro:not(p){padding:0}
.pb-rest .ph-tile,.pb-rest .pi{display:block;padding:18px 0 0;background:none;border-radius:0;box-shadow:none;min-height:0}
.pb-rest.pb-empty{display:none}
@media (min-width:700px){.pb-rest.pb-empty-desk{display:none}}
.pb-rest .ph-tile > div > :first-child:not(.pb-lede),.pb-rest .pi-main > :first-child:not(.pb-lede){margin-top:0}
.pb-rest .pb-lede{margin:0 0 4px}
.ph-actions,.pi-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.ph-actions .btn,.pi-actions .btn{height:46px}
.pi-aside{margin-top:14px;font-size:14.5px;color:var(--g-700);line-height:1.4}
.pi-aside b{display:block;color:var(--ink);font-weight:600;font-size:15px}
.pi-aside .tel,.pi-aside .fig{display:block;font-family:var(--num);font-weight:800;font-size:26px;line-height:1.1;letter-spacing:-.01em;color:var(--ink);text-decoration:none;margin:4px 0 2px;font-variant-numeric:tabular-nums}
.page-hero .ph-media,.page-intro .ph-media{display:none}
/* before site.js runs, older markup already looks like the band, so nothing jumps */
.page-hero:not(.pb-rest),.page-intro:not(p):not(.pb-rest){height:100px;overflow:hidden;background:var(--k-ink);color:var(--k-white)}
@media (min-width:700px){.page-hero:not(.pb-rest),.page-intro:not(p):not(.pb-rest){height:120px}}
.page-hero:not(.pb-rest) .ph-tile,.page-intro:not(.pb-rest) .pi{padding:16px 0 18px;background:none;box-shadow:none;border-radius:0;display:block}
.page-hero:not(.pb-rest) h1{font-size:26px;color:var(--k-white)}
.page-hero:not(.pb-rest) .ph-actions,.page-hero:not(.pb-rest) p.page-intro{display:none}

/* ---------- section tabs: a sticky strip of the page's sections under the band (long pages) ----------
   <nav class="section-tabs" aria-label="On this page" data-section-tabs><div class="wrap"><ol>
     <li><a href="#message">Send a message</a></li> ... </ol></div></nav>
   Desktop: underlined text tabs. Phones: a row of pills that scrolls sideways. Scroll spy marks the current one. */
.section-tabs{position:sticky;top:var(--hdr);z-index:40;background:var(--white);border-bottom:1px solid var(--g-200)}
.section-tabs ol,.section-tabs ul{position:relative;list-style:none;display:flex;align-items:center;gap:8px;height:52px;overflow-x:auto;scrollbar-width:none;margin:0 calc(var(--gut) * -1);padding:0 var(--gut);-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
.section-tabs ol::-webkit-scrollbar,.section-tabs ul::-webkit-scrollbar{display:none}
.section-tabs li{flex:none}
.section-tabs a{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;background:var(--off);box-shadow:inset 0 0 0 1px var(--g-200);font-weight:600;font-size:14px;color:var(--g-700);text-decoration:none;white-space:nowrap;transition:background .2s,color .2s,box-shadow .2s}
.section-tabs a[aria-current="true"]{background:var(--k-ink);color:var(--k-white);box-shadow:none}
@media (min-width:900px){
  .section-tabs ol,.section-tabs ul{gap:26px;height:48px;margin:0;padding:0;-webkit-mask-image:none;mask-image:none}
  .section-tabs a{height:48px;padding:0;border-radius:0;background:none;box-shadow:none;color:var(--ink)}
  .section-tabs a:hover{color:var(--red-txt)}
  .section-tabs a[aria-current="true"]{background:none;color:var(--red-txt);box-shadow:inset 0 -2px 0 var(--red)}
}

/* ---------- section heading ---------- */
.sec-head{display:grid;gap:10px;margin-bottom:var(--s6)}
.sec-head .lede{max-width:none}
.sec-head .more{margin-top:0}
@media (min-width:900px){.sec-head.split-head{grid-template-columns:minmax(0,1fr) auto;align-items:end}}

/* ---------- prose: long-form text with a good rhythm ---------- */
.prose{max-width:110ch;font-size:var(--t-md);line-height:1.65;color:var(--g-700)}
.prose > * + *{margin-top:1em}
.prose h2{font-size:clamp(28px,3vw,38px);color:var(--ink);margin-top:1.6em}
.prose h3{font-family:var(--body);font-weight:600;font-size:21px;letter-spacing:-.01em;line-height:1.25;color:var(--ink);margin-top:1.4em}
.prose h2 + *,.prose h3 + *{margin-top:.5em}
.prose a{color:var(--red-txt);font-weight:600;text-underline-offset:3px}
.prose strong{color:var(--ink)}
.prose ul,.prose ol{padding-left:1.25em}
.prose li + li{margin-top:.35em}
.prose li::marker{color:var(--red-txt)}
.prose blockquote{border-left:3px solid var(--red);padding:4px 0 4px 18px;font-size:1.1em;color:var(--ink)}
.prose hr{border:0;border-top:1px solid var(--g-200);margin:2em 0}
.prose .note{background:var(--white);border-radius:var(--r-sm);padding:14px 16px;box-shadow:inset 0 0 0 1px var(--g-200);font-size:var(--t-sm)}

/* ---------- two-column split ---------- */
.split{display:grid;gap:28px;align-items:center}
.split-media{position:relative;border-radius:var(--r-lg);overflow:hidden;min-height:280px;background:var(--g-200)}
.split-media img{width:100%;height:100%;object-fit:cover}
@media (min-width:900px){
  .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px}
  .split.rev > :first-child{order:2}
  .split.wide-text{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
}

/* ---------- media beside text: never ends with a gap (balance pass, 25 Oct) ----------
   The image column stretches to the text column's height and crops to fit. When the text is far
   taller (add .tall to the media), the image keeps a sensible height, sticks under the header and
   sits vertically centred against the text instead of stopping halfway. Works inside .split or any
   two-column grid. */
@media (min-width:900px){
  .split{align-items:stretch}
  .split > :not(.split-media){align-self:center}
  .split-media{align-self:stretch;min-height:320px;height:auto}
  .split-media > img,.split-media > picture,.split-media > picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .split-media.tall{align-self:center;position:sticky;top:calc(var(--hdr) + 24px);height:min(70vh,560px);min-height:0}
}

/* ---------- split card: one balanced card, charcoal panel + content (balance pass, 25 Oct) ----------
   Generalises find-work #refer, register #cv and the driving academy course card. Desktop (900px+):
   one card, a charcoal side panel (heading, one-line intro, short points, a note pinned to the
   bottom) beside the form or content, both halves sharing the same top and bottom.
   Phones: stacked; the charcoal panel becomes a compact header block on top of the content.
   Markup:
   <div class="split-card [rev] [main-first-sm] [wide-main]">
     <div class="sc-side"><h2>..</h2><p class="sc-lede">..</p><ul class="sc-points"><li><svg><use href="#i-tick"/></svg><span>..</span></li></ul><p class="sc-foot">..</p></div>
     <div class="sc-main"> form or content </div>
   </div> */
.split-card{display:grid;background:var(--white);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);min-width:0}
.split-card > .sc-side{background:var(--k-ink);color:var(--k-white);padding:22px 20px 20px;display:flex;flex-direction:column;gap:10px;min-width:0}
.split-card > .sc-side h2,.split-card > .sc-side h3{color:var(--k-white);font-size:clamp(24px,3vw,38px);line-height:1.08;letter-spacing:-.02em;text-wrap:balance}
.split-card > .sc-side .sc-lede,.split-card > .sc-side > p{color:var(--k-g-300);font-size:15.5px;line-height:1.5}
.split-card > .sc-side a:not(.btn){color:var(--k-white);font-weight:600}
.split-card > .sc-side .ph{color:var(--k-g-400)}
.sc-points{list-style:none;display:grid;gap:10px;margin-top:4px}
.sc-points li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;font-size:15px;line-height:1.45;color:var(--k-g-200)}
.sc-points svg{width:18px;height:18px;margin-top:2px;color:var(--red-soft)}
.sc-points b{color:var(--k-white);font-weight:600}
.split-card > .sc-side .sc-foot{font-size:14px;color:var(--k-g-400);padding-top:12px;border-top:1px solid rgba(255,255,255,.12);margin-top:4px}
.split-card > .sc-main{padding:20px 18px 22px;min-width:0;display:flex;flex-direction:column;justify-content:center}
.split-card > .sc-main > .form-card,.split-card > .sc-main form.form-card{box-shadow:none;border-radius:0;background:transparent;padding:0;max-width:none}
.split-card.main-first-sm > .sc-main{order:-1}
.split-card > .sc-main .form-card,.split-card > .sc-main.form-card{box-shadow:none;border-radius:0;background:transparent;max-width:none;padding:0}
.split-card > .sc-main.form-card{padding:20px 18px 22px}
/* page headings and lists dropped into the charcoal panel read light without extra page CSS */
.split-card > .sc-side :is(.rx-head,.e-hd,.sec-head){margin:0;max-width:none}
.split-card > .sc-side :is(h2,h3,h4,b,strong){color:var(--k-white)}
.split-card > .sc-side :is(p,li){color:var(--k-g-300)}
.split-card > .sc-side :is(.ph,.ph-tag,.e-ph){background:rgba(255,255,255,.1);color:var(--k-g-300);box-shadow:none}
.split-card > .sc-side svg{color:var(--red-soft)}
.split-card > .sc-side a:not(.btn):hover{color:var(--red-soft)}
@media (min-width:900px){
  .split-card{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch}
  .split-card.wide-main{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
  .split-card.even{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .split-card > .sc-side{padding:44px;gap:14px}
  .split-card > .sc-side .sc-foot{margin-top:auto;padding-top:20px}
  .split-card > .sc-side .sc-points{margin-top:10px}
  .split-card > .sc-main{padding:44px}
  .split-card.main-first-sm > .sc-main{order:0}
  .split-card > .sc-main.form-card{padding:44px}
  .split-card.rev{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
  .split-card.rev > .sc-side{order:2}
}
@media (max-width:699px){
  .split-card{border-radius:var(--r-md)}
  .split-card > .sc-side .sc-points{display:none}
  .split-card > .sc-side .sc-points.keep-sm{display:grid}
}

/* ---------- card grid ---------- */
.card-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.card{position:relative;display:flex;flex-direction:column;gap:8px;background:var(--white);border-radius:var(--r-md);padding:22px;box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);text-decoration:none;color:inherit;min-width:0;transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
a.card:hover{transform:translateY(-1px);box-shadow:var(--sh-2),inset 0 0 0 1px var(--g-200)}
.card h3{font-family:var(--body);font-weight:600;font-size:19px;line-height:1.25;letter-spacing:-.005em}
.card p{font-size:15px;color:var(--g-600)}
.card .card-img{margin:-22px -22px 6px;aspect-ratio:16/10;overflow:hidden;border-radius:var(--r-md) var(--r-md) 0 0;background:var(--g-200)}
.card .card-img img{width:100%;height:100%;object-fit:cover}
.card .card-foot{margin-top:auto;padding-top:8px;font-size:14px;font-weight:600;color:var(--red-txt);display:inline-flex;align-items:center;gap:6px}
.card .card-foot svg{width:15px;height:15px}

/* ---------- list rows with arrows ---------- */
.link-rows{list-style:none;border-top:1px solid var(--g-200)}
.link-rows a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;align-items:center;padding:16px 4px;border-bottom:1px solid var(--g-200);text-decoration:none;color:var(--ink)}
.link-rows b{font-weight:600;font-size:17px}
.link-rows span{grid-column:1;font-size:14.5px;color:var(--g-600)}
.link-rows svg{grid-column:2;grid-row:1 / span 2;width:18px;height:18px;color:var(--k-g-400);transition:transform .25s var(--ease),color .2s}
.link-rows a:hover b,.link-rows a:hover svg{color:var(--red-txt)}
.link-rows a:hover svg{transform:translateX(3px)}

/* ---------- fact rows (not stat tiles) ---------- */
.fact-rows{list-style:none}
.fact-rows li{display:grid;gap:4px;border-top:1px solid var(--g-200);padding:18px 0}
.fact-rows li:last-child{border-bottom:1px solid var(--g-200)}
.fact-rows b{font-family:var(--display);font-size:34px;font-weight:700;line-height:1;color:var(--ink)}
.fact-rows span{font-size:16px;color:var(--g-700)}
@media (min-width:900px){.fact-rows li{grid-template-columns:220px 1fr;gap:24px;align-items:baseline;padding:22px 0}.fact-rows b{font-size:40px}}

/* ---------- FAQ accordion ---------- */
.faq{border-top:1px solid var(--g-200)}
.faq details{border-bottom:1px solid var(--g-200)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 4px;cursor:pointer;list-style:none;font-weight:600;font-size:17px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:10px;height:10px;border-right:2px solid var(--g-500);border-bottom:2px solid var(--g-500);transform:rotate(45deg) translate(-2px,-2px);transition:transform .25s var(--ease)}
.faq details[open] summary::after{transform:rotate(225deg) translate(-2px,-2px)}
.faq summary:hover{color:var(--red-txt)}
.faq .faq-a{padding:0 4px 20px;color:var(--g-700);line-height:1.6}

/* ---------- CTA band (red or charcoal) ---------- */
.cta-band{position:relative;display:grid;gap:18px;align-items:center;border-radius:var(--r-xl);padding:32px 22px;overflow:hidden;color:var(--k-white);isolation:isolate}
.cta-band.red{background:radial-gradient(90% 120% at 100% 0,#A42416 0,transparent 60%),var(--k-red-700)}
.cta-band.dark{background:linear-gradient(160deg,var(--ink-3),var(--k-ink) 70%)}
.cta-band h2{font-size:clamp(30px,3.6vw,48px)}
.cta-band p{color:rgba(255,255,255,.84);margin-top:8px}
.cta-band .ctas{display:flex;flex-wrap:wrap;gap:10px}
@media (min-width:900px){.cta-band{grid-template-columns:minmax(0,1fr) auto;padding:48px 56px;gap:40px}}

/* ---------- documents and downloads ---------- */
.doc-list{list-style:none;display:grid;gap:8px}
.doc-list a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:14px 16px;border-radius:var(--r-sm);background:var(--white);box-shadow:inset 0 0 0 1px var(--g-200);text-decoration:none;color:var(--ink);transition:box-shadow .2s}
.doc-list a:hover{box-shadow:inset 0 0 0 1px var(--g-300),var(--sh-1)}
.doc-ico{width:38px;height:44px;border-radius:6px;background:var(--red-50);color:var(--red-700);display:grid;place-items:center;font:700 11px/1 var(--body);letter-spacing:.04em;grid-row:span 2}
.doc-list b{font-weight:600;font-size:16px}
.doc-list span{grid-column:2;font-size:13.5px;color:var(--g-500)}
.doc-list .dl{grid-column:3;grid-row:1 / span 2;font-size:14px;font-weight:600;color:var(--red-txt)}
/* QA: ".doc-list span" outranked .doc-ico and pushed the icon into the text column */
.doc-list .doc-ico{grid-column:1;grid-row:1 / span 2}
.doc-list b{grid-column:2}

/* ---------- simple data table ---------- */
.table-wrap{overflow-x:auto;border-radius:var(--r-md);box-shadow:inset 0 0 0 1px var(--g-200);background:var(--white)}
.data-table{width:100%;border-collapse:collapse;font-size:15px;min-width:520px}
.data-table th,.data-table td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--g-100);vertical-align:top}
.data-table th{font-size:13px;font-weight:600;color:var(--g-600);background:var(--off)}
.data-table tr:last-child td{border-bottom:0}
.data-table td.num,.data-table th.num{text-align:right;font-variant-numeric:tabular-nums}

/* ---------- map panel ---------- */
.map-panel{position:relative;border-radius:var(--r-lg);overflow:hidden;height:420px;background:repeating-linear-gradient(0deg,transparent 0 31px,var(--g-200) 31px 32px),repeating-linear-gradient(90deg,transparent 0 31px,var(--g-200) 31px 32px),var(--g-100);box-shadow:inset 0 0 0 1px rgba(61,63,69,.1);isolation:isolate}
.map-panel.loaded{background:var(--g-100)}
.map-el.leaflet-container{font:inherit}
.map-el .leaflet-tile-pane{filter:grayscale(1) contrast(1.03)}
.map-el .leaflet-bar{border:0;box-shadow:var(--sh-1);border-radius:12px;overflow:hidden}
.map-el .leaflet-bar a{width:32px;height:32px;color:var(--ink);font:500 18px/32px var(--body)}
.map-el .leaflet-control-attribution{font-size:10px;line-height:1.4;padding:1px 7px;background:rgba(var(--glass),.88);color:var(--g-600);border-radius:8px 0 0 0}
.map-el .leaflet-control-attribution a{color:var(--g-700)}
.bpop .leaflet-popup-content-wrapper{border-radius:14px;box-shadow:var(--sh-2)}
.bpop .leaflet-popup-content{margin:12px 14px;display:grid;gap:4px;font:15px var(--body)}
.bpop .leaflet-popup-content a{color:var(--red-txt);font-weight:600;text-decoration:none}
@media (min-width:900px){.map-panel{height:520px}}

/* ---------- sidebar layout ---------- */
.with-sidebar{display:grid;gap:32px;align-items:start}
.sidebar{display:grid;gap:16px}
.side-card{background:var(--white);border-radius:var(--r-md);padding:20px;box-shadow:inset 0 0 0 1px var(--g-200)}
.side-card h3{font-family:var(--body);font-weight:600;font-size:17px;margin-bottom:8px}
@media (min-width:1000px){
  .with-sidebar{grid-template-columns:minmax(0,1fr) 320px;gap:56px}
  .with-sidebar.left{grid-template-columns:300px minmax(0,1fr)}
  .sidebar.sticky{position:sticky;top:calc(var(--hdr) + 20px)}
}

/* ---------- forms on a page (the sheet has its own) ---------- */
.form-card{background:var(--white);border-radius:var(--r-lg);padding:24px 20px;box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);max-width:640px}
.form-card .form-input{background:var(--off)}
.form-grid{display:grid;gap:0 14px}
.form-grid .full{grid-column:1 / -1}
.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px}
.form-select{width:100%;height:50px;border-radius:12px;border:0;background:var(--off);box-shadow:inset 0 0 0 1.5px var(--g-200);padding:0 40px 0 14px;font-size:17px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%235B5E65' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px}
.form-select:focus{outline:0;box-shadow:inset 0 0 0 2px var(--red)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:15px;margin:6px 0 12px}
.check input{width:20px;height:20px;margin-top:1px;accent-color:var(--red);flex:none}
@media (min-width:700px){.form-card{padding:32px}.form-grid.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* ---------- a plain list of job cards (find-work, branch pages) ---------- */
.job-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}

/* =====================================================================
   Small shared fixes: hidden really hides, skip link, focusable main
   ===================================================================== */
[hidden]{display:none!important}
.skip{position:absolute;left:12px;top:-60px;z-index:130;display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:999px;background:var(--k-ink);color:var(--k-white);font-weight:600;font-size:15px;text-decoration:none;box-shadow:var(--sh-2);transition:top .2s var(--ease)}
.skip:focus,.skip:focus-visible{top:8px}
main:focus{outline:none}

/* =====================================================================
   Map markers and the no-map fallback, on every page (scoped to Leaflet icons)
   ===================================================================== */
.mtip{font:600 12px var(--body);border:0;border-radius:8px;box-shadow:var(--sh-1);padding:4px 8px}
.leaflet-marker-icon.bm,.leaflet-marker-icon.you{background:none;border:0}
.leaflet-marker-icon.bm i{display:block;width:10px;height:10px;margin:1px;border-radius:3px;background:var(--ink);box-shadow:0 0 0 2px var(--white)}
.leaflet-marker-icon.bm.hub i{width:16px;height:16px;border-radius:5px;box-shadow:0 0 0 2.5px var(--white),0 2px 6px rgba(20,22,28,.3)}
.leaflet-marker-icon.you i{display:block;width:16px;height:16px;border-radius:50%;background:var(--ink-3);box-shadow:0 0 0 3px var(--white),0 0 0 9px rgba(46,48,53,.14)}
.leaflet-marker-icon.you span{position:absolute;left:22px;top:-1px;font:600 12px/1 var(--body);background:var(--white);padding:3px 6px;border-radius:6px;box-shadow:var(--sh-1);white-space:nowrap}
.nomap{position:relative;background:var(--g-100)}
.nomap .leaflet-tile-pane{display:none}
.nomap::after{content:"Map unavailable right now.";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:800;padding:10px 14px;border-radius:12px;background:var(--white);box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);font:500 14px/1.3 var(--body);color:var(--g-700);white-space:nowrap;pointer-events:none}

/* =====================================================================
   Fixed buttons, bottom right. One stack: the phone bar (when it shows),
   then Ask Ada, then Back to top. It lifts clear of a map's bottom edge.
   ===================================================================== */
:root{--fab-base:20px}
@media (max-width:699px){
  :root{--fab-base:calc(16px + env(safe-area-inset-bottom))}
  body:has(.mbar.show){--fab-base:calc(84px + env(safe-area-inset-bottom))}
}
.ada-launch{position:fixed;right:14px;bottom:calc(var(--fab-base) + var(--fab-lift,0px));z-index:56;display:inline-flex;align-items:center;gap:8px;padding:0;border-radius:999px;transition:bottom .45s var(--spring),transform .25s var(--ease),opacity .2s,visibility 0s}
.ada-launch:hover{transform:translateY(-1px)}
.ada-orb{position:relative;width:48px;height:48px;border-radius:50%;flex:none;order:2;box-shadow:0 10px 22px -10px rgba(130,28,17,.7),0 2px 6px rgba(20,22,28,.12)}
.ada-orb img,.ada-orb-img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.ada-say{order:1;display:grid;padding:7px 14px 7px 16px;border-radius:999px;background:var(--white);color:var(--ink);font-weight:600;font-size:14.5px;line-height:1.15;text-align:left;box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);transition:box-shadow .2s}
.ada-say small{font-size:11.5px;font-weight:500;color:var(--g-500);display:flex;align-items:center;gap:5px}
.ada-say small::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--online)}
.ada-launch:hover .ada-say{box-shadow:var(--sh-2),inset 0 0 0 1px var(--g-300)}
.ada-launch:focus-visible{outline-offset:4px}
.ada-dot{position:absolute;top:1px;right:1px;width:13px;height:13px;border-radius:50%;background:var(--online);box-shadow:0 0 0 2.5px var(--white)}
/* a conversation is waiting: the online dot gently pulses */
.ada-launch.has-chat .ada-dot{animation:adaPing 2.4s ease-out infinite}
@keyframes adaPing{0%{box-shadow:0 0 0 2.5px var(--white),0 0 0 2.5px rgba(31,157,85,.5)}70%,100%{box-shadow:0 0 0 2.5px var(--white),0 0 0 10px rgba(31,157,85,0)}}
@media (prefers-reduced-motion:reduce){.ada-launch.has-chat .ada-dot{animation:none}}
.to-top{position:fixed;right:16px;bottom:calc(var(--fab-base) + var(--fab-lift,0px) + 60px);z-index:54;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--white);color:var(--ink);box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .3s var(--ease),visibility 0s .3s,bottom .45s var(--spring)}
.to-top.show{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .3s var(--ease),visibility 0s,bottom .45s var(--spring)}
.to-top svg{width:18px;height:18px;transform:rotate(180deg)}
.to-top:hover{box-shadow:var(--sh-2),inset 0 0 0 1px var(--g-300)}
body[data-ada="off"] .to-top{bottom:calc(var(--fab-base) + var(--fab-lift,0px))}
body.applying .ada-launch,body.applying .to-top,body.ada-open .ada-launch,body.ada-open .to-top{opacity:0;visibility:hidden;pointer-events:none}
@media (min-width:700px){.ada-launch{right:20px}.ada-orb{width:52px;height:52px}.to-top{right:24px;bottom:calc(var(--fab-base) + var(--fab-lift,0px) + 64px)}}
@media (max-width:360px){.ada-say small{display:none}}

/* =====================================================================
   Ada, the site assistant. Phones: a full-height sheet. Desktop: a panel
   anchored bottom right, about 380 by 600.
   ===================================================================== */
.ada{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;background:var(--off);opacity:0;transform:translateY(16px);transition:opacity .22s var(--ease),transform .32s var(--ease)}
.ada.in{opacity:1;transform:none}
@media (max-width:699px){body.ada-open{overflow:hidden}body.ada-open .mbar{transform:translateY(150%)}body.ada-open .pnote{opacity:0}}
@media (min-width:700px){
  .ada{inset:auto 20px 20px auto;width:380px;height:min(600px,calc(100vh - 40px));height:min(600px,calc(100dvh - 40px));border-radius:24px;overflow:hidden;box-shadow:var(--sh-3),inset 0 0 0 1px var(--g-200);transform-origin:100% 100%;transform:translateY(12px) scale(.98)}
  .ada.in{transform:none}
}
.ada-head{display:flex;align-items:center;gap:10px;padding:10px 8px 10px 14px;padding-top:calc(10px + env(safe-area-inset-top));background:var(--white);border-bottom:1px solid var(--g-200);flex:none}
.ada-av{width:40px;height:40px;border-radius:50%;flex:none;box-shadow:0 6px 14px -8px rgba(130,28,17,.7)}
.ada-id{flex:1;min-width:0}
.ada-id h2{font-family:var(--body);font-size:17px;font-weight:700;line-height:1.15;letter-spacing:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 6px;text-wrap:initial}
.ada-id p{font-size:12.5px;color:var(--g-600);line-height:1.3;margin-top:2px}
.ada-about-btn{font-size:12.5px;font-weight:600;color:var(--red-700);padding:4px 0;min-height:24px;text-decoration:underline;text-underline-offset:2px}
.ada-about{flex:none;margin:0;padding:10px 16px;background:var(--red-50);border-bottom:1px solid var(--red-100);font-size:13.5px;line-height:1.45;color:var(--ink)}
.ada-clear{flex:none;height:44px;padding:0 8px;border-radius:10px;font-size:13px;font-weight:600;color:var(--g-600);transition:color .2s,background .2s}
.ada-clear:hover{color:var(--ink);background:var(--g-50)}
.ada-x{flex:none;width:44px;height:44px}
.ada-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 14px 10px;display:flex;flex-direction:column;gap:10px;outline:none}
.ada-log:focus-visible{box-shadow:inset 0 0 0 3px var(--red)}
.am{max-width:86%;font-size:15.5px;line-height:1.45;min-width:0}
.am.new{animation:amIn .3s var(--ease) both}
@keyframes amIn{from{opacity:0;transform:translateY(6px)}}
.am-ada{align-self:flex-start;display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;max-width:94%}
.am-ada.wide{max-width:100%}
.am-av{width:26px;height:26px;border-radius:50%;flex:none}
.am-body{min-width:0}
.am-you{align-self:flex-end}
.am-sys{align-self:center;font-size:12.5px;color:var(--g-500);text-align:center}
.am.wide{max-width:100%;width:100%}
.am-bub{background:var(--white);padding:10px 14px;border-radius:18px 18px 18px 6px;box-shadow:inset 0 0 0 1px var(--g-200);overflow-wrap:anywhere}
.am-you .am-bub{background:var(--k-ink);color:var(--k-white);border-radius:18px 18px 6px 18px;box-shadow:none}
.am-bub > * + *{margin-top:8px}
.am-bub a{color:var(--red-700);font-weight:600}
.am-links{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14.5px}
.am-links a{display:inline-flex;align-items:center;min-height:32px}
.am-note{font-size:13.5px;color:var(--g-600)}
.am-done b{color:var(--ink)}
.ada-steps{list-style:none;display:grid;gap:8px;counter-reset:as}
.ada-steps li{counter-increment:as;display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;font-size:15px;line-height:1.4}
.ada-steps li::before{content:counter(as);width:24px;height:24px;border-radius:50%;background:var(--red-50);color:var(--red-700);font-weight:700;font-size:12.5px;display:grid;place-items:center;box-shadow:inset 0 0 0 1px var(--red-100)}
.ada-steps.dots li::before{content:"";width:8px;height:8px;margin:7px 0 0 8px;background:var(--red);box-shadow:none}
.ada-card{background:var(--white);border-radius:18px;padding:14px;box-shadow:inset 0 0 0 1px var(--g-200)}
.ada-k{font-weight:700;font-size:16.5px;line-height:1.25}
.ada-sub{font-size:13.5px;color:var(--g-600);margin-top:2px}
.ada-pay{font-family:var(--num);font-weight:800;font-size:28px;line-height:1;color:var(--red-txt);margin:10px 0 2px}
.ada-pay small{font-family:var(--body);font-size:13px;font-weight:500;color:var(--g-500)}
.ada-rows{display:grid;margin-top:8px}
.ada-rows div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:7px 0;border-top:1px solid var(--g-100);font-size:14px}
.ada-rows dt{color:var(--g-500)}
.ada-rows dd{font-weight:500;min-width:0;overflow-wrap:anywhere}
.ada-rows a{color:var(--ink);font-weight:600}
.ada-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ada-acts .btn{height:44px;flex:1 1 auto}
.ada-acts .btn svg{width:16px;height:16px}
.ada-log .job-list{grid-template-columns:minmax(0,1fr);gap:8px}
.ada-log .jcard{padding:14px 14px 12px}
.ada-log .jcard h3{font-size:16.5px}
.ada-log .jcard .pay{font-size:23px}
.ada-log .jcard .pay.long{font-size:17px}
.ada-log .jcard .acts .btn{height:44px}
.am-more{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin-top:4px;font-weight:600;font-size:14.5px;color:var(--red-700);text-decoration:none}
.am-more svg{width:15px;height:15px}
.ada-docs{list-style:none;display:grid;gap:6px}
.ada-docs a{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px;border-radius:14px;background:var(--white);box-shadow:inset 0 0 0 1px var(--g-200);text-decoration:none;font-size:14.5px;transition:box-shadow .2s}
.ada-docs a:hover{box-shadow:inset 0 0 0 1px var(--g-300),var(--sh-1)}
.ada-docs b{flex:1;min-width:0;font-weight:600}
.ada-docs svg{width:15px;height:15px;color:var(--red-txt);flex:none}
.ada-ico{flex:none;font-size:10.5px;font-weight:700;letter-spacing:.04em;color:var(--red-700);background:var(--red-50);border-radius:6px;padding:3px 6px}
.ada-fb{display:flex;flex-wrap:wrap;gap:6px}
.ada-fb .chip{height:44px;background:var(--off)}
.ada-cb .fld{margin-bottom:10px}
.ada-cb .ada-k{margin-bottom:10px}
.ada-cb .form-input,.ada-cb .form-select{height:46px;font-size:16px;background:var(--off)}
.ada-cb .form-input.ta{height:auto}
.ada-cb .check{font-size:14px}
.ada-cb .ada-go{width:100%;height:48px}
.ada-typing{align-self:flex-start;display:flex;align-items:center;gap:8px}
.ada-typing .dots{display:flex;gap:4px;padding:12px 14px;background:var(--white);border-radius:18px 18px 18px 6px;box-shadow:inset 0 0 0 1px var(--g-200)}
.ada-typing .dots i{width:7px;height:7px;border-radius:50%;background:var(--g-400);animation:adaDot 1.1s infinite ease-in-out}
.ada-typing .dots i:nth-child(2){animation-delay:.15s}
.ada-typing .dots i:nth-child(3){animation-delay:.3s}
@keyframes adaDot{0%,80%,100%{opacity:.35;transform:none}40%{opacity:1;transform:translateY(-3px)}}
.ada-chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 14px 10px;flex:none}
.ada-chips:empty{display:none}
.ada-chip{height:44px;padding:0 14px;font-size:14px;background:var(--white);white-space:normal;text-align:left;line-height:1.2}
.ada-form{display:flex;gap:8px;padding:10px 12px 6px;background:var(--white);border-top:1px solid var(--g-200);flex:none}
.ada-in{flex:1;min-width:0;height:48px;border:0;border-radius:14px;background:var(--off);box-shadow:inset 0 0 0 1.5px var(--g-200);padding:0 14px;font:inherit;font-size:16px;color:var(--ink);outline:none;transition:box-shadow .2s}
.ada-in:focus{box-shadow:inset 0 0 0 2px var(--red)}
/* fields that draw their own focus ring skip the global outline, so there is one ring, not two (the a11y "stronger focus outline" option still overrides) */
.ada-in:focus-visible,.form-input:focus-visible,.form-select:focus-visible,.mbar input:focus-visible{outline:0}
.ada-in::placeholder{color:var(--g-500)}
.ada-send{width:48px;height:48px;border-radius:14px;background:var(--red);color:var(--k-white);display:grid;place-items:center;flex:none;transition:background .2s}
.ada-send:hover{background:var(--red-600)}
.ada-send svg{width:20px;height:20px}
.ada-priv{flex:none;font-size:12px;line-height:1.4;color:var(--g-500);padding:2px 14px calc(10px + env(safe-area-inset-bottom));background:var(--white)}
.ada-priv a{color:var(--g-700);font-weight:600}
@media (prefers-reduced-motion:reduce){.ada,.ada.in{transform:none}.ada-typing .dots i{animation:none;opacity:.6}}

/* =====================================================================
   Employers components (em-*), shared by the employer pages
   ===================================================================== */
.em-steps{list-style:none;display:grid;gap:12px;counter-reset:st}
.em-steps li{position:relative;background:var(--white);border-radius:var(--r-md);padding:20px 20px 20px 70px;box-shadow:inset 0 0 0 1px var(--g-200);counter-increment:st;min-width:0}
.em-steps li::before{content:counter(st);position:absolute;left:18px;top:18px;width:36px;height:36px;border-radius:50%;background:var(--red-50);color:var(--red-700);font-family:var(--num);font-weight:800;font-size:17px;display:grid;place-items:center;box-shadow:inset 0 0 0 1px var(--red-100)}
.em-steps b{display:block;font-weight:600;font-size:17px;line-height:1.3}
.em-steps span{display:block;color:var(--g-600);font-size:15px;margin-top:4px}
.em-steps small{display:inline-block;margin-top:10px;font-size:13px;font-weight:600;color:var(--g-600);background:var(--g-50);border-radius:999px;padding:2px 10px}
@media (min-width:900px){.em-steps.c3{grid-template-columns:repeat(3,minmax(0,1fr))}.em-steps.c2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.em-roles{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.em-roles li{font-size:13.5px;color:var(--g-700);background:var(--g-50);border-radius:999px;padding:3px 10px}
.em-panel{background:var(--white);border-radius:var(--r-lg);padding:24px 20px;box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);min-width:0}
.em-panel h3{font-family:var(--body);font-weight:600;font-size:20px;letter-spacing:-.01em;line-height:1.25}
.em-panel .em-sub{font-size:14px;color:var(--g-600);margin-top:4px}
@media (min-width:700px){.em-panel{padding:32px}}
.em-dl{display:grid;margin-top:16px;border-top:1px solid var(--g-100)}
.em-dl > div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--g-100)}
.em-dl dt{color:var(--g-600);font-size:15px}
.em-dl dd{font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.em-dl dd.big{font-family:var(--num);font-weight:800;font-size:22px}
.em-say{margin-top:16px;padding:14px 16px;border-radius:var(--r-sm);background:var(--red-50);box-shadow:inset 0 0 0 1px var(--red-100);font-size:15px;color:var(--ink)}
.em-say b{color:var(--red-700)}
.em-acc{display:grid;gap:12px}
.em-acc article{display:grid;gap:10px 24px;background:var(--white);border-radius:var(--r-md);padding:20px;box-shadow:inset 0 0 0 1px var(--g-200);min-width:0}
.em-acc .mark{font-family:var(--display);font-weight:800;font-size:26px;line-height:1;color:var(--ink)}
.em-acc .mark small{display:block;font-family:var(--body);font-weight:600;font-size:13px;color:var(--g-500);margin-top:6px;letter-spacing:0}
.em-acc h3{font-family:var(--body);font-weight:600;font-size:18px;line-height:1.3}
.em-acc p{color:var(--g-700);font-size:15.5px;margin-top:4px}
.em-acc p.you{color:var(--ink)}
.em-acc p.you b{color:var(--red-700);font-weight:600}
@media (min-width:900px){.em-acc article{grid-template-columns:220px minmax(0,1fr);padding:24px 28px}}
.em-case{display:grid;gap:24px;background:var(--white);border-radius:var(--r-lg);padding:24px 20px;box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-200);min-width:0;scroll-margin-top:calc(var(--hdr) + 20px)}
.em-case h2{font-size:clamp(30px,3.4vw,44px)}
.em-case h3{font-family:var(--body);font-weight:600;font-size:17px;color:var(--ink);margin-top:18px}
.em-case p,.em-case li{color:var(--g-700);font-size:16px;line-height:1.6}
.em-case ul{padding-left:1.2em;margin-top:6px}
.em-case li + li{margin-top:4px}
.em-case li::marker{color:var(--red-txt)}
.em-case aside{display:grid;gap:12px;align-content:start}
.em-tags{display:flex;flex-wrap:wrap;gap:6px}
.em-tags span{font-size:13px;font-weight:600;color:var(--g-700);background:var(--g-50);border-radius:999px;padding:3px 10px}
.em-tags span.flag{color:var(--red-700);background:var(--red-50)}
.em-quote{border-left:3px solid var(--red);padding:6px 0 6px 16px;font-size:17px;color:var(--ink)}
.em-quote cite{display:block;font-style:normal;font-size:13.5px;color:var(--g-500);margin-top:6px}
@media (min-width:900px){.em-case{grid-template-columns:minmax(0,1fr) 300px;padding:40px 44px;gap:48px}}
.em-figs{list-style:none;display:grid;gap:0}
.em-figs li{border-top:1px solid var(--g-100);padding:12px 0}
.em-figs b{display:block;font-family:var(--num);font-weight:800;font-size:30px;line-height:1;color:var(--ink)}
.em-figs span{display:block;font-size:14px;color:var(--g-600);margin-top:4px}
.em-route{display:none;margin:-4px 0 12px;padding:12px 14px;border-radius:12px;background:var(--g-50);font-size:14.5px;color:var(--g-700)}
.em-route.show{display:block}
.em-route b{color:var(--ink)}
.em-callcard .tel{display:block;font-family:var(--num);font-weight:800;font-size:26px;line-height:1.1;margin:6px 0 4px}
.em-callcard .tel a{text-decoration:none;color:var(--ink)}
.em-callcard .tel a:hover{color:var(--red-txt)}
.em-callcard p{font-size:14.5px;color:var(--g-600)}
.em-callcard ul{list-style:none;margin-top:10px;display:grid;gap:8px;font-size:14.5px;color:var(--g-700)}
.em-callcard li{display:flex;gap:8px}
.em-callcard li svg{width:16px;height:16px;color:var(--red-txt);flex:none;margin-top:3px}
.em-badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--g-700);background:var(--white);box-shadow:inset 0 0 0 1px var(--g-200);border-radius:999px;padding:4px 12px}
.em-accline{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.em-cols{display:grid;gap:16px}
@media (min-width:900px){.em-cols.c3{grid-template-columns:repeat(3,minmax(0,1fr))}.em-cols.c2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.em-cols > *{min-width:0}
.em-note{font-size:13.5px;color:var(--g-500);margin-top:10px}
.em-checks{display:grid;gap:2px}
@media (min-width:700px){.em-checks{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 14px}}
.form-card.wide{max-width:none}
.em-done{display:none}
.em-done.show{display:block}
.em-tl{list-style:none;display:grid;gap:0;border-left:2px solid var(--g-200);margin-left:6px}
.em-tl li{position:relative;padding:0 0 22px 22px}
.em-tl li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--white);box-shadow:inset 0 0 0 3px var(--red)}
.em-tl li.past::before{background:var(--red)}
.em-tl time{display:block;font-weight:600;font-size:14px;color:var(--red-700)}
.em-tl b{display:block;font-weight:600;font-size:17px;margin-top:2px}
.em-tl span{display:block;color:var(--g-600);font-size:15px;margin-top:2px}
.em-tl li:last-child{padding-bottom:0}
/* small spacing helpers (instead of inline styles) */
.em-w20{max-width:20ch}.em-w22{max-width:22ch}.em-w46{max-width:46ch}.em-w56{max-width:56ch}.em-w68{max-width:68ch}.em-w420{max-width:420px}
.em-mt6{margin-top:6px}.em-mt10{margin-top:10px}.em-mt12{margin-top:12px}.em-mt14{margin-top:14px}.em-mt16{margin-top:16px}.em-mt18{margin-top:18px}.em-mt20{margin-top:20px}.em-mt22{margin-top:22px}.em-mt24{margin-top:24px}
.em-mb24{margin-bottom:24px}.em-m0{margin:0}.em-c7{color:var(--g-700)}.em-top{align-items:start}.em-anchor{scroll-margin-top:calc(var(--hdr) + 20px)}

/* =====================================================================
   Small shared utilities (from the worker pages) and the job-pin marker
   ===================================================================== */
.sec.sec-tight{padding-top:var(--s7)}
.prose .flush{margin-top:0}
.leaflet-marker-icon.hi{background:none;border:0}
.leaflet-marker-icon.hi svg{display:block;filter:drop-shadow(0 4px 6px rgba(20,22,28,.35))}
.leaflet-marker-icon.hi span{position:absolute;left:30px;top:3px;white-space:nowrap;background:var(--k-ink);color:var(--k-white);font:700 13px/1 var(--body);padding:6px 8px;border-radius:8px}

/* Ada's small lockups: a tiny orb and a plain label (search boxes), or a bigger one for section heads */
.ada-mini{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:12px;line-height:1;color:var(--g-600);white-space:nowrap;vertical-align:middle}
.ada-mini img{width:16px;height:16px;border-radius:50%;flex:none}
.ada-lock{display:inline-flex;align-items:center;gap:12px;font-family:var(--body);font-weight:600;font-size:20px;line-height:1.1;color:var(--ink)}
.ada-lock img{width:44px;height:44px;border-radius:50%;flex:none;box-shadow:0 8px 18px -8px rgba(130,28,17,.7)}
.ada-lock span{display:block;font-size:13.5px;font-weight:500;color:var(--g-500);margin-top:2px}
.ada-lock.inv{color:var(--k-white)}
.ada-lock.inv span{color:var(--k-g-300)}
a.ada-lock{text-decoration:none;border-radius:999px}
a.ada-lock .al-arr{width:16px;height:16px;vertical-align:-2px;margin-left:2px;color:var(--red-txt);transition:transform .2s var(--ease)}
a.ada-lock:hover b{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
a.ada-lock:hover .al-arr{transform:translateX(3px)}
@media (prefers-reduced-motion:reduce){a.ada-lock .al-arr{transition:none}}

/* #####################################################################
   SHARED COMPONENTS v2 (design/BUILD-GUIDE.md, "Shared components v2")
   ##################################################################### */

/* ---------- the concept note: a small tag, dismissible for the session ----------
   Phones, tablets and laptops: in the page flow just under the header, so it never covers anything.
   1400px and wider: a tiny "Concept" pill bottom left, in the page margin (Ada lives bottom right). */
.pnote{position:relative;z-index:3;display:flex;align-items:center;gap:2px;width:max-content;max-width:calc(100vw - 2 * var(--gut));margin:6px 0 -4px max(var(--gut),calc((100% - var(--max)) / 2 + var(--gut)));padding:0 0 0 10px;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 1px var(--g-200);font-size:11.5px;font-weight:500;line-height:1;color:var(--g-600);transition:opacity .3s}
.pnote span{padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pnote-x{flex:none;width:28px;height:24px;display:grid;place-items:center;border-radius:999px;color:var(--g-500)}
.pnote-x:hover{color:var(--ink)}
.pnote-x svg{width:12px;height:12px}
/* a bigger invisible hit area for the close button, without making the tag bigger */
.pnote-x{position:relative}.pnote-x::after{content:"";position:absolute;inset:-10px -8px}
/* the fixed pill only where the page margin is wide enough to hold it clear of the content (1400px and up) */
@media (min-width:1400px){
  .pnote-more{display:none}
  .pnote{position:fixed;left:10px;bottom:14px;margin:0;z-index:45;background:rgba(var(--glass),.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px var(--g-200),var(--sh-1)}
  body.applying .pnote,body.ada-open .pnote,body:has(.abar.show) .pnote,body:has([data-actionbar].show) .pnote,body:has(.jb-bar.show) .pnote,body:has(.wu-bar.show) .pnote{opacity:0;pointer-events:none}
}

/* ---------- Ada on phones: the orb on its own (the label stays for screen readers) ---------- */
@media (max-width:699px){
  .ada-say{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;box-shadow:none}
  .ada-launch{right:12px}
  .to-top{right:14px}
}

/* ---------- the sticky action bar (Aligra.actionBar) ----------
   Phones and tablets only, never more than two buttons, out of the way of the keyboard, sheets and Ada. */
.abar{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:55;display:flex;align-items:center;gap:8px;padding:8px;border-radius:22px;background:rgba(24,25,28,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--k-white);box-shadow:var(--sh-3);transform:translateY(150%);transition:transform .45s var(--spring)}
.abar.show{transform:none}
body.applying .abar,body.ada-open .abar,body.kb .abar{transform:translateY(150%)}
.abar.abar-has-info{padding-left:16px}
.abar-info{flex:1;min-width:0;font-size:13px;line-height:1.25;color:var(--k-g-300);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.abar-info b{display:block;font-size:16px;font-weight:600;color:var(--k-white);overflow:hidden;text-overflow:ellipsis}
.abar .btn{height:48px;padding:0 20px;font-size:15.5px;border-radius:15px}
.abar:not(.abar-has-info) .btn{flex:1}
.abar-2{background:rgba(255,255,255,.1);color:var(--k-white)}
.abar-2:hover{background:rgba(255,255,255,.18)}
.abar.abar-has-info .abar-2{padding:0 14px;background:none;color:var(--k-g-200);font-size:14px}
@media (min-width:1000px){.abar{display:none}}
body.abar-on .mbar{display:none}
/* the bars lift the fixed buttons (Ada, Back to top) above them: this bar, the phone search bar, or any page bar with [data-actionbar] */
body:has(.abar.show),body:has([data-actionbar].show){--fab-base:calc(84px + env(safe-area-inset-bottom))}
body.kb{--fab-base:calc(16px + env(safe-area-inset-bottom))}
@media (prefers-reduced-motion:reduce){.abar{transition:none}}

/* ---------- maps: still on phones, with Open in Maps (bottom left, clear of the attribution and of Ada on the right) ---------- */
.map-still .leaflet-pane,.map-still .leaflet-control-container .leaflet-top{pointer-events:none}
.map-still.leaflet-container{cursor:default}
.map-open{position:absolute;left:12px;bottom:22px;z-index:800;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border-radius:999px;background:var(--white);box-shadow:var(--sh-2);font:600 14.5px/1 var(--body);text-decoration:none;color:var(--ink);pointer-events:auto}
.map-open svg{width:16px;height:16px;color:var(--red-txt)}
.map-open:hover{box-shadow:var(--sh-3)}
.nomap.map-still::after{top:38%}

/* ---------- branch picker sheet (Aligra.pickBranch) ---------- */
.bp-near{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;width:100%;margin-bottom:6px;padding:12px 16px;border-radius:14px;background:var(--red-50);box-shadow:inset 0 0 0 1px var(--red-100);text-align:left}
.bp-near span{font-size:13px;font-weight:600;color:var(--red-700)}
.bp-near b{grid-column:1;font-size:17px;font-weight:700}
.bp-near svg{grid-column:2;grid-row:1 / span 2;width:18px;height:18px;color:var(--red-txt)}
.bp-grp h4{font-family:var(--body);font-size:13.5px;font-weight:600;color:var(--g-500);margin:14px 0 6px;letter-spacing:0}
.bp-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}
.bp-b{display:flex;align-items:center;gap:6px;min-height:46px;border-radius:12px;background:var(--white);box-shadow:inset 0 0 0 1px var(--g-200);font-weight:600;font-size:15px;text-align:left;padding:0 14px}
.bp-b:hover{box-shadow:inset 0 0 0 1px var(--g-300),var(--sh-1)}
.bp-b[aria-pressed="true"]{background:var(--k-ink);color:var(--k-white);box-shadow:none}
.bp-b[aria-pressed="true"] .hubtag{background:var(--white);color:var(--ink)}
.bp-foot{font-size:14px;color:var(--g-600);margin-top:14px}
.bp-foot a{color:var(--ink);font-weight:600}
.bp-forget{margin-top:8px;min-height:40px;font-size:14px;font-weight:600;color:var(--g-600);text-decoration:underline;text-underline-offset:3px}
.bp-forget:hover{color:var(--red-txt)}
@media (min-width:500px){.bp-row{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- collapsible sections, phones only (.collapse-sm) ---------- */
.collapse-sm{min-width:0}
.collapse-sm > summary{list-style:none}
.collapse-sm > summary::-webkit-details-marker{display:none}
.cs-head{position:relative}
.cs-tog{display:none}
@media (max-width:699px){
  .collapse-sm{background:var(--white);border-radius:var(--r-lg);box-shadow:inset 0 0 0 1px var(--g-200)}
  .collapse-sm + .collapse-sm{margin-top:10px}
  .collapse-sm > summary,.collapse-sm .cs-head{position:relative;display:block;padding:18px 54px 18px 18px;cursor:pointer;border-radius:var(--r-lg)}
  .collapse-sm > summary h2,.collapse-sm .cs-head h2{font-size:24px;line-height:1.1}
  .collapse-sm > summary p,.collapse-sm .cs-head p{font-size:14.5px;color:var(--g-600);margin-top:4px}
  .collapse-sm > summary::after,.cs-tog::after{content:"";position:absolute;right:22px;top:26px;width:10px;height:10px;border-right:2px solid var(--g-500);border-bottom:2px solid var(--g-500);transform:rotate(45deg);transition:transform .25s var(--ease)}
  .collapse-sm[open] > summary::after,.cs-tog[aria-expanded="true"]::after{transform:rotate(225deg);top:31px}
  .cs-tog{display:block;position:absolute;inset:0;width:100%;border-radius:var(--r-lg);cursor:pointer}
  .cs-tog::after{top:26px}
  .cs-tog:focus-visible,.collapse-sm > summary:focus-visible{outline:3px solid var(--red);outline-offset:-3px}
  .collapse-sm > :not(summary):not(.cs-head){padding:0 18px 20px}
  .collapse-sm.shut .cs-body{display:none}
  .collapse-sm.cs-plain{background:none;box-shadow:none;border-radius:0;border-top:1px solid var(--g-200)}
  .collapse-sm.cs-plain:last-of-type{border-bottom:1px solid var(--g-200)}
  .collapse-sm.cs-plain + .collapse-sm.cs-plain{margin-top:0}
  .collapse-sm.cs-plain > summary,.collapse-sm.cs-plain .cs-head{padding-left:2px}
  .collapse-sm.cs-plain > :not(summary):not(.cs-head){padding:0 2px 18px}
}
@media (min-width:700px){.collapse-sm > summary{cursor:default}.collapse-sm.shut .cs-body{display:block}}

/* ---------- section nav with scroll spy (Aligra.sectionNav) ---------- */
.snav-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.snav{position:sticky;top:var(--hdr);z-index:40;min-width:0;margin:0 calc(var(--gut) * -1);padding:8px var(--gut);background:color-mix(in srgb,var(--off) 88%,transparent);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid rgba(20,22,28,.06)}
.snav-ttl,.snav-extra,.snav .n{display:none}
.snav ol,.snav ul{position:relative;list-style:none;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-right:24px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent)}
.snav ol::-webkit-scrollbar,.snav ul::-webkit-scrollbar{display:none}
.snav li{flex:none}
.snav ol a,.snav ul a{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 1px var(--g-200);font-weight:600;font-size:14.5px;color:var(--g-700);text-decoration:none;white-space:nowrap;transition:background .2s,color .2s,box-shadow .2s}
.snav ol a[aria-current="true"],.snav ul a[aria-current="true"]{background:var(--k-ink);color:var(--k-white);box-shadow:none}
.snav-main{min-width:0;padding-top:14px}
@media (min-width:900px){
  .snav-layout{grid-template-columns:220px minmax(0,1fr);gap:48px;align-items:start}
  .snav{top:calc(var(--hdr) + 24px);margin:0;padding:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;border:0}
  .snav-ttl{display:block;font-size:13.5px;font-weight:600;color:var(--g-500);margin-bottom:10px;padding-left:16px}
  .snav ol,.snav ul{display:grid;gap:2px;overflow:visible;padding:0;-webkit-mask-image:none;mask-image:none;border-left:2px solid var(--g-200)}
  .snav ol a,.snav ul a{height:auto;min-height:40px;padding:8px 12px 8px 16px;margin-left:-2px;border-radius:0 10px 10px 0;background:none;box-shadow:none;font-size:15px;color:var(--g-600);white-space:normal;border-left:2px solid transparent}
  .snav ol a:hover,.snav ul a:hover{color:var(--ink);background:var(--white)}
  .snav ol a[aria-current="true"],.snav ul a[aria-current="true"]{background:none;color:var(--ink);border-left-color:var(--red)}
  .snav .n{display:inline;width:14px;font-variant-numeric:tabular-nums;font-weight:600;color:var(--k-g-400)}
  .snav a[aria-current="true"] .n{color:var(--red-txt)}
  .snav-extra{display:block;margin-top:22px}
  .snav-main{padding-top:0}
}
/* sections inside a section nav layout land below the header (and the pill row on phones) */
.snav-main [id]{scroll-margin-top:calc(var(--hdr) + var(--sticky-extra,0px) + 12px)}
.pb-rest .ph-tile > div > [aria-hidden="true"],.pb-rest .pi-main > [aria-hidden="true"]{display:none}

/* the first section after the band: normal section spacing (about 36px desktop, 20px phones) and a normal-size heading */
main .pb-first,main .pb-first[class]{padding-top:20px}
.pb-rest.pb-first .ph-tile,.pb-rest.pb-first .pi{padding-top:0}
.pb-first h2{font-size:min(var(--h2),40px)}
.pb-lead .ph-tile,.pb-lead .pi{padding-top:20px}
.pb-after .pb-lede{margin-top:20px}
@media (min-width:700px){main .pb-first,main .pb-first[class]{padding-top:36px}}

/* =====================================================================
   QA pass (24 Oct): phone tap targets. Visual sizes stay; the hit area
   grows to 44px with an invisible ::after where the look must not change.
   ===================================================================== */
@media (max-width:699px){
  .jcard .acts .btn{height:44px}
  .chip,.town-chips .chip{height:44px}
  .top .logo,.page-band .crumbs a,.more,.section-tabs a,a.tel,.bc-tel{position:relative}
  .top .logo::after,.page-band .crumbs a::after,.more::after,.section-tabs a::after,a.tel::after,.bc-tel::after{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:44px;transform:translateY(-50%)}
  .page-band .crumbs a::after{left:-8px;right:-8px}
}

/* =====================================================================
   Cookie choices (initConsent in site.js)
   Bottom left card on tablet and desktop, away from Ada on the right;
   full width at the bottom on phones. Accept and Reject are equal.
   ===================================================================== */
.btn-ink{background:var(--k-ink);color:var(--k-white)}
.btn-ink:hover{background:var(--ink-3)}
.ck{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:110;padding:20px 20px 14px;border-radius:var(--r-md);background:var(--white);box-shadow:var(--sh-3),inset 0 0 0 1px var(--g-200);transform:translateY(calc(100% + 24px));transition:transform .45s var(--spring)}
.ck.show{transform:none}
.ck h2{font-size:var(--t-lg);line-height:1.2;margin:0 0 6px;outline:none}
.ck p{font-size:var(--t-sm);line-height:1.5;color:var(--g-700);margin:0}
.ck-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.ck-acts .btn{height:46px;padding:0 12px}
.ck-foot{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.ck-link{background:none;border:0;padding:10px 2px;font:inherit;font-size:var(--t-sm);font-weight:600;color:var(--red-txt);cursor:pointer;text-decoration:none}
.ck-link:hover{text-decoration:underline;text-underline-offset:3px}
.ck-more{margin-top:14px;border-top:1px solid var(--g-200)}
.ck-more[hidden]{display:none}
.ck-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--g-200);cursor:pointer}
.ck-row b{display:block;font-size:var(--t-sm)}
.ck-row span span,.ck-row div span{display:block;font-size:var(--t-xs);color:var(--g-600)}
.ck-on{font-size:var(--t-xs);font-weight:600;color:var(--g-600);white-space:nowrap}
body.ck-up .ada-launch,body.ck-up .to-top,body.ck-up .mbar{visibility:hidden}
@media (min-width:700px){
  .ck{left:20px;right:auto;bottom:20px;width:400px;padding:24px 24px 16px}
  body.ck-up .ada-launch,body.ck-up .to-top{visibility:visible}
  body.ck-up .pnote{display:none}
}
@media (prefers-reduced-motion:reduce){.ck{transition:none}}

/* the switch used by cookie choices and accessibility options */
.tgl{position:relative;flex:none;width:46px;height:28px}
.tgl input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.tgl i{position:absolute;inset:0;border-radius:999px;background:var(--g-300);transition:background .2s}
.tgl i::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--white);box-shadow:0 1px 3px rgba(20,22,28,.3);transition:transform .25s var(--spring)}
.tgl input:checked + i{background:var(--red)}
.tgl input:checked + i::after{transform:translateX(18px)}
.tgl input:focus-visible + i{outline:2px solid var(--ink);outline-offset:3px}

/* =====================================================================
   Accessibility options (initA11y in site.js)
   The round button sits in the header; the panel is a drawer from the
   right on desktop and a bottom sheet on phones.
   ===================================================================== */
.a11y-btn{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:0;background:transparent;color:var(--g-700);cursor:pointer;transition:background .2s,color .2s}
.a11y-btn:hover,.a11y-btn[aria-expanded="true"]{background:var(--g-100);color:var(--ink)}
.a11y-btn svg{width:24px;height:24px}
.skip-2:focus,.skip-2:focus-visible{top:60px}
.ftr-btn{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.ftr-btn:hover{color:var(--k-white)}
.a11y-scrim{position:fixed;inset:0;z-index:111;background:rgba(20,22,28,.35);opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s}
.a11y-scrim.show{opacity:1;visibility:visible;transition:opacity .25s}
.a11y-panel{position:fixed;left:0;right:0;bottom:0;z-index:112;display:flex;flex-direction:column;max-height:88vh;border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--white);box-shadow:var(--sh-3);transform:translateY(100%);visibility:hidden;transition:transform .4s var(--ease),visibility 0s .4s}
.a11y-panel.show{transform:none;visibility:visible;transition:transform .4s var(--ease)}
.a11y-head{display:flex;justify-content:space-between;gap:16px;padding:22px 20px 14px;border-bottom:1px solid var(--g-200)}
.a11y-head h2{font-size:var(--t-xl);line-height:1.15;outline:none}
.a11y-head p{font-size:var(--t-sm);color:var(--g-600);margin-top:4px}
.a11y-x{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--g-50);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.a11y-x:hover{background:var(--g-100)}
.a11y-x svg{width:20px;height:20px}
.a11y-body{overflow:auto;overscroll-behavior:contain;padding:6px 20px 12px}
.a11y-size{border:0;padding:14px 0;border-bottom:1px solid var(--g-200)}
.a11y-size legend{font-weight:700;font-size:var(--t-sm);margin-bottom:10px;float:left;width:100%}
.a11y-szs{clear:both;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;border-radius:999px;background:var(--g-50)}
.a11y-sz{position:relative;display:grid;place-items:center;height:42px;border-radius:999px;cursor:pointer;font-weight:700;color:var(--g-700)}
.a11y-sz input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.a11y-sz:has(input:checked){background:var(--white);color:var(--ink);box-shadow:var(--sh-1)}
.a11y-sz:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.a11y-mds{grid-template-columns:repeat(3,1fr)}
.a11y-md span{font-size:14.5px}
.a11y-mode .a11y-tip{margin-top:6px}
.a11y-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--g-200);cursor:pointer}
.a11y-row b{display:block;font-size:var(--t-sm)}
.a11y-row small{display:block;font-size:var(--t-xs);color:var(--g-600);margin-top:2px}
.a11y-read{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:48px;margin-top:16px;border:0;border-radius:999px;background:var(--g-50);font:inherit;font-weight:600;font-size:var(--t-sm);color:var(--ink);cursor:pointer}
.a11y-read:hover{background:var(--g-100)}
.a11y-read[aria-pressed="true"]{background:var(--k-ink);color:var(--k-white)}
.a11y-read svg{width:20px;height:20px}
.a11y-tip{font-size:var(--t-xs);color:var(--g-600);text-align:center;margin-top:8px}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--g-200)}
.a11y-foot a{font-size:var(--t-sm);font-weight:600;color:var(--red-txt);text-decoration:none}
.a11y-foot a:hover{text-decoration:underline;text-underline-offset:3px}
@media (min-width:700px){
  .a11y-panel{left:auto;top:0;bottom:0;width:400px;max-height:none;border-radius:var(--r-lg) 0 0 var(--r-lg);transform:translateX(100%)}
  .a11y-head{padding:28px 24px 18px}
  .a11y-body{flex:1;padding:6px 24px 16px}
  .a11y-foot{padding:14px 24px 18px}
}
@media (prefers-reduced-motion:reduce){.a11y-panel,.a11y-scrim{transition:none}}

/* --- what each option does --- */
/* text size: the page content zooms (type is set in px), the header stays put */
html.a11y-size-1 main,html.a11y-size-1 .ftr{zoom:1.12}
html.a11y-size-2 main,html.a11y-size-2 .ftr{zoom:1.25}
html.a11y-size-3 main,html.a11y-size-3 .ftr{zoom:1.4}
/* high contrast: the greys darken, edges get stronger, the paper texture goes */
html.a11y-contrast{--off:#FFFFFF;--g-200:#8E9198;--g-300:#6E7178;--g-400:#4A4D53;--g-500:#33353A;--g-600:#26282C;--g-700:#18191C;--red:#9A2215;--red-600:#821C11}
html.a11y-contrast body::before{display:none}
html.a11y-contrast .page-band,html.a11y-contrast .page-band *{color:var(--k-white)}
html.a11y-contrast .ftr{color:var(--k-white)}
html.a11y-contrast .ftr a,html.a11y-contrast .legal,html.a11y-contrast .ftr .about{color:var(--k-white)}
html.a11y-contrast .btn-ghost,html.a11y-contrast .card,html.a11y-contrast input,html.a11y-contrast select,html.a11y-contrast textarea{box-shadow:inset 0 0 0 2px var(--ink)}
/* underline links */
html.a11y-links main a:not(.btn),html.a11y-links .ftr a{text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1.5px}
/* easier-to-read font (loaded only when picked) */
html.a11y-font{--display:"Atkinson Hyperlegible",system-ui,sans-serif;--body:"Atkinson Hyperlegible",system-ui,sans-serif;--num:"Atkinson Hyperlegible",system-ui,sans-serif}
/* text spacing, the WCAG 1.4.12 amounts */
html.a11y-spacing main :is(p,li,dd,td,th,blockquote,label,small){line-height:1.8!important;letter-spacing:.12em!important;word-spacing:.16em!important}
html.a11y-spacing main p{margin-bottom:1em}
/* stop animations */
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.001ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
/* stronger focus outline: dark ring with a white halo, so it shows on light and dark */
html.a11y-focus :focus-visible{outline:3px solid var(--ink)!important;outline-offset:3px!important;box-shadow:0 0 0 7px var(--white)!important}
/* reading guide: the page dims above and below a clear strip at the pointer */
.a11y-mask{position:fixed;inset:0;z-index:109;pointer-events:none}
.a11y-mask i{position:absolute;left:0;right:0;background:rgba(20,22,28,.42)}
.a11y-mask i:first-child{top:0;height:max(0px,calc(var(--gy) - 44px))}
.a11y-mask i:last-child{top:calc(var(--gy) + 44px);bottom:0;border-top:3px solid var(--red)}

/* footer: a quieter echo of the page band. The dot map of Britain sits under
   the company line with jobs lighting up, and the red line runs along the top. */
.ftr > .wrap{position:relative;z-index:2}
.ftr .pb-map{opacity:.85}
.ftr::before{content:"";position:absolute;left:0;top:0;z-index:3;width:100%;height:3px;background:linear-gradient(90deg,var(--red) 0,var(--red-hot) 50%,var(--red) 100%);background-size:200% 100%;animation:pbShimmer 6s linear infinite}
.ftr.pb-still::before{animation-play-state:paused}
.ftr-map{display:none}
/* out of the flow: it sits in the empty space right of the link columns and never changes the footer's size */
@media (min-width:1200px){
  .ftr-grid{position:relative}
  .ftr-map{display:block;position:absolute;right:0;top:0;bottom:0;width:190px;pointer-events:none}
}
@media (prefers-reduced-motion:reduce){.ftr::before{animation:none}}

/* footer social links: under the company line, in space the column already has */
.ftr .social{display:flex;gap:10px;list-style:none;margin-top:20px}
.ftr .social a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--k-g-300);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);transition:color .2s,background .2s,box-shadow .2s}
.ftr .social a:hover{color:var(--k-white);background:var(--red);box-shadow:none}
/* the accreditations strip (REC, Sedex, GLAA, ISO 9001, Carbon Neutral Britain, Armed Forces Covenant): white logos, under the socials */
.ftr .accred{display:block;margin-top:24px;width:min(300px,100%);opacity:.82;transition:opacity .2s}
.ftr .accred:hover{opacity:1}
.ftr .accred img{display:block;width:100%;height:auto}
.ftr .social svg{width:19px;height:19px}

/* =====================================================================
   Languages: the globe button and its short list (header), the list at
   the foot of the mobile menu, and the one-line note in the footer of a
   translated page. Tokens only. (i18n, 25 Oct)
   ===================================================================== */
.lang-sw{position:relative;flex:none}
.lang-btn{height:40px;min-width:40px;padding:0 8px;border-radius:20px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;background:transparent;color:var(--g-700);font:600 12px/1 var(--body);letter-spacing:.04em;cursor:pointer;transition:background .2s,color .2s}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{background:var(--g-100);color:var(--ink)}
.lang-btn:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.lang-btn svg{width:20px;height:20px}
.lang-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:180px;list-style:none;margin:0;padding:6px;background:var(--white);border-radius:var(--r-md);box-shadow:var(--sh-3);z-index:5}
.lang-menu[hidden]{display:none}
.lang-menu a{display:block;padding:10px 14px;border-radius:10px;font-size:15px;font-weight:500;color:var(--ink);text-decoration:none;white-space:nowrap}
.lang-menu a:hover,.lang-menu a:focus-visible{background:var(--g-50)}
.lang-menu a[aria-current="true"]{background:var(--red-50);color:var(--red-700);font-weight:600}
.top .lang-sw + .a11y-btn{margin-left:calc(4px - var(--s5))}
@media (max-width:420px){ .lang-btn .lang-code{display:none} .lang-btn{padding:0;width:40px} }
.mnav .m-lang{margin-top:10px;padding-top:6px;border-top:1px solid var(--g-100)}
.mnav .m-lang ul{list-style:none;margin:0;padding:0 4px;display:flex;flex-wrap:wrap;gap:6px}
.mnav .m-lang a{display:inline-flex;padding:10px 14px;font-size:15px;border-radius:999px;background:var(--g-50)}
.mnav .m-lang a[aria-current="true"]{background:var(--red-50);color:var(--red-700);font-weight:600}
.ftr .ftr-i18n{margin-top:24px;font-size:13px;color:var(--k-g-300)}
.ftr .ftr-i18n + .legal{margin-top:12px}
/* longer menu words in other languages: keep each top item on one line; between 1060 and 1279px
   a translated page drops the header's "Work for us" button (it stays in the menus and footer) */
.nav .nav-link,.nav .dd-btn{white-space:nowrap}
@media (min-width:1060px) and (max-width:1279px){ html:not([lang|="en"]) .top .reg[href="careers.html"]{display:none} html:not([lang|="en"]) .top .reg + .reg{margin-left:0} }
.err-line{font-size:14px;color:var(--red-700);margin-top:12px}

/* ================= 11 Nov 2026: section colour, page-change motion, saved jobs =================
   Employer pages wear a red band (black = finding work, red = hiring, the same split as the homepage). */
body:is([data-page="employers"],[data-page="how-we-work"],[data-page="employers-on-site"],[data-page="request-staff"],[data-page="compliance"],[data-page="compliance-pack"],[data-page="insights"],[data-page="case-studies"],[data-page="employer-guidance"],[data-page="reports"],[data-page^="report-"]) .page-band{background:radial-gradient(70% 240% at 100% 0,var(--red-600) 0,transparent 62%),var(--k-red-700);--pb-hot:var(--white)}
body:is([data-page="employers"],[data-page="how-we-work"],[data-page="employers-on-site"],[data-page="request-staff"],[data-page="compliance"],[data-page="compliance-pack"],[data-page="insights"],[data-page="case-studies"],[data-page="employer-guidance"],[data-page="reports"],[data-page^="report-"]) .page-band::after{background-image:linear-gradient(90deg,var(--red-soft) 0,var(--white) 50%,var(--red-soft) 100%)}
body:is([data-page="employers"],[data-page="how-we-work"],[data-page="employers-on-site"],[data-page="request-staff"],[data-page="compliance"],[data-page="compliance-pack"],[data-page="insights"],[data-page="case-studies"],[data-page="employer-guidance"],[data-page="reports"],[data-page^="report-"]) .page-band :is(.crumbs > ol,.crumbs a,.pb-ttl p){color:var(--k-red-100)}
body:is([data-page="employers"],[data-page="how-we-work"],[data-page="employers-on-site"],[data-page="request-staff"],[data-page="compliance"],[data-page="compliance-pack"],[data-page="insights"],[data-page="case-studies"],[data-page="employer-guidance"],[data-page="reports"],[data-page^="report-"]) .page-band .crumbs li + li::before{border-color:var(--red-soft)}
/* moving between pages: a quick cross-fade, the header stays put. Browsers without it just load the page. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:vtOut .14s ease-out both}
::view-transition-new(root){animation:vtIn .26s cubic-bezier(.2,.8,.2,1) both}
@keyframes vtOut{to{opacity:0}}
@keyframes vtIn{from{opacity:0;transform:translateY(8px)}}
[data-site-header]{view-transition-name:site-header}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
/* job cards lift a touch under the pointer */
.job-list .jcard{transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
@media (hover:hover){.job-list .jcard:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px var(--g-300),var(--sh-2)}}
@media (prefers-reduced-motion:reduce){.job-list .jcard{transition:none}.job-list .jcard:hover{transform:none}}
/* save a job (kept on this device) */
.jc-save{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--off);color:var(--g-600);box-shadow:inset 0 0 0 1px var(--g-200);transition:background .2s,color .2s,transform .15s}
.jc-save svg{width:17px;height:17px}
.jc-save:hover{background:var(--white);color:var(--ink)}
.jc-save:active{transform:scale(.92)}
.jc-save[aria-pressed="true"]{background:var(--red-50);color:var(--red-txt);box-shadow:inset 0 0 0 1px var(--red-200)}
.jc-save[aria-pressed="true"] svg{fill:currentColor}
/* ---- 11 Nov 2026: accessibility pass (design/prelaunch-accessibility.md) ---- */
:root{--edge:#8A8D94}
/* the main search boxes show where the keyboard is */
.bx:focus-within{box-shadow:inset 0 0 0 2px var(--red)}
/* form fields: an edge you can see (3:1 on white) */
.form-input,.form-select,.form-textarea{box-shadow:inset 0 0 0 1.5px var(--edge)}
.form-input:focus,.form-select:focus,.form-textarea:focus{box-shadow:inset 0 0 0 2px var(--red)}
/* on dark and red surfaces the focus ring is white */
:is(footer,.page-band,.ftr,.hire,.e-dark,.apply-bar) :focus-visible{outline-color:var(--white)}

/* the plain link list crawlers read before site.js swaps in the real footer */
.ns-links{max-width:var(--wrap,1200px);margin:0 auto;padding:24px 20px;font-size:14px;color:var(--g-600)}
.ns-links h2{font-size:14px;margin:14px 0 6px}
.ns-links ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px 16px;padding:0;margin:0}

/* ================= the seasons (html[data-look] is set by site.js from AligraData.SEASONS) ================= */
html[data-look="spring"]{--sea:#4F9A4B;--sea-2:#E79AB0;--sea-ink:#2F6B2C;--sea-soft:rgba(79,154,75,.14)}
html[data-look="summer"]{--sea:#E2A016;--sea-2:#F2C14E;--sea-ink:#8A5A00;--sea-soft:rgba(226,160,22,.18)}
html[data-look="autumn"]{--sea:#C9651C;--sea-2:#9E3A16;--sea-ink:#8A3F0C;--sea-soft:rgba(201,101,28,.15)}
html[data-look="winter"]{--sea:#5E8FBF;--sea-2:#9DB7D3;--sea-ink:#2F5C88;--sea-soft:rgba(94,143,191,.17)}
/* Christmas: the Aligra red with a warm gold, gently falling snow in the hero */
html[data-look="christmas"]{--sea:#B12718;--sea-2:#C9A227;--sea-ink:#8E1F12;--sea-soft:rgba(201,162,39,.16)}
/* the hero card takes a soft wash of the season, top left, under everything */
html[data-look] .hero .field::after{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(75% 65% at 6% 0%,var(--sea-soft),transparent 66%)}
.sea-fx{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none}
.sea-i{width:16px;height:16px;flex:none}
.sea-note{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;max-width:100%;margin-top:14px;padding:8px 14px 8px 11px;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 1.5px var(--sea),0 1px 2px rgba(20,22,28,.05);font-size:14.5px;font-weight:600;line-height:1.3;color:var(--ink);text-decoration:none;transition:box-shadow .2s,transform .2s}
.sea-note .sea-i{color:var(--sea-ink)}
.sea-note .go{width:14px;height:14px;flex:none;color:var(--sea-ink);transition:transform .2s}
.sea-note:hover{box-shadow:inset 0 0 0 1.5px var(--sea-ink),var(--sh-1)}
.sea-note:hover .go{transform:translateX(3px)}
.sea-chip{display:inline-flex;align-items:center;gap:6px;box-shadow:inset 0 0 0 1.5px var(--sea)}
.sea-chip .sea-i{width:14px;height:14px;color:var(--sea-ink)}
[data-season-plan][hidden]{display:none}
.sea-plan{display:grid;gap:14px;align-items:center;margin-top:20px;padding:20px;border-radius:var(--r-lg);background:radial-gradient(60% 140% at 0% 0%,var(--sea-soft),transparent 70%),var(--white);box-shadow:inset 0 0 0 1px var(--g-200)}
.sea-plan h2{font-size:clamp(22px,2.4vw,28px);line-height:1.1}
.sea-plan p{margin-top:6px;color:var(--g-700);}
.sea-badge{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--white);box-shadow:inset 0 0 0 1.5px var(--sea);color:var(--sea-ink)}
.sea-badge .sea-i{width:20px;height:20px}
@media (min-width:800px){.sea-plan{grid-template-columns:auto minmax(0,1fr) auto;gap:20px;padding:24px 28px}}

/* ================= phones first (11 Nov 2026) =================
   On a phone the first screen is for one thing: say what and where, see jobs. So the homepage drops the count
   pill, the intro line and the seasonal pill (the season becomes the first shortcut), the headline shrinks to two
   lines, the map goes (the job cards stay, straight under the search) and Find work shows its first job sooner. */
.sea-m{display:none}
@media (max-width:699px){
  body[data-page="home"] .hero .kicker,body[data-page="home"] .hero .lede,body[data-page="home"] .hero .sea-note{display:none}
  body[data-page="home"] .hero h1{font-size:clamp(28px,8.6vw,34px);line-height:1.02;margin:0}
  body[data-page="home"] .hero-grid{padding:18px 14px 14px;gap:14px}
  body[data-page="home"] .hero-copy{gap:14px}
  body[data-page="home"] .hc-search .mode{margin-bottom:10px}
  body[data-page="home"] .mode label{padding:7px 14px;font-size:14px}
  .sea-m{display:inline-flex;text-decoration:none;flex:none}
  body[data-page="home"] .ask-zone{margin-top:10px;transition:height .3s var(--ease)}
  body[data-page="home"] .hero:not(.asked) .ask-zone{height:48px}
  body[data-page="home"] .hero .proof-line{margin-top:2px;font-size:13.5px}
  body[data-page="home"] .hero .proof-line .div,body[data-page="home"] .hero .proof-line .div + span{display:none}
  /* no map on a phone. The search hero stands alone; the job cards are their own block under it (index.html
     moves #heroMap out of the hero card): a heading with the arrows, one card with nothing peeking over it, and
     the way to every job. */
  body[data-page="home"] .hero-map{display:flex;flex-direction:column;margin-top:26px;padding:0 4px}
  body[data-page="home"] .hero-map .map-canvas,body[data-page="home"] .hero-map .map-reach{display:none}
  body[data-page="home"] .hero-map .deck-wrap{display:flex;flex-direction:column;margin:0;order:1}
  body[data-page="home"] .hero-map .deck-foot{order:-1;margin:0 0 12px;padding:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0}
  body[data-page="home"] .hero-map .deck-foot > b{font-family:var(--display);font-size:26px;font-weight:800;letter-spacing:-.015em;line-height:1.1}
  body[data-page="home"] .hero-map .jobs{clip-path:inset(0 -100vw -100vh -100vw)}
  body[data-page="home"] .hero-map .map-all{position:static;order:2;justify-content:center;height:50px;margin-top:14px;font-size:15.5px;border-radius:14px}
  body[data-page="home"] .hero .proof-line{margin-top:6px}
  /* Find work: the first job card inside the first screen */
  body[data-page="find-work"] .pb-lede{display:none}
  body[data-page="find-work"] .fw-plain .fw-msg{display:none}
  body[data-page="find-work"] .fw-extra{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:12px calc(var(--gut) * -1) 0;padding:0 var(--gut) 2px}
  body[data-page="find-work"] .fw-extra::-webkit-scrollbar{display:none}
  body[data-page="find-work"] .fw-x{flex:none;white-space:nowrap}
  body[data-page="find-work"] .fw-recent{white-space:nowrap;overflow-x:auto;scrollbar-width:none;margin-top:10px}
  body[data-page="find-work"] .fw-list .jcard{padding:14px 14px 12px}
  body[data-page="find-work"] .fw-list .jcard .acts .btn{height:40px}
  /* the branches panel: the postcode button, then all 13 branches as buttons in one run. No regions, towns or
     divisions here (they are on the branch pages and in the menu). */
  body[data-page="home"] .lb-sec .lb-towns,body[data-page="home"] .lb-sec .lb-note,body[data-page="home"] .lb-sec .lb-region,body[data-page="home"] .lb-sec .lb-divs{display:none}
  body[data-page="home"] .lb-sec .lb-grid{display:flex;flex-wrap:wrap;gap:8px;padding-top:18px}
  body[data-page="home"] .lb-sec .lb-col,body[data-page="home"] .lb-sec .lb-col ul,body[data-page="home"] .lb-sec .lb-col li{display:contents}
  body[data-page="home"] .lb-sec .lb-col > :not(ul){display:none}
  body[data-page="home"] .lb-sec .lb-branch{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border-radius:999px;background:var(--off);box-shadow:inset 0 0 0 1px var(--g-200);font-size:15px;font-weight:600;text-decoration:none}
  body[data-page="home"] .lb-sec .lb-foot{margin-top:18px;padding-top:14px}
  /* the award: the words, not the photos */
  body[data-page="home"] .award-sec .aw-media{display:none}
  /* how the search works: the three steps side by side, swiped (index.html brings each into view as it plays),
     and no list of points after it */
  body[data-page="home"] #stage{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:var(--s5) calc(var(--gut) * -1) 0;padding:2px var(--gut) 8px;scroll-padding:0 var(--gut)}
  body[data-page="home"] #stage::-webkit-scrollbar{display:none}
  body[data-page="home"] #stage > .beat{flex:0 0 86%;scroll-snap-align:start}
  body[data-page="home"] #ai .ai-rows{display:none}
  /* employers: the offer and the button, without the photo and the worked example */
  body[data-page="home"] #hire .hire-photo{display:none}
  body[data-page="home"] #how .how-list li{padding:11px 0}
  body[data-page="home"] #how .how-list span{display:none}
  /* the footer's link lists sit two across */
  footer .ftr-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
  /* Ada's button takes less of a small screen */
  .ada-launch{transform:scale(.84);transform-origin:100% 100%}
  .ada-launch:hover{transform:scale(.84)}
}

/* a long section folded on a phone (site.js adds .fold.shut and the button to <section data-fold-sm>) */
.fold.shut{position:relative;max-height:var(--fold,400px);overflow:hidden}
.fold.shut::after{content:"";position:absolute;left:0;right:0;bottom:0;height:150px;background:linear-gradient(180deg,rgba(246,247,248,0),var(--off) 62%);pointer-events:none;z-index:4}
.fold-btn{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:5;display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:999px;background:var(--white);box-shadow:var(--sh-1),inset 0 0 0 1px var(--g-300);font-size:15px;font-weight:600;color:var(--ink);white-space:nowrap}
.fold-btn[hidden]{display:none}
.fold-btn svg{width:14px;height:14px;color:var(--red-txt)}
.fold-btn:active{transform:translateX(-50%) scale(.97)}

/* the skip links wait above the page for keyboard users. Invisible until focused, so they can never peek in when
   the page is pulled down past its top (the rubber-band scroll on a Mac or a phone). */
.skip{opacity:0;pointer-events:none}
.skip:focus,.skip:focus-visible{opacity:1;pointer-events:auto}

/* ---------- the Labour Market Report card (employers page and home page; written by _report/build.mjs) ---------- */
.rpt-feat{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:var(--k-ink);color:var(--k-white);border-radius:var(--r-xl);overflow:hidden;box-shadow:var(--sh-2)}
.rf-side{display:grid;gap:14px;align-content:center;justify-items:start;padding:clamp(24px,3.6vw,48px)}
.rf-tag{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:var(--red);color:var(--k-white);font-size:var(--t-xs);font-weight:700;letter-spacing:.02em}
.rf-side h2{color:var(--k-white);margin:0}
.rf-lede{color:rgba(255,255,255,.8);font-size:var(--t-md);margin:0}
.rf-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.rf-line{box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);color:var(--k-white);background:transparent}
.rf-line:hover{background:rgba(255,255,255,.08)}
.rf-nums{list-style:none;margin:10px;padding:6px clamp(16px,2.4vw,28px);background:var(--white);color:var(--ink);border-radius:calc(var(--r-xl) - 8px);display:grid;align-content:center}
.rf-nums li{display:grid;grid-template-columns:clamp(84px,9vw,112px) minmax(0,1fr);align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--g-100)}
.rf-nums li:last-child{border-bottom:0}
.rf-nums .big{font-family:var(--num);font-weight:800;font-size:clamp(34px,3.6vw,48px);line-height:1;letter-spacing:-.03em;color:var(--red-txt);font-variant-numeric:tabular-nums}
.rf-nums b{font-weight:600;font-size:var(--t-md);line-height:1.3}
@media (max-width:820px){
  .rpt-feat{grid-template-columns:minmax(0,1fr)}
  .rf-ctas{width:100%}.rf-ctas .btn{flex:1 1 100%}
  .rf-nums{margin:0 8px 8px}.rf-nums li{padding:14px 0}
}

/* ---------- wide screens: no half-empty rows. Questions, client "what it's like" blocks and the news list use the full width ---------- */
@media (min-width:1000px){
  :is(.wrap,.cp-faq):has(> .faq:nth-child(2):last-child){display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:48px;align-items:start}
  :is(.wrap,.cp-faq):has(> .faq:nth-child(2):last-child) > :first-child{position:sticky;top:calc(var(--hdr,72px) + 24px);margin-bottom:0}
  .e-sec .wf-about{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:48px;align-items:start}
  .e-sec .wf-about .cs-body p{max-width:none}
  #industry .nw-auto{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;align-items:start}
  #industry .nw-auto li{grid-template-columns:minmax(0,1fr);gap:6px;align-content:start;height:100%}
  #industry .nw-auto p{max-width:none}
}

/* dark mode: maps go dark too (the tiles are light, so they're inverted; markers sit in another pane and keep their colours) */
:root[data-theme="dark"] .leaflet-tile-pane{filter:grayscale(1) invert(1) brightness(.88) contrast(.9)!important}
:root[data-theme="dark"] .leaflet-container,:root[data-theme="dark"] .map-canvas{background:#202226!important}
:root[data-theme="dark"] .leaflet-bar a,:root[data-theme="dark"] .leaflet-popup-content-wrapper,:root[data-theme="dark"] .leaflet-popup-tip{background:var(--white);color:var(--ink);border-color:var(--g-200)}

/* the light/dark button in the header: same look as the accessibility button */
.mode-btn{margin-right:2px}
.mode-btn .i-sun{display:none}
:root[data-theme="dark"] .mode-btn .i-sun{display:block}
:root[data-theme="dark"] .mode-btn .i-moon{display:none}

/* ---------- footer: the link groups are <details>; phones fold them ---------- */
.ftr-col > summary{list-style:none;cursor:default}
.ftr-col > summary::-webkit-details-marker{display:none}
.ftr-quick{display:none}
@media (max-width:699px){
  .ftr{padding:40px 0 120px;font-size:15px}
  .ftr-grid{gap:24px}
  .ftr .about{font-size:14.5px}
  .ftr-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
  .ftr-quick .btn{justify-content:center;gap:8px;height:46px}
  .ftr-quick .btn svg{width:16px;height:16px}
  .ftr-quick .btn-ghost{color:var(--k-white);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.28);background:transparent}
  .ftr-cols{display:block;border-top:1px solid rgba(255,255,255,.1)}
  .ftr-col{border-bottom:1px solid rgba(255,255,255,.1)}
  .ftr-col > summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;cursor:pointer}
  .ftr-col > summary h4{margin:0;font-size:16px}
  .ftr-col > summary::after{content:"";width:9px;height:9px;margin-right:6px;border-right:2px solid var(--k-g-300);border-bottom:2px solid var(--k-g-300);transform:rotate(45deg) translateY(-3px);transition:transform .25s var(--ease)}
  .ftr-col[open] > summary::after{transform:rotate(-135deg) translateY(-2px)}
  .ftr-col ul{gap:0;padding:0 0 12px}
  .ftr-col li a{display:block;padding:10px 0}
  .ftr .branches{display:none}
  .ftr .social{justify-content:flex-start}
  .legal{display:grid;grid-template-columns:1fr 1fr;gap:2px 16px;font-size:13.5px}
  .legal > span{grid-column:1 / -1;margin-bottom:6px}
  .legal a,.legal .ftr-btn{display:block;padding:8px 0;text-align:left}
}
/* tap targets: footer links and the logo get at least 24px of height (WCAG 2.2 target size) */
.ftr-col li a{display:inline-block;padding:2px 0}
.legal a,.legal .ftr-btn{display:inline-block;padding:3px 0}
.top .logo{padding:2px 0}
/* no jump while loading: the header is drawn by script, so its placeholder holds the same space */
div[data-site-header]{height:calc(var(--hdr) + 1px)}
/* the concept pill never pushes the page down (it comes off at launch anyway) */
@media (max-width:899px){ .pnote{position:absolute;top:calc(var(--hdr) + 8px);right:var(--gut);left:auto;margin:0} }

/* phones: foldable sections are folded from the first paint (same height the script uses), so folding them after
   the page loads moves nothing. The script adds .fold-none to short ones and to any section someone opens. */
@media (max-width:699px){
  [data-fold-sm]{--fold:400px}
  [data-fold-sm="460"]{--fold:460px} [data-fold-sm="520"]{--fold:520px} [data-fold-sm="640"]{--fold:640px}
  [data-fold-sm]:not(.fold-none){position:relative;max-height:var(--fold);overflow:hidden}
  [data-fold-sm]:not(.fold):not(.fold-none)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:150px;background:linear-gradient(180deg,rgba(246,247,248,0),var(--off) 62%);pointer-events:none;z-index:4}
}
/* Register: the branch list is drawn by script; hold its space so the page below doesn't jump */
#rgGrid:empty{min-height:366px}
@media (min-width:700px){ #rgGrid:empty{min-height:656px} }
@media (min-width:1100px){ #rgGrid:empty{min-height:487px} }
/* Find work: the sector strip and the results are drawn by script; hold their space so nothing jumps */
#fwSectors:empty{min-height:52px}
@media (min-width:1100px){ #fwSectors:empty{min-height:46px} }
#fwList:empty{min-height:100vh}
/* job pages: the three facts under the title are drawn by script; hold their space */
#jbFacts:empty{min-height:85px}
@media (min-width:700px){ #jbFacts:empty{min-height:65px} }
@media (min-width:1100px){ #jbFacts:empty{min-height:71px} }
/* phone pass fixes */
.fld .file{display:flex;flex-direction:row;align-items:center}
@media (max-width:699px){ nav.wu-need ul{grid-template-columns:1fr} }
.page-band .crumbs a{display:inline-block;padding:4px 0;margin:-4px 0}
