/* Scroll scenes share their original grid; only the hero has a new composition. */
.home-service-wrap { color: var(--_color---content--main); }
.home-service { height: auto; }
.home-service-new-truck-rot { top: 40.624rem; }

/* A viewport-sized globe instead of a giant foreground sphere. */
.home-hero-globe {
  left: 52%; right: auto; top: 50%; width: min(62.5vw, 100svh);
  height: auto; aspect-ratio: 1; transform: translateY(-48%); z-index: 1;
}
.hero-grid::before { z-index: 1; }
.globe-shadow { opacity: .6; }
.globe-shadow.orange { background: radial-gradient(closest-side, #f453002b, #f4530000 72%); }
.globe-shadow.blue { background: radial-gradient(closest-side, #0016cb38, #0016cb00 72%); }
.globe-label-text { color: #f45300; }
.home-hero-canvas { touch-action: pan-y; }

/* Growing hover cursor and short trails, in the requested electric blue. */
.cursor { mix-blend-mode: difference; }
.cursor-main { transition: width .35s, height .35s, background-color .35s, opacity .2s; }
.cursor.is-hovering { mix-blend-mode: normal; }
.cursor.is-hovering .cursor-main { width: 100px; height: 100px; background: #0016cb; opacity: .27 !important; }
.cursor.is-hovering .cursor-outline, .cursor.is-hidden .cursor-main, .cursor.is-hidden .cursor-outline { opacity: 0 !important; }
.cursor-trail { position: fixed; left: 0; top: 0; width: 100px; height: 100px; border-radius: 50%; pointer-events: none; background: #0016cb; filter: blur(2.5px); }

@media (max-width: 1100px) {
  .home-hero-globe { left: 48%; right: auto; width: min(80vw, 900px); }
}
@media (max-width: 600px) {
  .home-hero-globe { left: auto; right: -100px; top: 105px; width: 470px; height: 470px; transform: none; opacity: .8; }
  .home-hero-globe .globe-label { display: none; }
}
/* The port rescales source rem values by .625; preserve that same ratio at
   the original tablet and phone breakpoints, including the mobile machinery. */
@media (min-width: 768px) and (max-width: 991px) {
  html { font-size: 1.61453077696vw; }
}
@media (max-width: 767px) {
  html { font-size: 4.07124681936vw; }
  .home-intro { padding: 6rem 1.5rem 8rem; }
  .home-service-mb-first-screen, .home-service-mb-sq-stick-wrap { grid-area: 1 / 1 / 2 / -1; }
  .home-service-mb-second-screen { grid-area: 2 / 1 / 3 / -1; }
  .home-service-mb-empty-block.second-screen { grid-area: 3 / 1 / 4 / -1; }
  .home-service-mb-truck-wrap { grid-area: 1 / 2 / 4 / -2; }
  .home-service-mb-cont-item.white { grid-area: 1 / 2 / 2 / 3; }
  .home-service-mb-cont-item.orange { grid-area: 2 / 1 / 3 / 2; }
  .home-service-mb-cont-item.blue { grid-area: 2 / 2 / 3 / 3; }
  .home-service-mb-label { clip-path: inset(calc(100% + min(6.25rem, 14svh)) 0% 0% 0%); }
  .home-service-mb-truck.truck-body { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-main { transition: none; }
  .cursor-trail { display: none; }
}
