﻿:root {
  --nav-dark: #222;
  --nav-darker: #1b1b1b;
  --red: #e50914;
  --hero-bg: #d7c99e;
  --hero-ink: rgba(186, 166, 106, 0.26);
  --gold: #b99342;
  --gold-light: #d3b263;
  --gold-dark: #86682c;
  --zigzag-divider-shape: polygon(
    0% 100%,
    0.5% 89.55%,
    1% 100%,
    1.5% 88.65%,
    2% 99.2%,
    2.5% 87.75%,
    3% 98.3%,
    3.5% 86.85%,
    4% 97.4%,
    4.5% 85.95%,
    5% 96.5%,
    5.5% 85.05%,
    6% 95.6%,
    6.5% 84.15%,
    7% 94.7%,
    7.5% 83.25%,
    8% 93.8%,
    8.5% 82.35%,
    9% 92.9%,
    9.5% 81.45%,
    10% 92%,
    10.5% 80.55%,
    11% 91.1%,
    11.5% 79.65%,
    12% 90.2%,
    12.5% 78.75%,
    13% 89.3%,
    13.5% 77.85%,
    14% 88.4%,
    14.5% 76.95%,
    15% 87.5%,
    15.5% 76.05%,
    16% 86.6%,
    16.5% 75.15%,
    17% 85.7%,
    17.5% 74.25%,
    18% 84.8%,
    18.5% 73.35%,
    19% 83.9%,
    19.5% 72.45%,
    20% 83%,
    20.5% 71.55%,
    21% 82.1%,
    21.5% 70.65%,
    22% 81.2%,
    22.5% 69.75%,
    23% 80.3%,
    23.5% 68.85%,
    24% 79.4%,
    24.5% 67.95%,
    25% 78.5%,
    25.5% 67.05%,
    26% 77.6%,
    26.5% 66.15%,
    27% 76.7%,
    27.5% 65.25%,
    28% 75.8%,
    28.5% 64.35%,
    29% 74.9%,
    29.5% 63.45%,
    30% 74%,
    30.5% 62.55%,
    31% 73.1%,
    31.5% 61.65%,
    32% 72.2%,
    32.5% 60.75%,
    33% 71.3%,
    33.5% 59.85%,
    34% 70.4%,
    34.5% 58.95%,
    35% 69.5%,
    35.5% 58.05%,
    36% 68.6%,
    36.5% 57.15%,
    37% 67.7%,
    37.5% 56.25%,
    38% 66.8%,
    38.5% 55.35%,
    39% 65.9%,
    39.5% 54.45%,
    40% 65%,
    40.5% 53.55%,
    41% 64.1%,
    41.5% 52.65%,
    42% 63.2%,
    42.5% 51.75%,
    43% 62.3%,
    43.5% 50.85%,
    44% 61.4%,
    44.5% 49.95%,
    45% 60.5%,
    45.5% 49.05%,
    46% 59.6%,
    46.5% 48.15%,
    47% 58.7%,
    47.5% 47.25%,
    48% 57.8%,
    48.5% 46.35%,
    49% 56.9%,
    49.5% 45.45%,
    50% 56%,
    50.5% 44.55%,
    51% 55.1%,
    51.5% 43.65%,
    52% 54.2%,
    52.5% 42.75%,
    53% 53.3%,
    53.5% 41.85%,
    54% 52.4%,
    54.5% 40.95%,
    55% 51.5%,
    55.5% 40.05%,
    56% 50.6%,
    56.5% 39.15%,
    57% 49.7%,
    57.5% 38.25%,
    58% 48.8%,
    58.5% 37.35%,
    59% 47.9%,
    59.5% 36.45%,
    60% 47%,
    60.5% 35.55%,
    61% 46.1%,
    61.5% 34.65%,
    62% 45.2%,
    62.5% 33.75%,
    63% 44.3%,
    63.5% 32.85%,
    64% 43.4%,
    64.5% 31.95%,
    65% 42.5%,
    65.5% 31.05%,
    66% 41.6%,
    66.5% 30.15%,
    67% 40.7%,
    67.5% 29.25%,
    68% 39.8%,
    68.5% 28.35%,
    69% 38.9%,
    69.5% 27.45%,
    70% 38%,
    70.5% 26.55%,
    71% 37.1%,
    71.5% 25.65%,
    72% 36.2%,
    72.5% 24.75%,
    73% 35.3%,
    73.5% 23.85%,
    74% 34.4%,
    74.5% 22.95%,
    75% 33.5%,
    75.5% 22.05%,
    76% 32.6%,
    76.5% 21.15%,
    77% 31.7%,
    77.5% 20.25%,
    78% 30.8%,
    78.5% 19.35%,
    79% 29.9%,
    79.5% 18.45%,
    80% 29%,
    80.5% 17.55%,
    81% 28.1%,
    81.5% 16.65%,
    82% 27.2%,
    82.5% 15.75%,
    83% 26.3%,
    83.5% 14.85%,
    84% 25.4%,
    84.5% 13.95%,
    85% 24.5%,
    85.5% 13.05%,
    86% 23.6%,
    86.5% 12.15%,
    87% 22.7%,
    87.5% 11.25%,
    88% 21.8%,
    88.5% 10.35%,
    89% 20.9%,
    89.5% 9.45%,
    90% 20%,
    90.5% 8.55%,
    91% 19.1%,
    91.5% 7.65%,
    92% 18.2%,
    92.5% 6.75%,
    93% 17.3%,
    93.5% 5.85%,
    94% 16.4%,
    94.5% 4.95%,
    95% 15.5%,
    95.5% 4.05%,
    96% 14.6%,
    96.5% 3.15%,
    97% 13.7%,
    97.5% 2.25%,
    98% 12.8%,
    98.5% 1.35%,
    99% 11.9%,
    99.5% 0.45%,
    100% 11%,
    100% 100%,
    0 100%
  );
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.site-nav {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 7px,
      transparent 7px,
      transparent 15px
    ),
    linear-gradient(180deg, var(--nav-dark), var(--nav-darker));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  place-items: center;
  gap: 5px;
  border: 2px solid #fff;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 3px;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.22);
}

