:root {
  --bg: #0b0d0c;
  --bg-elev: #111510;
  --ink: #f2f5f0;
  --muted: #9aa89a;
  --line: rgba(242, 245, 240, 0.12);
  --accent: #c8f542;
  --accent-ink: #10140c;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1100px;
  --gutter: clamp(1.1rem, 4vw, 2.2rem);
  --header-h: 4rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: #e8ff8a; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  z-index: 80;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #8fbf1f, var(--accent));
  pointer-events: none;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  background: rgba(11, 13, 12, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 13, 12, 0.9);
  border-bottom-color: var(--line);
}
.site-header__inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--accent); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 0.55rem;
  width: 2.55rem;
  height: 2.55rem;
}
.site-nav { display: flex; gap: 1rem; align-items: center; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(88svh, 760px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.05);
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(11, 13, 12, 0.92) 0%, rgba(11, 13, 12, 0.55) 48%, rgba(11, 13, 12, 0.25) 100%),
    linear-gradient(0deg, rgba(11, 13, 12, 0.7), transparent 40%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto;
  max-width: 40rem;
}
.hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.hero__crumb .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 245, 66, 0.8);
}
.hero__brand {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.hero__title {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.hero__text {
  margin: 0 0 1.4rem;
  color: rgba(242, 245, 240, 0.86);
  max-width: 38ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.25s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #d8ff6a; color: var(--accent-ink); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--alt {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 52ch;
}

.rules {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.rules li {
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.rules strong { color: var(--ink); }

.towns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.towns a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
}
.towns a:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: #070908;
}
.site-footer p { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.88rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer .muted { font-size: 0.75rem; opacity: 0.7; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(5px);
  transition: 0.8s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem var(--gutter) 1.5rem;
    background: rgba(11, 13, 12, 0.97);
    gap: 0;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .site-nav .nav-cta { margin-top: 0.8rem; text-align: center; }
  .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
