*{box-sizing:border-box}
:root{color-scheme:dark;--white:#f8f8f8;--muted:#a6a6a6}
html{scroll-behavior:auto;background:#000}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--white);background:#000;overflow-x:clip}
button{font:inherit;cursor:pointer;touch-action:manipulation}
button:focus-visible{outline:2px solid currentColor;outline-offset:6px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.scroll-sequence{height:360svh;position:relative}
.pinned-stage{height:100svh;position:sticky;top:0;overflow:hidden;background:#000;display:grid;grid-template-rows:auto 1fr auto;isolation:isolate}
.opening-header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:28px 4vw;gap:20px}
.brand-small{margin:0;font-weight:750;font-size:.9rem;letter-spacing:-.025em;line-height:1.1}
.brand-small span{display:block;font-size:.64rem;letter-spacing:.47em;font-weight:400;margin-top:6px}
.header-actions{display:flex;align-items:center;gap:28px}
.private-note{font-size:.75rem;color:#b4b4b4}
.skip-button{border:1px solid #646464;color:#eaeaea;background:transparent;border-radius:30px;padding:11px 19px;font-size:.875rem;min-height:44px;transition:border-color .2s,background-color .2s}
.skip-button:hover{background:#202020;border-color:#e9e9e9}
.scene-wrap{align-self:center;display:flex;justify-content:center;min-height:0;transform:translateY(7px)}
.logo-scene{position:relative;width:min(74vw,520px,calc(100svh - 240px));aspect-ratio:1;perspective:1300px;perspective-origin:50% 50%;isolation:isolate}
.paper-scene{position:absolute;inset:0;transform-style:preserve-3d;opacity:1;will-change:opacity}
.paper-canvas{display:block;width:100%;height:100%}
.still-logo,.logo-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;pointer-events:none}
.logo-video{z-index:3}
.still-logo{z-index:2}
.scroll-guide{position:relative;z-index:5;text-align:center;padding:0 24px 40px;height:180px;min-height:180px}
.stage-caption{margin:0 0 25px;font-weight:400;font-size:1rem;letter-spacing:.01em;color:#dedede}
.progress-track{width:164px;height:1px;margin:0 auto 18px;background:#333;overflow:hidden}
.progress-track span{display:block;width:100%;height:100%;background:#fff;transform:scaleX(0);transform-origin:left;will-change:transform}
.scroll-instruction{margin:0;font-size:.75rem;letter-spacing:.13em;text-transform:uppercase;color:#b6b6b6;line-height:1.5}
.scroll-mark{display:block;position:relative;width:17px;height:27px;border:1px solid #666;border-radius:10px;margin:14px auto 0}
.scroll-mark::after{content:'';width:2px;height:5px;background:#bbb;position:absolute;left:6.5px;top:6px;border-radius:1px}
.finish-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;flex-wrap:wrap}
.finish-actions[hidden],.video-play-button[hidden],.media-status[hidden]{display:none}
.finish-actions .replay-button,.video-play-button{border:1px solid #737373;border-radius:30px;padding:11px 20px;color:#e9e9e9;background:transparent;min-height:44px;font-size:.875rem}
.finish-actions .replay-button:hover,.video-play-button:hover{color:#fff;background:#252525;border-color:#fff}
.media-status{font-size:.8125rem;color:#c9c9c9;margin:12px 0 0}
.pinned-stage.finished .scroll-guide{padding-bottom:30px}
.pinned-stage.finished .scroll-mark{display:none}
.keyboard-hint{position:absolute;bottom:25px;left:4vw;margin:0;color:#929292;font-size:.75rem;z-index:6}
.noscript-note{padding:20px;margin:0;background:#fff;color:#111}
body.reduced-motion .scroll-sequence{height:100svh}
body.reduced-motion .paper-scene,body.reduced-motion .logo-video{display:none}
body.reduced-motion .still-logo{opacity:1}
body.reduced-motion .progress-track,body.reduced-motion .scroll-mark{display:none}
body.reduced-motion.manual-motion .logo-video{display:block}
@media(max-width:640px){
  .opening-header{padding:22px 22px;gap:12px}
  .brand-small{font-size:.8rem}
  .brand-small span{font-size:.58rem}
  .header-actions{gap:0}.private-note{position:absolute;top:91px;left:22px;font-size:.75rem}
  .skip-button{font-size:.8125rem;padding:10px 14px}
  .logo-scene{width:min(96vw,calc(100svh - 258px));min-width:180px}
  .scene-wrap{transform:translateY(12px)}
  .scroll-guide{padding-bottom:50px;height:190px;min-height:190px}
  .stage-caption{font-size:.9375rem;margin-bottom:22px}
  .keyboard-hint{font-size:.6875rem;bottom:18px;left:0;width:100%;text-align:center}
  .finish-actions{gap:8px}
  .finish-actions .replay-button,.video-play-button{padding:10px 12px;font-size:.8125rem}
}
@media(max-height:510px) and (min-width:641px){
  .opening-header{padding:15px 25px}
  .logo-scene{width:calc(100svh - 155px)}
  .scroll-guide{min-height:95px;padding-bottom:15px}
  .stage-caption{margin-bottom:12px;font-size:.875rem}
  .scroll-mark{display:none}.keyboard-hint{bottom:16px}
}
@media(prefers-reduced-motion:reduce){
  .scroll-sequence{height:100svh}
  .paper-scene,.logo-video{display:none}
  .still-logo{opacity:1}
  button{transition:none}
}