.site-nav.is-menu-open .nav-toggle {
  background: var(--red);
}

.nav-brand {
  position: absolute;
  left: 22px;
  top: 50%;
  display: inline-flex;
  width: 128px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  text-decoration: none;
}

.nav-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.28));
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 7px;
  padding: 0 14px;
  color: #fff;
  background-color: transparent;
  background-image:
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px);
  background-position:
    8px 8px,
    calc(100% - 8px) 8px,
    8px calc(100% - 8px),
    calc(100% - 8px) calc(100% - 8px);
  background-repeat: no-repeat;
  background-size: 4px 4px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-link.is-active {
  min-width: 72px;
  padding-left: 18px;
  padding-right: 18px;
}

.nav-link:not(:hover):not(:focus-visible):not(.is-active) {
  background-image: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: #fff;
  background: var(--red);
  background-image:
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px);
  background-position:
    8px 8px,
    calc(100% - 8px) 8px,
    8px calc(100% - 8px),
    calc(100% - 8px) calc(100% - 8px);
  background-repeat: no-repeat;
  background-size: 4px 4px;
  outline: none;
}

.nav-link.is-active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  background-image:
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle, #fff 0 2px, transparent 2.5px);
  background-position:
    8px 8px,
    calc(100% - 8px) 8px,
    8px calc(100% - 8px),
    calc(100% - 8px) calc(100% - 8px);
  background-repeat: no-repeat;
  background-size: 4px 4px;
}

.nav-link.is-active:hover,
.nav-link.is-active:focus-visible {
  background-color: var(--red);
}

.hero-pattern {
  position: relative;
  overflow: hidden;
  background-color: #c4b793;
  background-image: url("../images/patterns/hero-pattern-9.png");
  background-position: 0 0;
  background-size: 149px 149px;
}

.badge-image {
  display: block;
  width: min(248px, 72vw);
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 5px 0 rgba(105, 78, 31, 0.55)) drop-shadow(0 16px 24px rgba(67, 45, 11, 0.14));
}

.hero-copy-wrap {
  transform: translateX(-32px);
}

.copy-block {
  margin-top: 20px;
}

