/* adrianerlikhman.is-a.dev homepage. 2 Nov 2026 (evening): plain, in the first person, one font. Adrian on the notebook
   take (A of _mock/redo-a|b|c.html, shipped that afternoon): "make it a little more nonchalant ... dont make it in third
   person ... no weird AI slop fonts. no weird AI slop. do a crazy PASS to remove all of that". So: Latin Modern (the
   résumés' LaTeX face) for everything, no Geist, Plex Mono or handwriting; no labels in spaced capitals, no cards, no
   highlighter marks, no tilted or taped photos, no fade-ins, no dot grid; links are underlined text. Only index.html loads
   this; home.css (the chat) and site.css stay for history. Bump ?v= on index.html's <link> when this changes. */
@font-face{font-family:'LM Roman';src:url(/fonts/lmroman10-regular.woff2) format('woff2');font-weight:300 500;font-style:normal;font-display:swap}
@font-face{font-family:'LM Roman';src:url(/fonts/lmroman10-bold.woff2) format('woff2');font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:'LM Roman';src:url(/fonts/lmroman9-italic.woff2) format('woff2');font-weight:300 500;font-style:italic;font-display:swap}
@font-face{font-family:'LM Roman';src:url(/fonts/lmroman10-bolditalic.woff2) format('woff2');font-weight:600 900;font-style:italic;font-display:swap}
:root{--bg:#fbfaf7;--ink:#1a1a1a;--body:#262626;--dim:#666;--acc:#1f3a5f;--rule:#e2dfd8;
  --serif:'LM Roman','Latin Modern Roman','Computer Modern',Georgia,serif;--sans:var(--serif);--mono:ui-monospace,Menlo,Consolas,monospace;
  --line:rgba(26,26,26,.12);--line-strong:rgba(26,26,26,.24);--panel:#fff;--acc-ink:#f4f6f9}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{background:var(--bg);color:var(--body);font:400 19.5px/1.6 var(--serif);-webkit-font-smoothing:antialiased;overflow-x:hidden;font-kerning:normal}
a{color:var(--acc);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:rgba(31,58,95,.4)}
a:hover{text-decoration-color:var(--acc)}
img{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
b{font-weight:700;color:var(--ink)}
.wrap{width:min(800px,calc(100% - 40px));margin:0 auto}
p+p{margin-top:14px}

/* top bar: the section in view is underlined (site.js NAV) */
.nav{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--rule)}
.nav .wrap{display:flex;align-items:baseline;gap:20px;padding:16px 0 14px}
/* the page mark (a with a subscript e on a dog-eared page, his favicon since 23 Oct) stands in for the name, 3 Nov */
.brand{display:flex;align-self:center;text-decoration:none}.brand img{width:30px;height:30px;display:block}
.nav nav{margin-left:auto;display:flex;gap:20px;font-size:17px}
.nav nav a{color:var(--dim);text-decoration:none}
.nav nav a:hover,.nav nav a.on{color:var(--ink);text-decoration:underline;text-decoration-color:var(--ink)}

/* about */
.hero{padding-top:64px}
.hero h1{font-weight:700;font-size:44px;line-height:1.1;color:var(--ink);margin-bottom:26px;letter-spacing:-.005em}
.links{color:var(--dim)}
/* the photos sit between the name and the writing since 4 Nov (Adrian's pick A of _mock/about-photos-options.png) */
/* polaroids since 5 Nov (his pick C of _mock/photo-options.png): a white border, a little crooked, each photo's note written
   on its bottom in the pen (they replaced the three margin notes); pointing at one straightens it */
.photos{display:flex;align-items:flex-start;gap:20px;margin:0 0 34px;padding:6px 4px 0}
.photos button{position:relative;flex:var(--r) 1 0;min-width:0;cursor:zoom-in;background:#fff;padding:10px 10px 44px;
  box-shadow:0 10px 22px -8px rgba(40,30,20,.32),0 0 0 1px rgba(0,0,0,.05);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.photos button:nth-child(1){transform:rotate(-2deg)}.photos button:nth-child(3){transform:rotate(2deg)}
.photos button:hover,.photos button:focus-visible{transform:rotate(0) translateY(-4px);box-shadow:0 16px 28px -10px rgba(40,30,20,.4),0 0 0 1px rgba(0,0,0,.05)}
.photos .p{--r:.75}.photos .w{--r:1.3333}
.photos img{display:block;width:100%;height:auto;aspect-ratio:var(--r);object-fit:cover}
.photos .pc{position:absolute;left:6px;right:6px;bottom:12px;font:500 17px/1.1 'Shantell Sans','Comic Sans MS',cursive;font-variation-settings:'INFM' 100,'BNCE' 30;
  color:#2457c5;text-align:center}
@media(max-width:700px){.photos{gap:10px}.photos button{padding:5px 5px 30px}.photos .pc{font-size:11px;left:3px;right:3px;bottom:5px;line-height:1.05}}
@media(prefers-reduced-motion:reduce){.photos button{transition:none}}

/* sections */
.sec{padding-top:76px}
h2{font-weight:700;font-size:28px;line-height:1.2;color:var(--ink);margin-bottom:16px;padding-bottom:8px;border-bottom:1px solid var(--rule)}
h3{font-weight:700;font-size:20.5px;line-height:1.3;color:var(--ink)}
h3 a{color:inherit;text-decoration:none}
h3 a:hover{text-decoration:underline}
h3.sub{font-size:19.5px;margin:26px 0 6px}
.st{color:var(--dim);font-size:17.5px;margin:3px 0 10px}
.st b{color:var(--ink);font-weight:700}
.lk{font-size:17.5px;color:var(--dim);margin-top:10px}
.ul{padding-left:22px;margin:4px 0 14px}
.ul li{padding:2px 0}

/* papers: the first page beside each */
.pp{display:grid;grid-template-columns:104px minmax(0,1fr);gap:24px;padding:24px 0;border-bottom:1px solid var(--rule);scroll-margin-top:70px}
.pp:last-child{border-bottom:0}
.pg{align-self:start;margin-top:5px}
.pg img{width:104px;height:auto;aspect-ratio:640/829;object-fit:cover;object-position:top;border:1px solid var(--rule);background:#fff}
details{margin-top:10px;font-size:17.5px}
details summary{cursor:pointer;color:var(--acc);width:max-content;max-width:100%}
details ol{margin:8px 0 2px;padding-left:24px;color:var(--body)}
details li{padding:3px 0}

/* projects: a plain list, a picture beside each */
.pj{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;padding:24px 0;border-bottom:1px solid var(--rule);scroll-margin-top:70px}
.pj:last-child{border-bottom:0}
.pj .im{display:block;align-self:start;margin-top:5px;border:1px solid var(--rule);background:#fff;overflow:hidden}
.pj .im>img,.pj .lgr{width:100%;aspect-ratio:16/10;object-fit:cover}
.pj button.im{cursor:zoom-in}
.pj button.im img{object-position:center 45%}

/* internships */
.xp{list-style:none;margin-bottom:16px}
.xp li{padding:18px 0;border-bottom:1px solid var(--rule);scroll-margin-top:70px}
.xp li:first-child{padding-top:4px}
.xp h3{margin-bottom:6px}
.xp h3 a{color:var(--ink);text-decoration:underline;text-decoration-color:rgba(26,26,26,.3)}
.xp h3 span{float:right;font-weight:400;font-size:17px;color:var(--dim)}

/* fencing */
.reel{margin:22px 0 18px}
.reel video{display:block;width:100%;aspect-ratio:1440/436;object-fit:cover;background:#ddd}
.reel figcaption{font-size:16.5px;color:var(--dim);margin-top:6px;font-style:italic}
.vids{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:8px}
.vids a{display:block;color:var(--body);text-decoration:none;font-size:16.5px;line-height:1.4}
.vids img{width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:7px}
.vids a:hover span{text-decoration:underline}

/* honors and the favorites: plain ruled tables */
.tb{width:100%;border-collapse:collapse;font-size:17.5px}
.tb td{padding:9px 14px 9px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.tb td:first-child{color:var(--ink)}
.tb td:nth-child(2){font-weight:700;color:var(--ink);white-space:nowrap}
.tb td:nth-child(3){color:var(--dim)}
.hon{table-layout:fixed}
.hon td:nth-child(1){width:42%}.hon td:nth-child(2){width:21%}.hon td:nth-child(3){width:37%}
.fav{margin-top:18px}
.fav td:first-child{width:130px;color:var(--dim)}
.fav td:nth-child(2){font-weight:400;white-space:normal;color:var(--body)}
.strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0}
.strip button{cursor:zoom-in;overflow:hidden}
.strip img{width:100%;aspect-ratio:4/3;object-fit:cover}
#contact{padding-bottom:110px}

/* Ledger's receipt (29 Oct, Adrian picked it over the dashboard screenshot) */
.lgr{--lb:#3355a8;--lb3:#101c40;--pp:#fdfdf9;--pk:#25272c;--prd:#d42a20;position:relative;background:var(--lb);container-type:inline-size;overflow:hidden}
.lgr .feed{position:absolute;inset:0 0 7.6cqw;overflow:hidden}
.lgr .slot{position:absolute;left:50%;bottom:3.8cqw;transform:translateX(-50%);width:72%;height:5.1cqw;border-radius:1.6cqw;background:var(--lb3);box-shadow:inset 0 3px 4px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,.22)}
.lgr .slot::after{content:"";position:absolute;left:2.5cqw;right:2.5cqw;top:45%;height:2px;border-radius:2px;background:#000}
.rcp{position:absolute;left:50%;bottom:-1.9cqw;width:60%;transform:translateX(-50%);background:var(--pp);color:var(--pk);padding:1.4em 1.5em 1.6em;font:500 2.75cqw/1.55 var(--mono);letter-spacing:.02em;filter:drop-shadow(0 12px 16px rgba(8,16,48,.4));transition:transform .7s cubic-bezier(.2,.8,.2,1)}
.rcp::before{content:"";position:absolute;left:0;right:0;top:-.7em;height:.7em;background:linear-gradient(45deg,var(--pp) 50%,transparent 50%) 0 0/1.05em .7em repeat-x,linear-gradient(-45deg,var(--pp) 50%,transparent 50%) 0 0/1.05em .7em repeat-x}
.rcp .hd{display:flex;align-items:center;justify-content:center;gap:.45em;font-weight:700;font-size:1.5em;line-height:1;letter-spacing:.12em}
.rcp .hd img{width:1.1em;height:1.1em;object-fit:contain}
.rcp .c{text-align:center}
.rcp .ds{border-top:1px dashed currentColor;margin:.7em 0;opacity:.55}
.rcp .dd{border-top:3px double currentColor;margin:.8em 0;opacity:.8}
.rcp .row{display:flex;gap:.9em}.rcp .row>span:first-child{flex:1;min-width:0}
.rcp .n{min-width:3.2ch;text-align:right}.rcp .w55{min-width:5.5ch;text-align:right}
.rcp .no{color:var(--prd);font-weight:700}.rcp .ok{font-weight:700}
.rcp .big{font-weight:700;font-size:1.63em;line-height:1.2;letter-spacing:.14em;text-align:center}


/* the photo and video viewer, and the paper reader (site.js NOTEBOOK) */
.lb{position:fixed;inset:0;z-index:300;background:rgba(14,14,14,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:56px 20px 28px;cursor:zoom-out}
.lb[hidden],.lb [hidden]{display:none}
.lb img,.lb video{max-width:min(92vw,1100px);max-height:78vh;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.lb video{width:min(92vw,1100px);background:#000;cursor:auto}
.lb p{color:#e8e8e8;font-size:14px;text-align:center}
.xb{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:8px;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.12)}
.xb:hover{background:rgba(255,255,255,.22)}
.rd{position:fixed;inset:0;z-index:310;background:rgba(21,23,28,.55);display:flex;justify-content:center;padding:22px}
.rd[hidden]{display:none}
.rd-p{display:flex;flex-direction:column;width:min(1000px,100%);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 40px 90px -40px rgba(21,23,28,.6)}
.rd-b{display:flex;align-items:center;gap:14px;padding:10px 12px 10px 20px;border-bottom:1px solid var(--rule);font-size:14px}
.rd-b b{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd-b a{color:var(--acc);font-weight:500;white-space:nowrap;text-decoration:none}
.rd-b .xb{position:static;color:var(--dim);background:transparent}
.rd-b .xb:hover{background:#f1efe9}
.rd iframe{flex:1;width:100%;border:0;background:#525659}


/* ---- kept from site.css by way of home.css: a11y helpers, the intro, ⌘K and toasts, the maintenance screen, the résumé picker ---- */
.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}
.skip-link{position:fixed;top:8px;left:8px;z-index:400;transform:translateY(-160%);background:var(--acc);color:var(--acc-ink);font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;padding:11px 16px;text-decoration:none;white-space:nowrap;transition:transform .18s ease}
.skip-link:focus{transform:none}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.55}}
body.intro-lock{overflow:hidden}
#intro{position:fixed;inset:0;z-index:9998;background:var(--bg);overflow:hidden;transition:opacity .55s ease,clip-path .75s cubic-bezier(.76,0,.24,1);clip-path:inset(0 0 0 0)}
#intro.done{clip-path:inset(0 0 100% 0);opacity:0;pointer-events:none}
#introCanvas{position:absolute;inset:0;width:100%;height:100%}
#skip{position:absolute;bottom:22px;right:26px;z-index:3;background:transparent;border:0;color:var(--dim);font:16px var(--serif);text-decoration:underline;text-underline-offset:3px;padding:6px 4px;cursor:pointer}
#skip:hover{color:var(--ink);border-color:var(--acc)}
@media(prefers-reduced-motion:reduce){#intro{display:none}}
.cmdk{position:fixed;inset:0;z-index:9990;display:flex;align-items:flex-start;justify-content:center;padding-top:14vh;background:color-mix(in srgb,var(--bg) 55%,transparent);backdrop-filter:blur(4px);animation:cmdkIn .18s ease}
.cmdk[hidden]{display:none}
@keyframes cmdkIn{from{opacity:0}to{opacity:1}}
.cmdk-panel{width:min(560px,92vw);background:var(--panel);border:1px solid var(--line-strong);position:relative;box-shadow:0 30px 90px rgba(0,0,0,.28)}
.cmdk-top{display:flex;align-items:center;gap:10px;padding:15px 18px;border-bottom:1px solid var(--line)}
.cmdk-prompt{font-family:var(--mono);font-size:12px;color:var(--acc);white-space:nowrap}
#cmdkInput{flex:1;background:none;border:0;outline:0;color:var(--ink);font-family:var(--mono);font-size:14px;cursor:text}
#cmdkInput::placeholder{color:var(--dim)}
.cmdk-list{list-style:none;max-height:46vh;overflow:auto}
.cmdk-list li{display:flex;align-items:center;gap:12px;padding:12px 18px;font:13.5px var(--mono);cursor:pointer;border-bottom:1px solid var(--line);color:var(--ink)}
.cmdk-list li .ic{color:var(--acc);width:14px;text-align:center}
.cmdk-list li .k{margin-left:auto;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim);border:1px solid var(--line);padding:2px 7px}
.cmdk-list li.sel{background:color-mix(in srgb,var(--acc) 12%,transparent);color:var(--acc)}
.cmdk-list li.sel .k{border-color:var(--acc);color:var(--acc)}
.cmdk-list .none{color:var(--dim);padding:18px;font-size:13px}
.cmdk-foot{display:flex;gap:16px;padding:10px 18px;border-top:1px solid var(--line);font-family:var(--mono);font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%,20px);z-index:9995;background:var(--panel);border:1px solid var(--acc);color:var(--ink);font-family:var(--mono);font-size:12px;letter-spacing:.04em;padding:12px 18px;opacity:0;transition:opacity .35s,transform .35s}
.toast.show{opacity:1;transform:translate(-50%,0)}
#offline{position:fixed;inset:0;z-index:10000;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden}
#offline[hidden]{display:none}
.off-grid{position:absolute;inset:0;pointer-events:none;opacity:.5;background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:26px 26px;-webkit-mask-image:radial-gradient(ellipse 90% 70% at 50% 40%,#000 40%,transparent 100%);mask-image:radial-gradient(ellipse 90% 70% at 50% 40%,#000 40%,transparent 100%)}
.off-inner{position:relative;text-align:center;padding:24px}
.off-tag{font-family:var(--mono);font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--acc);display:inline-flex;align-items:center;gap:9px}
.off-dot{width:8px;height:8px;border-radius:50%;background:var(--acc);box-shadow:0 0 10px var(--acc);animation:blink 2.8s ease-in-out infinite}
.off-title{font-weight:700;font-size:44px;line-height:1.1;color:var(--ink);margin:0 0 12px}
.off-sub{font-size:19px;color:var(--dim);max-width:40ch;margin:0 auto}
.off-mail{display:inline-block;margin-top:14px;font-size:19px}
.cvmenu{position:fixed;z-index:9991;width:min(260px,calc(100vw - 32px));background:#fff;border:1px solid #e5e5e5;border-radius:14px;box-shadow:0 14px 40px -12px rgba(0,0,0,.22);padding:8px;font-family:var(--sans);color:#0d0d0d;animation:cmdkIn .16s ease}
.cvmenu[hidden]{display:none}
.cvm-h{font-size:12.5px;color:#8f8f8f;padding:6px 10px 4px}
.cvm-opt{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:10px;color:inherit;text-decoration:none}
.cvm-opt:hover,.cvm-opt:focus-visible{background:#f4f4f4;outline:none}
.cvm-k{font-size:14.5px;font-weight:500}
.cvm-p{font-size:12.5px;color:#8f8f8f}
.cvm-src{display:block;margin-top:4px;border-top:1px solid #ececec;padding:10px 10px 4px;font-size:12.5px;color:#8f8f8f;text-decoration:none}
.cvm-src:hover,.cvm-src:focus-visible{color:#0d0d0d;outline:none}


/* phones */
@media (max-width:700px){
  body{font-size:18px}
  .wrap{width:calc(100% - 32px)}
  .nav .wrap{flex-wrap:wrap;gap:4px 16px;padding:12px 0 10px}
  .nav nav{margin-left:0;width:100%;gap:2px 14px;font-size:16px;flex-wrap:wrap}
  .nav{position:static}
  html{scroll-padding-top:16px}
  .hero{padding-top:40px}
  .hero h1{font-size:36px}
  .sec{padding-top:60px}
  h2{font-size:25px}
  .pp{grid-template-columns:56px minmax(0,1fr);gap:16px}
  .pg img{width:56px}
  .pj{grid-template-columns:1fr;gap:12px}
  .pj .im{max-width:420px}
  .xp h3 span{float:none;display:block;font-size:16px}
  .vids{grid-template-columns:1fr}
  .tb,.st,.lk,details{font-size:16.5px}
  .tb td:nth-child(2){white-space:normal}
  .hon,.hon tbody,.hon tr,.hon td{display:block;width:auto!important}
  .hon tr{padding:9px 0;border-bottom:1px solid var(--rule)}
  .hon td{border:0;padding:0}
}

/* ---- Notes and touches (3 Nov 2026). Adrian asked for "a little cool interactive shit and maybe some annotations" on
   this base, and picked from _mock/touches.html: A, notes in his ballpoint blue (the old welcome's ink and hand, Shantell
   Sans pinned to INFM 100 / BNCE 30 and self-hosted), and touches 1, 2 and 4 (not the scoring lamps). The notes sit in
   the margins only where there is room (1180px+); site.js NOTES places them and draws each arrow in once it is seen. ---- */
@font-face{font-family:'Shantell Sans';src:url(/fonts/shantell-sans-notes.woff2) format('woff2');font-weight:500;font-display:swap}
.pn{position:absolute;z-index:6;pointer-events:none;font:500 18px/1.22 'Shantell Sans','Comic Sans MS',cursive;color:#2457c5;transform:rotate(-2deg);opacity:0;transition:opacity .5s .3s}
.pn.l{text-align:right}.pn.b{text-align:left;transform:rotate(-1.5deg)}.pn.on{opacity:1}
.pn-svg{position:absolute;left:0;top:0;z-index:6;pointer-events:none;overflow:visible}
.pn-svg path{fill:none;stroke:#2457c5;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);transition:stroke-dashoffset .9s cubic-bezier(.5,0,.2,1)}
.pn-svg path.on{stroke-dashoffset:0}
@media(max-width:1179px){.pn,.pn-svg{display:none}}
@media(prefers-reduced-motion:reduce){.pn,.pn-svg path{transition:none}}
/* 2. a paper's first page lifts to a readable size on hover */
.pg{position:relative;z-index:1}
.pg img{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s;transform-origin:0 0}
@media(hover:hover) and (min-width:701px){
  .pg:hover{z-index:20}
  .pg:hover img{transform:scale(2.6);box-shadow:0 18px 40px -12px rgba(0,0,0,.35),0 0 0 1px rgba(0,0,0,.08)}
}
@media(prefers-reduced-motion:reduce){.pg img{transition:none}}
/* 4. Ledger's receipt prints out of the slot when it comes into view (site.js adds .pr, then .in) */
.lgr.pr .rcp{transform:translate(-50%,86%);transition:none}
.lgr.pr.in .rcp{transform:translate(-50%,0);transition:transform 1.9s steps(16,end) .2s}

/* ---- Section-title doodles (3 Nov): one pen drawing per title in his ballpoint blue, each about him (a laptop and coffee,
   a paper being written, the Hivemind bee, a fencer mid-lunge, a podium, a tent under the Sierra, a CS/econ signpost,
   an LA palm and a paper plane). Each draws itself in when its title comes into view (site.js NOTES & TOUCHES). ---- */
h2{display:flex;align-items:flex-end;gap:12px}
.doo{width:76px;height:48px;flex:none;overflow:visible;margin-bottom:-6px}
.doo path{fill:none;stroke:#2457c5;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.doo .lbl{font:500 6.8px 'Shantell Sans','Comic Sans MS',cursive;fill:#2457c5;opacity:0;transition:opacity .6s 1.2s}
.js .doo .mn{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s cubic-bezier(.5,0,.2,1) .15s}
.js .doo .tr{stroke-dasharray:1.4 3.2;opacity:0;transition:opacity .6s 1.3s}
.doo .tr{stroke-dasharray:1.4 3.2;opacity:.8}.doo .lbl{opacity:1}
.js .doo .lbl{opacity:0}
.js h2.seen .doo .mn{stroke-dashoffset:0}.js h2.seen .doo .tr{opacity:.8}.js h2.seen .doo .lbl{opacity:1}
#h-work.seen .doo{animation:bob 2.8s ease-in-out 1.8s infinite}@keyframes bob{50%{transform:translateY(-2px) rotate(-2deg)}}
h2:hover .doo{animation:wig .5s ease}@keyframes wig{25%{transform:rotate(-7deg)}75%{transform:rotate(6deg)}}
#h-next .doo{width:136px;height:62px;margin-bottom:-12px}
@media(max-width:700px){.doo{width:60px;height:38px;margin-bottom:-4px}}
@media(max-width:700px){#h-next .doo{width:108px;height:50px;margin-bottom:-8px}}
@media(prefers-reduced-motion:reduce){.js .doo .mn{stroke-dashoffset:0;transition:none}.js .doo .tr,.js .doo .lbl{opacity:.8;transition:none}h2 .doo{animation:none!important}}

/* each paper opens with the question it asks, in plain words (3 Nov, his pick) */
.hk{margin:0 0 2px;font-style:italic;color:var(--dim);font-size:17px;line-height:1.4}

/* ---- the most impressive things, underlined in his pen (3 Nov): a ballpoint-blue stroke that draws itself under the phrase
   once it is on screen (site.js NOTES & TOUCHES adds .on). Without JS or with reduced motion the stroke is just there. ---- */
.hl{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6.4 C30 3.6 62 7.6 96 5 S160 3.4 198 5.6' fill='none' stroke='%232457c5' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:0 100%;background-size:100% .5em;padding-bottom:.14em;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
.js .hl{background-size:0 .5em;transition:background-size 1s cubic-bezier(.5,0,.2,1) .25s}
.js .hl.on{background-size:100% .5em}
@media(prefers-reduced-motion:reduce){.js .hl{background-size:100% .5em;transition:none}}
.wl2 .hl{color:var(--ink)}
/* the About paragraph's key phrases are written in by hand, in the notes' ballpoint blue (3 Nov, Adrian picked C of five; no underline there) */
/* in black ink since 5 Nov (his pick D of _mock/ink-options.png: "a lot of blue"; blue stays in the margin notes) */
.hw{font-family:'Shantell Sans','Comic Sans MS',cursive;font-variation-settings:'INFM' 100,'BNCE' 30;font-weight:500;color:var(--ink);font-size:.94em}

/* ---- the Museum of Adrian (3 Nov, Adrian's pick after three rounds of mocks): the sign in a carved frame with "free
   admission!", a brass picture light over every work, a different carved frame per project (border-image from
   img/frames/f-*.svg, 9-slice at 120), a brass plaque and the wall label. Three across, the last two centred. Since 4 Nov
   it is a white gallery (his pick B of _mock/museum-options.png, over a navy room and an edge-to-edge crimson room): no
   wall of its own, the frames hang on the page's warm white, and the notes are the site's ballpoint blue. It was a
   crimson box (#5c1f24) until then. ---- */
.wide{width:min(1040px,calc(100vw - 40px));margin-left:calc((100% - min(1040px,100vw - 40px))/2)}
.pen{font-family:'Shantell Sans','Comic Sans MS',cursive;font-weight:500}
.mus{margin-top:22px;padding:34px 0 0}
.mg{display:flex;flex-wrap:wrap;justify-content:center;gap:96px 40px}
.mf{margin:0;text-align:center;position:relative;flex:0 0 calc((100% - 80px)/3)}
.mf::before{content:"";position:absolute;left:50%;top:-58px;width:110px;height:42px;transform:translateX(-50%);z-index:3;
  background:url(/img/frames/lamp.svg) center/contain no-repeat;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5))}
.mf::after{content:"";position:absolute;left:-6%;right:-6%;top:-26px;height:330px;pointer-events:none;z-index:4;
  background:radial-gradient(ellipse 50% 64% at 50% 0,rgba(255,205,130,.24),rgba(255,205,130,0) 72%);opacity:.9;transition:opacity .3s}
.mf:hover::after{opacity:1}
.cf{position:relative;border:46px solid transparent;border-image:var(--fr) 120 round;background:#f3ecdc;background-clip:padding-box;padding:8px;
  filter:drop-shadow(0 16px 14px rgba(70,50,20,.26));transition:transform .3s ease}
.cf .im{display:block}.cf .im>img,.cf .lgr{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
#case-citadel .cf .im>img{object-position:center}
.mf:hover .cf{transform:translateY(-4px)}
.plq{position:relative;display:inline-block;margin:16px auto 0;padding:8px 22px 7px;background:linear-gradient(180deg,#efd486,#c49a43 55%,#e2c06a);color:#3d2c0b;
  font:700 14px/1.25 'LM Roman',serif;letter-spacing:.05em;text-transform:uppercase;text-align:center;border-radius:2px;
  text-shadow:0 1px 0 rgba(255,245,210,.6);box-shadow:0 2px 5px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.55)}
.plq small{display:block;font-weight:400;letter-spacing:.02em;text-transform:none;font-size:13px;font-style:italic}
.plq::before,.plq::after{content:"";position:absolute;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff6,#7a5a1e 70%)}
.plq::before{left:7px}.plq::after{right:7px}
.wl2{margin-top:12px;background:#fff;padding:10px 13px 11px;box-shadow:0 0 0 1px var(--rule),0 2px 6px rgba(70,50,20,.06);font-size:15px;line-height:1.45;color:#333;text-align:left}
.wl2 b{color:var(--ink);font-style:italic}.wl2 i{display:block;font-style:normal;color:#666;margin-top:2px}.wl2>span{display:block;margin-top:5px}
.wl2 .cr{color:#555;font-style:italic}.wl2 .lk{font-size:14.5px;margin:6px 0 0}
.sg{position:relative;display:flex;justify-content:center;margin:0 0 92px}
.sg-b{display:flex;flex-direction:column;align-items:center;text-align:center;border:34px solid transparent;border-image:url(/img/frames/f-aimlli.svg) 120 round;background:#fbfaf7;
  background-clip:padding-box;padding:10px 38px 8px;filter:drop-shadow(0 10px 12px rgba(70,50,20,.22))}
.sg-k{font:italic 15px 'LM Roman',serif;letter-spacing:.2em;color:#8a6a2a}
/* the museum's name in Cinzel (4 Nov, Adrian's pick E of _mock/sign-fonts.html, over his pen and twelve others): carved Roman
   capitals, self-hosted (fonts/cinzel-600.woff2, Latin, from Google Fonts; SIL Open Font License, Natanael Gama) */
@font-face{font-family:'Cinzel';src:url(/fonts/cinzel-600.woff2) format('woff2');font-weight:600;font-display:swap}
.sg-t{font:600 40px/1.1 'Cinzel','LM Roman',serif;letter-spacing:.04em;margin:4px 0 8px;color:var(--acc)}
.sg-s{font:13px 'LM Roman',serif;letter-spacing:.14em;text-transform:uppercase;color:#7a6a55}
.sg-n{position:absolute;right:0;top:66%;z-index:2;font-size:21px;transform:rotate(-7deg);color:#2457c5}
.sg-n svg{position:absolute;left:-48px;top:-16px;width:44px;height:30px;overflow:visible}
.sg-n path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media(max-width:900px){.mf{flex-basis:calc((100% - 40px)/2)}.cf{border-width:40px}}
@media(max-width:820px){.mus{padding:28px 14px 30px}.sg-t{font-size:27px;letter-spacing:.03em}.sg{flex-direction:column;align-items:center}.sg-n{position:static;margin-top:12px}.sg-n svg{display:none}}
@media(max-width:600px){.mf{flex-basis:100%}.cf{border-width:46px}}
@media(prefers-reduced-motion:reduce){.cf,.mf::after{transition:none}.mf:hover .cf{transform:none}}

/* ---- a closer look (4 Nov, Adrian: "if they click on a project, i want it to expand it so they can see more of it and then
   have a placcard on the side ... describing it well. then ... have the live link if they click on the thing once they
   expand it"). A click on a work grows its frame out of the wall into a room of its own (.mx, built by site.js MUSEUM from
   the wall label and the figure's hidden .xd), with a placard beside it; the picture in there is the live link, and a pen
   note says so. The sign's second note (.sg-h) says the works open. ---- */
.xd{display:none}
.js .plq{cursor:zoom-in}
.sg-h{position:absolute;left:0;top:58%;z-index:2;width:190px;font-size:20px;line-height:1.15;text-align:left;transform:rotate(4deg);color:#2457c5}
.sg-h svg{position:absolute;left:62%;top:100%;width:40px;height:46px;overflow:visible}
.sg-h path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media(max-width:1000px){.sg-h{width:150px;font-size:18px}}
@media(max-width:820px){.sg-h{position:static;width:auto;margin-top:8px;transform:rotate(-2deg)}.sg-h svg{display:none}}
.mx{position:fixed;inset:0;z-index:290;overflow-y:auto;overscroll-behavior:contain;color:var(--ink)}
.mx[hidden]{display:none}
.mx-bg{position:fixed;inset:0;background-color:#f4f1ea;background-image:radial-gradient(ellipse 60% 55% at 40% 44%,rgba(255,214,160,.25),transparent 72%);opacity:0;transition:opacity .35s}
.mx.on .mx-bg{opacity:1}
.mx-hd{position:absolute;top:22px;left:24px;margin:0;font:600 16px/1 'Cinzel','LM Roman',serif;letter-spacing:.06em;color:var(--acc);opacity:0;transition:opacity .3s .2s}
.mx.on .mx-hd{opacity:1}
.mx .xb{position:fixed;top:14px;right:16px;z-index:3;color:var(--ink);background:rgba(0,0,0,.06)}
.mx .xb:hover{background:rgba(0,0,0,.12)}
.mx-in{position:relative;min-height:100%;box-sizing:border-box;display:grid;grid-template-columns:auto 400px;gap:56px;align-items:center;justify-content:center;padding:92px 40px 84px;transition:opacity .2s}
.mx-in.sw{opacity:0}
.mx-w{position:relative;width:min(calc(100vw - 576px),calc((100vh - 270px)*1.778 + 128px),980px)}
.mx-w::before{content:"";position:absolute;left:50%;top:-64px;width:132px;height:50px;transform:translateX(-50%);z-index:3;
  background:url(/img/frames/lamp.svg) center/contain no-repeat;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5));opacity:0;transition:opacity .3s .4s}
.mx.on .mx-w::before{opacity:1}
.mx-w::after{content:"";position:absolute;left:-8%;right:-8%;top:-30px;height:78%;pointer-events:none;z-index:4;
  background:radial-gradient(ellipse 50% 64% at 50% 0,rgba(255,205,130,.26),rgba(255,205,130,0) 72%);opacity:0;transition:opacity .5s .35s}
.mx.on .mx-w::after{opacity:.9}
.mx-f{border-width:56px;transform-origin:50% 50%;will-change:transform;filter:drop-shadow(0 20px 18px rgba(70,50,20,.28))}
.mx-a{display:block;position:relative;overflow:hidden;background:#1c1b21;cursor:pointer}
.mx-a>img,.mx-a>video{display:block;width:100%;aspect-ratio:var(--ar,16/9);object-fit:cover}
.mx-a .lgr{aspect-ratio:16/10}
.mx-u{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 10px;background:linear-gradient(rgba(8,8,10,0),rgba(8,8,10,.74));color:#fff;font-size:16px;text-align:left;
  opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}
.mx-a:hover .mx-u,.mx-a:focus-visible .mx-u{opacity:1;transform:none}
.mx-a:hover>img,.mx-a:hover>video{filter:brightness(1.05)}
.mx-n{position:absolute;left:7%;top:100%;margin:16px 0 0;font-size:21px;white-space:nowrap;color:#2457c5;transform:rotate(-4deg);opacity:0;transition:opacity .35s}
.mx-n svg{position:absolute;left:100%;bottom:60%;margin-left:2px;width:56px;height:100px;overflow:visible}
.mx-n path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:var(--len,200);stroke-dashoffset:var(--len,200);transition:stroke-dashoffset .7s .25s ease}
.mx-n.on{opacity:1}.mx-n.on path{stroke-dashoffset:0}
.mx-p{position:relative;box-sizing:border-box;background:#fff;color:#333;padding:22px 26px 20px;font-size:16px;line-height:1.5;
  box-shadow:0 0 0 1px var(--rule),0 12px 30px rgba(70,50,20,.14);opacity:0;transform:translateX(22px);transition:opacity .4s .25s,transform .5s .25s cubic-bezier(.2,.7,.2,1)}
.mx.on .mx-p{opacity:1;transform:none}
.mx-p h3{margin:0;font-size:25px;font-weight:400;line-height:1.2;color:var(--ink)}.mx-p h3 b{font-style:italic}
.mx-p p{margin:0}
.mx-p .md{margin-top:3px;color:#666;font-size:15px}
.mx-p .xl{margin-top:14px;padding-top:14px;border-top:1px solid #ddd5c6;color:var(--ink)}
.mx-p h4{margin:13px 0 2px;font-size:15.5px;font-weight:700;color:var(--ink)}
.mx-p .cr,.mx-p .lk{display:block}.mx-p .cr{margin-top:14px;font-style:italic;color:#555}.mx-p .hl{color:var(--ink)}
.mx-p .lk{margin-top:10px;font-size:15.5px}
.mx-nv{position:fixed;left:0;right:0;bottom:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:12px 18px 14px;pointer-events:none;opacity:0;transition:opacity .3s .3s}
.mx.on .mx-nv{opacity:1}
.mx-nv button{pointer-events:auto;font:17px/1.2 'LM Roman',serif;color:var(--acc);background:none;border:0;padding:8px 10px;cursor:pointer}
.mx-nv button:hover{text-decoration:underline}
.mx-nv span{font-style:italic;font-size:14.5px;color:var(--dim)}
/* miyagi's walkthrough in the closer look (15 Nov 2026; site.js MUSEUM walk()): a small player in the frame. Bars that fill as
   each step plays, a pause button and the live link on top; the app's own frames (3:2) crossfading; the step and its line under
   them. The figures share one grid cell, so the caption band is as tall as the longest and nothing jumps. */
.mx-w.wk{width:min(calc(100vw - 576px),calc((100vh - 490px)*1.5 + 128px),980px);min-width:560px;align-self:start;position:sticky;top:92px} /* the placard is long: the player stays in view while you read it */
.wt{display:block;background:#141318;color:#d9d5cc}
.wt-top{display:flex;align-items:center;gap:5px;padding:7px 12px 6px}
.wt-seg{flex:1;position:relative;height:18px;padding:0;border:0;background:none;cursor:pointer}
.wt-seg::before,.wt-seg i{content:"";position:absolute;left:0;top:7px;height:3px;border-radius:2px}
.wt-seg::before{right:0;background:rgba(255,255,255,.2)}
.wt-seg i{width:0;background:#f4f1ea}
.wt-seg:hover::before{background:rgba(255,255,255,.34)}
.wt-seg.done i{width:100%}
.wt-seg.now i{animation:wt-fill var(--d,5s) linear forwards;animation-play-state:paused}
.wt.run:not(.paused) .wt-seg.now i{animation-play-state:running}
@keyframes wt-fill{from{width:0}to{width:100%}}
.wt-pp{flex:none;width:28px;height:24px;margin-left:5px;padding:0;border:0;border-radius:4px;background:none;color:#f4f1ea;cursor:pointer}
.wt-pp:hover{background:rgba(255,255,255,.1)}
.wt-pp svg{display:block;width:12px;height:12px;margin:auto;fill:currentColor}
.wt-pp .pl,.wt.paused .wt-pp .pa{display:none}.wt.paused .wt-pp .pl{display:inline}
.wt-v{flex:none;margin-left:6px;font-size:15px;color:#c9d6f2;text-decoration:underline;text-underline-offset:2px}
.wt-v:hover{color:#fff}
.wt-st{display:grid;cursor:pointer}
.wt-st>figure{grid-area:1/1;margin:0;opacity:0;visibility:hidden;transition:opacity .45s,visibility 0s .45s}
.wt-st>figure.on{opacity:1;visibility:visible;transition:opacity .45s}
.wt-st img{display:block;width:100%;height:auto;aspect-ratio:3/2}
.wt-st figcaption{padding:11px 16px 14px;font-size:16.5px;line-height:1.42}
.wt-st figcaption span{display:block;margin-bottom:1px;font-size:14px;font-style:italic;color:#9c978d}
.wt-st figcaption b{color:#fff}
@media(max-width:1099px){
  .mx-in{grid-template-columns:minmax(0,1fr);justify-items:center;align-content:start;gap:84px;padding:96px 22px 96px}
  .mx-w,.mx-w.wk{width:min(100%,760px);min-width:0;position:relative;top:auto}
  .mx-p{width:min(100%,640px);transform:translateY(18px)}
}
@media(max-width:600px){
  .mx-in{gap:76px;padding:108px 12px 88px}
  .mx-f{border-width:30px;padding:5px}
  .mx-w::before{top:-50px;width:104px;height:40px}
  .mx-n{left:3%;font-size:18px}.mx-n svg{height:80px;width:46px}
  .wt-top{padding:5px 8px 4px}.wt-st figcaption{padding:9px 11px 11px;font-size:15px}.wt-v{font-size:14px}
  .mx-p{padding:18px 18px 16px;font-size:15.5px}.mx-p h3{font-size:22px}
  .mx-hd{font-size:14px;top:20px;left:16px}
  .mx-nv{background:linear-gradient(rgba(244,241,234,0),rgba(244,241,234,.95) 40%);padding:18px 8px 10px}
}
@media(prefers-reduced-motion:reduce){.mx-bg,.mx-hd,.mx-in,.mx-w::before,.mx-w::after,.mx-n,.mx-n path,.mx-p,.mx-nv,.wt-st>figure,.wt-st>figure.on{transition:none}.mx-p{transform:none}}
