/* ══════════════════════════════════════════════
   RIDE THE RANCHO – Responsive Stylesheet
   ridetherancho.com
   ══════════════════════════════════════════════ */

@font-face {
  font-family: 'Sonoran';
  src: url('../fonts/SONORAN.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* 
   GLOBAL FONT FIX: 
   Prevents "bloated" faux-bolding on custom headings 
*/
h1,
h2,
h3,
h4,
.sonoran,
.section-label,
.route-name,
.Registration-title,
.nav-links a,
.nav-drawer a,
.hero-meta span,
.num,
.val,
.price,
.badge,
.route-tagline,
.scroll-hint,
.footer-links a,
.who,
.label {
  font-family: 'Sonoran', sans-serif;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --linen: #F5EAD8;
  --walnut: #4A1A0D;
  --flame: #FE6835;
  --cream: #FDF8F2;
  --dark: #2B0E05;
  --mid: #7A3A20;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-2xl: 80px;
  --space-3xl: 100px;

  /* Nav height (used for scroll offset) */
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  /* prevent ANY element bleeding past viewport width */
  max-width: 100%;
}

body {
  font-family: 'Georgia', serif;
  background: var(--linen);
  color: var(--walnut);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

/* ── UTILITIES ── */
.sonoran {
  font-family: 'Sonoran', sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.section-label {
  font-family: 'Sonoran', sans-serif;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--flame);
  display: block;
  margin-bottom: 10px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(.8rem, 1.5vw, 1rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: clamp(14px, 2vw, 18px) clamp(28px, 4vw, 48px);
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--flame) 0%, #E0562D 100%);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--linen);
  border: 2px solid rgba(245, 234, 216, .6);
}

.btn-outline:hover {
  background: var(--linen);
  color: var(--walnut);
}

/* ── SECTION VARIANTS ── */
.section-dark {
  background: var(--walnut);
  color: var(--linen);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 50%, rgba(254, 104, 53, .08) 0%, transparent 60%);
  pointer-events: none;
}

.section-light {
  background: var(--cream);
  padding: var(--space-3xl) 0;
}

.section-linen {
  background: var(--linen);
  padding: var(--space-3xl) 0;
}

.section-dark .section-label {
  color: var(--flame);
}

.section-dark h2,
.section-dark h3 {
  color: var(--linen);
}

.section-dark p,
.section-dark li {
  color: rgba(245, 234, 216, .78);
}

/* ══════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(74, 26, 13, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
}

.nav-links a {
  font-family: 'Sonoran', sans-serif;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--linen);
  opacity: .85;
  transition: opacity .2s, color .2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--flame);
}

.nav-cta {
  font-size: .8rem !important;
  padding: 11px 26px !important;
}

/* Hamburger button – hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background .2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, .08);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--linen);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}

/* Open state – X icon */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(43, 14, 5, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(254, 104, 53, .2);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-drawer.is-open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav-drawer a {
  font-family: 'Sonoran', sans-serif;
  font-size: .85rem;
  letter-spacing: .14em;
  color: var(--linen);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color .2s;
  text-align: center;
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer a:hover {
  color: var(--flame);
}

.nav-drawer .nav-drawer-cta {
  margin-top: 12px;
  display: block;
  text-align: center;
  background: var(--flame);
  color: #fff;
  border-radius: 4px;
  padding: 14px;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
#hero {
  min-height: 100dvh;
  /* dynamic viewport height for mobile browsers */
  background: var(--walnut);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: clip;
  /* clip prevents sticker bleed without affecting sticky children */
  width: 100%;
  max-width: 100vw;
  padding: calc(var(--nav-h) + 40px) clamp(16px, 5vw, 48px) 80px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(254, 104, 53, .12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-sticker-left {
  position: absolute;
  left: clamp(-40px, -3vw, 0px);
  bottom: 60px;
  width: clamp(100px, 18vw, 340px);
  opacity: .12;
  transform: rotate(-15deg);
  pointer-events: none;
  max-width: 30vw;
  animation: float 6s ease-in-out infinite;
}

.hero-sticker-right {
  position: absolute;
  right: clamp(-40px, -3vw, 0px);
  top: 120px;
  width: clamp(100px, 18vw, 320px);
  opacity: .12;
  transform: rotate(12deg);
  pointer-events: none;
  max-width: 30vw;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
}

.hero-logo {
  width: clamp(220px, 55vw, 340px);
  max-width: 100%;
  margin: 0 auto 28px;
  animation: fadeUp .8s ease both;
  filter: brightness(0) invert(1) sepia(.15) saturate(.8);
}

.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: rgba(245, 234, 216, .82);
  margin: 16px 0 12px;
  font-style: italic;
  animation: fadeUp .8s .2s ease both;
}

.hero-meta {
  display: flex;
  gap: clamp(10px, 2vw, 28px);
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
  animation: fadeUp .8s .3s ease both;
}

.hero-meta span {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(.65rem, 1.5vw, .78rem);
  letter-spacing: .12em;
  color: var(--flame);
  background: rgba(254, 104, 53, .12);
  border: 1px solid rgba(254, 104, 53, .3);
  padding: 7px 16px;
  border-radius: 30px;
}

.hero-hook {
  font-size: clamp(.95rem, 2vw, 1.25rem);
  color: var(--linen);
  margin: 24px auto;
  max-width: 540px;
  line-height: 1.7;
  animation: fadeUp .8s .35s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: fadeUp .8s .45s ease both;
}

.hero-bonus {
  margin-top: 28px;
  font-size: clamp(.8rem, 1.5vw, .88rem);
  color: rgba(245, 234, 216, .65);
  animation: fadeUp .8s .55s ease both;
}

.hero-bonus strong {
  color: var(--flame);
}

.hero-deadline {
  margin-top: 10px;
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(.62rem, 1.2vw, .72rem);
  letter-spacing: .14em;
  color: rgba(245, 234, 216, .5);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(245, 234, 216, .4);
  font-family: 'Sonoran', sans-serif;
  font-size: .58rem;
  letter-spacing: .18em;
  animation: bounce 2s infinite;
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 36px;
  background: rgba(245, 234, 216, .25);
}

/* ══════════════════════════════════════════════
   VIDEO SECTION
   ══════════════════════════════════════════════ */
.video-section {
  background: var(--dark);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-top: 1px solid rgba(254, 104, 53, .2);
  border-bottom: 1px solid rgba(254, 104, 53, .2);
}

.video-section h2 {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--linen);
  margin-bottom: 14px;
}

.video-section p {
  color: rgba(245, 234, 216, .7);
  font-size: clamp(.9rem, 1.5vw, 1rem);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.video-placeholder {
  max-width: 960px;
  /* Increased from 760px for a more cinematic feel */
  margin: 0 auto;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(254, 104, 53, .3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

/* Responsive 16:9 iframe wrapper */
.video-placeholder .video-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
}

.video-placeholder .video-ratio iframe,
.video-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Fallback: if no wrapper, still fluid */
.video-placeholder>iframe {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: unset;
}

/* ══════════════════════════════════════════════
   LAYOUT HELPERS
   ══════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.sec-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.sec-head .section-label {
  margin-bottom: 12px;
}

.sec-head h2 {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.sec-head p {
  margin-top: 12px;
  font-size: clamp(.9rem, 1.5vw, 1rem);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.section-light .sec-head h2,
.section-linen .sec-head h2 {
  color: var(--walnut);
}

.section-light .sec-head p,
.section-linen .sec-head p {
  color: var(--mid);
}

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */
.about-text h2 {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.05;
  color: var(--walnut);
  margin-bottom: 20px;
}

.about-text p {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 16px;
}

.about-text .quote {
  border-left: 4px solid var(--flame);
  padding: 14px 22px;
  background: rgba(254, 104, 53, .06);
  margin: 24px 0;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--walnut);
  line-height: 1.65;
}

.about-sticker {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-sticker img {
  width: 100%;
  max-width: 420px;
}

/* ══════════════════════════════════════════════
   WHY GRAVEL
   ══════════════════════════════════════════════ */
.why-text h2 {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--linen);
  margin-bottom: 20px;
  line-height: 1.05;
}

.why-text p {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.85;
  color: rgba(245, 234, 216, .78);
  margin-bottom: 16px;
}

.why-text .highlight {
  color: var(--flame);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

/* ══════════════════════════════════════════════
   THE LAND
   ══════════════════════════════════════════════ */
.land-sticker img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  filter: brightness(0) invert(1) sepia(.15) saturate(.6);
}

.land-stat {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 36px;
  flex-wrap: wrap;
}

.land-stat-item {
  text-align: center;
}

.land-stat-item .num {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--flame);
  line-height: 1;
}

.land-stat-item .label {
  font-family: 'Sonoran', sans-serif;
  font-size: .65rem;
  letter-spacing: .16em;
  color: var(--mid);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════
   ROUTES
   ══════════════════════════════════════════════ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.route-card {
  background: var(--cream);
  border: 1px solid rgba(74, 26, 13, .1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(74, 26, 13, .15);
}

.route-card-top {
  background: var(--walnut);
  background: linear-gradient(135deg, var(--walnut) 0%, #3D150B 100%);
  padding: 14px clamp(16px, 2.5vw, 28px) 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.route-card-top::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(254, 104, 53, .08) 0%, transparent 60%);
  pointer-events: none;
}

.route-card-top .badge {
  display: inline-block;
  align-self: flex-end; /* Move them to the top right */
  margin-bottom: 4px;
  margin-top: 0;
  min-height: 24px; /* Ensure all badge areas take up the same vertical space for syncing */
  font-family: 'Sonoran', sans-serif;
  font-size: .58rem;
  letter-spacing: .14em;
  color: #fff;
  background: var(--flame);
  padding: 4px 10px;
  border-radius: 20px;
}

.route-name {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--linen);
  line-height: 1;
}

.route-tagline {
  font-size: .78rem;
  color: rgba(245, 234, 216, .55);
  margin-top: 6px;
  font-family: 'Sonoran', sans-serif;
  letter-spacing: .12em;
}

.route-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px) clamp(16px, 2.5vw, 28px);
  border-bottom: 1px solid rgba(74, 26, 13, .08);
}

.route-stat .val {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--flame);
  line-height: 1;
}

.route-stat .key {
  font-size: .72rem;
  color: var(--mid);
  margin-top: 2px;
}

.route-desc {
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.5vw, 28px);
  font-size: .92rem;
  color: var(--mid);
  line-height: 1.7;
}

.route-details {
  padding: 0 clamp(16px, 2.5vw, 28px) 16px;
}

.route-details li {
  font-size: .82rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 4px;
  list-style: none;
}

.route-details li::before {
  content: '—';
  color: var(--flame);
  margin-right: 8px;
}

.routes-map {
  margin-top: 40px;
  overflow: hidden;
}

/* .rwgps-wrapper contains the embed and clips any internal overflow */
.rwgps-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.rwgps-wrapper iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(600px, 80dvh, 720px);
  /* Increased height to ensure map is visible above the graph on mobile */
  border: none;
  min-width: 0;
  /* override any embed default min-width */
}

