/* ---------- tokens: one light theme, purple as the brand colour ---------- */
:root{
  --bg:#f7f6f3;
  --paper:#ffffff;
  --panel:#f4f4f2;            /* the grey beside each cover */
  --ink:#18181b;
  --text:#18181b;
  --sec:#4b4b53;             /* body text */
  --dim:#6e6e76;             /* secondary text */
  --mute:#8b8b93;
  --line:rgba(24,24,27,.08);
  --hair:rgba(24,24,27,.07);
  --accent:#5b3fd6;           /* brand purple: only for tiny marks (a link, one word) */
  --accent-ink:#4a2fc0;
  --accent-soft:#efebfd;
  --btn2:rgba(24,24,27,.05);
  --card-shadow:0 1px 2px rgba(23,18,15,.05), 0 24px 48px -34px rgba(23,18,15,.3);
  --panel-shadow:0 30px 70px -26px rgba(40,30,60,.28);
  --display:'Faculty Glyphic', Georgia, 'Times New Roman', serif;   /* one weight (400), no italic */
  --body:'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* the room */
  --sky-top:#cfccd6; --sky-hz:#e7e5e9;
  --wall-top:#d3d0d8; --wall-mid:#e0dee3; --wall-low:#ebe9ec; --wall-seam:rgba(24,24,27,.035);
  --floor:#dad7dc; --floor-pool:rgba(255,255,255,.65); --floor-grid:rgba(24,24,27,.045);
  --ceil:#dcd9df; --ring:rgba(255,255,255,.95); --ring-glow:rgba(255,255,255,.6);
  --pillar-a:#e8e6ea; --pillar-b:#cac6ce;
  --floor-ring:rgba(24,24,27,.10); --floor-ring-glow:rgba(255,255,255,.55);
  --face:#ffffff; --face-hi:rgba(255,255,255,.9); --slab:#c6c2cc; --edge:rgba(24,24,27,.08);
  --shadow:rgba(50,40,70,.26);
  --surface:#ffffff; --surface-2:#f4f4f2;
}
*{margin:0;padding:0;box-sizing:border-box}
html,body{background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;font-synthesis:none}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit;color:inherit}
::selection{background:var(--ink);color:#fff}

/* ---------- shared pieces ---------- */
.btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:999px;font:500 15px/1 var(--body);
  background:transparent;color:var(--ink);border:1px solid rgba(24,24,27,.16);cursor:pointer;transition:background .2s, color .2s, border-color .2s}
