/* ==========================================================================
   AGAIN COFFEE DESIGN SYSTEM — SECTIONS
   Hero, Atlas, Film slider, Collection carousel, Why Choose, Story & Brews
   ========================================================================== */

.animate-bean-1 {
  animation: 7s ease-in-out 0s infinite normal none running beanOrbit1;
}

.animate-bean-2 {
  animation: 8s ease-in-out 0s infinite normal none running beanOrbit2;
}

@keyframes marqueeSlow {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.animate-marquee-runner {
  display: inline-flex;
  width: max-content;
  animation: marqueeSlow 32s linear infinite;
  will-change: transform;
}

.animate-marquee-runner:hover {
  animation-play-state: paused;
}

@keyframes spin3dRounded {
  0% {
    transform: perspective(1000px) rotateY(0deg) scale(1);
    filter: drop-shadow(rgba(0, 0, 0, 0.95) 0px 20px 40px) drop-shadow(rgba(255, 255, 255, 0.15) 0px 0px 20px);
  }

  50% {
    transform: perspective(1000px) rotateY(180deg) scale(1.14);
    filter: drop-shadow(rgba(0, 0, 0, 0.98) 0px 35px 65px) drop-shadow(rgba(255, 255, 255, 0.30) 0px 0px 45px);
  }

  100% {
    transform: perspective(1000px) rotateY(360deg) scale(1);
    filter: drop-shadow(rgba(0, 0, 0, 0.95) 0px 20px 40px) drop-shadow(rgba(255, 255, 255, 0.15) 0px 0px 20px);
  }
}

.spin-3d-rounded {
  animation: 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0s 1 normal none running spin3dRounded !important;
}

/* ==================== DARK ROASTERY SPECIALTY COFFEE CARDS ==================== */
#our-coffee .coffee-card {
  position: relative;
  background: rgba(18, 18, 22, 0.92) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  cursor: default;
}

#our-coffee .coffee-card:hover {
  border-color: rgba(237, 88, 47, 0.45) !important;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-6px) !important;
}

#our-coffee .coffee-card.featured-card {
  background: linear-gradient(180deg, rgba(22, 20, 26, 0.95) 0%, rgba(16, 15, 20, 0.97) 100%) !important;
  border: 2px solid rgba(237, 88, 47, 0.65) !important;
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.65), inset 0 1px 2px rgba(237, 88, 47, 0.2) !important;
  padding-top: 36px !important;
}

#our-coffee .coffee-card.featured-card:hover {
  border-color: rgba(237, 88, 47, 0.9) !important;
  box-shadow: 0 38px 85px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(237, 88, 47, 0.35) !important;
  transform: translateY(-8px) !important;
}

/* Featured Bestseller Floating Pill */
.card-featured-badge {
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding: 4px 14px !important;
  border-radius: 9999px !important;
  background: #0B0B0E !important;
  color: #ED582F !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: 1.5px solid rgba(237, 88, 47, 0.8) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  z-index: 35 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Desktop & Laptop 3-Column Grid for Product Collection */
@media (min-width: 1024px) {
  #our-coffee #coffee-carousel-container {
    overflow-x: visible !important;
    padding-bottom: 8px !important;
  }

  #our-coffee #coffee-carousel-container > div {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    min-width: 0 !important;
    width: 100% !important;
    gap: 28px !important;
  }

  #our-coffee .coffee-card {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
}

/* Product Photography Depth & Floating Micro-Animation */
#our-coffee .coffee-card .coffee-card-img {
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.65)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, opacity 0.25s ease !important;
  will-change: transform, filter;
}

#our-coffee .coffee-card:hover .coffee-card-img {
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.8)) !important;
}

#our-coffee .coffee-card.featured-card .coffee-card-img {
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.7)) !important;
}

#our-coffee .coffee-card.featured-card:hover .coffee-card-img {
  filter: drop-shadow(0 32px 52px rgba(0, 0, 0, 0.85)) !important;
}

/* Ground shadow responsive transition */
.bag-ground-shadow {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
  will-change: transform, opacity;
}

