/* Marketing Champion · home v3 additions: the arena layer, skate passes, plays wheel, puck pile, slap shot. */

/* ---------- Layers: trophy clips (back) · carved ice · page · puck and snow (top) · header ---------- */
body { position: relative; }
.rink-lines { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; opacity: .17; }   /* painted under the ice */
.rink-lines svg { display: block; }
.trophy-bg { position: absolute; inset: 0; overflow: hidden; overflow: clip; z-index: 1; pointer-events: none; }   /* clip, not hidden: a hidden box would be its own scroll container and stop the scroll timeline below */
.trophy-bg__item { position: absolute; width: clamp(240px, 32vw, 500px); aspect-ratio: 3 / 4; opacity: .85; }
.trophy-bg__item.is-left { left: 0; } .trophy-bg__item.is-right { right: 0; }
.trophy-bg__item video { width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
/* the depth drift, run by the browser's scroll engine (smooth on iPhone): the trophy drifts slower than the page
   and is biggest as it passes the middle of the screen. clips.js adds .trophy-bg--scroll where this is supported. */
@supports (animation-timeline: view()) {
  .trophy-bg--scroll .trophy-bg__item { view-timeline: --trophy block; }
  .trophy-bg--scroll .trophy-bg__item video { animation: trophy-drift linear both; animation-timeline: --trophy; animation-range: cover; will-change: transform; }
  @keyframes trophy-drift { 0% { transform: translate3d(0, -24vh, 0) scale(.88); } 50% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(0, 24vh, 0) scale(.88); } }
}
@media (max-width: 759px) { .trophy-bg__item { width: 52vw; opacity: .55; } .trophy-bg__item.is-left { left: -8vw; } .trophy-bg__item.is-right { right: -8vw; } .ice-floor { opacity: .6; } }
.ice-floor { position: absolute; inset: 0; overflow: hidden; z-index: 2; pointer-events: none; }   /* carved ice UNDER the words (Ly, 16 Oct: on top got messy and hard to read) */
.ice-tile { position: absolute; left: 0; display: block; }
.flow, main.play, footer { position: relative; z-index: 3; }
.flow { overflow-x: clip; }   /* the soft "fresh ice" pools and spring motion never cause sideways scroll */
.ice-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2; pointer-events: none; }   /* puck and flying snow, only during a play: also under the words */
/* Readability over the ice: every line of copy carries a soft dark halo, and text blocks sit on a pool of
   "fresh ice" (a dark glow that dims the scratches behind them), so marks pass under the words, never through them. */
.flow h1, .flow h2, .flow h3, .flow p, .flow li, .flow dd, .flow dt, .flow .mono, .shot__title, footer { text-shadow: 0 0 2px rgba(11, 13, 16, .95), 0 0 14px rgba(11, 13, 16, .9), 0 0 32px rgba(11, 13, 16, .6); }
.statement, .sec-head, .finale, .see-all, .fl-head { position: relative; }
.statement::before, .sec-head::before, .finale::before, .fl-head::before { content: ""; position: absolute; inset: -6% -4%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(11, 13, 16, .78), rgba(11, 13, 16, .45) 55%, transparent 80%); }

/* the hero frame: no box, the coach and the words sit straight on the ice (the pucks clip was removed 16 Oct, Ly) */
.hero__frame { background: transparent; border: 0; }
.hero__frame::after { background: linear-gradient(20deg, rgba(11,13,16,.85) 0%, rgba(11,13,16,.4) 30%, rgba(11,13,16,0) 55%); }

