/* ============================================================
   Kate Bacik — Direction A
   ============================================================ */

:root {
  --bg:         #141219;
  --surface:    #1b1822;
  --surface-2:  #221e2b;
  --ink:        #f5f3f7;
  --accent:     #a97ef0;

  --ink-80: rgba(245, 243, 247, .8);
  --ink-75: rgba(245, 243, 247, .75);
  --ink-70: rgba(245, 243, 247, .7);
  --ink-68: rgba(245, 243, 247, .68);
  --ink-60: rgba(245, 243, 247, .6);
  --ink-50: rgba(245, 243, 247, .5);
  --ink-45: rgba(245, 243, 247, .45);
  --ink-40: rgba(245, 243, 247, .4);
  --ink-32: rgba(245, 243, 247, .32);

  --line:        rgba(245, 243, 247, .16);
  --line-strong: rgba(245, 243, 247, .32);

  --display: 'Archivo Black', Helvetica, Arial, sans-serif;
  --body:    Archivo, Helvetica, Arial, sans-serif;
  --serif:   'Instrument Serif', Georgia, serif;
  --mono:    ui-monospace, Menlo, Consolas, monospace;

  --gutter: 26px;
  --hatch: repeating-linear-gradient(115deg, rgba(169, 126, 240, .14) 0 2px, transparent 2px 11px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
h1, h2, p, dl, dd, dt, figure { margin: 0; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ───────────────────────── typography ───────────────────────── */

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .86;
}

.h-xl { font-size: clamp(40px, 8vw, 112px); }
.h-lg { font-size: clamp(38px, 7vw, 100px); }
.h-md { font-size: clamp(36px, 6vw, 84px); line-height: .9; letter-spacing: -.03em; }

.eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--rule { display: flex; align-items: center; gap: 13px; }
.rule { width: 32px; height: 1px; background: var(--accent); flex: none; }

.micro-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.lede {
  margin-top: 24px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-75);
  text-wrap: pretty;
}
.lede--center { margin: 26px auto 0; max-width: 470px; font-size: 17px; line-height: 1.65; }

.body {
  margin-top: 18px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-75);
  text-wrap: pretty;
}
.body:first-of-type { margin-top: 24px; }
.body--wide { max-width: 480px; }

.pull {
  margin-top: 30px;
  max-width: 460px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--accent);
  text-wrap: pretty;
}

.note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-32);
}
.note--tight { margin-top: 30px; }

.fineprint { margin-top: 20px; font-size: 13px; color: var(--ink-50); }

/* ───────────────────────── buttons ───────────────────────── */

.btn {
  display: inline-block;
  padding: 15px 27px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--solid { background: var(--accent); color: var(--bg); }
.btn--solid:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 17px 32px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 11px; }
.btn-row--top { margin-top: 30px; }
.btn-row--center { justify-content: center; margin-top: 34px; }

/* ───────────────────────── nav ───────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px var(--gutter);
  background: rgba(20, 18, 25, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .15em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.nav__links a { color: var(--ink-68); transition: color .18s ease; }
.nav__links a:hover { color: var(--accent); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 34px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav__cta { padding: 11px 19px; font-size: 11px; }

/* ───────────────────────── hero ───────────────────────── */

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 34px;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 6%;
  opacity: .85;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 6%, rgba(20, 18, 25, .55) 48%, rgba(20, 18, 25, .15));
}

.hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__name {
  font-size: clamp(56px, 13vw, 200px);
  line-height: .84;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero__lede {
  max-width: 400px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-80);
  text-wrap: pretty;
}

.hero__scroll {
  position: relative;
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-45);
  animation: kb-bob 2.4s ease-in-out infinite;
}

@keyframes kb-bob {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50%      { transform: translateY(7px); opacity: 1; }
}

/* ───────────────────────── sections ───────────────────────── */

.section { padding: 104px var(--gutter) 96px; }
.section--panel {
  padding: 96px var(--gutter);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--flush { padding: 0 var(--gutter) 100px; }
.section--center { padding: 116px var(--gutter) 104px; text-align: center; }
.section--center .display { margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 52px;
  align-items: start;
}
.split--wide { gap: 60px; }

.section h2 { margin-top: 16px; }
.h-md { margin-bottom: 44px; }
.section--flush .h-md { margin-bottom: 40px; }

/* ───────────────────────── record ───────────────────────── */

.record { padding: 0 var(--gutter); }

.record__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border-top: 1px solid var(--line);
}

