/* General Variables & Custom Design System */
/* NimbuDemo Font - Used only for the center gallery logo */
@font-face {
  font-family: 'NimbuDemo';
  src: url('nimbu-demo/NimbuDemo-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'NimbuDemo';
  src: url('nimbu-demo/NimbuDemo-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'NimbuDemo';
  src: url('nimbu-demo/NimbuDemo-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg-color: #060608;
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --accent-color: #00f0ff;
  --accent-rgb: 0, 240, 255;
  --purple-color: #7b2cbf;
  --purple-rgb: 123, 44, 191;
  --border-color: rgba(255, 255, 255, 0.08);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-color);
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  width: 280px;
  text-align: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  animation: pulse-loader 2s infinite ease-in-out;
}

.loader-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

#loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #fce0c5 0%, #dca26c 100%);
  box-shadow: 0 0 12px rgba(220, 162, 108, 0.6);
  border-radius: 2px;
  transition: width 0.1s linear;
}

#loader-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 400;
}

#loader-pct {
  color: var(--text-main);
  font-weight: 600;
}

/* Animation Canvas Container */
#animation-container {
  position: relative;
  width: 100%;
  height: 450vh;
  /* Determines how long the scroll animation takes */
  background-color: #000;
}

.canvas-sticky-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#scroll-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

/* Scroll Text Overlays */
.scroll-text-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%) translateY(30px);
  z-index: 10;
  max-width: 460px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.5rem;
  border-radius: 2.5rem;
  background: linear-gradient(145deg, rgba(35, 35, 34, 0.65), rgba(20, 20, 19, 0.45));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(18, 10, 5, 0.5);
}

.scroll-text-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateY(0);
}

.scroll-text-overlay h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

.scroll-text-overlay p {
  line-height: 1.6;
}

/* Specific alignments for layouts */
#text-frame-2 {
  left: auto;
  right: 10%;
}

#text-frame-3 {
  left: 50%;
  transform: translate(-50%, calc(-50% + 30px));
  text-align: center;
  max-width: 550px;
}

#text-frame-3.active {
  transform: translate(-50%, -50%);
}

/* Custom Styles from code.html */
.glass-panel {
  background: linear-gradient(145deg, rgba(35, 35, 34, 0.5), rgba(20, 20, 19, 0.3));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.5rem;
}

.espresso-shadow {
  box-shadow: 0 30px 60px rgba(18, 10, 5, 0.5);
}

