/* Persistent identity and opening statement */
.site-header {
  --wordmark-opacity: 1;
  position: fixed;
  z-index: 9999;
  inset: 0 0 auto;
  height: 100px;
  pointer-events: none;
}
.wordmark {
  position: absolute;
  top: 28px;
  left: 50%;
  display: block;
  width: 112px;
  pointer-events: auto;
  transform: translateX(-50%);
}
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: var(--wordmark-opacity);
  transition: opacity 0.25s ease;
}
.page-progress {
  position: fixed;
  top: 50%;
  right: 18px;
  display: grid;
  gap: 4px;
  transform: translateY(-50%);
}
.page-progress span {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: var(--border);
  transition:
    height 0.25s ease,
    background-color 0.25s ease;
}
.page-progress span.is-active {
  height: 13px;
  background: var(--brand);
}
.hero {
  --hero-stack-gap: clamp(38px, 3vw, 48px);
  min-height: 100svh;
  padding: calc(100px + var(--hero-stack-gap)) var(--page-gutter)
    clamp(100px, 12vh, 150px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--ice);
}
.hero-card {
  width: min(27vw, 350px);
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--card-radius);
}
.hero-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.97);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-card:hover img {
  transform: scale(1.018);
}
.hero h1 {
  max-width: 820px;
  margin-top: var(--hero-stack-gap);
  text-align: center;
  font-size: var(--display-size);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 430;
}
.hero h1 span {
  display: block;
}
.hero > .pill {
  margin-top: var(--hero-stack-gap);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Restrained entrance motion */
.js .wordmark {
  animation: wordmark-arrival 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.js .hero-card {
  animation: hero-card-arrival 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.js .hero h1 {
  animation: hero-copy-arrival 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
.js .hero > .pill {
  animation: hero-button-arrival 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.js .reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}
.js .reveal.is-visible,
.js.motion-complete .reveal {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

@keyframes wordmark-arrival {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate(-50%, -7px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0);
  }
}
@keyframes hero-card-arrival {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(18px) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}
@keyframes hero-copy-arrival {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
@keyframes hero-button-arrival {
  0% {
    opacity: 0;
    filter: blur(7px);
    translate: 0 14px;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }
}
