/* ═══ /work: a printed book on a screen. Black ink, one typeface, flat colour per chapter, no shadows, no cards. ═══ */
:root{
  --paper:#E8E6E1; --ink:#111111; --mark:#EE3D9C;
  --c-bg:#FF45B0; --c-flow:#D8432F; --c-mo:#D5D1B4; --c-also:#F1E4A6;
  --gut:clamp(18px,4vw,56px);
  --display:'Google Sans Flex','Google Sans',system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--display);font-weight:400;font-size:clamp(16px,1.15vw,18px);line-height:1.3;letter-spacing:-.03em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-variation-settings:'wdth' 100}
a{color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.12em}
img,video,iframe{display:block;max-width:100%}
b{font-weight:700}
sup{font-size:.5em;line-height:0;vertical-align:.7em;font-weight:700}
sup a{text-decoration:none}

/* ── the tiny top line every block starts with: a number on the left, a status on the right ── */
.ch__top{display:flex;justify-content:space-between;gap:24px;margin:0 0 min(clamp(24px,4vw,56px),4svh);font-size:clamp(13px,1vw,16px);font-weight:700;line-height:1.2}
.ch__top span:last-child{text-align:right;max-width:60%}
.bar{display:flex;justify-content:space-between;gap:24px;margin:0 0 clamp(32px,5vw,72px);font-size:clamp(13px,1vw,16px);font-weight:700}

/* ── the intro: one paragraph about me, bold labels inline, marker strokes in one colour ── */
.intro{padding:clamp(20px,3vw,40px) var(--gut) clamp(40px,6vw,96px)}
.bio{margin:0;font-size:clamp(19px,2.1vw,30px);line-height:1.25;font-weight:400;max-width:30em}
.bio a{text-decoration-thickness:2px;text-underline-offset:.08em}
.mk{position:relative;display:inline-block;white-space:nowrap}
.mk svg{position:absolute;overflow:visible;pointer-events:none;fill:none;stroke:var(--mark);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.mk path{vector-effect:non-scaling-stroke}
.mk--ring svg{left:-.3em;top:-.08em;width:calc(100% + .6em);height:calc(100% + .06em)}
.mk--under svg{left:-.04em;bottom:-.16em;width:calc(100% + .08em);height:.2em}
.intro__foot{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px 64px;align-items:end;margin-top:clamp(36px,6vw,88px)}
.intro__lead{margin:0;font-size:clamp(18px,1.6vw,24px);font-weight:600;line-height:1.2;letter-spacing:-.03em}
.notes{margin:0;padding:0;list-style:none;counter-reset:n;font-size:clamp(12px,.9vw,14px);line-height:1.3;max-width:34em}
.notes li{counter-increment:n;position:relative;padding-left:1.8em}
.notes li::before{content:counter(n);position:absolute;left:0;top:0;font-weight:700}
.notes a{text-decoration:none}
.schools{list-style:none;margin:0;padding:0;display:flex;gap:40px;align-items:flex-end;justify-content:flex-end}
.schools img{height:auto;filter:brightness(0)} /* the schools' own marks, in this page's one ink */
.schools li:first-child img{height:clamp(44px,5vw,72px);width:auto}
.schools li:last-child img{height:clamp(11px,1.2vw,17px);width:auto;margin-bottom:5px}

/* ── a chapter: full-bleed flat colour, a giant lowercase name, one bold statement, one tiny parenthesis, then the thing itself ── */
/* a chapter is one screen tall. the name's size and the phone's height both come from the window's height, so the
   chapter fits short laptops (a 700px window) as well as tall ones; the phone has a floor, so it never shrinks past use */
.ch{--nm:min(clamp(64px,15.5vw,236px),20svh);--ph:clamp(600px,calc(100svh - 370px),700px);background:var(--c);padding:min(clamp(20px,3vw,40px),3svh) var(--gut) min(clamp(28px,4vw,56px),4svh);min-height:100svh;display:flex;flex-direction:column}
.ch__body{flex:1}
.ch--bg{--c:var(--c-bg)} .ch--flow{--c:var(--c-flow)} .ch--mo{--c:var(--c-mo)}
.ch__name{margin:0 0 min(clamp(20px,3vw,40px),3svh) -.04em;font-size:var(--nm);font-weight:800;line-height:.82;letter-spacing:-.03em;overflow-wrap:anywhere}
.ch__what{margin:0 0 .6em;font-size:min(clamp(22px,2.4vw,36px),3.8svh);font-weight:700;line-height:1.05;max-width:17em}
.ch__role{margin:0 0 min(clamp(28px,3vw,44px),4svh);font-size:min(clamp(14px,1.05vw,17px),2svh);line-height:1.3;max-width:30em}

.ch__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:center;min-height:0}
.ch__media{margin:0}
.ch__media figcaption{margin-top:14px;font-size:clamp(12px,.9vw,14px);font-weight:700}


