/* =========================================================================
   CORE DESIGN SYSTEM — JIMMY'S COFFEE
   Brand Palette: Black & White / Monochromatic
   ========================================================================= */
:root {
  /* Core Palette */
  --color-black:        hsl(0, 0%, 4%);
  --color-black-soft:   hsl(0, 0%, 7%);
  --color-black-card:   hsl(0, 0%, 10%);
  --color-black-raised: hsl(0, 0%, 13%);
  --color-black-border: hsl(0, 0%, 16%);

  --color-white:        hsl(0, 0%, 98%);
  --color-white-soft:   hsl(0, 0%, 92%);
  --color-white-muted:  hsl(0, 0%, 75%);
  --color-white-faint:  hsl(0, 0%, 45%);

  --color-glass-bg:     rgba(255, 255, 255, 0.04);
  --color-glass-border: rgba(255, 255, 255, 0.09);
  --color-glass-hover:  rgba(255, 255, 255, 0.07);

  /* Status colours (kept functional) */
  --color-open-green:   hsl(145, 55%, 48%);
  --color-open-glow:    hsla(145, 55%, 48%, 0.15);
  --color-closed-amber: hsl(38, 78%, 58%);
  --color-closed-glow:  hsla(38, 78%, 58%, 0.15);

  /* Success */
  --color-success:      hsl(145, 55%, 48%);
  --color-success-glow: hsla(145, 55%, 48%, 0.15);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --header-height: 72px;
  --max-width:     1280px;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     32px;
  --radius-pill:   9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.7);

  /* Gold accent */
  --color-gold: #d4af37;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease-out);
}

/* =========================================================================
   LIGHT THEME OVERRIDES — CSS variable remaps
   ========================================================================= */
html[data-theme="light"] {
  --color-bg:        #fdf6ee;
  --color-surface:   #f5ebe0;
  --color-surface-2: #ede0d4;
  --color-text:      #1a0f00;
  --color-text-muted:#6b4c2a;
  --color-border:    rgba(107,76,42,0.18);

  --color-black:        #fdf6ee;
  --color-black-soft:   #f5ebe0;
  --color-black-card:   #ede0d4;
  --color-black-raised: #e4d5c3;
  --color-black-border: rgba(107,76,42,0.18);

  --color-white:        #1a0f00;
  --color-white-soft:   #2e1c05;
  --color-white-muted:  #4a3018;
  --color-white-faint:  #6b4c2a;

  --color-glass-bg:     rgba(107,76,42,0.06);
  --color-glass-border: rgba(107,76,42,0.14);
  --color-glass-hover:  rgba(107,76,42,0.09);
}

/* =========================================================================
   LIGHT THEME OVERRIDES — component-level fixes
   ========================================================================= */

html[data-theme="light"] .main-header {
  background-color: rgba(253, 246, 238, 0);
}

html[data-theme="light"] .main-header.scrolled {
  background-color: rgba(253, 246, 238, 0.92);
  border-bottom-color: rgba(107,76,42,0.18);
  box-shadow: 0 4px 32px rgba(107,76,42,0.12);
}

html[data-theme="light"] .logo-img {
  filter: brightness(0.15);
}

html[data-theme="light"] .footer-logo-img {
  filter: brightness(0.15);
}

html[data-theme="light"] .star-card-logo {
  filter: brightness(0.15);
}

html[data-theme="light"] .nav-link {
  color: var(--color-text-muted);
}
html[data-theme="light"] .nav-link:hover {
  color: var(--color-gold);
  background-color: rgba(107,76,42,0.08);
}

html[data-theme="light"] .nav-cta-btn {
  background-color: var(--color-gold);
  color: #1a0f00;
}

html[data-theme="light"] .btn-outline {
  border-color: rgba(26,15,0,0.35);
  color: #1a0f00;
}
html[data-theme="light"] .btn-outline:hover {
  border-color: var(--color-gold);
  background-color: rgba(212,175,55,0.08);
}

