/* Call the Finish's own look: a main-event poster. Four tones, each with one job:
   red = the action, ice = your people and the crowd split, gold = points and bragging, white = everything else.
   This file loads on Call the Finish only. */
:root { --hot: var(--brand); --ice: #4cc9ff; --gold: #ffc83d; --poster: "Anton", "Impact", "Oswald", sans-serif; }
html { background: var(--bg); }
body { background: transparent; position: relative; overflow-x: clip; }
h1, h2 { font-family: var(--poster); font-weight: 400; font-synthesis: none; letter-spacing: .012em; line-height: 1.04; }
h3, .eyebrow, .chip, .btn { font-family: var(--display); }
.btn { font-weight: 700; }
.logo b { font-family: var(--poster); font-weight: 400; font-synthesis: none; letter-spacing: .02em; font-size: 23px; white-space: nowrap; }
.eyebrow { color: var(--hot); }
.checker { position: relative; z-index: 3; }

/* ---------- nav ---------- */
.top-nav { position: relative; z-index: 3; gap: 6px; flex-wrap: wrap; height: auto; min-height: 64px; padding: 8px 0; }
.nav-link { color: var(--text); text-decoration: none; font: 600 15px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 10px 8px; white-space: nowrap; }
.nav-link:hover { color: var(--hot); }
@media (max-width: 719px) { .wide-only { display: none; } }
@media (max-width: 479px) { .top-nav .nav-link[href="/picks"] { display: none; } .logo b { font-size: 20px; } }

/* ---------- the hero ---------- */
.lp.poster .wrap { max-width: 1240px; }
.hero-poster { position: relative; margin-top: -80px; padding-top: 80px; overflow: hidden; background: #050405; }
.hero-bg { position: absolute; inset: 0; animation: heroZoom 26s ease-in-out infinite alternate; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6,4,7,.94) 0%, rgba(6,4,7,.78) 32%, rgba(6,4,7,.08) 62%, rgba(6,4,7,0) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(10,8,12,0) 22%); }
.hero-grid { position: relative; z-index: 2; width: 100%; display: grid; gap: 28px; align-items: center; padding: 28px 16px 44px; }
.kicker { display: inline-block; font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--hot); padding: 8px 12px; transform: skewX(-8deg); }
.poster-h { font-size: clamp(58px, 15.5vw, 118px); line-height: .98; margin: 18px 0 16px; text-transform: uppercase; color: #fff; }
.poster-h span { display: block; animation: slam .5s cubic-bezier(.2, 1.4, .4, 1) backwards; }
.poster-h span:nth-child(2) { animation-delay: .1s; }
.poster-h span:nth-child(3) { animation-delay: .2s; }
.poster-h .hot { color: var(--hot); }
@keyframes slam { from { opacity: 0; transform: translateY(26px) scale(1.06); } }
.hero-copy .lede { font-size: 20px; line-height: 1.4; color: #f3f1f4; max-width: 30em; margin: 0 0 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.big { min-height: 60px; padding: 0 28px; font-size: 23px; animation: pulseHot 2.6s ease-in-out infinite; }
@keyframes pulseHot { 50% { box-shadow: 0 0 0 10px rgba(255, 45, 79, .18); } }
.fine { color: #d6d2d9; font-size: 14px; margin: 14px 0 0; }
.hero-phone { width: 100%; max-width: 380px; margin: 0 auto; }
.phone-screen { background: rgba(14, 11, 16, .93); border: 1px solid rgba(255, 255, 255, .16); border-radius: 30px; padding: 16px; box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 0 6px rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
/* wide screens: the photo is placed by the mask, which sits 58.3% across it, so the mask always lands in
   the open gap just left of the phone and nothing ever covers the face */
@media (min-width: 1100px) {
  .hero-poster { --h: max(720px, min(100svh, 880px)); --ih: max(var(--h), 52vw); --phone-left: calc(50% + min(620px, 50vw) - 16px - 372px);
    display: flex; align-items: center; min-height: var(--h); }
  .hero-bg { transform-origin: calc(var(--phone-left) - 100px) 30%; }
  .hero-bg img { position: absolute; max-width: none; height: var(--ih); width: calc(var(--ih) * 2.002);
    left: calc(var(--phone-left) - 100px - var(--ih) * 1.167); top: calc((var(--h) - var(--ih)) * .3); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 372px; gap: 40px; }
  .hero-copy { max-width: 590px; }
  .hero-phone { margin: 0; }
  .poster-h { font-size: clamp(74px, 7vw, 100px); }
}
@media (max-width: 1099px) {
  .hero-bg { bottom: auto; height: 74vw; max-height: 620px; }
  .hero-bg img { object-position: 50% 20%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0, var(--bg) calc(100% - 74vw), rgba(10,8,12,.55) calc(100% - 62vw), rgba(10,8,12,0) 100%); }
  .hero-grid { padding-top: 46vw; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--hot); color: #fff; }
.marquee .track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee a { color: #fff; text-decoration: none; font: 600 18px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 14px 22px; white-space: nowrap; }
.marquee a b { font-family: var(--poster); font-weight: 400; font-synthesis: none; letter-spacing: .03em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.lp section.band { position: relative; padding: 64px 0; overflow: hidden; }
.band .wrap, .challenge-wrap { position: relative; z-index: 1; max-width: 1180px; }
.band-h { font-size: clamp(38px, 8vw, 68px); text-transform: uppercase; margin: 10px 0 24px; color: #fff; }
.narrow { max-width: 780px !important; }
.band-stage { background: linear-gradient(180deg, rgba(10,8,12,.88), rgba(10,8,12,.8) 60%, var(--bg)), url(/photos/stage.jpg) center / cover no-repeat; }
.band-split { background: linear-gradient(135deg, rgba(76,201,255,.13), transparent 58%); border-top: 1px solid rgba(76,201,255,.22); }
.band-split .eyebrow { color: var(--ice); }
.band-crowd { background: linear-gradient(180deg, var(--bg), rgba(10,8,12,.72) 22%, rgba(10,8,12,.82) 78%, var(--bg)), url(/photos/crowd.jpg) center / cover no-repeat; }
.band-tix { background: linear-gradient(135deg, rgba(255,200,61,.1), transparent 55%); border-top: 1px solid rgba(255,200,61,.2); }
.band-tix .eyebrow { color: var(--gold); }

/* the three count */
.three { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.three li { background: rgba(10, 8, 12, .72); border: 1px solid rgba(255,255,255,.14); border-top: 4px solid var(--hot); padding: 22px; }
.three h3 { font-size: 24px; margin: 8px 0 8px; color: #fff; }
.three p { margin: 0; color: #dcd8df; }
.big-n { display: block; font: 400 104px/1 var(--poster); font-synthesis: none; color: var(--hot); }
.three li:nth-child(3) { border-top-color: var(--gold); }
.three li:nth-child(3) .big-n { color: var(--gold); }
@media (min-width: 820px) { .three { grid-template-columns: repeat(3, 1fr); } }

/* cards with a job */
.tone-ice { border-left: 4px solid var(--ice); }
.tone-gold { border-left: 4px solid var(--gold); }
.band-crowd .card { background: rgba(14, 11, 16, .86); }
.two { display: grid; gap: 34px; }
@media (min-width: 880px) { .two { grid-template-columns: 1.1fr .9fr; align-items: center; } }
#sample img { width: 100%; max-width: 380px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,.6); }

/* the crowd split */
.split-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; flex-wrap: wrap; }
.split-head b { font: 400 26px/1.1 var(--poster); font-synthesis: none; text-transform: uppercase; }
.split-list { display: grid; gap: 14px; }
@media (min-width: 820px) { .band-split .split-list { grid-template-columns: repeat(3, 1fr); } }
.split-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.split-card h2, .split-card h3 { font: 700 19px/1.2 var(--display); text-transform: none; letter-spacing: 0; margin: 0 0 12px; color: #fff; }
.split-bars { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.split-bars li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--surface-2); border-radius: 8px; overflow: hidden; font-weight: 600; }
.split-bars li > i { position: absolute; inset: 0 auto 0 0; background: rgba(76, 201, 255, .24); }
.split-bars li > span { position: relative; }
.split-bars li.won > i { background: rgba(34, 197, 94, .3); }
.split-bars li.won b { color: var(--green); font-size: 12px; text-transform: uppercase; margin-left: 6px; }
.split-bars .pct { font-variant-numeric: tabular-nums; }

/* tickets */
.tix-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tix-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.tk-day { font: 400 21px/1 var(--poster); font-synthesis: none; color: var(--gold); min-width: 74px; text-transform: uppercase; }
.tix-list small, .pick-row small { display: block; color: var(--muted); font-size: 13px; }
@media (min-width: 820px) { .tix-list { grid-template-columns: 1fr 1fr; } }

/* the long game */
.challenge-wrap { margin: 0 auto; padding: 0 16px; }
.challenge-wrap section { padding: 44px 0; }
.challenge-wrap .card { border-color: var(--gold) !important; background: linear-gradient(135deg, rgba(255,200,61,.1), var(--surface) 55%); max-width: 720px; margin: 0 auto; }
.challenge-wrap .eyebrow { color: var(--gold) !important; }
.challenge-wrap h2 { font-size: clamp(34px, 7vw, 54px); text-transform: uppercase; }
.challenge-wrap .btn { background: var(--gold); color: #1b1400; }
.picks b { color: var(--gold); }
.faq dt { font-family: var(--display); font-weight: 700; }

/* scroll reveal */
.rv-on { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.rv-on.in { opacity: 1; transform: none; }
.three li.rv-on:nth-child(2) { transition-delay: .14s; }
.three li.rv-on:nth-child(3) { transition-delay: .28s; }

/* back to top */
.to-top { position: fixed; right: 14px; bottom: calc(18px + var(--safe-b)); z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,16,22,.92); color: #fff; font-size: 20px; cursor: pointer; }

/* ---------- the pick game ---------- */
.wrap.wide { max-width: 1080px; }
.pk-layout { display: grid; gap: 16px; }
@media (min-width: 860px) { .pk-layout { grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; } }
.pk-head { padding: 22px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(10,8,12,.45), rgba(10,8,12,.86)), url(/photos/stage.jpg) center / cover no-repeat; }
.pk-show { font-size: clamp(38px, 9vw, 62px); text-transform: uppercase; margin: 8px 0 8px; color: #fff; }
.pk-meta { margin: 0; color: #eceaee; font-weight: 500; }
.pk-lock { margin: 12px 0 0; color: #fff; }
.pk-lock b, .pk-mini span b { color: var(--gold); font-variant-numeric: tabular-nums; }
.pk-how { margin-top: 12px; font-size: 14px; color: var(--muted); }
.pk-how b { color: var(--gold); font-weight: 600; }
@media (max-width: 859px) { .pk-how { display: none; } }
.pk-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: none; }
.pk-tabs button { flex: none; text-align: left; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; max-width: 230px; }
.pk-tabs button b { display: block; font: 700 16px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-tabs button small { color: var(--muted); }
.pk-tabs button[aria-pressed="true"] { border-color: var(--hot); background: color-mix(in srgb, var(--hot) 14%, var(--surface)); }
.pk-mini { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin-bottom: 12px; }
.pk-mini .eyebrow { width: 100%; }
.pk-mini > b { font: 400 22px/1.1 var(--poster); font-synthesis: none; text-transform: uppercase; }
.pk-mini span { color: #d6d2d9; font-size: 13px; margin-left: auto; }
.pk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; animation: pkIn .22s ease; }
@keyframes pkIn { from { opacity: 0; transform: translateX(14px); } }
.phone-screen .pk-card { background: transparent; border: 0; padding: 0; }
.pk-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pk-count { font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pk-pips { display: flex; gap: 4px; flex: 1; }
.pk-pips i { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-3); }
.pk-pips i.on { background: var(--hot); }
.pk-pips i.now { background: #fff; }
.pk-q { font: 400 clamp(29px, 7vw, 38px)/1.08 var(--poster); font-synthesis: none; text-transform: uppercase; margin: 0 0 16px; color: #fff; }
.phone-screen .pk-q { font-size: 28px; }
.pk-opts { display: grid; gap: 10px; }
.pk-opt { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 62px; padding: 12px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface-2); color: #fff; text-align: left; overflow: hidden; font: 700 20px/1.15 var(--display); }
button.pk-opt { cursor: pointer; transition: transform .08s ease, border-color .12s ease; }
button.pk-opt:hover { border-color: var(--hot); }
button.pk-opt:active, button.pk-opt.tapped { transform: scale(.98); border-color: var(--hot); background: color-mix(in srgb, var(--hot) 22%, var(--surface-2)); }
.pk-opt > i { position: absolute; inset: 0 auto 0 0; background: rgba(255,255,255,.08); animation: pkFill .6s ease backwards; }
@keyframes pkFill { from { width: 0; } }
.pk-opt > span, .pk-opt > b { position: relative; }
.pk-opt > b { font-variant-numeric: tabular-nums; }
.pk-opt.mine { border-color: var(--hot); }
.pk-opt.mine > i { background: color-mix(in srgb, var(--hot) 36%, transparent); }
.pk-opt em { font: 700 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; font-style: normal; background: var(--hot); color: #fff; padding: 3px 6px; border-radius: 5px; margin-left: 6px; vertical-align: 2px; }
.pk-explain { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.pk-line { margin: 14px 0; color: #eceaee; }
.pk-line b { color: var(--gold); }
.pk-empty .btn { margin-top: 6px; }
.pk-title { font-size: clamp(36px, 8vw, 52px); text-transform: uppercase; margin: 8px 0; color: #fff; }
.pk-slip { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.pk-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pk-score b { font: 400 66px/1 var(--poster); font-synthesis: none; color: var(--gold); }
.pk-rows { list-style: none; margin: 12px 0 0; padding: 0; }
.pk-rows li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.pk-rows b { display: block; font: 700 17px/1.2 var(--display); }
.pk-rows small { display: block; color: var(--muted); font-size: 13px; }
.pk-tag { flex: none; font: 700 13px/1 var(--display); padding: 6px 8px; border-radius: 6px; background: var(--surface-3); color: #dcd8df; white-space: nowrap; }
.pk-tag.win { background: rgba(34,197,94,.2); color: var(--green); }
.pk-tag.lose { color: #ff8a9b; }
.pk-links { display: grid; gap: 8px; margin-top: 10px; }
.pk-name { margin-top: 16px; display: grid; gap: 8px; }
.pk-three { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(6,4,7,.9); pointer-events: none; }
.pk-three b { font: 400 min(56vw, 300px)/1 var(--poster); font-synthesis: none; color: var(--hot); animation: pkSlam .3s cubic-bezier(.2,1.5,.4,1); }
@keyframes pkSlam { from { transform: scale(1.8); opacity: 0; } }
.pk-burst { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none; }
.pk-burst div { font: 400 min(26vw, 140px)/1 var(--poster); font-synthesis: none; color: var(--gold); text-shadow: 0 6px 40px rgba(0,0,0,.7); animation: pop 1.4s ease forwards; }

/* ---------- fan picks and schedule pages ---------- */
body:has(> .wrap.prose)::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 340px; background: linear-gradient(180deg, rgba(10,8,12,.55), var(--bg)), url(/photos/stage.jpg) center 30% / cover no-repeat; }
.prose h1 { font-size: clamp(34px, 8vw, 58px); text-transform: uppercase; color: #fff; }
.prose h1, .prose h2, .prose p, .split-card, .split-bars li span { overflow-wrap: anywhere; }
.btn { max-width: 100%; }
.prose h2 { font-family: var(--poster); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.prose .split-card h2 { font: 700 19px/1.2 var(--display); text-transform: none; margin: 0 0 12px; }
.lede { font-size: 19px; color: #eceaee; }
.pick-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.prose .pick-list li { color: var(--text); }
.pick-row { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; flex-wrap: wrap; }
.pick-row:hover { border-color: var(--hot); }
.pick-row b { font: 700 19px/1.2 var(--display); }

.lp-sched { list-style: none; margin: 12px 0 20px; padding: 0; display: grid; gap: 8px; }
.prose .lp-sched li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.lp-sched li a { display: block; margin-bottom: 4px; color: #fff; text-decoration: none; }
.lp-sched li a b { font: 700 19px/1.2 var(--display); }
.lp-sched li a:hover b { color: var(--hot); }

/* ---------- the app ---------- */
.tabbar .tl { white-space: normal; overflow: visible; text-overflow: clip; text-align: center; line-height: 1.05; }
.topbar { background: rgba(10, 8, 12, .94); }
.racehead { background: linear-gradient(180deg, rgba(10,8,12,.5), rgba(10,8,12,.9)), url(/photos/stage.jpg) center / cover no-repeat; border-color: rgba(255,255,255,.14); }
.racehead h2 { font-size: 36px; text-transform: uppercase; color: #fff; }
.racehead .meta { color: #eceaee; }
.call .q { font-family: var(--poster); font-weight: 400; font-synthesis: none; letter-spacing: .012em; }
.call.compact .q { font-size: 22px; }
.empty .big { font-family: var(--poster); font-weight: 400; font-synthesis: none; }

@media (prefers-reduced-motion: reduce) { .hero-bg, .marquee .track, .btn.big { animation: none !important; } .marquee { overflow-x: auto; } }
