
/* Layout measured against alva-logistics.com at 390, 768, 1440 and 1920 px.
   Keep the approved artwork, three-option controls, silver map and motion.
   The original uses two shrinking 100% flex columns, not equal grid tracks.
   Different copy padding therefore produces different odd/even image widths. */
html body main :is(section#capabilities[id], section#audiences[id]) .section-inner {
  width: min(100%, 1220px) !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
  padding: 100px 0 120px !important;
}

/* Contact section: exact responsive geometry and visual treatment from the
   “Start with the opportunity” reference on alva-group.global. */
html body main section#contact[id] {
  position: relative !important;
  color: #141118 !important;
  background: linear-gradient(135deg, #fff 0%, #fbf7ff 48%, #ead8ff 100%) !important;
  box-shadow:
    0 -42px 110px -40px rgba(41, 0, 89, .125),
    0 -20px 76px -30px rgba(202, 155, 255, .24),
    0 42px 110px -40px rgba(41, 0, 89, .125),
    0 20px 76px -30px rgba(202, 155, 255, .24) !important;
  font-family: Alexandria, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 28px !important;
  letter-spacing: -.08px !important;
  text-transform: lowercase !important;
}

html body main section#contact[id] > .section-inner {
  width: calc(100% - 90px) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 96px 0 !important;
}

html body main section#contact[id] .contact[class] {
  width: 100% !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}

html body main section#contact[id] .contact[class] > h2.two-tone-heading {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: #141118 !important;
  font-family: Alexandria, sans-serif !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 56px !important;
  letter-spacing: -1.44px !important;
  text-transform: lowercase !important;
}

html body main section#contact[id] .contact[class] > h2.two-tone-heading span {
  color: #141118 !important;
  background: none !important;
  -webkit-text-fill-color: #141118 !important;
  text-transform: lowercase !important;
}

html body main section#contact[id] .contact[class] > h2.two-tone-heading em {
  color: transparent !important;
  background: linear-gradient(90deg, #a45af9, #5400b4) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-style: normal !important;
  font-weight: 600 !important;
  text-transform: lowercase !important;
}

html body main section#contact[id] .contact[class] > .lead {
  width: 100% !important;
  max-width: 680px !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  color: #4d4658 !important;
  font-family: Alexandria, sans-serif !important;
  font-size: 21px !important;
  font-weight: 300 !important;
  line-height: 31.5px !important;
  letter-spacing: -.08px !important;
  text-transform: lowercase !important;
}

html body main section#contact[id] .contact[class] form.dialogue-brief {
  display: block !important;
  width: 100% !important;
  margin: 44px 0 0 !important;
  padding: 44px !important;
  color: #141118 !important;
  background: rgba(255, 255, 255, .86) !important;
  border: 1px solid #ead8ff !important;
  border-radius: 0 !important;
  box-shadow: 0 34px 90px rgba(41, 0, 89, .12) !important;
}

html body main section#contact[id] .contact[class] .form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body main section#contact[id] .contact[class] .form-group-wide {
  grid-column: 1 / -1 !important;
}

html body main section#contact[id] .contact[class] .followup-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body main section#contact[id] .contact[class] .form-group {
  margin: 0 !important;
  padding: 0 !important;
}

html body main section#contact[id] .contact[class] :is(input, textarea) {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 15px 16px !important;
  color: #141118 !important;
  background: #fff !important;
  border: 1px solid #d8d4de !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: Alexandria, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 28px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

html body main section#contact[id] .contact[class] input {
  height: 60px !important;
  min-height: 58px !important;
}

html body main section#contact[id] .contact[class] textarea {
  height: 144px !important;
  min-height: 118px !important;
  resize: vertical !important;
}

html body main section#contact[id] .contact[class] :is(input, textarea)::placeholder {
  color: #757575 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

html body main section#contact[id] .contact[class] .form-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  height: 91px !important;
  margin: 30px 0 0 !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid #ded9e5 !important;
}

