/* Athletic "poster" look for the whole secondary site, inspired by the layout rules in the Nike DESIGN.md
   (no Nike fonts, logos or photos). Square edges, black pills, soft grey bands, huge uppercase titles, full-bleed photo cards. */
:root{--r:0;--alt:#f5f5f5;--line:#cacacb;--mut:#707072;--fg:#111;--accent:#111}
body{background:#fff;color:#111}
.alt{background:#f5f5f5}

/* nav: clean white bar, black pill Book */
.nav{background:#fff;border-bottom:0.0625rem solid #e5e5e5}
.nav.scrolled{border-color:#e5e5e5}

/* buttons: black / grey pills, 3rem */
.pill{background:#111;color:#fff;border-radius:62.4375rem;padding:0.875rem 1.875rem;font-weight:600}
.pill:hover{background:#39393b}
.pill.out{background:#fff;color:#111;box-shadow:inset 0 0 0 0.0625rem #cacacb}
.pill.out:hover{background:#111;color:#fff}
.nav .pill{padding:0.5625rem 1.5rem}

/* headings: bigger, tighter, uppercase poster */
h2{line-height:.88}
.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.9rem;color:#707072}
.statement p{line-height:.95}

/* cards, forms, sheet: square with hairline borders; inputs stay soft pills */
.card2,.formcard,.etype,.evbig,.mapbig,.mapcard,.bt,.qb,.visit>div,.gal figure,.slide,.sheet,.sheet-panel,.faq details{border-radius:0!important}
input,select,textarea{border-radius:1.125rem}
.chip,.filter-chip{border-radius:62.4375rem}

/* SPORTS: full-bleed photo cards, title over the picture */
.tiles{gap:0.375rem;grid-template-columns:1fr 1fr}
.tile,.tile.dk{border-radius:0;padding:0;min-height:min(86vh,47.5rem);background:#111;color:#fff;text-align:left;display:block}
.tile .pic{position:absolute;inset:0;margin:0;min-height:0;z-index:0}
.tile .pic:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.78) 100%)}
.tile h3,.tile p{position:absolute;left:clamp(1.25rem,3vw,2.5rem);right:clamp(1.25rem,3vw,2.5rem);z-index:5;margin:0;text-shadow:0 0.125rem 1.125rem rgba(0,0,0,.45)}
.tile h3{bottom:clamp(8rem,14vw,10rem);color:#fff;font-size:clamp(3rem,5.6vw,5.2rem);line-height:.86}
.tile p{bottom:clamp(4.75rem,8vw,5.75rem);color:rgba(255,255,255,.88)!important;max-width:34ch;font-size:1.02rem;line-height:1.35}
.pic-book{left:clamp(1.25rem,3vw,2.5rem);bottom:clamp(1.25rem,3vw,2.125rem);background:#fff!important;color:#111!important;border-radius:62.4375rem;padding:0.8125rem 1.75rem;font-size:1rem}
.pic-plus{right:clamp(1.25rem,3vw,2.125rem);bottom:clamp(1.25rem,3vw,2.125rem)}
@media(max-width:820px){.tiles{grid-template-columns:1fr}.tile,.tile.dk{min-height:min(78vh,38.75rem)}}

/* ===== PHONE & TABLET (no hover): jump bar, "in focus" card, press feedback ===== */
.sport-rail{position:sticky;z-index:40;display:flex;gap:0.5rem;overflow-x:auto;padding:0.625rem 1rem;margin:0 calc(-1 * var(--pad,1rem)) 0.5rem;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(0.875rem);backdrop-filter:blur(0.875rem);border-bottom:0.0625rem solid #e5e5e5;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sport-rail::-webkit-scrollbar{display:none}
.sport-rail button{flex:none;scroll-snap-align:center;border:0;border-radius:62.4375rem;padding:0.625rem 1.125rem;font:600 .95rem/1 var(--fh,inherit);background:#f5f5f5;color:#111;cursor:pointer;transition:background .25s,color .25s,transform .2s;-webkit-tap-highlight-color:transparent}
.sport-rail button.on{background:#111;color:#fff}
.sport-rail button:active{transform:scale(.95)}
@media(hover:hover) and (min-width:1025px){.sport-rail{display:none}}

@media(hover:none),(max-width:1024px){
  .tile .pic img,.tile .pic .fxvideo{transition:transform 7s cubic-bezier(.2,.6,.2,1)!important}
  .tile h3{transition:transform .6s cubic-bezier(.2,.7,.2,1),opacity .6s;transform:translateY(-0.375rem);opacity:.78}
  .tile p{transition:opacity .6s .1s;opacity:.55}
  .tile.in-focus .pic img,.tile.in-focus .pic .fxvideo{transform:scale(1.07)}
  .tile.in-focus h3{transform:none;opacity:1}
  .tile.in-focus p{opacity:1}
  .tile{transition:transform .25s ease;-webkit-tap-highlight-color:transparent}
  .tile.pressed{transform:scale(.985)}
}
/* tablets: two tall poster columns */
@media(min-width:700px) and (max-width:1024px){.tiles{grid-template-columns:1fr 1fr}.tile,.tile.dk{min-height:min(70vh,40rem)}}

/* ===== COPY LAYOUT ===== */
p[data-split] .ln{display:block}
p[data-split] .ln+.ln{margin-top:.28em}
h1,h2,h3,.eyebrow,.statement p,p[data-split]{text-wrap:balance}
section p:not([data-split]),.faq p,.card2 p{text-wrap:pretty;hyphens:manual;overflow-wrap:break-word}
.statement p{max-width:73.75rem;font-size:clamp(2.4rem,5.9vw,5rem)}
li,summary,.card2 li{text-wrap:pretty}
/* the vel flies in bigger than the screen: never allow sideways scrolling while it does */
html,body{overflow-x:clip}
.hero{overflow-x:clip}
/* the tagline under the logo must never wrap (the text-wrap rules above would otherwise override white-space:nowrap) */
section p.alogo-tag,.alogo-tag{text-wrap:nowrap!important;white-space:nowrap!important}
/* new sport photos: keep the athlete in frame when the card crops the picture */
.tile .pic img[src*="sec-cricket"],.sheet-img[src*="sec-cricket"]{object-position:38% 50%}
.tile .pic img[src*="sec-badminton"],.tile .pic img[src*="sec-pickleball"],.tile .pic img[src*="sec-tabletennis"],.tile .pic img[src*="sec-volleyball"],.tile .pic img[src*="sec-kickboxing"]{object-position:50% 30%}

/* tagline sits exactly where it is in the real logo: just under "SPORTS CENTER", spread over the width of the word-mark (not under the vel) */
.hero-logo{--lw:clamp(13.75rem,28vw,25rem);position:relative}
.hero-logo svg.alogo{width:var(--lw)}
.alogo-tag.alogo-tag{position:absolute;left:50%;top:calc(var(--lw)*.318);transform:translateX(-50%);width:var(--lw);margin:0;padding-right:calc(var(--lw)*.285);box-sizing:border-box;display:flex!important;justify-content:space-between;align-items:center;letter-spacing:0;font-size:clamp(.5rem,.95vw,.68rem);line-height:1}
.alogo-tag .sp{display:inline-block;width:.45em;flex:none}

/* sports cards: BLACK & WHITE until the mouse is over them, then colour (photos, videos and effects), exactly like the primary.
   Touch screens have no hover, so they stay in colour (the rules for that are in apple-extras.css and anim.css). */
@media(hover:hover){
  .tile .pic img,.tile .pic .fxvideo,.tile .pic .fxcanvas{-webkit-filter:grayscale(1);filter:grayscale(1);transition:-webkit-filter .6s ease,filter .6s ease}
  .tile:hover .pic img,.tile:focus-within .pic img,.tile:hover .pic .fxvideo,.tile:focus-within .pic .fxvideo,
}


/* client correction: "Go Beyond." and the tagline are written in normal capitals (capital G and B only, the rest small) */
.hero h1{text-transform:none}
.alogo-tag.alogo-tag{text-transform:none;font-size:clamp(.58rem,1.05vw,.74rem)}

/* all headings are written in normal capitals, exactly as typed ("Pick your game.", "Built to go beyond.") */
h1,h2,h3,.statement p,.stats b,.steps b,.tile h3,.etype h3,.sheet h3{text-transform:none}

h1,h2,h3,.statement p,.stats b,.steps b,.tile h3{word-spacing:.12em}

/* social icons */
.social-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:0.375rem 0 0.25rem;margin-top:0.375rem}
.social-row>span{font:800 1.05rem/1 var(--fh,inherit);letter-spacing:.01em}
.social{display:flex;gap:0.625rem;flex-wrap:wrap;margin-top:0.375rem}
.social-row .social{margin:0}
.social a{width:2.75rem;height:2.75rem;border:0.1rem solid currentColor;border-radius:50%;display:grid;place-items:center;color:inherit;text-decoration:none;transition:background .25s,color .25s,border-color .25s,transform .2s}
.social a:hover,.social a:focus-visible{background:#C80808;border-color:#C80808;color:#fff;transform:translateY(-0.125rem)}
.social a.empty{border-style:dashed;opacity:.55}

/* the picture's invisible "details" button (keyboard + screen reader) sits under the Book pill and the + */
.tile .pic .pic-hit{position:absolute;inset:0;z-index:3;width:100%;height:100%;background:transparent;border:0;padding:0;margin:0;cursor:pointer;-webkit-appearance:none;appearance:none;border-radius:0}
.tile .pic .pic-hit:focus-visible{outline:0.1875rem solid #0071e3;outline-offset:-0.1875rem}

/* readable greys (WCAG AA) */
.vmc small{color:#6e6e73}
.steps b{color:#8a8a8f}
/* on small screens the card text and the Book pill must never touch; taps on the words pass through to the button */
.tile h3,.tile p{pointer-events:none}
@media(max-width:820px){.tile p{bottom:clamp(6.125rem,26vw,7.25rem)}.tile h3{bottom:clamp(9.25rem,38vw,10.625rem)}}
.vmc.dk small{color:#a1a1a6}
.card2 small,.formcard small,.mapcard small{color:#6e6e73}

/* ---- counters: the infinity sign keeps turning; steps numbers get the same count-up as the stats ---- */
.stats b.inf{display:block;font-size:calc(clamp(4.5rem,12vw,9rem) * 1.3);line-height:.78;transform-origin:50% 50%}
@media (prefers-reduced-motion:no-preference){.stats b.inf.spin{animation:gobeInf 3.6s linear infinite}}
@keyframes gobeInf{from{transform:perspective(43.75rem) rotateY(0)}to{transform:perspective(43.75rem) rotateY(360deg)}}
.steps b{font-variant-numeric:tabular-nums}

/* ---- sport details popup on phones: bigger picture, no empty white gap ---- */
@media (max-width:760px){
  .sheet .sheet-panel,.sheet.has-scene .sheet-panel{height:auto;max-height:94vh;max-height:94svh;grid-template-rows:auto minmax(0,1fr)}
  .sheet .sheet-media{height:clamp(17.5rem,50vh,28.75rem);height:clamp(17.5rem,50svh,28.75rem)}
  .sheet .sheet-body{overflow:auto;justify-content:flex-start;padding:1.125rem 1.25rem 1.25rem}
  .sheet .sheet-cta{margin-top:1.25rem;padding-top:0}
}
/* ---- home hero: brand film, framed to fit the first screen, black and white until the mouse is over it ---- */
.hero .shot video.hero-film{display:block;width:100%;height:clamp(16.25rem,min(46vw,64svh),37.5rem);object-fit:cover;object-position:50% 40%;background:#000;border-radius:var(--r);-webkit-filter:grayscale(1);filter:grayscale(1);transition:-webkit-filter .6s ease,filter .6s ease,transform 1.2s cubic-bezier(.2,.7,.2,1);will-change:transform}


@media(max-width:760px){.hero .shot video.hero-film{height:clamp(15rem,62vw,26.25rem)}}
/* 10+ and 3 turn like the infinity sign */
.stats b.rot{display:block;text-align:center;line-height:.78;transform-origin:50% 50%}
@media (prefers-reduced-motion:no-preference){.stats b.rot.spin{animation:gobeInf 3.6s linear infinite}}

.stats > *{text-align:center}

/* same box height for 10+, 3 and the infinity sign, so the three captions sit on one line */
.stats b.rot,.stats b.inf{display:flex;align-items:center;justify-content:center;height:clamp(4.5rem,12vw,9rem);line-height:1;overflow:visible}
.stats b.inf{font-size:calc(clamp(4.5rem,12vw,9rem) * 1.3)}
.stats small{display:block;margin-top:0.875rem}
