/* ================================================
   SPOTTED PIG CAFE — MAIN CSS
   Design System, Variables, Base, Layout
   ================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --warm-white: #F5F5F5;
  --sand-beige: #E8E0D6;
  --tropical-green: #5F7C6D;
  --espresso: #3A2F28;
  --espresso-light: #5C4A3E;
  --cream: #FAF7F3;
  --gold: #C9A96E;
  --gold-light: #E8C98A;

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

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1280px;
  --nav-height: 80px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s var(--ease-smooth);
  --trans-med: 0.4s var(--ease-smooth);
  --trans-slow: 0.7s var(--ease-expo);

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(58, 47, 40, 0.08);
  --shadow-md: 0 8px 32px rgba(58, 47, 40, 0.12);
  --shadow-lg: 0 20px 60px rgba(58, 47, 40, 0.18);
  --shadow-xl: 0 40px 100px rgba(58, 47, 40, 0.25);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--espresso);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

body.loading {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

address { font-style: normal; }

/* ---- Custom Cursor ---- */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--espresso);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: multiply;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--espresso);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth), border-color 0.2s;
  opacity: 0.6;
}

.cursor.hover {
  width: 14px;
  height: 14px;
  background: var(--tropical-green);
}

.cursor-follower.hover {
  width: 56px;
  height: 56px;
  border-color: var(--tropical-green);
  opacity: 0.4;
}

@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ---- Page Loader ---- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  z-index: 99997;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

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

.loader-content {
  text-align: center;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.loader-pig {
  font-size: 48px;
  animation: loaderBounce 1s ease infinite;
}

@keyframes loaderBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.loader-text {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--warm-white);
  letter-spacing: 0.2em;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(245,245,245,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ---- Section Base ---- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tropical-green);
  margin-bottom: 16px;
}

.section-label.light { color: var(--gold-light); }

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--espresso);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--tropical-green);
}

.section-title.light { color: var(--warm-white); }

.section-title.light em { color: var(--gold-light); }

.section-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--espresso-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.8;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--espresso);
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--trans-med);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tropical-green);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-smooth);
  z-index: 0;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary.light {
  background: var(--gold);
  color: var(--espresso);
}

.btn-primary.light::before { background: var(--warm-white); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid rgba(245,245,245,0.5);
  border-radius: 50px;
  transition: var(--trans-med);
}

.btn-secondary:hover {
  background: rgba(245,245,245,0.1);
  border-color: var(--warm-white);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--espresso);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--espresso);
  border-radius: 50px;
  transition: var(--trans-med);
}

.btn-outline:hover {
  background: var(--espresso);
  color: var(--warm-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--espresso);
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--trans-fast);
}

.btn-nav:hover {
  background: var(--tropical-green);
  transform: translateY(-1px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--espresso);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--espresso);
  transition: var(--trans-fast);
}

.btn-text:hover {
  color: var(--tropical-green);
  border-color: var(--tropical-green);
  gap: 16px;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--trans-med), box-shadow var(--trans-med),
              backdrop-filter var(--trans-med), transform 0.35s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar.hero-nav {
  background: transparent;
}

.nav-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-pig { font-size: 22px; }

.logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.02em;
}

.navbar.hero-nav .logo-text { color: var(--warm-white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--espresso);
  position: relative;
  transition: color var(--trans-fast);
}

.navbar.hero-nav .nav-link { color: rgba(245,245,245,0.85); }
.navbar.hero-nav .nav-link:hover { color: var(--warm-white); }
.navbar.hero-nav .nav-link.active { color: var(--warm-white); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--tropical-green);
  transition: width var(--trans-fast);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link:hover { color: var(--tropical-green); }
.nav-link.active { color: var(--espresso); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--espresso);
  transition: var(--trans-fast);
  transform-origin: center;
}

.navbar.hero-nav .nav-toggle span { background: var(--warm-white); }

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 47, 40, 0.3) 0%,
    rgba(58, 47, 40, 0.5) 50%,
    rgba(58, 47, 40, 0.75) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.7);
  margin-bottom: 24px;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(245,245,245,0.4);
}

.hero-title {
  font-family: var(--font-serif);
  line-height: 1.05;
  color: var(--warm-white);
  margin-bottom: 24px;
}