html body main #contact[id] .form-footer .button {
  display: grid !important;
  place-items: center !important;
  width: 260px !important;
  max-width: none !important;
  min-width: 260px !important;
  height: 66px !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 0 28px !important;
  color: #fff !important;
  background: linear-gradient(120deg, rgba(95,5,189,.9), rgba(203,113,255,.72), rgba(84,0,180,.92)) !important;
  background-size: 220% 100% !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  border-radius: 0 !important;
  box-shadow: 0 14px 34px rgba(84,0,180,.24), inset 0 2px 2px rgba(255,255,255,.75) !important;
  font-family: Alexandria, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  letter-spacing: .15px !important;
  text-transform: lowercase !important;
}

@media (max-width: 767px) {
  html body main section#contact[id] {
    line-height: 26px !important;
    box-shadow:
      0 -18px 46px -18px rgba(41,0,89,.12),
      0 -8px 28px -12px rgba(202,155,255,.22),
      0 18px 46px -18px rgba(41,0,89,.12),
      0 8px 28px -12px rgba(202,155,255,.22) !important;
  }

  html body main section#contact[id] > .section-inner {
    width: calc(100% - 40px) !important;
    padding: 60px 0 !important;
  }

  html body main section#contact[id] .contact[class] > h2.two-tone-heading {
    margin: 0 !important;
    font-size: 28px !important;
    line-height: 34px !important;
    letter-spacing: -.84px !important;
  }

  html body main section#contact[id] .contact[class] > .lead {
    margin-top: 10px !important;
    font-size: 16px !important;
    line-height: 24px !important;
  }

  html body main section#contact[id] .contact[class] form.dialogue-brief {
    margin-top: 30px !important;
    padding: 22px 16px 30px !important;
  }

  html body main section#contact[id] .contact[class] .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  html body main section#contact[id] .contact[class] .followup-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  html body main section#contact[id] .contact[class] :is(input, textarea) {
    padding: 15px 16px !important;
    font-size: 16px !important;
    line-height: 26px !important;
  }

  html body main section#contact[id] .contact[class] input {
    height: 58px !important;
    min-height: 58px !important;
  }

  html body main section#contact[id] .contact[class] textarea {
    height: 136px !important;
    min-height: 118px !important;
  }

  html body main section#contact[id] .contact[class] .form-footer {
    justify-content: center !important;
    height: 66px !important;
    margin-top: 30px !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  html body main #contact[id] .form-footer .button {
    width: 280px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 66px !important;
    min-height: 66px !important;
    padding-inline: 24px !important;
  }
}
html body main :is(section#capabilities[id], section#audiences[id]) .capabilities-scroll-scene,
html body main :is(section#capabilities[id], section#audiences[id]) .capabilities-stage,
html body main :is(section#capabilities[id], section#audiences[id]) .capabilities-layout {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main :is(section#capabilities[id], section#audiences[id]) .capabilities-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main section#capabilities[id] .content-head[class] {
  width: auto !important;
  margin: 0 15px 20px !important;
  padding: 0 !important;
  gap: 20px !important;
}
/* The lead's original widget has a 26px line box around 24px type. */
html body main section#capabilities[id] .content-head[class] .lead { min-height: 26px; }
html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel[class] {
  --art-height-ratio: .8789916;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main section#capabilities[id] .capability-panel:first-child {
  --art-height-ratio: .8554622;
  padding-top: 60px !important;
}
html body main section#capabilities[id] .capability-panel:nth-child(4) { --art-height-ratio: .8554622; }
html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel[class] .capability-panel-copy {
  order: 0 !important;
  flex: 0 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 100px 0 80px !important;
  gap: 16px !important;
}
html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel:nth-child(even) .capability-panel-copy {
  order: 1 !important;
  padding: 0 100px 0 50px !important;
}
html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel-copy > :is(h3,p) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel[class] .capability-panel-media {
  order: 1 !important;
  flex: 0 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 15px !important;
}
html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel:nth-child(even) .capability-panel-media { order: 0 !important; }
/* Fit the square composition into the reference image's height; the source
   image, masks, corners and truck overlay all keep one undistorted canvas. */
html body main :is(section#capabilities[id], section#audiences[id]) .capability-collage[class] {
  flex: none !important;
  width: calc(100% * var(--art-height-ratio)) !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  margin: 0 !important;
}
html body main :is(section#capabilities[id], section#audiences[id]) .capability-variant-switcher {
  bottom: -18px;
}
/* Original desktop hero: 260px to title, 5px to lead, 35px to CTA. */
html body main section#hero[id] {
  display: block !important;
  height: auto !important;
  min-height: 745px !important;
  padding: 0 !important;
}
html body main section#hero[id] > .section-inner {
  display: block !important;
  width: min(100%, 1220px) !important;
  max-width: 1220px !important;
  height: auto !important;
  min-height: 745px !important;
  margin-inline: auto !important;
  padding: 100px 15px 101px !important;
}
html body main section#hero[id] .hero-approved-layout {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 160px 0 150px !important;
}
html body main section#hero[id] .hero-approved-copy {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main #hero[id] .hero-approved-copy[class][class] h1.two-tone-heading {
  margin: 0 !important;
  width: 100% !important;
}
html body main #hero[id] .hero-approved-copy .lead {
  width: 100% !important;
  max-width: none !important;
  margin: 5px 0 35px !important;
}
html body main #hero[id] .hero-approved-copy .actions {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  justify-content: center !important;
}
html body main #hero[id] .actions .button {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 34px !important;
  border: 0 !important;
  font-size: 18px !important;
  line-height: 38px !important;
}
html body main #hero[id] .hero-approved-copy .brand-statement-hero { bottom: 55px !important; }
/* Keep the header over the opening hero, scrolling with the document. */
html body header.site-header {
  position: absolute !important;
  top: 0;
  right: 0;
  left: 0;
}
html body .site-header .header-inner {
  width: min(100%, 1220px) !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
  padding: 45px 10px 0 !important;
}
html body .site-header .header-top { min-height: 58px !important; padding: 0 !important; }
/* Transport cards use a fixed 200px rail, 28px inset and 48px grid gap. */
html body main section#fit[id] > .section-inner {
  width: min(100%, 1220px) !important;
  padding: 80px 0 !important;
}
html body main section#fit[id] .content-head { margin: 0 15px 70px !important; }
html body main section#fit[id] .cards.four {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: 48px !important;
}
html body main section#fit[id] .cards.four .card {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr !important;
  column-gap: 28px !important;
  row-gap: 0 !important;
  min-height: 256px !important;
  padding: 28px !important;
}
html body main section#fit[id] .cards.four .fit-icon-rail {
  width: 44px !important;
  height: auto !important;
  min-height: 200px !important;
  align-self: stretch !important;
}
html body main section#fit[id] .cards.four .card h3 {
  margin: 0 0 20px !important;
  padding: 0 0 20px !important;
}
html body main section#confidence[id] > .section-inner {
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  min-height: 0 !important;
  padding: 160px 0 !important;
  margin-inline: auto !important;
}
html body main section#confidence[id] .content-head { margin: 0 !important; padding: 0 !important; }
/* Retain the approved shorter form, with the original field width and rhythm. */
html body main section#contact[id] > .section-inner {
  width: min(calc(100% - 30px), 908px) !important;
  max-width: 908px !important;
  margin-inline: auto !important;
  padding: 170px 0 150px !important;
}
html body main section#contact[id] .contact[class] { width: 100% !important; max-width: none !important; margin: 0 !important; }
html body main section#contact[id] .contact[class] form {
  width: 100% !important;
  margin: 0 !important;
  padding: 44px 68px !important;
  border-width: 1px !important;
  border-radius: 0 !important;
}
html body main section#contact[id] .contact[class] :is(.form-grid,.followup-grid) {
  display: grid !important;
  gap: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main section#contact[id] .contact[class] .form-grid { grid-template-columns: minmax(0, 1fr) !important; }
