/* Weekend Riders — premium theme tokens & shared components */
:root {
  --matte-black: #000000;
  --charcoal: #1A1A1A;
  --charcoal-2: #141414;
  --orange: #ED3237;
  --orange-soft: #f15257;
  --white: #FFFFFF;
  --grey: #D1D5DB;
  --grey-dim: #9aa0aa;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.10);
  --font-display: "Clash Display", "Space Grotesk", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--matte-black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fonts loaded via Fontshare (Clash Display) + Google (Space Grotesk) in the page head */

.font-display {
  font-family: var(--font-display);
}

::selection {
  background: var(--orange);
  color: #0B0B0B;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0B0B0B;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}

/* Glass card */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Gradient text */
.grad-text {
  background: linear-gradient(120deg, #fff 20%, var(--orange) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Primary button */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--orange);
  color: #0B0B0B;
  font-weight: 600;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, background .35s;
  box-shadow: 0 10px 30px -10px rgba(237, 50, 55, .6);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px -12px rgba(237, 50, 55, .75);
  background: var(--orange-soft);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-weight: 500;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  transition: all .35s cubic-bezier(.22, 1, .36, 1);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  transform: translateY(-3px);
}

/* Section shell */
.section {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.container-x {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* Reveal animation base.
   Reveals are only hidden when JS is active (body.js). The observer adds .in for a
   scroll-triggered reveal; a CSS auto-reveal animation is also armed as a hard
   failsafe so an element can NEVER stay invisible even if the observer/scroll
   never fires (e.g. inside a headless screenshot renderer). .in short-circuits it. */
.reveal {
  transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1);
}

/* Scroll-reveal is a desktop enhancement only. On mobile, content is always
   visible (never gated on JS/observer timing) for reliability + performance. */
@media (min-width: 768px) {
  body.js .reveal {
    opacity: 0;
    transform: translateY(38px);
    animation: reveal-failsafe .9s cubic-bezier(.22, 1, .36, 1) 1.4s forwards;
  }

  body.js .reveal.in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes reveal-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal-2 {
  transition-delay: .12s;
}

.reveal-3 {
  transition-delay: .24s;
}

.reveal-4 {
  transition-delay: .36s;
}

/* Card hover lift */
.lift {
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s, border-color .5s;
}

.lift:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, .4);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9);
}

/* Image zoom on hover wrapper */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.img-zoom:hover img {
  transform: scale(1.08);
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), #ffb27a);
  z-index: 100;
  transition: width .1s linear;
}

/* Down-scroll indicator */
@keyframes bobble {

  0%,
  100% {
    transform: translateY(0);
    opacity: .5;
  }

  50% {
    transform: translateY(9px);
    opacity: 1;
  }
}

.scroll-dot {
  animation: bobble 1.8s ease-in-out infinite;
}

/* Noise / texture overlay */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

/* Marquee */
@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

/* Masonry */
.masonry {
  column-gap: 1rem;
}

.masonry>* {
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* Timeline scrollbar hide */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Accordion */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.22, 1, .36, 1);
}

.acc-item.open .acc-body {
  max-height: 320px;
}

.acc-item.open .acc-icon {
  transform: rotate(45deg);
  color: var(--orange);
}

.acc-icon {
  transition: transform .4s ease, color .4s;
}

/* ===== Interior page shared components ===== */

/* Inner page hero (shorter than home) */
.page-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1;
  letter-spacing: -.02em;
}

/* Filter chips */
.chip {
  padding: .55rem 1.15rem;
  border-radius: 999px;
  font-size: .85rem;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  color: var(--grey);
  background: var(--glass);
  transition: all .3s ease;
  white-space: nowrap;
}

.chip:hover {
  border-color: rgba(249, 115, 22, .5);
  color: #fff;
}

.chip.active {
  background: var(--orange);
  color: #0B0B0B;
  border-color: var(--orange);
  font-weight: 600;
}

/* Filterable item hide */
.filter-hide {
  display: none !important;
}

/* Step connector */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: 999px;
  background: var(--orange);
  color: #0B0B0B;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Pricing / member level highlight */
.tier-featured {
  border-color: rgba(249, 115, 22, .5) !important;
  box-shadow: 0 30px 70px -30px rgba(249, 115, 22, .4);
}

/* Badge pill */
.badge-pill {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}

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

  .scroll-dot,
  .marquee-track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}