.copy-block h1 {
  max-width: 470px;
  font-size: clamp(25px, 3.2vw, 34px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.2px;
}

.copy-block p {
  margin-top: 23px;
  max-width: 470px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-button {
  margin-top: 28px;
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #050505;
  padding: 0 44px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, background-color 160ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  border-color: #fff;
  background: var(--red);
  outline: none;
  transform: translateY(-2px);
}

.hero-button span {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  line-height: 14px;
  transform: translateY(-1px);
}

.image-stage {
  position: relative;
  width: min(760px, 96vw);
  transform: rotate(-2deg);
  filter: drop-shadow(0 22px 20px rgba(70, 45, 7, 0.2));
}

.image-stage::before {
  content: "";
  position: absolute;
  inset: 11% 6% 3% 10%;
  border-radius: 48%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(22px);
}

.image-stage img {
  position: relative;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  transform-origin: center;
  animation: heroFloat 4200ms ease-in-out infinite;
  transition: opacity 500ms ease, transform 500ms ease, filter 500ms ease;
}

.image-stage img.is-switching {
  opacity: 0;
  transform: translateX(46px) scale(0.96) rotate(4deg);
  filter: blur(2px);
}

.zigzag-cut {
  position: absolute;
  z-index: 3;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 96px;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 7px,
      rgba(80, 80, 80, 0.012) 7px,
      rgba(80, 80, 80, 0.033) 10px,
      rgba(80, 80, 80, 0.033) 15px,
      rgba(80, 80, 80, 0.012) 18px,
      transparent 21px,
      transparent 27px
    ),
    #fff;
  clip-path: var(--zigzag-divider-shape);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 950;
  line-height: 1;
}

.striped-surface {
  position: relative;
  background: #fff;
}

.striped-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 7px,
      rgba(80, 80, 80, 0.012) 7px,
      rgba(80, 80, 80, 0.033) 10px,
      rgba(80, 80, 80, 0.033) 15px,
      rgba(80, 80, 80, 0.012) 18px,
      transparent 21px,
      transparent 27px
    ),
    #fff;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.35) 34px,
    #000 92px,
    #000 calc(100% - 120px),
    rgba(0, 0, 0, 0.35) calc(100% - 54px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.35) 34px,
    #000 92px,
    #000 calc(100% - 120px),
    rgba(0, 0, 0, 0.35) calc(100% - 54px),
    transparent 100%
  );
}

.striped-surface > * {
  position: relative;
  z-index: 1;
}

.photo-strip {
  position: relative;
  height: 290px;
  margin-top: 0;
  overflow: hidden;
  background: transparent;
}

.photo-strip__track {
  position: absolute;
  top: 8px;
  left: -80px;
  display: flex;
  width: max-content;
  animation: photoStripMove 34s linear infinite;
  will-change: transform;
}

.photo-strip__group {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}

.photo-strip__group img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}

@keyframes photoStripMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-strip__track {
    animation: none;
  }
}

.encounter-section {
  background: transparent;
  color: #666;
  padding: 78px 24px 90px;
}

.encounter-inner {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  align-items: flex-start;
  gap: clamp(42px, 7vw, 96px);
}

.encounter-copy {
  flex: 1 1 46%;
  max-width: 560px;
}

.encounter-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #575757;
  padding: 8px 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.encounter-copy h2 {
  max-width: 520px;
  color: #5f5f5f;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.3px;
}

.encounter-copy p {
  margin-top: 24px;
  color: #686868;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.encounter-objectives {
  flex: 1 1 54%;
  display: grid;
  gap: 20px;
  padding-top: 10px;
}

.encounter-objectives h3 {
  color: #5f5f5f;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 950;
  line-height: 1;
}

.objective-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 10px;
  padding: 4px 0;
}

.objective-coin {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff5a6 0 10%, transparent 11%),
    linear-gradient(90deg, transparent 0 18%, rgba(112, 74, 14, 0.18) 19% 24%, transparent 25% 100%),
    linear-gradient(180deg, #ffd94f 0%, #f6bd28 52%, #bf7a10 100%);
  box-shadow:
    0 0 0 3px #7e4c0d,
    0 0 0 5px #ffd96b,
    0 5px 0 rgba(95, 58, 9, 0.28);
}

.objective-coin::after {
  content: "";
  position: absolute;
  inset: 8px 14px;
  border-left: 4px solid rgba(126, 76, 13, 0.45);
  border-right: 4px solid rgba(255, 246, 172, 0.5);
}

