/* ===== Spectate — video hero → zoomed course map, sector viewpoints ===== */
body{background:#0b0b0b}

/* fixed background stage: video crossfades to a zoomed, edge-to-edge map */
.stage{position:fixed;inset:0;z-index:0;overflow:hidden;background:#0b0b0b}
#bgVideo{position:absolute;inset:0;transition:opacity .4s linear}
#bgVideo iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:max(100vw,177.78vh);height:max(100vh,56.25vw);border:0;pointer-events:none}
#bgMap{position:absolute;inset:0;opacity:0;background-image:url("/assets/images/mgp-spectating.png");background-repeat:no-repeat;background-size:118%;background-position:56% 80%;transition:opacity .6s linear,background-position 1.3s cubic-bezier(.33,.1,.2,1),background-size 1.3s ease}
.stage .ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,8,5,.4) 0%,rgba(4,8,5,.55) 55%,rgba(4,8,5,.78) 100%)}

.wrap{position:relative;z-index:2}

/* hero */
.v2hero{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:0 22px 70px}   /* top-anchored: stripes touch the frame */
.v2hero .opener{display:flex;gap:3px;justify-content:center;margin-bottom:20px}
.v2hero .opener i{width:11px;height:82px;background:var(--leaf);display:block;border-radius:1px}
.v2hero h1{font-family:var(--inline);font-size:clamp(82px,17vw,250px);line-height:.82;text-transform:uppercase;color:var(--cream);margin:0;text-shadow:0 6px 40px rgba(0,0,0,.55)}
.v2hero .lead{font-family:var(--disp);font-weight:500;text-transform:uppercase;font-size:clamp(18px,3vw,30px);color:var(--leaf);margin-top:18px;letter-spacing:1px;text-shadow:0 2px 14px rgba(0,0,0,.6)}
.scrollhint{margin-top:48px;font-family:var(--data);letter-spacing:3px;text-transform:uppercase;font-size:12px;color:var(--cream);opacity:.7;animation:bob 1.9s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(9px)}}
/* Short laptop viewports: reserve the floating-pill zone so the hero clears the pills */
@media (max-height:960px){
  .v2hero{padding-bottom:230px}
  .scrollhint{margin-top:32px}
}

/* map screen — viewpoint boxes spread across the map, heading + buttons at the foot */
.mapscreen{min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;padding:90px 22px 220px;gap:24px}   /* extra bottom space clears the (raised) menu + mini pill */
.vp-spread{flex:1;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:14px;max-width:1180px;margin:0 auto;width:100%}
.vp{position:relative;width:230px;border:1px solid var(--line);border-left:4px solid var(--leaf);border-radius:12px;padding:14px 16px 16px;background:rgba(0,28,16,.62);backdrop-filter:blur(8px);animation:popIn .45s cubic-bezier(.2,.7,.3,1.2) both}
.vp h4{font-family:var(--disp);font-weight:700;text-transform:uppercase;font-size:20px;color:var(--cream);line-height:1.1;padding-right:54px}
.vp .meta{font-family:var(--data);letter-spacing:1px;text-transform:uppercase;font-size:11px;color:var(--leaf);margin:5px 0 7px}
.vp p{font-family:var(--body);font-size:13.5px;opacity:.9;line-height:1.5}
.vp .spd{position:absolute;right:-9px;bottom:-9px;width:62px;height:62px;border-radius:50%;background:var(--orange);color:var(--forest);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(0,0,0,.5);border:2px solid rgba(255,255,255,.15)}
.vp .spd b{font-family:var(--data);font-weight:700;font-size:22px;line-height:.9}
.vp .spd i{font-family:var(--data);font-style:normal;font-size:9px;letter-spacing:1px;text-transform:uppercase;margin-top:1px}
@keyframes popIn{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}

.watch-foot{text-align:center;max-width:1180px;margin:0 auto;width:100%}
.kicker2{font-family:var(--data);text-transform:uppercase;letter-spacing:3px;font-size:14px;color:var(--leaf)}
.watch-foot .big{font-family:var(--disp);font-weight:700;text-transform:uppercase;font-size:clamp(34px,6vw,64px);line-height:.95;color:var(--cream);margin-top:6px}
/* SECTORS + the Download-map pill share one line (the pill = a sector tab, but orange) */
.secline{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:18px}
.cdbar{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
/* sector tabs + the download pill — IDENTICAL box (inline-flex so the <a> pill matches the <button>s exactly) */
.sectab{display:inline-flex;align-items:center;line-height:1;font-family:var(--data);font-weight:700;letter-spacing:1px;font-size:15px;background:rgba(6,30,20,.6);backdrop-filter:blur(8px);border:1px solid var(--line-2);color:var(--cream);padding:13px 22px;border-radius:30px;cursor:pointer;text-transform:uppercase;transition:background .3s ease,color .3s ease,border-color .3s ease}
.sectab.active{background:var(--leaf);color:var(--forest);border-color:var(--leaf)}
.sectab.dl{background:var(--orange);color:var(--forest);border-color:var(--orange);text-decoration:none}
.sectab.dl:hover{background:#ffab33;border-color:#ffab33;color:var(--forest)}
/* grandstand note — a single line in a black box (homepage-clock style), between the title and the sectors */
.gband{display:inline-block;margin:14px auto 0;background:rgba(0,0,0,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:12px;padding:11px 22px;font-family:var(--data);font-weight:700;letter-spacing:1px;text-transform:uppercase;font-size:14px;color:var(--cream);box-shadow:0 10px 30px rgba(0,0,0,.55)}

/* ===== MOBILE (must sit AFTER the base rules to win the cascade) ===== */
@media(max-width:780px){
  #bgMap{background-size:300%}
  .v2hero{padding:0 16px 80px}
  .v2hero .opener i{height:60px}
  .v2hero h1{font-size:clamp(40px,12.5vw,80px)}
  .v2hero .lead{font-size:clamp(16px,4.4vw,22px)}
  .scrollhint{margin-top:36px}
  .mapscreen{padding:96px 14px calc(env(safe-area-inset-bottom) + 200px)}
  .vp{width:100%;max-width:340px}
  .watch-foot .big{font-size:clamp(30px,8vw,48px)}
  .gband{max-width:100%;font-size:12.5px;padding:10px 16px}
}