html body main section#contact[id] .contact[class] .followup-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
html body main section#contact[id] .contact[class] .form-group { margin: 0 !important; padding: 0 !important; gap: 0 !important; }
html body main section#contact[id] .contact[class] :is(input,textarea) {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 12px !important;
  font-size: 18px !important;
  line-height: 30px !important;
  border-radius: 0 !important;
}
html body main section#contact[id] .contact[class] textarea { height: 146px !important; min-height: 146px !important; }
html body main section#contact[id] .contact[class] .form-footer {
  display: flex !important;
  justify-content: center !important;
  margin: 48px 0 0 !important;
  padding: 0 !important;
}
html body main #contact[id] .form-footer .button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 8px 26px !important;
  font-size: 18px !important;
  line-height: 38px !important;
}
html body footer#footer[id] { min-height: 0 !important; }
html body footer#footer[id] .footer-inner {
  width: min(100%,1220px) !important;
  max-width: 1220px !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  padding: 100px 15px !important;
}
html body footer#footer[id] .footer-reference-layout { min-height: 0 !important; }
html body footer#footer[id] .footer-reference-layout .footer-slogan { margin-top: 48px !important; }
html body footer#footer[id] .footer-reference-bottom { margin-top: 48px !important; gap: 30px !important; }
/* The reference's tablet typography remains desktop-sized down to 768px. */
@media (min-width: 768px) {
  html body main #hero[id] .hero-approved-copy[class][class] h1.two-tone-heading,
  html body main #hero[id] .hero-approved-copy[class][class] h1.two-tone-heading * { font-size: 76px !important; line-height: 92px !important; }
  html body main #hero[id] .hero-approved-copy .lead { font-size: 24px !important; line-height: 38px !important; }
  html body main #hero[id] .hero-approved-copy .brand-statement-hero,
  html body main #hero[id] .hero-approved-copy .brand-statement-hero *,
  html body footer#footer[id] .footer-reference-layout .footer-slogan { font-size: 24px !important; line-height: 24px !important; letter-spacing: 5.376px !important; }
  html body main section#capabilities[id] .content-head[class] h2.two-tone-heading { font-size: 44px !important; line-height: 50px !important; }
  html body main section#capabilities[id] .content-head[class] .lead { font-size: 24px !important; line-height: 24px !important; }
  html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel-copy[class][class] h3 { font-size: 28px !important; line-height: 38px !important; }
  html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel-copy p { font-size: 18px !important; line-height: 30px !important; }
  html body main section#fit[id] .content-head[class] h2.two-tone-heading { font-size: 44px !important; line-height: 44px !important; }
  html body main section#fit[id] .content-head[class] .lead { font-size: 18px !important; line-height: 30px !important; }
  html body main section#fit[id] .cards.four .card[class] h3 { font-size: 27px !important; line-height: 34px !important; }
  html body main section#fit[id] .card[class] p { font-size: 16px !important; line-height: 28px !important; }
  html body main section#confidence[id] .content-head[class] h2.two-tone-heading { font-size: 32px !important; line-height: 46px !important; }
  html body footer#footer[id] .footer-reference-bottom { font-size: 18px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  html body main section#contact[id] > .section-inner { max-width: 738px !important; }
  html body .site-header .header-inner { padding: 20px !important; }
}
@media (max-width: 767px) {
  html body main :is(section#capabilities[id], section#audiences[id]) .section-inner {
    width: 100% !important;
    padding: 60px 20px !important;
  }
  html body main section#audiences[id] .section-inner { padding-top: 80px !important; padding-bottom: 50px !important; }
  html body main section#capabilities[id] .content-head[class] { margin: 0 0 20px !important; gap: 16px !important; }
  html body main section#capabilities[id] .content-head[class] .lead { min-height: 18px; }
  html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel[class] {
    flex-direction: column !important;
    gap: 20px !important;
  }
  html body main section#capabilities[id] .capability-panel:first-child { padding: 30px 0 !important; }
  html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel[class] .capability-panel-copy {
    order: 0 !important;
    flex: none !important;
    padding: 0 !important;
  }
  html body main :is(section#capabilities[id], section#audiences[id]) .capability-panel[class] .capability-panel-media {
    order: 1 !important;
    flex: none !important;
    padding: 0 !important;
  }
  html body main section#capabilities[id] .capability-panel:first-child .capability-panel-media { padding-inline: 15px !important; }
  /* New option controls need their own space above the next mobile heading. */
  html body main :is(section#capabilities[id], section#audiences[id]) .capability-variant-switcher {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    margin: 8px auto 0 !important;
  }
  html body main section#hero[id] { min-height: 100svh !important; }
  html body main section#hero[id] > .section-inner {
    display: flex !important;
    align-items: stretch !important;
    height: 100svh !important;
    min-height: 600px !important;
    padding: 100px 15px 172px !important;
  }
  html body main section#hero[id] .hero-approved-layout {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
  }
  html body main #hero[id] .actions .button { font-size: 16px !important; padding: 8px 28px !important; }
  html body main #hero[id] .hero-approved-copy .brand-statement-hero {
    width: calc(100% - 30px) !important;
    max-width: none !important;
    bottom: 50px !important;
  }
  html body .site-header .header-inner { width: 100% !important; padding: 20px !important; }
  html body .site-header .header-top { min-height: 46.4px !important; }
  html body main section#fit[id] > .section-inner { width: calc(100% - 40px) !important; padding: 40px 0 !important; }
  html body main section#fit[id] .content-head { margin: 0 0 50px !important; }
  html body main section#fit[id] .cards.four { grid-template-columns: minmax(0,1fr) !important; gap: 28px !important; }
  html body main section#fit[id] .cards.four .card:nth-child(3) { margin-top: -8px !important; }
  html body main section#confidence[id] > .section-inner { width: calc(100% - 40px) !important; padding: 80px 0 !important; }
  html body main section#contact[id] > .section-inner { width: calc(100% - 40px) !important; padding: 100px 0 80px !important; }
  html body main section#contact[id] .contact[class] form { padding: 45px 29px !important; }
  html body main section#contact[id] .contact[class] .followup-grid { grid-template-columns: minmax(0,1fr) !important; }
  html body main section#contact[id] .contact[class] :is(input,textarea) {
    min-height: 47px !important;
    height: 47px !important;
    font-size: 14px !important;
    line-height: 21px !important;
  }
  html body main section#contact[id] .contact[class] textarea { height: 110px !important; min-height: 110px !important; }
  html body main #contact[id] .form-footer .button { font-size: 16px !important; }
  html body footer#footer[id] .footer-inner { width: 100% !important; padding: 60px 15px 45px !important; }
  html body footer#footer[id] .footer-logo-reference { width: 119px !important; height: auto !important; }
  html body footer#footer[id] .footer-brand-lockup { width: 119px !important; height: auto !important; min-height: 0 !important; }
  html body footer#footer[id] .footer-reference-layout .footer-slogan { font-size: 16px !important; line-height: 16px !important; }
  html body footer#footer[id] .footer-reference-bottom { flex-direction: column !important; gap: 6px !important; }
}

