@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-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  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;
}

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

:root {
  --ink: #212121;
  --white: #fff;
  --blue: #087fa8;
  --cyan: #0fb4e8;
  --yellow: #f2c500;
  --font-main: "Axiforma", "Montserrat", "Inter", Arial, sans-serif;
  --content: 1600px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font-main);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.page {
  min-width: 0;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: clamp(48px, 5vw, 96px);
  width: min(calc(100% - 160px), var(--content));
  min-height: 118px;
  margin-inline: auto;
}

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

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 180ms ease;
}

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

.events-hero {
  position: relative;
  min-height: calc(690px + clamp(36px, 4vw, 75px));
  background: var(--ink);
}

.hero-panel {
  position: relative;
  min-height: 572px;
  margin-top: clamp(36px, 4vw, 75px);
  isolation: isolate;
}

.hero-blue {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(0 16%, 6% 23%, 25% 12%, 50% 16%, 76% 12%, 94% 23%, 100% 16%, 100% 96%, 78% 91%, 50% 96%, 22% 91%, 0 96%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
  padding-top: 52px;
  text-align: center;
}

.hero-title {
  width: min(740px, 62vw);
  filter: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.38));
   position: relative;
  top: -45px;  /* positive = down, negative = up */
  left: 0;    /* positive = right, negative = left */
}

.hero-content h1 {
  margin: 14px 0 18px;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.hero-content p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 62px;
  padding: 0 34px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  margin-top: 30px;
  color: var(--white);
  background: #050505;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 16px rgba(255, 255, 255, 0.28);
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible {
  color: #050505;
  background: var(--white);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.36), 0 0 22px rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.upcoming {
  position: relative;
  background: var(--ink);
}

.section-shell {
  width: min(100%, 1920px);
  margin-inline: auto;
}

.upcoming h2,
.previous h2 {
  margin: 0;
  font-size: 62px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.upcoming h2 {
  padding: 58px 24px 24px;
}

.upcoming-list {
  display: grid;
  gap: 0;
}

.upcoming-event {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(320px, 36%) 1fr;
  min-height: 400px;
  padding-inline: clamp(80px, 9vw, 180px);
}

.upcoming-event::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 154px;
  background-color: var(--white);
  background-image: url("./assets/event-strip-dots.png");
  background-repeat: no-repeat;
  background-position: center 18%;
  background-size: 100% auto;
}

.upcoming-media {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: start;
  width: min(280px, 82%);
  aspect-ratio: 0.76;
  overflow: hidden;
  border: 5px solid var(--yellow);
  border-radius: 18px;
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.42);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.upcoming-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.21);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.upcoming-media:hover,
.upcoming-media:focus-visible {
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.5);
  transform: translateY(-7px);
}

.upcoming-media:hover img,
.upcoming-media:focus-visible img {
  transform: scale(1.24);
}

.upcoming-copy {
  display: grid;
  grid-template-rows: 1fr 154px;
  min-width: 0;
}

.prize-block {
  align-self: end;
  padding: 0 0 22px 0;
  text-transform: uppercase;
}

.prize-block strong,
.prize-block span {
  display: block;
}

