/* ==========================================================================
   Michael Moorer — landing page
   Palette: ring canvas, arena navy, satin gold, corner red.
   Type: Big Shoulders Display (display), Archivo (body, labels, data).
   ========================================================================== */

:root {
  --canvas: #e6eaec;
  --canvas-deep: #d6dde1;
  --paper: #f3f5f6;
  --ink: #0f1626;
  --arena: #0a0f1c;
  --arena-2: #131b2d;
  --line-dark: #222c42;
  --steel: #525d6d;
  --steel-light: #9ba5b3;
  --gold: #d4aa50;
  --gold-ink: #7a5a14;
  --red: #c42b30;
  --white: #ffffff;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 68px;
  --tabbar-h: 0px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-punch: cubic-bezier(0.2, 0.9, 0.1, 1.2);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0 0 var(--space-4);
}

h1,
h2,
h3 {
  margin: 0;
}

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

.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: -100px;
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: var(--space-4);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- Type roles ---------- */

.label {
  font-family: var(--font-body);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  color: var(--gold-ink);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 7.4vw, 6.25rem);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.section-title em {
  font-style: normal;
  color: var(--gold-ink);
}

.lede {
  font-size: clamp(1.1875rem, 1.8vw, 1.4375rem);
  line-height: 1.45;
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-body);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover {
  background: var(--red);
}

.btn--line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--gold {
  background: var(--gold);
  color: var(--arena);
}

.btn--gold:hover {
  background: var(--white);
}

.btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.8125rem;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.45s var(--ease-out);
}

.site-header.is-solid {
  background: rgb(230 234 236 / 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(15 22 38 / 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  text-decoration: none;
}

.brand__mark {
  width: 46px;
  height: 29px;
  color: var(--ink);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav {
  display: none;
}

.site-nav a {
  position: relative;
  padding: var(--space-3) 0;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    gap: var(--space-6);
  }
}

@media (max-width: 479px) {
  .brand__name {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
  background: var(--canvas);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100svh - var(--header-h));
}

/* The Double M monogram sits behind the fighter and draws itself in. */
.hero__monogram {
  position: absolute;
  z-index: -1;
  top: 4%;
  left: 50%;
  width: min(120vw, 760px);
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.8;
}

.hero__monogram path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linejoin: miter;
  stroke-linecap: square;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.hero__portrait {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(78vw, 440px);
  mix-blend-mode: multiply;
}

.hero__portrait img {
  width: 100%;
  filter: brightness(1.05) contrast(1.03);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
}

.hero__stance {
  position: absolute;
  left: 0;
  bottom: 22%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--steel);
}

.hero__stance::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: -34vw;
  padding-bottom: var(--space-8);
  text-align: right;
}

.hero__eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--gold-ink);
  text-wrap: balance;
}

.hero__name {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.8;
}

.hero__first {
  font-size: clamp(2.25rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero__last {
  display: flex;
  font-size: clamp(6.25rem, 30vw, 16.5rem);
  letter-spacing: -0.012em;
  white-space: nowrap;
}

.hero__last span {
  display: inline-block;
}

.hero__aka {
  margin: var(--space-4) 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.hero__deck {
  max-width: 34ch;
  margin: var(--space-5) 0 var(--space-6);
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.5;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-3);
}

.hero__scroll {
  display: none;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
  }

  .hero__monogram {
    top: 50%;
    left: 30%;
    width: min(64vw, 900px);
    transform: translate(-50%, -48%);
  }

  .hero__portrait {
    align-self: end;
    justify-self: start;
    width: auto;
  }

  .hero__portrait img {
    width: auto;
    height: min(calc(100svh - var(--header-h) - 24px), 1020px);
    max-width: none;
  }

  .hero__stance {
    left: auto;
    right: -12px;
    bottom: 30%;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .hero__stance::before {
    width: 2px;
    height: 22px;
  }

  .hero__copy {
    align-self: center;
    margin-top: 0;
    padding-bottom: var(--space-7);
  }

  .hero__scroll {
    position: absolute;
    right: 0;
    bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--steel);
    text-decoration: none;
  }

  .hero__scroll::after {
    content: "";
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--ink) 50%, transparent 50%) 0 0 / 200% 100%;
    animation: scroll-cue 2.4s var(--ease-out) infinite;
  }
}