html[data-theme="light"] #btn-view-locations {
  background-color: #1a0f00;
  border-color: #1a0f00;
  color: #ffffff;
}
html[data-theme="light"] #btn-view-locations:hover {
  background-color: #2e1c05;
  border-color: #2e1c05;
}

html[data-theme="light"] .image-overlay-card {
  background: rgba(255,255,255,0.92);
  border-color: rgba(26,15,0,0.12);
}
html[data-theme="light"] .image-overlay-card h5,
html[data-theme="light"] .image-overlay-card p {
  color: #050505;
}

html[data-theme="light"] #theme-toggle {
  background: rgba(253,246,238,0.9);
  border-color: rgba(107,76,42,0.3);
  color: #1a0f00;
  box-shadow: 0 2px 12px rgba(107,76,42,0.15);
}

/* Remap :root[data-theme] kept for any leftover references */
:root[data-theme="light"] {
  --color-bg:        #fdf6ee;
  --color-surface:   #f5ebe0;
  --color-surface-2: #ede0d4;
  --color-text:      #1a0f00;
  --color-text-muted:#6b4c2a;
  --color-border:    rgba(107,76,42,0.18);

  --color-black:        #fdf6ee;
  --color-black-soft:   #f5ebe0;
  --color-black-card:   #ede0d4;
  --color-black-raised: #e4d5c3;
  --color-black-border: rgba(107,76,42,0.18);

  --color-white:        #1a0f00;
  --color-white-soft:   #2e1c05;
  --color-white-muted:  #4a3018;
  --color-white-faint:  #6b4c2a;

  --color-glass-bg:     rgba(107,76,42,0.06);
  --color-glass-border: rgba(107,76,42,0.14);
  --color-glass-hover:  rgba(107,76,42,0.09);
}

/* =========================================================================
   1. RESET & BASE
   ========================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  transition: background 0.4s ease, color 0.4s ease;
}

input, textarea, select,
[contenteditable] {
  cursor: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { text-decoration: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-black); }
::-webkit-scrollbar-thumb {
  background: var(--color-black-border);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-white-faint); }

/* =========================================================================
   2. LAYOUT UTILITIES
   ========================================================================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.text-center { text-align: center; }
.text-white  { color: var(--color-white); }

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-header { margin-bottom: 72px; }

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-white);
}

.title-underline {
  width: 48px;
  height: 2px;
  background-color: var(--color-white);
  margin: 0 auto 24px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-white-muted);
  max-width: 600px;
  margin: 0 auto;
}

.badge-accent {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-white);
  background-color: var(--color-glass-bg);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid var(--color-glass-border);
}

.glow-border {
  border: 1px solid var(--color-glass-border);
}

/* =========================================================================
   3. BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--color-black);
}
.btn-primary:hover {
  background-color: var(--color-white-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.12);
}

.btn-outline {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 1.5px solid var(--color-white);
}
.btn-outline:hover {
  border-color: var(--color-white-soft);
  background-color: var(--color-white-soft);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.full-width { width: 100%; }

/* =========================================================================
   4. PRELOADER & SKELETON
   ========================================================================= */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--color-black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.loader-cup-container {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
  color: var(--color-white-faint);
}

.loader-cup-svg { width: 100%; height: 100%; }

#loader-liquid {
  transition: y 0.1s linear;
  fill: var(--color-white);
}

.loader-text {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white-muted);
  margin-bottom: 16px;
}

.loader-bar-outer {
  width: 200px;
  height: 2px;
  background-color: var(--color-black-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.loader-bar-inner {
  width: 0%;
  height: 100%;
  background-color: var(--color-white);
  border-radius: var(--radius-pill);
  transition: width 0.1s linear;
}

/* Skeleton */
.skeleton-underlay {
  position: absolute;
  inset: 0;
  padding: 100px 80px 40px;
  opacity: 0.06;
  display: flex;
  flex-direction: column;
  gap: 50px;
  pointer-events: none;
}

.skeleton-header {
  height: 36px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  animation: sk-shimmer 1.8s infinite ease-in-out;
}

.skeleton-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  height: 420px;
}

.skeleton-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.skeleton-title, .skeleton-subtitle, .skeleton-button, .skeleton-hero-right, .skeleton-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  animation: sk-shimmer 1.8s infinite ease-in-out;
}
.skeleton-title    { height: 70px; }
.skeleton-subtitle { height: 110px; }
.skeleton-button   { height: 44px; width: 160px; border-radius: var(--radius-pill); }
.skeleton-hero-right { height: 100%; border-radius: var(--radius-md); }

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  height: 220px;
}
.skeleton-card { border-radius: var(--radius-md); }

