*{margin:0;padding:0;box-sizing:border-box;min-width:0;font-family:inherit}
:root{--white:#fff;--pink:#c32865;--bg:#0e1212;--bg-rgb:14,18,18;--light:#dbdbdb;--grey:grey;--comment:#555}
html{background:var(--bg);font-family:"Roboto Mono","SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:100%;color:#888;scroll-behavior:smooth;overflow-x:hidden}
body{min-height:100vh;background:var(--bg)}
a{text-decoration:none}.pink,.-pink{color:var(--pink)}.white,.-white{color:var(--white)}.-gray{color:var(--grey)}.-comment{color:var(--comment)}
.wrapper{position:relative;z-index:1;padding-bottom:16vh;min-height:100vh}.wrapper:after{content:"";display:block;position:absolute;top:50vh;bottom:50vh;left:calc(25vw - 2rem);z-index:3;width:1px;opacity:.3;background:var(--pink);pointer-events:none}
.static-container{padding:calc(50vh - 3.5rem) 0 0;margin:0 25vw;min-height:100vh;perspective:900px;perspective-origin:50% 50vh}.content-container{margin:0 25vw;max-width:58rem}.home-section{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:7rem 0}.gap{height:12vh}
.title{display:block;color:var(--light);font-size:4rem;font-weight:700;word-spacing:-.1em;letter-spacing:-.05em;word-break:break-word;margin-right:-25vw;padding-right:1rem;line-height:1.05}.title .func,.title .params{color:var(--pink)}.title .params{font-weight:400;letter-spacing:-2px}
.std{max-width:46rem;font-size:1rem;line-height:1.55;color:var(--light);word-break:normal}.std p{margin-bottom:1rem}.std .-big{display:block;font-size:2.6rem;font-weight:700;word-spacing:-.06em;letter-spacing:-.04em;line-height:1.16}
#home .std{font-size:1.15rem}.section-kicker{color:var(--comment);margin-bottom:1rem}.section-space{margin-top:3rem}
.spine{position:fixed;z-index:2;top:50vh;bottom:0;left:calc(25vw - 2rem);width:1px;background:var(--pink) linear-gradient(0deg,var(--bg) 1rem,rgba(var(--bg-rgb),0) 20vh)}.spine-target{position:fixed;z-index:4;top:calc(50vh - 8px);left:calc(25vw - 2rem - 4px);width:9px;height:9px}.spine-target .circle,.spine-target .pulse{position:absolute;width:9px;height:9px;transform-origin:center;border-radius:3rem;background:var(--pink);border:1px solid var(--pink)}.spine-target .pulse{animation:pulse 3s ease-out infinite;background:transparent}@keyframes pulse{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(6)}}
#header{position:fixed;top:0;left:0;z-index:20;width:100%;height:8rem;padding:0 1rem 5rem}.header-bg{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,var(--bg) 3rem,rgba(var(--bg-rgb),0))}.header-container{display:flex;align-items:center;justify-content:space-between;height:3rem;max-width:80rem;margin:0 auto}.header-breadcrumb{font-size:1.2rem;font-weight:700;color:var(--pink)}.header-nav,.header-nav ul{display:flex;align-items:center}.header-nav ul,.header-nav li{list-style:none}.header-nav li{margin-left:1rem}.header-nav a{height:2rem;display:flex;align-items:center;color:var(--light);transition:color .25s ease;line-height:1}.header-nav a:hover{color:var(--pink)}.header-nav a.active{opacity:.45;cursor:default}.header-nav svg{width:1.2rem;height:1.2rem;fill:var(--pink)}.header-nav-button,.header-nav-close-button{display:none;background:none;border:0;color:var(--light);cursor:pointer}
.about-contact{margin:2rem 0;display:flex;align-items:center;flex-wrap:wrap;gap:1rem}.about-contact li{display:flex;align-items:center;list-style:none;color:var(--grey)}.about-contact a{display:flex;align-items:center}.about-contact .ico{width:1.5rem;height:1.5rem;fill:var(--pink);stroke:var(--bg);stroke-width:2px}.about-contact a:hover .ico{fill:var(--light)}.about-contact a.bt{background:var(--pink);color:var(--bg);padding:0 1rem;height:2rem;border-radius:3rem;line-height:2rem;gap:.5rem}.about-contact a.bt:hover{background:var(--light)}.about-contact a.bt .ico{width:14px;height:14px;fill:none}
.about-grid{padding:3rem 2rem 0 0;margin-right:-25vw;width:75vw}.about-grid h2{font-size:1.2rem;margin:2.5rem 0 1rem;color:var(--light)}.about-grid h2 span{font-weight:400}.about-grid ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem 2rem}.about-grid li{list-style:none;font-size:1rem;line-height:1.5;color:var(--grey)}.about-grid a{color:var(--grey)}.about-grid a:hover{color:var(--pink)}.about-grid .experience ul{grid-template-columns:repeat(3,minmax(0,1fr))}.about-grid .languages ul,.about-grid .busy ul{grid-template-columns:repeat(3,minmax(0,1fr))}
.work-list{margin:4rem -25vw 0 0;padding-right:1rem}.work-list li{list-style:none;margin:0 0 4rem}.work-list a{display:flex;align-items:center;color:var(--light)}.work-list a:hover strong{color:var(--light)}.work-list img,.work-list .project-mark{border-radius:50%;flex:0 0 auto;width:16rem;height:16rem;display:block;margin-right:2rem}.work-list img{object-fit:cover}.work-list .project-mark{display:flex;align-items:center;justify-content:center;border:1px solid var(--pink);color:var(--pink);font-size:4rem;font-weight:700;letter-spacing:-.08em}.work-list strong{color:var(--pink);font-size:3.5rem;line-height:1.1;transition:color .25s ease}.work-list .details{max-width:42rem}
.timeline{margin-top:3rem;display:grid;gap:1.25rem}.timeline-item{border-left:1px solid var(--pink);padding:.2rem 0 .2rem 1.5rem}.timeline-item strong{color:var(--light);font-size:1.15rem}.timeline-item span{color:var(--pink)}
.madeof{margin:30px 0 4rem}.cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;color:var(--pink)}.cols li{list-style:none;line-height:1.6}.cols .ico{margin-bottom:1rem;color:var(--light)}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}
.footer-note{margin-top:4rem;color:var(--comment);font-size:.85rem}
@media(max-width:1024px){.about-grid{margin-right:-15vw;width:70vw}.about-grid ul,.about-grid .experience ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){body.nav-open .header-nav{transform:translateX(0)}body.nav-open .wrapper{opacity:.15}.header-nav-button{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;font-size:1.6rem}.header-nav-close-button{display:block;position:absolute;top:1rem;right:1rem;font-size:2rem}.header-nav{position:fixed;top:0;right:0;width:100vw;height:100vh;padding:7rem 1.5rem 3rem;align-items:flex-end;justify-content:flex-end;background:rgba(var(--bg-rgb),.98);transform:translateX(105%);transition:transform .6s cubic-bezier(.86,0,.07,1)}.header-nav ul{display:block;text-align:right}.header-nav li{margin:0 0 2rem}.header-nav a{justify-content:flex-end;font-size:2.5rem;font-weight:700;height:auto}.header-nav .social-link{display:inline-block;margin-left:1.5rem}.static-container,.content-container{margin-left:18vw;margin-right:8vw}.wrapper:after,.spine{left:calc(18vw - 1.25rem)}.spine-target{left:calc(18vw - 1.25rem - 4px)}.title{font-size:2.8rem;margin-right:-8vw}.std .-big{font-size:2rem}.about-grid{width:82vw;margin-right:-8vw;padding-right:0}.about-grid ul,.about-grid .experience ul,.about-grid .languages ul,.about-grid .busy ul{grid-template-columns:repeat(2,minmax(0,1fr))}.work-list{margin-right:-4vw}.work-list img,.work-list .project-mark{width:9rem;height:9rem}.work-list .project-mark{font-size:2.4rem}.work-list strong{font-size:2.5rem}}
@media(max-width:568px){.static-container{padding-top:28vh;margin-left:15vw;margin-right:7vw}.content-container{margin-left:15vw;margin-right:7vw}.wrapper:after,.spine{left:calc(15vw - 1rem)}.spine-target{left:calc(15vw - 1rem - 4px)}.title{font-size:2.2rem}.std{font-size:.92rem}#home .std{font-size:1rem}.std .-big{font-size:1.55rem}.about-grid{width:85vw;margin-right:-7vw}.about-grid ul,.about-grid .experience ul,.about-grid .languages ul,.about-grid .busy ul{grid-template-columns:1fr}.work-list{margin-right:0}.work-list a{display:block}.work-list img,.work-list .project-mark{width:65%;height:auto;aspect-ratio:1/1;margin:0 0 1rem}.work-list strong{font-size:2rem}.cols{grid-template-columns:1fr}.home-section{min-height:auto;padding:25vh 0}.header-nav a{font-size:2rem}}

/* === Restored motion layer (v2) === */
.js body{overflow-x:hidden}

/* Page entrance: close to the original GSAP intro */
.js .header-breadcrumb{opacity:0;transform:translate3d(-32px,0,0)}
.js .spine{opacity:0;transform:translate3d(0,20%,0)}
.js .spine-target .circle{opacity:0;transform:scale(0)}
.js .intro-scene [data-intro="title"],
.js .page-intro-part.title{opacity:0;transform:rotateX(90deg);transform-origin:50% 50% -100px}
.js .intro-scene [data-intro="std"],
.js .page-intro-part.std{opacity:0;transform:translate3d(-32px,0,0)}
.is-loaded .header-breadcrumb{opacity:1;transform:none;transition:opacity .8s .05s cubic-bezier(.16,1,.3,1),transform .8s .05s cubic-bezier(.16,1,.3,1)}
.is-loaded .spine{opacity:1;transform:none;transition:opacity 1s .1s cubic-bezier(.16,1,.3,1),transform 1s .1s cubic-bezier(.16,1,.3,1)}
.is-loaded .spine-target .circle{opacity:1;transform:scale(1);transition:opacity .7s .7s ease,transform 1.1s .7s cubic-bezier(.34,1.56,.64,1),background-color 1.6s 1.1s ease}
.is-loaded .intro-scene [data-intro="title"],
.is-loaded .page-intro-part.title{opacity:1;transform:none;transition:opacity 1.4s .45s cubic-bezier(.16,1,.3,1),transform 1.8s .45s cubic-bezier(.16,1,.3,1)}
.is-loaded .intro-scene [data-intro="std"],
.is-loaded .page-intro-part.std{opacity:1;transform:none;transition:opacity 1.25s 1.05s cubic-bezier(.16,1,.3,1),transform 1.25s 1.05s cubic-bezier(.16,1,.3,1)}

/* stronger pulse during the first entrance */
.is-loaded .spine-target .pulse{animation:restoredPulse 3.8s 1.05s cubic-bezier(.16,1,.3,1) infinite}
@keyframes restoredPulse{0%{opacity:.72;transform:scale(0)}55%{opacity:.18}100%{opacity:0;transform:scale(8)}}
.spine-target{transform:translate3d(var(--px,0),var(--py,0),0);transition:transform .25s ease-out}

/* Original-style scrubbed/pinned home scenes */
.page-home .scroll-scene{display:block;position:relative;min-height:155vh;padding:0}
.page-home .scroll-scene .scene-inner{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:center;perspective:900px;perspective-origin:50% 50%;visibility:hidden;will-change:transform,opacity}
.page-home .scroll-scene [data-scene-part]{will-change:transform,opacity;transform-style:preserve-3d;backface-visibility:hidden}
.page-home .scroll-scene [data-scene-item]{opacity:0;will-change:transform,opacity}
.page-home .ending-scene{min-height:100vh;display:flex;flex-direction:column;justify-content:center;position:relative}
.page-home .ending-scene:before{content:none}

/* More substantial reveal than the temporary simple fade */
.js .reveal-rich{opacity:0;transform:translate3d(0,38px,0) rotateX(7deg) scale(.985);transform-origin:50% 0;filter:blur(3px);transition:opacity .9s var(--reveal-delay,0ms) cubic-bezier(.16,1,.3,1),transform 1.05s var(--reveal-delay,0ms) cubic-bezier(.16,1,.3,1),filter .9s var(--reveal-delay,0ms) ease}
.js .reveal-rich.is-visible{opacity:1;transform:none;filter:blur(0)}

/* Project cards receive a subtle image zoom on reveal/hover */
.work-list li{perspective:900px}
.work-list li img,.work-list li .project-mark{transition:transform .7s cubic-bezier(.16,1,.3,1),filter .7s ease}
.work-list li:hover img,.work-list li:hover .project-mark{transform:scale(1.035) rotate(-1deg);filter:brightness(1.08)}

/* Scroll-reactive header gradient */
.header-bg{opacity:calc(.78 + var(--header-scroll,0) * .22)}

/* Keep accessibility preference intact */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .js .reveal-rich,.js .intro-scene [data-intro],.js .page-intro-part,.js .header-breadcrumb,.js .spine,.js .spine-target .circle{opacity:1!important;transform:none!important;filter:none!important}
  .page-home .scroll-scene .scene-inner{visibility:visible!important}
}