@media (max-width: 959px) {
  .hero {
    --hero-pw: min(86vw, 420px, calc((100svh - var(--header-h) - var(--tabbar-h)) * 0.56));
    min-height: 0;
  }

  .hero__grid {
    min-height: 0;
  }

  .hero__portrait {
    width: var(--hero-pw);
  }

  .hero__portrait img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 0;
  }

  .hero__copy {
    margin-top: calc(var(--hero-pw) * -0.3);
    padding-bottom: var(--space-7);
  }

  .hero__monogram {
    top: 6%;
    width: 150vw;
    opacity: 0.55;
  }

  .hero__stance {
    display: none;
  }

  .hero__name { order: 1; }
  .hero__aka { order: 2; }

  .hero__eyebrow {
    order: 3;
    margin: var(--space-4) 0 0;
  }

  .hero__deck {
    order: 4;
    max-width: none;
    text-align: left;
    align-self: stretch;
  }

  .hero__actions {
    order: 5;
    align-self: stretch;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ---------- Ribbon (arena LED board) ---------- */

.ribbon {
  position: relative;
  background: var(--arena);
  color: var(--white);
  overflow: hidden;
  padding-block: var(--space-4);
  border-block: 1px solid var(--line-dark);
}

.ribbon__row {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ribbon__row + .ribbon__row {
  margin-top: var(--space-1);
}

.ribbon__list {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 48s linear infinite;
}

.ribbon__row--b .ribbon__list {
  animation-direction: reverse;
  animation-duration: 56s;
}

.ribbon__list li {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-right: var(--space-6);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon__list li::after {
  content: "";
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--red);
}

.ribbon__row--b li {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}

.ribbon:hover .ribbon__list {
  animation-play-state: paused;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(var(--space-8), 11vw, var(--space-10));
}

.section--dark {
  background: var(--arena);
  color: var(--white);
}

.section--dark .kicker,
.section--dark .section-title em {
  color: var(--gold);
}

.section__head {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.section__intro {
  max-width: 52ch;
  color: var(--steel);
}

.section--dark .section__intro {
  color: var(--steel-light);
}

@media (min-width: 960px) {
  .section__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .section__intro {
    margin-bottom: var(--space-2);
  }
}

/* ---------- Story ---------- */

.story__grid {
  display: grid;
  gap: var(--space-8);
}

.story__body .section-title,
.faq-layout .section-title {
  margin-bottom: var(--space-6);
}

.story__body p {
  max-width: 62ch;
}

.story__body .lede {
  max-width: 34ch;
  margin-bottom: var(--space-6);
}

.tape {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.tape__caption {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgb(15 22 38 / 0.18);
  color: var(--steel);
}

.tape__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgb(15 22 38 / 0.18);
}

.tape dt {
  color: var(--steel);
}

.tape dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
}

.homecoming {
  position: relative;
  margin-top: var(--space-7);
  padding: var(--space-6);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.homecoming::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--gold);
}

.homecoming__date {
  display: block;
  margin: var(--space-2) 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--gold);
}

.homecoming p:last-child {
  margin-bottom: 0;
  color: var(--steel-light);
}

@media (min-width: 960px) {
  .story__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-9);
  }

  .story__side {
    padding-top: var(--space-3);
  }
}

/* ---------- Statement (scroll-scrubbed) ---------- */

.statement {
  position: relative;
  background: var(--arena);
  color: var(--white);
}

.statement__pin {
  padding-block: clamp(var(--space-8), 11vw, var(--space-10)) var(--space-6);
}

.statement .kicker {
  color: var(--gold);
}

.statement__text {
  max-width: 28ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.125rem, min(4.6vw, 7.4svh), 4.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.statement__text em {
  font-style: normal;
  color: var(--gold);
}

.js .statement {
  height: 220svh;
}

.js .statement__pin {
  position: sticky;
  top: 0;
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding-block: var(--header-h) 0;
}

.js .statement__text .word {
  opacity: 0.14;
  transition: opacity 0.35s var(--ease-out);
}

.js .statement__text .word.is-on {
  opacity: 1;
}

/* ---------- Title reigns ---------- */

.reigns-wrap {
  position: relative;
  padding-left: var(--space-7);
}

.reigns {
  display: grid;
  gap: var(--space-7);
  margin: 0;
  padding: 0;
  list-style: none;
}

.reigns__track,
.reigns__fill {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: var(--line-dark);
}

.reigns__fill {
  background: var(--gold);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}

.reign {
  position: relative;
}

.reign::before {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(-1 * var(--space-7));
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--arena);
  transition: background-color 0.4s, transform 0.4s var(--ease-punch);
}