/* Match the reference logo and slogan widget boxes, including their line-box air. */
html body footer#footer[id] .footer-reference-layout .footer-brand-lockup[class] { display: block !important; line-height: 0 !important; }
html body footer#footer[id] .footer-reference-layout .footer-slogan { min-height: 36px !important; }
@media (min-width: 768px) {
  html body footer#footer[id] .footer-reference-layout .footer-logo-reference[class] { width: 170px !important; height: 58px !important; }
  html body footer#footer[id] .footer-reference-layout .footer-brand-lockup[class] { width: 170px !important; height: 58px !important; }
}
@media (max-width: 767px) {
  html body footer#footer[id] .footer-reference-layout .footer-logo-reference[class] { width: 119px !important; height: 40.6px !important; }
  html body footer#footer[id] .footer-reference-layout .footer-brand-lockup[class] { width: 119px !important; height: 40.6px !important; }
  html body footer#footer[id] .footer-reference-layout .footer-slogan { min-height: 24px !important; }
}

/* Markets follow the same heading / smaller lead hierarchy as capabilities. */
html body main section#global-map[id] .global-map-canvas > .global-map-heading[class] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(100%, 1220px);
  margin-inline: auto;
  padding-inline: 15px;
}
html body main section#global-map[id] .global-map-heading[class] :is(h2.global-map-kicker, p.global-map-lead) {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  font-family: Alexandria, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-align: center;
  text-transform: none !important;
  color: #5400b4 !important;
  background: var(--alva-text-purple-heading) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  white-space: normal;
}
html body main section#global-map[id] .global-map-heading[class] h2.global-map-kicker {
  font-size: 44px !important;
  line-height: 50px !important;
}
html body main section#global-map[id] .global-map-heading[class] p.global-map-lead {
  font-size: 24px !important;
  line-height: 24px !important;
  background-image: var(--alva-text-purple-lead) !important;
  min-height: 26px;
}
@media (max-width: 767px) {
  html body main section#global-map[id] .global-map-canvas > .global-map-heading[class] {
    gap: 16px;
    padding-inline: 20px;
  }
  html body main section#global-map[id] .global-map-heading[class] h2.global-map-kicker {
    font-size: 26px !important;
    line-height: 30px !important;
  }
  html body main section#global-map[id] .global-map-heading[class] p.global-map-lead {
    font-size: 16px !important;
    line-height: 1.4 !important;
    min-height: 0;
  }
}