.objective-item h4 {
  color: #606060;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
}

.objective-item p {
  margin-top: 7px;
  color: #707070;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.competitions-intro {
  display: grid;
  place-items: center;
  padding: 74px 24px 32px;
  text-align: center;
}

.competitions-intro h2 {
  color: #5f5f5f;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.4px;
}

.striped-zigzag {
  width: 100%;
  height: 150px;
  background-color: #1f232b;
  background-image: url("../images/patterns/copetition-pattern-dark.jpg");
  background-position: 0 0;
  background-repeat: repeat;
  clip-path: var(--zigzag-divider-shape);
}

.competitions-list {
  overflow: hidden;
  background-color: #1f232b;
  background-image: url("../images/patterns/copetition-pattern-dark.jpg");
  background-position: 0 0;
  background-repeat: repeat;
}

.competition-section {
  position: relative;
  overflow: hidden;
  padding: 106px 24px 156px;
  background-color: #f2f5f9;
  background-image: url("../images/patterns/copetition-pattern-light.jpg");
  background-position: 0 0;
  background-repeat: repeat;
  color: #3f4855;
}

.competition-section--dark {
  background-color: #1f232b;
  background-image: url("../images/patterns/copetition-pattern-dark.jpg");
  background-position: 0 0;
  color: #f4f2e8;
}

.competition-inner {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 7vw, 110px);
}

.competition-section--reverse .competition-inner {
  flex-direction: row-reverse;
}

.competition-media {
  position: relative;
  flex: 0 1 46%;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.competition-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(330px, 72%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.34) 0 11%, transparent 12%),
    linear-gradient(135deg, rgba(230, 0, 18, 0.9), rgba(185, 147, 66, 0.88));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.16),
    inset 0 0 0 8px rgba(255, 255, 255, 0.1);
  opacity: 0.86;
}

.competition-section--dark .competition-media::before {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.28) 0 11%, transparent 12%),
    linear-gradient(135deg, rgba(230, 0, 18, 0.82), rgba(211, 178, 99, 0.78));
  opacity: 0.74;
}

.competition-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(470px, 100%);
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}

.competition-content {
  flex: 0 1 54%;
  max-width: 570px;
}

