/* ═══════════════════════════════════════════════════════════
   VELVET BEAN CAFÉ — STYLES
   Design: Warm Modern / Cinematic / Third-Wave Coffee
   Palette: Espresso · Cream · Caramel · Sage · Matte Black
═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Brand Colors */
  --espresso:    #4B2E2B;
  --espresso-lt: #6B4441;
  --cream:       #F5E6D3;
  --cream-dk:    #E8D4BC;
  --caramel:     #C68B59;
  --caramel-lt:  #D9A87A;
  --sage:        #8FA38C;
  --sage-lt:     #A8BBA5;
  --black:       #1E1E1E;
  --black-lt:    #2A2A2A;

  /* Theme (Dark default) */
  --bg:          #141210;
  --bg-2:        #1C1916;
  --bg-3:        #231F1B;
  --surface:     #2A2420;
  --surface-2:   #332E29;
  --border:      rgba(198,139,89,0.15);
  --border-2:    rgba(198,139,89,0.25);
  --text:        #F0E6D8;
  --text-2:      #C4B09A;
  --text-3:      #8A7A6A;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full: 9999px;

  /* Transitions */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.5);
  --glow:       0 0 40px rgba(198,139,89,0.2);
}

/* Light Theme */
[data-theme="light"] {
  --bg:       #FAF6F1;
  --bg-2:     #F5EDE3;
  --bg-3:     #EDE0D0;
  --surface:  #FFFFFF;
  --surface-2:#F5E6D3;
  --border:   rgba(75,46,43,0.12);
  --border-2: rgba(75,46,43,0.22);
  --text:     #2A1A18;
  --text-2:   #5A3E3A;
  --text-3:   #8A6A60;
  --shadow-sm:  0 2px 8px rgba(75,46,43,0.1);
  --shadow-md:  0 8px 32px rgba(75,46,43,0.15);
  --shadow-lg:  0 24px 64px rgba(75,46,43,0.2);
  --glow:       0 0 40px rgba(198,139,89,0.15);
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section__title em {
  font-style: italic;
  color: var(--caramel);
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
}

.btn:hover::before { transform: translateX(0); }

.btn--primary {
  background: var(--caramel);
  color: #fff;
  box-shadow: 0 4px 20px rgba(198,139,89,0.35);
}

.btn--primary:hover {
  background: var(--caramel-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198,139,89,0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--caramel);
  color: var(--caramel);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.8rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── LOADER ─────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 9999;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__cup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader__steam {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  height: 30px;
  align-items: flex-end;
}

.loader__steam span {
  width: 3px;
  background: var(--caramel);
  border-radius: 3px;
  animation: steamRise 1.4s ease-in-out infinite;
  opacity: 0;
}

.loader__steam span:nth-child(1) { height: 20px; animation-delay: 0s; }
.loader__steam span:nth-child(2) { height: 28px; animation-delay: 0.2s; }
.loader__steam span:nth-child(3) { height: 16px; animation-delay: 0.4s; }

@keyframes steamRise {
  0%   { opacity: 0; transform: translateY(0) scaleX(1); }
  30%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-20px) scaleX(1.5); }
}

.loader__body {
  width: 60px;
  height: 50px;
  background: var(--espresso);
  border-radius: 0 0 30px 30px;
  border: 3px solid var(--caramel);
  position: relative;
  overflow: hidden;
}

.loader__body::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--caramel);
  animation: fillCup 2s ease-in-out infinite;
}

@keyframes fillCup {
  0%   { height: 0; }
  60%  { height: 100%; }
  100% { height: 100%; }
}

.loader__saucer {
  width: 80px;
  height: 10px;
  background: var(--espresso);
  border-radius: 50%;
  border: 2px solid var(--caramel);
  margin-top: 4px;
}

.loader__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-2);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(20,18,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(250,246,241,0.9);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.nav__logo-icon { font-size: 1.2rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--caramel);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s var(--ease-spring);
}

.theme-toggle:hover {
  background: var(--surface-2);
  transform: rotate(20deg) scale(1.1);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20,18,16,0.75) 0%,
    rgba(75,46,43,0.5) 50%,
    rgba(20,18,16,0.85) 100%
  );
}

/* Steam Particles */
.steam-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.steam-particle {
  position: absolute;
  bottom: 30%;
  width: 4px;
  border-radius: 50%;
  background: rgba(245,230,211,0.15);
  animation: steamFloat linear infinite;
  filter: blur(2px);
}