/* what I did on a site: a plain list */
.did{margin:0;padding:0;list-style:none;max-width:26em}
.did li{position:relative;padding:0 0 .55em 1.1em;font-size:min(clamp(16px,1.25vw,20px),2.3svh);line-height:1.25}
.did li::before{content:'';position:absolute;left:0;top:.5em;width:.45em;height:.45em;border-radius:50%;background:var(--ink)}

/* a phone: black frame, nested corners (screen radius = frame radius minus padding: 44 - 10 = 34). sized by height, see .ch */
.phone{height:var(--ph);width:calc(var(--ph) * 393 / 852);max-width:100%;margin:0 auto;border-radius:44px;background:#111;padding:10px}
.phone--live{display:block}
.phone--live>*{border-radius:34px;height:100%}

/* a site: the picture, with a hairline of ink, and the whole picture is the link */
.shot{display:block;border:2px solid var(--ink);background:#fff}
.shot img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:top}

/* ── websites: small rounded boxes, the picture is the first screen of each site at desktop size ── */
.sites{padding:clamp(20px,3vw,40px) var(--gut) clamp(48px,7vw,112px)}
.sites__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:clamp(18px,2.4vw,36px) clamp(16px,2vw,28px)}
.site{display:block;text-decoration:none}
.site img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;border-radius:12px;background:#eee;outline:1.5px solid var(--ink);outline-offset:-1.5px;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.site:hover img{transform:translateY(-3px)}
.site b{display:block;margin-top:10px;font-size:clamp(14px,1.05vw,17px);line-height:1.2}
.site span{display:block;font-size:clamp(12px,.9vw,14px);line-height:1.3;margin-top:2px}


/* ═══ 01 the waiting room (RoomHero.tsx): the big dot over the letters, the row of ten, the week's cards as a pile ═══ */
/* the dot hangs over the end of the name and dips into its own lane in the body, between the words and the phone;
   --D is its size, --pw the phone's width, --g the gap between columns, so its place is one sum: --dotx */
