/* ==========================================================================
   Home page: hero, key-numbers band, about image.
   ========================================================================== */

/* ---- Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Darkens the artwork behind the copy so text always clears 4.5:1. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.88) 0%, rgb(0 0 0 / 0.62) 55%, rgb(0 0 0 / 0.2) 100%);
}

.hero__inner {
  display: grid;
  gap: var(--space-24);
  align-content: center;
  min-height: 32rem;
  padding-block: var(--space-64);
}

@media (min-width: 48rem) {
  .hero__inner { min-height: 40rem; }
}

.hero__title {
  max-width: 20ch;
  font-size: clamp(var(--text-heading), 1.25rem + 4.5vw, var(--text-display));
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 40rem;
  color: var(--text-soft);
  font-size: var(--text-lead);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-8);
}

/* ---- Key numbers --------------------------------------------------------------------- */

.stats {
  background: var(--color-surface-tint);
  border-bottom: 1px solid var(--color-border);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  margin: 0;
  padding-block: var(--space-32);
}

@media (min-width: 64rem) {
  .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* The label comes first in the DOM (dt then dd, so screen readers hear "label: value"); visually the number leads. */
.stats__item {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-8);
}

.stats__value {
  margin: 0;
  color: var(--color-brand-strong);
  font-size: var(--text-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stats__label {
  color: var(--color-text-soft);
  font-size: var(--text-small);
}

/* ---- About image ------------------------------------------------------------------- */

.split__image {
  width: 100%;
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-card);
}
