/* ============================================
   SHOECIRCUIT — v3.1
   Anton (display) + Inter (body)
   Blue strictly as UI accent. Headers stay white.
   Video header + social strip + vertical clips
   Refs: Made Hoops × Overtime Elite × The Athletic
   ============================================ */

:root{
  --ink:        #0A0A0A;
  --surface:    #121212;
  --surface-2:  #181818;
  --line:       #222222;
  --line-2:     #2E2E2E;

  --text:       #F5F5F5;
  --text-2:     #B5B5B5;
  --text-3:     #707070;

  --blue:       #1D4ED8;
  --blue-2:     #2563EB;
  --blue-d:     #1E3A8A;
  --red:        #E11D2A;
  --paper:      #F5F5F5;

  --f-display:  'Anton', 'Impact', sans-serif;
  --f-body:     'Inter', system-ui, -apple-system, sans-serif;

  --pad:        clamp(1.25rem, 4vw, 4rem);
  --max:        1640px;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ overflow-x: clip; }

body{
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background: var(--blue); color: var(--paper); }

/* ============================================
   TICKER
   ============================================ */
.ticker{
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow:hidden;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
}
.ticker--top{
  padding-block: 10px;
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.ticker--bottom { padding-block: 14px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 0; }

.ticker__track{
  display:inline-flex;
  gap: 2.25rem;
  white-space: nowrap;
  animation: tickX 80s linear infinite;
  padding-left: 2.25rem;
  color: var(--text-2);
}
.ticker--top .ticker__track{ color: var(--ink); font-weight: 600; }
.ticker span{ display:inline-flex; align-items:center; gap:.6em; }
.ticker b{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 12px;
  color: var(--paper);
  background: var(--blue);
  padding: 4px 8px 2px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ticker--bottom .ticker__track{ animation-duration: 90s; color: var(--text-3); }
.ticker--bottom b{ background: var(--surface-2); color: var(--text-2); }

@keyframes tickX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   MASTHEAD
   ============================================ */
.masthead{
  position: sticky; top: 0; z-index: 80;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 14px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.logo{ display: inline-flex; align-items: center; gap: .55rem; color: var(--text); }
.logo__img,
.masthead .custom-logo,
.custom-logo-link .custom-logo,
img.custom-logo{
  height: 38px;
  width: auto;
  max-width: 240px;
  display: block;
}
/* WordPress wraps custom-logo in its own <a>; we don't want a nested anchor. */
.custom-logo-link{
  display: inline-flex;
  align-items: center;
}
.logo__mark{
  width: 34px; height: 34px;
  background: var(--blue);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .02em;
}
.logo__type{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .015em;
  text-transform: uppercase;
}
/* Footer logo can stay slightly larger */
.foot .logo__img{ height: 44px; }
.nav{
  display: flex; gap: 1.75rem; justify-content: center;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}
.nav a{
  position: relative;
  padding: 6px 0;
  color: var(--text-2);
  transition: color .15s;
}
.nav a:hover{ color: var(--text); }
.nav a::after{
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after{ transform: scaleX(1); }
.masthead__actions{ display: flex; align-items: center; gap: 12px; }
.masthead__icon{
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  transition: all .15s;
}
.masthead__icon:hover{ color: var(--blue-2); border-color: var(--blue); }
.masthead__cta{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 11px 18px;
  background: var(--blue);
  color: var(--paper);
  transition: background .15s;
}
.masthead__cta:hover{ background: var(--paper); color: var(--ink); }

/* Make <button> versions of masthead__icon look the same as <a>. */
button.masthead__icon{
  background: transparent;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

/* Hamburger button — desktop-hidden, shown <700px in the responsive block. */
.masthead__burger{
  display: none;
  width: 40px; height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  padding: 0;
  transition: border-color .15s;
}
.masthead__burger:hover{ border-color: var(--blue); }
.masthead__burger span{
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  transition: transform .2s, opacity .2s;
}

/* ============================================
   SEARCH OVERLAY + MOBILE DRAWER
   ============================================ */
/* CRITICAL: force display:none when the [hidden] attribute is set.
   The display:flex declarations below would otherwise outrank the
   browser-default [hidden]{display:none} rule and the overlays would
   render permanently open. */
.sc-search-overlay[hidden],
.sc-drawer[hidden]{ display: none !important; }

.sc-search-overlay,
.sc-drawer{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,10,18,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: sc-fade-in .18s ease-out;
}
@keyframes sc-fade-in{ from{ opacity: 0 } to{ opacity: 1 } }

/* Search overlay */
.sc-search-overlay{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(60px, 12vh, 140px) var(--pad) var(--pad);
}
.sc-search-overlay__close{
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.sc-search-overlay__close:hover{ border-color: var(--blue); color: var(--blue); }
.sc-search-overlay__form{
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sc-search-overlay__label{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-2);
}
.sc-search-overlay__input{
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--text);
  color: var(--text);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  padding: 10px 0;
  outline: none;
}
.sc-search-overlay__input::placeholder{ color: var(--text-2); opacity: .5; }
.sc-search-overlay__input:focus{ border-bottom-color: var(--blue); }
.sc-search-overlay__submit{
  align-self: flex-start;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 0;
  cursor: pointer;
  margin-top: 8px;
  transition: filter .15s;
}
.sc-search-overlay__submit:hover{ filter: brightness(1.15); }

/* Mobile drawer */
.sc-drawer{
  display: flex;
  flex-direction: column;
}
.sc-drawer__inner{
  width: 100%;
  height: 100%;
  padding: 70px var(--pad) var(--pad);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
}
.sc-drawer__close{
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.sc-drawer__close:hover{ border-color: var(--blue); color: var(--blue); }
.sc-drawer__search{
  display: flex;
  border: 1px solid var(--line-2);
}
.sc-drawer__search input[type=search]{
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
}
.sc-drawer__search input[type=search]::placeholder{ color: var(--text-2); opacity: .6; }
.sc-drawer__search button{
  width: 50px;
  background: var(--blue);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-drawer__nav{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.sc-drawer__nav a{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  transition: color .15s;
}
.sc-drawer__nav a:hover{ color: var(--blue); }
.sc-drawer__cta{
  align-self: flex-start;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 22px;
  text-decoration: none;
  margin-top: 4px;
  transition: filter .15s;
}
.sc-drawer__cta:hover{ filter: brightness(1.15); }

/* Body lock while overlays are open */
body.sc-no-scroll{ overflow: hidden; }

/* Inline search form on /?s= results page */
.sc-search-inline{
  display: flex;
  gap: 10px;
  border: 1px solid var(--line-2);
  padding: 4px;
  max-width: 640px;
}
.sc-search-inline input[type=search]{
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 10px 12px;
  outline: none;
}
.sc-search-inline input[type=search]::placeholder{ color: var(--text-2); opacity: .55; }
.sc-search-inline button{
  background: var(--blue);
  color: var(--paper);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  padding: 0 18px;
}
.sc-search-inline button:hover{ filter: brightness(1.15); }

/* ============================================
   HERO VIDEO — Made Hoops style full-bleed video header
   ============================================ */
.hero-video{
  position: relative;
  background: #000;
  width: 100%;
  aspect-ratio: 21/9;
  max-height: 720px;
  min-height: 420px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-video__frame{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
.hero-video__frame iframe,
.hero-video__el{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;     /* fills the hero box without letterboxing */
  background: #000;
}
/* Invisible overlay that catches clicks → opens BallerTube */
.hero-video__click{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-video__overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad) clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(to top, rgba(10,10,10,.95) 0%, rgba(10,10,10,.7) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  z-index: 2;
  pointer-events: none;
}
.hero-video__chip{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--paper);
  padding: 6px 10px 4px;
  align-self: flex-start;
  pointer-events: auto;
}
.hero-video__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0;
  max-width: 22ch;
  pointer-events: auto;
}
.hero-video__meta{
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  pointer-events: auto;
}
.hero-video__meta b{ color: var(--paper); font-weight: 700; }
.dot{ width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); display: inline-block; }
.hero-video__live{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 2px;
  background: var(--red);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 2px;
}
.hero-video__live::before{
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--paper);
  animation: pulse 1.6s infinite;
}

/* ============================================
   SOCIAL STRIP — Made Hoops style follow + feed
   ============================================ */
.social-strip{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 3rem) var(--pad);
}
.social-strip__inner{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: center;
}
.social-strip__cta{ display: flex; flex-direction: column; gap: .65rem; }
.social-strip__kicker{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.social-strip__kicker::before{ content: ''; width: 18px; height: 2px; background: var(--blue); }
.social-strip__cta h3{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
}
.social-strip__cta p{
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
}
.social-strip__links{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: .5rem;
}
.social-link{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px 8px;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--line-2);
  transition: all .15s;
}
.social-link:hover{ border-color: var(--blue); }
.social-link svg{ width: 16px; height: 16px; flex-shrink: 0; color: var(--text-2); }
.social-link:hover svg{ color: var(--blue-2); }
.social-link b{ color: var(--text-3); font-weight: 500; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }

.social-strip__feed{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.social-post{
  position: relative;
  aspect-ratio: 1/1;
  background: var(--ink);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .2s;
}
.social-post:hover{ transform: translateY(-2px); border-color: var(--line-2); }
.social-post img{ width: 100%; height: 100%; object-fit: cover; }
.social-post__platform{
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(10,10,10,.85);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.social-post__platform svg{ width: 12px; height: 12px; }

/* ============================================
   LIVE STRIP
   ============================================ */
.livestrip{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.livestrip__label{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--blue-2);
  padding: 11px 18px;
  border-right: 1px solid var(--line);
}
.pulse{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(29,78,216,.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(29,78,216,.7); }
  70%  { box-shadow: 0 0 0 7px rgba(29,78,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,78,216,0); }
}
.livestrip__scroll{ overflow: hidden; }
.livestrip__track{
  display: inline-flex;
  gap: 2.25rem;
  white-space: nowrap;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  padding: 11px 1.25rem;
  animation: tickX 50s linear infinite;
  color: var(--text-2);
}
.livestrip b{
  font-family: var(--f-body);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============================================
   SECTION SCAFFOLDING
   ============================================ */
.section{ padding-bottom: clamp(3rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.section:last-of-type{ border-bottom: 0; }

.section__head{
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--pad) clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.section__head-l{ display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; }
.section__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.25vw, 3rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
}
.section__sub{
  font-family: var(--f-body);
  font-size: .95rem;
  color: var(--text-2);
  margin: 0;
  max-width: 48ch;
}
.section__more{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 2px solid var(--blue);
  transition: gap .15s, color .15s;
}
.section__more:hover{ gap: 14px; color: var(--blue-2); }
/* Bottom-of-block "view all" button — centered, more prominent */
.section__more--bottom{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2.5rem auto 0;
  padding: 13px 22px 12px;
  border: 1px solid var(--line-2);
  border-bottom: 2px solid var(--blue);
  background: transparent;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  transition: all .15s;
}
.section__more--bottom:hover{
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
  gap: 14px;
}
.section__more-wrap{
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding: 0 var(--pad);
}

.section__body{
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.25rem, 2.5vw, 2rem) var(--pad) 0;
}

/* ============================================
   MOBILE TAG CLOUD — only visible on small screens
   Sits under the hero video as quick nav to sections.
   Container has an animated blue gradient + glowing
   radial lights; tags pulse in sequence.
   ============================================ */
.tag-cloud{
  display: none;
  position: relative;
  padding: 1.5rem var(--pad);
  background: linear-gradient(120deg, #050a1a 0%, #0a1c3d 35%, #060d23 70%, #050a1a 100%);
  background-size: 220% 100%;
  border-top: 1px solid rgba(29, 78, 216, .35);
  border-bottom: 1px solid rgba(29, 78, 216, .35);
  overflow: hidden;
  animation: tag-cloud-shift 9s ease-in-out infinite;
}
.tag-cloud::before{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(29, 78, 216, .35), transparent 55%),
    radial-gradient(circle at 85% 50%, rgba(37, 99, 235, .25), transparent 55%);
  animation: tag-cloud-glow 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.tag-cloud::after{
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, .12) 50%, transparent 100%);
  animation: tag-cloud-scan 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.tag-cloud__inner{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tag-cloud a{
  position: relative;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 11px 16px 10px;
  color: var(--text);
  background: rgba(10, 10, 10, .55);
  border: 1px solid rgba(96, 165, 250, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .15s ease, background .2s, color .2s;
  animation: tag-pulse 2.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(29, 78, 216, 0);
}
.tag-cloud a:nth-child(1){ animation-delay: 0s; }
.tag-cloud a:nth-child(2){ animation-delay: 0.35s; }
.tag-cloud a:nth-child(3){ animation-delay: 0.7s; }
.tag-cloud a:nth-child(4){ animation-delay: 1.05s; }
.tag-cloud a:nth-child(5){ animation-delay: 1.4s; }

.tag-cloud a:hover,
.tag-cloud a:active{
  background: var(--blue);
  color: var(--paper);
  border-color: var(--blue);
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(37, 99, 235, .75);
  animation: none;
}

@keyframes tag-cloud-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes tag-cloud-glow {
  0%   { opacity: .55; }
  100% { opacity: 1; }
}
@keyframes tag-cloud-scan {
  0%   { left: -30%; }
  100% { left: 100%; }
}
@keyframes tag-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(29, 78, 216, 0);
    border-color: rgba(96, 165, 250, .45);
  }
  50% {
    box-shadow: 0 0 22px 0 rgba(37, 99, 235, .55);
    border-color: rgba(96, 165, 250, 1);
  }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce){
  .tag-cloud,
  .tag-cloud::before,
  .tag-cloud::after,
  .tag-cloud a{
    animation: none !important;
  }
  .tag-cloud a{ border-color: rgba(96, 165, 250, .7); }
}

/* ============================================
   CHIPS
   ============================================ */
.chips{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.75rem; }
.chip{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 13px 7px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover{ border-color: var(--text); color: var(--text); }
.chip.is-active{ background: var(--blue); color: var(--paper); border-color: var(--blue); }
/* When .chip is a <button> (e.g. homepage news filter), reset native styles
   so it matches the <a>-based chips elsewhere. */
button.chip{
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  line-height: 1;
  font: inherit;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Empty-state placeholder for the homepage news filter — only shown when
   the selected circuit chip has zero published posts. Anton display face
   so it reads as a deliberate "slot", not a missing element.
   CRITICAL: the [hidden] override forces display:none when JS toggles the
   attribute on (otherwise our display:flex below wins via specificity and
   the placeholder shows even when there ARE posts). */
.news__empty[hidden]{ display: none !important; }
.news__empty{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin: 0 var(--pad) 1.5rem;
  border: 1px dashed var(--line-2);
  background: rgba(255,255,255,0.02);
}
.news__empty-kicker{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1;
}

/* ============================================
   NEWS — 3 cards desktop (1 row), horizontal scroll mobile
   ============================================ */
.news__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: max-content;
  gap: 2rem 1.75rem;
}
/* Render 6 posts in PHP but only show 3 on desktop (1 row). */
.news__grid > :nth-child(n+4){ display: none; }
.card{ display: flex; flex-direction: column; gap: 1rem; background: transparent; }
.card__img{
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a2e, #0f0f1c);
  overflow: hidden;
  border: 1px solid var(--line);
}
.card__img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__img img{ transform: scale(1.03); }
.card__chip{
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--paper);
  padding: 5px 9px 3px;
}
.card__body{ display: flex; flex-direction: column; gap: .65rem; }
.card__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
  transition: color .15s;
}
.card:hover .card__title{ color: var(--blue-2); }
.card__excerpt{
  font-family: var(--f-body);
  font-size: .95rem;
  line-height: 1.45;
  color: var(--text-2);
  margin: 0;
}
.card__meta{
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.card__meta b{ font-weight: 700; color: var(--text-2); }

/* ============================================
   CLIPS — vertical (9:16) TikTok / Reels row
   Horizontally scrollable for that swipe-y feel
   ============================================ */
.clips{
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  /* extend bleed to the page edge on the right so the last card hints "more" */
  margin-right: calc(var(--pad) * -1);
  padding-right: var(--pad);
  scrollbar-color: var(--blue) var(--surface);
  scrollbar-width: thin;
}
.clips::-webkit-scrollbar{ height: 6px; }
.clips::-webkit-scrollbar-track{ background: var(--surface); }
.clips::-webkit-scrollbar-thumb{ background: var(--blue); border-radius: 3px; }
.clips > .clip{
  flex: 0 0 calc((100% - 4rem) / 5);
  scroll-snap-align: start;
  min-width: 200px;
  max-width: 280px;
}
.clip{
  position: relative;
  display: block;
  aspect-ratio: 9/16;
  background: var(--surface);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.clip:hover{ transform: translateY(-3px); border-color: var(--blue); }
.clip__img{ position: absolute; inset: 0; }
.clip__img img{ width: 100%; height: 100%; object-fit: cover; }
.clip__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem .9rem;
}
.clip__platform{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(10,10,10,.85);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
}
.clip__platform svg{ width: 13px; height: 13px; }
.clip__views{
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(10,10,10,.85);
  color: var(--paper);
  padding: 4px 7px 3px;
}
.clip__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: .95rem;
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 .3rem;
}
.clip__meta{
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ============================================
   RANKINGS / STANDINGS — Overtime Elite style
   Beefier rows, bigger team marks
   ============================================ */
.rank-tabs{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.25rem; }
.rank-tabs button{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 13px 7px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: all .15s;
}
.rank-tabs button:hover{ border-color: var(--text); color: var(--text); }
.rank-tabs button[aria-selected="true"]{ background: var(--blue); border-color: var(--blue); color: var(--paper); }

/* Class-year sub-tabs (Boys/Girls only) — smaller pill row under the main tabs */
.rank-classtabs{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 1rem;
}
.rank-classtabs button{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px 4px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: all .15s;
  min-width: 44px;
  text-align: center;
}
.rank-classtabs button:hover{ border-color: var(--text); color: var(--text); }
.rank-classtabs button[aria-selected="true"]{
  background: var(--blue);
  color: var(--paper);
  border-color: var(--blue);
}
/* Inverted standings — class tabs adapt to light bg */
.standings-inverted .rank-classtabs button{
  color: rgba(0,0,0,.55);
  border-color: rgba(0,0,0,.18);
}
.standings-inverted .rank-classtabs button:hover{
  color: var(--ink);
  border-color: var(--ink);
}
.standings-inverted .rank-classtabs button[aria-selected="true"]{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Hide stat-inline (mobile-only line 2 placement) by default; mobile CSS reveals it */
.rank-row__name-stat{ display: none; }

.rank-classpanel[hidden]{ display: none !important; }
.rank-yearpanel[hidden]{ display: none !important; }

/* Class-year filter strip (smaller pills, sits under the Boys/Girls tabs) */
.rank-yeartabs{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: .75rem 0 1.25rem;
}
.rank-yeartabs button{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 11px 5px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: all .15s;
}
.rank-yeartabs button:hover{ border-color: var(--text); color: var(--text); }
.rank-yeartabs button[aria-selected="true"]{
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}
.standings-inverted .rank-yeartabs button{
  color: rgba(0,0,0,.55);
  border-color: rgba(0,0,0,.18);
}
.standings-inverted .rank-yeartabs button:hover{
  color: var(--ink);
  border-color: var(--ink);
}
.standings-inverted .rank-yeartabs button[aria-selected="true"]{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Class-year sub-headers — now only used in legacy / fallback cases */
.rank-classyear{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 1.75rem 0 .5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.rank-classyear:first-child{ margin-top: .5rem; }
.standings-inverted .rank-classyear{
  color: rgba(0,0,0,.55);
  border-bottom-color: rgba(0,0,0,.12);
}

/* ============================================
   STANDINGS FOOTER — bottom row with "Full Standings"
   + animated "Got a player to add?" CTA
   ============================================ */
.standings__footer{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin: 2.5rem 0 .5rem;
}
.standings__more{ margin: 0 !important; }

.standings__add-player{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 12px 16px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(110deg, var(--blue) 0%, var(--blue-2) 45%, var(--blue) 100%);
  background-size: 220% 100%;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate; /* contains the sparkle */
  animation:
    sc-add-shimmer 4s linear infinite,
    sc-add-pulse 2.4s ease-in-out infinite;
  transition: transform .2s ease;
}
.standings__add-player:hover{
  transform: scale(1.05) translateY(-2px);
  animation-play-state: paused;
  box-shadow: 0 0 36px 6px rgba(37, 99, 235, .65);
}
.standings__add-player-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  animation: sc-add-bounce 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.standings__add-player-label{ position: relative; z-index: 1; }
.standings__add-player-sparkle{
  /* a soft moving highlight that sweeps across the button */
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, transparent 35%, rgba(255,255,255,.32) 50%, transparent 65%, transparent 100%);
  transform: translateX(-100%);
  animation: sc-add-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes sc-add-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes sc-add-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
  50%      { box-shadow: 0 0 28px 4px rgba(37, 99, 235, .55); }
}
@keyframes sc-add-bounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-3px) rotate(90deg); }
}
@keyframes sc-add-sweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Don't animate when the user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .standings__add-player,
  .standings__add-player-icon,
  .standings__add-player-sparkle{
    animation: none !important;
  }
}

/* Inverted standings (white slab) — same animated button works, no overrides needed */

/* Player row variant — name / team / circuit, plus a small movement chip on the right */
.rank-row--player{
  grid-template-columns: 50px 56px 1fr auto !important;
}
/* Player name uses Inter (lighter) instead of Anton (too heavy on desktop) */
.rank-row--player .rank-row__name b{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -.005em;
  text-transform: none;
  color: var(--text);
}
.standings-inverted .rank-row--player .rank-row__name b{ color: var(--ink); }
.rank-row--player .rank-row__player-team{
  display: block;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 2px;
}
.rank-row--player .rank-row__player-circuit{
  display: inline-block;
  margin-top: 6px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--blue);
  padding: 3px 8px 2px;
  width: max-content;
}
/* Per-circuit brand colors */
.rank-row__player-circuit--eybl       { background: var(--blue); color: var(--paper); }
.rank-row__player-circuit--3ssb       { background: var(--paper); color: var(--ink); border: 1px solid rgba(0,0,0,.15); }
.rank-row__player-circuit--ua-rise    { background: var(--red); color: var(--paper); }
.rank-row__player-circuit--ua-next    { background: var(--red); color: var(--paper); }
.rank-row__player-circuit--nb-p32     { background: var(--paper); color: var(--ink); border: 1px solid rgba(0,0,0,.15); }
.rank-row__player-circuit--lady-p32   { background: var(--paper); color: var(--ink); border: 1px solid rgba(0,0,0,.15); }
.rank-row__player-circuit--puma-pro16 { background: #C79A3A; color: var(--ink); }
.rank-row__player-circuit--puma-nxtpro{ background: #C79A3A; color: var(--ink); }
.rank-row__player-circuit--independent{ background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line-2); }

.standings-inverted .rank-row--player .rank-row__player-team{ color: rgba(0,0,0,.7); }
/* On the white standings block, flip the paper-on-dark circuits to dark-on-dark so they still pop */
.standings-inverted .rank-row__player-circuit--3ssb,
.standings-inverted .rank-row__player-circuit--nb-p32,
.standings-inverted .rank-row__player-circuit--lady-p32{
  background: var(--ink);
  color: var(--paper);
  border: 0;
}
.standings-inverted .rank-row__player-circuit--independent{
  background: rgba(0,0,0,.08);
  color: rgba(0,0,0,.65);
  border-color: rgba(0,0,0,.12);
}

.rank-updated{
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 1rem;
}
.rank-updated b{ color: var(--text); font-weight: 700; }

.rank-panel[hidden]{ display: none !important; }
.rank-table{
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.rank-row{
  display: grid;
  grid-template-columns: 50px 56px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .15s, padding-left .15s;
}
.rank-row:hover{
  background: linear-gradient(to right, rgba(29,78,216,.06), transparent 50%);
  padding-left: .5rem;
}
.rank-row__num{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: .01em;
  color: var(--text-2);
}
.rank-row__avatar{
  width: 52px; height: 52px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
}
.rank-row__avatar--blue{ background: var(--blue); color: var(--paper); border-color: var(--blue); }
.rank-row__avatar--paper{ background: var(--paper); color: var(--ink); border-color: var(--paper); }
.rank-row__avatar--red{ background: var(--red); color: var(--paper); border-color: var(--red); }
.rank-row__name{ display: flex; flex-direction: column; gap: 4px; }
.rank-row__name b{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
}
.rank-row__meta{
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.rank-row__stat{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-align: right;
  color: var(--text);
}
.rank-row__stat span{
  display: block;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}
.rank-row__move{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  white-space: nowrap;
  min-width: 52px;
  text-align: right;
}
.move--up   { color: var(--blue-2); }
.move--down { color: var(--text-3); }
.move--same { color: var(--text-3); }
.move--new  { color: var(--red); }

/* ============================================
   RANK ROW IMAGE (replaces initials avatar)
   ============================================ */
.rank-row__img{
  width: 52px; height: 52px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-row__img--player   { border-radius: 50%; }
.rank-row__img--square   { border-radius: 6px; }
.rank-row__img--team     { border-radius: 8px; }
/* Circuit logo fallback — sits on a light surface with padding so the logo doesn't get cropped */
.rank-row__img--logo{
  background: var(--paper);
  padding: 4px;
}
.rank-row__img--logo img{
  object-fit: contain !important;
  background: transparent;
}
.standings-inverted .rank-row__img--logo{
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
}
.rank-row__img--circuit  { border-radius: 50%; }
.rank-row__img--coach    { border-radius: 50%; }
.rank-row__img--shoe,
.rank-row__img--jersey   { border-radius: 4px; background: #efe9dc; }
.rank-row__img img,
.rank-row__img svg{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   STANDINGS — INVERTED (paper bg, ink text)
   Full-bleed white slab that pops against dark page
   ============================================ */
.standings-inverted{
  background: var(--paper);
  color: var(--ink);
  border: 0 !important;
}
.standings-inverted .section__head{ border-bottom: 1px solid rgba(0,0,0,.1); }
.standings-inverted .section__title{ color: var(--ink); }
.standings-inverted .section__sub{ color: rgba(0,0,0,.55); }
.standings-inverted .section__more{
  color: var(--ink);
  border-bottom-color: var(--blue);
}
.standings-inverted .section__more:hover{ color: var(--blue); }
.standings-inverted .rank-updated{ color: rgba(0,0,0,.5); }
.standings-inverted .rank-updated b{ color: var(--ink); }
.standings-inverted .rank-tabs button{
  color: rgba(0,0,0,.6);
  border-color: rgba(0,0,0,.15);
}
.standings-inverted .rank-tabs button:hover{ color: var(--ink); border-color: var(--ink); }
.standings-inverted .rank-tabs button[aria-selected="true"]{
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.standings-inverted .rank-table{ border-top-color: rgba(0,0,0,.1); }
.standings-inverted .rank-row{ border-bottom-color: rgba(0,0,0,.08); }
.standings-inverted .rank-row:hover{
  background: linear-gradient(to right, rgba(29,78,216,.06), transparent 50%);
}
.standings-inverted .rank-row__num{ color: rgba(0,0,0,.35); }
.standings-inverted .rank-row__name b{ color: var(--ink); }
.standings-inverted .rank-row__meta{ color: rgba(0,0,0,.5); }
.standings-inverted .rank-row__stat{ color: var(--ink); }
.standings-inverted .rank-row__stat span{ color: rgba(0,0,0,.5); }
.standings-inverted .rank-row__img{
  background: #ECEAE3;
  border-color: rgba(0,0,0,.1);
}
.standings-inverted .rank-row__img--shoe,
.standings-inverted .rank-row__img--jersey{ background: #DCD6C6; }

/* ============================================
   PARTNERS — bottom logo bar
   ============================================ */
.partners{
  background: var(--ink);
  padding: clamp(2.5rem, 4vw, 3.5rem) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners__inner{
  max-width: var(--max);
  margin: 0 auto;
}
.partners__kicker{
  text-align: center;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
}
.partners__kicker::before,
.partners__kicker::after{
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: var(--line-2);
}
.partners__grid{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2rem 1.5rem;
  align-items: center;
  justify-items: center;
}
.partner{
  width: 100%;
  max-width: 110px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  filter: grayscale(1);
  opacity: .55;
  transition: filter .2s, opacity .2s, color .2s;
  cursor: pointer;
}
.partner:hover{
  filter: grayscale(0);
  opacity: 1;
  color: var(--paper);
}
.partner svg{ max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }

/* ============================================
   VIDEOS
   ============================================ */

/* Videos archive — featured slot at the top of /videos/ */
.video-featured{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0 var(--pad) 1.5rem;
}
.video-featured__frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1px solid var(--line-2);
  overflow: hidden;
}
/* Use object-fit:contain so the BallerTube cover image / poster shows in
   full inside the 16:9 frame (no edge-cropping on portrait-ratio thumbs). */
.video-featured__frame video,
.video-featured__frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
  border: 0;
  display: block;
}
.video-featured__meta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
}
.video-featured__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: .25rem 0 0;
}
.video-featured__title a{ color: inherit; text-decoration: none; }
.video-featured__title a:hover{ color: var(--blue); }
.video-featured__byline{
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0;
}
.video-featured__cta{
  display: inline-flex;
  align-items: center;
  padding: .85rem 1.25rem;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .15s;
}
.video-featured__cta:hover{ filter: brightness(1.12); }

/* When a grid thumbnail 404s (BallerTube poster wasn't generated for some
   IDs), the inline onerror handler hides the img — but the wrapping frame
   stays put with its dark background + centered play button, so the card
   looks intentional instead of broken. */
.video__img img[data-broken]{ display: none; }

.videos-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 var(--pad);
}

.videos__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.video{ display: flex; flex-direction: column; gap: .65rem; }
.video--featured{ grid-column: span 2; grid-row: span 2; }
.video__img{
  position: relative;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  overflow: hidden;
  border: 1px solid var(--line-2);
  cursor: pointer;
}
.video--featured .video__img{ aspect-ratio: 16/10; }
.video__img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video__img:hover img{ transform: scale(1.03); }
.video__play{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(10,10,10,.85);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--paper);
  transition: background .15s, transform .15s, border-color .15s;
}
.video--featured .video__play{ width: 68px; height: 68px; }
.video__img:hover .video__play{
  background: var(--blue);
  border-color: var(--blue);
  transform: translate(-50%,-50%) scale(1.06);
}
.video__duration{
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(10,10,10,.85);
  color: var(--paper);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 3px 7px;
}
.video__chip{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.video__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(.95rem, 1.2vw, 1.2rem);
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
}
.video--featured .video__title{ font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1; }
.video__meta{
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============================================
   EVENTS
   ============================================ */
.events{ list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.event{
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .15s, padding-left .15s;
}
.event:hover{
  background: linear-gradient(to right, rgba(29,78,216,.06), transparent 50%);
  padding-left: .5rem;
}
.event__date{ display: flex; flex-direction: column; line-height: 1; }
.event__date span{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 5px;
}
.event__date b{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2.4rem;
  letter-spacing: .01em;
  color: var(--text);
}
.event__main h3{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
  color: var(--text);
}
.event__loc{
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--text-3);
}
.event__chip{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 9px 4px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line-2);
}
.event__cta{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .15s, color .15s;
}
.event__cta:hover{ gap: 12px; color: var(--blue-2); }

/* ============================================
   MERCH
   ============================================ */
.merch__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product{ display: flex; flex-direction: column; gap: .75rem; }
.product__img{
  position: relative;
  aspect-ratio: 1/1;
  background: var(--surface);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .15s;
  display: block;
}
.product__img img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.product:hover .product__img{ border-color: var(--line-2); }
.product:hover .product__img img{ transform: scale(1.04); }
.product__placeholder{
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--text);
}
.product__placeholder small{
  display: block;
  margin-top: 8px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.product__badge{
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px 3px;
  background: var(--blue);
  color: var(--paper);
}
.product__body{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product__tag{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.product__tag--bestseller{ color: #F5C04C; }
.product__tag--limited{ color: var(--red); }
.product__name-row{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .75rem;
}
.product__body h3{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
}
.product__price{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: var(--text);
}

/* ============================================
   MERCH PROMO — Battle Sports-style featured banner
   Hero product call-out at the top of the shop section
   ============================================ */
.merch-promo{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: border-color .2s;
  text-decoration: none;
  color: inherit;
}
.merch-promo:hover{ border-color: var(--blue); }
.merch-promo__img{
  position: relative;
  aspect-ratio: 16/10;
  background: var(--surface-2);
  overflow: hidden;
}
.merch-promo__img img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.merch-promo:hover .merch-promo__img img{ transform: scale(1.03); }
.merch-promo__copy{
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .9rem;
}
.merch-promo__kicker{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.merch-promo__kicker::before{ content: ''; width: 18px; height: 2px; background: var(--blue); }
.merch-promo__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text);
}
.merch-promo__lede{
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}
.merch-promo__cta{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 3px;
  width: max-content;
  transition: gap .15s;
}
.merch-promo:hover .merch-promo__cta{ gap: 14px; }

/* ============================================
   NEWSLETTER
   ============================================ */
.cta{
  background: var(--surface);
  padding: clamp(3rem, 5vw, 4rem) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta__inner{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.cta__kicker{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .9rem;
}
.cta__kicker::before{ content: ''; width: 18px; height: 2px; background: var(--blue); }
.cta__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .85rem;
  color: var(--text);
}
.cta__lede{
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}
.cta__form{ display: flex; flex-direction: column; gap: 12px; }
.cta__input{
  background: var(--ink);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s;
}
.cta__input:focus{ border-color: var(--blue); }
.cta__input::placeholder{ color: var(--text-3); }
.cta__btn{
  border: 0;
  padding: 14px 22px 13px;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
  transition: background .15s, gap .15s;
}
.cta__btn:hover{ background: var(--paper); color: var(--ink); gap: 14px; }
.cta__fine{
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-3);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.foot{ background: var(--ink); padding-top: 3rem; }
.foot__top{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 3rem;
}
.foot__brand p{
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 1rem 0 0;
  max-width: 32ch;
}
.foot__cols{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.foot__cols h4{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 .9rem;
}
.foot__cols a{
  display: block;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  padding: 4px 0;
  color: var(--text);
  transition: color .15s;
}
.foot__cols a:hover{ color: var(--blue-2); }
.foot__bottom{
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem var(--pad);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--text-3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px){
  .hero-video{ aspect-ratio: 16/9; }
  .social-strip__inner{ grid-template-columns: 1fr; gap: 1.5rem; }
  .social-strip__feed{ grid-template-columns: repeat(6, 1fr); }
  .clips{ grid-template-columns: repeat(4, 1fr); }
  .clips > :nth-child(5){ display: none; }
  .news__grid{ grid-template-columns: repeat(2, 1fr); }
  .videos__grid{ grid-template-columns: repeat(2, 1fr); }
  .videos-grid{ grid-template-columns: repeat(2, 1fr); }
  .video--featured{ grid-column: span 2; grid-row: span 1; }
  .merch__grid{ grid-template-columns: repeat(2, 1fr); }
  .merch-promo{ grid-template-columns: 1fr; }
  .partners__grid{ grid-template-columns: repeat(4, 1fr); }
  .clips > .clip{ flex: 0 0 calc((100% - 3rem) / 4); }
  /* News stays 3-col on tablet but cap to first 3 */
  .news__grid{ grid-template-columns: repeat(2, 1fr); }
  .news__grid > :nth-child(n+3){ display: none; }
  .cta__inner{ grid-template-columns: 1fr; }
  .foot__top{ grid-template-columns: 1fr; }
}
@media (max-width: 700px){
  .nav{ display: none; }
  .tag-cloud{ display: block; }
  /* Hamburger visible on phones; subscribe button hidden (drawer has it). */
  .masthead__burger{ display: inline-flex; }
  .masthead__cta{ display: none; }
  .masthead__actions{ gap: 8px; }
  .hero-video{ aspect-ratio: 4/5; min-height: 480px; }
  .hero-video__title{ font-size: 9vw; }
  .social-strip__feed{ grid-template-columns: repeat(3, 1fr); }
  .clips{ grid-template-columns: repeat(2, 1fr); }
  .clips > :nth-child(n+5){ display: none; }
  .news__grid{ grid-template-columns: 1fr; }
  .videos__grid{ grid-template-columns: 1fr; }
  .videos-grid{ grid-template-columns: 1fr; }
  .video--featured{ grid-column: span 1; }
  .merch__grid{ grid-template-columns: 1fr 1fr; }
  .clips > .clip{ flex: 0 0 60%; min-width: 0; }
  .partners__grid{ grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }

  /* News on mobile: horizontal scroll, all 6 visible, one row only */
  .news__grid{
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    gap: 1rem !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
    scrollbar-color: var(--blue) var(--surface);
    scrollbar-width: thin;
  }
  .news__grid::-webkit-scrollbar{ height: 6px; }
  .news__grid::-webkit-scrollbar-track{ background: var(--surface); }
  .news__grid::-webkit-scrollbar-thumb{ background: var(--blue); border-radius: 3px; }
  .news__grid > :nth-child(n+4){ display: flex !important; }  /* show all 6 again */
  .news__grid > .card{
    flex: 0 0 78%;
    scroll-snap-align: start;
    min-width: 0;
  }
  .event{ grid-template-columns: 60px 1fr; grid-template-areas: "date main" "chip cta"; row-gap: .8rem; }
  .event__date{ grid-area: date; }
  .event__main{ grid-area: main; }
  .event__chip{ grid-area: chip; justify-self: start; }
  .event__cta{ grid-area: cta; justify-self: end; }
  .foot__cols{ grid-template-columns: 1fr 1fr; }
  .section__head{ flex-direction: column; align-items: flex-start; }
  .section__head .section__more{
    font-size: 11px;
    padding: 4px 0;
    border-bottom-width: 1px;
    letter-spacing: .06em;
  }

  /* Logo gets smaller on mobile */
  .logo__img,
  .masthead .custom-logo,
  .custom-logo-link .custom-logo,
  img.custom-logo{
    height: 26px !important;
    max-width: 150px;
  }
  .foot .logo__img,
  .foot .custom-logo{ height: 32px !important; max-width: 180px; }

  /* Rank rows on mobile — three lines stacked inside the name column:
     line 1 = name (bold)
     line 2 = stat value + label
     line 3 = meta
     num + avatar on the left, movement chip on the right. */
  .rank-row{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: .7rem !important;
    padding: .9rem 0 !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    grid-template-rows: none !important;
  }
  .rank-row > *{ grid-area: auto !important; }
  .rank-row__num{
    flex: 0 0 32px !important;
    font-size: 1.4rem;
    align-self: center !important;
  }
  .rank-row__img,
  .rank-row__avatar{
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 12px;
    align-self: center !important;
  }
  .rank-row__name{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
  }
  .rank-row__name b{
    display: block !important;
    font-size: 1rem;
    line-height: 1.1;
    word-break: break-word;
  }
  /* Mobile: show the in-name stat line (was hidden on desktop) */
  .rank-row__name-stat{
    display: block !important;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: .9rem;
    line-height: 1.1;
    letter-spacing: .005em;
    text-transform: uppercase;
    color: var(--text);
  }
  .rank-row__name-stat > span{
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--text-3);
    margin-left: .35em;
    text-transform: uppercase;
  }
  /* Hide the separate stat column — its content already shows in line 2 */
  .rank-row__stat{ display: none !important; }
  .rank-row__meta{
    display: block !important;
    font-size: 10px;
    line-height: 1.3;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
    color: var(--text-3);
  }
  .rank-row__move{
    flex: 0 0 auto !important;
    font-size: 11px;
    min-width: 40px;
    padding: 3px 5px 2px;
    text-align: center;
    align-self: center !important;
  }
  /* Inverted standings on mobile — adapt stat/meta colors to light bg */
  .standings-inverted .rank-row__name-stat{ color: var(--ink); }
  .standings-inverted .rank-row__name-stat > span{ color: rgba(0,0,0,.55); }
  .standings-inverted .rank-row__meta{ color: rgba(0,0,0,.55); }
}

/* ============================================
   SHOP PAGE (v1.5.1) — Battle-Sports-style layout
   ============================================ */

/* 1. HERO */
.shop-hero{
  position: relative;
  min-height: clamp(380px, 60vh, 640px);
  display: flex;
  align-items: flex-end;
  background-color: #0a0a0a;
  background-image: var(--shop-hero-img, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.shop-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,18,0) 30%, rgba(8,10,18,.82) 100%);
  pointer-events: none;
}
.shop-hero__inner{
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 0 var(--pad) clamp(40px, 8vh, 88px);
}
.shop-hero__kicker{
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--paper);
  padding: 6px 12px;
  margin-bottom: 18px;
}
.shop-hero__title{
  font-family: var(--f-display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(40px, 7.2vw, 92px);
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.shop-hero__sub{
  font-family: var(--f-body);
  color: rgba(255,255,255,.84);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 640px;
  margin: 0 0 26px;
}
.shop-hero__cta{
  display: inline-block;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 14px 22px;
  text-decoration: none;
  transition: filter .15s;
}
.shop-hero__cta:hover{ filter: brightness(1.15); }
.shop-hero__ship{
  position: absolute;
  top: 18px;
  right: var(--pad);
  z-index: 1;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.45);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.18);
}

/* Generic shop section header — shared by Best Sellers / Suit Up / As Worn */
.shop-section{
  padding: clamp(50px, 8vw, 96px) var(--pad) 0;
}
.shop-section__head{
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.shop-section__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--text);
  margin: 0;
}
.shop-section__sub{
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
}

/* 2. BEST SELLERS — horizontal scroll rail */
.shop-rail{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.shop-rail::-webkit-scrollbar{ height: 6px; }
.shop-rail::-webkit-scrollbar-thumb{ background: var(--line-2); }
@media (min-width: 1100px){
  .shop-rail{ grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(4, 1fr); overflow-x: visible; }
}
.shop-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform .2s;
}
.shop-card:hover{ transform: translateY(-2px); }
.shop-card__img{
  aspect-ratio: 1/1;
  background: #0e0e0e;
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.shop-card__img img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.shop-card:hover .shop-card__img img{ transform: scale(1.04); }
.shop-card__title{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  margin: 4px 0 0;
  color: var(--text);
}
.shop-card__price{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-2);
}
.shop-card__price ins{ background: transparent; color: var(--blue-2); text-decoration: none; }
.shop-card__price del{ color: var(--text-2); opacity: .5; margin-right: 6px; }

/* Mobile: 1.6-up peek */
@media (max-width: 700px){
  .shop-rail{
    grid-auto-columns: 62%;
    padding-right: var(--pad);
    margin-right: calc(var(--pad) * -1);
  }
}

/* 3. SUIT UP — three category cards */
.shop-suitup{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px){
  .shop-suitup{ grid-template-columns: 1fr; }
}
.shop-suitup__card{
  position: relative;
  aspect-ratio: 5/6;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid var(--line-2);
  text-decoration: none;
  display: block;
}
.shop-suitup__card img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.shop-suitup__card:hover img{ transform: scale(1.05); }
.shop-suitup__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.shop-suitup__label{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: #fff;
}
.shop-suitup__link{
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-2);
}

/* 4. AS WORN — IG-style 4×2 grid (mobile: scroll) */
.shop-worn{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 1100px){
  .shop-worn{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px){
  .shop-worn{
    grid-template-columns: repeat(8, 60%);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: var(--pad);
    margin-right: calc(var(--pad) * -1);
  }
  .shop-worn__tile{ scroll-snap-align: start; }
}
.shop-worn__tile{
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #0e0e0e;
}
.shop-worn__tile img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.shop-worn__tile:hover img{ transform: scale(1.05); }
.shop-worn__badge{
  position: absolute;
  left: 10px; bottom: 10px;
  background: rgba(8,10,18,.78);
  color: #fff;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.18);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 5. BRAND STORY SLABS */
.shop-slabs{
  margin-top: clamp(50px, 8vw, 96px);
  display: flex;
  flex-direction: column;
}
.shop-slab{
  position: relative;
  min-height: clamp(280px, 38vh, 460px);
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-slab::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,10,18,.25) 0%, rgba(8,10,18,.7) 100%);
  pointer-events: none;
}
.shop-slab__inner{
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px var(--pad);
  max-width: 880px;
}
.shop-slab__title{
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}
.shop-slab__sub{
  font-family: var(--f-body);
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,.82);
  margin: 0;
}
