body {
  background: var(--off);
}

site-header,
site-footer {
  display: block;
}

.footer a[aria-current="page"] {
  color: #deb16e;
}

.supply-chain-hero {
  position: relative;
  min-height: clamp(440px, 32vw, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(125px, 9vw, 165px) 0 clamp(50px, 4vw, 80px);
  background: url("../assets/Global assets/companyherobanner.png") center / 100% 100% no-repeat;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .supply-chain-hero {
    min-height: clamp(380px, 28vw, 440px);
    padding-top: clamp(140px, 10.5vw, 175px);
    padding-bottom: clamp(55px, 4.5vw, 75px);
    background-size: 100% 100%;
    background-position: center center;
  }
}

.supply-chain-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.supply-chain-hero .eyebrow {
  margin-bottom: clamp(20px, 2vw, 32px);
  color: #d48700;
}

.supply-chain-hero h1 {
  max-width: 1400px;
  margin: 0 auto clamp(28px, 3vw, 44px);
  line-height: 1.03;
  text-wrap: balance;
}

.supply-chain-hero-inner > p:last-child {
  max-width: 1050px;
  margin: 0 auto;
  line-height: 1.5;
}

.physical-journey,
.coordinated-steps {
  background: #fff;
}

.physical-journey-heading {
  margin-bottom: clamp(55px, 6vw, 95px);
}

.physical-journey-heading h2 {
  text-wrap: balance;
}

.physical-journey-heading .lead {
  max-width: 1450px;
}

.journey-carousel {
  --journey-gap: clamp(58px, 6vw, 100px);
  position: relative;
  left: 50%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: clamp(12px, 1.5vw, 24px);
  align-items: center;
  width: min(96vw, 1940px);
  transform: translateX(-50%);
}

.journey-viewport {
  overflow: hidden;
  padding: 2px;
  touch-action: pan-y;
}

.journey-viewport:focus-visible {
  outline: 3px solid rgba(213, 154, 37, 0.7);
  outline-offset: 5px;
  border-radius: 26px;
}

.journey-track {
  display: flex;
  gap: var(--journey-gap);
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.journey-card {
  position: relative;
  flex: 0 0 100%;
  overflow: visible;
  border-radius: clamp(20px, 1.7vw, 30px);
  background: var(--navy);
}

.journey-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: calc(var(--journey-gap) * -0.72);
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(44px, 3.5vw, 58px);
  height: clamp(44px, 3.5vw, 58px);
  border: 1px solid #d5d5d5;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.45rem;
  transform: translateY(-50%);
}

.journey-card img {
  width: 100%;
  aspect-ratio: 1.24;
  border-radius: clamp(20px, 1.7vw, 30px) clamp(20px, 1.7vw, 30px) 0 0;
  object-fit: cover;
}

.journey-card h3 {
  min-height: clamp(58px, 4.5vw, 78px);
  display: grid;
  place-items: center;
  margin: 0;
  padding: 12px 16px;
  border-radius: 0 0 clamp(20px, 1.7vw, 30px) clamp(20px, 1.7vw, 30px);
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  font-weight: 500;
}

.physical-journey-note {
  margin: clamp(48px, 5vw, 78px) 0 0;
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: clamp(18px, 2vw, 28px);
  background: linear-gradient(135deg, #fff0d9 0%, #fffbf2 100%);
  color: #1a1a1a;
  text-align: center;
  font-size: clamp(1.02rem, 1.25vw, 1.36rem);
  font-weight: 300;
  line-height: 1.45;
}

.coordinated-steps-heading {
  margin-bottom: clamp(55px, 6vw, 95px);
}

.coordinated-steps-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: clamp(20px, 1.5vw, 30px);
}

.supply-step-card {
  position: relative;
  width: 100%;
  min-height: 470px;
  aspect-ratio: 0.77 / 1;
  overflow: hidden;
  padding: clamp(42px, 4vw, 68px) clamp(28px, 3vw, 50px);
  border-radius: clamp(22px, 2vw, 32px);
  background: linear-gradient(135deg, #fff0d4 0%, #fffbf2 100%);
}

.supply-step-card img {
  position: relative;
  z-index: 1;
  width: clamp(120px, 8vw, 140px);
  aspect-ratio: 1;
  margin-bottom: clamp(30px, 2.5vw, 40px);
  border-radius: 50%;
  object-fit: cover;
}

.supply-step-number {
  position: absolute;
  top: clamp(20px, 2.2vw, 36px);
  right: clamp(20px, 2.5vw, 40px);
  font-size: clamp(5.5rem, 8.5vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, rgba(230, 181, 96, 0.95) 0%, rgba(225, 172, 82, 0.5) 30%, rgba(225, 172, 82, 0.1) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
}

.supply-step-card h3 {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin-bottom: clamp(10px, 1.2vw, 14px);
  font-size: clamp(1.55rem, 1.75vw, 2rem);
  font-weight: 500;
}

.supply-step-card p {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0;
  font-size: clamp(1.05rem, 1.15vw, 1.28rem);
  font-weight: 300;
  line-height: 1.42;
}

.coordinated-steps-note {
  max-width: 1500px;
  margin: clamp(55px, 6vw, 90px) auto 0;
  color: #6c6c6c;
  text-align: center;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  font-weight: 300;
  line-height: 1.5;
}

.supply-chain-cta .cta-panel h2 {
  line-height: 1.02;
  text-wrap: balance;
}

.supply-chain-cta .cta-panel > p:not(.eyebrow) {
  max-width: 900px;
}

.supply-chain-cta .cta-panel .button {
  min-width: min(100%, 350px);
}

@media (min-width: 600px) {
  .journey-card {
    flex-basis: calc((100% - var(--journey-gap)) / 2);
  }

  .coordinated-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .journey-card {
    flex-basis: calc((100% - (var(--journey-gap) * 3)) / 4);
  }

  .coordinated-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .supply-step-card:nth-last-child(2) {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .supply-chain-hero {
    min-height: 690px;
    padding-top: 145px;
    background-position: center;
  }

  .supply-chain-hero h1 {
    line-height: 0.98;
  }

  .supply-chain-hero h1 br {
    display: none;
  }

  .journey-carousel {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 8px;
  }

  .journey-carousel .carousel-control {
    width: 46px;
    height: 46px;
  }

  .coordinated-steps-carousel-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .coordinated-steps-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding-block: 8px 24px !important;
    padding-inline: 4px !important;
    scrollbar-width: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .coordinated-steps-grid::-webkit-scrollbar {
    display: none !important;
  }

  .supply-step-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: center !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 32px 24px !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
  }

  .supply-step-card img {
    width: 76px !important;
    margin-bottom: 20px !important;
  }

  .supply-step-number {
    font-size: 4.8rem !important;
    top: 14px !important;
    right: 18px !important;
  }

  .coordinated-steps-prev,
  .coordinated-steps-next {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 2;
  }
}

@media (min-width: 768px) {
  .coordinated-steps-carousel-wrapper {
    display: contents;
  }

  .coordinated-steps-prev,
  .coordinated-steps-next {
    display: none !important;
  }
}

@media (max-width: 599px) {
  .supply-chain-cta .button-row {
    flex-direction: column;
  }

  .supply-chain-cta .button {
    width: 100%;
  }
}