.hero-title-main {
  display: block;
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title-sub {
  display: block;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
}

.hero-title-accent {
  display: block;
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-description {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(245,245,245,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245,245,245,0.6);
  letter-spacing: 0.04em;
}

.meta-item i { color: var(--gold-light); font-size: 11px; }
.meta-divider { width: 1px; height: 16px; background: rgba(245,245,245,0.2); }

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.4);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,245,245,0.5);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollHintFade 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(245,245,245,0.5));
  animation: scrollLineGrow 2s ease-in-out infinite;
}

@keyframes scrollHintFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes scrollLineGrow {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Ticker ---- */
.ticker-wrap {
  background: var(--espresso);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.7);
}

.ticker-dot {
  color: var(--gold) !important;
  font-size: 8px !important;
}

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

/* ---- About Section ---- */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.about-img-frame:hover .about-img { transform: scale(1.04); }

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--espresso);
  color: var(--warm-white);
  padding: 16px 20px;
  border-radius: 4px;
  text-align: center;
  line-height: 1.2;
}

.badge-year {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

.badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
}

.about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 4px;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-lg);
}

.about-img-sm {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--espresso-light);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--sand-beige);
  border-bottom: 1px solid var(--sand-beige);
  margin-bottom: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--tropical-green);
}

.stat-label {
  font-size: 12px;
  color: var(--espresso-light);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-beige);
}

/* ---- Dishes Section ---- */
.dishes {
  background: var(--sand-beige);
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-bottom: 48px;
}

.dish-card {
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--trans-med), box-shadow var(--trans-med);
  will-change: transform;
}

.dish-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

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

.dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

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

.dish-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 47, 40, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans-med);
}

.dish-card:hover .dish-overlay { opacity: 1; }

.dish-cta {
  padding: 12px 24px;
  background: var(--warm-white);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--trans-fast);
}

.dish-cta:hover {
  background: var(--gold);
  transform: scale(1.05);
}

.dish-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
}

.dish-info {
  padding: 20px;
}

.dish-category {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tropical-green);
  margin-bottom: 6px;
}

.dish-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 8px;
}

.dish-desc {
  font-size: 13px;
  color: var(--espresso-light);
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 12px;
}

.dish-price {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--espresso);
}

.dishes-cta { text-align: center; }

/* ---- Coffee Section ---- */
.coffee {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}

.coffee-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.coffee-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coffee-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 47, 40, 0.92) 0%,
    rgba(58, 47, 40, 0.82) 50%,
    rgba(95, 124, 109, 0.7) 100%
  );
}

.coffee-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.coffee-text {
  font-size: 16px;
  color: rgba(245,245,245,0.75);
  line-height: 1.85;
  margin-bottom: 32px;
}

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

.coffee-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(245,245,245,0.06);
  border-radius: 8px;
  border: 1px solid rgba(245,245,245,0.1);
  transition: background var(--trans-fast);
}

.coffee-feat:hover { background: rgba(245,245,245,0.1); }

.feat-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 4px;
}

.feat-text span {
  font-size: 13px;
  color: rgba(245,245,245,0.55);
}

.coffee-cards {
  position: relative;
  height: 500px;
}

.coffee-card {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.coffee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-card {
  width: 75%;
  height: 88%;
  top: 0;
  right: 0;
  z-index: 2;
}

.side-card {
  width: 52%;
  height: 56%;
  bottom: 0;
  left: 0;
  z-index: 3;
}

/* Steam */
.steam-container {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.steam {
  width: 6px;
  border-radius: 50px;
  background: rgba(255,255,255,0.6);
  animation: steamRise 2.5s ease-in-out infinite;
}

.steam.s1 { height: 20px; animation-delay: 0s; }
.steam.s2 { height: 30px; animation-delay: 0.4s; }
.steam.s3 { height: 20px; animation-delay: 0.8s; }

@keyframes steamRise {
  0% { transform: translateY(0) scaleX(1); opacity: 0.7; }
  50% { transform: translateY(-20px) scaleX(1.5); opacity: 0.4; }
  100% { transform: translateY(-40px) scaleX(0.5); opacity: 0; }
}

/* ---- Gallery Preview ---- */
.gallery-preview { overflow: hidden; }

.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 4px;
  margin: 0 0 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--sand-beige);
}

.gallery-item.gi-large {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.gallery-item.gi-wide {
  grid-column: 3 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(58, 47, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans-med);
}

.gallery-item:hover .gallery-hover { opacity: 1; }

.gallery-hover i {
  font-size: 28px;
  color: var(--warm-white);
  transform: scale(0.7);
  transition: transform 0.3s var(--ease-spring);
}

.gallery-item:hover .gallery-hover i { transform: scale(1); }

.gallery-cta { text-align: center; }

/* ---- Reviews ---- */
.reviews {
  background: var(--sand-beige);
  position: relative;
}

.reviews-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(95,124,109,0.06) 0%, transparent 70%);
}

