body.shared-site-shell {
  --rail-width: 18rem;
  --landing-scroll-progress: 0;
  --home-gold: #e2b477;
  --home-cyan: #86d2ff;
  --home-mint: #7ad8c2;
  --landing-text: #eef4fa;
  --landing-muted: #97a7ba;
  box-sizing: border-box;
  min-height: 100vh;
  padding-left: var(--rail-width) !important;
  color: var(--landing-text);
  background: #02090f !important;
  isolation: isolate;
}

.shared-site-shell *,
.shared-site-shell *::before,
.shared-site-shell *::after {
  box-sizing: border-box;
}

.shared-site-shell .page-stage {
  margin-left: 0;
}

.shared-site-shell [data-shared-nav-hidden="true"] {
  display: none !important;
}

.shared-site-shell .events-calendar-logo {
  display: none;
}

.shared-site-shell > *:not(.home-site-atmosphere):not(.shared-side-rail) {
  position: relative;
  z-index: 1;
}

.shared-site-shell .page::before {
  background: radial-gradient(circle, rgba(190, 211, 228, 0.32) 0.65px, transparent 0.85px);
  background-position: 0 0;
  background-size: 84px 84px;
  opacity: 0.2;
  transform: none;
}

.shared-site-shell .page::after {
  background:
    linear-gradient(180deg, rgba(2, 9, 15, 0.12), rgba(2, 9, 15, 0.04) 38%, rgba(2, 9, 15, 0.48) 100%),
    radial-gradient(ellipse at 52% 38%, transparent 24%, rgba(2, 8, 14, 0.32) 100%);
  opacity: 1;
}

.shared-site-shell .home-site-atmosphere {
  position: fixed;
  inset: 0 0 0 var(--rail-width);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 9, 15, 0.28), rgba(3, 12, 20, 0.08) 42%, rgba(2, 9, 15, 0.44)),
    #02090f;
}

.shared-site-shell .home-atmosphere-mesh {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(102, 190, 238, 0.15), transparent 42%),
    radial-gradient(ellipse at 14% 76%, rgba(226, 180, 119, 0.11), transparent 39%),
    radial-gradient(ellipse at 72% 84%, rgba(122, 216, 194, 0.065), transparent 35%);
  opacity: 0.86;
  animation: shared-market-mesh-drift 26s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.shared-site-shell .home-atmosphere-mesh::before,
.shared-site-shell .home-atmosphere-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
}

.shared-site-shell .home-atmosphere-mesh::before {
  background: repeating-radial-gradient(
    ellipse at 78% 26%,
    rgba(134, 210, 255, 0.052) 0,
    rgba(134, 210, 255, 0.052) 1px,
    transparent 1px,
    transparent 5.5rem
  );
  mask-image: radial-gradient(ellipse at 78% 26%, #000 0%, rgba(0, 0, 0, 0.72) 48%, transparent 76%);
}

.shared-site-shell .home-atmosphere-mesh::after {
  background: linear-gradient(118deg, transparent 30%, rgba(226, 180, 119, 0.025) 44%, rgba(134, 210, 255, 0.04) 54%, transparent 70%);
}

.shared-site-shell .home-market-field {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  overflow: visible;
  opacity: 0.56;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.24), #000 30%, #000 94%, transparent);
  transform: translate3d(0, calc(var(--landing-scroll-progress) * -30px), 0) scale(1.03);
  transform-origin: center;
  will-change: transform;
}

.shared-site-shell .home-field-base path,
.shared-site-shell .home-field-flow path {
  fill: none;
  stroke: url("#home-field-line");
  vector-effect: non-scaling-stroke;
}

.shared-site-shell .home-field-base path {
  stroke-width: 0.85;
  opacity: 0.18;
}

.shared-site-shell .home-field-flow path {
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-dasharray: 4 96;
  opacity: 0.72;
  animation: shared-field-travel 20s linear infinite;
}