html body main section#global-map[id] .global-map-heading[class] :is(h2.global-map-kicker, p.global-map-lead) {
  text-wrap: balance;
}
/* Wrapped phone copy needs extra headroom; keep the restored map's own
   dimensions and scale, moving its complete canvas down by the same amount. */
@media (max-width: 480px) {
  html body main section#global-map[id] .global-map-canvas {
    height: calc(82vw + 40px) !important;
    background: #f8f7fb !important;
  }
  html body main section#global-map[id] .global-map-canvas > .global-map-media {
    top: 60px !important;
    height: calc(100% - 60px) !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40px);
    mask-image: linear-gradient(to bottom, transparent, #000 40px);
  }
}

/* Mobile section headings and transport presentation verified against the
   live alva-logistics.com phone layout, including its 600px glow breakpoint. */
@media (max-width: 767px) {
  html body main :is(section#capabilities[id], section#fit[id]) .content-head[class] {
    align-items: flex-start !important;
    text-align: left !important;
  }
  html body main section#capabilities[id] .content-head[class] h2.two-tone-heading,
  html body main section#capabilities[id] .content-head[class] h2.two-tone-heading *,
  html body main section#capabilities[id] .content-head[class] .lead,
  html body main section#fit[id] .content-head[class] h2.two-tone-heading,
  html body main section#fit[id] .content-head[class] h2.two-tone-heading *,
  html body main section#fit[id] .content-head[class] .lead {
    text-align: left !important;
  }
  html body main section#fit[id] .cards.four .fit-icon-symbol {
    width: 20px !important;
    height: 20px !important;
  }
  html body main section#fit[id] .cards.four .fit-icon-rail {
    background: linear-gradient(180deg, #a45af9 0%, #5400b4 100%) !important;
  }
  /* Preserve the measured card widths, text wrapping and rail dimensions;
     restore the original glow scale instead of shrinking it with the viewport. */
  html body main section#fit[id]::before,
  html body main section#fit[id]::after {
    background: radial-gradient(51.24% 51.24% at 50% 50%, rgba(41,0,89,.5) 0%, rgba(164,90,249,.5) 0%, rgba(164,90,249,.5) 46.88%, rgba(164,90,249,0) 100%) !important;
    filter: blur(50px) !important;
    z-index: 0;
    right: auto !important;
  }
  html body main section#fit[id]::before {
    width: 875px !important;
    height: 875px !important;
    top: 50% !important;
    bottom: auto !important;
    left: 67% !important;
    border-radius: 0;
    transform: translateY(-50%) !important;
  }
  html body main section#fit[id]::after {
    width: 771px !important;
    height: 771px !important;
    top: auto !important;
    bottom: -25% !important;
    left: -17% !important;
    border-radius: 771px;
    transform: none !important;
  }
}
@media (max-width: 600px) {
  html body main section#fit[id]::before {
    top: -25% !important;
    left: 43% !important;
    transform: none !important;
  }
  html body main section#fit[id]::after {
    left: -144% !important;
    bottom: -19% !important;
  }
}

