/* Mainstay homepage, variant B "follow one job" (2026-11-21).
   Loads last. Opens light for everyone; html[data-theme="dark"] is the remembered opt-in.
   Owner has migraines: no pure white, no pure black, no glare. Owner is colourblind: state is never colour alone.
   Every class this file adds starts with hb-. The kept sections (#newest-work, #examples, the reader) keep their own
   classes and get only new tokens here, so they read right in both themes. */

@font-face{font-family:"Outfit";src:url("../fonts/Outfit-Variable-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Outfit";src:url("../fonts/Outfit-Variable-latin-ext.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------- Type: one modern sans everywhere, no serif ---------- */
:root{
  --sans:"Outfit",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --display:var(--sans);--kt-font:var(--sans);
  --ms-text:var(--sans);--ms-display:var(--sans);
  --hb-head-h:90px;--hb-bar-h:73px;
}
@media (max-width:699px){:root{--hb-head-h:69px;--hb-bar-h:65px}}
h1,h2,h3{font-family:var(--sans);font-weight:700;letter-spacing:-.01em}
.sf,.foot .foot-line,.step-btn span{font-family:var(--sans);font-style:normal}
.foot .foot-line{font-weight:600}

/* ---------- Palettes ---------- */
html[data-theme="light"]{
  --hb-bg:#F4F3F0;--hb-card:#FBFAF7;--hb-band:#EAE8E2;
  --hb-ink:#232422;--hb-ink2:#3A3B37;--hb-muted:#5E5F59;
  --hb-line:#DEDCD6;--hb-line2:#CFCCC4;
  --hb-accent:#8A4E32;--hb-btn:#8A4E32;--hb-on-btn:#FBFAF7;
  --hb-route-bg:#232422;--hb-route-ink:#EFEEEA;--hb-route-muted:#BDBCB5;--hb-route-dash:#8E8D87;--hb-route-edge:#232422;--hb-route-focus:#E2B596;
  --hb-on:#232422;--hb-on-ink:#F4F3F0;
  color-scheme:light;
}
html[data-theme="dark"]{
  --hb-bg:#1C1D1B;--hb-card:#252623;--hb-band:#222320;
  --hb-ink:#ECEAE4;--hb-ink2:#D6D4CD;--hb-muted:#B3B1A9;
  --hb-line:#363733;--hb-line2:#4D4E48;
  --hb-accent:#DCA17D;--hb-btn:#DCA17D;--hb-on-btn:#1C1D1B;
  --hb-route-bg:#141513;--hb-route-ink:#ECEAE4;--hb-route-muted:#B3B1A9;--hb-route-dash:#77766F;--hb-route-edge:#3A3B37;--hb-route-focus:#E2B596;
  --hb-on:#ECEAE4;--hb-on-ink:#1C1D1B;
  color-scheme:dark;
}
/* The tokens styles.css and kinetic.css already read, so the kept sections follow the theme.
   :not(#hb-x) lifts these above kinetic.css's html[data-theme="light"] .look-dark:not(.hero) rules. */
html[data-theme="light"],
html[data-theme="light"] :is(.look-paper,.look-dark,.look-night,.reader,.foot):not(#hb-x){
  --bg:#F4F3F0;--well:#EAE8E2;--raise:#FBFAF7;--text:#232422;--muted:#55564F;--line:#CFCCC4;
  --accent:#8A4E32;--accent-strong:#8A4E32;--accent-ink:#FBFAF7;--paper:#232422;--paper-ink:#F4F3F0;color-scheme:light;
}
html[data-theme="dark"],
html[data-theme="dark"] :is(.look-paper,.look-dark,.look-night,.foot):not(#hb-x){
  --bg:#1C1D1B;--well:#171816;--raise:#252623;--text:#ECEAE4;--muted:#B3B1A9;--line:#45463F;
  --accent:#DCA17D;--accent-strong:#DCA17D;--accent-ink:#1C1D1B;--paper:#ECEAE4;--paper-ink:#232422;color-scheme:dark;
}
html[data-theme="light"] .reader[data-look]:not(#hb-x){--bg:#F4F3F0;--well:#EAE8E2;--raise:#FBFAF7;--text:#232422;--muted:#55564F;--line:#CFCCC4;--accent:#8A4E32;--accent-strong:#8A4E32;--accent-ink:#FBFAF7}
/* #newest-work hard-codes its paper inks; give it each theme's inks. */
html[data-theme="light"] .newwork{--nw-ink:#232422;--nw-muted:#55564F;--nw-copper:#8A4E32;--nw-copper-sm:#8A4E32;--nw-stage-light:#EAE8E2;--nw-stage-dark:#232422}
html[data-theme="dark"] .newwork{--nw-ink:#ECEAE4;--nw-muted:#B3B1A9;--nw-copper:#DCA17D;--nw-copper-sm:#DCA17D;--nw-stage-light:#2A2B28;--nw-stage-dark:#121311}
html[data-theme="dark"] .newwork .tag.solid{color:var(--nw-ink)}

html,body.hb,html[data-theme] body{background:var(--hb-bg)}
body.hb{color:var(--hb-ink);font-family:var(--sans)}
html{scroll-padding-top:calc(var(--hb-head-h) + var(--hb-bar-h) + 16px)}
body.hb :focus-visible{outline:3px solid var(--hb-accent);outline-offset:3px;border-radius:6px}
.skip{background:var(--hb-btn);color:var(--hb-on-btn)}

/* ---------- Buttons ---------- */
.hb-btn,.hb-btn2{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 24px;border-radius:999px;font:600 17px/1.15 var(--sans);text-decoration:none;text-align:center;transition:background-color .2s,color .2s,border-color .2s}
.hb-btn{background:var(--hb-btn);color:var(--hb-on-btn);border:1.5px solid var(--hb-btn)}
.hb-btn2{background:transparent;color:var(--hb-ink);border:1.5px solid var(--hb-ink)}
@media (hover:hover){
  .hb-btn:hover{background:transparent;color:var(--hb-ink);border-color:var(--hb-btn)}
  .hb-btn2:hover{background:var(--hb-ink);color:var(--hb-bg)}
}
.hb-btn-sm{min-height:44px;padding:0 20px;font-size:15px}
.hb-actions{display:flex;flex-wrap:wrap;gap:14px}

/* ---------- Header ---------- */
.hb-head{position:sticky;top:0;z-index:50;background:var(--hb-bg);border-bottom:1px solid var(--hb-line)}
.hb-head-in{display:flex;align-items:center;gap:24px;width:min(100% - 2*var(--gutter),var(--max));margin-inline:auto;padding:18px 0}
.hb-brand{display:flex;align-items:center;flex:none;min-height:44px;margin-right:auto;border-radius:6px}
.hb-logo{width:134px;height:auto;aspect-ratio:3975/1602}
.hb-logo-on-dark{display:none}
html[data-theme="dark"] .hb-logo-on-light{display:none}
html[data-theme="dark"] .hb-logo-on-dark{display:block}
.hb-nav{display:flex;align-items:center;gap:6px}
.hb-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 11px;color:var(--hb-ink);text-decoration:none;font:500 16px/1 var(--sans);border-radius:6px}
.hb-nav a:hover{text-decoration:underline;text-underline-offset:.3em}
.hb-tools{display:flex;align-items:center;gap:12px;flex:none}
.hb-tog{display:inline-flex;align-items:center;gap:9px;min-height:44px;min-width:44px;padding:0 14px;border-radius:8px;border:1.5px solid var(--hb-ink);background:transparent;color:var(--hb-ink);font:600 14px/1 var(--sans)}
.hb-tog:hover{background:var(--hb-card)}
/* The switch shows the state by its knob's side and fill, not by colour. */
.hb-sw{position:relative;width:26px;height:15px;border:1.5px solid currentColor;border-radius:99px;flex:none}
.hb-sw::after{content:"";position:absolute;top:2px;left:2px;width:8px;height:8px;border-radius:50%;border:1.5px solid currentColor;box-sizing:border-box;transition:left .2s}
.hb-theme[aria-pressed="true"] .hb-sw::after{left:13px;background:currentColor}
.hb-menu-btn{display:none}

@media (max-width:999px){
  .hb-head-in{gap:12px;padding:12px 0}
  .hb-menu-btn{display:inline-flex}
  html.js .hb-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gutter) 16px;background:var(--hb-card);border-bottom:1px solid var(--hb-line2);box-shadow:0 18px 30px -24px rgb(0 0 0 / .35)}
  html.js .hb-head[data-menu="open"] .hb-nav{display:flex}
  html.js .hb-nav a{min-height:52px;font-size:18px;padding:0 4px;border-bottom:1px solid var(--hb-line)}
  html.js .hb-nav a:last-child{border-bottom:0}
  html:not(.js) .hb-head-in{flex-wrap:wrap}
  html:not(.js) .hb-nav{order:3;width:100%;flex-wrap:wrap}
}
@media (max-width:699px){
  .hb-logo{width:109px}
  .hb-head-in{padding:12px 0}
  .hb-tools{gap:8px}
  .hb-tog{padding:0 12px}
  .hb-head-book{display:none}
}

/* ---------- Hero ---------- */
.hb-hero{padding:72px 0 80px}
.hb-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-template-areas:"top route" "bottom route";column-gap:72px;row-gap:24px;align-items:center}
.hb-hero-top{grid-area:top;align-self:end;display:flex;flex-direction:column;gap:24px}
.hb-hero-bottom{grid-area:bottom;align-self:start;display:flex;flex-direction:column;gap:32px}
.hb-route{grid-area:route}
.hb-eyebrow{font:600 15px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--hb-accent);margin:0}
.hb-hero h1{margin:0;font:700 64px/1.05 var(--sans);letter-spacing:-.015em;color:var(--hb-ink);text-wrap:balance}
.hb-sub{font:400 23px/1.4 var(--sans);color:var(--hb-ink2);margin:0}
.hb-intro{font:400 18px/1.6 var(--sans);color:var(--hb-ink2);max-width:640px;margin:0}
.hb-hero .hb-actions{margin-top:0}

.hb-route{background:var(--hb-route-bg);color:var(--hb-route-ink);border:1px solid var(--hb-route-edge);border-radius:18px;padding:32px 34px}
.hb-route-k{font:700 13px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--hb-route-muted);margin:0 0 22px}
.hb-route-list{list-style:none;margin:0;padding:0}
.hb-route-list li{position:relative;padding-bottom:26px}
.hb-route-list li:last-child{padding-bottom:0}
.hb-route-list li:not(:last-child)::before{content:"";position:absolute;left:17px;top:36px;bottom:0;border-left:2.5px dashed var(--hb-route-dash)}
.hb-route-list a{display:flex;gap:18px;align-items:flex-start;color:inherit;text-decoration:none;border-radius:8px}
.hb-route-list a:focus-visible{outline-color:var(--hb-route-focus)}
.hb-route-list a:hover b{text-decoration:underline;text-underline-offset:.25em}
.hb-dot{position:relative;z-index:1;flex:none;width:36px;height:36px;border-radius:50%;border:2.5px solid var(--hb-route-ink);background:var(--hb-route-bg);display:flex;align-items:center;justify-content:center;font:700 15px/1 var(--sans)}
.hb-route-t{display:flex;flex-direction:column;padding-top:2px}
.hb-route-t b{font:600 20px/1.3 var(--sans)}
.hb-route-t span{font:400 15px/1.4 var(--sans);color:var(--hb-route-muted)}