/* ══════════════════════════════════════════════
   SUPPORT + PARTY
   ══════════════════════════════════════════════ */
.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}

.sp-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(254, 104, 53, .15);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 36px);
}

.sp-card img.party-img{
  margin-bottom: 1rem;
}

.sp-card .sp-icon {
  width: 52px;
  height: 52px;
  background: rgba(254, 104, 53, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.sp-card h3 {
  font-family: 'Sonoran', sans-serif;
  font-size: 1.3rem;
  color: var(--linen);
  margin-bottom: 14px;
}

.sp-card ul li {
  color: rgba(245, 234, 216, .72);
  font-size: .93rem;
  line-height: 1.7;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sp-card ul li::before {
  content: '—';
  color: var(--flame);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   INCLUDED + CREW
   ══════════════════════════════════════════════ */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.included-list li {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 26, 13, .1);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--mid);
}

.included-list li::before {
  content: '✓';
  color: var(--flame);
  font-weight: bold;
  flex-shrink: 0;
}

.crew-card {
  background: var(--walnut);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 36px);
  text-align: center;
}

.crew-card h3 {
  font-family: 'Sonoran', sans-serif;
  font-size: 1.35rem;
  color: var(--linen);
  margin-bottom: 8px;
}

.crew-card p {
  color: rgba(245, 234, 216, .6);
  font-size: .9rem;
  margin-bottom: 24px;
}

.crew-prices {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.crew-price {
  text-align: center;
}

.crew-price .price {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--flame);
  line-height: 1;
}

.crew-price .who {
  font-family: 'Sonoran', sans-serif;
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--linen);
  margin-top: 6px;
}