/* Enlarge the phone map without stretching its geography or changing the
   section and heading boxes. Anchor the artwork near its empty upper third. */
@media (max-width: 767px) {
  html body main section#global-map[id] .global-map-canvas > .global-map-media > img {
    position: absolute;
    top: 32.5%;
    left: -24%;
    width: 148%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateY(-30%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 88%, transparent);
  }
}

/* Use more of the horizontal canvas for the map itself while keeping the
   heading in its reserved layer above the artwork. */
@media (min-width: 821px) {
  html body main section#global-map[id] .global-map-canvas > .global-map-media {
    overflow: hidden;
    height: 68vw;
  }

  html body main section#global-map[id] .global-map-canvas > .global-map-media > img {
    width: 136% !important;
    max-width: none !important;
    height: auto !important;
    margin-left: -21% !important;
  }
}

@media (min-width: 768px) and (max-width: 820px) {
  html body main section#global-map[id] .global-map-canvas > .global-map-media > img {
    position: absolute;
    right: auto;
    bottom: 0;
    left: -17%;
    width: 134% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }
}

/* Final contact parity layer. Kept last because this stylesheet also contains
   older logistics-specific contact sizing above. */
html body main section#contact[id] {
  position: relative !important;
  color: #141118 !important;
  background: linear-gradient(135deg, #fff 0%, #fbf7ff 48%, #ead8ff 100%) !important;
  box-shadow: 0 -42px 110px -40px rgba(41,0,89,.125), 0 -20px 76px -30px rgba(202,155,255,.24), 0 42px 110px -40px rgba(41,0,89,.125), 0 20px 76px -30px rgba(202,155,255,.24) !important;
  font: 400 16px/28px Alexandria, sans-serif !important;
  letter-spacing: -.08px !important;
  text-transform: lowercase !important;
}
html body main section#contact[id] > .section-inner {
  width: calc(100% - 90px) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 96px 0 !important;
}
html body main section#contact[id] .contact[class] {
  width: 100% !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}
