/* =========================================================================
   REBEL CARS // pages/esports.css
   Crypto E-Sports page only. Everything here is prefixed .es-
   01  Hero (framed promo artwork)
   02  01 // The invitation (letter panel + stat column)
   03  02 // Why join
   04  03 // The campaign (race-track timeline)
   05  04 // Format (big readouts + team grid)
   06  05 // Drivers
   07  06 // Pit Lane Walk (pit box schematic)
   08  07 // Join
   ========================================================================= */


/* =========================================================================
   01  HERO
   ========================================================================= */
@media (min-width: 961px) {
  .es-hero .rc-pagehero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
/* Centred as usual, but never higher than 20px below the fixed header
   (half the outline's height = .2752 x its width of max(900px, 78vw)). */
.es-hero > .rc-outline { top: max(50%, calc(var(--header-h) + 20px + max(248px, 21.47vw))); }
.es-hero__lead { max-width: 36rem; }
.es-hero__go { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 12px; }

/* The artwork stays inside the wrap (no bleed): it carries its own lettering. */
.es-hero .rc-pagehero__visual { margin-right: 0; justify-self: end; width: 100%; max-width: 500px; }
.es-hero__stack { position: relative; padding: 0 22px 22px 0; }
/* Offset back plate: a hairline frame shifted down-right, like a second monitor. */
.es-hero__plate {
  position: absolute;
  inset: 22px 0 0 22px;
  border: 1px solid var(--line-2);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 9px),
    var(--bg);
}
.es-hero__media {
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.95), 0 0 70px -24px rgba(232,34,47,.45);
}
.es-hero__media img { aspect-ratio: 1; }
.es-hero__cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font: 500 .7rem/1.2 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-2);
}
.es-hero__cross { z-index: 2; }
.es-hero__cross--a { top: -18px; left: -18px; }
.es-hero__cross--b { right: -6px; bottom: -6px; }
.es-hero__coord {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translate(50%, -50%) rotate(90deg);
  transform-origin: center;
}

@media (max-width: 1180px) {
  .es-hero__coord { display: none; }
}
@media (max-width: 960px) {
  .es-hero .rc-pagehero__visual { margin-inline: 0; justify-self: start; max-width: 460px; }
}
@media (max-width: 480px) {
  .es-hero__stack { padding: 0 12px 12px 0; }
  .es-hero__plate { inset: 12px 0 0 12px; }
  .es-hero__cross--a { display: none; }
  .es-hero__go .rc-btn { width: 100%; }
}


/* =========================================================================
   02  01 // THE INVITATION
   ========================================================================= */
.es-invite { border-top: 0; } /* the hero already draws the hairline */
.es-invite__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.es-letter__body { padding: clamp(24px, 4vw, 56px) clamp(22px, 4.4vw, 64px) clamp(28px, 4vw, 52px); }
.es-letter__body > * + * { margin-top: 0; }
.es-letter__text { display: grid; gap: 1.1em; max-width: 64ch; }
.es-letter__text p { font-size: 1.12rem; line-height: 1.7; }
.es-letter__first { color: var(--text); }