.reviews-carousel-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.reviews-carousel {
  position: relative;
  min-height: 300px;
}

.review-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
  pointer-events: none;
}

.review-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: all;
}

.review-card {
  background: var(--cream);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 52px);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 14px;
}

.review-text {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  line-height: 1.75;
  color: var(--espresso);
  margin-bottom: 32px;
  quotes: "\201C" "\201D";
}

.review-text::before { content: open-quote; }
.review-text::after { content: close-quote; }

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 15px;
  color: var(--espresso);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 12px;
  color: var(--espresso-light);
  opacity: 0.65;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--espresso);
  background: transparent;
  color: var(--espresso);
  font-size: 14px;
  cursor: pointer;
  transition: var(--trans-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--espresso);
  color: var(--warm-white);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand-beige);
  border: 1.5px solid var(--espresso-light);
  transition: var(--trans-fast);
  cursor: pointer;
}

.dot.active {
  background: var(--espresso);
  transform: scale(1.3);
}

/* ---- Location Strip ---- */
.location-strip {
  background: var(--cream);
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 8vw, 80px);
  align-items: center;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
}

.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.loc-item i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--tropical-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.loc-item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 4px;
}

.loc-item span {
  font-size: 14px;
  color: var(--espresso-light);
  opacity: 0.8;
  line-height: 1.6;
}

.map-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-frame iframe {
  display: block;
  filter: saturate(0.8) contrast(1.05);
  transition: filter var(--trans-med);
}

.map-frame:hover iframe { filter: saturate(1) contrast(1.05); }

/* ---- Footer ---- */
.footer {
  background: var(--espresso);
  color: rgba(245,245,245,0.7);
}

.footer-top {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(32px, 5vw, 60px);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .logo-text { color: var(--warm-white); }

.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245,245,245,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--trans-fast);
  color: rgba(245,245,245,0.6);
}

.footer-social a:hover {
  background: var(--tropical-green);
  border-color: var(--tropical-green);
  color: var(--warm-white);
  transform: translateY(-2px);
}

.footer-links-col h4,
.footer-info-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 14px;
  color: rgba(245,245,245,0.55);
  transition: color var(--trans-fast);
}

.footer-links-col a:hover { color: var(--warm-white); }

.footer-info-col address {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.footer-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.footer-hours i { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(245,245,245,0.1);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 12px; }
.footer-bottom a { color: rgba(245,245,245,0.5); transition: color var(--trans-fast); }
.footer-bottom a:hover { color: var(--warm-white); }
.footer-made { opacity: 0.4; }

/* ---- Focus styles (Accessibility) ---- */
:focus-visible {
  outline: 2px solid var(--tropical-green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Selection color ---- */
::selection {
  background: var(--tropical-green);
  color: var(--warm-white);
}

/* ---- Smooth image load ---- */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ---- Print Styles ---- */
@media print {
  .navbar, .hero-scroll-hint, .ticker-wrap,
  .back-to-top, .cursor, .cursor-follower,
  .page-loader { display: none !important; }

  body { color: #000; background: #fff; }

  .hero { height: auto; padding: 40px 0; }
  .hero-bg, .hero-overlay { display: none; }
  .hero-content { color: #000; position: static; }
  .hero-title, .hero-description { color: #000; }

  .section { padding: 24px 0; }
  a[href]::after { content: " (" attr(href) ")"; }
}

/* ============ RESPONSIVE ============ */

/* Large tablets */
@media (max-width: 1024px) {
  .dishes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .coffee-cards { height: 400px; }
  .about-img-accent { right: -20px; }
}

/* Tablets */
@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav overlay */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    background: var(--cream);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { width: 120px; height: 120px; right: -10px; bottom: -20px; }
  .about-stats { gap: 20px; }

  .dishes-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .coffee-inner { grid-template-columns: 1fr; }
  .coffee-visual { display: none; }

  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item.gi-large { grid-row: auto; grid-column: 1 / 3; }
  .gallery-item.gi-wide { grid-column: 1 / 3; }

  .location-inner { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-title-main { font-size: clamp(42px, 13vw, 60px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { text-align: center; justify-content: center; }

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

  .gallery-grid-home {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .about-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider { display: none; }
}
