/* Chickana Hero: full-bleed cinematic video under the cream navbar. */
.hero.hero-video-active {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: clamp(560px, calc(100svh - var(--head-h)), 780px);
  padding: clamp(42px, 8vh, 92px) clamp(24px, 7vw, 124px) clamp(44px, 7vh, 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #6d160f url('/images/hero-video-poster.webp') center / cover no-repeat;
}

/* Video is the only visual layer. The gradients are overlays, not extra artwork. */
.hero.hero-video-active .hero-visual,
.hero.hero-video-active .hero-photo-frame {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}
.hero.hero-video-active .hero-photo-frame::before,
.hero.hero-video-active .hero-photo-halo,
.hero.hero-video-active .hero-photo-frame > img {
  display: none !important;
}
.hero.hero-video-active .hero-photo-frame > video {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  mix-blend-mode: normal;
  filter: saturate(1.08) contrast(1.04) brightness(.78);
  background: #6d160f url('/images/hero-video-poster.webp') center / cover no-repeat;
  opacity: 1;
  transition: opacity .22s ease;
}
.hero.hero-video-active.hero-video-error .hero-photo-frame > video { opacity: 0; }
.hero.hero-video-active .hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(270deg, rgba(27, 7, 5, .93) 0%, rgba(45, 10, 7, .77) 28%, rgba(79, 17, 11, .27) 57%, rgba(110, 22, 13, .04) 82%),
    linear-gradient(180deg, rgba(39, 8, 5, .18), transparent 22%, transparent 76%, rgba(24, 5, 4, .38));
}
.hero.hero-video-active .hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 37% 50%, transparent 25%, rgba(91, 19, 12, .16) 61%, rgba(28, 7, 5, .22) 100%);
}