/* ==================== EDITORIAL STUDIO GALLERY FRAME ==================== */
.product-stage-frame {
  position: relative !important;
  width: 100% !important;
  height: 225px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #F0F0F2 0%, #E6E6E8 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05), 0 10px 26px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  margin: 10px 0 !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.coffee-card:hover .product-stage-frame,
.premium-product-card:hover .product-stage-frame {
  border-color: rgba(237, 88, 47, 0.45) !important;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08), 0 14px 34px rgba(0, 0, 0, 0.5) !important;
}

/* Top-Left Micro-Specs Tag inside Stage */
.stage-micro-chip {
  position: absolute !important;
  top: 9px !important;
  left: 9px !important;
  z-index: 25 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  background: rgba(10, 10, 14, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #F0F0F3 !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.stage-micro-chip .chip-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background-color: #ED582F !important;
  box-shadow: none !important;
  display: inline-block !important;
}

/* Bottom-Right Angle Switcher inside Stage - Never Collides with Top-Left Chip */
.stage-view-switcher {
  position: absolute !important;
  bottom: 9px !important;
  right: 9px !important;
  z-index: 25 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  background: rgba(10, 10, 14, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 2.5px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Centered Image inside Stage */
.product-stage-frame .stage-img {
  max-height: 180px !important;
  max-width: 84% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.22)) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
  user-select: none !important;
  position: relative !important;
  z-index: 10 !important;
}

.coffee-card:hover .product-stage-frame .stage-img,
.premium-product-card:hover .product-stage-frame .stage-img {
  transform: scale(1.04) !important;
}

/* Ground Shadow inside Stage */
.stage-ground-shadow {
  position: absolute !important;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 68% !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 75%) !important;
  filter: blur(4px) !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

/* Interactive Thumbnail & View Switcher Pills on Product Cards */
.card-view-btn {
  padding: 2.5px 7px !important;
  font-size: 8.5px !important;
  font-family: 'Space Grotesk', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.65) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  user-select: none !important;
  line-height: 1.2 !important;
}

.card-view-btn:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.card-view-btn.is-active {
  background: #ED582F !important;
  color: #0B0B0E !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(237, 88, 47, 0.4) !important;
}

/* High-Contrast Specialty Roastery Badges & Label Helpers */
.badge-in-stock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.badge-accent {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  background: rgba(237, 88, 47, 0.14) !important;
  color: #ED582F !important;
  border: 1px solid rgba(237, 88, 47, 0.35) !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.badge-shipping {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
}

.badge-dispatch {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: rgba(237, 88, 47, 0.14) !important;
  color: #ED582F !important;
  border: 1px solid rgba(237, 88, 47, 0.3) !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
}

.product-origin-label {
  color: #ED582F !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 2px !important;
  display: block !important;
}

.product-tasting-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #E6E6E6 !important;
  font-size: 10px !important;
  font-family: 'Space Grotesk', sans-serif !important;
  transition: all 0.2s ease !important;
}

.product-tasting-pill:hover {
  background: rgba(237, 88, 47, 0.12) !important;
  border-color: rgba(237, 88, 47, 0.35) !important;
  color: #FFFFFF !important;
}

/* Interactive Grind Option Selector Buttons */
.grind-option-btn {
  padding: 6px 10px;
  font-size: 10.5px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.grind-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.grind-option-btn.is-active {
  background: rgba(237, 88, 47, 0.2);
  border-color: #ED582F;
  color: #ED582F;
  font-weight: 700;
  box-shadow: none;
}

/* ==================== PREMIUM RESERVE COLLECTION CARDS (#premium-reserve) ==================== */
.premium-product-card {
  position: relative;
  background: rgba(18, 18, 22, 0.94) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.premium-product-card:hover {
  border-color: rgba(237, 88, 47, 0.45) !important;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-6px) !important;
}

.premium-product-card .add-to-cart-btn {
  background: #FFFFFF !important;
  color: #0A0A0E !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  font-weight: 700 !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-product-card .add-to-cart-btn:hover {
  background: #ED582F !important;
  color: #000000 !important;
  border-color: #ED582F !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 10px 24px rgba(237, 88, 47, 0.35) !important;
}

.premium-product-card .add-to-cart-btn:active {
  transform: translateY(0) scale(0.96) !important;
}

/* ==================== BUTTON COLOR HOVER & INTERACTION ==================== */
/* 1. Secondary Lot Button (Cards 1 & 3) */
#our-coffee .secondary-lot-btn {
  position: relative !important;
  overflow: hidden !important;
  background: #ffffff !important;
  color: #0a0a0e !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
  font-weight: 700 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1 !important;
}