.text-gradient {
  background: linear-gradient(135deg, #fce0c5 0%, #dca26c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.blob-shape {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-reverse {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(20px) rotate(-2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.animate-float {
  animation: float 7s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 9s ease-in-out infinite;
}

@keyframes pulse-subtle {
  0% {
    box-shadow: 0 0 0 0 rgba(176, 122, 63, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(176, 122, 63, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(176, 122, 63, 0);
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2.5s infinite;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hover-parallax {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-parallax:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(176, 122, 63, 0.25);
}

@keyframes pulse-loader {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
    filter: brightness(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Responsive adjustments */
.mobile-hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 49;
}

.mobile-menu-drawer.drawer-open {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .desktop-only-menu {
    display: none !important;
  }

  .desktop-only-btn {
    display: none !important;
  }

  .mobile-hamburger-btn {
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .desktop-only-menu {
    display: flex !important;
  }

  .desktop-only-btn {
    display: inline-flex !important;
  }

  .mobile-hamburger-btn {
    display: none !important;
  }

  .mobile-menu-drawer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .scroll-text-overlay {
    left: 5% !important;
    right: 5% !important;
    max-width: none !important;
    transform: translateY(-50%) translateY(20px) !important;
    padding: 1.5rem;
  }

  #text-frame-3 {
    left: 5% !important;
    transform: translateY(-50%) translateY(20px) !important;
  }

  #text-frame-3.active {
    transform: translateY(-50%) translateY(0) !important;
  }

  .scroll-text-overlay h2 {
    font-size: 1.75rem;
  }
}

/* 3D Flavor Slider Styles */
.flavor-slider-container {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.flavor-slider-track {
  perspective: 1000px;
}

.flavor-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 360px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, z-index;
}

/* 3D positions */
.flavor-slide.active {
  z-index: 10;
  transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1.25);
  opacity: 1;
  pointer-events: auto;
}

/*.flavor-slide positions adjusted for grid columns */
.flavor-slide.next {
  z-index: 5;
  transform: translate(-50%, -50%) translate3d(170px, 0, -150px) scale(0.8);
  opacity: 0.65;
  pointer-events: auto;
  cursor: pointer;
}

.flavor-slide.prev {
  z-index: 5;
  transform: translate(-50%, -50%) translate3d(-170px, 0, -150px) scale(0.8);
  opacity: 0.65;
  pointer-events: auto;
  cursor: pointer;
}

.flavor-slide.far-next {
  z-index: 2;
  transform: translate(-50%, -50%) translate3d(280px, 0, -300px) scale(0.65);
  opacity: 0;
  pointer-events: none;
}

.flavor-slide.far-prev {
  z-index: 2;
  transform: translate(-50%, -50%) translate3d(-280px, 0, -300px) scale(0.65);
  opacity: 0;
  pointer-events: none;
}

.flavor-slide.hidden-slide {
  z-index: 1;
  transform: translate(-50%, -50%) translate3d(0, 0, -400px) scale(0.5);
  opacity: 0;
  pointer-events: none;
}

/* Dots and buttons styling */
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dot.active {
  background: #e2a969;
  width: 24px;
  border-radius: 4px;
}

/* Floating animation on active cup image */
.flavor-slide.active .cup-image-wrapper {
  animation: float-cup 6s ease-in-out infinite;
}

@keyframes float-cup {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(2.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Responsive adjustments for mobile screens */
@media (max-width: 640px) {
  .flavor-slide.next {
    transform: translate(-50%, -50%) translate3d(110px, 0, -150px) scale(0.75);
    opacity: 0.35;
  }

  .flavor-slide.prev {
    transform: translate(-50%, -50%) translate3d(-110px, 0, -150px) scale(0.75);
    opacity: 0.35;
  }

  .flavor-slider-track {
    height: 480px !important;
  }
}

/* Circular Auto-Rotating Gallery */
.circular-gallery-container {
  position: relative;
  width: 100%;
  height: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  margin-top: 40px;
}

.circular-gallery {
  position: absolute;
  width: 2px;
  height: 2px;
  transform-style: preserve-3d;
  animation: rotateGallery 25s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes rotateGallery {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.gallery-card {
  position: absolute;
  width: 200px;
  height: 280px;
  border-radius: 1.5rem;
  overflow: hidden;
  /* box-shadow: 0 20px 40px rgba(0,0,0,0.5); */
  /* Use math to layout in a circle. Radius is set by translateY */
  transform: rotate(calc(var(--i) * 45deg)) translateY(-320px);
  transform-origin: center;
  background: var(--surface-container);
  /* border: 1px solid rgba(255, 255, 255, 0.08); */
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.4s ease;
}

.gallery-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Mobile responsive radius */
@media (max-width: 768px) {
  .circular-gallery-container {
    height: 400px;
  }

  .gallery-card {
    width: 130px;
    height: 180px;
    transform: rotate(calc(var(--i) * 45deg)) translateY(-180px);
  }
}

/* ==============================
   Custom Center Logo: "Your FAV Spot"
   ============================== */
.custom-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  user-select: none;
  background: rgba(19, 19, 19, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2rem;
  padding: 1.25rem 2.5rem;
}

.logo-top {
  font-family: 'NimbuDemo', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #e2a969;
  letter-spacing: 0.04em;
  margin-bottom: 0.1em;
  text-transform: uppercase;
}

.logo-bottom {
  display: flex;
  align-items: center;
  gap: 0.04em;
  font-family: 'NimbuDemo', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #e2a969;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-bottom .letter {
  display: inline-block;
}

.map-pin-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.72em;
  height: 0.9em;
  color: #dca26c;
  position: relative;
  top: 0.04em;
}

.map-pin-o svg {
  width: 100%;
  height: 100%;
}

/* Custom Marquee Animations */
@import "tailwindcss";
@import "tw-animate-css";

@theme inline {
  --animate-marquee: marquee var(--duration) infinite linear;
  --animate-marquee-vertical: marquee-vertical var(--duration) linear infinite;
}

.animate-marquee {
  animation: marquee var(--duration, 40s) infinite linear;
}

.animate-marquee-vertical {
  animation: marquee-vertical var(--duration, 40s) linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap, 1rem)));
  }
}

@keyframes marquee-vertical {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-100% - var(--gap, 1rem)));
  }
}