/* Right-aligned RTL copy remains readable on the darker side of the film. */
.hero.hero-video-active .hero-copy {
  position: relative;
  z-index: 3;
  width: min(49%, 650px);
  margin-inline-start: auto;
  padding: 0;
  text-align: right;
  color: var(--cream);
}
.hero.hero-video-active .hero-eyebrow {
  border-color: rgba(255, 196, 79, .38);
  background: rgba(117, 20, 13, .48);
  color: #ffe3a0;
}
.hero.hero-video-active h1 {
  max-width: 680px;
  margin-bottom: 18px;
  color: #fffaf4;
  font-size: clamp(46px, 5.5vw, 86px);
  line-height: 1.03;
  text-shadow: 0 8px 28px rgba(31, 4, 2, .38);
}
.hero.hero-video-active h1 span { color: #ff3d32; }
.hero.hero-video-active .hero-description {
  max-width: 520px;
  color: rgba(255, 247, 235, .88);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.9;
  text-shadow: 0 3px 12px rgba(31, 4, 2, .4);
}
.hero.hero-video-active .hero-actions { justify-content: flex-start; }
.hero.hero-video-active .button-outline {
  background: rgba(255, 247, 235, .94);
  border-color: rgba(255, 247, 235, .96);
  color: #2b1713;
}
.hero.hero-video-active .button-outline:hover { background: #fff; color: #8e2319; }
.hero.hero-video-active .hero-proof { color: var(--cream); }
.hero.hero-video-active .hero-proof small { color: rgba(255, 247, 235, .75); }
.hero.hero-video-active .hero-proof b { color: #ffd15c; }
.hero.hero-video-active .photo-stamp,
.hero.hero-video-active .hero-side-note { display: none; }

.hero.hero-video-active .hero-bottom-line {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 7vw, 124px);
  bottom: 18px;
  left: clamp(24px, 7vw, 124px);
  display: flex;
  justify-content: flex-end;
  border-top-color: rgba(255, 247, 235, .2);
  color: rgba(255, 247, 235, .74);
}

/* Keep the requested cream/original navbar above the film. */
.site-header {
  background: rgba(255, 247, 235, .97);
  color: #281813;
  border-bottom-color: rgba(68, 25, 17, .12);
}
.site-header .desktop-nav { color: #3b2821; }
.site-header .desktop-nav a:hover { color: #c63829; }
.site-header .brand-copy b { color: #241612; }
.site-header .brand-copy small { color: #c63829; }
.site-header .header-cart {
  background: #fffaf4;
  border-color: rgba(198, 56, 41, .38);
  color: #2b1813;
}
.site-header .header-cart:hover { background: #f8dfd7; }
.site-header .cart-icon { color: #c63829; }

@media (min-width: 1100px) {
  .hero.hero-video-active .hero-copy { width: min(47%, 690px); }
}
@media (max-width: 1024px) {
  .hero.hero-video-active {
    min-height: clamp(570px, calc(100svh - var(--head-h)), 720px);
    padding-inline: clamp(26px, 5vw, 64px);
  }
  .hero.hero-video-active .hero-copy { width: min(54%, 560px); }
  .hero.hero-video-active .hero-photo-frame > video { object-position: 42% center; }
  .hero.hero-video-active .hero-visual::before {
    background: linear-gradient(270deg, rgba(30, 7, 5, .9) 0%, rgba(48, 10, 7, .7) 38%, rgba(83, 18, 11, .24) 68%, transparent 100%), linear-gradient(180deg, rgba(39,8,5,.18), transparent 24%, rgba(24,5,4,.35));
  }
}
@media (max-width: 768px) {
  .hero.hero-video-active {
    min-height: max(650px, calc(100svh - var(--head-h)));
    padding: 46px 22px 76px;
    align-items: flex-start;
  }
  .hero.hero-video-active .hero-copy {
    width: min(100%, 520px);
    margin-inline-start: 0;
    margin-inline-end: auto;
    padding-top: 8px;
  }
  .hero.hero-video-active h1 { font-size: clamp(42px, 8.6vw, 66px); }
  .hero.hero-video-active .hero-description { max-width: 390px; font-size: 14px; }
  .hero.hero-video-active .hero-photo-frame > video { object-position: 38% center; }
  .hero.hero-video-active .hero-visual::before {
    background: linear-gradient(180deg, rgba(28, 7, 5, .83) 0%, rgba(47, 10, 7, .56) 44%, rgba(75, 17, 10, .12) 74%, rgba(24, 5, 4, .4) 100%);
  }
  .hero.hero-video-active .hero-visual::after { background: radial-gradient(ellipse at 34% 65%, transparent 16%, rgba(26, 6, 4, .28) 100%); }
  .hero.hero-video-active .hero-bottom-line { right: 22px; left: 22px; bottom: 14px; font-size: 9px; }
}
@media (max-width: 390px) {
  .hero.hero-video-active {
    min-height: 650px;
    padding: 34px 16px 68px;
  }
  .hero.hero-video-active h1 { font-size: clamp(38px, 11vw, 50px); }
  .hero.hero-video-active .hero-description { font-size: 12px; max-width: 300px; }
  .hero.hero-video-active .hero-actions { gap: 8px; }
  .hero.hero-video-active .button { min-height: 44px; padding-inline: 13px; font-size: 11px; }
  .hero.hero-video-active .hero-bottom-line { right: 16px; left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero-video-active .hero-photo-frame > video { filter: saturate(1.02) contrast(1.02) brightness(.78); }
}


/* Desktop anchoring: pin the RTL copy to the right so it never drifts over the food. */
.hero.hero-video-active h1 > .hero-title-line:first-child { color: #fffaf4; }
.hero.hero-video-active h1 > .hero-title-line-accent { color: #ff3d32; }
@media (min-width: 769px) {
  .hero.hero-video-active .hero-copy {
    position: absolute;
    top: 50%;
    right: clamp(24px, 7vw, 124px);
    width: min(47%, 690px);
    margin: 0;
    transform: translateY(-50%);
  }
}
@media (min-width: 1100px) {
  .hero.hero-video-active .hero-copy { width: min(46%, 690px); }
}

/* Final hero brand alignment: use the logo red for actions and active states. */
.hero.hero-video-active .hero-eyebrow { border-color: rgba(200, 27, 1, .48); }
.hero.hero-video-active .hero-eyebrow i { background: var(--brand-red); }
.hero.hero-video-active h1 span,
.hero.hero-video-active h1 > .hero-title-line-accent { color: var(--brand-red); }
.hero.hero-video-active .button-primary { background: var(--brand-red); }
.hero.hero-video-active .button-primary:hover { background: var(--brand-red-deep); }
.hero.hero-video-active .hero-proof b { color: var(--brand-yellow); }
.hero.hero-video-active .hero-photo-frame > video { object-position: 50% center; }
@media (max-width: 1024px) { .hero.hero-video-active .hero-photo-frame > video { object-position: 42% center; } }
@media (max-width: 768px) { .hero.hero-video-active .hero-photo-frame > video { object-position: 38% center; } }


/* Mobile video banner: compact 16:9 composition, not a full-screen hero. */
@media (max-width: 768px) {
  .hero.hero-video-active {
    width: calc(100% - 28px);
    max-width: 620px;
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
    margin: 12px auto 0;
    padding: 0;
    border-radius: 20px;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(94, 25, 15, .2);
  }
  .hero.hero-video-active .hero-visual,
  .hero.hero-video-active .hero-photo-frame,
  .hero.hero-video-active .hero-photo-frame > video {
    border-radius: inherit;
  }
  .hero.hero-video-active .hero-copy {
    position: absolute;
    top: 50%;
    right: 14px;
    left: auto;
    width: min(57%, 240px);
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    text-align: right;
  }
  .hero.hero-video-active .hero-eyebrow {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 5px 8px;
    font-size: 9px;
    line-height: 1;
  }
  .hero.hero-video-active h1 {
    max-width: none;
    margin: 0 0 5px;
    font-size: clamp(27px, 8.4vw, 40px);
    line-height: .98;
    text-shadow: 0 4px 14px rgba(31, 4, 2, .45);
  }
  .hero.hero-video-active .hero-description {
    max-width: 100%;
    margin: 0 0 8px;
    font-size: clamp(9px, 2.7vw, 12px);
    line-height: 1.45;
  }
  .hero.hero-video-active .hero-actions {
    gap: 5px;
    flex-wrap: nowrap;
  }
  .hero.hero-video-active .button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 9px;
    white-space: nowrap;
  }
  .hero.hero-video-active .hero-proof { display: none; }
  .hero.hero-video-active .hero-bottom-line { display: none; }
  .hero.hero-video-active .hero-photo-frame > video { object-position: 38% center; }
  .hero.hero-video-active .hero-visual::before {
    background: linear-gradient(90deg, rgba(28, 7, 5, .04) 0%, rgba(47, 10, 7, .22) 42%, rgba(28, 7, 5, .88) 100%);
  }
  .hero.hero-video-active .hero-visual::after {
    background: linear-gradient(180deg, rgba(24, 5, 4, .08), transparent 52%, rgba(24, 5, 4, .28));
  }
  .post-hero-category-dock {
    position: relative;
    top: auto;
    margin-top: 8px;
    box-shadow: none;
  }
}
@media (max-width: 390px) {
  .hero.hero-video-active { width: calc(100% - 24px); border-radius: 16px; }
  .hero.hero-video-active .hero-copy { right: 11px; width: 59%; }
  .hero.hero-video-active h1 { font-size: clamp(25px, 8.7vw, 34px); }
  .hero.hero-video-active .hero-description { font-size: 8px; margin-bottom: 6px; }
  .hero.hero-video-active .button { min-height: 29px; padding-inline: 7px; font-size: 8px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .hero.hero-video-active { min-height: clamp(520px, 68vw, 680px); }
}
