/* ==========================================================================
   hero.css — Editorial Minimal Hero
   ========================================================================== */

#hero-section {
  position: relative;
  min-height: 76vh;
  min-height: 76svh;
  padding-top: calc(72px + 2rem);
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  background-color: var(--color-canvas-light);
  overflow: hidden;
}

/* ── Wrapper ─────────────────────────────────────────────── */
.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* ── LEFT: Typography ────────────────────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 0;
  max-width: 520px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Space Grotesk', var(--font-heading);
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 1.25rem;
}

.hero-subtitle strong {
  color: var(--color-text-main);
  font-weight: 600;
}

.hero-tech-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.hero-tech-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── CTA Buttons ─────────────────────────────────────────── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-text-main);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.hero-btn-primary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.hero-btn-secondary:hover {
  border-color: var(--color-text-main);
  color: var(--color-text-main);
  background: var(--color-surface-soft);
}

/* ── Availability ────────────────────────────────────────── */
.hero-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.hero-avail-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  animation: avail-pulse 2.5s ease-in-out infinite;
}

@keyframes avail-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-avail-dot { animation: none; }
}

/* ── RIGHT: Portrait ─────────────────────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  margin: 0 auto;
  transform: translateY(-28px);
}

.hero-portrait-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-wrapper {
    gap: 2rem;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
  }

  .hero-portrait-frame {
    max-width: 440px;
    transform: none;
  }
}

@media (max-width: 768px) {
  #hero-section {
    min-height: auto;
    padding-top: calc(64px + 2rem);
    padding-bottom: 0;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 var(--space-4);
  }

  /* Text first, portrait second */
  .hero-left {
    order: 1;
    padding: 0;
    max-width: 100%;
  }

  .hero-right {
    order: 2;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hero-portrait-frame {
    width: 80%;
    max-width: 360px;
    aspect-ratio: auto;
    margin: 0 auto;
    transform: none;
    background: transparent;
  }

  .hero-portrait-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    object-position: center;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-subtitle { font-size: 0.95rem; }

  .hero-cta-row {
    width: 100%;
    gap: 0.75rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}

@media (max-width: 375px) {
  .hero-headline { font-size: 1.85rem; }

  .hero-portrait-frame {
    width: 85%;
    max-width: 310px;
  }
}