/* ---------- Journey: stage bar and the ten stops ---------- */
.hb-journey{position:relative}
.hb-stagebar{position:sticky;top:var(--hb-head-h);z-index:40;background:var(--hb-bg);border-top:1px solid var(--hb-line);border-bottom:1px solid var(--hb-line)}
.hb-stagebar-in{display:flex;gap:8px;padding:14px 0;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.hb-stagebar-in::-webkit-scrollbar{display:none}
.hb-stagebar a{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid var(--hb-line2);color:var(--hb-ink);text-decoration:none;font:600 15px/1 var(--sans);white-space:nowrap}
.hb-stagebar a:hover{border-color:var(--hb-ink)}
.hb-stagebar a[aria-current="true"]{background:var(--hb-on);border-color:var(--hb-on);color:var(--hb-on-ink)}
.hb-stagebar a:focus-visible{outline-offset:2px}
.hb-sn{font-weight:700}

.hb-stage{display:grid;grid-template-columns:280px minmax(0,1fr);gap:48px;padding:56px 0 8px}
.hb-stage-lab{align-self:start}
.hb-k{font:700 14px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--hb-muted);margin:0}
.hb-stage-lab h2{margin:8px 0 0;font:700 32px/1.1 var(--sans);color:var(--hb-ink);text-wrap:balance}
.hb-stops{list-style:none;margin:0;padding:0}
.hb-stop{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);gap:24px;padding-bottom:40px}
.hb-stop:not(.hb-last)::before{content:"";position:absolute;left:23px;top:48px;bottom:0;border-left:3px solid var(--hb-ink)}
.hb-stop.hb-last{padding-bottom:0}
.hb-node{position:relative;z-index:1;width:48px;height:48px;border-radius:50%;border:3px solid var(--hb-ink);background:var(--hb-card);color:var(--hb-ink);display:flex;align-items:center;justify-content:center;font:700 18px/1 var(--sans);box-sizing:border-box}
.hb-stop h3{margin:6px 0 16px;font:600 26px/1.25 var(--sans);letter-spacing:-.005em;color:var(--hb-ink);text-wrap:balance}
.hb-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.hb-scene{background:var(--hb-card);border:1px solid var(--hb-line);border-radius:14px;padding:20px 22px;font:400 18px/1.5 var(--sans);color:var(--hb-ink);margin:0}
.hb-scene-k{display:block;margin-bottom:6px;font:700 13px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--hb-muted)}
.hb-do p{font:400 17px/1.55 var(--sans);color:var(--hb-ink2);margin:0 0 14px}
.hb-do b{color:var(--hb-ink);font-weight:700}
.hb-gains{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hb-gain{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1.5px solid var(--hb-ink);background:var(--hb-card);color:var(--hb-ink);font:700 13.5px/1.3 var(--sans);white-space:nowrap}
.hb-gain svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hb-more{display:none}
.hb-note{font:400 15px/1.5 var(--sans);color:var(--hb-muted);margin:0;padding:48px 0 56px}

/* ---------- How we work ---------- */
.hb-how{background:var(--hb-band);border-top:1px solid var(--hb-line);border-bottom:1px solid var(--hb-line);padding:72px 0}
.hb-how .wrap{display:flex;flex-direction:column;gap:32px}
.hb-how h2,.hb-work h2{margin:0;font:700 40px/1.15 var(--sans);color:var(--hb-ink)}
.hb-steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:40px}
.hb-steps li{flex:1;min-width:240px;display:flex;flex-direction:column;gap:10px}
.hb-step-n{font:700 15px/1.3 var(--sans);color:var(--hb-muted)}
.hb-steps p{font:400 19px/1.45 var(--sans);color:var(--hb-ink);margin:0}
.hb-close{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid var(--hb-line2);padding-top:28px}
.hb-close p{font:400 20px/1.4 var(--sans);color:var(--hb-ink);max-width:640px;margin:0}

