/* =========================================================
   EXTREME 4X4 CLUB — single stylesheet
   ---------------------------------------------------------
   IMAGES: every photo is a real <img class="slot-img" src="...">.
   - Just change the src to your own image link.
   - No fixed aspect ratio: the image keeps its own proportions
     and the box grows to fit it. Tall image -> tall box.
   ========================================================= */
:root {
  --bg: #0a0a0b;
  --panel: #101013;
  --panel2: #0d0d10;
  --line: #26262b;
  --line2: #2e2e34;
  --border: #3a3a40;
  --orange: #ff6b00;
  --orange2: #ff8124;
  --text: #e9e7e3;
  --head: #f4f2ee;
  --head2: #f2f0ec;
  --muted: #a9a69f;
  --muted2: #9a9890;
  --chip: #cfccc5;
  --md: #8f8c85;
  --md2: #6a6862;
  --md3: #6f6d68;
  --fd: 'Black Ops One', cursive;
  --fh: 'Oswald', sans-serif;
  --fm: 'Share Tech Mono', monospace;
  --fb: 'Barlow', sans-serif;
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  overflow-x: hidden;
  min-height: 100vh
}

::selection {
  background: var(--orange);
  color: var(--bg)
}

@keyframes e4-roll {
  to {
    transform: rotate(360deg)
  }
}

@keyframes e4-blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .15
  }
}

@keyframes e4-haz {
  to {
    background-position: 56px 0
  }
}

.page {
  position: relative;
  background: var(--bg)
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px
}

.accent {
  color: var(--orange)
}

.dim {
  color: #46443f
}

/* ---------- Drop-in image slots ----------
   <img class="slot-img" src="your-image.jpg" alt="">         */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #141418 0 12px, #191920 12px 24px);
  border: 1px solid var(--line)
}

.slot-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1
}

.slot-img[src=""],
.slot-img:not([src]) {
  display: none
}

.media__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  font-family: var(--fm);
  letter-spacing: .24em;
  color: var(--md2);
  font-size: 12px;
  text-transform: uppercase;
  z-index: 0
}

/* overlays float above the photo */
.rec,
.cam,
.corner,
.xh-h,
.xh-v,
.badge-date,
.badge-class,
.badge-call,
.status,
.gtile__geo {
  z-index: 2
}

/* ---------- Tyre-track layer ---------- */
.track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}

.track__svg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible
}

.track-mask-path {
  stroke: #fff;
  stroke-width: 76;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round
}

.track-bed {
  stroke: #8a8276;
  stroke-width: 62;
  fill: none;
  stroke-linecap: round;
  opacity: .06
}

.track-tread {
  stroke: var(--orange);
  stroke-width: 38;
  stroke-dasharray: 17 13;
  fill: none;
  stroke-linecap: butt
}

.track-lug {
  stroke: #ff8a3a;
  stroke-width: 38;
  stroke-dasharray: 3 27;
  stroke-dashoffset: -8;
  fill: none;
  stroke-linecap: butt;
  opacity: .5
}

.track-channel {
  stroke: var(--bg);
  stroke-width: 9;
  fill: none;
  stroke-linecap: round
}

.marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 36px;
  opacity: 0;
  will-change: transform;
  filter: drop-shadow(0 0 11px rgba(255, 107, 0, .55))
}

.marker__wheel {
  position: absolute;
  width: 14px;
  height: 9px;
  background: #121214;
  border: 1px solid #000;
  border-radius: 3px
}

.marker__wheel.rl {
  left: 10px;
  top: -3px
}

.marker__wheel.rr {
  left: 10px;
  top: 30px
}

.marker__wheel.fl {
  left: 36px;
  top: -3px
}

.marker__wheel.fr {
  left: 36px;
  top: 30px
}

