/* =========================================================
   MEINHARDT UNITY RUN 2026 - REVISED MAIN PAGE
   ========================================================= */

:root {
  --navy-1000: #010719;
  --navy-950: #020b22;
  --navy-900: #04133a;
  --navy-850: #061b4b;
  --navy-800: #08245c;
  --blue-500: #008cff;
  --blue-400: #18b7ff;
  --blue-300: #75ddff;
  --gold-500: #f3b83f;
  --gold-400: #ffd36c;
  --gold-300: #ffe4a3;
  --white: #ffffff;
  --white-soft: #eef6ff;
  --muted: #adbfda;
  --line: rgba(143, 198, 255, 0.22);
  --font-body: "Inter", sans-serif;
  --font-display: "Orbitron", sans-serif;
  --page-width: 1180px;
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-blue: 0 28px 90px rgba(0, 85, 255, 0.24);
  --shadow-gold: 0 28px 90px rgba(255, 179, 40, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--navy-1000);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

img,
svg {
  display: block;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 4px;
}


.page-container {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.section-shell {
  position: relative;
  isolation: isolate;
}

.section-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy-950);
  content: "";
}

.section-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(113, 188, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 188, 255, 0.25) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
  pointer-events: none;
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-400);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  content: "";
}

.section-heading h2 {
  max-width: 720px;
  margin: 16px 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--center h2,
.section-heading--center p {
  margin-inline: auto;
}

.button {
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.button--primary {
  color: #06122b;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 14px 40px rgba(243, 184, 63, 0.26);
}

.button--primary:hover {
  box-shadow: 0 18px 48px rgba(243, 184, 63, 0.38);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(4, 19, 58, 0.46);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  border-color: var(--blue-300);
  background: rgba(0, 140, 255, 0.2);
}

/* =========================
   Hero / KV
   ========================= */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy-900);
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kv-reveal 760ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(1, 8, 28, 0.02) 0%, rgba(1, 8, 28, 0.05) 58%, rgba(1, 8, 28, 0.72) 100%),
    linear-gradient(90deg, rgba(1, 8, 28, 0.05), transparent 35%, transparent 65%, rgba(1, 8, 28, 0.08));
}

.hero__content {
  min-height: 100svh;
  padding-top: 92px;
  padding-bottom: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__copy {
  width: 100%;
  text-align: center;
}

.hero__actions {
  margin-top: 0%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: fade-up 520ms 260ms ease-out both;
}

.main-text-registration {
  text-align: center;
  margin-top: 20%;
  /* font-family: var(--font-display); */
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
  animation: fade-up 520ms 260ms ease-out both;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold-400);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes kv-reveal {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(4px);
  }
}

/* =========================
   About event
   ========================= */

.about-section {
  padding: 92px 0 52px;
}

.about-section::before {
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 140, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #020b22, #03143a);
}

.about-card {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(135, 201, 255, 0.24);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(9, 39, 92, 0.82), rgba(2, 14, 44, 0.9));
  box-shadow:
    var(--shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.about-card__heading h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-card__copy {
  padding-left: clamp(0px, 3vw, 38px);
  border-left: 1px solid rgba(117, 221, 255, 0.2);
}

.about-card__copy p {
  margin: 0;
  color: rgba(238, 246, 255, 0.83);
}

.about-card__copy p+p {
  margin-top: 18px;
}

/* =========================
   Race information
   ========================= */

.event-section {
  padding: 94px 0 118px;
}

.event-section::before {
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 143, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #020b22, #04153c);
}

.event-section__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(0, 1.18fr);
  gap: clamp(45px, 6vw, 78px);
  align-items: start;
}

.event-title span {
  display: block;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-card {
  position: relative;
  min-height: 142px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(11, 44, 102, 0.8), rgba(4, 20, 57, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.detail-card:hover {
  border-color: rgba(84, 190, 255, 0.5);
  box-shadow: 0 22px 55px rgba(0, 85, 255, 0.18);
  transform: translateY(-4px);
}

.detail-card__icon {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 209, 105, 0.42);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 199, 74, 0.2), rgba(255, 199, 74, 0.05));
  display: grid;
  place-items: center;
}

.detail-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--gold-400);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.detail-card span {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.45;
}

.detail-card--full {
  grid-column: 1 / -1;
}

.detail-card--gate {
  min-height: 118px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 50%, rgba(243, 184, 63, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(11, 44, 102, 0.86), rgba(4, 20, 57, 0.94));
}

.detail-card--gate strong {
  font-size: 1.08rem;
}

.detail-card--venue {
  min-height: 236px;
  grid-column: 1 / -1;
  align-items: center;
  background-image: url("https://tamanmini.com/taman_jelajah_indonesia/wp-content/uploads/2023/07/banner-4.jpg");
  background-position: center 48%;
  background-size: cover;
}

