/* Full-bleed homepage hero concept, scoped to the existing hero. */
[data-page="home"] .hero.hero--loop {
  min-height: 660px;
  padding: 94px 0;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #17130f;
  color: #f8f3e8;
}
[data-page="home"] .hero.hero--loop .wrap {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding-inline: 32px;
}
.hero--loop .hero-copy { max-width: 560px; }
[data-page="home"] .hero--loop .hero-eyebrow,
[data-page="home"] .hero--loop .brand-line { color: #dfb976; }
[data-page="home"] .hero--loop h1 { color: #f8f3e8; font-size: clamp(56px, 6vw, 82px); }
.hero--loop h1 span { color: #dfb976 !important; }
[data-page="home"] .hero--loop p.sub { color: #f2e9d9; max-width: 470px; }
.hero--loop .btn-primary { background: #f8f3e8; color: #231b14; }
[data-page="home"] .hero--loop .hero-ctas .text-link { color: #f8f3e8; }
.hero--loop .home-coffee-motion {
  position: absolute;
  inset: 0;
  z-index: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  pointer-events: none;
}
[data-page="home"] .hero--loop .home-coffee-motion::before { content: none; }
[data-page="home"] .hero--loop .home-coffee-motion .frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 30%;
  aspect-ratio: auto !important;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%);
  mask-image: linear-gradient(90deg, transparent, #000 20%);
}
.hero--loop .home-coffee-motion video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  background: #17130f;
}
.hero--loop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #17130f 0%, rgba(23,19,15,.98) 30%,
    rgba(23,19,15,.68) 51%, rgba(23,19,15,.12) 100%);
}
[data-page="home"] .hero--loop .home-coffee-motion__caption {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1200px)/2 + 32px));
  bottom: 24px;
  margin: 0;
  display: flex;
  align-items: end;
  gap: 18px;
  pointer-events: auto;
}
[data-page="home"] .hero--loop .badge { display: none; }
.hero--loop .home-coffee-motion__control {
  background: rgba(23,19,15,.84);
  border: 1px solid #dfb976;
  border-radius: 3px;
  color: #fff;
  min-width: 80px;
  min-height: 44px;
  padding: 10px 16px;
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(5px);
}
.hero--loop .home-coffee-motion__control[hidden] { display: none; }
.hero--loop .home-coffee-motion__control:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 860px) {
  [data-page="home"] .hero.hero--loop {
    min-height: calc(100svh - 120px);
    display: flex;
    align-items: flex-start;
    padding: 64px 0 92px;
  }
  [data-page="home"] .hero.hero--loop .wrap { padding-inline: 22px; }
  .hero--loop .hero-copy { max-width: 580px; }
  [data-page="home"] .hero--loop .home-coffee-motion .frame {
    inset: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero--loop .home-coffee-motion #home-coffee-motion {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% center;
  }
  .hero--loop::after {
    background:
      linear-gradient(90deg, rgba(23,19,15,.94) 0%, rgba(23,19,15,.82) 25%,
        rgba(23,19,15,.48) 68%, rgba(23,19,15,.24) 100%),
      linear-gradient(180deg, rgba(23,19,15,.4), transparent 28%, rgba(23,19,15,.12));
  }
  [data-page="home"] .hero--loop .home-coffee-motion__caption {
    right: 22px;
    bottom: 18px;
    justify-content: flex-end;
  }
  .hero--loop .hero-ctas .text-link { align-self: flex-start; }
}
@media (max-width: 480px) {
  [data-page="home"] .hero.hero--loop { min-height: calc(100svh - 120px); padding: 44px 0 82px; }
  .hero--loop .hero-copy { max-width: min(82vw, 350px); }
  .hero--loop .hero-eyebrow { margin-bottom: 20px; }
  [data-page="home"] .hero--loop h1 { font-size: clamp(42px, 11vw, 56px); line-height: .98; }
  [data-page="home"] .hero--loop p.sub { margin-bottom: 20px; }
  .hero--loop .brand-line { margin-bottom: 26px; }
  .hero--loop .hero-ctas { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--loop .home-coffee-motion,
  .hero--loop .home-coffee-motion * { animation: none !important; transition: none !important; }
}
