:root {
  --bg: #070a0f;
  --bg-soft: #0d1421;
  --fg: #f4f6fa;
  --muted: #a6b1c0;
  --accent-blue: #2b66dd;
  --accent-warm: #b79b67;
  --line: rgba(162, 178, 206, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--fg);
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(43, 102, 221, 0.12), transparent 62%),
    radial-gradient(760px 440px at -8% 12%, rgba(183, 155, 103, 0.07), transparent 66%),
    var(--bg);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #070a0f;
  display: grid;
  place-items: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.loader-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.loader-mark img {
  width: 144px;
  height: 144px;
  object-fit: contain;
}

.loader-line {
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-warm), var(--accent-blue), transparent);
  background-size: 200% 100%;
  animation: lineMove 1.5s linear infinite;
}

body.is-ready .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  transition: background 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.scrolled,
body.menu-open .site-header {
  background: rgba(7, 10, 15, 0.8);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  font-family: "Teko", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.8px;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(6, 9, 14, 0.97);
  padding: 95px 16px 28px;
  display: grid;
  align-content: space-between;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.menu-panel.is-open {
  transform: translateX(0);
  opacity: 1;
}

.menu-nav {
  display: grid;
  gap: 16px;
}

.menu-nav a {
  font-family: "Teko", sans-serif;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 0.95;
  letter-spacing: 1px;
}

.menu-nav a[aria-current="page"] {
  color: var(--accent-warm);
}

.menu-meta {
  display: grid;
  gap: 8px;
}

.menu-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.menu-socials {
  display: flex;
  gap: 14px;
}

.menu-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(0) saturate(100%) invert(100%);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.menu-socials a:hover img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(90%) saturate(1300%) hue-rotate(206deg) brightness(92%) contrast(92%);
  opacity: 1;
}

main {
  padding-top: 70px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.38) 15%, rgba(7, 10, 15, 0.92) 85%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 16px 126px;
  width: min(680px, 100%);
}

.hero-eyebrow,
.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.68rem;
  color: var(--accent-warm);
}

.hero-title,
.page-title,
.section-title {
  margin: 8px 0 0;
  font-family: "Teko", sans-serif;
  line-height: 0.95;
  letter-spacing: 0.8px;
}

.hero-title {
  font-size: clamp(3rem, 15vw, 6.8rem);
}

.hero-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 480px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-sponsors {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-sponsors a {
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  color: rgba(244, 246, 250, 0.82);
  border-bottom: 1px solid rgba(162, 178, 206, 0.35);
}

.hero-sponsors a:hover {
  color: #dce8ff;
  border-bottom-color: rgba(43, 102, 221, 0.9);
}

.hero-sponsor-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px 14px;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0), rgba(7, 10, 15, 0.88) 45%);
}

.hero-sponsor-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  border: 1px solid rgba(162, 178, 206, 0.16);
  background: rgba(7, 12, 22, 0.62);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-sponsor-banner img {
  max-width: 90%;
  max-height: 54px;
  object-fit: contain;
}

.hero-sponsor-banner a:hover {
  border-color: rgba(66, 119, 226, 0.62);
  background: rgba(10, 18, 33, 0.88);
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  border: 1px solid rgba(164, 178, 204, 0.35);
  color: var(--fg);
  padding: 10px 16px;
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  border-color: var(--accent-blue);
  color: #fff;
}