.btn:hover{border-color:var(--ink)}
.btn.pri{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn.pri:hover{background:#2e2e33;border-color:#2e2e33}
/* small labels are plain text: no badges, no rules, no capitals */
.flag,.eyebrow{display:inline-block;font:500 14px/1.3 var(--body);letter-spacing:-.005em;color:var(--dim)}
.avail{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--sec)}
.avail i{width:6px;height:6px;border-radius:50%;background:#1f9d6b}

/* ---------- the tab bars: black, with a white pill that springs between tabs (nav.js) ---------- */
.orn,.navpill{position:fixed;left:50%;top:34px;transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:5px;border-radius:999px;isolation:isolate;
  background:#111113;box-shadow:0 18px 40px -20px rgba(15,12,25,.6), inset 0 0 0 1px rgba(255,255,255,.07);touch-action:pan-y;user-select:none;-webkit-user-select:none}
.navpill{z-index:30}
.orn button,.orn a,.navpill a{all:unset;position:relative;padding:10px 16px;border-radius:999px;font:500 14px/1 var(--body);color:rgba(255,255,255,.6);
  white-space:nowrap;cursor:pointer;transition:color .2s;-webkit-user-drag:none}
.orn button:hover,.orn a:hover,.navpill a:hover,.orn .on,.navpill a.on{color:#fff}
/* the pill: white, blended so whatever label it covers turns black */
.pill{position:absolute;left:0;top:5px;bottom:5px;width:0;border-radius:999px;background:#fff;mix-blend-mode:difference;pointer-events:none;opacity:0;will-change:transform,width}
.dragging,.dragging *{cursor:grabbing !important}
.navpill .tm{width:36px;height:36px;padding:0;margin-right:4px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--ink);font:400 19px/1 var(--display);letter-spacing:-.028em}
.navpill .tm:hover{background:#e6e6ea;color:var(--ink)}

/* ---------- the project card (studied from Stanley Ojima's): cover left, grey details right, a white bezel with a hairline ---------- */
.pcard{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:6px;background:var(--paper);border:1px solid var(--hair);border-radius:20px;box-shadow:var(--card-shadow)}
.pc-v{position:relative;border-radius:14px;overflow:hidden;background:var(--base,#111)}
.pc-v::after{content:"";display:block;padding-top:100%}   /* at least square; stretches with a taller text panel */
.pc-v img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform-origin:20% 20%;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.pcard:hover .pc-v img{transform:scale(1.035) translate(-.8%,-.8%)}
/* in the room, project cards stay still on hover (no lift, tilt or zoom): they slide under the cursor while you scroll */
.panel.k-case.hover{--lift:0px}
.k-case .pc-v img{transform:none !important;transition:none}
.k-case .grab{display:none}
.pc-b{display:flex;flex-direction:column;border-radius:14px;background:var(--panel);padding:30px 32px 28px;min-width:0}
.pc-org{display:flex;align-items:center;gap:12px}
.pc-lg{width:38px;height:38px;border-radius:10px;overflow:hidden;display:grid;place-items:center;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(24,24,27,.08)}
.pc-lg img{width:100%;height:100%;object-fit:cover}
.pc-lg b{font:400 20px/1 var(--display);color:#fff}
.pc-who b{display:block;font:600 15px/1.2 var(--body)}
.pc-who span{display:block;margin-top:2px;font-size:13.5px;color:var(--mute)}
.pc-yr{margin-left:auto;font:500 13px/1 var(--body);color:var(--mute);font-variant-numeric:tabular-nums}
.pc-b .flag{margin-top:26px}
.pc-h{margin-top:22px;font:400 clamp(26px,2.4vw,32px)/1.06 var(--display);letter-spacing:-.028em;color:var(--ink)}
.pc-d{margin:14px 0 26px;font-size:15px;line-height:1.6;color:#71717a;max-width:46ch}
.pc-f{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:auto;padding-top:20px;border-top:1px solid rgba(24,24,27,.09)}
.pc-r{display:flex;gap:30px;min-width:0}
.pc-r b{display:block;font:400 17px/1.15 var(--display);letter-spacing:-.02em}
.pc-r span{display:block;margin-top:6px;font-size:12.5px;color:var(--mute)}
.pc-go{flex:0 0 auto;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(24,24,27,.16);color:var(--ink);font-size:17px;
  transition:background .25s, color .25s, border-color .25s, transform .25s}
.pcard:hover .pc-go,.panel.hover .pc-go{background:var(--ink);color:#fff;border-color:var(--ink);transform:rotate(-45deg)}

/* ======================= the room ======================= */
.room{height:100%;overflow:hidden;user-select:none;-webkit-user-select:none;touch-action:none}
html:has(.room){height:100%;overflow:hidden}
@media (pointer:fine){ .room, .room *{cursor:none !important} }
.stage{position:fixed;inset:0;overflow:hidden;background:var(--sky-hz);transition:filter .25s ease}
.world{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d}
.world > *,.panel,.lift{transform-style:preserve-3d}   /* only the room and the windows are 3D; everything inside a window is flat */

/* the room's structure is drawn on this canvas (see "the room, drawn flat" in index.html); only the windows are 3D */
.room-cv{position:absolute;inset:0;width:100%;height:100%;display:block}

/* windows */
.panel{position:absolute}
.lift{position:absolute;inset:0;
  transform:translateZ(var(--lift,0px)) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition:transform .22s cubic-bezier(.2,.9,.1,1);
  animation:arrive .7s cubic-bezier(.2,.9,.1,1) backwards;   /* released once played, so windows carry no lingering animation */animation-delay:var(--d,0s)}
.back{position:absolute;inset:0;border-radius:10px;background:var(--slab);transform:translateZ(-14px)}
.face{position:absolute;inset:0;border-radius:10px;overflow:hidden;transform-style:flat;background:var(--face);
  border:1px solid var(--edge);box-shadow:var(--card-shadow);transition:border-color .2s}
.panel.hover{--lift:22px}
.panel.hover .face{border-color:rgba(24,24,27,.2)}
@keyframes arrive{from{opacity:0;transform:translateZ(-500px) scale(.92)}to{opacity:1}}
.grab{position:absolute;left:50%;bottom:-24px;width:64px;height:5px;margin-left:-32px;border-radius:6px;background:var(--dim);
  opacity:0;transform:translateZ(var(--lift,0px));transition:opacity .2s, transform .22s cubic-bezier(.2,.9,.1,1)}
.panel.hover .grab{opacity:.6}

/* window contents */
.in{position:absolute;inset:0;padding:30px;display:flex;flex-direction:column}
.small{font-size:13px;color:var(--sec)}
.top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.h1{font:400 64px/.95 var(--display);letter-spacing:-.035em;margin-top:26px}
.h1 em{font-style:normal;color:var(--mute)}
.h1.md{font-size:46px;margin-top:12px}
.h2{font:400 30px/1.05 var(--display);letter-spacing:-.028em}
.p{font-size:15px;line-height:1.55;color:var(--sec);margin-top:16px;max-width:46ch}
.row{display:flex;gap:8px;margin-top:auto;flex-wrap:wrap}

/* the work stack: the project card fills the window */
.k-case .face{background:none;border:none;box-shadow:none;border-radius:20px;overflow:visible}
/* cards slide between slots (front, side, away) on their own; the browser animates parallel planes without any re-sorting */
.k-case{transition:transform .9s cubic-bezier(.2,.8,.2,1), visibility 0s}
.k-case[data-slot="away"]{visibility:hidden;transition:transform .9s cubic-bezier(.2,.8,.2,1), visibility 0s .9s}
.k-case .back{display:none}
.k-case .pcard{position:absolute;inset:0;box-shadow:var(--card-shadow)}
/* cards at the side sit under a veil of the room's colour; it changes only when a card changes slot */
.k-case .veil{position:absolute;inset:-1px;border-radius:21px;background:#e6e4e9;opacity:0;pointer-events:none;z-index:2;transition:opacity .6s ease}
.k-case[data-slot="side"] .veil{opacity:.82}
.k-case[data-slot="away"] .veil{opacity:1}
.k-case .pc-v{min-height:0}
.k-ctrl .face{border-radius:999px}.k-ctrl .back{border-radius:999px}
.ctrl{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 8px}
.ctrl button{all:unset;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:17px;cursor:pointer;color:var(--ink)}
.ctrl button:hover{background:var(--btn2)}
.dots{display:flex;gap:8px}
.dots i{width:7px;height:7px;border-radius:50%;background:var(--dim);opacity:.45;cursor:pointer;transition:width .25s, opacity .25s, border-radius .25s, background .25s}
.dots i.on{width:22px;border-radius:4px;opacity:1;background:var(--ink)}
/* the playground: tiles slide between pages on their own, like the work cards; each is a small white card with its caption */
.k-play{transition:transform .8s cubic-bezier(.2,.8,.2,1), visibility 0s}
.k-play[data-slot="away"]{visibility:hidden;transition:transform .8s cubic-bezier(.2,.8,.2,1), visibility 0s .8s}
.panel.k-play.hover{--lift:0px}
.k-play .back{display:none}
.k-play .face{border-radius:32px;background:var(--paper)}
.panel.k-play.hover .face{border-color:rgba(24,24,27,.22)}
.tile{position:absolute;inset:8px;margin:0;display:flex;flex-direction:column}
.tm-media{position:relative;flex:1;border-radius:24px;overflow:hidden}
.tm-media img,.tm-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.tm-media.is-loop video{object-fit:contain}
.tile figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:11px 12px 6px;font-size:13px;color:var(--mute);white-space:nowrap}
.tile figcaption b{font-weight:500;color:var(--ink);overflow:hidden;text-overflow:ellipsis}
.portrait{position:absolute;inset:0}.portrait img{width:100%;height:100%;object-fit:cover}
.portrait .cap{position:absolute;left:0;right:0;bottom:0;padding:60px 22px 20px;color:#fff;background:linear-gradient(transparent, rgba(0,0,0,.55))}
.portrait .cap b{display:block;font:400 24px/1.1 var(--display);letter-spacing:-.022em}
.portrait .cap span{font-size:13px;opacity:.85}
.facts{margin-top:14px}
.facts div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-top:1px solid var(--line);font-size:13px}
.facts dt{color:var(--sec)}
.facts dd{text-align:right}
.mail{font-size:16px;margin-top:18px;text-decoration:underline;text-decoration-color:rgba(24,24,27,.2);text-underline-offset:4px}
.socials{display:flex;gap:16px;margin-top:20px;font-size:13px;color:var(--sec);align-items:center}
.socials a:hover{color:var(--ink)}
.socials .clock{margin-left:auto;color:var(--dim);font-size:13px;font-variant-numeric:tabular-nums}
.label{position:absolute;font:500 16px/1 var(--body);letter-spacing:-.01em;color:var(--sec);white-space:nowrap;pointer-events:none}

/* chrome */
.brand{position:fixed;left:26px;top:40px;z-index:5;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:500;line-height:1.2;color:var(--sec)}
.brand .tm{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font:400 21px/1 var(--display);letter-spacing:-.028em}
.toplinks{position:fixed;top:38px;right:24px;z-index:5;display:flex;gap:8px;transition:opacity .6s}
.toplinks .btn{padding:11px 17px;font-size:14px;background:rgba(255,255,255,.8)}
.toplinks .btn.pri{background:var(--ink)}
.orn{z-index:5;transition:opacity .2s, transform .2s}
.hint{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);font-size:12px;color:var(--sec);z-index:5;white-space:nowrap;transition:opacity 1s}
.focus-mode .orn{opacity:0;transform:translateX(-50%) translateY(-20px);pointer-events:none}
.focus-mode .stage{filter:blur(5px) brightness(.88)}

.gaze{position:fixed;left:0;top:0;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;z-index:30;pointer-events:none;
  background:rgba(24,24,27,.14);border:1px solid rgba(24,24,27,.45);transition:width .15s,height .15s,margin .15s,background .15s}
.gaze.big{width:34px;height:34px;margin:-17px 0 0 -17px;background:rgba(24,24,27,.05)}
.gaze.pinch{width:12px;height:12px;margin:-6px 0 0 -6px;background:rgba(24,24,27,.8)}
@media (pointer:coarse){ .gaze{display:none} }

/* the intro: the name in particles, then the room from above */
.intro{position:fixed;inset:0;z-index:20}
.intro canvas{position:absolute;inset:0;width:100%;height:100%}
.intro-sub{position:absolute;left:0;right:0;text-align:center;font:400 20px/1.3 var(--display);color:var(--sec);pointer-events:none}
.intro-cue{position:absolute;left:50%;bottom:44px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:12px;font:500 13px/1 var(--body);color:var(--sec);pointer-events:none}
.intro-cue i{width:1px;height:44px;background:linear-gradient(var(--ink),transparent);transform-origin:top;animation:cue 1.8s cubic-bezier(.6,0,.3,1) infinite}
@keyframes cue{0%{transform:scaleY(0);opacity:1}55%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}
.intro-skip{all:unset;position:absolute;right:28px;bottom:40px;font:500 13px/1 var(--body);color:var(--sec);cursor:pointer}
.intro-skip:hover{color:var(--ink)}
.intro .stage,body.intro .stage{opacity:0}
body.intro .orn,body.intro .brand,body.intro .hint,body.intro .toplinks{opacity:0;pointer-events:none}
.brand,.hint{transition:opacity .6s}

/* a page opened as a window in the room */
.portal{position:fixed;inset:0;z-index:12;display:none;align-items:center;justify-content:center;perspective:1800px}
.portal.open{display:flex}
.pstack{display:flex;flex-direction:column;align-items:center;transform-origin:50% 50%;will-change:transform}
.pbar{display:flex;gap:8px;margin-bottom:12px}
.pbtn{all:unset;box-sizing:border-box;height:40px;padding:0 16px;display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:rgba(255,255,255,.92);
  border:1px solid var(--hair);box-shadow:0 10px 30px -16px rgba(23,18,15,.4);font:500 13.5px/1 var(--body);color:var(--ink);cursor:pointer;white-space:nowrap}
.pbtn:hover{border-color:rgba(24,24,27,.3)}
.pclose{width:40px;padding:0;justify-content:center;font-size:14px}
.ptitle{cursor:default;color:var(--sec)}
.ptitle b{color:var(--ink);font-weight:600}
.pwin{width:min(1240px,calc(100vw - 48px));height:calc(100vh - 140px);border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--hair);
  box-shadow:0 80px 160px -50px rgba(40,30,60,.5), var(--card-shadow)}
.pwin iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.pgrab{width:72px;height:5px;margin-top:12px;border-radius:6px;background:rgba(24,24,27,.22)}
.portal-open .stage{filter:blur(6px) brightness(.94)}
.portal-open .orn,.portal-open .toplinks,.portal-open .hint{opacity:0;pointer-events:none}
@media (max-width:760px){ .pwin{width:calc(100vw - 16px);height:calc(100vh - 110px);border-radius:12px} .pbar #popen{display:none} }

/* the pinched window */
.detail{position:fixed;inset:0;z-index:10;display:none;align-items:center;justify-content:center;padding:24px}
.detail.open{display:flex}
.dwin{position:relative;width:min(1080px,100%);max-height:calc(100% - 40px);border-radius:32px;overflow:auto;background:transparent;transform-origin:0 0;box-shadow:0 60px 140px -30px rgba(40,30,60,.45)}
.dwin.is-shot{width:auto;max-width:min(1200px,100%);background:var(--paper);padding:6px;border:1px solid var(--hair)}
.dwin.is-shot img,.dwin.is-shot video{border-radius:24px}
.dshot video{display:block;max-height:calc(100vh - 140px);width:auto;max-width:100%}
.dcap{padding:12px 6px 6px;font-size:14px;color:var(--mute)}.dcap b{font-weight:500;color:var(--ink);margin-right:6px}
.dshot img{max-height:calc(100vh - 100px);width:auto;max-width:100%}
.close{all:unset;position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;background:var(--paper);border:1px solid var(--hair);
  display:grid;place-items:center;font-size:14px;color:var(--ink);z-index:2;cursor:pointer}
@media (max-width:760px){
  .orn button{padding:9px 10px;font-size:12.5px}
  .hint,.brand,.toplinks{display:none}
  .pcard{grid-template-columns:1fr}.pc-v{min-height:220px}.pc-b{padding:22px}

}

/* ---------- the small things (details.js) ---------- */
/* button labels roll up to a copy of themselves */
.roll{position:relative;display:inline-block;overflow:hidden;vertical-align:top;line-height:1.2;margin:-.1em 0}
.roll > span{display:block;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.roll::after{content:attr(data-t);position:absolute;left:0;top:100%;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.btn:hover .roll > span,.btn:hover .roll::after{transform:translateY(-100%)}
/* trailing arrows lean the way they point */
.arr{display:inline-block;font-style:normal;transition:transform .35s cubic-bezier(.22,1,.36,1)}
a:hover > .arr,.btn:hover > .arr{transform:translate(2px,-2px)}
a[data-top]:hover > .arr{transform:translateY(-3px)}
/* text links: the underline wipes away to the right on hover and draws back in from the left */
.mail,.sf-email,.sign a,.xp p a,.body a{text-decoration:none;border-bottom:0;
  background:linear-gradient(currentColor,currentColor) 0 100% / 100% 1px no-repeat;padding-bottom:2px;transition:background-size .55s cubic-bezier(.22,1,.36,1), color .2s}
.mail:hover,.sf-email:hover,.sign a:hover,.xp p a:hover,.body a:hover{background-position:100% 100%;background-size:0 1px}
/* in a row of links, the one you point at stays; the rest step back */
.socials a,.sf-links a,.xp li,.points li,.stats .stat{transition:opacity .3s ease}
.socials:hover a:not(:hover),.sf-links:hover a:not(:hover),.xp:hover li:not(:hover),.points:hover li:not(:hover){opacity:.4}
/* chips and the clock */
.chips span{transition:transform .2s ease, border-color .2s ease}
.chips span:hover{transform:translateY(-1px);border-color:rgba(24,24,27,.22)}
[data-lagos] i{font-style:normal;animation:tickc 2s steps(1) infinite}
@keyframes tickc{50%{opacity:.25}}
/* the View cursor over screens you can open */
.vcur{position:fixed;left:0;top:0;z-index:50;pointer-events:none}
.vcur span{position:absolute;left:-36px;top:-36px;width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;
  font:500 13px/1 var(--body);transform:scale(0);transition:transform .35s cubic-bezier(.22,1,.36,1)}
.vcur.on span{transform:scale(1)}
@media (pointer:fine){ .fwin,.next-wrap .pcard,[data-view]{cursor:none} }
.fwin{transition:border-color .3s ease}
.fwin:hover{border-color:rgba(24,24,27,.2)}
/* the meter along the top edge: where you face in the room, how far you've read on a page (details.js) */
.meter{position:fixed;left:0;top:0;width:100%;height:30px;z-index:31;pointer-events:none;transition:opacity .6s}
body.intro .meter,.portal-open .meter,.embed .meter{opacity:0}
.meter.on-page{background:linear-gradient(rgba(247,246,243,.94) 60%, rgba(247,246,243,0));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}

/* ---------- the about wall: a summary beside a small arrangement of photos ---------- */
.k-about .face{border-radius:28px}
.k-about .back{border-radius:28px}
.about-sum{position:absolute;inset:0;display:grid;grid-template-columns:380px 1fr;gap:10px;padding:10px}
.fan{position:relative;border-radius:20px;background:#111113;overflow:hidden}
.fp{position:absolute;left:50%;top:50%;width:200px;height:262px;margin:-131px 0 0 -100px;padding:6px;background:#fff;border-radius:12px;
  box-shadow:0 20px 40px -18px rgba(0,0,0,.6);transition:transform .9s cubic-bezier(.34,1.4,.5,1)}
.fp img{width:100%;height:100%;object-fit:cover;border-radius:7px}
.fp-c{width:216px;height:284px;margin:-142px 0 0 -108px;z-index:2}
.fp-l,.fp-r{transform:scale(.9)}
.fan.open .fp-l{transform:translate(-92px,14px) rotate(-9deg) scale(.86);transition-delay:.1s}
.fan.open .fp-r{transform:translate(92px,20px) rotate(8deg) scale(.86);transition-delay:.18s}
.fan.open .fp-c{transform:translateY(-6px) rotate(-1.5deg)}
.sum{display:flex;flex-direction:column;padding:26px 26px 20px 22px}
.sum .h2{margin-top:14px;font-size:34px}
.sum .p{font-size:15px;max-width:52ch}
.sum-k{margin-top:16px;font-size:13.5px;color:var(--dim)}

/* ---------- the home page on a phone (mobile.js) ---------- */
.mhome{background:var(--bg)}
.m{padding:0 22px;overflow-x:clip}
.m .navpill{top:30px;max-width:calc(100% - 24px)}
@keyframes mrise{from{opacity:0;transform:translateY(14px)}}
.m-who{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--dim)}
.m-who img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.m-who b{display:block;font-weight:500;font-size:13.5px;color:var(--ink)}
.m-p{margin-top:16px;font-size:14.5px;line-height:1.6;color:var(--sec)}
.m-row{display:flex;gap:10px;margin-top:30px;flex-wrap:wrap}
.m-row .btn{padding:13px 20px;font-size:13.5px}
.m-avail{margin-top:26px;font-size:12px}
.mhome .eyebrow{font-size:12.5px}
.m-sec{padding-top:104px;scroll-margin-top:96px}
.m-head{display:flex;justify-content:space-between;align-items:baseline}
.m-head span{font-size:12px;color:var(--mute)}
.m-h2{font:400 30px/1 var(--display);letter-spacing:-.03em;margin:0 2px 26px}
.m-cards{display:flex;flex-direction:column;gap:22px}
.m .pcard{border-radius:24px;cursor:pointer}
.m .pc-v{min-height:0;aspect-ratio:1/1;border-radius:18px}
.m .pc-b{padding:26px 22px 22px;border-radius:18px}
.m .pc-who b{font-size:13.5px}
.m .pc-who span,.m .pc-yr{font-size:12px}
.m .pc-b .flag{margin-top:28px;font-size:12.5px}
.m .pc-h{margin-top:14px;font-size:22.5px}
.m .pc-d{margin:14px 0 24px;font-size:13.5px}
.m .pc-r{gap:22px}
.m .pc-r b{font-size:15.5px}
.m .pc-r span{font-size:11px}
/* loops: a row you swipe, each one snaps to the middle */
.m-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -22px;padding:0 22px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.m-track::-webkit-scrollbar{display:none}
.m-tile{flex:0 0 84%;scroll-snap-align:center;margin:0;padding:8px;background:var(--paper);border:1px solid var(--hair);border-radius:28px;box-shadow:var(--card-shadow)}
.m-tile .tm-media{aspect-ratio:4/3;flex:none;border-radius:20px}
.m-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.m-tile figcaption{display:flex;justify-content:space-between;gap:12px;padding:12px 10px 5px;font-size:11.5px;color:var(--mute);margin:0}
.m-tile figcaption b{font-weight:500;color:var(--ink)}
/* about: the photo fan on top, the summary under it */
.m-about{padding:8px;background:var(--paper);border:1px solid var(--hair);border-radius:28px;box-shadow:var(--card-shadow)}
.m-about .fan{height:330px}
.m-about .fp{width:170px;height:224px;margin:-112px 0 0 -85px}
.m-about .fp-c{width:184px;height:242px;margin:-121px 0 0 -92px}
.m-about .fan.open .fp-l{transform:translate(-70px,12px) rotate(-9deg) scale(.86)}
.m-about .fan.open .fp-r{transform:translate(70px,18px) rotate(8deg) scale(.86)}
.m-sum{padding:28px 16px 16px}
.m-h3{font:400 26px/1.08 var(--display);letter-spacing:-.028em}
.mhome .sfoot{width:auto;margin:128px -22px 0}
.mhome .sf-in{padding:44px 22px 28px}
/* the about intro and statement, sized for a phone; the hero starts well clear of the floating nav */
.mhome .ab-hero{display:block;padding:148px 2px 0;animation:mrise .7s cubic-bezier(.22,1,.36,1) both}
.mhome .ab-hero h1{font-size:clamp(38px,11vw,50px);margin:34px 0 22px}
.mhome .ab-hero .lead{font-size:14.5px;line-height:1.7}
.mhome .ab-photo{margin-top:52px;border-radius:24px;padding:8px}
.mhome .ascii{border-radius:18px}
.mhome .ab-facts{margin:44px 2px 0;grid-template-columns:1fr 1fr}
.mhome .ab-facts div{padding:18px 14px 20px 0}
.mhome .ab-facts dt{font-size:12.5px}
.mhome .ab-facts dd{font-size:13.5px;margin-top:8px}
.mhome .stmt-sec{height:180vh;margin:40px 2px 0}
.mhome .stmt-pin{padding:96px 0 48px}
.mhome .stmt-sec .stmt{font-size:clamp(26px,7.6vw,33px);line-height:1.2}
.mhome .stats{grid-template-columns:1fr 1fr;gap:30px 20px;margin-top:48px}
.mhome .stat dt{font-size:36px}
.mhome .stat dd{font-size:12.5px;margin-top:12px}
/* the portrait as dust (dust.js) */
.mhome .dust{position:relative;aspect-ratio:4/5;border-radius:18px;overflow:hidden;background:var(--paper);touch-action:pan-y}
.mhome .dust canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