@keyframes sk-shimmer {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* =========================================================================
   5. HEADER — TRANSPARENT → FROSTED GLASS ON SCROLL
   ========================================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s var(--ease-out),
              backdrop-filter 0.45s var(--ease-out),
              -webkit-backdrop-filter 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out),
              height 0.35s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
}

.main-header.scrolled {
  height: 60px;
  background-color: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--color-glass-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.55);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  flex-shrink: 0;
}
.logo-link:hover { opacity: 0.8; }

.logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.scrolled .logo-img { height: 30px; }

/* Nav links — hidden at top, fade in on scroll */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.main-header.scrolled .header-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-white-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.25s ease, background-color 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--color-white);
  background-color: var(--color-glass-hover);
}

/* =========================================================================
   6. HERO SECTION
   ========================================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  display: flex;
  align-items: center;
  background-color: var(--color-black);
  overflow: hidden;
}

/* --- Parallax layers (GPU-accelerated via CSS custom prop --scroll-y) --- */
.parallax-layer-far,
.parallax-layer-mid,
.parallax-layer-near {
  position: absolute;
  inset: -20% 0;
  pointer-events: none;
  will-change: transform;
}

.parallax-layer-far {
  /* Slow radial gradient background drift */
  background: radial-gradient(ellipse 80% 60% at 65% 40%,
    rgba(255,255,255,0.025) 0%,
    rgba(255,255,255,0.008) 45%,
    transparent 70%);
  z-index: 0;
  transform: translateY(calc(var(--scroll-y, 0px) * 0.15));
}

.parallax-layer-mid {
  /* Glowing blobs */
  z-index: 0;
  transform: translateY(calc(var(--scroll-y, 0px) * 0.30));
}
.parallax-layer-mid::before {
  content: '';
  position: absolute;
  top: 18%;
  right: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  border-radius: 50%;
  animation: hero-drift 20s infinite alternate ease-in-out;
}
.parallax-layer-mid::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 65%);
  border-radius: 50%;
  animation: hero-drift 26s infinite alternate-reverse ease-in-out;
}

.parallax-layer-near {
  /* Grain texture overlay */
  z-index: 1;
  transform: translateY(calc(var(--scroll-y, 0px) * 0.50));
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.6;
}

.hero-radial-bg {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 65%);
  pointer-events: none;
  animation: hero-drift 18s infinite alternate ease-in-out;
}

@keyframes hero-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, 8%) scale(1.08); }
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 1.12;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--color-white-muted);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 520px;
}

.hero-feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
}

.feature-icon { font-size: 1.6rem; line-height: 1; }

.feature-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 3px;
}
.feature-info p {
  font-size: 0.8rem;
  color: var(--color-white-faint);
}

/* Hero image side */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.grid-layout-frame { position: relative; padding: 20px; }

.microgrid-dot {
  position: absolute;
  width: 72px;
  height: 72px;
  background-image: radial-gradient(var(--color-black-border) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.5;
}
.bg-dot-top-left    { top: -8px; left: -8px; }
.bg-dot-bottom-right{ bottom: -8px; right: -8px; }

.image-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-black-card);
  transition: var(--transition);
}
.image-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.hero-video {
  background: var(--color-black-card);
}

.image-overlay-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  max-width: 260px;
}
.card-icon { font-size: 1.4rem; }
.image-overlay-card h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
}
.image-overlay-card p {
  font-size: 0.75rem;
  color: var(--color-white-faint);
}

/* =========================================================================
   7. ABOUT SECTION
   ========================================================================= */
.about-section {
  padding: 120px 0;
  background-color: var(--color-black-soft);
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 90% center;
}

