/* Raashi Lathiya, the puzzles portfolio.
   The page is a puzzle box: the hero is its lid, where the puzzles play themselves; the work is the four puzzles
   inside, filed as coloured folders; then how I solve them (a printed slip), a letter, the scores, a board to say
   hello on, and the back of the box. Colours are the cube's six, on its warm ground; black is the cube's plastic.
   Illustrations are FigJam boards (Raashi's own diagram style), drawn by _src/illos.py. */
:root{
  color-scheme:light;
  --ground:#eae9e4; --paper:#f6f6f4; --ink:#141413; --ink-2:#2c2b28; --muted:#5d5b55; --faint:#85837b; --plastic:#141414;
  --red:#e4362c; --red-deep:#cf2f22; --orange:#ff8a1f; --yellow:#ffd23f; --green:#13a35a; --blue:#2952e3; --coal:#1d1d1c; --white:#f7f6f2;
  /* The folders and cards. Raashi, 2026-11-11: "bring back the darker colours for cards please until I ask you to go
     back", so they wear the cube's bright set again (blue and coal take white text: `on-dark` and `--fg:#fff` in the pages).
     Raashi, 2026-11-16: the red card "looks like an error state", so the fifth folder colour is coal, the cube's own plastic (pink and violet were tried first and rejected),
     and the blue is a deeper cobalt (was #1f5fd6). Red stays on the cube only.
     To go back to the soft set B (chosen 2026-10-31), put this line back and take `on-dark`/`--fg` off again:
     --f-blue:#c9d8f5; --f-yellow:#fbe7a1; --f-orange:#fcd2ad; --f-green:#c4e6d1; --f-coal:#dcdbd6; */
  /* dusty pastels for the cards, About and the case-study headers; the bright cube colours stay on the puzzles (Raashi, 2026-11-23) */
  --f-blue:#c6def1; --f-yellow:#faedcb; --f-orange:#f7d9c4; --f-green:#c9e4de; --f-coal:#e2e2df; --f-white:var(--white); --f-navy:#d2d2cf; --f-lime:#e2cfc4;   /* Coolors "Soft Earthy Hues" (Raashi picked B, 2026-11-23: card colours are lighter versions of the cube's own, no purple); --f-navy is now UI Convergence's warm grey and --f-lime Continuous discovery's clay. Dusty set before: #c8d2e9 #ecdeb0 #eccbb6 #c2dbcc #d7d4cc #d6d0e6 #d8e2b9 */   /* UI Convergence and marketing ops (Raashi picked B, 2026-11-22: black and white read as random) */   /* the sixth folder, the cube's sixth face (continuous discovery, 2026-11-22) */
  --r:var(--red); --o:var(--orange); --y:var(--yellow); --g:var(--green); --b:var(--blue); --w:var(--white);   /* the games script's names */
  --display:"Funnel Display",Figtree,system-ui,sans-serif;   /* the default face (Raashi, 2026-11-12); fonts.css swaps it */
  --text:Figtree,system-ui,-apple-system,"Segoe UI",sans-serif;
  /* The type scale (Raashi, 2026-10-24: "Do we have a type scale? If not, use one."). One ratio, doubling every
     three steps: 16 · 20 · 25 · 32 · 40 · 51 · 64 · 81 · 102 px at 1440px wide and up. On a 360px phone the same
     steps run on a gentler ratio (1.14): 16 · 18 · 21 · 24 · 27 · 31 · 35 · 40 · 46. In between, each step slides
     in a straight line. Every size on the site is a step. Two exceptions: the name on the back of the box, and the
     hero line, which also shrinks to fit a narrow phone ("Some you balance." on one line). */
  --s0:16px;
  --s1:clamp(18.24px,17.60px + 0.178vw,20.16px);
  --s2:clamp(20.79px,19.26px + 0.426vw,25.40px);
  --s3:clamp(23.70px,20.94px + 0.768vw,32.00px);
  --s4:clamp(27.02px,22.59px + 1.231vw,40.32px);
  --s5:clamp(30.81px,24.14px + 1.851vw,50.80px);
  --s6:clamp(35.12px,25.49px + 2.674vw,64.00px);
  --s7:clamp(40.04px,26.50px + 3.759vw,80.63px);
  --s8:clamp(45.64px,26.99px + 5.181vw,101.59px);
  --t-s:var(--s0);      /* buttons, links, captions */
  --t-b:var(--s1);      /* body */
  --t-lead:var(--s2);   /* leads, the identity line */
  --t-m:var(--s3);      /* folder names and their first lines, card titles, the hero's first line */
  --t-l:var(--s6);      /* section headings */
  --t-xl:var(--s8);     /* the hero line, page titles */
  --gut:max(24px,env(safe-area-inset-left,0px));
  --gut-r:max(24px,env(safe-area-inset-right,0px));
  --rad:22px;
  --ease-out:cubic-bezier(0.23,1,0.32,1); --ease-in-out:cubic-bezier(0.77,0,0.175,1);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;-webkit-tap-highlight-color:transparent}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--text);font-size:var(--t-b);line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{max-width:100%}
a{color:inherit}
a,button{touch-action:manipulation}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:8px;z-index:30;background:var(--ink);color:#fff;padding:12px 16px;border-radius:10px;text-decoration:none}
.skip:focus{left:16px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wrap{max-width:1360px;margin:0 auto;padding-left:var(--gut);padding-right:var(--gut-r)}
.display{font-family:var(--display);font-weight:800;letter-spacing:-.04em;line-height:.95;margin:0;text-wrap:balance}
/* The display face and its picker (Funnel Display by default, on every page): fonts.css and pz-font.js. */

/* Buttons: flat and fully round, one shape everywhere. Black is the cube's plastic. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:0 24px;border-radius:999px;border:0;
  background:var(--plastic);color:#fff;font:600 var(--t-s)/1 var(--text);text-decoration:none;cursor:pointer;transition:transform .16s var(--ease-out),background-color .2s ease}
.btn:active{transform:scale(.97)}
.btn.light{background:var(--paper);color:var(--ink)}
.letter .btn.light,.tear .btn.light,.hello-card .btn.light,.back-card .btn.light{background:var(--ground)}
.btn svg{flex:none}
@media (hover:hover) and (pointer:fine){.btn:hover{background:#2c2b28}.btn.light:hover{background:#fff}.tear .btn.light:hover,.hello-card .btn.light:hover{background:#dddcd6}}

/* The bar: wordmark, three links, one action. Plain, no chrome. */
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding-top:20px}
.mark{display:inline-flex;align-items:center;gap:12px;font:700 var(--t-b)/1 var(--text);text-decoration:none;letter-spacing:-.01em}
.mark i{display:grid;grid-template-columns:repeat(3,6px);gap:2px;padding:4px;border-radius:7px;background:var(--plastic)}
.mark i b{width:6px;height:6px;border-radius:2px}
.links{display:flex;align-items:center;gap:8px}
.links a{padding:12px 16px;border-radius:999px;font-weight:600;font-size:var(--t-s);text-decoration:none;transition:background-color .2s ease}
.links .btn{margin-left:8px;min-height:44px;padding:0 20px}
@media (hover:hover) and (pointer:fine){.links a:not(.btn):hover{background:rgba(20,20,19,.07)}}

