:root {
  --bg: #034326;
  --bg-dark: #032b1d;
  --card: #0c3a29;
  --accent: #c7a46a;
  --text: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.72);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Google Sans", "Sora", sans-serif;
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: calc(100% - 32px);
  margin-inline: auto;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(6, 38, 28, 0.6);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.nav__logo {
  height: 64px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__link {
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--text);
}

.nav__icon {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav__icon svg {
  width: 18px;
  height: 18px;
  fill: var(--text);
}

.nav__icon:hover {
  background: transparent;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 100px;
  overflow-x: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6, 38, 28, 0.92) 0%, rgba(6, 38, 28, 0.65) 55%, rgba(6, 38, 28, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  padding: 0 0 clamp(36px, 7vh, 84px) 0;
  margin-left: 0;
}


.hero h1 {
  font-family: "Google Sans", "Sora", sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  line-height: 1.05;
  font-weight: 400;
  max-width: 18ch;
  overflow-wrap: anywhere;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #0a5a3a;
  color: #f5f1e8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.btn--primary {
  padding: 12px 30px;
}

.btn__arrow {
  display: inline-block;
  transform: translateX(-6px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn--primary:hover {
  padding-right: 38px;
}

.btn--primary:hover .btn__arrow {
  opacity: 1;
  transform: translateX(0);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(245, 241, 232, 0.4);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.intro {
  padding: 120px 0 100px;
  background: var(--bg);
}

.intro__stack {
  display: flex;
  justify-content: center;
}

.intro__text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.intro__text {
  max-width: 640px;
  text-align: left;
}

.intro__slider {
  margin-top: 60px;
}

.slider {
  overflow: hidden;
  padding: 10px 0;
}

.slider--soft .slider__track {
  animation: slide 30s linear infinite;
}

.slider__track {
  display: flex;
  gap: 32px;
}

.slide {
  flex: 0 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slide:hover img {
  transform: scale(1.03);
}

.slide--landscape {
  width: 440px;
  height: 280px;
}

.slide--portrait {
  width: 320px;
  height: 420px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.editions {
  padding: 80px 0 120px;
  background: var(--bg);
}

.section__head {
  margin-bottom: 52px;
  max-width: 720px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
}

.section__head p {
  color: var(--muted);
  margin-top: 10px;
}

.section__head h2 {
  font-weight: 400;
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  line-height: 1.05;
}

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

.edition {
  background: transparent;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.edition__media {
  border-radius: 22px;
  overflow: hidden;
  background: #0e3f2a;
  position: relative;
}

.edition img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.edition__cta {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.edition__cta:hover {
  transform: translateY(-2px);
  background: #111;
}

.edition__meta {
  padding: 18px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edition__meta span {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.edition__meta strong {
  font-size: 1.1rem;
  font-weight: 500;
}

.edition:hover img {
  transform: scale(1.06);
}

.sponsors {
  padding: 80px 0 100px;
  background: var(--bg);
}

.sponsors__marquee {
  overflow: hidden;
}

.sponsors__track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 26px 0;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.sponsor {
  flex: 0 0 auto;
  background: transparent;
  padding: 6px 10px;
  border-radius: 0;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.sponsor img {
  max-height: 112px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonials {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background: var(--bg);
}

.testimonials__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonials__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 67, 38, 0.65);
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section__head {
  max-width: 860px;
}

.testimonials .section__head .btn {
  margin-top: 22px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.testimonial {
  background: #09462B;
  padding: 24px;
  border-radius: 18px;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-6px);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.testimonial p {
  color: var(--text);
  margin-bottom: 14px;
}

.testimonial span {
  color: var(--text);
  font-weight: 500;
}

.footer {
  padding: 28px 0 22px;
  text-align: left;
  background: var(--bg);
  color: var(--muted);
}

.footerContent {
  position: relative;
  z-index: 2;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__inner {
  width: min(1100px, 92vw);
  position: relative;
}

.video-modal__close {
  position: absolute;
  top: -54px;
  right: 0;
  border: none;
  background: #000;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.video-modal__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}

.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__video {
  width: 100%;
  height: 100%;
  display: none;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .nav__inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav__actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 90vh;
  }

  .hero__content {
    padding-bottom: 28px;
  }

  .intro__text {
    max-width: 100%;
  }

  .slide--landscape {
    width: 260px;
    height: 170px;
  }

  .slide--portrait {
    width: 210px;
    height: 300px;
  }

  .slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .slider__track {
    animation: none;
    padding-bottom: 6px;
  }

  .slide {
    scroll-snap-align: start;
  }

  .sponsors__marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .sponsors__track {
    animation: none;
  }

  .sponsor {
    scroll-snap-align: start;
  }

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

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

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.1rem;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}
