/* Page: default/home — theme 2026 */

.home-main {
  position: relative;
  z-index: 1;
}

/* Hero */
.home-hero {
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: center;
  padding-top: clamp(2rem, 8vh, 5rem);
  padding-bottom: clamp(4rem, 12vh, 7rem);
  background: transparent;
}

.home-hero__title {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.home-hero .eyebrow {
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-muted);
}

.home-hero .headline {
  display: block;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 12ch;
}

.home-hero .accent,
em.accent {
  font-family: var(--home-accent-font);
  font-style: italic;
  font-weight: 500;
  color: var(--c-cyan);
}

.home-hero .tagline {
  max-width: 38rem;
  color: var(--page-muted);
  margin-bottom: var(--hero-lead-gap);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .home-hero .headline {
      animation: headline-reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .home-hero .tagline,
    .home-hero__actions {
      animation: fade-up 600ms ease both;
      animation-delay: 180ms;
    }

    .home-hero__actions {
      animation-delay: 280ms;
    }
  }
}

@keyframes headline-reveal {
  from {
    transform: translateY(18px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    transform: none;
    clip-path: inset(0);
  }
}

@keyframes fade-up {
  from {
    transform: translateY(16px);
    opacity: 0.35;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* Manifesto */
.home-manifesto__title {
  max-width: 14ch;
}

.home-manifesto__lead {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.home-manifesto__columns {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 760px) {
  .home-manifesto__columns {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Services */
.home-services__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.home-services__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--page-accent) 18%, transparent);
}

.home-services__number {
  font-weight: 650;
  color: var(--page-accent);
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.home-services__body p {
  margin-bottom: 0.75rem;
}

.home-services__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--page-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .arrow {
    transition: transform 180ms ease;
  }

  .home-services__link:hover {
    border-bottom-color: var(--page-accent);
  }

  .home-services__link:hover .arrow {
    transform: translateX(4px);
  }
}

.home-automation__examples {
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
  color: var(--page-muted);
  display: grid;
  gap: 0.65rem;
}

.home-process__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.home-process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.home-process__number {
  font-weight: 650;
  color: var(--page-accent);
  opacity: 0.55;
}

.home-process__progress {
  height: 2px;
  margin-top: 2rem;
  background: color-mix(in srgb, var(--page-accent) 14%, transparent);
  position: relative;
  overflow: hidden;
}

.home-process__progress::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--c-aurora);
  transform-origin: left center;
  transform: scaleX(0.2);
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .home-process__progress::after {
      animation: fill-progress linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
  }
}

@keyframes fill-progress {
  from { transform: scaleX(0.08); }
  to { transform: scaleX(1); }
}

.home-why__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.home-why__list li {
  padding-left: 1.1rem;
  border-left: 2px solid color-mix(in srgb, var(--c-aurora) 70%, var(--c-indigo));
  color: var(--page-muted);
}

/* Closing: reserve space above the heading for the XXI constellation. */
.home-closing {
  text-align: center;
  padding-block: clamp(5rem, 12vw, 8rem);
  display: grid;
  gap: 0;
}

.home-closing__stage {
  /* Scroll room for the XXI explode → dawn; no shape drawn here. */
  min-height: clamp(8rem, 22vh, 14rem);
  pointer-events: none;
}

.home-why {
  padding-block: clamp(5rem, 12vw, 8.5rem);
}

.home-closing p {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