/* ---------------------------------------------------------------- the hero: the puzzles play themselves */
.hero{position:relative;min-height:calc(100svh - 81px);display:grid;grid-template-rows:auto auto 1fr auto;justify-items:center;text-align:center;
  padding-bottom:28px;overflow:hidden}
/* The header stays in view on tablets and up (Raashi, 2026-11-14: "the header should be sticky, right"). It sits
   outside the hero (whose overflow would otherwise trap it), on the page colour, flat. The folders pile up under it
   (--hdr), and in-page jumps clear it. Phones keep it in the flow, where it would cover too much of a small screen. */
.topbar{position:relative;z-index:30;background:var(--ground)}
.topbar .bar{text-align:left;padding-bottom:12px}
@media (min-width:761px){
  :root{--hdr:81px}
  .topbar{position:sticky;top:0;box-shadow:0 0 0 100vmax var(--ground);clip-path:inset(0 -100vmax)}
  html{scroll-padding-top:96px}
}
.slot{width:100%;display:flex;justify-content:center;margin-top:clamp(20px,4svh,44px)}
.setup{font-size:var(--t-m);line-height:1.1;color:var(--ink);white-space:nowrap;opacity:0;transition:opacity .2s ease}   /* ink, like the big line it takes over from, so the words never change colour (Raashi, 2026-10-31) */   /* Raashi: 32px (step 3; 24px on a phone) */   /* taste-skill-ignore: a sentence of the hero copy (Raashi: the line steps back above the big one), not a label */
.setup.on{opacity:1}
.confess{position:absolute;z-index:3;left:50%;top:34%;transform:translate(-50%,-50%);font-size:var(--s7);line-height:.95;white-space:nowrap;opacity:0;font-variation-settings:"opsz" 96}
.setup{font-variation-settings:"opsz" 96}   /* taste-skill-ignore: a sentence of the hero copy (Raashi: the line steps back above the big one), not a label */
.punch{font-size:var(--t-xl);line-height:.92;margin-top:12px;opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .7s var(--ease-out)}
/* "Some you" arrives once and stays; only the verb changes, the same way every time (Raashi: the lines coming in
   differently "looks a little weird"). All four verbs share one grid cell, so the slot is always as wide as the
   widest and nothing beside it slides. The old verb lifts away, the new one rises into its place. */
.punch{white-space:nowrap;font-size:min(var(--t-xl),9.8vw)}   /* "Some you assemble." (the widest verb, ~9.1em) must fit a 360px phone on one line, with 16px either side */
.punch .swap{display:inline-grid;text-align:left;transition:width .32s var(--ease-in-out)}   /* its width follows the verb on show (games.js), so the line stays centred */
.punch .swap>span{grid-area:1/1;justify-self:start;opacity:0;visibility:hidden;transform:translateY(.32em);
  transition:opacity .22s ease,transform .32s var(--ease-in-out),visibility 0s linear .32s}
.punch .swap>span.was{transform:translateY(-.32em)}
.punch .swap>span.on{opacity:1;visibility:visible;transform:none;transition:opacity .36s ease .14s,transform .5s var(--ease-out) .14s,visibility 0s}
body.turn .punch{opacity:1;transform:none}
.stage{position:relative;width:100%;min-height:min(44svh,420px)}
.layer{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s linear .35s}
.layer.on{opacity:1;visibility:visible;transition:opacity .35s ease}
.layer canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.cubes{display:flex;align-items:center;justify-content:center;perspective:1100px;touch-action:none;cursor:grab}
.cubes:active,#topple:active,#jenga:active{cursor:grabbing}
#topple{touch-action:none;cursor:grab}
/* Jenga (games.js): CSS 3D like the cube, six faces a block, each lit as it turns; the wood is drawn into the faces. */
#jenga{perspective:1100px;touch-action:none;cursor:grab;user-select:none}
/* the jigsaw: a table seen at a slight tilt, like the other toys' floors (games.js) */
#jigsaw svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible;transform:perspective(1600px) rotateX(18deg);transform-origin:50% 70%}
#jigsaw .jz-board{filter:drop-shadow(0 6px 10px rgba(20,20,19,.10))}
.jworld{position:absolute;left:50%;top:80%;width:0;height:0;transform-style:preserve-3d}
.jb{position:absolute;left:0;top:0;width:0;height:0;transform-style:preserve-3d}
.jb>i{position:absolute;display:block;backface-visibility:hidden;border:1px solid rgba(60,36,14,.14);border-radius:2px}   /* taste-skill-ignore: the edge of a wooden block, part of the 3D object */
.jshd{position:absolute;left:0;top:0;background:rgba(20,20,19,1);border-radius:3px;opacity:0;pointer-events:none}
.jpool{position:absolute;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,rgba(20,20,19,.16),rgba(20,20,19,.06) 55%,rgba(20,20,19,0))}   /* taste-skill-ignore: contact shadow under the tower, as under the cube */
.field{left:max(0px,calc((100% - 980px) / 2));right:max(0px,calc((100% - 980px) / 2))}
.wob,.cube{position:relative;width:0;height:0;transform-style:preserve-3d}
.wob{--s:76px}
.floor{position:absolute;width:calc(var(--s) * 4.2);height:calc(var(--s) * 4.2);left:calc(var(--s) * -2.1);top:calc(var(--s) * -2.1);
  border-radius:50%;background:radial-gradient(closest-side,rgba(20,20,19,.17),rgba(20,20,19,.07) 55%,rgba(20,20,19,0));pointer-events:none}   /* taste-skill-ignore: contact shadow under the 3D cube */
.cubie{position:absolute;left:calc(var(--s) / -2);top:calc(var(--s) / -2);width:var(--s);height:var(--s);transform-style:preserve-3d}
/* The cube's body. The outside of each piece (the faces with stickers) has rounded corners, like a real cube
   (Raashi: without them it "looks unnatural"). The faces inside the cube stay square, so wherever rounded corners
   meet, a groove shows black plastic behind it, never the ground through the cube. Faces are a half pixel larger
   than the piece so neighbours meet without a seam. The plastic is a hair lighter than the site's black so the
   face shading reads on it too. */