.crew-price .note {
  font-size: .72rem;
  color: rgba(245, 234, 216, .4);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   PRICING TABLE
   ══════════════════════════════════════════════ */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

.pricing-table {
  width: 100%;
  min-width: 480px;
  /* ensures table doesn't break below this */
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(74, 26, 13, .1);
}

.pricing-table thead tr {
  background: var(--walnut);
}

.pricing-table th {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(.62rem, 1.2vw, .72rem);
  letter-spacing: .12em;
  color: var(--linen);
  padding: clamp(12px, 2vw, 18px) clamp(12px, 2vw, 20px);
  text-align: center;
  white-space: nowrap;
}

.pricing-table th:first-child {
  text-align: left;
}

.pricing-table tbody tr {
  border-bottom: 1px solid rgba(74, 26, 13, .08);
}

.pricing-table tbody tr:nth-child(odd) {
  background: rgba(245, 234, 216, .5);
}

.pricing-table tbody tr:nth-child(even) {
  background: #fff;
}

.pricing-table td {
  padding: clamp(12px, 2vw, 16px) clamp(12px, 2vw, 20px);
  text-align: center;
  font-size: clamp(.82rem, 1.5vw, .95rem);
  color: var(--mid);
  white-space: nowrap;
}

.pricing-table td:first-child {
  text-align: left;
  font-weight: normal;
  color: var(--walnut);
  white-space: normal;
}

.pricing-table .tier-row td:first-child {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(.72rem, 1.3vw, .8rem);
  letter-spacing: .1em;
  color: var(--flame);
  background: rgba(254, 104, 53, .06);
  border-left: 3px solid var(--flame);
}

.pricing-cta {
  text-align: center;
  margin-top: 44px;
}

.pricing-cta p {
  color: var(--mid);
  font-size: clamp(.8rem, 1.4vw, .88rem);
  margin-bottom: 20px;
  line-height: 1.7;
}

.Registration-title {
  margin-bottom: 1.2rem;
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--walnut);
  text-align: center;
}

