/* Home horizon hero carousel (from hero 2.1). Scoped to .page-home only. */

/* Header over hero posters (index home — nav markup unchanged) */
.page-home header.site.header--on-poster:not(.scrolled) .brand,
.page-home header.site.header--home:not(.scrolled) .brand {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.page-home header.site.header--on-poster.scrolled .brand,
.page-home header.site.header--home.scrolled .brand {
  color: #000;
  text-shadow: none;
}

.page-home header.site.header--home .brand {
  gap: 6px;
  font-size: clamp(17px, 1.55vw, 22px);
}

.page-home header.site.header--home .brand .mark,
.page-home header.site.header--home:not(.scrolled) .brand .mark {
  height: clamp(44px, 5.2vw, 54px);
}

.page-home header.site.header--home.scrolled .brand {
  font-size: clamp(16px, 1.1vw, 19px);
  gap: 6px;
}

.page-home header.site.header--home.scrolled .brand .mark {
  height: clamp(40px, 4vw, 46px);
}

.page-home header.site.header--on-poster:not(.scrolled) nav.main > ul > li > a {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.page-home header.site.header--on-poster:not(.scrolled) nav.main > ul > li > a:hover,
.page-home header.site.header--on-poster:not(.scrolled) nav.main > ul > li > a:focus-visible {
  color: #fff;
  font-weight: 500;
}

.page-home header.site.header--on-poster:not(.scrolled) nav.main > ul > li > a.active {
  color: #fff;
  font-weight: 500;
}

.page-home header.site.header--on-poster:not(.scrolled) nav.main > ul > li > a::before {
  background: rgba(255, 255, 255, 0.92);
}

.page-home header.site.header--on-poster .theme-toggle-btn,
.page-home header.site.header--on-poster .lang-toggle-btn {
  color: #000;
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.page-home header.site.header--on-poster .nav-actions .nav-cta:hover,
.page-home header.site.header--on-poster .nav-actions .theme-toggle-btn:hover,
.page-home header.site.header--on-poster .nav-actions .lang-toggle-btn:hover,
.page-home header.site.header--on-poster .nav-actions .nav-cta:focus-visible,
.page-home header.site.header--on-poster .nav-actions .theme-toggle-btn:focus-visible,
.page-home header.site.header--on-poster .nav-actions .lang-toggle-btn:focus-visible {
  background: var(--cyan-primary);
  color: var(--void) !important;
  border-color: transparent;
  box-shadow: 0 0 20px var(--ion-dim);
}

.page-home header.site.header--on-poster .burger span {
  background: #fff;
}

/* Shared base — concept 2.x carousel posters (header on poster, slide copy). */

.page-home .industrial-hero.hero-carousel {
  position: relative;
}

.page-home .industrial-hero.hero-carousel {
  isolation: isolate;
  background: #05080b;
  align-items: stretch;
  margin-top: -72px;
  min-height: calc(100vh + 72px);
}

/* Same hero carousel look in dark + light body theme (light palette as source of truth). */
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon {
  --text-main: #0f172a;
  --text-muted: #475569;
  --cyan-primary: #008f80;
  --blue-deep: #0044b3;
  --blue-navy: #0a5fb0;
  --carousel-cta-gap: 32px;
  --carousel-copy-height: clamp(28rem, 55vh, 38rem);
  background-color: #05080b;
  background-image: none;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-scroll {
  color: rgba(15, 23, 42, 0.38);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-scroll .line {
  background: linear-gradient(90deg, transparent, rgba(0, 143, 128, 0.45));
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index {
  --hi-nav-idle: color-mix(in srgb, #475569 92%, transparent);
  --hi-nav-track: color-mix(in srgb, #0a5fb0 14%, transparent);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon:not(.is-home-slide) .horizon-index {
  --hi-nav-idle: color-mix(in srgb, #f3f6f9 45%, transparent);
  --hi-nav-track: color-mix(in srgb, #f3f6f9 12%, transparent);
}

/* Soft top scrim: tint + blur fade out so nav stays readable on bright slides, with no hard edge. */
body.page-home header.site.header--on-poster::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 176px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 11, 0.72) 0%,
    rgba(5, 8, 11, 0.38) 30%,
    rgba(5, 8, 11, 0.1) 58%,
    transparent 100%
  );
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 32%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 32%, transparent 100%);
  opacity: 1;
  transition: opacity 0.45s ease;
}

body.page-home header.site.header--on-poster.scrolled::before {
  opacity: 0;
}

body.page-home header.site.header--on-poster > .wrap.nav-inner {
  position: relative;
  z-index: 1;
}

/* Over hero posters only at top of page — bar stays clear; the scrim carries contrast. */
.page-home header.site.header--on-poster:not(.scrolled) .nav-inner,
.page-home header.site.header--on-poster:not(.scrolled) > .wrap.nav-inner {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Light text only while the bar sits on the poster. Scrolled capsule keeps the previous look. */
body.page-home header.site.header--home.header--on-poster:not(.scrolled) nav.main > ul > li > a,
body.page-home header.site.header--home.header--on-poster:not(.scrolled) nav.main > ul > li > a:hover,
body.page-home header.site.header--home.header--on-poster:not(.scrolled) nav.main > ul > li > a:focus-visible,
body.page-home header.site.header--home.header--on-poster:not(.scrolled) nav.main > ul > li > a.active,
body.page-home header.site.header--home.header--on-poster:not(.scrolled) .brand {
  color: rgba(255, 255, 255, 0.94);
}

.page-home .industrial-hero.hero-carousel .hero-carousel-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-focus, 50% 42%);
}

.page-home .industrial-hero.hero-carousel .hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.32) 0%, rgba(5, 8, 11, 0.12) 20%, rgba(5, 8, 11, 0.03) 36%, transparent 46%),
    linear-gradient(180deg, rgba(5, 8, 11, 0.2) 0%, transparent 14%, transparent 55%, rgba(5, 8, 11, 0.32) 100%);
}

/* Optional charcoal left-band shade: add hero-carousel--shade-navy-test on the hero section */
.page-home .industrial-hero.hero-carousel.hero-carousel--shade-navy-test .hero-shade {
  background: linear-gradient(
    90deg,
    rgba(5, 8, 11, 0.72) 0%,
    rgba(5, 8, 11, 0.4) 22%,
    rgba(5, 8, 11, 0.07) 38%,
    transparent 48%
  );
}

.page-home .industrial-hero.hero-carousel .hero-carousel-copy {
  text-shadow: 0 2px 32px rgba(5, 8, 11, 0.45);
}

.page-home .industrial-hero.hero-carousel .hero-veil,
.page-home .industrial-hero.hero-carousel .hero-canvas-container,
.page-home .industrial-hero.hero-carousel .hero-legend {
  display: none;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: calc(100vh + 72px);
  padding: 152px 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Desktop: one viewport tall (no +72 underlap) — closer to 16:9 poster crop */
@media (min-width: 1024px) {
  .page-home .industrial-hero.hero-carousel {
    margin-top: 0;
    min-height: 100vh;
  }

  .page-home .industrial-hero.hero-carousel .hero-carousel-stage {
    min-height: 100vh;
  }
}

.page-home .industrial-hero.hero-carousel .hero-carousel-copy {
  max-width: min(640px, 54%);
}

/* Copy box sized to slide 01 — posters 02/03 anchor to the same frame */
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-copy {
  position: relative;
  width: 100%;
  max-width: min(820px, 94%);
  height: var(--carousel-copy-height);
  min-height: var(--carousel-copy-height);
  flex: 0 0 auto;
  text-shadow: none;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-panel {
  display: none;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-panel.is-active {
  display: block;
  animation: carouselCopyIn 0.65s ease;
}

@keyframes carouselCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .industrial-hero.hero-carousel .hero-carousel-panel.is-active {
    animation: none;
  }
}

.page-home .industrial-hero.hero-carousel .hero-carousel-kicker {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 246, 249, 0.72);
}

.page-home .industrial-hero.hero-carousel .hero-carousel-num {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--cyan-primary);
}

.page-home .industrial-hero.hero-carousel .hero-carousel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
}

/* Slide 03 — lighter poster title */
.page-home .industrial-hero.hero-carousel .hero-carousel-copy > .hero-carousel-panel:last-of-type .hero-carousel-title {
  margin-top: 0;
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-lead {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(243, 246, 249, 0.92);
}

.page-home .industrial-hero.hero-carousel .hero-carousel-route {
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 246, 249, 0.55);
}

/* Slide 03 route only */
.page-home .industrial-hero.hero-carousel .hero-carousel-copy > .hero-carousel-panel:last-of-type .hero-carousel-route {
  font-size: clamp(10px, 0.95vw, 13px);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-route__sep {
  margin: 0 0.35em;
  color: var(--cyan-primary);
}

.page-home .industrial-hero.hero-carousel .hero-carousel-cta {
  margin-top: var(--carousel-cta-gap, 32px);
}

.page-home .industrial-hero.hero-carousel .hero-carousel-cta .btn {
  min-width: 0;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-cta .btn-primary.industrial-btn {
  background: var(--blue-navy);
  background-image: none;
  border-color: var(--blue-navy);
  color: #fff;
  box-shadow: none;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-cta .btn-primary.industrial-btn:hover {
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  color: var(--black-void, #05080b);
  box-shadow: none;
}

/* Slide 03 — inverted CTA colors */
.page-home .industrial-hero.hero-carousel .hero-carousel-copy > .hero-carousel-panel:last-of-type .hero-carousel-cta .btn-primary.industrial-btn {
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  color: var(--black-void, #05080b);
}

.page-home .industrial-hero.hero-carousel .hero-carousel-copy > .hero-carousel-panel:last-of-type .hero-carousel-cta .btn-primary.industrial-btn:hover {
  background: var(--blue-navy);
  border-color: var(--blue-navy);
  color: #fff;
}

.page-home .industrial-hero.hero-carousel .hero-scroll {
  left: 36px;
  transform: none;
  bottom: 28px;
  z-index: 4;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-controls {
  position: absolute;
  z-index: 4;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-controls button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: inherit;
}

.page-home .industrial-hero.hero-carousel .hero-carousel-controls button:focus-visible {
  outline: 2px solid var(--cyan-primary);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .page-home .industrial-hero.hero-carousel .hero-carousel-copy {
    max-width: 100%;
  }

  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon {
    --carousel-copy-height: clamp(20rem, 48vh, 30rem);
  }

  .page-home .industrial-hero.hero-carousel .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 8, 11, 0.18) 0%, rgba(5, 8, 11, 0.08) 38%, rgba(5, 8, 11, 0.38) 100%);
  }

  .page-home .industrial-hero.hero-carousel.hero-carousel--shade-navy-test .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(5, 8, 11, 0.68) 0%,
      rgba(5, 8, 11, 0.32) 30%,
      rgba(5, 8, 11, 0.06) 48%,
      transparent 62%
    );
  }
}

/* 2.1 — Horizon index: horizon-line wipe + numeric index (bottom right). */

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel.is-active {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  animation: none;
}

/* Slide 01 — same copy + light-theme home hero typography (slides 02–03 unchanged). */
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon.is-home-slide .hero-shade {
  background: linear-gradient(
    90deg,
    rgba(240, 244, 248, 0.78) 0%,
    rgba(240, 244, 248, 0.55) 30%,
    rgba(240, 244, 248, 0.22) 52%,
    rgba(240, 244, 248, 0) 70%
  );
}

.page-home .industrial-hero.hero-carousel.hero-carousel--shade-navy-test.is-home-slide .hero-shade {
  background: linear-gradient(
    90deg,
    rgba(5, 8, 11, 0.72) 0%,
    rgba(5, 8, 11, 0.4) 22%,
    rgba(5, 8, 11, 0.07) 38%,
    transparent 48%
  );
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero {
  width: 100%;
  padding-bottom: 0;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-enterprise-panel {
  position: static;
  margin-top: 1.25rem;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-enterprise-eyebrow.premium-eyebrow {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 143, 128, 0.3) !important;
  color: var(--text-main) !important;
  box-shadow: 0 8px 25px rgba(0, 143, 128, 0.1) !important;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .thin-text {
  color: #475569;
  font-weight: 500;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-ammonia,
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .saf-line-top,
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-impact-bridge,
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-fuel {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  animation: none !important;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-ammonia {
  font-size: clamp(56px, 10vw, 112px);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-fuel {
  font-size: clamp(38px, 6.8vw, 84px);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-fuel-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  max-width: 100%;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-fuel-row .hero-mega-saf {
  margin-top: 0;
  flex-shrink: 0;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .saf-line-top {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: clamp(24px, 6.2vw, 96px);
  letter-spacing: -0.02em;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-impact-bridge {
  align-self: flex-start;
  width: 100%;
  text-align: left;
  font-size: clamp(18px, 2.8vw, 36px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.2;
  margin: 0.15em 0;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-mega-title {
  margin-bottom: 0;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub {
  position: static;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 6;
  margin: clamp(2.75rem, 6vh, 4.25rem) 0 0;
  padding: 16px 0 20px;
  width: 100%;
  max-width: min(100%, 36rem);
  text-align: left;
  align-self: flex-start;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.45vw, 18px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-transform: none;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub__accent {
  background: linear-gradient(180deg, var(--cyan-primary) 0%, var(--blue-deep) 100%);
  box-shadow: 0 0 20px color-mix(in srgb, var(--cyan-primary) 38%, transparent);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub__inner {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  padding-bottom: 14px;
  border-bottom: none;
  background: none;
  color: var(--text-main);
}

/* Soft cyan bloom from the accent — no box, reads on light poster */
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub__inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: 440px;
  height: 130%;
  transform: translateY(-50%);
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 100% at 0% 50%,
    color-mix(in srgb, var(--cyan-primary) 14%, transparent) 0%,
    color-mix(in srgb, var(--blue-deep) 6%, transparent) 38%,
    transparent 62%
  );
}

/* Gradient rule under copy */
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub__inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    var(--cyan-primary) 0%,
    color-mix(in srgb, var(--blue-deep) 90%, var(--cyan-primary)) 40%,
    color-mix(in srgb, var(--blue-deep) 45%, transparent) 68%,
    transparent 100%
  );
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub__phrase {
  color: var(--text-main);
  text-shadow: none;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub__sep {
  color: var(--cyan-primary);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-pillars {
  margin-top: clamp(2.25rem, 5.5vh, 3.75rem);
  padding-top: 0.35rem;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-pillars .gh-tag {
  color: #64748b;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-pillars .gh-tag:not(:last-child)::after {
  background: rgba(0, 143, 128, 0.5);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-pillars .gh-tag:hover {
  color: var(--cyan-primary);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .saf-badge {
  color: var(--cyan-primary) !important;
  background: color-mix(in srgb, var(--cyan-primary) 10%, transparent) !important;
  border-color: color-mix(in srgb, var(--cyan-primary) 30%, transparent) !important;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-enterprise-actions {
  position: static;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 6;
  margin: clamp(2.5rem, 6.5vh, 3.75rem) 0 0 !important;
  justify-content: flex-start;
  align-self: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-enterprise-actions .btn-primary.btn-large {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--cyan-primary) 100%);
  border: none;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 2px 6px rgba(15, 23, 42, 0.16) !important;
  transform: none;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-enterprise-actions .btn-primary.btn-large:hover {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--cyan-primary) 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 3px 8px rgba(15, 23, 42, 0.14) !important;
  transform: none;
  filter: brightness(1.04);
}


@media (max-width: 768px) {
  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub {
    margin-top: clamp(2rem, 5vh, 3.25rem) !important;
    padding: 14px 0 18px;
  }

  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-enterprise-actions {
    margin-top: 2.25rem !important;
  }

  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .hero-sub__inner {
    justify-content: flex-start;
  }

  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-panel--home-hero .saf-line-top {
    font-size: clamp(18px, 5vw, 44px);
    white-space: nowrap;
    text-align: left;
    align-self: flex-start;
  }
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-slide.is-entering {
  animation: carouselHorizonWipe 1.1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-slide.is-leaving {
  animation: carouselHorizonFade 1.1s ease forwards;
}

@keyframes carouselHorizonWipe {
  from {
    clip-path: inset(58% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes carouselHorizonFade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-slide.is-entering,
  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .hero-carousel-slide.is-leaving {
    animation: none;
  }
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index {
  position: absolute;
  right: 24px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  width: min(248px, 55vw);
  max-width: none;
}

/* Very light corner scrim so index labels stay readable on bright posters. */
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: -32px;
  bottom: -44px;
  width: calc(100% + 112px);
  height: calc(100% + 88px);
  background: radial-gradient(
    ellipse 100% 100% at 100% 100%,
    rgba(5, 8, 11, 0.4) 0%,
    rgba(5, 8, 11, 0.16) 46%,
    transparent 78%
  );
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 6px 0 0;
  border: none;
  transition: color 0.35s ease;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button:not(.is-active) {
  color: var(--hi-nav-idle);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button:not(.is-active) .hi-num,
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button:not(.is-active) .hi-label {
  color: inherit;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index .hi-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: baseline;
  width: 100%;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index .hi-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  transition: color 0.35s ease;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index .hi-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.15;
  transition: color 0.35s ease;
}

/* Active slide only: full button accent — 01 blue-navy, 02 cyan-primary, 03 blue-navy */
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button.is-active[data-goto='0'],
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button.is-active[data-goto='2'] {
  color: var(--blue-navy);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button.is-active[data-goto='1'] {
  color: var(--cyan-primary);
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button.is-active .hi-num,
.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button.is-active .hi-label {
  color: inherit;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index .hi-progress {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--hi-nav-track);
  overflow: hidden;
  border-radius: 1px;
}

.page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index .hi-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: currentColor;
}

@keyframes horizonProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index button.is-active .hi-progress span {
    animation: none;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index {
    right: 20px;
    bottom: 72px;
    width: min(220px, calc(100% - 40px));
  }

  .page-home .industrial-hero.hero-carousel.hero-carousel--horizon .horizon-index .hi-label {
    font-size: 13px;
  }
}