.experience-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}
.badge-txt {
  font-size: 0.58rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 20px;
}

.about-paragraph {
  font-size: 1rem;
  color: var(--color-white-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.ethos-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.ethos-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ethos-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  color: var(--color-white);
  font-size: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}
.ethos-item div {
  font-size: 0.93rem;
  color: var(--color-white-muted);
}

/* =========================================================================
   8. GSAP PARALLAX CUP SHOWCASE
   ========================================================================= */
.showcase-section {
  background-color: var(--color-black);
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

/* Marquee - absolute at top of showcase */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-white);
  padding: 12px 0;
  position: absolute;
  top: var(--header-height);
  left: 0;
  z-index: 10;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-content span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-black);
  padding: 0 12px;
}
.marquee-sep {
  color: var(--color-black-border) !important;
  padding: 0 4px !important;
  letter-spacing: 0 !important;
}
html[data-theme="light"] .marquee-sep {
  color: #ffffff !important;
}

/* Showcase headline in background */
.showcase-headline-wrapper {
  position: absolute;
  top: 15%;
  left: 5%;
  z-index: 12;
  pointer-events: none;
}

.showcase-headline {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.sh-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-white-faint);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  margin-bottom: 4px;
}

.sh-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.1;
  color: var(--color-white);
  font-style: normal;
  text-shadow: 0 8px 32px rgba(0,0,0,0.85);
}
.sh-title em {
  font-style: italic;
  color: var(--color-white-muted);
}

/* Parallax stage - absolute layering container */
.parallax-stage {
  position: relative;
  width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: visible;
  margin-top: 50px;
}

/* Central split coffee image container */
.bean-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 22vw, 330px);
  aspect-ratio: 2 / 3;
  z-index: 8;
  pointer-events: none;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.85));
  will-change: transform, opacity;
}

.bean-half {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
}
.bean-half-image-left {
  clip-path: polygon(
    0 0,
    64% 0,
    61.4% 15%,
    55.5% 20%,
    53.3% 25%,
    52% 30%,
    49.7% 35%,
    46.4% 40%,
    40.9% 45%,
    39% 50%,
    35.6% 55%,
    33.1% 60%,
    32.7% 65%,
    33.7% 70%,
    33% 75%,
    32.8% 80%,
    32% 100%,
    0 100%
  );
}
.bean-half-image-right {
  clip-path: polygon(
    64% 0,
    100% 0,
    100% 100%,
    32% 100%,
    32.8% 80%,
    33% 75%,
    33.7% 70%,
    32.7% 65%,
    33.1% 60%,
    35.6% 55%,
    39% 50%,
    40.9% 45%,
    46.4% 40%,
    49.7% 35%,
    52% 30%,
    53.3% 25%,
    55.5% 20%,
    61.4% 15%
  );
}

/* Radial backdrop glow behind cups */
.center-glow-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

/* Absolute Positioning for cups */
.p-cup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, opacity, left, top;
  opacity: 0;
}

/* Layering & Initial CSS states to prevent FOUC / layout flash */
.p-cup--black-lid {
  z-index: 6;
}
.p-cup--iced-latte {
  z-index: 5;
}
.p-cup--latte-art {
  z-index: 4;
}
.p-cup--almond {
  z-index: 3;
}

.p-cup-inner {
  position: relative;
  width: 220px; /* Highly detailed premium width */
  transition: transform 0.45s var(--ease-out);
  animation: drink-orbit 7s ease-in-out infinite;
  transform-origin: 50% 58%;
}

.p-cup--iced-latte .p-cup-inner { animation-delay: -1.3s; }
.p-cup--latte-art .p-cup-inner { animation-delay: -2.6s; }
.p-cup--almond .p-cup-inner { animation-delay: -3.9s; }

.p-cup-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.65));
  transition: filter 0.45s ease, transform 0.45s var(--ease-out);
}

/* Elegant lift and shadow expansion on hover */
.p-cup:hover .p-cup-img {
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.85));
  transform: translateY(-8px) scale(1.03);
}