html body main section#contact[id] .contact[class] > h2.two-tone-heading {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: #141118 !important;
  font: 600 48px/56px Alexandria, sans-serif !important;
  letter-spacing: -1.44px !important;
  text-transform: lowercase !important;
}
html body main section#contact[id] .contact[class] > h2.two-tone-heading span {
  color: #141118 !important;
  background: none !important;
  -webkit-text-fill-color: #141118 !important;
}
html body main section#contact[id] .contact[class] > h2.two-tone-heading em {
  color: transparent !important;
  background: linear-gradient(90deg, #a45af9, #5400b4) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-style: normal !important;
  font-weight: 600 !important;
}
html body main section#contact[id] .contact[class] > .lead {
  width: 100% !important;
  max-width: 680px !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  color: #4d4658 !important;
  font: 300 21px/31.5px Alexandria, sans-serif !important;
  letter-spacing: -.08px !important;
  text-transform: lowercase !important;
}
html body main section#contact[id] .contact[class] form.dialogue-brief {
  display: block !important;
  width: 100% !important;
  margin: 44px 0 0 !important;
  padding: 44px !important;
  color: #141118 !important;
  background: rgba(255,255,255,.86) !important;
  border: 1px solid #ead8ff !important;
  border-radius: 0 !important;
  box-shadow: 0 34px 90px rgba(41,0,89,.12) !important;
}
html body main section#contact[id] .contact[class] .form-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 22px 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main section#contact[id] .contact[class] .form-group-wide { grid-column: 1/-1 !important; }
html body main section#contact[id] .contact[class] .followup-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main section#contact[id] .contact[class] .form-group { margin: 0 !important; padding: 0 !important; }
html body main section#contact[id] .contact[class] :is(input,textarea) {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 15px 16px !important;
  color: #141118 !important;
  background: #fff !important;
  border: 1px solid #d8d4de !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 400 16px/28px Alexandria, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