.register-btn {
  margin-block: 1rem;
}

.btn.register-text {
  display: inline-block;
  margin-top: 4px;
}

.membership-box {
  max-width: 640px;
  margin: 56px auto 0;
  background: var(--walnut);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3.5vw, 32px);
  text-align: center;
}

.membership-box h3 {
  font-family: 'Sonoran', sans-serif;
  font-size: 1.15rem;
  color: var(--linen);
  margin-bottom: 12px;
}

.membership-box p {
  color: rgba(245, 234, 216, .7);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.membership-box ul {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 16px auto;
}

.membership-box ul li {
  color: rgba(245, 234, 216, .65);
  font-size: .85rem;
  line-height: 1.7;
  padding: 4px 0;
}

.membership-box ul li::before {
  content: '→';
  color: var(--flame);
  margin-right: 8px;
}

/* ══════════════════════════════════════════════
   EVENT DETAILS
   ══════════════════════════════════════════════ */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}

.detail-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(254, 104, 53, .15);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px) clamp(18px, 2.5vw, 28px);
}

.detail-card h3 {
  font-family: 'Sonoran', sans-serif;
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--linen);
  margin-bottom: 14px;
}

.detail-card p,
.detail-card li {
  color: rgba(245, 234, 216, .72);
  font-size: .9rem;
  line-height: 1.7;
}

