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

/* Background video */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Bottom fade into bg */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
  z-index: 1;
}

/* 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;
}

/* ─── Availability badge ────────────────────────────────────────── */
.hero__avail {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: var(--space-xl);
  padding: 0.45em 0;
}

.hero__avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px 2px rgba(111, 174, 124, 0.55);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(111, 174, 124, 0.55); }
  50%       { box-shadow: 0 0 10px 4px rgba(111, 174, 124, 0.85); }
}

.hero__avail-label {
  font-family: 'D2Coding', monospace;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--accent-green);
}

.hero__avail-sep {
  color: var(--text-tertiary);
  font-size: 1rem;
}

.hero__avail-text {
  font-family: 'D2Coding', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ─── 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;
}