.stat {
  padding: 32px 22px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat__value {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent);
}
.stat__label {
  margin-top: 11px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.record .note { padding: 12px 2px 0; margin-top: 0; }

/* ───────────────────────── cards ───────────────────────── */

.cards { display: grid; margin-top: 52px; }
.cards--org     { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.cards--service { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.cards--quote   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin-top: 0; }

.org {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 180px;
  padding: 32px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background .18s ease;
}
.org:hover { background: var(--surface-2); }
.org__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--accent); }
.org__name {
  margin-top: auto;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.06;
  text-transform: uppercase;
}
.org__note { font-size: 14px; line-height: 1.5; color: var(--ink-60); }

.service {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 27px 30px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.section--panel .service { background: var(--bg); }
.service__title { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.service__meta { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--accent); }
.service__body { font-size: 15px; line-height: 1.6; color: var(--ink-70); text-wrap: pretty; }

.service__points { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.service__point {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  color: rgba(245, 243, 247, .72);
}
.service__point::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--accent);
  transform: translateY(-2px);
}
.service__cta {
  margin-top: auto;
  padding-top: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color .18s ease;
}
.service__cta:hover { color: var(--ink); }

.quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 26px;
  border: 1px solid var(--line);
}
.quote__text {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: rgba(245, 243, 247, .9);
  text-wrap: pretty;
}
.quote__name {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ───────────────────────── next fight ───────────────────────── */

.fight { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; }
.fight__name { font-size: 21px; text-transform: uppercase; letter-spacing: normal; line-height: 1.2; }
.fight__venue { font-size: 15px; color: var(--ink-60); }
.fight__date {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

#next .micro-label { margin-top: 34px; }

.countdown {
  display: flex;
  gap: 1px;
  margin-top: 13px;
  width: fit-content;
  background: var(--line);
}
.cd {
  min-width: 82px;
  padding: 18px 20px;
  background: var(--bg);
  text-align: center;
}
.cd__value {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd__label {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 243, 247, .55);
}

.fight__cta { margin-top: 32px; }

.placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--hatch);
  background-color: var(--bg);
  border: 1px solid var(--line);
}
.placeholder--poster { aspect-ratio: 3 / 4; }
.placeholder span {
  padding: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-40);
  text-align: center;
}

/* ───────────────────────── disciplines ───────────────────────── */

.disciplines {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.disciplines__head { background: var(--bg); padding: 20px 0 6px; margin: 0; }
.disciplines > div { display: flex; flex-direction: column; gap: 1px; }

.disc { background: var(--bg); }
.disc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 2px;
  background: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease;
}
.disc__btn:hover { color: var(--accent); }
.disc__name { font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.disc__sign { font-size: 21px; color: var(--accent); flex: none; }
.disc__body {
  padding: 0 2px 22px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-68);
  text-wrap: pretty;
}

/* ───────────────────────── gallery ───────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.gallery__hero {
  grid-column: span 2;
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }

.gallery__rest { display: contents; }

.tile {
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  padding: 18px;
  background-image: repeating-linear-gradient(115deg, rgba(169, 126, 240, .13) 0 2px, transparent 2px 11px);
  background-color: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(245, 243, 247, .42);
}

/* ───────────────────────── press facts ───────────────────────── */

.facts {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 2px;
  background: var(--surface);
}
.fact dt {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.fact dd { margin: 0; font-size: 16px; font-weight: 600; }

/* ───────────────────────── footer ───────────────────────── */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
}
.footer__logo { font-family: var(--display); font-size: 13px; letter-spacing: .15em; }
.footer__handle { font-size: 13px; letter-spacing: .1em; color: var(--ink-70); transition: color .18s ease; }
.footer__handle:hover { color: var(--accent); }
.footer__copy { font-size: 12px; color: var(--ink-40); }

/* ───────────────────────── responsive ───────────────────────── */

@media (max-width: 900px) {
  .nav__toggle { display: flex; order: 3; }
  .nav__cta { order: 2; }

  .nav__links {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .nav__links.is-open { max-height: 340px; }
  .nav__links a {
    width: 100%;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .nav { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  .section { padding: 72px var(--gutter) 64px; }
  .section--panel { padding: 72px var(--gutter); }
  .section--center { padding: 84px var(--gutter) 72px; }
  .section--flush { padding: 0 var(--gutter) 72px; }

  .split, .split--wide { gap: 44px; }
  .cards { margin-top: 36px; }
  .h-md { margin-bottom: 32px; }

  .gallery__hero { grid-column: span 1; }
  .gallery, .gallery__hero, .tile { min-height: 0; }
  .gallery__hero { aspect-ratio: 3 / 4; }
  .tile { min-height: 220px; }

  .countdown { width: 100%; }
  .cd { flex: 1; min-width: 0; padding: 16px 8px; }
  .cd__value { font-size: 26px; }

  .nav__cta { padding: 10px 14px; font-size: 10px; }
  .footer { gap: 10px; }
}

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