/* Kenney Cursor Pack (CC0), outlined 32px artwork. */
@media (any-hover: hover) and (any-pointer: fine) {
  :root {
    --cursor-default: url("assets/cursors/pointer_c.png") 4 2, default;
    --cursor-pointer: url("assets/cursors/hand_point.png") 9 2, pointer;
    --cursor-grab: url("assets/cursors/hand_open.png") 16 17, grab;
    --cursor-grabbing: url("assets/cursors/hand_closed.png") 16 17, grabbing;
  }
  html, body, dialog { cursor: var(--cursor-default); }
  :where(a[href], button:enabled) { cursor: var(--cursor-pointer); }
}
:root{--brown:#49220c;--orange:#ffad6c;--peach:#ffdac5}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:#ffdac5;color:var(--brown);font-family:Arial,"Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}header{position:fixed;left:0;top:0;width:100%;height:16vh;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:2.8vh 6% 0 3.6%;transition:background .3s}.logo{display:block;width:10vw;color:white;transform:rotate(-10deg);line-height:.8}.logo span{display:block;font-size:1.05vw;font-weight:1000;white-space:nowrap}.logo b{color:#ff9f56;position:relative;top:-.7em}.logo strong{font-size:4vw;letter-spacing:-.55vw;font-weight:1000;display:block;margin-top:.4vw}nav{display:flex;gap:2.7vw;align-items:center}nav a,nav button{font-size:clamp(12px,1.05vw,23px);font-weight:1000;letter-spacing:.01em;white-space:nowrap}nav button{border:0;background:none;padding:0;cursor:var(--cursor-pointer, pointer)}nav a{position:relative}nav a:after{content:'';position:absolute;left:0;right:100%;bottom:-7px;height:2px;background:currentColor;transition:right .2s}nav a:hover:after,nav a.active:after{right:0}.journey{height:480vh;position:relative}.stage{position:sticky;top:0;height:100vh;overflow:hidden;background:linear-gradient(#ffdac5 0%,#ffdfce 50%,#fff 100%)}.backdrop{position:absolute;inset:0;overflow:hidden}.big-type{position:absolute;left:3.5%;top:19%;font-family:Impact,"Arial Narrow",sans-serif;font-size:82vh;line-height:1;letter-spacing:-.025em;font-weight:900;color:#ffb172;white-space:nowrap;transform-origin:left center;transform:scaleX(.79);user-select:none}canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: max(3svh, env(safe-area-inset-bottom));
  width: clamp(178px, min(19.32vw, 34.35svh), 450px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  user-select: none;
}
.scroll-cue img { display: block; width: 100%; height: auto; }
.scroll-mouse {
  width: 19.14%;
  height: auto;
  margin-bottom: 10%;

}
.contact-return {
  z-index: 5;
  pointer-events: auto;
  clip-path: inset(0 20%);
}
.contact-return:focus-visible img {
  filter: drop-shadow(0 0 3px currentColor);
}
.scroll-wheel { animation: home-scroll-wheel 1.6s ease-in-out infinite alternate; }
@keyframes home-scroll-wheel {
  from { transform: translateY(0); }
  to { transform: translateY(-32px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-wheel { animation: none; }
}
#loading{position:absolute;bottom:3vh;right:4%;font-size:12px;background:#fff9;border-radius:30px;padding:12px 18px}#loading.failed{color:#a32710}.page{min-height:100vh;padding:20vh 6% 4vh;display:flex;flex-direction:column;position:relative}.about{background:#fff6ed}.works{background:#ffb172}.contact{background:#42200e;color:#ffe0c8}.page-top,.page-foot{display:flex;justify-content:space-between;gap:25px;font-size:11px;font-weight:700;letter-spacing:1.5px}.page-top{padding-bottom:20px;border-bottom:1px solid #8e644a45}.page-content{flex:1;display:flex;flex-direction:column;justify-content:center;padding:35px 0}.eyebrow{font-size:11px;letter-spacing:3px}h1,h2{font-family:Impact,"Arial Narrow",sans-serif;font-size:clamp(70px,10vw,180px);line-height:.95;letter-spacing:-.025em;margin:20px 0;font-weight:900}h1 em,h2 em{font-style:normal;color:#f27b31}.works h2 em{color:#fff5ea}.contact h2 em{color:#ffaf72}.placeholder{font-size:16px;line-height:1.8}.note{font-size:11px;opacity:.5;letter-spacing:1px}.page-foot{padding-top:20px;border-top:1px solid #8e644a45}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#44220e;color:white;font-size:13px;padding:15px 25px;border-radius:30px;opacity:0;pointer-events:none;transition:.3s;z-index:20}.toast.visible{opacity:1;transform:translate(-50%,0)}body.on-contact header{color:#ffe0c8}a:focus-visible,button:focus-visible{outline:2px solid #ec6a21;outline-offset:6px}@media(max-width:850px){header{height:100px;padding:20px 5%}.logo{width:85px}.logo span{font-size:9px}.logo strong{font-size:36px;letter-spacing:-5px}nav{gap:15px}nav a,nav button{font-size:10px}nav button{max-width:90px;white-space:normal;text-align:left}.big-type{font-size:70vh}.page{padding-top:150px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.logo{transform:none;width:10vw;min-width:100px}.logo img{width:100%;display:block}.portal{position:absolute;inset:0;z-index:0;opacity:0;pointer-events:none}.stage canvas{z-index:2}.backdrop{z-index:1}.stage .scroll-cue,#loading{z-index:3}.portal.entered{pointer-events:auto}

/* Original vector artwork; independent accessible click targets retain navigation. */
header{height:17.5vh;padding:2.5vh 5.8% 0 3.4%;align-items:center}
.logo{width:10.4vw;min-width:100px;flex:none;line-height:normal;overflow:visible}
.logo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.navigation-art{position:relative;display:block;width:37vw;aspect-ratio:1115/41;flex:none;overflow:visible}
.navigation-image{display:block;width:100%;height:100%;pointer-events:none}
.navigation-art a,.navigation-art button{position:absolute;top:-8px;bottom:-8px;min-height:30px;display:block;background:none;border:0;padding:0;max-width:none;cursor:var(--cursor-pointer, pointer)}
.nav-home{left:0;width:9.5%}.nav-about{left:16.4%;width:12.2%}.nav-portfolio{left:35.7%;width:20%}.nav-resume{left:62%;width:38%}
.navigation-art a:after{bottom:3px}.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}
body.on-contact .navigation-image{filter:brightness(0) invert(91%) sepia(12%) saturate(600%)}
@media(max-width:850px){.navigation-art{width:65vw}.logo{width:100px}header{padding-left:4%;padding-right:4%}}

/* Original PORTFOLIO outlines retain the designer's letter spacing and proportions. */
.big-type{left:4%;top:20.5%;height:67.5vh;width:auto;max-width:none;display:block;transform:none;object-fit:contain;letter-spacing:normal;pointer-events:none}


/* Place a solid ABOUT layer above the clean CRT close-up, avoiding keyed green-screen dissolve. */
.portal{z-index:3}.stage .scroll-cue,#loading{z-index:4}.stage canvas{will-change:transform,opacity}

/* Full SVG bounds plus a viewport-sized box: preserve tall lettering without clipping the final O. */
.big-type{left:4%;top:20.5%;width:92%;height:67.5vh;object-fit:fill;max-width:none;transform:none}

/* Contact: two registered light states and a lamp hotspot in image coordinates. */
.contact-room{height:100svh;min-height:0;padding:0;display:grid;place-items:center;background:#090c15;overflow:hidden}
.contact-scene{position:relative;width:min(100%,calc(100svh * 1672 / 941));aspect-ratio:1672/941;isolation:isolate}
.contact-picture{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}
.light-on{z-index:0}.light-off{z-index:1;opacity:0;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.contact-scene.is-dark .light-off{opacity:1}
.lamp-switch{position:absolute;z-index:2;left:15.5%;top:4.6%;width:15%;height:26%;border:0;border-radius:45%;background:transparent;cursor:var(--cursor-pointer, pointer);touch-action:manipulation;outline-offset:5px}
.lamp-switch:focus-visible{outline:2px solid #ffe4a5;box-shadow:0 0 22px #ffd17b45}
@media(prefers-reduced-motion:reduce){.light-off{transition:none}}

/* Printer artwork uses one registered transparent sequence for both lighting states. */
.printer-filters{position:absolute;pointer-events:none}
.printer-art{position:absolute;left:71.15473342447027%;top:-25.761348109913467%;width:27.620186830713145%;aspect-ratio:520/850;z-index:3;pointer-events:none;will-change:transform}
.printer-art img{position:absolute;width:100%;height:100%;display:block;object-fit:fill}
.printer-dark{filter:url(#printer-night-filter);opacity:0;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.contact-scene.is-dark .printer-dark{opacity:1}
.printer-shadow{position:absolute;z-index:2;left:74.7%;top:32.9%;width:22.1%;height:9%;border-radius:50%;background:radial-gradient(ellipse,#0a081c70 0%,#0a081c3b 35%,#0a081c00 72%);filter:blur(6px);pointer-events:none;will-change:transform,opacity}
.contact-scene.is-dark .printer-shadow{background:radial-gradient(ellipse,#01030bcc 0%,#01030b69 35%,#01030b00 72%)}
.printer-switch{position:absolute;z-index:4;left:73.5%;top:3%;width:23.5%;height:36%;border:0;border-radius:30%;background:transparent;cursor:var(--cursor-pointer, pointer);touch-action:manipulation}
.printer-switch:focus-visible{outline:2px solid #ffd59c;outline-offset:4px}
.printer-switch[aria-busy="true"]{cursor:progress}
.printer-hint{position:absolute;z-index:4;left:77%;top:42%;font-size:11px;letter-spacing:.2px;color:#fff3e4;background:#14121b99;padding:8px 12px;border-radius:20px;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s;white-space:nowrap}
.printer-switch:hover+.printer-hint,.printer-switch:focus-visible+.printer-hint,.contact-scene.is-printing .printer-hint{opacity:1;transform:none}
.lamp-switch{z-index:5}
.print-dialog{width:min(420px,90vw);border:1px solid #ffffff36;border-radius:24px;padding:clamp(24px,5vw,36px);background:#fff4e9;color:#42200e;box-shadow:0 24px 80px #0007;font-family:"Portfolio PingFang","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;}
.print-dialog::backdrop{background:#080c1c80;backdrop-filter:blur(6px)}
.print-dialog .eyebrow{display:flex;align-items:center;min-height:17px;margin:8px 32px 0 0}
.print-dialog .eyebrow img{display:block;width:208px;max-width:100%;height:auto}
.print-dialog h2{font-family:"FZZDHJW","Portfolio PingFang",sans-serif;font-size:clamp(26px,2.2vw,32px);font-weight:400;letter-spacing:0;line-height:1.25;margin:14px 0}
.print-dialog p:not(.eyebrow){margin:0 0 18px;font-size:15px;font-weight:400;line-height:1.65;color:#674534}
.print-close{position:absolute;right:8px;top:6px;display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;border:0;font:500 24px/1 "Portfolio PingFang","PingFang SC",sans-serif;cursor:var(--cursor-pointer, pointer);color:inherit}
.print-action{display:grid;place-items:center;width:100%;min-height:44px;text-align:center;text-decoration:none;border:0;border-radius:12px;padding:10px 16px;margin-top:12px;background:#ef8b42;color:#321508;font:inherit;font-weight:500;font-size:15px;line-height:1.5;cursor:var(--cursor-pointer, pointer)}
.print-action[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.printer-dark,.printer-hint{transition:none}}

/* One composited silhouette prevents the bright underlayer leaking through alpha edges. */
.printer-dark{display:none!important}
#printer-day{filter:brightness(1);transition:filter .65s cubic-bezier(.4,0,.2,1)}
.contact-scene.is-dark #printer-day{filter:url(#printer-night-filter)}
.printer-night-shadows{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.contact-scene.is-dark .printer-night-shadows{opacity:1}
.printer-night-ground{position:absolute;left:75%;top:33.7%;width:22%;height:7.5%;transform-origin:center;background:radial-gradient(ellipse at 50% 42%,#010208ed 0%,#010208b8 30%,#01020865 52%,transparent 74%);filter:blur(5px)}
.printer-night-ground:after{content:'';position:absolute;left:8%;top:15%;width:85%;height:25%;border-radius:50%;background:#010208c9;filter:blur(3px);transform:rotate(-9deg)}
.printer-paper-shadow{position:absolute;left:81.4%;top:34.5%;width:14.8%;height:14%;background:radial-gradient(ellipse at 48% 20%,rgba(1,3,10,.68) 0%,rgba(1,3,10,.48) 25%,rgba(1,3,10,.23) 48%,rgba(1,3,10,.07) 66%,transparent 83%);border-radius:45%;filter:blur(12px);transform-origin:50% 0;transform:rotate(-9deg) scaleY(0);opacity:0}
@media(prefers-reduced-motion:reduce){#printer-day,.printer-night-shadows{transition:none}}

/* Supplied shadow backgrounds for the four resting states. */
.contact-static-bases{position:absolute;inset:0;z-index:1;pointer-events:none}
.static-base{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.base-day-done,.base-night-done{visibility:hidden}
.base-night-idle,.base-night-done{opacity:0;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.contact-scene.is-dark .base-night-idle,.contact-scene.is-dark .base-night-done{opacity:1}
.contact-scene.print-completed .base-day-idle,.contact-scene.print-completed .base-night-idle{visibility:hidden}
.contact-scene.print-completed .base-day-done,.contact-scene.print-completed .base-night-done{visibility:visible}
.contact-scene.motion-active .contact-static-bases{visibility:hidden}
.contact-scene.motion-active .static-base{visibility:hidden}
.contact-scene:not(.motion-active) .printer-shadow,.contact-scene:not(.motion-active) .printer-night-shadows{display:none}
@media(prefers-reduced-motion:reduce){.base-night-idle,.base-night-done{transition:none}}

/* Register the transparent foreground against the supplied shadow plates.
   Extend the body/paper by ~1.8% and lower its optical center by 4/941.
   The same box is used for idle, motion and final frame (no state-change jump). */
.printer-art{left:70.904%;top:-26.174%;width:28.11735%}

/* Local envelope artwork shares scene coordinates, independent of printer state. */
.envelope-hover{position:absolute;inset:0;z-index:4;pointer-events:none}
.envelope-art{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .25s ease;mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48ZGVmcz48ZmlsdGVyIGlkPSJzb2Z0IiB4PSItMTAlIiB5PSItMTAlIiB3aWR0aD0iMTIwJSIgaGVpZ2h0PSIxMjAlIj48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIuMzUiLz48L2ZpbHRlcj48L2RlZnM+PHBhdGggZmlsbD0id2hpdGUiIGZpbHRlcj0idXJsKCNzb2Z0KSIgZD0iTTQ1LjQgNzIuNSBMNDYuOCA2OCBMNTEuOCA2MS41IEw1Ni41IDYyIEw2MyA2NSBMNjUuNSA3NCBMNjguNiA5MSBMNjcuNSA5NiBMNDguNSA5NiBMNDQuOCA4MiBaIi8+PC9zdmc+") 0 0/100% 100% no-repeat;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48ZGVmcz48ZmlsdGVyIGlkPSJzb2Z0IiB4PSItMTAlIiB5PSItMTAlIiB3aWR0aD0iMTIwJSIgaGVpZ2h0PSIxMjAlIj48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIuMzUiLz48L2ZpbHRlcj48L2RlZnM+PHBhdGggZmlsbD0id2hpdGUiIGZpbHRlcj0idXJsKCNzb2Z0KSIgZD0iTTQ1LjQgNzIuNSBMNDYuOCA2OCBMNTEuOCA2MS41IEw1Ni41IDYyIEw2MyA2NSBMNjUuNSA3NCBMNjguNiA5MSBMNjcuNSA5NiBMNDguNSA5NiBMNDQuOCA4MiBaIi8+PC9zdmc+") 0 0/100% 100% no-repeat}
.envelope-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill}
.envelope-night{opacity:0;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.is-dark .envelope-night{opacity:1}
.envelope-switch{position:absolute;left:46%;top:64%;width:22%;height:32%;clip-path:polygon(0 30%,30% 0,74% 8%,100% 91%,16% 100%);border:0;background:transparent;cursor:var(--cursor-pointer, pointer);pointer-events:auto;touch-action:manipulation}
.envelope-hover.is-open .envelope-art,.envelope-hover:has(.envelope-switch:hover) .envelope-art,.envelope-hover:has(.envelope-switch:focus-visible) .envelope-art{opacity:1}
.envelope-switch:focus-visible{background:#ffdca218;outline:2px solid #ffdca2;outline-offset:-5px}
@media(prefers-reduced-motion:reduce){.envelope-art,.envelope-art img{transition:none}}

/* User-positioned transparent artwork, registered to the entire desktop. */
.contact-qr{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;z-index:3;pointer-events:none}

/* White light uses the same intensity in both room lighting states. */
.contact-light-effects{position:absolute;inset:0;z-index:4;pointer-events:none}
.contact-light-effects svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.screen-light,.contact-rays{opacity:0;transition:opacity .32s ease}
.contact-rays{position:absolute;background:repeating-conic-gradient(from 8deg,transparent 0deg 13deg,#ffffff70 15deg,transparent 19deg 32deg);mask-image:radial-gradient(ellipse,transparent 18%,#0009 36%,#0006 47%,transparent 70%);filter:blur(3px);pointer-events:none}
.screen-rays{left:27%;top:-8%;width:53%;height:58%;transform:rotate(-8deg)}
.contact-scene:has(.screen-copy:hover) .screen-light,.contact-scene:has(.screen-copy:focus-visible) .screen-light{opacity:1}
.contact-scene:has(.screen-copy:hover) .screen-rays,.contact-scene:has(.screen-copy:focus-visible) .screen-rays{opacity:.65}
.contact-copy{position:absolute;z-index:5;padding:0;border:0;background:transparent;cursor:var(--cursor-pointer, pointer);touch-action:manipulation}
.phone-copy{left:28.4%;top:53.4%;width:15.9%;height:26.6%;clip-path:polygon(0 14%,42% 0,100% 80%,100% 91%,53% 100%,3% 25%)}
.screen-copy{left:34.5%;top:5.5%;width:37.5%;height:32.8%;clip-path:polygon(0 27%,100% 0,95% 73%,2% 100%)}
.contact-copy:focus-visible{background:#ffffff12;outline:2px solid white;outline-offset:-4px}
.contact-copy-hint{position:absolute;z-index:6;pointer-events:none;opacity:0;transition:opacity .2s;font-size:clamp(10px,.85vw,14px);white-space:nowrap;color:#fff;background:#14121bd9;padding:9px 13px;border-radius:20px;transform:translateX(-50%)}
.phone-copy-hint{left:36.5%;top:80%}.screen-copy-hint{left:54%;top:40%}
.contact-copy:hover+.contact-copy-hint,.contact-copy:focus-visible+.contact-copy-hint{opacity:1}
.copy-dialog{border:0;border-radius:20px;padding:28px;max-width:90vw;color:#42200e;background:#fff4e9}.copy-dialog::backdrop{background:#0008}.copy-dialog p{font-size:14px}.copy-dialog input{display:block;width:100%;padding:12px;font-size:18px}.copy-dialog button{margin-top:16px;padding:8px 22px;cursor:var(--cursor-pointer, pointer)}
@media(prefers-reduced-motion:reduce){.screen-light,.contact-rays,.contact-copy-hint{transition:none}}

/* Separate supplied QR artwork for day and night; no recoloring. */
.contact-qr img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill}
.qr-day{opacity:1;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.qr-night{opacity:0;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.is-dark .qr-day{opacity:0}.is-dark .qr-night{opacity:1}
/* Stronger phone light in both lighting states. */

/* Five navigation items use the supplied vector lettering and independent links. */
.navigation-art{width:51vw;aspect-ratio:869/26}
.nav-home{left:0;width:7.5%}.nav-about{left:13.3%;width:10%}.nav-portfolio{left:28.8%;width:16%}.nav-contact{left:49.7%;width:14%}.nav-resume{left:69%;width:31%}
.logo .logo-contact{display:none}
body.on-contact .logo .logo-default{display:none}
body.on-contact .logo .logo-contact{display:block}
body.on-contact header{color:#fff}
body.on-contact .navigation-image{filter:brightness(0) invert(1)}
@media(max-width:850px){.navigation-art{width:70vw}.logo{min-width:70px;width:12vw}}

.envelope-copy-hint{left:57%;top:94%;transform:translate(-50%,-100%)}
.envelope-switch:hover+.envelope-copy-hint,.envelope-switch:focus-visible+.envelope-copy-hint{opacity:1}

/* TechText occupies the same coordinate plane as the original SVG title. */
.home-tech-text{position:absolute;inset:0;touch-action:pan-y;user-select:none;pointer-events:auto}
.home-tech-text .home-tech-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:auto}
.big-type[hidden]{display:none}

/* Supplied phone artwork replaces the previous generated white light. */
.phone-hover-art{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0;transition:opacity .25s ease;mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjcyIDk0MSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PGRlZnM+PGZpbHRlciBpZD0ic29mdCIgeD0iLTIwJSIgeT0iLTIwJSIgd2lkdGg9IjE0MCUiIGhlaWdodD0iMTQwJSI+PGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iNyIvPjwvZmlsdGVyPjwvZGVmcz48cGF0aCBmaWxsPSJ3aGl0ZSIgZmlsdGVyPSJ1cmwoI3NvZnQpIiBkPSJNNDU1IDUxOCBMNTc5IDQ3NSBMNjIwIDUwNCBMNzY3IDY3NiBMNzc1IDcyNiBMNjM2IDc4MyBMNTk2IDc1NSBMNDQ3IDU2NSBaIi8+PC9zdmc+") 0 0/100% 100% no-repeat;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjcyIDk0MSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PGRlZnM+PGZpbHRlciBpZD0ic29mdCIgeD0iLTIwJSIgeT0iLTIwJSIgd2lkdGg9IjE0MCUiIGhlaWdodD0iMTQwJSI+PGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iNyIvPjwvZmlsdGVyPjwvZGVmcz48cGF0aCBmaWxsPSJ3aGl0ZSIgZmlsdGVyPSJ1cmwoI3NvZnQpIiBkPSJNNDU1IDUxOCBMNTc5IDQ3NSBMNjIwIDUwNCBMNzY3IDY3NiBMNzc1IDcyNiBMNjM2IDc4MyBMNTk2IDc1NSBMNDQ3IDU2NSBaIi8+PC9zdmc+") 0 0/100% 100% no-repeat}
.phone-hover-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill}
.phone-hover-night{opacity:0;transition:opacity .65s cubic-bezier(.4,0,.2,1)}
.contact-scene.is-dark .phone-hover-night{opacity:1}
.contact-scene:has(.phone-copy:hover) .phone-hover-art,.contact-scene:has(.phone-copy:focus-visible) .phone-hover-art{opacity:1}
@media(prefers-reduced-motion:reduce){.phone-hover-art,.phone-hover-night{transition:none}}

/* Register the night hover phone to the resting scene instead of shifting on hover. */
.phone-hover-night{transform-origin:0 0;transform:translate(-0.0042541%,0.5592222%) matrix(1.02387956,-0.01443434,-0.00558657,1.00342340,0,0)}

/* One persistent corner wordmark spans HOME, ABOUT, PORTFOLIO and CONTACT. */
.corner-circular-text{position:fixed;right:3.4vw;bottom:3vh;width:clamp(120px,10.42vw,200px);aspect-ratio:1;z-index:12;color:#49220c;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:clamp(14.4px,1.25vw,24px);font-weight:900;text-align:center;border-radius:50%;perspective:500px;cursor:var(--cursor-grab, grab);touch-action:none;user-select:none;-webkit-user-select:none}
.corner-circular-text.is-dragging{cursor:var(--cursor-grabbing, grabbing)}
.corner-circle-tilt,.corner-circle-ring{position:absolute;inset:0;transform-style:preserve-3d}
.corner-circle-letter{position:absolute;inset:0;white-space:pre;pointer-events:none}
.corner-circle-letter>span{display:inline-block;line-height:1.1}
.corner-circle-globe{position:absolute;left:39%;top:39%;width:22%;height:22%;pointer-events:none}
.corner-circular-text:focus-visible{outline:2px dashed currentColor;outline-offset:6px}
body.on-contact .corner-circular-text{color:#fff}
@media(max-width:600px){.corner-circular-text{right:18px;bottom:20px;width:100px;font-size:12px}}

body.on-home .corner-circular-text{color:#fff}