.reign.is-in::before {
  background: var(--gold);
  transform: scale(1.15);
}

.reign__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 5.25rem);
  line-height: 0.82;
  color: var(--gold);
}

.reign__belt {
  margin: var(--space-3) 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1;
  text-transform: uppercase;
}

.reign .reign__fight {
  margin-bottom: var(--space-3);
  color: var(--white);
}

.reign p {
  color: var(--steel-light);
  font-size: 1rem;
}

.reign__badge {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 6px 10px;
  background: var(--red);
  color: var(--white);
}

@media (min-width: 960px) {
  .reigns-wrap {
    padding: var(--space-7) 0 0;
  }

  .reigns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .reigns__track,
  .reigns__fill {
    top: 7px;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
  }

  .reigns__fill {
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
  }

  .reign::before {
    top: calc(-1 * var(--space-7));
    left: 0;
  }
}

/* ---------- Record board ---------- */

.record__layout {
  display: grid;
  gap: var(--space-7);
}

.tally {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0 0 var(--space-6);
  padding: var(--space-5) 0;
  border-block: 2px solid var(--ink);
}

.tally div {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-1);
}

.tally dt {
  color: var(--steel);
}

.tally dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}

.tally .is-loss dd {
  color: var(--red);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
  color: var(--steel);
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 2px;
}

.swatch--ko {
  background: var(--ink);
}

.swatch--dec {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.swatch--loss {
  background: var(--red);
}

.swatch--draw {
  background: repeating-linear-gradient(135deg, var(--steel-light) 0 3px, transparent 3px 6px);
  box-shadow: inset 0 0 0 2px var(--steel);
}

.swatch--title {
  box-shadow: inset 0 5px 0 var(--gold), inset 0 0 0 2px var(--ink);
}

.eras {
  display: grid;
  gap: var(--space-6);
}

.era {
  display: grid;
  gap: var(--space-3);
}

.era__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.625rem;
  line-height: 1;
  text-transform: uppercase;
}

.era__meta {
  margin: 0;
  color: var(--steel);
}

.board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bout__btn {
  position: relative;
  display: grid;
  place-content: center;
  gap: 3px;
  width: 100%;
  aspect-ratio: 1;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease-punch), box-shadow 0.2s;
}

.bout__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
}

.bout__tag {
  font-stretch: 75%;
  font-weight: 700;
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

.is-ko .bout__btn {
  background: var(--ink);
  color: var(--white);
}

.is-dec .bout__btn {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.is-loss .bout__btn {
  background: var(--red);
  color: var(--white);
}

.is-draw .bout__btn {
  background: repeating-linear-gradient(135deg, var(--steel-light) 0 3px, transparent 3px 6px);
  box-shadow: inset 0 0 0 2px var(--steel);
}

.is-title .bout__btn::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 2px 2px 0 0;
  background: var(--gold);
}

.bout__btn:hover {
  transform: translateY(-3px);
}

.bout__btn[aria-pressed="true"] {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  transform: translateY(-3px);
}

.fightcard {
  position: sticky;
  bottom: var(--space-3);
  z-index: 5;
  padding: var(--space-5);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 40px -18px rgb(10 15 28 / 0.6);
}

.fightcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold);
  transform: scaleX(var(--title, 0));
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.fightcard__meta {
  margin-bottom: var(--space-3);
  color: var(--steel-light);
}

.fightcard__result {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.fightcard__wl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.75rem;
  line-height: 0.8;
  color: var(--gold);
}

.fightcard[data-result="Loss"] .fightcard__wl {
  color: #ff6b6f;
}

.fightcard[data-result="Draw"] .fightcard__wl {
  color: var(--steel-light);
}

.fightcard__method {
  font-weight: 600;
}