@media(max-width:568px){
  /* Sticky scrub can feel cramped on phones; use the rich reveal there instead. */
  .page-home .scroll-scene{min-height:auto;padding:25vh 0}
  .page-home .scroll-scene .scene-inner{position:relative;top:auto;height:auto;visibility:visible!important;display:block}
  .page-home .scroll-scene [data-scene-part],.page-home .scroll-scene [data-scene-item]{opacity:1!important;transform:none!important}
}


/* === Floating SVG mascots — cinematic storytelling v23 ===
   Long arcs, direction-aware follow-through, depth, subtle occlusion and
   short interactions. Artwork is never stretched or squashed. */
.mascot-layer{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:layout paint;isolation:isolate}
.page-home .wrapper{z-index:1}
.mascot{position:absolute;opacity:0;will-change:transform,opacity;transform:translate3d(var(--mx,0),var(--my,0),0) rotate(var(--mr,0deg)) scale(var(--ms,1));transform-origin:50% 50%;transition:opacity .12s linear;filter:drop-shadow(0 1rem 1.8rem rgba(0,0,0,.28))}
.mascot-float{position:relative;width:100%;height:100%;will-change:transform;transform-origin:50% 55%}
.mascot img{position:relative;z-index:1;display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none;pointer-events:none}
.mascot-rig{position:relative;width:100%;height:auto}
.mascot-base{display:block;width:100%;height:auto}
.part-eraser,.part-layer{position:absolute;inset:0;pointer-events:none;will-change:transform}
.part-layer img{display:block;width:100%;height:auto}
.part-eraser{z-index:2;background:var(--bg)}
.part-layer{z-index:3}

/* Antenna secondary motion. This overlay only covers the antenna area and
   follows the astronaut a fraction later than the body. */
.astronaut-antenna-eraser{clip-path:polygon(90% 0%,99% 0%,99% 8.5%,95.5% 9%,92.3% 21.8%,88.5% 21.8%,90.6% 8.2%,90% 8.2%)}
.astronaut-antenna{clip-path:polygon(90% 0%,99% 0%,99% 8.5%,95.5% 9%,92.3% 21.8%,88.5% 21.8%,90.6% 8.2%,90% 8.2%);transform-origin:91.2% 21.2%;transform:rotate(var(--antenna-r,0deg))}

/* Only the distal tail is separated visually. It trails movement instead of
   swaying on a permanent loop. */
.dino-tail-eraser{clip-path:polygon(70% 59%,100% 55%,100% 83%,82% 89%,70% 80%)}
.dino-tail{clip-path:polygon(70% 59%,100% 55%,100% 83%,82% 89%,70% 80%);transform-origin:70.5% 70%;transform:rotate(var(--tail-r,0deg))}

/* Astronaut: very light idle; all meaningful drift is scroll-driven. */
.mascot-astronaut{width:clamp(205px,22.5vw,370px);right:1.3vw;top:13vh}
.mascot-astronaut .mascot-float{animation:astronautIdle 11.8s cubic-bezier(.37,0,.63,1) infinite}
@keyframes astronautIdle{
  0%,100%{transform:translate3d(0,-4px,0) rotate(-.30deg)}
  28%{transform:translate3d(-3px,0,0) rotate(.12deg)}
  57%{transform:translate3d(1px,4px,0) rotate(.32deg)}
  81%{transform:translate3d(4px,0,0) rotate(-.10deg)}
}

/* Dino: alert but grounded. No bounce loop. */
.mascot-dino{width:clamp(212px,23vw,382px);left:.8vw;top:39vh;clip-path:inset(0 0 0 var(--dino-clip,0%));will-change:transform,opacity,clip-path}
.mascot-dino .mascot-float{animation:dinoIdle 9.8s cubic-bezier(.37,0,.63,1) infinite}
@keyframes dinoIdle{
  0%,100%{transform:translate3d(-2px,-2px,0) rotate(-.18deg)}
  32%{transform:translate3d(2px,0,0) rotate(.10deg)}
  64%{transform:translate3d(1px,2px,0) rotate(.18deg)}
  86%{transform:translate3d(-2px,0,0) rotate(-.07deg)}
}

/* Turtle: slow swim. The hand wave lives inside Turtle.svg. */
.mascot-turtle{width:clamp(190px,20.5vw,326px);right:-.2vw;top:62vh;transform-origin:50% 72%}
.mascot-turtle .mascot-float{animation:turtleIdle 11.6s cubic-bezier(.37,0,.63,1) infinite}
@keyframes turtleIdle{
  0%,100%{transform:translate3d(0,2px,0) rotate(.08deg)}
  31%{transform:translate3d(-2px,-2px,0) rotate(-.12deg)}
  64%{transform:translate3d(-1px,-4px,0) rotate(-.18deg)}
  85%{transform:translate3d(2px,-1px,0) rotate(.08deg)}
}