@keyframes steamFloat {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.1; }
  100% { transform: translateY(-60vh) translateX(var(--drift)) scale(2.5); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-md);
  padding-top: 6rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--caramel-lt);
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,230,211,0.75);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ticker */
.hero__ticker {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(198,139,89,0.2);
  border-bottom: 1px solid rgba(198,139,89,0.2);
  background: rgba(20,18,16,0.4);
  backdrop-filter: blur(8px);
  padding: 0.75rem 0;
}

.hero__ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.hero__ticker-track span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.7;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,230,211,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--caramel));
}

@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about {
  background: var(--bg-2);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.about__img-wrap img {
  transition: transform 0.8s var(--ease);
}

.about__img-wrap:hover img { transform: scale(1.04); }

.about__badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: var(--caramel);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about__badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.about__badge-label {
  font-size: 0.7rem;
  opacity: 0.9;
  white-space: nowrap;
}

.about__stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.about__stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  text-align: center;
}

.about__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--caramel);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  display: block;
}

.about__body {
  color: var(--text-2);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about__pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about__pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about__pillar strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.about__pillar p {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ── SEASONAL CAROUSEL ──────────────────────────────────── */
.seasonal {
  background: var(--bg);
  overflow: hidden;
}

.seasonal__header {
  text-align: center;
  margin-bottom: 3rem;
}

.seasonal__carousel {
  position: relative;
}

.seasonal__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

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

.seasonal__card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.seasonal__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow);
}

.seasonal__card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.seasonal__card-img img {
  transition: transform 0.5s var(--ease);
}

.seasonal__card:hover .seasonal__card-img img { transform: scale(1.06); }

.seasonal__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--caramel);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
}

.seasonal__card-body {
  padding: 1.5rem;
}

.seasonal__card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.seasonal__card-body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.seasonal__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--caramel);
  font-weight: 500;
}

.seasonal__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.seasonal__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-spring);
}

.seasonal__btn:hover {
  background: var(--caramel);
  border-color: var(--caramel);
  color: #fff;
  transform: scale(1.1);
}

/* ── MENU ───────────────────────────────────────────────── */
.menu {
  background: var(--bg-2);
}

.menu__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.menu__subtitle {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.menu__tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.4rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.menu__tab {
  padding: 0.6rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}

.menu__tab.active {
  background: var(--caramel);
  color: #fff;
  box-shadow: 0 2px 12px rgba(198,139,89,0.4);
}

.menu__tab:hover:not(.active) {
  color: var(--text);
  background: var(--surface-2);
}

.menu__panel { display: none; }
.menu__panel.active { display: block; }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.menu__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.menu__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--glow);
  border-color: var(--border-2);
}

.menu__item-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.menu__item-img img {
  transition: transform 0.5s var(--ease);
}

.menu__item:hover .menu__item-img img { transform: scale(1.06); }

.menu__item-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu__item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.menu__item-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.menu__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--caramel);
  font-weight: 500;
  white-space: nowrap;
}

.menu__item-body p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
  flex: 1;
}

.menu__tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

/* ── GALLERY ────────────────────────────────────────────── */
.gallery {
  background: var(--bg);
}

.gallery__header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
  padding: 0 var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery__item img {
  transition: transform 0.6s var(--ease);
}

.gallery__item:hover img { transform: scale(1.08); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.gallery__item:hover .gallery__overlay { opacity: 1; }

.gallery__overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
}

/* ── EVENTS ─────────────────────────────────────────────── */
.events {
  background: var(--bg-2);
}

.events__header {
  text-align: center;
  margin-bottom: 3rem;
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 1.5rem;
}

.events__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.events__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}

.events__date {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  background: var(--espresso);
  border-radius: var(--r-md);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.events__day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--caramel);
  line-height: 1;
}

.events__month {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
}

.events__type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caramel);
  display: block;
  margin-bottom: 0.5rem;
}

.events__info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.events__info p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.events__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.events__meta span {
  font-size: 0.75rem;
  color: var(--text-3);
}

/* ── REVIEWS ────────────────────────────────────────────── */
.reviews {
  background: var(--bg);
}

.reviews__header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.reviews__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.reviews__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reviews__card--featured {
  background: var(--espresso);
  border-color: var(--caramel);
  box-shadow: var(--glow);
  transform: translateY(-8px);
}

.reviews__card--featured:hover { transform: translateY(-12px); }