.btn-primary {
  border-color: var(--accent-blue);
  background: rgba(43, 102, 221, 0.16);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.scroll-indicator span {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
  transform: rotate(45deg);
  animation: bounce 1.4s infinite;
}

.page-hero {
  padding: 36px 0 24px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: clamp(2.4rem, 11vw, 4.8rem);
}

.page-subtitle {
  margin: 10px 0 0;
  max-width: 620px;
  color: var(--muted);
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: clamp(2.1rem, 9vw, 4rem);
}

.section-text {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.split {
  display: grid;
  gap: 24px;
}

.image-block {
  margin-top: 18px;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.image-block.image-block-contain img {
  max-height: 420px;
  object-fit: contain;
  background: rgba(8, 13, 24, 0.55);
}

.photo-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-gallery {
  display: grid;
  gap: 16px;
}

.home-gallery .image-block {
  margin-top: 0;
}

@media (max-width: 759px) {
  .image-block img {
    max-height: 280px;
    object-fit: contain;
    background: rgba(8, 13, 24, 0.55);
  }

  .hero-sponsor-banner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-sponsor-banner a {
    height: 48px;
  }

  .hero-sponsor-banner img {
    max-height: 30px;
  }
}

@media (min-width: 1080px) {
  .hero-sponsor-banner a {
    height: 86px;
  }

  .hero-sponsor-banner img {
    max-height: 64px;
  }
}

.home-points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.home-point {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.home-point h3,
.partner-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.home-point p,
.partner-item p,
.contact-block p,
.timeline-copy p {
  margin: 8px 0 0;
  color: var(--muted);
}

.partner-list {
  display: grid;
  gap: 14px;
}

.partner-item {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.timeline {
  position: relative;
  margin-top: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 78px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 28px 1fr;
  gap: 12px;
  padding: 22px 0;
}

.timeline-year {
  color: var(--accent-warm);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: right;
  padding-top: 2px;
}

.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #203861;
  margin-top: 4px;
  transition: background 0.25s ease;
}

.timeline-item.active .timeline-dot {
  background: var(--accent-warm);
}

.timeline-copy h2 {
  margin: 0;
  font-size: 1.08rem;
}

.timeline-media {
  margin-top: 12px;
  border: 1px solid rgba(162, 178, 206, 0.18);
  overflow: hidden;
  background: rgba(8, 13, 24, 0.4);
}

.timeline-media img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.timeline-media img.timeline-focus-lower {
  max-height: 270px;
  object-position: center 90%;
}

.events-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.events-list li {
  color: var(--muted);
}

.schedule-wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.schedule-section-heading {
  text-align: center;
  margin-bottom: 14px;
}

.schedule-controls {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.62);
}

.schedule-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.schedule-controls select {
  border: 1px solid rgba(162, 178, 206, 0.28);
  background: rgba(8, 13, 24, 0.8);
  color: var(--fg);
  font: inherit;
  padding: 8px 10px;
}

.schedule-list {
  display: grid;
  gap: 10px;
}

.schedule-item {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.56);
  align-items: center;
}

.schedule-date strong {
  display: block;
  font-size: 0.95rem;
}

.schedule-date span {
  color: var(--muted);
  font-size: 0.8rem;
}

.schedule-main h3 {
  margin: 0;
  font-size: 1rem;
}

.schedule-main p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.schedule-layout {
  width: 100%;
  max-width: 130px;
  height: 76px;
  border: 1px solid rgba(162, 178, 206, 0.24);
  background: rgba(8, 13, 24, 0.62);
  padding: 6px;
  object-fit: contain;
}

.schedule-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(162, 178, 206, 0.42);
  color: #dbe8ff;
  padding: 4px 10px;
  font-size: 0.78rem;
  border-radius: 999px;
  width: fit-content;
}

.number-grid {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.number-box {
  border: 1px solid rgba(162, 178, 206, 0.22);
  background: rgba(10, 16, 28, 0.55);
  padding: 14px;
  animation: statFloat 3.4s ease-in-out infinite;
}

.number-box:nth-child(2) { animation-delay: 0.3s; }
.number-box:nth-child(3) { animation-delay: 0.6s; }
.number-box:nth-child(4) { animation-delay: 0.9s; }

.number-box strong {
  display: block;
  font-family: "Teko", sans-serif;
  font-size: clamp(2.1rem, 8vw, 3rem);
  line-height: 0.9;
  color: #eaf0ff;
}

.number-box span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.podium-gallery {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.podium-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid rgba(162, 178, 206, 0.2);
}

.sponsor-photo-grid {
  display: grid;
  gap: 18px;
}

.sponsor-photo-card a {
  display: block;
}

.sponsor-photo-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: rgba(8, 13, 24, 0.55);
  border: 1px solid rgba(162, 178, 206, 0.22);
}

.sponsor-photo-card h3 {
  margin: 10px 0 0;
  font-size: 1.02rem;
  transition: color 0.2s ease;
}

.sponsor-photo-card a:hover h3 {
  color: var(--accent-blue);
}

.sponsor-photo-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 24px;
}

