/* =========================================================
   KLO BOXING — design tokens
   Palette is intentionally black / white / smoke only.
   The single warm color on the site lives inside the hero
   photograph itself (the jacket) — nothing here introduces
   a UI accent color, by design.
========================================================= */
:root {
  --black:        #0a0a0a;
  --black-soft:   #131313;
  --paper:        #f3f2ee;
  --paper-dim:    #e8e6e0;
  --white:        #ffffff;
  --smoke:        #9a9a94;
  --smoke-dark:   #57564f;
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --line-on-light: rgba(10, 10, 10, 0.16);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --wrap: 1240px;
  --edge: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22, .68, .35, 1);
}

/* =========================================================
   Reset
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, dl, dd { margin: 0; padding: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
svg { display: block; width: 100%; height: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 999;
  background: var(--white); color: var(--black);
  padding: 12px 18px; font-family: var(--font-mono); font-size: 13px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.story :focus-visible, .updates :focus-visible { outline-color: var(--black); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Type helpers
========================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--smoke); }
.eyebrow--dark { color: var(--smoke-dark); }

.edit {
  border-bottom: 1px dashed currentColor;
  opacity: .78;
}

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--paper-dim); transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--pill { border-radius: 999px; padding: 11px 22px; }

/* =========================================================
   Ticker
========================================================= */
.ticker {
  background: var(--black);
  border-bottom: 1px solid var(--line-on-dark);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  animation: ticker 32s linear infinite;
}
.ticker__group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--smoke);
  padding: 9px 18px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Nav
========================================================= */
.nav {
  position: fixed;
  top: 33px;
  left: 0; right: 0;
  z-index: 100;
  transition: top .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-color: var(--line-on-dark);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo-img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  padding-bottom: 4px;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--white);
  transition: right .25s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__burger {
  display: none;
  width: 32px; height: 22px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--white);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 10px; }
.nav__burger span:nth-child(3) { top: 20px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--black);
  border-bottom: 1px solid var(--line-on-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.mobile-menu.is-open { max-height: 400px; }
.mobile-menu a {
  padding: 16px var(--edge);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-top: 1px solid var(--line-on-dark);
}
.mobile-menu .btn { margin: 14px var(--edge) 18px; width: fit-content; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions .btn--pill { display: none; }
  .nav__burger { display: block; }
  .mobile-menu { display: flex; }
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero__vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 55%, rgba(0,0,0,.92) 100%);
}
.hero__scrim {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--edge) 30px;
}
.hero__scrim-inner { max-width: 560px; }
.hero__line {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 14px;
  max-width: 14ch;
}
.hero__sub {
  font-size: 16px;
  color: var(--paper);
  opacity: .85;
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  right: var(--edge);
  bottom: 34px;
  width: 30px; height: 46px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  display: none;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--white);
  border-radius: 50%;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  70% { top: 28px; opacity: 0; }
  100% { top: 28px; opacity: 0; }
}
@media (min-width: 640px) { .hero__scroll { display: block; } }

/* =========================================================
   Tale of the Tape
========================================================= */
.tape {
  background: var(--black);
  padding: 70px var(--edge) 60px;
  border-bottom: 1px solid var(--line-on-dark);
}
.tape__eyebrow { text-align: center; }
.tape__line {
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(18px, 2.4vw, 26px);
  max-width: 18ch;
  margin: 0 auto 48px;
  line-height: 1.2;
}
.tape__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-on-dark);
  border-left: 1px solid var(--line-on-dark);
}
.tape__stat {
  border-right: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 22px 18px;
  text-align: center;
}
.tape__stat dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 10px;
}
.tape__stat dd {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: .02em;
}
@media (max-width: 860px) {
  .tape__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .tape__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Story  (paper / light section — the one deliberate flip
   to white, echoing a printed fight program page)
========================================================= */
.story {
  position: relative;
  background: var(--paper);
  color: var(--black);
  padding: 100px var(--edge);
  overflow: hidden;
}
.story__watermark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 46vw;
  max-width: 620px;
  opacity: .05;
  pointer-events: none;
}
.story__inner { max-width: var(--wrap); margin: 0 auto; position: relative; }
.story__heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.06;
  margin: 0 0 48px;
  max-width: 16ch;
}
.story__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.story__quote {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 27px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
}
.story__text {
  font-size: 16px;
  line-height: 1.75;
  color: #2c2c29;
}
@media (max-width: 860px) {
  .story { padding: 76px var(--edge); }
  .story__body { grid-template-columns: 1fr; gap: 28px; }
  .story__watermark { opacity: .045; width: 70vw; right: -15%; }
}