html body main section#contact[id] .contact[class] input { height: 60px !important; min-height: 58px !important; }
html body main section#contact[id] .contact[class] textarea { height: 144px !important; min-height: 118px !important; resize: vertical !important; }
html body main section#contact[id] .contact[class] textarea { display: inline-block !important; }
html body main section#contact[id] .contact[class] :is(input,textarea)::placeholder { color: #757575 !important; opacity: 1 !important; font-weight: 400 !important; }
html body main section#contact[id] .contact[class] .form-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  height: 91px !important;
  margin: 30px 0 0 !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid #ded9e5 !important;
}
html body main #contact[id] .form-footer .button {
  display: grid !important;
  place-items: center !important;
  width: 260px !important;
  max-width: none !important;
  min-width: 260px !important;
  height: 66px !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 0 28px !important;
  color: #fff !important;
  background: linear-gradient(120deg,rgba(95,5,189,.9),rgba(203,113,255,.72),rgba(84,0,180,.92)) !important;
  background-size: 220% 100% !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  border-radius: 0 !important;
  box-shadow: 0 14px 34px rgba(84,0,180,.24), inset 0 2px 2px rgba(255,255,255,.75) !important;
  font: 600 15px/normal Alexandria, sans-serif !important;
  letter-spacing: .15px !important;
  text-transform: lowercase !important;
}
@media (max-width: 767px) {
  html body main section#contact[id] {
    line-height: 26px !important;
    box-shadow: 0 -18px 46px -18px rgba(41,0,89,.12), 0 -8px 28px -12px rgba(202,155,255,.22), 0 18px 46px -18px rgba(41,0,89,.12), 0 8px 28px -12px rgba(202,155,255,.22) !important;
  }
  html body main section#contact[id] > .section-inner { width: calc(100% - 40px) !important; padding: 60px 0 !important; }
  html body main section#contact[id] .contact[class] > h2.two-tone-heading { margin: 0 !important; font-size: 28px !important; line-height: 34px !important; letter-spacing: -.84px !important; }
  html body main section#contact[id] .contact[class] > .lead { margin-top: 10px !important; font-size: 16px !important; line-height: 24px !important; }
  html body main section#contact[id] .contact[class] form.dialogue-brief { margin-top: 30px !important; padding: 22px 16px 30px !important; }
  html body main section#contact[id] .contact[class] .form-grid { grid-template-columns: minmax(0,1fr) !important; gap: 18px !important; }
  html body main section#contact[id] .contact[class] .followup-grid { grid-template-columns: minmax(0,1fr) !important; gap: 14px !important; }
  html body main section#contact[id] .contact[class] :is(input,textarea) { padding: 15px 16px !important; font-size: 16px !important; line-height: 26px !important; }
  html body main section#contact[id] .contact[class] input { height: 58px !important; min-height: 58px !important; }
  html body main section#contact[id] .contact[class] textarea { height: 136px !important; min-height: 118px !important; }
  html body main section#contact[id] .contact[class] .form-footer { justify-content: center !important; height: 66px !important; margin-top: 30px !important; padding: 0 !important; border-top: 0 !important; }
  html body main #contact[id] .form-footer .button { width: 280px !important; max-width: 100% !important; min-width: 0 !important; height: 66px !important; min-height: 66px !important; padding-inline: 24px !important; }
}

/* With the contact heading removed, the form is the first element and should
   not keep the old heading-to-form gap. This makes its top and bottom section
   spacing visually equal at every breakpoint. */
html body main section#contact[id] .contact[class] > form.dialogue-brief:first-child {
  margin-top: 0 !important;
}

/* Keep the markets statement as one semantic and visual line. */
html body main section#global-map[id] .global-map-heading[class] h2.global-map-kicker {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

html body main section#global-map[id] .global-map-heading[class] h2.global-map-kicker > span {
  display: inline !important;
  width: auto !important;
  white-space: inherit !important;
}

@media (max-width: 767px) {
  html body main section#global-map[id] .global-map-heading[class] h2.global-map-kicker {
    font-size: clamp(18px, 5.6vw, 26px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-wrap: initial !important;
  }

  html body main section#global-map[id] .global-map-heading[class] h2.global-map-kicker > span.markets-multiple {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
  }
}

/* Confidence brand: final solid-white override above the shared heading skin. */
html body main section#confidence[id] .content-head[class] h2.two-tone-heading span.confidence-brand {
  color: #fff !important;
  background: none !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important;
}
