/* v25 /hi: the second door (his message 11-19, drafts/v25-spec.md). The same ALTAR night, shifted: warmer light, the camera closer,
   softer type. The stones' pixels re-form as him; the letter reads in one column, phone first. Everything here is scoped to .hi-* and
   html.on-hi, so it merges as one file. */
:root{--hw:#f3e8d8;--hw2:#f3e8d8db;--hw3:#f3e8d8a8;--hw4:#f3e8d82e;--amber:#f2a65a;--hcol:min(34rem,100%)}

/* ---- the swap: the base steps step aside; the stage (light, koi) stays and warms; the camera comes closer ---- */
html.on-hi:not(.hi-sw) #steps,html.on-hi:not(.hi-sw) .rail,html.on-hi:not(.hi-sw) #tag{display:none!important}
html.hi-sw #tag{visibility:hidden}
html.hi-go #bigw,html.hi-go #stm{visibility:hidden}   /* v42: while the pixels travel, the base name and line are the letter's name and line (they hand over in place) */   /* the header (mark, doors, email) stays: one header, two doors */
html.on-hi #cam{opacity:0;visibility:hidden}
.heap>.han,.heap>.cls{transition:opacity .3s}
html.on-hi .heap>.han,html.on-hi .heap>.cls,html.hi-go .heap>.han,html.hi-go .heap>.cls{opacity:0!important;visibility:hidden}
#ascii,#koi{transition:filter 1s cubic-bezier(.6,0,.2,1),scale 1s cubic-bezier(.6,0,.2,1)}
html.on-hi #ascii,html.on-hi #koi{filter:sepia(.85) saturate(2.1) hue-rotate(-16deg) brightness(.92);scale:1.12}
html.hi-go #cam{opacity:0!important;visibility:visible}   /* during a swap the stones are drawn by the pixels */
html.hi-go .lk23,html.hi-go .rail,html.hi-go .ft24>:not(.stm){opacity:0!important;transition:opacity .16s}   /* the base's small things wait for the stones, then come back on their own fades; v40: the role line is not one of them (the typed copy hands over to it in place) */
html.hi-back .heap>.han,html.hi-back .heap>.cls{transition:opacity .8s cubic-bezier(.2,.6,.2,1) .06s}   /* v40: after "work", labels and his name in hanzi arrive softly, not in a frame */
html.hi-back .ft24>:not(.stm){transition:opacity .9s cubic-bezier(.2,.6,.2,1) .12s}
#hi-px{position:fixed;left:0;top:0;z-index:30;pointer-events:none;image-rendering:pixelated}
/* v46: the /hi opening is the work side's (app.js), ending on his portrait. Until it starts, a night curtain (first paint, from the inline script's
   html.hi-op); once it runs (html.hi-ap) its own veil is the night. His name waits low, then rises in behind as the portrait finishes */
html.hi-op::after{content:"";position:fixed;inset:0;z-index:29;pointer-events:none;background:#030409}
html.hi-ap::after,html.hi-rise::after{display:none}
html.hi-ap .hi-me{transition:none}
html.hi-hand.hi-ap .hi-me{opacity:1;z-index:3}   /* gliding home over the letter */   /* the portrait takes over from the opening's pixels in place, in one frame */
html.hi-op:not(.hi-rise) .hi-name{opacity:0!important;translate:0 9vh}
html.hi-rise .hi-name{transition:opacity .96s cubic-bezier(.2,.6,.2,1),translate 1.28s cubic-bezier(.16,1,.3,1);will-change:opacity,translate}   /* no animated blur: on type this size it cost frames */

/* ---- /hi ---- */
#hi{display:none;position:fixed;inset:0;z-index:5;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;color:var(--hw);padding:0 22px max(64px,env(safe-area-inset-bottom))}   /* v42: a fixed layer over the base, so both layouts are live at once and a swap can turn around anywhere */
html.on-hi #hi,html.hi-sw #hi{display:block}
#hi.scr{-webkit-mask:linear-gradient(#0000 0 60px,#000 118px);mask:linear-gradient(#0000 0 60px,#000 118px)}   /* v42c: words fade out under the header */
#hi::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--hs,1);background:radial-gradient(70% 46% at 50% 24%,#f2a65a17,#f2a65a00 70%),radial-gradient(120% 60% at 50% 110%,#f2a65a0d,#0000 60%)}   /* v58: the warm glow rides p with the scrim, so it is gone by the landing frame (it dropped at settle, under the name) */
/* v42c (his 11-21: "the texts hard to read"): a soft dark pool under the words, no edge, so the light's dots stay in the world but not under the glyphs */
#hi::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--hs,1);background:radial-gradient(90% 70% at 50% 62%,#0d0b0acc,#0d0b0a8c 55%,#0d0b0a00 100%)}
@media (min-width:1060px) and (min-height:620px){#hi::after{background:radial-gradient(52% 78% at 66% 50%,#0d0b0ae0,#0d0b0a99 60%,#0d0b0a00 100%)}}
.hi-in{opacity:0;translate:0 10px;transition:opacity .7s var(--ease),translate .9s var(--ease)}
html.hi-shown .hi-in{opacity:1;translate:0 0;transition-delay:calc(var(--d,0) * 70ms + 380ms)}
html.hi-go:not(.hi-shown) .hi-in{transition-duration:.22s,.22s;transition-delay:0s}   /* leaving: the letter's small things go first */

/* the name, closer: the same type, larger, cropped by the screen, warm and low behind the portrait */
.hi-name{position:absolute;left:0;right:0;top:clamp(44px,9vh,96px);margin:0;text-align:center;white-space:nowrap;pointer-events:none;user-select:none;
  font:800 236px/1 "Inter Tight",-apple-system,"SF Pro Display",system-ui,sans-serif;letter-spacing:-.06em;color:#e9dccb;opacity:.2;transform-origin:0 0}
.hi-name span{display:inline-block}
/* v42c (his 11-21: "the ALBERT ZHANG in the back ... makes the text unclear"): on the letter it sinks back (about a third as bright, soft focus); it travels at full
   strength and settles back while the swap runs, so the hand-off from the base name stays exact */
.hi-name{transition:filter 1s cubic-bezier(.6,0,.2,1)}
html.on-hi .hi-name{filter:blur(5px) opacity(.32)}
html.hi-sw .hi-name{transition:none}   /* v58: during a swap the filter is drawn from p (hi.js frame), as its place is */
.hi-name.two{line-height:.9;display:flex;flex-direction:column;align-items:center}.hi-name.two span{display:block}   /* v58: each line centred even when wider than the screen (a block line that overflows starts at the left, so on a phone 'Zhang' sat off the base name's centring and 'Albert' jumped ~2px at the landing) */


.hi-col{position:relative;width:var(--hcol);margin:0 auto;padding-top:clamp(120px,17vh,170px)}
/* the portrait: glass like the stones (a hairline of light, brightest top left), the photo inside */
.hi-me{position:relative;width:min(56%,13.5rem);margin:0 auto;aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:#17120f;transition:opacity .4s ease-out;
  box-shadow:0 30px 80px -30px #f2a65a40,0 0 0 1px #f3e8d814}
.hi-me::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:1px;
  background:linear-gradient(135deg,#ffffffd9,#ffffff26 45%,#ffffff0f);-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.hi-me img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .125s}
.hi-me img.ph{image-rendering:pixelated}
html.hi-go .hi-me img{opacity:0;transition:none}
html:not(.hi-shown) .hi-me{opacity:0}
.hi-me figcaption{position:absolute;left:14px;bottom:13px;display:flex;gap:10px;color:#f3e8d8d0;text-shadow:0 1px 6px #000}
.hi-tag{position:absolute;right:12px;top:12px;padding:5px 7px 4px;border-radius:7px;background:#0d0d0e8c;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#f3e8d8b0;box-shadow:inset 0 0 0 1px #f3e8d81f}

.hi-line{min-height:1.2em;margin:26px 0 0;font:italic 400 clamp(30px,8.4vw,40px)/1.08 var(--serif);letter-spacing:-.012em;color:#fff6ea;text-align:center;text-shadow:0 0 28px #f2a65a33;white-space:nowrap}
.hi-line.typing::after{content:"";display:inline-block;width:.42em;height:.08em;margin-left:.06em;background:var(--amber);box-shadow:0 0 8px var(--amber);vertical-align:.02em}

.hi-bio{margin:9.155px auto 0;max-width:34rem}   /* v49c (his 11-21: the card "reads too odd forced panely"): a letter, not a panel. Greeting, body at a reading width, signed */
.hi-sign{text-shadow:0 0 10px #0d0d0e,0 0 3px #0d0d0e}   /* the light's dots run behind the type: knock them out under the glyphs */
.hi-bio p{font:400 16px/1.58 var(--sans);letter-spacing:-.003em;color:#f5ece0;text-wrap:pretty;-webkit-font-smoothing:antialiased;text-shadow:0 0 14px #0d0b0a,0 0 5px #0d0b0a,0 0 2px #0d0b0a}   /* v49 (his 11-21: "bio too massive ... easier to read less serif font"): reading text in the clean sans, a calm size; the greeting and questions keep the serif */
.hi-bio p+p{margin-top:.75em}

.hi-sec{margin-top:58px}.hi-bio+.hi-sec{margin-top:80.04px}.hi-rs+.hi-sec{margin-top:76.85px}   /* v63c (his 11-22: "hi -> bio 15% less, bio -> faqs 15% more"); with the resources between (phone) both gaps grow so bio -> FAQ is +15% whole */
.hi-k{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:var(--hw3);text-shadow:0 0 8px #0d0d0e}
.hi-k>i{flex:none;width:7px;height:7px;background:var(--amber);box-shadow:0 0 10px #f2a65a80}
.hi-k b{font-weight:400;margin-left:auto;color:var(--hw3)}

/* resources (v44, his 11-21: "more intuitively shown ... nice compact design. and like hover info + clip"): one row of glass tiles, logo + name;
   the peek (its clip, its line, where it goes) floats above the tile under a mouse, and opens in place under the row on touch */
.hi-rs{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 10px;margin:26px auto 0;max-width:34rem}.hi-bio+.hi-rs{margin-top:41.34px}   /* v49: under the portrait; v57: one column = right after the bio (hi.js), a row of chips that wraps */
.hi-rs>h2{flex-basis:100%;text-align:left;margin:0 0 2px 4px;font:400 8px/1 var(--pxf);letter-spacing:.2em;color:var(--hw3);text-shadow:0 0 8px #0d0d0e}
.hi-res{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.hi-res .tl{all:unset;box-sizing:border-box;position:relative;isolation:isolate;display:flex;align-items:center;gap:10px;height:32px;gap:7px;padding:0 10px 0 4px;border-radius:10px;cursor:pointer;color:var(--hw);
  -webkit-tap-highlight-color:transparent;transition:translate .25s var(--ease)}
/* v57: the chip's glass is its own plate (::before) under the words, so it can lean toward a mouse while the type stays flat and sharp (hi.js) */
.hi-res .tl::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;transform:var(--p57,none);
  background:#f3e8d80d;box-shadow:inset 0 0 0 1px #f3e8d82e,0 10px 24px -14px #000;transition:background .2s,box-shadow .2s}
.hi-res .ic{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#0d0b0a8c;box-shadow:inset 0 0 0 1px #f3e8d81f}
.hi-res .ic img{display:block;width:16px;height:16px;image-rendering:pixelated}
.hi-res .tx{display:flex;flex-direction:column;gap:3px}
.hi-res .sb{font:italic 400 12.5px/1 var(--serif);color:var(--hw3);white-space:nowrap;transition:color .2s}
.hi-res .tl:hover .sb,.hi-res .tl.on .sb{color:var(--hw2)}
.hi-res .tl:has(.sb){height:auto;min-height:32px;padding:6px 12px 6px 6px;gap:9px}.hi-res .tl:has(.sb) .ic{width:28px;height:28px;border-radius:8px}
.hi-res .nm{font:500 13.5px/1 "Inter Tight",var(--sans);letter-spacing:-.005em;text-shadow:0 0 10px #0d0d0e}
.hi-res .go{font:400 12px/1 var(--sans);color:var(--hw2);transition:translate .2s var(--ease),color .2s}
.hi-res .go.px{font:400 7px/1 var(--pxf);letter-spacing:.16em;text-transform:uppercase;padding:3px 4px 2px;border-radius:5px;box-shadow:inset 0 0 0 1px #f3e8d833;color:var(--hw2)}
.hi-res .tl:hover::before,.hi-res .tl:focus-visible::before,.hi-res .tl.on::before{background:#f3e8d81a;box-shadow:inset 0 0 0 1px #f3e8d866,0 12px 28px -14px #000,0 0 22px -8px #f2a65a59}
.hi-res .tl:hover .go,.hi-res .tl.on .go{color:#fff}
.hi-res a.tl:hover .go,.hi-res a.tl:focus-visible .go{translate:2px -2px}
.hi-res .tl:focus-visible{outline:1px solid #f3e8d899;outline-offset:3px}
/* v52 (his 11-22: "the resources nice but maybe colored with the logo? for nice and glassy"): each chip is glass tinted by its own logo colour */
.hi-res .tl.tn::before{background:linear-gradient(135deg,color-mix(in srgb,var(--t) 11%,transparent),color-mix(in srgb,var(--t) 3%,transparent) 70%),#14100ecc;
  box-shadow:inset 0 1px 0 #ffffff1f,inset 0 0 0 1px color-mix(in srgb,var(--t) 24%,#f3e8d81f),0 10px 24px -14px #000;backdrop-filter:blur(10px) saturate(1.3);-webkit-backdrop-filter:blur(10px) saturate(1.3)}
.hi-res .tl.tn .ic{background:color-mix(in srgb,var(--t) 8%,#0d0b0ad9);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--t) 22%,transparent)}
.hi-res .tl.tn .sb{color:color-mix(in srgb,var(--t) 10%,#f3e8d8a6)}
.hi-res .tl.tn .go.px{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--t) 28%,transparent)}
.hi-res .tl.tn:hover::before,.hi-res .tl.tn:focus-visible::before,.hi-res .tl.tn.on::before{background:linear-gradient(135deg,color-mix(in srgb,var(--t) 17%,transparent),color-mix(in srgb,var(--t) 5%,transparent) 70%),#14100ecc;
  box-shadow:inset 0 1px 0 #ffffff2e,inset 0 0 0 1px color-mix(in srgb,var(--t) 40%,#f3e8d833),0 12px 28px -14px #000,0 0 24px -8px color-mix(in srgb,var(--t) 35%,transparent)}
.hi-res .tl:active{translate:0 1px}

/* v53 (his 11-22): only the clip, in a thin glass frame tinted by its chip's colour (--t); size + morph live in hi.js */
.hi-peek{--t:#f2a65a;position:fixed;z-index:24;box-sizing:border-box;padding:4px;border-radius:15px;pointer-events:none;
  background:linear-gradient(135deg,color-mix(in srgb,var(--t) 22%,transparent),color-mix(in srgb,var(--t) 6%,transparent) 70%),#14100ee0;
  box-shadow:inset 0 1px 0 #ffffff26,inset 0 0 0 1px color-mix(in srgb,var(--t) 42%,#f3e8d824);
  backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3)}
.hi-peek .pc{position:relative;width:100%;height:100%;border-radius:11px;overflow:hidden;background:color-mix(in srgb,var(--t) 10%,#0d0b0a)}
.hi-peek .pc::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff1a;pointer-events:none}
.hi-peek video{display:block;width:100%;height:100%;object-fit:cover}
/* v57 (his 11-22: "shadow under is so apparent while content still fading in"): the drop shadow + glow sit on their own layer behind the frame; it comes up after the
   frame and clip have started to show, and goes at once when the peek folds (the frame's own opacity runs .5 -> 1 in hi.js, the clip's 0 -> 1) */
.hi-peek::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .1s linear;
  box-shadow:0 22px 48px -22px #000,0 0 34px -14px color-mix(in srgb,var(--t) 45%,transparent)}
.hi-peek.on::before{opacity:1;transition:opacity .3s ease-out .16s}
@media (prefers-reduced-motion:reduce){.hi-peek.on::before{transition-delay:0s}}
/* touch: opens in place under the row, growing from the tapped chip; the clip is the link */
.hi-rs>.hi-peek{flex-basis:100%;position:static;width:auto;max-width:26rem;aspect-ratio:16/10;margin-top:10px;pointer-events:auto;
  opacity:0;scale:.9;translate:0 -6px;transform-origin:var(--ox,20%) 0;transition:opacity .18s ease-out,scale .3s var(--ease),translate .3s var(--ease)}
.hi-rs>.hi-peek.on{opacity:1;scale:1;translate:0 0}
.hi-rs>.hi-peek.lk{cursor:pointer}

/* instagram (v44, his 11-21: "the ig thing maybe just top right beside email. on the hi page only."): the header's own type, left of "email";
   it comes and goes with the door */
.hi-igh{position:fixed;z-index:21;top:24px;right:120px;height:34px;display:flex;align-items:center;gap:7px;padding:0 1px;text-decoration:none;
  font:italic 400 17px/1 var(--serif);color:#e4e0d7;text-shadow:0 0 6px #0d0d0e;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s,visibility 0s .4s,color .2s}
.hi-igh svg{width:11px;height:11px;color:#8f8c86;transition:color .2s}
.hi-igh::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;background:linear-gradient(90deg,#c7e0ff00,#f4f8ff,#c7e0ff00);box-shadow:0 0 8px 1px #b9d3ff80;opacity:0;scale:.3 1;transition:opacity .3s,scale .5s cubic-bezier(.2,.8,.2,1)}
.hi-igh:hover,.hi-igh:focus-visible{color:#fff}
.hi-igh:hover svg,.hi-igh:focus-visible svg{color:#e4e0d7}
.hi-igh:hover::after,.hi-igh:focus-visible::after{opacity:.8;scale:1 1}
.hi-igh:focus-visible{outline:1px solid #c7e0ff99;outline-offset:3px}
html.hi-shown body.ready .hi-igh{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .7s .45s,visibility 0s,color .2s}
html.hi-go:not(.hi-shown) .hi-igh{transition:opacity .16s,visibility 0s .16s}   /* v56 (his 11-22: "fade out 20% faster for the instagram link too") */
body.intro .hi-igh{opacity:0!important}
@media (max-width:599px){.hi-igh{font-size:16px}}

/* faq, v49 (his 11-21: "each q and answer ... super masterfully, nice visual separation and intuitive interaction"): no label; each question is its
   own small glass card, a hair apart. Hover lifts its light; open, it brightens, its pixel lights amber and the answer slides open under the question.
   One open at a time (details name="faq"). */
:root{interpolate-size:allow-keywords}
.hi-faq{display:flex;flex-direction:column;gap:6px}
.hi-faq details{border-radius:14px;background:linear-gradient(#f3e8d808,#f3e8d808),#0d0b0ab3;box-shadow:inset 0 0 0 1px #f3e8d81c;transition:background .3s,box-shadow .5s var(--ease) .12s}   /* v52c (his 11-22: "the shadow under is so apparent while the content is still fading in"): the lift eases in with the answer */
.hi-faq details:hover{background:linear-gradient(#f3e8d80f,#f3e8d80f),#0d0b0ab3;box-shadow:inset 0 0 0 1px #f3e8d833}
.hi-faq details[open]{background:#1a1512b3;box-shadow:inset 0 1px 0 #ffffff14,inset 0 0 0 1px #f2a65a40,0 16px 40px -24px #000,0 0 36px -16px #f2a65a59}
/* v49j (his 11-22: "a slight emphasis on whichever FAQ is opened ... with glow or styling"): the open question glows warm, the others step back */
.hi-faq summary{transition:color .3s,text-shadow .3s,padding .38s var(--ease)}   /* v52: the extra room above an open question eases in with the box, no jump */
.hi-faq details[open] summary{color:#fff;text-shadow:0 0 14px #f2a65a73,0 0 2px #f2a65a40}
.hi-faq:has(details[open]) details:not([open]) summary{color:#f3e8d8b8}
.hi-faq summary{list-style:none;display:flex;align-items:center;gap:14px;padding:13px 16px;cursor:pointer;border-radius:inherit;font:italic 400 20px/1.25 var(--serif);color:var(--hw);-webkit-tap-highlight-color:transparent}
.hi-faq summary::-webkit-details-marker{display:none}
.hi-faq summary:focus-visible{outline:1px solid #f3e8d899;outline-offset:2px}
.hi-faq .q{flex:1;min-width:0}
.hi-faq .pm{flex:none;width:6px;height:6px;margin-right:2px;box-sizing:border-box;border:solid var(--hw3);border-width:0 1.25px 1.25px 0;rotate:45deg;translate:0 -2px;transition:rotate .35s var(--ease),translate .35s var(--ease),border-color .25s}   /* v52c (his 11-22: "no + x how about arrows"): a fine chevron that turns up when open */
.hi-faq .pm::before,.hi-faq .pm::after{display:none}
.hi-faq details:hover .pm{border-color:var(--hw)}
.hi-faq details[open] .pm{rotate:225deg;translate:0 2px;border-color:var(--amber)}

.hi-faq details::details-content{block-size:0;overflow:hidden;transition:block-size .38s var(--ease),content-visibility .38s allow-discrete}
.hi-faq details[open]::details-content{block-size:auto}
.hi-faq .a{margin:0 8px 8px;padding:9px 12px 10px;border-radius:8px;background:#0806058c;box-shadow:inset 0 1px 3px #0009,inset 0 0 0 1px #f3e8d814;   /* v52c (his 11-22: "code block behind ... darker not lighter"): a recessed dark well */   /* v51 (his 11-22: "proper ` ` markdown style for the FAQ block with less of the left line"): a code block, no amber edge */   /* v49k (his 11-22: "the expanded FAQ ... within a lil code box ... nice structured"): the answer sits in its own inset well, an amber edge on its left */
  font:400 12px/1.6 ui-monospace,"SF Mono",Menlo,monospace;letter-spacing:0;color:#f3e8d8cc;text-wrap:pretty;opacity:0;transition:opacity .3s}   /* v52 (his 11-22: "smaller more compact ... no need for the little stutter"): 12px, one fade, no slide */
.hi-faq details[open] .a{opacity:1;transition-delay:.08s}
.hi-faq .a.stub{color:var(--hw3);font-style:italic}

/* ask me something, v49j (his 11-22: "just like a clean row at the bottom like listed with the FAQ's ykwim. super compact concise nice"; was a docked
   glass bar, v49): the last row of the FAQ list, same card, same type as a question. The placeholder reads like one more question; the send key
   sits where the + sits and lights once there is a question. "where can i reply?" opens above as you type; the status sits under the row. */
.hi-askr{display:flex;flex-direction:column;gap:6px}
.hi-ask{position:relative;display:flex;align-items:flex-end;gap:12px;border-radius:14px;padding:0 6px 0 16px;background:linear-gradient(#f3e8d808,#f3e8d808),#0d0b0ab3;box-shadow:inset 0 0 0 1px #f3e8d81c;transition:background .25s,box-shadow .25s}
.hi-ask:hover{background:linear-gradient(#f3e8d80f,#f3e8d80f),#0d0b0ab3;box-shadow:inset 0 0 0 1px #f3e8d833}
.hi-ask .l1{flex:1;min-width:0;display:flex;flex-direction:column-reverse}   /* the reply field sits above the question */
.hi-ask textarea{display:block;width:100%;height:auto;min-height:51px;padding:13px 0;box-sizing:border-box;resize:none;border:0;outline:0;background:none;color:var(--hw);font:italic 400 20px/1.25 var(--serif);field-sizing:content;max-height:8.5em}
.hi-ask textarea::placeholder,.hi-ask input::placeholder{color:#f3e8d880;font-style:italic;transition:color .25s}
.hi-ask:hover textarea::placeholder{color:#f3e8d8b3}
.hi-ask .l2{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .3s var(--ease),opacity .2s}
.hi-ask .l2>div{min-height:0;overflow:hidden}
.hi-ask.two .l2{grid-template-rows:1fr;opacity:1}
.hi-ask input{display:block;width:100%;height:34px;margin:8px 0 0;padding:0;border:0;border-bottom:1px solid #f3e8d81f;outline:0;background:none;color:var(--hw2);font:italic 400 15px/1 var(--serif)}
.hi-ask .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.hi-send{flex:none;display:grid;place-items:center;width:32px;height:32px;margin-bottom:9.5px;border-radius:10px;background:none;color:var(--hw3);box-shadow:none;transition:background .2s,color .2s,box-shadow .2s,transform .15s}
.hi-send svg{width:11px;height:11px}
.hi-send:not(:disabled){background:var(--hw);color:#17120f;box-shadow:0 0 18px -4px #f2a65a80;cursor:pointer}
.hi-send:disabled{cursor:default}
.hi-send:not(:disabled):active{transform:scale(.94)}
.hi-send:focus-visible{outline:1px solid #f3e8d899;outline-offset:2px}
.hi-ask.busy .hi-send svg{animation:hi-up .7s ease-in-out infinite}
@keyframes hi-up{50%{translate:0 -3px}}
.hi-ask:focus-within{background:#1a1512b3;box-shadow:inset 0 1px 0 #ffffff14,inset 0 0 0 1px #f2a65a40,0 16px 40px -24px #000,0 0 36px -16px #f2a65a59}
.hi-st{margin:0;padding:2px 16px 4px;font:italic 400 15px/1.35 var(--serif);color:var(--hw)}
.hi-st[data-s=fail]{color:#ffcf9e}
.hi-st button{margin-left:6px;font:400 10px/1 var(--pxf);letter-spacing:.14em;text-transform:uppercase;color:var(--hw);border-bottom:1px solid var(--hw3);padding:3px 0}

/* the end: signed, with the cross */
.hi-sign{margin-top:1.1em;display:flex;align-items:center;gap:10px;font:italic 400 21px/1 var(--serif);color:var(--hw)}
.hi-bio p.hi-sign{font:italic 400 21px/1 var(--serif);color:var(--hw);letter-spacing:0}
.hi-sign svg{width:13px;height:13px;color:var(--amber);filter:drop-shadow(0 0 6px #f2a65a80)}

/* desktop (v42, his words: "the portrait can be smaller ... the hi and then the bio right side and it left side ... mostly non-scrolling"): one screen.
   Left: the portrait. Right: hi, the bio, (Latest), resources as a row, the FAQ as a closed accordion, the question box. Only the right column
   scrolls, and only in a short window. Shorter or narrower windows keep the phone's stack. */
#hi{padding-bottom:calc(max(18px,env(safe-area-inset-bottom)) + 28px)}   /* v49j: a little room under the ask row */
@media (min-width:1060px) and (min-height:620px){
  #hi{overflow:hidden;padding:0 clamp(28px,4vw,64px)}
  .hi-col{display:grid;grid-template-columns:minmax(240px,31%) minmax(0,1fr);grid-template-rows:minmax(0,1fr);column-gap:clamp(44px,6vw,96px);width:min(1240px,100%);height:100%;padding:clamp(104px,13vh,136px) 0 clamp(16px,2.6vh,30px);box-sizing:border-box;align-items:start}
  .hi-lt{min-width:0}
  .hi-me{width:min(100%,calc((100vh - 270px) * .8));margin:0}
  .hi-rs{justify-content:flex-start;margin:12px 0 0;width:min(100%,calc((100vh - 270px) * .8))}
  .hi-rt{min-width:0;height:100%;overflow-y:auto;padding:0 6px 24px 0;scrollbar-width:thin;scrollbar-color:#f3e8d824 #0000;overscroll-behavior:contain}
  html.hi-sw .hi-rt{overflow:visible;padding-right:calc(6px + var(--rx) + var(--sbw,0px))}   /* v42e: while the line travels to (or from) the foot it leaves this column; a scrolling column clipped it, so the role line typed unseen */
  .hi-line{margin:0;text-align:left;font-size:clamp(32px,5vh,44px)}
  .hi-bio{margin:clamp(4.994px,.74909vh,8.323px) 0 0;max-width:38rem}   /* v61 (his 11-22: "10% less padding between hi im albert and the bio", then "20% smaller still", then "20% less the gap again ... 20% more padding below the bio") */
  .hi-bio p.hi-sign{font-size:clamp(18px,2.4vh,21px);margin-top:.85em}
  .hi-bio p{font-size:clamp(14.5px,1.95vh,16.5px);line-height:1.55}
  .hi-bio p+p{margin-top:.72em}   /* v48: his final 5-paragraph bio (11-21) keeps the letter on one screen */
  .hi-sec{margin-top:clamp(18px,3.2vh,34px)}.hi-bio+.hi-sec{margin-top:clamp(24.84px,4.416vh,46.92px)}
  .hi-k{margin-bottom:clamp(6px,1.1vh,12px)}
  .hi-faq summary{padding:clamp(8px,1.2vh,11px) 15px;font-size:clamp(16px,2.2vh,18.5px)}
  .hi-ask{padding-left:15px}.hi-ask textarea{padding:clamp(8px,1.2vh,11px) 0;min-height:0;font-size:clamp(16px,2.2vh,18.5px)}.hi-send{margin-bottom:max(0px,calc(clamp(8px,1.2vh,11px) + clamp(16px,2.2vh,18.5px) * .625 - 16px))}
  .hi-askr{gap:5px}
  .hi-faq .a{font-size:12px;margin:0 7px 7px;padding:9px 11px 10px}
  .hi-faq{gap:5px}
}
@media (min-width:900px) and (max-width:1059px),(min-width:1060px) and (max-height:619px){
  .hi-col{padding-top:clamp(150px,21vh,210px)}
  .hi-me{width:14rem}
  .hi-line{font-size:44px}
  .hi-bio{margin-top:11.653px}.hi-bio+.hi-rs{margin-top:38.47px}
  .hi-bio p{font-size:18px}
  .hi-sec{margin-top:72px}.hi-bio+.hi-sec{margin-top:99.36px}.hi-rs+.hi-sec{margin-top:88.77px}
}
@media (prefers-reduced-motion:reduce){.hi-in{transition:opacity .3s;translate:none}html.hi-shown .hi-in{transition-delay:0s}#ascii,#koi{transition:none}}
/* v51b (his 11-22: "too little padding above the title in the expanded FAQ"): the open question gets more room above it */
.hi-faq details[open] summary{padding-top:17px;padding-bottom:12px}

/* v52c (his 11-22: "the send button ... so bulky not clean and smaller and clear"): small key, hairline ring while empty, cream fill once there is something to send.
   v53 (his 11-22: "the circle doesnt match the square ... arrow icon a lil too light ... the padding is off like in the idle"): a rounded square like its row,
   sitting the same distance from the row's right and bottom edges (--ki), with a bolder 2px pixel arrow */
.hi-ask{--ks:28px;--ki:11.5px;padding-right:var(--ki)}
.hi-send{width:var(--ks);height:var(--ks);border-radius:8px;margin-bottom:var(--ki);box-shadow:inset 0 0 0 1px #f3e8d838;color:#f3e8d8b8}
.hi-send svg{width:10px;height:10px}
.hi-ask:hover .hi-send:disabled{color:#f3e8d8e0;box-shadow:inset 0 0 0 1px #f3e8d852}
.hi-send:not(:disabled){background:#f3e8d8e6;color:#17120f;box-shadow:none}
.hi-send:not(:disabled):hover{background:#fff}
@media (min-width:1060px) and (min-height:620px){.hi-ask{--ks:26px;--ki:max(6px,calc(clamp(8px,1.2vh,11px) + clamp(16px,2.2vh,18.5px) * .625 - 13px))}.hi-send{border-radius:7.5px}}   /* where the row is the compact height */
/* v54 (his 11-22: "the SOON isnt padded properly and should be accent colored ... the arrow should be accent colored too"): both marks wear
   their chip's colour (--t); the pill gets even room round the letters (the pixel face's trailing letter-spacing taken off the right) */
.hi-res .tl.tn .go{color:color-mix(in srgb,var(--t) 72%,#f3e8d8)}
.hi-res .tl.tn .go.px{padding:4px calc(6px - .16em) 4px 6px;line-height:1;border-radius:6px;color:color-mix(in srgb,var(--t) 78%,#f3e8d8);
  background:color-mix(in srgb,var(--t) 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--t) 42%,transparent)}
.hi-res .tl.tn:hover .go,.hi-res .tl.tn:focus-visible .go,.hi-res .tl.tn.on .go{color:color-mix(in srgb,var(--t) 55%,#fff)}
/* v55 (his 11-22: "the scroll bar on the content in hi should be more right and thinner. modern"): a 3px pill, no track, out at the column's
   far right (the column reaches into the page margin, its words stay put); faint at rest, brighter while you point at it. Same on the
   whole-page scroll of narrower windows. Chrome/Safari draw it (::-webkit-scrollbar), Firefox gets its own thin one. */
#hi::-webkit-scrollbar,.hi-rt::-webkit-scrollbar{width:9px;background:#0000}
#hi::-webkit-scrollbar-track,.hi-rt::-webkit-scrollbar-track{background:#0000}
#hi::-webkit-scrollbar-thumb,.hi-rt::-webkit-scrollbar-thumb{border:3px solid #0000;background-clip:padding-box;border-radius:9px;background-color:#f3e8d81f;min-height:40px}
#hi:hover::-webkit-scrollbar-thumb,.hi-rt:hover::-webkit-scrollbar-thumb{background-color:#f3e8d840}
#hi::-webkit-scrollbar-thumb:hover,.hi-rt::-webkit-scrollbar-thumb:hover{background-color:#f3e8d870}
#hi::-webkit-scrollbar-button,.hi-rt::-webkit-scrollbar-button{display:none}
@supports not selector(::-webkit-scrollbar){#hi,.hi-rt{scrollbar-width:thin;scrollbar-color:#f3e8d830 #0000}}
@media (min-width:1060px) and (min-height:620px){
  .hi-rt{--rx:clamp(22px,3.2vw,52px);scrollbar-width:auto;scrollbar-color:auto;margin-right:calc(-1 * var(--rx));padding-right:calc(6px + var(--rx))}
  @supports not selector(::-webkit-scrollbar){.hi-rt{scrollbar-width:thin;scrollbar-color:#f3e8d830 #0000}}
}
/* v55 (his 11-22: "instagram fade in 40% faster"): .7s after .45s -> .42s after .27s */
html.hi-shown body.ready .hi-igh{transition:opacity .42s .27s,visibility 0s,color .2s}
/* v59 (his 11-22: "i wanted like with dithering spotlight ... its too tiny. and it should be nicer"): the dithered spotlight (hi.js). .fx59 = a clipped layer on
   the glass: .gl59 a soft glow that brightens the photo itself (soft-light), .dt59 the dithered rings screened on (each .w59 a stepped disc moved by transform,
   holding its texture .x59 counter-moved, so the grain stays pinned to the photo), .rm59 a 1px ring that shows the rim light near the mouse. Per frame only
   transforms and opacity change. */
.hi-me.t57{will-change:transform}.hi-res .tl.t57::before{will-change:transform}
.fx59{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}
.hi-res .tl>.fx59{z-index:-1;transform:var(--p57,none)}   /* on the plate, under the words, leaning with it */
.fx59 i,.x59{position:absolute;left:0;top:0;display:block}
.gl59,.dt59,.bl59{opacity:0}
.dt59{position:absolute;inset:0;mix-blend-mode:screen}
.w59{overflow:hidden;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.x59{image-rendering:pixelated}
.t57 .w59,.t57 .x59,.t57 .gl59,.t57 .bl59{will-change:transform}
.hi-me .gl59{mix-blend-mode:soft-light;background:radial-gradient(closest-side,rgb(255 246 232/.9),rgb(255 246 232/.4) 50%,rgb(255 246 232/0))}
.hi-res .gl59{mix-blend-mode:screen;background:radial-gradient(closest-side,var(--c,rgb(255 243 226/.3)),rgb(255 243 226/0))}
.rm59{position:absolute;inset:0;border-radius:inherit;padding:1px;mix-blend-mode:screen;-webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.bl59{background:radial-gradient(closest-side,rgb(255 248 238/.95),rgb(255 248 238/.3) 45%,rgb(255 248 238/0))}
.hi-res .bl59{background:radial-gradient(closest-side,rgb(255 248 238/.7),rgb(255 248 238/0))}
/* v56b (his 11-22: "at the end of the switch from hi -> work ... the font of the albert zhang stutters into what its supposed to be ... should be seamless"): going to work the
   soft focus clears well inside the flight (it ran 1s, longer than the flight, so the base name took over still slightly blurred and dim, then snapped sharp) */
html:not(.on-hi) .hi-name{transition:filter .45s cubic-bezier(.2,.6,.2,1)}
html.hi-hold #hi{display:block;pointer-events:none}html.hi-hold #hi::after{opacity:0}html.hi-hold #hi>:not(.hi-name){visibility:hidden}   /* v56b: only the name stays for its cross-fade onto the base name */
/* v60c (his 11-22: "spotlight 50% less bright on the selfie"): selfie light at half strength (gradient alphas halved, dithered rings dimmed before their screen blend; a group opacity would isolate the blends) */
.hi-me .gl59{background:radial-gradient(closest-side,rgb(255 246 232/.45),rgb(255 246 232/.2) 50%,rgb(255 246 232/0))}
.hi-me .bl59{background:radial-gradient(closest-side,rgb(255 248 238/.48),rgb(255 248 238/.15) 45%,rgb(255 248 238/0))}
.hi-me .dt59{filter:brightness(.5)}
/* v62d: the photo's edge ring under the settling cells (hi.js frame); only during a swap */
.hi-ring{display:none;position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:var(--rw,12px);box-sizing:border-box;background:center/cover no-repeat;opacity:0;
  -webkit-mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.hi-ring.ph{image-rendering:pixelated}
html.hi-sw .hi-ring{display:block}
/* v62d (his 11-22: "the scroll bar appearing shouldnt offset and mess up any of the wrapping in the body. in /hi"): the scroll gutter is always kept
   (an empty, invisible track until there is something to scroll), so opening a question never narrows the column; during a swap (column not
   scrolling) the same width is held as padding (--sbw, measured in hi.js), so the bio wraps identically in flight and at rest */
#hi{overflow-y:scroll;scrollbar-gutter:stable}
@media (min-width:1060px) and (min-height:620px){#hi{overflow:hidden}.hi-rt{overflow-y:scroll;scrollbar-gutter:stable}}
.hi-ts{display:none}.hi-ts.on{display:flex;justify-content:flex-end;margin-top:10px}
