/* 02 hero — live composition + copy, live hex video kept underneath; depth layers, hex light overlay,
   masked headline reveal, GET FUNDED sheen. Layer order (z): video 0 · wordmark 1 · scrim 2 · hexfx 3 · athletes 4 · copy/edges 5 */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-3); display: flex; flex-direction: column;
  min-height: calc(90vh + 60px); }   /* live: header band + 90vh hero */
.hero-layer { --px: 0px; --py: 0px; transform: translate3d(var(--px), var(--py), 0); will-change: transform; }

/* video + faded plate (as live: plate at .3 on top of the video) */
.hero-layer-video { position: absolute; inset: -4%; z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; pointer-events: none; }
.hero-tint { position: absolute; inset: 0; background: url('https://play2earnsports.com/media/home/hero-bg-plate.jpg') center / cover no-repeat; opacity: .3; pointer-events: none; }

.hero-layer-word { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-wordmark { position: absolute; left: 0; right: 0; top: calc(25% + 45px); transform: translateY(-50%); font-family: var(--f-poster); font-weight: 400; text-transform: uppercase; text-align: center;
  font-size: clamp(96px, 15.4vw, 330px); line-height: 1; white-space: nowrap; color: rgba(236,231,248,.17); user-select: none; letter-spacing: 0; }

.hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  radial-gradient(120% 90% at 74% 14%, rgba(139,61,255,.30), transparent 55%),
  linear-gradient(90deg, rgba(4,5,13,.95) 0%, rgba(4,5,13,.74) 34%, rgba(4,5,13,.24) 62%, rgba(4,5,13,.66) 100%),
  linear-gradient(180deg, rgba(4,5,13,.74) 0%, transparent 22%, transparent 60%, rgba(4,5,13,.9) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,11,21,0), var(--ink-3)); }

.hero-hexfx { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

/* ---------- layout: positions copied from live's rd-hero CSS (see notes/02-hero.md) ---------- */
.hero-inner { position: relative; z-index: 5; flex: 1 0 auto; padding: 148px 0 0; }
.hero-copy { position: relative; z-index: 2; width: min(39vw, 530px); margin-left: 87px; }   /* live: container 12 + row 75 */

.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 27px; color: #b587ef; font: 700 12px/15px var(--f-ui); letter-spacing: .34em; text-transform: uppercase; }
.hero-eyebrow-bar { width: 30px; height: 2px; background: linear-gradient(90deg, var(--lime), var(--purple)); box-shadow: 0 0 10px rgba(208,250,0,.6); }

.hero-title { margin: 0 0 6px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; color: #fff;
  font-size: clamp(58px, 4.55vw, 66px); line-height: .96; letter-spacing: .005em; text-shadow: 0 6px 40px rgba(0,0,0,.45); }
.hero-line { display: block; padding: .04em .12em .06em; margin: -.04em -.12em -.06em; }
.hero-line-in { display: block; }
.hero-accent { position: relative; display: inline-block; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.9) 48%, rgba(255,232,255,.95) 50%, transparent 60%), linear-gradient(96deg, #a855f7 4%, #e033e0 92%);
  background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat;
  filter: drop-shadow(0 0 22px rgba(168,85,247,.45)); }
.hero-line-accent .hero-line-in { position: relative; }
.hero-line-accent .hero-line-in::before { content: ""; position: absolute; left: -4%; top: 12%; width: min(100%, 7.2em); height: 80%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168,85,247,.42), rgba(224,51,224,.12) 60%, transparent); filter: blur(14px); opacity: .9; }

