/* Phone-only refinements. This stylesheet is restricted to widths up to 720px
   by its link's media attribute; the approved desktop styles stay unchanged. */

/* A content-led composition can grow with text and short browser viewports.
   The minimum preserves breathing room without the former 670px floor. */
.hero {
  --phone-gutter: clamp(16px, 5vw, 24px);
  height: auto;
  min-height: 0;
  min-height: min(88svh, 640px);
  max-height: none;
  flex-direction: column;
  align-items: stretch;
  padding-block: 16px 28px;
}

.hero > .site-header {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  width: calc(100% - var(--phone-gutter) - var(--phone-gutter));
  min-height: 44px;
}

.hero .main-nav {
  width: auto;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(8px, 2.5vw, 16px);
}

.hero > .hero-content {
  flex: 1 0 auto;
  justify-content: center;
  gap: 0;
  padding: 64px 0 48px;
  padding-block: clamp(56px, 9svh, 80px) clamp(48px, 8svh, 64px);
}

/* Keep the existing depth effect within the reserved space above the cue. */
.motion-ready .hero > .hero-content {
  transform: translate3d(0, clamp(0px, var(--hero-depth, 0px), 24px), 0)
    scale(var(--hero-scale, 1));
}

/* Use the hero's existing 94vw width. This keeps the original right-offset
   script inside the screen while enlarging the centred LOGISTICOLD word. */
.hero .brand-heading {
  width: 100%;
  margin: 0 0 16px;
}

.hero .hero-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.hero-content > .regions {
  margin: 12px 0 0;
  max-width: calc(100% - 32px);
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.4;
  gap: 10px;
}

.hero-content > .regions svg {
  width: 9px;
  height: 9px;
}

.hero .hero-cta {
  margin-top: 24px;
  min-height: 48px;
  padding: 10px 20px;
  gap: 12px;
  font-size: 12px;
}

.hero .hero-cta svg {
  width: 20px;
  height: 18px;
}

/* Quiet, compact navigation remains readable without reducing the tap area. */
.hero .main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-block: 12px;
  font-size: clamp(9px, 2.5vw, 10px);
  line-height: 1.4;
  letter-spacing: .4px;
  white-space: normal;
  text-align: center;
}

/* A per-link indicator stays attached to its label if enlarged text wraps. */
.hero .main-nav.has-glider .nav-glider {
  display: none;
}

.hero .main-nav.has-glider a::after {
  opacity: 1;
}

/* Keep the cue in the layout so larger text cannot collide with it. */
.hero > .scroll-cue {
  position: relative;
  inset: auto;
  align-self: flex-end;
  flex: 0 0 auto;
  margin: 0 var(--phone-gutter) 0 0;
  min-height: 44px;
  padding: 8px 0 0;
  gap: 8px;
  letter-spacing: 1.6px;
}

.hero > .scroll-cue svg {
  width: 18px;
  height: 22px;
}

/* Centre the identity group in the page; the existing optical image offset
   still aligns the main word with the locations beneath it. */
.site-footer .footer-identity {
  margin-inline: auto;
  text-align: center;
}

.site-footer .footer-identity .regions {
  flex-wrap: wrap;
}