.competition-content h3 {
  color: #5f5f5f;
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.competition-section--dark .competition-content h3 {
  color: #fff8d8;
}

.competition-content > p {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.competition-detail {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  align-items: flex-start;
}

.competition-detail > span {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background:
    radial-gradient(circle at 32% 28%, #fff5a6 0 10%, transparent 11%),
    linear-gradient(90deg, transparent 0 18%, rgba(112, 74, 14, 0.18) 19% 24%, transparent 25% 100%),
    linear-gradient(180deg, #ffd94f 0%, #f6bd28 52%, #bf7a10 100%);
  box-shadow:
    0 0 0 2px #7e4c0d,
    0 0 0 4px #ffd96b,
    0 4px 0 rgba(95, 58, 9, 0.22);
}

.competition-detail > span::after {
  content: "";
  position: absolute;
  inset: 6px 10px;
  border-left: 3px solid rgba(126, 76, 13, 0.45);
  border-right: 3px solid rgba(255, 246, 172, 0.5);
}

.competition-detail h4 {
  color: #151515;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
}

.competition-section--dark .competition-detail h4 {
  color: #fff8d8;
}

.competition-detail p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.competition-button {
  display: inline-flex;
  min-height: 49px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #050505;
  padding: 0 48px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.competition-button:hover,
.competition-button:focus-visible {
  border-color: #fff;
  background: var(--red);
  outline: none;
  transform: translateY(-2px);
}

.competition-section--dark .competition-button {
  background: #050505;
  color: #fff;
}

.competition-section--dark .competition-button:hover,
.competition-section--dark .competition-button:focus-visible {
  border-color: #fff;
  background: var(--red);
  color: #fff;
}

.competition-zigzag {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 96px;
  background-color: #f2f5f9;
  background-image: url("../images/patterns/copetition-pattern-light.jpg");
  background-position: 0 0;
  background-repeat: repeat;
  clip-path: var(--zigzag-divider-shape);
}

.competition-zigzag--dark {
  background-color: #1f232b;
  background-image: url("../images/patterns/copetition-pattern-dark.jpg");
}

.competition-zigzag--white {
  background: #fff;
}

.challenger-wave-divider {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 118px;
  pointer-events: none;
}

.challenger-wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.challenger-wave-divider path {
  fill: url("#challengerWavePattern");
}

.challenger-section {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  margin-top: -2px;
  background-color: #23cf77;
  background-image:
    linear-gradient(90deg, rgba(35, 207, 119, 0.38), rgba(20, 188, 154, 0.34)),
    url("../images/patterns/challenger-pattern.png");
  background-position: 0 0, 0 -118px;
  background-size: auto, 1000px 610px;
  background-blend-mode: normal, multiply;
  padding: 116px 24px 150px;
}

.challenger-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 34%),
    rgba(35, 207, 119, 0.16);
  pointer-events: none;
}

.challenger-section::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 110px;
  background: #102033;
  clip-path: polygon(0 100%, 100% 28%, 100% 100%);
  pointer-events: none;
}

.challenger-inner {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, 0.74fr) minmax(480px, 1.26fr);
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
}

.challenger-copy {
  position: relative;
  max-width: 390px;
  padding-top: 0;
}

.challenger-plaque {
  position: relative;
  display: inline-flex;
  min-width: min(330px, 100%);
  align-items: center;
  justify-content: center;
  background: #9a7332;
  padding: 13px 24px;
  color: #fff;
  box-shadow:
    0 5px 0 rgba(82, 54, 18, 0.42),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.challenger-plaque::before,
.challenger-plaque::after {
  content: "";
  position: absolute;
  top: 0;
  width: 7px;
  height: 100%;
  background: rgba(82, 54, 18, 0.28);
}

.challenger-plaque::before {
  left: -7px;
}

.challenger-plaque::after {
  right: -7px;
}

.challenger-plaque h2 {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
}

.challenger-copy p {
  max-width: 330px;
  margin: 24px 0 0;
  color: #111;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.48;
}

.challenger-photo {
  position: relative;
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    100% 3%,
    calc(100% - 24px) 6%,
    100% 9%,
    calc(100% - 24px) 12%,
    100% 15%,
    calc(100% - 24px) 18%,
    100% 21%,
    calc(100% - 24px) 24%,
    100% 27%,
    calc(100% - 24px) 30%,
    100% 33%,
    calc(100% - 24px) 36%,
    100% 39%,
    calc(100% - 24px) 42%,
    100% 45%,
    calc(100% - 24px) 48%,
    100% 51%,
    calc(100% - 24px) 54%,
    100% 57%,
    calc(100% - 24px) 60%,
    100% 63%,
    calc(100% - 24px) 66%,
    100% 69%,
    calc(100% - 24px) 72%,
    100% 75%,
    calc(100% - 24px) 78%,
    100% 81%,
    calc(100% - 24px) 84%,
    100% 87%,
    calc(100% - 24px) 90%,
    100% 93%,
    calc(100% - 24px) 96%,
    100% 100%,
    0 100%
  );
  box-shadow: 0 22px 38px rgba(0, 76, 48, 0.32);
}

.challenger-photo img {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 430px);
  object-fit: cover;
  object-position: center 34%;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #102033;
  color: #fff;
  margin-top: -1px;
  padding: 88px 24px 76px;
}

.site-footer::before {
  content: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1040px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, 1.45fr) minmax(150px, 0.72fr) minmax(150px, 0.72fr) minmax(220px, 0.95fr);
  gap: 54px;
}

.footer-logo {
  display: block;
  width: 190px;
  height: auto;
  margin-bottom: 28px;
  object-fit: contain;
  filter: none;
}

.footer-about p {
  max-width: 360px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.1px;
}

.footer-about p + p {
  font-style: italic;
}

.footer-column h2 {
  margin: 4px 0 30px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.16);
}

.footer-column ul {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  position: relative;
  padding-left: 14px;
}

.footer-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid rgba(255, 255, 255, 0.72);
}

