/* Feature refinements and responsive views. Consolidated from the tested release; original order is preserved. */


/* === v27.css === */
/* CANDAL V26 — considered motion, organic background, responsive visual systems */
.ambient-grid{display:none!important}
.constellation{position:absolute;inset:0;width:100%;height:100%;opacity:.62}
.ambient-spot{background:radial-gradient(45px circle at var(--glow-x,50%) var(--glow-y,50%),color-mix(in srgb,var(--accent) 19%,transparent),transparent 85%)!important}
.theme-trigger{display:none!important}
.path-menu .path-label.is-returning{visibility:hidden!important}
.path-menu .path-option:not(.path-home).is-active .path-label{opacity:0!important;pointer-events:none!important}
.path-menu .path-option:not(.path-home).is-active .path-node{background:var(--accent)!important}
.path-menu .path-option:not(.path-home) .path-label{transition:opacity .27s ease,color .24s ease!important}
.scene.is-transition-out .section-motion-title{opacity:0!important}
.scene-title-return{z-index:155!important;transform-origin:top left!important}
/* No arrow carousel or changing label under the judo introduction */
.beyond-active-word,.photo-controls{display:none!important}
.beyond-copy{align-self:center}
.beyond-paragraph{max-width:44ch}
.judo-artboard{isolation:isolate}
/* SKILLS — canvas globe + physical labels */
.skills-layout{display:grid;grid-template-columns:minmax(260px,.76fr) minmax(400px,1.24fr);align-items:center;gap:clamp(12px,4vw,75px);width:100%;max-width:1350px;margin:auto}
.skills-copy .section-motion-title{font-size:clamp(78px,9vw,144px);line-height:.9;letter-spacing:-.085em;margin:0 0 29px}
.skills-lead{font-size:clamp(20px,2.15vw,30px);line-height:1.2;max-width:19ch;letter-spacing:-.044em;margin:0 0 20px}
.skills-hint{color:var(--muted);font-size:12px;line-height:1.7;margin:0}
.skill-sphere-wrap{display:flex;align-items:center;justify-content:center;width:100%;min-width:0}
.skill-sphere{position:relative;isolation:isolate;width:min(100%,min(58vh,610px));aspect-ratio:1;cursor:grab;touch-action:none;user-select:none;outline-offset:8px;overflow:visible}
.skill-sphere:active{cursor:grabbing}
.skill-sphere:before{content:'';position:absolute;inset:10%;border-radius:50%;background:radial-gradient(ellipse at 38% 32%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 67%);pointer-events:none}
.skill-sphere:after{content:'';position:absolute;inset:4%;border:1px solid color-mix(in srgb,var(--accent) 12%,transparent);border-radius:50%;pointer-events:none}
.skills-wireframe,.sphere-labels{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.sphere-labels{z-index:1}
.sphere-token{position:absolute;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:67px;color:var(--fg);pointer-events:none;transform:translate3d(-50%,-50%,0);will-change:transform,opacity;white-space:nowrap}
.sphere-emblem{display:grid;place-items:center;width:clamp(38px,5vw,61px);height:clamp(38px,5vw,61px);border:1px solid color-mix(in srgb,var(--accent) 13%,transparent);border-radius:16px;background:color-mix(in srgb,var(--surface) 84%,transparent);box-shadow:0 13px 35px #0004;backdrop-filter:blur(8px)}
.sphere-emblem svg{width:67%;height:67%;display:block}
.sphere-token strong{font-size:clamp(10px,1vw,13px);font-weight:550;text-shadow:0 2px 12px var(--bg)}
.sphere-token[data-front="false"]{filter:saturate(.5)}
/* CONTACT — interactive circuit / planetary links */
.contact-orbit-layout{display:grid!important;grid-template-columns:.78fr 1.15fr;align-items:center;gap:30px;max-width:1450px;width:100%;min-height:min(640px,75vh);margin:auto!important;position:relative}
.contact-upper{align-self:center;min-width:0}
.contact-upper .section-motion-title{font-size:clamp(64px,7vw,112px);line-height:.89;letter-spacing:-.077em;margin:0 0 25px}
.contact-description{max-width:24ch;font-size:clamp(19px,2vw,26px)!important;line-height:1.35;letter-spacing:-.035em}
.contact-network{position:relative;width:100%;height:min(60vh,540px);min-height:430px;isolation:isolate;display:grid;place-items:center}
.contact-rings{position:absolute;inset:0;pointer-events:none;opacity:.7}
.contact-rings span{position:absolute;border:1px solid color-mix(in srgb,var(--accent) 17%,transparent);border-radius:50%;inset:8%;transform:rotate(-15deg) scaleX(.92)}
.contact-rings span:nth-child(2){inset:18%;border-style:dashed;opacity:.6;transform:rotate(28deg) scaleY(.7)}
.contact-rings span:nth-child(3){inset:30%;opacity:.5}
.contact-network:before{content:'';position:absolute;inset:22%;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 8%,transparent),transparent 72%)}
.contact-core{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;max-width:100%;padding:18px 15px}
.contact-core-symbol{font-size:32px;color:var(--accent)}
.contact-main-link{font-size:clamp(16px,2.1vw,27px);font-weight:680;letter-spacing:-.055em;white-space:nowrap;border-bottom:1px solid color-mix(in srgb,var(--accent) 40%,transparent);padding-bottom:10px;transition:color .25s,border-color .25s}
.contact-main-link:hover{color:var(--accent);border-color:var(--accent)}
.contact-main-link span{display:inline-block;font-size:15px;transition:transform .26s}
.contact-main-link:hover span{transform:translate(3px,-3px)}
.contact-core .copy-email{border:1px solid var(--thin);border-radius:50px;padding:10px 14px;background:var(--surface);color:var(--muted)}
.contact-satellites{position:absolute;inset:0;z-index:4;pointer-events:none}
.contact-satellite{position:absolute;display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid var(--thin);border-radius:999px;background:var(--surface);box-shadow:0 12px 45px #0002;color:var(--fg);font-size:12px;letter-spacing:-.01em;pointer-events:auto;transition:transform .35s var(--ease),border-color .25s,box-shadow .25s}
.contact-satellite .satellite-icon{display:flex;color:var(--accent)}
.contact-satellite .satellite-icon svg{width:19px;height:19px}
.contact-satellite span:last-child{color:var(--muted)}
.contact-satellite:hover{transform:translateY(-7px) scale(1.05);border-color:var(--accent);box-shadow:0 15px 36px color-mix(in srgb,var(--accent) 13%,transparent)}
.satellite-0{top:8%;left:14%}
.satellite-1{top:26%;right:0}
.satellite-2{bottom:9%;left:8%}
.contact-orbit-layout .contact-signature{position:absolute;bottom:0;left:0;right:0;margin:0}
/* Phone: natural scrolling and compact orbit, never viewport-constrained sections */
@media(max-width:900px){
  .constellation{opacity:.4}
  .path-menu,.path-menu.is-mobile-open{display:none!important}
  .skills-layout{grid-template-columns:1fr;gap:12px;width:100%;max-width:650px;margin:auto;align-items:stretch}
  .skills-copy{margin-bottom:8px}
  .skills-copy .section-motion-title{font-size:clamp(55px,12.5vw,88px);margin-bottom:16px}
  .skills-lead{max-width:none;font-size:20px;margin:0 0 7px}
  .skills-hint{font-size:11px}
  .skill-sphere{width:min(100%,480px);margin:auto;max-height:none}
  .sphere-emblem{width:clamp(42px,11vw,55px);height:clamp(42px,11vw,55px);border-radius:12px}
  .sphere-token strong{font-size:10px}
  .contact-orbit-layout{grid-template-columns:1fr!important;gap:8px!important;display:flex!important;align-items:stretch!important;min-height:0!important;max-width:720px!important;padding:0!important}
  .contact-orbit-layout .contact-upper{align-self:stretch}
  .contact-upper .section-motion-title{font-size:clamp(53px,12vw,85px)!important;margin-bottom:22px}
  .contact-network{min-height:385px;height:clamp(380px,112vw,505px);width:100%}
  .contact-rings span{inset:10%}
  .contact-main-link{font-size:clamp(17px,4.4vw,23px)}
  .contact-satellite{font-size:11px;padding:10px 12px}
  .satellite-0{top:4%;left:0}
  .satellite-1{top:17%;right:0}
  .satellite-2{bottom:5%;left:4%}
  .contact-orbit-layout .contact-signature{position:relative;left:auto;right:auto;bottom:auto;min-height:54px}
  .contact-core .copy-email{font-size:12px}
  .beyond-scene .beyond-copy{align-self:stretch}
  .judo-artboard{margin-top:24px!important}
  .section-motion-title,.about-lead,.section-subtitle,.beyond-lead,.skills-lead{position:relative}
  .is-scrambling{color:transparent!important}
  .is-scrambling .scramble-copy{position:absolute;left:0;top:0;width:100%;color:var(--fg)!important;white-space:pre-wrap;pointer-events:none;z-index:3;letter-spacing:inherit;line-height:inherit;font:inherit;}
  .is-scrambling .scramble-shadow{position:absolute;color:var(--accent);opacity:.16;pointer-events:none;z-index:2;mix-blend-mode:screen}
}
@media(max-width:390px){
  .contact-network{height:370px;min-height:370px}
  .contact-satellite{gap:6px;padding:9px 10px;font-size:10px}
  .contact-core{padding:10px 5px}
  .contact-main-link{font-size:clamp(15px,4.7vw,19px)}
  .contact-rings span{inset:4%}
  .skill-sphere{width:100%}
}
@media(prefers-reduced-motion:reduce){.sphere-token{will-change:auto}.contact-satellite,.contact-main-link{transition:none!important}.is-scrambling .scramble-copy{display:none!important}}

@media(max-width:900px){
 .is-scrambling .scramble-shadow{left:0;top:0;white-space:nowrap;overflow:hidden;max-width:100%;}
}
/* V27 — visual refinement: geometric dark planet, free-floating symbols */
.constellation {opacity:1!important;}
.ambient-spot {background:none!important;}
.skill-sphere{width:min(100%,min(66vh,680px));overscroll-behavior:contain;touch-action:pan-y;}
.skill-sphere:before {inset:9%;background:radial-gradient(circle,rgba(203,79,40,.09),transparent 71%);}
.skill-sphere:after {inset:10%;border:1px solid rgba(211,93,46,.09);}
.sphere-emblem {
 width:clamp(41px,5.2vw,69px);height:clamp(41px,5.2vw,69px);
 display:grid;place-items:center;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
 filter:drop-shadow(0 5px 9px rgba(0,0,0,.35));
}
.sphere-emblem svg{width:100%;height:100%;overflow:visible;display:block;}
.sphere-token{gap:6px;min-width:53px;white-space:nowrap;color:var(--fg);transform-origin:center;}
.sphere-token strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(11px,1vw,14px);font-weight:500;letter-spacing:-.025em;text-shadow:0 2px 4px var(--bg),0 0 14px var(--bg);}
.sphere-token[data-front="false"]{filter:saturate(.83);}
.skills-scene .skills-hint{font-size:13px;max-width:35ch}
/* Navigation orbit is the SVG path, not an unrelated giant circle over type. */
.path-menu .path-orbit-art{display:none!important;}
.path-menu .path-option.path-home .path-home-mark{transform:none!important;rotate:0deg!important;}
.path-menu .path-home:hover .path-home-mark,.path-menu .path-home:focus-visible .path-home-mark{transform:scale(1.055)!important;}
.path-menu .path-label{isolation:isolate;}
.path-menu .path-option:not(.path-home) .path-label {text-shadow:0 0 9px var(--bg),0 0 17px var(--bg);}
/* Active label still flies to heading; hide on path while in section. */
.path-menu .path-option.is-active:not(.path-home) .path-label{opacity:0!important;}
/* Magnetic contacts respond to position with a spring and keep links reachable. */
.contact-satellite{transform:translate3d(var(--parallax-x,0px),var(--parallax-y,0px),0);transition:border-color .25s,box-shadow .25s,color .25s;will-change:transform;}
.contact-satellite:hover,.contact-satellite:focus-visible {transform:translate3d(var(--parallax-x,0px),calc(var(--parallax-y,0px) - 5px),0) scale(1.065);border-color:var(--accent);box-shadow:0 12px 48px color-mix(in srgb,var(--accent) 22%,transparent);outline-offset:4px;}
.contact-rings{transform:translate3d(var(--orbit-shift,0px),var(--orbit-shift-y,0px),0);transition:none;}
.contact-network:has(.contact-satellite:hover) .contact-rings span{border-color:color-mix(in srgb,var(--accent) 33%,transparent);}
.contact-satellite:after{content:'';position:absolute;inset:-9px;border:1px solid color-mix(in srgb,var(--accent) 8%,transparent);border-radius:inherit;opacity:0;transition:opacity .3s;pointer-events:none;}
.contact-satellite:hover:after{opacity:1;}
@media(max-width:900px){
 .skill-sphere{width:min(100%,520px);touch-action:pan-y;}
 .sphere-emblem{width:clamp(33px,8.9vw,53px);height:clamp(33px,8.9vw,53px);background:none!important;border:0!important;}
 .sphere-token strong{font-size:clamp(9px,2.7vw,12px)}
 .contact-satellite{transition:border-color .24s,color .24s;}
 /* Letters are a brief transition overlay, not another page or fixed navigation. */
 .chapter-portal{position:fixed;top:44svh;left:0;width:100%;height:116px;z-index:44;pointer-events:none;display:flex;align-items:center;justify-content:center;transform:translate3d(0,var(--portal-offset,0px),0) rotate(var(--portal-rotate,0deg));opacity:0;visibility:hidden;transition:visibility 0s linear 0s;isolation:isolate;overflow:clip;}
 .chapter-portal.is-active{opacity:var(--portal-opacity,.5);visibility:visible;}
 .chapter-portal .portal-word{position:relative;z-index:2;font-size:clamp(27px,8.5vw,48px);font-weight:760;letter-spacing:.03em;line-height:1.1;color:var(--fg);text-align:center;max-width:95vw;white-space:normal;overflow-wrap:anywhere;text-shadow:0 1px 22px var(--bg),0 0 36px var(--bg);}
 .chapter-portal .portal-trails{position:absolute;z-index:1;font-size:clamp(24px,8vw,44px);font-weight:730;letter-spacing:var(--portal-spread,0px);color:var(--accent);filter:blur(7px);opacity:.3;white-space:nowrap;text-align:center;max-width:100%;overflow:hidden;}
 .chapter-portal .portal-cursor{position:absolute;right:4%;bottom:4%;font-size:23px;opacity:.45;color:var(--accent);}
}
@media(min-width:901px){.chapter-portal{display:none!important;}}
@media(prefers-reduced-motion:reduce){.chapter-portal{display:none!important}.sphere-token{will-change:auto}.contact-satellite{will-change:auto;transition:none!important}}

/* Actual mobile interludes: typographic particles materialize IN the scroll flow. */
@media(max-width:900px){
 .kinetic-interlude{position:relative;min-height:clamp(200px,30svh,350px);width:100%;display:grid;place-items:center;overflow:hidden;isolation:isolate;contain:layout paint;}
 .kinetic-interlude:before{content:'';position:absolute;inset:4% 11%;border-top:1px solid color-mix(in srgb,var(--accent) 16%,transparent);border-bottom:1px solid color-mix(in srgb,var(--accent) 10%,transparent);transform:skewY(-9deg);opacity:var(--kinetic-alpha,0)}
 .kinetic-track{position:relative;width:100%;max-width:95%;height:100%;display:grid;place-items:center;transform:translate3d(0,var(--kinetic-flow,0px),0);opacity:var(--kinetic-alpha,0)}
 .kinetic-type{font-size:clamp(31px,8.8vw,53px);line-height:1.05;font-weight:760;letter-spacing:-.06em;white-space:normal;overflow-wrap:anywhere;text-align:center;max-width:100%;color:var(--fg);font-family:ui-monospace,Consolas,monospace;}
 .kinetic-ghost{position:absolute;left:0;right:0;text-align:center;color:var(--accent);font-size:clamp(31px,8.8vw,53px);font-weight:750;line-height:1.05;letter-spacing:var(--kinetic-width,0px);filter:blur(3px);opacity:.13;white-space:nowrap;max-width:100%;overflow:hidden;}
 .ghost-a{transform:translate3d(0,-28px,0) skewX(13deg)}
 .ghost-b{transform:translate3d(0,29px,0) skewX(-13deg)}
 .kinetic-spark{position:absolute;bottom:24px;right:18%;font-size:23px;color:var(--accent);opacity:.55}
 .chapter-portal{display:none!important}
}
@media(prefers-reduced-motion:reduce){.kinetic-interlude{display:none!important}}
@media(min-width:901px){
 .skills-layout{width:calc(100% + 5vw);max-width:1040px;grid-template-columns:minmax(205px,.5fr) minmax(465px,1.23fr);gap:clamp(10px,1.6vw,25px);}
 .skills-scene .skill-sphere{width:min(100%,min(71vh,655px));}
 .skills-scene .sphere-emblem{width:clamp(52px,5.4vw,75px);height:clamp(52px,5.4vw,75px);}
}



