/* ============================================================
   SEIFERT DYNAMICS — Homepage Hero
   ============================================================ */

/* ── Hero Section ────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-void);
}

/* ── Hero Video Background ───────────────────────────────── */

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

/* Disable browser-native video controls/overlays */
.hero-video::-webkit-media-controls { display: none !important; }
.hero-video::-webkit-media-controls-enclosure { display: none !important; }
.hero-video::-webkit-media-controls-overlay-play-button { display: none !important; }

/* TODO video: dark cinematic aerial or industrial/infrastructure loop — slow pan, minimal motion */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient overlay: dark top (nav), lighter mid (video shows), dark bottom (text) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(6,8,16,0.82)  0%,
      rgba(6,8,16,0.38)  38%,
      rgba(6,8,16,0.55)  62%,
      rgba(6,8,16,0.94) 100%
    );
  z-index: 1;
}

/* ── Hero Minimal Header (logo + search only) ────────────── */

.hero-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--container-pad);
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  /* Self-contained row at top of flex hero */
  flex-shrink: 0;
}

.hero-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* TODO logo: Seifert Dynamics wordmark or icon mark on dark background */
.hero-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.hero-search-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.hero-search-btn svg {
  width: 20px;
  height: 20px;
}

/* ── Hero Content ────────────────────────────────────────── */

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--sp-12) var(--container-pad) var(--sp-20);
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, var(--fs-7xl));
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: #fff;
  max-width: 820px;
  margin-bottom: var(--sp-6);
}

.hero-descriptor {
  font-family: var(--font-body);
  font-size: clamp(var(--fs-base), 1.4vw, var(--fs-lg));
  font-weight: 300;
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin-bottom: var(--sp-10);
}

/* Hero CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
  align-self: center;
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}

.hero-cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}

.hero-cta svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.hero-cta:hover svg {
  transform: translateX(4px);
}

/* ── Capability Strip ────────────────────────────────────── */

.hero-capability-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  margin-top: auto;
}

.cap-strip-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.125rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}

.cap-strip-item:last-child {
  border-right: none;
}

.cap-strip-item:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.035);
}

.cap-strip-label {
  font-size: clamp(0.625rem, 0.9vw, var(--fs-xs));
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  display: block;
}

/* ── Scroll Cue ──────────────────────────────────────────── */

.hero-scroll-cue {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: 6.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(255,255,255,0.25);
}

.hero-scroll-cue span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.5);
  animation: scrollCue 2.2s var(--ease-in-out) infinite;
}

@keyframes scrollCue {
  0%   { top: -100%; }
  100% { top: 100%;  }
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-capability-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .cap-strip-item:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .hero-logo img {
    height: 36px;
  }

  .hero-headline {
    max-width: 100%;
  }

  .hero-capability-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-strip-item:nth-child(2),
  .cap-strip-item:nth-child(4) {
    border-right: none;
  }

  .cap-strip-item:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,0.07);
  }

  .hero-scroll-cue {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-header {
    padding: 1.25rem var(--container-pad);
  }

  .hero-logo img {
    height: 30px;
  }

  .hero-capability-strip {
    grid-template-columns: repeat(1, 1fr);
  }

  .cap-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0.875rem 1.25rem;
  }

  /* Show only 3 on very small screens */
  .cap-strip-item:nth-child(n+4) {
    display: none;
  }
}
