/* index page styles — generated from the page's original style blocks, same order (order matters for the cascade) */
/* ── pl-css ── */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.25s}
html,body{background:#ffffff}
#pl{position:fixed;inset:0;z-index:100;display:grid;place-items:center;transition:opacity .45s ease,visibility .45s}
#pl.done{opacity:0;visibility:hidden}
#pl.leave{opacity:1;visibility:visible;transition:opacity .25s ease}
#pl .in{display:flex;flex-direction:column;align-items:center}
#pl .nm{opacity:0;transition:opacity .35s ease}
#pl .nm.ok{opacity:1}
#pl .bar{overflow:hidden}
#pl .bar i{display:block;height:100%;width:40%;animation:plb 1s cubic-bezier(.6,0,.4,1) infinite}
@keyframes plb{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}
@keyframes plf{to{opacity:1}}
@media(prefers-reduced-motion:reduce) {
  #pl .bar i{animation:none;width:100%}
}
#at{white-space:pre-line}
.foot .credit{display:inline-flex;flex-wrap:wrap;align-items:center;gap:0 10px}
.foot .credit i{font-style:normal;color:var(--dim)}
/* ── inline ── */
:root{--bg:#ffffff;--bg2:#f4f4f2;--ink:#0a0802;--mute:#6e6c66;--dim:#82807a;--line:#e3e2dc;--acc:#9609B5;--sans:"Instrument Sans","Pretendard",system-ui,sans-serif;--serif:"p22-mackinac-pro",Georgia,serif;--mono:"Google Sans Code",ui-monospace,monospace}
*{box-sizing:border-box;margin:0;padding:0}
@media(prefers-reduced-motion:no-preference) {
  html{scroll-behavior:smooth}
}
body{color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--ink);text-decoration:none}
a:hover{color:#fff}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
a:focus-visible,button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.wrap{margin:0 auto;padding:0 32px}
/* rail */
.rail{z-index:30;display:flex}
.rail a,.rail button{position:relative;place-items:center}
.rail a:hover,.rail button:hover,.rail a.on{background:rgba(0,0,0,.08);color:#fff}
.rail .ind{position:absolute;left:10px;top:0;width:44px;height:44px;border-radius:14px;background:rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.08);transition:transform .45s cubic-bezier(.3,1.3,.5,1),opacity .2s;pointer-events:none;opacity:0}
.rail a,.rail button{z-index:1}
.rail svg{width:20px;height:20px}
.rail hr{border:0}
.rail [data-tip]::after{content:attr(data-tip);position:absolute;white-space:nowrap;font-family:var(--sans);font-size:13px;padding:6px 10px;border-radius:8px;background:rgba(32,32,36,.9);border:1px solid rgba(0,0,0,.1);color:#fff;opacity:0;pointer-events:none;transition:all .15s}
.rail [data-tip]:hover::after{opacity:1}
/* hero */
.hero{border-bottom:1px solid var(--line)}
.hero .wrap{width:100%;display:flex;flex-direction:column}
.hh{font-weight:400;line-height:1.18;letter-spacing:-.025em;max-width:900px;text-wrap:balance;text-wrap:pretty}
.hh .role{color:var(--mute)}
.hh .h1gap{display:block}
.hh .pfp{margin-right:.5em;border-radius:50%;background:#020000 url(/assets/profile.webp) 56% 40%/125% auto no-repeat;box-shadow:0 0 0 2px var(--bg),0 0 0 3px #d6d4ce}
.hh .nm{font-family:"p22-mackinac-pro",Georgia,serif;font-weight:400;letter-spacing:-.01em}
.ask{display:flex;flex-direction:column;gap:14px;margin-top:80px;width:100%;max-width:900px;text-align:left}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;width:100%}
.chips .chip{flex:none;padding:8px 12px;font-size:13.5px}
.chips .chip{max-width:100%;white-space:normal;text-align:center}
.chip{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:999px;font-size:14px;transition:border-color .15s,color .15s}
.chip:hover{border-color:#c9c7c1}
.chip svg{width:12px;height:12px}
.answer{display:none;margin-bottom:12px;padding:18px 20px;border-radius:14px;font-size:15px;line-height:1.6;color:#24221c}
.answer.show{display:block;animation:up .3s ease}
.answer a{color:var(--ink);border-bottom:1px solid #b8b6b0}
.answer a:hover{border-color:var(--ink)}
.answer{position:relative}
.ax{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--mute);transition:background .15s,color .15s}
.ax:hover{background:#e3e2dc;color:var(--ink)}
.answer .q{padding-right:32px;font-family:var(--mono);font-size:12px;color:var(--mute);margin-bottom:8px}
@keyframes up{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* works */
.works{padding:40px 0 120px}
.whead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.filters{display:flex;flex-wrap:wrap;gap:8px}
.filters button{display:inline-flex;align-items:center;gap:8px;padding:9px 10px 9px 18px;border-radius:999px;background:#ebeae6;color:#2f2d27;font-size:16px;transition:background .2s,color .2s}
.filters button:hover{background:#dfded8}
.filters button em{font-style:normal;font-size:12px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d6d4ce;display:grid;place-items:center}
.filters button.on{background:var(--ink);color:var(--bg)}
.filters button.on em{background:var(--bg);color:var(--ink)}
.bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense}
.item{display:flex;flex-direction:column;padding:10px;border-radius:26px;background:#f3f2f0;border:1px solid #e4e3de;transition:border-color .2s}
a.item:hover{border-color:#d0cec8}
.item.hide{display:none}
.thumb{position:relative;height:clamp(260px,26vw,400px);border-radius:18px;overflow:hidden;background:#eae9e5}
.thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
a.item:hover .thumb img{transform:scale(1.03)}
.thumb image-slot{position:absolute;inset:0}
.thumb img.fit{object-fit:contain;padding:20px 24px;background:#fff}
.body{padding:22px 14px 16px}
.row{display:flex;flex-direction:column-reverse;align-items:flex-start}
.row h3{font-family:"p22-mackinac-pro",Georgia,serif;font-size:clamp(24px,2.2vw,30px);line-height:1.15;color:var(--ink)}
.tag{flex:none;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:5px 9px;border-radius:6px;background:#e3e1dc;color:#56544e}
.tl{display:flex;flex-wrap:wrap;margin-top:16px;font-family:var(--mono);font-size:13px;letter-spacing:.01em;color:#52504a}
.tl span+span::before{margin-right:8px}
.body p{margin-top:10px;font-size:15px;line-height:1.5;color:var(--mute);text-wrap:pretty;max-width:none}
.c4{grid-column:span 4}
.c5{grid-column:span 5}
.c6{grid-column:span 6}
.c7{grid-column:span 7}
/* experiment */
.exp{padding:0 0 120px}
.exhead{margin-bottom:28px}
.exhead h2{font-weight:400;font-size:clamp(24px,2.2vw,32px);letter-spacing:-.025em;color:var(--mute)}
.mosaic{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:18px}
.tile{position:relative;border-radius:24px;overflow:hidden;background:var(--bg2);border:1px solid rgba(0,0,0,.06);height:clamp(240px,24vw,440px)}
.tile image-slot{position:absolute;inset:0;transition:filter .45s ease,transform .6s ease}
.tile:hover image-slot{filter:blur(14px) brightness(.55);transform:scale(1.04)}
.hov{position:absolute;inset:0;z-index:2;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;opacity:0;transition:opacity .35s ease}
.tile:hover .hov{opacity:1}
.hov b{font-family:"p22-mackinac-pro",Georgia,serif;font-weight:400;font-size:clamp(24px,2.4vw,36px);letter-spacing:-.01em;color:#fff;transform:translateY(6px);transition:transform .4s ease}
.tile:hover .hov b{transform:none}
.hov span{position:absolute;left:24px;right:24px;bottom:22px;font-size:15px;color:rgba(0,0,0,.88)}
.e7{grid-column:span 7}
.e8{grid-column:span 8}
.e10{grid-column:span 10}
.e14{grid-column:span 14}
@media(max-width:800px) {
  .e7,.e8,.e10,.e14{grid-column:span 24}
  .tile{height:clamp(200px,50vw,340px)}
}
/* interactions */
#at.typing::after{content:"";display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-.15em;background:var(--acc);animation:blink .8s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.bento .item{transition:opacity .25s ease,transform .25s ease}
.bento .item.out{opacity:0;transform:scale(.97)}
.bento .item.pop{animation:pop .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes pop{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.js .rv{opacity:0;transform:translateY(24px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.js .rv.in{opacity:1;transform:none}
.hh .pfp{position:relative;cursor:pointer;transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.hh .pfp:hover{animation:wave .6s ease;transform:scale(1.12)}
@keyframes wave{0%,100%{rotate:0deg}25%{rotate:-10deg}50%{rotate:8deg}75%{rotate:-4deg}}
.hh .pfp .bub{position:absolute;left:50%;bottom:calc(100% + 12px);transform:translate(-50%,6px) scale(.9);white-space:nowrap;font-family:var(--mono);font-size:12.5px;letter-spacing:0;line-height:1;padding:9px 13px;border-radius:12px;background:var(--ink);color:var(--bg);opacity:0;pointer-events:none;transition:opacity .2s,transform .25s cubic-bezier(.3,1.5,.5,1)}
.hh .pfp::before{content:"";position:absolute;inset:-3px;border-radius:50%;border:1.5px solid var(--acc);opacity:0;animation:ring 2.4s ease-out infinite;pointer-events:none}
@keyframes ring{0%{transform:scale(1);opacity:.7}70%,100%{transform:scale(1.35);opacity:0}}
.hh .pfp.nudge{animation:nudge 4s ease-in-out infinite}
@keyframes nudge{0%,82%,100%{rotate:0deg}86%{rotate:-9deg}90%{rotate:7deg}94%{rotate:-3deg}}
.hh .pfp.seen::before{animation:none;opacity:0}
.hh .pfp:hover::before{animation:none;opacity:0}
.hh .pfp:hover .bub{opacity:1;transform:translate(-50%,0) scale(1)}
.hh .pfp .bub::after{content:"";position:absolute;left:50%;top:100%;margin-left:-6px;border:6px solid transparent;border-top-color:var(--ink);border-bottom:0}
@media(prefers-reduced-motion:reduce) {
  .hh .pfp::before,.hh .pfp.nudge{animation:none}
  .js .rv{opacity:1;transform:none;transition:none}
  .hh .pfp:hover{animation:none}
}
/* contact */
.contact{border-top:1px solid var(--line);padding:32px 0 36px}
.contact h2{font-weight:400;font-size:clamp(24px,2.4vw,34px);letter-spacing:-.025em;line-height:1.15}
.contact h2 em{font-family:var(--serif)}
.contact .mail{display:inline-block;margin-top:16px;font-size:16px;color:var(--mute);border-bottom:1px solid var(--line);padding-bottom:4px}
.contact .mail:hover{color:var(--ink);border-color:var(--ink)}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:0;font-size:13px;font-family:var(--mono)}
.foot nav{display:flex;gap:24px}
@media(max-width:1000px) {
  .c7,.c6,.c5{grid-column:span 12}
  .c4{grid-column:span 6}
}
@media(max-width:640px) {
  .bento>.item{grid-column:span 12;grid-row:span 1}
  .links a.hide-sm{display:none}
}
.tl{gap:6px}
.tl span{padding:5px 11px;border:1px solid #d6d4ce;border-radius:999px;background:rgba(0,0,0,.03);font-size:12px;line-height:1.4}
.tl span+span::before{content:none}
.bento{align-items:stretch}
.bento .body{flex:1}
.hh .pfp.seen{animation:none}
.hh .pfp{display:inline-block;width:1.05em;height:1.05em;margin:0 .5em 0 0}
.hh .pfp{vertical-align:middle!important;margin-top:-.12em}
.hh .nm{vertical-align:middle;line-height:1}
.hh .h1gap{height:.5em!important}
.row .pre{order:2;font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.row{gap:10px!important}
.row h3{letter-spacing:.01em!important}
.row h3{font-weight:400!important}
/* ── s-02a68f53.css ── */
.bento .item[data-draft]{display:none!important}
/* ── s-0d65e7bc.css ── */
/* Main navigation: glass dock at the bottom center on every page */
.rail{transition:transform .4s cubic-bezier(.2,.7,.2,1),opacity .3s}
.rail hr{width:1px;height:22px;border-top:0;border-left:1px solid rgba(0,0,0,.1);margin:0 4px}
.rail [data-tip]::after{display:block;left:50%;top:auto;bottom:calc(100% + 14px);transform:translate(-50%,4px)}
.rail [data-tip]:hover::after{transform:translate(-50%,0)}
.contact{padding-bottom:36px}
@media(max-width:640px) {
  .rail [data-tip]::after{display:none}
}
@media(min-width:641px) {
  .wrap{padding-left:32px}
}
/* ── soon-card ── */
.item.soon .thumb::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.5);pointer-events:none}
/* ── hero-headline ── */
/* ── hero-bg ── */
.hero .hero-bg{margin-top:20px;font-family:var(--mono);font-size:13px;line-height:1.5;letter-spacing:.01em;color:var(--mute);text-wrap:balance}
.hero .hero-bg+.ask{margin-top:44px}
@media(max-width:640px) {
  .hero .hero-bg{margin-top:14px;font-size:12px}
  .hero .hero-bg+.ask{margin-top:56px}
}
/* ── exp-video ── */
.tile .media-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:filter .45s ease,transform .6s ease}
.tile:hover .media-vid,a.tile:focus-visible .media-vid{filter:blur(14px) brightness(.55);transform:scale(1.04)}
a.tile:focus-visible .hov{opacity:1}
a.tile:focus-visible{outline:2px solid #0a0802;outline-offset:3px}
/* small title at rest; fades out when the hover title shows */
.tile .cap{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:40px 20px 16px;background:linear-gradient(transparent,rgba(0,0,0,.6));font-size:14px;font-weight:500;line-height:1.3;color:#fff;pointer-events:none;transition:opacity .3s ease}
.tile:hover .cap,a.tile:focus-visible .cap{opacity:0}
.tile iframe.media-vid{border:0;pointer-events:none}
@media(max-width:800px) {
  .mosaic{grid-template-columns:minmax(0,1fr);gap:14px}
  .mosaic>.tile{grid-column:auto}
}
/* ── gem-term ── */
/* Live terminal for Mysterious Gem Cave: text sized to the box via container units */
.gemterm{position:absolute;inset:0;container-type:inline-size;display:flex;align-items:center;justify-content:center;background:#212734;overflow:hidden}
.gemterm pre{margin:0;font-family:"Google Sans Code",ui-monospace,Menlo,monospace;font-size:1.62cqw;line-height:1.28;white-space:pre;letter-spacing:0}
.gemterm .gt-cur{display:inline-block;width:.62em;height:1.1em;margin-left:1px;vertical-align:-.2em;border:1px solid currentColor;box-sizing:border-box;animation:gtBlink 1.05s steps(1) infinite}
.gemterm.done .gt-cur{background:currentColor}
@keyframes gtBlink{50%{opacity:0}}
.hero .gemterm{position:relative;height:100%;cursor:pointer}
.hero .gemterm:focus-visible{outline:2px solid #0a0802;outline-offset:-4px}
.tile .gemterm{display:flex}
.tile .gemterm pre{font-size:1.86cqw;transform:translateY(2cqw)}
@media(max-width:640px) {
  .tile .gemterm pre{font-size:1.6cqw;transform:none}
}
@media(prefers-reduced-motion:reduce) {
  .gemterm .gt-cur{animation:none}
}
/* ── s-c46f172d.css ── */
@media(max-width:640px) {
  .wrap{padding-left:16px!important;padding-right:16px!important}
}
/* ── hero-flip ── */
/* Headline lines change like a split-flap clock: top half folds down, next line unfolds below */
.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}
.hero .flip{position:relative;display:inline-grid;perspective:900px;white-space:nowrap;text-align:left}
.hero .flip>span{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden}
/* flip-clock card behind the flipping line */
.hero .flip{margin:.08em 0 .18em .04em;border-radius:.26em;box-shadow:0 .14em .4em rgba(0,0,0,.45),inset 0 0 0 1px rgba(0,0,0,.07)}
.hero .flip em{font-family:inherit;font-style:normal;font-weight:inherit;font-size:1em;letter-spacing:inherit;padding-right:0}
.hero .flip{--n:radial-gradient(circle at 0 50%,transparent .1em,#000 calc(.1em + .5px)),radial-gradient(circle at 100% 50%,transparent .1em,#000 calc(.1em + .5px));-webkit-mask:var(--n);-webkit-mask-composite:source-in;mask:var(--n);mask-composite:intersect}
.hero .flip>span{border-radius:.26em}
.hero .flip .f-top{clip-path:inset(0 -2% 50% -2%)}
.hero .flip .f-bot{clip-path:inset(50% -2% 0 -2%)}
.hero .flip .f-flap-top{clip-path:inset(0 -2% 50% -2%);transform-origin:50% 50%;animation:fTop .32s cubic-bezier(.55,0,.9,.4) forwards}
.hero .flip .f-flap-bot{clip-path:inset(50% -2% 0 -2%);transform-origin:50% 50%;transform:rotateX(90deg);animation:fBot .34s cubic-bezier(.1,.6,.45,1) .3s forwards}
@keyframes fTop{to{transform:rotateX(-90deg);filter:brightness(.6)}}
@keyframes fBot{from{transform:rotateX(90deg);filter:brightness(.6)}to{transform:rotateX(0)}}
.hero .hero-bg>span{grid-area:1/1;transition:opacity .4s ease}
@media(max-width:640px) {
  .hero .flip,.hero .f-lead,.hero .f-static{font-size:20px}
}
@media(prefers-reduced-motion:reduce) {
  .hero .flip{transition:none}
  .hero .flip .f-flap-top,.hero .flip .f-flap-bot{animation:none}
}
/* ── s-d526a75a.css ── */
.hero-vid{width:100%;height:100%;object-fit:cover;display:block;background:#f4f4f2}
/* ── creative-tech-cards ── */
.bento .tl{align-content:flex-start;align-items:flex-start}
.bento .item[data-cat="earlier"] .thumb{height:clamp(260px,26vw,400px);aspect-ratio:auto}
/* Creative Tech tab shows the original mosaic; All shows the same work as regular cards */
.works .mosaic[hidden]{display:none}
.works .mosaic.pop{animation:up .45s cubic-bezier(.2,.7,.2,1)}
/* Creative Tech cards reuse the work card; interactive thumbs fill the frame */
.thumb iframe.hero-vid{position:absolute;inset:0;border:0;pointer-events:none}
.thumb .gemterm{position:absolute;inset:0}
/* ── hero-slim ── */
/* Slimmer hero: role label above the name, chips only, tighter gap to the work */
.hero .hero-bg.hb-top{margin:0 0 14px}
.hero .hh+.ask{margin-top:40px}
.hero{padding:72px 0 44px!important}
.works{padding-top:24px}
@media(max-width:760px) {
  .hero .hero-bg.hb-top{margin:0 0 10px}
  .hero .hh+.ask{margin-top:36px}
}
/* ── hero-clarify ── */
/* ── chips-k ── */
.chips{align-items:center}
.chips .chips-sep{width:1px;height:18px;background:var(--line);margin:0 6px}
@media(max-width:760px) {
  .chips .chips-sep{display:none}
}
/* ── tabs-sm ── */
.works .filters{gap:6px}
.works .filters button{font-size:15px;gap:7px;padding:7px 8px 7px 15px}
.works .filters button em{font-size:12px;min-width:21px;height:21px;padding:0 5px}
.hero{padding-bottom:72px!important}
.hh{font-size:clamp(24px,2.6vw,36px)}
.hh .nm{font-size:40px}
.hero .chips .chip{font-size:15px;padding:9px 14px}
.bento .body p{font-size:16px}
.bento .tl{font-size:14px}
/* ── hero-lab ── */
.hero .wrap{align-items:flex-start!important;text-align:left!important}
.hero .hero-bg{display:block!important;justify-items:start!important;text-align:left!important}
.hero .hh{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;text-align:left!important}
.hero .hh br{display:none}
.hero .hh .nm{order:1;font-size:clamp(44px,6.25vw,80px)!important;line-height:1!important;letter-spacing:-.03em!important;font-weight:400!important;color:#9609B5!important}
.hero .hh .nm::before{content:none}
.hero .hh .pfp{display:none!important}
.hero .hh .h1gap{order:3;flex:0 0 100%;height:clamp(28px,3.4vw,48px)!important}
.hero .hh .f-lead,.hero .hh .flip,.hero .hh .f-static{font-family:var(--mono)!important;font-size:16px!important;line-height:1.7!important;letter-spacing:0!important;color:#34322C}
.hero .hh .f-lead{order:4;margin-right:.55ch}
.hero .hh .flip{order:5;margin:0!important;box-shadow:none!important;background:none!important;-webkit-mask:none!important;mask:none!important}
.hero .flip>span{background:none!important;padding:0!important}
.hero .hh .f-static{order:6;flex:0 0 100%;margin-top:0}
.hero .ask{align-items:flex-start}
.hero .chips{justify-content:flex-start!important}
.hero .chips .chips-sep{display:none}
.wrap{max-width:1164px!important}
.hero .ask{max-width:none!important}
.hero .ask>div{width:100%}
.rail,.rail.away{position:fixed!important;top:16px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;opacity:1!important;pointer-events:auto!important;flex-direction:row!important;align-items:center!important;gap:4px!important;padding:6px!important;border-radius:999px!important;background:linear-gradient(135deg,rgba(255,255,255,.62),rgba(255,255,255,.22))!important;-webkit-backdrop-filter:blur(18px) saturate(1.9)!important;backdrop-filter:blur(18px) saturate(1.9)!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(255,255,255,.45),0 10px 30px rgba(90,30,120,.12)!important}
.rail a,.rail button{width:auto!important;height:auto!important;display:inline-flex!important;align-items:center!important;padding:9px 16px!important;border-radius:999px!important;background:none!important;font-family:var(--sans)!important;font-size:14px!important;line-height:1!important;color:rgb(96,90,84)!important;transition:color .2s,background .2s!important}
.rail a:hover{color:#34322C!important;background:rgba(255,255,255,.45)!important}
.rail a.on{color:#34322C!important;font-weight:500!important;background:rgba(255,255,255,.82)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,1),0 2px 8px rgba(90,30,120,.10)!important}
.rail svg,.rail .ind,.rail hr{display:none!important}
.rail a::before{content:attr(data-tip)!important}
.rail a::after{display:none!important}
.page:has(.back){padding-top:120px!important}
#work{scroll-margin-top:56px}
.wtitle{font-family:"p22-mackinac-pro",Georgia,serif!important;font-size:28px!important;font-weight:400!important;letter-spacing:-.01em!important;color:rgb(96,90,84)!important}
section.hero{padding-top:164px!important}
@media(max-width:900px) {
  section.hero{padding-top:104px!important}
}
.hero .hh{max-width:none!important}
.bento{gap:16px!important}
.bento .item.c6{grid-column:span 12!important}
.bento .item.c6:not(.hide){display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:8px 24px;align-items:center;padding:10px!important}
.bento .item .thumb{height:auto!important;aspect-ratio:1.72/1!important}
.bento .item .body{padding:8px 18px 8px 4px!important}
:root{--bg:#F4F0E8!important}
html{background:#F4F0E8!important}
body{background:transparent!important}
html::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(640px 420px at 88% 8%,rgba(150,9,181,.10),transparent 70%),radial-gradient(720px 520px at 6% 38%,rgba(255,170,140,.16),transparent 70%),radial-gradient(820px 560px at 78% 72%,rgba(150,100,255,.10),transparent 70%),radial-gradient(560px 420px at 20% 92%,rgba(190,110,220,.10),transparent 70%)}
.chip,.hero .chips .chip,.chips .chip,.works .filters button:not(.on){background:rgba(255,255,255,.28)!important;-webkit-backdrop-filter:blur(14px) saturate(1.7);backdrop-filter:blur(14px) saturate(1.7);border:1px solid rgba(255,255,255,.85)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 8px 24px rgba(90,30,120,.10)}
.works .filters button.on,.works .filters button[aria-pressed="true"]{background:#fff!important;color:#34322C!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:0 1px 2px rgba(60,40,20,.14),0 8px 22px rgba(60,40,20,.10)}
.works .filters button.on em,.works .filters button[aria-pressed="true"] em{background:rgba(60,40,20,.09)!important;color:#34322C!important}
.bento .item[href="/mas9-class-management"] .thumb{background:#E7E0E4!important}
.chip:hover,.hero .chips .chip:hover,.works .filters button:not(.on):hover{background:rgba(255,255,255,.5)!important}
.bento .item,.answer{background:rgba(255,255,255,.40)!important;-webkit-backdrop-filter:blur(22px) saturate(1.7);backdrop-filter:blur(22px) saturate(1.7);border:1px solid rgba(255,255,255,.85)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 14px 40px rgba(90,30,120,.09)}
.chip:hover,.hero .chips .chip:hover{color:#4a4650!important}
.bento .tl span{background:rgba(255,255,255,.5)!important;border:1px solid rgba(255,255,255,.8)!important}
/* ── inline ── */
.hero .hh .typ{order:5;display:inline-flex;align-items:center;min-width:27ch;font-family:var(--mono)!important;font-size:16px!important;line-height:1.7;letter-spacing:0;color:#34322C;white-space:pre}
.hero .hh .typ .cr{display:inline-block;width:2px;height:1.15em;margin-left:2px;background:currentColor;animation:caretb 1s steps(1) infinite}
@keyframes caretb{50%{opacity:0}}
/* ── s-850cb33e.css ── */
.hero{position:relative!important;overflow:hidden}
#sg-hero{position:absolute;inset:0;z-index:0;pointer-events:none;-webkit-mask-image:linear-gradient(#000 62%,transparent 100%);mask-image:linear-gradient(#000 62%,transparent 100%)}
.hero>.wrap{position:relative;z-index:1}
.sg-band{position:absolute;top:0;left:0;right:0;z-index:0;pointer-events:none;overflow:hidden}
.sg-band #sg-hero{-webkit-mask-image:linear-gradient(#000 55%,transparent 100%)!important;mask-image:linear-gradient(#000 55%,transparent 100%)!important}
body:has(.sg-band){position:relative}
body:has(.sg-band) main{position:relative;z-index:1}
/* ── pl-sample ── */
#pl .in{gap:18px}
#pl .nm{font-family:"p22-mackinac-pro",Georgia,serif!important;font-weight:500;color:#9609B5!important}
#pl .bar{width:120px;height:1px;background:rgba(150,9,181,.14)}
#pl .bar i{background:#9609B5}
/* sitewide (all pages): readable greys on cream, terminal keeps light text on its dark card */
:root{--mute:#6a635a!important;--dim:#7d766c!important}
.foot,.foot a,.credit{color:#6a635a!important}
.gemterm,.gemterm pre{color:#e4e6eb!important}
/* sitewide ink: one dark text colour */
:root{--ink:#34322C!important}
/* two text tones sitewide: ink #34322C, body grey #6E685F */
.chip,.chips .chip,.works .filters button,.works .filters button em,.meta dd,dl.meta dd,.it-tag,.k,.oc .k,.to,.lnk,a.lnk,.tx a span{color:#34322C!important}
.tl span,.bento .tl span,.hov span:not(.hov b){color:#6E685F!important}
.tx p,.oc p,.about p:not(.lead){color:#6E685F!important}
.card span,#p2-12 .grid3 .card.pick span{color:#6E685F!important}
.tldr dd,.prose p,.job li,.page li,.txt p,.ia li span,.ia li>span{color:#6E685F!important}
.tldr dd b,.tldr dd a.jump{color:#34322C!important}
#p2-12 .grid3 .card.pick span{color:#6E685F!important}
.oc .to,.tx a span,a span{color:inherit}
.oc .to{color:#34322C!important}
.skills span{color:#34322C!important}
/* loader matches the home page background: cream with the same faint glows */
/* light surfaces that the dark→light conversion turned black: restore them */
.smap{padding:0!important;border:0!important;background:none!important}
.polaroid{background:#f6f4ef!important}
.portrait{background:#f9f7f3!important}
.fvr-sys .fvr-n{background:#fbfbfc!important}
.bp-class{border-color:#c9c9ce!important}
/* Sitemap: transparent image inside the same glass card as other detail-page cards */
figure.fig:has(>img.smap){background:rgba(255,255,255,.40)!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 14px 40px rgba(90,30,120,.09)!important;border-radius:20px!important;padding:28px!important;-webkit-backdrop-filter:blur(18px) saturate(1.6)!important;backdrop-filter:blur(18px) saturate(1.6)!important}
.smap{filter:none!important;box-shadow:none!important;border-radius:0!important}
/* Moss iframe declares a dark scheme; matching it on the iframe element keeps its canvas transparent on the light page */
iframe.moss-roof{color-scheme:dark!important;background:transparent!important}
/* About: same glass cards as the detail pages */
.story,.ow{background:rgba(255,255,255,.54)!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 14px 40px rgba(90,30,120,.09)!important;-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6)}
article.oc,.pl a{background:rgba(255,255,255,.60)!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 30px rgba(90,30,120,.07)!important}
.oc .im,.plimg{background:rgba(255,255,255,.30)!important}
/* About: text that sits on a photo or video stays white (light theme rules must not turn it dark) */
.oc-seoul .k,.oc-seoul .big,.oc-seoul .to,.oc-forest .ov,.oc-forest .ov .k,.oc-forest .ov p,.oc-forest .ov a,.oc-forest .mlink{color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.45)}
.oc-seoul .to{opacity:.9}
.oc-forest .ov{background:linear-gradient(transparent,rgba(0,0,0,.72))!important}
.oc-forest .mlink{border-bottom-color:rgba(255,255,255,.7)!important}
.drag-hint{display:none!important}
.story .txt h2{color:#9609B5!important}
/* About playlists: hover keeps dark text on a brighter glass pill */
.pl a,.pl a span,.pl a svg{color:#34322C!important}
.pl a:hover,.pl a:focus-visible{background:rgba(255,255,255,.75)!important;color:#121212!important}
.pl a:hover span,.pl a:hover svg,.pl a:focus-visible span{color:#121212!important}
.story .txt h2{font-family:"p22-mackinac-pro",Georgia,serif!important;font-weight:400!important;letter-spacing:-.02em!important;font-size:46px!important;line-height:1.1!important}
/* loader: "Connecting the dots" with animated dots instead of the bar */
#pl .nm{font-size:20px!important;letter-spacing:-.005em!important}
#pl .nm::before{content:none!important}
#pl .bar{display:none!important}
#pl .ld-dots{display:inline-flex;gap:5px;margin-left:6px;vertical-align:baseline}
#pl .ld-dots i{width:4px;height:4px;border-radius:50%;background:#9609B5;opacity:.25;animation:ldDot 1.2s ease-in-out infinite}
#pl .ld-dots i:nth-child(2){animation-delay:.2s}
#pl .ld-dots i:nth-child(3){animation-delay:.4s}
@keyframes ldDot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce) {
  #pl .ld-dots i{animation:none;opacity:.7}
}
/* home hero: small favicon next to "Hi, I'm June" */
.hero .hh .nm::after{content:"";display:inline-block;width:.4em;height:.4em;margin-left:.14em;vertical-align:.08em;background:url(/assets/jn-fav.webp) center/contain no-repeat;animation:favPop .7s cubic-bezier(.2,1.4,.4,1) .5s both}
@keyframes favPop{from{transform:scale(.4) rotate(-20deg);opacity:0}to{transform:none;opacity:1}}
/* About: leaf after the title → favicon (same proportion as the home hero) */
.story .txt h2::after{background:url(/assets/jn-fav.webp) center/contain no-repeat!important;image-rendering:auto!important;width:.4em!important;height:.4em!important;right:-.55em!important;bottom:.32em!important;transform-origin:50% 50%!important;animation:none!important;transform:none!important}
/* loader background = home hero (peach top → blush → light → lavender, with grain) */
#pl{overflow:hidden}
#pl::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.22;mix-blend-mode:multiply;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .85 0 0 0 0 .55 0 0 0 0 .7 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
/* About: "Outside of work" heading in Mackinac */
.owhead h2{font-family:"p22-mackinac-pro",Georgia,serif!important;font-weight:400!important;letter-spacing:-.02em!important}
.oc-seoul .big{font-family:"p22-mackinac-pro",Georgia,serif!important;font-weight:400!important}
/* text selection: brand purple */
html:has(#filters) ::selection{background:#9609B5;color:#fff}
/* ── mobile ── */
/* ===== Mobile fixes ===== */
/* Student App: V1 screenshots collapsed to 26px under 760px (auto margins + absolutely positioned image) */
@media(max-width:760px) {
  .sq3 .v1shot{width:100%!important;max-width:280px!important;align-self:center}
}
/* Self Check-in gif: larger on phones */
@media(max-width:760px) {
  .ckgif img{width:min(240px,78%)!important}
}
/* Contents button: light glass instead of dark */
.tocbtn{border:1px solid rgba(255,255,255,.95)!important;color:#34322C!important;box-shadow:inset 0 1px 0 #fff,0 8px 24px rgba(90,30,120,.12)!important}
.tocbtn:hover,.tocbtn[aria-expanded="true"]{background:rgba(255,255,255,.9)!important}
/* Hide the top nav while scrolling down, show it on scroll up */
.rail{transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .25s ease!important}
.rail.nav-hide,.rail.away.nav-hide{transform:translate(-50%,-160%)!important;opacity:0!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce) {
  .rail{transition:opacity .2s ease!important}
  .rail.nav-hide,.rail.away.nav-hide{transform:translateX(-50%)!important}
}
/* Mobile navigation: hamburger + glass dropdown */
.nav-burger{display:none}
@media(max-width:700px) {
  .rail,.rail.away,.rail.nav-hide{position:fixed!important;top:64px!important;right:12px!important;left:auto!important;bottom:auto!important;transform:translateY(-8px)!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;padding:6px!important;min-width:170px;border-radius:18px!important;opacity:0!important;pointer-events:none!important;transition:opacity .2s,transform .2s!important}
  html.nav-open .rail{opacity:1!important;pointer-events:auto!important;transform:none!important}
  .rail a{justify-content:flex-start!important;padding:12px 16px!important;font-size:15px!important;border-radius:12px!important}
  .nav-burger{display:grid;place-items:center;position:fixed;top:14px;right:12px;z-index:60;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.95);-webkit-backdrop-filter:blur(16px) saturate(1.8);backdrop-filter:blur(16px) saturate(1.8);box-shadow:inset 0 1px 0 #fff,0 8px 24px rgba(90,30,120,.14);color:#34322C;cursor:pointer;transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .25s}
  .nav-burger i{position:absolute;left:13px;right:13px;height:1.6px;border-radius:2px;background:currentColor;transition:transform .25s,opacity .2s}
  .nav-burger i:nth-child(1){transform:translateY(-6px)}
  .nav-burger i:nth-child(3){transform:translateY(6px)}
  html.nav-open .nav-burger i:nth-child(1){transform:rotate(45deg)}
  html.nav-open .nav-burger i:nth-child(2){opacity:0}
  html.nav-open .nav-burger i:nth-child(3){transform:rotate(-45deg)}
  .nav-burger.nav-hide{transform:translateY(-140%);opacity:0;pointer-events:none}
  .fback{display:none!important}
}
/* ===== Mobile type hierarchy =====
   L1 page title 32 · L2 section title 24 / sub-section 20 · L3 lead 17 · body 16 · small 14 · caption/meta 12 · tag 11 */
@media(max-width:640px) {
  /* home: stacked project cards */
  .bento .item{grid-template-columns:1fr!important;grid-template-rows:auto auto!important;padding:10px!important}
  .bento .item .thumb{width:100%!important;height:auto!important;aspect-ratio:16/10}
  .bento .item[data-cat="earlier"] .thumb{aspect-ratio:1.72/1}
  .bento .item .body{padding:16px 8px 8px!important}
  .bento .row{gap:8px!important}
  .bento .row .pre{font-size:11px!important}
  .bento .row h3{line-height:1.2!important;letter-spacing:-.01em!important}
  .bento .tl{margin-top:14px!important;flex-wrap:wrap}
  .bento .tl span{font-size:11.5px!important;padding:4px 10px!important}
  .wtitle{font-size:30px!important;line-height:1.1!important}
  .hero .hh .f-lead,.hero .hh .flip,.hero .hh .f-static{font-size:16px!important;line-height:1.75!important}
}
@media(max-width:760px) {
  /* detail pages */
  main h1{font-size:32px!important;line-height:1.15!important;letter-spacing:-.02em!important}
  main p.sub{font-size:17px!important;line-height:1.5!important}
  main .blk>p.lbl,main .blk p.lbl{font-size:12px!important;letter-spacing:.08em!important;line-height:1.4!important;margin-bottom:10px!important}
  main :where(.blk,.sb,.st) h3:not(.turn){font-size:23px!important;line-height:1.28!important;letter-spacing:-.01em!important}
  main :where(.blk,.sb,.st,.why-ai) p:not([class]):not(.voice p):not(.quote p):not(.tldr p),main p.ctx-p{font-size:16px!important;line-height:1.7!important}
  main blockquote.voice p{font-size:20px!important;line-height:1.3!important}
  main .tldr dd,main .tldr p:not(.tldr-h){font-size:15px!important;line-height:1.6!important}
  main figcaption{font-size:12px!important;line-height:1.5!important}
  main :where(.side-tag,.to-k,.oc-k,.hd-cap,.k){font-size:11px!important}
  /* about */
  .story .txt h2{font-size:40px!important}
  .story .txt p{font-size:16px!important;line-height:1.65!important}
}
@media(max-width:640px) {
  .hero .hh .nm{font-size:52px!important}
}
/* ===== Mobile diagrams ===== */
@media(max-width:640px) {
  /* Website sitemap: transparent image → give it a solid light ground and more width */
  figure.fig:has(>img.smap){padding:10px!important}
  figure.fig>img.smap{background:#FBFAF8!important;border-radius:10px!important;padding:6px!important}
  /* Student App IA: horizontal tree → vertical tree (no sideways scroll) */
  .ia .iat-in{min-width:0!important}
  .ia .iat-root{display:inline-block!important;margin-left:0!important}
  .ia .iat-root::after{display:none!important}
  .ia .iat-cols{display:block!important;margin:0 0 0 16px!important;padding:14px 0 0 18px!important;border-left:1px solid rgba(52,50,44,.22)}
  .ia .iat-cols::before,.ia .iat-col::after{display:none!important}
  .ia .iat-col{position:relative;width:auto!important;margin:0 0 14px!important}
  .ia .iat-col:last-child{margin-bottom:0!important}
  .ia .iat-col::before{content:""!important;position:absolute!important;left:-18px!important;top:19px!important;width:14px!important;height:0!important;border-left:0!important;border-top:1px solid rgba(52,50,44,.22)!important}
  .ia .iat-top{display:inline-flex!important;align-items:baseline;gap:8px;text-align:left!important;width:auto!important;min-width:0!important}
  .ia .iat-top em{display:inline!important;margin:0!important}
  .ia .iat-kids{margin-top:6px!important}
  .ia .iat-key::after{content:none!important}
}
@media(max-width:640px) {
  .ia .iat-root{margin-bottom:0!important}
  .ia .iat-in{padding-top:0!important;gap:0!important;display:block!important}
}
/* mobile: calmer background (glows cover a larger share of a small screen) */
@media(max-width:640px) {
  html::before{opacity:.7!important}
  #sg-hero{opacity:.82!important}
}
/* MAS9 "Why AI" + Outcome cards: label → subtitle → card title → card text */
@media(max-width:760px) {
  main .why-ai>p.k{font-size:20px!important;font-weight:500!important;line-height:1.3!important;letter-spacing:-.01em!important;color:#34322C!important;font-family:"Instrument Sans",sans-serif!important;text-transform:none!important;margin-bottom:8px!important}
  main :where(.why-ai,.outc) .grid3 .card{padding:18px 20px!important}
  main :where(.why-ai,.outc) .grid3 .card b{font-size:17px!important;font-weight:500!important;line-height:1.35!important;color:#34322C!important}
  main :where(.why-ai,.outc) .grid3 .card span{font-size:14.5px!important;line-height:1.5!important;margin-top:4px!important;color:#6E685F!important}
}
main .why-ai .grid3 .card b{font-size:17px!important;font-weight:500!important;line-height:1.35!important}
html body main .why-ai>p.k{color:#34322C!important}
@media(min-width:761px) {
  html body main .why-ai>p.k{font-size:22px!important;font-weight:500!important;line-height:1.3!important;letter-spacing:-.01em!important;text-transform:none!important;margin-bottom:10px!important}
}
html body main #p2-12.why-ai .grid3 .card span{color:#6E685F!important}
/* Whole Family / Buyer videos: feather the cream ground into the glass card */
.pair-c video[src*="-flow-lt"]{background:transparent!important;box-shadow:none!important;border:0!important;-webkit-mask-image:linear-gradient(to right,transparent,#000 14%,#000 86%,transparent),linear-gradient(transparent,#000 3%,#000 97%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 14%,#000 86%,transparent),linear-gradient(transparent,#000 3%,#000 97%,transparent);mask-composite:intersect}
/* MAS9 card consistency: number label 12px (desktop) · card title 17/500 ink · card text 16 (desktop) / 15 (mobile) #6E685F */
html body main .sb.solcard>p.k{font-size:12px!important}
@media(max-width:760px) {
  html body main .card>span,html body main #p2-12.why-ai .grid3 .card span,html body main :where(.why-ai,.outc) .grid3 .card span{font-size:15px!important;line-height:1.55!important}
  html body main .card>p.k,html body main .sb.solcard>p.k{font-size:11px!important}
  html body main p.steps-note{font-size:17px!important}
}
/* body copy colour: one grey everywhere on detail pages */
html body main :where(.blk,.sb,.st,.why-ai,.tradeoff)>p:not([class]){color:#6E685F!important}
/* ── s-b9afe828.css ── */
/* solid page colour on <body> so mobile Safari tints its status bar cream; glows move to body::before */
body{background-color:#F4F0E8!important;isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(640px 420px at 88% 8%,rgba(150,9,181,.10),transparent 70%),radial-gradient(720px 520px at 6% 38%,rgba(255,170,140,.16),transparent 70%),radial-gradient(820px 560px at 78% 72%,rgba(150,100,255,.10),transparent 70%),radial-gradient(560px 420px at 20% 92%,rgba(190,110,220,.10),transparent 70%)}
html::before{display:none!important}
@media(max-width:640px) {
  body::before{opacity:.7}
}
/* ── hero-veil ── */
/* soft cream glow behind the hero title to calm the gradient grain */
.hero .wrap{position:relative}
.hero .wrap::before{content:"";position:absolute;left:-40%;top:-100%;width:180%;height:300%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 23.1% 23.4% at 34.7% 43.3%,rgba(249,245,239,.94),rgba(249,245,239,.7) 45%,rgba(249,245,239,.3) 75%,rgba(249,245,239,0))}
/* ── hero-h1 ── */
.hero .hh h1.nm{margin:0}
/* ── s-ae002fb5.css ── */
/* Site type scale — H1 72/52 · H2 40/30 · H3 28/23 · Body 18/16 (desktop/mobile) */
.hero .hh h1.nm{font-size:clamp(52px,5.6vw,72px)!important}
@media(min-width:641px) {
  .whead .wtitle{line-height:1.1!important}
  .bento .row h3{font-size:28px!important;line-height:1.18!important}
}
@media(max-width:640px) {
  .whead .wtitle{font-size:30px!important}
  .bento .row h3{font-size:23px!important}
}
@media(min-width:761px) {
  .story .txt h1{font-size:72px!important;line-height:1.05!important}
  .owhead h2{font-size:40px!important}
  main h2.chap,main .chap h2,main h3.turn{font-size:40px!important;line-height:1.15!important}
  .rhead h1{font-size:72px!important}
  h2.sec{font-size:40px!important;line-height:1.1!important}
}
@media(max-width:760px) {
  .story .txt h1{font-size:52px!important;line-height:1.05!important}
  .owhead h2{font-size:30px!important}
  main h2.chap,main .chap h2,main h3.turn{font-size:30px!important;line-height:1.2!important}
  .rhead h1{font-size:52px!important}
  h2.sec{font-size:30px!important}
}
/* Performance: no live backdrop blur (cards sit on a soft, still ground); overlays get a slightly denser white instead */
*:not(.lb):not(.sp-modal):not(.np){-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.rail{background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(255,255,255,.64))!important}
.tocbtn,.nav-burger{background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,255,255,.8))!important}
.fback{background:rgba(255,255,255,.88)!important}
/* loader grain: one random noise canvas the size of the screen (no tiling, so no grid) */
#pl::before{display:none!important}
#pl .pl-noise{position:absolute;inset:0;width:100%;pointer-events:none;z-index:0;opacity:.6}
#pl .in{position:relative;z-index:1}
/* ── chip-icon-align ── */
/* icons sit on the lowercase optical centre, not the line box centre */
.chips .chip svg{position:relative;top:1px;flex-shrink:0}
/* ── chip-36 ── */
/* ask chips and Featured Works filters share one 36px height */
.chips .chip,#filters button{height:36px!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important}
@media(min-width:641px) {
  .whead .wtitle{font-size:36px!important}
}
/* ── safari-edges ── */
/* iOS Safari tints its toolbars from fixed layers that touch the screen edges: keep closed overlays out of the way and give the loader a solid cream */
#pl .pl-noise{-webkit-mask-image:linear-gradient(transparent,#000 4%,#000 97%,transparent);mask-image:linear-gradient(transparent,#000 4%,#000 97%,transparent);height:100%!important}
/* Safari does not draw fixed layers under its bottom toolbar: hide the page there while the loader is up */
@media (max-width:700px){html:has(#pl:not(.done)) body>:not(#pl):not(script):not(style),html:has(#pl.leave) body>:not(#pl):not(script):not(style){visibility:hidden!important}}
#pl{bottom:auto!important;height:100lvh!important;background:radial-gradient(70% 42% at 50% 46%,rgba(250,226,212,.85),rgba(250,226,212,0) 100%),#F4F0E8!important}
.lb:not(.open){visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s}
.lb.open{visibility:visible;transition:opacity .3s ease}
/* mobile: draw edge-to-edge (viewport-fit=cover) so Safari blurs real page content under its status bar and toolbar; fixed controls step below the notch */
@media(max-width:760px) {
  .nav-burger{top:calc(14px + env(safe-area-inset-top))!important}
  .tocbtn{top:calc(20px + env(safe-area-inset-top))!important}
  .rail,.rail.away,.rail.nav-hide{top:calc(64px + env(safe-area-inset-top))!important}
  .toc{top:calc(68px + env(safe-area-inset-top))!important}
  .prog{top:env(safe-area-inset-top)!important}
  .lb{padding-top:calc(64px + env(safe-area-inset-top))!important;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
}
/* ── thumb-ui-radius ── */
/* the product UI inside the Class Management thumbnail: radius scales with the card on phones */
@media(max-width:640px) {
  .bento .thumb video.hero-vid[src*="mas9cm-flow-home"]{clip-path:inset(11.28% 10% 11.28% 10% round 8px)!important}
}
/* ── mobile-topnav ── */
/* mobile: a full-width solid cream bar at the top holds the navigation. It reaches under the status bar, so Safari tints the status bar the same cream; page content fades out as it scrolls beneath it */
@media(max-width:700px) {
  html body .nav-burger{display:none!important}
  html body .rail,html body .rail.away,html body .rail.nav-hide,html body .rail.away.nav-hide{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;width:auto!important;min-width:0!important;transform:none!important;opacity:1!important;pointer-events:auto!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:2px!important;padding:calc(8px + env(safe-area-inset-top)) 12px 8px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#F4F0E8!important;z-index:40!important}
  html body .rail::after{content:"";position:absolute;left:0;right:0;top:100%;height:22px;pointer-events:none;background:linear-gradient(#F4F0E8,rgba(244,240,232,0))}
  html body .rail .ind{display:none!important}
  html body .rail a{justify-content:center!important;padding:8px 14px!important;font-size:14px!important;border-radius:999px!important}
  html body .rail a.on{background:#fff!important;box-shadow:0 1px 6px rgba(90,30,120,.08)!important}
  html body .tocbtn{top:calc(66px + env(safe-area-inset-top))!important;left:16px!important}
  html body .toc{top:calc(112px + env(safe-area-inset-top))!important}
  html body .prog{top:calc(52px + env(safe-area-inset-top))!important;z-index:41!important}
  html body .page,html body .hero{scroll-margin-top:72px}
  html body .rail.nav-hide,html body .rail.away.nav-hide{transform:translateY(calc(-100% - 24px))!important}
  html body .tocbtn{transition:top .35s cubic-bezier(.2,.7,.2,1)!important}
  html:has(.rail.nav-hide) body .tocbtn{top:calc(12px + env(safe-area-inset-top))!important}
  html:has(.rail.nav-hide) body .toc{top:calc(58px + env(safe-area-inset-top))!important}
  html:has(.rail.nav-hide) body .prog{top:env(safe-area-inset-top)!important}
  html body .rail.rail::after{height:44px!important;background:linear-gradient(var(--bar,#F4F0E8) 0%,color-mix(in srgb,var(--bar,#F4F0E8) 72%,transparent) 30%,color-mix(in srgb,var(--bar,#F4F0E8) 32%,transparent) 62%,transparent 100%)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-mask-image:linear-gradient(#000 0%,#000 35%,transparent 100%);mask-image:linear-gradient(#000 0%,#000 35%,transparent 100%)}
  html body::before{bottom:auto!important;height:100lvh!important;-webkit-mask-image:linear-gradient(#000 0,#000 72%,transparent 100%);mask-image:linear-gradient(#000 0,#000 72%,transparent 100%)}
}
/* ── topnav-tint-start ── */
/* start peach so Safari's status bar is peach from the first frame (loader included) */
@media(max-width:700px) {
  html{--bar:#FBE7DE}
  html:not(.past-hero),html:not(.past-hero) body{background-color:#FBE7DE!important}
  html:has(#pl:not(.done)),html:has(#pl:not(.done)) body,html:has(#pl.leave),html:has(#pl.leave) body{background-color:#FBE7DE!important}
  html body #pl{background:radial-gradient(70% 42% at 50% 46%,rgba(250,226,212,.85),rgba(250,226,212,0) 100%),linear-gradient(#FBE7DE 0,rgba(251,231,222,0) 34%,rgba(251,231,222,0) 66%,#FBE7DE 100%),#F4F0E8!important}
}
/* ── topnav-tint ── */
@media(max-width:700px) {
  html body .rail,html body .rail.away,html body .rail.nav-hide,html body .rail.away.nav-hide{background:var(--bar,#F4F0E8)!important;transition:background-color .35s ease!important}
}
/* ── lb-soft ── */
/* lightbox: lighter image shadow on the light page */
html body .lb .lb-stage{box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 12px 36px rgba(70,40,100,.10)!important}
html body .lb img{box-shadow:none!important}
/* ── video-ios ── */
video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}
video::-webkit-media-controls{display:none!important}
/* ── foot-safari ── */
/* mobile: footer ends ~32px above Safari's floating address bar (bar top sits ~79px above the screen bottom) */
@media(max-width:700px) {
  html body footer.contact{padding-bottom:76px!important}
}
/* ── loader-scroll ── */
/* mobile Safari leaves fixed layers out of the area under its toolbar: the loader scrolls with the page instead (pinned to the current scroll position), so its gradient reaches the bottom edge */
@media(max-width:700px) {
  html body #pl:not(.done){position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;transform:translateY(var(--ply,0px))}
}

/* ── mobile-first-fold ── */
/* mobile: tighten the hero so the first project card is already in view on the first screen */
@media (max-width:640px) {
  html body #filters{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-left:-16px!important;margin-right:-16px!important;padding:10px 16px 30px!important;margin-top:-10px!important;margin-bottom:-30px!important;width:auto!important;max-width:none!important}
  html body #filters::-webkit-scrollbar{display:none}
  html body #filters button{flex:0 0 auto!important}
}

/* ── chip-glass ── */
/* restore the frosted glass on the home chips/filters (the perf pass removed blur everywhere; these few chips sit on a still background, so it is cheap) */
html body .chips .chip.chip.chip,html body #filters button:not(.on):not(.x){-webkit-backdrop-filter:blur(14px) saturate(1.7)!important;backdrop-filter:blur(14px) saturate(1.7)!important}

/* ── first-card-static ── */
/* mobile: the first project card is shown as-is on the first screen (no reveal animation) */
html body .bento .item.rv.static-in{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}

/* ── mosaic-5: Creative Tech with five tiles (narrow Plant Mood fit to its portrait video, wide Caterpillar) ── */
.e6{grid-column:span 6}
.e18{grid-column:span 18}
@media(max-width:800px){.e6,.e18{grid-column:span 24}.tile.sq{height:auto;aspect-ratio:1/1}.tile.sq .media-vid{object-position:50% 100%}}

/* ── tile-tags: hover tags readable on the darkened media ── */
html body .tile .hov span{color:rgba(255,255,255,.85)!important}

/* ── Featured Works: editorial list on desktop (2026-11-28) ──
   No card box. Large preview, then title, one-line role sentence, tags.
   Same structure on phones, with smaller spacing below 900px. */
@media all{
  .bento{gap:0!important}
  .bento .item{background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0!important}
  .bento .item.c6:not(.hide){display:flex!important;flex-direction:column;align-items:stretch!important;padding:32px 0 64px!important;border-top:0!important}
  .bento .item:not(.hide) ~ .item.c6:not(.hide){border-top:1px solid rgba(52,50,44,.16)!important}
  .bento .item .thumb{border-radius:10px!important}
  .bento .item .body{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"row" "res" "tl";align-items:start;padding:28px 0 0!important}
  .bento .item .body .row{grid-area:row}
  .bento .item .body .tl{grid-area:tl;margin-top:20px!important;justify-content:flex-start}
  .bento .row .pre{display:none!important}
  .bento .row h3{transition:color .2s}
  a.item:hover .row h3{color:#8A837A}
  .bento .item .body .res{grid-area:res;margin-top:12px;font:400 18px/1.5 "Instrument Sans",sans-serif;color:#6A635A;text-wrap:pretty}
  .bento .item .thumb video,.bento .item .thumb img{transition:transform .8s cubic-bezier(.2,.7,.2,1)!important}
  a.item:hover .thumb video,a.item:hover .thumb img{transform:scale(1.03)!important}
}
@media(min-width:901px){
  .bento .row h3{font-size:clamp(28px,2.4vw,36px)!important;line-height:1.15!important;letter-spacing:-.015em}
}
@media(max-width:900px){
  .bento .row h3{font-weight:500!important}
  .bento .item.c6:not(.hide){padding:24px 0 44px!important}
  .bento .item .body{padding:20px 0 0!important}
  .bento .item .body .res{margin-top:10px;font-size:16px}
  .bento .item .body .tl{margin-top:16px!important}
}