.detail-card ul li {
  padding: 4px 0;
}

.detail-card ul li::before {
  content: '—';
  color: var(--flame);
  margin-right: 8px;
}

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 20px);
}

.faq-item {
  background: var(--cream);
  border: 1px solid rgba(74, 26, 13, .1);
  border-radius: 6px;
  padding: clamp(20px, 3vw, 28px);
}

.faq-item h4 {
  font-family: 'Sonoran', sans-serif;
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--walnut);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.7;
}

.faq-item a {
  color: var(--flame);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════
   VOLUNTEER
   ══════════════════════════════════════════════ */
.volunteer-band {
  background: var(--flame);
  padding: var(--space-xl) 0;
  text-align: center;
}

.volunteer-band h2 {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 12px;
}

.volunteer-band p {
  color: rgba(255, 255, 255, .85);
  font-size: clamp(.9rem, 1.5vw, 1rem);
  margin-bottom: 8px;
}

.volunteer-band .roles {
  font-size: clamp(.78rem, 1.3vw, .85rem);
  color: rgba(255, 255, 255, .75);
  margin-bottom: 22px;
}

.volunteer-band a.btn {
  background: #fff;
  color: var(--flame);
}

/* ══════════════════════════════════════════════
   SPONSORS
   ══════════════════════════════════════════════ */
#sponsors {
  background: var(--walnut);
  padding: 68px 0;
  text-align: center;
}

#sponsors .section-label {
  margin-bottom: 28px;
}

.sponsor-contact {
  color: rgba(245, 234, 216, .5);
  font-size: .9rem;
  margin-top: 20px;
}

.sponsor-contact a {
  color: var(--flame);
}

.land-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.land-carousel .slides img {
  width: 100%;
  display: none;
  aspect-ratio: 5 / 4;
}

.land-carousel .slides img.active {
  display: block;
}

/* Arrows */
.land-carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--flame);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
}

.land-carousel .prev {
  left: 10px;
}

.land-carousel .next {
  right: 10px;
}

/* ══════════════════════════════════════════════
   FOOTER CTA
   ══════════════════════════════════════════════ */
.footer-cta {
  background: var(--dark);
  padding: clamp(72px, 10vw, 120px) clamp(16px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(254, 104, 53, .14) 0%, transparent 65%);
  pointer-events: none;
}

.footer-cta-inner {
  position: relative;
  z-index: 2;
}

.footer-cta .closer-logo {
  width: clamp(150px, 25vw, 220px);
  margin: 0 auto 28px;
}

.footer-cta h2 {
  font-family: 'Sonoran', sans-serif;
  font-size: clamp(1.8rem, 5vw, 4rem);
  color: var(--linen);
  margin-bottom: 16px;
  line-height: 1.05;
}

.footer-cta p {
  color: rgba(245, 234, 216, .65);
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-style: italic;
}

