@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("./assets/fonts/Axiforma-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #212121;
  --blue: #087ea5;
  --cyan: #04a9de;
  --yellow: #f5c400;
  --white: #fff;
  --page-max: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ink);
  font-family: "Axiforma", Arial, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page {
  /* Hall of Fame hero controls */
  --hall-logo-x: 0px;          /* positive = right, negative = left */
  --hall-logo-y: -90px;        /* positive = down, negative = up */
  --hall-heading-x: 0px;       /* HALL OF FAME right/left */
  --hall-heading-y: -44px;     /* HALL OF FAME down/up */
  --hall-hero-top: 170px;      /* moves the blue hero, logo and heading together */
  --hall-white-overlap: -1px;
  width: 100%;
  overflow: hidden;
}

.hall-hero {
  position: relative;
  min-height: clamp(440px, 29vw, 520px);
  color: var(--white);
  background: var(--ink);
  z-index: 0;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 120px), var(--page-max));
  min-height: 138px;
  margin-inline: auto;
}

.brand-mark,
.brand-mark img {
  width: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1380px, calc(100% - 120px));
  gap: clamp(18px, 2vw, 44px);
  font-size: clamp(13px, 0.92vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav .is-current {
  color: var(--cyan);
}

.hero-art {
  position: absolute;
  inset: var(--hall-hero-top) 0 0;
  isolation: isolate;
  background: linear-gradient(
    to bottom,
    var(--ink) 0 58%,
    var(--white) 58% 100%
  );
}

.hero-blue {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  
}

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 48px), 1100px);
  margin-inline: auto;
  padding-top: clamp(45px, 4vw, 78px);
  text-align: center;
}

.hero-title {
  width: min(570px, 40vw);
  transform: translate(var(--hall-logo-x), var(--hall-logo-y));
  filter: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.4));
}

.hero-content h1 {
  position: relative;
  z-index: 6;
  margin: clamp(18px, 1.6vw, 30px) 0 0;
  font-size: clamp(25px, 2.2vw, 42px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: clamp(9px, 1vw, 18px);
  text-transform: uppercase;
  transform: translate(var(--hall-heading-x), var(--hall-heading-y));
}

.champions {
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(52px, 4vw, 76px);
  margin-top: var(--hall-white-overlap);
  
  padding: 0 0 clamp(52px, 4vw, 76px);
  background: var(--ink);
}

.champion {
  position: relative;
  isolation: isolate;
  min-height: clamp(370px, 25vw, 470px);
  overflow: hidden;
  background: var(--white);
}

.champion::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(135px, 10vw, 190px);
  background: url("./assets/dotted-body.png") center bottom / 100% auto no-repeat;
  pointer-events: none;
}

.champion-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 4vw, 78px);
  width: min(calc(100% - 120px), var(--page-max));
  min-height: inherit;
  margin-inline: auto;
  padding: clamp(24px, 2.4vw, 42px) 0;
}

.champion-photo {
  width: min(100%, 310px);
  aspect-ratio: 0.72;
  justify-self: center;
  overflow: hidden;
  border: 4px solid var(--yellow);
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.32);
  background: var(--white);
}

.champion-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.24);
  transform-origin: center;
}

.champion-copy {
  min-width: 0;
  align-self: center;
}