.es-letter__sign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px dashed var(--line-2);
}
.es-letter__label {
  grid-column: 1 / -1;
  font: 500 .72rem/1.2 var(--font-mono);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.es-letter__closing { max-width: 46ch; color: var(--text); }
.es-letter__sig { display: grid; justify-items: start; gap: 10px; padding-left: 22px; border-left: 2px solid var(--red); }
.es-letter__name {
  padding-top: .08em;
  font: 500 clamp(2.4rem, 4vw, 3.4rem)/.85 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
}
.es-letter__role {
  font: 500 .72rem/1.4 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Slim telemetry column beside the letter. */
.es-invite__stats {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-2);
}
.es-invite__stats .rc-stat { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }

@media (max-width: 960px) {
  .es-invite__grid { grid-template-columns: minmax(0, 1fr); }
  .es-invite__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 1180px) {
  .es-letter__sign { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .es-invite__stats .rc-stat__value { font-size: 2rem; }
}


/* =========================================================================
   03  02 // WHY JOIN
   ========================================================================= */
.es-why__grid .rc-card__title { padding-top: clamp(28px, 4vw, 56px); }
@media (max-width: 720px) {
  .es-why__grid .rc-card__title { padding-top: 8px; }
}

/* Keeps hyphenated words such as E-Sports on one line in headings. */
.es-nowrap { white-space: nowrap; }

/* Grid line-up: three livery renders in bracketed frames (16:10, full frame).
   Under 720px the row turns into a snapping strip that bleeds to the page
   edges (keyboard-focusable via data-scroll-region). */
.es-lineup { margin-top: clamp(56px, 7vw, 96px); }
.es-lineup__bar { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.es-lineup__ruler { flex: 1; min-width: 40px; }
.es-lineup__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.es-lineup__shot img { aspect-ratio: 16 / 10; }
.es-lineup__shot .rc-media__cap { letter-spacing: .18em; }
.es-lineup__shot .rc-media__cap > span { white-space: nowrap; }

@media (max-width: 1100px) and (min-width: 721px) {
  .es-lineup__shot .rc-media__cap > :last-child { display: none; }
}
@media (max-width: 720px) {
  .es-lineup__bar > .rc-coord:last-child { display: none; }
  .es-lineup__strip {
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 12px;
    scroll-padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
  }
  .es-lineup__list { display: flex; width: max-content; gap: 16px; }
  .es-lineup__item { flex: none; width: min(78vw, 340px); scroll-snap-align: start; }
}
@media (max-width: 359px) {
  .es-lineup__shot .rc-media__cap > :last-child { display: none; }
}


/* =========================================================================
   04  03 // THE CAMPAIGN: race-track timeline
   Columns: week readout | track (line + node) | stage title | brief.
   The grey track line is .es-track::before, the red fill ::after; the fill
   runs down once when the list is revealed.
   ========================================================================= */
.es-campaign { --glow-x: 8%; --glow-y: 520px; }
.es-track,
.es-track__head {
  --wk: 150px;            /* week column */
  --tw: 64px;             /* track column */
  --pad: 36px;            /* row padding */
  --node: 26px;           /* node centre below the row top padding */
}
.es-track__head {
  display: grid;
  grid-template-columns: var(--wk) var(--tw) minmax(0, .8fr) minmax(0, 1.25fr);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  font: 500 .7rem/1 var(--font-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-3);
}
.es-track__head span:first-child { text-align: right; padding-right: 22px; }
.es-track__head span:nth-child(2) { grid-column: 3; }

.es-track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* used only as a trigger for the fill: no fade of the whole list */
.js .es-track.rc-reveal:not(.is-in) { opacity: 1; transform: none; }
.js .es-track.rc-reveal.is-in { animation: none; }

.es-track::before,
.es-track::after {
  content: "";
  position: absolute;
  left: calc(var(--wk) + var(--tw) / 2 - 1px);
  top: 0;
  bottom: calc(var(--pad) + 30px);
  width: 2px;
  pointer-events: none;
}
.es-track::before {
  background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 16px);
}
.es-track::after {
  background: linear-gradient(180deg, rgba(232,34,47,.35), var(--red) 40%);
  box-shadow: 0 0 10px var(--red-glow);
  transform-origin: top;
  transition: transform 2.4s cubic-bezier(.45,.05,.25,1) .2s;
}
.js .es-track:not(.is-in)::after { transform: scaleY(0); }

.es-stop {
  position: relative;
  display: grid;
  grid-template-columns: var(--wk) var(--tw) minmax(0, .8fr) minmax(0, 1.25fr);
  grid-template-areas: "week track title desc";
  align-items: start;
  padding-block: var(--pad);
}
.es-stop + .es-stop::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--wk) + var(--tw));
  right: 0;
  height: 1px;
  background: var(--line);
}