.marker__body {
  position: absolute;
  left: 3px;
  top: 5px;
  width: 54px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(180deg, #2a2a30, #19191c);
  border: 1.5px solid var(--orange);
  box-shadow: inset 0 0 7px rgba(0, 0, 0, .7)
}

.marker__cabin {
  position: absolute;
  left: 18px;
  top: 9px;
  width: 17px;
  height: 18px;
  border-radius: 3px;
  background: #34343b;
  border: 1px solid #4a4a52
}

.marker__bar {
  position: absolute;
  left: 35px;
  top: 11px;
  width: 4px;
  height: 14px;
  background: var(--orange);
  border-radius: 1px;
  box-shadow: 0 0 7px rgba(255, 107, 0, .85)
}

.marker__light {
  position: absolute;
  width: 3px;
  height: 5px;
  background: #ffd2a6;
  border-radius: 1px
}

.marker__light.l1 {
  left: 52px;
  top: 9px
}

.marker__light.l2 {
  left: 52px;
  top: 22px
}

.content {
  position: relative;
  z-index: 1
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

.nav__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1
}

.nav__toggle:hover {
  border-color: var(--orange);
  color: var(--orange)
}

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

.brand__mark {
  width: 34px;
  height: 34px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: .5px
}

.brand__name {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .16em;
  color: var(--head2)
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--fh);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .18em;
  color: #b8b5ae
}

.nav__link {
  color: inherit;
  text-decoration: none
}

.nav__link:hover {
  color: var(--orange)
}

/* ---------- Buttons ---------- */
.btn {
  text-decoration: none;
  background: var(--orange);
  color: var(--bg);
  font-family: var(--fh);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .16em;
  padding: 16px 30px;
  display: inline-block
}

.btn:hover {
  background: var(--orange2)
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px
}

.btn--ghost {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: none
}

/* ---------- Section heads ---------- */
.kicker {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--md);
  margin-bottom: 14px
}

.kicker .tag {
  color: var(--orange)
}

.h1 {
  font-family: var(--fd);
  font-size: clamp(40px, 7vw, 110px);
  line-height: .92;
  color: var(--head);
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance
}

.h2 {
  font-family: var(--fd);
  font-size: clamp(34px, 5vw, 58px);
  color: var(--head);
  text-transform: uppercase;
  line-height: 1
}

.lead {
  max-width: 560px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted)
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 150px 32px 90px
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--md);
  text-transform: uppercase;
  margin-bottom: 26px
}

.hero .lead {
  margin-top: 28px;
  font-size: 18px
}

.dot {
  width: 9px;
  height: 9px;
  background: var(--orange);
  display: inline-block;
  animation: e4-blink 1.4s infinite
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px
}

.imgframe {
  margin-top: 60px
}

.imgframe--flush {
  margin-top: 0
}

.rec {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--orange)
}

.rec__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: e4-blink 1.2s infinite
}

.cam {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--md3)
}

.xh-h {
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 1px;
  background: rgba(255, 107, 0, .5)
}

.xh-v {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 34px;
  background: rgba(255, 107, 0, .5)
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px
}

.corner.tl {
  top: 10px;
  left: 10px;
  border-left: 2px solid var(--orange);
  border-top: 2px solid var(--orange)
}

.corner.tr {
  top: 10px;
  right: 10px;
  border-right: 2px solid var(--orange);
  border-top: 2px solid var(--orange)
}

.corner.bl {
  bottom: 10px;
  left: 10px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange)
}

.corner.br {
  bottom: 10px;
  right: 10px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange)
}

/* ---------- Stats ---------- */
.stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line)
}

.stats--4 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0
}

.stat {
  padding: 24px 28px;
  border-right: 1px solid var(--line)
}

.stat:last-child {
  border-right: none
}

.stat__num {
  font-family: var(--fd);
  font-size: 38px;
  color: var(--head)
}

.stats--4 .stat__num {
  font-size: 34px
}

.stat__num.is-orange {
  color: var(--orange)
}

.stat__unit {
  font-size: 17px;
  color: var(--md)
}

.stat__label {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--md);
  margin-top: 4px
}

