/* ============================================
   HEADER ENLARGEMENT (50-75% larger)
   ============================================ */

/* Header bar: 72px -> 120px */
.header-inner {
  min-height: 120px;
  padding: var(--space-6) var(--space-6);
}

/* Logo: bump from --text-sm/base to --text-lg/xl */
.site-logo {
  font-size: var(--text-base);
  letter-spacing: 0.2em;
}

@media (min-width: 768px) {
  .site-logo {
    font-size: var(--text-xl);
    letter-spacing: 0.22em;
  }
}

/* Phone number: larger */
.header-phone {
  font-size: var(--text-base);
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .header-phone {
    font-size: var(--text-lg);
  }
}

/* Hamburger: bigger hit area and thicker lines */
.hamburger-btn {
  width: 56px;
  height: 56px;
  gap: 8px;
}

.hamburger-btn span {
  width: 32px;
  height: 2px;
}

.hamburger-btn.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Nav overlay links: bump from --text-2xl to --text-3xl */
.nav-overlay-list a {
  font-size: var(--text-3xl);
}

/* Nav overlay contact info: bigger */
.nav-overlay-contact {
  font-size: var(--text-lg);
}

.nav-overlay-contact a {
  font-size: var(--text-lg);
}

/* Adjust scroll padding for larger header */
html {
  scroll-padding-top: 140px;
}


/* ============================================
   VIDEO HERO (KKR-style full-bleed)
   ============================================ */

.hero--video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  overflow: hidden;
  background: var(--color-dark);
}

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

.hero--video .hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark gradient overlay from bottom for text legibility */
.hero--video .hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(26, 26, 46, 0.78) 35%,
    rgba(26, 26, 46, 0.60) 65%,
    rgba(26, 26, 46, 0.40) 100%
  );
  pointer-events: none;
}

.hero--video .hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-24));
}

.hero--video .hero-headline {
  color: var(--color-dark-text);
  max-width: 18ch;
  margin-bottom: var(--space-4);
}

.hero--video .hero-subtext {
  color: var(--color-dark-muted);
  max-width: 48ch;
  margin-bottom: var(--space-8);
}

.hero--video .overline {
  color: var(--color-primary);
}

.hero--video .btn--ghost {
  color: var(--color-dark-text);
  border-color: oklch(from var(--color-dark-text) l c h / 0.3);
}

.hero--video .btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Video play/pause button */
.hero-video-toggle {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: oklch(from var(--color-dark) l c h / 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid oklch(from var(--color-dark-text) l c h / 0.15);
  color: var(--color-dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-interactive);
}

.hero-video-toggle:hover {
  background: oklch(from var(--color-dark) l c h / 0.7);
}

.hero-video-toggle svg {
  width: 18px;
  height: 18px;
}

/* Make header transparent when over video hero */
body.has-video-hero .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

body.has-video-hero .site-logo,
body.has-video-hero .header-phone {
  color: var(--color-dark-text);
}

body.has-video-hero .hamburger-btn span {
  background: var(--color-dark-text);
}

/* When scrolled past the video hero, header returns to solid */
body.has-video-hero.header-scrolled .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: oklch(from var(--color-text) l c h / 0.06);
}

body.has-video-hero.header-scrolled .site-logo,
body.has-video-hero.header-scrolled .header-phone {
  color: var(--color-text);
}

body.has-video-hero.header-scrolled .hamburger-btn span {
  background: var(--color-text);
}

/* Mobile video hero adjustments */
@media (max-width: 768px) {
  .hero--video {
    min-height: 80vh;
  }
  
  .hero--video .hero-headline {
    font-size: var(--text-2xl);
  }
  
  .hero-video-toggle {
    width: 40px;
    height: 40px;
    bottom: var(--space-4);
    right: var(--space-4);
  }
}
