/* ============================================================
   THE TAKEOVER — TRAIL RIDE
   Warm vintage-western · sand / leather / terracotta / gold
   Golden-hour rodeo-poster mood (no gothic, no blood-red)
   ============================================================ */

:root {
  /* palette */
  --ink:        #2c1d12;   /* dark warm brown text */
  --leather:    #34241a;   /* rich brown section bg */
  --leather-2:  #2a1c13;   /* deeper brown */
  --cream:      #f5ecd6;   /* paper / light bg */
  --cream-2:    #efe1c4;   /* warm sand */
  --sand:       #e7d3ab;
  --terracotta: #bb5a31;   /* primary accent */
  --rust:       #a4451f;   /* deep accent */
  --clay:       #cf7c43;   /* lighter accent */
  --gold:       #d6a341;   /* sun / mustard */
  --gold-soft:  #e7c777;
  --line-dark:  rgba(44, 29, 18, 0.14);   /* on light */
  --line-light: rgba(245, 236, 214, 0.16);/* on dark  */

  /* type */
  --f-black: "Pirata One", "UnifiedFont", serif;
  --f-poster:"Oswald", "Arial Narrow", sans-serif;
  --f-body:  "Cormorant Garamond", Georgia, serif;

  --maxw: 1140px;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.18rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* subtle paper grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared ---------- */
.section { padding: clamp(4rem, 9vw, 8rem) 1.5rem; position: relative; }
.section__inner { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-family: var(--f-poster);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--rust);
  margin-bottom: 1.1rem;
}
.eyebrow--center { text-align: center; }

.section__title {
  font-family: var(--f-black);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.section__title--center { text-align: center; }

.lead { font-size: 1.4rem; margin: 1rem 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-poster);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
  color: var(--cream);
  background: var(--terracotta);
  padding: 0.9rem 2rem;
  margin-top: 1.6rem;
  border: 1px solid var(--rust);
  border-radius: 3px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px rgba(164, 69, 31, 0.28);
}
.btn:hover { background: var(--clay); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(164,69,31,.38); }
.btn--lg { padding: 1.1rem 2.6rem; font-size: 1.02rem; }
.btn--sm { padding: 0.55rem 1.2rem; margin-top: 0; font-size: 0.78rem; }
.btn--full { width: 100%; text-align: center; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
/* ghost button when sitting on a dark section */
.on-dark .btn--ghost { color: var(--cream); border-color: var(--line-light); }
.on-dark .btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  transition: background .3s ease, padding .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245, 236, 214, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 4px 20px rgba(44,29,18,0.08);
  padding: 0.7rem 1.5rem;
}
.nav__brand { display: flex; flex-direction: column; line-height: 0.9; }
.nav__brand-main { font-family: var(--f-black); font-size: 1.5rem; color: var(--ink); }
.nav__brand-sub { font-family: var(--f-poster); font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--rust); margin-top: 2px; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  font-family: var(--f-poster);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity .15s ease;
}
.nav__links a:hover { opacity: 1; }
.nav__cta { white-space: nowrap; }

/* ============================================================
   HERO  (golden-hour, light & warm)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg,
    #f7eed8 0%,
    #f3e2bf 32%,
    #ecd09a 60%,
    #e3b878 100%);
}
/* warm sun glow behind the title */
.hero__sun {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%,-50%);
  width: min(86vw, 720px); height: min(86vw, 720px);
  border-radius: 50%;
  z-index: 0;
  background: radial-gradient(circle, rgba(245,214,130,0.95) 0%, rgba(230,176,90,0.55) 38%, rgba(227,184,120,0) 70%);
}
/* desert mountain range silhouette anchored to hero bottom */
.hero__mountains {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 42%;
  z-index: 1;
}
.hero__range--far  { fill: #c87f44; opacity: 0.55; }
.hero__range--near { fill: #9c5a2e; opacity: 0.85; }

.hero__content { position: relative; z-index: 2; max-width: 900px; }

.hero__eyebrow {
  font-family: var(--f-poster);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rust);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--f-black);
  font-weight: 400;
  font-size: clamp(3.6rem, 15vw, 11rem);
  line-height: 0.86;
  color: var(--ink);
  text-shadow: 0 3px 18px rgba(245, 236, 214, 0.6);
  letter-spacing: 0.01em;
}
.hero__subtitle {
  font-family: var(--f-poster);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: clamp(0.3em, 4vw, 0.9em);
  font-size: clamp(1.1rem, 3.5vw, 2.1rem);
  color: var(--rust);
  margin: 0.6rem 0 0 clamp(0.3em, 4vw, 0.9em);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
  font-family: var(--f-poster);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--ink);
}
.hero__divider { color: var(--terracotta); }
.hero__loc { color: var(--leather); }
.hero__tag {
  margin-top: 1.5rem;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--leather);
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.hero__actions .btn { margin-top: 0; }

.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 1px solid var(--leather);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--leather);
  transform: translateX(-50%);
  animation: scroll 1.6s ease-in-out infinite;
}
@keyframes scroll { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,14px)} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--terracotta);
  border-top: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--f-poster);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1rem;
  color: var(--cream);
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem; /* keeps spacing uniform across the seam */
  flex-shrink: 0;
}
.marquee__sep { color: var(--gold-soft); }
/* two identical groups → shifting by exactly one group width loops seamlessly */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT  (dark warm leather section)
   ============================================================ */