.room{--ink:#F4B7F5;--D:min(clamp(240px,30vw,560px),54svh);--pw:calc(var(--ph) * 414 / 896);--g:clamp(24px,3vw,48px);color:var(--ink);transition:background-color .5s cubic-bezier(.3,0,.15,1),color .5s cubic-bezier(.3,0,.15,1)}
.room__head{position:relative;--dotx:calc(var(--hw,100vw) - var(--pw) - var(--g) - var(--D));--doty:calc(var(--D) * -.1)}
.room__head .ch__name{position:relative;z-index:1}
.room__dot{position:absolute;z-index:2;left:var(--dotx);top:var(--doty);width:var(--D);height:var(--D);border-radius:50%;background:var(--ink);overflow:hidden;cursor:grab;touch-action:none;user-select:none;will-change:transform;transition:background-color .5s cubic-bezier(.3,0,.15,1)}
.room__dot:active{cursor:grabbing}
.room__inside{position:absolute;left:calc(-1 * var(--dotx));top:calc(-1 * var(--doty));will-change:transform;pointer-events:none}
.room__inside .ch__name{color:var(--c);transition:color .5s cubic-bezier(.3,0,.15,1)}
.room .ch__body{align-items:stretch;grid-template-columns:minmax(0,1fr) var(--D) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 var(--g);padding-bottom:32px} /* 32: the phone's caption hangs below it */
.room .ch__text{grid-column:1;grid-row:1}
.room__words{max-width:34em}
.room .ch__media{position:relative;grid-column:3;grid-row:1/3}
.room .ch__media .phone{margin:0}
.room .ch__media figcaption{position:absolute;left:0;top:100%;white-space:nowrap}
.room__foot{grid-column:1/3;grid-row:2;align-self:end;margin-top:clamp(20px,3vw,40px)}
.room__count{margin:0;font-size:clamp(14px,1.05vw,17px);font-weight:700}
.room__count span{margin-left:.5em;font-weight:400}
.room__row{display:flex;justify-content:space-between;align-items:flex-end;height:72px;padding-bottom:4px}
.room__row i{display:block;width:clamp(22px,2.2vw,34px);height:clamp(22px,2.2vw,34px);border-radius:50%;background:var(--d);cursor:pointer;transition:transform .22s cubic-bezier(.33,1,.68,1),background-color .4s}
.room__row i:hover{animation:hop .48s cubic-bezier(.33,0,.67,1)}
.room__row i.on{transform:scale(1.3)}
@keyframes hop{0%{translate:0 0}50%{translate:0 -14px}100%{translate:0 0}}

/* ═══ 02 flow: cream on the red, the site's own menu, its booking desk with the films and the calendar ═══ */
.ch--flow{--ink:#FBF6EC;color:var(--ink);--r:22px;--paper:#F4F0E8;--dark:#1F1A15}
.flow__body{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:stretch}
.flow__right{min-width:0;padding-bottom:32px} /* 32: the plate's caption hangs below it */
.ch--flow .ch__what{max-width:14em}
/* the menu, one pane of paper (home/index.html .gn): the W stands in for the word Flow */
.gn{display:inline-block;margin:0 0 clamp(24px,3vw,44px)}
.gn ul{position:relative;isolation:isolate;display:flex;gap:0;list-style:none;margin:0;padding:4px;border-radius:100vw;background:var(--paper);color:var(--dark)}
.gn li{position:relative;z-index:1}
.gn li a{display:flex;align-items:center;min-height:38px;padding:0 .95rem;color:inherit;text-decoration:none;font-size:.95rem;font-weight:500;letter-spacing:-.03em;white-space:nowrap;transition:color .3s ease}
.gn li.active a{color:var(--paper)}
.gn .navw{display:block;height:1.05em;width:1.003em;fill:currentColor;margin:-.03em 0 -.02em}
.gnPill{position:absolute;top:4px;bottom:4px;left:0;width:0;z-index:0;border-radius:100vw;background:var(--dark);transition:translate .45s cubic-bezier(.22,.8,.28,1),width .45s cubic-bezier(.22,.8,.28,1)}
.flow__langs{display:flex;gap:6px;margin:clamp(16px,2vw,28px) 0 0;font-size:14px;font-weight:500}
.flow__langs span{padding:6px 12px;border-radius:100vw;border:1.5px solid var(--ink)}
.flow__langs span.on{background:var(--ink);color:var(--c)}
/* the booking desk (home/index.html #book), the same numbers: the plate, the desk, the segment with its gliding pill, the calendar above */
.plate{position:relative;aspect-ratio:2/1}
.shots{position:absolute;inset:0;border-radius:var(--r);overflow:hidden;background:var(--paper);isolation:isolate}
.shot-room{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0;scale:1.05;transition:opacity 1s cubic-bezier(.22,.8,.28,1),scale 1.8s cubic-bezier(.22,.8,.28,1)}
.shot-room.on{opacity:1;scale:1}
.shots::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(rgba(14,9,4,0) 50%,rgba(14,9,4,.32))}
.pw{position:absolute;z-index:2;top:22px;right:22px;width:1.15rem;height:1.2rem;fill:#FBF7EF;opacity:.5;pointer-events:none}
.desk{position:absolute;z-index:3;left:22px;right:22px;bottom:22px;display:grid;grid-template-columns:auto 1fr 1fr auto;align-items:stretch;border-radius:14px;color:#302F2C;background:rgba(252,248,241,.94)}
.seg{position:relative;display:flex;align-items:center;gap:.15rem;padding:.45rem}
.segPill{position:absolute;top:.45rem;bottom:.45rem;left:0;width:0;border-radius:10px;background:rgba(42,33,25,.9);transition:translate .55s cubic-bezier(.22,.8,.28,1),width .55s cubic-bezier(.22,.8,.28,1)}
.hb{position:relative;z-index:1;font:inherit;font-size:.92rem;font-weight:400;letter-spacing:-.03em;color:#1F170F;background:none;border:0;border-radius:10px;padding:0 .95rem;height:100%;cursor:pointer;transition:color .35s ease}
.hb[aria-pressed="true"]{color:#F6F1E7}
.fld{position:relative;font:inherit;text-align:left;background:none;border:0;padding:.78rem 1rem;display:block;width:100%;min-width:0;cursor:pointer;border-radius:0;transition:background .18s;letter-spacing:-.03em}
.fld:hover,.fld.open{background:rgba(255,255,255,.34)}
.fld .k{display:block;font-size:.52rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:rgba(44,33,20,.7);margin-bottom:.15rem;pointer-events:none}
.fld .v{display:block;font-size:.92rem;font-weight:400;color:#1F170F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.seg + .fld::before,.fld + .fld::before,.go::before{content:"";position:absolute;left:0;top:22%;bottom:22%;width:1px;background:rgba(70,48,24,.16)}
.go{position:relative;font:inherit;font-weight:500;font-size:.62rem;letter-spacing:.13em;text-transform:uppercase;background:#2A2119;color:#F6F1E7;border:0;padding:0 1.7rem;cursor:pointer;border-radius:0 14px 14px 0;transition:background .2s}
.go:hover{background:#3A2E22}
.panel{position:absolute;z-index:7;bottom:calc(100% + 10px);left:0;right:0;margin-inline:auto;width:max-content;border-radius:14px;padding:.55rem;color:#1F170F;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s ease,transform .22s cubic-bezier(.2,.7,.3,1),visibility 0s .2s;background:rgba(252,248,241,.97)}
.panel.on{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}
.cals{display:flex;gap:1.4rem}
.cal{width:15rem}
.calTop{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}
.calTop b{font-weight:500;font-size:.82rem;letter-spacing:-.03em}
.calTop>span{min-width:44px}
.calTop .nav{font:inherit;background:none;border:0;cursor:pointer;color:#1F170F;padding:.2rem .45rem;border-radius:7px;line-height:1;font-size:1rem}
.calTop .nav:hover{background:rgba(255,255,255,.6)}
.calTop .nav[disabled]{opacity:.25;cursor:default}
.dow,.cgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.dow span{text-align:center;font-size:.55rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(44,33,20,.55);padding:.25rem 0}
.day{font:inherit;font-size:.8rem;background:none;border:0;padding:.42rem 0;cursor:pointer;border-radius:8px;color:#1F170F;position:relative;transition:background .12s;letter-spacing:-.03em}
.day:hover:not([disabled]){background:rgba(255,255,255,.7)}
.day[disabled]{opacity:.26;cursor:default}
.day.in,.day.out{background:rgba(42,33,25,.9);color:#F6F1E7}
.day.mid{background:rgba(255,255,255,.55)}
.calFoot{margin-top:.6rem;font-size:.68rem;color:rgba(44,33,20,.62);text-align:center}
.plate figcaption{position:absolute;left:0;right:0;top:100%;margin-top:14px}

/* ═══ 03 mo: the new entry at page size (app/index.tsx, InnerShadowShape.tsx), painted in the app's own themes ═══ */
.ch--mo{--ink:#F76702;color:var(--ink);transition:background-color 1.4s cubic-bezier(.3,0,.15,1),color 1.4s cubic-bezier(.3,0,.15,1)}
.mo__body{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) auto;align-items:start;padding-bottom:32px} /* 32: the phone's caption hangs below it */
.ch--mo .ch__what{max-width:15em}
.ch--mo .ch__media{position:relative}
.ch--mo .ch__media .phone{margin:0}
.ch--mo .ch__media figcaption{position:absolute;right:0;top:100%;white-space:nowrap;text-align:right}
.moe{--mo-ink:var(--ink);--mo-bg:var(--c);font-family:'Inter',system-ui,sans-serif;font-weight:300;color:var(--mo-ink);margin:0;transition:color 1.4s}
.moe__pill{display:grid;place-items:center;width:150px;height:66px;border-radius:33px;background:var(--mo-ink);color:var(--mo-bg);font-size:22px;box-shadow:inset 12px 12px 14px rgba(0,0,0,.25);transition:background-color 1.4s,color 1.4s}
.moe__word{margin:clamp(20px,3vw,40px) 0;font-size:min(clamp(56px,8vw,120px),12svh);line-height:1;white-space:nowrap;min-height:1em}
.moe__caret{display:inline-block;width:.045em;height:.92em;margin-left:.06em;background:var(--mo-ink);vertical-align:-.1em;animation:blink 1.06s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.moe__nav{display:flex;gap:22px;align-items:center}
.moe__sq,.moe__ci{display:block;width:118px;height:118px;background:var(--mo-ink);box-shadow:inset 16px 16px 8px rgba(0,0,0,.25);transition:translate .25s ease,background-color 1.4s}
.moe__sq{border-radius:21px}
.moe__ci{width:121px;border-radius:60px}
.moe__sq:hover,.moe__ci:hover{translate:0 -4px}
.ch--mo .mo{transition:background-color 1.4s,color 1.4s}
.ch--mo .mo svg rect{transition:fill 1.4s}
.ch--mo .mo .mo__item span,.ch--mo .mo .mo__pill span{transition:color 1.4s}
/* ═══ 04 artisans asylum: the site's hero wall (globals.css --hero-bg), its ink, its red; the lockup as the name ═══ */
.ch--a2{--c:#C7CFD1;--ink:#1F1F1F;--red:#ED1C24;--paper:#F2F1EF;color:var(--ink)}
.a2__head{position:relative;margin-bottom:min(clamp(20px,3vw,40px),3svh)}
/* the lockup's resting box: 3700 x 2923, sized from the name's height so it reads like the other chapters' names */
.a2__stage{position:relative;z-index:4;width:calc(var(--nm) * 1.6 * 3700 / 2923);height:calc(var(--nm) * 1.6);transform-origin:50% 50%}
.a2__stage a{display:block;width:100%;height:100%}
.a2__rig{display:block;width:100%;height:100%;overflow:visible}
.a2__rig path{transform-box:view-box}
.a2__rig .rig-breathe{transform-box:view-box;transform-origin:50% 50%}
.a2__body{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;padding-bottom:32px} /* 32: the catalog's caption hangs below it */
.ch--a2 .ch__what{max-width:16em}
.ch--a2 .ch__role{max-width:32em}
/* the pressure heading (components/PressureHeading.tsx): each letter is a span whose weight and width rise toward the cursor */
.press span{display:inline-block;white-space:nowrap}
.press i{font-style:normal;display:inline-block;font-variation-settings:'wght' var(--w,700),'wdth' var(--d,100)}
/* the stats: one quiet line, the role line's size, figures in bold */
.a2__stats{margin:clamp(14px,1.6vw,22px) 0 0;display:flex;flex-wrap:wrap;gap:4px 0;font-size:clamp(13px,1vw,15px);line-height:1.3;letter-spacing:-.02em}
.a2__stats span{font-weight:700}
.a2__stats span:not(:last-child)::after{content:'·';margin:0 .55em;font-weight:400;opacity:.5}
/* the catalog that writes itself: three steps light up, the count climbs, the rows arrive */
.gen{position:relative;min-width:0}
.gen__head{margin:0 0 10px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:clamp(14px,1.05vw,17px);font-weight:700}
.gen__again{appearance:none;font:inherit;font-size:clamp(12px,.9vw,14px);font-weight:700;color:var(--ink);background:none;border:1.5px solid var(--ink);border-radius:100vw;padding:6px 12px;cursor:pointer;transition:background .2s,color .2s,opacity .2s}
.gen__again:hover{background:var(--ink);color:var(--c)}
.gen__again:disabled{opacity:.35;cursor:default}
.gen__steps{list-style:none;margin:0 0 12px;padding:0;display:flex;gap:6px;flex-wrap:wrap}
.gen__steps li{position:relative;padding:5px 10px 5px 24px;border-radius:100vw;font-size:clamp(11px,.8vw,12.5px);font-weight:700;letter-spacing:.02em;border:1.5px solid rgba(31,31,31,.25);opacity:.45;transition:opacity .3s,border-color .3s,background .3s,color .3s}
.gen__steps li::before{content:'';position:absolute;left:9px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;border:1.5px solid currentColor;box-sizing:border-box}
.gen__steps li.busy{opacity:1;border-color:var(--ink)}
.gen__steps li.busy::before{animation:genspin .8s linear infinite;border-top-color:transparent}
.gen__steps li.done{opacity:1;background:var(--ink);color:var(--c);border-color:var(--ink)}
.gen__steps li.done::before{background:currentColor;border-color:currentColor}
@keyframes genspin{to{transform:rotate(360deg)}}
.gen__count{margin:0 0 4px;font-size:clamp(12px,.9vw,14px);font-weight:500;opacity:.7;font-variant-numeric:tabular-nums}
.gen__count b{font-weight:700}
.cat-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(31,31,31,.16);min-height:16em}
.cat-row{border-bottom:1px solid rgba(31,31,31,.16);opacity:0;transform:translateY(6px);transition:opacity .32s ease,transform .32s cubic-bezier(.2,.8,.2,1)}
.cat-row.in{opacity:1;transform:none}
.cat-link{display:flex;align-items:baseline;justify-content:space-between;gap:1.2rem;padding:clamp(8px,1.2vh,12px) 0;color:var(--ink);text-decoration:none;transition:color .18s ease}
.cat-link:hover{color:var(--red)}
.cat-row-main{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.cat-name{font-weight:700;font-size:clamp(15px,1.2vw,19px);line-height:1.05;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .8rem;font-weight:500;font-size:clamp(11px,.85vw,13px);letter-spacing:-.01em}
.cat-shop{color:var(--red);font-weight:600}
.cat-time{opacity:.6}
.cat-price{flex:none;font-weight:700;font-size:clamp(13px,1vw,15px);letter-spacing:-.03em;white-space:nowrap}
.gen figcaption{position:absolute;left:0;right:0;top:100%;margin-top:14px}

/* ── resume ── */
.cv{padding:clamp(20px,3vw,40px) var(--gut) clamp(48px,7vw,112px)}
.cv__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.cv h3{font-size:clamp(13px,1vw,16px);font-weight:700;margin:0 0 12px}
.cv p{margin:0 0 20px;font-size:clamp(14px,1.05vw,17px);line-height:1.3}
.cv b{display:block;font-size:1.25em;line-height:1.05;margin-bottom:.3em}

/* ── a pill: the page's one button shape, ink outline on paper, filled when it is the main ask ── */
.pill{display:inline-block;padding:10px 18px;border:1.5px solid var(--ink);border-radius:100vw;font-size:clamp(14px,1.05vw,17px);font-weight:700;line-height:1.2;text-decoration:none;transition:background .2s,color .2s}
.pill:hover{background:var(--ink);color:var(--paper)}
.pill--ink{background:var(--ink);color:var(--paper)}
.pill--ink:hover{background:#000}

/* ── what you get: three things in one person. three short columns, the proof as links into this page ── */
.skills{padding:clamp(20px,3vw,40px) var(--gut) clamp(48px,7vw,112px)}
.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;border-top:1.5px solid var(--ink);padding:clamp(18px,2vw,28px) 0 clamp(40px,5vw,72px)}
.three h3{margin:0 0 .3em;font-size:clamp(28px,2.6vw,44px);line-height:1.02;font-weight:700;letter-spacing:-.035em}
.three p{margin:0;font-size:clamp(15px,1.15vw,19px);line-height:1.3;letter-spacing:-.015em}
.three__where{font-weight:700;margin-bottom:.6em !important}
.skills__top2{margin-top:0}
.receipts{display:grid;grid-template-columns:minmax(150px,auto) repeat(var(--n),minmax(0,1fr));gap:0;border-top:1.5px solid var(--ink)}
.receipts__head,.receipts__name,.receipts__cell{display:flex;align-items:end;min-height:44px;padding:10px 6px 10px 0;border-bottom:1px solid rgba(17,17,17,.18);transition:opacity .25s}
.receipts__corner{border-bottom:1px solid rgba(17,17,17,.18)}
.receipts__head{align-items:end;padding-top:14px;padding-bottom:12px}
.receipts__head button,.receipts__name button{appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;letter-spacing:-.03em}
.receipts__head button{font-size:clamp(12px,.9vw,14px);line-height:1.15;font-weight:700;max-width:9em}
.receipts__name button{font-size:clamp(15px,1.2vw,19px);font-weight:700;line-height:1.1;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.14em;text-decoration-color:transparent;transition:color .25s,text-decoration-color .25s}
.receipts__name:hover button,.receipts__name button:focus-visible{color:var(--rc);text-decoration-color:var(--rc)}
.receipts__cell{align-items:center;min-height:52px}
.receipts__cell i{display:block;width:clamp(12px,1vw,16px);height:clamp(12px,1vw,16px);border-radius:50%;background:var(--rc);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.receipts.is-col .receipts__head:not(.on),.receipts.is-col .receipts__cell:not(.on){opacity:.22}
.receipts.is-col .receipts__cell.on i{transform:scale(1.5)}
.receipts.is-row .receipts__name:not(.on),.receipts.is-row .receipts__cell:not(.on),.receipts.is-row .receipts__head{opacity:.22}
.receipts.is-row .receipts__head.on{opacity:1}
.receipts.is-row .receipts__cell.on i{transform:scale(1.5)}
.receipts__note{margin:clamp(18px,2vw,28px) 0 0;min-height:3.9em;max-width:44em;font-size:clamp(15px,1.15vw,19px);line-height:1.3;opacity:.45;transition:opacity .25s}
.receipts__note.on{opacity:1}
.receipts__list{display:none;list-style:none;margin:0;padding:0}
.receipts__list small{display:block;margin-top:6px;font-size:inherit;opacity:.7}
.receipts__list li{padding:12px 0;border-bottom:1px solid rgba(17,17,17,.18);font-size:clamp(14px,1.05vw,17px);line-height:1.35}
.receipts__list b{display:block;margin-bottom:2px}

/* ── hiring me: two sentences on paper ── */
.hire{padding:clamp(20px,3vw,40px) var(--gut) clamp(48px,7vw,112px)}
.hire .ch__what{max-width:19em}
.hire .ch__role{margin-bottom:0}

/* ── a week, on me: the ask, on paper ── */
.trial{padding:clamp(20px,3vw,40px) var(--gut) clamp(48px,7vw,112px)}
.trial .ch__what{max-width:19em}
.trial .ch__role{margin-bottom:clamp(24px,3vw,40px)}

/* ── the desk: the door. the address big, three emails already addressed, the free windows, the clocks ── */
.door{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(28px,5vw,80px);padding:clamp(20px,3vw,40px) var(--gut) 64px;border-top:1.5px solid var(--ink)}
.door .ch__top{margin-bottom:clamp(18px,2vw,28px)}
.door__mail{margin:0 0 clamp(18px,2vw,28px);display:flex;align-items:center;flex-wrap:wrap;gap:14px 18px;font-size:min(clamp(22px,2.4vw,36px),3.8svh);font-weight:700;line-height:1.05;letter-spacing:-.03em;overflow-wrap:anywhere}
.door__mail a{text-decoration-thickness:2px;text-underline-offset:.1em}
.copy{appearance:none;font:inherit;font-size:clamp(13px,1vw,16px);font-weight:700;color:var(--ink);background:none;border:1.5px solid var(--ink);border-radius:100vw;padding:6px 14px;cursor:pointer;line-height:1.2;transition:background .2s,color .2s}
.copy:hover,.copy.did{background:var(--ink);color:var(--paper)}
.door__pills{margin:0;display:flex;flex-wrap:wrap;gap:8px}
.free{list-style:none;margin:0;padding:0;font-size:clamp(14px,1.05vw,17px);line-height:1.3}
.free li{display:grid;grid-template-columns:7.5em 1fr;gap:12px;padding:8px 0;border-bottom:1px solid rgba(17,17,17,.18)}
.free li:first-child{border-top:1px solid rgba(17,17,17,.18)}
.free b{font-weight:700}
.free .none{opacity:.5}
.clocks{margin:clamp(14px,1.6vw,22px) 0 0;display:flex;gap:24px;font-size:clamp(12px,.9vw,14px);font-variant-numeric:tabular-nums}
.clocks b{margin-left:.4em}
.door__line{grid-column:1/-1;margin:clamp(28px,4vw,56px) 0 0;font-size:clamp(12px,.9vw,14px);font-weight:700}

/* ── the guide beside a phone: one instruction, one reason, and it changes as the phone is used ── */
.guide{max-width:20em}
.guide__label{margin:0 0 min(14px,1.6svh);font-size:clamp(13px,1vw,16px);font-weight:700}
.guide__do{font-size:min(clamp(24px,3vw,44px),4.6svh);font-weight:700;line-height:1.02;margin:0 0 .5em;transition:opacity .16s ease,transform .16s ease}
.guide__why{margin:0 0 min(22px,2.4svh);font-size:min(clamp(14px,1.05vw,17px),2svh);line-height:1.3;max-width:30em;transition:opacity .16s ease,transform .16s ease}
.guide__why[hidden]{display:none}
.guide--swap .guide__do,.guide--swap .guide__why{opacity:0;transform:translateY(6px)}
.guide__dots{display:flex;gap:6px}
.guide__dots i{width:7px;height:7px;border-radius:50%;border:1.5px solid var(--ink);transition:background .3s}
.guide__dots i.on{background:var(--ink)}

/* Bubblegum: the real app in the phone, and the wait before it has drawn */
.phone--bg{width:calc(var(--ph) * 414 / 896)}
.bg{position:relative;width:100%;height:100%;border-radius:34px;overflow:hidden;background:#F7F4EF}
.bg__screen{position:absolute;left:0;top:0;width:414px;height:896px;transform-origin:0 0;transform:scale(var(--k,1))}
.bg__frame{position:absolute;left:0;top:59px;width:414px;height:803px;border:0;background:#F7F4EF;display:block}
.bg__loader{position:absolute;inset:0;display:grid;place-items:center;background:#000;transition:opacity .5s ease .2s}
.bg__loader--gone{opacity:0;pointer-events:none}
.bg__wheel{position:relative;width:74px;height:74px;animation:bgspin 6s linear infinite}
.bg__wheel i{position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px;border-radius:50%;transform:rotate(calc(var(--i) * 36deg)) translateY(-30px)}
.bg__wheel b{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px;border-radius:50%;background:#fff}
.bg__wheel i:nth-child(1){--i:0;background:#F44EBE}.bg__wheel i:nth-child(2){--i:1;background:#F04A34}.bg__wheel i:nth-child(3){--i:2;background:#FE6433}.bg__wheel i:nth-child(4){--i:3;background:#FEC728}.bg__wheel i:nth-child(5){--i:4;background:#E7F50C}.bg__wheel i:nth-child(6){--i:5;background:#19B354}.bg__wheel i:nth-child(7){--i:6;background:#2B9D6E}.bg__wheel i:nth-child(8){--i:7;background:#55D7FF}.bg__wheel i:nth-child(9){--i:8;background:#8FA2FF}.bg__wheel i:nth-child(10){--i:9;background:#ED91FB}
@keyframes bgspin{to{transform:rotate(360deg)}}

/* ── phones and narrow windows: one column, the thing first, the guide stuck above it while it is used ── */
@media (max-width:820px){
  .intro__foot{grid-template-columns:1fr}
  .schools{justify-content:flex-start}
  .ch{min-height:0;display:block;padding-bottom:clamp(48px,7vw,112px)}
  .room{--D:min(36vw,170px)}
  .room__head{--dotx:calc(var(--hw) * -.06);--doty:max(calc(var(--D) * -.45),-70px)}
  .room .ch__media .phone{margin:0 auto}
  .room__row{height:60px}
  .room .ch__body{grid-template-columns:1fr;grid-template-rows:none;padding-bottom:0}
  .room .ch__text{display:contents}
  .room .ch__media{grid-column:auto;grid-row:auto}
  .room .ch__media figcaption{position:static;white-space:normal;text-align:center}
  .room__foot{grid-column:auto;grid-row:auto;margin-top:32px}
  .flow__body{grid-template-columns:1fr}
  .plate{aspect-ratio:auto;margin:24px 0 8px}
  .shots{position:relative;aspect-ratio:4/3;border-radius:var(--r) var(--r) 0 0}
  .shots::after{display:none}
  .desk{position:relative;left:auto;right:auto;bottom:auto;display:grid;grid-template-columns:1fr 1fr;border-radius:0 0 var(--r) var(--r);background:#EAE3D6;padding:10px;gap:8px}
  .seg{grid-column:1/-1;padding:4px;border-radius:12px;background:rgba(31,26,21,.06)}
  .segPill{top:4px;bottom:4px;border-radius:9px}
  .hb{flex:1;height:44px;padding:0;font-size:1rem}
  .seg + .fld::before,.fld + .fld::before,.go::before{display:none}
  .fld{border-radius:12px;background:#F6F2EA;padding:.7rem .9rem;min-height:58px}
  .go{grid-column:1/-1;height:54px;border-radius:12px;font-size:.78rem}
  .panel{position:fixed;z-index:95;left:0;right:0;bottom:0;top:auto;width:auto;margin:0;max-height:82svh;overflow-y:auto;border-radius:22px 22px 0 0;padding:14px 18px 24px;transform:translateY(100%)}
  .panel.on{transform:translateY(0)}
  .cals{flex-direction:column;gap:1.4rem}
  .cal{width:auto}
  .day{font-size:1.02rem;padding:.7rem 0}
  .plate figcaption{position:static;margin:10px 0 0}
  .mo__body{grid-template-columns:1fr;padding-bottom:0}
  .ch--mo .ch__media .phone{margin:0 auto}
  .ch--mo .ch__media figcaption{position:static;white-space:normal;text-align:center}
  .moe{margin-bottom:28px}
  .moe__word{font-size:clamp(44px,13vw,64px);min-width:0}
  .moe__pill{width:110px;height:48px;font-size:17px;border-radius:24px}
  .moe__sq,.moe__ci{width:74px;height:74px}.moe__ci{width:76px;border-radius:38px}.moe__sq{border-radius:13px}
  .a2__stage{width:min(70vw,calc(var(--nm) * 1.6 * 3700 / 2923))}
  .a2__body{grid-template-columns:1fr;padding-bottom:0}
  .gen figcaption{position:static;margin:10px 0 0}
  .press i{font-variation-settings:normal}
  .ch__top{margin-bottom:clamp(24px,4vw,56px)}
  .ch__name{font-size:clamp(64px,15.5vw,236px);margin-bottom:clamp(20px,3vw,40px)}
  .ch__what{font-size:clamp(22px,2.4vw,36px)}
  .ch__role{font-size:clamp(14px,1.05vw,17px);margin-bottom:clamp(28px,3vw,44px)}
  .did li{font-size:clamp(16px,1.25vw,20px)}
  .ch__body{grid-template-columns:1fr}
  .ch__media{order:-1}.a2__body .ch__media{order:0}
  .phone{height:auto;width:min(76vw,320px);aspect-ratio:393/852}
  .phone--bg{aspect-ratio:414/896}
  .cv__grid{grid-template-columns:1fr}
  .three{grid-template-columns:1fr;gap:28px}
  .receipts,.receipts__note{display:none}.receipts__list{display:block}
  .door{grid-template-columns:1fr}
  .sites__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px} /* tiny boxes stay tiny on a phone: two to a row */
  .site b{font-size:14px}.site span{font-size:12px}
  .ch__text{display:contents}
  .guide{position:sticky;top:0;z-index:3;background:var(--c);padding:12px 0 10px;margin:0 0 12px;order:-2;max-width:none}
  .guide__label{margin-bottom:6px}
  .guide__do{font-size:22px;margin-bottom:.25em}
  .guide__why{font-size:14px;margin-bottom:8px}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

/* the resume section: the page above already says all of it, so it shows only in the printed PDF */
.cv{display:none}

/* ── print: the resume, in black on white, without the frames ── */
@media print{
  :root{--gut:0}
  body{font-size:10pt;line-height:1.3;color:#000;background:#fff}
  .bar,.ch__media,.mk svg,.bg,.guide,.copy,.door__free,.door__line,.receipts,.receipts__note{display:none}
  .receipts__list{display:block}
  .ch,.cv,.intro,.hire,.skills,.trial,.door{background:#fff;padding:10pt 0}
  .door{display:block;border:0}.door__mail{font-size:14pt}.pill{border:0;padding:0;margin-right:12pt}
  .bio{font-size:16pt;max-width:none}
  .intro__foot{margin-top:10pt}
  .ch__name{font-size:30pt;margin-bottom:6pt}
    .ch__what{font-size:12pt}.ch__role{font-size:9pt}
  .ch__body{display:block}
  .did li{padding-bottom:3pt;font-size:10pt}
  .cv{display:block;break-inside:avoid}
  a{text-decoration:none;color:#000}
}

/* the way out of each chapter: a big pill in the chapter's own two colours, opens the real site */
.go-site{display:inline-flex;align-items:center;gap:.5em;align-self:flex-start;justify-self:start;width:max-content;margin:clamp(16px,1.6vw,26px) 0 min(clamp(24px,3vw,40px),4svh);padding:.7em 1.25em;border-radius:100vw;background:var(--ink);color:var(--c);font-family:var(--display);font-size:clamp(18px,1.5vw,24px);font-weight:700;letter-spacing:-.02em;line-height:1.1;text-decoration:none;transition:transform .25s cubic-bezier(.22,1,.36,1),background-color .5s cubic-bezier(.3,0,.15,1),color .5s cubic-bezier(.3,0,.15,1)}
.go-site span{display:inline-block;transition:transform .25s cubic-bezier(.22,1,.36,1)}
.go-site:hover{transform:translateY(-2px)}
.go-site:hover span{transform:translate(2px,-2px)}