@keyframes drink-orbit {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  35% { transform: translateY(-14px) rotate(3deg); }
  70% { transform: translateY(7px) rotate(-4deg); }
}

/* Ambient floating elements */
.ambient-beans {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.amb-bean {
  position: absolute;
  font-size: 1.1rem;
  opacity: 0.18;
  animation: amb-float 6s ease-in-out infinite alternate;
}
.amb-bean:nth-child(2) { animation-delay: 1s; }
.amb-bean:nth-child(3) { animation-delay: 2s; font-size: 0.8rem; }
.amb-bean:nth-child(4) { animation-delay: 0.5s; }
.amb-bean:nth-child(5) { animation-delay: 1.5s; font-size: 0.9rem; }
.amb-bean:nth-child(6) { animation-delay: 2.5s; }

@keyframes amb-float {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(15deg); }
}

/* =========================================================================
   9. LOCATIONS
   ========================================================================= */
.locations-section {
  padding: 120px 0;
  background-color: var(--color-black-soft);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch;
}

.location-card {
  background-color: var(--color-black-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,0.14);
}

.location-status-bar {
  padding: 20px 28px;
  background-color: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.location-city {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white-faint);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}
.status-badge.open   { background: var(--color-open-glow);   color: var(--color-open-green); }
.status-badge.closed { background: var(--color-closed-glow); color: var(--color-closed-amber); }

html[data-theme="light"] .location-status-bar {
  background-color: #050505;
  border-bottom-color: rgba(0,0,0,0.35);
}
html[data-theme="light"] .location-city {
  color: #ffffff;
}
html[data-theme="light"] .status-badge {
  background: rgba(212,175,55,0.12);
  color: var(--color-gold);
}

.status-badge.open .status-dot {
  background: var(--color-open-green);
  box-shadow: 0 0 6px var(--color-open-green);
  animation: status-pulse 2s infinite;
}
.status-badge.closed .status-dot { background: var(--color-closed-amber); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

.location-body {
  padding: 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.location-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.location-desc {
  font-size: 0.9rem;
  color: var(--color-white-faint);
  margin-bottom: 28px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.02);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-glass-border);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--color-white-muted);
}
.hours-row.active-day {
  color: var(--color-white);
  font-weight: 600;
}
.hours-row .days { font-weight: 500; }

.location-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.detail-item {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-white-muted);
  align-items: center;
}
.detail-icon { font-size: 1rem; }

.map-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.mock-map {
  flex-grow: 1;
  height: 72px;
  border-radius: var(--radius-sm);
  background-color: var(--color-black-raised);
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--color-glass-border);
}
.pin {
  font-size: 1.4rem;
  animation: pin-bounce 2s infinite alternate ease-in-out;
}
@keyframes pin-bounce {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}
.map-label {
  font-size: 0.7rem;
  color: var(--color-white-faint);
  position: absolute;
  bottom: 7px;
}
.btn-map {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--color-glass-bg);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-glass-border);
  transition: var(--transition);
}
.btn-map:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* =========================================================================
   10. SPECIALTY MENU
   ========================================================================= */
.menu-section {
  padding: 120px 0;
  background-color: var(--color-black);
}

.menu-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}

.filter-btn {
  font-family: var(--font-sans);
  background: var(--color-glass-bg);
  color: var(--color-white-muted);
  border: 1px solid var(--color-glass-border);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.filter-btn:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.2);
}
.filter-btn.active {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transition: opacity 0.3s ease;
}

.menu-item-card {
  background: var(--color-black-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.menu-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,0.12);
}

.menu-item-illustration {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(212,175,55,0.07) 0%,
    transparent 70%);
  border-bottom: 1px solid var(--color-glass-border);
  transition: background 0.4s var(--ease-out);
}

.menu-item-card:hover .menu-item-illustration {
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(212,175,55,0.13) 0%,
    transparent 70%);
}

.menu-item-illustration .menu-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}

.menu-item-info { padding: 20px 22px 22px; }

.menu-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.menu-item-desc {
  font-size: 0.8rem;
  color: var(--color-white-faint);
  line-height: 1.65;
}