.footer-cta .hint {
  margin-top: 22px;
  font-size: .78rem;
  color: rgba(245, 234, 216, .35);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(245, 234, 216, .08);
  padding: clamp(28px, 4vw, 44px) clamp(16px, 4vw, 40px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-inner img {
  height: 26px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Sonoran', sans-serif;
  font-size: .62rem;
  letter-spacing: .14em;
  color: rgba(245, 234, 216, .4);
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--flame);
}

.footer-copy {
  font-size: .75rem;
  color: rgba(245, 234, 216, .3);
}

/* ── MISC ── */
.disabled-btn {
  pointer-events: none;
  opacity: .6;
  cursor: not-allowed;
}
/* hide button initially */
/* .register-btn {
  display: none;
} */

/* ══════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════ */
@keyframes float {
  0% { transform: translateY(0px) rotate(-15deg); }
  50% { transform: translateY(-20px) rotate(-12deg); }
  100% { transform: translateY(0px) rotate(-15deg); }
}

/* Float Reverse Keyframe for variation */
@keyframes floatReverse {
  0% { transform: translateY(0px) rotate(12deg); }
  50% { transform: translateY(-15px) rotate(15deg); }
  100% { transform: translateY(0px) rotate(12deg); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   Mobile-first approach: base = mobile styles above
   ══════════════════════════════════════════════ */

/* ── TABLET LANDSCAPE / SMALL DESKTOP  (max 1024px) ── */
@media (max-width: 1024px) {
  :root {
    --space-3xl: 80px;
  }

  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-sticker img {
    max-width: 320px;
  }

  .land-sticker img {
    max-width: 280px;
  }

  /* Footer: fully stacked and centered (matching mobile) */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    justify-content: center;
  }

  /* Map: Taller on tablets to avoid graph crowding the map */
  .rwgps-wrapper iframe {
    height: 650px;
  }
}

/* ── TABLET PORTRAIT (max 900px) ── */
@media (max-width: 900px) {
  :root {
    --space-3xl: 72px;
    --space-2xl: 64px;
  }

  /* Nav: hide links, show hamburger */
  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  /* All two-column grids → single column */
  .two-col,
  .sp-grid,
  .included-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  /* Routes: 2-col on tablet */
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FAQ: 1-col */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Sticker ordering fix */
  .land-sticker {
    order: -1;
  }

  .about-sticker {
    order: 1;
  }

  .land-sticker img,
  .about-sticker img {
    max-width: 260px;
    margin: 0 auto;
  }

  /* Crew prices */
  .crew-prices {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  /* Two-col gap tighten */
  .two-col {
    gap: 40px;
  }

  /* ─────────────────────────────────────
     MOBILE CENTER ALIGNMENT – all sections
     ───────────────────────────────────── */

  /* Section labels + headings */
  .about-text,
  .why-text,
  #land .two-col>div:first-child,
  .sp-card,
  .detail-card,
  .included-grid>div:first-child {
    text-align: left;
  }

  /* Make sure nested headings inherit center; set paragraphs to justify */
  .about-text h2,
  .why-text h2,
  #land h2,
  .detail-card h3,
  .sp-card h3 {
    text-align: left;
  }

  .about-text p:not(.section-label),
  .why-text p:not(.section-label),
  #land p:not(.section-label),
  .sp-card p,
  .included-grid>div:first-child p,
  .video-section p:not(.section-label),
  .footer-cta p,
  .route-desc,
  .route-details li,
  .included-list li,
  .membership-box p:not(:first-of-type):not(:last-of-type),
  .membership-box li {
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
  }

  .crew-card p {
    text-align: center !important;
  }

  .membership-box p:first-of-type,
  .membership-box p:last-of-type {
    text-align: center;
  }

  .why-text .highlight,
  .route-tagline {
    text-align: left;
    display: block;
  }

  .hero-sub,
  .hero-hook,
  .hero-bonus {
    text-align: center;
    display: block;
  }

  /* Quote block: stay justified, but match left-align flow */
  .about-text .quote {
    border-left: 4px solid var(--flame);
    border-top: none;
    text-align: justify;
    padding: 14px 22px;
  }

  /* Land section stats: align left */
  .land-stat {
    justify-content: flex-start;
    text-align: left;
  }

  /* Land section inline-style text paragraphs */
  #land p[style] {
    text-align: left !important;
  }

  /* Ride Support & Party: list items — keep left-read */
  .sp-card ul {
    display: block;
    text-align: left;
    margin: 0;
  }

  /* Left-align the icon inside the card */
  .sp-card .sp-icon {
    margin-left: 0;
    margin-right: 0;
  }

  /* What's Included list: left align */
  .included-list {
    display: block;
    text-align: left;
    max-width: 100%;
    margin: 0;
  }

  /* Included grid first child: left align */
  .included-grid>div:first-child {
    display: block;
    text-align: left;
  }

  /* Event Details: left-center alignment removal (now left) */
  .detail-card {
    text-align: left;
  }

  .detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .detail-card ul li {
    display: block;
    text-align: left;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
  }

  .detail-card ul li::before {
    content: '—';
    color: var(--flame);
    margin-right: 8px;
    display: inline;
  }

  /* FAQ items: keep everything left-aligned for mobile */
  .faq-item {
    text-align: left;
  }

  .faq-item h4 {
    text-align: left;
  }

  .faq-item p {
    text-align: left;
  }

  /* Membership box list items: centre block */
  .membership-box ul {
    display: inline-block;
    text-align: left;
    margin: 12px auto;
  }

  /* Volunteer band */
  .volunteer-band .roles {
    text-align: center;
  }

  /* Footer CTA already centered; reinforce */
  .footer-cta p {
    text-align: center;
  }

  /* Footer stacking/centering for tablet/mobile */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ── LARGE MOBILE (max 680px) ── */
@media (max-width: 680px) {
  :root {
    --space-3xl: 60px;
    --space-2xl: 48px;
    --space-xl: 44px;
  }

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

  /* Hero adjustments */
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* Pricing table: horizontal scroll hint */
  .table-scroll-wrapper::before {
    content: '← Scroll to see all prices →';
    display: block;
    text-align: center;
    font-family: 'Sonoran', sans-serif;
    font-size: .6rem;
    letter-spacing: .12em;
    color: var(--mid);
    opacity: .7;
    margin-bottom: 8px;
  }

  /* Footer: stack everything center - ALREADY HANDLED IN 900PX BLOCK ABOVE */
  .section-dark,
  .section-light,
  .section-linen {
    padding: 56px 0;
  }

  .video-section {
    padding: 48px 0;
  }
}

/* ── SMALL MOBILE (max 480px) ── */
@media (max-width: 480px) {
  :root {
    --space-3xl: 48px;
    --space-2xl: 40px;
  }

  /* Hide decorative stickers */
  .hero-sticker-left,
  .hero-sticker-right {
    display: none;
  }

  /* Nav tweaks */
  .nav-logo img {
    height: 28px;
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Scroll hint optional hide */
  .scroll-hint {
    display: none;
  }

  /* FAQ single column (already 1-col above 680, reinforce) */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Included grid → single column */
  .included-grid {
    grid-template-columns: 1fr;
  }

  /* Volunteer button full width */
  .volunteer-band .btn {
    display: block;
    /* max-width: 280px; */
    padding: clamp(14px, 2vw, 18px) clamp(16px, 4vw, 48px);
    margin: 0 auto;
  }

  /* Section padding */
  .section-dark,
  .section-light,
  .section-linen {
    padding: 44px 0;
  }
}

/* ── VERY SMALL PHONES  (max 360px) ── */
@media (max-width: 360px) {
  .hero-logo {
    width: 80vw;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 12px;
  }

  .sp-card {
    padding: 20px 16px;
  }

  .route-card-top {
    padding: 18px 14px 14px;
  }

  .route-stats,
  .route-desc,
  .route-details {
    padding-left: 14px;
    padding-right: 14px;
  }
}