/* ---------- Our work: heading, then the live #newest-work and #examples ---------- */
.hb-work{padding:64px 0 0}
.hb-work h2{font-size:clamp(30px,3vw,40px)}
.hb .newwork.block{padding-top:clamp(36px,4vw,56px);padding-bottom:clamp(40px,5vw,64px)}
.hb .newwork .nw-close{margin-top:clamp(36px,4vw,56px)}
.hb .examples.block{padding-top:clamp(56px,7vw,96px)}
/* The kept headings were sized for a dark showpiece page; set them in the calmer scale of this page. */
.hb .newwork .nw-title{font-size:clamp(40px,6vw,84px)}
.hb .newwork .nw-title .nw-bleed{margin-left:0}
.hb .examples .block-head h2.kt-xl{font-size:clamp(36px,5.2vw,72px);line-height:.98}
.hb .kt{letter-spacing:-.03em}
/* Outfit runs wider-set than the old heavy face: ease the tight tracking the kept headings were tuned for. */
.hb .case h2{letter-spacing:-.015em;line-height:.98}
.hb .newwork .nw-meta h3{letter-spacing:-.02em}
.hb .row-title,.hb .row-group-h{letter-spacing:-.015em}
.hb .examples .row-peek{box-shadow:0 30px 60px -30px rgb(0 0 0 / .55),0 0 0 1px color-mix(in srgb,var(--text) 14%,transparent)}
html[data-theme="light"] .hb .examples .row-peek{box-shadow:0 30px 60px -34px rgb(35 36 34 / .45),0 0 0 1px rgb(35 36 34 / .12)}