@media(max-width:1024px){
  .mascot-astronaut{width:clamp(185px,27vw,315px);right:-4vw;top:15vh}
  .mascot-dino{width:clamp(190px,28vw,325px);left:-5vw;top:42vh}
  .mascot-turtle{width:clamp(168px,24vw,282px);right:-5vw;top:66vh}
}
@media(max-width:768px){
  .mascot-layer{opacity:.92}
  .mascot-astronaut{width:clamp(150px,39vw,228px);right:-10vw;top:18vh}
  .mascot-dino{width:clamp(158px,41vw,238px);left:-13vw;top:49vh}
  .mascot-turtle{width:clamp(146px,36vw,220px);right:-10vw;top:70vh}
}
@media(max-width:568px){
  .mascot-layer{opacity:.82}
  .mascot-astronaut{width:41vw;right:-15vw;top:21vh}
  .mascot-dino{width:42vw;left:-16vw;top:54vh}
  .mascot-turtle{width:37vw;right:-15vw;top:73vh}
  .part-eraser,.part-layer{display:none}
}
@media (prefers-reduced-motion:reduce){
  .mascot-float{animation:none!important}
  .part-layer{transform:none!important}
  .mascot{transform:none!important;opacity:.38!important;filter:none!important}
  .mascot-astronaut{right:-8vw;top:18vh}
  .mascot-dino{left:-9vw;top:49vh}
  .mascot-turtle{right:-7vw;top:70vh}
}

/* === Animated potion above // Built with === */
.potion-stage{
  --potion-y:16px;
  --potion-r:-3deg;
  --potion-scale:.92;
  position:relative;
  width:clamp(92px,9.5vw,132px);
  aspect-ratio:1/1;
  margin:0 0 2px .45rem;
  opacity:0;
  transform:translate3d(0,var(--potion-y),0) rotate(var(--potion-r)) scale(var(--potion-scale));
  transform-origin:50% 84%;
  will-change:transform,opacity;
  filter:drop-shadow(0 .95rem 1.8rem rgba(0,0,0,.32));
}
.potion-stage::before{
  content:"";
  position:absolute;
  inset:16% 10% 8%;
  z-index:-2;
  border-radius:50%;
  background:none;
  filter:none;
  transform:none;
}
.potion-stage::after{
  content:"";
  position:absolute;
  left:18%; right:18%; bottom:7%;
  height:10%;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,0,0,.16),rgba(0,0,0,0) 72%);
  filter:blur(6px);
}
.potion-orbit{
  width:100%;
  height:100%;
  transform-origin:50% 86%;
  animation:potionFloat 6.8s cubic-bezier(.45,.05,.55,.95) infinite;
}
.potion-orbit img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
  transform-origin:50% 86%;
  animation:potionWobble 7.9s ease-in-out infinite;
}
@keyframes potionFloat{
  0%,100%{transform:translate3d(-3px,3px,0) rotate(-2.4deg)}
  22%{transform:translate3d(1px,-4px,0) rotate(-.7deg)}
  44%{transform:translate3d(6px,-9px,0) rotate(2.1deg)}
  68%{transform:translate3d(0,-11px,0) rotate(1.1deg)}
  86%{transform:translate3d(-5px,-4px,0) rotate(-1.5deg)}
}
@keyframes potionWobble{
  0%,100%{transform:rotate(-.9deg) translate3d(0,0,0) scale(1)}
  24%{transform:rotate(.45deg) translate3d(1px,-1px,0) scale(1.006)}
  54%{transform:rotate(1.35deg) translate3d(-1px,0,0) scale(1.008)}
  76%{transform:rotate(-.2deg) translate3d(1px,1px,0) scale(1.002)}
}
@media(max-width:768px){
  .potion-stage{width:clamp(84px,22vw,116px);margin-left:.25rem;margin-bottom:2px}
}
@media(prefers-reduced-motion:reduce){
  .potion-stage{opacity:1!important;transform:none!important}
  .potion-orbit,.potion-orbit img{animation:none!important}
}