.shared-site-shell .home-field-flow path:nth-child(2) { animation-delay: -7s; animation-duration: 24s; }
.shared-site-shell .home-field-flow path:nth-child(3) { animation-delay: -13s; animation-duration: 27s; }
.shared-site-shell .home-field-flow path:nth-child(4) { animation-delay: -18s; animation-duration: 30s; }

.shared-site-shell .home-field-nodes circle {
  fill: var(--home-cyan);
  opacity: 0.54;
  filter: drop-shadow(0 0 5px rgba(134, 210, 255, 0.52));
}

.shared-site-shell .home-field-nodes circle:nth-child(2) {
  fill: var(--home-gold);
  filter: drop-shadow(0 0 5px rgba(226, 180, 119, 0.48));
}

.shared-site-shell .home-field-nodes circle:nth-child(3) {
  fill: var(--home-mint);
  filter: drop-shadow(0 0 5px rgba(122, 216, 194, 0.46));
}

.shared-site-shell .home-scroll-truck {
  position: absolute;
  left: -12vw;
  bottom: -3vh;
  width: min(64rem, 64vw);
  opacity: calc(0.16 + (var(--landing-scroll-progress) * 0.1));
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  transform: translate3d(calc(var(--landing-scroll-progress) * 34vw), calc(var(--landing-scroll-progress) * -8vh), 0)
    scale(calc(0.94 + (var(--landing-scroll-progress) * 0.06)));
  transform-origin: center bottom;
  will-change: opacity, transform;
}

.shared-site-shell .home-scroll-truck svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 16px rgba(88, 181, 232, 0.12));
}

.shared-site-shell .home-scroll-truck path,
.shared-site-shell .home-scroll-truck circle {
  vector-effect: non-scaling-stroke;
}

.shared-site-shell .home-truck-drafting,
.shared-site-shell .home-truck-road,
.shared-site-shell .home-truck-measurements,
.shared-site-shell .home-truck-detail,
.shared-site-shell .home-truck-accent,
.shared-site-shell .home-truck-window,
.shared-site-shell .home-truck-mirror,
.shared-site-shell .home-truck-chassis,
.shared-site-shell .home-truck-wheel {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shared-site-shell .home-truck-drafting {
  stroke: rgba(134, 210, 255, 0.58);
  stroke-width: 1.2;
  stroke-dasharray: 74 26;
}

.shared-site-shell .home-truck-drafting path { animation: shared-truck-airflow 3.8s linear infinite; }
.shared-site-shell .home-truck-drafting path:nth-child(2) { animation-delay: -1.25s; }
.shared-site-shell .home-truck-drafting path:nth-child(3) { animation-delay: -2.5s; }

.shared-site-shell .home-truck-road-line {
  fill: none;
  stroke: rgba(150, 178, 207, 0.28);
  stroke-width: 1;
}

.shared-site-shell .home-truck-road-dashes {
  fill: none;
  stroke: rgba(226, 180, 119, 0.58);
  stroke-width: 1.3;
  stroke-dasharray: 52 24;
  animation: shared-truck-road-run 2.8s linear infinite;
}

.shared-site-shell .home-truck-measurements {
  fill: rgba(122, 216, 194, 0.72);
  stroke: rgba(122, 216, 194, 0.42);
  stroke-width: 0.9;
}

.shared-site-shell .home-truck-vehicle {
  animation: shared-truck-idle 5s ease-in-out infinite;
  will-change: transform;
}

.shared-site-shell .home-truck-outline {
  fill: rgba(3, 13, 21, 0.72);
  stroke: rgba(134, 210, 255, 0.82);
  stroke-width: 1.65;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: shared-truck-sketch-in 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.shared-site-shell .home-truck-detail { stroke: rgba(164, 203, 230, 0.5); stroke-width: 1; }
.shared-site-shell .home-truck-accent { stroke: rgba(226, 180, 119, 0.82); stroke-width: 1.8; }
.shared-site-shell .home-truck-window { fill: rgba(134, 210, 255, 0.07); stroke: rgba(134, 210, 255, 0.64); stroke-width: 1.2; }
.shared-site-shell .home-truck-mirror { stroke: rgba(226, 180, 119, 0.58); stroke-width: 1.25; }
.shared-site-shell .home-truck-light { fill: var(--home-gold); filter: drop-shadow(0 0 7px rgba(226, 180, 119, 0.8)); }
.shared-site-shell .home-truck-chassis { stroke: rgba(134, 210, 255, 0.74); stroke-width: 2; }

.shared-site-shell .home-truck-wheel {
  stroke: rgba(182, 215, 236, 0.72);
  stroke-width: 1.25;
  transform: rotate(calc(var(--landing-scroll-progress) * 1080deg));
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.shared-site-shell .home-truck-wheel circle { fill: rgba(3, 12, 20, 0.88); }
.shared-site-shell .home-truck-wheel circle:nth-of-type(3) { fill: var(--home-gold); stroke: rgba(226, 180, 119, 0.8); }

.shared-site-shell .shared-side-rail,
.shared-site-shell .side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  width: var(--rail-width);
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.3rem;
  border: 0;
  border-right: 1px solid rgba(150, 178, 207, 0.18);
  background: rgba(3, 11, 18, 0.96);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.035), 18px 0 48px rgba(0, 5, 10, 0.22);
  backdrop-filter: blur(22px) saturate(1.08);
  font-family: "Manrope", sans-serif;
}

.shared-site-shell .side-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: none;
  box-shadow: inset 0 1px 0 rgba(226, 180, 119, 0.16);
  pointer-events: none;
}

