/* ──────────────────────────────────────────────────────────────────────────
   workin. — role page styles (/<industry>/<role>/). Pages are written by
   tools/build_role_pages.py. Three parts:
     1. base, header, timeline and employer styles — as shipped on /pathways/
     2. the role page layout
     3. the email opt-in overlay — as in assets/industry.css
   --accent and --accent-ink are set per page on <html>.
   ────────────────────────────────────────────────────────────────────────── */

/* ── 1. base + timeline + employers ── */

  :root{
    --bg:#0A0A0F; --bg-2:#111118; --surface:#15151d; --surface-2:#1a1a24;
    --text:#ffffff; --muted:rgba(255,255,255,0.62); --faint:rgba(255,255,255,0.40);
    --amber:#F59E0B; --line:rgba(255,255,255,0.10);
    --accent:#06B6D4;               /* recoloured per industry at runtime */
  }
  *{box-sizing:border-box;margin:0;padding:0}
  /* overflow-x:clip on html too: body{overflow-x:hidden} alone does not stop iOS Safari panning
     sideways when something is wider than the viewport. */
  html{-webkit-text-size-adjust:100%;background:var(--bg);scroll-behavior:smooth;overflow-x:clip}
  body{font-family:'Poppins',system-ui,sans-serif;background:var(--bg);color:var(--text);
    min-height:100dvh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
  p{text-wrap:pretty}
  a{color:inherit}
  .wrap{max-width:1240px;margin:0 auto;padding:0 24px}

  header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;
    padding:14px 20px;margin:12px;border-radius:16px;background:rgba(10,10,15,0.62);border:1px solid rgba(255,255,255,0.12);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  .brand{display:inline-flex;align-items:flex-end;gap:2px;transform:translateY(-5px);text-decoration:none}
  .brand .hx{width:30px;height:30px;transform:translateY(5px)}
  .brand .wm{font-weight:600;font-size:20px;color:#fff;letter-spacing:-0.01em;line-height:1}
  .brand .dot{display:inline-block;width:.16em;height:.16em;border-radius:50%;background:var(--amber);margin-left:.05em;vertical-align:baseline}
  .nav{display:flex;align-items:center;gap:18px}
  .nav a{color:var(--muted);text-decoration:none;font-size:14px}
  .nav .cta-sm{color:#0A0A0F;background:var(--amber);font-weight:600;padding:8px 15px;border-radius:11px}

  .label{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:700;letter-spacing:0.14em;
    text-transform:uppercase;color:var(--amber);margin-bottom:11px}
  .label::before{content:"";width:7px;height:7px;background:var(--amber);border-radius:2px}

  /* ── page intro ── */
  /* NB: these sit on `.wrap` elements. The padding shorthand must keep the 24px sides or
     the rails' -24px mobile margins push the page 24px wider than the phone (2026-09-09). */
  .intro{padding:36px 24px 26px}
  .intro h1{font-size:clamp(32px,4.6vw,54px);font-weight:900;letter-spacing:-0.03em;line-height:1.03;margin-bottom:14px}
  .intro h1 .accent{color:var(--amber)}
  .intro p{font-size:16.5px;line-height:1.65;color:var(--muted);max-width:640px}

  /* ── THE TIMELINE — the core element ── */
  /* The band is the hero content, but at #111118 on a #0A0A0F page it was a
     ~2% luminance step behind hairline borders and blended into the pickers
     above and the employer band below. A solid accent rule caps it and a wash
     falls away beneath, which also makes the accent the page's structural
     signal rather than decoration — the same move as the "Go deeper" band. */
  .tl{background:linear-gradient(180deg,
      color-mix(in srgb,var(--accent) 10%,var(--bg-2)),var(--bg-2) 72%);
    border-top:3px solid var(--accent);border-bottom:1px solid var(--line);
    box-shadow:inset 0 34px 64px -34px color-mix(in srgb,var(--accent) 30%,transparent);
    padding:26px 0 30px;position:relative;scroll-margin-top:84px}
  .tl-head{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:end;margin-bottom:22px}
  .tl-eyebrow{font-size:11px;font-weight:800;letter-spacing:0.16em;text-transform:uppercase;
    color:var(--accent);margin-bottom:9px;display:flex;align-items:center;gap:9px}
  .tl-eyebrow::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--accent)}
  .tl-role{font-size:clamp(26px,3.4vw,40px);font-weight:900;letter-spacing:-0.028em;line-height:1.05}
  .tl-facts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
  .fact{display:inline-flex;flex-direction:column;gap:2px;padding:9px 15px;border-radius:11px;
    background:var(--surface);border:1px solid var(--line);min-width:96px}
  .fact b{font-size:19px;font-weight:900;letter-spacing:-0.02em;line-height:1.1}
  .fact span{font-size:10.5px;font-weight:600;letter-spacing:0.05em;text-transform:uppercase;color:var(--faint)}
  .fact.hero b{color:var(--accent)}

  /* the track scrolls sideways rather than the page — long pathways stay legible */
  .tl-scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:8px;
    scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.2) transparent}
  .tl-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(232px,1fr);gap:0;min-width:100%}
  .col{border-left:1px solid var(--line);padding:0 20px 4px;position:relative}
  .col:first-child{border-left:none;padding-left:0}
  /* "Year 1-2 · Sep 2027" is the hero line of the page — it is the answer to
     "how long until I am qualified". At 11px in --faint it was the FAINTEST
     text in the band. The year now carries the accent and the date stays
     secondary, so the eye lands on the span before the calendar detail. */
  .col-when{font-size:11.5px;font-weight:800;letter-spacing:0.09em;text-transform:uppercase;
    color:var(--muted);padding-bottom:11px;white-space:nowrap}
  .col-when b{color:var(--accent);font-weight:900;font-size:13px;letter-spacing:0.06em}
  .col.future .col-when b,.col.entry .col-when b{color:var(--text)}
  /* ── the rail ──────────────────────────────────────────────────────────
     Each column carries a neutral track, an accent fill, and a dot whose
     position WITHIN the column advances across the timeline: hard left at
     entry, part-way through each training stage, hard right at qualification.
     --pos (0..1) is set per column in JS. The dot is 17px, so the travel is
     (100% - 17px) to keep it inside its own column. */
  .col-rail{position:relative;height:22px;margin-bottom:14px}
  .col-rail::before{content:"";position:absolute;left:0;right:-1px;top:9px;height:2px;background:var(--line)}
  .prog{position:absolute;left:0;right:-1px;top:9px;height:2px;background:var(--accent);opacity:.55}
  /* MUST stay scoped to .col-rail: a bare `.dot` also matches the brand
     wordmark's <span class="dot">, and position/top/left are declared only
     here, so they applied unopposed and flung the logo dot into the header. */
  .col-rail .dot{position:absolute;top:2px;width:17px;height:17px;border-radius:50%;
    background:var(--bg-2);border:2px solid var(--line);z-index:1;
    left:calc(var(--pos,0) * (100% - 17px));transition:left .35s cubic-bezier(.4,0,.2,1)}
  /* the track starts at the first dot and stops at the last, rather than
     running off into empty column padding */
  .col.entry .col-rail::before,.col.entry .prog{left:8px}
  .col:last-child .col-rail::before{right:8px}

  .col.on .dot{border-color:var(--accent);background:var(--accent)}
  .col.goal .dot{border-color:var(--accent);background:var(--accent);
    box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 22%,transparent)}
  /* everything past qualification is projection, so the track goes dashed */
  .col.future .prog{display:none}
  .col.future .col-rail::before{background:none;
    background-image:repeating-linear-gradient(90deg,var(--faint) 0 5px,transparent 5px 11px);opacity:.6}
  .col.future .dot{border-style:dashed;border-color:var(--faint);background:var(--bg-2)}

  /* alternative routes run in parallel from day one, so each bar is drawn from
     the left edge to its own dot — the shortest bar IS the fastest way in */
  .col.route .prog{right:auto;width:calc(var(--pos,0) * (100% - 17px) + 8px)}
  .col.route .dot{background:var(--bg-2);border-color:var(--accent)}
  .col.route{background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 7%,transparent),transparent 62%)}

  .col-kind{font-size:10px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;
    color:var(--accent);margin-bottom:7px}
  .col.future .col-kind{color:var(--faint)}
  .col h3{font-size:15.5px;font-weight:800;letter-spacing:-0.015em;line-height:1.24;margin-bottom:8px}
  .col p{font-size:12.5px;line-height:1.55;color:var(--muted)}
  .col ul{list-style:none;margin-top:2px}
  .col li{font-size:12.5px;line-height:1.5;color:var(--muted);padding-left:15px;position:relative;margin-bottom:5px}
  .col li::before{content:"";position:absolute;left:0;top:7px;width:5px;height:5px;border-radius:1px;background:var(--accent);opacity:.75}
  .pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}
  .pill{font-size:10.5px;font-weight:700;padding:4px 9px;border-radius:7px;
    background:rgba(255,255,255,0.05);border:1px solid var(--line);color:var(--muted)}
  .pill.free{color:#34D399;border-color:rgba(52,211,153,0.35);background:rgba(52,211,153,0.08)}
  .pill.cost{color:#FBBF24;border-color:rgba(251,191,36,0.35);background:rgba(251,191,36,0.08)}
  .pill.est{color:var(--faint);border-style:dashed}
  .earn{margin-top:13px;padding-top:11px;border-top:1px dashed var(--line)}
  .earn b{display:block;font-size:17px;font-weight:900;letter-spacing:-0.02em;color:var(--accent)}
  .col.future .earn b{color:var(--muted)}
  .earn span{font-size:11px;color:var(--faint);line-height:1.4;display:block;margin-top:2px}
  .tl-foot{font-size:12px;color:var(--faint);line-height:1.6;margin-top:20px;max-width:760px}
  .tl-foot a{color:var(--amber);text-decoration:none}


  /* ── selectors: industry rail, then role rail ── */
  .pick{padding:6px 24px 22px}
  .pick-lab{font-size:11px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;
    color:var(--faint);margin-bottom:10px}
  .ind-rail{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:18px}
  .ind{--c:#888;display:flex;flex-direction:column;gap:3px;padding:10px 13px;border-radius:11px;
    border:1px solid var(--line);background:var(--surface);cursor:pointer;text-align:left;
    font-family:inherit;color:var(--text);position:relative;overflow:hidden;
    transition:transform .16s ease,border-color .16s ease,background .16s ease}
  .ind::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--c);opacity:.85}
  .ind .n{font-size:13.5px;font-weight:800;letter-spacing:-0.015em}
  .ind .m{font-size:10.5px;color:var(--faint);font-weight:600}
  .ind:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--c) 55%,transparent)}
  .ind[aria-pressed="true"]{background:color-mix(in srgb,var(--c) 14%,var(--surface));
    border-color:var(--c)}
  .ind[aria-pressed="true"] .m{color:var(--c)}

  .role-rail{display:flex;flex-wrap:wrap;gap:8px}
  .role{display:inline-flex;align-items:center;gap:9px;padding:9px 14px;border-radius:10px;
    border:1px solid var(--line);background:var(--surface);cursor:pointer;font-family:inherit;
    color:var(--muted);font-size:13.5px;font-weight:700;letter-spacing:-0.01em;
    transition:border-color .16s ease,color .16s ease,background .16s ease}
  .role .yrs{font-size:11px;font-weight:700;color:var(--faint);padding:2px 7px;border-radius:6px;
    background:rgba(255,255,255,0.05)}
  .role:hover{color:var(--text);border-color:rgba(255,255,255,0.28)}
  .role[aria-pressed="true"]{color:#0A0A0F;background:var(--accent);border-color:var(--accent)}
  .role[aria-pressed="true"] .yrs{background:rgba(0,0,0,0.16);color:rgba(0,0,0,0.72)}

  /* Solid accent fill. The band is the onward journey out of this page, so it
     is meant to read as a piece of brand rather than one more card — at 13%
     over the card surface it was invisible. --accent-ink is set alongside
     --accent in JS: dark text fails AA on the transport and mining accents,
     so the ink follows the fill rather than being hardcoded. */
  .deeper{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;margin:34px 0 8px;
    padding:24px 26px;border-radius:16px;text-decoration:none;
    border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink,#0A0A0F);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
  .deeper:hover{transform:translateY(-2px);border-color:#fff;
    box-shadow:0 12px 34px color-mix(in srgb,var(--accent) 32%,transparent)}
  .deeper-lab{font-size:10.5px;font-weight:800;letter-spacing:0.15em;text-transform:uppercase;
    color:color-mix(in srgb,var(--accent-ink,#0A0A0F) 66%,transparent);margin-bottom:8px}
  .deeper h3{font-size:19px;font-weight:800;letter-spacing:-0.02em;margin-bottom:7px;
    color:var(--accent-ink,#0A0A0F)}
  .deeper p{font-size:13.5px;line-height:1.6;max-width:620px;
    color:color-mix(in srgb,var(--accent-ink,#0A0A0F) 80%,transparent)}
  .deeper-go{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;
    font-size:14.5px;font-weight:800;color:var(--accent-ink,#0A0A0F)}
  .deeper-go svg{transition:transform .15s ease}
  .deeper:hover .deeper-go svg{transform:translateX(3px)}
  .pick-lab b{color:var(--amber);font-weight:900;margin-right:6px}

  .cta-band{background:var(--amber);padding:52px 0}
  .cta-band h2{font-size:clamp(24px,3vw,34px);font-weight:900;color:#0A0A0F;letter-spacing:-0.025em;margin-bottom:12px}
  .cta-band p{font-size:15.5px;color:rgba(0,0,0,0.66);line-height:1.6;max-width:560px;margin-bottom:24px}
  .btn-dark{display:inline-flex;align-items:center;gap:10px;background:#0A0A0F;color:var(--amber);
    font-size:16px;font-weight:800;padding:17px 32px;border-radius:12px;text-decoration:none}

  @media(max-width:1080px){ .ind-rail{grid-template-columns:repeat(4,1fr)} }
  @media(max-width:860px){
    .tl-head{grid-template-columns:1fr;gap:16px;align-items:start}
    .tl-facts{justify-content:flex-start}
    .ind-rail{grid-template-columns:repeat(3,1fr)}
    .deeper{grid-template-columns:1fr;gap:16px}
  }
  @media(max-width:600px){
    /* Ten stacked tiles pushed the timeline two screens down — the same
       choice-wall problem, and here it hides the thing the choice drives.
       A horizontal rail keeps all ten reachable in one row of thumb-swipe. */
    .ind-rail{display:flex;grid-template-columns:none;overflow-x:auto;gap:8px;
      margin:0 -24px 16px;padding:0 24px 8px;scroll-snap-type:x proximity;
      scrollbar-width:none}
    /* soft fade at both ends = "there is more this way", without arrows */
    .ind-rail,.role-rail{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 34px),transparent 100%);
      mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 34px),transparent 100%)}
    .ind-rail::-webkit-scrollbar{display:none}
    .ind{flex:0 0 auto;scroll-snap-align:start;padding:9px 14px}
    .ind .m{display:none}
    .role-rail{overflow-x:auto;flex-wrap:nowrap;margin:0 -24px;padding:0 24px 8px;
      scrollbar-width:none}
    .role-rail::-webkit-scrollbar{display:none}
    .role{flex:0 0 auto}
    .intro p{font-size:14.5px}
    .tl-track{grid-auto-columns:minmax(210px,1fr)}
  }

  /* ── WHO EMPLOYS — the missing half of an apprenticeship pathway ─────────
     Apprentice routes require employment FIRST: the qualification follows the
     job, not the other way round. A timeline that stops at "get hired" sends
     the user off to Google. This band answers "hired by whom" from the
     employer directory, so the pathway stays inside workin. */
  .emp{padding:30px 24px 4px;scroll-margin-top:84px}
  .emp-head{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:end;margin-bottom:16px}
  .emp-eyebrow{font-size:11px;font-weight:800;letter-spacing:0.16em;text-transform:uppercase;
    color:var(--accent);margin-bottom:9px;display:flex;align-items:center;gap:9px}
  .emp-eyebrow::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--accent)}
  .emp-head h2{font-size:clamp(21px,2.6vw,29px);font-weight:900;letter-spacing:-0.025em;line-height:1.1}
  .emp-head p{font-size:13px;line-height:1.6;color:var(--muted);margin-top:8px;max-width:620px}
  .emp-filter{display:flex;align-items:center;gap:9px;white-space:nowrap}
  .emp-filter label{font-size:11px;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;color:var(--faint)}
  .emp-filter select{font-family:inherit;font-size:13.5px;font-weight:700;color:var(--text);
    background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:9px 13px;
    cursor:pointer;min-width:170px}
  .emp-filter select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

  .emp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(288px,1fr));gap:12px}
  .ec{display:flex;flex-direction:column;gap:8px;padding:16px 17px;border-radius:13px;
    background:var(--surface);border:1px solid var(--line);text-decoration:none;color:inherit;
    transition:transform .16s ease,border-color .16s ease,background .16s ease}
  .ec:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 52%,transparent);
    background:var(--surface-2)}
  .ec-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
  .ec h3{font-size:14.5px;font-weight:800;letter-spacing:-0.015em;line-height:1.28}
  .ec-sub{font-size:11.5px;color:var(--faint);font-weight:600;line-height:1.4}
  .ec-ev{font-size:12px;line-height:1.55;color:var(--muted)}
  .ec-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:4px}
  .ec-go{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;
    color:var(--accent);margin-top:2px}
  .ec-go svg{transition:transform .15s ease}
  .ec:hover .ec-go svg{transform:translateX(3px)}
  /* Confidence is the workbook's own evidence rating, surfaced rather than
     hidden — "High" means the employer publishes the programme, "Low" means
     we inferred it and the user should expect to ask. */
  .conf{font-size:9.5px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;
    padding:3px 7px;border-radius:6px;white-space:nowrap;flex:0 0 auto}
  .conf.high{color:#34D399;background:rgba(52,211,153,0.1);border:1px solid rgba(52,211,153,0.3)}
  .conf.medium{color:#FBBF24;background:rgba(251,191,36,0.1);border:1px solid rgba(251,191,36,0.3)}
  .conf.low{color:var(--faint);background:rgba(255,255,255,0.04);border:1px solid var(--line)}
  .ec.scheme{border-color:color-mix(in srgb,var(--amber) 42%,transparent);
    background:linear-gradient(140deg,color-mix(in srgb,var(--amber) 10%,var(--surface)),var(--surface) 60%)}
  .ec-badge{font-size:9.5px;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;
    color:var(--amber);margin-bottom:-2px}
  /* A cadetship is a structured, dated way in — a cohort with an intake window
     rather than "apply when a vacancy appears". That makes it the most actionable
     thing on the card, so it sorts first and carries its own block: programme
     name, the intake line, how to apply. Dates go stale, so the verified date
     is printed rather than implied. */
  .ec.cadet{border-color:color-mix(in srgb,var(--accent) 45%,transparent);
    background:linear-gradient(140deg,color-mix(in srgb,var(--accent) 11%,var(--surface)),var(--surface) 62%)}
  .ec-badge.cad{color:var(--accent);display:flex;align-items:center;gap:6px}
  .ec-badge.cad::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent)}
  /* One line per programme: name, then the intake in the same breath. The
     card must stay the same size as its neighbours — the detail lives on the
     programme page it links to. */
  .cad-line{font-size:12px;line-height:1.5;color:var(--muted)}
  .cad-line b{color:var(--text);font-weight:800}
  .cad-line .when{color:var(--accent);font-weight:800}
  .cad-line .est{color:var(--faint)}
  /* the headline-fact tile that says cadetships exist for this role, in the
     same shape as the pay and duration tiles so it reads as a fact, not a promo */
  .fact.cad{cursor:pointer;font-family:inherit;color:inherit;text-align:left;
    border-color:color-mix(in srgb,var(--accent) 45%,transparent);
    background:color-mix(in srgb,var(--accent) 9%,var(--surface))}
  .fact.cad b{color:var(--accent)}
  .fact.cad:hover{background:color-mix(in srgb,var(--accent) 16%,var(--surface))}
  .emp-note{font-size:12px;color:var(--faint);line-height:1.6;margin-top:16px;max-width:760px}
  .emp-empty{padding:22px 20px;border-radius:13px;border:1px dashed var(--line);
    background:var(--surface);font-size:13.5px;line-height:1.65;color:var(--muted);max-width:640px}
  .emp-empty b{color:var(--text)}
  .emp-note a,.emp-empty a{color:var(--accent);font-weight:700;text-decoration:none}
  .emp-note a:hover,.emp-empty a:hover{text-decoration:underline}
  /* the entry column earns a jump link once we know we have employers to show */
  .hire-cue{display:inline-flex;align-items:center;gap:6px;margin-top:11px;padding:7px 11px;
    border-radius:9px;font-family:inherit;font-size:11.5px;font-weight:800;cursor:pointer;
    color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);
    border:1px solid color-mix(in srgb,var(--accent) 34%,transparent)}
  .hire-cue:hover{background:color-mix(in srgb,var(--accent) 20%,transparent)}

  @media(max-width:860px){
    .emp-head{grid-template-columns:1fr;align-items:start}
    .emp-filter select{width:100%}
  }



  /* ── the crawlable role index ───────────────────────────────────────────
     Written by tools/prerender_pathways.py and left in the DOM: the rails
     above are JS-built and wiped on every role change, so these are the only
     role links a crawler is guaranteed to see. Useful to people too — it is
     the whole map on one screen. */
  .pw-index{margin:30px 0 6px;padding-top:26px;border-top:1px solid var(--line)}
  .pw-index h2{font-size:15px;font-weight:800;letter-spacing:-0.015em;margin-bottom:16px;color:var(--muted)}
  .pw-index{display:block}
  .pw-index .pw-ind{display:inline-block;vertical-align:top;width:calc(20% - 13px);margin:0 10px 20px 0}
  .pw-index h3{font-size:11px;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;
    color:var(--faint);margin-bottom:8px}
  .pw-index ul{list-style:none}
  .pw-index li{margin-bottom:5px;line-height:1.4}
  .pw-index a{font-size:12.5px;color:var(--muted);text-decoration:none;font-weight:600}
  .pw-index a:hover{color:var(--amber)}
  .pw-index span{font-size:10.5px;color:var(--faint)}
  @media(max-width:1080px){ .pw-index .pw-ind{width:calc(25% - 13px)} }
  @media(max-width:860px){ .pw-index .pw-ind{width:calc(33.33% - 13px)} }
  @media(max-width:600px){ .pw-index .pw-ind{width:calc(50% - 10px)} }

  @media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} .ind,.role,.col-rail .dot{transition:none} .ec{transition:none} }