/* ---------- Hazard strip ---------- */
.hazard {
  height: 14px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 14px, var(--bg) 14px 28px);
  background-size: 56px 14px;
  animation: e4-haz 1.4s linear infinite;
  opacity: .85
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 44px
}

.feature {
  display: block;
  text-decoration: none;
  background: var(--panel);
  padding: 32px 26px;
  border-top: 3px solid var(--line);
  transition: transform .15s ease, background .15s ease, border-color .15s ease
}

.feature:hover {
  background: #16161a;
  transform: translateY(-4px);
  border-top-color: var(--orange)
}

.feature--first {
  border-top-color: var(--orange)
}

.feature__idx {
  font-family: var(--fm);
  font-size: 11px;
  color: var(--md3);
  letter-spacing: .2em
}

.feature h3 {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--head2);
  margin: 8px 0 10px;
  text-transform: uppercase
}

.feature p {
  color: var(--muted2);
  font-size: 14px;
  line-height: 1.5
}

.feature__more {
  margin-top: 18px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--orange)
}

.ic {
  margin-bottom: 26px
}

.ic--diamond {
  width: 34px;
  height: 34px;
  border: 2px solid var(--orange);
  transform: rotate(45deg)
}

.ic--target {
  width: 34px;
  height: 34px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: relative
}

.ic--target::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  transform: translate(-50%, -50%)
}

.ic--bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 34px
}

.ic--bars span {
  height: 5px;
  background: var(--orange)
}

.ic--bars span:nth-child(2) {
  opacity: .55
}

.ic--bars span:nth-child(3) {
  opacity: .3
}

.ic--tri {
  width: 0;
  height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-bottom: 30px solid var(--orange)
}

/* ---------- Horizontal rails (runs / fleet) ---------- */
.rail {
  padding: 40px 0 96px
}

.rail--fleet {
  padding: 50px 0 96px
}

.railhead {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 12px
}

.rail-hint {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--md2)
}

.rail-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, color .15s ease
}

.rail-btn:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.rail__lead {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px
}

.rail__viewport {
  max-width: 1240px;
  margin: 0 auto
}

.scroller {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 32px;
  padding: 4px 32px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) #161619
}

.scroller--fleet {
  margin-top: 30px
}

.scroller::-webkit-scrollbar {
  height: 8px
}

.scroller::-webkit-scrollbar-track {
  background: #161619
}

.scroller::-webkit-scrollbar-thumb {
  background: var(--orange)
}

.badge-date {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--bg);
  background: var(--orange);
  padding: 4px 8px
}

.badge-class {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--orange);
  background: rgba(10, 10, 11, .72);
  padding: 4px 7px
}

.badge-call {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--bg);
  background: var(--orange);
  padding: 4px 9px
}

.status {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--orange);
  background: rgba(10, 10, 11, .72);
  padding: 4px 8px
}

.dot7 {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange)
}

.runcard {
  flex: 0 0 282px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  display: block;
  transition: transform .15s ease, border-color .15s ease
}

.runcard:hover {
  transform: translateY(-5px);
  border-color: var(--orange)
}

.runcard .media {
  border: none;
  border-bottom: 1px solid var(--line)
}

.runcard__body {
  padding: 20px
}

.runcard__body h3 {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--head2);
  text-transform: uppercase
}

.runcard__meta {
  font-family: var(--fm);
  font-size: 10.5px;
  letter-spacing: .13em;
  color: var(--md);
  margin-top: 5px
}

.runcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px
}

.diff {
  display: flex;
  gap: 4px
}

.diff span {
  width: 11px;
  height: 6px;
  background: var(--orange)
}

.diff span.off {
  background: var(--line2)
}

.gallery-link {
  font-family: var(--fm);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--orange)
}

.fleetcard {
  flex: 0 0 360px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .15s ease, border-color .15s ease
}

.fleetcard:hover {
  transform: translateY(-4px);
  border-color: var(--orange)
}

.fleetcard .media {
  border: none;
  border-bottom: 1px solid var(--line)
}

.fleetcard__body {
  padding: 24px
}