.es-stop__week {
  grid-area: week;
  display: grid;
  justify-items: end;
  gap: 6px;
  padding-right: 22px;
  font: 500 .7rem/1 var(--font-mono);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-3);
}
.es-stop__week b {
  padding-top: .08em;
  font: 500 clamp(3.4rem, 5vw, 4.6rem)/.8 var(--font-display);
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-3);
  font-variant-numeric: tabular-nums;
}

.es-stop__node {
  grid-area: track;
  justify-self: center;
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: calc(var(--node) - 7px);
  border: 2px solid var(--red);
  background: var(--bg-raise);
  transition: border-color .4s, background-color .4s;
  transition-delay: .5s;
}
.js .es-stop:not(.is-in) .es-stop__node { border-color: var(--text-3); }

.es-stop__title {
  grid-area: title;
  padding: .08em 32px 0 0;
  margin-top: 6px;
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  line-height: .95;
}
.es-stop__desc { grid-area: desc; display: grid; gap: .9em; padding-top: 4px; }
.es-stop__desc .rc-list { gap: 10px; margin-top: .2em; }
.es-stop__desc strong { color: var(--text); }

/* WEEK 05: the finish. Red node, filled numeral, chequered flag at the line end. */
.es-stop--finish {
  background: linear-gradient(90deg, transparent calc(var(--wk) + var(--tw) / 2), var(--red-wash) calc(var(--wk) + var(--tw) / 2), transparent 75%);
}
.es-stop--finish .es-stop__week { color: var(--red-bright); }
.es-stop--finish .es-stop__week b { color: var(--red); -webkit-text-stroke: 0; text-shadow: 0 0 28px rgba(232,34,47,.45); }
.es-stop--finish .es-stop__node {
  width: 22px;
  height: 22px;
  margin-top: calc(var(--node) - 11px);
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(232,34,47,.16), 0 0 22px var(--red-glow);
}
.js .es-stop--finish:not(.is-in) .es-stop__node { background: var(--bg-raise); box-shadow: none; }
.es-stop__tag { grid-area: week; justify-self: end; align-self: start; margin: 92px 22px 0 0; }
.es-stop__flag {
  position: absolute;
  left: calc(var(--wk) + var(--tw) / 2 - 15px);
  bottom: var(--pad);
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  background: repeating-conic-gradient(var(--text) 0 25%, transparent 0 50%) 0 0 / 10px 10px;
  opacity: .85;
}

@media (max-width: 1100px) {
  .es-track,
  .es-track__head { --wk: 112px; --tw: 52px; }
  .es-track__head { grid-template-columns: var(--wk) var(--tw) minmax(0, 1fr); }
  .es-track__head span:nth-child(3) { display: none; }
  .es-stop {
    grid-template-columns: var(--wk) var(--tw) minmax(0, 1fr);
    grid-template-areas: "week track title" "week track desc";
    row-gap: 16px;
  }
  .es-stop__title { padding-right: 0; }
  .es-stop__desc { max-width: 64ch; }
}
@media (max-width: 720px) {
  .es-track__head { display: none; }
  .es-track { --wk: 0px; --tw: 40px; --pad: 28px; --node: 9px; border-top: 1px solid var(--line-2); }
  .es-stop {
    grid-template-columns: var(--tw) minmax(0, 1fr);
    grid-template-areas: "track week" "track title" "track desc";
    row-gap: 12px;
  }
  .es-stop + .es-stop::before { left: var(--tw); }
  .es-stop__week { display: flex; align-items: baseline; justify-items: start; gap: 12px; padding-right: 0; }
  .es-stop__week b { font-size: 2.6rem; }
  .es-stop__node { justify-self: start; margin-left: calc(var(--tw) / 2 - 7px); }
  .es-stop--finish .es-stop__node { margin-left: calc(var(--tw) / 2 - 11px); }
  .es-stop__title { margin-top: 0; }
  .es-stop__tag { grid-area: week; justify-self: end; align-self: center; margin: 0; }
  .es-stop--finish { background: linear-gradient(90deg, transparent calc(var(--tw) / 2), var(--red-wash) calc(var(--tw) / 2), transparent 90%); }
  .es-stop__flag { left: calc(var(--tw) / 2 - 12px); width: 24px; height: 24px; background-size: 8px 8px; }
  .es-track::before,
  .es-track::after { bottom: calc(var(--pad) + 24px); }
}