/* =========================================================================
   11. BREW STARS SECTION
   ========================================================================= */
.rewards-section {
  padding: 120px 0;
  background-color: var(--color-black-soft);
}

.rewards-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
}

.rewards-info {
  padding: 64px;
  background-color: var(--color-black-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rewards-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 18px;
}

.rewards-lead {
  font-size: 1rem;
  color: var(--color-white-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.rewards-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.rstep {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.rstep-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rstep-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
}
.rstep-text strong {
  font-size: 0.95rem;
  color: var(--color-white);
  font-weight: 600;
}
.rstep-text span {
  font-size: 0.83rem;
  color: var(--color-white-faint);
}

.rewards-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.rewards-note p {
  font-size: 0.82rem;
  color: var(--color-white-faint);
  line-height: 1.6;
}

/* Right side — Star card visual */
.rewards-visual {
  padding: 64px 56px;
  background-color: var(--color-black-raised);
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-card {
  width: 100%;
  max-width: 360px;
  background: var(--color-black-card);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.star-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-glass-border);
}
.star-card-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.star-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
}
.star-card-sub {
  font-size: 0.72rem;
  color: var(--color-white-faint);
}

/* 10-star grid */
.star-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.star-slot {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--color-glass-border);
  opacity: 0;
  transform: scale(0.5);
}

#star-grid.star-animate .star-slot {
  animation: star-enter 0.5s var(--ease-out) both;
  animation-delay: var(--delay);
}
.star-slot.filled {
  background: var(--color-glass-hover);
}
.star-slot.empty {
  background: transparent;
}

#star-grid.star-animate .star-slot.empty {
  animation: star-enter-empty 0.5s var(--ease-out) both;
  animation-delay: var(--delay);
}

@keyframes star-enter-empty {
  0%   { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1);   opacity: 0.35; }
}

@keyframes star-enter {
  0%   { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

/* Progress bar */
.star-card-progress { margin-bottom: 20px; }
.scp-bar-bg {
  height: 4px;
  background: var(--color-black-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 10px;
}
.scp-bar-fill {
  height: 100%;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  transition: width 1s var(--ease-out);
}
.scp-label {
  font-size: 0.78rem;
  color: var(--color-white-muted);
}

.star-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--color-glass-border);
  text-align: center;
}
.scf-note {
  font-size: 0.74rem;
  color: var(--color-white-faint);
  font-style: italic;
}

/* =========================================================================
   12. CONTACT FORM
   ========================================================================= */
.contact-section {
  padding: 80px 0;
  background-color: var(--color-black);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.contact-card {
  background: var(--color-black-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
}

.contact-info-panel {
  padding: 60px;
  background-color: var(--color-black-raised);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.panel-heading {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 12px;
}
.panel-lead {
  font-size: 0.92rem;
  color: var(--color-white-faint);
  margin-bottom: 36px;
}
.panel-details { display: flex; flex-direction: column; gap: 18px; }
.panel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--color-white-muted);
}
.panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.panel-icon svg,
.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}
.panel-icon-mail,
.social-icon-mail { color: #ea4335; }
.panel-icon-facebook,
.social-icon-facebook { color: #1877f2; }
.panel-icon-instagram,
.social-icon-instagram { color: #e4405f; }

.contact-form { padding: 60px; }
.form-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-white);
  margin-bottom: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full-width { grid-column: span 2; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-white-faint);
}
.form-control {
  font-family: var(--font-sans);
  background: var(--color-black-raised);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  color: var(--color-white);
  font-size: 0.92rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}
.form-control::placeholder { color: var(--color-white-faint); }
textarea.form-control { resize: vertical; }

.form-success-msg {
  display: none;
  background: var(--color-success-glow);
  color: var(--color-success);
  border: 1px solid var(--color-success);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 16px;
  text-align: center;
}

/* =========================================================================
   13. FOOTER
   ========================================================================= */
.hero-footer-container {
  padding: 0 40px 40px;
  background-color: var(--color-black);
}

.hero-footer-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-black-card);
  border-radius: var(--radius-lg);
  padding: 72px 60px 36px;
  border: 1px solid var(--color-glass-border);
  position: relative;
}