.shared-site-shell .side-rail > * { position: relative; z-index: 1; }
.shared-site-shell .side-rail.is-scrolled { background: rgba(3, 11, 18, 0.96); border-right-color: rgba(226, 180, 119, 0.24); }

.shared-site-shell .rail-top {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.4rem;
}

.shared-site-shell .side-rail .logo {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.shared-site-shell .side-rail .logo img {
  display: block;
  width: 6.4rem;
  max-height: 6.4rem;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(226, 180, 119, 0.24));
}

.shared-site-shell .side-rail .menu-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
}

.shared-site-shell .side-rail .menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--landing-text);
}

.shared-site-shell .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shared-site-shell .rail-progress {
  position: absolute;
  top: 8.05rem;
  right: 0.7rem;
  bottom: 1.45rem;
  width: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(126, 155, 188, 0.14);
}

.shared-site-shell .rail-progress span {
  display: block;
  width: 100%;
  height: calc(var(--landing-scroll-progress) * 100%);
  background: var(--home-gold);
  box-shadow: 0 0 16px rgba(226, 180, 119, 0.42);
  transition: height 0.14s ease-out;
}

.shared-site-shell .rail-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
}

.shared-site-shell .side-rail .nav {
  display: grid;
  gap: 0.4rem;
  margin-block: auto;
  align-content: center;
}

.shared-site-shell .side-rail .nav a,
.shared-site-shell .side-rail .mobile-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.52rem;
  padding: 0.68rem 0.78rem;
  border-radius: 999px;
  color: var(--landing-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.shared-site-shell .side-rail .nav a::before,
.shared-site-shell .side-rail .mobile-nav a::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(126, 155, 188, 0.28);
}

.shared-site-shell .side-rail .nav a:hover,
.shared-site-shell .side-rail .nav a:focus-visible,
.shared-site-shell .side-rail .mobile-nav a:hover,
.shared-site-shell .side-rail .mobile-nav a:focus-visible {
  color: var(--landing-text);
  background: rgba(126, 155, 188, 0.08);
  transform: translateX(2px);
}

.shared-site-shell .side-rail .nav a.is-active,
.shared-site-shell .side-rail .mobile-nav a.is-active {
  color: var(--landing-text);
  background: rgba(226, 180, 119, 0.1);
  box-shadow: inset 0 0 0 1px rgba(226, 180, 119, 0.22);
}

.shared-site-shell .rail-actions {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(126, 155, 188, 0.12);
}

.shared-site-shell .side-rail .btn {
  display: inline-flex;
  width: min(100%, 13.75rem);
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Oxanium", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.shared-site-shell .side-rail .btn-primary {
  color: #081019;
  background: var(--home-gold);
  box-shadow: 0 16px 34px rgba(226, 180, 119, 0.18);
}