/* =========================================================
   Fight Film
========================================================= */
.film {
  background: var(--black);
  padding: 100px var(--edge);
}
.film__head { max-width: var(--wrap); margin: 0 auto 44px; }
.film__heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 52px);
  margin: 0 0 14px;
}
.film__sub { color: var(--smoke); max-width: 54ch; font-size: 15.5px; }

.video-card { max-width: var(--wrap); margin: 0 auto; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
    var(--black-soft);
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-btn {
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), background .25s var(--ease);
  z-index: 2;
}
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .play-btn { transform: scale(1.08); background: rgba(255,255,255,.1); }
.video-empty-label {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--smoke);
}
.video-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-on-dark);
  margin-top: 18px;
}
.video-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--smoke);
  flex-shrink: 0;
}
.video-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  margin: 0;
}

.video-card--featured { margin-bottom: 56px; }
.video-card--featured .play-btn { width: 84px; height: 84px; }
.video-card--featured .play-btn svg { width: 28px; height: 28px; }

.video-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.video-grid .video-card { max-width: none; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* =========================================================
   Updates  (paper section again)
========================================================= */
.updates {
  background: var(--paper);
  color: var(--black);
  padding: 100px var(--edge);
}
.updates__head { max-width: var(--wrap); margin: 0 auto 44px; }
.updates__heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 52px);
  margin: 0 0 14px;
}
.updates__sub { color: var(--smoke-dark); max-width: 54ch; font-size: 15.5px; }

.updates__list {
  max-width: var(--wrap);
  margin: 0 auto;
  border-top: 1px solid var(--line-on-light);
}
.update {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-on-light);
}
.update__date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--smoke-dark);
  padding-top: 3px;
}
.update__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 8px;
}
.update__text { margin: 0; color: #3a3a35; font-size: 15px; line-height: 1.65; max-width: 62ch; }
@media (max-width: 640px) {
  .update { grid-template-columns: 1fr; gap: 6px; }
}

/* =========================================================
   Shop — ticket-stub styled container around the store embed
========================================================= */
.shop {
  background: var(--black);
  padding: 100px var(--edge) 120px;
}
.shop__head { max-width: var(--wrap); margin: 0 auto 44px; }
.shop__heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 52px);
  margin: 0 0 14px;
}
.shop__sub { color: var(--smoke); max-width: 54ch; font-size: 15.5px; }

.ticket {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--paper);
  border: 1px dashed rgba(10,10,10,.3);
  padding: 40px clamp(18px, 4vw, 46px) 30px;
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px;
  background: var(--black);
  border-radius: 50%;
}
.ticket::before { left: -15px; }
.ticket::after { right: -15px; }
.ticket__tag {
  position: absolute;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--smoke-dark);
}
.ticket__tag--left { left: clamp(18px, 4vw, 46px); }
.ticket__tag--right { right: clamp(18px, 4vw, 46px); }
.ticket__body { margin-top: 34px; }
.ticket__body iframe { width: 100%; display: block; border: 0; }

@media (max-width: 600px) {
  .ticket { padding-top: 52px; }
}

/* =========================================================
   Footer
========================================================= */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line-on-dark);
  padding: 64px var(--edge) 30px;
}
.footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer__logo { height: 30px; margin-bottom: 12px; }
.footer__tag { font-family: var(--font-mono); font-size: 12px; color: var(--smoke); margin: 0; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer__links a:hover { color: var(--smoke); }
.footer__social { display: flex; gap: 16px; align-items: flex-start; }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.footer__social a:hover { border-color: var(--white); color: var(--white); }
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  max-width: var(--wrap);
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--smoke-dark);
}

/* =========================================================
   Back to top
========================================================= */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* =========================================================
   Scroll reveal
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