.hero-footer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-white-faint) 40%, var(--color-white-faint) 60%, transparent 100%);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.footer-top {
  border-bottom: 1px solid var(--color-glass-border);
  padding-bottom: 48px;
  margin-bottom: 48px;
}

.footer-cta-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-white);
  margin-bottom: 8px;
}
.footer-cta-desc {
  font-size: 0.9rem;
  color: var(--color-white-faint);
}

.footer-newsletter-box { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-input {
  font-family: var(--font-sans);
  flex-grow: 1;
  background: var(--color-black-raised);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  color: var(--color-white);
  font-size: 0.9rem;
  transition: var(--transition);
}
.newsletter-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
}
.newsletter-input::placeholder { color: var(--color-white-faint); }

.newsletter-btn {
  font-family: var(--font-sans);
  background: var(--color-white);
  color: var(--color-black);
  border: none;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--color-white-soft); }

.newsletter-success {
  display: none;
  color: var(--color-success);
  font-size: 0.82rem;
}

.footer-logo-only {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.86rem;
  color: var(--color-white-faint);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.payment-logo {
  display: block;
  width: 58px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.payment-logo-wide { width: 76px; }

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  transition: var(--transition);
  padding: 8px;
}
.social-icon:hover {
  background: var(--color-white);
  transform: translateY(-3px);
}

.footer-bottom { border-top: 1px solid var(--color-glass-border); padding-top: 28px; }
.copyright-text { font-size: 0.75rem; color: var(--color-white-faint); }

/* =========================================================================
   14. TOAST NOTIFICATIONS
   ========================================================================= */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--color-black-raised);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  color: var(--color-white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.5s var(--ease-out);
  max-width: 340px;
}
.toast-notification.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.4rem; }
.toast-message { font-size: 0.88rem; font-weight: 500; }

/* =========================================================================
   15. SECTION ENTRANCE ANIMATIONS (IntersectionObserver driven)
   ========================================================================= */

/* Base state: invisible + shifted down */
.section-container,
.menu-item-card,
.location-card,
.hero-feature-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Revealed state: fully visible */
.section-container.is-visible,
.menu-item-card.is-visible,
.location-card.is-visible,
.hero-feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* GSAP already animates .about-text-content, .about-image-card — exclude from double-animate */
.about-text-content,
.about-image-card {
  opacity: 0;
  transform: none;
  transition: none;
}

/* =========================================================================
   16. RESPONSIVE HEADER ADDITIONS
   ========================================================================= */
@media (max-width: 768px) {
  .main-header,
  .main-header.scrolled {
    height: 72px;
    background-color: rgba(6, 6, 6, 0.78);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom-color: var(--color-glass-border);
  }

  .header-container {
    padding: 0 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .logo-link {
    justify-content: flex-start;
  }

  .logo-img,
  .scrolled .logo-img {
    height: 28px;
  }

  #nav-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
  }

  #nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  #nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  #nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-nav,
  .main-header.scrolled .header-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
    background: var(--color-black-soft);
    border-bottom: 1px solid var(--color-glass-border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    scrollbar-width: auto;
  }

  .header-nav.nav-open,
  .main-header.scrolled .header-nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 16px 24px;
    border-radius: 0;
    flex: none;
  }

  .nav-cta-btn {
    display: none;
  }

  .header-nav .nav-cta-btn {
    display: inline-flex;
  }
}

@media (min-width: 769px) {
  #nav-toggle {
    display: none;
  }
}

/* =========================================================================
   19. CUSTOM CURSOR
   ========================================================================= */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s ease, filter 0.15s ease;
  will-change: left, top;
}

#custom-cursor.cursor--hover {
  transform: translate(-50%, -50%) scale(1.4);
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.7));
}

#custom-cursor.cursor--click {
  transform: translate(-50%, -50%) scale(0.8);
}

#custom-cursor.cursor--text {
  transform: translate(-50%, -50%);
}
#custom-cursor.cursor--text svg {
  display: none;
}
#custom-cursor.cursor--text::after {
  content: '';
  display: block;
  width: 2px;
  height: 20px;
  background: var(--color-gold);
  border-radius: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* =========================================================================
   20. THEME TOGGLE BUTTON
   ========================================================================= */