#our-coffee .secondary-lot-btn:hover {
  background: #ED582F !important;
  color: #000000 !important;
  border-color: #ED582F !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 10px 28px rgba(237, 88, 47, 0.35) !important;
}

#our-coffee .secondary-lot-btn:active {
  transform: translateY(0) scale(0.96) !important;
}

/* 2. Featured Card Bestseller Button (Card 2) */
#our-coffee .featured-card .add-to-cart-btn {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #ED582F 0%, #ED582F 50%, #ED582F 100%) !important;
  color: #0a0a0e !important;
  border: 1px solid #ED582F !important;
  box-shadow: 0 8px 24px rgba(237, 88, 47, 0.35) !important;
  font-weight: 700 !important;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1 !important;
}

#our-coffee .featured-card .add-to-cart-btn:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4) !important;
}

#our-coffee .featured-card .add-to-cart-btn:active {
  transform: translateY(0) scale(0.96) !important;
}

/* 3. Carousel Navigation Buttons */
#our-coffee #carousel-prev-btn,
#our-coffee #carousel-next-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#our-coffee #carousel-prev-btn:hover,
#our-coffee #carousel-next-btn:hover {
  background: #ffffff !important;
  color: #0a0a0e !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) scale(1.06) !important;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25) !important;
}

#our-coffee #carousel-prev-btn:active,
#our-coffee #carousel-next-btn:active {
  transform: translateY(0) scale(0.94) !important;
}

/* ==================== SECTION 4: OUR STORY (VIDEO BADGE & ORIGIN JOURNEY BUTTON) ==================== */
/* Video Overlay Badge: Crystal clear high-contrast text on video on desktop & mobile */
#our-story .story-video-badge {
  background: rgba(14, 14, 16, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  z-index: 10 !important;
}

#our-story .story-video-badge span,
#our-story .story-video-badge .story-video-badge-title,
#our-story .story-video-badge .story-video-badge-location,
#our-story .story-video-badge .material-symbols-outlined {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

#our-story .story-video-badge .story-video-badge-title {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

#our-story .story-video-badge .story-video-badge-location {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Origin Journey Button: High contrast, perfectly readable text on normal & hover */
#our-story .origin-journey-btn {
  position: relative !important;
  background-color: #FFFFFF !important;
  color: #0A0A0A !important;
  border: 1.5px solid rgba(10, 10, 10, 0.25) !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06) !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 600 !important;
}

#our-story .origin-journey-btn span,
#our-story .origin-journey-btn .material-symbols-outlined {
  color: #0A0A0A !important;
  transition: color 0.25s ease, transform 0.25s ease !important;
}

#our-story .origin-journey-btn:hover {
  background-color: #0A0A0A !important;
  color: #FFFFFF !important;
  border-color: #0A0A0A !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.32) !important;
}

#our-story .origin-journey-btn:hover span,
#our-story .origin-journey-btn:hover .material-symbols-outlined {
  color: #FFFFFF !important;
}

#our-story .origin-journey-btn:hover .material-symbols-outlined {
  transform: translateX(4px) !important;
}

#our-story .origin-journey-btn:active {
  transform: translateY(0) scale(0.97) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}


/* Marquee Interactive Hover Pause & Glow */
.animate-marquee-runner span {
  transition: color 0.25s ease, transform 0.25s ease;
}

.animate-marquee-runner span:hover {
  color: var(--color-accent-ember, #ED582F) !important;
}

.film {
  position: relative;
  padding: clamp(36px, 4.5vw, 60px) 24px;
  overflow: hidden;
  background: transparent !important;
  border-bottom: 1px solid var(--line-dark);
}

.film::before {
  display: none !important;
}

.film__inner {
  position: relative;
  max-width: 1240px;
  margin: 0px auto;
  z-index: 10;
}

.film__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey-500);
  margin: 0px 0px 16px;
  text-transform: uppercase;
}

.film__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0px 0px 16px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

.film__title em {
  font-style: normal;
  color: var(--brand-ember);
}

.film__sub {
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  max-width: 54ch;
  margin: 0px 0px 32px;
}