/* ---------- Footer ---------- */
.hb-foot{background:var(--hb-bg);border-top:1px solid var(--hb-line)}
.hb-foot .foot-brand{display:inline-flex;min-height:44px;align-items:center}
.hb-foot .hb-logo{width:124px}
html[data-theme="light"] .hb-foot .foot-brand img{filter:none}

/* ---------- Tablet ---------- */
@media (max-width:1099px){
  .hb-hero h1{font-size:54px}
  .hb-hero-grid{column-gap:48px}
  .hb-stage{grid-template-columns:200px minmax(0,1fr);gap:32px}
  .hb-stage-lab h2{font-size:28px}
}
@media (max-width:899px){
  .hb-hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "route" "bottom";row-gap:28px}
  .hb-hero h1{max-width:18ch}
  .hb-stage{grid-template-columns:minmax(0,1fr);gap:20px;padding-top:44px}
  .hb-pair{grid-template-columns:minmax(0,1fr);gap:14px}
}

/* ---------- Phone (390 px design) ---------- */
@media (max-width:699px){
  .hb-hero{padding:32px 0 36px}
  .hb-hero-grid{row-gap:18px}
  .hb-hero-top{gap:18px}
  .hb-hero-bottom{gap:18px}
  .hb-eyebrow{font-size:13px}
  .hb-hero h1{font-size:36px;line-height:1.08;letter-spacing:-.01em}
  .hb-sub{font-size:18px;line-height:1.45}
  .hb-intro{font-size:16.5px}
  .hb-hero .hb-actions{flex-direction:column;gap:10px}
  .hb-btn,.hb-btn2{min-height:52px;padding:0 22px;width:100%}
  .hb-route{border-radius:14px;padding:20px}
  .hb-route-k{display:none}
  .hb-route-list li{padding-bottom:2px}
  .hb-route-list li:not(:last-child)::before{left:14px;top:37px;bottom:-5px;border-left-width:2px}
  .hb-route-list a{gap:14px;align-items:center;min-height:44px}
  .hb-dot{width:30px;height:30px;border-width:2px;font-size:13px}
  .hb-route-t{padding-top:0}
  .hb-route-t b{font-size:16px}
  .hb-route-t span{display:none}

  .hb-stagebar-in{width:100%;padding:10px var(--gutter);gap:8px;scroll-padding-inline:var(--gutter)}
  .hb-stagebar a{padding:0 14px;font-size:14px}

  .hb-stage{padding:28px 0 4px;gap:18px}
  .hb-k{font-size:12.5px}
  .hb-stage-lab h2{margin-top:4px;font-size:26px}
  .hb-stop{grid-template-columns:36px minmax(0,1fr);gap:14px;padding-bottom:28px}
  .hb-stop:not(.hb-last)::before{left:17px;top:36px;border-left-width:2.5px}
  .hb-node{width:36px;height:36px;border-width:2.5px;font-size:15px}
  .hb-stop h3{margin:4px 0 10px;font-size:19px;line-height:1.3}
  .hb-pair{gap:10px}
  .hb-scene{border-radius:12px;padding:14px 16px;font-size:16px}
  .hb-scene-k{font-size:11.5px;margin-bottom:4px}
  .hb-do p{font-size:15.5px;margin-bottom:10px}
  .hb-stop[data-open="false"] .hb-do{display:none}
  .hb-gains{gap:8px 10px}
  .hb-gain{font-size:13px;padding:4px 10px}
  .hb-gain svg{width:15px;height:15px}
  html.js .hb-more{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;background:none;border:0;border-radius:6px;font:600 15px/1 var(--sans);color:var(--hb-accent);text-decoration:underline;text-underline-offset:3px}
  .hb-note{font-size:14px;padding:12px 0 32px}

  .hb-how{padding:40px 0}
  .hb-how .wrap{gap:18px}
  .hb-how h2{font-size:28px}
  .hb-steps{flex-direction:column;gap:18px}
  .hb-steps li{flex-direction:row;gap:14px;min-width:0}
  .hb-step-n{flex:none;width:30px;height:30px;border-radius:50%;border:2px solid var(--hb-ink);display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--hb-ink)}
  .hb-steps p{font-size:17px}
  .hb-close{flex-direction:column;align-items:stretch;gap:18px;padding-top:18px}
  .hb-close p{font-size:17px;line-height:1.45}
  .hb-close .hb-actions{flex-direction:column;gap:10px}

  .hb-work{padding-top:36px}
  .hb-work h2{font-size:26px}
}

@media (prefers-reduced-motion:reduce){
  .hb-sw::after{transition:none}
  .hb-btn,.hb-btn2{transition:none}
}
@media print{
  .hb-head,.hb-stagebar,.hb-more{display:none!important}
  .hb-stop .hb-do{display:block!important}
}
@media (forced-colors:active){
  .hb-stagebar a[aria-current="true"]{border:3px solid Highlight}
  .hb-theme[aria-pressed="true"] .hb-sw::after{background:CanvasText}
}