/* Flavor Carousel Section Styles */
#flavor {
  background-color: #f9f6f0;
  position: relative;
  width: 100%;
}

.flavor-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

#flavor-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  will-change: transform;
}

.flavor-carousel-card {
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.45;
  transform: scale(0.82);
  transform-origin: center;
  box-shadow: 0 15px 35px rgba(26, 22, 18, 0.04);
}

.flavor-carousel-card.active {
  opacity: 1;
  transform: scale(1.0);
  box-shadow: 0 30px 60px rgba(26, 22, 18, 0.12);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(30, 28, 26, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  background: #8c6f56;
  width: 24px;
  border-radius: 4px;
}

/* Moments Fresh Section Styles */
#moments-fresh-section {
  background-color: #f5f1ea;
  transition: background-color 0.5s ease;
}

#moments-horizontal-track {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}

.coffee-gallery-item img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.coffee-gallery-item:hover img {
  transform: scale(1.06) rotate(2deg);
}

/* ==========================================================================
   Circular Product Showcase Section
   ========================================================================== */
#orbital-showcase-section {
  --radius: calc(max(440px, 56vh));
  --orbit-rotation: 60deg;
  --glow-color: rgba(226, 169, 105, 0.2);
  background-color: #060608;
  position: relative;
  z-index: 10;
}

.orbital-sticky-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg-radial-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(6, 6, 8, 0.95) 100%);
  z-index: 1;
}

#orbital-glow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  filter: blur(150px);
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  transition: background 1s ease-out;
  z-index: 0;
}

.orbital-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.orbital-info-panel {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 600px;
}

/* Orbit Path visual dash line */
.orbital-track-visual {
  width: calc(2 * var(--radius));
  height: calc(2 * var(--radius));
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px dashed rgba(226, 169, 105, 0.12);
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(226, 169, 105, 0.03);
  z-index: 2;
  animation: spin-slow 180s linear infinite;
}

@keyframes spin-slow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Inner orbit track that rotates */
#orbital-track {
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%) rotate(var(--orbit-rotation));
  transform-style: preserve-3d;
  z-index: 3;
}

/* Individual Bottle Item positioning */
.orbital-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(var(--base-angle)) translateY(calc(-1 * var(--radius)));
  opacity: 0.15;
  filter: blur(4px) grayscale(30%);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity, filter;
  pointer-events: auto;
  cursor: pointer;
}

.orbital-item.active {
  opacity: 1;
  filter: blur(0px) grayscale(0%);
  z-index: 10;
}

/* Scale and rotate styling for bottle images */
.orbital-item-inner {
  rotate: var(--counter-rotation, 0deg);
  scale: 0.65;
  transition: scale 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbital-item.active .orbital-item-inner {
  scale: 1.3;
}

/* Gently float active bottle */
.orbital-item.active img {
  animation: float-bottle 5s ease-in-out infinite alternate;
}

@keyframes float-bottle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(1deg);
  }
}

/* Info Panel Elements transitions classes */
#orbital-category,
#orbital-title,
#orbital-details,
#orbital-cta-wrapper {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile responsive orbit sizes */
@media (max-width: 768px) {
  #orbital-showcase-section {
    --radius: calc(max(280px, 36vh));
  }
  .orbital-item {
    width: 150px;
    height: 350px;
  }
  .orbital-item-inner {
    scale: 0.55;
  }
  .orbital-item.active .orbital-item-inner {
    scale: 1.25;
  }
  .orbital-info-panel {
    bottom: 3%;
  }
}