/* =========================================================================
   05  04 // FORMAT
   ========================================================================= */
.es-format__readouts {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
}
.es-readout {
  position: relative;
  display: grid;
  align-content: start;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}
.es-readout::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}
.es-readout__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 18px;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}
.es-readout__num {
  padding-top: .08em;
  font: 500 clamp(6rem, 13vw, 11rem)/.78 var(--font-display);
  letter-spacing: 0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.es-readout__unit {
  font: 500 clamp(1.7rem, 2.8vw, 2.6rem)/.95 var(--font-display);
  color: var(--text-2);
}
.es-readout p { max-width: 40ch; font-size: 1.12rem; }

/* 2 x 10 team grid (decorative): each square is a team with two car slots. */
.es-grid { display: grid; gap: 8px; margin-top: 8px; }
.es-grid__row { display: flex; align-items: center; gap: 16px; }
.es-grid__label {
  flex: none;
  width: 4.4em;
  font: 500 .66rem/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.es-grid__cells { display: flex; flex-wrap: wrap; gap: 6px; }
.es-grid__cells i {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(90deg, transparent 4px, var(--text-3) 4px 7px, transparent 7px 10px, var(--text-3) 10px 13px, transparent 13px) center / 100% 6px no-repeat;
}
.es-grid__cells i.is-special {
  border-color: var(--red);
  background: linear-gradient(90deg, transparent 4px, #fff 4px 7px, transparent 7px 10px, #fff 10px 13px, transparent 13px) center / 100% 6px no-repeat, var(--red);
  box-shadow: 0 0 14px var(--red-glow);
}

.es-format__notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .es-format__readouts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .es-format__notes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .es-grid__row { gap: 10px; }
  .es-grid__cells { gap: 4px; }
  .es-grid__cells i { width: 16px; height: 16px; background-size: 100% 5px; }
}


/* =========================================================================
   06  05 // DRIVERS
   ========================================================================= */
.es-drivers__module {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 20px clamp(32px, 5vw, 72px);
  margin-top: 24px;
  padding-block: clamp(28px, 3.4vw, 44px);
  border-color: rgba(232,34,47,.35);
  background:
    linear-gradient(90deg, var(--red-wash), transparent 60%),
    rgba(12,14,20,.55);
}
.es-drivers__modhead { display: grid; justify-items: start; gap: 16px; }
.es-drivers__modtitle {
  padding: .08em 0 0;
  font: 500 clamp(2rem, 3.4vw, 3rem)/.92 var(--font-display);
  letter-spacing: .01em;
  color: var(--text);
}
.es-drivers__module p { font-size: 1.1rem; color: var(--text-2); }

/* Livery render on the right half of the module card: the black studio
   background fades into the card towards the text. */
@media (min-width: 861px) {
  .es-drivers__module {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-content: center;
    gap: 24px clamp(32px, 5vw, 72px);
    min-height: clamp(320px, 30vw, 420px);
  }
  .es-drivers__modhead,
  .es-drivers__module > p { grid-column: 1; position: relative; z-index: 1; }
  .es-drivers__shot { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
  .es-drivers__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 52%;
    -webkit-mask-image:
      linear-gradient(90deg, transparent, #000 30%),
      linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent, #000 30%),
      linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
    mask-composite: intersect;
  }
}
.es-drivers__module .rc-card__index { z-index: 2; }
.es-drivers__shot { margin: 0; }
/* Dark backing chip: the label sits over the light rallycross render and
   keeps AA contrast wherever the car ends up behind it. */
.es-drivers__cap {
  position: absolute;
  right: calc(clamp(22px, 2.4vw, 32px) - 8px);
  bottom: calc(clamp(16px, 2vw, 24px) - 6px);
  padding: 6px calc(8px - .24em) 6px 8px; /* letter-spacing trails on the right */
  background: rgba(5,6,8,.92);
  font: 500 .68rem/1 var(--font-mono);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 860px) {
  .es-drivers__module { grid-template-columns: minmax(0, 1fr); }
  .es-drivers__shot {
    position: relative;
    margin: 4px calc(clamp(22px, 2.4vw, 32px) * -1) calc(clamp(28px, 3.4vw, 44px) * -1);
  }
  .es-drivers__shot img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 55%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%);
    mask-image: linear-gradient(180deg, transparent, #000 22%);
  }
  /* The light rallycross car fills the lower part of the frame: the label
     moves up into the faded top band, over the plain card. */
  .es-drivers__cap { top: 10px; bottom: auto; }
}


/* =========================================================================
   07  06 // PIT LANE WALK
   ========================================================================= */
.es-pit__head { margin-bottom: 40px; }
.es-pit__visual { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 40px); }

/* Pit lane schematic, top view (decorative). */
.es-pitmap {
  position: relative;
  padding: 18px clamp(16px, 2.4vw, 28px) 22px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 24px),
    rgba(9,11,16,.9);
  font: 500 .64rem/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.es-pitmap::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}
