/* jim · wegojim.dev v2
   System: the app's graph-paper system. Pure white / pure black pages on a 16pt grid, ink only,
   solid parts (page fill + 1.5px line, square corners), Manrope + DM Mono. Macro colours are the only colour. */
:root{
  /* jim dark is the launch look. Light tokens live in the app; the site commits to dark. */
  --page:#000000; --ink:#FFFFFF; --ink2:#BDBDB7; --ink3:#7E7E79; --line:#D4D4CF; --hair:rgba(255,255,255,.17);
  --grid:rgba(255,255,255,.06); --gridB:rgba(255,255,255,.1); --track:#2A2A29; --inv:#000000;
  --m1:#7FA8DA; --m2:#D2A050; --m3:#CF8AB3;
  --s1:#F2F1EC; --s2:#A9A8A2; --s3:#62615C; --s4:#2A2A29;
  --faint:#5E5E59;
  --sans:'Manrope',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'DM Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --hand:'Klee One','Bradley Hand','Segoe Print',cursive;
  --navh:60px; --ph:min(70vh,620px);
  color-scheme:dark;
}

*{box-sizing:border-box}
/* nothing may ever scroll sideways (phones used to pan left and right), and the grid never moves */
html{-webkit-text-size-adjust:100%;overflow-x:hidden;overflow-x:clip;touch-action:pan-y pinch-zoom}
body{margin:0;background:var(--page);color:var(--ink);font:500 17px/1.55 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px),
    linear-gradient(var(--gridB) 1px,transparent 1px),linear-gradient(90deg,var(--gridB) 1px,transparent 1px);
  background-size:16px 16px,16px 16px,80px 80px,80px 80px}
a{color:inherit}
h1,h2,h3,h4{margin:0;text-wrap:balance;letter-spacing:-.025em}
p{margin:0}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.wrap{max-width:1200px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
.eyebrow{font:500 12px/1 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--ink3)}
.card{background:var(--page);box-shadow:inset 0 0 0 1.5px var(--line)}
.card-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:10px;margin-bottom:6px;box-shadow:0 1px 0 var(--hair)}
.card-head b{font-weight:800;font-size:16px;letter-spacing:-.01em}
.card-head span{font:500 11.5px var(--mono);color:var(--ink3)}
.btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 24px;background:var(--ink);color:var(--inv);
  font:700 16px/1 var(--sans);border:0;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn:hover{opacity:.85}
