.site-header.site-header--dark,
.hero--cinematic {
  --milan-hero-bg: #0d0f1a;
  background: var(--milan-hero-bg);
}

.hero--cinematic .slogan-scene {
  background: url('/brand/first-screen-field.webp') center / cover no-repeat;
}

.hero--cinematic .slogan-grid {
  opacity: 0.038;
}

@media (prefers-reduced-motion: no-preference) {
  .hero--cinematic .slogan-grid {
    animation: milan-grid-appear 650ms ease-out both;
  }
}

@keyframes milan-grid-appear {
  from { opacity: 0.012; }
  to { opacity: 0.038; }
}

.hero--cinematic .hero {
  min-height: min(39rem, calc(100svh - 9rem));
  align-content: space-between;
  gap: 2rem;
  padding-block: 3.5rem 1.5rem;
}

.hero--cinematic .hero-copy {
  max-width: 54rem;
}

.hero--cinematic .hero-copy h1.hero-offer {
  max-width: none;
  margin: 0 0 1.5rem;
  color: var(--color-inverse-text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero--cinematic .hero-offer::before {
  display: none;
}

.hero--cinematic .hero-copy .slogan {
  margin: 0 0 1.5rem;
  color: var(--color-inverse-text);
  font-size: 4.25rem;
  line-height: 1.21;
  letter-spacing: 0;
}

.hero--cinematic .slogan-line {
  display: block;
}

.hero--cinematic .hero-support {
  max-width: 35em;
  margin-bottom: 1.5rem;
  line-height: 1.65;
  text-wrap: balance;
}

.hero--cinematic .hero-index {
  margin-top: 0;
  gap: 0.5rem 1rem;
}

.hero--cinematic .hero-index a {
  min-height: 44px;
  font-size: 0.9rem;
}

@media (min-width: 1050px) {
  .hero--cinematic .hero-index {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.workflow-proof {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.workflow-proof h3 {
  margin-bottom: 1rem;
}

.workflow-proof ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
}

.workflow-proof li {
  position: relative;
  padding: 0.65rem 1.15rem 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
  line-height: 1.5;
}

.workflow-proof li:not(:last-child)::after {
  position: absolute;
  inset-inline-end: 0.25rem;
  inset-block-start: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-block-start: 1px solid var(--color-accent);
  border-inline-end: 1px solid var(--color-accent);
  content: '';
  transform: rotate(45deg);
}

.proof-figure {
  margin: 0;
}

.proof-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.proof-figure figcaption {
  margin-top: 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.proof-media.case-visual {
  padding-block: 0 3.25rem;
}

.proof-media--support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.42fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.case-detail .case-stage-lead,
.case-detail .content-list li {
  line-height: 1.68;
}

::selection {
  background: #5b45c5;
  color: #fff;
}

:is(.button, .row-link):focus-visible {
  outline-offset: 4px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-actions .button,
  .proof-media .button {
    transition: translate 160ms ease, background-color 160ms ease, border-color 160ms ease;
  }

  :is(.hero-actions, .proof-media) .button:hover {
    translate: 0 -2px;
  }

  :is(.hero-actions, .proof-media) .button:active {
    translate: 0 1px;
  }
}

@media (max-width: 760px) {
  .hero--cinematic .hero {
    min-height: 0;
    gap: 0;
    padding-block: 2rem 1.125rem;
  }

  .hero--cinematic .hero-copy h1.hero-offer {
    margin-bottom: 0.875rem;
    font-size: 1rem;
  }

  .hero--cinematic .hero-copy .slogan {
    margin-bottom: 1rem;
    font-size: 2.625rem;
  }

  .hero--cinematic .hero-copy .slogan--en {
    font-size: 1.65rem;
  }

  .hero--cinematic .hero-support {
    margin-bottom: 1rem;
  }

  .hero--cinematic .hero-index {
    display: none;
  }

  .workflow-proof ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .workflow-proof li:not(:last-child)::after {
    transform: rotate(135deg);
  }

  .proof-media--support {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-media.case-visual {
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 360px) {
  .hero--cinematic .hero-copy .slogan--en {
    font-size: 1.4rem;
  }
}
