/* Hero variants + preview switcher */

.hk-hero-stage {
  position: relative;
}

.hk-hero-root {
  position: relative;
}

.hk-hero-variant[hidden] {
  display: none !important;
}

/* ── Shared basis / split (v1 + v2) ─────────────────── */

.hk-hero-variant--v1,
.hk-hero-variant--v2 {
  padding: 72px 0 56px;
}

.hk-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hk-hero__title-stack {
  position: relative;
  display: grid;
  margin-bottom: 22px;
}

.hk-hero__title-stack > .hk-hero__title {
  grid-area: 1 / 1;
}

.hk-hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
}

.hk-hero__line {
  display: block;
}

.hk-hero__line--accent {
  color: var(--hk-muted);
}

.hk-hero__lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--hk-muted);
  max-width: 48ch;
  line-height: 1.65;
}

.hk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hk-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hk-hero__chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--hk-surface);
  border: 1px solid var(--hk-border);
  font-size: .78rem;
  font-weight: 500;
  color: var(--hk-muted);
}

.hk-hero__chips--light li {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* v2 — video frame */
.hk-hero__video-frame {
  position: relative;
  border-radius: calc(var(--hk-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--hk-border);
  box-shadow: var(--hk-shadow);
  background: #ecece8;
  aspect-ratio: 4 / 3.2;
}

.hk-hero__video-frame .hk-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}

/* ── v3 full bleed light ────────────────────────────── */

.hk-hero-variant--v3 {
  padding: 0 0 48px;
}

.hk-hero-full {
  position: relative;
  min-height: clamp(520px, 82vh, 800px);
  overflow: hidden;
}

.hk-hero-full__media {
  position: absolute;
  inset: 0;
}

.hk-hero-full__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.02);
}

.hk-hero-full__scrim--light {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(247, 247, 244, .96) 0%,
      rgba(247, 247, 244, .9) 26%,
      rgba(247, 247, 244, .68) 44%,
      rgba(247, 247, 244, .28) 62%,
      rgba(247, 247, 244, .06) 78%,
      transparent 100%);
  pointer-events: none;
}

.hk-hero-full__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: clamp(48px, 8vh, 96px);
}

.hk-hero__copy--on-light .hk-hero-cinema__title--base,
.hk-hero__copy--on-light .hk-hero-cinema__title--base .hk-hero-cinema__line {
  color: var(--hk-ink);
  text-shadow: none;
}

.hk-hero__copy--on-light .hk-hero-cinema__line--accent {
  color: var(--hk-muted);
}

.hk-hero__copy--on-light .hk-hero__lead {
  color: var(--hk-muted);
}

/* ── v4 card tweaks inside variant wrapper ──────────── */

.hk-hero-variant--v4.hk-hero-cinema {
  padding: 20px 0 40px;
}

/* ── Floating switcher ──────────────────────────────── */

.hk-hero-switcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  font-size: .88rem;
}

.hk-hero-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--hk-border);
  border-radius: 999px;
  background: rgba(18, 18, 18, .92);
  color: #fff;
  box-shadow: 0 12px 40px rgba(18, 18, 18, .22);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: transform .2s var(--hk-ease), box-shadow .2s var(--hk-ease);
}

.hk-hero-switcher__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(18, 18, 18, .28);
}

.hk-hero-switcher__label {
  opacity: .65;
  font-weight: 500;
}

.hk-hero-switcher__chev {
  opacity: .7;
  font-size: .75rem;
}

.hk-hero-switcher__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(280px, calc(100vw - 40px));
  padding: 10px;
  border-radius: calc(var(--hk-radius) + 2px);
  border: 1px solid var(--hk-border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--hk-shadow);
}

.hk-hero-switcher__menu[hidden] {
  display: none;
}

.hk-hero-switcher__menu-title {
  margin: 0 0 8px;
  padding: 4px 10px 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hk-muted-light);
}

.hk-hero-switcher__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--hk-radius-sm);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--hk-ink);
  transition: background .16s var(--hk-ease);
}

.hk-hero-switcher__option strong {
  font-size: .92rem;
}

.hk-hero-switcher__option span {
  font-size: .78rem;
  color: var(--hk-muted);
}

.hk-hero-switcher__option:hover,
.hk-hero-switcher__option[aria-pressed="true"] {
  background: var(--hk-soft);
}

.hk-hero-switcher__option[aria-pressed="true"] strong {
  color: var(--hk-ink);
}

@media (max-width: 1024px) {
  .hk-hero__grid {
    grid-template-columns: 1fr;
  }

  .hk-hero-variant--v2 .hk-hero__video-frame {
    order: -1;
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .hk-hero-switcher {
    right: 12px;
    bottom: 12px;
  }

  .hk-hero-switcher__toggle {
    padding: 10px 14px;
  }

  .hk-hero-variant--v1,
  .hk-hero-variant--v2 {
    padding-top: 48px;
  }
}
