/* Unboxing experiment overlay. Standalone layer, removed after reveal. */
html.unbox-lock, html.unbox-lock body{overflow:hidden;height:100%;overscroll-behavior:none}

.unbox-work{font-family:"ZD Taper",serif;font-weight:400;text-align:center;color:var(--ink);
  font-size:clamp(54px,17vw,110px);letter-spacing:.1em;margin:2px 0 12px;line-height:1;
  -webkit-text-stroke:1.6px var(--ink);paint-order:stroke fill}

.unbox-overlay{position:fixed;left:0;right:0;bottom:0;z-index:60;
  touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.unbox-overlay:active{cursor:grabbing}

.unbox-cover{position:absolute;inset:0;background-color:var(--page);
  background-image:radial-gradient(#3e30280d 1px,transparent 1.4px);background-size:9px 9px;
  box-shadow:0 -6px 24px rgba(38,28,22,.12)}

.unbox-strip{position:absolute;top:0;left:0;right:0;height:74px;background:#e5dcc9;
  display:flex;align-items:center;justify-content:center}
.unbox-hint{font-family:"ZD Taper",serif;font-size:26px;color:var(--ink);
  display:inline-flex;align-items:center;gap:10px;letter-spacing:.02em}
.unbox-arrow{width:22px;height:22px;flex:0 0 auto}
.unbox-zigzag{position:absolute;left:0;right:0;top:100%;width:100%;height:12px;display:block}

.unbox-tab{position:absolute;top:14px;right:18px;width:34px;height:48px;
  border-radius:10px 10px 16px 16px;background:var(--page);
  border:1.5px dashed #b9ab97;border-bottom:none;
  animation:unbox-nudge 2.2s ease-in-out infinite}
.unbox-perf{position:absolute;left:-13px;top:6px;bottom:4px;border-left:2px dashed #b9ab97}
@keyframes unbox-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(-7px)}}

.unbox-flap{position:absolute;inset:0;display:none;pointer-events:none;
  filter:drop-shadow(0 10px 14px rgba(38,28,22,.28))}

.unbox-overlay.unbox-fall{transition:transform .8s cubic-bezier(.5,0,.85,.45),opacity .8s ease;
  transform:translateY(115vh) rotate(7deg);opacity:.92}

@media (prefers-reduced-motion:reduce){
  .unbox-tab{animation:none}
  .unbox-overlay.unbox-fall{transition:opacity .3s ease;transform:none;opacity:0}
}