.fightcard__opp {
  margin-bottom: var(--space-1);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.fightcard__venue {
  margin-bottom: var(--space-3);
  color: var(--steel-light);
  font-size: 0.9375rem;
}

.fightcard__note {
  margin-bottom: var(--space-3);
  color: var(--gold);
  font-weight: 600;
}

.fightcard__note:empty {
  display: none;
}

.fightcard__record {
  margin: 0;
  color: var(--steel-light);
}

.fightcard__close {
  display: none;
}

@media (max-width: 959px) {
  /* On phones the card sits after the board and only docks above the tab bar once a fight is tapped. */
  .fightcard {
    position: relative;
    bottom: auto;
    margin-top: var(--space-2);
    padding: var(--space-4);
  }

  .fightcard.is-docked {
    position: sticky;
    bottom: calc(var(--tabbar-h) + var(--space-3));
    padding-right: 52px;
  }

  .fightcard.is-docked .fightcard__close {
    position: absolute;
    top: 6px;
    right: 4px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--steel-light);
    cursor: pointer;
  }

  .fightcard__close svg {
    width: 20px;
    height: 20px;
  }

  .fightcard__meta,
  .fightcard__result,
  .fightcard__venue,
  .fightcard__note {
    margin-bottom: var(--space-2);
  }

  .fightcard__wl {
    font-size: 2rem;
  }

  .fightcard__method,
  .fightcard__venue,
  .fightcard__note {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .fightcard__opp {
    font-size: 1.625rem;
  }

  .fightcard__record {
    display: none;
  }
}

.fightcard.is-swapping .fightcard__body {
  animation: card-swap 0.35s var(--ease-out);
}

.full-record {
  margin-top: var(--space-7);
  border-top: 1px solid rgb(15 22 38 / 0.18);
}

.full-record summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  cursor: pointer;
  list-style: none;
}

.full-record summary::-webkit-details-marker {
  display: none;
}

.full-record summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  transition: transform 0.3s var(--ease-out);
}

.full-record[open] summary::after {
  transform: rotate(45deg);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.record-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.record-table th,
.record-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid rgb(15 22 38 / 0.12);
  text-align: left;
  vertical-align: top;
}

.record-table th {
  font-stretch: 75%;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

@media (max-width: 639px) {
  .bout__no {
    font-size: 1.1875rem;
  }

  .bout__tag {
    font-size: 0.6875rem;
  }
}

@media (min-width: 640px) {
  .board {
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 6px;
  }
}

@media (min-width: 960px) {
  .record__layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
    gap: var(--space-8);
  }

  .era {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
  }

  .fightcard {
    top: calc(var(--header-h) + var(--space-5));
    bottom: auto;
    padding: var(--space-6);
  }
}

/* ---------- Hall of Fame ---------- */

.honors {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.plaque {
  position: relative;
  padding: var(--space-6);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgb(15 22 38 / 0.1);
}

.plaque--major {
  background: var(--ink);
  color: var(--white);
}

.plaque--major::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgb(212 170 80 / 0.45);
  pointer-events: none;
}

.plaque__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.8;
  color: var(--gold-ink);
}

.plaque--major .plaque__year {
  color: var(--gold);
}

.plaque__title {
  margin: var(--space-4) 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  line-height: 1;
  text-transform: uppercase;
}

.plaque p {
  margin: 0;
  color: var(--steel);
}

.plaque--major p {
  color: var(--steel-light);
}

@media (min-width: 720px) {
  .honors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .honors {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .plaque {
    grid-column: span 2;
  }

  .plaque--major {
    grid-column: span 3;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}

/* ---------- Double M today (editorial photos) ---------- */

/* Phones: a swipeable row of large photos. Desktop: a 12-column editorial spread. */
.today__hint {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  color: var(--steel-light);
}

.today__hint::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
  animation: swipe-cue 2.2s var(--ease-out) infinite;
}

.today__grid {
  display: flex;
  gap: var(--space-3);
  margin-inline: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) var(--space-2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.today__grid::-webkit-scrollbar {
  display: none;
}

.today__grid .shot {
  flex: 0 0 78%;
  scroll-snap-align: start;
}

.shot {
  margin: 0;
}

.shot__frame {
  overflow: hidden;
  background: var(--arena-2);
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease-out);
}

.shot:hover img {
  transform: scale(1.1);
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  color: var(--steel-light);
}

.shot figcaption strong {
  color: var(--white);
  font-weight: 700;
}

.today__note {
  margin-top: var(--space-7);
  align-self: center;
}

.today__note p {
  color: var(--steel-light);
}

.today__note .lede {
  color: var(--white);
}

@media (max-width: 959px) {
  .shot figcaption {
    flex-direction: column;
    gap: 2px;
  }
}

@media (min-width: 960px) {
  .today__hint {
    display: none;
  }

  .today__layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-6) var(--space-5);
  }

  .today__grid {
    display: contents;
  }

  .today__note {
    grid-row: 2;
    margin-top: 0;
  }

  .shot--a { grid-column: 1 / span 4; }
  .shot--b { grid-column: 6 / span 3; margin-top: var(--space-10); }
  .shot--c { grid-column: 10 / span 3; margin-top: var(--space-6); }
  .shot--d { grid-column: 2 / span 3; margin-top: var(--space-7); }
  .today__note { grid-column: 6 / span 5; }
  .shot--e { grid-column: 1 / span 3; }
  .shot--f { grid-column: 5 / span 4; margin-top: var(--space-9); }
  .shot--g { grid-column: 10 / span 3; margin-top: var(--space-6); }

  .shot--a img,
  .shot--f img {
    aspect-ratio: 3 / 4;
  }
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid rgb(15 22 38 / 0.18);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 64px;
  padding: var(--space-4) 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.05;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 2rem;
  transition: transform 0.3s var(--ease-out), color 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--red);
}