.prize-block strong {
  color: var(--yellow);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.prize-block span {
  margin-top: 6px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.event-details {
  align-self: center;
  color: #090909;
  text-transform: uppercase;
}

.event-details time {
  display: inline-block;
  padding: 4px 10px;
  color: var(--white);
  background: #067ca8;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.event-details h3 {
  margin: 8px 0 0;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.upcoming-event.is-reversed {
  grid-template-columns: 1fr minmax(320px, 36%);
}

.upcoming-event.is-reversed .upcoming-media {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.upcoming-event.is-reversed .upcoming-copy {
  grid-column: 1;
  grid-row: 1;
}

.upcoming-event.is-reversed .prize-block,
.upcoming-event.is-reversed .event-details {
  text-align: left;
}

.event-note {
  margin: 0;
  padding: 24px;
  color: var(--white);
  background: #151515;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.event-process {
  position: relative;
  color: var(--white);
  background-color: var(--blue);
  background-image: url("./assets/process-blue.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 145%;
}

.process-shell {
  display: grid;
  grid-template-columns: 56% 44%;
  width: min(calc(100% - 120px), 1740px);
  min-height: 480px;
  margin-inline: auto;
  padding: 58px 0 52px;
}

.process-copy {
  padding: 0 60px 0 32px;
}

.register-copy {
  padding: 0 32px 0 82px;
}

.register-copy {
  border-left: 7px solid var(--white);
}

.process-shell h2 {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
}

.process-shell p,
.process-shell li {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
}

.process-shell ol {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.register-copy .button {
  margin-top: 8px;
}

.register-copy .small {
  margin-top: 30px;
  font-size: 17px;
}

.previous {
  padding: 64px 0 54px;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.previous-shell {
  width: min(calc(100% - 160px), 1500px);
  margin-inline: auto;
}

.previous-shell > p {
  margin: 22px 0 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
}

.previous-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 400;
  text-decoration: underline;
}

.previous-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 7vw, 120px);
  margin: 50px auto 62px;
}

.previous-card {
  position: relative;
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 5px solid var(--yellow);
  border-radius: 18px;
  background: #080808;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.previous-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.previous-card::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}

.previous-card > div {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 18px;
  bottom: 20px;
  text-transform: uppercase;
}

.previous-card time {
  display: inline-block;
  padding: 4px 8px;
  color: var(--white);
  background: #067ca8;
  font-size: 18px;
  font-weight: 600;
}

.previous-card h3 {
  margin: 8px 0 0;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.previous-card:hover,
.previous-card:focus-within {
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.48);
  transform: translateY(-7px);
}

.previous-card:hover > img,
.previous-card:focus-within > img {
  transform: scale(1.24);
}

.reveal-item {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.process-copy > h2.reveal-item,
.process-copy > p.reveal-item,
.process-copy > ol > li.reveal-item,
.register-copy > h2.reveal-item,
.register-copy > p.reveal-item {
  transform: translateX(-64px);
}

.process-copy > h2.reveal-item.is-visible,
.process-copy > p.reveal-item.is-visible,
.process-copy > ol > li.reveal-item.is-visible,
.register-copy > h2.reveal-item.is-visible,
.register-copy > p.reveal-item.is-visible {
  transform: translateX(0);
}

.register-copy > .button.reveal-item {
  transform: translateY(36px);
}

.register-copy > .button.reveal-item.is-visible {
  transform: translateY(0);
}

.upcoming-event:nth-child(2).reveal-item,
.previous-card:nth-child(2).reveal-item {
  transition-delay: 100ms;
}

.upcoming-event:nth-child(3).reveal-item,
.previous-card:nth-child(3).reveal-item {
  transition-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.paid-title {
  margin-top: 0 !important;
}

.faq {
  position: relative;
  padding: 72px 0 58px;
  color: #111;
  background: var(--white);
}

.faq-shell {
  width: min(calc(100% - 160px), 1500px);
  margin-inline: auto;
}

.faq h2 {
  margin: 0 0 24px;
  font-size: 58px;
  font-weight: 800;
  text-transform: uppercase;
}

.faq dl {
  margin: 0;
}

.faq dt,
.faq dd {
  font-size: 22px;
  line-height: 1.4;
}

.faq dt {
  margin-top: 9px;
  font-weight: 700;
}

.faq dd {
  margin-left: 0;
  font-weight: 400;
}

.faq-contact {
  display: block;
  margin-top: 36px;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
}

.site-footer {
  position: relative;
  padding: 54px 0 70px;
  color: #111;
  background: var(--white);
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("./assets/dotted-body.png") center / cover no-repeat;
  opacity: 0.48;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 90%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 24%, #000 90%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(60px, 8vw, 150px);
  width: min(calc(100% - 160px), 1500px);
  margin-inline: auto;
}

.footer-nav {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 18px 76px;
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-logo,
.footer-logo img {
  width: 110px;
  background: transparent;
}

.footer-logo img {
  display: block;
  mix-blend-mode: multiply;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
}

.social-links a {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #000;
  transition: transform 200ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-5px);
}

.social-links svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 1180px) {
  .site-header,
  .process-shell,
  .previous-shell,
  .faq-shell,
  .footer-inner {
    width: min(calc(100% - 64px), 1060px);
  }

  .main-nav {
    gap: 16px;
    font-size: 12px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .button {
    min-width: 190px;
    min-height: 54px;
    padding-inline: 28px;
    font-size: 16px;
  }

  .upcoming h2,
  .previous h2 {
    font-size: 50px;
  }

  .prize-block strong {
    font-size: 32px;
  }

  .prize-block span {
    font-size: 24px;
  }

  .event-details time {
    font-size: 17px;
  }

  .upcoming-event {
    padding-inline: 60px;
  }

  .event-details h3 {
    font-size: 27px;
  }

  .event-note {
    font-size: 18px;
  }

  .process-copy,
  .register-copy {
    padding-inline: 34px;
  }

  .process-shell h2 {
    font-size: 30px;
  }

  .process-shell p,
  .process-shell li {
    font-size: 17px;
  }

  .register-copy .small {
    font-size: 14px;
  }

  .previous-shell > p {
    font-size: 17px;
  }

  .previous-link {
    font-size: 16px;
  }

  .previous-card time {
    font-size: 14px;
  }

  .previous-card h3 {
    font-size: 22px;
  }

  .faq h2 {
    font-size: 48px;
  }

  .faq dt,
  .faq dd {
    font-size: 17px;
  }

  .faq-contact {
    font-size: 24px;
  }

  .previous-grid {
    gap: 40px;
  }

  .footer-inner {
    gap: 50px;
  }

  .footer-nav {
    gap: 14px 32px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .site-header {
    grid-template-columns: 42px 1fr;
    width: calc(100% - 32px);
    min-height: 78px;
  }

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

  .main-nav {
    justify-content: flex-end;
  }

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

  .events-hero {
    min-height: 300px;
  }

  .hero-panel {
    min-height: 222px;
    margin-top: 0;
  }

  .hero-blue {
    inset: auto;
    top: 0;
    left: 50%;
    width: clamp(400px, 120vw, 700px);
    height: auto;
    transform: translateX(-50%);
    object-fit: contain;
    object-position: center top;
  }

  .hero-content {
    padding-top: 56px;
  }

  .hero-title {
    width: min(250px, 70vw);
    position: relative;
    top: -59px;
    left: 0;
    margin-bottom: -75px;
  }

  .hero-content h1 {
    margin: 24px 0 12px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 7px;
  }

  .hero-content p {
    font-size: 10px;
  }

  .button {
    min-width: 142px;
    min-height: 42px;
    margin-top: 22px;
    font-size: 12px;
  }

  .hero-content .button {
    min-width: 112px;
    min-height: 32px;
    padding-inline: 16px;
    margin-top: 10px;
    font-size: 9px;
  }

  .upcoming h2,
  .previous h2 {
    font-size: 30px;
  }

  .upcoming h2 {
    padding: 20px 20px 18px;
  }

  .upcoming-event {
    grid-template-columns: 140px 1fr;
    min-height: 250px;
    padding-inline: 18px;
  }

  .upcoming-event.is-reversed {
    grid-template-columns: 1fr 140px;
  }

  .upcoming-event.is-reversed .upcoming-media {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .upcoming-event.is-reversed .upcoming-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .upcoming-event::before {
    height: 64px;
  }

  .upcoming-media {
    width: 122px;
    border-width: 3px;
    border-radius: 12px;
  }

  .upcoming-copy {
    grid-template-rows: 1fr 64px;
  }

  .prize-block {
    padding-bottom: 12px;
  }

  .prize-block strong {
    font-size: 18px;
  }

  .prize-block span {
    font-size: 14px;
  }

  .event-details time {
    font-size: 9px;
  }

  .event-details h3 {
    margin-top: 4px;
    font-size: 14px;
  }

  .event-note {
    font-size: 10px;
  }

  .event-process {
    background-image: url("./assets/process-blue-mobile.png");
    background-position: center;
    background-size: cover;
  }

  .process-shell {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    padding: 34px 0;
  }

  .process-copy,
  .register-copy {
    padding: 0;
  }

  .register-copy {
    border-left: 0;
    border-top: 4px solid var(--white);
    margin-top: 24px;
    padding-top: 24px;
  }

  .process-shell h2 {
    font-size: 23px;
  }

  .process-shell p,
  .process-shell li {
    font-size: 13px;
  }

  .previous-shell,
  .faq-shell,
  .footer-inner {
    width: calc(100% - 36px);
  }

  .previous-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 34px 0 44px;
  }

  .previous-card {
    border-width: 3px;
    border-radius: 10px;
  }

  .previous-card > div {
    left: 7px;
    right: 5px;
    bottom: 8px;
  }

  .previous-card time {
    padding: 2px 3px;
    font-size: 6px;
  }

  .previous-card h3 {
    margin-top: 3px;
    font-size: 8px;
  }

  .previous-shell > p {
    font-size: 12px;
  }

  .faq {
    padding-top: 48px;
  }

  .faq h2 {
    font-size: 32px;
  }

  .faq dt,
  .faq dd {
    font-size: 13px;
  }

  .faq-contact {
    font-size: 17px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 34px;
  }

  .footer-logo,
  .footer-logo img {
    width: 72px;
  }

  .footer-logo {
    grid-row: 1;
  }

  .footer-nav {
    grid-row: 2;
    font-size: 13px;
  }

  .social-links {
    grid-row: 3;
  }

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