/* ==========================================================
   KAIETEUR KITCHEN — Hero (Split Layout)
   Left : black panel — eyebrow, tagline, CTAs
   Right: small "Kaietur Kitchen" label + square image
   ========================================================== */

/* Hero renders via astra_content_before hook — outside .ast-container,
   so width: 100% fills the full viewport naturally. */
.kk-hero {
  display: flex;
  align-items: stretch;
  min-height: calc(100svh - var(--nav-height));
  width: 100%;
  background: var(--kk-black);
  overflow: hidden;
  color: var(--kk-white);
  border-bottom: 1.5px solid var(--kk-green);
}

/* ── Left Panel ─────────────────────────────────────────── */
.kk-hero__left {
  flex: 0 0 28%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-16) var(--space-8) var(--space-16) var(--space-8);
  background: var(--kk-black);
}

.kk-hero__left .kk-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kk-gold);
}

.kk-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--kk-gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.kk-hero__left .kk-hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--kk-white);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-6);
  text-align: center;
}

.kk-hero__left .kk-hero__subtext {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 var(--space-10);
  text-align: center;
}

.kk-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  width: 100%;
}

.kk-hero__ctas .kk-btn--hero-primary {
  text-align: center;
}

.kk-hero__ctas-row {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.kk-hero__ctas-row .kk-btn--hero-secondary {
  flex: 1;
  justify-content: center;
  text-align: center;
}

.kk-btn--hero-primary {
  padding: 0.85rem 2rem;
  font-size: 0.78rem;
  background: var(--kk-gold);
  color: var(--kk-black);
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.kk-btn--hero-primary:hover {
  background: var(--kk-gold-light);
  box-shadow: 0 0 0 5px rgba(201, 150, 42, 0.18);
  transform: translateY(-2px);
  color: var(--kk-black);
}

.kk-btn--hero-secondary {
  padding: 0.85rem 1.75rem;
  font-size: 0.78rem;
  background: transparent;
  color: var(--kk-text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.kk-btn--hero-secondary:hover {
  border-color: var(--kk-crimson);
  color: var(--kk-crimson);
  background: rgba(220, 20, 60, 0.06);
}

/* ── Right Panel ─────────────────────────────────────────── */
.kk-hero__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  background: var(--kk-black);
  overflow: hidden;
  align-self: stretch;
}

/* Video container — full-bleed, no border, no radius */
.kk-hero__media {
  flex: 1 1 auto;
  width: 100%;
  position: relative;
  background: var(--kk-black);
  min-height: 0;
  overflow: hidden;
  margin-top: -1cm;
}

/* Video shows full frame — no zoom, no crop. object-position: top eliminates the
   letterbox gap above when the video's aspect ratio is shorter than the container. */
.kk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .kk-hero {
    flex-direction: column;
    min-height: auto;
  }

  .kk-hero__left {
    flex: none;
    align-items: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--kk-border);
    padding: var(--space-12) var(--space-6);
  }

  .kk-hero__left .kk-hero__tagline,
  .kk-hero__left .kk-hero__subtext {
    text-align: left;
  }

  .kk-hero__left .kk-hero__eyebrow {
    align-self: flex-start;
  }

  .kk-hero__ctas {
    justify-content: flex-start;
  }

  .kk-hero__right {
    padding: 0 0 var(--space-10);
    align-items: stretch;
  }

  .kk-hero__media {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: unset;
    margin-top: 0;
  }

  .kk-hero__video {
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .kk-hero__left {
    padding: var(--space-10) var(--space-4);
  }

  .kk-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .kk-btn--hero-primary,
  .kk-btn--hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kk-hero__poster-img {
    animation: none;
  }
}