.hero-sub { margin: 0 0 16px; max-width: 510px; font: 400 clamp(17px, 1.2vw, 18px)/1.4 var(--f-ui); color: #e0dfea; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-reviews { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 13px; width: fit-content; max-width: 100%; margin: 0 0 22px; padding: 10px 14px; border: 1px solid rgba(178,139,255,.32); border-radius: 10px; background: rgba(15,14,29,.7); box-shadow: 0 10px 26px rgba(0,0,0,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-reviews-stars { display: inline-flex; gap: 2px; color: #f7c64c; font-size: 12px; white-space: nowrap; }
.hero-reviews-copy { display: flex; flex-direction: column; gap: 2px; font: 600 12px/1.2 var(--f-ui); color: #fff; }
.hero-reviews-copy small { font-size: 10px; font-weight: 500; color: #b9b6c9; }
.hero-reviews-link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #d5bbff; font: 700 11px/1.2 var(--f-ui); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero-reviews-link:hover, .hero-reviews-link:focus-visible { color: #fff; }
.hero-reviews-link:focus-visible { outline: 2px solid #d5bbff; outline-offset: 4px; border-radius: 2px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 25px; }
.hero-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 0 24px; border-radius: 5px;
  font: 800 13px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; transition: transform .35s var(--ease-out), box-shadow .3s, background .3s, border-color .3s; }
.hero-btn span, .hero-btn i { position: relative; z-index: 1; }
.hero-btn-lime { background: var(--lime); color: #101400; box-shadow: 0 14px 34px -10px rgba(208,250,0,.55), inset 0 -2px 0 rgba(0,0,0,.12); }
.hero-btn-lime::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.7) 50%, transparent 75%); transform: translateX(-130%); transition: transform .8s var(--ease-out); }
.hero-btn-lime:hover::before, .hero-btn-lime:focus-visible::before { transform: translateX(130%); }
.hero-btn-lime:hover { box-shadow: 0 18px 44px -8px rgba(208,250,0,.7); }
.hero-btn-lime i { transition: transform .35s var(--ease-out); }
.hero-btn-lime:hover i { transform: translateX(4px); }
.hero-btn-ghost { color: #fff; border: 1.5px solid rgba(139,61,255,.7); background: rgba(8,9,20,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-btn-ghost:hover, .hero-btn-ghost:focus-visible { background: rgba(153,44,255,.22); box-shadow: 0 0 30px -6px rgba(153,44,255,.8); }
.hero-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* the CLUBS / PLAYERS / ... row stays under the CTAs, in flow, so it can never sit behind the rail */
.hero-pillars { display: flex; flex-wrap: nowrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.hero-pillars li { position: relative; padding: 0 12px; font: 700 10px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(226,232,240,.78); white-space: nowrap; }
.hero-pillars li:first-child { padding-left: 0; }
.hero-pillars li + li::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; transform: rotate(45deg); background: var(--purple); box-shadow: 0 0 8px var(--purple); }

/* ---------- athletes: live = img height 520 (743 wide), right column, bottom near the rail ----------
   1440 → x 626 · y 150 · 743×520      1024 → x 408 · y 188 · 604×422 (live's contained image)          */
.hero-stage { position: absolute; z-index: 4; pointer-events: none;
  width: min(743px, 59vw); right: max(12px, calc(50vw - 649px)); top: calc(462px + 14.4vw - min(743px, 59vw) * .6995); }
.hero-layer-athletes { position: relative; }
.hero-athletes { position: relative; z-index: 2; display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 42px rgba(0,0,0,.62)) drop-shadow(0 0 1px rgba(208,250,0,.25));
  -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 16%), linear-gradient(90deg, transparent 0, #000 9%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(0deg, transparent 0, #000 16%), linear-gradient(90deg, transparent 0, #000 9%, #000 95%, transparent 100%); mask-composite: intersect; }
.hero-athlete-glow { position: absolute; inset: 6% 2% 0; z-index: 0; background: radial-gradient(58% 52% at 52% 66%, rgba(139,61,255,.42) 0%, rgba(139,61,255,0) 72%); }
.hero-athlete-hex { position: absolute; z-index: 1; left: 50%; top: -6%; width: 58%; margin-left: -29%; opacity: .35; filter: drop-shadow(0 0 10px rgba(153,44,255,.6)); }

/* ---------- edge micro-type (live: right 10 · top 152 ; script right 5.5% · top ≈ 21% of hero) ---------- */
.hero-edge-right { position: absolute; z-index: 5; right: 10px; top: 152px; text-align: right; pointer-events: none; }
.hero-edge-right em { display: block; font-style: normal; font: 700 10px/1.75 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(226,232,240,.85); }
.hero-edge-right em:nth-child(3) { color: var(--lime); }
.hero-script { position: absolute; z-index: 5; right: 5.5%; top: calc(60px + 18.6vh); text-align: center; pointer-events: none;
  transform: translate3d(var(--px), var(--py), 0) rotate(-8deg); }
.hero-script-text em { display: block; font-style: normal; font: 700 clamp(21px, 1.6vw, 25px)/1.12 var(--f-script); color: #d6cbff; text-shadow: 0 0 14px rgba(153,44,255,.5); }
.hero-crown { display: block; width: 40px; height: 26px; margin: 10px auto 0; color: #b587ef; filter: drop-shadow(0 0 6px rgba(153,44,255,.7)); }

/* ---------- sports rail (live's marquee, same place: bottom of the hero) ---------- */
.hero-rail { position: relative; z-index: 6; flex: none; margin: 20px 28px 16px; padding: 12px 0 11px; border-radius: 18px; overflow: hidden;
  background: rgba(6,8,20,.84); border: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.hero-rail-viewport { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
.hero-rail-viewport::-webkit-scrollbar { display: none; }
.hero-rail-track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.hero-rail-track[aria-hidden="true"] { display: none; }
.arena-anim .hero-rail-viewport { width: max-content; overflow: visible; animation: hero-rail-scroll 60s linear infinite; }
.arena-anim .hero-rail-track[aria-hidden="true"] { display: flex; }
.arena-anim .hero-rail:hover .hero-rail-viewport, .arena-anim .hero-rail:focus-within .hero-rail-viewport, .arena-anim .hero.is-off .hero-rail-viewport { animation-play-state: paused; }
@keyframes hero-rail-scroll { to { transform: translate3d(-50%, 0, 0); } }
.hero-rail-item { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-rail-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #e6e8f0;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015)), rgba(14,16,30,.6); border: 1px solid rgba(255,255,255,.10);
  transition: color .3s, border-color .3s; }
.hero-rail-item:hover .hero-rail-tile { color: var(--lime); border-color: rgba(208,250,0,.4); }
.hero-rail-label { font: 600 9.5px/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: rgba(226,232,240,.66); white-space: nowrap; }
/* shared icon rendering (Material Symbols Rounded, fill 1, weight 300; custom lacrosse SVG in the same weight) */
.hero .sp-glyph { font-size: 26px; line-height: 1; }
.hero .sp-svg { width: 26px; height: 26px; display: block; }

/* ---------- entrance (only when motion is allowed; ?static / reduced = final state) ---------- */
.arena-anim:not(.arena-done) .hero .hero-line { overflow: hidden; }
.hero-line-in, .hero-rise, .hero-eyebrow, .hero-stage, .hero-edge-right em, .hero-script-text em, .hero-crown {
  transition: transform 1.15s var(--ease-out), opacity 1s var(--ease-out), clip-path 1.2s var(--ease-out), filter 1.2s var(--ease-out); }
.hero-line-in { transition-delay: calc(.08s + var(--i, 0) * .085s); }
.hero-rise { transition-delay: calc(.1s + var(--i, 0) * .08s); }
.arena-anim:not(.arena-go) .hero .hero-line-in { transform: translate3d(0, 108%, 0) rotate(2.5deg); transform-origin: 0 100%; }
.arena-anim:not(.arena-go) .hero .hero-rise { opacity: 0; transform: translate3d(0, 26px, 0); }
.arena-anim:not(.arena-go) .hero .hero-eyebrow { opacity: 0; clip-path: inset(0 100% 0 0); }
.arena-anim .hero .hero-eyebrow { clip-path: inset(0 0 0 0); }
.arena-anim:not(.arena-go) .hero .hero-stage { opacity: 1; transform: none; filter: none; }
.hero-stage { transition-delay: .25s; transition-duration: 1.6s; }
.arena-anim:not(.arena-go) .hero .hero-edge-right em, .arena-anim:not(.arena-go) .hero .hero-script-text em, .arena-anim:not(.arena-go) .hero .hero-crown { opacity: 0; transform: translate3d(0, 12px, 0); }
.hero-edge-right em:nth-child(n), .hero-script-text em:nth-child(n) { transition-delay: calc(.6s + var(--d, 0) * .08s); }
.hero-edge-right em:nth-child(2), .hero-script-text em:nth-child(2) { --d: 1; }
.hero-edge-right em:nth-child(3), .hero-script-text em:nth-child(3) { --d: 2; }
.hero-edge-right em:nth-child(4) { --d: 3; }
.hero-crown { transition-delay: .95s; }
/* failsafe: never leave the headline hidden if a script fails */
.arena-anim:not(.arena-go) .hero .hero-line-in, .arena-anim:not(.arena-go) .hero .hero-rise, .arena-anim:not(.arena-go) .hero .hero-eyebrow { animation: hero-failsafe .25s .3s forwards; }
@keyframes hero-failsafe { to { opacity: 1; transform: none; filter: none; clip-path: none; } }

/* GET FUNDED sheen: sweeps once on reveal, then every ~6 s (paused off-screen via .is-idle) */
.arena-anim.arena-go .hero-accent { animation: hero-sheen 6s cubic-bezier(.45,0,.2,1) 1s infinite; }
.arena-anim .hero.is-off .hero-accent { animation-play-state: paused; }
@keyframes hero-sheen {
  0% { background-position: 130% 0, 0 0; filter: drop-shadow(0 0 22px rgba(168,85,247,.45)); }
  22% { background-position: -30% 0, 0 0; filter: drop-shadow(0 0 30px rgba(200,80,255,.8)); }
  40%, 100% { background-position: -30% 0, 0 0; filter: drop-shadow(0 0 22px rgba(168,85,247,.45)); }
}

/* ---------- responsive ---------- */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .hero-copy { margin-left: 26px; }                    /* live: 12 + 30 */
  .hero-inner { padding-top: 124px; }                  /* live puts the eyebrow under its header at this width; kept clear */
  .hero-edge-right { top: 104px; }
}
@media (max-width: 991.98px) {                         /* live: stacked, centred */
  .hero { min-height: 0; }
  .hero-inner { padding-top: 170px; text-align: center; }
  .hero-copy { width: auto; max-width: 650px; margin: 0 auto; }
  .hero-eyebrow { justify-content: center; margin-bottom: 14px; }
  .hero-eyebrow-bar { width: 22px; }
  .hero-title { font-size: clamp(38px, 10vw, 53px); line-height: 1.02; margin-bottom: 12px; }
  .hero-line { display: inline-block; }
  .hero-line-accent { display: block; }
  .hero-sub { font-size: 16px; line-height: 1.45; max-width: 580px; margin: 0 auto 17px; }
  .hero-reviews { margin: 0 auto 20px; text-align: left; }
  .hero-cta { justify-content: center; gap: 12px; margin-bottom: 20px; }
  .hero-pillars { justify-content: center; }
  .hero-stage { position: relative; right: auto; top: auto; width: min(100%, 743px); margin: 16px auto 0; }
  .hero-edge-right, .hero-script { display: none; }
  .hero-rail { margin: 20px 12px 16px; }
  .hero::after { height: 90px; }
  .hero-scrim { background:
    radial-gradient(120% 60% at 50% 0%, rgba(139,61,255,.28), transparent 60%),
    linear-gradient(180deg, rgba(4,5,13,.78) 0%, rgba(4,5,13,.55) 40%, rgba(4,5,13,.25) 70%, rgba(4,5,13,.8) 100%); }
}
@media (max-width: 767.98px) {                         /* phone: keep the message close beneath the fixed header */
  /* the eyebrow starts 8px under the header's bottom edge: offset = the header's own height (--p2e-sh-h, set once in
     p2e-site-header.css; 64px on phones, like the static build's .hdr bar = the fallback) + 8px, never a fixed number.
     A fixed 56px put "SPORTS INTELLIGENCE" half under the header on live (V22, 2026-09-27). */
  .hero-inner { padding-top: calc(var(--p2e-sh-h, 64px) + 8px); }
  .hero-eyebrow { font-size: 11px; letter-spacing: .3em; }
  .hero-btn { min-height: 46px; padding: 0 18px; font-size: 12.5px; flex: 1 1 0; max-width: 210px; gap: 10px; }
  .hero-pillars li { padding: 0 7px 0 9px; font-size: 9.5px; letter-spacing: .1em; }
  .hero-pillars li:first-child { padding-left: 0; }
  .hero-stage { width: 379px; max-width: none; height: 245px; margin: 14px auto 0; overflow: hidden; }
  .hero-athletes { width: 379px; }
  .hero-athlete-hex { display: none; }
  .hero-wordmark { top: 262px; font-size: 30vw; }
  .hero-rail { margin: 20px 12px 16px; padding: 10px 0 9px; }
  .hero-rail-item { width: 70px; gap: 7px; }
  .hero-rail-tile { width: 40px; height: 40px; border-radius: 11px; }
  .hero .sp-glyph { font-size: 22px; }
  .hero .sp-svg { width: 22px; height: 22px; }
  .hero-rail-label { font-size: 8.5px; letter-spacing: .08em; }
}
@media (max-width: 380px) {
  .hero-pillars { flex-wrap: wrap; row-gap: 6px; }
  .hero-btn { padding: 0 12px; letter-spacing: .06em; }
}
/* GLM-public-2: owner rule, 44px phone tap target; the padding grows the hit box, the negative margin keeps the pill the same size. */
@media (max-width: 767.98px) { .hero-reviews-link { padding: 16px 0; margin-top: -16px; margin-bottom: -16px; } }