.faq details p {
  max-width: 68ch;
  padding-bottom: var(--space-5);
  margin: 0;
  color: var(--steel);
}

@media (min-width: 960px) {
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-9);
  }
}

/* ---------- Follow ---------- */

.follow {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.follow .kicker {
  color: var(--white);
}

.follow__handle {
  display: block;
  margin: 0 auto var(--space-5);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: min(8.6vw, 7.25rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.follow__handle span {
  display: inline-block;
  transition: transform 0.3s var(--ease-punch);
}

.follow__handle:hover span {
  transform: translateX(6px);
}

.follow p {
  max-width: 46ch;
  margin-inline: auto;
}

.follow .btn {
  margin-top: var(--space-4);
}

.follow__note {
  margin-top: var(--space-6);
  opacity: 0.85;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--space-8) var(--space-6);
  background: var(--arena);
  color: var(--steel-light);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  gap: var(--space-7);
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand__mark {
  color: var(--gold);
}

.site-footer .brand__name {
  display: inline;
}

.sources {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sources li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line-dark);
}

.sources a {
  color: var(--white);
  text-underline-offset: 3px;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-dark);
}

.site-footer__base p {
  margin: 0;
}

.site-footer__base a {
  color: var(--white);
}

@media (min-width: 960px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

.site-footer__contact a {
  color: var(--white);
  text-underline-offset: 3px;
}

/* ---------- Contact page ---------- */

/* First section on a page without a hero: clear the fixed header. */
.page-top {
  padding-top: calc(var(--header-h) + clamp(var(--space-7), 9vw, var(--space-9)));
}

.contact-layout {
  display: grid;
  gap: var(--space-7);
}

.contact__intro .section-title {
  margin-bottom: var(--space-6);
}

.contact__intro .lede {
  max-width: 30ch;
}

.contact__alt {
  max-width: 40ch;
  margin-top: var(--space-5);
  color: var(--steel);
}

.contact__alt a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.form {
  display: grid;
  gap: var(--space-5);
  padding-top: var(--space-6);
  border-top: 2px solid var(--ink);
}

.form__row {
  display: grid;
  gap: var(--space-5);
}

/* Spam trap: people never see or reach it, bots fill it in. */
.form__hp {
  position: absolute;
  left: -9999px;
}

.field {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.field__optional {
  color: var(--steel);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border: 0;
  border-radius: 2px;
  background-color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--steel);
  color: var(--ink);
  font: inherit;
  transition: box-shadow 0.2s, background-color 0.2s;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: var(--space-7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%230f1626' stroke-width='2' d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 14px 9px;
}

.field textarea {
  min-height: 176px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background-color: var(--white);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.field__hint {
  margin: 0;
  color: var(--steel);
  font-size: 0.9375rem;
}

.form__status {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--gold-ink);
  background: var(--paper);
  font-weight: 600;
}

.form__status:empty {
  display: none;
}

.form__status.is-error {
  border-left-color: var(--red);
  color: var(--red);
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* Thank-you page, shown when the form posts without JavaScript. */
.notice {
  display: grid;
  align-content: center;
  min-height: 72svh;
}

.notice .section-title {
  margin-bottom: var(--space-6);
}

.notice .btn {
  margin-top: var(--space-4);
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-9);
  }

  .contact__intro {
    position: sticky;
    top: calc(var(--header-h) + var(--space-6));
    align-self: start;
  }
}

/* ---------- Mobile tab bar ---------- */

.tabbar {
  display: none;
}

@media (max-width: 899px) {
  :root {
    --tabbar-h: calc(62px + env(safe-area-inset-bottom));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0 max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left));
    background: rgb(10 15 28 / 0.94);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border-top: 1px solid var(--line-dark);
  }

  .tabbar__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 61px;
    color: var(--steel-light);
    font-family: var(--font-body);
    font-stretch: 75%;
    font-weight: 700;
    font-size: 0.6875rem;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s;
  }

  .tabbar__item svg {
    width: 22px;
    height: 22px;
    transition: transform 0.4s var(--ease-punch), color 0.25s;
  }

  .tabbar__item.is-current {
    color: var(--white);
  }

  .tabbar__item.is-current svg {
    color: var(--gold);
    transform: translateY(-2px);
  }

  .tabbar__item:active svg {
    transform: scale(0.86);
  }

  .tabbar__item:focus-visible {
    outline-offset: -4px;
  }

  .tabbar__indicator {
    position: absolute;
    top: -1px;
    left: 0;
    width: var(--w, 0px);
    height: 3px;
    background: var(--gold);
    opacity: var(--o, 0);
    transform: translateX(var(--x, 0px));
    transition: transform 0.5s var(--ease-punch), width 0.4s var(--ease-out), opacity 0.3s;
  }

  /* Keep pinned pieces clear of the bar. */
  .js .statement__pin {
    padding-bottom: var(--tabbar-h);
  }

  .site-footer {
    padding-bottom: calc(var(--space-6) + var(--tabbar-h));
  }

  html {
    scroll-padding-bottom: var(--tabbar-h);
  }
}