.fleetcard__role {
  font-family: var(--fm);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--md)
}

.fleetcard__body h3 {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: .04em;
  color: var(--head2);
  text-transform: uppercase;
  margin-top: 4px
}

.fleetcard__body p {
  color: var(--muted2);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 10px 0 0
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px
}

.chip {
  font-family: var(--fm);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--chip);
  border: 1px solid var(--line2);
  padding: 5px 9px
}

/* ---------- Specs HUD ---------- */
.specs {
  background: var(--panel2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.specs__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 90px 32px
}

.specgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 44px
}

.spec {
  background: var(--panel2);
  padding: 30px 26px
}

.spec__label {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--md)
}

.spec__num {
  font-family: var(--fd);
  font-size: 46px;
  color: var(--head);
  margin-top: 10px;
  line-height: 1
}

.spec__num.is-orange {
  color: var(--orange)
}

.spec__unit {
  font-size: 22px;
  color: var(--md)
}

/* ---------- Gallery (masonry, any image size) ---------- */
.gallery {
  column-count: 3;
  column-gap: 14px;
  margin-top: 44px
}

.gallery--run {
  column-count: 4;
  margin-top: 38px
}

.gtile {
  position: relative;
  break-inside: avoid;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #131317 0 12px, #18181e 12px 24px);
  display: block
}

.gtile .slot-img {
  width: 100%;
  height: auto;
  display: block
}

.gtile__geo {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--orange)
}

.gtile__empty {
  display: block;
  min-height: 180px
}

/* ---------- Reviews ---------- */
.band {
  background: var(--panel2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.band__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 90px 32px
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px
}

.review {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
  border-top: 3px solid var(--line)
}

.review--feat {
  border-top-color: var(--orange)
}

.stars {
  color: var(--orange);
  letter-spacing: 4px;
  font-size: 14px
}

.review p {
  color: var(--chip);
  font-size: 15px;
  line-height: 1.6;
  margin: 16px 0 22px
}

.review__name {
  font-family: var(--fh);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--head2);
  text-transform: uppercase;
  font-size: 15px
}

.review__veh {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--md);
  margin-top: 3px
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  align-items: start
}

.plan {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 34px 30px;
  position: relative
}

.plan--feat {
  border-color: var(--orange);
  background: #121013;
  box-shadow: 0 0 0 1px var(--orange), 0 24px 60px -30px rgba(255, 107, 0, .6)
}

.plan__badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--orange);
  color: var(--bg);
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .18em;
  padding: 5px 10px
}

.plan__name {
  font-family: var(--fh);
  font-weight: 600;
  letter-spacing: .16em;
  color: #b8b5ae;
  text-transform: uppercase;
  font-size: 15px
}

.plan--feat .plan__name {
  color: var(--orange)
}

.plan__pricerow {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 18px 0 6px
}

.plan__price {
  font-family: var(--fd);
  font-size: 48px;
  color: var(--head);
  line-height: 1
}

.plan__per {
  font-family: var(--fm);
  font-size: 12px;
  color: var(--md);
  margin-bottom: 8px
}

.plan__desc {
  color: var(--md);
  font-size: 13px;
  margin-bottom: 24px
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--chip)
}

.plan__item {
  display: flex;
  gap: 10px
}

.plan__item .tick {
  color: var(--orange)
}

.plan__cta {
  margin-top: 28px;
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--fh);
  font-weight: 600;
  letter-spacing: .14em;
  padding: 14px
}

.plan__cta:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.plan__cta--primary {
  background: var(--orange);
  color: var(--bg);
  border: none
}

.plan__cta--primary:hover {
  background: var(--orange2);
  color: var(--bg)
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg)
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 32px 40px
}

.footer__ghost {
  font-family: var(--fd);
  font-size: clamp(40px, 8vw, 104px);
  color: #16161a;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .01em
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line)
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px
}

.footer__mark {
  width: 32px;
  height: 32px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  color: var(--bg);
  font-size: 12px
}

.footer__about {
  color: #7a7872;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 280px
}