.champion-copy h2 {
  margin: 0 0 clamp(12px, 1vw, 18px);
  font-size: clamp(29px, 2.3vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.champion-stats {
  display: grid;
  grid-template-columns: clamp(155px, 11.5vw, 215px) minmax(0, 1fr);
  align-items: start;
  gap: 8px 22px;
  margin: 0;
}

.champion-stats dt,
.champion-stats dd {
  margin: 0;
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 600;
  line-height: 1.16;
  text-transform: uppercase;
}

.champion-stats dt {
  padding: 6px 12px 4px;
  color: var(--white);
  background: var(--blue);
  text-align: center;
}

.champion-stats dd {
  padding: 4px 0 2px;
}

.champion-copy > p {
  max-width: 1150px;
  margin: clamp(18px, 1.5vw, 28px) 0 0;
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 500;
  line-height: 1.23;
}

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

.join-inner {
  width: min(calc(100% - 48px), 1080px);
  margin-inline: auto;
  padding: clamp(62px, 5.5vw, 104px) 0 clamp(72px, 6vw, 116px);
  text-align: center;
}

.join-inner h2 {
  margin: 0;
  font-size: clamp(42px, 4vw, 76px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.join-kicker {
  margin: 14px 0 clamp(32px, 3vw, 52px);
  font-size: clamp(23px, 2.1vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  text-transform: uppercase;
}

.join-copy {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.join-copy p,
.join-copy li {
  font-size: clamp(23px, 2vw, 38px);
  font-weight: 300;
  line-height: 1.35;
}

.join-copy p {
  margin: 0 0 12px;
}

.join-copy ul {
  margin: 0;
  padding-left: 1.2em;
}

.join-link {
  display: inline-block;
  margin-top: clamp(48px, 4.5vw, 84px);
  border-bottom: 2px solid currentColor;
  font-size: clamp(23px, 2vw, 38px);
  font-weight: 300;
  line-height: 1.2;
}

.site-footer {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: var(--white);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("./assets/dotted-body.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  gap: 70px;
  width: min(calc(100% - 120px), 1480px);
  min-height: 410px;
  margin-inline: auto;
}

.footer-nav {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 20px 76px;
  font-size: clamp(16px, 1.15vw, 22px);
  font-weight: 600;
  text-transform: uppercase;
}

.footer-logo {
  justify-self: center;
}

.footer-logo img {
  width: 112px;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(26px, 2.4vw, 46px);
}

.social-links a {
  display: grid;
  width: clamp(60px, 5vw, 82px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #000;
}

.social-links svg {
  width: 48%;
  fill: currentColor;
}

@media (max-width: 1180px) {
  .site-header,
  .champion-inner,
  .footer-inner {
    width: min(calc(100% - 64px), var(--page-max));
  }

  .main-nav {
    width: calc(100% - 90px);
    gap: 16px;
    font-size: 12px;
  }

  .champion-inner {
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    gap: 36px;
  }

  .champion-stats {
    grid-template-columns: 155px minmax(0, 1fr);
  }

  .footer-inner {
    gap: 36px;
  }

  .footer-nav {
    gap: 18px 38px;
  }
}

@media (max-width: 767px) {
  .page {
    --hall-logo-x: 0px;
    --hall-logo-y: 8px;
    --hall-heading-x: 0px;
    --hall-heading-y: 0px;
    --hall-hero-top: 72px;
    --hall-white-overlap: 0px;
  }

  .hall-hero {
    min-height: 270px;
    background: var(--white);
  }

  .hall-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 auto;
    height: 126px;
    background: var(--ink);
  }

  .site-header {
    width: calc(100% - 32px);
    min-height: 78px;
  }

  .brand-mark,
  .brand-mark img {
    width: 36px;
  }

  .main-nav {
    width: auto;
    font-size: 11px;
  }

  .main-nav a:not(.is-current) {
    display: none;
  }

  .hero-art {
    inset: var(--hall-hero-top) 0 0;
  }

  .hero-blue {
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .hero-title {
    width: min(60vw, 310px);
  }

  .hero-content h1 {
    margin-top: 20px;
    font-size: clamp(15px, 4vw, 20px);
    letter-spacing: clamp(5px, 2vw, 9px);
  }

  .champions {
    gap: 18px;
    padding-bottom: 18px;
  }

  .champion {
    min-height: 0;
  }

  .champion::before {
    height: clamp(120px, 32vw, 150px);
    background-size: auto 100%;
  }

  .champion-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    width: calc(100% - 48px);
    padding: 20px 0 24px;
  }

  .champion-photo {
    width: min(49vw, 190px);
    border-width: 3px;
    border-radius: 11px;
  }

  .champion-copy h2 {
    margin-bottom: 11px;
    font-size: clamp(14px, 3.7vw, 17px);
    text-align: center;
  }

  .champion-stats {
    grid-template-columns: minmax(84px, 27vw) minmax(0, 1fr);
    gap: 4px 8px;
  }

  .champion-stats dt,
  .champion-stats dd {
    font-size: clamp(8px, 2.15vw, 10px);
  }

  .champion-stats dt {
    padding: 4px 4px 3px;
  }

  .champion-copy > p {
    margin-top: 8px;
    font-size: clamp(9px, 2.45vw, 11px);
    line-height: 1.35;
  }

  .join-inner {
    width: calc(100% - 40px);
    padding: 52px 0 62px;
  }

  .join-inner h2 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .join-kicker {
    margin: 12px 0 30px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .join-copy p,
  .join-copy li {
    font-size: clamp(13px, 3.6vw, 16px);
  }

  .join-link {
    margin-top: 42px;
    font-size: clamp(15px, 4vw, 18px);
  }

  .site-footer {
    min-height: 430px;
  }

  .site-footer::before {
    background-position: center bottom;
    background-size: auto 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr 90px 1fr;
    gap: 15px;
    width: calc(100% - 32px);
    min-height: 430px;
  }

  .footer-nav {
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 12px;
    font-size: 10px;
  }

  .footer-logo img {
    width: 70px;
  }

  .social-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
  }

  .social-links a {
    width: 46px;
  }
}

@media (max-width: 380px) {
  .champion-inner {
    width: calc(100% - 24px);
  }

  .champion-stats {
    grid-template-columns: 80px minmax(0, 1fr);
    gap-inline: 5px;
  }

  .champion-stats dt,
  .champion-stats dd {
    font-size: 11px;
  }
}

/* Motion: only content layers move; section backgrounds stay fixed. */
.motion-enabled .hero-reveal .hero-title,
.motion-enabled .hero-reveal h1 {
  opacity: 0;
}

.motion-enabled.motion-started .hero-reveal .hero-title {
  animation: hall-logo-rise 780ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

.motion-enabled.motion-started .hero-reveal h1 {
  animation: hall-heading-rise 680ms cubic-bezier(0.22, 1, 0.36, 1) 260ms forwards;
}

.motion-enabled .reveal-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Champion cards reveal in two clear stages without moving their layout. */
.motion-enabled .champion-inner.reveal-item {
  opacity: 1;
  transform: none;
  transition: none;
}

.motion-enabled .champion-inner.reveal-item .champion-photo,
.motion-enabled .champion-inner.reveal-item .champion-copy {
  opacity: 0;
  will-change: opacity, transform;
}

.motion-enabled .champion-inner.reveal-item .champion-photo {
  transform: translate3d(-52px, 24px, 0);
  transition:
    opacity 760ms ease var(--reveal-delay, 0ms),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.motion-enabled .champion-inner.reveal-item .champion-copy {
  transform: translate3d(52px, 24px, 0);
  transition:
    opacity 760ms ease calc(var(--reveal-delay, 0ms) + 110ms),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-delay, 0ms) + 110ms);
}

.motion-enabled .champion-inner.reveal-item.is-visible .champion-photo,
.motion-enabled .champion-inner.reveal-item.is-visible .champion-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-enabled .champion-inner.reveal-item.is-visible .champion-photo img {
  animation: hall-photo-settle 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hall-logo-rise {
  from {
    opacity: 0;
    transform: translate(
      var(--hall-logo-x),
      calc(var(--hall-logo-y) + 30px)
    );
  }
  to {
    opacity: 1;
    transform: translate(var(--hall-logo-x), var(--hall-logo-y));
  }
}

@keyframes hall-heading-rise {
  from {
    opacity: 0;
    transform: translate(
      var(--hall-heading-x),
      calc(var(--hall-heading-y) + 22px)
    );
  }
  to {
    opacity: 1;
    transform: translate(var(--hall-heading-x), var(--hall-heading-y));
  }
}

@keyframes hall-photo-settle {
  from {
    transform: scale(1.32);
  }
  to {
    transform: scale(1.24);
  }
}