/* ==========================================================================
   Heart-Shaped Steam Text Animation Section
   ========================================================================== */
#steam-text-section {
  background-color: #0c0c0e;
  position: relative;
  z-index: 10;
  width: 100%;
}

.steam-ambient-glow {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 169, 105, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.steam-path-trace {
  stroke: rgba(226, 169, 105, 0.09);
  stroke-width: 1.5px;
  stroke-dasharray: 5, 5;
  fill: none;
  z-index: 1;
}

.steam-curved-text {
  fill: rgba(226, 169, 105, 0.88);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 5.5px;
  text-shadow: 0 0 10px rgba(226, 169, 105, 0.2);
}

.steam-cup-wrapper {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  z-index: 10;
  animation: steam-cup-float 6s ease-in-out infinite alternate;
}

@keyframes steam-cup-float {
  0% {
    transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-6px) rotate(-1.5deg);
  }
}

.steam-vapor-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 169, 105, 0.2) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  animation: steam-vapor-pulse 4.5s ease-in-out infinite alternate;
}

@keyframes steam-vapor-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.35;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .steam-cup-wrapper {
    width: 90px;
    height: 90px;
  }
  .steam-curved-text {
    font-size: 11px;
    letter-spacing: 4px;
  }
  .steam-ambient-glow {
    width: 300px;
    height: 300px;
  }
}

/* ==========================================================================
   Expanding Coffee Storytelling Orbit Section
   ========================================================================== */
#storytelling-orbit-section {
  --orbit-radius: calc(max(240px, 28vh));
  --ring-inner-radius: 180px;
  --ring-middle-radius: 235px;
  --ring-outer-radius: 290px;
  background-color: #070709;
}

.orbit-sticky-wrapper {
  z-index: 5;
}

/* Concentric rings scaling and style */
.orbit-ring-svg {
  transform-origin: center;
  transition: opacity 0.5s ease;
}

#orbit-ring-inner,
#orbit-ring-middle,
#orbit-ring-outer {
  opacity: 0;
  scale: 0.1;
}

#orbit-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #b07a3f 0%, #20130d 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: background 0.8s ease;
  will-change: transform;
  border: 2px solid rgba(226, 169, 105, 0.15);
}

@media (min-width: 769px) {
  #orbit-center-circle {
    width: 325px;
    height: 325px;
  }
}

#storytelling-orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%) rotate(var(--orbit-track-rotation, 0deg));
  transform-style: preserve-3d;
  z-index: 3;
}

.storytelling-orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  /* Radially expanded position using multiplier from 0 to 1 */
  transform: translate(-50%, -50%) rotate(var(--base-angle)) translateY(calc(-1 * var(--orbit-radius) * var(--expand-multiplier, 0)));
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform, opacity;
}

.storytelling-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.25rem;
  padding: 0.5rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Counter-rotate each item so it stays upright as track and base rotate */
  rotate: calc(-1 * (var(--base-angle) + var(--orbit-track-rotation, 0deg)));
  scale: 0.75;
  filter: blur(1.5px) grayscale(25%);
  transition: scale 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, background 0.5s ease;
  will-change: rotate, scale, filter;
}

.storytelling-orbit-item.active .storytelling-item-inner {
  scale: 1.25;
  filter: blur(0px) grayscale(0%);
  background: rgba(255, 255, 255, 0.98);
  border-color: #e2a969;
}

#orbit-details-panel {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #storytelling-orbit-section {
    --orbit-radius: calc(max(130px, 18vh));
    --ring-inner-radius: 96px;
    --ring-middle-radius: 125.3px;
    --ring-outer-radius: 154.7px;
  }
  .storytelling-orbit-item {
    width: 64px;
    height: 64px;
  }
  #orbit-center-circle {
    width: 175px;
    height: 175px;
  }
  .storytelling-orbit-item.active .storytelling-item-inner {
    scale: 1.15;
  }
}