/* === v28.css === */
/* candal.dev V28 — stable orbit, white skills, transmission console, mobile type transitions */
/* Stable home seal: ONLY scale the image using individual scale, not the layout transform. */
@media (min-width:901px) {
  .path-menu .path-option.path-home,
  .path-menu .path-option.path-home:hover,
  .path-menu .path-option.path-home:focus-visible { --float-x:0px!important; transition:color .25s ease!important; }
  .path-menu .path-home-mark {
    transform:none!important; rotate:0deg!important; scale:1;
    transition:scale .38s cubic-bezier(.22,1,.36,1),filter .3s!important;
    transform-origin:center center; backface-visibility:hidden;
  }
  .path-menu .path-home:hover .path-home-mark,
  .path-menu .path-home:focus-visible .path-home-mark {transform:none!important;scale:1.085;}
  .path-menu .path-option.path-home .path-label {transform:none!important;}
  /* Alternate sides of the path — the dots remain exactly on the SVG centerline. */
  .path-menu .path-option:nth-child(2),
  .path-menu .path-option:nth-child(4),
  .path-menu .path-option:nth-child(6) {flex-direction:row-reverse!important;transform:translate(calc(-100% + 6.5px),-50%)!important;}
  .path-menu .path-option:nth-child(3),
  .path-menu .path-option:nth-child(5) {flex-direction:row!important;transform:translate(-6.5px,-50%)!important;}
  .path-menu .path-option:nth-child(even) .path-label {text-align:right!important;}
  .path-menu .path-option:nth-child(4) .path-label {max-width:155px;line-height:1.11!important;}
  .path-menu .path-option:not(.path-home) {min-height:62px;}
  .path-menu .path-option:not(.path-home) .path-label {background:transparent!important;text-shadow:0 0 15px var(--bg),0 0 25px var(--bg)!important;}
}
/* Sphere: white opaque vector glyphs and text on a dark opaque core. */
.skill-sphere .sphere-token, .skill-sphere .sphere-token[data-front="false"]{
 opacity:1!important;filter:none!important;mix-blend-mode:normal!important;
}
.skill-sphere .sphere-emblem {background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;filter:drop-shadow(0 3px 8px #08090bdd)!important;}
.skill-sphere .sphere-emblem svg {opacity:1!important;filter:none!important;}
.skill-sphere .sphere-token strong {opacity:1!important;color:#f4f6fa!important;text-shadow:0 1px 9px #05070b,0 0 14px #05070b!important;}
/* Transmission board — an interactive constellation instead of orbital pills. */
.contact-scene .contact-orbit-layout {grid-template-columns:.63fr 1.37fr;max-width:1430px;gap:clamp(24px,4vw,70px);}
.contact-scene .contact-upper{position:relative;z-index:2}
.contact-scene .contact-description {max-width:23ch}
.signal-board {min-height:490px!important;height:min(67vh,610px)!important;overflow:visible;cursor:crosshair;}
.signal-board::after {content:'';position:absolute;inset:11%;border-radius:50%;opacity:.24;border:1px solid var(--accent);pointer-events:none;clip-path:polygon(0 0,95% 0,100% 41%,100% 100%,0 100%);}
.signal-board .contact-rings {opacity:.24!important;transform:rotate(-20deg)!important;}
.signal-board .contact-rings span {border-style:dotted!important;border-color:color-mix(in srgb,var(--accent) 18%,transparent)!important;}
.signal-board .contact-rings span:nth-child(2){inset:17%;transform:rotate(50deg) scaleX(.75)}
.signal-board .contact-rings span:nth-child(3){inset:28%}
.signal-reticle {position:absolute;inset:0;pointer-events:none;z-index:0;}
.signal-reticle span {position:absolute;top:50%;left:50%;width:35%;height:1px;background:linear-gradient(90deg,var(--accent),transparent);opacity:.11;transform-origin:left;}
.signal-reticle span:nth-child(1){transform:rotate(0deg)}.signal-reticle span:nth-child(2){transform:rotate(120deg)}.signal-reticle span:nth-child(3){transform:rotate(240deg)}
.signal-lines {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:2;}
.signal-lines-back path {fill:none;stroke:var(--accent);stroke-width:1;stroke-dasharray:3 11;opacity:.29;}
.signal-beam {fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-dasharray:14 6;filter:drop-shadow(0 0 6px var(--accent));opacity:.78;transition:opacity .3s;}
.signal-board .contact-core {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:24px;z-index:4;width:min(91%,430px);padding:27px 18px;min-height:152px; background:color-mix(in srgb,var(--bg) 91%,var(--surface))!important; border:1px solid color-mix(in srgb,var(--accent) 31%,transparent);box-shadow:0 25px 90px #0006,0 0 55px color-mix(in srgb,var(--accent) 7%,transparent);}
.signal-board .contact-core:before,.signal-board .contact-core:after{content:'';position:absolute;width:10px;height:10px;border-color:var(--accent);border-style:solid;opacity:.8;pointer-events:none}
.signal-board .contact-core:before{top:8px;left:8px;border-width:1px 0 0 1px}.signal-board .contact-core:after{bottom:8px;right:8px;border-width:0 1px 1px 0}
.signal-board .contact-main-link {font-size:clamp(18px,2.03vw,27px);max-width:100%;font-weight:730;letter-spacing:-.055em;white-space:normal;overflow-wrap:anywhere;text-align:center;}
.signal-board .contact-core-symbol{display:block;font-size:27px;line-height:1;}
.signal-board .contact-satellite{border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)!important;background:color-mix(in srgb,var(--bg) 96%,var(--surface))!important;box-shadow:0 12px 30px #0004!important; z-index:5;border-radius:14px!important;padding:13px 16px!important;}
.signal-board .satellite-0{top:4%;left:3%;}.signal-board .satellite-1{top:10%;right:0%;}.signal-board .satellite-2{bottom:4%;right:10%;left:auto;}
.signal-board .contact-satellite.is-connected {border-color:var(--accent)!important;box-shadow:0 0 30px color-mix(in srgb,var(--accent) 22%,transparent)!important;color:var(--fg)!important;}
.signal-board .contact-satellite .satellite-icon{color:var(--fg)}
.signal-board .contact-satellite span:last-child{color:var(--accent)}
@media (max-width:900px){
  .contact-scene .contact-orbit-layout{display:flex!important;flex-direction:column;gap:18px!important;}
  .signal-board{height:440px!important;min-height:440px!important;width:100%!important;margin-top:12px;}
  .signal-board .contact-core{min-height:130px;width:min(91%,420px);padding:20px 12px;}
  .signal-board .contact-main-link{font-size:clamp(16px,4.4vw,24px)}
  .signal-board .contact-satellite{padding:10px 11px!important;gap:7px;font-size:11px;}
  .signal-board .satellite-0{top:7%;left:2%}.signal-board .satellite-1{top:12%;right:1%}.signal-board .satellite-2{bottom:7%;right:8%}
  /* Kinetic stages are part of the page, not a fixed overlay. */
  .kinetic-interlude {min-height:78svh!important;min-height:max(490px,78svh)!important;display:flex;align-items:center;justify-content:center;overflow:hidden;isolation:isolate;position:relative;background:transparent;}
  .kinetic-interlude .kinetic-track{position:sticky!important;top:calc(50svh - 75px);height:155px;max-width:100%;width:100%;margin:auto;opacity:1!important;transform:none!important;display:grid;place-items:center;}
  .kinetic-interlude .kinetic-type{display:none!important;}
  .kinetic-interlude .v28-word{display:flex;gap:0;align-items:center;justify-content:center;flex-wrap:wrap;text-align:center;max-width:92vw;transform:translateY(var(--chapter-y,0px)) scale(var(--chapter-scale,1));opacity:var(--chapter-opacity,1);filter:blur(var(--chapter-blur,0px));font-weight:820;font-size:clamp(34px,10.6vw,68px);letter-spacing:-.075em;line-height:1.03;}
  .kinetic-interlude .v28-word span{display:inline-block;white-space:pre;transform:translate3d(0,var(--letter-y,0px),0) rotate(var(--letter-rotate,0deg));opacity:var(--letter-opacity,1);transition:none;}
  .kinetic-interlude .v28-echo{position:absolute;font-size:clamp(38px,10vw,66px);color:var(--accent);font-weight:780;letter-spacing:-.07em;opacity:var(--echo-alpha,.10);filter:blur(5px);transform:translate3d(var(--echo-x,0px),var(--echo-y,0px),0);white-space:nowrap;max-width:95vw;overflow:hidden;pointer-events:none;}
  .kinetic-interlude .kinetic-ghost,.kinetic-interlude .kinetic-spark{display:none!important}
  .kinetic-interlude::before{opacity:var(--kinetic-alpha,.55);inset:15% 10%;border-color:color-mix(in srgb,var(--accent) 18%,transparent);}
  .kinetic-interlude::after{content:'✳';position:absolute;bottom:17%;font-size:24px;opacity:.4;color:var(--accent);}
}
@media(max-width:390px){.signal-board{height:375px!important;min-height:375px!important}.signal-board .contact-satellite{font-size:10px;padding:9px!important;}.signal-board .contact-core{min-height:118px}}
@media(prefers-reduced-motion:reduce){
  .kinetic-interlude{min-height:0!important;display:none!important;}
  .signal-board .signal-beam{display:none!important;}
}



/* === v29.css === */
/* candal.dev V29 — cohesive motion and tactile depth */
/* NAVIGATION: the lettering lives on either side of the measured SVG curve. */
@media (min-width:901px) {
  .path-menu .path-option:not(.path-home) { min-height:55px; align-items:center; gap:17px; }
  .path-menu .path-option:not(.path-home) .path-label {
    display:block!important; max-width:unset!important; min-width:0;
    font-size:clamp(19px,1.65vw,27px)!important;
    line-height:1.07!important;letter-spacing:-.055em!important;
    white-space:nowrap!important;overflow:visible!important;
    text-shadow:0 0 14px var(--bg),0 0 21px var(--bg);
    -webkit-text-stroke:2px var(--bg);paint-order:stroke fill;
  }
  .path-menu .path-option:nth-child(2),
  .path-menu .path-option:nth-child(4),
  .path-menu .path-option:nth-child(6){flex-direction:row-reverse!important;transform:translate(calc(-100% + 6.5px),-50%)!important;}
  .path-menu .path-option:nth-child(3),
  .path-menu .path-option:nth-child(5){flex-direction:row!important;transform:translate(-6.5px,-50%)!important;}
  .path-menu .path-option:nth-child(even) .path-label{text-align:right!important;}
  .path-menu .path-option:nth-child(4) .path-label{max-width:unset!important;width:max-content!important;margin-right:19px!important;}
  .path-menu .path-option:nth-child(4) .path-label .shared-title-line{
    display:block!important;white-space:nowrap!important;
    margin:0!important;line-height:1.05!important;text-align:right!important;
  }
  .path-menu .path-option:nth-child(4) .shared-title-line:first-child::after{content:none!important}
  .path-menu .path-option.path-home,
  .path-menu .path-option.path-home:hover,
  .path-menu .path-option.path-home:focus-visible {transform:translate(-50%,-50%)!important;}
  .path-menu .path-option.path-home {width:82px!important;height:82px!important;padding:0!important;}
  .path-menu .path-home .path-label {width:68px!important;height:68px!important;transform:none!important;transition:border-color .28s,box-shadow .28s!important;}
  .path-menu .path-home-mark{width:46px!important;height:46px!important;scale:1!important;transform:none!important;rotate:0deg!important;transition:scale .33s cubic-bezier(.2,.75,.2,1)!important;}
  .path-menu .path-home:hover .path-home-mark,
  .path-menu .path-home:focus-visible .path-home-mark{scale:1.09!important;transform:none!important;rotate:0deg!important;}
  .path-menu .path-option:not(.path-home).is-active .path-label{transform:none!important;opacity:0!important;}
  .v29-return{background:none!important;text-shadow:0 0 14px var(--bg),0 0 21px var(--bg)!important;}
  .v29-return .shared-title-line{display:block!important;white-space:nowrap!important;}
}
/* SKILLS: identical 3D transform for mesh and logos. Depth from JS is authoritative. */
.skill-sphere{isolation:isolate;cursor:grab;touch-action:none}
.skill-sphere:active{cursor:grabbing}
.skill-sphere::before{background:radial-gradient(circle at 40% 36%,rgba(176,205,239,.035),transparent 72%)!important}
.skill-sphere::after{border-color:rgba(243,247,255,.09)!important}
.skill-sphere .sphere-token, .skill-sphere .sphere-token[data-front="false"] {
 opacity:var(--depth-opacity,1)!important;
 filter:blur(var(--depth-blur,0px))!important;
 mix-blend-mode:normal!important;
 transform-origin:center center!important;
 transition:none!important;
}
.skill-sphere .sphere-emblem {width:clamp(34px,5vw,59px);height:clamp(34px,5vw,59px);border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;filter:none!important;}
.skill-sphere .sphere-emblem svg{width:100%!important;height:100%!important;max-width:100%;max-height:100%;filter:drop-shadow(0 2px 5px rgba(0,0,0,.5))!important;opacity:1!important;}
.skill-sphere .sphere-token strong {color:#e9edf4!important;text-shadow:0 1px 7px #080a10!important;letter-spacing:.015em}
.skill-sphere .skills-wireframe{opacity:1}
/* CONTACT: a tactile signal-portal with animated polar tethers. */
.contact-scene .contact-orbit-layout{grid-template-columns:.58fr 1.42fr!important;gap:clamp(15px,3vw,54px)!important;max-width:1480px!important;}
.contact-scene .contact-upper{position:relative;z-index:3}
.contact-scene .contact-upper .section-motion-title{font-size:clamp(70px,7vw,126px)!important}
.contact-scene .contact-description{font-size:clamp(20px,2.2vw,29px)!important;color:var(--muted)}
.v29-contact.signal-board {height:min(73vh,670px)!important;min-height:510px!important;cursor:crosshair;isolation:isolate;}
.v29-contact::before {content:'';position:absolute;inset:4%;pointer-events:none;opacity:.72;background:radial-gradient(210px circle at var(--portal-x,50%) var(--portal-y,50%),rgba(178,205,241,.14),transparent 78%)!important;transition:opacity .5s;z-index:0}
.v29-contact .contact-rings{position:absolute;inset:2%;opacity:.64!important;transform:rotate(-10deg)!important}
.v29-contact .contact-rings span:first-child{inset:12%;border-style:solid!important;border-width:1px;border-color:rgba(205,222,244,.16)!important;transform:rotate(-32deg) scaleX(.91)}
.v29-contact .contact-rings span:nth-child(2){inset:25%;border:1px dashed rgba(205,222,244,.14)!important;transform:rotate(35deg) scaleY(.85)}
.v29-contact .contact-rings span:nth-child(3){inset:34%;border:1px solid rgba(205,222,244,.09)!important;}
.v29-contact-halo{position:absolute;inset:0;z-index:1;pointer-events:none;display:grid;place-items:center}
.v29-contact-halo i{position:absolute;border:1px solid rgba(198,221,247,.14);border-radius:50%;width:clamp(250px,68%,580px);aspect-ratio:1;transition:transform 1s cubic-bezier(.2,.7,.2,1),opacity .7s;opacity:.23}
.v29-contact-halo i:nth-child(2){width:57%;border-style:dotted;transform:rotate(47deg) scaleY(.8)}
.v29-contact-halo i:nth-child(3){width:44%;opacity:.17;transform:rotate(90deg) scaleX(1.1)}
.v29-contact-halo i:nth-child(4){width:73%;opacity:.1;transform:rotate(125deg) scaleY(.75)}
.v29-contact.portal-awake .v29-contact-halo i:first-child{transform:scale(1.055);opacity:.5}
.v29-contact .contact-core {border:0!important;background:transparent!important;box-shadow:none!important;max-width:100%;width:min(95%,550px);min-height:230px;padding:20px!important;gap:14px;transform:translate(-50%,-50%)!important;}
.v29-contact .contact-core::before,.v29-contact .contact-core::after{display:none}
.v29-contact .v29-big-at{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:clamp(220px,20vw,330px);line-height:1;font-weight:800;color:rgba(208,230,255,.065);pointer-events:none;z-index:-1;transition:transform .65s,opacity .65s;}
.v29-contact.portal-awake .v29-big-at{transform:translate(-50%,-50%) rotate(-11deg) scale(1.12);color:rgba(208,230,255,.12)}
.v29-contact .contact-core-symbol{font-size:28px;text-shadow:0 0 24px rgba(203,224,250,.4);transition:transform .5s}
.v29-contact.portal-awake .contact-core-symbol{transform:rotate(90deg) scale(1.25)}
.v29-contact .contact-main-link{font-size:clamp(22px,2.5vw,36px)!important;font-weight:760;white-space:normal;overflow-wrap:anywhere;position:relative;color:var(--fg);text-shadow:0 2px 21px var(--bg);line-height:1.07}
.v29-contact .copy-email{background:rgba(22,30,42,.7)!important;border-color:rgba(199,217,240,.35)!important;color:var(--fg)!important;transition:transform .3s,border-color .3s;}
.v29-contact .copy-email:hover{transform:translateY(-5px)!important;border-color:var(--accent)!important}
.v29-contact .contact-satellite{background:rgba(17,23,33,.88)!important;border:1px solid rgba(193,218,247,.33)!important;border-radius:50px!important;backdrop-filter:blur(8px);padding:14px 18px!important;min-width:115px;justify-content:center;transition:transform .35s ease,border-color .3s,box-shadow .3s!important}
.v29-contact .satellite-0{left:5%;top:8%}.v29-contact .satellite-1{right:0%;top:23%}.v29-contact .satellite-2{right:10%;bottom:6%;left:auto}
.v29-contact .contact-satellite:hover,.v29-contact .contact-satellite:focus-visible{transform:translateY(-6px) scale(1.07)!important;box-shadow:0 0 42px rgba(167,205,247,.18)!important;border-color:var(--accent)!important}
.v29-contact .signal-lines-back path{stroke-width:1.2;opacity:.4;stroke-dasharray:2 8}
.v29-contact .signal-beam{stroke-width:2;filter:drop-shadow(0 0 8px rgba(200,226,255,.8));stroke-dasharray:20 12;animation:v29-signal 1.6s linear infinite}
.v29-contact-hint{position:absolute;top:1%;left:50%;transform:translateX(-50%);font:500 10px/1.2 ui-monospace,monospace;letter-spacing:.12em;color:var(--muted);white-space:nowrap;pointer-events:none;opacity:.55;z-index:7}
@keyframes v29-signal{to{stroke-dashoffset:-64}}
/* GESTURE PORTAL: a unique, scroll-progress-controlled iris with type trails. */
@media(max-width:900px){
  .v29-mobile-portal {position:relative;display:flex;justify-content:center;align-items:center;height:72svh;min-height:420px;max-height:670px;overflow:clip;isolation:isolate;contain:layout paint;pointer-events:none;}
  .v29-aperture{position:relative;width:min(96vw,580px);height:min(89vw,510px);max-height:68svh;display:grid;place-items:center;overflow:hidden;isolation:isolate}
  .v29-aperture::before{content:'';position:absolute;inset:5%;border-radius:50%;background:radial-gradient(circle,rgba(172,199,234,.055),rgba(16,24,34,.31) 48%,transparent 75%);clip-path:circle(var(--portal-open,8%) at 50% 50%);transition:none}
  .v29-aperture::after{content:'';position:absolute;left:50%;top:50%;width:min(68vw,370px);height:min(68vw,370px);transform:translate(-50%,-50%) rotate(var(--portal-rotation,0deg));border:1px solid rgba(196,219,247,.2);border-radius:50%;clip-path:polygon(0 0,100% 0,100% 82%,57% 82%,57% 100%,0 100%)}
  .v29-aperture-ring{position:absolute;width:min(84vw,450px);height:min(84vw,450px);border-radius:50%;border:1px dotted rgba(198,224,250,.25);transform:rotate(calc(var(--portal-rotation,0deg) * -1));opacity:.6}
  .v29-aperture-ring::after{content:'✳';position:absolute;top:0;left:50%;font-size:18px;color:var(--accent);transform:translate(-50%,-50%)}
  .v29-previous,.v29-next{position:absolute;z-index:5;width:94%;padding:0 5%;font-family:inherit;font-size:clamp(34px,11vw,69px);font-weight:810;letter-spacing:-.072em;line-height:1.05;text-align:center;overflow-wrap:break-word;color:var(--fg);will-change:transform,opacity;}
  .v29-previous{transform:translateY(calc(var(--portal-progress,0) * -42px)) scale(calc(1 - var(--portal-noise,0) * .12));color:var(--muted)}
  .v29-next{transform:translateY(calc((1 - var(--portal-progress,0)) * 39px)) scale(calc(.9 + var(--portal-progress,0) * .1));color:var(--fg)}
  .v29-shards{position:absolute;inset:0;pointer-events:none}
  .v29-shards i{position:absolute;left:50%;top:50%;width:1px;height:clamp(22px,6vw,45px);background:linear-gradient(to bottom,transparent,var(--accent),transparent);opacity:calc(var(--portal-noise,0) * .65);transform:rotate(var(--deg)) translateY(calc(-38px - var(--portal-noise,0) * 125px));transform-origin:center;}
  .v29-tick{position:absolute;bottom:8%;width:clamp(40px,30%,150px);height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.5;transform:scaleX(calc(.1 + var(--portal-progress,0) * .9));}
  /* Contact: labels never overlap the email when narrow. */
  .contact-scene .contact-orbit-layout{display:flex!important;flex-direction:column!important;gap:16px!important}
  .v29-contact.signal-board{height:clamp(430px,120vw,520px)!important;min-height:430px!important;width:100%!important}
  .v29-contact .contact-core{min-height:150px;gap:10px;width:95%!important;padding:10px!important}
  .v29-contact .contact-main-link{font-size:clamp(19px,5vw,25px)!important}
  .v29-contact .v29-big-at{font-size:190px}
  .v29-contact .contact-satellite{padding:9px 11px!important;min-width:0;font-size:11px}
  .v29-contact .satellite-0{top:8%;left:2%}.v29-contact .satellite-1{top:12%;right:1%}.v29-contact .satellite-2{bottom:7%;right:3%}
  .skill-sphere .sphere-emblem{width:clamp(30px,9.5vw,50px);height:clamp(30px,9.5vw,50px)}
}
@media (prefers-reduced-motion:reduce){
 .v29-mobile-portal{display:none!important}
 .v29-contact .signal-beam{animation:none!important}
 .v29-contact .contact-satellite,.v29-contact .v29-big-at{transition:none!important}
}



/* === v30.css === */
/* CANDAL V30 — precise geometry, living background, depth sphere and signal sheets */
@media(min-width:901px){
  .path-menu{right:clamp(54px,5.1vw,100px)!important;}
  .path-option{animation:none!important;}
  .path-menu .path-option:not(.path-home){gap:13px!important;max-width:none!important;}
  /* Alternating sides, no text intersects the plotted path. */
  .path-menu .path-option:nth-child(2),.path-menu .path-option:nth-child(5){
    flex-direction:row-reverse!important;
    transform:translate(calc(-100% + 6px),-50%)!important;
  }
  .path-menu .path-option:nth-child(3),.path-menu .path-option:nth-child(4),.path-menu .path-option:nth-child(6){
    flex-direction:row!important;
    transform:translate(-6px,-50%)!important;
  }
  .path-menu .path-option:not(.path-home) .path-label{
    font-size:clamp(21px,1.8vw,29px)!important;
    letter-spacing:-.045em!important;
    font-weight:625!important;
    line-height:1.05!important;
    max-width:none!important;width:max-content!important;
    white-space:nowrap!important;margin:0!important;
    text-align:left!important;
  }
  .path-menu .path-option:nth-child(2) .path-label,.path-menu .path-option:nth-child(5) .path-label{text-align:right!important;}
  .path-menu .path-option:nth-child(4) .path-label{text-align:left!important;}
  .path-menu .path-option:nth-child(4) .shared-title-line{display:inline!important;white-space:nowrap!important;text-align:left!important;}
  .path-menu .path-option:nth-child(3) .shared-title-line{display:block!important;}
  .path-menu .path-option:nth-child(3) .path-label{text-align:left!important;}
  .path-menu .path-option .path-label{background:none!important;text-shadow:0 0 14px var(--bg),0 0 26px var(--bg)!important;}
  .path-menu .path-option .path-arrow{display:none!important;}
  .path-menu .path-option.path-home,.path-menu .path-option.path-home:hover,.path-menu .path-option.path-home:focus-visible{transform:translate(-50%,-50%)!important;}
  .path-menu .path-option.path-home{width:88px!important;height:88px!important;}
  .path-menu .path-home .path-label{width:72px!important;height:72px!important;margin:0!important;transform:none!important;}
  .path-menu .path-home .path-home-mark,.path-menu .path-home:hover .path-home-mark{
    width:49px!important;height:49px!important;
    transform:none!important;rotate:0deg!important;
    transition:scale .34s cubic-bezier(.2,.75,.2,1)!important;
  }
  .path-menu .path-home:hover .path-home-mark{scale:1.09!important;}
  .section-motion-title .shared-title-line{display:block!important;}
  .beyond-copy .section-motion-title{white-space:nowrap!important;font-size:clamp(44px,4.6vw,73px)!important;}
  .path-menu .path-option:not(.path-home).is-active .path-label{opacity:0!important;}
  .v29-return,.scene-title-return{background:transparent!important;white-space:nowrap!important;}
  .v29-return .shared-title-line{display:block!important;}
}
/* A stable replay origin: the flight travels to the final C, then letters form. */
.intro-stage.is-return-replay .intro-mark .emblem{animation:none!important;transform:translate(258px,190px) scale(.18)!important;}
.intro-stage.is-return-replay.is-playing .intro-mark .outer-ring{animation:intro-ring-fade .65s ease .06s both!important;}
.intro-stage.is-return-replay.is-playing .intro-mark .last-name{animation:intro-name-slide 2.4s cubic-bezier(.25,.69,.2,1) .22s both!important;}
.intro-stage.is-return-replay.is-playing .intro-mark .first-name{animation:intro-first-rise 2.0s cubic-bezier(.2,.77,.2,1) .9s both!important;}
.intro-stage.is-return-replay.is-playing .first-name-reveal{animation:v22-intro-name-opacity .24s ease .87s both!important;}
/* The sole canvas has an interactive fluid topology, not a template grid. */
.ambient{background:radial-gradient(ellipse 85% 95% at 65% 50%,rgba(38,55,78,.10),transparent 72%),var(--bg)!important;}
.constellation{opacity:1!important;}
.ambient-spot{display:none!important;}
/* Sphere: a surface, not a cloud of independently fading logos. */
.skill-sphere .sphere-token,.skill-sphere .sphere-token[data-front="false"]{
  opacity:var(--v30-alpha,0)!important;
  filter:blur(var(--v30-blur,0px))!important;
  mix-blend-mode:normal!important;
  transition:none!important;
  pointer-events:none!important;
}
.skill-sphere .sphere-emblem,.skill-sphere .sphere-emblem svg{background:transparent!important;opacity:1!important;mix-blend-mode:normal!important;}
.skill-sphere .sphere-token strong{color:var(--fg)!important;font-weight:630!important;}
.skill-sphere .skills-wireframe{opacity:1!important;}
/* Contact: three responsive, magnetic signal paths and a typographic "to" field. */
.v30-contact-layout{position:relative;display:grid;grid-template-columns:minmax(270px,.57fr) minmax(420px,1.43fr);gap:clamp(25px,4vw,75px);width:min(100%,1460px);margin:auto;align-items:center;min-height:min(690px,80vh);}
.v30-contact-intro{position:relative;z-index:2;align-self:center;min-width:0;}
.v30-contact-intro .section-motion-title{font-size:clamp(70px,7vw,120px);letter-spacing:-.078em;line-height:.91;margin:0 0 32px;}
.v30-contact-desc{max-width:19ch;color:var(--muted);font-size:clamp(20px,2.25vw,29px);line-height:1.23;letter-spacing:-.045em;}
.v30-contact-cross{font-size:clamp(54px,7vw,105px);color:color-mix(in srgb,var(--accent) 46%,transparent);transform:rotate(12deg);margin-top:38px;}
.v30-contact-board{position:relative;min-height:510px;padding:clamp(22px,3vw,44px);overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:center;gap:clamp(25px,3.5vh,38px);border-left:1px solid color-mix(in srgb,var(--accent) 30%,transparent);background:radial-gradient(260px circle at var(--contact-x,50%) var(--contact-y,50%),color-mix(in srgb,var(--accent) 11%,transparent),transparent 90%);}
.v30-contact-board::before{content:'';position:absolute;left:-1px;top:var(--contact-y,50%);height:100px;width:1px;transform:translateY(-50%);background:linear-gradient(transparent,var(--fg),transparent);pointer-events:none;}
.v30-contact-stamp{position:absolute;right:-.08em;top:-.32em;font-size:clamp(280px,31vw,550px);line-height:1;font-weight:850;letter-spacing:-.12em;color:color-mix(in srgb,var(--accent) 6%,transparent);user-select:none;pointer-events:none;z-index:-1;}
.v30-contact-primary{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:18px;}
.v30-contact-eyebrow{font:600 12px/1.2 ui-monospace,monospace;letter-spacing:.045em;color:var(--muted);}
.v30-contact-email{display:block;max-width:100%;color:var(--fg);font-weight:750;font-size:clamp(23px,3.2vw,52px);letter-spacing:-.075em;line-height:1.1;overflow-wrap:anywhere;text-decoration:none;transition:color .3s;}
.v30-contact-email span{font-size:.52em;color:var(--accent);display:inline-block;transition:transform .35s;}
.v30-contact-email:hover span{transform:translate(7px,-7px);}
.v30-contact-copy{display:flex;gap:8px;align-items:center;color:var(--muted);background:none;border:0;padding:7px 0;font:500 12px/1.2 ui-monospace,monospace;cursor:pointer;transition:color .2s;}
.v30-contact-copy:hover{color:var(--fg)}.v30-copy-glyph{font-size:19px;}
.v30-contact-channels{position:relative;display:grid;gap:3px;z-index:3;}
.v30-contact-channel{position:relative;display:grid;grid-template-columns:36px auto 1fr 22px;align-items:center;gap:clamp(10px,1.8vw,22px);min-height:68px;color:var(--muted);text-decoration:none;border-top:1px solid color-mix(in srgb,var(--accent) 21%,transparent);padding:13px 0;overflow:hidden;transition:padding .4s,color .35s;}
.v30-contact-channel:last-child{border-bottom:1px solid color-mix(in srgb,var(--accent) 21%,transparent);}
.v30-contact-channel::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,color-mix(in srgb,var(--accent) 12%,transparent),transparent 80%);transform:translateX(-101%);transition:transform .57s cubic-bezier(.2,.8,.2,1);}
.v30-contact-channel:hover::before,.v30-contact-channel:focus-visible::before{transform:translateX(0);}
.v30-contact-channel:hover,.v30-contact-channel:focus-visible{color:var(--fg);padding-left:12px;}
.v30-channel-icon{display:flex;align-items:center;justify-content:center;color:var(--accent);}
.v30-channel-icon svg{width:22px;height:22px;}
.v30-channel-name{font-weight:610;font-size:clamp(21px,2vw,30px);letter-spacing:-.055em;}
.v30-channel-trail{position:relative;display:block;height:1px;min-width:35px;background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 15%,transparent),color-mix(in srgb,var(--accent) 45%,transparent));}
.v30-channel-trail i{display:block;position:absolute;left:0;top:-2px;width:7px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 15px var(--accent);transform:translateX(var(--tracer-x,0px));transition:transform .65s cubic-bezier(.2,.7,.2,1);}
.v30-channel-arrow{font-size:20px;transition:transform .35s;}
.v30-contact-channel:hover .v30-channel-arrow{transform:translate(4px,-4px);}
.v30-contact-signal{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.4;}
.v30-contact-signal span{position:absolute;border:1px solid color-mix(in srgb,var(--accent) 16%,transparent);border-radius:50%;width:200px;height:200px;transform:translate(-50%,-50%);left:var(--contact-x,50%);top:var(--contact-y,50%);}
.v30-contact-signal span:nth-child(2){width:390px;height:390px;opacity:.42;border-style:dashed;}
.v30-contact-signal span:nth-child(3){width:590px;height:590px;opacity:.2;}
.v30-contact-layout .contact-signature{position:absolute;bottom:-22px;left:0;right:0;}
@media(max-width:900px){
  .v30-contact-layout{display:flex;flex-direction:column;align-items:stretch;gap:26px;max-width:700px;min-height:0;}
  .v30-contact-intro{align-self:stretch;}
  .v30-contact-intro .section-motion-title{font-size:clamp(52px,12vw,84px);margin:0 0 20px;}
  .v30-contact-desc{max-width:28ch;font-size:19px;}
  .v30-contact-cross{display:none;}
  .v30-contact-board{min-height:440px;padding:18px 8px 35px;gap:22px;border-left:0;border-top:1px solid color-mix(in srgb,var(--accent) 26%,transparent);}
  .v30-contact-board::before{width:100px;height:1px;top:-1px;left:var(--contact-x,50%);transform:translateX(-50%);background:linear-gradient(90deg,transparent,var(--fg),transparent);}
  .v30-contact-eyebrow{font-size:11px;}
  .v30-contact-email{font-size:clamp(22px,6vw,40px);}
  .v30-contact-channel{min-height:65px;}
  .v30-contact-stamp{font-size:310px;right:-65px;top:-35px;}
  .v30-contact-layout .contact-signature{position:relative;bottom:auto;min-height:46px;}
}
@media(prefers-reduced-motion:reduce){.v30-contact-channel,.v30-contact-channel::before{transition:none!important;}}
/* Finish the desktop composition without letting long strings invade the title. */
@media(min-width:901px){
  .v30-contact-intro .section-motion-title{font-size:clamp(59px,5.2vw,82px)!important;}
  .v30-contact-email{font-size:clamp(23px,2.3vw,35px)!important;}
}



/* === v31.css === */
/* candal.dev V31 — precisely anchored navigator, tactile sphere, transition bridges */
@media(min-width:901px) {
  .path-menu .path-trail {opacity:.66!important;}
  .path-menu .trail-base {stroke-dasharray:2 12!important;stroke-width:1.1!important;stroke:rgba(173,190,213,.23)!important;}
  .path-menu .trail-lit {stroke-dasharray:45 1200!important;stroke-width:1.15!important;stroke:rgba(194,217,241,.43)!important;animation:trail-drift 36s linear infinite!important;}
  .path-menu .path-option {gap:12px!important;}
  .path-menu .path-option .path-label {font-size:clamp(20px,1.75vw,29px)!important;white-space:nowrap!important;line-height:1.04!important;max-width:none!important;transition:opacity .35s,color .32s!important;}
  .path-menu .path-option .path-label .shared-title-line {white-space:nowrap!important;}
  .path-menu .path-option:nth-child(3) .shared-title-line {display:block!important;}
  .path-menu .path-option:nth-child(4) .shared-title-line {display:inline!important;}
  .path-menu .path-option:nth-child(4) .shared-title-line:first-child::after {content:' '!important;}
  /* Alternating placement: odd rows left, even rows right. The dot stays on the curve. */
  .path-menu .path-option:nth-child(2),
  .path-menu .path-option:nth-child(4),
  .path-menu .path-option:nth-child(6) {flex-direction:row-reverse!important; transform:translate(calc(-100% + 7px),-50%)!important;}
  .path-menu .path-option:nth-child(3),
  .path-menu .path-option:nth-child(5) {flex-direction:row!important;transform:translate(-7px,-50%)!important;}
  .path-menu .path-option:nth-child(2) .path-label,
  .path-menu .path-option:nth-child(4) .path-label,
  .path-menu .path-option:nth-child(6) .path-label {text-align:right!important;}
  .path-menu .path-option:nth-child(3) .path-label,
  .path-menu .path-option:nth-child(5) .path-label {text-align:left!important;}
  .path-menu .path-option:nth-child(4) .path-label {white-space:nowrap!important;}
  /* Centering the mark precisely over the curve's first node. */
  .path-menu .path-option.path-home,
  .path-menu .path-option.path-home:hover,
  .path-menu .path-option.path-home:focus-visible {
    transform:translate(-50%,-50%)!important;
    width:104px!important;height:104px!important;min-width:0!important;padding:0!important;
    display:grid!important;place-items:center!important;
  }
  .path-menu .path-option.path-home .path-label {
    width:78px!important;height:78px!important;
    display:grid!important;place-items:center!important;
    padding:0!important;margin:0!important;transform:none!important;
  }
  .path-menu .path-option.path-home .path-label::before {inset:-6px!important;}
  .path-menu .path-option.path-home .path-home-mark,
  .path-menu .path-option.path-home:hover .path-home-mark {
    width:55px!important;height:55px!important;
    transform:none!important;rotate:0deg!important;
    transition:scale .34s cubic-bezier(.2,.75,.2,1)!important;
  }
  .path-menu .path-option.path-home:hover .path-home-mark {scale:1.1!important;}
  .path-menu .path-option.path-home .path-arrow {display:none!important;}
  /* Ghosts returning to the route must inherit the exact menu line-breaks. */
  .scene-title-return .shared-title-line {white-space:nowrap!important;}
  .scene-title-return .shared-title-line:only-child {display:inline!important;}
}
/* The sphere surface accepts dragging on all touch devices. An actual touch
   swipe starting on the globe rotates it; a swipe outside keeps native scroll. */
#skill-sphere {touch-action:none!important;overscroll-behavior:contain;user-select:none;-webkit-user-select:none;cursor:grab!important;}
#skill-sphere:active {cursor:grabbing!important;}
#skill-sphere canvas,#skill-sphere .sphere-labels,#skill-sphere .sphere-token {pointer-events:none!important;}
#skill-sphere .sphere-emblem {width:clamp(54px,6.8vw,88px)!important;height:clamp(54px,6.8vw,88px)!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.3));}
#skill-sphere .sphere-emblem svg {display:block;width:100%!important;height:100%!important;overflow:visible!important;}
#skill-sphere .sphere-token {opacity:var(--v30-alpha,0)!important;filter:blur(var(--v30-blur,0px))!important;transition:none!important;will-change:transform,opacity;}
#skill-sphere .sphere-token strong {font-size:clamp(13px,1.2vw,17px)!important;text-shadow:0 2px 8px #080c12;white-space:nowrap;}
#skill-sphere .skills-wireframe {opacity:1!important;}
@media(max-width:900px) {
 #skill-sphere .sphere-emblem {width:clamp(42px,13vw,67px)!important;height:clamp(42px,13vw,67px)!important;}
 #skill-sphere .sphere-token strong {font-size:11px!important;}
}
/* Contact becomes an open interactive canvas rather than a corporate card. */
.v31-contact-layout {position:relative;width:min(100%,1480px);margin:auto;min-width:0;display:grid;grid-template-columns:minmax(240px,.59fr) minmax(500px,1.41fr);gap:clamp(28px,5vw,85px);align-items:center;min-height:min(780px,85vh);}
.v31-contact-heading {z-index:3;align-self:center;}
.v31-contact-heading .section-motion-title {font-size:clamp(65px,6.2vw,102px);letter-spacing:-.075em;line-height:.95;margin:0 0 32px;}
.v31-contact-heading p {font-size:clamp(21px,2.1vw,29px);line-height:1.23;letter-spacing:-.04em;color:var(--muted);max-width:21ch;}
.v31-contact-field {position:relative;isolation:isolate;min-height:570px;display:flex;flex-direction:column;justify-content:space-between;padding:24px clamp(20px,2.2vw,38px);overflow:hidden;--fx:50%;--fy:50%;border:1px solid rgba(169,190,219,.1);border-radius:28px;background:radial-gradient(330px circle at var(--fx) var(--fy),rgba(154,192,244,.105),transparent 78%),linear-gradient(135deg,rgba(16,25,39,.45),rgba(9,13,20,.13));}
.v31-contact-field::after {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at var(--fx) var(--fy),transparent 0 24px,rgba(202,222,247,.11) 25px,transparent 26px),radial-gradient(circle at var(--fx) var(--fy),transparent 0 94px,rgba(202,222,247,.05) 95px,transparent 96px);opacity:.92;}
.v31-contact-topline {z-index:3;display:flex;align-items:center;gap:14px;justify-content:flex-end;color:var(--muted);font:600 10px ui-monospace,monospace;letter-spacing:.15em;}
.v31-contact-topline span:first-child {margin-right:auto;font-family:inherit;font-size:13px;letter-spacing:-.04em;color:var(--fg);}
.v31-signal-led {width:7px;height:7px;border-radius:50%;background:#c4e8d5;box-shadow:0 0 15px #a2edbf;animation:v31-led 2.8s ease-in-out infinite alternate;}
@keyframes v31-led {to{opacity:.32}}
.v31-contact-stage {position:absolute;inset:-22%;overflow:hidden;z-index:-1;pointer-events:none;}
.v31-huge-at {position:absolute;left:55%;top:48%;font-size:clamp(410px,48vw,780px);line-height:1;font-weight:900;letter-spacing:-.13em;transform:translate(-50%,-50%) rotate(var(--tilt,0deg));color:rgba(170,195,229,.043);transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.v31-contact-orbit {position:absolute;left:var(--fx);top:var(--fy);border:1px solid rgba(174,207,247,.11);width:32%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;}
.v31-contact-orbit.orbit-two {width:63%;border-style:dashed;opacity:.45;}
.v31-contact-orbit.orbit-three {width:88%;opacity:.28;}
.v31-beacon {position:absolute;left:var(--fx);top:var(--fy);width:5px;height:5px;border-radius:50%;background:#d4e5fb;box-shadow:0 0 14px 4px #a9cdf277;transform:translate(-50%,-50%);}
.v31-contact-core {position:relative;z-index:2;padding:50px 0 25px;}
.v31-contact-invite {color:var(--muted);font-size:clamp(18px,1.7vw,25px);margin:0 0 14px;}
.v31-contact-email {display:flex;align-items:baseline;flex-wrap:wrap;position:relative;gap:0;color:var(--fg);text-decoration:none;font-size:clamp(30px,4vw,65px);font-weight:790;letter-spacing:-.085em;line-height:1.05;width:fit-content;max-width:100%;}
.v31-contact-email span:nth-child(2){color:#96a9c1;}
.v31-mail-arrow{display:inline-flex;margin-left:12px;color:var(--accent);font-size:.38em;align-self:flex-start;transition:transform .35s!important;}
.v31-contact-email:hover .v31-mail-arrow{transform:translate(7px,-7px);}
.v31-copy {border:0;background:transparent;color:var(--muted);padding:16px 0;cursor:pointer;display:flex;align-items:center;gap:10px;font-size:13px;transition:color .3s;}
.v31-copy:hover{color:var(--fg)}
.v31-contact-paths {position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px 0 25px;}
.v31-channel {position:relative;min-height:98px;display:flex;flex-direction:column;justify-content:space-between;gap:15px;text-decoration:none;color:var(--fg);padding:15px 16px;border-top:1px solid rgba(180,212,245,.23);transition:transform .4s cubic-bezier(.2,.8,.2,1),background .35s,border-color .3s;}
.v31-channel::before{content:'';position:absolute;top:-1px;left:0;height:2px;width:0;background:var(--accent);box-shadow:0 0 14px var(--accent);transition:width .48s cubic-bezier(.2,.7,.2,1);}
.v31-channel:hover,.v31-channel:focus-visible{transform:translateY(-11px);background:rgba(154,192,244,.085);border-color:rgba(192,220,250,.65);}
.v31-channel:hover::before,.v31-channel:focus-visible::before{width:100%;}
.v31-channel-index{color:var(--muted);font:500 11px ui-monospace,monospace;}
.v31-channel-name{display:flex;align-items:center;gap:11px;font-weight:700;letter-spacing:-.035em;font-size:clamp(16px,1.65vw,23px);}
.v31-channel-name svg{width:22px;height:22px;}
.v31-channel-action{position:absolute;right:16px;top:12px;color:var(--accent);font-size:22px;}
.v31-contact-bar {position:absolute;left:20px;right:20px;bottom:0;display:flex;height:5px;align-items:stretch;gap:3px;opacity:.48;pointer-events:none;}
.v31-contact-bar span{height:100%;flex:1;background:var(--accent);transform:scaleY(.24);transform-origin:bottom;animation:v31-signal 1.8s ease-in-out infinite alternate;animation-delay:calc(var(--delay,0) * 1s);}
.v31-contact-bar span:nth-child(3n){animation-duration:1.25s;}.v31-contact-bar span:nth-child(3n+1){animation-duration:2.3s;}
@keyframes v31-signal{to{transform:scaleY(1)}}
.v31-contact-layout .contact-signature{position:absolute;bottom:-28px;left:0;right:0;}
@media(max-width:900px){
 .v31-contact-layout{display:block;min-height:auto;max-width:690px;}
 .v31-contact-heading .section-motion-title{font-size:clamp(50px,12vw,82px);margin-bottom:16px;}
 .v31-contact-heading p{font-size:19px;margin:0 0 26px;}
 .v31-contact-field{min-height:480px;padding:20px 15px;border-radius:20px;}
 .v31-contact-email{font-size:clamp(28px,6.9vw,48px);}
 .v31-contact-core{padding:42px 0 25px;}
 .v31-contact-paths{gap:5px;}
 .v31-channel{padding:12px 6px;min-height:90px;}
 .v31-channel-name{flex-direction:column;align-items:flex-start;gap:8px;font-size:14px;}
 .v31-channel-action{right:4px;font-size:17px;}
 .v31-huge-at{font-size:490px;}
 .v31-contact-layout .contact-signature{position:relative;bottom:auto;margin-top:22px;}
}
/* Mobile transition design: a kinetic, nonblocking, chapter-length "ribbon
   of type" that opens into the next section as native scroll progresses. */
@media(max-width:900px){
 .v29-mobile-portal {display:none!important;}
 .v31-bridge{position:relative;height:76svh;min-height:410px;isolation:isolate;pointer-events:none;contain:layout paint;overflow:clip;}
 .v31-bridge-stage{position:sticky;top:12svh;height:70svh;max-height:680px;display:grid;place-items:center;perspective:700px;overflow:hidden;}
 .v31-bridge-stage::before{content:'';position:absolute;left:50%;top:50%;width:66vw;aspect-ratio:1;border:1px solid rgba(190,217,247,.2);border-radius:50%;transform:translate(-50%,-50%) scale(calc(.38 + var(--bridge-progress,0) * 1.6)) rotate(calc(var(--bridge-progress,0) * 145deg));opacity:calc(.45 + var(--bridge-intensity,0) * .55);}
 .v31-bridge-stage::after{content:'';position:absolute;width:90vw;height:1px;background:linear-gradient(90deg,transparent,rgba(179,211,249,.6),transparent);transform:rotate(calc(-25deg + var(--bridge-progress,0) * 55deg));}
 .v31-bridge-old,.v31-bridge-new{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 10%;font-size:clamp(38px,11.7vw,76px);line-height:1.03;letter-spacing:-.075em;font-weight:840;white-space:normal;overflow-wrap:break-word;will-change:opacity,transform;}
 .v31-bridge-old{color:var(--muted);opacity:calc(1 - var(--bridge-progress,0) * 1.3);transform:translateY(calc(var(--bridge-progress,0) * -88px)) rotateX(calc(var(--bridge-progress,0) * 30deg)) scale(calc(1 - var(--bridge-progress,0) * .19));}
 .v31-bridge-new{color:var(--fg);opacity:clamp(0,calc((var(--bridge-progress,0) - .30) * 1.7),1);transform:translateY(calc((1 - var(--bridge-progress,0)) * 85px)) rotateX(calc((1 - var(--bridge-progress,0)) * -34deg));}
 .v31-bridge-shards{position:absolute;inset:0;overflow:hidden;}
 .v31-bridge-shards i{position:absolute;left:50%;top:50%;display:block;width:3px;height:clamp(16px,5vw,44px);background:linear-gradient(transparent,var(--accent),transparent);opacity:calc(var(--bridge-intensity,0) * .85);transform:rotate(var(--turn)) translateY(calc(-40px - var(--bridge-intensity,0) * 115px));}
 .v31-bridge-counter{position:absolute;bottom:13%;right:10%;font:500 11px ui-monospace,monospace;letter-spacing:.14em;color:var(--muted);}
 .v31-bridge-side{position:absolute;top:50%;height:2px;width:100%;background:linear-gradient(90deg,transparent,rgba(190,215,251,.5),transparent);transform:translateY(-50%) scaleX(calc(.1 + var(--bridge-intensity,0) * .8));opacity:.36;}
}
@media(prefers-reduced-motion:reduce){
 .v31-bridge{height:20px!important;min-height:20px!important;}
 .v31-bridge-stage{display:none!important;}
 .v31-contact-bar span,.v31-signal-led{animation:none!important;}
}
/* Desktop contact: heading owns its own row so its large typography never
   crosses the interaction surface or the persistent tree navigator. */
@media(min-width:901px){
 .v31-contact-layout {display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:25px!important;width:min(100%,850px)!important;min-height:0!important;}
 .v31-contact-heading {display:flex;align-items:baseline;gap:24px;}
 .v31-contact-heading .section-motion-title {font-size:clamp(54px,5.2vw,78px)!important;line-height:1!important;margin:0!important;white-space:nowrap;flex:0 0 auto;}
 .v31-contact-heading p {font-size:clamp(17px,1.4vw,21px)!important;max-width:22ch!important;line-height:1.2!important;margin:0!important;}
 .v31-contact-field {min-height:495px!important;padding:24px 34px!important;}
 .v31-contact-email {font-size:clamp(36px,3.5vw,58px)!important;}
 .v31-contact-layout .contact-signature {position:relative!important;bottom:auto!important;margin-top:0!important;}
}



/* === v32.css === */
/* Candal V32 — one source for the SVG navigation geometry and its labels. */
@media(min-width:901px){
 .path-menu{right:clamp(20px,3.9vw,78px)!important;top:104px!important;bottom:49px!important;width:clamp(330px,28vw,412px)!important;max-height:720px!important;}
 .path-menu .path-trail{opacity:.58!important;overflow:visible!important;}
 .path-menu .trail-base{stroke:rgba(169,196,228,.27)!important;stroke-width:1.2!important;stroke-dasharray:1 10!important;}
 .path-menu .trail-lit{stroke:rgba(189,211,238,.34)!important;stroke-width:1.1!important;stroke-dasharray:28 1250!important;animation:trail-drift 46s linear infinite!important;}
 .path-menu .path-option:not(.path-home),.path-menu .path-option:not(.path-home):hover{
   top:var(--nav-y)!important;left:var(--nav-x)!important;right:auto!important;bottom:auto!important;
   padding:7px 0!important;margin:0!important;gap:12px!important;max-width:none!important;
   min-height:42px!important;width:max-content!important;height:auto!important;position:absolute!important;
   transform:translate(-6px,-50%)!important;flex-direction:row!important;align-items:center!important;
   background:transparent!important;filter:none!important;
 }
 /* Logical side determined only by node index. Node center sits on curve. */
 .path-menu .path-option:nth-child(2),.path-menu .path-option:nth-child(4),.path-menu .path-option:nth-child(6),
 .path-menu .path-option:nth-child(2):hover,.path-menu .path-option:nth-child(4):hover,.path-menu .path-option:nth-child(6):hover {
   transform:translate(calc(-100% + 6px),-50%)!important;flex-direction:row-reverse!important;
 }
 .path-menu .path-option:nth-child(3),.path-menu .path-option:nth-child(5){flex-direction:row!important;}
 .path-menu .path-option .path-label,.path-menu .path-option:nth-child(4) .path-label{
   display:block!important;white-space:nowrap!important;line-height:1.08!important;text-wrap:nowrap!important;
   font-size:clamp(21px,1.65vw,27px)!important;letter-spacing:-.05em!important;font-weight:600!important;
   margin:0!important;max-width:none!important;text-shadow:0 0 11px var(--bg),0 0 22px var(--bg)!important;
 }
 .path-menu .path-option:nth-child(3) .shared-title-line{display:block!important;white-space:nowrap!important;}
 .path-menu .path-option:nth-child(4) .shared-title-line{display:inline!important;white-space:nowrap!important;}
 .path-menu .path-option:nth-child(4) .shared-title-line:first-child::after{content:' '!important;}
 .path-menu .path-option:nth-child(2) .path-label,.path-menu .path-option:nth-child(4) .path-label,.path-menu .path-option:nth-child(6) .path-label{text-align:right!important;}
 .path-menu .path-option:nth-child(3) .path-label,.path-menu .path-option:nth-child(5) .path-label{text-align:left!important;}
 .path-menu .path-option .path-node{width:12px!important;height:12px!important;flex:0 0 12px!important;}
 .path-menu .path-option.path-home,.path-menu .path-option.path-home:hover,.path-menu .path-option.path-home:focus-visible{
   left:var(--nav-x)!important;top:var(--nav-y)!important;width:88px!important;height:88px!important;
   transform:translate(-50%,-50%)!important;place-items:center!important;display:grid!important;padding:0!important;
 }
 .path-menu .path-home .path-label{width:69px!important;height:69px!important;display:grid!important;place-items:center!important;}
 .path-menu .path-home .path-home-mark{width:49px!important;height:49px!important;transform:none!important;rotate:0deg!important;transition:scale .4s ease!important;}
 .path-menu .path-home:hover .path-home-mark{scale:1.09!important;}
 .path-menu .path-option.is-active:not(.path-home) .path-label{opacity:0!important;}
 .path-menu .path-option:not(.path-home) .path-arrow{display:none!important;}
 .scene-title-flight,.scene-title-return{white-space:nowrap!important;}
 /* Move the sphere slightly right within its allotted zone. */
 .skills-scene .skill-sphere-wrap{transform:translateX(clamp(12px,2.1vw,35px))!important;}
}
/* The globe takes ownership of pointer and touch gestures only inside its circle. */
#skill-sphere,#skill-sphere .skills-wireframe,#skill-sphere .sphere-labels{touch-action:none!important;overscroll-behavior:contain!important;}
#skill-sphere{position:relative!important;z-index:6!important;cursor:grab!important;}
#skill-sphere:active{cursor:grabbing!important;}
@media(max-width:900px){
 #skill-sphere{touch-action:none!important;min-height:270px;}
 .v31-bridge{height:93svh!important;min-height:480px!important;overflow:visible!important;contain:layout!important;}
 .v31-bridge-stage{position:sticky!important;top:12svh!important;height:74svh!important;overflow:hidden!important;}
 .v31-bridge-old,.v31-bridge-new{font-size:clamp(37px,11vw,68px)!important;}
 .v31-bridge-stage::before{box-shadow:0 0 48px rgba(116,165,230,.095),inset 0 0 44px rgba(116,165,230,.065);}
 .scene:not(.home-scene) .section-motion-title{transition:opacity .72s cubic-bezier(.18,.72,.22,1),translate .72s cubic-bezier(.18,.72,.22,1)!important;}
 .scene:not(.home-scene):not(.v32-scene-visible) .section-motion-title{opacity:.78!important;translate:0 16px!important;}
 .scene.v32-scene-visible .section-motion-title{opacity:1!important;translate:0 0!important;}
}
/* Contact: an interactive signal console presented as a layered editorial object. */
.v31-contact-field{overflow:visible!important;border:1px solid rgba(171,200,240,.20)!important;
 background:radial-gradient(290px circle at var(--fx,50%) var(--fy,50%),rgba(122,166,232,.17),transparent 72%),linear-gradient(145deg,#17212e,#090e15 78%)!important;
 box-shadow:0 24px 80px rgba(0,0,0,.23),inset 0 0 60px rgba(107,160,232,.025);}
.v31-contact-field::before{content:'';position:absolute;inset:10px;border:1px solid rgba(196,216,242,.10);border-radius:18px;pointer-events:none;}
.v31-contact-stage{inset:0!important;overflow:hidden!important;}
.v31-huge-at{left:68%!important;top:42%!important;color:rgba(161,191,237,.075)!important;font-size:clamp(280px,31vw,520px)!important;}
.v31-contact-paths{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
.v31-channel{border:1px solid rgba(171,200,240,.13)!important;border-radius:12px!important;
 background:linear-gradient(135deg,rgba(157,194,246,.06),transparent 70%)!important;min-height:108px!important;padding:15px!important;}
.v31-channel:hover,.v31-channel:focus-visible{transform:translateY(-8px) scale(1.015)!important;background:rgba(144,184,239,.15)!important;box-shadow:0 12px 35px rgba(0,0,0,.22)!important;}
.v31-contact-core{padding:80px 4px 36px!important;}
.v31-contact-email{font-size:clamp(29px,3.3vw,56px)!important;}
@media(max-width:900px){
 .v31-contact-field{overflow:hidden!important;border-radius:20px!important;min-height:500px!important;}
 .v31-contact-core{padding:44px 0 24px!important;}
 .v31-contact-paths{gap:7px!important;}
 .v31-channel{min-height:100px!important;padding:11px 7px!important;}
 .v31-contact-email{font-size:clamp(27px,6.7vw,43px)!important;}
}
@media(prefers-reduced-motion:reduce){.v31-bridge{height:18px!important;min-height:18px!important;}.v31-bridge-stage{display:none!important;}}
/* A conversational signal path: routes fan outward, instead of three generic equal cards. */
@media(min-width:901px){
 .v31-contact-field{min-height:606px!important;}
 .v31-contact-paths{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important;padding-bottom:27px!important;}
 .v31-channel{display:flex!important;flex-direction:row!important;align-items:center!important;gap:23px!important;min-height:52px!important;
  width:min(73%,570px)!important;border:0!important;border-bottom:1px solid rgba(184,211,247,.22)!important;
  border-radius:0!important;background:linear-gradient(90deg,rgba(144,184,239,.08),transparent 76%)!important;
  padding:10px 15px!important;transform:translateX(calc(var(--ci,0) * 44px))!important;}
 .v31-channel:hover,.v31-channel:focus-visible{transform:translateX(calc(var(--ci,0) * 44px + 12px))!important;
  background:linear-gradient(90deg,rgba(144,184,239,.21),transparent 86%)!important;box-shadow:none!important;}
 .v31-channel-name{font-size:22px!important;display:flex!important;align-items:center!important;}
 .v31-channel-index{font-size:11px!important;min-width:21px;}
 .v31-channel-action{position:static!important;margin-left:auto!important;}
 .v31-huge-at{left:69%!important;top:41%!important;font-size:clamp(310px,29vw,510px)!important;}
}
@media(max-width:900px){
 .v31-contact-paths{display:flex!important;flex-direction:column!important;gap:6px!important;}
 .v31-channel{display:flex!important;flex-direction:row!important;align-items:center!important;min-height:61px!important;padding:13px!important;gap:15px!important;width:100%!important;}
 .v31-channel-name{flex-direction:row!important;align-items:center!important;font-size:17px!important;gap:15px!important;}
 .v31-channel-action{position:static!important;margin-left:auto!important;}
}



/* === v33.css === */
/* V33 - single geometric source for the entire desktop navigation. */
@media(min-width:901px){
 .path-menu{width:clamp(340px,27vw,405px)!important;right:clamp(20px,3.8vw,74px)!important;top:clamp(90px,12vh,120px)!important;bottom:clamp(35px,5vh,54px)!important;max-height:720px!important;}
 .path-menu .path-trail{inset:0!important;width:100%!important;height:100%!important;opacity:.83!important;}
 .path-menu .trail-base{stroke:rgba(178,200,230,.32)!important;stroke-width:1.45!important;stroke-dasharray:2 8!important;}
 .path-menu .trail-lit{stroke:rgba(190,215,248,.59)!important;stroke-width:1.55!important;stroke-dasharray:50 1100!important;}
 .path-menu .path-option:not(.path-home),.path-menu .path-option:not(.path-home):hover{
  left:var(--nav-x)!important;top:var(--nav-y)!important;position:absolute!important;
  padding:6px 0!important;gap:12px!important;min-height:36px!important;max-width:none!important;
  width:max-content!important;height:auto!important;border:0!important;box-shadow:none!important;
  transition:color .28s,opacity .35s!important;
 }
 /* Slots are alternated, their DOT always lies on its path endpoint. */
 .path-menu .path-option:nth-child(even):not(.path-home),
 .path-menu .path-option:nth-child(even):not(.path-home):hover{
  flex-direction:row-reverse!important;transform:translate(calc(-100% + 6px),-50%)!important;
 }
 .path-menu .path-option:nth-child(odd):not(.path-home),
 .path-menu .path-option:nth-child(odd):not(.path-home):hover{
  flex-direction:row!important;transform:translate(-6px,-50%)!important;
 }
 .path-menu .path-option .path-node{flex:0 0 12px!important;width:12px!important;height:12px!important;}
 .path-menu .path-option:not(.path-home) .path-label{
  white-space:nowrap!important;text-wrap:nowrap!important;
  font:600 clamp(18px,1.65vw,25px)/1.04 Inter,Arial,sans-serif!important;
  letter-spacing:-.055em!important;max-width:none!important;width:max-content!important;
  background:transparent!important;color:inherit!important;
  text-shadow:0 0 18px var(--bg),0 0 28px var(--bg)!important;
 }
 .path-menu .path-option:nth-child(even):not(.path-home) .path-label{text-align:right!important;}
 .path-menu .path-option:nth-child(odd):not(.path-home) .path-label{text-align:left!important;}
 .path-menu .path-option:nth-child(3) .shared-title-line{display:block!important;white-space:nowrap!important;}
 .path-menu .path-option:nth-child(3) .shared-title-line:first-child::after{content:none!important;}
 .path-menu .path-option:nth-child(4) .shared-title-line{display:inline!important;}
 .path-menu .path-option:nth-child(4) .shared-title-line:first-child::after{content:' '!important;}
 .path-menu .path-option.path-home,.path-menu .path-option.path-home:hover,
 .path-menu .path-option.path-home:focus-visible{
  position:absolute!important;left:var(--nav-x)!important;top:var(--nav-y)!important;
  transform:translate(-50%,-50%)!important;width:83px!important;height:83px!important;
  display:grid!important;place-items:center!important;padding:0!important;
 }
 .path-menu .path-option.path-home .path-label{width:70px!important;height:70px!important;display:grid!important;place-items:center!important;}
 .path-menu .path-option.path-home .path-home-mark,.path-menu .path-option.path-home:hover .path-home-mark{
  width:49px!important;height:49px!important;rotate:0deg!important;transform:none!important;transition:scale .35s ease!important;
 }
 .path-menu .path-option.path-home:hover .path-home-mark{scale:1.1!important;}
 .path-menu .path-option:not(.path-home).is-active .path-label{opacity:0!important;}
 .scene-title-flight,.scene-title-return{white-space:nowrap!important;}
 .skills-scene .skill-sphere-wrap{transform:translateX(clamp(25px,3.35vw,54px))!important;}
}
/* Social profiles: first click previews the identity, second opens the profile. */
.v31-contact-field{isolation:isolate;}
.v31-channel.v33-selected{color:var(--fg)!important;background:linear-gradient(90deg,rgba(159,198,246,.22),transparent 92%)!important;border-color:rgba(191,221,255,.55)!important;}
.v33-profile-preview[hidden]{display:none!important;}
.v33-profile-preview{
 position:relative;z-index:8;display:grid;grid-template-columns:1fr auto;gap:12px 20px;
 width:min(100%,600px);padding:18px 22px;margin:13px 0 8px;
 border:1px solid rgba(187,214,248,.5);border-radius:17px;
 background:linear-gradient(130deg,rgba(39,59,86,.92),rgba(13,21,32,.98));
 box-shadow:0 20px 60px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.10);
 animation:v33-preview-reveal .34s cubic-bezier(.2,.75,.2,1) both;
}
.v33-preview-close-label{display:none;}
.v33-preview-main{display:flex;gap:16px;align-items:center;grid-column:1/-1;grid-row:1;min-width:0;}
.v33-preview-icon{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;border-radius:17px;background:rgba(187,210,244,.12);border:1px solid rgba(187,210,244,.22);}
.v33-preview-icon svg{width:29px;height:29px;color:#e8f2ff;}
.v33-preview-main strong{font-size:clamp(22px,2.1vw,30px);letter-spacing:-.045em;display:block;color:#f4f7fd;}
.v33-preview-handle{font-size:14px;color:#aebfd5;display:block;margin-top:4px;}
.v33-preview-close{position:absolute;top:13px;right:16px;color:#eaf1fc;background:transparent;border:0;font-size:26px;cursor:pointer;line-height:1;}
.v33-preview-instruction{font-size:13px;color:#afc1d9;align-self:center;grid-column:1;}
.v33-preview-open{color:#f1f6fe;text-decoration:none;justify-self:end;align-self:center;border-bottom:1px solid currentColor;padding-bottom:3px;font-size:13px;}
.v33-preview-open:focus-visible,.v33-preview-close:focus-visible{outline:2px solid white;outline-offset:4px;}
@keyframes v33-preview-reveal{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:900px){
 .v33-profile-preview{padding:17px 16px;grid-template-columns:1fr;gap:13px;margin:12px 0;}
 .v33-preview-instruction{grid-column:1;}
 .v33-preview-open{grid-column:1;justify-self:start;}
}
@media(prefers-reduced-motion:reduce){.v33-profile-preview{animation:none!important;}}



/* === v34.css === */
/* V34 / One route, one source of positioning, no moving home icon at rest. */
@media(min-width:901px){
 .path-menu{width:clamp(360px,28vw,422px)!important;right:clamp(25px,4vw,70px)!important;top:clamp(84px,10vh,110px)!important;bottom:clamp(42px,6vh,60px)!important;max-height:730px!important;}
 .path-menu .path-trail{inset:0!important;width:100%!important;height:100%!important;overflow:visible!important;}
 .path-menu .trail-base{stroke:rgba(177,200,229,.26)!important;stroke-width:1.35!important;stroke-dasharray:2 7!important;}
 .path-menu .trail-lit{stroke:rgba(186,207,243,.50)!important;stroke-width:1.45!important;stroke-dasharray:38 1100!important;}
 .path-menu .path-option:not(.path-home),.path-menu .path-option:not(.path-home):hover,.path-menu .path-option:not(.path-home):focus-visible{
  left:var(--nav-x)!important;top:var(--nav-y)!important;position:absolute!important;
  transition:opacity .25s,color .25s!important;
  width:max-content!important;max-width:none!important;height:auto!important;min-height:34px!important;
  padding:0!important;gap:10px!important;box-shadow:none!important;border:0!important;filter:none!important;
 }
 /* Odd CSS-child numbers are not the visual source of truth; JS sets the side. */
 .path-menu .path-option.v34-left,.path-menu .path-option.v34-left:hover{
   transform:translate(calc(-100% + 6px),-50%)!important;flex-direction:row-reverse!important;
 }
 .path-menu .path-option.v34-right,.path-menu .path-option.v34-right:hover{
   transform:translate(-6px,-50%)!important;flex-direction:row!important;
 }
 .path-menu .path-option .path-node{width:12px!important;height:12px!important;flex:0 0 12px!important;}
 .path-menu .path-option:not(.path-home) .path-label{
  font:600 clamp(18px,1.55vw,24px)/1.04 Inter,Arial,sans-serif!important;
  letter-spacing:-.045em!important;max-width:none!important;white-space:nowrap!important;width:max-content!important;
  color:inherit!important;text-shadow:0 0 14px var(--bg),0 0 20px var(--bg)!important;
 }
 .path-menu .path-option.v34-left .path-label{text-align:right!important;}
 .path-menu .path-option.v34-right .path-label{text-align:left!important;}
 .path-menu .path-option.path-home,.path-menu .path-option.path-home:hover,.path-menu .path-option.path-home:focus-visible{
  position:absolute!important;left:var(--nav-x)!important;top:var(--nav-y)!important;
  width:94px!important;height:94px!important;transform:translate(-50%,-50%)!important;
  display:grid!important;place-items:center!important;padding:0!important;}
 .path-menu .path-option.path-home .path-label{width:80px!important;height:80px!important;display:grid!important;place-items:center!important;}
 .path-menu .path-option.path-home .path-home-mark,.path-menu .path-option.path-home:hover .path-home-mark{
  width:54px!important;height:54px!important;rotate:0deg!important;transform:none!important;transition:scale .3s ease!important;
 }
 .path-menu .path-option.path-home:hover .path-home-mark{scale:1.09!important;}
 .path-menu .path-option.v34-right[data-go="2"] .shared-title-line{display:block!important;white-space:nowrap!important;}
 .path-menu .path-option:not(.path-home).is-active .path-label{opacity:0!important;}
}
/* Contact / open-air handoff board, not a bordered card or planet. */
.v34-contact-layout{position:relative;width:min(100%,1420px);min-height:min(780px,84vh);margin:auto;
 display:grid;grid-template-columns:minmax(260px,.90fr) minmax(380px,1.10fr);gap:clamp(24px,5vw,90px);align-items:center;}
.v34-contact-intro{min-width:0;z-index:2;}
.v34-contact-intro .section-motion-title{font-size:clamp(70px,8vw,136px);line-height:.92;margin:0 0 30px;letter-spacing:-.075em;}
.v34-contact-lead{font-size:clamp(20px,2vw,30px);line-height:1.25;letter-spacing:-.045em;color:var(--muted);max-width:18ch;}
.v34-email-wrap{display:flex;align-items:flex-start;flex-direction:column;gap:14px;margin-top:45px;}
.v34-email{font-size:clamp(19px,1.9vw,30px);white-space:nowrap;letter-spacing:-.065em;border-bottom:1px solid currentColor;padding-bottom:10px;transition:color .25s;}
.v34-email:hover{color:var(--accent);} .v34-email span{display:inline-block;transition:transform .28s;}.v34-email:hover span{transform:translate(5px,-5px)}
.v34-copy{background:transparent;border:0;padding:5px 0;color:var(--muted);font-size:13px;cursor:pointer;}
.v34-channel-stage{min-height:550px;display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate;--cx:50%;--cy:50%;}
.v34-channel-stage:before{content:'';position:absolute;inset:-12%;z-index:-1;pointer-events:none;
 background:radial-gradient(220px circle at var(--cx) var(--cy),rgba(166,199,250,.10),transparent 90%);}
.v34-stage-instruction{margin:0 0 28px;color:var(--muted);font-size:12px;letter-spacing:.03em;}
.v34-channel-list{display:flex;flex-direction:column;position:relative;z-index:2;}
.v34-channel{--line:rgba(178,207,245,.26);display:grid;grid-template-columns:55px 1fr 35px;gap:20px;align-items:center;
 min-height:105px;padding:17px 15px 17px 7px;color:var(--fg);border-top:1px solid var(--line);
 transition:padding .38s cubic-bezier(.2,.85,.2,1),color .25s,background .3s;}
.v34-channel:last-child{border-bottom:1px solid var(--line)}
.v34-channel-symbol{width:50px;height:50px;display:grid;place-items:center;opacity:.78;transition:transform .38s,opacity .3s;}
.v34-channel-symbol svg{width:35px;height:35px;}
.v34-channel-name{font-size:clamp(34px,4vw,67px);letter-spacing:-.07em;line-height:.96;font-weight:650;}
.v34-channel-indicator{font-size:23px;color:var(--muted);transition:transform .3s;}
.v34-channel:hover,.v34-channel:focus-visible,.v34-channel.is-selected{padding-left:24px;background:linear-gradient(90deg,rgba(167,203,246,.11),transparent 65%);}
.v34-channel:hover .v34-channel-symbol,.v34-channel.is-selected .v34-channel-symbol{opacity:1;transform:rotate(-12deg) scale(1.12);}
.v34-channel:hover .v34-channel-indicator,.v34-channel.is-selected .v34-channel-indicator{transform:translate(5px,-5px);color:var(--fg);}
.v34-channel-preview[hidden]{display:none!important;}
.v34-channel-preview{position:relative;z-index:3;display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:15px;
 margin-top:24px;min-height:90px;padding:16px 48px 16px 17px;background:rgba(26,37,54,.72);
 border-left:2px solid var(--accent);animation:v34-in .45s cubic-bezier(.2,.85,.2,1) both;}
.v34-preview-close{position:absolute;right:11px;top:8px;background:transparent;border:0;color:var(--fg);font-size:23px;cursor:pointer;}
.v34-preview-icon svg{width:35px;height:35px;}.v34-preview-name{font-size:21px;}.v34-preview-handle{font-size:12px;color:var(--muted);grid-column:2;grid-row:2;}
.v34-preview-visit{grid-column:3;grid-row:1/3;color:var(--fg);font-size:13px;border-bottom:1px solid currentColor;padding-bottom:3px;}
.v34-signal{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.45;}
.v34-signal-track{position:absolute;left:15%;right:15%;top:46%;height:1px;background:linear-gradient(90deg,transparent,rgba(166,201,247,.23),transparent);transform:rotate(-35deg);}
.v34-signal i{position:absolute;width:4px;height:4px;background:var(--accent);border-radius:50%;box-shadow:0 0 24px var(--accent);animation:v34-spark 7s ease-in-out infinite;}
.v34-signal i:nth-child(2){top:15%;right:16%;}.v34-signal i:nth-child(3){top:75%;left:8%;animation-delay:-3s;}.v34-signal i:nth-child(4){top:53%;right:4%;animation-delay:-5s;}
.v34-footer{position:absolute;bottom:0;left:0;right:0;}
@keyframes v34-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes v34-spark{50%{opacity:.15;transform:translate(12px,-10px)}}
#skill-sphere{touch-action:none!important;overscroll-behavior:contain!important;user-select:none!important;-webkit-user-select:none!important;}
#skill-sphere canvas,#skill-sphere .sphere-labels,#skill-sphere .sphere-token{pointer-events:none!important;}
@media(max-width:900px){
 .v34-contact-layout{min-height:0;display:flex;flex-direction:column;gap:18px;padding-bottom:45px;align-items:stretch;}
 .v34-contact-intro .section-motion-title{font-size:clamp(56px,12vw,88px);margin:0 0 22px;}
 .v34-contact-lead{font-size:23px;max-width:26ch;}
 .v34-email-wrap{margin-top:24px;}
 .v34-email{font-size:clamp(18px,5vw,27px);}
 .v34-channel-stage{min-height:0;margin:0;}
 .v34-channel{min-height:74px;grid-template-columns:35px 1fr 24px;gap:13px;padding:10px 4px;}
 .v34-channel-symbol{width:35px;height:35px;}.v34-channel-symbol svg{width:26px;height:26px;}
 .v34-channel-name{font-size:clamp(28px,8vw,47px);}
 .v34-channel:hover,.v34-channel.is-selected{padding-left:10px;}
 .v34-channel-preview{grid-template-columns:35px 1fr;gap:7px;padding:15px 34px 15px 13px;}
 .v34-preview-visit{grid-column:1/-1;grid-row:3;margin-top:8px;justify-self:start;}
 .v34-footer{position:relative;margin-top:25px;}
}
@media(prefers-reduced-motion:reduce){.v34-channel-preview,.v34-signal i{animation:none!important;}}
/* Reserve the title's actual word width so it never overlaps the channel stage. */
@media(min-width:901px){
 .v34-contact-intro .section-motion-title{font-size:clamp(65px,6.25vw,105px)!important;}
 .v34-contact-layout{column-gap:clamp(48px,5.3vw,90px)!important;}
}

/* V34 / Swipe typography: compact continuous interludes between mobile chapters. */
@media(max-width:900px) and (prefers-reduced-motion:no-preference){
 .v31-bridge{display:none!important;}
 .v34-scroll-gate{height:65svh;min-height:320px;position:relative;pointer-events:none;overflow:clip;}
 .v34-gate-stage{height:58svh;min-height:290px;position:sticky;top:14svh;display:grid;place-items:center;isolation:isolate;}
 .v34-gate-stage:before{content:'';position:absolute;inset:8%;border:1px solid rgba(172,201,245,.095);border-radius:50%;
 transform:scale(calc(.7 + var(--v34-progress,0)*.65));opacity:calc(.15 + var(--v34-progress,0)*.35);}
 .v34-gate-prev,.v34-gate-next,.v34-gate-echo{position:absolute;top:42%;left:5%;width:90%;font-weight:720;
  font-size:clamp(46px,11.8vw,82px);line-height:.98;letter-spacing:-.065em;color:var(--fg);overflow-wrap:break-word;
  text-align:left;will-change:transform,opacity;}
 .v34-gate-echo{color:rgba(177,205,247,.38);z-index:-1;filter:blur(2px);}
 .v34-gate-marker{position:absolute;left:7%;bottom:16%;font-size:28px;color:rgba(196,220,254,.6);
 transform:rotate(calc(var(--v34-progress,0)*210deg));}
 .intro-pending .v34-scroll-gate,.intro-entering .v34-scroll-gate{visibility:hidden;}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){.v34-scroll-gate,.v31-bridge{display:none!important;}}



/* === v35.css === */
/* Desktop path: single gently looping S, no misplaced circles or labels. */
@media(min-width:901px){
  .path-menu{width:clamp(350px,29vw,460px)!important;right:clamp(15px,3.4vw,60px)!important;top:clamp(82px,9vh,105px)!important;bottom:clamp(38px,5vh,55px)!important;}
  .path-menu .trail-base{stroke:rgba(177,202,236,.27)!important;stroke-width:1.4!important;stroke-dasharray:2 8!important;}
  .path-menu .trail-lit{stroke:rgba(215,233,255,.52)!important;stroke-width:1.2!important;stroke-dasharray:38 1100!important;}
  .path-menu .path-trail{overflow:visible!important;opacity:1!important;}
  .path-menu .path-option:not(.path-home),.path-menu .path-option:not(.path-home):hover,
  .path-menu .path-option:not(.path-home):focus-visible{left:var(--nav-x)!important;top:var(--nav-y)!important;position:absolute!important;right:auto!important;bottom:auto!important;transform:translate(-6px,-50%)!important;flex-direction:row!important;gap:12px!important;min-height:38px!important;padding:0!important;white-space:nowrap!important;transition:opacity .28s,color .28s!important;}
  .path-menu .path-option.v35-left,.path-menu .path-option.v35-left:hover,.path-menu .path-option.v35-left:focus-visible{transform:translate(calc(-100% + 6px),-50%)!important;flex-direction:row-reverse!important;}
  .path-menu .path-option.v35-right,.path-menu .path-option.v35-right:hover,.path-menu .path-option.v35-right:focus-visible{transform:translate(-6px,-50%)!important;flex-direction:row!important;}
  .path-menu .path-option .path-label{font-size:clamp(18px,1.5vw,23px)!important;white-space:nowrap!important;max-width:none!important;width:max-content!important;line-height:1.06!important;text-shadow:0 0 16px var(--bg),0 0 26px var(--bg)!important;}
  .path-menu .path-option.v35-left .path-label{text-align:right!important;}
  .path-menu .path-option.v35-right .path-label{text-align:left!important;}
  .path-menu .path-option.path-home,.path-menu .path-option.path-home:hover{left:var(--nav-x)!important;top:var(--nav-y)!important;transform:translate(-50%,-50%)!important;width:88px!important;height:88px!important;}
  .path-menu .path-option.path-home .path-label{width:70px!important;height:70px!important;}
  .path-menu .path-option.path-home .path-home-mark{width:50px!important;height:50px!important;}
  .path-menu .path-option:not(.path-home) .path-arrow{display:none!important;}
  .path-menu .path-option.v35-right[data-go="2"] .shared-title-line{display:block!important;}
}
/* Accurate brand glyphs, uniform dimensions and explicit pointer delegation. */
#skill-sphere,#skill-sphere *{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important;}
#skill-sphere{cursor:grab!important;overscroll-behavior:contain!important;}
#skill-sphere:active{cursor:grabbing!important;}
#skill-sphere .sphere-labels,#skill-sphere .sphere-token,#skill-sphere .sphere-emblem,#skill-sphere .v35-brand-mark{pointer-events:none!important;}
#skill-sphere .sphere-emblem{display:grid!important;place-items:center!important;}
#skill-sphere .sphere-emblem svg{display:none!important;}
#skill-sphere .v35-brand-mark{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:none!important;opacity:1!important;filter:none!important;}
@media(max-width:900px) and (prefers-reduced-motion:no-preference){
 .v31-bridge,.v34-scroll-gate,.kinetic-interlude,.v29-mobile-portal{display:none!important;}
 .v35-chapter{display:none!important;pointer-events:none!important;}
 .v35-chapter-screen{height:52svh;min-height:290px;position:sticky;top:12svh;overflow:hidden;isolation:isolate;}
 .v35-chapter-outline{position:absolute;inset:9% 10%;border-radius:50%;border:1px solid rgba(175,209,250,.20);
  transform:scale(calc(.70 + var(--v35-p,0) * .58)) rotate(calc(var(--v35-p,0)*105deg));opacity:calc(.3 + .45*var(--v35-chaos,0));}
 .v35-chapter-outline:after{content:'';position:absolute;inset:15%;border:1px dashed rgba(174,206,250,.19);border-radius:50%;}
 .v35-chapter-prev,.v35-chapter-next{position:absolute;top:44%;left:6%;width:88%;font-size:clamp(40px,11.2vw,74px);font-weight:760;
  line-height:.98;letter-spacing:-.075em;color:var(--fg);overflow-wrap:break-word;will-change:transform,opacity;}
 .v35-chapter-next{color:var(--fg);text-shadow:0 0 18px rgba(166,204,249,.20);opacity:0;}
 .v35-chapter-particles{position:absolute;inset:0;opacity:calc(var(--v35-chaos,0)*.88);pointer-events:none;}
 .v35-chapter-particles i{position:absolute;top:50%;left:50%;width:2px;height:25px;background:linear-gradient(transparent,rgba(190,216,251,.85),transparent);
  transform:rotate(calc(var(--i)*32deg)) translateY(calc(-16px - var(--v35-chaos,0)*110px));}
 html.v35-reveal-ready .scene .v35-reveal:not(.v35-visible){opacity:0!important;translate:0 22px!important;transition:opacity .8s ease,translate .8s cubic-bezier(.2,.9,.2,1)!important;}
 html.v35-reveal-ready .scene .v35-reveal.v35-visible{opacity:1!important;translate:0 0!important;transition:opacity .8s ease var(--v35-stagger,0ms),translate .8s cubic-bezier(.2,.9,.2,1) var(--v35-stagger,0ms)!important;}
 .intro-pending .v35-chapter,.intro-entering .v35-chapter{visibility:hidden;}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){.v35-chapter{display:none!important}.v35-reveal{opacity:1!important;translate:none!important}}

/* V36: the logo is the first AND uppermost point of the navigation spline.
   A single center is used for the path, button, image and halo. */
@media (min-width:901px){
 .path-menu.v35-nav .path-option.path-home,
 .path-menu.v35-nav .path-option.path-home:hover,
 .path-menu.v35-nav .path-option.path-home:focus-visible{
  left:var(--nav-x)!important;top:var(--nav-y)!important;
  transform:translate(-50%,-50%)!important;
  width:90px!important;height:90px!important;
  z-index:5!important;transition:opacity .25s,color .25s!important;
 }
 .path-menu.v35-nav .path-option.path-home .path-label{
  display:grid!important;place-items:center!important;
  width:74px!important;height:74px!important;
  border-radius:50%!important;
  background:var(--bg)!important;
  isolation:isolate!important;
  position:absolute!important;
  left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;translate:none!important;
  margin:0!important;
 }
 .path-menu.v35-nav .path-option.path-home .path-home-mark{
  width:48px!important;height:48px!important;
  transform:none!important;rotate:0deg!important;
  transform-origin:center center!important;
  transition:scale 320ms cubic-bezier(.22,1,.36,1)!important;
 }
 .path-menu.v35-nav .path-option.path-home:hover .path-home-mark,
 .path-menu.v35-nav .path-option.path-home:focus-visible .path-home-mark{
  scale:1.09!important;
 }
 .path-menu.v35-nav .path-option.path-home .path-label::before{
  content:''!important;display:block!important;
  position:absolute!important;inset:-7px!important;
  border:1px dashed color-mix(in srgb,var(--accent) 42%,transparent)!important;
  border-radius:50%!important;
  pointer-events:none!important;
 }
 /* Icon a little smaller, keeping the exact aspect of the original mark. */
 #skill-sphere .sphere-emblem .v35-brand-mark{
  width:84%!important;height:84%!important;margin:auto!important;
  object-fit:contain!important;opacity:1!important;filter:none!important;
 }
}
@media(max-width:900px){
 #skill-sphere .sphere-emblem .v35-brand-mark{
  width:87%!important;height:87%!important;margin:auto!important;
  object-fit:contain!important;
 }
}



/* === v37.css === */
/* candal.dev V37 — Contact as a signal orbit.
   A central "write me" core, with the social channels orbiting around it. */
.v37-contact{position:relative;width:min(100%,1420px);min-height:min(740px,82vh);margin:auto;
 display:grid;grid-template-columns:max-content minmax(0,1fr);gap:clamp(32px,4vw,72px);align-items:center;}
.v37-intro{min-width:0;position:relative;z-index:2;}
.v37-intro .section-motion-title{font-size:clamp(65px,6.25vw,105px);line-height:.92;margin:0 0 30px;letter-spacing:-.075em;}
.v37-lead{font-size:clamp(20px,2vw,30px);line-height:1.25;letter-spacing:-.045em;color:var(--muted);max-width:18ch;margin:0;}
.v37-mail{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:44px;}
.v37-email{display:inline-flex;align-items:baseline;gap:10px;font-size:clamp(19px,1.9vw,30px);white-space:nowrap;letter-spacing:-.065em;
 border-bottom:1px solid currentColor;padding-bottom:10px;color:var(--fg);text-decoration:none;transition:color .25s;}
.v37-email-arrow{display:inline-block;transition:transform .28s var(--ease);}
.v37-email:hover,.v37-email:focus-visible{color:var(--accent);}
.v37-email:hover .v37-email-arrow,.v37-email:focus-visible .v37-email-arrow{transform:translate(5px,-5px);}
.v37-copy{display:inline-flex;align-items:center;gap:9px;padding:9px 15px 9px 13px;border:1px solid var(--thin);border-radius:999px;
 background:color-mix(in srgb,var(--surface) 70%,transparent);color:var(--muted);font-size:13px;letter-spacing:.01em;cursor:pointer;
 transition:color .25s,border-color .25s,background .25s,transform .3s var(--ease);}
.v37-copy:hover,.v37-copy:focus-visible{color:var(--fg);border-color:var(--accent);transform:translateY(-2px);}
.v37-copy-icon{width:16px;height:16px;flex:none;}
.v37-clock{display:flex;align-items:center;gap:9px;margin:10px 0 0;font-size:13px;color:var(--muted);letter-spacing:.02em;}
.v37-clock time{color:var(--fg);font-variant-numeric:tabular-nums;letter-spacing:.04em;}
.v37-clock i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 16%,transparent);animation:v37-blink 2.6s ease-in-out infinite;}

/* ---------- The orbit ---------- */
.v37-stage{--mx:0;--my:0;position:relative;width:min(100%,540px);aspect-ratio:1;justify-self:center;container-type:inline-size;isolation:isolate;}
.v37-stage:before{content:'';position:absolute;inset:-6%;z-index:-1;border-radius:50%;pointer-events:none;
 background:radial-gradient(circle,color-mix(in srgb,var(--accent) 12%,transparent),transparent 62%);}
.v37-sweep{position:absolute;inset:6%;border-radius:50%;pointer-events:none;opacity:.9;
 background:conic-gradient(from 0deg,transparent 0 292deg,color-mix(in srgb,var(--accent) 20%,transparent) 359deg,transparent 360deg);
 -webkit-mask:radial-gradient(circle,transparent 15%,#000 16%);mask:radial-gradient(circle,transparent 15%,#000 16%);animation:v37-spin 11s linear infinite;}
.v37-ping{position:absolute;left:50%;top:50%;width:30%;aspect-ratio:1;border:1px solid var(--accent);border-radius:50%;pointer-events:none;
 transform:translate(-50%,-50%) scale(1);opacity:0;animation:v37-ping 6s cubic-bezier(.2,.6,.3,1) infinite;}
.v37-ping:nth-of-type(2){animation-delay:-3s;}
.v37-orbit{position:absolute;border-radius:50%;border:1px dashed color-mix(in srgb,var(--accent) 34%,transparent);
 animation:v37-spin var(--dur,60s) linear infinite var(--dir,normal);}
.v37-orbit-outer{inset:6%;}
.v37-orbit-inner{inset:21%;border-style:solid;border-color:color-mix(in srgb,var(--accent) 20%,transparent);}
.v37-sat,.v37-star,.v37-dot{position:absolute;left:calc(50% + 50% * cos(calc(var(--a) * 1deg)));top:calc(50% + 50% * sin(calc(var(--a) * 1deg)));
 transform:translate(-50%,-50%);}
.v37-sat{display:block;width:max(44px,12cqw);aspect-ratio:1;border-radius:50%;color:var(--fg);text-decoration:none;-webkit-tap-highlight-color:transparent;}
.v37-sat-body{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--surface);
 border:1px solid color-mix(in srgb,var(--accent) 38%,var(--thin));box-shadow:0 10px 30px color-mix(in srgb,var(--accent) 12%,transparent);
 animation:v37-spin var(--dur,60s) linear infinite var(--cdir,reverse);
 transition:background .3s,color .3s,border-color .3s,box-shadow .3s,scale .45s var(--ease);}
.v37-sat-body svg{width:46%;height:46%;}
.v37-sat:hover .v37-sat-body,.v37-sat:focus-visible .v37-sat-body{background:var(--accent);color:var(--bg);border-color:var(--accent);scale:1.18;
 box-shadow:0 0 0 8px color-mix(in srgb,var(--accent) 14%,transparent),0 14px 40px color-mix(in srgb,var(--accent) 30%,transparent);}
.v37-sat:focus-visible{outline:2px solid var(--accent);outline-offset:6px;}
.v37-star{font-size:18px;line-height:1;color:var(--accent);opacity:.8;}
.v37-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:.55;box-shadow:0 0 14px var(--accent);}
/* Pause the whole orbit while a channel is inspected, so it can be read and clicked. */
.v37-stage:has(.v37-sat:hover) :is(.v37-orbit,.v37-sat-body,.v37-sweep),
.v37-stage:has(.v37-sat:focus-visible) :is(.v37-orbit,.v37-sat-body,.v37-sweep){animation-play-state:paused;}

/* ---------- Core ---------- */
.v37-core{position:absolute;left:50%;top:50%;width:30cqw;aspect-ratio:1;border-radius:50%;z-index:3;display:grid;place-items:center;text-align:center;
 color:var(--fg);text-decoration:none;background:var(--surface);border:1px solid color-mix(in srgb,var(--accent) 52%,var(--thin));
 transform:translate(calc(-50% + var(--mx) * 9px),calc(-50% + var(--my) * 9px));
 box-shadow:0 0 0 11px color-mix(in srgb,var(--accent) 7%,transparent),0 0 0 12px color-mix(in srgb,var(--accent) 16%,transparent),0 26px 70px color-mix(in srgb,var(--accent) 18%,transparent);
 transition:transform .45s var(--ease),box-shadow .35s,border-color .3s;}
.v37-core:hover,.v37-core:focus-visible{border-color:var(--accent);
 box-shadow:0 0 0 14px color-mix(in srgb,var(--accent) 11%,transparent),0 0 0 15px color-mix(in srgb,var(--accent) 28%,transparent),0 30px 80px color-mix(in srgb,var(--accent) 28%,transparent);}
.v37-core:focus-visible{outline:2px solid var(--accent);outline-offset:18px;}
.v37-core-idle,.v37-core-peek{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.4cqw;transition:opacity .3s,translate .45s var(--ease);}
.v37-core-idle img{width:36%;height:auto;}
[data-theme="light"] .v37-core-idle img{filter:brightness(.18);}
.v37-core-idle b,.v37-peek-name{font-size:clamp(13px,3.9cqw,21px);letter-spacing:-.045em;font-weight:650;}
.v37-core-arrow{position:absolute;top:19%;right:20%;font-size:clamp(12px,2.6cqw,16px);color:var(--muted);transition:transform .3s var(--ease),color .3s;}
.v37-core:hover .v37-core-arrow,.v37-core:focus-visible .v37-core-arrow{transform:translate(3px,-3px);color:var(--accent);}
.v37-core-peek{opacity:0;translate:0 8px;pointer-events:none;}
.v37-peek-icon svg{width:clamp(22px,6.4cqw,34px);height:clamp(22px,6.4cqw,34px);color:var(--accent);}
.v37-peek-handle{font-size:clamp(11px,2.8cqw,14px);color:var(--muted);letter-spacing:.01em;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.v37-stage[data-active] .v37-core-idle{opacity:0;translate:0 -8px;}
.v37-stage[data-active] .v37-core-peek{opacity:1;translate:0 0;}
.v37-stage[data-active] .v37-core{pointer-events:none;}
.v37-stage.is-sending .v37-core{animation:v37-send .9s var(--ease);}
.v37-stage.is-sending .v37-ping{animation-duration:1.2s;animation-delay:0s;}
.v37-stage.is-sending .v37-ping:nth-of-type(2){animation-delay:.18s;}

.v37-footer{position:absolute;bottom:0;left:0;right:0;}

@keyframes v37-spin{to{transform:rotate(360deg)}}
@keyframes v37-ping{0%{transform:translate(-50%,-50%) scale(1);opacity:.5}100%{transform:translate(-50%,-50%) scale(2.9);opacity:0}}
@keyframes v37-blink{50%{opacity:.35}}
@keyframes v37-send{35%{scale:.93}60%{scale:1.07}}

@media(max-width:900px){
 .v37-contact{min-height:0;display:flex;flex-direction:column;gap:34px;padding-bottom:45px;align-items:stretch;}
 .v37-intro .section-motion-title{font-size:clamp(56px,12vw,88px);margin:0 0 22px;}
 .v37-lead{font-size:23px;max-width:26ch;}
 .v37-mail{margin-top:26px;}
 .v37-email{font-size:clamp(18px,5vw,27px);}
 .v37-stage{width:min(100%,420px);}
 .v37-footer{position:relative;margin-top:10px;}
}
@media(prefers-reduced-motion:reduce){
 .v37-orbit,.v37-sat-body,.v37-sweep,.v37-ping,.v37-clock i,.v37-stage.is-sending .v37-core{animation:none!important;}
 .v37-ping{display:none;}
}



/* === v38.css === */
/* candal.dev V38 — clean interactive constellation canvas (#aether). */
.ambient .aether{position:absolute;inset:0;width:100%;height:100%;opacity:1!important;pointer-events:none;}
.ambient-spot{display:none!important;opacity:0!important;visibility:hidden!important;}
@media(max-width:900px){.ambient .aether{opacity:.9!important;}}

/* CREATIVE CASE STUDY MODAL & WEB PREVIEW SHOWCASE */
.case-dialog {
  border: 0; padding: 0; position: fixed;
  width: min(740px, 100vw); height: 100dvh; max-height: 100dvh;
  margin: 0 0 0 auto; inset: 0 0 0 auto;
  background: var(--bg); color: var(--fg);
  overflow-y: auto; box-shadow: -30px 0 100px rgba(0,0,0,0.7);
  z-index: 120 !important;
}
.case-dialog::backdrop {
  background: rgba(4, 7, 12, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dialog-browser-bar {
  display: flex; align-items: center; gap: 14px; flex: 1; max-width: calc(100% - 60px);
}
.dialog-dots {
  display: flex; gap: 6px; align-items: center;
}
.dialog-dots .dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.dialog-dots .dot.red { background: #ff5f56; }
.dialog-dots .dot.yellow { background: #ffbd2e; }
.dialog-dots .dot.green { background: #27c93f; }

.dialog-url-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--thin);
  border-radius: 999px; padding: 6px 14px; font-size: 11px;
  color: var(--muted); letter-spacing: -0.01em; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; max-width: 380px;
}
.dialog-url-pill b { color: var(--fg); font-weight: 600; }
.url-live-pulse {
  font-size: 9px; font-weight: 700; color: #34d399;
  letter-spacing: 0.08em; margin-left: 4px;
}

/* Atelier Web Preview Frame */
.atelier-preview-showcase {
  border: 1px solid var(--thin); border-radius: 16px;
  overflow: hidden; background: #1a1614; margin-bottom: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.preview-chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: rgba(25, 20, 17, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 11px;
}
.preview-brand-tab {
  font-weight: 700; letter-spacing: 0.12em; color: #f0e6dc;
}
.preview-brand-tab small {
  color: #9c8e82; font-weight: 400; letter-spacing: 0.02em;
}
.preview-external-action {
  color: #d4a373; font-weight: 600; text-decoration: none; font-size: 11px;
  transition: color 0.2s ease;
}
.preview-external-action:hover { color: #fefae0; text-decoration: underline; }

.preview-screen {
  position: relative; background: #14110f;
}
.preview-hero-frame {
  position: relative; height: 260px; overflow: hidden;
}
.preview-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85); transform: scale(1.02);
  transition: transform 0.6s ease;
}
.preview-hero-frame:hover .preview-img {
  transform: scale(1.06);
}
.preview-overlay-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff;
  background: linear-gradient(180deg, transparent 20%, rgba(15,12,10,0.85) 75%, #14110f 100%);
}
.preview-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.18em;
  color: #d4a373; margin-bottom: 6px;
}
.preview-overlay-content h2 {
  font-size: clamp(32px, 5vw, 48px); line-height: 0.9;
  letter-spacing: -0.06em; margin: 0 0 6px; font-weight: 700;
}
.preview-overlay-content em { font-family: Georgia, serif; font-weight: 400; }
.preview-tagline {
  font-size: 13px; color: #d6ccc2; margin: 0; line-height: 1.4;
}

.preview-catalog-strip {
  display: flex; gap: 12px; padding: 14px 18px;
  background: rgba(22, 18, 15, 0.98); border-top: 1px solid rgba(255,255,255,0.06);
  align-items: center; overflow-x: auto;
}
.preview-product-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); font-size: 11px; flex-shrink: 0;
}
.preview-product-chip .chip-color {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}
.preview-product-chip b { display: block; color: #f5ebe0; }
.preview-product-chip small { color: #a59b91; font-size: 10px; }

.preview-chip-link {
  margin-left: auto; font-size: 11px; font-weight: 600;
  color: var(--accent); white-space: nowrap; flex-shrink: 0;
  padding: 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  transition: background 0.2s ease, transform 0.2s ease;
}
.preview-chip-link:hover {
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  transform: translateY(-1px);
}

/* Metric Highlights */
.dialog-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 22px 0 28px;
}
.metric-card {
  padding: 16px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--thin);
  text-align: center; display: flex; flex-direction: column; gap: 4px;
}
.metric-num {
  font-size: 22px; font-weight: 750; color: var(--accent); letter-spacing: -0.04em;
}
.metric-label {
  font-size: 10px; color: var(--muted); letter-spacing: 0.04em; font-weight: 550;
}

.preview-main-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; font-size: 13px; font-weight: 650;
}
.case-repo-note {
  font-size: 11px; color: var(--muted);
}



/* === v39.css === */
/* candal.dev V39 | One continuous mobile document, one interaction system. */
/* Editorial case-study numbers (actual cards remain fully keyboard accessible). */
.v39-project-number{font:600 12px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.13em;color:rgba(240,246,255,.72);text-shadow:0 2px 10px rgba(0,0,0,.35)}
.project-card .project-upper{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-deck .project-card{isolation:isolate}
.project-featured .project-art img{transition:transform 950ms cubic-bezier(.17,.76,.17,1),filter .6s ease}
.project-featured:hover .project-art img,.project-featured:focus-within .project-art img{transform:scale(1.085) rotate(-.6deg)}
.project-deck .project-card:hover{box-shadow:0 20px 78px rgba(0,0,0,.27)}

@media(max-width:900px){
 html,html body{height:auto!important;min-height:100%!important;overflow-x:clip!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;scroll-behavior:auto!important;scroll-padding-top:84px!important}
 body{position:relative!important;overflow-y:visible!important;touch-action:pan-y!important}
 .site-shell{display:block!important;position:relative!important;min-height:100svh!important;height:auto!important;overflow:visible!important;isolation:isolate}
 .ambient{position:fixed!important;inset:0!important;z-index:-1!important;pointer-events:none!important}
 .scene-container{position:relative!important;inset:auto!important;height:auto!important;min-height:100svh!important;max-height:none!important;display:block!important;overflow:visible!important;isolation:auto!important}
 .scene,.scene.is-active,.scene.is-transition-out,.scene.is-heading-arriving,.scene.is-revealing,.scene.is-exit-complete{
   position:relative!important;inset:auto!important;display:block!important;visibility:visible!important;pointer-events:auto!important;opacity:1!important;
   width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;
   overflow:visible!important;transform:none!important;translate:none!important;animation:none!important;
   transition:none!important;box-sizing:border-box!important;isolation:auto!important;
   padding:clamp(76px,13vw,106px) clamp(19px,5vw,38px) clamp(84px,15vw,125px)!important;margin:0!important;
 }
 .scene.is-content-pending :is(.section-subtitle,.project-deck,.portrait-area,.judo-artboard,.hero-role,.hero-thought){opacity:1!important;translate:none!important}
 .scene .scene-piece,.scene.is-transition-out .scene-piece,.scene.is-heading-arriving .scene-piece,.scene.is-revealing .scene-piece{visibility:visible!important;transform:none!important;transition:none!important}
 .scene:not(.home-scene){scroll-margin-top:65px!important}
 .home-scene{display:flex!important;align-items:center!important;min-height:95svh!important;padding-top:130px!important;padding-bottom:110px!important}
 .home-layout{width:100%!important}
 .home-scene .hero-brand-slot{pointer-events:none!important}
 .shell-top{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:85!important;width:auto!important;height:68px!important;padding:0 19px!important;background:color-mix(in srgb,var(--bg) 90%,transparent)!important;border-bottom:1px solid var(--thin)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
 .shell-top .brand-lockup{font-size:15px!important;white-space:nowrap!important}
 .shell-top .menu-trigger{display:inline-flex!important;align-items:center!important;min-width:43px!important;justify-content:center!important;padding:0 10px!important;min-height:40px!important;visibility:visible!important;pointer-events:auto!important}
 .top-actions{display:flex!important;gap:9px!important;align-items:center!important}
 .path-menu,.path-menu.is-mobile-open,.mobile-nav-row,.mobile-scroll-indicator{display:none!important;pointer-events:none!important}
 .atlas-dialog{z-index:140!important;position:fixed!important;inset:0 0 0 auto!important;margin:0!important;width:min(88vw,395px)!important;height:100dvh!important;max-height:100dvh!important;max-width:100%!important;overflow:auto!important;overscroll-behavior:contain!important;border-left:1px solid var(--thin)!important}
 .atlas-dialog::backdrop{background:rgba(3,8,14,.71)!important;backdrop-filter:blur(6px)!important}
 .atlas-surface{padding:27px 24px 34px!important}
 .atlas-link-label{font-size:clamp(28px,7.8vw,44px)!important;line-height:1.07!important}
 .atlas-links{gap:clamp(4px,1.5vh,13px)!important}
 .atlas-link{padding:clamp(12px,2vh,18px) 0!important}
 .atlas-link.is-active .atlas-link-label::after{content:''!important}
 .section-motion-title,.project-scene .section-motion-title,.beyond-scene .section-motion-title{display:block!important;position:relative!important;width:auto!important;max-width:100%!important;margin-bottom:28px!important;font-size:clamp(48px,11.1vw,78px)!important;line-height:.97!important;letter-spacing:-.074em!important;white-space:normal!important;text-wrap:balance!important}
 .section-motion-title .shared-title-line{display:block!important}
 .scene-heading{margin-bottom:29px!important}
 .scene-heading .section-subtitle{max-width:450px!important;font-size:clamp(14px,3.8vw,18px)!important;line-height:1.45!important}
 .about-layout,.beyond-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:clamp(34px,8vw,70px)!important;max-width:720px!important}
 .about-copy,.beyond-copy{min-width:0!important}
 .about-paragraph,.beyond-paragraph{max-width:570px!important}
 .portrait-area{width:min(100%,420px)!important;min-height:300px!important;margin:0 auto!important}
 .project-deck,.project-deck[data-featured='0'],.project-deck[data-featured='1']{
   width:100%!important;max-width:650px!important;display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:auto!important;gap:24px!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;perspective:1100px!important
 }
 .project-card,.project-featured,.project-upcoming{position:relative!important;width:100%!important;max-width:100%!important;height:clamp(390px,115vw,560px)!important;min-height:0!important;max-height:none!important;display:block!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;touch-action:manipulation!important;border-radius:clamp(17px,4vw,27px)!important;overflow:hidden!important;cursor:pointer!important}
 .project-upcoming{height:clamp(340px,90vw,440px)!important;margin-left:0!important}
 .project-card .project-upper{align-items:start!important}
 .project-card .project-lower{max-width:100%!important}
 .project-card .project-lower h3{font-size:clamp(35px,9.5vw,62px)!important;line-height:1!important}
 .project-card .project-desc,.project-card .project-actions{opacity:1!important;visibility:visible!important;display:flex!important;transform:none!important}
 .project-card .project-content{padding:clamp(23px,6vw,37px)!important}
 .project-featured{box-shadow:0 25px 90px rgba(24,16,12,.22)!important}
 .project-upcoming{box-shadow:0 25px 90px rgba(12,35,65,.15)!important}
 .project-deck .project-card::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;border:1px solid rgba(235,245,255,.1);z-index:4}
 .judo-artboard{position:relative!important;margin:0 auto!important;width:100%!important;max-width:540px!important;height:clamp(350px,100vw,570px)!important;transform:none!important;touch-action:pan-y!important}
 .judo-artboard .photo-tile{pointer-events:auto!important;touch-action:manipulation!important}
 .skills-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;max-width:700px!important}
 .skills-scene .skill-sphere-wrap{width:100%!important;transform:none!important;min-width:0!important;justify-content:center!important;overflow:visible!important;margin:0 auto!important}
 #skill-sphere{width:min(100%,520px)!important;min-height:260px!important;position:relative!important;z-index:15!important;touch-action:none!important;overscroll-behavior:contain!important;user-select:none!important;-webkit-user-select:none!important;cursor:grab!important;pointer-events:auto!important}
 #skill-sphere *{touch-action:none!important;pointer-events:none!important;-webkit-user-select:none!important}
 #skill-sphere:active{cursor:grabbing!important}
 .contact-scene{min-height:85svh!important}
 .v37-contact{max-width:660px!important;width:100%!important}
 .v37-contact .section-motion-title{font-size:clamp(48px,11.4vw,80px)!important}
 .v37-stage{max-width:100%!important}
 /* A short kinetic caption appears between chapters without creating a full-screen pause. */
 .v39-chapter{position:relative;display:flex;align-items:center;justify-content:center;height:clamp(110px,23svh,200px);overflow:hidden;isolation:isolate;pointer-events:none;margin:4px 0;color:var(--fg)}
 .v39-chapter::before{content:'';position:absolute;inset:50% 6% auto;border-top:1px solid color-mix(in srgb,var(--accent) 24%,transparent);transform:scaleX(calc(.22 + var(--v39-progress,0)*.78));transform-origin:left;opacity:.65}
 .v39-chapter::after{content:'✳';position:absolute;top:calc(50% - 24px);right:11%;font-size:17px;color:var(--accent);opacity:calc(.1 + var(--v39-chaos,0)*.65);transform:rotate(calc(var(--v39-progress,0)*180deg))}
 .v39-chapter-text{position:relative;display:block;max-width:90vw;text-align:center;font-size:clamp(24px,6vw,40px);font-weight:640;letter-spacing:-.065em;line-height:1.08;padding:8px 15px;background:color-mix(in srgb,var(--bg) 75%,transparent);white-space:normal;transform:translate3d(var(--v39-x,0px),0,0);opacity:var(--v39-opacity,.68)}
 .v39-chapter-echo{position:absolute;font-size:clamp(24px,6vw,40px);font-weight:700;letter-spacing:-.06em;transform:translate3d(calc(var(--v39-x,0px)*-.3),6px,0);filter:blur(8px);opacity:calc(var(--v39-chaos,0)*.27);color:var(--accent);white-space:nowrap}
 .v39-title-flight{position:fixed!important;margin:0!important;padding:0!important;pointer-events:none!important;z-index:180!important;transform-origin:top left!important;white-space:normal!important;text-wrap:balance!important;color:var(--fg)!important;line-height:.97!important;font-weight:680!important;letter-spacing:-.074em!important}
 html.intro-pending body,html.intro-entering body,html.intro-revealing body{overflow-y:hidden!important}
 html.intro-pending .site-shell,html.intro-entering .site-shell{height:100svh!important;overflow:hidden!important}
}
@media(max-width:370px){.shell-top{padding:0 12px!important}.project-card .project-lower h3{font-size:33px!important}.v39-chapter-text{font-size:24px}}
@media(max-width:900px) and (prefers-reduced-motion:reduce){
 .v39-chapter{display:none!important}
 .v39-title-flight{display:none!important}
 html.mobile-reveal-ready .scene [data-mobile-reveal],html.mobile-reveal-ready .scene [data-mobile-reveal]:not(.is-mobile-visible){opacity:1!important;filter:none!important;transform:none!important;transition:none!important}
}
/* Navigation.css V24 hid every inactive scene with higher specificity.
   In V39 all mobile scenes MUST stay in document flow. */
@media(max-width:900px){
 html.v39-mobile .scene:not(.is-active),
 html.v39-mobile .scene:not(.is-active):not(.is-transition-out){
   display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
   position:relative!important;transform:none!important;height:auto!important;max-height:none!important;
   min-height:0!important;overflow:visible!important;
 }
}
@media(max-width:900px){
 .project-card .v39-project-number{position:absolute;top:22%;right:clamp(18px,5vw,30px);writing-mode:vertical-rl;font-size:12px;letter-spacing:.24em;opacity:.68;z-index:5}
}



/* === v40.css === */
/* candal.dev v40 — editorial project archive, gentle mobile scroll. */
.v40-menu-home{display:block;width:clamp(54px,5.1vw,72px);height:clamp(54px,5.1vw,72px);object-fit:contain;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.atlas-link:hover .v40-menu-home,.atlas-link:focus-visible .v40-menu-home{transform:scale(1.1) rotate(-5deg)}

/* WORK ARCHIVE / an editorial showcase rather than two generic cards */
.project-scene .v40-project-intro{width:100%;display:flex;gap:13px;align-items:center;max-width:1480px;margin:0 auto 16px;color:var(--muted);font:600 10px/1.2 ui-monospace,monospace;letter-spacing:.16em}
.v40-project-intro-line{width:28px;height:1px;background:var(--accent)}
.v40-project-count{margin-left:auto;color:var(--accent)}
.project-deck.v40-gallery,.project-deck.v40-gallery[data-featured='1']{display:grid;grid-template-columns:minmax(0,1.68fr) minmax(230px,.8fr);gap:clamp(14px,1.8vw,25px);width:100%;max-width:1480px;height:clamp(440px,58vh,655px);min-height:440px;transition:none;align-items:stretch}
.project-deck.v40-gallery>.project-card{min-width:0;border-radius:13px;overflow:hidden;transform:none;transition:border-color .5s,box-shadow .5s;box-shadow:0 15px 50px #0002}
.project-deck.v40-gallery>.project-card:hover{box-shadow:0 24px 80px #0005;transform:none}
.project-deck.v40-gallery .v40-dossier{background:radial-gradient(ellipse at 19% 3%,rgba(201,219,247,.115),transparent 53%),#111821;border:1px solid #a7bfdb3c;display:flex;flex-direction:column;padding:clamp(16px,1.65vw,25px);position:relative}
.v40-dossier::before{opacity:0!important}
.v40-dossier-fold{position:absolute;right:-1px;top:-1px;z-index:8;border-top:29px solid color-mix(in srgb,var(--accent) 50%,#141a23);border-left:29px solid transparent;filter:drop-shadow(-3px 3px 3px #0004);pointer-events:none}
.v40-card-top{display:flex;align-items:center;justify-content:space-between;color:var(--fg);gap:12px;padding-bottom:13px;z-index:1}
.v40-serial,.v40-next-upper{font:650 11px/1.2 ui-monospace,monospace;letter-spacing:.13em;color:var(--accent)}
.v40-serial span{opacity:.5;padding:0 6px}
.v40-live,.v40-next-state{font:600 10px ui-monospace,monospace;letter-spacing:.095em;color:var(--muted);display:flex;gap:8px;align-items:center}
.v40-live i{width:7px;height:7px;background:#90dabb;border-radius:50%;box-shadow:0 0 9px #90dabb77}
.v40-presentation{min-height:0;flex:1;position:relative;margin:0 0 18px;display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:9px}
.v40-image-mat{position:relative;isolation:isolate;overflow:hidden;border:1px solid #d9dbd5a0;background:#b8a08a;border-radius:4px;min-height:140px}
.project-deck.v40-gallery .v40-image-mat .project-art{position:absolute;inset:0;z-index:-1;overflow:hidden}
.project-deck.v40-gallery .v40-image-mat img{width:100%;height:100%;object-fit:cover;transform:scale(1.09);transition:transform 1.1s cubic-bezier(.22,1,.36,1),filter 1.1s}
.project-deck.v40-gallery .v40-dossier:hover .v40-image-mat img,.project-deck.v40-gallery .v40-dossier:focus-within .v40-image-mat img{transform:scale(1.02)}
.v40-image-mat:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#1013174d,transparent 38%,#15171662);pointer-events:none}
.v40-mat-top,.v40-mat-bottom{position:absolute;z-index:3;color:#fdfaf4;text-shadow:0 1px 9px #0009;font:600 10px ui-monospace,monospace;letter-spacing:.13em}
.v40-mat-top{left:17px;top:17px}.v40-mat-bottom{right:16px;bottom:12px;font-size:24px}
.v40-side-note{color:var(--muted);font:500 9px ui-monospace,monospace;letter-spacing:.18em;writing-mode:vertical-rl;text-align:right;padding-bottom:12px}
.v40-dossier-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:end;z-index:3}
.v40-dossier-type{grid-column:1/-1;color:var(--accent);font:600 9px ui-monospace,monospace;letter-spacing:.17em;margin-bottom:8px}
.v40-dossier-bottom h3{grid-column:1/-1;color:var(--fg);font-size:clamp(33px,3.45vw,65px);font-weight:690;letter-spacing:-.075em;line-height:.98;margin:0}
.v40-dossier-bottom h3 em{font-family:Georgia,serif;font-size:.92em;font-weight:400}
.v40-dossier-bottom p{grid-column:1/-1;color:var(--muted);font-size:clamp(11px,1vw,14px);line-height:1.5;margin:9px 0 13px;max-width:480px}
.v40-tech-tags{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 4px}
.v40-tech-tags span{border:1px solid color-mix(in srgb,var(--accent) 23%,transparent);border-radius:4px;padding:6px 8px;color:var(--muted);font:500 9px ui-monospace,monospace;white-space:nowrap}
.v40-dossier-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.v40-dossier-actions .project-detail,.v40-dossier-actions .project-web{background:color-mix(in srgb,var(--accent) 13%,transparent);color:var(--fg);border:1px solid color-mix(in srgb,var(--accent) 37%,transparent);backdrop-filter:none;font-size:10px;padding:10px 12px;cursor:pointer}
.v40-dossier-actions .project-web{background:transparent}
/* 02: a spatial research memo, not a second identical card */
.project-deck.v40-gallery .v40-next-file{display:flex;flex-direction:column;padding:clamp(19px,1.8vw,28px);background:radial-gradient(circle at 49% 38%,#24364c 0%,#121e2b 34%,#0d151e 85%);color:#eaf0f7;border-color:rgba(183,206,235,.21)}
.v40-next-upper{display:flex;justify-content:space-between;align-items:center;color:#a9bfd8}.v40-next-cross{font-size:20px;line-height:1;font-weight:300}
.v40-next-visual{position:relative;flex:1;min-height:110px;margin:6px 0;isolation:isolate}
.v40-orbit-outer,.v40-orbit-inner,.v40-orbit-path{position:absolute;top:50%;left:50%;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;transition:transform .9s cubic-bezier(.22,1,.36,1)}
.v40-orbit-outer{width:min(95%,270px);aspect-ratio:1;border:1px solid #bdcee345}
.v40-orbit-inner{width:min(65%,186px);aspect-ratio:1;border:1px dashed #a7bed05c}
.v40-orbit-path{width:min(86%,240px);height:38%;border:1px solid #c4d9f467;transform:translate(-50%,-50%) rotate(-27deg)}
.v40-next-file:hover .v40-orbit-path,.v40-next-file:focus-visible .v40-orbit-path{transform:translate(-50%,-50%) rotate(24deg)}
.v40-next-file:hover .v40-orbit-outer{transform:translate(-50%,-50%) scale(1.08)}
.v40-next-symbol{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(68px,9vw,130px);font-weight:200;color:#d5e4f5;opacity:.87;text-shadow:0 0 60px #8bbfff40;transition:transform 1.1s cubic-bezier(.22,1,.36,1)}
.v40-next-file:hover .v40-next-symbol{transform:rotate(40deg) scale(.91)}
.v40-scanner{position:absolute;inset:12% 0;background:linear-gradient(180deg,transparent 44%,#b3d9ff28 50%,transparent 56%);pointer-events:none;opacity:.65}
.v40-next-bottom{position:relative;z-index:1}
.v40-next-state{color:#b0c8e0}.v40-next-bottom h3{font-size:clamp(30px,2.85vw,48px);letter-spacing:-.07em;line-height:1.01;font-weight:650;margin:8px 0}
.v40-next-bottom p{font-size:12px;color:#aabbd0;line-height:1.5;margin:0 0 19px}
.v40-next-construction{border-top:1px solid #bbd5f13a;width:100%;padding-top:14px;display:flex;justify-content:space-between;font-size:11px;color:#d8e5f5}
@media(min-width:901px) and (max-width:1220px){.project-deck.v40-gallery{grid-template-columns:minmax(0,1.32fr) minmax(195px,.7fr)}.v40-dossier-bottom{display:block}.v40-tech-tags{margin-bottom:10px}.v40-dossier-actions{justify-content:flex-start}.v40-dossier-bottom h3{font-size:clamp(30px,3.1vw,46px)}.v40-dossier-bottom p{margin-bottom:9px}}
/* Mobile is ONE normal document; no psychedelic interstitial screens. */
@media(max-width:900px){
 .v35-chapter,.v39-chapter,.v31-bridge,.v34-scroll-gate,.kinetic-interlude{display:none!important;height:0!important}
 .project-scene .v40-project-intro{padding:0 1px 0;letter-spacing:.11em;font-size:9px;margin-bottom:20px}
 .project-deck.v40-gallery,.project-deck.v40-gallery[data-featured='0'],.project-deck.v40-gallery[data-featured='1']{display:flex!important;flex-direction:column!important;gap:26px!important;width:100%!important;max-width:660px!important;min-height:0!important;max-height:none!important;height:auto!important;perspective:none!important;align-items:stretch!important}
 .project-deck.v40-gallery>.project-card,.project-deck.v40-gallery .v40-dossier,.project-deck.v40-gallery .v40-next-file{flex:none!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;transform:none!important;transition:box-shadow .45s,border-color .45s!important;overflow:hidden!important;touch-action:manipulation!important}
 .project-deck.v40-gallery .v40-dossier{padding:17px!important;display:flex!important}
 .v40-card-top{padding-bottom:15px}
 .v40-presentation{height:clamp(215px,61vw,365px)!important;min-height:0!important;flex:none!important;margin-bottom:21px}
 .v40-side-note{font-size:8px}
 .v40-dossier-bottom{display:block!important}
 .v40-dossier-bottom h3{font-size:clamp(37px,10vw,60px)!important}
 .v40-dossier-bottom p{font-size:13px!important;line-height:1.55!important;margin:13px 0!important}
 .v40-tech-tags{gap:6px!important;margin-bottom:22px!important}
 .v40-dossier-actions{justify-content:flex-start;gap:10px}
 .v40-dossier-actions .project-detail,.v40-dossier-actions .project-web{font-size:11px;padding:11px 13px}
 .project-deck.v40-gallery .v40-next-file{display:flex!important;min-height:390px!important;padding:23px!important}
 .v40-next-visual{height:160px;flex:1;min-height:160px;margin:22px 0}
 .v40-next-symbol{font-size:100px}
 .v40-next-bottom h3{font-size:clamp(34px,9vw,50px)!important}
 .v40-menu-home{width:54px;height:54px}
 .atlas-link:first-child{min-height:85px}
 html.mobile-reveal-ready .scene:not(.home-scene) [data-mobile-reveal]{transition-duration:1150ms,1200ms!important;transition-delay:var(--mobile-reveal-delay,0ms)!important}
 .mobile-scroll-indicator{display:none!important}
}
@media(prefers-reduced-motion:reduce){.v40-next-visual *, .project-deck.v40-gallery *{animation:none!important;transition:none!important}}
.v40-mat-top{display:none!important}



/* === v41.css === */
/* V41 · A creative project studio, no two-card template. */
.project-scene .v41-workbench {--ink:#eaf0f7;position:relative;width:100%;max-width:1500px;margin:0 auto;min-height:0;isolation:isolate}
.v41-studio-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid color-mix(in srgb,var(--accent) 32%,transparent);padding:0 0 12px;margin-bottom:0;color:var(--muted);font:600 10px/1.4 ui-monospace,monospace;letter-spacing:.14em}
.v41-studio-head .v41-count{color:var(--accent);letter-spacing:.06em}
.v41-studio-tabs{display:flex;gap:0;border-bottom:1px solid color-mix(in srgb,var(--accent) 24%,transparent);margin:0 0 14px}
.v41-tab{appearance:none;position:relative;display:flex;align-items:center;gap:11px;flex:1;justify-content:flex-start;max-width:390px;min-width:0;padding:14px 16px;color:var(--muted);border:0;background:transparent;text-align:left;font:600 clamp(13px,1.25vw,17px)/1.2 Inter,system-ui,sans-serif;letter-spacing:-.035em;cursor:pointer;transition:color .3s,background .3s}
.v41-tab+.v41-tab{border-left:1px solid color-mix(in srgb,var(--accent) 20%,transparent)}
.v41-tab:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .65s cubic-bezier(.22,1,.36,1)}
.v41-tab.is-current:after{transform:scaleX(1)}
.v41-tab.is-current,.v41-tab:hover{color:var(--fg);background:color-mix(in srgb,var(--accent) 6%,transparent)}
.v41-tab-no{font:650 10px/1 ui-monospace,monospace;color:var(--accent);letter-spacing:.03em}
.v41-tab-arrow{margin-left:auto;color:var(--accent);font-size:17px}
.v41-workstage{position:relative;min-height:clamp(388px,49vh,600px)}
.project-scene .project-card.v41-piece{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(250px,.74fr);gap:clamp(20px,3vw,46px);position:relative;inset:auto;width:100%;max-width:none;height:clamp(388px,49vh,600px);min-height:388px;max-height:none;overflow:visible;cursor:default;transform:none!important;opacity:1!important;visibility:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;perspective:none!important;padding:0!important;isolation:initial}
.project-scene .v41-piece[hidden]{display:none!important}
.project-scene .v41-piece:before,.project-scene .v41-piece:after{display:none!important}
.v41-theatre{position:relative;min-width:0;min-height:0;height:100%;background:radial-gradient(ellipse 65% 75% at 53% 35%,#293f54,#101823 70%);overflow:hidden;isolation:isolate;border:1px solid #9db9df32;box-shadow:0 28px 80px #0006}
.v41-stage-grid{position:absolute;inset:0;background-image:linear-gradient(#b0c8e10d 1px,transparent 1px),linear-gradient(90deg,#b0c8e10d 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(100deg,transparent,#0005 36%,#0006 90%);pointer-events:none}
.v41-theatre-label{position:absolute;top:19px;left:22px;z-index:3;display:block;color:#f1f5ffad;font:600 10px/1.3 ui-monospace,monospace;letter-spacing:.16em}
.v41-screen-shell{position:absolute;width:76%;height:77%;left:11%;top:13%;background:#e8ded1;transform:perspective(1150px) rotateY(-9deg) rotateX(6deg) rotateZ(-2deg);box-shadow:18px 25px 0 #090e169c,28px 36px 60px #000a;transition:transform 1.2s cubic-bezier(.22,1,.36,1),box-shadow 1.2s cubic-bezier(.22,1,.36,1);border:1px solid #d4d0c9;will-change:transform}
.v41-piece-live:hover .v41-screen-shell,.v41-piece-live:focus-within .v41-screen-shell{transform:perspective(1150px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateY(-4px);box-shadow:10px 19px 0 #090e169c,20px 32px 72px #0009}
.v41-browser-bar{display:flex;align-items:center;gap:12px;height:27px;color:#505057;padding:0 12px;background:#f2eee8;border-bottom:1px solid #aea9a76a;font:600 9px ui-monospace,monospace}
.v41-browser-bar>span:last-child{margin-left:auto}
.v41-lights{display:flex;gap:5px}.v41-lights i{width:6px;height:6px;background:#c1b8b2;border-radius:50%}
.v41-website-preview{position:relative;height:calc(100% - 27px);overflow:hidden;background:#7b6255}
.v41-website-preview img{position:absolute;width:100%;height:100%;object-fit:cover;transform:scale(1.08);filter:brightness(.78) saturate(.8)}
.v41-website-preview::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#30282038,#211a1855 62%,#201a1b8c)}
.v41-preview-name{position:absolute;inset:23% 9% auto;z-index:2;color:#fff8f2;font:500 clamp(26px,3.5vw,56px)/.94 Georgia,serif;letter-spacing:-.04em;text-shadow:0 3px 14px #2519138a}
.v41-preview-name em{font-weight:400}
.v41-preview-bottom{position:absolute;bottom:18px;left:9%;font:600 8px ui-monospace,monospace;letter-spacing:.13em;color:#fff;z-index:2}
.v41-stamp{position:absolute;right:17px;bottom:23px;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;width:78px;height:78px;border:1px solid #b3cbec70;border-radius:50%;background:#0d1728db;color:#f0f7ff;font:650 32px/.9 Inter,system-ui;letter-spacing:-.075em;transform:rotate(11deg)}
.v41-stamp span{font:700 9px ui-monospace,monospace;letter-spacing:.1em;margin-top:7px;color:#bdd2e9}
.v41-visual-cross{position:absolute;bottom:25px;left:23px;color:#bddaf6a6;font-size:20px}
.v41-project-info{align-self:center;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding-right:min(2vw,18px);color:var(--fg)}
.v41-info-heading{display:flex;align-items:center;gap:13px;justify-content:space-between;width:100%}
.v41-kicker{color:var(--accent);font:650 10px/1.4 ui-monospace,monospace;letter-spacing:.17em}
.v41-info-state{display:flex;align-items:center;gap:7px;color:var(--muted);font:600 10px/1.2 ui-monospace,monospace}
.v41-info-state i{background:#84d8ac;width:7px;height:7px;border-radius:50%;box-shadow:0 0 12px #84d8ac7e}
.project-scene .v41-project-info h3{font:670 clamp(41px,4.1vw,76px)/.99 Inter,system-ui,sans-serif;letter-spacing:-.08em;margin:23px 0 17px;max-width:100%;overflow-wrap:break-word}
.project-scene .v41-project-info h3 em{font:400 .95em Georgia,serif;letter-spacing:-.075em}
.v41-project-info>p{font-size:clamp(13px,1.13vw,17px);line-height:1.56;color:var(--muted);max-width:390px;margin:0 0 28px}
.v41-stack{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:27px}
.v41-stack span{font:600 10px ui-monospace,monospace;color:var(--muted);border:1px solid color-mix(in srgb,var(--accent) 23%,transparent);padding:7px 9px;border-radius:3px}
.v41-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.v41-actions .project-detail,.v41-actions .project-web{display:inline-flex;opacity:1;visibility:visible;transform:none;background:color-mix(in srgb,var(--accent) 13%,transparent);color:var(--fg);border:1px solid color-mix(in srgb,var(--accent) 37%,transparent);cursor:pointer;padding:13px 15px;font-size:12px;border-radius:3px}
.v41-actions .project-web{background:transparent}
.v41-theatre-draft{background:radial-gradient(ellipse 52% 65% at 50% 53%,#273950,#111926 72%)}
.v41-construction-sheets{position:absolute;inset:18% 23%;transform:rotate(-13deg)}
.v41-draft-sheet{position:absolute;inset:0;display:block;border:1px solid #a9c6e365;background:repeating-linear-gradient(0deg,transparent,transparent 27px,#c5daf010 28px),#1c2b3b70;box-shadow:0 10px 40px #0006}
.v41-draft-sheet.s1{transform:translate(-18%,14%) rotate(-15deg)}
.v41-draft-sheet.s2{transform:translate(8%,4%) rotate(9deg)}
.v41-draft-sheet.s3{transform:translate(0,-8%) rotate(-2deg)}
.v41-draft-glyph{position:absolute;top:50%;left:50%;font:200 clamp(90px,12vw,190px)/1 Inter,system-ui;color:#c8e4ff;transform:translate(-50%,-50%);text-shadow:0 0 70px #a6cfff55;transition:transform 1.4s cubic-bezier(.22,1,.36,1)}
.v41-piece-draft:hover .v41-draft-glyph{transform:translate(-50%,-50%) rotate(95deg)}
.v41-under-construction{display:flex;gap:24px;justify-content:space-between;color:var(--muted);border-top:1px solid var(--thin);padding:13px 0;width:100%;font:600 12px/1.5 ui-monospace,monospace}
.v41-under-construction>span{color:var(--fg)}
@media(min-width:901px) and (max-width:1250px){
 .project-scene .project-card.v41-piece{grid-template-columns:minmax(0,1.1fr) minmax(220px,.8fr);gap:18px}
 .v41-project-info h3{font-size:clamp(34px,3.4vw,49px)!important}
 .v41-project-info>p{margin-bottom:16px}
 .v41-stack{margin-bottom:14px}
 .v41-screen-shell{width:80%;left:8%}
}
@media(max-width:900px){
 /* One continuous document: the first viewport belongs entirely to the hero. */
 html.v39-mobile body main.scene-container .home-scene{min-height:100svh!important;display:flex!important;align-items:center!important;padding-top:108px!important;padding-bottom:100px!important;box-sizing:border-box!important}
 html.v39-mobile body main.scene-container .home-scene .home-layout{margin:auto 0!important;width:100%!important}
 html.v39-mobile body main.scene-container .scene:not(.home-scene){min-height:80svh!important;box-sizing:border-box!important}
 html.v39-mobile body main.scene-container .scene.project-scene{min-height:0!important;padding-top:95px!important}
 /* Keep scenes in flow, fade *as the user scrolls*; no extra gate elements. */
 html.v39-mobile body main.scene-container .scene,html.v39-mobile body main.scene-container .scene:not(.is-active),html.v39-mobile body main.scene-container .scene.is-active{opacity:var(--v41-scene-opacity,1)!important;filter:none!important;transition:none!important;will-change:opacity}
 html.v39-mobile .scene:not(.home-scene):after{display:none!important}
 .project-scene .v41-workbench{display:block;width:100%;max-width:650px;min-height:0;margin:0 auto}
 .v41-studio-head{margin-bottom:0;font-size:9px}
 .v41-studio-tabs{display:flex;gap:0;position:sticky;top:63px;z-index:15;background:color-mix(in srgb,var(--bg) 93%,transparent);backdrop-filter:blur(15px)}
 .v41-tab{min-height:50px;padding:13px 8px;font-size:clamp(11px,3vw,15px);gap:5px;flex:1}
 .v41-tab-no{font-size:9px}.v41-tab-arrow{font-size:12px}
 .v41-workstage{display:block;min-height:0}
 .project-scene .project-card.v41-piece,.project-scene .project-card.v41-piece[hidden]{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:21px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 62px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important;opacity:1!important;transform:none!important;pointer-events:auto!important}
 .project-scene .v41-theatre{height:clamp(310px,92vw,550px)!important;min-height:310px;flex:none;width:100%;overflow:hidden}
 .v41-screen-shell{width:80%;height:73%;left:10%;top:16%}
 .v41-preview-name{font-size:clamp(31px,9vw,58px)}
 .v41-project-info{padding:0 3px!important;min-width:0;align-items:flex-start}
 .project-scene .v41-project-info h3{font-size:clamp(41px,11vw,63px)!important;margin:14px 0!important}
 .v41-project-info>p{font-size:14px!important;line-height:1.55!important;margin-bottom:18px}
 .v41-stack{margin-bottom:18px}
 .v41-actions{gap:8px}.v41-actions .project-detail,.v41-actions .project-web{font-size:11px!important;padding:13px!important}
 .v41-theatre-draft{height:clamp(270px,75vw,400px)!important;min-height:270px!important}
 .v41-draft-glyph{font-size:115px}
 .v41-stamp{width:65px;height:65px;font-size:26px;right:14px;bottom:14px}
 html.v39-mobile .v35-chapter,html.v39-mobile .v39-chapter,html.v39-mobile .v34-scroll-gate,html.v39-mobile .v31-bridge{display:none!important;height:0!important}
 /* No one-way intersection reveal; opacity is tied to the section's geometry. */
 html.v39-mobile.mobile-reveal-ready .scene [data-mobile-reveal],html.v39-mobile.mobile-reveal-ready .scene [data-mobile-reveal]:not(.is-mobile-visible){opacity:1!important;filter:none!important;transform:none!important;transition:none!important}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){
 html.v39-mobile body main.scene-container .scene,html.v39-mobile body main.scene-container .scene.is-active{opacity:1!important;will-change:auto}
}



/* === v42.css === */
/* V42 — genuine single-page mobile scroll. No moving headings, scene fades,
   staggered reveals, interlude flashes or scroll-snap chapters. */
.ambient .aether{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none!important;}
@media(max-width:900px){
 html.v39-mobile,html.v39-mobile body{scroll-snap-type:none!important;scroll-behavior:auto;}
 html.v39-mobile body main.scene-container>.scene,
 html.v39-mobile body main.scene-container>.scene:not(.is-active),
 html.v39-mobile body main.scene-container>.scene.is-active{
   opacity:1!important;visibility:visible!important;filter:none!important;
   transform:none!important;translate:none!important;animation:none!important;
   transition:none!important;will-change:auto!important;
   pointer-events:auto!important;position:relative!important;
 }
 html.v39-mobile body main.scene-container .scene .section-motion-title,
 html.v39-mobile body main.scene-container .scene .hero-heading,
 html.v39-mobile body main.scene-container .scene .scene-piece,
 html.v39-mobile body main.scene-container .scene .scene-piece:not(.section-motion-title),
 html.v39-mobile body main.scene-container .scene [data-mobile-reveal],
 html.v39-mobile body main.scene-container .scene .v35-reveal,
 html.v39-mobile body main.scene-container .scene .v35-reveal:not(.v35-visible),
 html.v39-mobile body main.scene-container .scene .v41-workbench{
   opacity:1!important;visibility:visible!important;filter:none!important;
   transform:none!important;translate:none!important;animation:none!important;
   transition:none!important;will-change:auto!important;
 }
 html.v39-mobile body main.scene-container .scene:not(.home-scene){
   min-height:0!important;
 }
 html.v39-mobile body main.scene-container .scene.home-scene{
   min-height:100svh!important;
 }
 .v35-chapter,.v39-chapter,.v31-bridge,.v34-scroll-gate,
 .kinetic-interlude,.v29-mobile-portal,.v39-title-flight,
 .v41-logo-return,.v41-logo-return-clone,.scene-title-flight{display:none!important;}
 .atlas-dialog .atlas-link-label .v42-menu-home{
   display:block;width:58px;height:58px;object-fit:contain;
   transition:none!important;transform:none!important;
 }
 .atlas-dialog .nav-item:first-child{min-height:75px;}
 .shell-top .menu-trigger{display:inline-flex!important;}
}



/* === v43.css === */
/* V43 — PROJECT OBSERVATORY / one-click dossiers / continuous mobile dissolve */
:root{--v43-ease:cubic-bezier(.19,1,.22,1)}
/* A dossier is opened by selecting the artwork, not by navigating away. */
.project-scene .v41-workbench{max-width:1360px}
.project-scene .v41-studio-head{padding-bottom:15px;border-color:color-mix(in srgb,var(--accent) 42%,transparent)}
.project-scene .v41-studio-tabs{position:relative;margin:0 0 25px;border-color:color-mix(in srgb,var(--accent) 28%,transparent)}
.project-scene .v41-tab{padding:18px 18px 19px 10px;gap:18px;max-width:unset;font-size:clamp(13px,1.4vw,18px);letter-spacing:-.045em}
.project-scene .v41-tab.is-current{background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 13%,transparent),transparent 75%)}
.project-scene .v41-tab-no{display:grid;place-items:center;width:33px;height:33px;flex:none;border:1px solid color-mix(in srgb,var(--accent) 35%,transparent);border-radius:50%;font-size:11px;transition:background .4s,transform .6s var(--v43-ease)}
.project-scene .v41-tab.is-current .v41-tab-no{background:color-mix(in srgb,var(--accent) 20%,transparent);transform:rotate(-18deg)}
.project-scene .v41-tab-arrow{font-size:20px;transition:transform .45s var(--v43-ease)}
.project-scene .v41-tab:hover .v41-tab-arrow{transform:translate(4px,-4px)}
.project-scene .v41-workstage{isolation:isolate}
.v43-workstage-mark{position:absolute;bottom:-19px;right:5px;color:var(--muted);font:600 9px ui-monospace,monospace;letter-spacing:.2em;opacity:.6}
.project-scene .project-card.v41-piece{grid-template-columns:minmax(0,1.15fr) minmax(275px,.72fr);gap:clamp(28px,4vw,67px);cursor:pointer}
.project-scene .v41-theatre{border-radius:8px 52px 8px 8px;background:radial-gradient(ellipse at 45% 55%,#293f55 0,#111e2d 52%,#080f18 100%);border:1px solid #88b5ed50;box-shadow:inset 0 0 90px #6db0fa0b,0 24px 60px #0006;transition:border-radius .9s var(--v43-ease),box-shadow .65s}
.project-scene .v41-piece:hover .v41-theatre,.project-scene .v41-piece:focus-within .v41-theatre{border-radius:28px 8px 28px 8px;box-shadow:inset 0 0 130px #6db0fa1a,0 34px 78px #0008}
.v43-orbit-rings{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.v43-orbit-rings i{position:absolute;top:49%;left:50%;display:block;border:1px solid rgba(162,197,246,.18);width:78%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) rotate(-16deg);transition:transform 1.3s var(--v43-ease),opacity 1s}
.v43-orbit-rings i:nth-child(2){width:102%;border-style:dashed;border-color:#b7d4f722;transform:translate(-50%,-50%) rotate(24deg)}
.v43-orbit-rings i:nth-child(3){width:135%;border-color:#9fc5f00e;transform:translate(-50%,-50%) rotate(-25deg)}
.v43-orbit-rings i:first-child::before{content:'';position:absolute;top:6%;left:15%;width:7px;height:7px;border-radius:50%;background:#b9ddff;box-shadow:0 0 18px 6px #98cfff57}
.v41-piece:hover .v43-orbit-rings i:first-child{transform:translate(-50%,-50%) rotate(27deg) scale(1.05)}
.v41-piece:hover .v43-orbit-rings i:nth-child(2){transform:translate(-50%,-50%) rotate(-12deg)}
.project-scene .v41-screen-shell{z-index:2;width:74%;left:12%;height:71%;top:15%}
.project-scene .v41-theatre-label{z-index:4;left:20px;top:20px}
.project-scene .v41-stamp{z-index:6;right:20px;bottom:22px;pointer-events:none;transform:rotate(12deg);transition:transform .7s var(--v43-ease)}
.project-scene .v41-piece:hover .v41-stamp{transform:rotate(-13deg)}
.project-scene .v41-visual-cross{z-index:4}
.v43-preview-hit{position:absolute;inset:0;z-index:8;display:flex;align-items:flex-end;justify-content:flex-start;padding:clamp(14px,2.4vw,31px);appearance:none;border:0;background:transparent;color:white;cursor:pointer;text-align:left}
.v43-preview-hit:focus-visible{outline:2px solid #b9dfff;outline-offset:-6px;border-radius:inherit}
.v43-explore-pill{display:flex;align-items:center;gap:25px;padding:15px 17px;border-radius:2px 22px 2px 2px;background:rgba(7,18,31,.83);border:1px solid #e2f1ff59;box-shadow:0 12px 36px #0008;backdrop-filter:blur(17px);color:#eaf5ff;font:750 10px/1.15 ui-monospace,monospace;letter-spacing:.13em;transition:background .4s,transform .6s var(--v43-ease),border-radius .6s}
.v43-explore-pill>span{font-size:23px;font-weight:400;line-height:1;transition:transform .6s var(--v43-ease)}
.v43-preview-hit:hover .v43-explore-pill,.v43-preview-hit:focus-visible .v43-explore-pill{background:#e6f0ff;color:#0b1a2a;transform:translateY(-5px);border-radius:23px 2px 23px 2px}
.v43-preview-hit:hover .v43-explore-pill>span{transform:translate(4px,-4px)}
.project-scene .v41-project-info{position:relative;align-items:flex-start;padding-top:20px;padding-bottom:24px}
.project-scene .v41-project-info:before{content:'';position:absolute;left:0;top:0;width:45px;height:1px;background:var(--accent);box-shadow:0 0 20px var(--accent)}
.project-scene .v41-project-info h3{font-size:clamp(42px,5vw,77px);margin:25px 0 20px}
.project-scene .v41-project-info>p{font-size:clamp(14px,1.2vw,18px);max-width:360px}
.project-scene .v41-actions .project-detail{border-radius:100px;background:var(--fg);color:var(--bg);font-size:12px;font-weight:750;padding:15px 20px;gap:15px;transition:transform .3s,background .3s,box-shadow .3s}
.project-scene .v41-actions .project-detail:hover{transform:translateY(-4px);box-shadow:0 10px 32px color-mix(in srgb,var(--accent) 30%,transparent)}
.v43-action-note{font:600 9px ui-monospace,monospace;letter-spacing:.1em;color:var(--muted)}
.project-scene .v41-piece-draft .v41-theatre{background:radial-gradient(ellipse at 52% 50%,#2e4158,#0b1728 75%)}
.project-scene .v41-construction-sheets{z-index:2}
.project-scene .v41-draft-glyph{z-index:3;pointer-events:none}
.project-scene .v41-piece-draft .v41-under-construction{margin-bottom:19px}
/* Live case-study always shows the outgoing link INSIDE its information drawer. */
.case-dialog .preview-external-action,.case-dialog .preview-main-btn{position:relative;z-index:2}
/* Upcoming project gets its own information panel, never a dead tile. */
.v43-lab-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(670px,100vw);height:100dvh;max-height:100dvh;max-width:none;border:0;padding:0;overflow-y:auto;background:var(--bg);color:var(--fg);box-shadow:-30px 0 90px #0009}
.v43-lab-dialog::backdrop{background:#020711ba;backdrop-filter:blur(9px)}
.v43-lab-dialog[open]{animation:v43-panel-in .48s var(--v43-ease) both}
@keyframes v43-panel-in{from{opacity:.2;transform:translateX(45px)}to{opacity:1;transform:translateX(0)}}
.v43-lab-inner{padding:clamp(20px,4vw,42px)}
.v43-lab-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font:650 10px ui-monospace,monospace;letter-spacing:.13em;margin-bottom:26px}
.v43-lab-top button,.v43-lab-end button{cursor:pointer;border:1px solid var(--thin);background:var(--surface);color:var(--fg);padding:13px;border-radius:50px}
.v43-lab-top button{display:grid;place-items:center;width:45px;height:45px}
.v43-lab-art{height:clamp(220px,35vh,340px);position:relative;overflow:hidden;border:1px solid #b7d6f53d;background:radial-gradient(ellipse at 55% 50%,#344e69,#0c1725 77%);border-radius:9px 44px 9px 9px;display:grid;place-items:center}
.v43-lab-orbit{position:absolute;width:55%;aspect-ratio:1;border:1px solid #d9ecff65;border-radius:50%;transform:rotate(-28deg);animation:v43-lab-spin 25s linear infinite}
.v43-lab-orbit.two{width:78%;border-style:dashed;border-color:#d9ecff3b;animation-direction:reverse;animation-duration:38s}
.v43-lab-orbit.one:before{content:'';width:9px;height:9px;position:absolute;top:16%;left:15%;border-radius:50%;background:#d2eaff;box-shadow:0 0 18px #c6ebff}
@keyframes v43-lab-spin{to{transform:rotate(360deg)}}
.v43-lab-sign{font:200 clamp(90px,16vw,160px)/1 sans-serif;color:#e5f2ff;text-shadow:0 0 55px #a8d9ffba}
.v43-lab-coord{position:absolute;bottom:20px;left:22px;color:#d1e5fb;font:600 10px ui-monospace,monospace;letter-spacing:.15em}
.v43-lab-body{padding:31px 1px}
.v43-lab-body h2{font-size:clamp(44px,7vw,76px);line-height:1;letter-spacing:-.07em;max-width:560px;margin:15px 0 20px}
.v43-lab-body h2 span{color:var(--accent)}
.v43-lab-body>p{font-size:clamp(16px,2vw,19px);line-height:1.5;color:var(--muted)}
.v43-lab-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-block:1px solid var(--thin);padding:24px 0;margin:30px 0}
.v43-lab-facts>div{display:flex;flex-direction:column;gap:14px}.v43-lab-facts small{font:650 10px ui-monospace,monospace;letter-spacing:.12em;color:var(--accent)}.v43-lab-facts b{font-size:14px;line-height:1.45;font-weight:500}
.v43-lab-end{display:flex;align-items:center;justify-content:space-between;gap:12px}.v43-lab-end span{font-size:12px;color:var(--muted);max-width:220px}.v43-lab-end button{display:flex;align-items:center;gap:9px;padding:12px 18px;white-space:nowrap}
/* Atlas drawer — mobile chapter index rather than a plain menu. */
.v43-menu-eyebrow,.v43-menu-halo,.v43-menu-section-label,.v43-menu-number{display:none}
@media(max-width:900px){
  .shell-top .menu-trigger{border:1px solid color-mix(in srgb,var(--accent) 60%,transparent)!important;background:color-mix(in srgb,var(--accent) 13%,var(--bg))!important;min-height:42px!important;padding:0 13px!important;border-radius:14px!important;box-shadow:inset 0 1px #ffffff10}
  .shell-top .menu-trigger[aria-expanded=true]{background:var(--accent)!important;color:var(--bg)!important}
  .atlas-dialog{background:color-mix(in srgb,var(--bg) 96%,#152c42)!important;width:min(92vw,440px)!important;border-left:1px solid color-mix(in srgb,var(--accent) 55%,transparent)!important;box-shadow:-30px 0 90px #000b!important;overflow:hidden!important}
  .atlas-dialog::backdrop{background:#030911c8!important;backdrop-filter:blur(12px)!important}
  .atlas-dialog .atlas-surface{position:relative;z-index:0;overflow-y:auto;min-height:100%;height:auto!important;box-sizing:border-box;padding:calc(25px + env(safe-area-inset-top)) clamp(20px,5.5vw,32px) calc(25px + env(safe-area-inset-bottom))!important;background:radial-gradient(ellipse 100% 48% at 100% 5%,color-mix(in srgb,var(--accent) 15%,transparent),transparent 85%),linear-gradient(145deg,color-mix(in srgb,var(--accent) 4%,var(--bg)),var(--bg) 72%)!important}
  .atlas-dialog .atlas-surface:before{position:absolute;content:'';inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle,#93b5ef89 .8px,transparent 1.1px);background-size:29px 37px;mask-image:linear-gradient(180deg,#0007,transparent 70%);opacity:.5}
  .v43-menu-halo{position:absolute;display:block;z-index:-1;right:-118px;top:70px;width:360px;height:360px;pointer-events:none;animation:v43-halo-turn 50s linear infinite}
  .v43-menu-halo i{position:absolute;inset:0;border:1px solid color-mix(in srgb,var(--accent) 21%,transparent);border-radius:50%}
  .v43-menu-halo i:nth-child(2){inset:15%;border-style:dashed}
  .v43-menu-halo i:nth-child(3){inset:33%;border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
  @keyframes v43-halo-turn{to{transform:rotate(360deg)}}
  .v43-menu-eyebrow{display:flex;align-items:center;gap:9px;color:var(--accent);font:650 9px ui-monospace,monospace;letter-spacing:.13em;margin-bottom:28px}
  .v43-menu-eyebrow>span:last-child{margin-left:auto;color:var(--muted)}
  .v43-menu-status-dot{width:6px;height:6px;background:#8adfba;border-radius:50%;box-shadow:0 0 0 4px #8adfba22,0 0 15px #8adfba69}
  .atlas-dialog .atlas-heading{font-size:clamp(23px,6.5vw,33px);letter-spacing:-.09em;position:relative;padding-bottom:21px;border-bottom:1px solid color-mix(in srgb,var(--accent) 25%,transparent)}
  .atlas-dialog .atlas-close{width:43px;height:43px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 38%,transparent);border-radius:50%;background:color-mix(in srgb,var(--accent) 8%,transparent);color:var(--fg);cursor:pointer}
  .v43-menu-section-label{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font:650 10px ui-monospace,monospace;letter-spacing:.13em;margin:24px 0 8px}
  .v43-menu-section-label>span{font-size:20px;color:var(--accent)}
  .atlas-dialog .atlas-links{display:flex;flex-direction:column;gap:4px!important;flex:1;justify-content:center}
  .atlas-dialog .atlas-link{position:relative;display:flex;align-items:center;gap:12px;min-height:68px!important;padding:11px 11px!important;text-align:left;border-bottom:1px solid color-mix(in srgb,var(--accent) 18%,transparent)!important;border-radius:3px 18px 3px 3px!important;overflow:hidden;isolation:isolate;color:var(--muted)!important;transition:color .32s,background .32s,transform .32s var(--v43-ease)!important}
  .atlas-dialog .atlas-link:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 23%,transparent),color-mix(in srgb,var(--accent) 4%,transparent));opacity:0;transform:translateX(-12%);transition:opacity .35s,transform .55s var(--v43-ease)}
  .atlas-dialog .atlas-link.is-active:before,.atlas-dialog .atlas-link:focus-visible:before,.atlas-dialog .atlas-link:hover:before{opacity:1;transform:none}
  .atlas-dialog .atlas-link.is-active,.atlas-dialog .atlas-link:focus-visible{color:var(--fg)!important;border-color:color-mix(in srgb,var(--accent) 46%,transparent)!important}
  .atlas-dialog .v43-menu-number{display:block;flex:none;width:27px;align-self:center;color:var(--accent);font:650 10px ui-monospace,monospace;letter-spacing:.07em}
  .atlas-dialog .atlas-link-label{font-size:clamp(22px,6.2vw,33px)!important;line-height:1.1!important;letter-spacing:-.065em!important;font-weight:650;flex:1;min-width:0;white-space:normal}
  .atlas-dialog .atlas-link-label .v42-menu-home{width:43px!important;height:43px!important}
  .atlas-dialog .atlas-link-arrow{opacity:.45!important;transform:none!important;display:grid;place-items:center;font-size:17px!important;width:35px;height:35px;flex:none;border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:50%;color:var(--accent);transition:transform .3s,opacity .3s!important}
  .atlas-dialog .atlas-link.is-active .atlas-link-arrow{opacity:1!important;transform:rotate(45deg)!important;background:color-mix(in srgb,var(--accent) 15%,transparent)}
  .atlas-dialog .nav-item:first-child{min-height:65px!important}
  .atlas-dialog .atlas-foot{padding-top:20px;margin-top:20px;border-top:1px solid color-mix(in srgb,var(--accent) 25%,transparent);font:650 9px ui-monospace,monospace;letter-spacing:.14em!important;color:var(--accent)}
  .atlas-dialog .atlas-foot small{display:block;font:400 12px/1.3 system-ui;letter-spacing:0;color:var(--muted);margin-top:8px}
  .atlas-dialog .atlas-foot span:last-child{font-size:29px;animation:v43-halo-turn 15s linear infinite}
  /* No section snapping. Every scene enters and leaves progressively while scrolling. */
  html.v39-mobile,html.v39-mobile body{scroll-snap-type:none!important;scroll-behavior:auto!important}
  html.v39-mobile.v43-dissolve body main.scene-container>.scene,
  html.v39-mobile.v43-dissolve body main.scene-container>.scene:not(.is-active),
  html.v39-mobile.v43-dissolve body main.scene-container>.scene.is-active{
    opacity:var(--v43-scene-opacity,1)!important;
    visibility:visible!important;transform:translate3d(0,0,0)!important;
    transition:none!important;animation:none!important;
    filter:none!important;will-change:opacity!important;
    pointer-events:auto!important;
  }
  html.v39-mobile body main.scene-container .scene.project-scene{padding-top:clamp(80px,12vw,104px)!important;padding-bottom:80px!important}
  .project-scene .v41-studio-tabs{top:68px!important;margin-bottom:16px}
  .project-scene .v41-tab{min-height:56px;gap:8px;padding:10px 8px;font-size:clamp(11px,3.2vw,15px)}
  .project-scene .v41-tab-no{width:25px;height:25px;font-size:9px}
  .project-scene .project-card.v41-piece,.project-scene .project-card.v41-piece[hidden]{cursor:pointer!important;gap:24px!important;margin-bottom:55px!important}
  .project-scene .v41-theatre{height:clamp(255px,73vw,410px)!important;min-height:255px!important;border-radius:8px 34px 8px 8px}
  .project-scene .v41-theatre-draft{height:clamp(235px,68vw,360px)!important;min-height:235px!important}
  .project-scene .v41-screen-shell{width:73%;height:73%;top:14%;left:14%}
  .project-scene .v41-project-info{padding-top:13px;padding-bottom:0;align-self:stretch}
  .project-scene .v41-project-info h3{font-size:clamp(40px,10vw,60px)!important}
  .project-scene .v41-project-info>p{font-size:14px!important}
  .v43-preview-hit{padding:16px}
  .v43-explore-pill{padding:12px 13px;font-size:9px;gap:9px}
  .v43-explore-pill>span{font-size:17px}
  .project-scene .v41-stamp{right:13px;bottom:14px;width:60px;height:60px;font-size:25px}
  .project-scene .v41-actions .project-detail{padding:12px 15px!important;font-size:11px!important}
  .v43-action-note{display:none}
  .v43-lab-facts{grid-template-columns:1fr}
}
@media(max-width:400px){.atlas-dialog .atlas-link{min-height:58px!important;padding:7px 8px!important}.atlas-dialog .atlas-link-label{font-size:clamp(21px,6vw,26px)!important}.atlas-dialog .atlas-surface{padding-top:15px!important}.v43-menu-eyebrow{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.v43-menu-halo,.v43-lab-orbit,.atlas-dialog .atlas-foot span:last-child{animation:none!important}.v43-lab-dialog[open]{animation:none!important}.project-scene .v41-theatre,.project-scene .v41-stamp,.v43-explore-pill,.v43-orbit-rings i{transition:none!important}}
@media(max-width:900px) and (prefers-reduced-motion:reduce){html.v39-mobile.v43-dissolve body main.scene-container>.scene{opacity:1!important;will-change:auto!important}}



/* === v46.css === */
/* V46: restrained project cards with a physical, two-sided floating reveal. */
.project-scene .v46-projects{width:min(1050px,100%);margin:clamp(20px,4vh,60px) auto 0;position:relative;isolation:isolate}
.v46-eyebrow{display:flex;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid var(--thin);color:var(--muted);font:600 10px/1.5 ui-monospace,monospace;letter-spacing:.15em}
.v46-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(15px,2vw,26px);padding:clamp(24px,4vw,45px) 0 18px}
.project-scene .v46-card{position:relative;display:block;text-align:left;min-width:0;width:100%;min-height:clamp(245px,29vh,300px);padding:0;border:1px solid color-mix(in srgb,var(--accent) 23%,transparent);border-radius:20px;cursor:pointer;overflow:hidden;background:color-mix(in srgb,var(--surface) 86%,transparent);color:var(--fg);box-shadow:0 12px 37px #00000012;transform:translate3d(0,0,0);transition:transform .55s cubic-bezier(.2,.8,.2,1),border-color .35s,box-shadow .5s,background .4s}
.project-scene .v46-card:hover,.project-scene .v46-card:focus-visible{transform:translate3d(0,-8px,0);border-color:color-mix(in srgb,var(--accent) 62%,transparent);box-shadow:0 29px 80px #00000033;background:color-mix(in srgb,var(--surface) 91%,var(--accent) 9%)}
.project-scene .v46-card:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.project-scene .v46-card.is-launching{visibility:hidden!important}
.v46-card-face{display:flex;flex-direction:column;justify-content:space-between;gap:20px;width:100%;height:100%;min-height:inherit;padding:clamp(21px,2.6vw,31px);box-sizing:border-box;overflow:hidden;position:relative;background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--accent) 6%,transparent),transparent 52%)}
.v46-card-face::before{content:'';display:block;position:absolute;right:23px;top:60px;width:54px;height:54px;border:1px solid color-mix(in srgb,var(--accent) 11%,transparent);border-radius:50%;pointer-events:none}
.v46-card-top,.v46-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v46-card-index{color:var(--muted);font:700 10px/1.4 ui-monospace,monospace;letter-spacing:.17em}
.v46-status{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font:600 9px/1.5 ui-monospace,monospace;letter-spacing:.09em;text-align:right}
.v46-status i{height:6px;width:6px;flex:0 0 6px;border-radius:50%;background:#82d9ad;box-shadow:0 0 10px #82d9ad70}.v46-status.is-building i{background:#d4b17e;box-shadow:0 0 9px #d4b17e55}
.v46-card-main{display:flex;flex-direction:column;gap:11px;max-width:430px;margin:14px 0 4px}
.v46-card-main strong{display:block;font-size:clamp(26px,3vw,39px);letter-spacing:-.068em;line-height:1.04;font-weight:660;color:var(--fg)}
.v46-card-main strong em{font:400 .98em/1.04 Georgia,serif;letter-spacing:-.07em}
.v46-card-desc{display:block;max-width:345px;font-size:clamp(12px,1.05vw,14px);line-height:1.54;color:var(--muted)}
.v46-card-tags{display:flex;flex-wrap:wrap;gap:6px}
.v46-card-tags>span{display:inline-block;font:600 10px/1.3 ui-monospace,monospace;color:var(--muted);padding:6px 9px;border:1px solid color-mix(in srgb,var(--accent) 19%,transparent);border-radius:50px}
.v46-card-foot{padding-top:14px;border-top:1px solid var(--thin);color:var(--muted);font:600 10px/1.3 ui-monospace,monospace;letter-spacing:.04em}
.v46-card-arrow{display:grid;place-items:center;width:29px;height:29px;border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);border-radius:50%;font-size:18px;line-height:1;color:var(--fg);transition:transform .4s,background .3s}
.v46-card:hover .v46-card-arrow,.v46-card:focus-visible .v46-card-arrow{transform:rotate(45deg);background:color-mix(in srgb,var(--accent) 16%,transparent)}
.v46-smallprint{color:var(--muted);font:550 10px/1.5 ui-monospace,monospace;letter-spacing:.055em;padding-top:12px}
/* Separate stacking context: a native dialog supplies focus management and escape semantics. */
.v46-project-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;background:transparent;overflow:visible;width:min(706px,calc(100vw - 34px));height:min(760px,calc(100dvh - 32px));max-width:none;max-height:none;color:var(--fg);perspective:1700px;isolation:isolate}
.v46-project-dialog::backdrop{background:rgba(3,7,14,.82);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px)}
.v46-project-dialog .v46-flip-shell{position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:translate3d(var(--v46-x,0px),var(--v46-y,0px),0) rotateY(0deg) rotateZ(-4deg) scale(var(--v46-s,.48));transition:transform .92s cubic-bezier(.2,.75,.18,1);will-change:transform}
.v46-project-dialog[data-state='open'] .v46-flip-shell{transform:translate3d(0,0,0) rotateY(180deg) rotateZ(0) scale(1)}
.v46-flip-front,.v46-flip-back{position:absolute;inset:0;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--accent) 34%,transparent);border-radius:24px;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:var(--bg);box-shadow:0 36px 130px #00000077}
.v46-flip-front{display:flex;align-items:center;justify-content:center}
.v46-flip-front .v46-card-face{justify-content:space-between;min-height:100%;background:var(--surface);padding:clamp(32px,5vw,59px)}
.v46-flip-front .v46-card-main strong{font-size:clamp(36px,5vw,68px)}
.v46-flip-front .v46-card-main .v46-card-desc{font-size:clamp(16px,2vw,21px);max-width:500px}
.v46-flip-back{transform:rotateY(180deg);display:flex;flex-direction:column;background:color-mix(in srgb,var(--bg) 97%,var(--surface))}
.v46-flip-top{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:12px;border-bottom:1px solid var(--thin);padding:16px clamp(20px,4vw,35px);color:var(--muted);font:600 10px/1.4 ui-monospace,monospace;letter-spacing:.14em}
.v46-flip-top b{font-weight:500;color:var(--accent)}
.v46-close{cursor:pointer;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--thin);border-radius:50%;color:var(--fg);background:var(--surface);transition:background .2s,transform .3s}.v46-close:hover{background:color-mix(in srgb,var(--accent) 12%,var(--surface));transform:rotate(90deg)}.v46-close:focus-visible,.v46-visit:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.v46-dialog-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:clamp(20px,4.3vw,39px)}
.v46-detail[hidden]{display:none!important}
.v46-detail-heading{margin:0 0 23px}.v46-detail-index{display:block;font:650 10px/1.3 ui-monospace,monospace;letter-spacing:.15em;color:var(--accent)}
.v46-detail-heading h2{font-size:clamp(36px,4.3vw,57px);line-height:1.02;letter-spacing:-.075em;font-weight:680;margin:12px 0 13px}.v46-detail-heading h2 em{font:400 .96em Georgia,serif}
.v46-detail-heading p{font-size:clamp(14px,1.45vw,17px);color:var(--muted);line-height:1.55;max-width:540px;margin:0}
.v46-preview{background:#211914;border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);border-radius:16px;overflow:hidden}
.v46-browser-bar{height:33px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 13px;background:#f3eee9;color:#554942;font:600 10px/1 ui-monospace,monospace}
.v46-browser-dots{display:flex;gap:5px}.v46-browser-dots i{width:7px;height:7px;border-radius:50%;background:#c9beb7}
.v46-browser-screen{height:clamp(180px,28vh,254px);position:relative;overflow:hidden}
.v46-browser-screen img{width:100%;height:100%;object-fit:cover;object-position:center 45%;filter:brightness(.7) saturate(.83)}
.v46-browser-screen::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,11,9,.70),transparent 90%)}
.v46-browser-overlay{position:absolute;inset:18px 21px;z-index:1;color:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:8px}
.v46-browser-overlay small{font:600 9px/1 ui-monospace,monospace;letter-spacing:.18em}
.v46-browser-overlay strong{font-size:clamp(21px,3.5vw,38px);line-height:.94;letter-spacing:-.06em}.v46-browser-overlay strong em{font:400 1.05em Georgia,serif}
.v46-browser-overlay>span{font:600 9px/1.4 ui-monospace,monospace;letter-spacing:.15em}
.v46-preview-note{color:var(--muted);font-size:11px;line-height:1.5;margin:10px 0 24px}
.v46-detail-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:20px 0 24px;padding-top:20px;border-top:1px solid var(--thin)}
.v46-detail-columns small,.v46-detail-stack>small{display:block;color:var(--accent);font:650 10px/1.3 ui-monospace,monospace;letter-spacing:.13em;text-transform:uppercase}
.v46-detail-columns p{font-size:13px;line-height:1.62;color:var(--muted);margin:9px 0 0}
.v46-detail-stack{padding:18px 0;border-top:1px solid var(--thin)}.v46-detail-stack div{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.v46-detail-stack div span{border:1px solid var(--thin);color:var(--muted);border-radius:100px;padding:8px 12px;font:600 10px/1.2 ui-monospace,monospace}
.v46-visit{display:flex;align-items:center;justify-content:center;gap:11px;text-decoration:none;margin:13px 0 4px;width:fit-content;padding:14px 19px;border-radius:100px;font-weight:670;font-size:13px;background:var(--fg);color:var(--bg);transition:transform .25s,box-shadow .25s}.v46-visit:hover{transform:translateY(-2px);box-shadow:0 12px 35px color-mix(in srgb,var(--accent) 28%,transparent)}
.v46-unreleased{min-height:230px;border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:16px;background:radial-gradient(circle at center,color-mix(in srgb,var(--accent) 13%,var(--surface)),var(--surface));display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;overflow:hidden;position:relative;color:var(--muted);font-size:13px;text-align:center;padding:24px;box-sizing:border-box}
.v46-unreleased-orbit{width:130px;height:130px;border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);border-radius:50%;position:absolute;top:calc(50% - 65px)}.v46-unreleased-orbit:after{content:'';position:absolute;inset:24px;border:1px dashed color-mix(in srgb,var(--accent) 20%,transparent);border-radius:50%}
.v46-unreleased-symbol{position:relative;font-size:62px;line-height:1;color:var(--accent);font-weight:200}.v46-unreleased>span:last-child{position:relative;max-width:280px}
@media(max-width:900px){
 .project-scene .v46-projects{margin-top:12px!important}
 .project-scene .v46-card-grid{grid-template-columns:1fr;gap:15px;padding-top:21px}
 .project-scene .v46-card{min-height:245px;box-shadow:0 15px 37px #00000022}
 .project-scene .v46-card .v46-card-face{padding:23px;gap:20px}
 .v46-card-main strong{font-size:clamp(28px,7.8vw,39px)}
 .v46-card-main .v46-card-desc{font-size:13px}
 .v46-project-dialog{height:min(730px,calc(100dvh - 28px));width:calc(100vw - 24px)}
 .v46-detail-columns{gap:16px}
 .v46-dialog-scroll{padding:20px}
}
@media(max-width:450px){
 .v46-eyebrow{font-size:9px;letter-spacing:.08em}
 .v46-project-dialog{width:calc(100vw - 16px);height:calc(100dvh - 20px)}
 .v46-flip-front,.v46-flip-back{border-radius:19px}
 .v46-flip-top{padding:12px 16px}
 .v46-dialog-scroll{padding:19px 18px 26px}
 .v46-detail-columns{grid-template-columns:1fr;gap:18px}
 .v46-browser-screen{height:220px}
 .v46-card-desc{max-width:290px}
}
@media(prefers-reduced-motion:reduce){.project-scene .v46-card,.v46-card-arrow,.v46-project-dialog .v46-flip-shell,.v46-close{transition-duration:0ms!important}}
/* V47: explicit animations replace timed CSS state transitions on the flip. */
.v46-project-dialog .v46-flip-shell{transition:none!important;transform:rotateY(0deg)}
.v46-project-dialog[data-state='open'] .v46-flip-shell{transform:translate3d(0,0,0) rotateY(180deg) scale(1,1)}
.v46-project-dialog[data-state='closing'] .v46-flip-shell{transition:none!important}



/* === v47.css === */
/* V47 · A collectible foil envelope reveals the minimalist project cards.
   Only CSS/DOM shapes: no third-party assets, no additional particle renderer. */
.v47-projects{position:relative}
.v47-locked .v46-card-grid,.v47-dealing .v46-card-grid{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
.v47-locked .v46-smallprint,.v47-dealing .v46-smallprint{opacity:0}
.v47-unpacked .v46-card-grid{opacity:1;visibility:visible;transition:opacity .18s ease}
.v47-booster[hidden]{display:none!important}
.v47-booster{
  position:absolute;z-index:12;left:50%;top:50%;width:clamp(214px,24vw,268px);
  height:clamp(280px,30vw,346px);border:0;padding:0;appearance:none;
  transform:translate(-50%,-43%);background:transparent;cursor:pointer;color:white;
  filter:drop-shadow(0 27px 32px rgba(0,0,0,.45));
  transition:filter .3s ease,transform .5s cubic-bezier(.2,.8,.2,1);
  -webkit-tap-highlight-color:transparent;
}
.v47-booster:focus-visible{outline:2px solid var(--accent);outline-offset:10px;border-radius:13px}
.v47-booster:not(:disabled):hover{transform:translate(-50%,-46%) rotate(-2deg);filter:drop-shadow(0 36px 38px rgba(0,0,0,.50))}
.v47-booster-body{display:block;position:relative;width:100%;height:100%;isolation:isolate;perspective:800px}
.v47-booster-foil{position:absolute;inset:1% 0 0;border-radius:11px 11px 17px 17px;overflow:hidden;
  background:linear-gradient(117deg,#1b2e48 4%,#556391 12%,#202b52 28%,#343061 46%,#58708c 62%,#182940 80%,#18213a 100%);
  border:1px solid rgba(213,233,255,.5);
  box-shadow:inset 2px 1px 0 rgba(255,255,255,.4),inset -5px 0 16px #0006,
    0 18px 40px #0005;
}
.v47-booster-foil::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(130deg,transparent 5%,rgba(255,255,255,.22) 23%,transparent 33%,rgba(146,214,248,.22) 57%,transparent 70%),
    repeating-linear-gradient(118deg,transparent 0 13px,rgba(255,255,255,.045) 14px 15px,transparent 16px 29px);
  pointer-events:none;
}
.v47-booster-foil::after{content:'';position:absolute;inset:12px;border:1px solid rgba(203,218,255,.19);border-radius:9px;pointer-events:none}
.v47-booster-top{
  position:absolute;z-index:7;left:-1%;top:-3%;width:102%;height:19%;box-sizing:border-box;
  display:flex;justify-content:space-between;align-items:flex-start;padding:12px 10px;
  color:#e8edff;font:700 8px/1.3 ui-monospace,monospace;letter-spacing:.15em;
  border:1px solid rgba(255,255,255,.55);border-bottom:0;
  background:linear-gradient(110deg,#758bb1,#2a2d57 31%,#8f8cc0 55%,#293e68 84%,#8da6c4);
  clip-path:polygon(0 0,100% 0,100% 78%,97% 84%,94% 77%,90% 88%,86% 79%,82% 89%,78% 78%,74% 87%,70% 77%,66% 87%,62% 78%,58% 90%,54% 77%,50% 89%,46% 78%,42% 87%,38% 78%,34% 88%,30% 78%,26% 90%,22% 79%,18% 88%,14% 77%,10% 89%,6% 78%,2% 87%,0 83%);
  transform-origin:0 8%;
}
.v47-tear-icon{font-size:12px;line-height:1;color:#c3d5f9}
.v47-booster-inner{
  position:absolute;z-index:4;inset:18% 7% 11%;display:flex;align-items:center;
  flex-direction:column;text-align:center;justify-content:space-between;gap:10px;
}
.v47-pack-edition{width:100%;display:flex;justify-content:space-between;gap:6px;font:650 9px/1.4 ui-monospace,monospace;letter-spacing:.13em;color:#e7edff}
.v47-pack-edition span{opacity:.72}
.v47-pack-mark{position:relative;display:grid;place-items:center;width:113px;height:113px;flex:0 0 auto;border:1px solid rgba(223,236,255,.65);border-radius:50%;background:radial-gradient(circle,#819cdb60 0%,#21314a58 55%,transparent 60%);box-shadow:0 0 0 8px rgba(194,220,255,.09),0 0 30px rgba(208,227,255,.28)}
.v47-pack-mark>span{font-size:60px;line-height:1;font-weight:200;text-shadow:0 0 33px #dbecff75}
.v47-pack-mark>i{position:absolute;border:1px dashed #dce8ff7a;border-radius:50%;inset:-10px;transform:rotate(13deg)}
.v47-pack-mark>i:nth-child(3){inset:19px;border-style:solid;opacity:.36}
.v47-booster-inner>strong{display:block;max-width:100%;font:750 clamp(22px,2.5vw,30px)/.95 system-ui,sans-serif;letter-spacing:-.065em;text-shadow:0 4px 15px #060e1caa}
.v47-pack-sub{font:650 9px/1.4 ui-monospace,monospace;letter-spacing:.08em;color:#d0dced}
.v47-pack-prompt{display:block;border:1px solid rgba(235,248,255,.55);border-radius:50px;padding:10px 13px;background:rgba(255,255,255,.12);backdrop-filter:blur(6px);font:750 10px/1.2 ui-monospace,monospace;letter-spacing:.06em;width:fit-content;transition:background .25s}
.v47-booster:not(:disabled):hover .v47-pack-prompt{background:rgba(255,255,255,.28)}
.v47-booster-bottom{position:absolute;z-index:5;bottom:1%;left:0;right:0;height:12px;background:repeating-linear-gradient(90deg,#8ca1bd 0 5px,#314264 6px 12px);opacity:.64;clip-path:polygon(0 10%,100% 10%,100% 90%,0 90%)}
.v47-tearing .v47-booster{pointer-events:none}
.v47-tearing .v47-booster-top{animation:v47-rip .6s cubic-bezier(.18,.7,.2,1) both}
.v47-tearing .v47-booster-foil,.v47-tearing .v47-booster-inner,.v47-tearing .v47-booster-bottom{animation:v47-collapse .92s cubic-bezier(.22,.7,.2,1) both}
@keyframes v47-rip{
  0%{transform:translate3d(0,0,0) rotate(0deg);opacity:1}
  42%{transform:translate3d(-6px,-31px,0) rotate(-12deg);opacity:1}
  100%{transform:translate3d(-72px,-130px,0) rotate(-28deg);opacity:0}
}
@keyframes v47-collapse{
  0%,37%{transform:translateY(0) scale(1);opacity:1}
  100%{transform:translateY(83px) scale(.84);opacity:0}
}
.v47-dealt-card{
  position:fixed;z-index:99999;box-sizing:border-box;pointer-events:none;overflow:hidden;
  border-radius:20px;border:1px solid color-mix(in srgb,var(--accent) 35%,transparent);
  background:var(--surface);color:var(--fg);box-shadow:0 28px 90px rgba(0,0,0,.55);
  transform-origin:center center;will-change:transform,opacity;
}
.v47-dealt-card .v46-card-face{width:100%;height:100%;min-height:100%;background:var(--surface)}
@media(max-width:900px){
  .v47-booster{top:218px;transform:translate(-50%,-30%);width:clamp(210px,56vw,260px);height:clamp(285px,77vw,336px)}
  .v47-booster:not(:disabled):hover{transform:translate(-50%,-33%) rotate(-2deg)}
  .v47-pack-mark{width:103px;height:103px}
  .v47-booster-inner>strong{font-size:26px}
}
@media(max-width:390px){.v47-booster{top:200px;width:214px;height:282px}.v47-pack-mark{width:92px;height:92px}.v47-pack-mark>span{font-size:48px}}
@media(prefers-reduced-motion:reduce){.v47-booster,.v47-booster-top,.v47-booster-foil,.v47-booster-inner,.v47-booster-bottom{animation:none!important;transition:none!important}}
@media(max-width:390px){
 .v47-booster-inner{gap:5px;inset:18% 6% 11%}
 .v47-pack-mark{width:78px;height:78px}
 .v47-pack-mark>span{font-size:43px}
 .v47-booster-inner>strong{font-size:23px}
 .v47-pack-sub{font-size:8px;line-height:1.25}
 .v47-pack-prompt{padding:8px 10px;font-size:9px}
}



/* === v48.css === */
/* V48 · Trading-card sized originals, matching foil envelope, clean return,
   authentic uncropped landscape judo photographs. */
.project-scene .scene-heading{align-items:center}
.project-scene .section-subtitle{font-size:clamp(12px,1.07vw,14px);max-width:300px;line-height:1.55}
.project-scene .v46-projects{
  --v48-card-width:clamp(220px,21vw,254px);
  --v48-card-height:calc(var(--v48-card-width) * 1.40);
  width:min(790px,100%);min-height:calc(var(--v48-card-height) + 48px);
  margin:clamp(10px,2.3vh,28px) auto 0;
  overflow:visible;
}
.project-scene .v46-card-grid{
  display:grid;grid-template-columns:repeat(2,var(--v48-card-width));
  align-items:start;justify-content:center;column-gap:clamp(24px,4.8vw,72px);
  row-gap:22px;padding:17px 0 18px;
}
.project-scene .v46-card{
  width:var(--v48-card-width);height:var(--v48-card-height);
  min-height:var(--v48-card-height);max-height:var(--v48-card-height);
  border-radius:16px;flex:none;
}
.project-scene .v46-card .v46-card-face{padding:18px;gap:14px}
.project-scene .v46-card-main{margin:4px 0 0;gap:12px}
.project-scene .v46-card-main strong{font-size:clamp(27px,2.25vw,33px)}
.project-scene .v46-card-desc{font-size:12px;line-height:1.55}
.project-scene .v46-card-tags{gap:5px}
.project-scene .v46-card-tags>span{font-size:9px;padding:5px 7px}
.project-scene .v46-card-foot{font-size:9px;padding-top:10px}
.project-scene .v46-card-arrow{height:27px;width:27px}
.project-scene .v47-booster{
  width:var(--v48-card-width);height:var(--v48-card-height);
  top:17px;left:50%;transform:translateX(-50%);
}
.project-scene .v47-booster:not(:disabled):hover{transform:translateX(-50%) translateY(-7px) rotate(-1.5deg)}
.project-scene .v47-booster-inner>strong{font-size:clamp(22px,2.2vw,28px)}
.project-scene .v47-pack-mark{width:104px;height:104px}
.v46-project-dialog .v46-flip-shell,
.v46-project-dialog[data-state='open'] .v46-flip-shell,
.v46-project-dialog[data-state='closing'] .v46-flip-shell{transition:none!important}
.project-scene .v46-card.is-launching{visibility:hidden!important}
.project-scene .v46-card.v48-just-landed,
.project-scene .v46-card.v48-just-landed:hover{transform:none!important;transition:none!important}
/* Judo photo cards are landscape to respect each original 3:2 photograph. */
.beyond-scene .beyond-lead{font-size:clamp(17px,1.55vw,23px)!important;line-height:1.3!important;letter-spacing:-.035em;max-width:430px}
.beyond-scene .beyond-paragraph{font-size:clamp(14px,1.08vw,17px);line-height:1.65;max-width:550px}
.beyond-scene .judo-artboard{max-width:680px}
.beyond-scene .photo-tile.v48-judo-photo{
  width:clamp(215px,19vw,312px);height:auto;aspect-ratio:1.5;
  padding:0!important;border-radius:11px;box-sizing:border-box;
  background:#111b28;overflow:hidden;
}
.beyond-scene .photo-tile.v48-judo-photo>img{
  display:block;width:100%;height:100%;position:absolute;inset:0;
  object-fit:contain;object-position:center;filter:none;
}
.beyond-scene .photo-tile.v48-judo-photo .photo-bottom{
  position:absolute;bottom:0;left:0;right:0;min-height:44px;
  box-sizing:border-box;margin:0;padding:14px 14px 8px;
  font-size:10px;line-height:1.25;letter-spacing:.11em;
  background:linear-gradient(0deg,rgba(6,11,20,.88),rgba(6,11,20,0));
  color:#fff;
}
.beyond-scene .photo-tile.v48-judo-photo .photo-bottom span{font-size:18px}
.beyond-scene .photo-tile.v48-judo-photo[data-photo='0']{--rest-x:-117%;--rest-y:-110%;--rest-r:-12deg}
.beyond-scene .photo-tile.v48-judo-photo[data-photo='1']{--rest-x:13%;--rest-y:-115%;--rest-r:12deg}
.beyond-scene .photo-tile.v48-judo-photo[data-photo='2']{--rest-x:38%;--rest-y:-10%;--rest-r:9deg}
.beyond-scene .photo-tile.v48-judo-photo[data-photo='3']{--rest-x:-133%;--rest-y:-3%;--rest-r:-11deg}
.beyond-scene .photo-tile.v48-judo-photo[data-photo='4']{--rest-x:-42%;--rest-y:-3%;--rest-r:4deg}
.beyond-scene .photo-tile.v48-judo-photo.is-picked{transform:translate(-50%,-52%) rotate(-2deg) scale(1.09)}
@media(max-width:900px){
  .project-scene .v46-projects{--v48-card-width:min(67vw,244px)}
  .project-scene .v46-card-grid{grid-template-columns:var(--v48-card-width);gap:20px;padding-top:12px}
  .project-scene .v46-card{min-height:var(--v48-card-height)!important;height:var(--v48-card-height)!important}
  .project-scene .v46-card .v46-card-face{padding:19px}
  .project-scene .v47-booster{top:12px;transform:translateX(-50%);width:var(--v48-card-width);height:var(--v48-card-height)}
  .project-scene .v47-booster:not(:disabled):hover{transform:translateX(-50%) translateY(-6px)}
  .beyond-scene .beyond-lead{font-size:clamp(18px,4.6vw,23px)!important;margin-bottom:16px!important}
  .beyond-scene .beyond-paragraph{font-size:14px!important;line-height:1.63!important}
  .beyond-scene .judo-artboard{height:clamp(310px,78vw,470px)!important;min-height:300px!important;margin:8px auto 0!important}
  .beyond-scene .photo-tile.v48-judo-photo{
    width:clamp(175px,50vw,280px)!important;height:auto!important;
    aspect-ratio:1.5;touch-action:manipulation;
  }
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='0']{--rest-x:-113%;--rest-y:-104%;--rest-r:-13deg}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='1']{--rest-x:4%;--rest-y:-111%;--rest-r:11deg}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='2']{--rest-x:21%;--rest-y:-18%;--rest-r:13deg}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='3']{--rest-x:-121%;--rest-y:-18%;--rest-r:-10deg}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='4']{--rest-x:-44%;--rest-y:-11%;--rest-r:3deg}
}
@media(max-width:440px){
  .project-scene .v46-projects{--v48-card-width:min(70vw,235px)}
  .project-scene .v46-card-main strong{font-size:29px}
  .project-scene .v46-card-desc{font-size:11px}
  .project-scene .v47-pack-mark{width:85px;height:85px}
  .project-scene .v47-booster-inner>strong{font-size:23px}
  .beyond-scene .judo-artboard{height:295px!important;min-height:295px!important}
  .beyond-scene .photo-tile.v48-judo-photo{width:min(55vw,215px)!important}
}
@media(prefers-reduced-motion:reduce){
  .beyond-scene .photo-tile.v48-judo-photo{transition:none!important}
}
/* Keep the layered gallery in its own column rather than over the text. */
@media(min-width:901px){
  .beyond-scene .judo-artboard{left:clamp(35px,5vw,82px)}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='0']{--rest-x:-102%}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='1']{--rest-x:0%}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='2']{--rest-x:-4%}
  .beyond-scene .photo-tile.v48-judo-photo[data-photo='3']{--rest-x:-105%}
}



/* === v49.css === */
/* V49 — portrait, editorial copy and an authentic Morishé homepage preview. */
.about-scene .about-lead,
.beyond-scene .beyond-lead{
  font-size:clamp(17px,1.55vw,23px)!important;
  line-height:1.3!important;
  letter-spacing:-.035em;
}
.about-scene .about-paragraph{max-width:590px;line-height:1.7;}
.about-scene .portrait-holder.v49-photo-holder{background:#14191b;border-radius:12px;overflow:hidden;box-shadow:0 30px 70px #0007}
.about-scene .portrait-holder.v49-photo-holder:before,
.about-scene .portrait-holder.v49-photo-holder:after{display:none!important}
.about-scene .v49-photo-holder img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 52%;filter:none;}
.about-scene .portrait-annotation{background:rgba(7,12,20,.74);color:#eef5ff;border-radius:5px;padding:7px 9px;bottom:13px;backdrop-filter:blur(6px);left:12px;right:12px;}
/* The real rendered homepage is shown without synthetic branding or overlays. */
.v46-project-dialog .v46-browser-screen.v49-real-preview{height:clamp(250px,38vh,340px);background:#f8f4ed;}
.v46-project-dialog .v49-real-preview img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;filter:none;transform:none;}
.v46-project-dialog .v49-real-preview:after{display:none!important;}
/* Pixel-stable return: a native-sized clone sits inside the scaled floating shell.
   At scale(x,y) it has the same final dimensions as the source card. */
.v46-flip-front.project-scene{pointer-events:none;}
.v46-flip-front.project-scene .v49-native-card{
  box-sizing:border-box;flex:none;display:block;position:relative;
  transform-origin:center center;
  transform:scale(var(--v49-inverse-x,1),var(--v49-inverse-y,1))!important;
  transition:none!important;
  cursor:default;
  border-radius:16px!important;
  background:color-mix(in srgb,var(--surface) 86%,transparent);
  box-shadow:none;
  pointer-events:none;
}
.v46-flip-front.project-scene .v49-native-card .v46-card-face{
  width:100%;height:100%;min-height:100%;max-height:none;
  box-sizing:border-box;
  padding:18px!important;gap:14px!important;
  background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--accent) 6%,transparent),transparent 52%)!important;
}
.v46-flip-front.project-scene .v49-native-card .v46-card-main{margin:4px 0 0;gap:12px;}
.v46-flip-front.project-scene .v49-native-card .v46-card-main strong{font-size:clamp(27px,2.25vw,33px)!important;}
.v46-flip-front.project-scene .v49-native-card .v46-card-desc{
  max-width:345px!important;font-size:12px!important;line-height:1.55!important;
}
.v46-flip-front.project-scene .v49-native-card .v46-card-tags{gap:5px;}
.v46-flip-front.project-scene .v49-native-card .v46-card-tags>span{font-size:9px;padding:5px 7px;}
.v46-flip-front.project-scene .v49-native-card .v46-card-foot{font-size:9px;padding-top:10px;}
.v46-flip-front.project-scene .v49-native-card .v46-card-arrow{height:27px;width:27px;}
/* Prevent accidental hover/touch variations on the copied face. */
.v46-flip-front.project-scene .v49-native-card:hover{transform:scale(var(--v49-inverse-x,1),var(--v49-inverse-y,1))!important;}
@media(max-width:900px){
  .about-scene .about-lead,.beyond-scene .beyond-lead{font-size:clamp(18px,4.6vw,23px)!important;margin-bottom:16px!important;}
  .about-scene .about-paragraph{font-size:14px!important;line-height:1.65!important;}
  .about-scene .portrait-area{height:clamp(250px,74vw,385px)!important;min-height:250px!important;width:min(100%,430px)!important;margin:24px auto 0!important;}
  .about-scene .portrait-graphic{height:100%!important;width:clamp(190px,53vw,285px)!important;}
  .about-scene .portrait-holder{width:100%;height:100%;}
  .v46-flip-front.project-scene .v49-native-card .v46-card-face{padding:19px!important;}
}
@media(max-width:440px){
  .about-scene .portrait-area{height:clamp(260px,83vw,330px)!important;margin-top:18px!important;}
  .about-scene .portrait-graphic{width:min(62vw,240px)!important;}
  .v46-project-dialog .v46-browser-screen.v49-real-preview{height:clamp(190px,33vh,270px);}
  .v46-flip-front.project-scene .v49-native-card .v46-card-main strong{font-size:29px!important;}
  .v46-flip-front.project-scene .v49-native-card .v46-card-desc{font-size:11px!important;}
}



/* === v50.css === */
/* V50 — Perfect native-sized card handoffs, clean photographs and résumé. */
.about-scene .portrait-star,
.about-scene .portrait-annotation,
.beyond-scene .v48-judo-photo .photo-bottom{display:none!important}
.about-scene .v50-cv-download{display:inline-flex;text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--accent) 35%,transparent);padding-bottom:8px;color:var(--fg);transition:color .2s,border-color .2s}
.about-scene .v50-cv-download:hover,.about-scene .v50-cv-download:focus-visible{color:var(--accent);border-color:var(--accent)}
.about-scene .v50-cv-download:focus-visible{outline:2px solid var(--accent);outline-offset:6px}
.beyond-scene .v48-judo-photo>img{object-fit:contain!important;object-position:center!important}
/* Flight copies retain the exact CSS scope and dimensions of the resting card.
   Never change the font-size, padding, or box sizing during a landing. */
.v50-pack-ghost,.v50-flight-layer{
  position:fixed;z-index:999999;box-sizing:border-box;pointer-events:none;
  transform-origin:center center;will-change:transform;
  perspective:1500px;
}
.v50-pack-ghost .v46-card,.v50-flight-layer .v46-card{
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  min-width:100%!important;min-height:100%!important;
  max-width:100%!important;max-height:100%!important;
  margin:0!important;transform:none!important;transition:none!important;
  box-shadow:0 24px 65px rgba(0,0,0,.34)!important;
  box-sizing:border-box;pointer-events:none!important;
}
.v50-pack-ghost .v46-card .v46-card-face,
.v50-flight-layer .v46-card .v46-card-face{
  height:100%!important;min-height:100%!important;max-height:100%!important;
}
.v46-project-dialog .v50-flight-layer{z-index:50}
.project-scene .v47-unpacked .v46-card-grid,
.project-scene .v50-handoff .v46-card-grid{
  transition:none!important;opacity:1!important;visibility:visible!important;
}
.v46-project-dialog .v46-flip-front .v50-modal-face{
  box-sizing:border-box;flex:none;width:var(--v50-card-width)!important;height:var(--v50-card-height)!important;
  min-width:var(--v50-card-width)!important;min-height:var(--v50-card-height)!important;
  max-width:var(--v50-card-width)!important;max-height:var(--v50-card-height)!important;
  transform:none!important;transition:none!important;pointer-events:none!important;
  border-radius:16px;
}
.v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-face{padding:18px;min-height:100%;height:100%;}
/* Keep the front centered at its native layout size instead of allowing text
   to wrap at the transformed dialog width. The close flight uses another clone. */
@media(max-width:900px){
  .v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-face{padding:19px}
}
@media(prefers-reduced-motion:reduce){
  .v50-pack-ghost,.v50-flight-layer{will-change:auto}
}
/* Keyboard focus can draw its ring, but must not shift a newly dealt card. */
.project-scene .v47-unpacked .v46-card:focus-visible{transform:none!important}



/* === v51.css === */
/* V51 · Project chapter and resume controls */
.project-scene .section-subtitle{
  font-size:clamp(17px,1.55vw,23px)!important;
  line-height:1.3!important;
  letter-spacing:-.035em;
  max-width:410px!important;
}
.v51-cv-actions{display:flex;gap:clamp(14px,2vw,28px);align-items:center;flex-wrap:wrap;margin-top:18px}
.about-scene .v51-cv-actions .cv-placeholder{margin:0!important;display:inline-flex;align-items:center;gap:9px;white-space:nowrap;font-size:clamp(11px,1vw,13px)!important}
.v51-project-overview{margin:18px 0 24px;max-width:570px;color:var(--muted);font-size:clamp(14px,1.2vw,16px);line-height:1.65;letter-spacing:-.01em}
.v46-project-dialog .v46-browser-screen.v49-real-preview{border-radius:0}
.v46-project-dialog .v46-detail-stack{border-top:1px solid var(--thin)}
/* Judo: the former lower-left frame (04) takes centre.
   Former centre (05) moves to lower-right, former lower-right (03) moves left. */
.beyond-scene .photo-tile.v48-judo-photo[data-photo='2']{--rest-x:-133%;--rest-y:-3%;--rest-r:-11deg}
.beyond-scene .photo-tile.v48-judo-photo[data-photo='3']{--rest-x:-43%;--rest-y:-17%;--rest-r:4deg}
.beyond-scene .photo-tile.v48-judo-photo[data-photo='4']{--rest-x:38%;--rest-y:-10%;--rest-r:9deg}
.beyond-scene .photo-tile.v48-judo-photo.is-picked{transform:translate(-50%,-52%) rotate(-2deg) scale(1.09)}
@media(min-width:901px){
 .beyond-scene .photo-tile.v48-judo-photo[data-photo='2']{--rest-x:-105%}
 .beyond-scene .photo-tile.v48-judo-photo[data-photo='3']{--rest-x:-43%}
 .beyond-scene .photo-tile.v48-judo-photo[data-photo='4']{--rest-x:-4%}
}
@media(max-width:900px){
 .project-scene .section-subtitle{font-size:clamp(18px,4.6vw,23px)!important;line-height:1.3!important;margin-top:14px!important}
 .beyond-scene .photo-tile.v48-judo-photo[data-photo='2']{--rest-x:-121%;--rest-y:-18%;--rest-r:-10deg}
 .beyond-scene .photo-tile.v48-judo-photo[data-photo='3']{--rest-x:-44%;--rest-y:-11%;--rest-r:3deg}
 .beyond-scene .photo-tile.v48-judo-photo[data-photo='4']{--rest-x:21%;--rest-y:-18%;--rest-r:13deg}
}

/* During landing a fixed-position ghost must use viewport coordinates.
   The dialog's 3D perspective otherwise creates an unexpected containing block. */
.v46-project-dialog[data-state="landing"]{perspective:none!important}
.v46-project-dialog[data-state="landing"] .v51-flight-layer{position:fixed!important;transform-origin:center center!important;contain:layout style;}
.v46-project-dialog[data-state="landing"] .v46-flip-shell{visibility:hidden!important}



/* === v52.css === */
/* V52 · Editorial subtitle, clean collectible design, on-page CV viewer */
.project-scene .scene-heading{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:0!important;
}
.project-scene .scene-heading .section-subtitle{
  font-size:clamp(17px,1.55vw,23px)!important;
  line-height:1.3!important;letter-spacing:-.035em!important;
  font-weight:560!important;max-width:620px!important;
  margin:0 0 17px!important;text-align:left!important;
}
.v47-pack-edition{justify-content:center;text-align:center}
.v47-pack-mark img{width:69px;height:69px;object-fit:contain;display:block;filter:brightness(0) invert(1) drop-shadow(0 0 10px rgba(240,246,255,.25))}
.v47-pack-sub{font-size:10px;letter-spacing:.17em}
/* Simplify the front without leaving an empty status strip. */
.project-scene .v46-card .v46-card-face{justify-content:space-between}
.project-scene .v46-card .v46-card-main{margin-top:auto}
.project-scene .v46-card .v46-card-foot{margin-top:0}
.v46-project-dialog .v46-detail-heading h2{margin-top:0}
/* CV display as a real, accessible, centered, in-page document card. */
.about-scene .v52-cv-open{background:transparent;border:0;border-bottom:1px solid color-mix(in srgb,var(--accent) 35%,transparent);padding:0 0 8px;cursor:pointer;font-family:inherit}
.v52-cv-dialog{position:fixed;inset:0;margin:auto;padding:0;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);border-radius:24px;
  width:min(960px,calc(100vw - 32px));height:min(92dvh,880px);max-width:none;max-height:none;overflow:hidden;
  color:var(--fg);background:var(--bg);box-shadow:0 35px 135px rgba(0,0,0,.68)}
.v52-cv-dialog::backdrop{background:rgba(3,7,14,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.v52-cv-dialog[open]{animation:v52-cv-enter .35s cubic-bezier(.2,.8,.2,1) both}
@keyframes v52-cv-enter{from{opacity:0;transform:translateY(22px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
.v52-cv-shell{height:100%;min-height:0;display:flex;flex-direction:column;background:radial-gradient(circle at 15% 0%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 45%),var(--bg)}
.v52-cv-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px clamp(20px,3vw,36px);border-bottom:1px solid var(--thin);flex-shrink:0}
.v52-cv-header-text>span{font:650 10px/1.3 ui-monospace,monospace;letter-spacing:.15em;color:var(--accent)}
.v52-cv-header-text h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.055em;line-height:1.08;margin:6px 0 0}
.v52-cv-close{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;border:1px solid var(--thin);background:var(--surface);color:var(--fg);cursor:pointer}
.v52-cv-close:hover{background:color-mix(in srgb,var(--accent) 13%,var(--surface))}
.v52-cv-close:focus-visible,.v52-cv-footer a:focus-visible,.about-scene .v52-cv-open:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.v52-cv-frame-wrap{min-height:0;flex:1;display:flex;flex-direction:column;gap:7px;padding:clamp(11px,2vw,22px) clamp(12px,2.6vw,28px) 0}
.v52-cv-frame{width:100%;min-height:0;flex:1;border:1px solid var(--thin);border-radius:12px;background:#e8e9eb;color:#15171b}
.v52-cv-fallback{font-size:11px;color:var(--muted);text-align:center;margin:5px 0 0;line-height:1.45}
.v52-cv-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px clamp(14px,3vw,36px) 20px;flex-wrap:wrap;flex-shrink:0}
.v52-cv-footer a{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:650;text-decoration:none;color:var(--fg);padding:12px 14px;border-radius:100px;border:1px solid var(--thin)}
.v52-cv-footer a:hover{border-color:var(--accent)}
.v52-cv-footer .v52-cv-download{background:var(--fg);color:var(--bg);border-color:transparent}
@media(max-width:900px){
 .project-scene .scene-heading .section-subtitle{font-size:clamp(18px,4.6vw,23px)!important;line-height:1.3!important;margin:0 0 16px!important}
 .v47-pack-mark img{width:62px;height:62px}
 .v52-cv-dialog{width:calc(100vw - 16px);height:min(94dvh,850px);border-radius:17px}
 .v52-cv-header{padding:13px 17px}
 .v52-cv-close{height:39px;width:39px}
 .v52-cv-frame-wrap{padding:10px 9px 0}
 .v52-cv-footer{padding:12px;gap:9px}
 .v52-cv-footer a{font-size:11px;padding:10px 11px}
}
@media(prefers-reduced-motion:reduce){.v52-cv-dialog[open]{animation:none}}



/* === v53.css === */
/* V53 – consistent subtitles, native card faces, uninterrupted motion. */
.project-scene .scene-heading .v53-project-lead{
  color:var(--fg)!important;
  font-size:clamp(17px,1.55vw,23px)!important;
  line-height:1.3!important;
  letter-spacing:-.035em!important;
  font-weight:560!important;
  max-width:620px!important;
  margin:0 0 17px!important;
  text-align:left!important;
}
.project-scene .scene-heading .section-motion-title{margin-bottom:clamp(17px,2vw,26px)!important}
.project-scene .v46-card .v46-card-face{justify-content:flex-start!important}
.project-scene .v46-card .v46-card-main{margin:0 0 auto!important;gap:12px}
.project-scene .v46-card .v46-card-main strong{max-width:calc(100% - 30px)}
.project-scene .v46-card .v46-card-tags{margin-top:auto}
.project-scene .v46-card .v46-card-face::before{display:none!important}
.project-scene .v46-card .v53-card-seal{position:absolute;right:17px;top:17px;width:48px;height:48px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);border-radius:50%;pointer-events:none}
.project-scene .v46-card .v53-card-seal img{width:25px;height:25px;display:block;object-fit:contain;filter:brightness(0) invert(1)}
.project-scene .v46-card.v53-stable,.project-scene .v46-card.v53-stable:hover,.project-scene .v46-card.v53-stable:focus-visible{transform:none!important;transition:none!important}
/* The native-sized face grows with the dialog, but its text NEVER reflows. */
.v46-project-dialog .v46-flip-front{overflow:visible;border:0;background:transparent;box-shadow:none}
.v46-project-dialog .v46-flip-front .v50-modal-face{
 transform:scale(var(--v53-front-scale-x,1),var(--v53-front-scale-y,1))!important;
 transform-origin:center center!important;
 flex:none!important;
 margin:0!important;
 box-shadow:none!important;
 background:var(--surface)!important;
}
.v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-face{height:100%!important}
.v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-main{margin:0 0 auto!important;gap:12px}
.v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-main strong{max-width:calc(100% - 30px)}
.v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-tags{margin-top:auto}
.v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-face::before{display:none!important}
.v46-project-dialog .v46-flip-front .v50-modal-face .v53-card-seal{position:absolute;top:17px;right:17px;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:1px solid color-mix(in srgb,var(--accent) 28%,transparent)}
.v46-project-dialog .v46-flip-front .v50-modal-face .v53-card-seal img{width:25px;height:25px;filter:brightness(0) invert(1)}
.v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-face{gap:14px!important;padding:18px!important}
.v46-project-dialog .v46-flip-shell{transition:none!important;will-change:transform}
.v46-project-dialog[data-state="opening"] .v46-flip-shell,.v46-project-dialog[data-state="closing"] .v46-flip-shell{transition:none!important}
/* The return-to-home logo flight uses precisely the same lettering timings as the intro. */
.intro-stage.is-docked.is-replay-clone.is-return-replay.is-playing .intro-mark .last-name{animation:intro-name-slide 2.4s cubic-bezier(.25,.69,.2,1) 1.02s both!important}
.intro-stage.is-docked.is-replay-clone.is-return-replay.is-playing .intro-mark .first-name{animation:intro-first-rise 2s cubic-bezier(.2,.77,.2,1) 2.12s both!important}
.intro-stage.is-docked.is-replay-clone.is-return-replay.is-playing .first-name-reveal{animation:v22-intro-name-opacity .3s ease 2.09s both!important}
/* A CV card unfolds towards the viewer instead of appearing abruptly. */
.v52-cv-dialog[open]{animation:v53-cv-unfold .62s cubic-bezier(.22,.85,.23,1) both;transform-origin:50% 8%}
.v52-cv-dialog::backdrop{animation:v53-cv-backdrop .45s ease both}
@keyframes v53-cv-unfold{
  0%{opacity:0;transform:perspective(1400px) translateY(45px) rotateX(-9deg) scale(.93)}
  65%{opacity:1;transform:perspective(1400px) translateY(-4px) rotateX(1deg) scale(1.008)}
  100%{opacity:1;transform:perspective(1400px) translateY(0) rotateX(0) scale(1)}
}
@keyframes v53-cv-backdrop{from{opacity:0}to{opacity:1}}
@media(max-width:900px){
  .project-scene .scene-heading .v53-project-lead{font-size:clamp(18px,4.6vw,23px)!important;line-height:1.3!important;margin:0 0 16px!important}
  .project-scene .scene-heading .section-motion-title{margin-bottom:16px!important}
  .project-scene .v46-card .v53-card-seal,.v46-project-dialog .v46-flip-front .v50-modal-face .v53-card-seal{width:42px;height:42px;top:15px;right:15px}
  .project-scene .v46-card .v53-card-seal img,.v46-project-dialog .v46-flip-front .v50-modal-face .v53-card-seal img{width:23px;height:23px}
  .v46-project-dialog .v46-flip-front .v50-modal-face .v46-card-face{padding:19px!important}
}
@media(prefers-reduced-motion:reduce){.v52-cv-dialog[open],.v52-cv-dialog::backdrop{animation:none!important}}



/* === v54.css === */
/* V54: card typography stays at its true playing-card size during the flip. */
.project-scene .v46-projects{width:min(940px,100%)}
@media(min-width:901px){
 .project-scene .v46-card-grid{column-gap:clamp(18px,2vw,36px)}
}
.v46-project-dialog.v54-motion{perspective:none!important;isolation:auto}
.v46-project-dialog.v54-motion .v46-flip-shell,
.v46-project-dialog.v54-motion[data-state='open'] .v46-flip-shell{
 transform:none!important;transition:none!important;transform-style:flat!important;
}
.v46-project-dialog.v54-motion .v46-flip-front{display:none!important}
.v46-project-dialog.v54-motion .v46-flip-back{
 transform:none;backface-visibility:visible;-webkit-backface-visibility:visible;
 will-change:transform,opacity;
}
.v46-project-dialog.v54-motion .v54-flight{
 position:absolute;z-index:25;pointer-events:none;transform-origin:center center;
 transform-style:preserve-3d;will-change:transform;
 perspective:1400px;
}
.v46-project-dialog.v54-motion .v54-flight .v46-card{
 display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;
 min-width:100%!important;min-height:100%!important;
 max-width:100%!important;max-height:100%!important;
 box-sizing:border-box!important;margin:0!important;
 transform:none!important;transition:none!important;
 cursor:default;pointer-events:none;
}
.v46-project-dialog.v54-motion .v54-flight .v46-card .v46-card-face{
 width:100%;height:100%;min-height:100%;max-height:100%;
}
.v46-project-dialog.v54-motion[data-state='closing'] .v46-flip-back{pointer-events:none}
.v54-ficverse-preview{background:#101019}
.v54-ficverse-frame{position:relative;height:clamp(220px,32vh,310px);overflow:hidden;background:#151b24}
.v54-ficverse-frame iframe{
 position:absolute;left:0;top:0;border:0;pointer-events:none;
 width:1280px;height:800px;transform-origin:top left;transform:scale(.52);
}
.v54-ficverse-fallback{position:absolute;inset:0;display:none;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#f7f3ec;background:#1f1d1c}
.v54-ficverse-fallback img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.25}
.v54-ficverse-fallback strong,.v54-ficverse-fallback span{position:relative;z-index:1;text-shadow:0 4px 18px #000}
.v54-ficverse-fallback strong{font-size:36px;letter-spacing:-.06em}
.v54-ficverse-fallback span{font-size:14px}
.v54-pending{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 12px}
@media(max-width:900px){
 .v54-ficverse-frame iframe{transform:scale(.35)}
}
@media(max-width:520px){
 .v54-ficverse-frame iframe{transform:scale(.26)}
}
@media(prefers-reduced-motion:reduce){.v46-project-dialog.v54-motion .v54-flight,.v46-project-dialog.v54-motion .v46-flip-back{will-change:auto}}

.v54-ficverse-frame.v54-offline .v54-ficverse-fallback{display:flex}



/* === v56.css === */
/* V56 · Keep project transitions on compositor layers: no geometry, text or
   backdrop effects change during a lift, turn, landing or pack fan-out. */
.project-scene .v46-card.is-launching,
.project-scene .v46-card.is-launching:hover{visibility:hidden!important;transform:none!important}
.project-scene .v46-card.v53-stable{will-change:auto}
.v46-project-dialog.v54-motion .v56-flight{
  transform-origin:50% 50%;
  transform-style:preserve-3d;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  contain:layout style paint;
  will-change:transform,opacity;
}
.v46-project-dialog.v54-motion .v56-flight .v46-card,
.v50-pack-ghost.v56-pack-ghost .v46-card{
  transition:none!important;
  animation:none!important;
}
.v50-pack-ghost.v56-pack-ghost{
  contain:layout style paint;
  will-change:transform,opacity;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.v46-project-dialog.v54-motion .v46-flip-back{
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  transform-origin:50% 50%;
}
/* Background blurring re-rasterized the stars and modal while the card moved.
   The dark veil gives equal contrast without frame-by-frame backdrop filtering. */
.v46-project-dialog.v54-motion::backdrop{
  background:rgba(3,7,14,.88);
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.v47-tearing .v47-booster-top{animation-duration:.56s}
.v47-tearing .v47-booster-foil,
.v47-tearing .v47-booster-inner,
.v47-tearing .v47-booster-bottom{animation-duration:.75s}
/* The real cards are revealed only when the moving copies have landed. */
.project-scene .v47-unpacked .v46-card-grid{
  transition:none!important;
}
@media(prefers-reduced-motion:reduce){
  .v46-project-dialog.v54-motion .v56-flight,
  .v50-pack-ghost.v56-pack-ghost{
    will-change:auto;
  }
}



/* === v62.css === */
/* V62 · Keep the open project dossier pixel-stable when a mouse enters.
   Classic scrollbars can otherwise consume ~15 px of the content width after
   pointer activation, making the heading, preview and description jump. */
.v46-project-dialog.v54-motion .v46-dialog-scroll {
  box-sizing:border-box;
  min-width:0;
  overflow-x:hidden!important;
  overflow-y:scroll!important;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}
/* The travel script owns the transform only during opening / closing. Once
   fully open, avoid keeping an idle GPU-transform layer on the text/images. */
.v46-project-dialog.v54-motion[data-state="open"] .v46-flip-back {
  /* Same exact pose as the final animation frame. Switching to `none`
     rerasterized text and caused a tiny position snap on completion. */
  transform:translate3d(0px,0px,0px) rotateY(0deg) scale(1)!important;
  opacity:1!important;
  will-change:transform,opacity!important;
}
/* A hovered card should not trigger any old 3D-hover rule on the modal face.
   Preserve deliberate hover affordances on the close and visit buttons. */
.v46-project-dialog.v54-motion[data-state="open"] .v46-flip-shell,
.v46-project-dialog.v54-motion[data-state="open"] .v46-flip-shell:hover {
  transform:none!important;
  transition:none!important;
}



/* === v63.css === */
/* V63 — The modal remains mounted briefly after the card has landed,
   so its dark veil can clear gradually rather than snapping away. */
.v46-project-dialog.v54-motion::backdrop {
  opacity:1;
  transition:opacity .42s cubic-bezier(.22,1,.36,1);
}
.v46-project-dialog.v54-motion[data-state="unveiling"]::backdrop {opacity:0;}
.v46-project-dialog.v54-motion[data-state="unveiling"] .v46-flip-shell,
.v46-project-dialog.v54-motion[data-state="unveiling"] .v54-flight {visibility:hidden!important;pointer-events:none!important;}
@media (prefers-reduced-motion:reduce){
  .v46-project-dialog.v54-motion::backdrop{transition:none!important;}
}



/* === v64.css === */
/* V64 · The close control must never change the modal's raster/compositing
   geometry. In V63 the whole 42px button rotated on :hover; on some browsers
   this repainted its transformed ancestor and made the dossier text and the
   browser-preview toolbar appear to shift a few pixels. Keep the fixed button
   box in place; use color rather than any hover transform. */
.v46-project-dialog.v54-motion .v46-flip-top {
  position:relative;
  isolation:isolate;
  contain:paint;
}
.v46-project-dialog.v54-motion .v46-close,
.v46-project-dialog.v54-motion .v46-close:hover,
.v46-project-dialog.v54-motion .v46-close:focus-visible,
.v46-project-dialog.v54-motion .v46-close:active {
  transform:none!important;
  translate:none!important;
  scale:1!important;
  rotate:none!important;
}
.v46-project-dialog.v54-motion .v46-close {
  flex:0 0 42px;
  box-sizing:border-box;
  transition:background-color .2s ease,border-color .2s ease!important;
}
.v46-project-dialog.v54-motion .v46-close svg,
.v46-project-dialog.v54-motion .v46-close:hover svg,
.v46-project-dialog.v54-motion .v46-close:focus-visible svg,
.v46-project-dialog.v54-motion .v46-close:active svg {
  display:block;
  transform:none!important;
  transition:none!important;
}
/* Persistent scrollbar dimensions so the 1px/10px browser bar and headings
   never reflow when the cursor moves between the scroll area and close. */
.v46-project-dialog.v54-motion .v46-dialog-scroll {
  width:100%;
  box-sizing:border-box;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
}
.v46-project-dialog.v54-motion .v46-dialog-scroll::-webkit-scrollbar {
  width:12px;
}
.v46-project-dialog.v54-motion .v46-dialog-scroll::-webkit-scrollbar-track {
  background:transparent;
}
.v46-project-dialog.v54-motion .v46-dialog-scroll::-webkit-scrollbar-thumb {
  background:color-mix(in srgb,var(--accent) 28%,transparent);
  border:3px solid transparent;
  background-clip:padding-box;
  border-radius:999px;
}



/* ===== V65: navigation, visual fixes and native mobile scroll ===== */
/* Original branding remains in the hero/logo; the header holds direct locales. */
.shell-top{gap:14px!important}
.header-locales{display:flex;flex:0 0 auto;align-items:center;gap:7px;min-width:0}
.header-locales .locale-pill{
 display:grid;place-items:center;min-width:43px;min-height:40px;padding:0 9px;
 border-radius:14px;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);
 background:color-mix(in srgb,var(--surface) 63%,transparent);
 color:var(--muted);font-size:12px;font-weight:750;letter-spacing:.055em;
 transition:background-color .22s,border-color .22s,color .22s,transform .22s;
}
.header-locales .locale-pill.is-current,.header-locales .locale-pill[aria-current=page]{
 background:var(--accent-solid);border-color:var(--accent-solid);color:var(--bg);
 box-shadow:0 4px 18px color-mix(in srgb,var(--accent) 18%,transparent)
}
.header-locales .locale-pill:hover{transform:translateY(-2px);border-color:var(--accent)}
.header-locales .locale-pill:focus-visible,.header-social:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.header-socials{display:flex;gap:6px;align-items:center;min-width:0}
.header-social{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;
 border:1px solid color-mix(in srgb,var(--accent) 27%,transparent);
 color:var(--fg);background:color-mix(in srgb,var(--surface) 58%,transparent);
 transition:background .2s,color .2s,transform .2s,border-color .2s}
.header-social svg{display:block;width:18px;height:18px}
.header-social:hover{transform:translateY(-2px);background:var(--surface-2);border-color:var(--accent)}
/* Font-glyph emoji variants are inconsistent in Safari: draw vector arrows/stars. */
.star-glyph,.arrow-glyph{display:block;width:1em;height:1em;overflow:visible;flex:none}
.role-tick{display:inline-flex;align-items:center;font-size:20px;color:var(--accent)}
.v37-star,.path-orbit-star{display:grid;place-items:center}
.v37-star .star-glyph,.path-orbit-star .star-glyph{width:100%;height:100%}
.v37-email-arrow,.v37-core-arrow,.v46-card-arrow{display:inline-grid;place-items:center}
.v37-email-arrow .arrow-glyph,.v37-core-arrow .arrow-glyph{width:1em;height:1em}
.v46-card-arrow .arrow-glyph{height:18px;width:18px}
/* Do not cut screenshot images to forced browser-frame heights. */
.v46-project-dialog .v46-browser-screen.v49-real-preview{
 width:100%;height:auto!important;aspect-ratio:1365/860;background:#f6f0e9;
 overflow:hidden;line-height:0;
}
.v46-project-dialog .v49-real-preview img{
 position:static;display:block;width:100%;height:auto!important;
 aspect-ratio:1365/860;object-fit:contain!important;object-position:center!important;
 max-width:100%;margin:0;filter:none!important;
}
.v54-ficverse-frame{height:auto;aspect-ratio:1280/700;overflow:hidden;background:#212121}
.v54-ficverse-frame iframe{display:block;position:absolute;left:0;top:0;transform-origin:top left;border:0;pointer-events:none}
/* Deliberate chooser instead of sending users directly to Apple Mail setup. */
.mail-chooser{width:min(440px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 36px);
 margin:auto;padding:22px;color:var(--fg);background:var(--bg);border:1px solid var(--thin);
 border-radius:22px;box-shadow:0 28px 85px #0008;overflow:auto}
.mail-chooser::backdrop{background:rgba(2,7,15,.78);backdrop-filter:blur(7px)}
.mail-chooser-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--accent);
 font:700 11px ui-monospace,monospace;letter-spacing:.15em}
.mail-chooser-close{width:38px;height:38px;border:1px solid var(--thin);border-radius:50%;color:var(--fg);background:var(--surface);font-size:25px}
.mail-chooser h2{font-size:clamp(24px,6vw,34px);line-height:1.07;letter-spacing:-.06em;margin:22px 0 9px}
.mail-chooser p{color:var(--muted);font-size:13px;line-height:1.5;margin-bottom:20px}
.mail-chooser-options{display:flex;flex-direction:column;gap:9px}
.mail-provider{display:grid;grid-template-columns:40px 1fr 20px;align-items:center;gap:12px;padding:10px;
 border:1px solid var(--thin);background:var(--surface);border-radius:12px;font-size:14px;font-weight:650}
.mail-provider:hover{border-color:var(--accent);background:var(--surface-2)}
.mail-provider-mark{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;
 color:var(--accent-solid);background:color-mix(in srgb,var(--accent) 13%,transparent);font-size:19px;font-weight:750}
.mail-provider .arrow-glyph{color:var(--accent)}
.mail-copy-choice{padding:12px;border:1px solid var(--thin);background:transparent;color:var(--muted);border-radius:11px;font-size:13px}
.mail-copy-choice:hover{color:var(--fg);border-color:var(--accent)}
/* Rapid wheel navigation should never reveal outgoing portrait/photo layers. */
@media (min-width:901px){
 .about-scene .portrait-area{isolation:isolate}
 .scene.is-transition-out .portrait-area{pointer-events:none}
}
@media(max-width:900px){
 /* Let iOS scroll a pixel or a full screen natively, never snap or force a section. */
 html.v39-mobile,html.v39-mobile body,html.v39-mobile body .site-shell,
 html.v39-mobile body .scene-container{scroll-snap-type:none!important;scroll-behavior:auto!important}
 html.v39-mobile .scene{scroll-margin:0!important}
 .shell-top{gap:6px!important;padding:0 12px!important}
 .header-locales{gap:4px}
 .header-locales .locale-pill{min-width:35px;min-height:37px;padding:0 6px;font-size:11px;border-radius:11px}
 .top-actions{gap:6px!important;margin-left:auto}
 .header-socials{gap:4px}
 .header-social{width:34px;height:37px;border-radius:10px}
 .header-social svg{width:17px;height:17px}
 .shell-top .menu-trigger{min-width:38px!important;min-height:37px!important;padding:0 10px!important;border-radius:11px!important}
 /* A tidy responsive horizontal judo gallery keeps every photo inside the screen.
    No transform pushes photos beyond the viewport on the left or right. */
 .beyond-scene .judo-artboard{
  width:100%!important;max-width:100%!important;height:auto!important;
  min-height:0!important;left:auto!important;transform:none!important;
  position:relative!important;margin:25px auto 0!important;
  overflow:visible!important;touch-action:pan-y!important;
 }
 .beyond-scene .judo-ring{display:none!important}
 .beyond-scene .photo-stack{
  position:relative!important;inset:auto!important;width:100%!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px!important;align-items:start;touch-action:pan-y!important;
 }
 .beyond-scene .photo-tile.v48-judo-photo,
 .beyond-scene .photo-tile.v48-judo-photo.is-picked,
 .beyond-scene .photo-tile.v48-judo-photo:not(.is-picked){
  position:relative!important;left:auto!important;top:auto!important;
  width:100%!important;height:auto!important;min-width:0!important;
  aspect-ratio:1600/1066!important;display:block!important;
  transform:none!important;filter:none!important;box-shadow:0 10px 26px #0005;
  margin:0!important;z-index:auto!important;transition:border-color .2s,box-shadow .2s!important;
  border-radius:11px!important;touch-action:pan-y!important;
 }
 .beyond-scene .photo-tile.v48-judo-photo.is-picked{border-color:var(--accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 25%,transparent)!important}
 .beyond-scene .photo-tile.v48-judo-photo:first-child{grid-column:1 / -1}
 .beyond-scene .photo-tile.v48-judo-photo>img{position:static!important;width:100%!important;height:auto!important;aspect-ratio:1600/1066!important;object-fit:contain!important}
}
@media(max-width:380px){
 .shell-top{padding:0 9px!important}
 .header-locales .locale-pill{min-width:32px;min-height:35px;font-size:10px}
 .header-social{width:30px;height:34px}
 .header-social svg{width:16px;height:16px}
 .shell-top .menu-trigger{min-width:33px!important;padding:0 7px!important}
 .shell-top .menu-trigger > span:first-child{display:none}
}

.mail-chooser .mail-fallback-help{font-size:11px;line-height:1.5;color:var(--muted);margin:7px 2px 0}
.mail-web-options{display:flex;gap:14px;flex-wrap:wrap;padding:0 3px 7px;font-size:12px;color:var(--accent)}
.mail-web-options a{text-decoration:underline;text-underline-offset:3px}
.mail-web-options a:hover{color:var(--fg)}


/* ===== V66 · mobile: native scrolling, real language pills, floating socials ===== */
@media (max-width:900px) {
  /* A single continuous vertical document. Never animate/fade page sections
     during a finger gesture, and never position/scale them as full-screen slides. */
  html,html body,html.v39-mobile,html.v39-mobile body,
  html.v39-mobile .site-shell,html.v39-mobile .scene-container,
  html.v39-mobile main.scene-container {scroll-snap-type:none!important;scroll-behavior:auto!important;scroll-padding:0!important;overflow-anchor:auto!important;}
  html.v39-mobile body main.scene-container > .scene,
  html.v39-mobile body main.scene-container > .scene.is-active,
  html.v39-mobile.v43-dissolve body main.scene-container > .scene {
    opacity:1!important;visibility:visible!important;filter:none!important;
    transform:none!important;transition:none!important;animation:none!important;
    will-change:auto!important;scroll-snap-align:none!important;
  }
  html.v39-mobile body main.scene-container .scene :is(.scene-piece,[data-mobile-reveal],.section-motion-title,.hero-heading){
    opacity:1!important;visibility:visible!important;transform:none!important;
    filter:none!important;transition:none!important;animation:none!important;
  }
  /* Language controls: independent, comfortably tappable 3 pills. */
  .shell-top .header-locales{display:flex!important;gap:6px!important;align-items:center!important;flex:0 0 auto!important}
  .shell-top .header-locales .locale-pill{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
    flex:none!important;padding:0!important;margin:0!important;
    font:700 11px/1 system-ui,sans-serif!important;letter-spacing:0!important;
    background:var(--surface)!important;color:var(--muted)!important;
    border:1px solid var(--thin)!important;border-radius:12px!important;
    box-shadow:none!important;text-decoration:none!important;
  }
  .shell-top .header-locales .locale-pill[aria-current=page]{
    background:var(--accent-solid)!important;border-color:var(--accent-solid)!important;
    color:var(--bg)!important;box-shadow:0 3px 14px #0004!important;
  }
  /* Menu remains at the top right; social shortcuts float at the bottom right. */
  .floating-socials{position:fixed!important;top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;
    right:calc(12px + env(safe-area-inset-right,0px))!important;left:auto!important;
    z-index:83!important;display:flex!important;flex-direction:row!important;
    align-items:center!important;gap:6px!important;padding:5px!important;
    border:1px solid color-mix(in srgb,var(--accent) 24%,transparent)!important;
    background:color-mix(in srgb,var(--bg) 92%,transparent)!important;
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    border-radius:17px!important;box-shadow:0 10px 32px #0006!important;
  }
  .floating-socials .header-social{
    width:36px!important;height:36px!important;min-width:36px!important;
    display:grid!important;place-items:center!important;
    color:var(--fg)!important;background:var(--surface)!important;
    border:1px solid var(--thin)!important;border-radius:11px!important;
  }
  .floating-socials .header-social svg{width:17px!important;height:17px!important}
  /* Keep the complete judo photographs within page bounds. */
  .beyond-scene .judo-artboard{margin:25px auto 0!important;overflow:visible!important}
  .beyond-scene .photo-stack{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .beyond-scene .photo-tile.v48-judo-photo,
  .beyond-scene .photo-tile.v48-judo-photo.is-picked,
  .beyond-scene .photo-tile.v48-judo-photo:not(.is-picked){
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    display:block!important;transform:none!important;transform-origin:center!important;
    width:100%!important;max-width:100%!important;aspect-ratio:3/2!important;
    height:auto!important;margin:0!important;min-width:0!important;padding:0!important;
    overflow:hidden!important;box-sizing:border-box!important;filter:none!important;
    touch-action:pan-y!important;
  }
  .beyond-scene .photo-tile.v48-judo-photo:first-child{grid-column:span 2!important}
  .beyond-scene .photo-tile.v48-judo-photo img{display:block!important;width:100%!important;
    height:100%!important;aspect-ratio:3/2!important;object-fit:contain!important;
    position:static!important;transform:none!important}
  /* Morishé: natural 1365 × 860 image. No cover crop or shifted offset. */
  .v46-project-dialog .v46-browser-screen.v49-real-preview{
    display:block!important;height:auto!important;min-height:0!important;
    aspect-ratio:1365/860!important;overflow:hidden!important;
  }
  .v46-project-dialog .v49-real-preview img{
    display:block!important;position:static!important;inset:auto!important;
    width:100%!important;height:auto!important;max-width:100%!important;
    aspect-ratio:1365/860!important;object-fit:contain!important;
    object-position:center!important;transform:none!important;
  }
  .v54-ficverse-frame{aspect-ratio:1280/700!important;height:auto;min-height:0!important;
    background:#222!important;overflow:hidden!important}
  .v54-ficverse-frame iframe{transform-origin:top left!important}
}
@media (min-width:901px) {
  /* Desktop: socials in the top-right position formerly occupied by languages. */
  .floating-socials{position:fixed;z-index:86;top:32px;right:clamp(18px,3.4vw,64px);left:auto;
    display:flex;align-items:center;gap:7px}
}
@media(max-width:350px){
  .shell-top .header-locales .locale-pill{width:34px!important;height:36px!important;min-width:34px!important}
  .shell-top{padding-inline:8px!important}
}


/* === V67 · mobile project rail + gentle per-element reveal === */
@media (max-width:900px) {
  /* Three individual floating icons — no enclosing pill/card. */
  html.v39-mobile body .floating-socials {
    display:flex!important;position:fixed!important;
    gap:7px!important;padding:0!important;margin:0!important;
    border:0!important;border-radius:0!important;
    background:transparent!important;background-color:transparent!important;
    box-shadow:none!important;backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  html.v39-mobile body .floating-socials .header-social {
    width:36px!important;height:36px!important;min-width:36px!important;
    flex:0 0 36px!important;border-radius:11px!important;
    background:var(--surface)!important;
    box-shadow:0 5px 17px rgba(0,0,0,.27)!important;
  }

  /* Less dead space between Projects and More about me. Neither section is a slide. */
  html.v39-mobile body main.scene-container > .scene.project-scene {
    min-height:0!important;height:auto!important;
    padding-bottom:17px!important;
  }
  html.v39-mobile body main.scene-container > .scene.beyond-scene {
    min-height:0!important;height:auto!important;
    padding-top:44px!important;
  }
  html.v39-mobile .project-scene .scene-heading {margin-bottom:0!important;}
  html.v39-mobile .project-scene .scene-heading .v53-project-lead {margin-bottom:0!important;}
  html.v39-mobile .project-scene .v46-projects {
    --v69-card-width:min(66vw,245px);
    --v69-card-height:calc(var(--v69-card-width) * 1.4);
    width:100%!important;max-width:100%!important;min-height:0!important;
    height:auto!important;margin:8px auto 0!important;
    overflow:visible!important;
  }
  html.v39-mobile .project-scene .v47-booster {display:none!important;}
  /* A native horizontal rail: both cards on the same row, no vertical scroll snap. */
  html.v39-mobile .project-scene .v46-card-grid {
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:var(--v69-card-width)!important;
    justify-content:start!important;
    align-items:stretch!important;
    gap:14px!important;
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;
    min-height:0!important;height:auto!important;
    margin:0!important;padding:12px 14px 18px 1px!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    touch-action:pan-x pan-y!important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity!important;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  html.v39-mobile .project-scene .v46-card-grid::-webkit-scrollbar {display:none;}
  html.v39-mobile .project-scene .v46-card-grid > .v46-card {
    position:relative!important;
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;
    height:var(--v69-card-height)!important;
    min-height:0!important;max-height:none!important;
    padding:0!important;margin:0!important;
    transform:none!important;
    flex:none!important;
    scroll-snap-align:start!important;
    touch-action:pan-x pan-y!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card .v46-card-face {
    box-sizing:border-box!important;
    width:100%!important;height:100%!important;min-height:0!important;
    padding:17px!important;gap:10px!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card .v46-card-main strong {
    font-size:clamp(25px,7.5vw,31px)!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card .v46-card-desc {
    font-size:11px!important;line-height:1.42!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card .v46-card-tags > span {
    font-size:9px!important;padding:4px 6px!important;
  }

  /* Content appears quietly as it enters view. The SECTION itself never fades,
     changes height, catches gestures or scrolls the document. */
  html.v39-mobile.v67-reveal-ready body main.scene-container > .scene:not(.home-scene) .v67-reveal {
    opacity:0!important;
    transition:opacity .9s cubic-bezier(.22,.7,.27,1)!important;
  }
  html.v39-mobile.v67-reveal-ready body main.scene-container > .scene:not(.home-scene) .v67-reveal.v67-shown {
    opacity:1!important;
  }
}
@media(max-width:900px) and (prefers-reduced-motion:reduce) {
  html.v39-mobile.v67-reveal-ready body main.scene-container > .scene:not(.home-scene) .v67-reveal {
    opacity:1!important;transition:none!important;
  }
}


/* === V68 · mobile envelope opens to the horizontal project cards;
          restore the layered desktop-inspired judo composition. === */
@media (max-width:900px) {
  /* Keep the pack visible and tappable until the user deliberately opens it.
     The rail is still horizontal after opening, and normal vertical scrolling
     remains entirely native. */
  html.v39-mobile .project-scene .v47-booster:not([hidden]) {
    display:block!important;
    width:var(--v69-card-width)!important;
    height:var(--v69-card-height)!important;
    top:13px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    z-index:12!important;
  }
  html.v39-mobile .project-scene .v47-booster:not([hidden]):hover,
  html.v39-mobile .project-scene .v47-booster:not([hidden]):active {
    transform:translateX(-50%)!important;
  }
  html.v39-mobile .project-scene .v47-projects:not(.v47-unpacked) {
    min-height:calc(var(--v69-card-height) + 25px)!important;
  }
  html.v39-mobile .project-scene .v47-projects:not(.v47-unpacked)::after {
    display:none!important;
  }
  html.v39-mobile .project-scene .v47-projects.v47-unpacked {
    min-height:0!important;
  }
  /* As the envelope opens, the cards reveal into the same side-swipable rail.
     Reveal observer must not leave either card transparent at the hand-off. */
  html.v39-mobile .project-scene .v47-unpacked .v46-card-grid > .v46-card {
    opacity:1!important;
  }

  /* Desktop composition, scaled/repositioned to fit a phone viewport:
     five overlapping, slightly tilted LANDSCAPE photos, not a two-column grid.
     All card bounds stay inside the viewport, including rotated corners. */
  html.v39-mobile .beyond-scene .judo-artboard {
    position:relative!important;
    width:100%!important;
    max-width:490px!important;
    height:clamp(305px,91vw,405px)!important;
    min-height:0!important;
    overflow:visible!important;
    margin:20px auto 0!important;
    transform:none!important;
    left:auto!important;
    touch-action:pan-y!important;
  }
  html.v39-mobile .beyond-scene .judo-ring {
    display:block!important;
    position:absolute!important;
    inset:9% 6%!important;
    opacity:.35!important;
    pointer-events:none!important;
  }
  html.v39-mobile .beyond-scene .photo-stack {
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    touch-action:pan-y!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo,
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo:not(.is-picked),
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo.is-picked {
    display:block!important;
    position:absolute!important;
    width:46%!important;
    max-width:215px!important;
    height:auto!important;
    aspect-ratio:3/2!important;
    margin:0!important;
    padding:0!important;
    border-radius:11px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    filter:none!important;
    box-shadow:0 12px 30px #0008!important;
    transform-origin:center center!important;
    transform:rotate(var(--v68-angle,0deg)) scale(.96)!important;
    transition:transform .38s cubic-bezier(.2,.7,.25,1),box-shadow .3s,border-color .3s!important;
    touch-action:manipulation!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo='0']{
    inset:9% auto auto 5%!important;--v68-angle:-9deg;z-index:3!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo='1']{
    inset:7% 5% auto auto!important;--v68-angle:9deg;z-index:4!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo='2']{
    inset:55% auto auto 5%!important;--v68-angle:-7deg;z-index:2!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo='3']{
    inset:58% auto auto 27%!important;--v68-angle:7deg;z-index:3!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo='4']{
    inset:53% 5% auto auto!important;--v68-angle:9deg;z-index:4!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo.is-picked,
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo].is-picked {
    inset:32% auto auto 24%!important;
    width:52%!important;
    z-index:10!important;
    transform:rotate(-2deg) scale(1.06)!important;
    box-shadow:0 19px 48px #000a!important;
    border-color:var(--accent)!important;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo > img {
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
  }
}
@media (max-width:900px) and (prefers-reduced-motion:reduce) {
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo,
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo.is-picked {
    transition:none!important;
  }
}


/* === V70 — keep the mobile trading card readable and animate judo
   using the SAME transform-based centring as the desktop gallery. === */
@media (max-width:900px) {
  /* Move the Morishé heading BELOW its own seal, rather than allowing
     the seal and the last letters of Atelier to occupy the same row. */
  html.v39-mobile .project-scene .v46-card-grid > .v46-card[data-v46-project="0"] .v46-card-main {
    padding-top:44px!important;
    box-sizing:border-box!important;
  }

  /* Previously the .is-picked rule changed inset + width immediately, while
     only transform was transitioning: on a tap photos jumped to the middle.
     Anchor every tile to ONE common centre and animate its transform only. */
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo,
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo:not(.is-picked),
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo.is-picked {
    inset:auto!important;
    left:50%!important;top:50%!important;
    right:auto!important;bottom:auto!important;
    width:46%!important;max-width:215px!important;
    height:auto!important;aspect-ratio:3/2!important;
    transform:translate(var(--v70-rest-x),var(--v70-rest-y)) rotate(var(--v68-angle,0deg)) scale(.96)!important;
    transition:transform .85s var(--ease),box-shadow .5s,border-color .3s,filter .3s!important;
    will-change:transform;
  }
  /* The older [data-photo] and .is-picked selectors set per-tile insets.
     Reset those at equal/higher specificity so the card really travels from
     its resting transform to the centre, rather than jumping via layout. */
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo],
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo].is-picked {
    inset:auto!important;
    left:50%!important;top:50%!important;
    right:auto!important;bottom:auto!important;
    width:46%!important;
  }
  /* Retain the same five overlapping desktop-inspired places. */
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo="0"]{
    --v70-rest-x:-97%;--v70-rest-y:-144%;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo="1"]{
    --v70-rest-x:-3%;--v70-rest-y:-149%;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo="2"]{
    --v70-rest-x:-97%;--v70-rest-y:18%;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo="3"]{
    --v70-rest-x:-50%;--v70-rest-y:28%;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo="4"]{
    --v70-rest-x:-3%;--v70-rest-y:11%;
  }
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo.is-picked,
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo[data-photo].is-picked {
    transform:translate(-50%,-58%) rotate(-2deg) scale(1.12)!important;
    z-index:10!important;
    box-shadow:0 19px 48px #000a!important;
    border-color:var(--accent)!important;
  }
}
@media (max-width:900px) and (prefers-reduced-motion:reduce) {
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo,
  html.v39-mobile .beyond-scene .photo-tile.v48-judo-photo.is-picked {
    transition:none!important;
  }
}


/* === V80 · Morishé mobile card: title → description → centred logo.
   All motion, layout and the desktop card remain as in V7. === */
@media (max-width:900px) {
  html.v39-mobile .project-scene .v46-card-grid > .v46-card[data-v46-project="0"] .v46-card-main {
    order:1!important;
    padding-top:0!important; /* cancel the V70 workaround that reserved the logo's old corner */
    margin:0!important;
    flex:0 0 auto!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card[data-v46-project="0"] .v46-card-main strong {
    max-width:100%!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card[data-v46-project="0"] .v53-card-seal {
    position:relative!important;
    inset:auto!important;
    order:2!important;
    align-self:center!important;
    flex:0 0 44px!important;
    margin:5px auto 0!important;
    width:44px!important;
    height:44px!important;
    box-sizing:border-box!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card[data-v46-project="0"] .v46-card-tags {
    order:3!important;
    margin-top:auto!important;
  }
  html.v39-mobile .project-scene .v46-card-grid > .v46-card[data-v46-project="0"] .v46-card-foot {
    order:4!important;
  }
}