.btn-sm{height:40px;padding:0 16px;font-size:14px}
.soon{display:inline-flex;align-items:center;gap:8px;font:500 13px var(--mono);color:var(--ink2)}
.soon i{width:8px;height:8px;background:var(--ink);animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{50%{opacity:.2}}
.spot{position:absolute;width:1px;height:1px;pointer-events:none}
.example{position:absolute;right:0;bottom:-22px;font:500 11px var(--mono);color:var(--ink3)}

/* ---------- logo ---------- */
.logo-svg{display:block;width:100%;height:auto;color:var(--ink)}
.logo-svg [fill="white"]{fill:#fff}
.logo-svg [fill="black"]{fill:#000}

/* ---------- nav ---------- */
.nav{position:fixed;inset:0 0 auto;z-index:40;background:var(--page);box-shadow:0 1px 0 var(--hair);padding-top:env(safe-area-inset-top);transition:transform .4s ease}
.nav-in{height:var(--navh);display:flex;align-items:center;gap:24px}
.nav-logo{width:44px;display:block}
.nav-links{display:flex;gap:22px;margin-left:auto;font-size:14px;font-weight:600}
.nav-links a{text-decoration:none;color:var(--ink2)}.nav-links a:hover{color:var(--ink)}
.nav-progress{position:absolute;left:0;bottom:-1px;height:2px;background:var(--ink);width:100%;transform-origin:0 50%;transform:scaleX(0)}
html.js .nav{transform:translateY(-110%)}
html.js .nav.in{transform:none}

/* ---------- hero ---------- */
.hero{position:relative;min-height:100svh;display:flex;align-items:center;padding-block:96px 72px}

.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px}

@keyframes cue{0%{transform:scaleY(0)}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* ---------- scenes ---------- */
.scene{position:relative}
.stage{height:100svh;padding-top:calc(var(--navh) + env(safe-area-inset-top));display:flex;align-items:center;overflow:hidden}
.stage-in{width:100%;display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:56px;align-items:center}
.copy{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:440px}
.copy h2{font-size:clamp(30px,3.4vw,46px);line-height:1.05;font-weight:800}
.copy p{color:var(--ink2)}
.copy p.small{font-size:15px;color:var(--ink3)}

.visual{position:relative;height:calc(var(--ph) + 24px);min-width:0}
.swap{position:relative}
.swap>*{grid-area:1/1}
.swap{display:grid}

/* phone */
.phone{--h:var(--ph);position:absolute;height:var(--h);width:calc(var(--h)*393/852);border-radius:calc(var(--h)*.065);background:#000;
  padding:calc(var(--h)*.013);box-shadow:0 0 0 1.5px var(--line),0 40px 70px -40px rgba(0,0,0,.45)}
.island{position:absolute;z-index:3;top:calc(var(--h)*.026);left:50%;transform:translateX(-50%);width:30%;height:calc(var(--h)*.033);background:#000;border-radius:99px}
.screen{position:relative;width:100%;height:100%;border-radius:calc(var(--h)*.053);overflow:hidden;background:#fff}
.screen .shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* a live app screen authored at 393pt and scaled to fit (--s set by script) */
.app{position:absolute;left:0;top:0;width:393px;height:852px;transform-origin:0 0;transform:scale(var(--s,.7));background:#fff;color:#000;font-family:var(--sans);
  background-image:linear-gradient(rgba(0,0,0,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.05) 1px,transparent 1px);background-size:16px 16px}
.app-status{height:54px;display:flex;align-items:center;justify-content:space-between;padding:6px 32px 0;font-weight:700;font-size:15px}
.app-status .sb{width:58px;height:12px;background:linear-gradient(90deg,#000 0 22px,transparent 22px 30px,#000 30px 58px)}
.chat-jim{display:flex;justify-content:center;padding:12px 0 18px}
.mini-jim{width:34px;height:34px;border-radius:50%;background:#000;position:relative}
.mini-jim::after{content:"";position:absolute;inset:11px 9px 9px 11px;background:#fff;border-radius:46% 54% 40% 60%}
.chat{display:flex;flex-direction:column}
.msg{margin:0 18px 14px;font-size:15.5px;line-height:1.4;max-width:300px}
.msg.them{color:#000}
.msg.me{align-self:flex-end;background:#000;color:#fff;padding:11px 13px;max-width:270px;font-weight:600}
.msg mark{background:transparent;color:inherit;box-shadow:inset 0 -2px 0 #fff;padding:0 1px;transition:background .3s,color .3s}
.msg mark.lit{background:#fff;color:#000;box-shadow:none}
.chat-input{position:absolute;left:16px;right:16px;bottom:34px;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 6px 0 14px;
  box-shadow:inset 0 0 0 1.5px #1C1C1A;background:#fff;color:#8A8A84;font-size:15px}
.chat-input i{width:40px;height:40px;background:#000;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700}
.build h4{font-size:24px;font-weight:800;text-align:center;margin:4px 0 22px}
.steps{margin:0 18px;box-shadow:inset 0 0 0 1.5px #1C1C1A;background:#fff}
.st{display:flex;justify-content:space-between;align-items:center;height:54px;padding:0 16px;font-size:15.5px;font-weight:600;color:#B0B0AA;box-shadow:0 1px 0 rgba(0,0,0,.12)}
.st:last-child{box-shadow:none}
.st i{font:500 12px var(--mono);font-style:normal;color:#8A8A84}
.st.now{color:#000}.st.now i::after{content:"working…"}
.st.done{color:#000}.st.done i::after{content:"done"}

/* scatter */

/* onboard */

.heard{position:absolute;right:0;top:50%;transform:translateY(-50%);width:min(320px,44%);padding:18px}
.heard-row{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;padding:11px 0;box-shadow:0 1px 0 var(--hair);align-items:baseline}
.heard-row .k{font:500 11.5px var(--mono);color:var(--ink3);text-transform:uppercase;letter-spacing:.05em}
.heard-row .v{font-weight:800;font-size:15px;line-height:1.3}
.heard-go{padding-top:14px}
.token{position:absolute;z-index:6;padding:5px 9px;background:var(--ink);color:var(--inv);font:700 13px var(--sans);white-space:nowrap;pointer-events:none}

/* plan */
.plan-vis .phone{left:0;top:12px}
.anatomy{position:absolute;right:0;top:0;width:min(360px,52%);padding:18px}
.an-num{display:flex;align-items:baseline;gap:12px;padding:6px 0 10px}
.an-num .big{font-size:52px;font-weight:800;letter-spacing:-.04em;line-height:1}
.an-num span:last-child{font-weight:700;color:var(--ink2)}
.an-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:10px 0;box-shadow:0 -1px 0 var(--hair);font-size:14.5px;font-weight:600}
.an-row .k{font:500 11.5px var(--mono);color:var(--ink3);text-transform:uppercase;letter-spacing:.05em;padding-top:2px}
.phases{position:absolute;right:0;bottom:0;width:min(360px,52%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.phase{padding:12px;display:flex;flex-direction:column;gap:2px}
.phase .k{font:500 10.5px var(--mono);color:var(--ink3)}
.phase b{font-size:17px;font-weight:800}
.phase span:last-child{font-size:12.5px;color:var(--ink2);line-height:1.3}

/* HQ */
.hq-vis .phone{left:50%;top:12px;transform:translateX(-50%)}
.hq-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:10px}
.hc{background:var(--page);box-shadow:inset 0 0 0 1.5px var(--line);padding:14px 14px 12px;display:flex;flex-direction:column;gap:4px;min-width:0;position:relative}
.hc-wide{grid-column:span 2}
.hc-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.hc-h b{font-weight:800;font-size:15px}.hc-h span{font:500 11px var(--mono);color:var(--ink3)}
.hc-n{display:flex;align-items:baseline;gap:5px;font-size:34px;font-weight:800;letter-spacing:-.035em;line-height:1.05;font-variant-numeric:tabular-nums}
.hc-n small{font-size:14px;font-weight:600;letter-spacing:0;color:var(--ink2)}
.hc-s{font-size:13px;color:var(--ink2);line-height:1.3}
.hc-row{display:flex;justify-content:space-between;gap:12px;align-items:center}
.src{margin-top:auto;padding-top:6px;font:500 10.5px var(--mono);color:var(--ink3);letter-spacing:.04em;text-transform:uppercase}
.scale{position:relative;height:10px;background:var(--track);margin-top:10px}
.scale .band{position:absolute;left:38%;width:26%;top:0;bottom:0;background:var(--s3)}
.scale .dot{position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 3px var(--page)}
.gauge{width:100%;max-width:140px;height:auto;margin-top:4px}
.gauge path{fill:none;stroke-width:9}
.g-bg{stroke:var(--track)}.g-fg{stroke:var(--ink);stroke-dasharray:1;stroke-dashoffset:.3}
.ruler{position:relative;height:22px;margin-top:8px;background:repeating-linear-gradient(90deg,var(--ink3) 0 1.5px,transparent 1.5px 10%);background-size:100% 9px;background-repeat:no-repeat;background-position:0 100%;box-shadow:0 1.5px 0 var(--ink3)}
.ruler .mk{position:absolute;left:62%;bottom:0;width:2.5px;height:22px;background:var(--ink)}

.legend{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;margin-top:8px;font-size:12px;font-weight:600}
.legend i{display:inline-block;width:9px;height:9px;margin-right:5px;vertical-align:0}
.legend .s1,.pz.s1{background:var(--s1);stroke:var(--s1)}.legend .s2,.pz.s2{background:var(--s2);stroke:var(--s2)}
.legend .s3,.pz.s3{background:var(--s3);stroke:var(--s3)}.legend .s4,.pz.s4{background:var(--s4);stroke:var(--s4)}
.pie{width:96px;height:96px;flex:none;transform:rotate(-90deg)}
.pz{fill:none;stroke-width:10;stroke-dasharray:var(--a) calc(100 - var(--a));stroke-dashoffset:calc(-1 * var(--o))}
.macros{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.macros div{display:grid;grid-template-columns:60px minmax(0,1fr) 86px;gap:10px;align-items:center;font-size:13px;font-weight:600}
.macros i{display:block;height:9px;background:var(--track);overflow:hidden}
.macros b{display:block;height:100%;width:var(--w)}
.macros .m1{background:var(--m1)}.macros .m2{background:var(--m2)}.macros .m3{background:var(--m3)}
.macros em{font-style:normal;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
.week{display:flex;gap:6px;align-items:flex-end;height:46px;margin-top:8px}
.week i{flex:1;height:var(--h,4px);background:var(--ink)}
.week i.today{background:transparent;box-shadow:inset 0 0 0 2px var(--ink)}
.week i.o{height:4px;background:var(--track)}
.week i.run{background:transparent;box-shadow:inset 0 0 0 1.5px var(--ink3);background-image:repeating-linear-gradient(0deg,transparent 0 4px,var(--hair) 4px 5px)}

/* workout */
.wo-vis .phone{left:0;top:12px}
.setcard{position:absolute;right:0;top:0;width:min(330px,50%);height:340px;overflow:hidden}
.sc-face{position:absolute;inset:0;padding:18px;display:flex;flex-direction:column;gap:10px;background:var(--page)}
.sc-big{display:flex;align-items:baseline;gap:6px;font-size:46px;font-weight:800;letter-spacing:-.04em;line-height:1;padding:6px 0;font-variant-numeric:tabular-nums}
.sc-big small{font-size:15px;font-weight:600;letter-spacing:0;color:var(--ink2)}
.sc-big .x{font-size:28px;color:var(--ink3);margin:0 4px}
.sc-steps{display:grid;grid-template-columns:1.4fr 1fr;gap:8px}
.stp{display:grid;grid-template-columns:36px 1fr 36px;height:44px;box-shadow:inset 0 0 0 1.5px var(--line)}
.stp span{display:grid;place-items:center;font-weight:700;font-size:14px}
.stp b{display:grid;place-items:center;font-weight:800;font-size:17px;box-shadow:inset 1.5px 0 0 var(--line),inset -1.5px 0 0 var(--line);font-variant-numeric:tabular-nums}
.stp .plus.hit{background:var(--ink);color:var(--inv)}
.rpe-l{font-size:13px;font-weight:700;display:flex;justify-content:space-between}.rpe-l span{font-weight:500;color:var(--ink3)}
.rpe{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}
.rpe i{font-style:normal;height:30px;display:grid;place-items:center;font-size:13px;font-weight:700;box-shadow:inset 0 0 0 1px var(--hair)}
.rpe i.on{background:var(--ink);color:var(--inv);box-shadow:none}
.sc-btn{margin-top:auto;height:48px;display:grid;place-items:center;background:var(--ink);color:var(--inv);font-weight:700;font-size:15px}
.sc-btn.press{transform:scale(.97)}
.sc-rest{align-items:stretch}

.ring{width:100%;height:100%;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:7}

.rest-btns{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin-top:auto}
.rest-btns span{height:44px;display:grid;place-items:center;font-weight:700;box-shadow:inset 0 0 0 1.5px var(--line)}
.rest-btns .ink{background:var(--ink);color:var(--inv);box-shadow:none}
.setlist{position:absolute;right:0;bottom:0;width:min(330px,50%);padding:14px 16px}
.pct{display:flex;justify-content:space-between;align-items:baseline;font-weight:700;font-size:14px}
.pct b{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.pbar{height:8px;background:var(--track);margin:6px 0 8px}
.pbar i{display:block;height:100%;width:19%;background:var(--ink)}

.feat-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.feat-chips span{padding:5px 9px;background:var(--page);box-shadow:inset 0 0 0 1.5px var(--line);font:500 12px var(--mono);white-space:nowrap}

/* food */
.food-vis .phone{right:0;top:12px}
.td-big{display:flex;justify-content:space-between;align-items:baseline}
.td-big>div{display:flex;align-items:baseline;gap:6px;font-size:42px;font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.td-big small{font-size:14px;font-weight:600;letter-spacing:0;color:var(--ink2)}
.td-bar{height:7px;background:var(--track);margin:6px 0 4px}.td-bar i{display:block;height:100%;width:92%;background:var(--ink)}

/* blocks */
.block{position:relative;padding-block:140px}
.big-h{font-size:clamp(40px,6vw,84px);line-height:.98;font-weight:800;letter-spacing:-.045em;margin:14px 0 18px}
.mid-h{font-size:clamp(32px,4vw,52px);line-height:1;font-weight:800;margin:12px 0 14px}
.lede{color:var(--ink2);font-size:clamp(17px,1.5vw,20px);max-width:52ch}
.words .w{display:inline-block;overflow:hidden;vertical-align:top}
.words .w>span{display:inline-block}
.dense{margin-top:48px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;box-shadow:inset 0 0 0 1.5px var(--line);background:var(--page);perspective:900px}
.dense .d{padding:18px 18px 20px;display:flex;flex-direction:column;gap:4px;box-shadow:inset -1px -1px 0 var(--hair);min-width:0;background:var(--page)}
.dense .d b{font-weight:800;font-size:16px}
.dense .d span{font-size:13.5px;color:var(--ink2);line-height:1.35}
.data-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;position:relative}
.ledger{padding:8px 24px}
.lg{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;box-shadow:0 1px 0 var(--hair);font-weight:700;font-size:16px}
.lg:last-child{box-shadow:none}
.stamp{font:500 13px var(--mono);text-transform:uppercase;letter-spacing:.08em;padding:6px 10px;box-shadow:inset 0 0 0 2px var(--ink);white-space:nowrap}
.join{position:relative;padding:48px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:56px;align-items:end}
form{display:flex;flex-direction:column;gap:10px}
input{height:54px;padding:0 16px;font:600 16px var(--sans);color:var(--ink);background:var(--page);border:0;border-radius:0;box-shadow:inset 0 0 0 1.5px var(--line);-webkit-appearance:none}
input::placeholder{color:var(--ink3);font-weight:500}
input:focus{outline:none;box-shadow:inset 0 0 0 2.5px var(--ink)}
.hint{font-size:13px;color:var(--ink3)}
.status{font:500 13px var(--mono);min-height:1.3em}
.contact{margin-top:28px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.contact>div{padding:20px;display:flex;flex-direction:column;gap:4px;min-width:0;box-shadow:inset 1.5px 0 0 var(--line)}
.contact>div:first-child{box-shadow:none}
.contact .k{font:500 11.5px var(--mono);color:var(--ink3);text-transform:uppercase;letter-spacing:.06em}
.contact a,.contact span:not(.k){font-weight:800;text-decoration:none;overflow-wrap:anywhere}
#contact{padding-top:40px}
.foot{padding-block:28px 48px;box-shadow:0 -1px 0 var(--hair);background:var(--page)}
.foot-in{display:flex;gap:20px;flex-wrap:wrap;font:500 12px var(--mono);color:var(--ink3)}

/* ---------- Jim ---------- */
.jim{position:fixed;left:0;top:0;z-index:50;width:var(--js,56px);height:var(--js,56px);pointer-events:none;will-change:transform;opacity:0}
.jim.ready{opacity:1}
.jim-body{position:absolute;inset:0;transform-origin:50% 90%}
.jim-critter{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.jim-blob{fill:var(--ink)}
.jim-eyes circle{fill:var(--ink)}
.jim-eyes{transition:transform .25s ease}
.jim.blink .jim-eyes{transform-box:fill-box;transform-origin:center;transform:scaleY(.1)!important}
.jim-bar{position:absolute;left:-30%;width:160%;top:-26%;height:auto;fill:var(--ink);opacity:0;transition:opacity .25s}
.jim.lift .jim-bar{opacity:1;animation:lift 1.1s ease-in-out infinite}
@keyframes lift{0%,100%{transform:translateY(18%)}50%{transform:translateY(-18%)}}
.jim-bubble{position:absolute;bottom:calc(100% + 12px);left:50%;width:max-content;max-width:230px;padding:9px 12px;background:var(--page);
  box-shadow:inset 0 0 0 1.5px var(--line);font:700 14px/1.35 var(--sans);color:var(--ink);transform:translateX(-30%);opacity:0;transition:opacity .25s}
.jim-bubble.on{opacity:1}
.jim-bubble::after{content:"";position:absolute;left:30%;bottom:-7px;width:12px;height:12px;background:var(--page);box-shadow:1.5px 1.5px 0 var(--line);transform:rotate(45deg);margin-left:-6px}
.jim.flip .jim-bubble{transform:translateX(-70%)}
.jim.p-right .jim-bubble,.jim.p-left .jim-bubble{bottom:auto;top:50%}
.jim.p-right .jim-bubble{left:calc(100% + 14px);transform:translateY(-50%)}
.jim.p-left .jim-bubble{left:auto;right:calc(100% + 14px);transform:translateY(-50%)}
.jim.p-right .jim-bubble::after{left:-6px;top:50%;bottom:auto;margin:-6px 0 0;box-shadow:-1.5px 1.5px 0 var(--line)}
.jim.p-left .jim-bubble::after{left:auto;right:-6px;top:50%;bottom:auto;margin:-6px 0 0;box-shadow:1.5px -1.5px 0 var(--line)}
.jim.flip .jim-bubble::after{left:70%}
.jim.below .jim-bubble{bottom:auto;top:calc(100% + 12px)}
.jim.below .jim-bubble::after{bottom:auto;top:-7px;box-shadow:-1.5px -1.5px 0 var(--line)}

/* ---------- small screens ---------- */
@media (max-width:900px){
  :root{--navh:56px;--ph:min(44svh,420px)}
  body{font-size:16px}
  .nav-links{display:none}
  .nav-in .btn{margin-left:auto}
  .stage{align-items:stretch;padding-bottom:16px}
  .stage-in{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:14px;height:100%;padding-top:18px}
  .copy{gap:8px;max-width:none}
  .copy h2{font-size:clamp(24px,6.6vw,30px)}
  .copy p{font-size:14.5px;line-height:1.45}
  .copy p.small{display:none}
  .visual{height:100%;min-height:0}

  .heard,.anatomy{width:min(260px,64%);padding:13px}
  .heard{top:auto;bottom:0;transform:none}
  .heard-row{grid-template-columns:70px minmax(0,1fr);padding:7px 0}
  .heard-row .v{font-size:13px}
  .anatomy .an-num .big{font-size:38px}
  .an-row{grid-template-columns:72px minmax(0,1fr);font-size:12.5px;padding:7px 0}
  .phases{width:min(260px,64%)}
  .phase{padding:8px}.phase b{font-size:14px}.phase span:last-child{font-size:11px}
  .hq-grid{gap:6px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hc{padding:9px 10px 8px;gap:2px}
  .hc-n{font-size:24px}.hc-s{font-size:11px}.hc-h b{font-size:13px}
  .hc-wide{grid-column:span 2}
  .hq-grid .hc:nth-child(7){display:none}
  .hc{overflow:hidden}
  .gauge{max-width:90px}.pie{width:64px;height:64px}
  .legend{font-size:10.5px}.macros{gap:4px;margin-top:4px}.macros div{grid-template-columns:48px minmax(0,1fr) 74px;font-size:11.5px}
  .week{height:28px}.src{font-size:9.5px;padding-top:2px}
  .hq-grid .hc:nth-child(2) .gauge,.hq-grid .hc:nth-child(3) .ruler{display:none}
  .setcard{width:min(250px,62%);height:300px}
  .sc-face{padding:12px;gap:7px}
  .sc-big{font-size:34px}.rpe i{height:24px;font-size:11px}

  .setlist{width:min(250px,62%);padding:10px 12px}

  .copy .feat-chips{display:none}
  .td-big>div{font-size:30px}

  .block{padding-block:88px}
  .dense{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dense .d{padding:14px}
  .data-in,.join{grid-template-columns:minmax(0,1fr);gap:28px}
  .join{padding:24px}
  .contact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact>div:nth-child(3){box-shadow:inset 0 1.5px 0 var(--line)}
  .contact>div:nth-child(4){box-shadow:inset 1.5px 1.5px 0 var(--line)}
  .jim-bubble{font-size:12.5px;max-width:180px;padding:7px 10px}
  .example{bottom:-16px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  html.js .nav{transform:none}
}

/* =====================================================================
   v2.1 · the story opening: hero intro, why jim, the problem, you, goals
   ===================================================================== */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}

/* typed + word-revealed text (driven by scroll) */
.ty{display:inline-grid;vertical-align:top}
.ty>span{grid-area:1/1}
.ty .r{visibility:hidden}
.ty .l .c{display:inline-block;width:.07em;height:.9em;background:currentColor;margin-left:.05em;vertical-align:-.08em}
.wr .w{display:inline-block;white-space:pre}

/* ---------- hero ---------- */
.hero{min-height:0;display:block;padding:0}
.hero-stage{position:relative;justify-content:center}
.hero-v3{position:absolute;inset:calc(var(--navh) + env(safe-area-inset-top)) 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--ink);transform-origin:50% 30%}
.hero-v3-replay{appearance:none;display:block;width:min(520px,82%);margin:0;padding:0;border:0;background:transparent;color:inherit;line-height:0;pointer-events:none}
.hero-v3-stage{display:block;width:100%;height:auto;max-height:min(58svh,560px);overflow:visible}
.hero-v3-stage [data-v3-transient]{fill:currentColor}
.hero-v3-stage [data-v3-letter] use,.hero-v3-stage [data-v3-j-dot]{paint-order:fill stroke;stroke:var(--page);stroke-width:10;stroke-linejoin:round}
.hero-v3-stage [data-v3-arm-path]{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.hero-v3-stage [data-v3-final-logo]{color:var(--ink)}
.hero-v3-period{color:var(--faint)}
.hero-v3-tagline{min-height:150px;margin-top:6px;display:flex;flex-direction:column;align-items:center;gap:24px;font-size:clamp(18px,2.2vw,24px);font-weight:500;line-height:1.28;letter-spacing:-.01em;text-align:center}
.hero-v3-tagline>div{position:relative;display:grid;place-items:center start;width:max-content;min-height:1.28em}
.hero-v3-tagline-reserve,.hero-v3-tagline-live{grid-area:1/1}
.hero-v3-tagline-reserve{visibility:hidden;padding-right:.16em}
.hero-v3-tagline-live{display:inline-flex;align-items:baseline;justify-self:start;white-space:nowrap}
[data-v3-tagline-cursor]{width:.08em;height:.88em;margin-left:.08em;display:inline-block;background:currentColor;opacity:0;transform:translateY(.08em)}
.hero-v3-scroll{position:absolute;left:0;right:0;bottom:22px;display:flex;flex-direction:column;align-items:center;gap:8px;font:500 11px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ink3);opacity:0}
.hero-v3-scroll i{width:1.5px;height:30px;background:var(--ink3);animation:cue 1.8s ease-in-out infinite}
.hero-big{position:absolute;left:0;right:0;top:calc(var(--navh) + 30svh);display:flex;flex-direction:column;align-items:center;text-align:center;padding-inline:max(20px,env(safe-area-inset-left))}

.hero-big .hero-cta{justify-content:center}

/* ---------- 01 · why jim ---------- */
.why-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;width:100%}
.why-art{display:flex;flex-direction:column;gap:12px;min-width:0;align-items:flex-start}
.term{padding:0;overflow:hidden;max-width:100%}
.term-bar{display:flex;align-items:center;gap:6px;height:30px;padding:0 12px;box-shadow:0 1px 0 var(--hair);font:500 11px var(--mono);color:var(--ink3)}
.term-bar i{width:9px;height:9px;box-shadow:inset 0 0 0 1.5px var(--ink3)}
.term-bar span{margin-left:8px}
.ascii{margin:0;padding:14px 16px;font:500 clamp(4.4px,.62vw,7.6px)/1.12 var(--mono);color:var(--ink);white-space:pre;letter-spacing:0}

.why-cap{font:500 12px var(--mono);color:var(--ink3)}
.why-text{display:flex;flex-direction:column;gap:14px;min-width:0}
.why-h{font-size:clamp(32px,3.8vw,52px);line-height:1.02;font-weight:800}

.why-quote blockquote{margin:0;font-size:clamp(22px,2.2vw,30px);line-height:1.25;font-weight:700;letter-spacing:-.02em}
.why-quote .attrib{margin-top:14px;font:500 12px var(--mono);color:var(--ink3)}
.defs{display:flex;flex-direction:column;gap:0;max-height:62vh;overflow:auto}
.def{padding:16px 0;box-shadow:0 1px 0 var(--hair)}
.def:first-child{padding-top:0}
.def-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.def-head b{font-size:clamp(22px,2vw,28px);font-weight:800;letter-spacing:-.02em}
.def-head .pr{font:500 12.5px var(--mono);color:var(--ink3)}
.def-pos{font:italic 500 13px var(--sans);color:var(--ink3);margin-top:2px}
.def-1{margin-top:6px;font-weight:600;font-size:17px}

/* ---------- 02 · the problem ---------- */
.prob-in .copy h2{font-size:clamp(28px,3.1vw,42px)}
.harms{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.harms li{color:var(--ink2);font-size:17px;font-weight:600;line-height:1.4;padding-left:18px;position:relative}
.harms li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:1.5px;background:var(--ink3)}
.harms li.strong{color:var(--ink);font-weight:800}
.swap-a,.swap-b{display:flex;flex-direction:column;gap:14px}
.prob-vis{height:min(66vh,580px)}
.ob{position:absolute;left:var(--x);top:var(--y);transform:rotate(var(--r));transform-origin:50% 50%}
.ob.hot{z-index:3}
.links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:4}
.links path{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:6 6}
/* spreadsheet (green hints at the spreadsheet app, no brand) */
.sheet{width:250px;background:#F4F5F2;color:#1B1B1B;box-shadow:0 0 0 1px #BFC5BC,0 18px 30px -18px rgba(0,0,0,.7);font:500 11px var(--sans)}
.sh-top{display:flex;align-items:center;gap:8px;height:24px;padding:0 8px;background:#1E7145;color:#fff;font:600 11px var(--sans)}
.sh-top i{width:12px;height:12px;background:#fff;opacity:.9}
.sh-grid{display:grid;grid-template-columns:20px 44px 52px 40px 1fr}
.sh-grid span{padding:4px 6px;border-right:1px solid #D7DBD3;border-bottom:1px solid #D7DBD3;font-variant-numeric:tabular-nums;white-space:nowrap}
.sh-grid .h,.sh-grid .n{background:#E5E8E2;color:#6B6F69;text-align:center;font-size:10px}
.sh-grid .hl-row{transition:background .3s}
.sheet.hot .hl-row{background:#FCE7A6}
/* bathroom scale */
.scale-ob{width:150px;height:150px;border-radius:22px;background:linear-gradient(160deg,#3A3A3C,#1C1C1E);box-shadow:inset 0 0 0 1.5px #5A5A5E,0 20px 30px -18px rgba(0,0,0,.8);display:grid;place-items:center}
.scale-ob .lcd{background:#0D1A12;color:#7CF0A8;font:500 26px var(--mono);padding:6px 12px;letter-spacing:.04em;box-shadow:inset 0 0 0 1px #234;margin-top:-30px}
.scale-ob .lcd small{font-size:12px;margin-left:3px}
/* handwritten journal */
.journal{width:200px;padding:16px 18px 18px;background:#EDE6D3;color:#2A2620;font:600 16px/1.6 var(--hand);
  background-image:repeating-linear-gradient(transparent 0 24.6px,#C9BFA5 24.6px 25.6px);background-position:0 12px;box-shadow:0 18px 30px -18px rgba(0,0,0,.8)}
.journal p{margin:0}
/* run map (orange route hints at running apps) */
.run{width:230px;background:#1C1C1E;box-shadow:inset 0 0 0 1px #3A3A3C,0 18px 30px -18px rgba(0,0,0,.8);transition:box-shadow .3s}
.run svg{display:block;width:100%;height:auto}
.run .streets path{stroke:#3A3A3C;stroke-width:3;fill:none}
.run .route{fill:none;stroke:#F26B21;stroke-width:3.5;stroke-linejoin:round;stroke-linecap:round}
.run-f{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;font-size:12px;color:#EDEDED}
.run-f span{font-family:var(--mono);color:#A1A1A1}
.run.hot{box-shadow:inset 0 0 0 2px #F26B21,0 18px 30px -18px rgba(0,0,0,.8)}
/* sleep ring (watch-like) */
.ring{width:140px;height:140px;border-radius:34px;background:#101012;box-shadow:inset 0 0 0 1.5px #3A3A3C,0 18px 30px -18px rgba(0,0,0,.8);display:grid;place-items:center;position:relative}
.ring svg{position:absolute;inset:10px;width:120px;height:120px;transform:rotate(-90deg)}
.ring .r0{fill:none;stroke:#26262A;stroke-width:8}
.ring .r1{fill:none;stroke:#7B6CF6;stroke-width:8;stroke-linecap:round;stroke-dasharray:62 100}
.ring .r2{fill:none;stroke:#4FB3F0;stroke-width:8;stroke-linecap:round;stroke-dasharray:40 100}
.ring-l{position:relative;text-align:center;color:#EDEDED}
.ring-l b{display:block;font-size:16px;font-weight:800}
.ring-l span{font:500 10px var(--mono);color:#9A9AA0}
.ring.hot{box-shadow:inset 0 0 0 2px #7B6CF6,0 18px 30px -18px rgba(0,0,0,.8)}
/* notes app (yellow hint) */
.notes{width:180px;background:#F7F4EA;color:#222;box-shadow:0 18px 30px -18px rgba(0,0,0,.8);padding-bottom:10px;font:500 13px/1.5 var(--sans)}
.nt-top{background:#E9B93A;color:#2A2205;font-weight:800;padding:6px 10px;margin-bottom:6px}
.notes p{margin:0 10px}
/* calorie list (blue hint) */
.cal{width:190px;background:#F3F5F9;color:#1D2330;box-shadow:0 18px 30px -18px rgba(0,0,0,.8);padding-bottom:8px;font:500 13px var(--sans)}
.cl-top{background:#2F6FDE;color:#fff;font-weight:800;padding:6px 10px;margin-bottom:4px}
.cal p{margin:0;display:flex;justify-content:space-between;padding:4px 10px;border-bottom:1px solid #DCE2EC}
.cal em{display:block;padding:6px 10px 0;font:italic 600 12px var(--sans);color:#C0392B}
/* camera roll */
.photos{width:150px;background:#151517;box-shadow:inset 0 0 0 1px #3A3A3C,0 18px 30px -18px rgba(0,0,0,.8);padding:6px 6px 8px;font:500 10.5px var(--mono);color:#9A9AA0}
.ph-g{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-bottom:6px}
.ph-g i{aspect-ratio:1;background:linear-gradient(135deg,#55534F,#2E2D2B)}
.ph-g i:nth-child(2n){background:linear-gradient(135deg,#6A645C,#3A3733)}
/* old pdf */
.pdf{width:116px;display:flex;flex-direction:column;align-items:center;gap:6px;font:500 10.5px var(--mono);color:var(--ink2)}
.pdf-pg{width:84px;height:104px;background:#F2F2F0;position:relative;padding:22px 10px 0;display:flex;flex-direction:column;gap:7px;box-shadow:0 18px 30px -18px rgba(0,0,0,.8)}
.pdf-pg::before{content:"PDF";position:absolute;left:0;top:0;background:#D93A2B;color:#fff;font:800 9px var(--sans);padding:3px 6px}
.pdf-pg i{height:4px;background:#C9C9C5}
/* the one timeline */
.timeline{position:absolute;left:50%;top:50%;width:min(440px,92%);transform:translate(-50%,-50%);padding:18px;z-index:5}

/* ---------- 03 · you ---------- */
.fit-in{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}
.fit-h{font-size:clamp(34px,5.6vw,80px);line-height:1;font-weight:800;letter-spacing:-.045em}
.diffs{display:flex;flex-direction:column;gap:12px;margin-top:18px;width:min(760px,100%)}
.diff{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:14px 18px;background:var(--page);box-shadow:inset 0 0 0 1.5px var(--line);text-align:left}
.diff b{font-size:clamp(17px,1.7vw,21px);font-weight:800}
.diff .ex{display:flex;flex-wrap:wrap;gap:6px}
.diff .ex i{font:500 12px var(--mono);font-style:normal;padding:4px 8px;box-shadow:inset 0 0 0 1px var(--hair);color:var(--ink2)}
.listen{margin-top:26px;font-size:clamp(24px,2.8vw,36px);font-weight:800;letter-spacing:-.025em}

/* ---------- 05 · your goals ---------- */
.copy .closing{color:var(--ink);font-weight:800;font-size:18px;line-height:1.35;margin-top:6px}

.g-bar{display:flex;align-items:center;gap:10px;font:500 12px var(--mono);color:var(--ink2)}
.g-bar i{flex:1;height:8px;background:var(--track);display:block}
.g-bar b{display:block;height:100%;background:var(--ink)}

/* ---------- Jim costumes ---------- */

.jim-critter{overflow:visible}
.jim.rolling .jim-bubble{opacity:0!important}

/* ---------- small screens ---------- */
@media (max-width:900px){
  .hero-v3-stage{max-height:42svh}
  .hero-v3-tagline{min-height:110px;gap:16px;font-size:18px}
  .hero-big{top:calc(var(--navh) + 24svh)}
  .why-in{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:14px;height:100%;padding-top:16px;align-items:start}
  .why-art{align-items:center}
  .ascii{font-size:4.1px;padding:8px 10px}
  .why-h{font-size:28px}
  .why-quote blockquote{font-size:19px}
  .defs{max-height:52svh}
  .def{padding:10px 0}.def-head b{font-size:20px}.def-1{font-size:15px}
  .prob-vis{height:100%}
  .ob{scale:.58;transform-origin:0 0}
  .harms li{font-size:14px}
  .harms{gap:6px}
  .timeline{padding:12px}
  .fit-in{gap:10px;padding-top:12px}
  .diffs{gap:8px;margin-top:8px}
  .diff{padding:10px 12px}
  .diff .ex i{font-size:10.5px;padding:3px 6px}
  .listen{margin-top:10px}

  .copy .closing{display:none}

}

/* =====================================================================
   v2.2 · round 3: new order, now-what, meet Jim, food demo, hence, finale
   ===================================================================== */
/* hero, first screen */
.hero-v3-stage{max-height:min(44svh,440px)}
.hero-v3-tagline{min-height:118px;gap:16px}

.hero-big{top:calc(var(--navh) + 26svh)}

.jim .jim-body{pointer-events:auto;cursor:pointer}
.jim.touring .jim-body{animation:none}

/* why: the friction paragraph that leads into the problem */

/* 04 · now what */

.tabs{left:0;top:0;width:min(560px,100%);background:#202124;box-shadow:inset 0 0 0 1px #3A3A3C,0 18px 30px -18px rgba(0,0,0,.8)}
.tab-row{display:flex;gap:2px;padding:6px 6px 0;overflow:hidden;height:30px}
.tab-row i{flex:0 0 auto;width:72px;height:24px;background:#35363A;border-radius:6px 6px 0 0;font:500 9.5px var(--sans);font-style:normal;color:#BDBDBD;padding:6px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tab-row i:last-child{background:#4A4B50;color:#fff}
.tab-url{margin:0 6px 6px;background:#35363A;color:#D7D7D7;font:500 11px var(--sans);padding:6px 10px;border-radius:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.paper{width:250px;background:#F6F5F1;color:#222;padding:16px 16px 14px;box-shadow:0 22px 34px -18px rgba(0,0,0,.85);font-family:Georgia,'Times New Roman',serif}
.paper.p1{left:2%;top:18%;transform:rotate(-4deg)}
.paper.p2{left:36%;top:26%;width:230px;transform:rotate(5deg)}
.pp-j{font:italic 9px Georgia,serif;color:#6B6B66;margin-bottom:6px}
.pp-t{font:700 12.5px/1.25 Georgia,serif;margin-bottom:8px}
.pp-a{font:700 9px var(--sans);letter-spacing:.1em;text-transform:uppercase;margin-bottom:4px}
.pp-lines{display:flex;flex-direction:column;gap:4px}
.pp-lines i{height:4px;background:#CFCFC9}
.pp-lines i:nth-child(3n){width:86%}.pp-lines i:last-child{width:58%}
.pp-lines i.hl{background:#F2D96B}
.pp-fig{width:100%;height:auto;margin-top:8px}
.pp-fig path{fill:none;stroke:#888;stroke-width:1}.pp-fig .fp{stroke:#222;stroke-width:1.5}.pp-fig circle{fill:#222}
.calc{width:150px;padding:10px 12px;background:#F3F5F9;color:#1D2330;display:flex;flex-direction:column;gap:2px;box-shadow:0 18px 30px -18px rgba(0,0,0,.85)}
.calc .k{font:500 10px var(--mono);color:#66708A}
.calc b{font-size:26px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.calc em{font:600 11px var(--sans);font-style:normal;color:#66708A}
.calc.c1{left:68%;top:14%;transform:rotate(3deg)}
.calc.c2{left:74%;top:40%;transform:rotate(-4deg)}
.calc.c3{left:62%;top:64%;transform:rotate(2deg)}
.forum{left:6%;top:72%;background:#1A1A1B;box-shadow:inset 0 0 0 1px #3A3A3C;color:#D7DADC;padding:10px 14px;display:flex;flex-direction:column;gap:2px;font:500 13px var(--sans);transform:rotate(-2deg)}
.forum b{font:600 11px var(--sans);color:#FF7A45}
.formula{left:26%;top:86%;display:flex;align-items:center;gap:8px;background:#F4F5F2;color:#1B1B1B;padding:6px 10px;box-shadow:0 0 0 1px #BFC5BC;font:500 11px var(--mono);white-space:nowrap;max-width:100%;overflow:hidden}
.formula span{font:italic 700 11px Georgia,serif;color:#1E7145}

@keyframes jitter{50%{translate:1px -1px}}

/* 05 · meet Jim */

/* 07 · goals: three goals now */

/* 10 · workout: the app's dial, the superset, a run */
.dial-wrap{position:relative;width:200px;height:200px;margin:4px auto 0}
.dial{width:100%;height:100%}
.d-face{fill:var(--page);stroke:var(--line);stroke-width:1.5}
.d-ticks line{stroke:var(--ink3);stroke-width:1}
.d-ticks line.maj{stroke:var(--ink);stroke-width:2}
.d-nums text{fill:var(--ink3);font:500 9px var(--mono);text-anchor:middle;dominant-baseline:middle}
.d-hand{stroke:var(--ink);stroke-width:2.5;stroke-linecap:round}
.d-pin{fill:var(--ink)}
.d-mid{position:absolute;left:0;right:0;top:56px;display:flex;justify-content:center;gap:16px}
.d-pair{display:flex;flex-direction:column;align-items:center;width:44px;height:44px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line);justify-content:center;background:var(--page)}
.d-pair b{font-size:15px;font-weight:800;line-height:1}.d-pair span{font:500 8px var(--mono);color:var(--ink3)}
.d-time{position:absolute;left:0;right:0;top:118px;display:flex;flex-direction:column;align-items:center}
.d-time b{font-size:26px;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1}
.d-time span{font:500 10px var(--mono);color:var(--ink3)}
.setcard{height:350px}
.ss-head{font:500 11px var(--mono);color:var(--ink3);padding:2px 0 6px;letter-spacing:.03em}

/* 11 · food demo */

.pkg-box{background:#F2F0EA;color:#1C2A3A;padding:12px 14px;display:flex;flex-direction:column;gap:2px;position:relative}
.pkg-name{font:800 16px var(--sans);letter-spacing:.06em}
.pkg-sub{font:600 11px var(--sans);color:#5A6675}
.barcode{position:relative;display:flex;gap:2px;height:46px;margin-top:10px;padding:4px 8px;background:#fff;width:150px;align-items:stretch}
.barcode i{flex:1;background:#111}
.barcode i:nth-child(3n){flex:.4}.barcode i:nth-child(4n){flex:2}.barcode i:nth-child(5n){background:transparent}
.scanline{position:absolute;left:-6px;right:-6px;top:50%;height:2px;background:#E5413A;box-shadow:0 0 10px #E5413A;opacity:0}
.found{margin-top:10px;padding:10px 12px;box-shadow:inset 0 0 0 1.5px var(--line);display:flex;flex-direction:column;gap:2px}
.found b{font-weight:800}.found span{font-size:13px;color:var(--ink2)}.found em{font:500 11px var(--mono);font-style:normal;color:var(--ink3)}

.v-rows div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;box-shadow:0 -1px 0 var(--hair)}
.v-rows b{font-weight:700;font-size:14.5px}.v-rows span{font-size:12.5px;color:var(--ink2)}
.food-vis .phone{right:0;top:12px}
.screen .shot{transition:none}

/* 12 · hence */

.hence-k{font:500 clamp(16px,1.6vw,20px) var(--mono);color:var(--ink3)}
.hence-h{font-size:clamp(40px,6.4vw,92px);line-height:1;font-weight:800;letter-spacing:-.045em;display:flex;flex-direction:column}
.hence-h .soft{color:var(--ink3)}

/* 14 · finale */
.finale{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding-block:160px 90px}
.finale .spot{left:50%;top:40px}
.fin-h{font-size:clamp(40px,6.6vw,96px);line-height:1;font-weight:800;letter-spacing:-.045em;max-width:14ch}
.finale .lede{max-width:46ch}

@media (max-width:900px){
  .hero-v3-stage{max-height:30svh}
  .hero-v3-tagline{min-height:96px;gap:10px;font-size:16px}

  .hero-big{top:calc(var(--navh) + 20svh)}

  .tabs{width:150%}

  .dial-wrap{width:150px;height:150px}.d-mid{top:40px;gap:10px}.d-pair{width:34px;height:34px}.d-time{top:88px}.d-time b{font-size:20px}
  .setcard{height:300px}

  .pkg-box{padding:8px 10px}.barcode{height:32px;width:110px}

  .finale{padding-block:110px 60px}
}

/* =====================================================================
   v2.3 · round 4: problems first, philosophy, solutions; reading-pace tour
   ===================================================================== */
/* hero */
.hero-big{top:calc(var(--navh) + 58svh);gap:22px}
.one-line{font-size:clamp(26px,3.2vw,44px);line-height:1.12;font-weight:800;letter-spacing:-.03em;text-align:center;display:flex;flex-direction:column;align-items:center}
.one-line .soft{color:var(--ink3)}
.hero-big .hero-cta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 18px}

/* 01 · complex: five things that pull on each other */
.cx-vis{height:min(62vh,540px)}
.cx-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cx-lines line{stroke:var(--ink3);stroke-width:1.5;stroke-dasharray:1;stroke-dashoffset:1}
.node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 16px;background:var(--page);box-shadow:inset 0 0 0 1.5px var(--line);min-width:128px;z-index:2}
.node b{font-weight:800;font-size:17px}
.node span{font:500 11.5px var(--mono);color:var(--ink3);white-space:nowrap}
.cx-vis.tense .node{animation:jitter .2s steps(2) infinite}

/* 02 · you: more room */
.fit-in{gap:22px}
.diffs{gap:14px}

/* 05 · philosophy: inline long definitions */
.def-2{margin-top:6px;color:var(--ink2);font-size:15px;line-height:1.5;max-width:52ch}
.defs{max-height:none;overflow:visible}
.def{padding:14px 0}

/* 07 · numbers: the points drop in from the conversation */

/* 08 · program: research flies into Jim's wand */
.plan-vis .phone{left:0;top:12px}

.plan-vis .anatomy{top:0}
.jim-wand{opacity:0;transition:opacity .3s}
.jim.wand .jim-wand{opacity:1}
.jim-wand .wand{stroke:var(--ink);stroke-width:5;stroke-linecap:round}
.jim-wand .star{fill:#F5D76E;stroke:#000;stroke-width:1.5}
.jim.wand.casting .jim-wand .star{animation:twinkle .5s ease-in-out infinite}
@keyframes twinkle{50%{transform:scale(1.25) rotate(20deg);transform-origin:124px 34px}}

/* Jim: beard only */
.jim-beard{opacity:0;transition:opacity .35s}
.jim.beard .jim-beard{opacity:1}
.jim-beard .beard{fill:#C9C7C0;stroke:#000;stroke-width:2.5;stroke-linejoin:round}
.jim-beard .beard-s{fill:none;stroke:#77756F;stroke-width:2.2;stroke-linecap:round}

/* 09 · HQ: sources you can read */
.src{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:4px 8px;box-shadow:inset 0 0 0 1px var(--hair);font:600 11px var(--mono);color:var(--ink2);letter-spacing:.02em;text-transform:none;margin-top:auto}
.src i{width:8px;height:8px;border-radius:50%;background:var(--ink)}
.src.s-ah i{background:#FF4D6D}.src.s-strava i{background:#FC5200}.src.s-jim i{background:var(--ink)}
.route{width:100%;height:34px;margin-top:6px}
.route path{fill:none;stroke:#FC5200;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}

/* 11 · food: the phone really scans, listens, shows the plan */
.steps-l{list-style:none;counter-reset:s;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.steps-l li{counter-increment:s;padding:6px 10px;box-shadow:inset 0 0 0 1.5px var(--hair);font:600 13px var(--mono);color:var(--ink3);transition:all .3s}
.steps-l li::before{content:counter(s) " · "}
.steps-l li.on{box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink);background:var(--page)}
.food-vis .screen .app,.food-vis .screen .shot{opacity:0}
.food-vis .screen .app.on,.food-vis .screen .shot.on{opacity:1}
.app.cam{background:#0B0B0C;color:#fff;background-image:none}
.app-status.dk{color:#fff}.app-status.dk .sb{background:linear-gradient(90deg,#fff 0 22px,transparent 22px 30px,#fff 30px 58px)}
.cam-title{text-align:center;font-weight:800;font-size:20px;margin:8px 0 18px}
.viewfinder{position:relative;margin:0 26px;height:470px;background:radial-gradient(circle at 50% 45%,#2A2A2C,#111 70%);display:grid;place-items:center;overflow:hidden}
.pkg-box.big{width:260px;padding:20px 18px;transform:rotate(-4deg);box-shadow:0 20px 40px rgba(0,0,0,.6)}
.pkg-box.big .pkg-name{font-size:24px}.pkg-box.big .pkg-sub{font-size:13px}
.pkg-box.big .barcode{width:200px;height:70px}
.bracket{position:absolute;width:40px;height:40px;border:4px solid #fff}
.bracket.tl{left:40px;top:120px;border-right:0;border-bottom:0}.bracket.tr{right:40px;top:120px;border-left:0;border-bottom:0}
.bracket.bl{left:40px;bottom:120px;border-right:0;border-top:0}.bracket.br{right:40px;bottom:120px;border-left:0;border-top:0}
.viewfinder .scanline{position:absolute;left:40px;right:40px;top:50%;height:3px;background:#E5413A;box-shadow:0 0 14px #E5413A;opacity:1}
.cam-hint{text-align:center;color:#9A9AA0;font-size:15px;margin-top:22px}
.app.logged{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 24px}
.lg-check{margin-top:150px;width:84px;height:84px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;font-size:44px;font-weight:800}
.lg-name{margin-top:24px;font-size:26px;font-weight:800;letter-spacing:-.02em}
.lg-sub{margin-top:6px;color:#6E6E68;font-size:15px}
.lg-mac{margin-top:30px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%}
.lg-mac div{display:flex;flex-direction:column;gap:2px;padding:12px 0;box-shadow:inset 0 0 0 1.5px #1C1C1A}
.lg-mac b{font-size:20px;font-weight:800}.lg-mac span{font:500 11px var(--mono);color:#6E6E68}
.app.vapp{display:flex;flex-direction:column;align-items:center;padding:0 26px}
.v-title{font-size:26px;font-weight:800;margin-top:26px}
.v-mic{margin-top:60px;width:120px;height:120px;border-radius:50%;background:#000;display:grid;place-items:center;box-shadow:0 0 0 14px rgba(0,0,0,.08)}
.v-mic i{width:26px;height:46px;border-radius:14px;background:#fff}
.v-wave{display:flex;gap:6px;align-items:center;height:60px;margin-top:34px}
.v-wave i{width:7px;height:18px;background:#000;border-radius:4px}
.v-text{margin-top:18px;font-size:21px;font-weight:700;text-align:center;min-height:60px}
.vapp .v-rows{width:100%;margin-top:22px}
.vapp .v-rows div{display:flex;justify-content:space-between;padding:12px 0;box-shadow:0 -1px 0 rgba(0,0,0,.12);font-size:16px}
.vapp .v-rows span{color:#6E6E68;font-size:14px}
.food-vis .phone{right:0;left:auto;top:12px}
.food-vis .today{position:absolute;left:0;top:0;width:min(360px,52%);padding:18px}
.intake{position:absolute;left:0;bottom:0;width:min(360px,52%);padding:16px 18px}
.in-row{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 0;box-shadow:0 -1px 0 var(--hair)}
.in-row b{font-weight:800}.in-row span{grid-column:1;font-size:13px;color:var(--ink2)}
.in-row em{grid-row:1 / span 2;grid-column:2;align-self:center;font:600 11px var(--mono);font-style:normal;padding:4px 8px;box-shadow:inset 0 0 0 1.5px var(--line)}
.in-row.soon b,.in-row.soon span{color:var(--ink3)}.in-row.soon em{box-shadow:inset 0 0 0 1.5px var(--ink3);color:var(--ink3)}

/* breathing room */
.stage-in{gap:72px}
.copy{gap:18px}

/* the tour */
.tour-pill{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:45;display:inline-flex;align-items:center;gap:10px;
  padding:10px 16px;background:var(--page);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line);font:600 12px var(--mono);letter-spacing:.04em;cursor:pointer;border:0;opacity:0;pointer-events:none;transition:opacity .4s}
.tour-pill.show{opacity:1;pointer-events:auto}
.tp-dot{width:8px;height:8px;border-radius:50%;background:var(--ink);animation:pulse 1.4s ease-in-out infinite}
.touring .tour-pill .tp-dot{background:#E5413A}

@media (max-width:900px){
  .hero-big{top:calc(var(--navh) + 48svh)}
  .node{min-width:0;padding:8px 10px}.node b{font-size:14px}.node span{font-size:10px}

  .food-vis .today,.intake{width:min(250px,64%);padding:10px 12px}
  .steps-l li{font-size:11px;padding:4px 8px}
  .stage-in{gap:14px}
}

/* =====================================================================
   v2.5 · round 5: tighter story. merged problem + goals scenes, quote under Socrates,
   the wand callback, HQ you can edit, Jim on every screen, the 3D phone scan, "hence…"
   ===================================================================== */
/* tap ripple (the finger that "presses" things on the page) */
.tap-r{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;pointer-events:none;color:#8A8A84;
  box-shadow:0 0 0 2px currentColor;background:rgba(138,138,132,.22);opacity:0;z-index:5}
.tap-r.on,.tap>.tap-r{animation:tapr .7s ease-out infinite}
@keyframes tapr{0%{transform:scale(.35);opacity:1}100%{transform:scale(1.5);opacity:0}}
.btn{position:relative}
.btn.press{transform:scale(.95)}

/* 03 · the problem: the pile, then "now what?" lands on top of it */
.pile,.nw-layer{position:absolute;inset:0}
.pile{transform-origin:50% 50%}
.nw-layer>*{position:absolute}
.prob-vis.stress .nw-layer>*{animation:jitter .18s steps(2) infinite}
.prob-in .copy .eyebrow{margin-bottom:2px}

/* 05 · the philosophy: the review sits under Socrates */
.ascii{font-size:clamp(4px,min(.62vw,.66svh),7.6px)}
.why-quote{max-width:46ch;margin-top:10px}
.why-quote blockquote{font-size:clamp(18px,1.6vw,23px);line-height:1.3}
.why-quote .attrib{margin-top:8px}
.why-text .defs{margin-top:10px}

/* 06 · your goals: the chat, and what Jim heard (now measurable) */
.goals-vis .phone{left:0;top:12px}
.goals-vis .heard{right:0;top:50%;transform:translateY(-50%);width:min(380px,56%);padding:16px 18px}
.hg{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;padding:10px 0;box-shadow:0 1px 0 var(--hair);align-items:baseline}
.hg .k{font:500 11.5px var(--mono);color:var(--ink3);text-transform:uppercase;letter-spacing:.05em}
.hg-t{font-weight:800;font-size:19px;letter-spacing:-.02em;line-height:1.15;min-height:1.15em}
.hg-d{font:500 11.5px var(--mono);color:var(--ink3);margin-top:4px;transition:opacity .3s}
.hg .g-bar{display:flex;align-items:center;gap:10px;margin-top:7px;font:500 11.5px var(--mono);color:var(--ink2);opacity:0;transition:opacity .3s}
.hg .g-bar i{flex:1;height:7px;background:var(--track);display:block}
.hg .g-bar b{display:block;height:100%;background:var(--ink);transform-origin:0 50%;transform:scaleX(0);transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.hg .g-bar.on{opacity:1}
.hg .g-bar.on b{transform:none}
.heard .heard-row{padding:9px 0}

/* 07 · your program: what you saw in "now what?", now flying into the wand */
.callback{position:absolute;right:0;top:0;width:min(420px,58%);height:100%}
.cb{position:absolute;left:var(--x);top:var(--y);rotate:var(--r)}
.cb-tabs{width:230px;padding:5px 5px 6px;background:#202124;box-shadow:inset 0 0 0 1px #3A3A3C,0 18px 30px -18px rgba(0,0,0,.85)}
.cbt{display:flex;gap:2px;height:15px;margin-bottom:5px}
.cbt i{flex:1;background:#35363A;border-radius:4px 4px 0 0}.cbt i:last-child{background:#4A4B50}
.cb-tabs span{display:block;background:#35363A;color:#D7D7D7;font:500 9.5px var(--sans);padding:4px 9px;border-radius:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-paper{width:178px;padding:10px 11px 11px;background:#F6F5F1;color:#222;display:flex;flex-direction:column;gap:3px;box-shadow:0 18px 30px -18px rgba(0,0,0,.85)}
.cb-paper em{font:italic 8px Georgia,serif;color:#6B6B66}
.cb-paper b{font:700 10.5px/1.25 Georgia,'Times New Roman',serif;margin-bottom:3px}
.cb-paper i{height:3px;background:#CFCFC9}.cb-paper i.hl{background:#F2D96B}
.cb-calc{width:122px;padding:7px 10px;background:#F3F5F9;color:#1D2330;display:flex;flex-direction:column;box-shadow:0 18px 30px -18px rgba(0,0,0,.85)}
.cb-calc span{font:500 8.5px var(--mono);color:#66708A}
.cb-calc b{font-size:21px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.cb-forum{padding:7px 11px;background:#1A1A1B;box-shadow:inset 0 0 0 1px #3A3A3C;color:#D7DADC;display:flex;flex-direction:column;font:500 11px var(--sans)}
.cb-forum b{font:600 9.5px var(--sans);color:#FF7A45}
.cb-you{padding:6px 10px;background:var(--page);box-shadow:inset 0 0 0 1.5px var(--line);font:500 12px var(--mono);color:var(--ink2);white-space:nowrap}

/* 08 · HQ you can edit */
.hq-edit{position:absolute;right:0;top:-50px;z-index:6;display:grid;height:34px;padding:0 14px;border:0;background:var(--page);color:var(--ink);
  box-shadow:inset 0 0 0 1.5px var(--line);font:600 12px var(--mono);letter-spacing:.04em;cursor:default;transition:transform .15s}
.hq-edit span{grid-area:1/1;align-self:center;transition:opacity .2s}
.hq-edit .e-b{opacity:0}
.hq-edit.on{background:var(--ink);color:var(--inv);box-shadow:none}
.hq-edit.on .e-a{opacity:0}.hq-edit.on .e-b{opacity:1}
.hq-edit.hit{transform:scale(.92)}
.hc-x{position:absolute;right:7px;top:7px;z-index:3;width:22px;height:22px;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:15px;line-height:1;
  background:var(--ink);color:var(--inv);opacity:0;transform:scale(.4);transition:opacity .2s,transform .2s}
.editing .hc-x{opacity:1;transform:none}
.editing .hc-x.hit{transform:scale(.78);background:#E5413A;color:#fff}
.editing .hc{box-shadow:none;outline:1.5px dashed var(--ink2);outline-offset:-1.5px;animation:wig .34s ease-in-out infinite alternate}
.editing .hc:nth-child(2n){animation-delay:-.17s}
@keyframes wig{from{rotate:-.45deg}to{rotate:.45deg}}
.hq-grid .hc.lift{z-index:5;animation:none;scale:1.04;outline:2px solid var(--ink);outline-offset:-2px;box-shadow:0 26px 44px -18px rgba(0,0,0,.95)}
.hc-swap{display:grid}
.hc-face{grid-area:1/1;display:flex;flex-direction:column;gap:4px;min-width:0;transition:opacity .3s}
.hc-face.fb{opacity:0}
.hc-swap.empty .fa,.hc-swap.swapped .fa{opacity:0}
.hc-swap.swapped .fb{opacity:1}
.hc-slot{grid-area:1/1;display:grid;place-items:center;font:600 12px var(--mono);color:var(--ink2);opacity:0;transition:opacity .25s}
.hc-swap.empty .hc-slot{opacity:1}
.scale .dot.hrv{left:72%}
.hq-pick{position:absolute;z-index:7;display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:min(250px,64%);padding:10px 12px 12px;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s;pointer-events:none}
.hq-pick.on{opacity:1;transform:none}
.hq-pick .k{width:100%;font:500 10.5px var(--mono);color:var(--ink3);text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}
.pc{padding:5px 9px;box-shadow:inset 0 0 0 1.5px var(--line);font:700 12.5px var(--sans);transition:background .15s,color .15s}
.pc.hit{background:var(--ink);color:var(--inv)}
.finger{position:absolute;left:0;top:0;z-index:9;width:36px;height:36px;margin:-18px 0 0 -18px;border-radius:50%;pointer-events:none;opacity:0;
  background:rgba(255,255,255,.2);box-shadow:0 0 0 1.5px rgba(255,255,255,.92),0 8px 20px rgba(0,0,0,.6);transition:opacity .25s,scale .12s,background .12s}
.finger.down{scale:.78;background:rgba(255,255,255,.5)}

/* 09 · native logging + Jim's sheet inside the phone */
.screen .tap-r{color:#1C1C1A;background:rgba(0,0,0,.12);width:58px;height:58px;margin:-29px 0 0 -29px}
.app.jsheet{background:transparent;background-image:none;pointer-events:none;z-index:2}
.js-dim{position:absolute;inset:0;background:rgba(0,0,0,.4)}
.js-panel{position:absolute;left:0;right:0;bottom:0;height:600px;background:#fff;box-shadow:0 -1.5px 0 #1C1C1A;padding:10px 0 0;
  background-image:linear-gradient(rgba(0,0,0,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.05) 1px,transparent 1px);background-size:16px 16px}
.js-grab{width:46px;height:5px;border-radius:3px;background:#C9C9C4;margin:0 auto 12px}
.js-head{display:flex;align-items:center;gap:10px;padding:2px 18px 14px;margin-bottom:16px;box-shadow:0 1px 0 rgba(0,0,0,.14)}
.js-head .mini-jim{width:30px;height:30px}
.js-head .mini-jim::after{inset:10px 8px 8px 10px}
.js-head b{font-size:19px;font-weight:800}
.js-ctx{margin-left:auto;padding:5px 8px;font:500 11.5px var(--mono);color:#56564F;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}
.jsheet .msg{opacity:0;transform:translateY(10px);transition:opacity .25s,transform .25s}
.jsheet .msg.in{opacity:1;transform:none}
.jsheet .msg.them{font-weight:600}
.js-input{position:absolute;left:16px;right:16px;bottom:30px;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 6px 0 14px;
  box-shadow:inset 0 0 0 1.5px #1C1C1A;background:#fff;color:#8A8A84;font-size:15px}
.js-input i{width:40px;height:40px;background:#000;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700}
.sc-form{gap:6px}
.cues{list-style:none;margin:2px 0 0;padding:0;counter-reset:c;display:flex;flex-direction:column}
.cue{counter-increment:c;display:grid;grid-template-columns:24px minmax(0,1fr);gap:1px 10px;padding:8px 0;box-shadow:0 1px 0 var(--hair)}
.cue::before{content:counter(c);grid-row:span 2;width:22px;height:22px;display:grid;place-items:center;font:600 11px var(--mono);box-shadow:inset 0 0 0 1.5px var(--line)}
.cue b{font-weight:800;font-size:15px;line-height:1.25}
.cue span{font-size:12.5px;color:var(--ink2);line-height:1.3}
.cue-foot{margin-top:auto;font:500 10.5px var(--mono);color:var(--ink3)}
.setlist{padding:14px 16px 6px}
.up{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:8px 0;box-shadow:0 -1px 0 var(--hair);background:var(--page)}
.up span{font-weight:800;font-size:14.5px;line-height:1.25}
.up b{grid-column:1;font-weight:500;font-size:12.5px;line-height:1.3;color:var(--ink2)}
.up em{grid-column:2;grid-row:1 / span 2;align-self:center;font:500 11px var(--mono);font-style:normal;color:var(--ink3)}
.up.now{box-shadow:inset 0 0 0 2px var(--ink);padding-inline:9px;margin-inline:-9px}
.up.now em{color:var(--ink)}
.up.moving{z-index:3;box-shadow:inset 0 0 0 1.5px var(--ink),0 16px 26px -12px rgba(0,0,0,.95)}

/* 10 · food: a real 3D phone and a tub of greek yogurt */
.tub{position:absolute;left:3%;top:calc(var(--ph)*.22);z-index:2;width:clamp(116px,13vw,176px);aspect-ratio:176/214}
.tub-lid{position:absolute;left:-5%;right:-5%;top:0;height:11%;background:#F7F6F2;border-radius:7px 7px 3px 3px;box-shadow:inset 0 -3px 0 #D6D2C6}
.tub-body{position:absolute;left:0;right:0;top:10%;bottom:0;display:flex;flex-direction:column;align-items:center;padding-top:8%;
  background:linear-gradient(90deg,#D7D3C8,#F7F6F2 28%,#F1EFE8 62%,#CFCBBF);clip-path:polygon(0 0,100% 0,92% 100%,8% 100%)}
.tub-label{width:84%;display:flex;flex-direction:column;align-items:center;gap:1px;padding:9% 4% 7%;background:#1C2A3A;color:#fff}
.tub-label b{font:800 clamp(12px,1.35vw,18px)/1 var(--sans);letter-spacing:.08em}
.tub-label span{margin-top:5px;font:600 clamp(8px,.75vw,10px) var(--sans);color:#AFC3D9}
.tub-code{position:relative;width:52%;height:14%;margin-top:9%;display:flex;gap:2px;padding:4px 6px;background:#fff;box-shadow:0 0 0 1px #C9C5BA;transition:box-shadow .2s}
.tub-code i{flex:1;background:#111}.tub-code i:nth-child(3n){flex:.4}.tub-code i:nth-child(4n){flex:2}
.tub-scan{position:absolute;left:-10px;right:-10px;top:50%;height:2px;background:#E5413A;box-shadow:0 0 10px #E5413A;opacity:0}
.tub.found .tub-code{box-shadow:0 0 0 2.5px #E5413A}
.tub-oz{margin-top:auto;margin-bottom:9%;font:600 clamp(8px,.75vw,10px) var(--mono);color:#6E6A60}
.tub-shadow{position:absolute;left:-30%;right:-30%;bottom:-10px;height:1.5px;background:var(--ink3)}
.beam{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:3;opacity:0}
.p3d{position:absolute;right:0;top:12px;z-index:2;height:var(--ph);width:calc(var(--ph)*393/852);perspective:1500px;--T:calc(var(--ph)*.052)}
.p3d-body{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform}
.food-vis .p3d .phone{left:0;right:auto;top:0;transform:translateZ(calc(var(--T)/2));-webkit-backface-visibility:hidden;backface-visibility:hidden}
.p3d-back{position:absolute;inset:0;border-radius:calc(var(--ph)*.065);background:linear-gradient(160deg,#26262A,#151517);box-shadow:inset 0 0 0 1.5px var(--line);
  transform:rotateY(180deg) translateZ(calc(var(--T)/2));-webkit-backface-visibility:hidden;backface-visibility:hidden;display:grid;place-items:center}
.p3d-cam{position:absolute;left:8%;top:3%;width:40%;aspect-ratio:1;border-radius:24%;background:#2E2E32;box-shadow:inset 0 0 0 1.5px #55555A}
.p3d-cam i{position:absolute;width:38%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 38% 38%,#4A5D86,#0B0C10 58%);box-shadow:0 0 0 3px #3F3F44}
.p3d-cam i:nth-child(1){left:8%;top:8%}.p3d-cam i:nth-child(2){left:8%;bottom:8%}.p3d-cam i:nth-child(3){right:8%;top:31%}
.p3d-cam b{position:absolute;right:13%;bottom:11%;width:13%;aspect-ratio:1;border-radius:50%;background:#EDE7C8}
.p3d-logo{font:800 calc(var(--ph)*.07)/1 var(--sans);letter-spacing:-.05em;color:#47474C}
.p3d-side{position:absolute;top:calc(var(--ph)*.07);height:calc(var(--ph)*.86);width:var(--T);left:calc(50% - var(--T)/2);
  background:linear-gradient(90deg,#2A2A2D,#5A5A60 50%,#2A2A2D);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.p3d-side.sr{transform:rotateY(90deg) translateZ(calc(var(--ph)*393/852/2))}
.p3d-side.sl{transform:rotateY(-90deg) translateZ(calc(var(--ph)*393/852/2))}
.app.cam .pkg-box,.app.cam .viewfinder .scanline{transition:opacity .3s}
.app.cam:not(.aim) .pkg-box,.app.cam:not(.aim) .viewfinder .scanline{opacity:0}

/* hence: its own beat, huge */
.hence-in{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:clamp(12px,2.4svh,30px)}
.hence-k{display:flex;align-items:baseline;font-size:clamp(40px,5.4vw,84px);line-height:1;font-weight:800;letter-spacing:-.04em;color:var(--ink3)}
.hk-d i{font-style:normal;opacity:0;transition:opacity .12s}
.hk-d i.on{opacity:1}
.hence-h{display:flex;flex-direction:column;font-size:clamp(56px,9.2vw,150px);line-height:.94;font-weight:800;letter-spacing:-.055em}
.hence-in .lede{max-width:58ch}

/* no animation (reduced motion or no JS libraries): show the finished story */
.static .swap{display:flex;flex-direction:column;gap:32px}
.static .jsheet,.static .finger,.static .beam,.static .hq-pick,.static .tap-r,.static .sc-rest,.static .sc-form,.static .nw-layer,.static .callback,.static .tub,.static .hc-x,.static .hq-edit{display:none}
.static .hk-d i{opacity:1}
.static .hg .g-bar{opacity:1}.static .hg .g-bar b{transform:none}

@media (max-width:900px){
  .nw-layer>*{scale:.6;transform-origin:0 0}
  .why-quote{margin-top:6px}
  .why-quote blockquote{font-size:17px}
  .goals-vis .heard{width:min(250px,70%);padding:11px 12px}
  .hg{grid-template-columns:minmax(0,1fr);gap:0;padding:7px 0}
  .hg .k{display:none}
  .hg-t{font-size:15px}
  .hg-d{font-size:9.5px;margin-top:2px}
  .hg .g-bar{margin-top:4px;font-size:9.5px;gap:6px}.hg .g-bar i{height:5px}
  .heard .heard-row{padding:5px 0;grid-template-columns:70px minmax(0,1fr)}
  .heard .heard-row .v{font-size:12px}
  .heard .card-head b{font-size:14px}
  .heard-go{padding-top:8px}.heard-go .btn{height:32px;font-size:12px;padding:0 12px}
  .callback{width:66%}
  .cb{scale:.7;transform-origin:0 0}
  .hq-grid{inset:44px 0 0}
  .hq-edit{top:0;height:30px;font-size:11px}
  .hc-x{width:18px;height:18px;font-size:12px;right:5px;top:5px}
  .hq-pick{width:min(210px,70%);padding:8px}.pc{font-size:11px;padding:4px 7px}
  .setcard,.setlist{width:min(232px,64%)}
  .setcard{height:286px}
  .cue{padding:5px 0;grid-template-columns:20px minmax(0,1fr)}.cue::before{width:18px;height:18px;font-size:9.5px}
  .cue b{font-size:12.5px}.cue span{font-size:10.5px}
  .cue-foot{display:none}
  .setlist{padding:9px 11px 4px}
  .up{padding:5px 0}.up span{font-size:12.5px}.up b{font-size:10.5px}.up em{font-size:9.5px}
  .tub{left:0;top:4px;width:96px}
  .tub-label b{font-size:11px}.tub-label span{font-size:7px}
  .hence-k{font-size:40px}
  .hence-h{font-size:clamp(44px,13.4vw,72px)}
}

/* round 5 fixes after the first look */
.def{opacity:0;transition:opacity .25s}
.def.in,.static .def{opacity:1}
.sc-face{box-shadow:inset 0 0 0 1.5px var(--line)}
.setcard,.setlist{width:min(320px,47%)}
.callback{top:64px;height:calc(100% - 64px);width:min(390px,56%)}
.hence-h{font-size:clamp(52px,7.6vw,124px)}
@media (max-width:900px){
  .setcard,.setlist{width:min(232px,64%)}
  .callback{top:0;height:100%;width:66%}
  .hence-h{font-size:clamp(44px,13.4vw,72px)}
}

/* Jim's bubble near the left edge */
.jim.flop .jim-bubble{transform:translateX(-12%)}
.jim.flop .jim-bubble::after{left:12%}
/* the tour button: a pill on computers; on phones it folds into a small square after the intro */
.tp-ic{display:none;width:11px;height:13px;background:var(--ink);clip-path:polygon(0 0,100% 50%,0 100%)}
.touring .tp-ic{clip-path:none;width:12px;background:linear-gradient(90deg,var(--ink) 0 34%,transparent 34% 66%,var(--ink) 66%)}
.tour-pill{white-space:nowrap}
@media (max-width:900px){
  .tour-pill{font-size:11px;padding:9px 13px;gap:8px}
  .tour-pill.mini{left:auto;right:max(12px,env(safe-area-inset-right));transform:none;width:44px;height:44px;padding:0;justify-content:center}
  .tour-pill.mini #tour-pill-t,.tour-pill.mini .tp-dot{display:none}
  .tour-pill.mini .tp-ic{display:block}
  .stage{padding-bottom:max(64px,calc(env(safe-area-inset-bottom) + 60px))}
  /* 01 · keep the nodes on screen */
  .cx-vis .node:nth-of-type(2){left:79%}
  .cx-vis .node:nth-of-type(5){left:21%}
  .cx-vis .node:nth-of-type(3){left:72%}.cx-vis .node:nth-of-type(4){left:28%}
  /* 02 · the five statements carry it; the example chips are for big screens */
  .diff .ex{display:none}
  .diff{padding:11px 13px}.diff b{font-size:15.5px}
  /* 05 · shorter definitions */
  .def-pos,.def-head .pr{display:none}
  .def{padding:9px 0}.def-1{font-size:14.5px;margin-top:3px}.def-2{font-size:13px;line-height:1.42;margin-top:4px}
  /* 06 · the card starts beside the phone; JS widens it once your words have landed */
  .goals-vis .heard{left:calc(var(--ph)*393/852 + 8px);right:0;width:auto;top:0;transform:none}
  #goals-pb{display:none}
  /* 07 · the research fills the visual first; the phone comes after */
  .callback{left:0;width:100%;top:0;height:100%}
  .cb{scale:.66}
  .cb:nth-child(1){left:2%;top:2%}.cb:nth-child(2){left:52%;top:0}.cb:nth-child(3){left:6%;top:21%}
  .cb:nth-child(4){left:38%;top:27%}.cb:nth-child(5){left:68%;top:47%}.cb:nth-child(6){left:3%;top:43%}
  .cb:nth-child(7){left:34%;top:57%}.cb:nth-child(8){left:2%;top:70%}.cb:nth-child(9){left:26%;top:82%}.cb:nth-child(10){left:55%;top:72%}
  /* 13 · room for big Jim above the eyebrow */
  .finale{padding-top:150px}
}

@media (max-width:900px){
  .phases{display:none}
  .example{left:0;right:auto}
  .food-vis .today,.intake{width:auto;left:0;right:calc(var(--ph)*393/852 + 8px)}
  .intake{top:0;bottom:auto}
  .td-big>div{font-size:24px}.td-big small{font-size:11px}
  .food-vis .today .macros div{grid-template-columns:42px minmax(0,1fr) 58px;font-size:10.5px;gap:6px}
  .food-vis .today .card-head span,.intake .card-head span{display:none}
  .in-row{padding:7px 0}.in-row b{font-size:13px}.in-row span{font-size:11px}
  .steps-l{gap:5px}.steps-l li{font-size:10px;padding:3px 6px}
  .hence-k{font-size:34px}
  .hence-h{font-size:clamp(38px,11.6vw,60px)}
  .hence-in .lede{font-size:15px;line-height:1.45}
}

/* =====================================================================
   v2.6 · round 6: the two-minute story. One statement per screen (no chapter labels), the wall,
   "that's where jim comes in", the sync moment, a run, a real 3D phone, the weekly check-in.
   Nothing may overlap at any window size.
   ===================================================================== */

/* ---- computers: every scene's visual is composed once at 680 × 644 and scaled to the room it has (--vs, set by script) ---- */
@media (min-width:901px){
  .stage{padding-bottom:64px}
  .visual{--ph:620px;width:680px;height:644px;justify-self:center;align-self:center;
    transform:scale(var(--vs,1));transform-origin:50% 50%;
    margin:calc((var(--vs,1) - 1)*322px) calc((var(--vs,1) - 1)*340px)}
  .cx-vis{height:540px;margin-block:calc((var(--vs,1) - 1)*270px)}
  .prob-vis{height:580px;margin-block:calc((var(--vs,1) - 1)*290px)}
  .copy h2{font-size:clamp(28px,min(3.4vw,6.2svh),46px)}
  .prob-in .copy h2{font-size:clamp(26px,min(3.1vw,5.6svh),42px)}
  .copy p{font-size:clamp(15px,min(1.4vw,2.4svh),17px)}
  .goals-vis .heard{width:366px}
  .anatomy,.phases{width:354px}
  .callback{width:381px}
  .hq-grid{inset:46px 0 0}
  .hq-edit{top:0}
  .setcard,.setlist{width:320px}
  .setcard{height:368px}
  .setlist{padding:11px 16px 3px}
  .up{padding:5px 0}
  .pbar{margin:5px 0 6px}
  .ss-head{padding:0 0 4px}
  .food-vis .today{width:340px}
  .tub{left:24px;top:286px;width:150px}
  .tub-label b{font-size:16px}.tub-label span,.tub-oz{font-size:9px}
  .hq-pick{width:250px}
  .gauge{max-width:104px}
}

/* ---- hero: the ambition line ---- */
.one-line{gap:.4em}
.one-line .ty{max-width:17em}
.one-line .ty>span{text-wrap:balance}
.one-line .soft{font-size:.62em;letter-spacing:-.02em;max-width:30em}
.one-line{font-size:clamp(26px,min(3.6vw,6.4svh),50px);line-height:1.08}
.hero-big{top:calc(var(--navh) + 44svh);gap:clamp(14px,2.6svh,24px)}

/* ---- the problem: the lead-in ---- */
.lead{font-size:clamp(17px,1.6vw,21px);font-weight:700;color:var(--ink2);line-height:1.3}

/* ---- the wall ---- */
.dsp-in{position:relative;align-self:stretch;width:100%;display:flex;flex-direction:column;align-items:center;gap:clamp(8px,2svh,20px);padding-block:clamp(12px,3svh,34px) clamp(6px,1.4svh,14px)}
.dsp-top{flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.dsp-h{font-size:clamp(40px,min(7.6vw,13svh),118px);line-height:.96;font-weight:800;letter-spacing:-.05em}
.dsp-sub{font-size:clamp(17px,min(2vw,3.4svh),27px);font-weight:700;color:var(--ink2)}
.dsp-wall{list-style:none;margin:0;padding:0;flex:1 1 0;min-height:0;width:100%;max-width:1320px;overflow:hidden;text-align:justify;
  font-size:var(--wf,20px);line-height:1.3;font-weight:700;letter-spacing:-.015em;color:var(--ink2);transform-origin:50% 40%}
.dsp-wall li{display:inline;opacity:0;transition:opacity .12s}
.dsp-wall li.on{opacity:1}
.dsp-wall li::after{content:"  /  ";color:var(--faint);font-weight:500}
.dsp-wall li:last-child::after{content:""}
.dsp-wall li.b{color:var(--ink);font-weight:800}
.dsp-wall li.m{font-family:var(--mono);font-weight:500;font-size:.84em;letter-spacing:0;color:var(--ink3)}
.dsp-wall.stress{animation:jitter .16s steps(2) infinite}
.dsp-end{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(14px,3.4svh,34px);text-align:center;pointer-events:none}
.dsp-a{font-size:clamp(19px,min(2.5vw,4.4svh),34px);font-weight:700;color:var(--ink2);line-height:1.2;max-width:22em}
.dsp-q{font-size:clamp(38px,min(7vw,12svh),108px);font-weight:800;letter-spacing:-.05em;line-height:.98;max-width:9.5em}
.dsp-end .ty>span{text-wrap:balance}
.static .dsp-end{position:static;padding-top:24px}
.static .dsp-wall li{opacity:1}
.static .dsp-wall{flex:none;overflow:visible}

/* ---- that's where jim comes in ---- */
.why-h{font-size:clamp(30px,min(3.8vw,6.6svh),52px)}
.def{padding:clamp(8px,1.6svh,14px) 0}
.ascii{font-size:clamp(3.6px,min(.6vw,.6svh),7.4px)}

/* ---- your program ---- */
.copy p.own{color:var(--ink)}

/* ---- HQ: tiles wait at zero; your things fly in and fill them ---- */
.hc{transition:box-shadow .25s}
.hc .hc-s,.hc .src,.hc .legend,.hc .hc-n{transition:opacity .25s,color .25s}
.hc .macros em{transition:opacity .25s}
.hc.wait .hc-s,.hc.wait .src,.hc.wait .legend,.hc.wait .macros em{opacity:0}
.hc.wait .hc-n{color:var(--ink3)}
.hc.got{box-shadow:inset 0 0 0 2.5px var(--ink)}
.hc .route,.hc .pie,.hc .g-fg,.hc .scale .dot,.hc .ruler .mk,.hc .week,.hc .macros b{transition:opacity .2s}
.hc.wait .route,.hc.wait .pie,.hc.wait .g-fg,.hc.wait .scale .dot,.hc.wait .ruler .mk,.hc.wait .week,.hc.wait .macros b{opacity:0}
.src.s-imp i{background:#D9CFA8}
.sync{position:absolute;inset:0;pointer-events:none;z-index:8}
.sy{position:absolute;left:0;top:0;opacity:0;will-change:transform,opacity;filter:drop-shadow(0 18px 18px rgba(0,0,0,.75))}
.sy-watch{width:78px;height:92px}
.sy-watch .band{position:absolute;left:18px;right:18px;top:-22px;bottom:-22px;border-radius:9px;background:linear-gradient(90deg,#1C1C1F,#3A3A3F 50%,#1C1C1F)}
.sy-watch .face{position:absolute;inset:0;border-radius:24px;background:#0E0E10;box-shadow:inset 0 0 0 2.5px #5A5A60}
.sy-watch .face::after{content:"";position:absolute;right:-6px;top:26px;width:6px;height:18px;border-radius:2px;background:#5A5A60}
.sy-watch svg{position:absolute;inset:9px;transform:rotate(-90deg)}
.sy-watch .r0{fill:none;stroke:#26262A;stroke-width:9}
.sy-watch .r1{fill:none;stroke:#7B6CF6;stroke-width:9;stroke-linecap:round;stroke-dasharray:62 100}
.sy-watch .r2{fill:none;stroke:#4FB3F0;stroke-width:9;stroke-linecap:round;stroke-dasharray:40 100}
.sy-scale{width:98px;height:98px;border-radius:17px;background:linear-gradient(160deg,#3A3A3C,#1C1C1E);box-shadow:inset 0 0 0 1.5px #5A5A5E;display:grid;place-items:center}
.sy-scale .lcd{background:#0D1A12;color:#7CF0A8;font:500 17px var(--mono);padding:4px 8px;margin-top:-18px;box-shadow:inset 0 0 0 1px #234}
.sy-scale .lcd small{font-size:9px;margin-left:2px}
.sy-run{width:128px;background:#1C1C1E;box-shadow:inset 0 0 0 1px #3A3A3C}
.sy-run svg{display:block;width:100%;height:auto}
.sy-run .streets path{stroke:#3A3A3C;stroke-width:3;fill:none}
.sy-run .rt{fill:none;stroke:#F26B21;stroke-width:5;stroke-linejoin:round;stroke-linecap:round}
.sy-run b{display:block;padding:4px 8px 6px;font:700 11px var(--sans);color:#EDEDED}
.sy-book{width:134px;padding:9px 12px 11px;background:#EDE6D3;color:#2A2620;font:600 12.5px/1.55 var(--hand);
  background-image:repeating-linear-gradient(transparent 0 18.4px,#C9BFA5 18.4px 19.4px);background-position:0 9px}
.sy-book p{margin:0;white-space:nowrap}
.sy-food{width:118px;background:#F3F5F9;color:#1D2330;padding-bottom:5px;font:500 11px var(--sans)}
.sy-food .cl-top{font-size:11px;padding:4px 8px;margin-bottom:2px}
.sy-food p{margin:0;display:flex;justify-content:space-between;padding:3px 8px;border-bottom:1px solid #DCE2EC}

/* ---- logging: warm-ups, and a run ---- */
.wu{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font:500 11px var(--mono);color:var(--ink3)}
.wu span{margin-right:3px}
.wu i{font-style:normal;padding:3px 6px;box-shadow:inset 0 0 0 1px var(--hair);transition:color .2s,box-shadow .2s}
.wu i::before{content:"✓ ";opacity:0;transition:opacity .2s}
.wu i.ok{color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.wu i.ok::before{opacity:1}
.run-modes{display:grid;grid-template-columns:repeat(4,1fr);box-shadow:inset 0 0 0 1.5px var(--line)}
.run-modes i{font-style:normal;height:34px;display:grid;place-items:center;font-weight:700;font-size:13px;color:var(--ink2);box-shadow:inset -1px 0 0 var(--hair)}
.run-modes i.on{background:var(--ink);color:var(--inv);box-shadow:none}
.run-big{display:flex;align-items:baseline;gap:8px;font-size:68px;font-weight:800;letter-spacing:-.05em;line-height:1;font-variant-numeric:tabular-nums;padding-top:8px}
.run-big small{font-size:14px;font-weight:600;letter-spacing:0;color:var(--ink2)}
.run-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.run-row div{display:flex;flex-direction:column;gap:1px;padding:8px 10px;box-shadow:inset 0 0 0 1.5px var(--line);min-width:0}
.run-row b{font-size:20px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.run-row span{font:500 10.5px var(--mono);color:var(--ink3);white-space:nowrap}
.run-bar{height:8px;background:var(--track)}
.run-bar i{display:block;height:100%;width:0;background:var(--ink)}

/* ---- food: a phone with a real body. Stacked slices make the rounded edge; the camera sits proud of the back ---- */
.p3d{perspective:1300px;--T:calc(var(--ph)*.05);--W:calc(var(--ph)*393/852);--R:calc(var(--ph)*.065)}
.p3d-body{transform-style:preserve-3d}
.p3d-edge{position:absolute;inset:0;border-radius:var(--R);background:linear-gradient(180deg,#9A9AA1,#55555B 9%,#6C6C73 46%,#45454A 80%,#77777E)}
.p3d-edge.rim{background:#1B1B1E}
.food-vis .p3d .phone{left:0;right:auto;top:0;transform:translateZ(calc(var(--T)/2 + .7px));box-shadow:0 0 0 1px #2B2B2E}
.p3d-rear{position:absolute;inset:0;transform:rotateY(180deg) translateZ(calc(var(--T)/2 + .7px));transform-style:preserve-3d}
.p3d-back{transform:none;background:linear-gradient(150deg,#303034,#19191C 55%,#232326);box-shadow:inset 0 0 0 1.5px #5E5E64}
.p3d-btn{position:absolute;left:50%;width:calc(var(--T)*.42);margin-left:calc(var(--T)*-.21);background:linear-gradient(180deg,#B0B0B7,#6A6A70);border-radius:2px}
.p3d-btn.pw{top:27%;height:11%;transform:rotateY(90deg) translateZ(calc(var(--W)/2 + 1.2px))}
.p3d-btn.v1{top:22%;height:7%;transform:rotateY(-90deg) translateZ(calc(var(--W)/2 + 1.2px))}
.p3d-btn.v2{top:31%;height:7%;transform:rotateY(-90deg) translateZ(calc(var(--W)/2 + 1.2px))}
.p3d-bump{position:absolute;left:5.5%;top:2.7%;width:47%;aspect-ratio:1;transform-style:preserve-3d}
.p3d-bump>u{position:absolute;inset:0;border-radius:27%;background:#4E4E54}
.p3d-bump>u.top{background:linear-gradient(150deg,#3B3B40,#222225);box-shadow:inset 0 0 0 1.5px #75757C}
.lens{position:absolute;width:41%;aspect-ratio:1;transform-style:preserve-3d}
.lens.l1{left:6%;top:6%}.lens.l2{left:6%;bottom:6%}.lens.l3{right:5%;top:29.5%}
.lens u{position:absolute;inset:0;border-radius:50%;background:#6B6B72}
.lens u:last-of-type{background:linear-gradient(150deg,#9C9CA4,#55555B)}
.lens em{position:absolute;inset:11%;border-radius:50%;background:radial-gradient(circle at 36% 32%,#7C97CC 0,#27324B 20%,#0A0C12 52%,#000 100%);box-shadow:inset 0 0 0 2.5px #08080A,0 0 0 1px #2A2A2E}
.lens em::after{content:"";position:absolute;left:22%;top:18%;width:16%;height:16%;border-radius:50%;background:rgba(255,255,255,.75)}
.flash{position:absolute;right:12%;top:8%;width:14%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#FFF6CF,#C9BD8E);box-shadow:0 0 0 1.5px #2A2A2E}
.p3d-logo{color:#4E4E54}

/* ---- the weekly check-in ---- */
.ck{position:absolute;top:0;padding:16px 18px 14px}
#ck-a{left:0;width:328px}
#ck-b{right:0;width:336px}
.ck-r{display:grid;grid-template-columns:22px minmax(0,1fr);gap:1px 11px;padding:9px 0;box-shadow:0 -1px 0 var(--hair);opacity:.22;transition:opacity .25s}
.ck-r:first-of-type,.ck-c:first-of-type{box-shadow:none}
.ck-r.in{opacity:1}
.ck-r i{grid-row:span 2;align-self:center;width:22px;height:22px;box-shadow:inset 0 0 0 1.5px var(--line);position:relative;transition:background .2s}
.ck-r i::after{content:"";position:absolute;left:7px;top:3px;width:6px;height:11px;border:solid var(--inv);border-width:0 2.5px 2.5px 0;transform:rotate(45deg);opacity:0}
.ck-r.in i{background:var(--ink)}
.ck-r.in i::after{opacity:1}
.ck-r b{font-weight:800;font-size:15px;line-height:1.25}
.ck-r span{font-size:13px;color:var(--ink2);line-height:1.3}
.ck-c{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;min-height:46px;padding:6px 0;box-shadow:0 -1px 0 var(--hair)}
.ck-c b{font-weight:800;font-size:15px;line-height:1.2}
.ck-c .was{font:500 12.5px var(--mono);color:var(--ink2);transition:color .25s}
.ck-c.in .was{color:var(--ink3);text-decoration:line-through}
.ck-c .now{padding:5px 8px;background:var(--ink);color:var(--inv);font-weight:800;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap;opacity:0;transform:scale(.7);transition:opacity .2s,transform .25s cubic-bezier(.2,1.6,.4,1)}
.ck-c.in .now{opacity:1;transform:none}
.ck-c.same .now{grid-column:2 / span 2;background:transparent;color:var(--ink3);font:500 12px var(--mono);padding:5px 0}
.ck-go{padding-top:12px}
#ck-btn .b{display:none}
#ck-btn.done{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
#ck-btn.done .a{display:none}
#ck-btn.done .b{display:inline}
#ck-btn.done .b::before{content:"✓  "}
.ck-chart{position:absolute;left:0;right:0;bottom:0;height:272px;padding:16px 18px 14px;display:flex;flex-direction:column}
.ck-bars{flex:1;min-height:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.cb-w{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-height:0}
.cb-w i{display:block;width:100%;flex:0 0 auto;height:calc(var(--h)*.74);background:var(--ink);transition:background .3s}
.cb-w b{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1;min-height:13px}
.cb-w span{font:500 10.5px var(--mono);color:var(--ink3);white-space:nowrap}
.cb-w.next i{background:transparent;box-shadow:inset 0 0 0 2px var(--ink)}
.cb-w.next.on i{background:var(--ink)}
.cb-w.plan i{background:repeating-linear-gradient(135deg,var(--track) 0 5px,transparent 5px 10px);box-shadow:inset 0 0 0 1px var(--hair)}
.static .ck-r{opacity:1}.static .ck-c .now{opacity:1;transform:none}
.static .sync,.static .sc-run{display:none}

@media (max-width:900px){
  .one-line{font-size:clamp(23px,6.4vw,30px)}
  .one-line .soft{font-size:.66em}
  .hero-big{top:calc(var(--navh) + 40svh)}
  .lead{font-size:15px}
  .dsp-wall{line-height:1.26}
  .dsp-wall li::after{content:" / "}
  .copy p.own{font-size:13.5px}
  .sy{scale:.62}
  .wu{font-size:9px;gap:3px;flex-wrap:nowrap}.wu span{display:none}.wu i{padding:2px 4px;white-space:nowrap}
  .sc-steps{gap:6px}.stp{height:36px;grid-template-columns:24px 1fr 24px}.stp b{font-size:13.5px;white-space:nowrap}.stp span{font-size:12px}
  .sc-btn{height:40px;font-size:13px}
  .rest-btns span{height:38px}
  .td-big{gap:6px}.td-big>div{font-size:20px;gap:3px}.td-big small{font-size:9.5px}
  .p3d{right:12px}
  .run-modes i{height:26px;font-size:11px}
  .run-big{font-size:44px;padding-top:2px}.run-big small{font-size:11px}
  .run-row{gap:5px}.run-row div{padding:5px 6px}.run-row b{font-size:15px}.run-row span{font-size:8.5px}
  .tub{top:calc(var(--ph)*.3)}
  .ck{left:0!important;right:0!important;width:auto!important;padding:11px 12px 10px}
  .ck-r{padding:6px 0;grid-template-columns:18px minmax(0,1fr);gap:0 9px}
  .ck-r i{width:18px;height:18px}.ck-r i::after{left:6px;top:2px;width:4px;height:9px;border-width:0 2px 2px 0}
  .ck-r b,.ck-c b{font-size:13px}.ck-r span{font-size:11.5px}
  .ck-c{min-height:36px;padding:4px 0}.ck-c .now{font-size:13px;padding:3px 6px}.ck-c .was{font-size:11px}
  .ck-go{padding-top:8px}.ck-go .btn{height:32px;font-size:12px;padding:0 12px}
  .ck-chart{height:min(190px,38%);padding:10px 12px 8px}
  .ck-chart .card-head{padding-bottom:5px;margin-bottom:4px}.ck-chart .card-head span{display:none}
  .ck-bars{gap:6px}.cb-w b{font-size:10.5px;min-height:10px}.cb-w span{font-size:8.5px}
}

/* ---- phones: every scene's visual is composed once at 376 × 520 and scaled to the room it has (--vs, set by script),
   so a short phone, a tall phone and a tablet all get the same picture and nothing collides ---- */
@media (max-width:900px){
  .visual{--ph:330px;--rh:520px;width:376px;height:var(--rh);min-height:0;justify-self:center;align-self:start;
    transform:scale(var(--vs,1));transform-origin:50% 0;
    margin:0 calc((var(--vs,1) - 1)*188px) calc((var(--vs,1) - 1)*var(--rh))}
  .cx-vis{--rh:430px}
  .prob-vis{--rh:400px}
  .wo-vis{--rh:548px}
  .hq-vis{--rh:644px}
  .hc-wide .hc-s{display:none}
  .hq-grid .hc:nth-child(2) .gauge,.hq-grid .hc:nth-child(3) .ruler{display:none}
  .plan-vis .phone,.wo-vis .phone{--h:290px}
  .anatomy,.setcard,.setlist{width:232px}
  .goals-vis .heard{padding:11px 12px}
  .food-vis .today{right:calc(var(--ph)*393/852 + 24px)}
  .tub{top:196px}
  .ck-chart{height:190px}
  .example{bottom:-15px}
  .ascii{font-size:clamp(2.9px,.5svh,4.1px)}
  .why-h{font-size:clamp(22px,4.2svh,28px)}
}

/* no animation: the hero stacks (logo, then the line), and HQ shows the finished page without the phone on top */
.static .hero-stage{height:auto;min-height:100svh;flex-direction:column;justify-content:center;gap:28px;padding-bottom:48px}
.static .hero-v3{position:relative;inset:auto;width:100%}
.static .hero-big{position:relative;top:auto}
.static #phone-hq{display:none}

/* ---- the intro lift: arms drawn as muscle (ink, with a page-coloured edge so they read over the letters and the bar) ---- */
.hero-v3-stage [data-v3-arms] .ao{fill:none;stroke:var(--page);stroke-width:7;stroke-linejoin:round;stroke-linecap:round}
.hero-v3-stage [data-v3-arms] .af{fill:currentColor;stroke:none}
.hero-v3-stage [data-v3-arms] .fist rect{fill:currentColor;stroke:var(--page);stroke-width:7;paint-order:stroke}
.hero-v3-stage [data-v3-arms] .kn{fill:none;stroke:var(--page);stroke-width:2.6;stroke-linecap:round}
.hero-v3-stage [data-v3-bar] rect{stroke:var(--page);stroke-width:1.1;paint-order:stroke}
.hero-v3-stage [data-v3-arms] .pp{fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round}
html,body{overscroll-behavior-x:none;max-width:100%}

/* the wall's opener is a quote now, and longer */
.dsp-h{font-size:clamp(30px,min(5.2vw,10svh),80px);line-height:1.02;max-width:14em}
.dsp-h .ty>span{text-wrap:balance}
.dsp-end{gap:clamp(8px,2svh,18px)}
.dsp-q{margin-top:clamp(6px,1.6svh,16px)}
@media (max-width:900px){.food-vis .today .macros em{white-space:nowrap;font-size:10px}}