.film__slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: 28px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  background: var(--black);
  box-shadow: rgba(0, 0, 0, 0.7) 0px 30px 80px, 0 0 0 1px var(--line-dark);
  transition: box-shadow 0.4s, border-color 0.4s;
}

.film__slider-container:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: rgba(0, 0, 0, 0.8) 0px 30px 80px, 0 0 60px rgba(255, 255, 255, 0.08);
}

.film__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.film__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgb(0, 0, 0);
}

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

.film__shade {
  position: absolute;
  inset: 0px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.film__tag {
  position: absolute;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
  color: rgb(255, 255, 255);
  z-index: 10;
}

.film__tag--tl {
  top: 18px;
  left: 18px;
}

.film__tag--tr {
  top: 18px;
  right: 18px;
}

.film__tag i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  margin-right: 8px;
  animation: 1.4s ease 0s infinite normal none running filmBlink;
}

@keyframes filmBlink {
  50% {
    opacity: 0.2;
  }
}

.film__caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
  pointer-events: none;
}

.film__caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--grey-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.film__caption-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  line-height: 1.1;
  text-shadow: rgba(0, 0, 0, 0.8) 0px 2px 10px;
}

.film__caption-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 62ch;
  line-height: 1.4;
  text-shadow: rgba(0, 0, 0, 0.8) 0px 1px 6px;
}

.film__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.film__tabs::-webkit-scrollbar {
  display: none;
}

.film__tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.film__tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgb(255, 255, 255);
  border-color: rgba(255, 255, 255, 0.25);
}

.film__tab-btn.is-active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: rgba(255, 255, 255, 0.25) 0px 0px 20px;
  font-weight: 600;
}

.film__nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.film__nav-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

.film__nav-arrow:active {
  transform: scale(0.95);
}

.film__sound-toggle {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 0.2s;
}

.film__sound-toggle:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: scale(1.08);
}

.film__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* ==================== GLOBAL FLOATING NAVBAR & LOGO CONTRAST ==================== */
header.fixed>div {
  background: rgba(14, 14, 16, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.9) !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

header.fixed>div.is-scrolled {
  background: rgba(10, 10, 12, 0.97) !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.95), 0 0 1px rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Logo is never given shadows, glows, scaling or filters */
header.fixed img,
.brand-logo {
  filter: none !important;
  transform: none !important;
}

/* ==================== SECTION 5: GOOD BEANS BRAND BANNER ==================== */
#good-beans-banner {
  position: relative !important;
  background-color: var(--black) !important;
  overflow: hidden !important;
}

#good-beans-banner .beans-wood-bg-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center bottom !important;
  opacity: 0.9 !important;
}

/* ==================== WHY CHOOSE US (ROASTERY DISCIPLINE) ==================== */
#why-choose-us img {
  filter: none;
}

#why-choose-us .glass-panel {
  background: rgba(14, 14, 14, 0.72);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#why-choose-us .glass-card {
  background: rgba(20, 20, 20, 0.45);
}

#why-choose-us h2 {
  color: #FFFFFF;
}

#why-choose-us h2 .font-ritual-accent {
  color: #ED582F;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

#why-choose-us .glass-card h3 {
  color: #FFFFFF;
}

#why-choose-us .glass-card p {
  color: #E6E6E6;
}

#why-choose-us .font-label-mono {
  color: #CCCCCC;
}

#why-choose-us .pill-discipline {
  color: #FFFFFF;
}

/* ==================== LUXURY COFFEE BRAND HERO & HOMEPAGE ENHANCEMENTS ==================== */

/* Sensory Tasting Notes Pills */
.sensory-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E6E6E6;
  font-size: 12px;
  font-family: var(--font-mono);
  transition: all 0.25s ease;
}

.sensory-pill:hover {
  background: rgba(237, 88, 47, 0.12);
  border-color: rgba(237, 88, 47, 0.35);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Interactive Brew Method Guide Cards */
.brew-guide-card {
  position: relative;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.brew-guide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(237, 88, 47, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  background: rgba(24, 24, 24, 0.85);
}

.brew-guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237, 88, 47, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.brew-guide-card:hover::before {
  opacity: 1;
}

/* Customer Reviews Wall of Love */
.review-card {
  background: rgba(18, 18, 22, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 88, 47, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: rgba(22, 22, 28, 0.88);
}