.detail-card__venue-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(2, 12, 39, 0.95) 0%, rgba(2, 13, 43, 0.1) 50%, rgba(2, 13, 43, 0.38) 100%),
    linear-gradient(180deg, transparent, rgba(2, 10, 31, 0.1))
}

.detail-card__body {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.map-link {
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 1px solid rgba(117, 221, 255, 0.38);
  border-radius: 999px;
  background: rgba(1, 12, 40, 0.56);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-300);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.map-link:hover {
  border-color: var(--blue-300);
  background: rgba(24, 183, 255, 0.16);
}

.map-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* =========================
   Rundown
   ========================= */

.rundown-section {
  padding: 110px 0 120px;
}

.rundown-section::before {
  background:
    radial-gradient(circle at 15% 30%, rgba(0, 140, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #03102e, #020a1f);
}

.rundown-card {
  max-width: 940px;
  margin: 50px auto 0;
  border: 1px solid rgba(124, 199, 255, 0.26);
  border-radius: var(--radius-lg);
  background: rgba(3, 18, 52, 0.86);
  box-shadow: var(--shadow-blue);
  overflow: hidden;
}

.rundown-card__head {
  padding: 17px 26px;
  background: linear-gradient(90deg, rgba(19, 104, 159, 0.95), rgba(10, 55, 113, 0.95));
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.rundown-list li {
  min-height: 58px;
  padding: 13px 26px;
  border-top: 1px solid rgba(124, 199, 255, 0.14);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: center;
  transition: background 150ms ease;
}

.rundown-list li:first-child {
  border-top: 0;
}

.rundown-list li:hover {
  background: rgba(0, 140, 255, 0.08);
}

.rundown-list time {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
}

.rundown-list span {
  color: rgba(238, 246, 255, 0.88);
  font-size: 0.9rem;
}

/* =========================
   Doorprize
   ========================= */

.prize-section {
  padding: 112px 0 132px;
}

.prize-section::before {
  background:
    radial-gradient(circle at 50% 72%, rgba(0, 128, 255, 0.18), transparent 38%),
    linear-gradient(180deg, #020a1f, #020c26);
}

.prize-section__inner {
  position: relative;
}

.prize-card {
  position: relative;
  max-width: 980px;
  margin: 54px auto 0;
  border: 1px solid rgba(255, 205, 95, 0.3);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(8, 40, 95, 0.96), rgba(3, 17, 49, 0.98));
  box-shadow:
    var(--shadow-blue),
    var(--shadow-gold),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  overflow: hidden;
}

.prize-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(117, 221, 255, 0.08);
  pointer-events: none;
  content: "";
}

.prize-card__visual {
  position: relative;
  min-height: 410px;
  background: #e8eef4;
  overflow: hidden;
}

.prize-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.prize-card:hover .prize-card__visual img {
  transform: scale(1.025);
}

.prize-card__shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.2) 42%, transparent 62%),
    linear-gradient(90deg, transparent 62%, rgba(3, 17, 49, 0.25));
  pointer-events: none;
}