.about { background: var(--leather); color: var(--cream); }
.about .eyebrow { color: var(--gold); }
.about .section__title { color: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__copy p { color: var(--sand); }
.about__copy .lead { color: var(--cream); }
.about__features { display: grid; gap: 1.2rem; }
.feature {
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.6rem;
  background: rgba(0,0,0,0.16);
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateX(4px); border-left-color: var(--clay); }
.feature__icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 0.6rem; }
.feature h3 { font-family: var(--f-poster); text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.05rem; color: var(--cream); margin-bottom: 0.2rem; }
.feature p { font-size: 1.05rem; color: var(--sand); }

/* ============================================================
   TICKETS  (light sand section)
   ============================================================ */
.tickets { background: var(--cream-2); }
.ticket-card {
  position: relative;
  max-width: 460px;
  margin: 3rem auto 0;
  background: linear-gradient(165deg, #3a281c 0%, #2c1d13 100%);
  color: var(--cream);
  border: 1px solid var(--rust);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(44,29,18,0.32);
}
.ticket-card__notch {
  position: absolute; top: 50%;
  width: 28px; height: 28px;
  background: var(--cream-2);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticket-card__notch--left { left: -14px; }
.ticket-card__notch--right { right: -14px; }
.ticket-card__body { padding: 2.6rem 2.2rem; text-align: center; }
.ticket-card__type {
  font-family: var(--f-poster); text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 0.82rem; color: var(--gold);
}
.ticket-card__pass {
  font-family: var(--f-black); font-size: 2.2rem; color: var(--cream);
  margin-top: 0.3rem;
}
.ticket-card__price {
  font-family: var(--f-poster); font-weight: 700;
  font-size: 5rem; line-height: 1; color: var(--cream);
  margin: 0.8rem 0 0;
}
.ticket-card__cur { font-size: 2.4rem; vertical-align: super; color: var(--gold); }
.ticket-card__per { font-style: italic; color: var(--sand); margin-top: 0.2rem; }
.ticket-card__perks {
  list-style: none; text-align: left;
  margin: 1.8rem auto; max-width: 280px;
  display: grid; gap: 0.6rem;
}
.ticket-card__perks li {
  position: relative; padding-left: 1.6rem;
  color: var(--sand); font-size: 1.05rem;
}
.ticket-card__perks li::before {
  content: "✦"; position: absolute; left: 0; color: var(--gold);
}
.ticket-card__note {
  font-family: var(--f-poster); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.7rem; color: var(--sand); opacity: 0.7;
  margin-top: 0.9rem;
}

/* ============================================================
   LINEUP  (dark warm leather section)
   ============================================================ */
.lineup { background: var(--leather-2); color: var(--cream); text-align: center; }
.lineup .eyebrow { color: var(--gold); }
.lineup .section__title { color: var(--cream); }
.lineup__soon { max-width: 560px; margin: 2.5rem auto 0; }
.lineup__stamp {
  display: inline-block;
  font-family: var(--f-black);
  font-size: clamp(2rem, 7vw, 3.6rem);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 4px rgba(214,163,65,0.18);
  padding: 0.4rem 1.6rem;
  transform: rotate(-3deg);
  margin-bottom: 1.6rem;
  letter-spacing: 0.04em;
}
.lineup__soon p { color: var(--sand); font-size: 1.25rem; margin-bottom: 0.5rem; }

/* ============================================================
   LOCATION  (light section)
   ============================================================ */
.location { background: var(--cream); }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.location__copy p { color: var(--leather); }
.location__map {
  position: relative;
  border: 1px solid var(--rust);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(44,29,18,0.28);
  filter: sepia(0.18) saturate(1.02);
}
.location__map iframe { position: relative; z-index: 1; width: 100%; height: 380px; border: 0; }
.location__map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.3rem; text-align: center;
  color: var(--cream);
  background:
    repeating-linear-gradient(45deg, rgba(245,236,214,0.05) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(245,236,214,0.05) 0 2px, transparent 2px 22px),
    radial-gradient(120% 120% at 50% 40%, #4a3422 0%, #34241a 100%);
  background-color: #3c2a1c;
}
.location__pin { width: 38px; height: 38px; color: var(--gold); margin-bottom: 0.3rem; }
.location__map-fallback span { font-family: var(--f-black); font-size: 1.5rem; }
.location__map-fallback small {
  font-family: var(--f-poster); text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.72rem; color: var(--sand);
}

/* ============================================================
   FOOTER  (deep leather)
   ============================================================ */
.footer {
  background: var(--leather-2);
  color: var(--cream);
  border-top: 3px solid var(--terracotta);
  padding: 3rem 1.5rem 2rem;
}
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
.footer__logo { font-family: var(--f-black); font-size: 2rem; color: var(--cream); }
.footer__tag {
  font-family: var(--f-poster); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.74rem; color: var(--sand);
  margin-top: 0.3rem;
}
.footer__socials { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__socials a {
  font-family: var(--f-poster); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.82rem; color: var(--sand);
  transition: color .15s ease;
}
.footer__socials a:hover { color: var(--gold); }
.footer__copy {
  text-align: center; margin-top: 2.5rem;
  font-family: var(--f-poster); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(231,211,171,0.5);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .about__grid, .location__grid { grid-template-columns: 1fr; }
  .location__map { order: -1; }
  .hero__subtitle { margin-left: 0; }
}
@media (max-width: 480px) {
  body { font-size: 1.08rem; }
  .nav__brand-main { font-size: 1.25rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