.footer__head {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--md2);
  margin-bottom: 16px
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--fh);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .06em;
  color: #b8b5ae
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .16em;
  color: #5e5c57
}

.footer--slim {
  border-top: 1px solid var(--line)
}

.footer--slim .footer__inner {
  padding: 46px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px
}

.footer__note {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .16em;
  color: #5e5c57
}

/* ---------- Run gallery page ---------- */
.crumbs {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--md);
  text-transform: uppercase;
  margin-bottom: 22px
}

.crumbs a {
  color: var(--md);
  text-decoration: none
}

.crumbs a:hover {
  color: var(--orange)
}

.runhead {
  max-width: 1240px;
  margin: 0 auto;
  padding: 138px 32px 40px
}

.runhead__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--md);
  text-transform: uppercase;
  margin-bottom: 16px
}

.runhero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px
}

.runstats {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 32px 0
}

.loadmore {
  margin-top: 26px;
  display: flex;
  justify-content: center
}

.loadmore button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--fh);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .16em;
  padding: 14px 30px;
  cursor: pointer
}

.loadmore button:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.navcard {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px 28px;
  display: block;
  transition: border-color .15s ease
}

.navcard:hover {
  border-color: var(--orange)
}

.navcard--next {
  text-align: right
}

.navcard__dir {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--md)
}

.navcard__name {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--head2);
  text-transform: uppercase;
  margin-top: 8px
}

/* ---------- Responsive ---------- */
@media(max-width:1024px) {

  .hero,
  .section,
  .specs__inner,
  .band__inner,
  .runhead,
  .runstats,
  .runhero,
  .footer__inner,
  .railhead,
  .rail__lead,
  .rail__viewport {
    padding-left: 24px;
    padding-right: 24px
  }

  .scroller {
    padding-left: 24px;
    padding-right: 24px;
    scroll-padding-left: 24px
  }

  .nav__inner,
  .footer--slim .footer__inner {
    padding-left: 24px;
    padding-right: 24px
  }

  .nav__links {
    gap: 20px
  }
}

@media(max-width:880px) {

  .features,
  .specgrid {
    grid-template-columns: repeat(2, 1fr)
  }

  .reviews,
  .pricing {
    grid-template-columns: 1fr
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }

  .gallery {
    column-count: 2
  }

  .gallery--run {
    column-count: 2
  }

  .hero {
    padding-top: 124px
  }

  .section,
  .specs__inner,
  .band__inner {
    padding-top: 72px;
    padding-bottom: 72px
  }
}

@media(max-width:720px) {
  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 2
  }

  .nav__links {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 10, 11, .98);
    border-bottom: none;
    padding: 80px 8px 28px;
    display: none;
    z-index: 1
  }

  .nav.is-open .nav__links {
    display: flex
  }

  .nav__links .nav__link {
    padding: 18px 24px;
    font-size: 16px;
    text-align: center
  }

  .nav__links .btn {
    margin: 16px 24px 0;
    text-align: center;
    font-size: 16px
  }
}

/* lock background scroll while the mobile menu is open */
body.nav-open {
  overflow: hidden
}

@media(max-width:560px) {

  .features,
  .specgrid,
  .stats,
  .stats--4,
  .footer__grid,
  .prevnext {
    grid-template-columns: 1fr
  }

  .gallery,
  .gallery--run {
    column-count: 1
  }

  .hero {
    padding: 104px 18px 60px
  }

  .section,
  .specs__inner,
  .band__inner {
    padding-left: 18px;
    padding-right: 18px
  }

  .runhead {
    padding: 112px 18px 32px
  }

  .runstats,
  .runhero {
    padding-left: 18px;
    padding-right: 18px
  }

  .h1 {
    font-size: clamp(40px, 13vw, 72px)
  }

  .runcard {
    flex-basis: 260px
  }

  .fleetcard {
    flex-basis: 300px
  }

  .footer__inner {
    padding-left: 18px;
    padding-right: 18px
  }

  .footer--slim .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 18px
  }
}