:root {
  --ocean: #062a3a;
  --sea: #0e7c86;
  --foam: #f3f7f6;
  --sun: #ffc845;
  --ink: #0a1a22;
  --radius: 1rem;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  background: var(--ocean);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foam);
  background: var(--ocean);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.topbar.is-scrolled {
  padding-block: 0.75rem;
  background: rgba(6, 42, 58, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ocean);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.brand-name {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-name strong {
  font-weight: 700;
  color: var(--sun);
}

.pill {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(243, 247, 246, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  background: rgba(6, 42, 58, 0.3);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem clamp(1.25rem, 6vw, 5rem) 9rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 42, 58, 0.92) 0%, rgba(6, 42, 58, 0.55) 55%, rgba(6, 42, 58, 0.15) 100%),
    linear-gradient(0deg, rgba(6, 42, 58, 0.7) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sun);
}

.eyebrow-dark {
  color: var(--sea);
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero-title em {
  font-style: normal;
  color: var(--sun);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(243, 247, 246, 0.88);
  text-wrap: pretty;
}

.hero-lead strong {
  color: var(--foam);
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 6rem));
  gap: 0.5rem;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 0.75rem 0.7rem;
  border-radius: var(--radius);
  border: 1px solid rgba(243, 247, 246, 0.18);
  background: rgba(6, 42, 58, 0.45);
  backdrop-filter: blur(10px);
}

.num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.label {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 247, 246, 0.7);
}

.launched {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sun);
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--sun);
  color: var(--ocean);
  box-shadow: 0 10px 30px -10px rgba(255, 200, 69, 0.6);
}

.btn-ghost {
  border: 1px solid rgba(243, 247, 246, 0.5);
  color: var(--foam);
  background: rgba(243, 247, 246, 0.06);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--foam);
  color: var(--ocean);
}

.btn-dark {
  align-self: flex-start;
  background: var(--ocean);
  color: var(--foam);
}

.btn-dark:hover {
  background: var(--sea);
}

/* Wave divider */
.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 3;
  width: 200%;
  height: 7rem;
}

.wave-back {
  fill: var(--sea);
  opacity: 0.55;
  animation: swell 9s ease-in-out infinite alternate;
}

.wave-front {
  fill: var(--foam);
  animation: swell 7s ease-in-out infinite alternate-reverse;
}

/* Sponsors */
.sponsors {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 6vw, 5rem);
  background: var(--foam);
  color: var(--ink);
}

.sponsors-media {
  position: relative;
}

.sponsors-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.5rem;
}

.media-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ocean);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsors-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sponsors-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--ocean);
  text-wrap: balance;
}

.highlight {
  color: var(--sea);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(6, 42, 58, 0.15);
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(6, 42, 58, 0.15);
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 26, 34, 0.6);
}

.contact-list a {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ocean);
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--sea);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 3rem 1.25rem;
  text-align: center;
  color: rgba(243, 247, 246, 0.75);
  font-size: 0.95rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--foam);
}

.footer-brand strong {
  font-weight: 400;
  color: var(--sun);
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(243, 247, 246, 0.5);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  from { transform: scale(1.08) translateX(0); }
  to { transform: scale(1.14) translateX(-2%); }
}

@keyframes swell {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@media (min-width: 900px) {
  .sponsors {
    grid-template-columns: 1fr 1fr;
  }

  .countdown {
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg,
  .wave-back,
  .wave-front { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