/* === Work showcase v24 === */
.page-work .work-wrapper{padding-bottom:12vh}
.page-work .work-hero{min-height:76vh;padding-top:calc(42vh - 3.5rem);display:flex;flex-direction:column;justify-content:flex-start}
.work-eyebrow{color:var(--pink);font-size:.9rem;letter-spacing:.04em;margin:0 0 1.15rem}
.work-simple{margin-top:-2vh;margin-right:12vw;padding-bottom:10vh;border-top:1px solid rgba(195,40,101,.22)}
.work-row{position:relative;display:grid;grid-template-columns:8.5rem minmax(0,1fr) 2rem;gap:2rem;align-items:center;min-height:11.5rem;padding:1.55rem .4rem 1.55rem 0;border-bottom:1px solid rgba(255,255,255,.085);color:inherit;transition:transform .42s cubic-bezier(.16,1,.3,1),border-color .35s ease,background .35s ease}
.work-row::before{content:"";position:absolute;left:-1.15rem;top:20%;bottom:20%;width:1px;background:var(--pink);transform:scaleY(0);transform-origin:50% 100%;transition:transform .48s cubic-bezier(.16,1,.3,1)}
.work-row:hover{transform:translate3d(7px,0,0);border-color:rgba(195,40,101,.34);background:linear-gradient(90deg,rgba(195,40,101,.025),transparent 38%)}
.work-row:hover::before{transform:scaleY(1)}
.work-logo{width:8.5rem;height:7rem;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:transform .5s cubic-bezier(.16,1,.3,1),filter .4s ease}
.work-row:hover .work-logo{transform:translate3d(0,-3px,0) scale(1.025)}
.work-logo img{display:block;max-width:78%;max-height:72%;width:auto;height:auto;object-fit:contain;border:0;border-radius:0;filter:none}
.work-logo--golden{background:rgba(255,255,255,.025);border:1px solid rgba(244,188,56,.18)}
.work-logo--golden img{max-width:58%;max-height:62%}
.work-logo--internet{flex-direction:column;gap:.5rem;background:#f7f7f4;color:#111;border:1px solid rgba(255,255,255,.08);padding:.85rem;text-align:center}
.internet-wordmark{display:flex;align-items:center;justify-content:center;gap:.32rem;font-family:Arial,sans-serif;font-size:.9rem;font-weight:700;line-height:1;white-space:nowrap}
.internet-wordmark b{font-size:.95rem;font-weight:400}
.work-logo--internet small{font-size:.52rem;letter-spacing:.04em;color:#646464;font-family:Arial,sans-serif}
.work-logo--vanlier{background:#7d8884}
.work-logo--vanlier img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:cover}
.work-copy{min-width:0}
.work-meta{display:flex;align-items:center;gap:1rem;color:var(--comment);font-size:.72rem;text-transform:uppercase;letter-spacing:.055em;margin-bottom:.6rem}
.project-live{display:inline-flex;align-items:center;gap:.42rem;color:#8b9b8f;text-transform:none;letter-spacing:0;margin-left:auto}
.project-live i{width:5px;height:5px;border-radius:50%;background:#79a883;box-shadow:0 0 0 3px rgba(121,168,131,.07)}
.work-row h2{color:var(--pink);font-size:clamp(1.65rem,3vw,2.65rem);line-height:1.05;letter-spacing:-.045em;margin:0 0 .55rem;transition:color .32s ease}
.work-row:hover h2{color:var(--light)}
.work-row p{max-width:42rem;color:var(--grey);font-size:.93rem;line-height:1.55;margin:0}
.work-arrow{justify-self:end;color:var(--pink);font-size:1.25rem;transition:transform .38s cubic-bezier(.16,1,.3,1),color .3s ease}
.work-row:hover .work-arrow{transform:translate3d(3px,-3px,0);color:var(--light)}
.work-outro{padding:4vh 0 17vh;max-width:48rem}

/* Simple work-page reveal: no 3D tilt, only a restrained slide/fade. */
.page-work .work-row.reveal-rich{transform:translate3d(0,18px,0);filter:none}
.page-work .work-row.reveal-rich.is-visible{transform:translate3d(0,0,0)}
.page-work .work-row:nth-child(2){transition-delay:45ms}
.page-work .work-row:nth-child(3){transition-delay:90ms}

@media(max-width:900px){
  .work-simple{margin-right:7vw}
  .work-row{grid-template-columns:7rem minmax(0,1fr) 1.5rem;gap:1.4rem}
  .work-logo{width:7rem;height:6rem}
  .internet-wordmark{font-size:.76rem}
}
@media(max-width:680px){
  .page-work .work-hero{min-height:62vh;padding-top:23vh}
  .work-simple{margin-top:0;margin-right:7vw}
  .work-row{grid-template-columns:5.3rem minmax(0,1fr) 1.2rem;gap:1rem;min-height:9rem;padding:1.2rem 0}
  .work-logo{width:5.3rem;height:4.8rem}
  .work-logo--golden img{max-width:55%}
  .internet-wordmark{font-size:.58rem;gap:.15rem}
  .internet-wordmark b{font-size:.7rem}
  .work-logo--internet small{font-size:.38rem}
  .work-meta{display:block;font-size:.64rem}
  .project-live{margin:4px 0 0}
  .work-row h2{font-size:1.65rem}
  .work-row p{font-size:.84rem}
}


/* === Work page v26: large, simple project rows === */
.page-work .work-hero{min-height:74vh;padding-top:calc(40vh - 3.5rem)}
.work-large{max-width:none;margin-top:-3vh;margin-right:9vw;padding-bottom:10vh;border-top:1px solid rgba(255,255,255,.09)}
.work-large-row{position:relative;display:grid;grid-template-columns:minmax(15rem,34%) minmax(0,1fr);align-items:stretch;min-height:24rem;border-bottom:1px solid rgba(255,255,255,.09);color:inherit;overflow:hidden;transition:border-color .35s ease,transform .5s cubic-bezier(.16,1,.3,1)}
.work-large-row:hover{border-color:rgba(195,40,101,.32);transform:translate3d(4px,0,0)}
.work-large-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:24rem;padding:3rem;border-right:1px solid rgba(255,255,255,.07);overflow:hidden;background:rgba(255,255,255,.012)}
.work-large-visual::after{content:"";position:absolute;inset:auto 12% 10%;height:1px;background:linear-gradient(90deg,transparent,rgba(195,40,101,.24),transparent);transform:scaleX(.55);transition:transform .65s cubic-bezier(.16,1,.3,1),opacity .4s ease;opacity:.35}
.work-large-row:hover .work-large-visual::after{transform:scaleX(.9);opacity:.7}
.work-large-visual img{display:block;max-width:68%;max-height:12rem;width:auto;height:auto;object-fit:contain;border-radius:0;transition:transform .7s cubic-bezier(.16,1,.3,1),filter .5s ease}
.work-large-row:hover .work-large-visual img{transform:translate3d(0,-4px,0) scale(1.025);filter:brightness(1.06)}
.work-large-visual--golden img{max-width:42%;max-height:9.5rem}
.work-large-visual--internet{background:#f6f6f2;color:#111}
.internet-current-logo{display:flex;align-items:center;gap:.55rem;font-family:Arial,sans-serif;font-size:clamp(1.5rem,2.7vw,2.7rem);font-weight:700;letter-spacing:-.055em;white-space:nowrap;transition:transform .7s cubic-bezier(.16,1,.3,1)}
.internet-current-logo b{font-size:.86em;font-weight:400}
.work-large-row:hover .internet-current-logo{transform:translate3d(0,-4px,0) scale(1.02)}
.work-large-visual--vanlier{background:#7d8884}
.work-large-visual--vanlier img{max-width:78%;max-height:13rem;width:auto;height:auto}
.work-large-copy{display:flex;flex-direction:column;justify-content:center;padding:3.8rem 4rem}
.work-large-meta{display:flex;justify-content:space-between;gap:2rem;align-items:center;margin-bottom:1.2rem;color:var(--comment);font-size:.76rem;text-transform:uppercase;letter-spacing:.06em}
.work-large-meta time{color:var(--pink);white-space:nowrap;text-transform:none;letter-spacing:.02em;font-size:.8rem}
.work-large-copy h2{margin:0 0 1rem;color:var(--pink);font-size:clamp(2.6rem,5vw,4.8rem);line-height:.96;letter-spacing:-.065em;transition:color .35s ease,transform .55s cubic-bezier(.16,1,.3,1)}
.work-large-row:hover h2{color:var(--light);transform:translate3d(3px,0,0)}
.work-large-copy p{max-width:38rem;margin:0;color:var(--grey);font-size:1rem;line-height:1.65}
.work-large-link{display:inline-flex;align-items:center;gap:.65rem;margin-top:2rem;color:var(--light);font-size:.82rem}
.work-large-link b{color:var(--pink);font-size:1.1rem;transition:transform .38s cubic-bezier(.16,1,.3,1)}
.work-large-row:hover .work-large-link b{transform:translate3d(4px,-4px,0)}
.page-work .work-large-row.reveal-rich{opacity:0;transform:translate3d(0,28px,0);filter:none}
.page-work .work-large-row.reveal-rich.is-visible{opacity:1;transform:translate3d(0,0,0)}
.page-work .work-large-row:nth-child(2){transition-delay:55ms}
.page-work .work-large-row:nth-child(3){transition-delay:110ms}
@media(max-width:900px){
  .work-large{margin-right:7vw}
  .work-large-row{grid-template-columns:40% minmax(0,1fr);min-height:20rem}
  .work-large-visual{min-height:20rem;padding:2rem}
  .work-large-copy{padding:2.7rem}
  .work-large-copy h2{font-size:clamp(2.3rem,5vw,3.7rem)}
}
@media(max-width:680px){
  .page-work .work-hero{min-height:62vh;padding-top:23vh}
  .work-large{margin-top:0;margin-right:7vw}
  .work-large-row{grid-template-columns:1fr;min-height:0}
  .work-large-visual{min-height:13rem;border-right:0;border-bottom:1px solid rgba(255,255,255,.07);padding:2rem}
  .work-large-visual--golden img{max-width:28%;max-height:7rem}
  .work-large-visual--vanlier img{max-height:9rem}
  .internet-current-logo{font-size:clamp(1.45rem,7vw,2.1rem)}
  .work-large-copy{padding:2rem 1.4rem 2.5rem}
  .work-large-meta{font-size:.66rem;margin-bottom:1rem}
  .work-large-meta time{font-size:.7rem}
  .work-large-copy h2{font-size:2.35rem}
  .work-large-copy p{font-size:.88rem}
}


/* === Work page v27: large simple rows + internal case pages === */
.work-more-heading{padding:9rem 0 2rem}
.work-more-heading h2{margin:.25rem 0 0;color:var(--light);font-size:clamp(2.2rem,4vw,4rem);letter-spacing:-.055em}
.work-large--more{margin-top:0}
.work-large--more .work-large-row{min-height:20rem}
.work-large--more .work-large-visual{min-height:20rem}
.work-large-row{cursor:pointer}
.work-large-row:focus-visible{outline:1px solid var(--pink);outline-offset:4px}
.work-large-visual:not(.work-large-visual--golden):not(.work-large-visual--internet):not(.work-large-visual--vanlier) img{max-width:72%;max-height:12rem;border-radius:1.2rem}
.work-large-visual--internet img{max-width:78%;max-height:12rem;object-fit:contain}
.work-large-copy .work-large-link b{font-weight:400}

/* Detail pages */
.project-detail-wrapper{padding-bottom:12vh}
.project-detail-hero{min-height:auto;padding-top:22vh;padding-bottom:7rem}
.project-back{display:inline-flex;margin-bottom:2rem;color:var(--comment);font-size:.8rem;transition:color .25s ease,transform .25s ease}
.project-back:hover{color:var(--pink);transform:translateX(-3px)}
.project-detail-meta{display:flex;justify-content:space-between;gap:2rem;max-width:54rem;margin-bottom:1rem;color:var(--comment);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}
.project-detail-meta time{color:var(--pink);text-transform:none;letter-spacing:0;white-space:nowrap}
.project-detail-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(17rem,.85fr);gap:4rem;align-items:center;margin-top:3rem;margin-right:-12vw}
.project-detail-copy .-big{font-size:clamp(1.75rem,2.8vw,2.9rem);line-height:1.18}
.project-detail-button{display:inline-flex;align-items:center;margin-top:1.5rem;padding:.7rem 1rem;border:1px solid rgba(195,40,101,.4);border-radius:999px;color:var(--light);font-size:.8rem;transition:background .25s ease,border-color .25s ease,transform .25s ease}
.project-detail-button:hover{background:rgba(195,40,101,.08);border-color:var(--pink);transform:translateY(-2px)}
.project-detail-visual{min-height:23rem;display:flex;align-items:center;justify-content:center;padding:3rem;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.015);overflow:hidden}
.project-detail-visual img{display:block;max-width:82%;max-height:17rem;width:auto;height:auto;object-fit:contain}
.project-detail-visual--golden img{max-width:52%}
.project-detail-visual--internet{background:#f5f5f1}
.project-detail-visual--vanlier{background:#7d8884}
.project-detail-visual--vanlier img{max-width:82%}
.project-detail-notes{padding:6rem 0 8rem}
.project-detail-notes-grid{margin-top:2rem;border-top:1px solid rgba(255,255,255,.09)}
.project-detail-note{display:grid;grid-template-columns:4rem 1fr;gap:1.5rem;padding:2rem 0;border-bottom:1px solid rgba(255,255,255,.09)}
.project-detail-note>span{color:var(--pink);font-size:.72rem}
.project-detail-note h3{margin:0 0 .5rem;color:var(--light);font-size:1.1rem}
.project-detail-note p{max-width:42rem;color:var(--grey);line-height:1.65}
.project-detail-next{padding-bottom:12rem}
.project-detail-next a{display:inline-flex;margin-top:.5rem;color:var(--pink);font-size:clamp(1.6rem,3vw,2.8rem);font-weight:700;letter-spacing:-.04em;transition:color .25s ease,transform .25s ease}
.project-detail-next a:hover{color:var(--light);transform:translateX(4px)}

@media(max-width:1024px){
  .project-detail-layout{margin-right:-5vw;gap:2.5rem}
  .project-detail-visual{min-height:19rem}
}
@media(max-width:768px){
  .work-more-heading{padding:6rem 0 1rem}
  .project-detail-hero{padding-top:18vh;padding-bottom:4rem}
  .project-detail-layout{grid-template-columns:1fr;margin-right:0;gap:2rem}
  .project-detail-visual{min-height:15rem;padding:2rem}
  .project-detail-meta{display:block}
  .project-detail-meta time{display:block;margin-top:.4rem}
  .project-detail-notes{padding:4rem 0 6rem}
}
@media(max-width:568px){
  .project-detail-note{grid-template-columns:2.5rem 1fr;gap:1rem}
  .project-detail-visual{min-height:13rem}
}


/* === Work v28: compact large rows === */
.page-work .work-hero{min-height:82vh}
.page-work .work-large{
  max-width:64rem;
  margin-top:-6vh;
  margin-right:auto;
  padding-bottom:7vh;
}
.page-work .work-large-row{
  grid-template-columns:minmax(12rem,29%) minmax(0,1fr);
  min-height:16.5rem;
}
.page-work .work-large-visual{
  min-height:16.5rem;
  padding:2rem;
}
.page-work .work-large-visual img{
  max-width:68%;
  max-height:8.5rem;
}
.page-work .work-large-visual--golden img{
  max-width:38%;
  max-height:7rem;
}
.page-work .work-large-visual--vanlier img{
  max-width:76%;
  max-height:8.5rem;
}
.page-work .work-large-copy{
  padding:2.4rem 2.8rem;
}
.page-work .work-large-copy h2{
  margin-bottom:.65rem;
  font-size:clamp(2.15rem,3.8vw,3.45rem);
  line-height:1;
}
.page-work .work-large-copy p{
  max-width:34rem;
  font-size:.9rem;
  line-height:1.55;
}
.page-work .work-large-meta{
  margin-bottom:.8rem;
  font-size:.68rem;
}
.page-work .work-large-meta time{font-size:.72rem}
.page-work .work-large-link{
  margin-top:1.25rem;
  font-size:.74rem;
}
.page-work .work-more-heading{
  max-width:64rem;
  padding:6rem 0 1.4rem;
}
.page-work .work-more-heading h2{
  font-size:clamp(1.9rem,3.2vw,3rem);
}
.page-work .work-large--more .work-large-row,
.page-work .work-large--more .work-large-visual{
  min-height:14.5rem;
}

/* Jacob project mark */
.work-large-visual--jacob{
  background:
    radial-gradient(circle at 50% 46%,rgba(195,40,101,.09),transparent 46%),
    rgba(255,255,255,.008);
}
.jacob-mark{
  position:relative;
  width:8.4rem;
  height:8.4rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(195,40,101,.44);
  border-radius:50%;
  box-shadow:0 0 0 1rem rgba(195,40,101,.035);
}
.jacob-mark strong{
  color:var(--light);
  font-size:3.7rem;
  line-height:1;
  letter-spacing:-.12em;
  transform:translateX(-.12em);
}
.jacob-mark small{
  position:absolute;
  right:1rem;
  bottom:1.35rem;
  color:#f4bc38;
  font-size:.62rem;
  letter-spacing:.06em;
}
.jacob-mark-dot{
  position:absolute;
  top:.9rem;
  right:1.25rem;
  width:.45rem;
  height:.45rem;
  border-radius:50%;
  background:#f4bc38;
  box-shadow:0 0 1rem rgba(244,188,56,.36);
}
.jacob-mark i{
  position:absolute;
  left:1rem;
  bottom:1.2rem;
  width:.34rem;
  height:.34rem;
  border-radius:50%;
  background:var(--pink);
}
.jacob-mark i:nth-of-type(2){left:1.62rem;opacity:.65}
.jacob-mark i:nth-of-type(3){left:2.24rem;opacity:.35}

/* Jacob detail visual */
.project-detail-visual--jacob{
  background:
    radial-gradient(circle at 70% 30%,rgba(195,40,101,.12),transparent 42%),
    rgba(255,255,255,.01);
}
.jacob-detail-console{
  width:min(100%,24rem);
  border:1px solid rgba(255,255,255,.1);
  background:#0b0f0f;
  box-shadow:0 1.5rem 4rem rgba(0,0,0,.32);
}
.jacob-console-top{
  display:flex;
  align-items:center;
  gap:.38rem;
  min-height:2.25rem;
  padding:0 .75rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.jacob-console-top span{
  width:.45rem;height:.45rem;border-radius:50%;
  background:var(--comment);
}
.jacob-console-top span:first-child{background:var(--pink)}
.jacob-console-top span:nth-child(2){background:#f4bc38}
.jacob-console-top b{
  margin-left:.55rem;
  color:var(--comment);
  font-size:.62rem;
  font-weight:400;
}
.jacob-console-body{
  position:relative;
  padding:1.4rem;
  min-height:11rem;
  color:var(--grey);
  font-size:.72rem;
  line-height:1.85;
}
.jacob-console-body p{margin:0}
.jacob-console-body em{color:var(--pink);font-style:normal}
.jacob-console-body span{
  display:inline-block;
  width:5rem;
  color:var(--light);
}
.jacob-console-pulse{
  position:absolute;
  right:1.25rem;
  bottom:1.25rem;
  width:.55rem;
  height:.55rem;
  border-radius:50%;
  background:#f4bc38;
  box-shadow:0 0 0 0 rgba(244,188,56,.28);
  animation:jacobPulse 2.8s ease-out infinite;
}
@keyframes jacobPulse{
  0%{box-shadow:0 0 0 0 rgba(244,188,56,.28)}
  70%,100%{box-shadow:0 0 0 .75rem rgba(244,188,56,0)}
}

@media(max-width:1024px){
  .page-work .work-large{margin-right:7vw}
}
@media(max-width:768px){
  .page-work .work-hero{min-height:70vh}
  .page-work .work-large{margin-top:0;margin-right:7vw}
  .page-work .work-large-row{grid-template-columns:34% minmax(0,1fr);min-height:12rem}
  .page-work .work-large-visual{min-height:12rem;padding:1.2rem;border-bottom:0;border-right:1px solid rgba(255,255,255,.07)}
  .page-work .work-large-copy{padding:1.65rem}
  .page-work .work-large-copy h2{font-size:2rem}
  .page-work .work-large-copy p{font-size:.82rem}
  .page-work .work-large-link{margin-top:.8rem}
  .jacob-mark{width:6.2rem;height:6.2rem}
  .jacob-mark strong{font-size:2.7rem}
}
@media(max-width:568px){
  .page-work .work-large-row{grid-template-columns:1fr}
  .page-work .work-large-visual{min-height:9rem;border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}
  .page-work .work-large-copy{padding:1.45rem 1.2rem 1.7rem}
  .page-work .work-large-meta{align-items:flex-start}
  .page-work .work-large-copy h2{font-size:1.85rem}
  .page-work .work-more-heading{padding-top:4rem}
}


/* ======================================================================
   Work v29 — code-driven showcase that belongs to the main portfolio
   ====================================================================== */
.page-work .work-hero{
  position:relative;
  min-height:78vh;
}
.page-work .work-hero::after{
  content:"{ selectedProjects: 4, archive: 3 }";
  position:absolute;
  left:0;
  bottom:17vh;
  color:rgba(255,255,255,.12);
  font-size:.68rem;
  letter-spacing:.025em;
}
.page-work .work-large{
  position:relative;
  max-width:66rem;
  margin-top:-3vh;
  margin-right:auto;
  padding-bottom:6vh;
  counter-reset:workCard;
}
.page-work .work-large-row{
  --work-x:0px;
  --work-y:0px;
  --work-scroll-y:0px;
  --work-active:0;
  position:relative;
  isolation:isolate;
  grid-template-columns:minmax(12rem,30%) minmax(0,1fr);
  min-height:16.75rem;
  background:
    linear-gradient(90deg,rgba(195,40,101,calc(var(--work-active) * .032)),transparent 34%),
    rgba(255,255,255,.004);
  border-bottom:1px solid rgba(255,255,255,.085);
  transform:translate3d(0,0,0);
  transition:
    border-color .45s ease,
    background .5s ease,
    transform .55s cubic-bezier(.16,1,.3,1);
}
.page-work .work-large-row::before{
  content:attr(data-work-index);
  position:absolute;
  z-index:4;
  left:-3.75rem;
  top:50%;
  width:2.25rem;
  height:2.25rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(195,40,101,.32);
  border-radius:50%;
  color:rgba(195,40,101,.72);
  background:var(--bg);
  font-size:.6rem;
  transform:translate3d(0,-50%,0) scale(calc(.82 + var(--work-active) * .18));
  box-shadow:0 0 0 calc(var(--work-active) * .55rem) rgba(195,40,101,.035);
  transition:border-color .35s ease,color .35s ease,box-shadow .45s ease;
}
.page-work .work-large-row::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,
    rgba(195,40,101,calc(.08 + var(--work-active) * .32)),
    rgba(255,255,255,.04) 38%,
    transparent 82%);
  transform-origin:left;
  transform:scaleX(calc(.34 + var(--work-active) * .66));
  transition:transform .7s cubic-bezier(.16,1,.3,1);
}
.page-work .work-large-row.is-active{
  --work-active:1;
  border-color:rgba(195,40,101,.28);
}
.page-work .work-large-row:hover{
  transform:translate3d(5px,0,0);
  border-color:rgba(195,40,101,.38);
}
.page-work .work-large-row:hover::before{
  color:var(--pink);
  border-color:var(--pink);
}
.page-work .work-large-visual{
  position:relative;
  min-height:16.75rem;
  overflow:hidden;
  border-right:1px solid rgba(255,255,255,.065);
  background-color:rgba(255,255,255,.006);
}
.page-work .work-large-visual::before{
  content:"";
  position:absolute;
  z-index:0;
  left:0;
  right:0;
  top:-25%;
  height:28%;
  opacity:calc(.06 + var(--work-active) * .11);
  background:linear-gradient(180deg,transparent,rgba(195,40,101,.17),transparent);
  transform:translateY(calc(var(--work-active) * 350%));
  transition:transform 1.15s cubic-bezier(.16,1,.3,1),opacity .5s ease;
  pointer-events:none;
}
.page-work .work-large-visual::after{
  content:"[ preview ]";
  position:absolute;
  left:1rem;
  bottom:.8rem;
  height:auto;
  inset-inline-end:auto;
  background:none;
  color:rgba(255,255,255,.18);
  font-size:.55rem;
  letter-spacing:.05em;
  opacity:1;
  transform:none;
}
.page-work .work-large-visual img,
.page-work .jacob-mark{
  position:relative;
  z-index:1;
  transform:
    translate3d(var(--work-x),calc(var(--work-y) + var(--work-scroll-y)),0)
    scale(calc(1 + var(--work-active) * .018));
  transition:transform .18s ease-out,filter .45s ease;
}
.page-work .work-large-row:hover .work-large-visual img,
.page-work .work-large-row:hover .jacob-mark{
  filter:brightness(1.045);
}
.page-work .work-large-copy{
  position:relative;
  padding:2.5rem 3rem;
}
.page-work .work-large-copy::before{
  content:"project = {";
  display:block;
  margin-bottom:.55rem;
  color:rgba(255,255,255,.14);
  font-size:.6rem;
  letter-spacing:.035em;
}
.page-work .work-large-copy::after{
  content:"};";
  position:absolute;
  right:1.25rem;
  bottom:.8rem;
  color:rgba(195,40,101,.2);
  font-size:.8rem;
  transition:color .35s ease;
}
.page-work .work-large-row:hover .work-large-copy::after,
.page-work .work-large-row.is-active .work-large-copy::after{color:rgba(195,40,101,.65)}
.page-work .work-large-copy h2{
  position:relative;
  margin:0 0 .7rem;
  font-size:clamp(2.25rem,4vw,3.65rem);
  color:var(--pink);
  transition:color .35s ease,transform .5s cubic-bezier(.16,1,.3,1);
}
.page-work .work-large-row.is-active h2,
.page-work .work-large-row:hover h2{
  color:var(--light);
}
.page-work .work-large-copy h2::after{
  content:"()";
  margin-left:.08em;
  color:rgba(195,40,101,.3);
  font-weight:400;
  transition:color .35s ease;
}
.page-work .work-large-row:hover .work-large-copy h2::after,
.page-work .work-large-row.is-active .work-large-copy h2::after{
  color:rgba(195,40,101,.85);
}
.page-work .work-large-copy p{
  max-width:35rem;
  color:var(--grey);
  font-size:.91rem;
  line-height:1.58;
}
.page-work .work-large-meta{
  margin-bottom:.85rem;
}
.page-work .work-large-link{
  position:relative;
  margin-top:1.25rem;
  overflow:hidden;
  color:var(--comment);
}
.page-work .work-large-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-.25rem;
  width:100%;
  height:1px;
  background:var(--pink);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .45s cubic-bezier(.16,1,.3,1);
}
.page-work .work-large-row:hover .work-large-link{
  color:var(--pink);
}
.page-work .work-large-row:hover .work-large-link::after{
  transform:scaleX(1);
}
.page-work .work-more-heading{
  position:relative;
  max-width:66rem;
  padding:6rem 0 1.4rem;
}
.page-work .work-more-heading::after{
  content:"// archived, still part of the story";
  position:absolute;
  right:0;
  bottom:1.85rem;
  color:rgba(255,255,255,.13);
  font-size:.62rem;
}
.page-work .work-more-heading h2{
  font-size:clamp(2rem,3.3vw,3.2rem);
  color:var(--light);
}
.page-work .work-large--more .work-large-row,
.page-work .work-large--more .work-large-visual{
  min-height:14rem;
}
.page-work .work-large--more .work-large-row{
  opacity:.92;
}
.page-work .work-large--more .work-large-row:hover{
  opacity:1;
}

/* Work logo surface treatments stay brand-aware but restrained. */
.page-work .work-large-visual--golden{
  background:
    radial-gradient(circle at 50% 50%,rgba(244,188,56,.055),transparent 55%),
    rgba(255,255,255,.004);
}
.page-work .work-large-visual--jacob{
  background:
    radial-gradient(circle at 50% 46%,rgba(195,40,101,.09),transparent 48%),
    rgba(255,255,255,.003);
}

/* Detail page: same code language as the main portfolio */
.page-work-detail .project-detail-hero{
  position:relative;
  overflow:visible;
}
.page-work-detail .project-detail-hero::before{
  content:attr(data-project-index);
  position:absolute;
  z-index:-1;
  right:-8vw;
  top:14vh;
  color:rgba(195,40,101,.035);
  font-size:clamp(12rem,28vw,34rem);
  font-weight:700;
  line-height:.8;
  letter-spacing:-.12em;
  pointer-events:none;
}
.project-code-signature{
  margin:.75rem 0 1rem;
  color:rgba(255,255,255,.18);
  font-size:.72rem;
}
.project-code-signature span{color:var(--pink)}
.project-code-signature b{color:var(--grey);font-weight:400}
.page-work-detail .project-detail-hero .title{
  position:relative;
}
.page-work-detail .project-detail-hero .title::after{
  content:"()";
  margin-left:.08em;
  color:rgba(195,40,101,.38);
  font-weight:400;
}
.page-work-detail .project-detail-layout{
  position:relative;
}
.page-work-detail .project-detail-layout::before{
  content:"";
  position:absolute;
  left:-1.5rem;
  top:0;
  bottom:0;
  width:1px;
  background:linear-gradient(180deg,var(--pink),rgba(195,40,101,.08) 78%,transparent);
  opacity:.45;
}
.page-work-detail .project-detail-visual{
  --detail-x:0px;
  --detail-y:0px;
  --detail-scroll:0px;
  position:relative;
  isolation:isolate;
  box-shadow:0 1.6rem 5rem rgba(0,0,0,.18);
}
.page-work-detail .project-detail-visual::before{
  content:"";
  position:absolute;
  z-index:3;
  left:1rem;
  top:1rem;
  width:1.45rem;
  height:1.45rem;
  border-left:1px solid rgba(195,40,101,.55);
  border-top:1px solid rgba(195,40,101,.55);
  pointer-events:none;
}
.page-work-detail .project-detail-visual::after{
  content:"render.preview()";
  position:absolute;
  z-index:3;
  right:1rem;
  bottom:.8rem;
  color:rgba(255,255,255,.2);
  font-size:.56rem;
  letter-spacing:.035em;
  pointer-events:none;
}
.page-work-detail .project-detail-visual > img,
.page-work-detail .jacob-detail-console{
  transform:translate3d(var(--detail-x),calc(var(--detail-y) + var(--detail-scroll)),0);
  transition:transform .18s ease-out,filter .4s ease;
}
.page-work-detail .project-detail-visual:hover > img,
.page-work-detail .project-detail-visual:hover .jacob-detail-console{
  filter:brightness(1.04);
}
.page-work-detail .project-detail-notes{
  position:relative;
}
.page-work-detail .project-detail-note{
  position:relative;
  transition:background .35s ease,transform .4s cubic-bezier(.16,1,.3,1),border-color .35s ease;
}
.page-work-detail .project-detail-note::before{
  content:"";
  position:absolute;
  left:-1.25rem;
  top:50%;
  width:.45rem;
  height:.45rem;
  border-radius:50%;
  background:var(--bg);
  border:1px solid rgba(195,40,101,.42);
  transform:translateY(-50%);
  transition:background .35s ease,box-shadow .35s ease;
}
.page-work-detail .project-detail-note:hover{
  background:linear-gradient(90deg,rgba(195,40,101,.035),transparent 48%);
  transform:translateX(4px);
  border-color:rgba(195,40,101,.2);
}
.page-work-detail .project-detail-note:hover::before{
  background:var(--pink);
  box-shadow:0 0 0 .35rem rgba(195,40,101,.07);
}
.project-detail-brace{
  margin-top:1.5rem;
  color:var(--pink);
  font-size:1.6rem;
}
.page-work-detail .project-detail-next{
  position:relative;
}
.page-work-detail .project-detail-next::before{
  content:"return";
  display:block;
  margin-bottom:.5rem;
  color:rgba(255,255,255,.15);
  font-size:.68rem;
}

/* Make reveal feel like content resolving into place, not card pop-in. */
.page-work .work-large-row.reveal-rich,
.page-work-detail .reveal-rich{
  will-change:transform,opacity,filter;
}
.page-work .work-large-row.reveal-rich{
  clip-path:inset(0 0 12% 0);
}
.page-work .work-large-row.reveal-rich.is-visible{
  clip-path:inset(0 0 0 0);
}

/* Responsive */
@media(max-width:1024px){
  .page-work .work-large{margin-right:7vw}
  .page-work .work-large-row::before{left:-3rem}
  .page-work-detail .project-detail-hero::before{right:-4vw}
}
@media(max-width:768px){
  .page-work .work-hero{min-height:66vh}
  .page-work .work-hero::after{display:none}
  .page-work .work-large{margin-top:0;margin-right:7vw}
  .page-work .work-large-row{
    grid-template-columns:34% minmax(0,1fr);
    min-height:12.5rem;
  }
  .page-work .work-large-row::before{
    left:-2.35rem;
    width:1.75rem;
    height:1.75rem;
    font-size:.52rem;
  }
  .page-work .work-large-visual{min-height:12.5rem}
  .page-work .work-large-copy{padding:1.7rem}
  .page-work .work-large-copy h2{font-size:2rem}
  .page-work .work-large-copy p{font-size:.81rem}
  .page-work .work-more-heading::after{display:none}
  .page-work-detail .project-detail-hero::before{
    right:0;
    top:18vh;
    font-size:14rem;
  }
  .page-work-detail .project-detail-layout::before{display:none}
}
@media(max-width:568px){
  .page-work .work-large-row{grid-template-columns:1fr}
  .page-work .work-large-row::before{left:-1.9rem;top:1.5rem}
  .page-work .work-large-visual{min-height:9.5rem;border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}
  .page-work .work-large-copy{padding:1.45rem 1.2rem 1.8rem}
  .page-work .work-large-copy h2{font-size:1.85rem}
  .page-work-detail .project-detail-hero::before{font-size:9rem;opacity:.75}
}
@media(prefers-reduced-motion:reduce){
  .page-work .work-large-visual img,
  .page-work .jacob-mark,
  .page-work-detail .project-detail-visual > img,
  .page-work-detail .jacob-detail-console{transform:none!important}
}


/* === Work v30: simpler open layout, no boxed blocks === */
.page-work .work-large{
  max-width: 68rem;
  margin-top: -1vh;
}
.page-work .work-large-row{
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  min-height: 15.25rem;
  gap: 0;
  transition: transform .65s cubic-bezier(.16,1,.3,1), opacity .55s ease, border-color .35s ease;
}
.page-work .work-large-row::after{
  display:none;
}
.page-work .work-large-row::before{
  left:-3.25rem;
  width:2rem;
  height:2rem;
  background: transparent;
  box-shadow:none;
  border-color: rgba(195,40,101,.26);
  color: rgba(195,40,101,.58);
}
.page-work .work-large-row.is-active::before,
.page-work .work-large-row:hover::before{
  border-color: var(--pink);
  color: var(--pink);
}
.page-work .work-large-row:hover,
.page-work .work-large-row.is-active{
  background: transparent !important;
  border-color: rgba(195,40,101,.28);
  transform: translate3d(0,0,0);
}
.page-work .work-large-visual{
  min-height: 15.25rem;
  border-right: none;
  background: transparent !important;
}
.page-work .work-large-visual::before,
.page-work .work-large-visual::after{
  display:none;
}
.page-work .work-large-visual img,
.page-work .jacob-mark{
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.18));
}
.page-work .work-large-copy{
  padding: 2rem 1.75rem 2rem 2.75rem;
}
.page-work .work-large-copy::before,
.page-work .work-large-copy::after{
  display:none;
}
.page-work .work-large-copy h2{
  margin-bottom: .55rem;
}
.page-work .work-large-copy h2::after{
  color: rgba(195,40,101,.45);
}
.page-work .work-large-meta{
  margin-bottom: .55rem;
}
.page-work .work-large-link{
  margin-top: .95rem;
}
.page-work .work-large-row.reveal-rich{
  opacity: 0;
  transform: translate3d(0,44px,0);
  clip-path: inset(0 0 0 0);
}
.page-work .work-large-row.reveal-rich.is-visible{
  opacity: 1;
  transform: translate3d(0,0,0);
}
.page-work .work-large--more .work-large-row,
.page-work .work-large--more .work-large-visual{
  min-height: 12.75rem;
}
.page-work .work-more-heading{
  padding-top: 5rem;
}
.page-work .work-more-heading::after{
  display:none;
}
@media(max-width:768px){
  .page-work .work-large{
    margin-top: 0;
  }
  .page-work .work-large-row{
    grid-template-columns: 32% minmax(0,1fr);
    min-height: 11.5rem;
  }
  .page-work .work-large-visual{
    min-height: 11.5rem;
  }
  .page-work .work-large-copy{
    padding: 1.4rem 1rem 1.4rem 1.4rem;
  }
  .page-work .work-large-copy h2{
    font-size: 1.9rem;
  }
}
@media(max-width:568px){
  .page-work .work-large-row{
    grid-template-columns: 1fr;
    row-gap: .2rem;
  }
  .page-work .work-large-row::before{
    top: 1rem;
    left: -1.5rem;
    transform: none;
  }
  .page-work .work-large-visual{
    min-height: 8rem;
  }
  .page-work .work-large-copy{
    padding: .5rem 0 1.35rem 0;
  }
}


/* === About legacy style + astronaut v32 === */
.page-about .first-fold{position:relative;min-height:22rem;padding-right:clamp(12rem,24vw,22rem)}
.page-about .about-legacy-astronaut{
  position:absolute;
  right:clamp(-16rem,-18vw,-8rem);
  top:-4.5rem;
  width:clamp(190px,21vw,320px);
  pointer-events:none;
  filter:drop-shadow(0 1.2rem 2rem rgba(0,0,0,.26));
  animation:aboutLegacyFloat 10.8s cubic-bezier(.37,0,.63,1) infinite;
  transform-origin:50% 55%;
}
.page-about .about-legacy-astronaut img{display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none}
@keyframes aboutLegacyFloat{
  0%,100%{transform:translate3d(0,-3px,0) rotate(-.7deg)}
  30%{transform:translate3d(5px,-9px,0) rotate(.7deg)}
  60%{transform:translate3d(-3px,3px,0) rotate(-.25deg)}
  82%{transform:translate3d(4px,0,0) rotate(.45deg)}
}
@media(max-width:1024px){
  .page-about .first-fold{padding-right:15rem}
  .page-about .about-legacy-astronaut{right:-8rem;top:-3.5rem;width:230px}
}
@media(max-width:768px){
  .page-about .first-fold{padding-right:0;min-height:0}
  .page-about .about-legacy-astronaut{position:relative;right:auto;top:auto;width:min(62vw,230px);margin:2rem auto .5rem}
}
@media(prefers-reduced-motion:reduce){.page-about .about-legacy-astronaut{animation:none!important}}


/* === About intro polish v33 === */
.page-about .first-fold{
  min-height:23rem;
  padding-right:clamp(15rem,25vw,23rem);
}
.page-about .about-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.65rem;
  margin:1.45rem 0 2rem;
}
.page-about .about-action{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  min-height:2.45rem;
  padding:.15rem .8rem .15rem .7rem;
  border:1px solid rgba(195,40,101,.28);
  border-radius:999px;
  color:var(--grey);
  background:rgba(255,255,255,.012);
  font-size:.76rem;
  line-height:1;
  transition:color .25s ease,border-color .25s ease,background .25s ease,transform .3s cubic-bezier(.16,1,.3,1);
}
.page-about .about-action svg{
  width:1.05rem;
  height:1.05rem;
  flex:0 0 auto;
  fill:var(--pink);
  color:var(--pink);
  transition:fill .25s ease,color .25s ease;
}
.page-about .about-action b{
  margin-left:.1rem;
  color:rgba(255,255,255,.24);
  font-size:.72rem;
  font-weight:400;
  transition:transform .25s ease,color .25s ease;
}
.page-about .about-action:hover{
  color:var(--light);
  border-color:rgba(195,40,101,.75);
  background:rgba(195,40,101,.055);
  transform:translate3d(0,-2px,0);
}
.page-about .about-action:hover b{color:var(--pink);transform:translate3d(2px,-2px,0)}
.page-about .about-action-cv{
  color:var(--bg);
  border-color:var(--pink);
  background:var(--pink);
}
.page-about .about-action-cv svg{color:var(--bg);fill:none}
.page-about .about-action-cv b{color:rgba(14,18,18,.6)}
.page-about .about-action-cv:hover{
  color:var(--bg);
  border-color:var(--light);
  background:var(--light);
}
.page-about .about-action-cv:hover b{color:var(--bg);transform:translate3d(0,2px,0)}
.page-about .about-intro-text{
  width:min(100%,38rem);
  max-width:38rem;
  margin:0;
  font-size:1.03rem;
  line-height:1.68;
  letter-spacing:-.005em;
}
.page-about .about-legacy-astronaut{
  right:clamp(-15rem,-17vw,-7rem);
  top:-4.9rem;
  width:clamp(210px,22vw,330px);
}
@media(max-width:1024px){
  .page-about .first-fold{padding-right:14rem}
  .page-about .about-intro-text{max-width:34rem}
  .page-about .about-legacy-astronaut{right:-7.5rem;top:-3.7rem;width:235px}
}
@media(max-width:768px){
  .page-about .first-fold{padding-right:0}
  .page-about .about-intro-text{max-width:38rem}
  .page-about .about-actions{margin-bottom:1.55rem}
  .page-about .about-legacy-astronaut{position:relative;right:auto;top:auto;width:min(62vw,230px);margin:2.2rem auto .6rem}
}
@media(max-width:568px){
  .page-about .about-actions{gap:.5rem}
  .page-about .about-action{min-height:2.3rem;padding-inline:.65rem;font-size:.71rem}
  .page-about .about-action span{display:none}
  .page-about .about-action-cv span{display:inline}
  .page-about .about-intro-text{font-size:.95rem;line-height:1.65}
}


/* === About fine-tune v34 === */
.page-about .first-fold{
  padding-right: clamp(13rem, 22vw, 20rem);
}
.page-about .about-intro-text{
  width: min(100%, 43rem);
  max-width: 43rem;
}
.page-about .about-legacy-astronaut{
  right: clamp(-17.5rem, -20vw, -9rem);
  top: -4.35rem;
  width: clamp(185px, 20vw, 300px);
}
@media(max-width:1024px){
  .page-about .first-fold{padding-right:13rem}
  .page-about .about-intro-text{max-width:38rem}
  .page-about .about-legacy-astronaut{right:-9rem;top:-3.4rem;width:220px}
}
@media(max-width:768px){
  .page-about .first-fold{padding-right:0}
  .page-about .about-intro-text{max-width:40rem}
}


/* === Technical projects v35 === */
.work-large-visual--tech{display:flex;align-items:center;justify-content:center}
.tech-project-visual{position:relative;width:min(88%,18rem);height:10.5rem;display:flex;align-items:center;justify-content:center;color:var(--pink)}
.tech-visual-caption{position:absolute;left:0;bottom:0;color:rgba(255,255,255,.22);font-size:.52rem;letter-spacing:.06em;white-space:nowrap}
.tech-project-visual svg{width:100%;height:100%;overflow:visible}

/* Drone */
.drone-svg .drone-route{fill:none;stroke:rgba(195,40,101,.26);stroke-width:1.5;stroke-dasharray:5 6;animation:droneRoute 9s linear infinite}
.drone-svg .drone-waypoint{fill:#f4bc38;opacity:.8}
.drone-svg .drone-body{fill:rgba(255,255,255,.06);stroke:var(--pink);stroke-width:2}
.drone-svg .drone-arm{fill:none;stroke:rgba(255,255,255,.45);stroke-width:3;stroke-linecap:round}
.drone-svg .drone-prop ellipse{fill:none;stroke:#f4bc38;stroke-width:2.4;stroke-linecap:round}
.drone-svg .drone-prop circle{fill:var(--pink)}
.drone-svg .drone-prop{transform-box:fill-box;transform-origin:center;animation:droneProp 1.15s linear infinite}
.drone-svg .p2,.drone-svg .p3{animation-direction:reverse}
@keyframes droneProp{to{transform:rotate(360deg)}}
@keyframes droneRoute{to{stroke-dashoffset:-55}}

/* ServerWatch */
.serverwatch-screen{width:88%;max-width:15rem;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.012);box-shadow:0 1.2rem 3rem rgba(0,0,0,.16)}
.serverwatch-top{display:flex;align-items:center;gap:.35rem;height:1.7rem;padding:0 .55rem;border-bottom:1px solid rgba(255,255,255,.07)}
.serverwatch-top span{width:.35rem;height:.35rem;border-radius:50%;background:rgba(255,255,255,.18)}
.serverwatch-top span:first-child{background:var(--pink)}
.serverwatch-top span:nth-child(2){background:#f4bc38}
.serverwatch-top b{margin-left:.4rem;color:rgba(255,255,255,.25);font-size:.5rem;font-weight:400}
.serverwatch-stats{display:flex;align-items:flex-end;gap:.36rem;height:3rem;padding:.65rem .7rem .2rem}
.serverwatch-stats i{display:block;width:1.1rem;height:var(--v);background:linear-gradient(180deg,var(--pink),rgba(195,40,101,.24));animation:serverBar 3.2s ease-in-out infinite alternate}
.serverwatch-stats i:nth-child(2){animation-delay:-1.1s}.serverwatch-stats i:nth-child(3){animation-delay:-2s}
.serverwatch-line{display:flex;justify-content:space-between;padding:.28rem .7rem;color:rgba(255,255,255,.30);font-size:.52rem;border-top:1px solid rgba(255,255,255,.045)}
.serverwatch-line b{font-weight:400;color:var(--light)}.serverwatch-line .ok{color:#f4bc38}
@keyframes serverBar{0%{transform:scaleY(.82);transform-origin:bottom}100%{transform:scaleY(1.05);transform-origin:bottom}}

/* RouteCore */
.routecore-svg path:first-child{fill:none;stroke:var(--pink);stroke-width:2.2;stroke-dasharray:6 5;animation:routeDash 7s linear infinite}
.routecore-svg circle{fill:var(--bg);stroke:#f4bc38;stroke-width:2.6}
.routecore-svg circle:last-of-type{fill:#f4bc38;stroke:#f4bc38;filter:drop-shadow(0 0 7px rgba(244,188,56,.35))}
.routecore-svg .route-arrow{fill:none;stroke:#f4bc38;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.routecore-badge{position:absolute;right:7%;top:13%;display:grid;text-align:right}.routecore-badge b{color:var(--light);font-size:1.15rem}.routecore-badge span{color:rgba(255,255,255,.25);font-size:.5rem}
@keyframes routeDash{to{stroke-dashoffset:-55}}

/* HelpdeskFlow */
.ticket-stack{position:relative;width:13rem;height:7.4rem}.ticket{position:absolute;left:0;width:11.5rem;display:flex;justify-content:space-between;align-items:center;padding:.72rem .75rem;border:1px solid rgba(255,255,255,.09);background:var(--bg);font-size:.54rem;color:rgba(255,255,255,.34);box-shadow:0 .8rem 1.8rem rgba(0,0,0,.11);transition:transform .4s ease}
.ticket b{color:var(--pink);font-size:.48rem}.ticket-a{top:0;left:1.2rem;z-index:3;animation:ticketFloatA 5s ease-in-out infinite}.ticket-b{top:2.2rem;left:.55rem;z-index:2}.ticket-c{top:4.4rem;left:0;z-index:1}.ticket-c b{color:#f4bc38}
@keyframes ticketFloatA{50%{transform:translate3d(0,-4px,0)}}

/* Telemetry */
.telemetry-svg .telemetry-grid{fill:none;stroke:rgba(255,255,255,.055);stroke-width:1}
.telemetry-svg .telemetry-wave{fill:none;stroke:var(--pink);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:290;stroke-dashoffset:290;animation:telemetryDraw 4.8s ease-in-out infinite}
.telemetry-readout{position:absolute;right:5%;top:12%;display:grid;text-align:right}.telemetry-readout span{color:rgba(255,255,255,.22);font-size:.48rem}.telemetry-readout b{color:#f4bc38;font-size:.9rem}
@keyframes telemetryDraw{0%{stroke-dashoffset:290;opacity:.25}45%,75%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:-290;opacity:.25}}

/* Technical detail visuals */
.project-detail-visual--tech .tech-project-visual{width:min(92%,26rem);height:16rem}
.project-detail-visual--tech .tech-visual-caption{bottom:.5rem}
.project-detail-visual--tech .serverwatch-screen{max-width:21rem}
.project-detail-visual--tech .ticket-stack{transform:scale(1.25)}

@media(max-width:768px){
  .tech-project-visual{height:8.2rem;width:min(92%,14rem)}
  .tech-visual-caption{font-size:.46rem}
  .project-detail-visual--tech .tech-project-visual{height:12rem}
}
@media(prefers-reduced-motion:reduce){
  .drone-svg .drone-prop,.drone-svg .drone-route,.serverwatch-stats i,.routecore-svg path:first-child,.ticket-a,.telemetry-svg .telemetry-wave{animation:none!important}
}


/* === Certifications v36 === */
.page-about .certifications ul{margin-top:.15rem}
.page-about .certifications li{max-width:34rem}
.page-about .cert-link{display:inline-flex;align-items:center;gap:.45rem;color:inherit;text-decoration:none}
.page-about .cert-link .cert-arrow{color:var(--pink);font-size:.82em;transition:transform .25s ease}
.page-about .cert-link:hover .cert-arrow{transform:translate3d(2px,-2px,0)}
