/* ── Desktop default (1920x1080) ── */
.section.hero {
  min-height: 100vh;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

@keyframes heroCurtain {
  to { clip-path: inset(0 0 0 0); }
}

.hero__video--desktop { display: block; }
.hero__video--mobile  { display: none; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8,11,22,.4) 0%,
    rgba(8,11,22,.6) 50%,
    rgba(8,11,22,.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  margin-bottom: 10vh;
}

.hero__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 4rem;
  letter-spacing: -0.03em;
  color: var(--on-surface);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp .7s cubic-bezier(.22, 1, .36, 1) .3s forwards;
}

.hero__it {
  background: linear-gradient(135deg, var(--tertiary), var(--primary-container));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__content .section__divider {
  animation-delay: .6s;
}

.hero__tagline {
  font-family: 'Space Mono', monospace;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp .7s cubic-bezier(.22, 1, .36, 1) .9s forwards;
}

.hero__highlight {
  background: linear-gradient(135deg, var(--tertiary), var(--primary-container));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Laptop ≤ 1366px ── */
@media (max-width: 1366px) {
  .section.hero { padding: 0; }
  .hero__title { font-size: 3.5rem; }
  .hero__tagline { font-size: 1rem; }
}

/* ── Tablet ≤ 768px ── */
@media (max-width: 768px) {
  .section.hero { padding: 0; }
  .hero__title { font-size: 3rem; }
  .hero__tagline { font-size: 0.875rem; }
}

/* ── Mobile ≤ 480px ── */
@media (max-width: 480px) {
  .section.hero { padding: 0; }
  .hero__title { font-size: 2.25rem; }
  .hero__content { margin-bottom: 6vh; }
  .hero__video--desktop { display: none; }
  .hero__video--mobile  { display: block; }
}