.footer-column a,
.footer-social {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-social:hover,
.footer-social:focus-visible {
  color: #fff6d2;
  outline: none;
  transform: translateX(2px);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 15px;
  opacity: 0.86;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-schedule dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.footer-schedule dl > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-schedule dt {
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
}

.footer-schedule div:last-child dt {
  text-transform: uppercase;
}

.footer-schedule dd {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.footer-schedule div:last-child {
  display: block;
  margin-top: 12px;
}

.footer-schedule div:last-child dd {
  margin-top: 18px;
}

.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.welcome-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 5, 0.52);
  backdrop-filter: blur(2px);
}

.welcome-card {
  position: relative;
  width: min(720px, 90vw);
  min-height: 0;
  overflow: visible;
  border: 1px solid rgba(211, 168, 71, 0.95);
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 5px,
      transparent 5px,
      transparent 13px
    ),
    linear-gradient(180deg, #171411 0%, #0b0a09 100%);
  box-shadow:
    0 0 0 4px rgba(211, 168, 71, 0.12),
    0 24px 54px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 246, 207, 0.06);
  color: #fff6cf;
  padding: 56px 250px 52px 60px;
  transform: translateY(14px) scale(0.94);
  opacity: 0;
  transition: transform 260ms cubic-bezier(.18, .82, .28, 1.12), opacity 220ms ease;
}

.welcome-modal.is-open .welcome-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.welcome-card::before,
.welcome-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #d3a847;
  box-shadow: 0 0 0 1px rgba(255, 246, 207, 0.42);
}

.welcome-card::before {
  left: 18px;
  top: 18px;
}

.welcome-card::after {
  right: 18px;
  bottom: 18px;
}

.welcome-character {
  position: absolute;
  z-index: 4;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.welcome-character-right {
  right: -72px;
  bottom: -18px;
  width: min(330px, 42vw);
  max-height: 96%;
}

.welcome-content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: start;
  text-align: left;
}

.welcome-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 8;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #fff6cf;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff9df;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.welcome-school-mark {
  display: inline-flex;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(234, 198, 111, 0.36);
  border-radius: 999px;
  background: rgba(234, 198, 111, 0.08);
  padding: 5px 13px 5px 6px;
  color: rgba(255, 246, 207, 0.78);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.8px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 207, 0.05);
}

.welcome-school-mark img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.88;
}

.welcome-card h2 {
  max-width: 400px;
  margin: 0 0 18px;
  color: #fff9df;
  font-size: clamp(24px, 3.3vw, 34px);
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.72);
}

.welcome-card p {
  margin: 0;
  max-width: 410px;
  color: rgba(255, 246, 207, 0.88);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.coin-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
  max-width: 410px;
  text-align: left;
}

.coin-callout strong {
  color: rgba(255, 246, 207, 0.78);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
}