.contact-form-shell {
  border: 1px solid rgba(162, 178, 206, 0.26);
  border-radius: 16px;
  padding: 22px 18px;
  background:
    radial-gradient(680px 280px at 0% 0%, rgba(43, 102, 221, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(8, 14, 26, 0.86), rgba(7, 12, 22, 0.86));
}

.contact-title {
  margin: 0;
  font-family: "Teko", sans-serif;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 0.95;
  letter-spacing: 1px;
}

.contact-form-intro {
  margin: 8px 0 16px;
  color: var(--muted);
}

.contact-meta {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.contact-meta span {
  color: var(--accent-warm);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.contact-meta strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid rgba(162, 178, 206, 0.28);
  border-radius: 10px;
  background: rgba(8, 13, 24, 0.66);
  color: var(--fg);
  font: inherit;
  padding: 12px 12px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-field select {
  appearance: none;
}

.consent-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}

.consent-row input {
  width: 14px;
  height: 14px;
}

.btn-contact {
  width: 100%;
  border-radius: 999px;
  border-color: rgba(99, 132, 192, 0.44);
  background: linear-gradient(90deg, rgba(30, 66, 146, 0.84), rgba(23, 45, 97, 0.84));
  color: #f4f6fa;
}

.btn-contact:hover {
  border-color: rgba(58, 111, 224, 0.75);
  background: linear-gradient(90deg, rgba(38, 82, 181, 0.9), rgba(25, 53, 112, 0.9));
}

.form-note {
  min-height: 1.2em;
  margin: 2px 0 0;
  color: var(--accent-warm);
  font-size: 0.84rem;
}

.contact-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(90, 132, 214, 0.55);
  background: rgba(7, 13, 24, 0.94);
  color: #eaf1ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.contact-toast p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-visual {
  border: 1px solid rgba(162, 178, 206, 0.26);
  border-radius: 16px;
  overflow: hidden;
  min-height: 520px;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  margin-top: 24px;
  padding: 28px 0 24px;
  background:
    radial-gradient(900px 300px at 85% -30%, rgba(43, 102, 221, 0.1), transparent 65%),
    #0a101a;
  border-top: 1px solid rgba(162, 178, 206, 0.2);
  color: var(--fg);
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.footer-col h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 62px;
  height: 62px;
}

.footer-brand strong {
  font-size: 1.03rem;
  color: var(--fg);
}

.footer-brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-note {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #d9e5ff;
}

.footer-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-powered span {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-powered img {
  width: 118px;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .site-header {
    padding-inline: 26px;
  }

  .hero-content {
    padding-inline: 26px;
    padding-bottom: 132px;
  }

  .section {
    padding: 70px 0;
  }

  .split {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 30px;
  }

  .home-points,
  .partner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .timeline::before {
    left: 112px;
  }

  .timeline-item {
    grid-template-columns: 98px 28px 1fr;
    gap: 16px;
  }

  .timeline-media img {
    max-height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: stretch;
  }

  .number-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-item {
    grid-template-columns: 180px 1fr 140px auto;
    gap: 16px;
    padding: 14px;
  }

  .sponsor-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .podium-gallery {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .podium-gallery img {
    height: 500px;
  }

  .podium-gallery img:not(:first-child) {
    display: none;
  }
}

@media (min-width: 1080px) {
  .container {
    width: min(1100px, 88vw);
  }

  .home-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes lineMove {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