.es-pitmap__bar { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; }
.es-pitmap__bar .rc-slash { margin-inline: .1em; }

.es-pitmap__garages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--line-2);
}
.es-pitmap__box {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  height: clamp(130px, 14vw, 170px);
  padding-top: 12px;
  border-right: 1px solid var(--line-2);
}
.es-pitmap__box:first-child { border-left: 1px solid var(--line-2); }
.es-pitmap__box b { font-weight: 500; color: var(--text-3); white-space: nowrap; }
/* car, top view: body with a cockpit */
.es-pitmap__car {
  position: relative;
  width: clamp(18px, 2.2vw, 28px);
  height: clamp(44px, 4.6vw, 60px);
  margin-top: 6px;
  border: 1px solid var(--text-3);
}
/* cockpit */
.es-pitmap__car::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: 36%;
  height: 24%;
  border: 1px solid var(--text-3);
}
/* front and rear wings */
.es-pitmap__car::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: -5px;
  bottom: -5px;
  border-block: 1px solid var(--text-3);
}
/* info panel in front of the car */
.es-pitmap__info { position: absolute; bottom: 8px; width: 46%; height: 2px; background: var(--line-2); }
.es-pitmap__box.is-active { background: linear-gradient(180deg, var(--red-wash), transparent 85%); }
.es-pitmap__box.is-active b { color: var(--red-bright); }
.es-pitmap__box.is-active .es-pitmap__car,
.es-pitmap__box.is-active .es-pitmap__car::before,
.es-pitmap__box.is-active .es-pitmap__car::after { border-color: var(--red); }
.es-pitmap__box.is-active .es-pitmap__info { background: var(--red); box-shadow: 0 0 10px var(--red-glow); }

.es-pitmap__lane {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 14px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 14px, transparent 14px 26px) center / 100% 1px no-repeat;
}
.es-pitmap__lane span,
.es-pitmap__lane svg { position: relative; padding-right: 10px; background: rgba(9,11,16,1); }
.es-pitmap__lane svg { width: 30px; height: 16px; padding: 0 0 0 10px; color: var(--red); }
.es-pitmap__wall { height: 4px; border-block: 1px solid var(--line-2); }
.es-pitmap__track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
}
.es-pitmap__drone { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.es-pitmap__drone .rc-cross { position: relative; }

.es-pit__tool .rc-panel__title { letter-spacing: .2em; }

@media (max-width: 960px) {
  .es-pit__visual { position: relative; top: auto; max-width: 620px; }
}
@media (max-width: 600px) {
  .es-pitmap__box b span { display: none; }
}


/* =========================================================================
   08  07 // JOIN
   ========================================================================= */
.es-join__small {
  font: 500 .74rem/1.5 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.es-join__btns .rc-btn { min-width: 168px; }
@media (max-width: 480px) {
  .es-join__btns { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .es-join__btns .rc-btn { width: 100%; }
}