/* the goal clip between pages, and the fade up from black on the next page */
.goal-clip { position: fixed; inset: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: 95; background: #0B0D10; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.goal-clip.is-on { opacity: 1; }
@keyframes arrive { to { opacity: 0; visibility: hidden; } }

/* text panels sit on a soft dark glass so the pucks and trophies can drift behind them */
.periods div { background: rgba(11, 13, 16, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- The Plays: Lusion-style wipe in ---------- */
.card { will-change: transform; transform-origin: 50% 50%; }
.card__media { clip-path: inset(0 0 0 0 round 18px); transition: clip-path 1.1s var(--ease); }
.card__media img, .card__media video { transition: transform 1.4s var(--ease), opacity .4s; }
.js .card:not(.is-in) .card__media { clip-path: inset(100% 0 0 0 round 18px); }
.js .card:not(.is-in) .card__media img, .js .card:not(.is-in) .card__media video { transform: scale(1.3); }
.js .card[data-reveal]:not(.is-in) { opacity: 1; transform: none; }          /* the wipe does the work, not a fade */
.js .card:not(.is-in) .card__tags, .js .card:not(.is-in) .card__title { opacity: 0; transform: translateY(18px); }
.card__tags, .card__title { transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s; }

/* click: the picture grows to fill the screen before the play page opens */
.fly { position: fixed; z-index: 80; border-radius: 18px; background: #000 center / cover no-repeat; transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease), border-radius .7s var(--ease); }
.fly.is-full { left: 0 !important; top: 0 !important; width: 100vw !important; height: 100vh !important; border-radius: 0; }
.is-leaving .hdr, .is-leaving .flow, .is-leaving footer { opacity: 0; transition: opacity .45s ease .1s; }

/* ---------- Puck pile ---------- */
.finale { touch-action: pan-y; }
.pile { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.finale > :not(.pile) { z-index: 1; pointer-events: none; }
.finale .ctas a { pointer-events: auto; }
.finale h2 { text-shadow: 0 6px 40px rgba(11, 13, 16, .8); }

/* ---------- Slap shot to the next page ---------- */
.shot { position: relative; z-index: 3; height: 170vh; background: linear-gradient(to bottom, transparent, rgba(21, 25, 31, .9) 30%); }
.shot__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 0 var(--pad); text-align: center; overflow: hidden; }
.shot__kicker { color: var(--muted); }
.shot__title { font-size: clamp(56px, 12vw, 180px); line-height: .9; font-weight: 600; letter-spacing: -.045em; display: flex; gap: .2em; align-items: center; transform: scale(calc(.9 + var(--power, 0) * .14)); transition: transform .15s linear; }
.shot__title span { color: var(--goal); }
.shot__meter { position: relative; width: min(460px, 86vw); height: 16px; border-radius: 999px; background: var(--boards); border: 1px solid var(--glass); overflow: visible; }
.shot__meter::before { content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.shot__fill { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 24px rgba(207, 232, 245, calc(var(--power, 0) * .6)); transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, #5fb7e3, var(--light) 55%, var(--goal)); }
.shot__label { position: absolute; left: 0; right: 0; top: calc(100% + 14px); color: var(--text); text-align: center; }
.shot__light { position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; transform: translate(-50%, -50%) scale(0); background: radial-gradient(circle, rgba(224, 16, 47, .75), rgba(224, 16, 47, .15) 35%, transparent 62%); pointer-events: none; z-index: -1; }
.shot.is-goal .shot__light { animation: goal-light .9s ease-out forwards; }
.shot.is-goal .shot__fill { background: var(--goal); }
@keyframes goal-light { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 1; } 40% { opacity: .55; } 60% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: .9; } }

@media (prefers-reduced-motion: reduce) {
  .js .card:not(.is-in) .card__media { clip-path: none; }
  .shot__title { transform: none; }
}

/* ---------- The Plays page (Lusion projects page) ---------- */
.pp-head { padding-top: calc(var(--top) + 120px); padding-bottom: clamp(30px, 6vw, 70px); display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: end; }
.pp-head h1 { margin: 0; font-size: clamp(64px, 15vw, 240px); line-height: .85; font-weight: 600; letter-spacing: -.05em; text-transform: uppercase; }
.pp-count { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--muted); }
.pp-count b { font: 600 clamp(28px, 4vw, 48px)/1 var(--mono); color: var(--score); }
.pp-count .arrow { font-size: 32px; color: var(--light); }
.pp-lede { grid-column: 1 / -1; max-width: 620px; color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.plays-page .plays { padding-top: 0; }
.grid--list { gap: 56px 24px; }
.plays-page .card__title { font-size: clamp(28px, 3.4vw, 46px); }

/* ---------- The Dressing Room (The Plays page) ----------
   The room photo sits on a 16:9 stage that always covers the screen, so the stall lights and jerseys
   (placed in % of the photo) stay on their stalls at any screen size. */
.room { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #050607; }
.room__stage { position: absolute; left: 50%; top: 50%; width: max(100vw, 177.78svh); aspect-ratio: 16 / 8.95; transform: translate(-50%, -50%); will-change: transform; }
.room__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.16) saturate(.8); animation: room-on 1.8s ease .35s forwards; }
@keyframes room-on { 60% { filter: brightness(.55) saturate(.9); } to { filter: brightness(1) saturate(1); } }
/* each stall light clicks on, left to right, with a little flicker */
.room__lights i { position: absolute; left: calc(var(--x) * 100%); top: 31%; width: 7%; height: 26%; transform: translateX(-50%); background: radial-gradient(ellipse 50% 55% at 50% 18%, rgba(255, 214, 160, .55), rgba(255, 190, 120, .12) 55%, transparent 75%); mix-blend-mode: screen; opacity: 0; pointer-events: none; animation: stall-on .5s steps(1, end) calc(.35s + var(--d) * .09s) forwards, flick .35s linear calc(.35s + var(--d) * .09s) 1; }
@keyframes stall-on { to { opacity: 1; } }
@keyframes flick { 0% { opacity: 0; } 20% { opacity: .9; } 30% { opacity: .2; } 45% { opacity: 1; } 55% { opacity: .5; } 100% { opacity: 1; } }
.room__jersey { position: absolute; left: calc(var(--x) * 100%); top: 34.5%; width: 5.6%; aspect-ratio: 240 / 319; transform: translateX(-50%); background: url(../img/rooms/jersey.png) center / contain no-repeat; filter: brightness(.9) drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); opacity: 0; animation: stall-on .6s ease calc(.6s + var(--d) * .09s) forwards; transition: transform .35s var(--ease), filter .35s; display: grid; place-items: center; }
.room__jersey span { font: 800 calc(max(100vw, 177.78svh) * .019) / 1 var(--font); color: #F2F5F7; -webkit-text-stroke: calc(max(100vw, 177.78svh) * .0012) #E0102F; letter-spacing: -.02em; margin-top: -8%; }
.room__jersey:hover, .room__jersey:focus-visible { transform: translateX(-50%) translateY(-4%) scale(1.08); filter: brightness(1.1) drop-shadow(0 14px 18px rgba(0, 0, 0, .7)); }
.room__title { position: absolute; left: 0; right: 0; top: 15%; margin: 0; text-align: center; font: 800 min(calc(max(100vw, 177.78svh) * .052), 12vw) / 1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 245, 247, .82); text-shadow: 0 0 30px rgba(255, 200, 140, .25); opacity: 0; animation: stall-on 1s ease 1.5s forwards; }
.room__props { position: absolute; z-index: 1; left: 50%; bottom: 0; width: min(1100px, 92vw); height: min(260px, 26vh); transform: translateX(-50%); pointer-events: none; will-change: transform; }
/* the gear on the floor: five separate pieces, each on its own spring (js/motion.js), so they shift and settle
   at different speeds as you scroll and move the mouse, and wobble when you touch them */
.gear { position: absolute; bottom: 0; height: auto; filter: brightness(.72) contrast(1.08) drop-shadow(0 14px 14px rgba(0, 0, 0, .7)); transform-origin: 50% 90%; pointer-events: auto; opacity: 0; animation: gear-in .9s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.gear--skates { left: 0; width: 21%; bottom: -6%; animation-delay: 1.9s; }
.gear--tape { left: 27%; width: 15%; bottom: 4%; animation-delay: 2.05s; }
.gear--pucks { left: 43%; width: 14%; bottom: -4%; animation-delay: 2.2s; }
.gear--towel { left: 58%; width: 19%; bottom: 6%; animation-delay: 2.1s; }
.gear--glove { right: 0; width: 18%; bottom: -10%; animation-delay: 1.95s; }
@keyframes gear-in { from { opacity: 0; transform: translateY(40%) rotate(-6deg); } to { opacity: 1; transform: none; } }
.arrive .gear { animation-delay: 3.2s; }
.room__copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(90px, 16vh, 170px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; pointer-events: none; }
.room__copy .pp-lede { margin: 0; max-width: 460px; color: #C9D2DA; text-shadow: 0 2px 12px #000; }
.room__copy .pp-count { align-items: flex-start; }
@media (max-width: 759px) { .room__copy { bottom: 20vh; } }
.arrive .room__img, .arrive .room__lights i, .arrive .room__jersey, .arrive .room__title { animation-delay: calc(1.9s + var(--d, 0) * .09s); }   /* after the Zamboni wipe */

/* ---------- Arriving from a goal: a Zamboni sweeps the black ice away to reveal the page ---------- */
.arrive body::before { content: ""; position: fixed; inset: 0; z-index: 96; background: #0B0D10; pointer-events: none; animation: wipe 1.5s cubic-bezier(.45, 0, .55, 1) .25s forwards; }
.arrive body::after { content: ""; position: fixed; z-index: 97; left: 0; top: 50%; height: 44vh; width: calc(44vh * 1.327); background: url(../img/rooms/zamboni.png) center / contain no-repeat; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); pointer-events: none; transform: translate(100vw, -50%); animation: zam 1.5s cubic-bezier(.45, 0, .55, 1) .25s forwards; }
@keyframes wipe { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 100% 0 0); } }
/* the machine drives right to left; its back edge is the line where fresh ice appears */
@keyframes zam { from { transform: translate(100vw, -50%); } to { transform: translate(calc(-44vh * 1.327), -50%); } }
@media (max-width: 759px) { .arrive body::after { height: 26vh; width: calc(26vh * 1.327); } @keyframes zam { from { transform: translate(100vw, -50%); } to { transform: translate(calc(-26vh * 1.327), -50%); } } }
@media (prefers-reduced-motion: reduce) { .arrive body::after { display: none; } .arrive body::before { animation: arrive .6s ease forwards; } .room__img, .room__lights i, .room__jersey, .room__title { animation: none; opacity: 1; filter: none; } }

/* ---------- The roster (The Plays): search, chips, jersey cards ---------- */
.room__name { position: absolute; left: 50%; bottom: -28%; transform: translateX(-50%); white-space: nowrap; font: 600 calc(max(100vw, 177.78svh) * .0075) / 1 var(--mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--light); background: rgba(11, 13, 16, .7); padding: .35em .6em; border-radius: 3px; }
.room__jersey span:empty { display: none; }
.roster { padding-block: clamp(60px, 9vw, 110px) 60px; display: grid; gap: 18px; position: relative; z-index: 2; }
.roster__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.roster__head h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.roster__count { color: var(--score); }
.roster__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.roster__tools label { display: grid; gap: 6px; }
.roster__tools .mono { color: var(--muted); font-size: 11px; }
.roster__search { flex: 1 1 280px; min-width: 0; }
.roster__search input, .roster__sort select { width: 100%; font: 16px var(--font); color: var(--text); background: var(--boards); border: 1px solid var(--glass); border-radius: 10px; padding: 12px 14px; }
.roster__search input:focus, .roster__sort select:focus { outline: 2px solid var(--light); outline-offset: 1px; }
.roster__sort { flex: 0 0 auto; }
.roster__clear { height: 46px; }
.roster__chips { display: grid; gap: 10px; }
.chips { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips__label { flex: 0 0 auto; color: var(--muted); font-size: 11px; min-width: 88px; }
.chip { flex: 0 0 auto; font: 500 14px var(--font); color: var(--text); background: transparent; border: 1px solid var(--glass); border-radius: 999px; padding: 7px 13px; cursor: pointer; white-space: nowrap; }
.chip i { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--light); color: var(--ice); border-color: var(--light); }
.chip[aria-pressed="true"] i { color: var(--ice); }
.roster__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.jcard { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; padding: 16px; background: var(--boards); border: 1px solid var(--glass); border-radius: 14px; transition: border-color .2s, transform .25s var(--ease); min-width: 0; }
.jcard:hover, .jcard:focus-visible { border-color: var(--light); transform: translateY(-2px); }
.jcard__jersey { width: 72px; aspect-ratio: 240 / 319; background: url(../img/rooms/jersey.png) center / contain no-repeat; display: grid; place-items: center; }
.jcard__jersey b { font: 800 22px / 1 var(--font); color: #F2F5F7; -webkit-text-stroke: 1px #E0102F; margin-top: -6px; }
.jcard__body { display: grid; gap: 4px; min-width: 0; }
.jcard__top { color: var(--muted); font-size: 11px; }
.jcard__new { font-style: normal; color: var(--ice); background: var(--goal); border-radius: 3px; padding: 1px 5px; margin-left: 4px; }
.jcard__brand { font-weight: 600; font-size: 19px; line-height: 1.2; }
.jcard__title { color: #C9D2DA; font-size: 15px; line-height: 1.35; }
.jcard__tags { color: var(--light); font-size: 11px; margin-top: 4px; }
.jcard__award { color: var(--score); font-size: 11px; }
.roster__empty, .roster__soon { color: var(--muted); margin: 0; }
.roster:not(.is-empty) .roster__soon { display: none; }
.roster.is-empty .roster__tools, .roster.is-empty .roster__chips { opacity: .45; pointer-events: none; }
.roster__more { justify-self: center; }

/* ---------- The lines (The Plays): 1st line AI can run it, 2nd AI plus you, 3rd needs a pro ---------- */
.room { touch-action: pan-y; cursor: grab; }
.room.is-dragging { cursor: grabbing; }
.room__tabs { position: absolute; z-index: 3; left: 50%; top: 59%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(11, 13, 16, .72); border: 1px solid var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; animation: stall-on .6s ease 1.7s forwards; }
.room__tab { display: grid; gap: 2px; text-align: left; font: 500 13px/1.1 var(--font); color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; white-space: nowrap; }
.room__tab b { color: var(--text); font-weight: 700; font-size: 15px; }
.room__tab[aria-selected="true"] { background: var(--light); color: #0B0D10; }
.room__tab[aria-selected="true"] b { color: #0B0D10; }
.room__tab:focus-visible { outline: 2px solid var(--goal); outline-offset: 2px; }
.room__jersey.is-empty { opacity: 0 !important; pointer-events: none; }
/* LINE CHANGE (roster.js): out, the lights cut and the jerseys are yanked off; in, the next line drops onto the
   hangers and swings to a stop (pendulum from the hook), lights flick back on left to right */
.room.is-out .room__jersey { animation: jersey-out .42s cubic-bezier(.5, 0, .9, .5) calc(var(--d) * 25ms) forwards; }
@keyframes jersey-out { from { opacity: 1; } to { opacity: 0; transform: translateX(-50%) translateY(-45%) rotate(-12deg) scale(.9); } }
.room.is-out .room__lights i { animation: lights-off .35s steps(3, end) forwards; }
.room.is-out .room__img { animation: room-dim .4s steps(3, end) forwards; }
@keyframes room-dim { from { filter: brightness(1); } to { filter: brightness(.38) saturate(.8); } }
.room.is-in .room__img { animation: room-back .8s linear forwards; }
@keyframes room-back { 0% { filter: brightness(.38); } 20% { filter: brightness(.9); } 30% { filter: brightness(.5); } 45% { filter: brightness(1.05); } 60% { filter: brightness(.8); } 100% { filter: brightness(1); } }
@keyframes lights-off { 0% { opacity: 1; } 40% { opacity: .2; } 60% { opacity: .7; } 100% { opacity: 0; } }
.room.is-in .room__jersey { transform-origin: 50% 2%; animation: jersey-in 1.1s cubic-bezier(.25, .6, .35, 1) calc(var(--d) * 55ms) both; }
@keyframes jersey-in { 0% { opacity: 0; transform: translateX(-50%) translateY(-60%) rotate(18deg); } 22% { opacity: 1; transform: translateX(-50%) translateY(2%) rotate(-11deg); } 40% { transform: translateX(-50%) translateY(0) rotate(7deg); } 58% { transform: translateX(-50%) rotate(-4deg); } 76% { transform: translateX(-50%) rotate(2deg); } 90% { transform: translateX(-50%) rotate(-.8deg); } 100% { opacity: 1; transform: translateX(-50%) rotate(0); } }
.room.is-in .room__jersey:hover { transform: translateX(-50%) translateY(-4%) scale(1.08); }
.room.is-in .room__lights i { animation: flick .5s linear calc(.15s + var(--d) * 55ms) both; }
/* the whistle: a scoreboard banner that flies across the room */
.room__whistle { position: absolute; z-index: 4; left: 0; top: 12%; display: grid; justify-items: center; gap: 4px; padding: 14px 40px; transform: translateX(-110%) skewX(-12deg); pointer-events: none;
  background: radial-gradient(circle, rgba(255, 60, 80, .16) 1px, transparent 1.6px) 0 0 / 6px 6px, #120406; border: 2px solid var(--goal); box-shadow: 0 0 40px rgba(224, 16, 47, .5); opacity: 0; }
.room__whistle b { font: 700 clamp(28px, 5vw, 60px)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #FF3A50; text-shadow: 0 0 12px rgba(255, 58, 80, .9), 0 0 30px rgba(224, 16, 47, .7); }
.room__whistle small { font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #FFB3BC; }
.room__whistle.is-go { animation: whistle 1.25s cubic-bezier(.2, .9, .2, 1) forwards; }
@keyframes whistle { 0% { opacity: 1; transform: translateX(-110%) skewX(-12deg); } 30% { transform: translateX(calc(50vw - 50%)) skewX(-12deg); } 34% { transform: translateX(calc(50vw - 50%)) skewX(0); } 72% { opacity: 1; transform: translateX(calc(50vw - 50%)) skewX(0); } 100% { opacity: 1; transform: translateX(110vw) skewX(-12deg); } }
.arrive .room__tabs { animation-delay: 3.1s; }
.room__swipe { display: none; }
@media (max-width: 759px) {
  .room__tabs { top: 61%; width: max-content; max-width: calc(100vw - 24px); }
  .room__copy { bottom: 12vh; gap: 6px; } .room__copy .pp-lede { font-size: 15px; } .room__copy .pp-count b { font-size: 26px; } .pp-lede .wide { display: none; }
  .room__props { width: 130vw; height: 12vh; bottom: 0; }
  .room__tab { padding: 7px 11px; font-size: 11px; } .room__tab b { font-size: 13px; }
  .room__swipe { display: block; position: absolute; z-index: 3; left: 0; right: 0; top: 52%; text-align: center; color: var(--light); font-size: 11px; letter-spacing: .14em; pointer-events: none; opacity: 0; animation: stall-on .6s ease 2.4s forwards, swipe-hint 2.4s ease-in-out 3s 2; }
}
@keyframes swipe-hint { 50% { transform: translateX(-18px); } }
.jcard__line { font-size: 11px; color: var(--text); }
.jcard__line i { font-style: normal; color: #0B0D10; background: var(--light); border-radius: 3px; padding: 1px 6px; margin-right: 4px; }
.jcard[data-line="2"] .jcard__line i { background: var(--score); }
.jcard[data-line="3"] .jcard__line i { background: #8A96A3; }
.jcard__why { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ---------- From a jersey into the film room (js/chalkfx.js) ---------- */
.room__jersey.is-picked { transform: translateX(-50%) translateY(-14%) scale(1.25) !important; filter: brightness(1.3) drop-shadow(0 20px 26px rgba(0, 0, 0, .8)) !important; z-index: 2; }
.jcard.is-picked, .fl-card.is-picked { transform: scale(1.03); border-color: var(--light); }
.cfx { position: fixed; inset: 0; z-index: 90; background: #050607; opacity: 0; transition: opacity .35s ease; overflow: hidden; pointer-events: none; }
.cfx.is-on { opacity: 1; }
.cfx__stage { position: absolute; left: 50%; top: 50%; width: max(100vw, 178.6vh); aspect-ratio: 1600 / 896; transform: translate(-50%, -50%) scale(1.04); transition: transform 1s cubic-bezier(.7, 0, .2, 1); will-change: transform; }
.cfx__stage img { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(.85); }
.cfx__ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.cfx__m { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 1; }
.cfx__m--red { stroke: #D3243A; } .cfx__m--blue { stroke: #1F5FBF; }
.cfx.is-on .cfx__m { animation: cfx-draw .45s ease-out calc(.3s + var(--d) * 1s) forwards; }
@keyframes cfx-draw { to { stroke-dasharray: 1 0; } }
.cfx__t { font: 400 64px/1 "Patrick Hand", "Comic Sans MS", cursive; fill: #1B1F24; opacity: 0; }
.cfx__t--num { font-size: 96px; fill: #D3243A; }
.cfx.is-on .cfx__t { animation: cfx-write .35s ease-out calc(.3s + var(--d) * 1s) forwards; }
@keyframes cfx-write { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cfx__tv { position: absolute; background: #0B0D10 center / cover no-repeat; opacity: 0; transition: opacity .5s ease .2s; box-shadow: 0 0 40px rgba(95, 183, 227, .35); }
.cfx.is-zoom .cfx__tv { opacity: 1; }

/* ---------- Home v4: Coach Ly in the hero ---------- */
.hero--coach .hero__frame { display: grid; grid-template-columns: 1fr; align-items: end; height: auto; min-height: min(88svh, 900px); padding: clamp(18px, 4vw, 48px); gap: 24px; }
.hero--coach .hero__copy { position: relative; left: auto; right: auto; bottom: auto; pointer-events: auto; display: grid; gap: 16px; align-content: end; }
.hero--coach h1 { max-width: 14ch; font-size: clamp(40px, 6.4vw, 96px); }
.hero--coach h1 em { display: block; }
.hero__kicker { color: var(--light); }
.hero__sub { margin: 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: #DCE3E9; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__coach { margin: 0; position: relative; z-index: 2; display: grid; gap: 8px; justify-items: center; }
.coach-reel { position: relative; display: block; width: min(100%, 380px); aspect-ratio: 9 / 16; max-height: 78svh; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 0 0 1px rgba(207, 232, 245, .16), 0 30px 80px rgba(0, 0, 0, .7), 0 0 80px rgba(224, 16, 47, .18); }
.coach-reel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.coach-reel:hover img { transform: scale(1.04); }
.coach-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 6, 7, .85), transparent 45%); }
.coach-reel__btn { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--goal); color: #fff; display: grid; place-items: center; box-shadow: 0 0 40px rgba(224, 16, 47, .5); }
.coach-reel__btn svg { width: 28px; height: 28px; margin-left: 4px; }
.coach-reel__label { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 4px; text-align: left; color: var(--text); }
.coach-reel__label b { font-size: 22px; } .coach-reel__label .mono { color: var(--light); font-size: 11px; }
.coach-reel--live { object-fit: cover; }
.hero__coach figcaption { color: var(--muted); font-size: 11px; transition: color .2s; }
.hero__coach figcaption.is-flash { color: var(--score); }
@media (min-width: 900px) { .hero--coach .hero__frame { grid-template-columns: 1fr minmax(260px, 360px); min-height: min(86svh, 860px); } }
@media (max-width: 899px) { .hero--coach .hero__coach { order: -1; } .coach-reel { width: min(78vw, 340px); max-height: 62svh; } }

/* ---------- Home: the first line ---------- */
.fl { padding-block: clamp(70px, 10vw, 130px) 40px; position: relative; z-index: 2; }
.fl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); gap: 18px; margin-top: 26px; }
.fl-card { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: var(--boards); border: 1px solid var(--glass); transition: border-color .25s, transform .35s var(--ease); will-change: transform; }
.fl-card:hover, .fl-card:focus-visible { border-color: var(--light); }
.fl-card__media { position: relative; aspect-ratio: 16 / 9; background: #050607 center / cover no-repeat; }
.fl-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 13, 16, .8), transparent 55%); }
.fl-card__num { position: absolute; z-index: 1; right: 14px; bottom: 6px; font: 800 italic clamp(44px, 5vw, 64px)/1 var(--font); color: #F2F5F7; -webkit-text-stroke: 1.5px #E0102F; letter-spacing: -.03em; }
.fl-card__tag { position: absolute; z-index: 1; left: 12px; top: 12px; font-style: normal; font-size: 10.5px; color: #0B0D10; background: var(--light); border-radius: 3px; padding: 4px 7px; }
.fl-card__body { display: grid; gap: 8px; padding: 16px 18px 20px; align-content: start; }
.fl-card__meta { color: var(--muted); font-size: 11px; }
.fl-card__title { font-size: 21px; line-height: 1.2; }
.fl-card__why { font-size: 10.5px; line-height: 1.4; color: var(--muted); }
.fl-card__why b { color: var(--text); font-weight: 600; }
/* Coach Ly says: his face in a goal-light ring, his line under a big red quote mark (no side bar) */
.coach-says { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; margin-top: 4px; font-size: 15.5px; line-height: 1.45; color: #DCE3E9; }
.coach-says img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ice, #0B0D10), 0 0 0 4px var(--goal), 0 6px 14px rgba(0, 0, 0, .5); }
.coach-says cite { display: block; margin-bottom: 3px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--goal); font-style: normal; }
.coach-says > span { position: relative; }
.coach-says > span::before { content: "\201C"; position: absolute; right: -4px; top: -16px; font: 800 64px/1 var(--font); color: var(--goal); opacity: .18; pointer-events: none; }
.fl-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.fl-more .mono { color: var(--muted); }

/* ---------- Home: your shift (the two buttons, explained) ---------- */
.finale--two .shift { display: grid; gap: 16px; width: min(100%, 1000px); margin-top: 26px; text-align: left; pointer-events: auto; }
@media (min-width: 760px) { .finale--two .shift { grid-template-columns: 1.3fr 1fr; } }
.shift__card { display: grid; gap: 12px; align-content: start; padding: clamp(18px, 3vw, 28px); border-radius: 18px; background: rgba(21, 25, 31, .88); border: 1px solid var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.shift__card b { font-size: 22px; }
.shift__card p { margin: 0; color: #C9D2DA; font-size: 16px; line-height: 1.5; }
.shift__card .pill { justify-self: start; }
.shift__form { display: flex; flex-wrap: wrap; gap: 10px; }
.shift__form input { flex: 1 1 220px; min-width: 0; font: 16px var(--font); color: var(--text); background: var(--ice); border: 1px solid var(--glass); border-radius: 999px; padding: 12px 18px; }
.sr { position: absolute; left: -9999px; }
.finale--two > :not(.pile) { pointer-events: auto; }

/* slow devices (quality.js): the trophies hold still */
.q-low .trophy-bg__item video { animation: none !important; }

/* ---------- Coach's Take patch (16 Oct, Ly): a play that has Ly's own reel wears a red patch, like a captain's C ---------- */
.ct-patch { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--goal, #E0102F); box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, .5); flex: none; vertical-align: middle; }
.ct-patch::before { content: ""; width: 8px; height: 9px; margin-left: 2px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ct-badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 999px; background: rgba(11, 13, 16, .82); color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-style: normal; }
.ct-badge .ct-patch { width: 18px; height: 18px; box-shadow: none; } .ct-badge .ct-patch::before { width: 6px; height: 7px; }
.room__patch { position: absolute; left: 4%; top: 6%; z-index: 3; width: 24%; height: auto; aspect-ratio: 1; box-shadow: 0 0 0 1.5px #fff, 0 2px 6px rgba(0, 0, 0, .5); }
.room__patch::before { width: 34%; height: 38%; }
.room__legend { margin: 14px 0 0; max-width: 640px; color: var(--muted, #9AA6B2); font-size: 11px; letter-spacing: .06em; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.room__legend .ct-patch { width: 16px; height: 16px; box-shadow: 0 0 0 1.5px #fff; } .room__legend .ct-patch::before { width: 5px; height: 6px; }
.jcard__jersey { position: relative; } .jcard__jersey .ct-patch { position: absolute; left: 6px; top: 6px; width: 18px; height: 18px; }
.jcard__jersey .ct-patch::before { width: 6px; height: 7px; }
.jcard__take { display: flex; align-items: center; gap: 6px; color: var(--muted, #9AA6B2); font-size: 11px; }
.jcard__take.is-on { color: #fff; } .jcard__take .ct-patch { width: 15px; height: 15px; box-shadow: none; } .jcard__take .ct-patch::before { width: 5px; height: 6px; }
.c-take-btn { margin: 4px 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.c-take-btn .ct-patch { width: 20px; height: 20px; box-shadow: 0 0 0 1.5px #fff; }
.card__soon { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.1); color: var(--light, #C9D2DA); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.card.is-soon { cursor: default; } .card.is-soon .card__media { filter: saturate(.75); }

/* the footer rides on the "Next page" screen (Ly, 21 Oct): seen for the whole wind-up, links still tappable */
.shot__sticky.has-foot { justify-content: flex-start; padding-top: clamp(64px, 16vh, 180px); }
.shot__sticky > .foot--shot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) max(14px, env(safe-area-inset-bottom)); text-align: left; }
.foot--shot .foot { padding-block: 14px 0; gap: 8px 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); font-size: 13.5px; line-height: 1.4; }
.foot--shot .foot b { margin-bottom: 2px; font-size: 13.5px; }
.foot--shot .foot a { padding: 5px 0; }
@media (max-height: 640px) { .shot__sticky.has-foot { padding-top: 40px; gap: 14px; } .foot--shot .foot > div:first-child { display: none; } }
.foot--shot .lb-sitefoot--shot { padding: 10px 0 0 !important; margin-top: 10px !important; background: transparent !important; justify-content: flex-start !important; gap: 2px 16px !important; font-size: 11px !important; border-top: 1px solid var(--glass); }
@media (max-height: 640px) { .foot--shot .lb-sitefoot--shot { margin-top: 6px !important; padding-top: 6px !important; } }
