/* =====================================================================
   The kick: a pinned scroll scene on a black-and-white photograph.
   The ball is cut out of the photo and flies through the posts as you scroll.
   ===================================================================== */
.kick{position:relative;height:340vh;background:#07090b}
.kick-stick{position:sticky;top:0;height:100vh;min-height:560px;overflow:hidden;background:#0b0d10}
.kick-stage{position:absolute;left:0;top:0;width:2000px;height:1500px;transform-origin:0 0;will-change:transform}
.kick-stage img{position:absolute;display:block;user-select:none;-webkit-user-drag:none;max-width:none}
.kick-plate{left:0;top:0;width:2000px;height:1500px}
.kick-ball,.kick-ghost{width:590px;height:830px;left:0;top:0;transform-origin:293px 414px;will-change:transform}
.kick-ghost{opacity:0}
.kick-trail{position:absolute;left:0;top:0;width:2000px;height:1500px;overflow:visible;pointer-events:none}
.kick-lines{position:absolute;left:0;top:0;width:2000px;height:1500px;overflow:visible;pointer-events:none}
.kick-lines line{stroke:#7df0b8;stroke-width:7;stroke-linecap:round;opacity:0;transition:opacity .5s}
.kick.scored .kick-lines line{opacity:1}
.kick-shade{position:absolute;inset:0;pointer-events:none;background:
  linear-gradient(90deg,rgba(5,7,9,.78) 0,rgba(5,7,9,.35) 38%,transparent 62%),
  linear-gradient(0deg,rgba(5,7,9,.6) 0,transparent 36%),
  linear-gradient(180deg,rgba(5,7,9,.55) 0,transparent 16%)}
.kick-dim{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .6s;background:radial-gradient(ellipse 60% 45% at 50% 78%,rgba(5,7,9,.82),transparent 75%)}
.kick.scored .kick-dim{opacity:1}
.kick-copy{position:absolute;left:clamp(18px,4vw,64px);top:clamp(86px,13vh,140px);z-index:2;max-width:min(520px,80vw);transition:opacity .5s,transform .6s var(--ease)}
.kick-copy .h2{margin:0 0 14px;max-width:11ch;font-size:clamp(40px,6vw,92px)}
.kick-copy .lede{max-width:34ch}
.kick-hint{position:absolute;left:clamp(18px,4vw,64px);bottom:clamp(22px,5vh,48px);z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:12px;letter-spacing:.32em;text-transform:uppercase;color:#e9f0ec;transition:opacity .4s}
.kick-hint i{width:1px;height:40px;background:linear-gradient(#e9f0ec,transparent);animation:cue 1.8s ease-in-out infinite;transform-origin:top}
.kick-goal{position:absolute;left:50%;bottom:clamp(40px,12vh,130px);translate:-50% 0;z-index:3;text-align:center;opacity:0;transform:translateY(24px) scale(.96);transition:opacity .6s var(--ease),transform .8s var(--ease);pointer-events:none}
.kick-goal b{display:block;font:800 clamp(54px,11vw,180px)/.88 "Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.01em;color:var(--ink)}
.kick-goal em{display:block;margin-top:6px;font:italic 400 clamp(30px,4.6vw,66px)/1 "Instrument Serif",Georgia,serif;color:var(--acc)}
.kick.scored .kick-goal{opacity:1;transform:none}
.kick.scored .kick-copy{opacity:0;transform:translateY(-10px)}
.kick.narrow .kick-stage{-webkit-mask-image:linear-gradient(#0000 0,#000 5%,#000 86%,#0000 100%);mask-image:linear-gradient(#0000 0,#000 5%,#000 86%,#0000 100%)}
.kick.narrow .kick-shade{background:linear-gradient(0deg,rgba(5,7,9,.7) 0,transparent 30%)}
@media (max-width:760px){
  .kick{height:300vh}
  .kick-copy{top:auto;bottom:max(46px,6vh);right:18px}
  .kick-copy .h2{font-size:clamp(34px,10.5vw,52px);max-width:none}
  .kick-copy .lede{display:none}
  .kick-hint{left:auto;right:18px;bottom:22px}
}
@media (prefers-reduced-motion:reduce){
  .kick{height:auto}
  .kick-stick{position:relative;height:82vh}
  .kick-hint{display:none}
  .kick-goal{opacity:1;transform:none}
  .kick-goal,.kick-copy{transition:none}
}