.reviews__stars {
  color: var(--caramel);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.reviews__quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.reviews__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--caramel);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviews__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.reviews__author span {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ── LOYALTY ────────────────────────────────────────────── */
.loyalty {
  background: var(--bg-2);
}

.loyalty__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.loyalty__perks {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.loyalty__perks li {
  font-size: 0.95rem;
  color: var(--text-2);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.loyalty__card {
  background: linear-gradient(135deg, var(--espresso) 0%, var(--espresso-lt) 50%, var(--caramel) 100%);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--glow);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6/1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.loyalty__card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.loyalty__card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.loyalty__card-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  font-style: italic;
}

.loyalty__card-type {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,230,211,0.6);
}

.loyalty__stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.loyalty__stamp {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(245,230,211,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s var(--ease-spring);
}

.loyalty__stamp.filled {
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.loyalty__card-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(245,230,211,0.6);
  letter-spacing: 0.05em;
}

/* ── RESERVE ────────────────────────────────────────────── */
.reserve {
  background: var(--bg);
}

.reserve__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.reserve__block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}

.reserve__desc {
  color: var(--text-2);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Forms */
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.form__row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form__group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-2);
  text-transform: uppercase;
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(198,139,89,0.15);
}

.form__group select option { background: var(--bg-2); }

.reserve__form { margin-top: 2rem; }
.reserve__form .btn { margin-top: 0.5rem; }

/* Order */
.order__quick h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}

.order__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.order__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.order__item:hover { border-color: var(--border-2); }

.order__item-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order__item-right span {
  color: var(--caramel);
  font-family: var(--font-display);
  font-size: 1rem;
}

.order__add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--caramel);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-spring);
}

.order__add:hover { transform: scale(1.15); background: var(--caramel-lt); }

.order__summary {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem;
  min-height: 80px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.order__summary-empty {
  color: var(--text-3);
  text-align: center;
  padding: 1rem 0;
  font-style: italic;
}

.order__summary-line {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}

.order__summary-total {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0 0;
  font-weight: 600;
  color: var(--text);
}

/* ── LOCATION ───────────────────────────────────────────── */
.location {
  background: var(--bg-2);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.location__address {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.location__icon { font-size: 1.5rem; flex-shrink: 0; }

.location__address strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.location__address p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

.location__hours h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}

.hours__row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-2);
}

.hours__row:last-child { border-bottom: none; }

.location__contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}

.location__contact-links a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.location__contact-links a:hover { color: var(--caramel); }

.location__map-placeholder {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.location__map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--caramel);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-full);
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: pinBounce 2s ease-in-out infinite;
}

.location__map-pin span { font-size: 1.2rem; display: block; }
.location__map-pin p { font-size: 0.75rem; white-space: nowrap; margin-top: 0.2rem; }

@keyframes pinBounce {
  0%,100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, -58%); }
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact {
  background: var(--bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact__text p {
  color: var(--text-2);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Spotify Widget */
.spotify__widget {
  margin-top: 2rem;
}

.spotify__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.spotify__inner:hover { border-color: var(--border-2); }

.spotify__icon { font-size: 2rem; flex-shrink: 0; }

.spotify__text { flex: 1; }
.spotify__text strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.spotify__text p { font-size: 0.78rem; color: var(--text-3); }

.spotify__btn {
  background: #1DB954;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.spotify__btn:hover { background: #1ed760; transform: scale(1.03); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  display: block;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s var(--ease-spring);
}

.footer__social a:hover {
  background: var(--caramel);
  border-color: var(--caramel);
  transform: translateY(-3px);
}

.footer__col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}

.footer__col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--caramel); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: var(--text-3);
  transition: color 0.2s;
}

.footer__legal a:hover { color: var(--caramel); }

/* ── TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success { border-left: 3px solid var(--sage); }
.toast.error   { border-left: 3px solid #e05555; }

/* ── MOBILE NAV ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.4s var(--ease);
    z-index: 999;
  }

  .nav__links.open { right: 0; }

  .nav__links a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav__burger { display: flex; }
  .nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid,
  .loyalty__inner,
  .location__grid,
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }

  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__card--featured { transform: none; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .hero__title { font-size: clamp(2.8rem, 12vw, 5rem); }

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

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

  .gallery__item--tall { grid-row: span 1; aspect-ratio: 1; }
  .gallery__item--wide { grid-column: span 2; }

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

  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }

  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .form__row { flex-direction: column; }

  .about__badge { right: 0.5rem; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .menu__tabs { flex-direction: column; border-radius: var(--r-lg); }
  .seasonal__card { flex: 0 0 260px; }
  .events__card { flex-direction: column; }
  .events__date { width: 100%; flex-direction: row; gap: 0.5rem; padding: 0.5rem 1rem; }
}

/* ── GLASSMORPHISM ACCENTS ──────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--espresso); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--caramel); }

/* ── SELECTION ──────────────────────────────────────────── */
::selection { background: rgba(198,139,89,0.3); color: var(--text); }