#theme-toggle {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-glass-border);
  background: var(--color-black-raised);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}
#theme-toggle:hover {
  background: var(--color-black-card);
  transform: scale(1.1);
}

/* =========================================================================
   21. MENU FILTER — CARD TRANSITION CLASSES
   ========================================================================= */
.card-exit {
  transform: scale(0.88) !important;
  opacity: 0 !important;
  transition: transform 0.22s ease-out, opacity 0.22s ease-out !important;
}

.card-enter {
  opacity: 0 !important;
  transform: translateY(16px) !important;
  transition: none !important;
}

.card-enter.card-enter--active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out !important;
}

/* =========================================================================
   22. LIVE STATUS BADGE — GREEN / RED OVERRIDES
   ========================================================================= */
.status-badge.open .status-dot   { background: #22c55e !important; box-shadow: 0 0 6px #22c55e; }
.status-badge.closed .status-dot { background: #ef4444 !important; box-shadow: none; }

/* =========================================================================
   23. RESPONSIVE (original block continues below)
   ========================================================================= */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-section { padding-top: calc(var(--header-height) + 30px); text-align: center; }
  .hero-lead    { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-features-grid { margin-left: auto; margin-right: auto; }
  .hero-image-wrapper { justify-content: center; }
  .hero-image { height: 400px; }

  .about-img { height: 380px; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }

  .p-cup-inner { width: 180px; }
  .p-cup-img   { height: auto; }
  .rewards-card { grid-template-columns: 1fr; }
  .rewards-info, .rewards-visual { padding: 48px; }
}

@media (max-width: 768px) {
  html,
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-grid,
  .rewards-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 72px;
    text-align: left;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
  }

  .hero-image-wrapper {
    order: -1;
    margin-bottom: 22px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    line-height: 1.04;
    margin-bottom: 20px;
  }

  .hero-lead {
    margin-left: 0;
    margin-right: 0;
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 32px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    gap: 12px;
  }

  .grid-layout-frame {
    width: 100%;
    padding: 12px;
  }

  .hero-image {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .image-overlay-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .section-title { font-size: 2.1rem; }

  .about-img {
    object-position: 78% center;
  }

  .experience-badge {
    top: auto;
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
  }

  .showcase-section {
    height: 100svh;
  }

  .showcase-headline-wrapper {
    top: 18%;
    left: 20px;
    right: 20px;
  }

  .sh-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .parallax-stage {
    height: 460px;
    margin-top: 80px;
  }

  .p-cup-inner { width: 110px; }
  .p-cup-img   { height: auto; }
  .showcase-headline { flex-direction: column; gap: 16px; align-items: flex-start; }
  .sh-label { writing-mode: horizontal-tb; transform: none; }

  .menu-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 32px;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .menu-grid { grid-template-columns: 1fr; }

  .menu-item-card {
    min-height: auto;
  }

  .rewards-info, .rewards-visual { padding: 32px; }
  .rewards-title { font-size: 2rem; }
  .star-grid { gap: 8px; }

  .contact-form, .contact-info-panel { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }

  .hero-footer-container { padding: 0 16px 24px; }
  .hero-footer-card {
    padding: 42px 24px 28px;
    border-radius: var(--radius-md);
  }
  .newsletter-form { flex-direction: column; }
  .footer-middle { grid-template-columns: 1fr; gap: 36px; }
  .section-container { padding: 0 20px; }
  .hero-container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.15rem, 12vw, 2.75rem);
  }

  .locations-grid {
    gap: 22px;
  }

  .location-status-bar {
    padding: 16px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .location-body {
    padding: 26px 22px;
  }

  .map-container {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-map {
    text-align: center;
  }

  .payment-logos {
    max-width: 230px;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
  #custom-cursor {
    display: none !important;
  }

  body,
  a,
  button,
  input,
  textarea,
  select,
  label {
    cursor: auto !important;
  }
}