.shared-site-shell .side-rail .btn-outline {
  color: var(--landing-text);
  border-color: rgba(126, 155, 188, 0.24);
  background: rgba(7, 16, 26, 0.68);
}

.shared-site-shell .side-rail .mobile-nav { display: none; }

@media (max-width: 980px) {
  body.shared-site-shell {
    padding: 5.45rem 0 0 !important;
  }

  .shared-site-shell .home-site-atmosphere { inset: 0; }

  .shared-site-shell .home-field-secondary,
  .shared-site-shell .home-field-nodes circle:nth-child(n + 3) { display: none; }

  .shared-site-shell .home-scroll-truck {
    left: -34vw;
    bottom: 2vh;
    width: min(54rem, 112vw);
    opacity: calc(0.11 + (var(--landing-scroll-progress) * 0.08));
    transform: translate3d(calc(var(--landing-scroll-progress) * 48vw), calc(var(--landing-scroll-progress) * -5vh), 0)
      scale(calc(0.94 + (var(--landing-scroll-progress) * 0.05)));
  }

  .shared-site-shell .shared-side-rail,
  .shared-site-shell .side-rail {
    inset: 0 0 auto;
    width: 100%;
    padding: 0.6rem 1rem 0.7rem;
    border-right: 0;
    border-bottom: 1px solid rgba(150, 178, 207, 0.18);
    background: rgba(3, 11, 18, 0.94);
    box-shadow: 0 14px 34px rgba(0, 5, 10, 0.28);
  }

  .shared-site-shell .side-rail.is-scrolled {
    background: rgba(3, 11, 18, 0.94);
  }

  .shared-site-shell .side-rail::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 3;
    height: 2px;
    background: var(--home-gold);
    box-shadow: 0 0 14px rgba(226, 180, 119, 0.45);
    transform: scaleX(var(--landing-scroll-progress));
    transform-origin: left center;
  }

  .shared-site-shell .rail-top {
    justify-content: flex-start;
    min-height: 4.2rem;
  }

  .shared-site-shell .side-rail .logo { justify-content: flex-start; }
  .shared-site-shell .side-rail .logo img { width: 4.35rem; max-height: 4.35rem; }
  .shared-site-shell .rail-progress,
  .shared-site-shell .rail-body { display: none; }

  .shared-site-shell .side-rail .menu-toggle {
    display: block;
    min-width: 2.6rem;
    min-height: 2.4rem;
  }

  .shared-site-shell .side-rail .mobile-nav {
    display: none;
    gap: 0.55rem;
    padding: 1rem 0 0.4rem;
    border-top: 1px solid rgba(126, 155, 188, 0.1);
  }

  .shared-site-shell .side-rail .mobile-nav.is-open { display: grid; }
  .shared-site-shell .side-rail .mobile-nav a,
  .shared-site-shell .side-rail .mobile-nav .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .shared-site-shell .home-atmosphere-mesh,
  .shared-site-shell .home-field-flow path,
  .shared-site-shell .home-truck-drafting path,
  .shared-site-shell .home-truck-road-dashes,
  .shared-site-shell .home-truck-vehicle,
  .shared-site-shell .home-truck-outline { animation: none !important; }

  .shared-site-shell .home-truck-outline { stroke-dashoffset: 0; }
  .shared-site-shell .home-truck-wheel { transform: none; }
}

@keyframes shared-market-mesh-drift {
  from { opacity: 0.76; transform: translate3d(-1.2%, -0.8%, 0) scale(1); }
  to { opacity: 0.94; transform: translate3d(1.4%, 1%, 0) scale(1.035); }
}

@keyframes shared-field-travel { to { stroke-dashoffset: -100; } }
@keyframes shared-truck-airflow { to { stroke-dashoffset: -200; } }
@keyframes shared-truck-road-run { to { stroke-dashoffset: -152; } }
@keyframes shared-truck-sketch-in { to { stroke-dashoffset: 0; } }
@keyframes shared-truck-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.5px); }
}