.prize-card__content {
  padding: clamp(34px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prize-card__label {
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prize-card__content h3 {
  margin: 13px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.prize-card__content p {
  margin: 0;
  color: var(--muted);
}

.prize-card__content small {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 205, 95, 0.18);
  color: var(--gold-300);
  font-size: 0.74rem;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  border-top: 1px solid rgba(124, 199, 255, 0.14);
  background: rgba(1, 7, 25, 0.96);
}

.site-footer__inner {
  min-height: 96px;
  padding-block: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 100px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__title {
  color: var(--white-soft);
  font-family: var(--font-display);
  font-weight: 800;
}

.site-footer__tagline {
  text-align: right;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-footer__link {
  width: 46px;
  height: 46px;
  padding: 8px;
  border: 1px solid rgba(124, 199, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.site-footer__link:hover {
  border-color: var(--gold-400);
  background: rgba(243, 184, 63, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.site-footer__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Tablet dan mobile */
@media (max-width: 720px) {
  .site-footer__inner {
    min-height: auto;
    padding-block: 28px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    text-align: center;
  }

  .site-footer__title,
  .site-footer__tagline {
    text-align: center;
  }

  .site-footer__links {
    order: 2;
  }

  .site-footer__tagline {
    order: 3;
  }

  .site-footer__link {
    width: 42px;
    height: 42px;
    padding: 7px;
  }
}

/* =========================
   Registration modal
   ========================= */

.registration-modal {
  width: min(1120px, calc(100% - 28px));
  max-width: none;
  height: min(880px, calc(100dvh - 28px));
  max-height: none;
  padding: 0;
  border: 1px solid rgba(124, 199, 255, 0.28);
  border-radius: 24px;
  color: var(--white);
  background: #020b22;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62);
  overflow: hidden;
}

.registration-modal::backdrop {
  background: rgba(0, 4, 16, 0.82);
  backdrop-filter: blur(8px);
}

.registration-modal__panel {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.registration-modal__header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(124, 199, 255, 0.16);
  background: linear-gradient(90deg, rgba(8, 36, 92, 0.96), rgba(2, 14, 44, 0.96));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.registration-modal__eyebrow {
  color: var(--gold-400);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.registration-modal__header h2 {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.registration-modal__close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.registration-modal__close:hover {
  border-color: var(--blue-300);
  background: rgba(24, 183, 255, 0.12);
}

.registration-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.registration-modal__body {
  min-height: 0;
}

.registration-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

/* =========================
   Reveal animation
   ========================= */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 430ms ease,
    transform 430ms ease;
}

.js .reveal--delay {
  transition-delay: 90ms;
}

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

/* =========================
   Responsive
   ========================= */

@media (max-width: 960px) {

  .about-card,
  .event-section__grid {
    grid-template-columns: 1fr;
  }

  .about-card__copy {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(117, 221, 255, 0.2);
    border-left: 0;
  }

  .prize-card {
    grid-template-columns: 1fr;
  }

  .prize-card__visual {
    min-height: 390px;
  }
}

@media (max-width: 720px) {
  .page-container {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .hero {
    min-height: 820px;
  }

  .hero__content {
    min-height: 820px;
    padding-top: 470px;
    padding-bottom: 96px;
    align-items: flex-start;
  }

  .hero__image {
    object-position: center top;
  }

  .hero__shade {
    background: linear-gradient(180deg, transparent 0%, rgba(1, 8, 28, 0.08) 50%, rgba(1, 8, 28, 0.92) 88%);
  }

  .hero__actions {
    width: 100%;
    /* margin-top: 0; */
    flex-direction: column;
  }

  .hero__actions .button {
    width: min(100%, 360px);
  }

  .hero__scroll {
    display: none;
  }

  .about-section {
    padding-top: 72px;
  }

  .event-section,
  .rundown-section,
  .prize-section {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .about-card {
    border-radius: 24px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .detail-card--venue {
    min-height: 300px;
    grid-column: auto;
    align-items: flex-start;
    background-position: center;
  }

  .detail-card__venue-overlay {
    /* background: linear-gradient(180deg, rgba(2, 12, 39, 0.82), rgba(2, 13, 43, 0.94)); */
  }

  .detail-card__body {
    align-items: flex-start;
    flex-direction: column;
  }

  .rundown-card {
    margin-top: 38px;
    border-radius: 22px;
  }

  .rundown-card__head {
    display: none;
  }

  .rundown-list li {
    min-height: 0;
    padding: 17px 20px;
    grid-template-columns: 78px 1fr;
    gap: 14px;
    align-items: start;
  }

  .prize-card {
    margin-top: 40px;
    border-radius: 24px;
  }

  .prize-card__visual {
    min-height: 310px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 760px;
  }

  .hero__content {
    min-height: 760px;
    padding-top: 420px;
  }

  .section-heading h2,
  .about-card__heading h2 {
    font-size: 1.4rem;
  }

  .about-card,
  .detail-card {
    padding: 21px;
  }

  .detail-card--venue {
    min-height: 320px;
  }

  .rundown-list li {
    grid-template-columns: 68px 1fr;
  }

  .rundown-list time {
    font-size: 0.74rem;
  }

  .prize-card__visual {
    min-height: 245px;
  }

  .prize-card__content {
    padding: 28px 22px 34px;
  }

  .registration-modal {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   Internal registration page
   ========================= */

.internal-access-pending body {
  visibility: hidden;
}

.registration-page {
  background: var(--navy-1000);
}

.registration-page main {
  position: relative;
  z-index: 1;
}

/* KV registration sengaja memakai struktur hero yang sama dengan index.php. */
.registration-kv {
  min-height: 100svh;
}

.registration-kv .hero__shade {
  background:
    linear-gradient(180deg, rgba(1, 8, 28, 0.02) 0%, rgba(1, 8, 28, 0.05) 58%, rgba(1, 8, 28, 0.78) 100%),
    linear-gradient(90deg, rgba(1, 8, 28, 0.05), transparent 35%, transparent 65%, rgba(1, 8, 28, 0.08));
}

.registration-kv__actions {
  position: absolute;
  top: 60%;
  left: 50%;
  bottom: auto;
  z-index: 2;
  width: min(calc(100% - 28px), 360px);
  display: flex;
  justify-content: center;
  transform: translate(-50%, -50%);
}

.registration-kv__home {
  min-width: 190px;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(3, 16, 48, 0.62);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  animation: fade-up 520ms 260ms ease-out both;
}

.registration-kv__home svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.registration-kv__home:hover svg {
  transform: translateX(-3px);
}

.registration-form-section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 clamp(84px, 10vw, 140px);
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 140, 255, 0.14), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(243, 184, 63, 0.09), transparent 28%),
    linear-gradient(180deg, #020b22, #03143a 50%, #010719);
  isolation: isolate;
  overflow: hidden;
}

.registration-form-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(113, 188, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 188, 255, 0.24) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 86%, transparent);
  pointer-events: none;
  content: "";
}

.registration-form-container {
  max-width: 880px;
}

.registration-card {
  border: 1px solid rgba(124, 199, 255, 0.26);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(8, 38, 91, 0.95), rgba(2, 14, 43, 0.98));
  box-shadow:
    0 30px 95px rgba(0, 41, 123, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.internal-form {
  padding: clamp(28px, 5vw, 52px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--white-soft);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-field label span {
  color: red;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(124, 199, 255, 0.23);
  border-radius: 14px;
  outline: 0;
  color: var(--white);
  background: rgba(1, 11, 37, 0.7);
  font: inherit;
  font-size: 0.88rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.form-field input::placeholder {
  color: rgba(173, 191, 218, 0.55);
}

.form-field input:hover,
.form-field select:hover {
  border-color: rgba(117, 221, 255, 0.42);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--blue-300);
  background: rgba(2, 18, 55, 0.94);
  box-shadow: 0 0 0 4px rgba(24, 183, 255, 0.1);
}

.form-field select {
  padding-right: 48px;
  appearance: none;
  cursor: pointer;
}

.form-field select option {
  color: #06122b;
  background: #fff;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  pointer-events: none;
  content: "";
  transform: translateY(-70%) rotate(45deg);
}

.family-detail[hidden] {
  display: none;
}

.family-detail.is-visible {
  animation: form-field-in 200ms ease both;
}

@keyframes form-field-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.button--form-submit {
  min-width: min(100%, 280px);
  color: #06122b;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 14px 38px rgba(243, 184, 63, 0.24);
}

.button--form-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 720px) {
  .registration-kv {
    min-height: 820px;
  }

  .registration-kv .hero__image {
    object-position: center top;
  }

  .registration-kv .hero__shade {
    background: linear-gradient(180deg, transparent 0%, rgba(1, 8, 28, 0.08) 50%, rgba(1, 8, 28, 0.92) 88%);
  }

  .registration-kv {
    display: flex;
    width: max-content;
    white-space: nowrap;
  }

  .registration-kv__actions {
    top: 60%;
    bottom: auto;
  }

  .registration-kv__home {
    width: 100%;
  }

  .registration-form-section {
    padding-top: 68px;
    padding-bottom: 92px;
  }

  .registration-card {
    border-radius: 24px;
  }

  .internal-form {
    padding: 26px 21px 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-field--full {
    grid-column: auto;
  }

  .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .registration-kv {
    min-height: 760px;
  }

  .registration-form-section {
    padding-top: 30%;
  }

  .internal-form {
    padding-inline: 18px;
  }
}

/* =========================
   Internal company email gate
   ========================= */

.internal-access-modal {
  width: min(520px, calc(100% - 28px));
  max-width: none;
  padding: 0;
  border: 1px solid rgba(124, 199, 255, 0.3);
  border-radius: 24px;
  color: var(--white);
  background: transparent;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62);
  overflow: hidden;
}

.internal-access-modal::backdrop {
  background: rgba(0, 4, 16, 0.82);
  backdrop-filter: blur(8px);
}

.internal-access-card {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 183, 255, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(8, 38, 91, 0.99), rgba(2, 14, 43, 0.99));
}

.internal-access-card__header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(124, 199, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.internal-access-card__header h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.3rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.internal-access-card__close {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.internal-access-card__close:hover {
  border-color: var(--blue-300);
  background: rgba(24, 183, 255, 0.12);
}

.internal-access-card__close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.internal-access-card__body {
  padding: 26px 24px 20px;
}

.internal-access-card__body>p:first-child {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.internal-access-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--white-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.internal-access-field label span {
  color: #ff6b6b;
}

.internal-access-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(124, 199, 255, 0.28);
  border-radius: 14px;
  outline: 0;
  color: var(--white);
  background: rgba(1, 11, 37, 0.75);
  font: inherit;
  font-size: 0.9rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.internal-access-field input::placeholder {
  color: rgba(173, 191, 218, 0.55);
}

.internal-access-field input:focus {
  border-color: var(--blue-300);
  background: rgba(2, 18, 55, 0.96);
  box-shadow: 0 0 0 4px rgba(24, 183, 255, 0.1);
}

.internal-access-field small {
  display: block;
  margin-top: 9px;
  color: rgba(173, 191, 218, 0.75);
  font-size: 0.72rem;
}

.internal-access-message {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
}

.internal-access-message:empty {
  margin-top: 0;
  min-height: 0;
}

.internal-access-message.is-error {
  color: #ff9b9b;
}

.internal-access-message.is-success {
  color: #9ff0c5;
}

.internal-access-card__actions {
  padding: 0 24px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.internal-access-card__actions .button {
  min-height: 48px;
  padding-inline: 22px;
}

.internal-access-card__actions .button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button--form-secondary {
  color: var(--white-soft);
  border-color: rgba(124, 199, 255, 0.24);
  background: rgba(1, 11, 37, 0.42);
}

.button--form-secondary:hover {
  border-color: rgba(117, 221, 255, 0.5);
  background: rgba(24, 183, 255, 0.1);
}

@media (max-width: 520px) {
  .internal-access-modal {
    width: calc(100% - 20px);
    border-radius: 20px;
  }

  .internal-access-card__header,
  .internal-access-card__body {
    padding-inline: 20px;
  }

  .internal-access-card__actions {
    padding-inline: 20px;
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .internal-access-card__actions .button {
    width: 100%;
  }
}


/* =========================================================
   PHP SESSION ACCESS — NO JAVASCRIPT REQUIRED
   ========================================================= */

.php-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.php-modal.is-open,
.php-modal:target {
  display: flex;
}

.php-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  border: 0;
  background: rgba(0, 4, 16, 0.84);
  backdrop-filter: blur(8px);
}

.php-modal__card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border-radius: 20px;
}

.php-modal__external-card {
  position: relative;
  z-index: 1;
  margin: 0;
}

.form-field input[readonly] {
  cursor: not-allowed;
  color: var(--gold-300);
  border-color: rgba(243, 184, 63, 0.28);
  background: rgba(243, 184, 63, 0.08);
}

.form-help {
  display: block;
  margin-top: 8px;
  color: rgba(173, 191, 218, 0.78);
  font-size: 0.72rem;
  line-height: 1.55;
}

.form-status {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.form-status strong {
  display: block;
  margin-bottom: 6px;
}

.form-status ul {
  margin: 0;
  padding-left: 20px;
}

.form-status--error {
  color: #ffd1d1;
  border-color: rgba(255, 107, 107, 0.32);
  background: rgba(145, 20, 35, 0.22);
}

.form-status--success {
  color: #c9ffe0;
  border-color: rgba(72, 213, 136, 0.32);
  background: rgba(16, 110, 66, 0.22);
}

@media (max-width: 520px) {
  .php-modal {
    padding: 10px;
  }

  .php-modal__card {
    max-height: calc(100dvh - 20px);
  }
}

/* =========================================================
   JULY 2026 REVISION: VIDEO KV, RACE PACK CARDS & PRIZE SLIDER
   ========================================================= */

.hero__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  animation: kv-reveal 760ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.detail-card__content {
  min-width: 0;
}

.collection-location {
  width: fit-content;
  max-width: 100%;
  margin-top: 15px;
  padding: 9px 12px;
  /* border: 1px solid rgba(255, 96, 96, 0.34); */
  border-radius: 12px;
  /* background: rgba(102, 9, 20, 0.22); */
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.collection-location:hover {
  /* border-color: rgba(255, 112, 112, 0.72);
  background: rgba(173, 16, 31, 0.28); */
  transform: translateY(-1px);
}

.collection-location svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: #ff3d4f;
  stroke: #ffced2;
  stroke-width: 1.2;
}

.collection-location span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
}

.race-pack-section {
  padding: 108px 0 124px;
}

.race-pack-section::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(243, 184, 63, 0.12), transparent 30%),
    radial-gradient(circle at 84% 72%, rgba(0, 140, 255, 0.15), transparent 34%),
    linear-gradient(180deg, #04153c, #020a20);
}

.race-pack-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.race-pack-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(124, 199, 255, 0.24);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(9, 39, 92, 0.94), rgba(2, 14, 44, 0.98));
  box-shadow: 0 24px 70px rgba(0, 44, 128, 0.2);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.race-pack-card:hover {
  border-color: rgba(255, 205, 95, 0.52);
  box-shadow: 0 30px 82px rgba(0, 70, 180, 0.28);
  transform: translateY(-6px);
}

.race-pack-card__visual {
  position: relative;
  height: 330px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.18), transparent 48%),
    linear-gradient(145deg, #eef3f8, #dfe8f1);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.race-pack-card__visual::after {
  position: absolute;
  inset: auto 12% 12px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 20, 60, 0.18);
  filter: blur(14px);
  content: "";
}

.race-pack-card__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms ease;
}

.race-pack-card:hover .race-pack-card__visual img {
  transform: scale(1.035);
}

.race-pack-card__visual--medal {
  background: linear-gradient(145deg, #07101d, #020813);
}

.race-pack-card__content {
  padding: 24px 24px 28px;
}

.race-pack-card__content span {
  display: block;
  color: var(--gold-400);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.race-pack-card__content h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.prize-slider {
  position: relative;
  max-width: 980px;
  margin: 54px auto 0;
  padding-bottom: 48px;
}

.prize-slider__viewport {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.prize-slider__track {
  display: flex;
  will-change: transform;
  transition: transform 620ms cubic-bezier(0.22, 0.7, 0.2, 1);
}

.prize-slider .prize-card {
  width: 100%;
  max-width: none;
  margin: 0;
  flex: 0 0 100%;
  border-radius: var(--radius-xl);
}

.prize-slide[aria-hidden="true"] {
  pointer-events: none;
}

.prize-card__visual--contain {
  /* padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at center, rgba(255, 223, 142, 0.36), transparent 56%),
    linear-gradient(145deg, #fff8df, #ead79d); */
}

.prize-card__visual--contain img {
  object-fit: cover;
}

.prize-slider__control {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 5;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  background: rgba(2, 13, 43, 0.8);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.prize-slider__control:hover {
  border-color: var(--gold-400);
  background: rgba(8, 47, 110, 0.96);
  transform: translateY(-50%) scale(1.05);
}

.prize-slider__control--prev {
  left: -24px;
}

.prize-slider__control--next {
  right: -24px;
}

.prize-slider__control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.prize-slider__dots {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.prize-slider__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.prize-slider__dots button.is-active {
  width: 32px;
  background: var(--gold-400);
}

@media (max-width: 1040px) {
  .prize-slider__control--prev {
    left: 12px;
  }

  .prize-slider__control--next {
    right: 12px;
  }
}

@media (max-width: 900px) {
  .race-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .race-pack-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 540px);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .hero__video {
    object-position: center top;
  }

  .race-pack-section {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .race-pack-grid {
    margin-top: 38px;
    grid-template-columns: 1fr;
  }

  .race-pack-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .race-pack-card__visual {
    height: 300px;
  }

  .prize-slider {
    margin-top: 40px;
    padding-bottom: 45px;
  }

  .prize-slider__viewport,
  .prize-slider .prize-card {
    border-radius: 24px;
  }

  .prize-slider__control {
    top: 39%;
    width: 42px;
    height: 42px;
  }

  .prize-slider__control--prev {
    left: 8px;
  }

  .prize-slider__control--next {
    right: 8px;
  }
}

@media (max-width: 430px) {
  .collection-location {
    align-items: flex-start;
  }

  .race-pack-card__visual {
    height: 250px;
  }

  .prize-slider__control {
    top: 31%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prize-slider__track {
    transition: none;
  }
}

/* =========================================================
   JULY 2026 LAYOUT REVISION V4
   Compact race-pack cards, full-width collection pin,
   and uncropped landscape mobile KV.
   ========================================================= */

.detail-card--collection {
  display: block;
}

.detail-card__collection-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-card--collection .collection-location {
  width: 100%;
  max-width: none;
  justify-content: flex-start;
}

.race-pack-mini-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.race-pack-mini-card {
  min-width: 0;
  border: 1px solid rgba(124, 199, 255, 0.24);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(9, 39, 92, 0.94), rgba(2, 14, 44, 0.98));
  box-shadow: 0 16px 42px rgba(0, 44, 128, 0.18);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.race-pack-mini-card:hover {
  border-color: rgba(255, 205, 95, 0.52);
  box-shadow: 0 20px 48px rgba(0, 70, 180, 0.24);
  transform: translateY(-4px);
}

.race-pack-mini-card__visual {
  width: 100%;
  aspect-ratio: 3 / 1.7;
  padding: 0;
  background: #eef3f8;
  overflow: hidden;
}

.race-pack-mini-card--medal .race-pack-mini-card__visual {
  background: #030a14;
}

.race-pack-mini-card__visual img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  object-position: center;
}

.race-pack-mini-card__content {
  padding: 10px 8px 12px;
  text-align: center;
}

.race-pack-mini-card__content span {
  display: block;
  color: var(--gold-400);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.race-pack-mini-card__content h3 {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 0.9vw, 0.72rem);
  line-height: 1.25;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .race-pack-mini-grid {
    max-width: 620px;
  }
}

@media (max-width: 720px) {

  .hero,
  .registration-kv {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero__video,
  .hero__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--navy-1000);
  }

  .hero__content {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 12px 12px 18px;
    align-items: flex-end;
  }

  .hero__copy {
    width: 100%;
  }

  .main-text-registration {
    /* margin: 0 0 7px; */
    margin-top: -20% !important;
    margin-bottom: 4px;
    font-size: clamp(0.82rem, 3.7vw, 1rem);
    line-height: 1.1;
  }

  .hero__actions {
    width: 100%;
    margin: 0;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 8px;
  }

  .hero__actions .button {
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.56rem;
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  .registration-kv__actions {
    top: auto;
    bottom: 18px;
    width: auto;
    transform: translateX(-50%);
  }

  .registration-kv__home {
    min-width: 0;
    min-height: 34px;
    padding: 0 15px;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .race-pack-mini-grid {
    margin-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .race-pack-mini-card {
    border-radius: 12px;
  }

  .race-pack-mini-card__content {
    padding: 8px 5px 9px;
  }

  .race-pack-mini-card__content span {
    display: none;
  }

  .race-pack-mini-card__content h3 {
    margin: 0;
    font-size: clamp(0.5rem, 2.4vw, 0.66rem);
  }
}

@media (max-width: 430px) {
  .hero__content {
    padding-right: 8px;
    padding-bottom: 12px;
    padding-left: 8px;
  }

  .hero__actions {
    gap: 6px;
  }

  .hero__actions .button {
    min-height: 31px;
    padding: 0 10px;
    font-size: 0.5rem;
  }

  .registration-kv__actions {
    bottom: 12px;
  }

  .registration-kv__home {
    min-height: 31px;
    padding: 0 12px;
    font-size: 0.52rem;
  }

  .race-pack-mini-grid {
    gap: 6px;
  }

  .race-pack-mini-card__content {
    padding: 7px 3px 8px;
  }
}


/* =========================
   Size Chart Modal
   ========================= */

.size-chart-button {
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(117, 221, 255, 0.42);
  border-radius: 999px;
  color: var(--blue-300);
  background: rgba(0, 140, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.size-chart-button:hover {
  border-color: var(--blue-300);
  background: rgba(0, 140, 255, 0.18);
  transform: translateY(-2px);
}

.size-chart-modal[hidden] {
  display: none;
}

.size-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 24px;
  display: grid;
  place-items: center;
}

.size-chart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 25, 0.82);
  backdrop-filter: blur(8px);
}

.size-chart-modal__content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100svh - 48px);
  border: 1px solid rgba(117, 221, 255, 0.3);
  border-radius: 24px;
  background: #061638;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: size-chart-open 200ms ease-out;
}

.size-chart-modal__header {
  min-height: 64px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid rgba(117, 221, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.size-chart-modal__header h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.size-chart-modal__close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.size-chart-modal__close:hover {
  border-color: var(--gold-400);
  background: rgba(243, 184, 63, 0.12);
}

.size-chart-modal__image {
  max-height: calc(100svh - 140px);
  background: #ffffff;
  overflow: auto;
}

.size-chart-modal__image img {
  width: 100%;
  height: auto;
  display: block;
}

body.size-chart-is-open {
  overflow: hidden;
}

@keyframes size-chart-open {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .size-chart-modal {
    padding: 14px;
  }

  .size-chart-modal__content {
    max-height: calc(100svh - 28px);
    border-radius: 18px;
  }

  .size-chart-modal__header {
    min-height: 56px;
    padding: 10px 12px 10px 16px;
  }

  .size-chart-modal__header h2 {
    font-size: 0.82rem;
  }

  .size-chart-modal__close {
    width: 36px;
    height: 36px;
  }

  .size-chart-modal__image {
    max-height: calc(100svh - 100px);
  }

  .size-chart-button {
    width: 100%;
  }
}

/* =========================================================
   MEINHARDT REGISTRATION SUBMISSION RESULT
   ========================================================= */

.button--form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button--form-submit.is-loading::before {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(6, 18, 43, 0.28);
  border-top-color: #06122b;
  border-radius: 50%;
  content: "";
  animation: registration-submit-spin 700ms linear infinite;
}

@keyframes registration-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.registration-result-modal[hidden] {
  display: none;
}

.registration-result-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 24px;
  display: grid;
  place-items: center;
}

.registration-result-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 25, 0.86);
  backdrop-filter: blur(9px);
}

.registration-result-modal__content {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(30px, 6vw, 48px);
  border: 1px solid rgba(117, 221, 255, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 183, 255, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(8, 38, 91, 0.98), rgba(2, 14, 43, 0.99));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62);
  text-align: center;
  animation: registration-result-open 220ms ease-out;
}

.registration-result-modal__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border: 1px solid rgba(117, 221, 255, 0.4);
  border-radius: 50%;
  color: #06122b;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-400));
  box-shadow: 0 16px 40px rgba(24, 183, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
}

.registration-result-modal.is-error .registration-result-modal__icon {
  border-color: rgba(255, 128, 128, 0.5);
  color: #ffffff;
  background: linear-gradient(135deg, #ef6b6b, #ba2636);
  box-shadow: 0 16px 40px rgba(186, 38, 54, 0.28);
}

.registration-result-modal__content h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.registration-result-modal__content p {
  max-width: 400px;
  margin: 16px auto 0;
  color: rgba(238, 246, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.7;
}

.registration-result-modal__close {
  width: min(100%, 240px);
  margin-top: 28px;
}

body.registration-result-is-open {
  overflow: hidden;
}

@keyframes registration-result-open {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .registration-result-modal {
    padding: 14px;
  }

  .registration-result-modal__content {
    border-radius: 20px;
  }

  .registration-result-modal__icon {
    width: 66px;
    height: 66px;
    font-size: 1.7rem;
  }
}


/* =========================================================
   Registration API errors - v9
   ========================================================= */
.registration-result-modal__message {
  max-width: 430px;
  margin: 16px auto 0;
  color: rgba(238, 246, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.7;
  text-align: center;
}

.registration-result-modal__message>p {
  max-width: none;
  margin: 0;
  color: inherit;
}

.registration-result-modal__errors {
  max-height: min(38vh, 280px);
  margin: 14px 0 0;
  padding: 0 0 0 22px;
  overflow-y: auto;
}

.registration-result-modal__errors li+li {
  margin-top: 8px;
}

.internal-form .has-registration-error,
.internal-form [aria-invalid="true"] {
  border-color: #ff707c !important;
  box-shadow: 0 0 0 3px rgba(255, 82, 96, 0.16) !important;
}

/* =========================================================
   RACE DAY COUNTDOWN
   ========================================================= */

.event-details-stack {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.event-countdown {
  position: relative;
  width: 100%;
  margin-top: 8px;
  padding: clamp(26px, 4vw, 42px);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 22px;
  align-items: center;
  border: 1px solid rgba(117, 221, 255, 0.3);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(8, 36, 91, 0.96), rgba(2, 13, 43, 0.98));
  box-shadow:
    0 24px 65px rgba(0, 77, 191, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  isolation: isolate;
  overflow: hidden;
}

.event-countdown::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(117, 221, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 221, 255, 0.24) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, black, transparent 78%);
  pointer-events: none;
  content: "";
}

.event-countdown__glow {
  position: absolute;
  top: -90px;
  right: -70px;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 184, 63, 0.3), transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}

.event-countdown__heading {
  position: relative;
  z-index: 1;
  max-width: 520px;
  align-self: center;
}

.event-countdown__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-400);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-countdown__eyebrow::before {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  content: "";
}

.event-countdown__heading h3 {
  margin: 11px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-transform: uppercase;
}

.event-countdown__heading p {
  margin: 0;
  color: rgba(238, 246, 255, 0.72);
  font-size: 0.88rem;
}

.event-countdown__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.event-countdown__item {
  position: relative;
  min-width: 0;
  padding: 17px 8px 14px;
  border: 1px solid rgba(117, 221, 255, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(24, 183, 255, 0.13), rgba(1, 10, 31, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
  overflow: hidden;
}

.event-countdown__item::after {
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  content: "";
}

.event-countdown__item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 24px rgba(24, 183, 255, 0.24);
}

.event-countdown__item span {
  display: block;
  margin-top: 8px;
  color: var(--blue-300);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-countdown__status {
  position: relative;
  z-index: 1;
  margin: 0;
  grid-column: 1 / -1;
  color: rgba(238, 246, 255, 0.58);
  font-size: 0.72rem;
  text-align: center;
}

.event-countdown.is-complete {
  border-color: rgba(255, 211, 108, 0.55);
  box-shadow:
    0 24px 70px rgba(243, 184, 63, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.event-countdown.is-complete .event-countdown__item {
  border-color: rgba(255, 211, 108, 0.34);
}

@media (max-width: 720px) {
  .event-details-stack {
    gap: 16px;
  }

  .event-countdown {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-countdown__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-countdown__item strong {
    font-size: clamp(1.9rem, 11vw, 2.55rem);
  }
}

@media (max-width: 430px) {
  .event-countdown {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .event-countdown__grid {
    gap: 8px;
  }

  .event-countdown__item {
    padding: 15px 6px 13px;
    border-radius: 14px;
  }

  .event-countdown__heading h3 {
    font-size: 1.18rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .event-countdown,
  .event-countdown * {
    scroll-behavior: auto;
  }
}