/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, transparent 30%, rgba(10, 15, 12, 0.65) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--gutter);
  padding-bottom: var(--space-3xl);
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.3vw, 3.96rem);
  font-weight: 400;
  font-style: normal;
  color: var(--text-primary);
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.hero__headline {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(2.4rem, 3.3vw, 3.96rem);
  color: var(--text-primary);
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.hero__subline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.08rem, 1.44vw, 1.44rem);
  color: var(--text-secondary);
  margin-top: 1.2em;
  letter-spacing: -0.01em;
}

/* ─── Rotator container ─────────────────────────────────────────── */
/*
  inline-grid: "focused on" 바로 옆 인라인으로 붙음.
  아이템들이 grid-area: 1/1로 겹쳐 쌓여 가장 넓은 텍스트 기준으로 너비 고정.
  overflow: hidden 이 위아래 슬라이드 클리핑.
*/
.hero__rotator {
  display: inline-grid;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--accent-green);
}

/* ─── Rotator items ─────────────────────────────────────────────── */
.hero__rotator-item {
  grid-area: 1 / 1;
  transform: translateY(105%);
  opacity: 0;
  transition:
    transform var(--duration-slow) var(--ease-in-out),
    opacity var(--duration-slow) var(--ease-in-out);
}

.hero__rotator-item.is-active {
  transform: translateY(0);
  opacity: 1;
}

.hero__rotator-item.is-exiting {
  transform: translateY(-105%);
  opacity: 0;
}
