html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

.hero-corporate {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  background: var(--canvas);
}

.hero-corporate .hero-layout {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: calc(100svh - 82px);
  margin: 0;
}

.hero-corporate .hero-copy {
  position: relative;
  z-index: 4;
  width: min(1680px, calc(100% - 96px));
  min-width: 0;
  margin: 0 auto;
  padding: clamp(76px, 10vh, 130px) 0 clamp(190px, 20vh, 250px);
}

.hero-corporate .hero-copy > * {
  max-width: min(720px, 62vw);
}

.hero-corporate .hero-copy .eyebrow,
.hero-corporate .hero-copy h1,
.hero-corporate .hero-copy p,
.hero-corporate .hero-copy .text-link {
  text-shadow: 0 2px 3px var(--shadow), 0 7px 24px var(--shadow);
}

.hero-corporate .hero-copy h1 {
  margin-top: 18px;
  color: var(--text);
}

.hero-corporate .hero-copy p {
  color: var(--text);
  font-weight: 500;
}

.hero-corporate .hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-art.has-hero-slides::before,
.hero-art.has-hero-slides::after {
  display: none !important;
}

.hero-background-slider,
.hero-background-slider figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-background-slider figure {
  margin: 0;
  opacity: 0;
  transform: none;
  transition: opacity .9s ease;
  pointer-events: none;
}

.hero-background-slider figure.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero-background-slider img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-art .hero-label,
.hero-art.has-hero-slides .hero-label {
  position: absolute;
  z-index: 5;
  right: clamp(32px, 5vw, 96px);
  bottom: clamp(28px, 5vh, 68px);
  display: grid;
  width: min(360px, calc(100% - 64px));
  padding: 20px 22px;
  border: 1px solid var(--border);
  background: var(--canvas);
  color: var(--text);
  text-align: right;
  text-shadow: 0 2px 4px var(--shadow), 0 8px 22px var(--shadow);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 48px var(--shadow);
}

.hero-label small {
  color: var(--link);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.hero-label b {
  margin: 3px 0 7px;
  font-size: 48px;
  line-height: 1;
}

.hero-label strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 16px;
  line-height: 1.22;
}

.hero-label span {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12px;
  line-height: 1.42;
}

.solutions > .wrap {
  width: calc(100% - clamp(40px, 6vw, 112px));
  max-width: 1760px;
}

.solutions .section-top,
.solutions .solution-grid,
.solutions .solution-card {
  min-width: 0;
}

.solutions .solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solutions .solution-card-media {
  aspect-ratio: 16 / 9;
}

.solutions .solution-card-copy {
  min-height: 205px;
  padding: clamp(22px, 2.1vw, 34px);
}

.solutions .solution-card h3 {
  font-size: clamp(22px, 1.55vw, 29px);
}

.solutions .solution-card p {
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .hero-corporate .hero-copy > * { max-width: 70vw; }
  .solutions .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-corporate,
  .hero-corporate .hero-layout { min-height: max(720px, calc(100svh - 76px)); }
  .hero-corporate .hero-copy {
    align-self: flex-start;
    width: calc(100% - 36px);
    padding: 68px 0 235px;
  }
  .hero-corporate .hero-copy > * { max-width: 100%; }
  .hero-corporate .hero-copy h1 {
    font-size: clamp(39px, 12vw, 54px);
    letter-spacing: -2px;
  }
  .hero-corporate .hero-copy p { font-size: 16px; }
  .hero-art .hero-label,
  .hero-art.has-hero-slides .hero-label {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    padding: 16px 18px;
  }
  .hero-label b { font-size: 38px; }
  .solutions > .wrap { width: calc(100% - 32px); }
  .solutions .solution-grid { grid-template-columns: 1fr; }
  .solutions .solution-card-copy { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-slider figure { transition: none; }
}