/* ── 2. role page ── */
  /* ── role page (new) ─────────────────────────────────────────────────── */

  .crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:22px 24px 0;font-size:12.5px;font-weight:600;color:var(--faint)}
  .crumbs a{color:var(--muted);text-decoration:none}
  .crumbs a:hover{color:var(--text)}
  .crumbs .wmk b{color:var(--accent);font-weight:700}
  .crumbs i{font-style:normal;opacity:.5}
  .crumbs span[aria-current]{color:var(--text)}

  .rp-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:40px;align-items:center;padding:26px 24px 34px}
  .rp-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;
    font-size:11px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--muted)}
  .rp-demand{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;
    color:var(--accent-ink,#0A0A0F);background:var(--accent);letter-spacing:0.1em;font-size:10.5px}
  .rp-demand::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
  .rp-hero h1{font-size:clamp(38px,5.4vw,66px);font-weight:900;letter-spacing:-0.035em;line-height:1;margin-bottom:16px}
  .rp-hero h1 .accent{color:var(--accent)}
  .rp-lede{font-size:16.5px;line-height:1.65;color:var(--muted);max-width:540px;margin-bottom:22px}
  .rp-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:22px;max-width:560px}
  .rp-facts .fact{min-width:0;padding:11px 13px}
  .rp-facts .fact b{font-size:clamp(18px,2.1vw,23px)}
  .rp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
  .like{position:relative;display:inline-flex;align-items:center;gap:9px;padding:13px 20px;border-radius:999px;cursor:pointer;
    font-family:inherit;font-size:14.5px;font-weight:700;color:#fff;background:rgba(255,255,255,0.06);
    border:1.5px solid rgba(255,255,255,0.22);transition:background .16s ease,border-color .16s ease,transform .16s ease}
  .like:hover{background:rgba(255,255,255,0.11);border-color:rgba(255,255,255,0.4)}
  .like:active{transform:scale(.97)}
  .like svg{width:18px;height:18px;fill:none;stroke:#EF4444;stroke-width:2;flex:none}
  .like.on{background:var(--amber);border-color:var(--amber);color:#0A0A0F}
  .like.on svg{fill:#0A0A0F;stroke:#0A0A0F}
  .like.pulse{animation:likePop .45s cubic-bezier(.2,.7,.3,1.4)}
  @keyframes likePop{0%{transform:scale(1)}32%{transform:scale(1.07)}100%{transform:scale(1)}}
  .rp-saved{font-size:13px;color:var(--muted);display:none}
  .rp-saved a{color:var(--amber);font-weight:700;text-decoration:none}
  .rp-saved.show{display:inline}

  /* video: a facade until tapped, same one-tap muted start as the role cards */
  .rp-media{min-width:0}
  .vid{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:var(--surface);
    border:1px solid var(--line);box-shadow:0 30px 70px -30px color-mix(in srgb,var(--accent) 55%,transparent)}
  .vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
  .vid-fac{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;cursor:pointer;background:none;font-family:inherit;color:#fff}
  .vid-fac img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .vid-fac::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,15,0) 45%,rgba(10,10,15,0.78))}
  .vid-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;width:74px;height:74px;border-radius:50%;
    display:grid;place-items:center;background:rgba(10,10,15,0.55);border:2px solid rgba(255,255,255,0.85);
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:transform .18s ease,background .18s ease}
  .vid-fac:hover .vid-play{transform:translate(-50%,-50%) scale(1.07);background:var(--accent)}
  .vid-cap{position:absolute;left:18px;bottom:15px;z-index:1;font-size:13px;font-weight:700;letter-spacing:-0.01em;text-align:left}
  .vid-cap small{display:block;font-size:10.5px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:rgba(255,255,255,0.7);margin-bottom:3px}
  .vid-none{position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;font-size:13.5px;color:var(--muted);
    background:linear-gradient(140deg,color-mix(in srgb,var(--accent) 22%,var(--surface)),var(--surface) 70%)}
  .vid-tabs{display:flex;gap:8px;margin-top:12px}
  .vid-tab{font-family:inherit;font-size:12.5px;font-weight:700;color:var(--muted);cursor:pointer;padding:8px 13px;border-radius:10px;
    background:var(--surface);border:1px solid var(--line)}
  .vid-tab[aria-pressed="true"]{color:var(--accent-ink,#0A0A0F);background:var(--accent);border-color:var(--accent)}

  /* in-page jump row: four answers, in the order people ask them */
  .jump{display:flex;gap:8px;padding:0 24px 30px;overflow-x:auto;scrollbar-width:none}
  .jump::-webkit-scrollbar{display:none}
  .jump a{flex:0 0 auto;font-size:13px;font-weight:700;color:var(--muted);text-decoration:none;padding:9px 14px;border-radius:10px;
    background:var(--surface);border:1px solid var(--line)}
  .jump a:hover{color:var(--text);border-color:rgba(255,255,255,0.28)}
  .jump a b{color:var(--accent);font-weight:900;margin-right:7px}

  .sec{padding:8px 24px 44px;scroll-margin-top:84px}
  .sec-eyebrow{font-size:11px;font-weight:800;letter-spacing:0.16em;text-transform:uppercase;color:var(--accent);
    margin-bottom:9px;display:flex;align-items:center;gap:9px}
  .sec-eyebrow::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--accent)}
  .sec h2,.tl h2{font-size:clamp(23px,3vw,34px);font-weight:900;letter-spacing:-0.028em;line-height:1.08;margin-bottom:18px}

  .job{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:34px;align-items:start}
  .job-body p{font-size:16px;line-height:1.75;color:rgba(255,255,255,0.8);max-width:640px}
  .job-sub{font-size:11px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--faint);margin:26px 0 11px}
  .skills{display:flex;flex-wrap:wrap;gap:8px}
  .skill{font-size:13px;font-weight:600;padding:8px 13px;border-radius:10px;background:var(--surface);border:1px solid var(--line)}
  .side{display:grid;gap:12px}
  /* below the pathway the notes run side by side, under the skills */
  .side.row{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start;margin-top:20px}
  .skills + .side.row{margin-top:22px}
  .note{padding:20px 21px;border-radius:15px;background:var(--surface);border:1px solid var(--line)}
  .note h3{font-size:11px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--accent);margin-bottom:9px}
  .note p{font-size:14px;line-height:1.65;color:var(--muted)}
  .note.tip{border-color:color-mix(in srgb,var(--amber) 40%,transparent);
    background:linear-gradient(140deg,color-mix(in srgb,var(--amber) 9%,var(--surface)),var(--surface) 62%)}
  .note.tip h3{color:var(--amber)}

  .tl{margin-bottom:44px}
  .tl h2{margin-bottom:0}

  /* same-industry siblings only: a short list keeps the next choice easy */
  .sibs{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
  .sib{display:grid;grid-template-columns:88px 1fr;gap:13px;align-items:center;padding:10px;border-radius:14px;text-decoration:none;
    background:var(--surface);border:1px solid var(--line);transition:transform .16s ease,border-color .16s ease}
  .sib:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 55%,transparent)}
  .sib-img{aspect-ratio:4/3;border-radius:9px;overflow:hidden;background:color-mix(in srgb,var(--accent) 22%,var(--surface-2))}
  .sib-img img{width:100%;height:100%;object-fit:cover;display:block}
  .sib b{display:block;font-size:14.5px;font-weight:800;letter-spacing:-0.015em;line-height:1.25;margin-bottom:4px}
  .sib span{font-size:12px;color:var(--faint);font-weight:600}
  .sib-all{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-size:14px;font-weight:800;color:var(--accent);text-decoration:none}
  .sib-all:hover{text-decoration:underline}

  .ec[hidden]{display:none}
  .mypw{margin-left:7px;display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;
    background:var(--amber);color:#0A0A0F;font-size:11px;font-weight:800;vertical-align:1px}
  footer{padding:26px 24px;text-align:center;font-size:12.5px;color:var(--faint);border-top:1px solid var(--line)}
  footer a{color:var(--muted);text-decoration:none}

  @media(max-width:900px){
    /* single column: the text block dissolves into the grid so the video can sit
       between the four numbers and the "I'm interested" button */
    .rp-hero{grid-template-columns:1fr;gap:0;padding-top:20px}
    .rp-text{display:contents}
    .rp-media{order:1;margin-bottom:20px}
    .rp-actions{order:2}
    .job{grid-template-columns:1fr;gap:24px}
  }
  @media(max-width:600px){
    .rp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
    .rp-lede{font-size:15px}
    .like{width:100%;justify-content:center}
    .sibs{grid-template-columns:1fr}
  }
  @media (prefers-reduced-motion:reduce){ .like,.sib,.vid-play{transition:none} .like.pulse{animation:none} }


/* ── 2b. readability pass (Simon, 2026-11-11) ──────────────────────────────────
   Part 1 was sized for the old /pathways/ tool, where the timeline and employer
   grid were dense reference panels. On a role page they are the page, and are
   read cold from a search result, often on a phone. Nothing a visitor reads is
   below 13px now; only uppercase labels stay smaller. Overrides sit here so
   part 1 stays a straight copy of what shipped. */
.emp-head p{font-size:15px;line-height:1.65}
.emp-filter label{font-size:12px}
.emp-filter select{font-size:14.5px}
.emp-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.ec{padding:18px 19px;gap:9px}
.ec h3{font-size:16.5px}
.ec-sub{font-size:13px;color:var(--muted)}
.ec-ev{font-size:14px;line-height:1.6}
.cad-line{font-size:14px}
.ec-badge{font-size:11px}
.conf{font-size:10.5px;padding:4px 8px}
.ec-go{font-size:14px}
.pill{font-size:12px;padding:5px 10px}
.emp-note,.tl-foot{font-size:13.5px;line-height:1.65;color:var(--muted)}
.emp-empty{font-size:15px}
.hire-cue{font-size:13.5px;padding:9px 14px}
.col-when{font-size:12px}
.col-when b{font-size:13.5px}
.col-kind{font-size:11px}
.col h3{font-size:17px}
.col p,.col li{font-size:14px;line-height:1.6}
.col li::before{top:8px}
.earn b{font-size:19px}
.earn span{font-size:13px;color:var(--muted)}
.tl-track{grid-auto-columns:minmax(250px,1fr)}
.fact span{font-size:11.5px}
.note p{font-size:15px}
.note h3,.sec-eyebrow,.tl-eyebrow,.emp-eyebrow{font-size:12px}
.skill{font-size:14px}
.sib b{font-size:15.5px}
.sib span{font-size:13px;color:var(--muted)}
.crumbs{font-size:13.5px}
.jump a{font-size:14px}
.rp-saved{font-size:14px}
@media(max-width:600px){ .tl-track{grid-auto-columns:minmax(236px,1fr)} }

/* the jobs a segment-level page stands for (water): names the visitor's own job */
.rp-covers{font-size:14px;line-height:1.6;color:var(--muted);max-width:560px;margin:-8px 0 22px}
.rp-covers b{display:block;font-size:11.5px;font-weight:800;letter-spacing:0.12em;text-transform:uppercase;color:var(--accent);margin-bottom:4px}

/* ── 3. opt-in overlay ── */
:root{--accent-soft:color-mix(in srgb,var(--accent) 70%,#fff);--amber-soft:#F8C977}
.join-backdrop{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(5,5,9,0.66);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  opacity:0;pointer-events:none;transition:opacity .2s ease}
.join-backdrop.open{opacity:1;pointer-events:auto}
.join-card{position:relative;width:100%;max-width:400px;transform:translateY(10px);transition:transform .22s ease}
.join-backdrop.open .join-card{transform:translateY(0)}
.join-card-in{background:var(--surface);border:1px solid rgba(255,255,255,0.1);border-radius:18px;
  padding:24px 22px 20px;box-shadow:0 24px 60px rgba(0,0,0,0.5);display:flex;flex-direction:column}
.join-x{position:absolute;top:-12px;right:-6px;width:34px;height:34px;border-radius:50%;background:var(--surface);
  border:1px solid rgba(255,255,255,0.14);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2}
.join-x svg{width:16px;height:16px}
.join-eyebrow{font-size:11.5px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--accent-soft);margin-bottom:6px}
.join-h{font-size:19px;line-height:1.25;margin:0 0 8px;color:#fff;font-weight:600}
.join-p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 16px}
.join-l{font-size:12.5px;font-weight:500;color:var(--muted);margin:0 0 5px;display:block}
.join-opt{color:var(--faint);font-weight:400}
.join-i{width:100%;padding:11px 13px;margin:0 0 13px;border-radius:11px;background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.16);color:#fff;font:inherit;font-size:15px}
.join-i:focus{outline:none;border-color:var(--amber);box-shadow:0 0 0 3px rgba(245,158,11,0.18)}
.join-i:-webkit-autofill{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 40px var(--surface-2) inset}
.join-go{width:100%;padding:13px;border:none;border-radius:11px;background:var(--amber);color:#0A0A0F;
  font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:filter .15s ease,transform .08s ease}
.join-go:hover{filter:brightness(1.06)}
.join-go:active{transform:scale(.99)}
.join-go:disabled{opacity:.7;cursor:default}
.join-alt{display:block;text-align:center;margin:12px 0 2px;font-size:14px;color:var(--accent-soft);text-decoration:none}
.join-alt:hover{text-decoration:underline}
.join-fine{font-size:11.5px;line-height:1.45;color:var(--faint);margin:12px 0 0}
.join-msg{font-size:13px;color:var(--amber-soft);min-height:1.1em;margin-top:8px;text-align:center}
@media(prefers-reduced-motion:reduce){.join-backdrop,.join-card,.rc-like{transition:none}}
