/* Direction B "Up on the lift": the site-wide design system (picked 2026-11-24).
   Loaded after site.css (which keeps the tap-target and structural rules) and overrides its look. */
@font-face{font-family:"League Gothic";src:url(/assets/fonts/LeagueGothic-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Work Sans";src:url(/assets/fonts/WorkSans-400-normal.woff2) format("woff2");font-weight:300 700;font-display:swap}
:root{--paper:#ece7de;--card:#f7f4ee;--ink:#17191c;--muted:#4f555b;--steel:#1b1f23;--orange:#a8360a;--orange-d:#8f2e08;--line:#cfc8bb;--stripe:#f2b705;--wall:#cfc9bf;--display:"League Gothic","Arial Narrow",sans-serif;--ease:cubic-bezier(.2,.8,.2,1)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--paper:#ece7de;--card:#f7f4ee;--ink:#17191c;--muted:#4f555b;--steel:#1b1f23;--orange:#a8360a;--orange-d:#8f2e08;--line:#cfc8bb}}
body{background:var(--paper);color:var(--ink);font:400 17px/1.62 "Work Sans",system-ui,sans-serif}
a{color:var(--orange-d)}
a:hover{color:var(--ink)}
h1,h2,.cta-h{font-family:var(--display);font-weight:400;text-transform:uppercase;letter-spacing:.006em}
h1{font-size:clamp(46px,6.2vw,92px);line-height:.9;margin:0 0 16px;max-width:18ch}
h2{font-size:clamp(34px,3.6vw,52px);line-height:.95;margin:52px 0 14px}
h3{font-size:19px;font-weight:600;margin:26px 0 6px}
.kicker{font:600 12px/1.3 "Work Sans",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--orange-d);margin:0 0 14px}

/* header: a concrete-coloured bar, ink type, graphite button */
.top{background:rgba(236,231,222,.94);backdrop-filter:saturate(1.2) blur(6px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.bar{padding-top:8px;padding-bottom:8px}
.nav a{color:var(--ink);font:500 15px/1 "Work Sans",sans-serif}
.nav a:hover{color:var(--orange-d);text-decoration:underline;text-underline-offset:6px}
.brand img{filter:none}
.btn{background:var(--steel);border-color:var(--steel);color:#f6f2ea !important;border-radius:2px;font:600 15px/1.2 "Work Sans",sans-serif;transition:transform .35s var(--ease),background-color .35s var(--ease)}
.btn:hover{background:#000;border-color:#000;transform:translateY(-2px)}
.btn.small{background:var(--steel);border-color:var(--steel);color:#f6f2ea !important}
.btn.small:hover{background:#000;border-color:#000}
.btn.ghost{background:transparent;color:var(--ink) !important;border-color:var(--ink)}
.btn.ghost:hover{background:var(--ink);color:var(--paper) !important}
.btn.yellow,.cta .btn,.story .btn.yellow{background:var(--stripe);border-color:var(--stripe);color:#15181b !important}

/* subpage hero band: the same bay, the same car, the same tag */
.hero{position:relative;overflow:hidden;background:var(--wall);border-bottom:0;padding:0;min-height:clamp(360px,52vh,520px);display:flex;align-items:flex-end}
.hero .plate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 46%;filter:saturate(.9)}
.hero .scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(231,226,216,.95) 0%,rgba(231,226,216,.86) 42%,rgba(231,226,216,.2) 70%,rgba(231,226,216,0) 100%)}
.hero .hcar{position:absolute;right:-4%;width:min(58vw,760px);bottom:9%;will-change:transform;filter:drop-shadow(0 16px 20px rgba(20,16,12,.28))}
.hero .hcar img{width:100%;height:auto;display:block}
.hero .wrap{position:relative;z-index:2;padding-top:34px;padding-bottom:34px;width:100%}
.hero .answer{font-size:18px;max-width:40em}
.hero h1{max-width:16ch}
.crumbs{color:var(--muted)}

/* the status tag: our mark (a key tag), hung on the car's mirror; it always names the stage */
.tag{position:absolute;left:41.4%;top:20%;display:flex;flex-direction:column;align-items:flex-start;transform-origin:8px 0;animation:tagsway 4.6s ease-in-out infinite;pointer-events:none}
.tag i{display:block;width:1px;height:12px;background:#2b2b2b;margin-left:8px}
.tag b{display:block;background:var(--stripe);color:#15181b;font:700 11px/1 "Work Sans",sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:7px 9px 6px;border-radius:6px;white-space:nowrap;box-shadow:0 4px 10px rgba(0,0,0,.2);transition:background-color .4s var(--ease)}
.tag b::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#15181b;margin-right:6px;vertical-align:1px}
.tag.alert b{background:#e8743b;color:#1a0d05}
@keyframes tagsway{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}

/* home: the job on the lift */
.story{position:relative;height:620vh}
.story .stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:var(--wall)}
.story .stage::before{content:"";position:absolute;inset:-4%;background:url(/assets/img/bay.webp) center 12%/cover;filter:blur(22px)}
.story .frame{position:absolute;left:50%;bottom:0;width:100vw;aspect-ratio:1344/752;transform:translate3d(-50%,0,0)}
.story .frame.front{z-index:4;pointer-events:none}
.story .bay{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story .car{position:absolute;left:15.25%;top:34.1%;width:70.09%;will-change:transform;filter:drop-shadow(0 18px 22px rgba(20,16,12,.28))}
.story .car img{width:100%;height:auto;display:block}
.story .shadow{position:absolute;left:17%;width:66%;top:81.5%;height:5%;border-radius:50%;background:radial-gradient(closest-side,rgba(18,14,10,.55),rgba(18,14,10,0))}
.story .scrim{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(226,221,211,.9) 0%,rgba(226,221,211,.55) 32%,rgba(226,221,211,0) 48%)}
.story .intro{position:absolute;z-index:3;left:clamp(16px,5.2vw,84px);right:clamp(16px,5.2vw,84px);top:clamp(84px,11vh,120px)}
.story h1{font-size:clamp(46px,5.2vw,92px);max-width:36ch;margin:0}
.story .lede{max-width:52ch;margin:14px 0 0;font-size:clamp(15px,1.15vw,18px)}
.story .row{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:16px}
.story .row .btn{margin:0}
.story .under{position:absolute;inset:0;z-index:5;clip-path:inset(0 0 100% 0);background:#0f1112}
.story .under img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 40%}
.story .under::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,11,12,.88) 0%,rgba(10,11,12,.55) 40%,rgba(10,11,12,0) 68%)}
.story .light{position:absolute;z-index:1;left:52%;top:18%;width:40%;height:60%;pointer-events:none;background:radial-gradient(closest-side,rgba(255,214,150,.38),rgba(255,214,150,0));mix-blend-mode:screen;animation:worklight 3.2s ease-in-out infinite alternate}
@keyframes worklight{from{opacity:.5}to{opacity:1}}
.story .beats{list-style:none;margin:0;padding:0;position:absolute;z-index:6;left:clamp(16px,5.2vw,84px);bottom:clamp(84px,13vh,140px);width:min(560px,86vw)}
.story .beat{position:absolute;left:0;bottom:0;opacity:0;transform:translate3d(0,18px,0)}
.story .beat .st{font:600 12px/1 "Work Sans",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--orange-d);margin:0 0 10px}
.story .beat h2{margin:0 0 10px;font-size:clamp(40px,4.6vw,76px);line-height:.9}
.story .beat p{margin:0;max-width:44ch;font-size:17px}
.story .beat.dark{color:#f1ede4}.story .beat.dark .st{color:var(--stripe)}
.story .rail{position:absolute;z-index:7;left:clamp(16px,5.2vw,84px);right:clamp(16px,5.2vw,84px);bottom:clamp(20px,4vh,40px);display:grid;grid-template-columns:repeat(5,1fr);gap:8px;list-style:none;margin:0;padding:0;opacity:0}
.story .rail li{font:600 11px/1.2 "Work Sans",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#5f646a;padding-top:10px;border-top:3px solid rgba(23,25,28,.18);transition:color .3s,border-color .3s}
.story .rail li.on{color:var(--ink);border-top-color:var(--stripe)}
.story .rail.dark li{color:#9aa0a6;border-top-color:rgba(255,255,255,.2)}.story .rail.dark li.on{color:#f1ede4;border-top-color:var(--stripe)}
.answerband{background:var(--steel);color:#e9e4da}
.answerband .wrap{padding-top:40px;padding-bottom:40px}
.answerband p{font-size:clamp(17px,1.4vw,20px);max-width:52em;margin:0}
.answerband a{color:var(--stripe)}

/* content components */
.content{padding-top:10px}
article{max-width:780px}
table{background:var(--card)}
th{background:var(--steel);color:#f6f2ea;font-weight:600}
th,td{border-color:var(--line)}
.cta{background:var(--steel);border-left:0;border-top:4px solid var(--stripe);border-radius:2px;padding:26px 28px}
.cta-h{font-size:clamp(30px,2.8vw,40px);line-height:.95;color:#f6f2ea}
.card{background:var(--card);border:1px solid var(--line);border-top:4px solid var(--steel);border-radius:2px;transition:transform .35s var(--ease),border-color .35s var(--ease)}
.card:hover{transform:translateY(-3px);border-top-color:var(--stripe);box-shadow:0 10px 24px -14px rgba(0,0,0,.35)}
.card strong{font-family:var(--display);font-weight:400;text-transform:uppercase;font-size:26px;line-height:1;letter-spacing:.01em}
.note{background:#f6edcf;border-left-color:var(--stripe);border-radius:2px}
.faq details,details.more{background:var(--card);border-color:var(--line);border-radius:2px}
.resource{background:var(--card);border:0;border-top:4px solid var(--stripe);border-radius:2px;padding:10px 24px 22px}
.mail input[type=email],.mail input[type=text],.mail textarea{border:2px solid var(--steel);border-radius:2px}
.mail button{background:var(--steel);border-radius:2px;font-weight:600}
.mail button:hover{background:#000}
.steps li::before{border-radius:2px;background:var(--stripe);font-family:var(--display);font-weight:400;font-size:20px}
.flow li{border-left-color:var(--stripe);border-radius:2px;background:var(--card)}
.flow b{color:var(--orange-d);text-transform:uppercase;letter-spacing:.08em;font-size:13px}
.example{border:1px solid var(--line);border-top:4px solid var(--steel);border-radius:2px;background:var(--card)}
.example .lab{border-radius:2px}
.sms .out{background:var(--steel)}
.foot{background:#15181b;color:#cfc9bf;margin-top:40px}
.foot a{color:var(--stripe)}
.foot strong{font-family:var(--display);font-weight:400;text-transform:uppercase;font-size:24px;letter-spacing:.02em;color:#f1ede4}

@media (max-width:820px){
  .story{height:640vh}
  .story .frame{width:165vw}
  .story .intro{top:86px}
  .story h1{font-size:clamp(40px,11.4vw,56px);max-width:12ch}
  .story .lede{font-size:15px}
  .story .scrim{background:linear-gradient(180deg,rgba(226,221,211,.92) 0%,rgba(226,221,211,.6) 46%,rgba(226,221,211,0) 62%)}
  .story .beats{bottom:96px;width:auto;right:16px}
  .story .beat h2{font-size:clamp(34px,9.6vw,46px)}
  .story .beat p{font-size:15px}
  .story .rail{grid-template-columns:repeat(5,1fr);gap:4px}
  .story .rail li{font-size:9px;letter-spacing:.04em}
  .story .under::after{background:linear-gradient(0deg,rgba(10,11,12,.92) 0%,rgba(10,11,12,.6) 50%,rgba(10,11,12,.1) 80%)}
  .hero{min-height:420px}
  .hero .hcar{width:96vw;right:-24vw;bottom:4%}
  .hero .scrim{background:linear-gradient(180deg,rgba(231,226,216,.95) 0%,rgba(231,226,216,.88) 60%,rgba(231,226,216,.3) 100%)}
  .tag b{font-size:9px;padding:5px 7px 4px}
}
@media (prefers-reduced-motion:reduce){
  .story{height:auto}
  .story .stage{position:relative;height:auto;overflow:visible}
  .story .stage::before,.story .scrim,.story .shadow,.story .light{display:none}
  .story .frame.back{position:relative;left:0;transform:none}
  .story .frame.front{position:absolute;left:0;top:0;transform:none}
  .story .intro,.story .beats{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;padding:24px clamp(16px,5.2vw,84px)}
  .story .beat{position:relative;opacity:1;transform:none;margin:0 0 26px}
  .story .beat.dark{color:var(--ink)}.story .beat.dark .st{color:var(--orange-d)}
  .story .under{display:none}
  .story .rail{display:none}
  .tag{animation:none}
}

/* ---------- round 2 fixes (site render r1) ---------- */
/* solid header, never see-through */
.top{background:#ece7de;backdrop-filter:none}
/* every beat sits up top, clear of the car on the floor */
.story .beats{top:clamp(92px,13vh,140px);bottom:auto}
.story .beat{top:0;bottom:auto}
@media (max-width:640px){.story .intro{top:118px}.story .beats{top:122px}}
/* subpage hero: the text column stays clear of the parked car */
.hero .wrap{max-width:1180px}
.hero .wrap>*{max-width:min(620px,52vw)}
.hero .hcar{width:min(44vw,640px);right:-2%}
@media (max-width:820px){.hero .wrap>*{max-width:none}}
/* tables scroll sideways on phones instead of being cut off */
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:14px 0;border:1px solid var(--line)}
.tablewrap table{min-width:640px;margin:0}
@media (max-width:640px){.tablewrap::after{content:"Swipe the table sideways";display:block;font-size:13px;color:var(--muted);padding:6px 10px;background:var(--card)}}
/* phone header: brand and button on one row, links as one scrollable row */
@media (max-width:640px){
  .bar{flex-wrap:wrap;gap:4px 8px}
  .brand img{height:32px}
  .bar>.btn.small{margin-left:auto;font-size:12px;padding:0 9px;letter-spacing:-.01em}
  .hero{flex-direction:column;align-items:stretch}
  .hero .wrap{order:1;padding-bottom:8px}
  .hero .hcar{order:2;position:relative;right:auto;bottom:auto;width:82vw;margin:0 -6vw 18px auto;z-index:2}
  .nav{order:3;flex-basis:100%;flex-wrap:nowrap;overflow-x:auto;gap:0 14px;scrollbar-width:none}
  .nav::-webkit-scrollbar{display:none}
  .nav a{white-space:nowrap;font-size:14px;min-height:40px}
  .top{position:sticky}
}

/* ---------- home bands: each section has its own moment in the shop ---------- */
.band{padding:clamp(48px,8vw,110px) 0;background:var(--paper)}
.band.flip{background:#e2dccf}
.bandin{max-width:1240px;margin:0 auto;padding:0 clamp(16px,4vw,48px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:start}
.band.flip .shot{order:2}
.shot{position:sticky;top:96px;margin:0;overflow:visible}
.shot .frame{overflow:hidden;border-radius:2px;box-shadow:0 30px 60px -36px rgba(0,0,0,.55)}
.shot img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;will-change:transform;border-radius:2px;box-shadow:0 30px 60px -36px rgba(0,0,0,.55)}
.shot .tag{left:auto;right:9%;top:-2px}
.band .copy>h2:first-child{margin-top:0}
.band .copy{max-width:640px;min-width:0}
.band video,.band img,.band table{max-width:100%}
.band .demo video{width:100%;height:auto;display:block}
.band .copy p,.band .copy li{max-width:none}
@media (max-width:820px){
  .bandin{grid-template-columns:1fr}
  .band.flip .shot{order:0}
  .shot{position:relative;top:0}
}
@media (prefers-reduced-motion:reduce){.shot img{transform:none!important;clip-path:none!important}}

/* ---------- judge round 1 fixes ---------- */
/* the frame covers the stage, so no blurred extension band shows above the bay */
.story .frame{width:max(100vw,177.78vh)}
.story .stage::before{display:none}
/* a tight contact shadow under the tyres, plus the soft one */
.story .shadow.tight{left:21%;width:58%;top:81.2%;height:2.4%;background:radial-gradient(closest-side,rgba(10,8,6,.75),rgba(10,8,6,0))}
/* the inspected beat sits in the open floor under the raised car */
.story .beats{position:absolute;inset:0;width:auto;left:0;right:0;top:0;bottom:0;pointer-events:none}
.story .beat{position:absolute;left:clamp(16px,5.2vw,84px);top:clamp(92px,13vh,140px);bottom:auto;width:min(560px,86vw)}
.story .beat.low{top:auto;bottom:clamp(96px,15vh,150px)}
/* the declined stage shows the declined part itself */
.story .under img.u2{opacity:0}
/* job rail: readable on the light bay */
.story .rail{background:rgba(236,231,222,.9);padding:0 10px 8px;border-radius:2px}
.story .rail li{color:#3d4146}
.story .rail.dark{background:rgba(15,17,18,.75)}
.story .rail.dark li{color:#c9cdd1}
/* home bands: three layouts */
.shot img{aspect-ratio:4/5;max-height:calc(100vh - 140px)}
.band.full{position:relative;overflow:hidden;background:#111315;color:#ece7de;padding:clamp(80px,12vw,160px) 0}
.band.full .bandbg{position:absolute;inset:-10% 0;width:100%;height:120%;object-fit:cover;opacity:.42;will-change:transform}
.band.full .bandin{position:relative;display:block;max-width:1240px}
.band.full .copy{max-width:none}
.band.full .copy>h2{color:#f4f0e8;max-width:18ch;font-size:clamp(44px,5vw,80px)}
.band.full .copy>p{max-width:62ch;color:#d9d4ca}
.band.full .copy ul,.band.full .copy ol{columns:2;column-gap:48px;max-width:none}
.band.full .copy li{break-inside:avoid;color:#e4dfd5;margin-bottom:10px}
.band.full a{color:var(--stripe)}
.band.full .tag{position:relative;left:auto;top:auto;margin:0 0 22px 0;display:inline-flex}
.band.full .steps li::before{color:#15181b}
.band.full .cta{background:#000}
.band.strip{padding-top:0}
.band.strip .shot.wide{position:relative;top:0;margin:0 0 clamp(36px,5vw,64px)}
.band.strip .shot.wide img{aspect-ratio:21/8;max-height:none;border-radius:0;box-shadow:none}
.band.strip .shot.wide .tag{right:auto;left:clamp(16px,5.2vw,84px);top:-2px}
.band.strip .bandin{display:block}
.band.strip .copy{max-width:none}
.band.strip .copy>p{max-width:62ch}
/* the hang tag reads as a key tag: punched hole and ring */
.tag i{width:1px;height:14px}
.tag b{border-radius:4px 4px 8px 8px;padding:9px 10px 7px 22px;position:relative}
.tag b::before{position:absolute;left:8px;top:50%;margin:-4px 0 0;width:8px;height:8px;border-radius:50%;background:#ece7de;box-shadow:inset 0 0 0 1.5px rgba(0,0,0,.45)}
/* subpage hero: the plate sits back, so the car in front reads as the subject */
.hero .plate{filter:blur(4px) saturate(.85);transform:scale(1.06)}
/* header: phone menu */
.menu{display:none}
.menu summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;padding:0 12px;border:1px solid var(--ink);font:600 14px/1 "Work Sans",sans-serif}
.menu summary::-webkit-details-marker{display:none}
.menu nav{position:absolute;left:0;right:0;top:100%;background:#ece7de;border-bottom:1px solid var(--line);display:flex;flex-direction:column;padding:6px 16px 14px}
.menu nav a{color:var(--ink);text-decoration:none;font:500 17px/1 "Work Sans",sans-serif;min-height:48px;display:flex;align-items:center;border-bottom:1px solid var(--line)}
@media (max-width:640px){
  .top .nav{display:none}
  .menu{display:block}
  .bar{flex-wrap:nowrap;position:relative}
  .bar .lg{display:none}
  .bar>.btn.small{font-size:13px;padding:0 12px}
  .story h1{max-width:none;font-size:clamp(42px,12.4vw,58px)}
  .story .btn.ghost{background:#ece7de}
  .story .intro{top:84px}
  .story .beat{top:84px}
  .story .beat.low{top:auto;bottom:90px}
  .band.full .copy ul,.band.full .copy ol{columns:1}
  .band.strip .shot.wide img{aspect-ratio:4/3}
  .shot img{aspect-ratio:4/3;max-height:none}
  .story .frame{width:165vw}
}
/* beats that sit over the light bay get a paper panel, so a lift post never runs through the text */
.story .beat:not(.dark){background:rgba(236,231,222,.9);padding:18px 22px 20px;box-shadow:0 18px 40px -28px rgba(0,0,0,.45)}
/* desktop intro sits higher and a little smaller, clear of the car roof */
@media (min-width:821px){.story .intro{top:clamp(80px,9vh,100px)}.story h1{font-size:clamp(44px,4.6vw,84px)}}
.band .demo video{aspect-ratio:16/9;background:#111;object-fit:cover}

/* ---------- judge 2 fixes ---------- */
/* the car rests with its tyres on the concrete; heavier contact shadow; warm cast to match the lamp */
.story .car{top:35.6%;filter:drop-shadow(0 18px 22px rgba(20,16,12,.32)) sepia(.06) saturate(1.04)}
.story .shadow.tight{opacity:1;background:radial-gradient(closest-side,rgba(8,6,4,.88),rgba(8,6,4,0))}
/* phones: the blurred bay fills the screen behind the photo, never blank paper */
@media (max-width:820px){.story .stage::before{display:block;background-position:center 30%;filter:blur(16px) brightness(.97)}}
/* the demo band: the video is the picture, full width, with a designed control */
.band.video .bandin{display:block;max-width:1100px}
.band.video .copy{max-width:none}
.band.video .copy>h2,.band.video .copy>p{max-width:40ch}
.vwrap{position:relative;margin-top:22px}
.vwrap video{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover;background:#111;border-radius:2px;box-shadow:0 40px 80px -40px rgba(0,0,0,.6)}
.vbtn{position:absolute;left:16px;bottom:16px;min-height:44px;padding:0 18px;border:0;border-radius:2px;background:var(--stripe);color:#15181b;font:600 14px/1 "Work Sans",sans-serif;cursor:pointer}
.vbtn:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* wide bands use the width: vendor cards in three columns; the closing column is centred */
.band.strip .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:820px){.band.strip .cards{grid-template-columns:1fr}}
.band ~ .wrap.content article{margin:0 auto}
/* subpage hero: text left, the stage photo right; the photo rises into frame */
.hero{display:block;min-height:0;background:linear-gradient(180deg,#e2dccf,#ece7de)}
.hero .wrap{display:block;padding-top:44px;padding-bottom:48px;min-height:clamp(380px,56vh,560px)}
.hero .wrap>*{max-width:min(600px,50vw)}
.hero .hshot{position:absolute;right:clamp(16px,5vw,80px);top:50%;transform:translateY(-50%);width:min(38vw,540px);margin:0}
.hero .hshot img{aspect-ratio:4/3;max-height:none}
.hero .hshot .tag{left:auto;right:9%;top:-2px}
/* anchors and headings clear the sticky header */
:target,h2{scroll-margin-top:84px}
.crumbs{line-height:1.4}
.crumbs a{padding:2px 2px;min-height:0;display:inline}
@media (max-width:820px){
  .hero .wrap>*{max-width:none}
  .hero .wrap{min-height:0;padding-bottom:16px}
  .hero .hshot{position:relative;right:auto;top:auto;transform:none;width:auto;margin:0 16px 28px}
}

/* depth: both frames scale from the same point on the floor so the arms stay on the posts */
.story .frame{transform-origin:50% 82%}
@media (max-width:820px){.story .beat.low{top:84px;bottom:auto}}

/* tap targets: closed menu links are not rendered; inline links in bands get the same padding as article links */
.menu:not([open]) nav{display:none}
.band .copy p a:not(.btn),.band .copy li a:not(.btn){display:inline-block;padding:11px 2px;margin:-11px 0}

/* ---------- supervisor gaps: subpage side rail, stacked tables on phones ---------- */
.content.railed{display:grid;grid-template-columns:minmax(0,780px) minmax(260px,320px);gap:clamp(32px,5vw,72px);max-width:1180px;align-items:start}
.content.railed article{max-width:none;min-width:0}
.siderail{position:sticky;top:96px;margin-top:40px;display:flex;flex-direction:column;gap:16px}
.siderail .mini{position:relative;aspect-ratio:1344/752;overflow:hidden;border-radius:2px;box-shadow:0 24px 48px -30px rgba(0,0,0,.5);background:#cfc9bf}
.siderail .mbay{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.siderail .mcar{position:absolute;left:15.25%;top:35.6%;width:70.09%;will-change:transform;filter:drop-shadow(0 8px 10px rgba(20,16,12,.3))}
.siderail .mcar img{width:100%;height:auto;display:block}
.siderail .tag{position:relative;left:auto;top:auto;animation:none;transform:none}
.siderail .btn{text-align:center;justify-content:center}
@media (max-width:1000px){.content.railed{display:block}.siderail{display:none}}
@media (max-width:640px){
  table.stack,table.stack tbody,table.stack tr,table.stack td{display:block;width:100%}
  table.stack thead{display:none}
  .tablewrap{border:0;overflow:visible}
  .tablewrap table.stack{min-width:0}
  .tablewrap::after{display:none}
  table.stack tr{background:var(--card);border:1px solid var(--line);border-top:4px solid var(--steel);border-radius:2px;margin:0 0 14px;padding:6px 0}
  table.stack td{border:0;border-bottom:1px solid var(--line);padding:8px 14px}
  table.stack td:last-child{border-bottom:0}
  table.stack td::before{content:attr(data-label);display:block;font:600 11px/1.3 "Work Sans",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-d);margin-bottom:3px}
  table.stack td:first-child{font-weight:600;font-size:17px}
}

/* ---------- independent judge r1 fixes ---------- */
/* underbody plate fades in (no wipe edge through the roof) */
.story .under{clip-path:none!important;opacity:0;visibility:hidden}
/* phones: a dark shop-sign panel carries the words, the whole bay photo sits below it, car and arms in full */
@media (max-width:820px){
  .story .stage{background:#1b1f23}
  .story .stage::before,.story .scrim{display:none}
  .story .frame{width:130vw}
  .story .frame.back::after{content:"";position:absolute;left:0;right:0;top:0;height:30%;background:linear-gradient(#1b1f23,rgba(27,31,35,0))}
  .story .intro .kicker{color:var(--stripe)}
  .story .intro h1{color:#f1ede4}
  .story .intro .lede{color:#d6d0c5}
  .story .intro .btn.big{background:var(--stripe);border-color:var(--stripe);color:#15181b!important}
  .story .intro .btn.ghost{background:transparent;border-color:#d6d0c5;color:#f1ede4!important}
  .story .beat:not(.dark){background:transparent;box-shadow:none;padding:0;color:#f1ede4}
  .story .beat .st{color:var(--stripe)}
  .story .rail{background:rgba(15,17,18,.8)}
  .story .rail li{color:#c9cdd1}
  .story .rail li.on{color:#f1ede4}
}
/* "Keep reading": the marker sits on the first line of each link */
.related ul{list-style:none;padding-left:0}
.related li{break-inside:avoid}
.related li a{display:block;position:relative;padding:10px 0 10px 22px;min-height:44px}
.related li a::before{content:"";position:absolute;left:0;top:21px;width:12px;height:2px;background:var(--orange-d)}
/* the CTA heading is a heading, larger than its body */
.cta .cta-h{font-size:clamp(30px,2.8vw,40px);line-height:.95;margin:0 0 8px;color:#f6f2ea}

article .related li a:not(.btn){display:block;position:relative;padding:10px 0 10px 22px;margin:0;min-height:44px}

/* the story starts under the sticky header, so the first screen shows the whole bay photo */
.story{margin-top:-68px}
.story .stage{padding-top:0}
@media (max-width:640px){.story{margin-top:-56px}}
@media (prefers-reduced-motion:reduce){.story{margin-top:0}}

/* ---------- live polish batch (after deploy) ---------- */
/* side rail: the tag rides on the car's window, the car rises with reading */
.siderail .mcar .tag{position:absolute;left:41%;top:16%;transform:scale(.72);transform-origin:0 0;animation:none}
/* phones: the bay photo fills about 55% of the screen; the job rail sits above the photo, off the tyres */
@media (max-width:820px){
  .story .frame{width:170vw}
  .story .rail{bottom:calc(170vw * .5595 + 12px)}
}
/* sources list: marker on the first line of each link */
.sources ul{list-style:none;padding-left:0}
article .sources li a:not(.btn){display:block;position:relative;padding:10px 0 10px 22px;margin:0;min-height:44px}
article .sources li a:not(.btn)::before{content:"";position:absolute;left:0;top:21px;width:12px;height:2px;background:var(--orange-d)}

/* ---------- phones: the tall bay plate (original photo sits at 552 of 2304 px, full width) ---------- */
@media (max-width:820px){
  .story .frame{width:136vw;aspect-ratio:1856/2304}
  .story .car{top:40%}
  .story .shadow{top:60.7%;height:2.25%}
  .story .shadow.tight{top:60.6%;height:1.1%}
  .story .frame.back::after{height:46%;background:linear-gradient(#1b1f23 0%,rgba(27,31,35,.92) 45%,rgba(27,31,35,0) 100%)}
  .story .rail{bottom:16px}
}
@media (max-width:820px){.story .frame{bottom:-110px}}
/* tablets (641 to 820): the tall plate at full width keeps the car below the hero text */
@media (min-width:641px) and (max-width:820px){.story .frame{width:100vw}}
/* tablets: the header links collapse into the Menu button instead of wrapping to a second row */
@media (min-width:641px) and (max-width:900px){.top .nav{display:none}.menu{display:block}.bar{flex-wrap:nowrap;position:relative}.bar>.btn.small{margin-left:auto}}

/* conversion pass: toolkit link in the first screen, at the moment of use and in the side rail */
.hero .hcta{margin:18px 0 0}
.hero .hcta .btn{min-height:44px}
.tknote{background:#f2ead8;border-left:4px solid var(--orange-d);padding:12px 14px;margin:14px 0 22px}
.siderail .btn.ghost{margin-top:10px;display:flex;justify-content:center}
.resource.compact .fine{font-size:.9em;color:#4a4f55;margin-top:10px}
/* body list items that start with a link: inline keeps the bullet on the first line when the link wraps; padding keeps the tap area */
article > ul > li > a:first-child:not(.btn),article > ol > li > a:first-child:not(.btn){display:inline;padding:9px 2px;margin:0;-webkit-box-decoration-break:clone;box-decoration-break:clone}
