.hero{isolation:isolate;min-height:670px}.hero-top,.hero-foot{position:relative;z-index:3}.hero h1{font-size:clamp(100px,12vw,180px);width:60%;text-shadow:0 2px 35px var(--bg)}.sakura-scene{position:absolute;z-index:-1;right:-7%;top:75px;width:70%;height:510px;pointer-events:none;transform:translateY(var(--tree-shift,0px));will-change:transform}.sakura-tree{height:100%;width:100%;object-fit:contain;object-position:right center;filter:drop-shadow(0 15px 38px #d58fa91c);mask-image:radial-gradient(ellipse at 55% 50%,#000 50%,transparent 76%)}.hero:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,var(--bg) 0%,transparent 55%)}.hero-bottom{margin-top:30px}.hero-bottom p{background:color-mix(in srgb,var(--bg) 75%,transparent);padding:10px 15px 10px 0}.hero-actions{position:relative;z-index:4}.petal-layer{position:fixed;inset:0;pointer-events:none;z-index:8;overflow:hidden;contain:strict}.sakura-petal{position:absolute;top:0;left:0;width:12px;height:8px;border-radius:75% 12% 75% 30%;background:linear-gradient(135deg,#fff0f4,#e7a2ba 65%,#be7897);box-shadow:inset 1px 0 1px #fff6;opacity:0;will-change:transform,opacity}.sakura-petal:nth-child(3n){width:8px;height:6px}.sakura-petal:nth-child(5n){filter:blur(.7px)}
.katana-gate{position:relative;margin:0 5.5%;height:190px;overflow:hidden;border-bottom:1px solid var(--line);isolation:isolate}.gate-caption{position:absolute;left:0;bottom:37px;display:grid;gap:5px}.gate-caption span{font:12px monospace;letter-spacing:2px;color:var(--muted)}.gate-caption strong{font:500 24px 'Space Grotesk',sans-serif;letter-spacing:-.6px}.samurai{position:absolute;height:180px;width:240px;right:7%;bottom:0;opacity:.75;color:var(--fg)}.samurai .blade-arm{transform-origin:128px 82px}.gate-cut{position:absolute;height:1px;left:0;right:0;top:58%;background:linear-gradient(90deg,transparent,#b5bdce66,#edb5cf,transparent);transform:rotate(-6deg);opacity:.4}.slash-overlay{position:fixed;inset:0;z-index:20;pointer-events:none;visibility:hidden;overflow:hidden}.slash-stroke{position:absolute;top:50%;left:-10%;height:2px;width:120%;background:linear-gradient(90deg,transparent,#dbb2d5,#fff2f7,#b1c7e6,transparent);box-shadow:0 0 12px #edb5cf80;transform:rotate(-13deg) scaleX(0)}.slash-shard{position:absolute;inset:0;background:linear-gradient(125deg,#d8b0c30e,transparent 65%);clip-path:polygon(0 35%,100% 12%,100% 100%,0 100%);opacity:0}.motion-enabled .slash-overlay.is-cutting{visibility:visible}.motion-enabled .is-cutting .slash-stroke{animation:katana-slash 750ms cubic-bezier(.17,.7,.2,1) both}.motion-enabled .is-cutting .slash-shard{animation:screen-part 800ms ease-out both}.motion-enabled .katana-gate.is-cutting .blade-arm{animation:sword-draw 650ms ease-out both}.motion-enabled .katana-gate.is-cutting .gate-cut{animation:gate-glow 900ms ease-out both}.motion-enabled .sakura-tree{animation:canopy-breeze 14s ease-in-out infinite;transform-origin:70% 90%}.scene-motion-toggle{position:absolute;right:0;bottom:70px;z-index:9;color:var(--muted);border:0;border-bottom:1px solid var(--line);background:var(--bg);font:12px monospace;padding:7px 0;cursor:pointer}.scene-motion-toggle:disabled{cursor:default}body:not(.motion-enabled) .petal-layer,body:not(.motion-enabled) .slash-overlay{display:none}body:not(.motion-enabled) .sakura-scene{transform:none!important}.light .sakura-tree{filter:drop-shadow(0 15px 30px #a36b8a18)}
@keyframes canopy-breeze{0%,100%{transform:rotate(-.35deg)}50%{transform:rotate(.35deg)}}@keyframes katana-slash{0%{transform:rotate(-13deg) scaleX(0);opacity:0}14%{opacity:1}38%{transform:rotate(-13deg) scaleX(1);opacity:.9}100%{transform:rotate(-13deg) scaleX(1.03);opacity:0}}@keyframes screen-part{0%,18%{opacity:0;transform:translateY(0)}35%{opacity:1}100%{opacity:0;transform:translateY(32px)}}@keyframes sword-draw{0%{transform:rotate(-55deg)}35%{transform:rotate(12deg)}100%{transform:rotate(0)}}@keyframes gate-glow{0%{opacity:.25;transform:rotate(-6deg) scaleX(.1)}30%{opacity:1;transform:rotate(-6deg) scaleX(1)}100%{opacity:.4;transform:rotate(-6deg)}}
@media(max-width:850px){.hero{min-height:690px}.sakura-scene{width:85%;height:420px;top:110px;right:-20%;opacity:.85}.hero h1{width:80%;font-size:clamp(100px,14vw,160px)}.hero-bottom{margin-top:15px}.scene-motion-toggle{bottom:65px}.samurai{right:0}.katana-gate{height:170px}.samurai{height:160px}.gate-caption strong{font-size:21px}}
@media(max-width:540px){.hero{min-height:735px}.hero h1{font-size:100px;width:100%;margin-bottom:195px}.sakura-scene{top:200px;right:-15%;width:105%;height:330px;opacity:.95}.hero:after{background:linear-gradient(180deg,var(--bg) 0%,transparent 30%,transparent 70%,var(--bg) 100%)}.hero-bottom{margin-top:0;gap:18px;padding-bottom:55px}.hero-bottom p{font-size:16px}.hero-foot{font-size:8px}.scene-motion-toggle{bottom:47px;font-size:10px}.katana-gate{height:160px}.samurai{right:-45px;width:200px;opacity:.55}.gate-caption{bottom:25px}.gate-caption strong{font-size:19px}.gate-caption span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.petal-layer,.slash-overlay{display:none!important}.sakura-scene{transform:none!important}}
