/* Stoop splash "stamp press" v3 (Jeff, Nov 23): the original press (no drip), with one of three real-ink looks (Jeff picked C, double strike)
   applied by stamp-ink.js. Opens on blank cream paper for a beat (--stp-d, Jeff Nov 23), then the stamp hits. Load AFTER v3.css. Only transform/opacity animate. */
.splash{--sp-w:min(62vw,260px);--stp-d:.45s;overflow:hidden;animation:stp-jolt .16s linear calc(var(--stp-d) + .3s) both;transition:opacity .45s cubic-bezier(.4,0,.2,1),visibility .45s}
/* Jeff (Nov 24): real paper instead of diagonal stripes: creamy off-white with fine grain, faint fibers and soft mottling. Static images, nothing animates. */
.splash{background-color:#f6efe0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .33  0 0 0 0 .22  .2 0 0 0 -.055'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .32  .14 0 0 0 -.045'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .78  0 0 0 0 .66  0 0 0 0 .47  .22 0 0 0 -.07'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),radial-gradient(ellipse at 50% 45%,rgba(255,252,244,.55),rgba(255,252,244,0) 60%),radial-gradient(ellipse at 50% 50%,rgba(120,90,50,0) 55%,rgba(120,90,50,.08) 100%);background-size:240px 240px,520px 520px,700px 700px,100% 100%,100% 100%;background-repeat:repeat,repeat,repeat,no-repeat,no-repeat}
.splash::before{content:"";position:absolute;left:50%;top:50%;width:calc(var(--sp-w) * 1.16);aspect-ratio:220/200;
  transform:translate(-50%,-50%) scale(.82);border-radius:18px;pointer-events:none;opacity:0;
  background:radial-gradient(closest-side,rgba(181,83,43,.12),rgba(181,83,43,.05) 62%,rgba(181,83,43,0) 100%);
  animation:stp-bleed .9s cubic-bezier(.2,.7,.2,1) calc(var(--stp-d) + .3s) both}
.splash::after{content:"";position:absolute;left:50%;top:calc(50% + var(--sp-w) * .47);width:calc(var(--sp-w) * .9);height:22px;
  transform:translate(-50%,-50%) scale(1.25);border-radius:50%;pointer-events:none;opacity:0;
  background:radial-gradient(closest-side,rgba(48,30,18,.22),rgba(48,30,18,0));
  animation:stp-shadow .34s cubic-bezier(.5,0,.75,0) var(--stp-d) both}
.splash .splogo{position:relative;z-index:1;transform-origin:50% 60%;will-change:transform,opacity;
  animation:stp-press .62s cubic-bezier(.55,0,.25,1) var(--stp-d) both}
/* Jeff (Nov 23): no tagline under the stamp */
.splash .sptag{display:none}
/* C · double strike: the faint second impression lands as the rubber rebounds */
.splash .stp-ghost{animation:stp-ghost .3s ease-out calc(var(--stp-d) + .38s) both}
@keyframes stp-press{
  0%  {opacity:0;transform:translateY(-34px) scale(1.22) rotate(-5deg)}
  18% {opacity:1}
  48% {transform:translateY(0) scale(.975) rotate(-1.4deg)}
  64% {transform:translateY(0) scale(1.008) rotate(-1.6deg)}
  100%{opacity:1;transform:translateY(0) scale(1) rotate(-1.5deg)}
}
@keyframes stp-shadow{0%{opacity:0}35%{opacity:1;transform:translate(-50%,-50%) scale(1.25)}100%{opacity:0;transform:translate(-50%,-50%) scale(.9)}}
@keyframes stp-bleed{0%{opacity:0;transform:translate(-50%,-50%) scale(.82)}22%{opacity:1}100%{opacity:.45;transform:translate(-50%,-50%) scale(1.05)}}
@keyframes stp-ghost{from{opacity:0}to{opacity:.3}}
@keyframes stp-tag{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes stp-jolt{0%,100%{transform:none}40%{transform:translateY(1px)}}
@media (prefers-reduced-motion:reduce){
  .splash::before,.splash::after{animation:none;opacity:0}
  .splash,.splash .splogo,.splash .sptag{animation:none}
  .splash .splogo{transform:rotate(-1.5deg)}
  .splash .stp-ghost{animation:none;opacity:.3}
}