.pixel-coin {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, #fff5a6 0 10%, transparent 11%),
    linear-gradient(90deg, transparent 0 18%, rgba(112, 74, 14, 0.18) 19% 24%, transparent 25% 100%),
    linear-gradient(180deg, #ffd94f 0%, #f6bd28 52%, #bf7a10 100%);
  box-shadow:
    0 0 0 3px #7e4c0d,
    0 0 0 5px #ffd96b,
    0 5px 0 rgba(95, 58, 9, 0.38);
  image-rendering: pixelated;
  animation: coinShine 2200ms ease-in-out infinite;
}

.pixel-coin span {
  position: absolute;
  inset: 9px 16px;
  border-left: 4px solid rgba(126, 76, 13, 0.45);
  border-right: 4px solid rgba(255, 246, 172, 0.5);
}

.welcome-close:hover,
.welcome-close:focus-visible {
  border-color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.welcome-confetti {
  position: fixed;
  inset: 0;
  z-index: 82;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 18px;
  border-radius: 2px;
  opacity: 0.92;
  animation: confettiBurst var(--fall-duration, 1800ms) cubic-bezier(.16, .72, .32, 1) forwards;
}

@keyframes coinShine {
  0%,
  100% {
    transform: rotateY(0deg) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: rotateY(18deg) scale(1.04);
    filter: brightness(1.16);
  }
}

@keyframes confettiBurst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  52% {
    transform: translate3d(var(--burst-x), var(--burst-y), 0) rotate(340deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--fall-x), var(--fall-y), 0) rotate(720deg);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@media (max-width: 900px) {
  .site-nav .nav-shell {
    position: relative;
    justify-content: flex-end;
    overflow: visible;
  }

  .nav-brand {
    left: 18px;
    width: 112px;
    height: 40px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav .primary-nav {
    position: absolute;
    z-index: 50;
    top: calc(100% + 10px);
    right: 20px;
    display: none !important;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background:
      repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.035) 0,
        rgba(255, 255, 255, 0.035) 7px,
        transparent 7px,
        transparent 15px
      ),
      linear-gradient(180deg, var(--nav-dark), var(--nav-darker));
    padding: 14px;
    box-shadow: 0 18px 26px rgba(0, 0, 0, 0.26);
  }

  .site-nav.is-menu-open .primary-nav {
    display: flex !important;
  }

  .hero-copy-wrap {
    transform: none;
  }

  .badge-image {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-link {
    min-height: 36px;
    width: 100%;
    flex: 0 0 auto;
    padding: 0 13px;
    font-size: 11px;
  }

  .copy-block {
    text-align: center;
  }

  .copy-block h1,
  .copy-block p {
    margin-left: auto;
    margin-right: auto;
  }

  .zigzag-cut,
  .striped-zigzag,
  .competition-zigzag {
    clip-path: var(--zigzag-divider-shape);
  }

  .zigzag-cut {
    height: 86px;
  }

  .striped-zigzag {
    height: 120px;
  }

  .photo-strip {
    height: 208px;
  }

  .photo-strip__track {
    top: 8px;
    left: -70px;
  }

  .photo-strip__group {
    gap: 14px;
    padding-right: 14px;
  }

  .photo-strip__group img {
    width: 168px;
    height: 168px;
    border-radius: 8px;
  }

  .encounter-section {
    padding: 56px 22px 68px;
  }

  .encounter-inner {
    flex-direction: column;
    gap: 38px;
  }

  .encounter-copy {
    max-width: none;
  }

  .encounter-copy p {
    font-size: 16px;
  }

  .encounter-objectives {
    width: 100%;
    padding-top: 0;
  }

  .competitions-intro {
    padding: 54px 22px 26px;
  }

  .competitions-intro h2 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .competition-section {
    padding: 76px 22px 118px;
  }

  .competition-inner,
  .competition-section--reverse .competition-inner {
    flex-direction: column;
    gap: 34px;
  }

  .competition-media,
  .competition-content {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }

  .competition-media img {
    width: min(360px, 92vw);
  }

  .competition-media {
    min-height: 330px;
  }

  .competition-media::before {
    width: min(250px, 66vw);
  }

  .competition-content h3 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .competition-detail h4 {
    font-size: 19px;
  }

  .challenger-wave-divider {
    height: 96px;
  }

  .challenger-section {
    background-position: 0 0, 0 -96px;
    padding: 96px 22px 124px;
  }

  .challenger-section::after {
    height: 86px;
    clip-path: polygon(0 100%, 100% 42%, 100% 100%);
  }

  .challenger-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .challenger-copy {
    max-width: 460px;
    margin: 0 auto;
    padding-top: 86px;
    text-align: center;
  }

  .challenger-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .challenger-photo {
    min-height: 260px;
  }

  .challenger-photo img {
    height: 320px;
  }

  .site-footer {
    padding: 68px 22px 54px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

}

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

  .copy-block p {
    font-size: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .challenger-section {
    padding-top: 82px;
    padding-bottom: 112px;
  }

  .challenger-plaque {
    min-width: 0;
    width: 100%;
    padding: 16px 18px;
  }

  .challenger-photo {
    border-radius: 8px 0 0 8px;
  }

  .challenger-photo img {
    height: 280px;
  }

  .footer-logo {
    width: 170px;
    height: auto;
  }

  .footer-column h2 {
    margin-bottom: 20px;
  }

  .footer-column ul {
    gap: 14px;
  }

  .welcome-card {
    width: min(360px, 92vw);
    min-height: 0;
    padding: 58px 24px 168px;
  }

  .welcome-character-right {
    right: -24px;
    bottom: -18px;
    width: 210px;
    max-height: none;
  }

  .welcome-card h2,
  .welcome-card p,
  .coin-callout {
    max-width: none;
  }

  .welcome-school-mark {
    margin-bottom: 14px;
    padding-right: 11px;
    font-size: 10px;
  }

  .welcome-school-mark img {
    width: 27px;
    height: 27px;
  }

  .welcome-card h2 {
    font-size: clamp(22px, 7vw, 28px);
  }
}






