/* Aditya Goswami · sketchbook website look (approved 2026-11-21).
   ONE stylesheet for every page. Do not copy pieces of it into pages; link it.
   Colors live in the two blocks below (.sk = light page, .sk[data-theme="dark"] = dark page).
   Never write a color in a page; use the variables. Rules: ../references/look-rules.md
   Keep double curly braces out of this file (the canvas build reads them as blanks). */
body{margin:0}
a{color:#1F3A2C}
a:hover{color:#B8430F}

/* ---------- paper, ink, pens (light page) ---------- */
.sk{
  --paper:#FFFFFF; --grid:#EDF1E7; --ink:#141414; --edge:#141414; --draw:#141414; --text:#1B211D; --muted:#3B4A40; --pencil:#3F4E44;
  --forest:#1F3A2C; --sage:#DDE3D3; --sage-deep:#C2CDB3; --tang:#FF7A2F; --tang-ink:#B8430F; --hl:#FFE45C;
  --scrap:#FFFFFF; --card:#F2F6EC; --line:#C9D3BC; --doodle:#C2CDB4; --lift:rgba(31,58,44,.17);
  --tape:rgba(178,193,160,.8); --tape2:rgba(255,228,92,.82);
  --wa:rgba(190,203,172,.6); --wb:rgba(255,228,92,.55); --wc:rgba(255,122,47,.3);
  position:relative; overflow-x:clip; color:var(--text);
  background-color:var(--paper);
  background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:28px 28px;
  font-family:'Atkinson Hyperlegible',system-ui,sans-serif; font-size:17px; line-height:1.6;
}
/* ---------- night page ---------- */
.sk[data-theme="dark"]{
  --paper:#101813; --grid:#151F19; --ink:#E9EEE2; --edge:#4F6355; --draw:#C5D0BC; --text:#E4EADC; --muted:#B3BFAD; --pencil:#BAC6B3;
  --forest:#E6ECDD; --sage:#20302A; --sage-deep:#3B5245; --tang-ink:#FF9D66;
  --scrap:#16211B; --card:#19251E; --line:#2E4035; --doodle:#2A3C31; --lift:rgba(0,0,0,.5);
  --tape:rgba(104,130,112,.72); --tape2:rgba(255,228,92,.6);
  --wa:rgba(92,120,101,.5); --wb:rgba(255,228,92,.2); --wc:rgba(255,122,47,.3);
}
.sk *{box-sizing:border-box}
.sk svg{overflow:visible}
.sk :focus-visible{outline:3px solid var(--tang-ink);outline-offset:3px}

/* ---------- pen strokes ---------- */
.d,.dp,.dt,.db,.dl,.dk,.dk2,.dtk,.bgp{fill:none;stroke-linecap:round;stroke-linejoin:round}
.d{stroke:var(--draw);stroke-width:2}
.dp{stroke:var(--pencil);stroke-width:1.7}
.dt{stroke:var(--tang-ink);stroke-width:2.5}
.db{stroke:#141414;stroke-width:2.3}
.dl{stroke:var(--tang-ink);stroke-width:2.1}
.dk{stroke:#141414;stroke-width:1;opacity:.4}
/* the pencil stays the same pencil on the night page: same colors, same black outline. Only the COLOR of its tip
   turns light grey there: same shape, nothing added (Aditya, 2026-11-23) */
.pcl{fill:none;stroke:#141414;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pct{fill:#141414}
.sk[data-theme="dark"] .pct{fill:#C5D0BC}
.dk2{stroke:#141414;stroke-width:1.7}
.dtk{stroke:#B8430F;stroke-width:2.8}
.thin{stroke-width:1.1;opacity:.55}
.dash{stroke-dasharray:5 7}
.ns{vector-effect:non-scaling-stroke}
.ht,.htp{font-family:'Gochi Hand','Comic Sans MS',cursive}
.ht{fill:var(--pencil)}
.htp{fill:var(--tang-ink)}
.wash{stroke:none}
.wa{fill:var(--wa)} .wb{fill:var(--wb)} .wc{fill:var(--wc)}

/* ---------- type ---------- */
.sk h1,.sk h2,.sk h3{font-family:'Young Serif',Georgia,serif;font-weight:400;color:var(--forest);margin:0;text-wrap:balance}
.sk h1{font-size:clamp(2.55rem,5vw,4.2rem);line-height:1.1;letter-spacing:-.012em}
.sk h2{font-size:clamp(1.9rem,2.9vw,2.45rem);line-height:1.1}
.sk h3{font-size:1.5rem;line-height:1.2}
.sk p{margin:0}
.hand{font-family:'Gochi Hand','Comic Sans MS',cursive;color:var(--pencil);line-height:1.15;font-size:23px}
.pen{color:var(--tang-ink)}
.lead{font-size:1.1rem;color:var(--muted);max-width:33em;text-wrap:pretty}
.k{font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.ul{display:block;height:14px;margin-top:4px}
.hl{position:relative;display:inline-block;z-index:0;color:#1F3A2C}
.hl::before{content:"";position:absolute;z-index:-1;left:-.1em;right:-.1em;top:5%;bottom:3%;background:var(--hl);transform:rotate(-1.1deg) skewX(-7deg);border-radius:3px 9px 4px 10px}
.circ{position:relative;display:inline-block}
.ov{position:absolute;left:-13%;top:-16%;width:126%;height:132%;pointer-events:none}

/* ---------- things you can click ---------- */
.link{color:var(--forest);font-weight:700;text-decoration:underline;text-decoration-color:var(--tang);text-decoration-thickness:2px;text-underline-offset:5px;display:inline-flex;align-items:center;gap:7px;min-height:44px}
.link:hover{color:var(--tang-ink)}
.larrow{width:22px;height:14px;flex:none}
.btn{display:inline-flex;align-items:center;gap:10px;font:inherit;font-weight:700;color:#141414;background:var(--tang);border:2px solid var(--ink);border-radius:13px 5px 12px 6px/6px 12px 5px 13px;padding:12px 20px;min-height:48px;box-shadow:3px 3px 0 var(--ink);text-decoration:none;cursor:pointer;transition:transform .12s,box-shadow .12s}
.btn:hover{color:#141414;transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.btn.sm{padding:7px 14px;min-height:44px;box-shadow:2px 2px 0 var(--ink)}
.barrow{width:28px;height:16px;flex:none}
.btn.alt{background:var(--scrap);color:var(--text)}
.btn.alt:hover{color:var(--text);background:var(--card)}
.btn.alt .db,.btn.alt .dl{stroke:var(--text)}
.btn.sm .larrow{margin-left:-2px}
.btn.sm{white-space:nowrap}
.b-b .btn,.b-c .btn{margin-top:12px}

/* ---------- layout ---------- */
.wrap{max-width:1176px;margin:0 auto;padding:0 28px;position:relative}
.sec{padding:60px 0 52px;position:relative;scroll-margin-top:76px}
.g12{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:36px 44px;align-items:start}
.c3{grid-column:span 3} .c4{grid-column:span 4} .c5{grid-column:span 5} .c7{grid-column:span 7} .c8{grid-column:span 8}
.sechead{display:flex;justify-content:space-between;align-items:flex-end;gap:14px 48px;margin-bottom:36px}
.pg{position:absolute;left:-50px;top:4px;font-size:22px;transform:rotate(-7deg);white-space:nowrap}
.mline{position:absolute;top:0;bottom:0;left:calc(50% - 584px);border-left:1.5px solid var(--tang);opacity:.4;z-index:0}
.sk main{position:relative;z-index:1}
.foot{z-index:1}

/* ---------- paper bits ---------- */
.scrap{background:var(--scrap);border:1.5px solid var(--edge);box-shadow:5px 6px 0 var(--lift);position:relative}
.index{background:var(--card);border:1.5px solid var(--edge);border-radius:3px;box-shadow:4px 5px 0 var(--lift);position:relative}
.lift{filter:drop-shadow(5px 6px 0 var(--lift))}
.tape{position:absolute;width:92px;height:26px;background:var(--tape);z-index:3;
  clip-path:polygon(2% 0,98% 0,100% 20%,97% 40%,100% 60%,97% 80%,100% 100%,2% 100%,0 80%,3% 60%,0 40%,3% 20%)}

/* ---------- top bar ---------- */
.top{position:sticky;top:0;z-index:20;background:var(--paper)}
.topin{display:flex;align-items:center;gap:8px 18px;padding-top:14px;padding-bottom:12px}
/* the logo: <a/g> in black pen, the slash is the pencil (picked by Aditya 2026-11-23). It is drawn from logo.json,
   a copy of ai-illustrations/sketchbook/logomark.py. Its height is the font-size of .logo. On the night page the pen letters turn light and the pencil gets a light grey point; the pencil itself never changes. */
.logo{font-size:42px;line-height:1;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.lgm{display:block;height:1em;width:auto;aspect-ratio:331/119;flex:none;overflow:visible}
.lg-p,.lg-pl,.lg-edge{fill:none;stroke-linecap:round;stroke-linejoin:round}
.lg-p{stroke:var(--logo-pen,#141414);stroke-width:8.6}
.lg-pl{stroke:#141414;stroke-width:4.2}
.lg-edge{stroke:#141414;stroke-width:4.2}
.lg-tip{fill:#141414} .lg-wood{fill:#FFFFFF} .lg-body{fill:#FF7A2F} .lg-band{fill:#C2CDB3} .lg-end{fill:#1F3A2C}
.lg-point{fill:var(--logo-point,none)}
.sk[data-theme="dark"]{--logo-pen:#E9EEE2;--logo-point:#C5D0BC}
.tabs{display:flex;align-items:center;gap:4px 12px;margin-left:auto}
.acts{display:flex;align-items:center;gap:10px}
.tabs .tab{color:var(--text);font-weight:700;text-decoration:none;padding:8px 10px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
.tabs .tab:hover{color:var(--tang-ink);text-decoration:underline;text-decoration-color:var(--tang);text-decoration-thickness:2px;text-underline-offset:6px}
.lamp{--sky:#DDE3D3;position:relative;flex:none;width:80px;height:42px;padding:0;background:var(--sky);border:2px solid var(--ink);border-radius:20px 17px 19px 18px/18px 19px 17px 20px;box-shadow:2px 2px 0 var(--ink);cursor:pointer;transition:background-color .35s,transform .12s,box-shadow .12s}
.lamp::after{content:"";position:absolute;inset:-6px}
.lamp:hover{transform:translate(1px,1px);box-shadow:1px 1px 0 var(--ink)}
.sk[data-theme="dark"] .lamp{--sky:#0B110D}
.lsky{position:absolute;inset:0;width:100%;height:100%}
.lst,.lcl,.lk{fill:none;stroke-linecap:round;stroke-linejoin:round}
.lst{stroke:#E9EEE2;stroke-width:1.5;opacity:0;transition:opacity .3s}
.lcl{stroke:#3F4E44;stroke-width:1.5;fill:#FFFFFF;transition:opacity .3s}
.sk[data-theme="dark"] .lst{opacity:1}
.sk[data-theme="dark"] .lcl{opacity:0}
.knob{position:absolute;top:2px;left:2px;width:34px;height:34px;border-radius:50%;background:#FFFFFF;border:2px solid var(--ink);display:grid;place-items:center;transition:transform .4s cubic-bezier(.5,1.5,.5,1),background-color .35s}
.sk[data-theme="dark"] .knob{transform:translateX(38px);background:#1F3A2C}
.lknob{width:29px;height:29px}
.lk{stroke:#141414;stroke-width:2}
.lsunf{fill:#FFE45C;stroke:none}
.lsun,.lmoon{transform-origin:16px 16px;transition:transform .45s,opacity .3s}
.lmoon{fill:#FFE45C;stroke:none;opacity:0;transform:rotate(-80deg) scale(.4)}
.sk[data-theme="dark"] .lsun{opacity:0;transform:rotate(80deg) scale(.4)}
.sk[data-theme="dark"] .lmoon{opacity:1;transform:none}
.dock,.pager,.chev{display:none}
.anchor{position:absolute;top:0;left:0}
.dki{fill:none;stroke:var(--text);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.sk.live{height:100vh;overflow-y:auto;overscroll-behavior:contain}
.hr{display:block;width:100%;height:12px}
.top .hr{position:absolute;left:0;bottom:-6px}

/* ---------- page 1 ---------- */
.hero{padding-top:34px;padding-bottom:14px}
.pagehead{display:flex;flex-wrap:wrap;gap:4px 30px;align-items:baseline;margin:0 0 34px;padding:0;list-style:none}
.pagehead li{display:flex;gap:9px;align-items:baseline}
.pagehead .v{font-size:23px;border-bottom:1.5px solid var(--line);padding:0 14px 0 4px;line-height:1.1}
.try{font-family:'Gochi Hand','Comic Sans MS',cursive;font-size:.6em;color:var(--pencil);position:relative;display:inline-block;transform:rotate(-4deg);margin:0 .06em 0 .02em;letter-spacing:0}
.try .ov{left:-8%;top:-4%;width:116%;height:108%}
.note1{display:flex;align-items:flex-start;gap:4px;margin:10px 0 0 30%;font-size:24px;transform:rotate(-1.6deg);transform-origin:left top}
.narrow{width:52px;height:40px;flex:none;margin-top:-12px}
.hero .lead{margin-top:22px;font-size:1.16rem;max-width:29em}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 28px;margin-top:30px}
.photo{position:relative;justify-self:end;width:min(100%,340px);margin-top:2px}
.polaroid{margin:0;padding:12px 12px 8px;transform:rotate(2.2deg)}
.polaroid img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border:1.5px solid var(--edge)}
.polaroid figcaption{font-size:22px;padding:9px 4px 3px;text-align:center}
.tape.a{top:-13px;left:26px;transform:rotate(-7deg)}
.tape.b{top:-12px;right:20px;transform:rotate(5deg);background:var(--tape2)}
.sticky{position:absolute;left:-176px;bottom:62px;width:208px;background:var(--hl);color:#141414;border:1.5px solid #141414;padding:11px 13px 13px;transform:rotate(-4deg);box-shadow:4px 5px 0 var(--lift);z-index:4}
.sticky .k{color:#141414}
.sticky ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:5px}
.sticky li{font-family:'Gochi Hand','Comic Sans MS',cursive;font-size:21px;line-height:1.1;display:flex;gap:5px;align-items:flex-start}
.cb{width:22px;height:20px;flex:none}
.sticky s{text-decoration-color:#B8430F;text-decoration-thickness:2.5px}
.prule{position:relative;height:44px;margin-top:34px}
.prule .hr{position:absolute;left:0;top:30px;width:calc(100% - 150px);animation:sk-rule 2.2s cubic-bezier(.5,.05,.3,1) .5s both}
.pencil{position:absolute;top:19.6px;left:calc(100% - 151px);width:170px;height:33px;transform-origin:1px 16.4px;transform:rotate(-23deg);z-index:5;animation:sk-pen 2.2s cubic-bezier(.5,.05,.3,1) .5s both}
@keyframes sk-rule{
  from{clip-path:inset(-10px 100% -10px 0)}
  to{clip-path:inset(-10px 0 -10px 0)}
}
/* laptop home page: a little more room, or the eraser end touches the corner of the photo above it */
@media (min-width:861px){
  .hero .prule{margin-top:50px}
}
/* no "to": the pencil stops at its own resting spot, which is different on a phone (a fixed end here left it mid-line there) */
@keyframes sk-pen{
  from{left:-2px}
}

/* ---------- page 2: three kinds ---------- */
.venn{position:relative;order:1}
.kinds-t{order:2;display:flex;flex-direction:column;gap:24px;align-items:flex-start;align-self:center}
.vennsvg{display:block;width:100%;height:auto}
.vc{position:absolute;font-size:15px;line-height:1.34;color:var(--text)}
.vc-a{left:9.5%;top:26.5%;width:24%}
.vc-b{left:67%;top:26.5%;width:23.5%}
.vc-c{left:36%;top:70.5%;width:28%;text-align:center}
.vn{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vnote{position:absolute;left:79%;top:77%;width:21%;font-size:22px;color:var(--tang-ink);transform:rotate(-2deg)}
.vtry{position:absolute;left:0;top:79.5%;width:22%;font-size:21px;transform:rotate(-3deg)}
.vtry s{text-decoration-color:var(--tang-ink);text-decoration-thickness:2.5px}
.varrow-ph{display:none}
.ex{padding:20px 24px 22px;transform:rotate(-1.3deg);align-self:stretch;margin:4px 6px 2px 0}
.ex .tape{top:-13px;left:42%;transform:rotate(3deg);width:78px}
.ex .eq{font-size:25px;margin-top:6px;color:var(--text)}
.ex .eq b{font-weight:400;color:var(--tang-ink)}

/* ---------- page 3: builds ---------- */
.b-a{padding:30px 32px 26px;transform:rotate(-.7deg);
  background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:14px 14px}
.b-a .tape{top:-13px;left:-26px;transform:rotate(-38deg)}
.b-a .tape.r{left:auto;right:-26px;transform:rotate(36deg);background:var(--tape2)}
.pipe{display:block;width:100%;height:auto}
.pipe-s{display:none}
.b-body{display:flex;flex-wrap:wrap;gap:6px 26px;align-items:flex-end;justify-content:space-between;margin-top:22px;border-top:1.5px dashed var(--line);padding-top:20px}
.b-body .tx{flex:1 1 320px;min-width:0}
.b-body p,.b-b p,.b-c p{color:var(--muted);margin-top:8px;font-size:16px;line-height:1.55}
.sk h3 a,.sk h2 a{color:inherit;text-decoration:underline;text-decoration-color:var(--line);text-decoration-thickness:2px;text-underline-offset:5px}
.sk h3 a:hover,.sk h2 a:hover{color:var(--tang-ink);text-decoration-color:var(--tang)}
.datetag{position:absolute;right:28px;top:4px;font-size:21px;transform:rotate(4deg);background:var(--scrap);padding:0 6px}
.bstack{display:flex;flex-direction:column;gap:40px;padding-top:6px}
.b-b{padding:24px 26px 16px;transform:rotate(1.5deg);margin-left:10px}
.frames{display:block;width:230px;max-width:100%;height:auto;margin-bottom:16px}
.b-c{background:var(--scrap);border:1.5px solid var(--edge);border-bottom:none;padding:24px 26px 40px;transform:rotate(-1.3deg);margin:0 14px 0 -26px;position:relative;
  clip-path:polygon(0 0,100% 0,100% 94%,96% 97%,91% 93.5%,86% 97.5%,80% 94%,74% 98%,68% 94.5%,61% 97%,55% 93.5%,48% 97.5%,42% 94%,35% 98%,28% 94.5%,21% 97%,14% 93.5%,7% 97.5%,0 94%)}
.b-c-in{display:flex;gap:16px;align-items:flex-start}
.kanban{width:132px;height:auto;flex:none;margin-top:4px}

/* ---------- page 4: free skills ---------- */
.tornpage{background:var(--sage);border:1.5px solid var(--edge);border-top:none;padding:64px 56px 50px;transform:rotate(-.5deg);position:relative;
  -webkit-mask:radial-gradient(circle 8px at 14px 0,transparent 96%,#000 100%) 0 0/28px 100% repeat-x;
  mask:radial-gradient(circle 8px at 14px 0,transparent 96%,#000 100%) 0 0/28px 100% repeat-x}
.tornpage .g12{align-items:center}
.tornpage .lead{margin-top:18px}
.signup{margin-top:28px;display:flex;flex-direction:column;gap:6px;max-width:560px}
.signup .row{display:flex;flex-wrap:wrap;gap:12px}
.signup input{flex:1 1 220px;min-width:0;font:inherit;color:var(--text);background:var(--paper);border:2px solid var(--ink);border-radius:5px 12px 6px 13px/12px 5px 13px 6px;padding:11px 16px;min-height:48px}
.signup input::placeholder{color:var(--muted);opacity:.85}
.fine{font-size:14.5px;color:var(--muted);margin-top:4px}
.fine a{color:var(--forest);font-weight:700;text-decoration:underline;text-decoration-color:var(--tang);text-decoration-thickness:2px;text-underline-offset:3px}
.fine a:hover{color:var(--tang-ink)}
.sent{font-size:24px;margin-top:2px}
.pocket{position:relative;width:316px;max-width:100%;height:344px;margin:0 auto;transform:rotate(1.2deg)}
.scard{position:absolute;width:184px;height:170px;background:var(--card);border:1.5px solid var(--edge);border-radius:3px;padding:9px 12px;display:flex;flex-direction:column;gap:2px}
.scard b{font-family:'Young Serif',Georgia,serif;font-weight:400;font-size:19px;line-height:1.15;color:var(--forest);white-space:nowrap}
.scard::after{content:"";display:block;border-top:2px solid var(--tang);opacity:.7;margin-top:4px}
.s1{left:4px;bottom:44px;transform:rotate(-5deg);z-index:3}
.s2{left:62px;bottom:104px;transform:rotate(1.5deg);z-index:2}
.s3{left:124px;bottom:164px;transform:rotate(6deg);z-index:1}
.pfront{position:absolute;left:0;right:0;bottom:0;height:150px;z-index:4;background:var(--scrap);border:1.5px solid var(--edge);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding-top:22px;
  -webkit-mask:radial-gradient(circle 26px at 50% 0,transparent 97%,#000 100%);mask:radial-gradient(circle 26px at 50% 0,transparent 97%,#000 100%)}
.pfront::before{content:"";position:absolute;left:8px;right:8px;top:8px;bottom:8px;border:1.5px dashed var(--line);pointer-events:none}
.pfront .hand{font-size:25px;color:var(--text)}

/* ---------- page 5: blog ---------- */
.blog-main{order:2}
.mindwrap{order:1;padding-top:10px}
.mindcard{padding:22px 20px 14px;transform:rotate(-1.8deg)}
.mindcard .tape{top:-13px;left:30%;transform:rotate(-4deg)}
.mind{display:block;width:100%;height:auto;margin-top:2px}
.toc{list-style:none;margin:0;padding:0;border-top:1.5px solid var(--edge)}
.toc li{display:grid;grid-template-columns:40px minmax(0,auto) minmax(20px,1fr) auto;gap:14px;align-items:baseline;padding:16px 0;border-bottom:1.5px dashed var(--line)}
.toc .no{font-size:25px}
.toc a{font-family:'Young Serif',Georgia,serif;font-size:1.2rem;line-height:1.25;color:var(--forest);text-decoration:underline;text-decoration-color:var(--line);text-decoration-thickness:2px;text-underline-offset:5px;padding:6px 0;display:inline-block}
.toc a:hover{color:var(--tang-ink);text-decoration-color:var(--tang)}
.dots{border-bottom:2px dotted var(--line);align-self:end;margin-bottom:.5em}
.toc .first{font-size:22px;display:inline-flex;align-items:center;gap:4px;transform:rotate(-2deg)}
.star{width:22px;height:22px}

/* ---------- page 6: who keeps this notebook (the dark cover page) ---------- */
.cover{background-color:#1F3A2C;color:#EEF2E7;border:1.5px solid var(--edge);padding:60px 56px 56px;transform:rotate(-.4deg);position:relative;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:28px 28px}
.cover .tape.ca{top:-13px;left:60px;transform:rotate(-5deg);background:var(--tape2)}
.cover .g12{align-items:center}
.about h2{color:#F3F6EC;font-size:clamp(2.1rem,3.6vw,3.1rem)}
.about .dp{stroke:#C9D3C0}
.about .dt{stroke:#FF9D66}
.about .big{margin-top:22px;font-size:1.32rem;line-height:1.55;max-width:26em;color:#EEF2E7;text-wrap:pretty}
.about .circ{margin:0 .3em}
.about .circ .ov{left:-12%;top:-22%;width:124%;height:150%}
.about .cta{margin-top:34px}
.btn.big{font-size:1.12rem;padding:15px 26px;min-height:58px}
.cover .btn{color:#141414;border-color:#141414;box-shadow:3px 3px 0 #F3F6EC}
.cover .btn:hover{color:#141414}
.cover .btn:hover{box-shadow:1px 1px 0 #F3F6EC}
.dlicon{width:22px;height:22px;flex:none}
.cover .btn.alt{background:#1F3A2C;color:#F3F6EC;border-color:#F3F6EC}
.cover .btn.alt:hover{background:#2A4A39;color:#F3F6EC}
.cover .btn.alt .db{stroke:#F3F6EC}
.cside{display:flex;flex-direction:column;position:relative}
.resume{display:flex;flex-direction:column;gap:7px;align-items:flex-start;align-self:flex-end;width:250px;max-width:100%;padding:30px 22px 22px;transform:rotate(2.6deg);margin-top:-104px;color:var(--text);text-decoration:none}
.resume:hover{color:var(--text);transform:rotate(1.2deg) translateY(-3px)}
.resume b{font-family:'Young Serif',Georgia,serif;font-weight:400;font-size:23px;line-height:1.15;color:var(--forest)}
.resume .get{font-weight:700;color:var(--forest);text-decoration:underline;text-decoration-color:var(--tang);text-decoration-thickness:2px;text-underline-offset:5px;margin-top:6px}
.clip{position:absolute;top:-24px;left:22px;width:28px;height:auto}
.lines{display:flex;flex-direction:column;gap:7px;width:100%;margin:6px 0 2px}
.lines i{display:block;height:5px;background:var(--sage-deep);opacity:.75}
.postcard{padding:22px 24px 14px;transform:rotate(-1.6deg);width:330px;max-width:100%;margin-top:18px;z-index:2;color:var(--text)}
.stamp{position:absolute;right:16px;top:14px;width:78px;height:auto}
.postcard p{color:var(--muted);margin-top:6px;padding-right:86px;font-size:16px}
.soc{list-style:none;margin:10px 0 0;padding:8px 0 0;border-top:1.5px dashed var(--line);display:flex;flex-direction:column}
.soc a,.flink{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:700;color:var(--forest);text-decoration:underline;text-decoration-color:var(--tang);text-decoration-thickness:2px;text-underline-offset:5px}
.soc a:hover,.flink:hover{color:var(--tang-ink)}
.sicon{width:22px;height:22px;flex:none}

/* ---------- back cover (footer) ---------- */
.foot{background:var(--sage);margin-top:44px;padding:0 0 26px;position:relative}
.foot > .hr{position:absolute;left:0;top:-6px}
.footgrid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:36px 44px;padding-top:54px;padding-bottom:40px}
.foot .logo{font-size:52px}
.f-brand p{margin-top:12px;max-width:19em;color:var(--muted)}
.f-col{display:flex;flex-direction:column;align-items:flex-start}
.f-col .k{margin-bottom:6px}
.f-col p{color:var(--muted);font-size:16px;margin-bottom:12px}
.f-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.footbar{display:flex;flex-wrap:wrap;gap:6px 28px;align-items:center;justify-content:space-between;border-top:1.5px dashed var(--sage-deep);padding-top:14px;font-size:15px;color:var(--muted)}
.footbar b{color:var(--text)}

/* ---------- background that keeps doodling ---------- */
.bgl{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0;pointer-events:none;overflow:hidden}
.bgd{position:absolute;width:84px;height:84px}
.bgd.l{left:max(6px,calc(50% - 712px))}
.bgd.r{right:max(6px,calc(50% - 712px))}
.bgsvg{width:100%;height:100%}
.bgp{stroke:var(--doodle);stroke-width:1.7;stroke-dasharray:1;stroke-dashoffset:1;animation:sk-draw 20s ease-in-out infinite;animation-delay:var(--dl,0s)}
@keyframes sk-draw{
  0%{stroke-dashoffset:1;opacity:0}
  3%{stroke-dashoffset:1;opacity:1}
  30%{stroke-dashoffset:0;opacity:1}
  80%{stroke-dashoffset:0;opacity:1}
  94%{stroke-dashoffset:0;opacity:0}
  100%{stroke-dashoffset:1;opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .bgp{animation:none;stroke-dashoffset:0}
  .prule .hr,.pencil{animation:none}
  .btn,.lamp,.knob,.lsun,.lmoon,.lst,.lcl{transition:none}
}

/* ---------- smaller screens ---------- */
@media (max-width:1300px){
  .pg,.mline{display:none}
}
@media (max-width:1040px){
  .tabs .tab{padding:8px 7px}
  .sticky{left:-120px}
}
@media (max-width:860px){
  .sk{font-size:16.5px}
  .wrap{padding-left:20px;padding-right:20px}
  .sec{padding:44px 0 38px}
  .g12{grid-template-columns:minmax(0,1fr);gap:30px}
  .c3,.c4,.c5,.c7,.c8{grid-column:1 / -1}
  .venn,.mindwrap{order:2}
  .blog-main{order:1}
  .kinds-t{display:contents}
  .kinds-t > *{order:1}
  .kinds-t .ex,.kinds-t > .btn{order:3;justify-self:start}
  .ex{margin:6px 4px 0}
  .tabs,.acts .btn{display:none}
  .topin{padding-top:8px;padding-bottom:8px}
  .acts{margin-left:auto}
  .logo{font-size:36px}
  .sechead{flex-direction:column;align-items:flex-start;margin-bottom:16px}
  .note1{margin-left:8%;font-size:22px}
  .photo{justify-self:center;width:min(84%,320px);margin-bottom:3px}
  .sticky{position:relative;left:-30px;bottom:auto;margin-top:-1px;width:204px}   /* in the flow: a longer desk note grows down, never over the caption */
  .prule{margin-top:10px}
  .pencil{width:120px;height:23px;top:22px;left:calc(100% - 107px);transform-origin:1px 11.6px}
  .prule .hr{width:calc(100% - 106px)}
  /* under a page top the pencil needs room, or its eraser end lands on the button or card above it */
  .pagetop .prule{margin-top:36px}
  /* phone: the two handwritten notes stay AT the drawing (bottom corners, like the laptop), the arrow lands on its note, the three meanings follow */
  .venn{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);column-gap:14px}
  .vennsvg{grid-column:1 / -1}
  .varrow-lg{display:none}
  .varrow-ph{display:inline}
  .vc{position:static;width:auto;text-align:left;margin-top:8px;grid-column:1 / -1;order:3}
  .venn .vc-a{margin-top:34px}
  .vtry{position:static;width:auto;order:1;font-size:19px;line-height:1.15;margin-top:-18px;align-self:start}
  .vnote{position:static;width:auto;order:2;font-size:20px;line-height:1.15;margin-top:2px;align-self:start}
  .vc{font-size:16px}
  .vn{position:static;width:auto;height:auto;clip-path:none;font-family:'Gochi Hand','Comic Sans MS',cursive;font-weight:400;font-size:24px;color:var(--pencil);margin-right:6px}
  .b-a{transform:none;padding:22px 18px 18px}
  .pipewrap{padding-top:12px}
  .pipe-l{display:none}
  .pipe-s{display:block}
  .b-b{margin-left:0}
  .b-c{margin:0}
  .tornpage{padding:46px 22px 34px}
  .cover{padding:44px 22px 40px;transform:none}
  .resume{margin-top:6px;align-self:center}
  .postcard{margin-top:22px;align-self:center}
  .about .big{font-size:1.18rem}
  .footgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-top:44px}
  .f-brand,.f-get{grid-column:1 / -1}
  .dots,.toc .k{display:none}
  .toc .first{grid-column:2}
  .bgl{display:none}
  /* ---- phone: made for thumbs ---- */
  .sk{-webkit-tap-highlight-color:transparent}
  .btn,.btn.sm,.btn.big{min-height:48px;padding:10px 15px;font-size:1rem;white-space:nowrap}
  .btn .barrow{width:24px}
  .cta{gap:10px;flex-wrap:wrap}
  .signup .btn,.blog-main > .sechead > .btn{align-self:flex-start}
  .signup .row{flex-direction:column;gap:14px}
  .signup input{flex:none;width:100%;min-height:48px;font-size:17px}
  /* swipe row */
  .rail{display:flex;align-items:stretch;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 20px;margin:0 -20px;padding:16px 20px 18px;position:relative;scrollbar-width:none;overscroll-behavior-x:contain}
  .rail::-webkit-scrollbar{display:none}
  .rail .bstack{display:contents}
  .rail .card{flex:0 0 85%;min-width:0;scroll-snap-align:start;transform:none;margin:0}
  .rail .b-c{height:100%;transform:none}
  .b-c-in{flex-direction:column}
  .b-body{margin-top:14px;padding-top:14px}
  .pager{display:flex;justify-content:center;align-items:center;gap:9px;margin-top:2px}
  .pager i{width:10px;height:10px;border-radius:50%;border:1.7px solid var(--ink);transition:width .2s,background-color .2s}
  .pager[data-i="0"] i:nth-child(1),.pager[data-i="1"] i:nth-child(2),.pager[data-i="2"] i:nth-child(3),.pager i.on{width:26px;border-radius:6px;background:var(--tang)}
  /* blog rows: the whole row is the tap area */
  .blog-main{display:flex;flex-direction:column}
  .blog-main > .sechead{display:contents}
  .blog-main > .sechead > div{order:1;margin-bottom:18px}
  .toc{order:2}
  .blog-main > .sechead > .btn{order:3;margin-top:20px}
  .toc li{position:relative;grid-template-columns:34px minmax(0,1fr) 22px;column-gap:10px;row-gap:0;align-items:center;min-height:68px;padding:12px 0}
  .toc li:active{background:var(--card)}
  .toc a{text-decoration:none;padding:0}
  .toc a::after{content:"";position:absolute;inset:0}
  .chev{display:block;width:22px;height:22px;grid-column:3;grid-row:1}
  .chev .dki{stroke:var(--tang-ink);stroke-width:2.2}
  .toc .first{grid-row:2}
  .soc a,.flink{min-height:48px}
  /* bottom bar */
  .dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:sticky;bottom:0;z-index:30;background:var(--scrap);padding:8px 6px calc(6px + env(safe-area-inset-bottom))}
  .dock > .hr{position:absolute;left:0;top:-6px}
  .sk.board .dock{position:relative}
  .dit{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;min-height:56px;font-size:11.5px;line-height:1.3;font-weight:700;color:var(--text);text-decoration:none}
  .dit:hover{color:var(--text)}
  .dit:active{transform:translateY(2px)}
  .dkic{width:26px;height:26px}
  .dit span{padding:1px 6px;border-radius:7px 4px 6px 5px}
  /* the raised button sits ON TOP of the bar's wavy top line: the line passes behind it, never through it */
  .dkbtn{position:relative;z-index:1;display:grid;place-items:center;width:56px;height:56px;margin-top:-28px;background:var(--tang);border:2px solid var(--ink);border-radius:18px 14px 17px 15px/15px 17px 14px 18px;box-shadow:2px 3px 0 var(--ink)}
  .dkbtn .dki{stroke:#141414;stroke-width:2}
  .dock[data-on="top"] .dit-top span,.dock[data-on="builds"] .dit-builds span,.dock[data-on="skills"] .dit-skills span,.dock[data-on="blog"] .dit-blog span,.dock[data-on="about"] .dit-about span{background:var(--hl);color:#141414}
}

/* ---------- more pages: pieces built from the same parts ---------- */
.skip{position:absolute;left:8px;top:-60px;z-index:50;background:#FFE45C;color:#141414;font-weight:700;padding:10px 14px;border:2px solid #141414}
.skip:focus{top:8px}
.pagetop{padding-top:34px;padding-bottom:8px}
.pagetop .pagehead{margin-bottom:22px}
.pagetop h1{font-size:clamp(2.2rem,4.2vw,3.4rem)}
.pagetop .lead{margin-top:16px}
.pagetop .cta{margin-top:22px}
.pad{padding:26px 28px 24px}
.tilt-l{transform:rotate(-1.2deg)}
.tilt-r{transform:rotate(1.3deg)}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:40px 36px;align-items:start}
.cards > .card{padding:26px 26px 22px}
.cards > .card:nth-child(3n+1){transform:rotate(-.9deg)}
.cards > .card:nth-child(3n+2){transform:rotate(1.1deg)}
.cards > .card:nth-child(3n){transform:rotate(-.4deg)}
.cards .card p{color:var(--muted);margin-top:8px;font-size:16px;line-height:1.55}
.cards .card .btn{margin-top:14px}
.cards .card .tape{top:-13px;left:38%;transform:rotate(-4deg)}
.meta{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:baseline;color:var(--muted);font-size:15px}
/* long reading (a blog post, build notes) */
.prose{max-width:41em;font-size:1.08rem;line-height:1.7}
.sk .prose > * + *{margin-top:1.05em}
.sk .prose > :first-child{margin-top:0}
.sk .prose > * + figure,.sk .prose > figure + *{margin-top:1.7em}
.sk .prose > * + h2{margin-top:1.9em}
.sk .prose > h2 + *,.sk .prose > h3 + *{margin-top:.6em}
.prose h2{font-size:clamp(1.6rem,2.4vw,2rem)}
.sk .prose > * + h3{margin-top:1.6em}
.prose a{color:var(--forest);font-weight:700;text-decoration:underline;text-decoration-color:var(--tang);text-decoration-thickness:2px;text-underline-offset:4px}
.prose a:hover{color:var(--tang-ink)}
.prose .btn{color:#141414;text-decoration:none}                 /* a button inside a post is a button, not a text link */
.prose .btn:hover{color:#141414}
.prose .btn.alt,.prose .btn.alt:hover{color:var(--text)}
.prose ul,.prose ol{padding-left:1.3em;margin-bottom:0}
.prose li + li{margin-top:.4em}
.prose li::marker{color:var(--tang-ink);font-weight:700}
.prose blockquote{margin-left:0;margin-right:0;padding:16px 22px;background:var(--card);border:1.5px solid var(--edge);border-radius:3px;box-shadow:4px 5px 0 var(--lift);transform:rotate(-.6deg);font-family:'Gochi Hand','Comic Sans MS',cursive;font-size:24px;line-height:1.25;color:var(--text)}
.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;background:var(--card);border:1px solid var(--line);border-radius:3px;padding:.1em .35em}
.prose pre{background:var(--card);border:1.5px solid var(--edge);border-radius:3px;padding:16px 18px;overflow-x:auto;line-height:1.5;font-size:15px}
.prose pre code{background:none;border:none;padding:0;font-size:inherit}
.prose figure{margin-left:0;margin-right:0;padding:12px 12px 8px;background:var(--scrap);border:1.5px solid var(--edge);box-shadow:5px 6px 0 var(--lift);position:relative;transform:rotate(.5deg)}
.prose figure img{display:block;width:100%;height:auto;border:1.5px solid var(--edge)}
.prose figure video{display:block;width:100%;height:auto;aspect-ratio:16/9;border:1.5px solid var(--edge);background:#1b1410}
.prose figcaption{font-family:'Gochi Hand','Comic Sans MS',cursive;font-size:21px;line-height:1.15;color:var(--pencil);padding:9px 4px 3px;text-align:center}
.sk .prose > .hr{margin-top:1.8em}
.prose strong{color:var(--text)}
.callout{background:var(--hl);color:#141414;border:1.5px solid #141414;padding:14px 18px;box-shadow:4px 5px 0 var(--lift);transform:rotate(-.8deg);max-width:26em}
.callout .k{color:#141414}
/* one blog post: pictures (build.py turns <img data-pic> into 4 versions: wide + square, day + night; one shows) */
.prose figure img[data-v]{display:none}
.sk .prose figure img[data-v="day-wide"]{display:block}
.sk[data-theme="dark"] .prose figure img[data-v="day-wide"]{display:none}
.sk[data-theme="dark"] .prose figure img[data-v="night-wide"]{display:block}
.prose figure .tape{top:-13px;left:42%;transform:rotate(-3deg)}
/* the short answer under the title, the contents list in the post, a "copy it" line, the post's last row */
.answer{padding:16px 22px 18px;max-width:41em;margin-top:22px;font-size:1.08rem;line-height:1.6}
.answer .k{display:block;margin-bottom:5px;color:var(--tang-ink)}
/* the contents list sits INSIDE the post, after the opening lines, and stays there (it never follows the reader down the page) */
.prose .inpost{padding:16px 22px 18px}
.sk .prose .inpost > * + *{margin-top:0}
.sk .prose .inpost ol{margin:10px 0 0;padding-left:1.25em;columns:2;column-gap:40px}
.prose .inpost li{break-inside:avoid;margin-top:0;padding:.24em 0}
.prose .inpost a{font-weight:400;color:var(--forest);text-decoration-color:var(--line);line-height:1.35}
.prose .inpost a:hover{color:var(--tang-ink);text-decoration-color:var(--tang)}
.prose .copyit{border-left:3px solid var(--tang);padding:2px 0 3px 16px}
.prose .copyit .hand{display:block;font-size:23px;color:var(--tang-ink);margin-bottom:2px}
.prose h2{scroll-margin-top:96px}
.prose .byline{color:var(--muted);font-size:.98rem}
@media (max-width:860px){
  .sk .prose figure img[data-v="day-wide"],.sk[data-theme="dark"] .prose figure img[data-v="night-wide"]{display:none}
  .sk .prose figure img[data-v="day-sq"]{display:block}
  .sk[data-theme="dark"] .prose figure img[data-v="day-sq"]{display:none}
  .sk[data-theme="dark"] .prose figure img[data-v="night-sq"]{display:block}
  .prose figure{padding:8px 8px 6px}
  .sk .prose .inpost ol{columns:1}
  .prose .inpost{padding:14px 18px 16px}
  .answer{padding:14px 18px 16px;font-size:1.04rem}
  .prose h2{scroll-margin-top:76px}
  .pad{padding:20px 18px 18px}
  .cards{grid-template-columns:minmax(0,1fr);gap:30px}
  .cards > .card{transform:none !important}
  .prose{font-size:1.04rem}
  .prose figure,.prose blockquote,.callout{transform:none}
}

/* ---------- blog list, projects, one project, resources, one resource (2026-11-23): the same paper parts ---------- */
/* show a piece only on the phone or only on the laptop (a phone screenshot instead of a laptop one) */
@media (min-width:861px){
  .on-phone{display:none !important}
}
/* a sketch on top of a card, and the small three-circles sketch */
.vmini{display:block;width:230px;max-width:100%;height:auto}
.counter{display:block;width:100%;max-width:400px;height:auto;margin:0 auto}
.inside{display:block;width:100%;max-width:460px;height:auto;margin:0 auto}
.force-s .pipe-l{display:none}
.force-s .pipe-s{display:block;max-width:360px}
.pad > .card-top{margin-bottom:18px}
.pad .k + h3,.pad .k + h2{margin-top:6px}
.pad p{color:var(--muted);margin-top:8px;font-size:16px;line-height:1.55}
.pad p.k,.pad p.hand{margin-top:0}
.pad .btn,.pad .cta{margin-top:16px}
.pad > .tape,.shot > .tape{top:-13px;left:40%;transform:rotate(-3deg)}
.pad > .tape.r{left:auto;right:12%;transform:rotate(4deg);background:var(--tape2)}
.feat{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 30px;align-items:center}
.feat .first{font-size:23px;display:inline-flex;align-items:center;gap:4px;transform:rotate(-2deg)}
.feat .lead{margin-top:10px;font-size:1.05rem}
.sk .feat .cta{margin-top:18px}
.big-proj .g12{align-items:center}
.big-proj > .tape{left:7%;transform:rotate(-5deg)}
.sketchcol{position:relative}
.sketchcol .datetag{background:none;right:0;top:-14px}
.sketchcard{margin-top:26px;padding-top:34px;transform:rotate(-.5deg)}
.stack{display:flex;flex-direction:column;gap:38px}
/* a screenshot: taped in like a photo */
.shot{margin:0;padding:10px 10px 6px}
.shot img{display:block;width:100%;height:auto;border:1.5px solid var(--edge)}
.shot figcaption{font-family:'Gochi Hand','Comic Sans MS',cursive;font-size:21px;line-height:1.15;color:var(--pencil);padding:9px 4px 3px;text-align:center}
.shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 38px;margin-top:30px}
.shots > .shot:nth-child(odd){transform:rotate(-.6deg)}
.shots > .shot:nth-child(even){transform:rotate(.7deg)}
.pad > .shot{box-shadow:none;padding:0;border:none;background:none}
/* the facts card beside the reading: on a phone it comes first, on a laptop it sits on the right */
.facts{padding:18px 22px 18px}
.facts dl{margin:10px 0 0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px 18px;align-items:baseline}
.facts dt{font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.facts dd{margin:0;line-height:1.4}
.facts dd .sicon{vertical-align:-4px;margin-right:5px}
.facts .btn{margin-top:16px}
.facts .chs{display:flex;flex-wrap:wrap;gap:5px 16px}
.facts .ch{white-space:nowrap}
.stepswrap{align-self:center}
.prose figure.sketchfig{padding:30px 26px 22px}
.cdoodle{display:block;width:150px;max-width:100%;height:auto;margin-bottom:16px}
.sk .prose > h2 + figure{margin-top:1.5em}
.side-r{grid-column:9 / -1;grid-row:1}
.side-r + .c8{grid-row:1}
/* the last row of a page: one line and the next step */
.nextstep{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 44px;border-top:1.5px dashed var(--line);padding-top:30px}
.nextstep .cta{margin-top:0}
.nextstep p{max-width:30em}
.sk .nextstep .lead + .cta{margin-top:14px}
.callout .hand{color:#141414}
.todo{background:var(--card);border:1.5px dashed var(--pencil);border-radius:3px;padding:12px 16px;color:var(--muted)}
/* a post's cover in a list (build.py turns <img data-cover> into the wide picture, day + night): the cover first, then the title */
.nw{white-space:nowrap}
.pcover{display:block;margin:0}
.pcover img{display:block;width:100%;height:auto;border:1.5px solid var(--edge)}
.pcover img[data-v="night-wide"]{display:none}
.sk[data-theme="dark"] .pcover img[data-v="day-wide"]{display:none}
.sk[data-theme="dark"] .pcover img[data-v="night-wide"]{display:block}
.feat{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px 36px}
.cards > .post{padding:12px 12px 20px}
.sk .post .k{margin:14px 8px 0}
.sk .post h3{margin:5px 8px 0;font-size:1.22rem;line-height:1.28}
.sk .post h3 a{text-decoration:none}
.post h3 a::after{content:"";position:absolute;inset:0}
.post:hover h3 a{color:var(--tang-ink)}
/* the unlock step (enter your email, the resource's page opens) and the "unlocked" note beside the download */
.unlock .g12{align-items:center}
.unlock .k + h1{margin-top:6px}
.lock{display:block;width:100%;max-width:340px;height:auto}
.behind .index{margin-top:6px;max-width:330px;transform:rotate(.6deg)}
.ticks{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.ticks li{display:flex;align-items:center;gap:10px}
.oops{font-size:23px;margin-top:2px}
.signup .go{display:none}
.lead + .fine{margin-top:12px}
.cta .open{font-size:23px;display:inline-flex;align-items:center;gap:7px;transform:rotate(-2deg)}
/* tick boxes on paper (not on the yellow sticky note): the box is a pen line and the tick is the page's orange, so both show at night (L46) */
.ticks .dk2,.cta .open .dk2{stroke:var(--draw)}
.ticks .dtk,.cta .open .dtk{stroke:var(--tang-ink)}
@media (max-width:860px){
  .on-laptop{display:none !important}
  .feat{grid-template-columns:minmax(0,1fr)}
  .behind{margin-top:10px}
  .behind .index{transform:none}
  .vmini{width:190px}
  .side-r{grid-column:1 / -1;grid-row:auto}
  .side-r + .c8{grid-row:auto}
  .stack{gap:30px}
  .sketchcard{transform:none;margin-top:20px}
  .shots{margin-top:22px}
  .shots.rail{display:flex;margin-top:0}
  .tilt-l,.tilt-r{transform:none}
  .shots.rail .card{flex:0 0 66%}
  .pad > .shot img{aspect-ratio:1/1.12;object-fit:cover;object-position:top}
  .prose figure.ph{max-width:290px;margin-left:auto;margin-right:auto}
  .nextstep{flex-direction:column;align-items:flex-start;padding-top:24px}
}

/* ---------- real pages (not canvas boards) ---------- */
html{scroll-behavior:smooth}
html:has(.sk[data-theme="dark"]){background:#101813}
.sk{min-height:100vh}
.sk [hidden]{display:none !important}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

/* ---------- phone fan (2026-11-27): an app's own screens, fanned out on the desk, for an app project's page top ----------
   <div class="phonefan"><figure class="scrap"><span class="tape" aria-hidden="true"></span><img ...></figure> (x3)</div>
   The middle screen sits on top. Tall pictures in the reading: <figure class="ph tall">. Four screens across: .g12 > .c3 */
.phonefan{display:flex;justify-content:center;align-items:flex-start;margin:0;padding:18px 0 40px}
.phonefan > figure{margin:0;padding:7px;flex:0 0 37%;max-width:250px;min-width:0}
.phonefan > figure img{display:block;width:100%;height:auto;border:1.5px solid var(--edge)}
.phonefan > figure:nth-child(1){transform:rotate(-6deg) translate(16%,34px);z-index:1}
.phonefan > figure:nth-child(2){transform:rotate(1.2deg);z-index:2}
.phonefan > figure:nth-child(3){transform:rotate(6deg) translate(-16%,34px);z-index:1}
.prose figure.ph.tall{max-width:300px;margin-left:auto;margin-right:auto}
.hand.facts-line{font-size:22px;margin:14px 0 0;color:var(--pencil)}
/* the app page top: name + hook note (.a1) and the button (.a2) on the left, the fan on the right.
   On a phone the fan comes right after the name, so the screens show on the first screen. */
.apptop{grid-template-rows:auto 1fr}
.apptop > .a1{grid-column:1 / 6;grid-row:1;align-self:end}
.apptop > .a2{grid-column:1 / 6;grid-row:2;align-self:start}
.apptop > .fanwrap{grid-column:6 / -1;grid-row:1 / 3}
.apptop .note1{margin-top:18px}
@media (max-width:860px){
  .apptop{gap:10px}
  .apptop > .a1,.apptop > .a2,.apptop > .fanwrap{grid-column:1 / -1;grid-row:auto}
  .phonefan{padding:4px 0 34px}
  .phonefan > figure{flex-basis:36%;padding:5px}
  .phonefan > figure:nth-child(1){transform:rotate(-6deg) translate(20%,26px)}
  .phonefan > figure:nth-child(3){transform:rotate(6deg) translate(-20%,26px)}
  .prose figure.ph.tall{max-width:240px}
}

/* ---------- his photos (2026-11-28) ----------
   Blog byline with his face: <p class="byline"><img class="face" src="@@img home/aditya-face.jpg@@" alt="Aditya Goswami" width="240" height="240"><span>Aditya · ...</span></p>
   About section photo, 4:3: <figure class="scrap polaroid wide snap"><span class="tape" aria-hidden="true"></span><img ...><figcaption class="hand">...</figcaption></figure> */
.prose .byline{display:flex;align-items:center;gap:16px}
.byline .face{flex:0 0 auto;width:64px;height:64px;border-radius:50%;object-fit:cover;border:1.5px solid var(--edge);margin:0}
.polaroid.wide img{aspect-ratio:4/3;height:auto}
.about .snap{max-width:440px;margin:36px 0 0;transform:rotate(-1.8deg)}
@media (max-width:860px){
  .byline .face{width:56px;height:56px}
  .about .snap{margin-top:30px}
}
/* 1.0.16: .cards.two = two across on a laptop (for 4 cards, so none sits alone on a row) */
@media (min-width:861px){ .cards.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px} }
/* 1.0.17: TAPE HOLDS A PICTURE BY THE PAPER'S EDGE, never lies on the picture (Aditya, Dec 5: the tape hid the words on his
   app's screenshots). A taped scrap that holds a picture gets a 16px paper strip on top; its tape sits on that strip and the
   edge, tilted 4 degrees at most. check.js flags any tape that covers a picture or video. */
:is(.prose figure:not(.sketchfig),.shot,.polaroid,.phonefan > figure):has(> .tape){padding-top:16px}
:is(.prose figure:not(.sketchfig),.shot,.polaroid,.phonefan > figure):has(> .tape) > .tape{top:-13px;transform:rotate(-3deg)}
:is(.prose figure:not(.sketchfig),.shot,.polaroid,.phonefan > figure):has(> .tape) > .tape.b{top:-12px;transform:rotate(4deg)}
.phonefan > figure > .tape{width:64px;height:22px;left:calc(50% - 32px)}
.phonefan > figure:has(> .tape) > .tape{top:-10px}
.about .snap > .tape{left:38%}
@media (max-width:860px){
  .phonefan > figure:has(> .tape){padding-top:12px}
  .phonefan > figure > .tape{width:46px;height:17px;left:calc(50% - 23px)}
  .phonefan > figure:has(> .tape) > .tape{top:-8px}
}