/* ==========================================================================
   Motion
   ========================================================================== */

@media (max-width: 899px) {
  .tabbar {
    animation: tabbar-in 0.7s var(--ease-out) 1.3s both;
  }
}

@keyframes tabbar-in {
  from { transform: translateY(100%); }
  to { transform: none; }
}

/* Hero load sequence (CSS only, so it runs without JavaScript). */
.hero__monogram path {
  animation: draw 1.6s var(--ease-out) 0.1s both;
}

.hero__portrait img {
  animation: rise 1.2s var(--ease-out) 0.15s both;
}

.hero__last span {
  animation: jab 0.6s var(--ease-punch) both;
}

.hero__last span:nth-child(1) { animation-delay: 0.45s; }
.hero__last span:nth-child(2) { animation-delay: 0.5s; }
.hero__last span:nth-child(3) { animation-delay: 0.55s; }
.hero__last span:nth-child(4) { animation-delay: 0.6s; }
.hero__last span:nth-child(5) { animation-delay: 0.65s; }
.hero__last span:nth-child(6) { animation-delay: 0.7s; }

.hero__name {
  animation: impact 0.32s linear 1.02s both;
}

.hero__first,
.hero__eyebrow {
  animation: fade-up 0.8s var(--ease-out) 0.35s both;
}

.hero__aka {
  animation: fade-up 0.8s var(--ease-out) 1.05s both;
}

.hero__deck {
  animation: fade-up 0.8s var(--ease-out) 1.15s both;
}

.hero__actions,
.hero__stance,
.hero__scroll {
  animation: fade-up 0.8s var(--ease-out) 1.25s both;
}

/* Scroll reveals (hidden state only applies once JavaScript is running). */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .bout {
  opacity: 0.1;
  transform: scale(0.6);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-punch);
}

.js .bout.is-lit {
  opacity: 1;
  transform: none;
}

@keyframes draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(48px) scale(1.03); }
  to { opacity: 1; transform: none; }
}

@keyframes jab {
  0% { opacity: 0; transform: translateX(0.6em) skewX(-10deg); }
  55% { opacity: 1; transform: translateX(-0.05em) skewX(3deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes impact {
  0%, 100% { transform: none; }
  25% { transform: translate(-4px, 1px); }
  50% { transform: translate(3px, -1px); }
  75% { transform: translate(-1px, 0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes marquee {
  to { transform: translateX(-100%); }
}

@keyframes scroll-cue {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes swipe-cue {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@keyframes card-swap {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .ribbon__list {
    animation: none;
  }

  .js .reveal,
  .js .bout,
  .js .statement__text .word {
    opacity: 1;
    transform: none;
  }

  .js .statement {
    height: auto;
  }

  .js .statement__pin {
    position: static;
    min-height: 0;
    padding-block: var(--space-9);
  }
}