.cubie>i{position:absolute;inset:-.5px;background:#1d1d1c;backface-visibility:hidden}
.cubie>i.out{border-radius:11%}
.cubie>.core{position:absolute;inset:3%;background:#1d1d1c;backface-visibility:hidden}
.cubie>i>b{position:absolute;inset:7.5%;border-radius:15%;background:var(--c,transparent)}
.cubie>i>u{position:absolute;inset:0;border-radius:inherit;background:#000;opacity:0;pointer-events:none}
.food{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;opacity:0;
  transform:translate(-50%,-50%) scale(.6);transition:transform .35s var(--ease-out),opacity .2s ease}
.food.in{opacity:1;transform:translate(-50%,-50%)}
.food.eaten{opacity:0;transform:translate(-50%,-50%) scale(1.35);transition:transform .25s var(--ease-out),opacity .25s ease}
.food svg{width:56%;height:56%;display:block}
/* The foot is in place from the first frame and only fades in: nothing under the stage ever moves (Raashi: "do not
   have it jump"). The status line keeps its full height while empty, so its first words don't nudge it either. */
.foot{display:grid;justify-items:center;gap:12px;opacity:0;transition:opacity .5s ease .2s}
body.turn .foot{opacity:1}
.who{margin:0;max-width:46rem;font-size:var(--t-lead);font-weight:400;line-height:1.45;text-wrap:balance}   /* regular: it is the h1, which browsers make bold, so only the name stood out by accident… now it does on purpose (Raashi, 2026-11-24: "should everything else be bold?") */
.who b{font-weight:700}
.status{margin:0;width:min(100%,30rem);font-size:var(--t-s);line-height:1.55;color:var(--muted);min-height:1.55em}   /* a fixed width: the same box whether it's empty or not */
.status.said{animation:said .6s ease both}   /* each puzzle's line fades in once it has settled (games.js) */
@keyframes said{from{opacity:0}}
/* On small phones the longest line ("Let the agent move fast. Keep people in charge.") takes two lines, so the room
   for two is kept the whole time; otherwise the stage above would shrink a line whenever it shows. */
@media (max-width:479px){.status{min-height:3.1em}}
/* Laptop windows are wide but short (1366×650, 1440×780, 1536×730). There the hero ran past the fold: the cube sat
   over the picker and the lines under it were cut off (fresh-eyes review, 2026-11-10). On a short, wide window the
   stage, the cube and the big line each take a little less room and the identity line runs wider, so it all fits. */
@media (min-width:761px) and (max-height:860px){
  .hero{padding-bottom:16px}
  .slot{margin-top:clamp(8px,2svh,20px)}
  .punch{font-size:min(var(--t-xl),9.8vw,13.5svh);margin-top:8px}
  .stage{min-height:36svh}
  .wob{--s:68px}
  .foot{gap:8px}
  .who{max-width:60rem}
}
@media (min-width:761px) and (max-height:800px){.wob{--s:64px}}
@media (min-width:761px) and (max-height:740px){.wob{--s:57px}}
@media (min-width:761px) and (max-height:680px){.wob{--s:47px}}
@media (min-width:761px) and (max-height:630px){.wob{--s:43px}}
/* The picker: a small drawing of each puzzle (games.js). The one on stage is in ink with a line under it that
   fills as the puzzle is worked out; the rest are quiet (--faint still clears 3:1 on the ground). */
.picker{display:flex;align-items:center;gap:2px}
.pz{appearance:none;border:0;background:none;padding:0;position:relative;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  color:var(--faint);fill:currentColor;cursor:pointer;transition:color .2s ease,transform .15s var(--ease-out)}
.pz svg{width:24px;height:24px;display:block}
.pz[aria-current="true"]{color:var(--ink)}
/* The one on stage shows its puzzle's own colours (Raashi); the rest stay quiet grey. The line stays ink. */
.pz svg *{transition:fill .2s ease,stroke .2s ease}
.pz[aria-current="true"] svg :not(g):not([fill="none"]){fill:var(--c,currentColor)}
.pz[aria-current="true"] svg [stroke]{stroke:var(--c,currentColor)}
.pz:active{transform:scale(.94)}
.pz-line{position:absolute;left:10px;right:10px;bottom:2px;height:2px;border-radius:2px;background:rgba(20,20,19,.13);overflow:hidden;opacity:0;transition:opacity .2s ease}
.pz[aria-current="true"] .pz-line{opacity:1}
.pz-line b{display:block;height:100%;background:currentColor;transform:scaleX(0);transform-origin:left}
.pz-sep{width:1px;height:18px;margin:0 8px;background:rgba(20,20,19,.16)}
.pz[hidden],.pz-sep[hidden]{display:none}
.pz-hold .i-play,.pz-hold.is-paused .i-pause{display:none}
.pz-hold.is-paused .i-play{display:block}
.pz-hold.is-paused{color:var(--ink)}
@media (hover:hover) and (pointer:fine){.pz:hover{color:var(--ink-2)}}
/* Without the script the hero is still the headline and the name, just still. */
.no-js .confess,.no-js .picker{display:none}
.no-js .setup,.no-js .punch,.no-js .foot{opacity:1;transform:none}

/* ---------------------------------------------------------------- the work: four puzzles, filed as folders */
.work{padding-top:clamp(64px,7vw,112px)}   /* unslop pass: was up to 180px, a dead band under the hero */
.work-h{display:flex;align-items:end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:40px}
.work-h h2{font-size:var(--t-l)}
.work-h p{margin:0;max-width:30ch;font-size:var(--t-b)}
.folders{position:relative}
/* Each band is a folder: its top edge is cut so a shouldered tab rises at the left; on wide screens the folders
   stick and pile up as you scroll, leaving each one's tab and title in view. */
.band{position:relative;--top0:calc(var(--hdr,0px) + var(--i) * 72px);--top:var(--top0);margin-top:-20px;   /* 1px more than the 18px cut, so no page ground shows between two folders */
  padding:0 0 clamp(40px,4.4vw,64px);
  background:var(--c);color:var(--fg,var(--ink));
  clip-path:polygon(0 0,clamp(260px,26vw,380px) 0,calc(clamp(260px,26vw,380px) + 22px) 18px,100% 18px,100% 100%,0 100%)}
.band:first-child{margin-top:0}
.band-top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:12px clamp(24px,2.6vw,40px) 0}
.band-top h3{margin:0;font:800 var(--t-m)/1 var(--display);letter-spacing:-.03em}
.band-top p{margin:20px 0 0;font-size:var(--t-s);font-weight:600}
.band-body{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(24px,3.4vw,56px);align-items:start;padding:20px clamp(24px,2.6vw,40px) 0}
.band-art{border-radius:var(--rad);overflow:hidden;background:#fff}
.band-art svg{display:block;width:100%;height:auto}
.band-art img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
/* A video thumbnail (Conversation widgets, made by the case-study session): a muted loop, played only while on
   screen and never on its own with reduced motion (site.js). The small round button pauses or plays it. */
.band-art.thumb{position:relative}
.band-art video{display:block;width:100%;height:auto;aspect-ratio:16/10;background:#f6f6f6}
.thumb-toggle{position:absolute;right:12px;bottom:12px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(20,20,19,.7);color:#fff;
  display:grid;place-items:center;cursor:pointer;transition:background-color .2s ease}
.thumb-toggle svg{width:14px;height:14px;fill:currentColor}
.thumb-toggle .i-play,.thumb-toggle.is-paused .i-pause{display:none}
.thumb-toggle.is-paused .i-play{display:block}
@media (hover:hover) and (pointer:fine){.thumb-toggle:hover{background:var(--plastic)}}
/* every drawing has a phone version, stacked top to bottom, so nothing has to be swiped sideways */
.art-tall{display:none!important}
.band-text{display:grid;gap:20px;align-content:start}
.band-text p{margin:0}
.band-text .lead{font:800 var(--t-m)/1.08 var(--display);letter-spacing:-.03em;text-wrap:balance}
.band-text .solve{font-size:var(--t-b);line-height:1.55}
.band-text .solve b{font-weight:700}
.band-text .tags{font-size:var(--t-s);font-weight:600}
.band-text .btn{justify-self:start;margin-top:8px}
/* The project cards (Raashi picked option 5, 2026-11-23): no top strip; the text column reads top line, the project's name,
   one supporting sentence, then the part Raashi played and one result. The problem and the solve are left to the case study. */
.band.pj .band-body{align-items:center;padding-top:clamp(28px,3vw,44px)}
.folders.cards .band.pj{padding-bottom:clamp(28px,3vw,44px)}   /* the same space under the art as above it (Raashi, 2026-11-23: "Why uneven spacing from top and bottom?") */
.band-text .where{font-size:var(--t-s);font-weight:600}
.band-text .where .nw{white-space:nowrap}   /* a long top line wraps at a dot, never inside "Sole designer" or "Proof of concept" */
.band-text h3{margin:-8px 0 0;font:800 clamp(34px,3.3vw,52px)/1 var(--display);letter-spacing:-.02em;text-wrap:balance}
.band-text .sup{font-size:var(--t-lead);line-height:1.45;text-wrap:pretty}   /* no one-word last line (Raashi, 2026-11-23: "giving an orphan"); the source also ties the last two words */
.band-text .facts{display:grid;gap:4px;padding-top:16px;border-top:1.5px solid var(--ink);font-size:var(--t-b);line-height:1.4}
.band-text .facts b{font-weight:700}   /* the number in the body face, bold (Raashi, 2026-11-23: two typefaces in one sentence) */
.band-text .tags .nw{white-space:nowrap}
/* the skill tags as pills, the same as the case studies' tool chips (filled tint, no outline), smaller and without icons
   (Raashi, 2026-11-24: the dotted tags looked like the top line; "we're not using it anywhere else, right"; "try") */
.band-text .tags{display:flex;flex-wrap:wrap;gap:8px 0;font-size:0}
.band-text .tags .nw{display:inline-flex;align-items:center;min-height:28px;margin-right:8px;padding:0 12px;border-radius:15px;background:color-mix(in srgb,var(--ink) 9%,transparent);font-size:14px;font-weight:500;color:var(--ink)}   /* the skill tags are back on the cards (Raashi, 2026-11-23: "5 misses keywords"); each tag stays on one line */
.band.on-dark .btn{background:var(--paper);color:var(--ink)}
/* Folders stick and pile up only where a whole folder fits the screen; never on the About page, whose folders are long. */
@media (min-width:981px) and (min-height:560px){
  .folders{display:flex;flex-direction:column}   /* flex, so the evening margins below a card and above the next don't collapse */
  .band{position:sticky;top:var(--top)}
  .about-page .band{position:relative;top:auto}
  /* six folders (2026-11-22): a folder lower in the pile has less screen below its tab, so its picture shrinks to the
     height it has (16:10), keeping the button in view; the text column keeps its width */
  /* (2026-11-23) the pictures no longer shrink to fit the pile: every thumbnail keeps one size (Raashi: "Why are the thumbnails … different in size?"); a folder that would overflow stops higher instead (site.js lift) */
  /* screens too short even for that: site.js marks .folders.flat and the folders scroll normally */
  .folders.flat .band{position:relative;top:auto}
  .folders.flat::after{display:none}
  /* a short hold once the last folder lands, so the whole pile can be read before it leaves (site.js evens the bottoms) */
  .folders::after{content:"";display:block;height:clamp(72px,10vh,112px)}   /* unslop pass: was up to 180px; the last card still holds a moment before it lets go */
  .about-page .folders::after{display:none}
  /* a covered folder's tab opens it (site.js): a pointer and, on hover, a faint lightening of the tab */
  .band.is-stacked{cursor:pointer}
  .band{transition:background-color .2s ease}
}
@media (min-width:981px) and (min-height:560px) and (hover:hover){
  /* the whole folder lightens, not only its title row: the strip a covered folder shows is taller than that row,
     so tinting the row alone left a darker sliver under it (Raashi, 2026-11-16) */
  .band.is-stacked:hover{background:color-mix(in srgb,var(--c) 90%,#fff)}
}

/* ---------------------------------------------------------------- a letter, with a tear-off strip */
.about{padding:clamp(56px,6vw,88px) 0 clamp(72px,8vw,120px)}   /* unslop pass: was up to 200px above and below the letter */
.letter{width:min(100%,680px);margin:0 auto;background:var(--paper);border-radius:28px 28px 0 0;padding:clamp(28px,5vw,60px) clamp(24px,5vw,60px) 40px}
.letter-top{display:flex;align-items:center;gap:16px;margin-bottom:28px}
/* a photo taped to the letter, an instant print */
.about{position:relative}
.snap{position:absolute;z-index:1;top:clamp(40px,6vw,96px);left:max(16px,calc(50% - 340px - 250px));width:clamp(200px,19vw,272px);margin:0;
  padding:12px 12px 40px;background:#fff;rotate:-5deg}   /* rotate, not transform, so the entrance can't undo the tilt */
.snap img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 30%}
.snap::before{content:"";position:absolute;top:-14px;left:50%;width:96px;height:28px;margin-left:-48px;background:var(--f-yellow);opacity:.9;transform:rotate(4deg)}
.letter-top span{font-size:var(--t-s);color:var(--muted);font-weight:600}
.letter p{margin:0 0 20px;font-size:var(--t-b);line-height:1.6;color:var(--ink)}
.letter p mark{background:var(--f-yellow);color:inherit;padding:0 .15em;border-radius:3px}
.sign{margin-top:32px}
.sign b{display:block;font:800 var(--t-m)/1 var(--display);letter-spacing:-.03em}
.sign span{display:block;margin-top:8px;font-size:var(--t-s);color:var(--muted)}
/* The tear line (Raashi, 2026-11-21: the scalloped edge over a dotted line was "a little wonky": two rhythms that never
   lined up, and Safari drew the dots square). One sheet, one perforation: round holes on an even pitch (whole holes only,
   repeat: round) and a notch at each end like a ticket stub, painted in the page's own colour so they read as holes.
   Painted, not masked: tiled masks left hairline seams through the text. */
.tear{border-radius:0 0 28px 28px;width:min(100%,680px);margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;
  padding:36px clamp(24px,5vw,60px) 24px;background:var(--paper);position:relative}
.tear::before,.tear::after{content:"";position:absolute;top:1px;height:18px;pointer-events:none}
.tear::before{left:20px;right:20px;background:radial-gradient(circle,#dcdad3 3px,#0000 3.6px) 0 0/14px 18px round no-repeat}   /* a hole reads a shade darker than the page: the inside of the cut */   /* taste-skill-ignore: the perforation holes, drawn as a pattern */
.tear::after{left:0;right:0;background:radial-gradient(circle at 0 50%,var(--ground) 9px,#0000 9.6px) left/18px 100% no-repeat,
  radial-gradient(circle at 100% 50%,var(--ground) 9px,#0000 9.6px) right/18px 100% no-repeat}   /* taste-skill-ignore: the two ticket notches */
.tear .mail{font:700 var(--t-lead)/1.2 var(--text);user-select:all;overflow-wrap:anywhere}
.tear-actions{display:flex;gap:12px;flex-wrap:wrap}

/* ---------------------------------------------------------------- the scores: a printed card on red (red is fine here: a backdrop behind a paper card, with no white text or product UI on it; Raashi, 2026-11-16) */
.scores{background:var(--f-yellow);padding:clamp(56px,6vw,88px) 0}   /* Recognition: dusty cream-gold band (2026-11-23), three picture tiles */
.rc-in{width:min(100% - 2 * max(16px,4vw),1312px);margin:0 auto}
.scores h2{margin:0 0 clamp(24px,2.4vw,32px);font:800 var(--t-l)/1 var(--display);letter-spacing:-.01em}
.rc-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rc-list li{background:#f6f6f4;border-radius:22px;box-shadow:inset 0 0 0 1.5px rgba(20,20,19,.85);overflow:hidden;display:flex;flex-direction:column}
.rc-list img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-bottom:1.5px solid rgba(20,20,19,.85)}
.rc-t{padding:20px 24px 24px;display:flex;flex-direction:column;gap:8px}
.rc-t p{margin:0}
.rc-k{font-size:var(--t-s);font-weight:600;color:var(--muted)}
.rc-t h3{margin:0;font:700 clamp(19px,1.5vw,22px)/1.2 var(--text);text-wrap:pretty}
.rc-t h3 a{color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.rc-t p:last-child{font-size:var(--t-b);line-height:1.4;color:var(--ink-2)}
@media (max-width:900px){.rc-list{grid-template-columns:1fr;max-width:560px}}
/* a collage: each tile pinned at a slight tilt with a strip of tape, like the postcard photo in the letter (Raashi, 2026-11-23:
   "a bit collage like? to show some movement?"). White tape, since yellow would vanish on the band. */
.rc-list{gap:28px;padding-top:20px}
.rc-list li{position:relative;overflow:visible}
.rc-list li img{border-radius:22px 22px 0 0}
.rc-list li::before{content:"";position:absolute;z-index:2;top:-13px;left:50%;width:92px;height:26px;margin-left:-48px;background:rgba(255,255,255,.72);box-shadow:0 0 0 1px rgba(20,20,19,.06)}
.rc-list li:nth-child(1){rotate:-2.2deg;translate:0 10px}
.rc-list li:nth-child(1)::before{rotate:-5deg}
.rc-list li:nth-child(2){rotate:1.6deg;translate:0 -6px}
.rc-list li:nth-child(2)::before{rotate:4deg}
.rc-list li:nth-child(3){rotate:-1.2deg;translate:0 14px}
.rc-list li:nth-child(3)::before{rotate:-3deg}
@media (max-width:900px){.rc-list li:nth-child(n){translate:none}}   /* stacked: the tilt stays, the offsets would crowd the tiles */
/* motion (Raashi, 2026-11-24: "yeah"): each tile settles into its tilt as it rises into view, once, in turn; on a laptop,
   pointing at one straightens it and lifts it a little, like picking up a photo. Reduced motion: no turn, no lift. */
.rc-list li.rise{transition:opacity .6s ease,transform .8s var(--ease-out),rotate .7s var(--ease-out),translate .3s var(--ease-out);transition-delay:calc(var(--d,0) * 80ms)}
.rc-list li.rise:not(.in){rotate:0deg}
@media (hover:hover) and (pointer:fine){.rc-list li.in:hover{rotate:0deg;transition-delay:0s;transition-duration:.6s,.8s,.25s,.25s}.rc-list li.in:nth-child(1):hover{translate:0 2px}.rc-list li.in:nth-child(2):hover{translate:0 -14px}.rc-list li.in:nth-child(3):hover{translate:0 6px}}
@media (prefers-reduced-motion:reduce){.rc-list li.rise{transition:none}.rc-list li.in:hover{translate:none}}

/* ---------------------------------------------------------------- say hello: a card on the board */
.hello{position:relative;min-height:min(100svh,860px);overflow:hidden;
  background:#fff radial-gradient(circle,#e2dfd8 1.3px,transparent 1.7px) 0 0/22px 22px}   /* taste-skill-ignore: the FigJam board's dot grid, drawn as a pattern */
.hello-board{position:absolute;inset:0}
.hello-board svg{width:100%;height:100%;display:block;object-fit:cover}
.hello-card{position:relative;z-index:2;width:min(100% - 32px,420px);margin:clamp(48px,6vw,72px) clamp(16px,5vw,72px) 48px auto;background:var(--paper);
  border-radius:var(--rad);padding:32px;display:grid;gap:16px}
.hello-card h2{font-size:var(--t-l)}
.hello-card .mail{font:700 var(--t-lead)/1.25 var(--text);user-select:all;overflow-wrap:anywhere}
.hello-card p{margin:0}
.hello-card .note{font-size:var(--t-s);color:var(--muted)}
.hello-links{display:flex;gap:12px;flex-wrap:wrap}

/* ---------------------------------------------------------------- the back of the box (revealed like a curtain) */
.main{background:var(--ground)}
/* The curtain: the footer holds the board and the back of the box; the board lifts off the back card as you reach the end. */
.end{position:relative}
.end .hello{z-index:2}
.closing{position:sticky;bottom:0;z-index:1;background:var(--plastic);padding:72px 0 28px}
.back-card{position:relative;background:var(--paper);border-radius:0 0 var(--rad) var(--rad);margin-top:20px;padding:clamp(40px,5vw,64px) clamp(24px,4vw,56px) 28px;
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px 48px}
.back-card::before{content:"";position:absolute;left:0;right:0;top:-19px;height:20px;background:var(--paper);
  -webkit-mask:radial-gradient(50% 100% at 50% 100%,#000 98%,transparent 100%) 0 0/96px 20px repeat-x;   /* taste-skill-ignore: a mask that cuts the scalloped edge, not a visible fill */
  mask:radial-gradient(50% 100% at 50% 100%,#000 98%,transparent 100%) 0 0/96px 20px repeat-x}   /* taste-skill-ignore: a mask that cuts the scalloped edge, not a visible fill */
.back-card h2{font-size:var(--t-l)}
.back-card .msg{margin:20px 0 0;max-width:34ch}
.back-links{display:grid;gap:12px;align-content:start;font-size:var(--t-lead);font-weight:600}
.back-links a{text-decoration:none;justify-self:start}
@media (hover:hover) and (pointer:fine){.back-links a:hover{text-decoration:underline;text-underline-offset:4px}}
/* A tiny green ∞, there but not meant to be seen (Raashi, 2026-11-12: "so small that it should not be visible to the naked eye, but it should be there"). Hidden from screen readers. */
.back-card::after{content:"∞" / "";position:absolute;right:14px;bottom:8px;font:700 3px/1 var(--text);color:var(--green);pointer-events:none}
.imprint{grid-column:1/-1;margin:24px 0 0;text-align:center;font-size:var(--t-s);color:var(--muted)}
.back-name{display:block;margin-top:32px;padding-bottom:.06em;font:800 clamp(56px,13.4vw,220px)/.84 var(--display);letter-spacing:-.05em;color:var(--paper);white-space:nowrap;text-align:center}   /* pz-font.js fits it to the width in any face, so nothing is cut (the y's tail included) */

/* ---------------------------------------------------------------- the About page */
.ab-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:center;padding-top:clamp(48px,7vw,112px)}
.ab-hero h1{font-size:var(--t-xl)}
.ab-intro{margin:24px 0 0;max-width:32ch;font-size:var(--t-m);line-height:1.3;font-weight:500}
.ab-photo{margin:0;border-radius:var(--rad);overflow:hidden;background:var(--paper)}
.ab-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.ab-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:clamp(28px,4vw,48px) 0 0}
.ab-facts>div{background:var(--c);color:var(--fg,var(--ink));border-radius:var(--rad);padding:24px 24px 24px;display:grid;gap:8px;align-content:start}
.ab-facts dt{font-weight:800;font-family:var(--display);font-size:var(--t-m);letter-spacing:-.03em;line-height:1}
.ab-facts dd{margin:0;font-size:var(--t-s);line-height:1.45}
.ab-bit{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(28px,5vw,80px);padding-top:clamp(96px,11vw,172px)}
.ab-bit h2,.ab-work h2{font-size:var(--t-l)}
/* The heading runs across the top; the board and the text then start level under it. (The text column used to
   stretch to the board's height, which spread its three paragraphs far apart; Raashi, 2026-11-16.) */
.ab-side{display:contents}
.ab-side h2{grid-column:1/-1;margin-bottom:-8px}
.ab-board{max-width:448px;border-radius:var(--rad);overflow:hidden;background:#fff}
.ab-board svg{display:block;width:100%;height:auto}
.ab-bit-text{display:grid;gap:20px;align-content:start}
.ab-bit-text p{margin:0;max-width:62ch}
.ab-bit-text p:first-child{font-size:var(--t-m);line-height:1.3;font-weight:600;max-width:36ch}
.ab-work{padding-top:clamp(96px,11vw,172px)}
.ab-work h2{margin-bottom:40px}
.ab-band{display:grid;gap:28px;padding:24px clamp(24px,2.6vw,40px) 0}
.ab-lead{margin:0;font-size:var(--t-lead);line-height:1.5;text-wrap:pretty}   /* full width, as the case studies (Raashi, 2026-11-23: "Why is this not full width?"); was capped at 60ch */
.ab-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,36px)}
.ab-col{display:grid;gap:16px;align-content:start}
.ab-col h4,.ab-list h4{margin:0;font:800 var(--t-lead)/1.1 var(--display);letter-spacing:-.025em}
.ab-col p,.ab-list p{margin:0;font-size:var(--t-s);line-height:1.55}
.ab-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px clamp(20px,3vw,48px)}
.ab-list>div{display:grid;gap:8px;align-content:start}
.ab-list>.wide{grid-column:1/-1}
.ab-list>.wide .sc-desc{max-width:none}   /* full width, like the rest of the band (Raashi, 2026-11-26: "why is this not full width?"); was capped at 70ch */
.ab-list>.wide .sc-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px clamp(20px,3vw,48px)}   /* the same two columns and gap as the rows below, so the groups line up with them ("see the layout issue") */
.ab-list h4 span{font:600 var(--t-s)/1 var(--text);letter-spacing:0;margin-left:8px}
.ab-links{display:flex;gap:12px;flex-wrap:wrap}
.band.on-dark .ab-links .btn{background:var(--paper);color:var(--ink)}
.band:not(.on-dark) .ab-links .btn.light{background:rgba(255,255,255,.55)}
.ab-hello{background:var(--ground);min-height:0;padding:clamp(96px,11vw,172px) 0}
.ab-hello .hello-card{margin:0 auto;width:min(100% - 32px,560px)}
.about-page .closing{padding-top:40px}
@media (max-width:980px){
  .ab-cols{grid-template-columns:1fr}
  .fl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ab-hero,.ab-bit{grid-template-columns:1fr}   /* the statements need the full width on a tablet */
  .ab-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .ab-list,.ab-list>.wide .sc-body{grid-template-columns:1fr}
  .ab-facts{grid-template-columns:1fr}
}

/* ---------------------------------------------------------------- entrances: the parts of each section, once */
.rise{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .8s var(--ease-out);transition-delay:calc(var(--d,0) * 80ms)}
.rise.in{opacity:1;transform:none}
.no-js .rise{opacity:1;transform:none}

/* ---------------------------------------------------------------- phones */
@media (max-width:1180px){
  /* the print stays on the LEFT, as on wide screens (Raashi, 2026-11-23: it had moved to the right below 1180px) */
  .snap{position:relative;top:auto;left:auto;display:block;width:140px;margin:0 auto -40px calc(50% - min(50%,340px) + 20px);rotate:-5deg}
  .letter-top{padding-left:152px}
}
@media (max-width:980px){
  .band-body{grid-template-columns:1fr}
  .hello{min-height:0;padding-bottom:40px}
  .hello-board{position:relative;inset:auto}
  .hello-board svg{height:auto}
  .hello-card{margin:-32px auto 0;width:min(100% - 32px,520px)}
}
@media (max-width:760px){
  .links{gap:0}
  .links a{padding:12px 12px;font-size:var(--t-s)}
  .links a[href="#hello"]{display:none}
  .mark{font-size:0;gap:0}
  .links .btn{margin-left:4px;padding:0 16px}
  .confess{font-size:min(var(--s7),8.6vw)}   /* one line on a phone too (the line is ~10.3em wide), so it shrinks into the small line without reflowing */
  .wob{--s:50px}
  .stage{min-height:38svh}
  .band{clip-path:polygon(0 0,210px 0,226px 16px,100% 16px,100% 100%,0 100%);min-height:0}
  .band-top{flex-direction:column;align-items:flex-start;gap:4px;padding-top:16px}
  .band-top p{margin:0}
  .back-card{grid-template-columns:1fr}
}
@media (max-width:560px){
  :root{--gut:max(16px,env(safe-area-inset-left,0px));--gut-r:max(16px,env(safe-area-inset-right,0px))}
  .band-top,.band-body,.ab-band{padding-inline:16px}
  .art-wide{display:none!important}
  .art-tall{display:block!important}
  .ab-bit-text p:first-child{font-size:var(--t-lead)}   /* a step down on a phone, so the statement keeps to four lines */
  .hello-card{margin-top:-20px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .punch .swap>span,.punch .swap>span.was{transform:none}
  .punch .swap{transition:none}
  .status.said{animation:none}
  .rise{opacity:1;transform:none;transition:none}
}

/* About, growth as a stack (Raashi, 2026-11-16; it replaces the rising curve): three columns, one per year. The bottom
   block is the role; each year's column keeps the earlier blocks and adds that year's on top, so the stack grows.
   A year's new blocks are tabs; the card under the stack shows the one that's picked. */
.ab-journey{padding-top:clamp(80px,10vw,152px)}
.jr-head{display:grid;gap:12px;max-width:40rem;margin-bottom:clamp(24px,3vw,40px)}
.jr-head h2{font-size:var(--t-l)}
.jr-head p{margin:0;font-size:var(--t-b);line-height:1.5;color:var(--ink-2)}
.jr{display:grid;gap:clamp(20px,3vw,32px);padding:clamp(20px,3vw,36px);border-radius:28px;background:var(--paper)}
.gs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px)}
.gs-col{display:grid;grid-template-rows:1fr auto;gap:12px}   /* stacks sit on one line, whatever the labels under them wrap to */
.gs-stack{display:grid;gap:8px;align-self:end}
.gs-b{display:flex;align-items:center;min-height:46px;padding:0 clamp(12px,1.4vw,20px);border:0;border-radius:10px;background:var(--k);color:var(--kf,var(--ink));
  font:600 var(--t-s)/1.15 var(--text);text-align:left;transition:transform .16s var(--ease-out,ease),box-shadow .16s ease}
.gs-c0{--k:var(--ink);--kf:#fff}.gs-c1{--k:var(--blue);--kf:#fff}.gs-c2{--k:var(--yellow);--kf:var(--ink)}
button.gs-b{cursor:pointer}
.gs-kept{cursor:pointer;opacity:.55}
.gs-b.on{opacity:1;box-shadow:0 0 0 3px var(--paper),0 0 0 5.5px var(--ink)}
.gs-b:focus-visible{outline:3px solid var(--blue);outline-offset:6px}
@media (hover:hover) and (pointer:fine){.gs-b:hover{transform:translateX(3px)}}
.gs-yr{margin:0;display:grid;gap:2px;align-content:start;padding-top:12px;border-top:2px solid var(--ink);font-size:var(--t-s);color:var(--muted)}
.gs-yr b{font:800 var(--t-m)/1 var(--display);letter-spacing:-.03em;color:var(--ink)}
.gs-key{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;font-size:var(--t-s);color:var(--ink-2)}
.gs-key span{display:inline-flex;align-items:center;gap:8px;background:none;color:inherit}
.gs-key span::before{content:"";width:14px;height:14px;border-radius:4px;background:var(--k)}
/* Review picker for the three versions of this section (remove with the two versions not picked). */
.gv-pick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:clamp(20px,3vw,32px);font-size:var(--t-s);color:var(--muted)}
.gv-pick span{margin-right:8px;font-weight:600}
.gv-pick button{min-height:44px;padding:0 20px;border:1.5px solid var(--ink);border-radius:999px;background:none;color:var(--ink);font:600 var(--t-s)/1 var(--text);cursor:pointer}
.gv-pick button[aria-pressed="true"]{background:var(--ink);color:#fff}
.gv[hidden]{display:none}
.no-js .gv[hidden]{display:block}.no-js .gv-pick{display:none}
/* Version 2, "Then and now": six cards that flip from how I worked when I started to how I work now. */
.fl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,20px)}
.fl{display:block;min-height:clamp(230px,22vw,290px);padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;perspective:1200px}
.fl-in{position:relative;display:block;height:100%;min-height:inherit;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.3,1.3,.5,1)}
.fl[aria-pressed="true"] .fl-in{transform:rotateY(180deg)}
.fl-f,.fl-b{position:absolute;inset:0;display:grid;grid-template-rows:auto 1fr auto;gap:12px;padding:clamp(16px,2vw,28px);border-radius:20px;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.fl-f{background:var(--paper);color:var(--ink)}
.fl-b{background:var(--k);color:var(--kf,var(--ink));transform:rotateY(180deg)}
.fl i{font-style:normal;font-size:var(--t-s);font-weight:600;opacity:.75}
.fl b{align-self:center;font:800 var(--t-m)/1.08 var(--display);letter-spacing:-.03em;text-wrap:balance}
.fl em{justify-self:start;font-style:normal;font-size:var(--t-s);font-weight:600;padding:8px 12px;border-radius:999px;background:var(--k);color:var(--kf,var(--ink))}
.fl small{font-size:var(--t-s);line-height:1.45}
.fl:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-radius:20px}
@media (hover:hover) and (pointer:fine){.fl:hover .fl-in{transform:rotateY(12deg)}.fl[aria-pressed="true"]:hover .fl-in{transform:rotateY(168deg)}}
/* Version 3, "Board": the seven stops as squares on a game board; the cube piece moves to the square that's picked. */
.bd{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-radius:18px;overflow:hidden}
.bd-sq{display:grid;align-content:space-between;justify-items:start;min-height:clamp(96px,10vw,132px);padding:12px clamp(8px,1.2vw,16px);border:0;background:var(--k);color:var(--kf,var(--ink));font:inherit;text-align:left;cursor:pointer}
.bd-sq b{font:800 var(--t-l)/1 var(--display);letter-spacing:-.03em}
.bd-sq span{font-size:13px;font-weight:600}
.bd-sq:focus-visible{outline:3px solid var(--ink);outline-offset:-6px}
.bd-pawn{position:absolute;left:0;top:0;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;width:var(--pw,38px);height:var(--pw,38px);padding:4px;border-radius:9px;background:var(--plastic);
  box-shadow:0 0 0 3px var(--paper);pointer-events:none;transition:transform .45s cubic-bezier(.3,1.4,.5,1)}
.bd-pawn b{border-radius:2px}
/* On a wide screen the picked block's card sits beside the stack, level with its base. */
@media (min-width:981px){
  .jr{grid-template-columns:minmax(0,6fr) minmax(0,5fr);column-gap:clamp(28px,4vw,56px)}
  .jr .gs{grid-column:1;grid-row:1}.jr .gs-key{grid-column:1;grid-row:2}
  .jr .jr-cards{grid-column:2;grid-row:1/span 2;align-self:end}
  .jr .jr-two{grid-template-columns:minmax(0,1fr)}
  /* the board runs the full width, with its card under it */
  .gv[data-gv="board"] .jr{grid-template-columns:minmax(0,1fr)}
  .gv[data-gv="board"] .jr .jr-cards{grid-column:1;grid-row:auto}
  .gv[data-gv="board"] .jr .jr-two{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.jr-cards{display:grid;gap:16px}
.jr-card{display:grid;gap:12px;padding:clamp(20px,2.4vw,28px);border-radius:20px;background:var(--ground);border-left:8px solid var(--k);color:var(--ink)}
.jr-when{margin:0;font-size:var(--t-s);font-weight:600;color:var(--muted)}
.jr-card h3{margin:0;font-family:var(--display);font-weight:800;font-size:var(--t-l);letter-spacing:-.03em;line-height:1.05}
.jr-card h3 span{display:block;margin-bottom:8px;font-family:var(--text);font-size:var(--t-s);font-weight:600;letter-spacing:0;color:var(--muted)}
.jr-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px}
.jr-two p{margin:0;font-size:var(--t-b);line-height:1.5;color:var(--ink-2)}
.jr-two b{display:block;margin-bottom:4px;font-size:var(--t-s);color:var(--ink)}
.jr-two p:last-child{color:var(--ink);font-weight:500}
.jr-nav{display:flex;gap:8px;justify-content:flex-end}
.jr-nav .btn{cursor:pointer;border:0;font:inherit;font-weight:600}
.jr-nav .btn[disabled]{opacity:.35;cursor:default}
.jr-now{max-width:52rem;margin:clamp(24px,4vw,40px) 0 0;font-family:var(--display);font-weight:800;font-size:var(--t-l);letter-spacing:-.03em;line-height:1.1;text-wrap:balance}
.jr-card[hidden]{display:none}
.no-js .jr-card[hidden]{display:grid}.no-js .jr-nav{display:none}
@media (max-width:760px){
  .jr{padding:16px;border-radius:22px}
  .gs-b{min-height:44px;padding:0 8px;font-size:14px}
  .fl-grid{grid-template-columns:minmax(0,1fr)}.fl{min-height:200px}
  .bd{grid-template-columns:repeat(4,minmax(0,1fr))}.bd-sq{min-height:84px}
  .bd-pawn{--pw:26px;padding:4px;gap:1.5px;border-radius:7px}
  .jr-two{grid-template-columns:minmax(0,1fr)}
  .jr-nav{justify-content:stretch}.jr-nav .btn{flex:1;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.gs-b,.fl-in,.bd-pawn{transition:none}}
/* About: the facts row as proof (Raashi, 2026-11-16): a big number, then one line on what it counts */
.ab-proof dt{font-size:clamp(40px,4.4vw,60px);line-height:.95}
.ab-proof dd{max-width:24ch}

/* About, "Where I've worked": each piece of work opens to its full scope, résumé style (Raashi, 2026-11-18: "about me
   needs to cover that as well beyond my portfolio level work… jira documentation and other things"). Closed by default.
   The title row is the toggle (Raashi: "are the chevrons better placed next to the title?"). A bare chevron got lost
   (Raashi, 2026-11-21: "chevron is getting lost. should I show these out by default?"), so each row ends in a labelled
   pill, "See what I did" / "Show less", and stays closed by default. */
.ab-scope{font-size:var(--t-s)}
.ab-scope summary{display:grid;gap:8px;cursor:pointer;list-style:none;border-radius:10px}
.ab-scope summary::-webkit-details-marker{display:none}
.ab-scope summary h4{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.ab-scope .sc-desc{display:block}
.sc-chev{display:inline-block;align-self:center;width:9px;height:9px;margin-left:2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform .2s ease}
.ab-scope[open] .sc-chev{transform:translateY(2px) rotate(-135deg)}
.sc-more{display:inline-flex;align-items:center;gap:8px;justify-self:start;margin-top:4px;padding:8px 16px;border:1.5px solid currentColor;border-radius:999px;font-size:13.5px;font-weight:600;line-height:1.2;transition:background .15s ease}
.sc-more .sc-chev{width:7px;height:7px;margin:0;border-width:0 1.8px 1.8px 0;transform:translateY(-2px) rotate(45deg)}
.ab-scope[open] .sc-more .sc-chev{transform:translateY(2px) rotate(-135deg)}
.sc-more-c,.ab-scope[open] .sc-more-o{display:none}.ab-scope[open] .sc-more-c{display:inline}
@media (hover:hover) and (pointer:fine){.ab-scope summary:hover .sc-more{background:color-mix(in srgb,currentColor 14%,transparent)}}
.ab-scope summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.sc-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px 28px;margin-top:16px}
.sc-g h5{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.02em;opacity:.8}
.sc-g ul{margin:0;padding:0 0 0 20px;display:grid;gap:8px}
.sc-g li{line-height:1.5;max-width:60ch}
@media (prefers-reduced-motion:reduce){.sc-chev{transition:none}}
.ab-facts dt{text-wrap:balance}   /* no single word left on a line (Raashi, 2026-11-18: orphans) */
/* Short windows (e.g. Chrome with its side panel, ~710px tall; 2026-11-22): the folders' text steps down a little so the
   whole folder, button included, fits in the pile. Full-size screens are unchanged. */
@media (min-width:981px) and (max-height:820px){
  .folders .band-text{gap:12px}
  .folders .band-text .lead{font-size:min(var(--t-m),28px)}
  .folders .band-text .solve{font-size:15.5px;line-height:1.5}
  .folders .band-text .btn{margin-top:2px}
}

/* ---------------------------------------------------------------- stacked cards (trial, index.html#cards; 2026-11-23)
   The folders become rounded cards with a thin outline. In the pile each card sticks a little lower than the one before,
   so a strip of every earlier card shows above it, and site.js shrinks the earlier cards slightly as the next slides over
   (from a reference Raashi recorded). Reduced motion: the stack without the shrinking. */
.folders.cards .band{--top0:calc(var(--hdr,0px) + 16px + var(--i) * 22px);clip-path:none;border-radius:28px;margin-top:28px;
  box-shadow:inset 0 0 0 1.5px rgba(20,20,19,.85);transform-origin:50% 0}
.folders.cards .band:first-child{margin-top:0}
.folders.cards .band-top{padding-top:24px;min-height:84px}
@media (max-width:980px){.folders.cards .band{border-radius:22px;margin-top:20px}.letter{border-radius:22px 22px 0 0}.tear{border-radius:0 0 22px 22px}}   /* the letter and its tear-off strip read as one ticket with the cards' corners (Raashi, 2026-11-23) */
/* the trial switch (folders vs cards) */
.work-h .mode-pick{display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:999px;background:var(--sheet,#f6f6f4);box-shadow:inset 0 0 0 1px var(--line,#d9d5cb);font:600 14px/1 var(--font,Figtree,sans-serif)}
.mode-pick span{padding:0 8px 0 12px;color:var(--muted)}
.mode-pick button{min-height:36px;padding:0 16px;border:0;border-radius:999px;background:none;color:var(--ink);font:inherit;cursor:pointer}
.mode-pick button[aria-pressed="true"]{background:var(--plastic,#141414);color:#fff}

/* a visible hover (Raashi, 2026-11-24: "these buttons lack a hover state"; the old one, #141414 → #2c2b28, was too faint):
   the fill lightens and the icon slides 3px toward where it goes. Pointer devices only; no slide with reduced motion. */
.btn svg,.btn-green svg{transition:translate .2s cubic-bezier(.23,1,.32,1)}
@media (hover:hover) and (pointer:fine){
  .btn:not(.light):hover,.btn-green:hover{background:#3d3c38}
  .btn:hover svg:last-child,.btn-green:hover svg:last-child{translate:3px 0}
}
@media (prefers-reduced-motion:reduce){.btn:hover svg,.btn-green:hover svg{translate:none}}


/* About: a case study linked from its entry (Raashi, 2026-11-24) */
.ab-list .sc-cs{justify-self:start;display:inline-flex;align-items:center;gap:6px;font-size:var(--t-s);font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ab-list .sc-cs svg{transition:translate .2s cubic-bezier(.23,1,.32,1)}
@media (hover:hover) and (pointer:fine){.ab-list .sc-cs:hover svg{translate:3px 0}}
@media (prefers-reduced-motion:reduce){.ab-list .sc-cs:hover svg{translate:none}}
/* loading state: a soft shimmer in the reserved box until the picture arrives (land.js adds .is-loading; 2026-11-24) */
img.is-loading,video.is-loading{background:linear-gradient(100deg,#ecebe6 35%,#f7f6f2 50%,#ecebe6 65%) 0 0/300% 100% #ecebe6!important;animation:is-loading 1.3s linear infinite}
@keyframes is-loading{from{background-position:100% 0}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){img.is-loading,video.is-loading{animation:none}}
/* The back card on a phone (Raashi, 2026-11-26: "fix this on phone please"): the photo sits above "Your move." as a small tilted
   print instead of squeezing the text beside it, and the place line breaks evenly (no lone "work"). */
.back-links span{text-wrap:balance}
@media (max-width:760px){
}
.imprint{text-wrap:balance}
