/* ─── Variables ──────────────────────────────────────── */
:root {
  --page-bg: #f0ebe2;
  --cream: #f0ebe2;
  --cream-90: rgba(240,235,226,0.92);
  --cream-95: rgba(240,235,226,0.95);
  --espresso: #1c1008;
  --amber: #c8753a;
  --latte: #d4a574;
  --error: #c0392b;
  --success: #2e7d52;
  --font-display: 'Bodoni Moda', serif;
  --font-body: 'Cormorant Garamond', serif;
}

/* ─── Reset ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--page-bg);
  transition: background 0.4s ease;
  color: var(--espresso);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

/* ─── Header ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.2rem 5vw;
  transition: background 0.3s ease;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.06em;
  z-index: 201;
  position: relative;
  transition: color 0.3s ease;
}
.site-header.is-light .nav-logo { color: var(--espresso); }

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

/* ─── Language button ─────────────────────────────────── */
.nav-lang {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(240,235,226,0.4);
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  background: none;
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font-body);
}
.site-header.is-light .nav-lang {
  border-color: rgba(28,16,8,0.25);
  color: var(--espresso);
}

/* ─── Three-dot button ────────────────────────────────── */
.three-dots {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
  position: relative;
}
.three-dots span {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 0;
  background: var(--cream);
  transition: background 0.3s ease;
}
.site-header.is-light .three-dots span { background: var(--espresso); }

/* ─── Nav overlay ─────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}
.nav-overlay::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: url('photo_6048725623078850236_y.jpg') center/cover no-repeat;
  filter: blur(10px);
  transform: scale(1.05);
  z-index: 0;
}
.nav-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 235, 226, 0.93);
  z-index: 1;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay-close {
  position: absolute;
  top: 1.8rem;
  right: 5vw;
  background: none;
  border: none;
  color: var(--espresso);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0.4rem;
  z-index: 2;
}
.nav-overlay-close:hover { opacity: 1; }

.nav-overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Links hidden by default; slide in when overlay opens */
.nav-overlay-links li {
  opacity: 0;
  transform: translateY(20px);
}
.nav-overlay.open .nav-overlay-links li {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-overlay.open .nav-overlay-links li:nth-child(1) { transition-delay: 0.04s; }
.nav-overlay.open .nav-overlay-links li:nth-child(2) { transition-delay: 0.11s; }
.nav-overlay.open .nav-overlay-links li:nth-child(3) { transition-delay: 0.18s; }
.nav-overlay.open .nav-overlay-links li:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.open .nav-overlay-links li:nth-child(5) { transition-delay: 0.32s; }
.nav-overlay.open .nav-overlay-links li:nth-child(6) { transition-delay: 0.39s; }

.nav-overlay-links a {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 4vw, 1.7rem);
  font-weight: 600;
  color: var(--espresso);
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.3rem 0;
  position: relative;
}
.nav-overlay-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--espresso);
  transition: width 0.25s ease;
}
.nav-overlay-links a:hover::after { width: 100%; }

/* ─── Floating buttons ────────────────────────────────── */
.float-btn-wrap {
  position: fixed;
  bottom: 8vh;
  z-index: 9;
  opacity: 0;
  pointer-events: none;
}
#float-book     { left: 50%; }
#float-location { left: 5vw; }

/* ─── Corner FAB: scroll-spun cup ────────────────────── */
#corner-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}
#corner-btn:hover { transform: scale(1.08); }
#corner-cup {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  will-change: transform;
}
@media (max-width: 768px) {
  #corner-btn { display: none; }
}

/* ─── Ghost buttons ───────────────────────────────────── */
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: transparent;
  border: 1.5px solid rgba(245,240,232,0.82);
  color: rgba(245,240,232,0.90);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 44px;
}
.btn-ghost-dark:hover {
  background: rgba(245,240,232,0.15);
  border-color: rgba(245,240,232,1);
  color: var(--cream);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: transparent;
  border: 1.5px solid var(--espresso);
  color: var(--espresso);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}
.btn-ghost-light:hover { background: var(--espresso); color: var(--cream); }

.btn-arrow { font-size: 0.95rem; }

/* ─── Hero ────────────────────────────────────────────── */
.hero-standalone {
  position: relative;
  overflow: hidden;
  background: #1c1008;
  z-index: 10;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 7vw 5rem;
}
.hero-standalone::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: url('photo_6048725623078850236_y.jpg') center/cover no-repeat;
  filter: blur(6px);
  transform: scale(1.05);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 2, 0.42);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-bottom {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.hero-standalone .hero-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(3.2rem, 12vw, 13rem);
  line-height: 0.93;
  color: var(--cream);
  margin-bottom: 1.8rem;
  overflow: hidden;
}
.hero-heading .word {
  display: inline-block;
  margin-right: 0.12em;
  will-change: transform, opacity;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245,240,232,0.68);
  max-width: 36ch;
}

/* ─── Canvas ──────────────────────────────────────────── */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 5;
  opacity: 0;
  will-change: opacity;
}
#canvas { display: block; width: 100%; height: 100%; }


/* ─── Scroll container ────────────────────────────────── */
#scroll-container {
  position: relative;
  height: 560vh;
  z-index: 7;
  pointer-events: none;
}

/* ─── Scroll sections ─────────────────────────────────── */
.scroll-section {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}
.scroll-section.is-visible { pointer-events: auto; }

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 90vw;
  padding: 1.5rem;
  background: rgba(240,235,226,0.88);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 2px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  line-height: 1.0;
  color: var(--espresso);
}

.section-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--espresso);
  opacity: 0.75;
  max-width: 32ch;
}

/* ─── Centered chapter variant ───────────────────────── */
.scroll-section.align-center {
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0 5vw;
}
.scroll-section.align-center .section-inner {
  align-items: center;
  text-align: center;
}

/* ─── Quote-style chapter (003 / Trenutak) ───────────── */
.section-inner--quote {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 1rem;
  gap: 1.4rem;
  max-width: none !important;
  width: auto !important;
}
.section-inner--quote .section-label { color: var(--espresso); }
.quote-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: 'wght' 600;
  font-size: clamp(2.6rem, 8vw, 6.5rem) !important;
  line-height: 1.02;
  color: var(--espresso);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 18px rgba(240,235,226,0.55);
}

/* ─── Hours-style chapter (005 / Sati) ───────────────── */
.section-inner--hours {
  padding: 2.2rem 2.4rem;
  gap: 1rem;
  max-width: 480px !important;
}
.hours-heading {
  font-size: clamp(2rem, 6vw, 3.6rem) !important;
  line-height: 1.0;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 32ch;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28,16,8,0.18);
  color: var(--espresso);
}
.hours-list li:last-child { border-bottom: none; }
.hours-day {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hours-time {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* ─── Best Sellers Section ───────────────────────────── */
#bestsellers-section {
  position: relative;
  z-index: 20;
  background: var(--cream);
  padding: 6rem 5vw 5rem;
}
.bestsellers-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.bestsellers-header {
  text-align: center;
  margin-bottom: 3rem;
}
.bestsellers-header .section-label { margin-bottom: 1rem; }
.bestsellers-title {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--espresso);
  margin-bottom: 0.7rem;
}
.bestsellers-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--espresso);
  opacity: 0.55;
}
.bestsellers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-bottom: 3rem;
}
.bestseller-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
}
.bestseller-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
  z-index: 0;
}
.bestseller-card:hover .bestseller-img { transform: scale(1.06); }
.bestseller-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}
.bestseller-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}
.bestseller-num {
  position: absolute;
  top: 1.4rem;
  left: 1.7rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--latte);
}
.bestseller-name {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  color: var(--cream);
}
.bestseller-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(240,235,226,0.72);
  line-height: 1.5;
}
.bestseller-price {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--latte);
  margin-top: 0.35rem;
}
.bestsellers-cta {
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .bestsellers-grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .bestseller-card { aspect-ratio: 3 / 4; }
}

/* ─── Menu Section ────────────────────────────────────── */
#menu-section {
  position: relative;
  z-index: 20;
  min-height: 100vh;
  background: var(--cream-90);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.menu-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 5vw 4rem;
}

.menu-header { margin-bottom: 3rem; }
.menu-header .section-label {
  display: block;
  margin-bottom: 0.6rem;
}
.menu-title {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1;
  color: var(--espresso);
  margin-bottom: 0.8rem;
}
.menu-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: var(--espresso);
  opacity: 0.55;
}

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

.menu-cat-title {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--espresso);
  padding-bottom: 0.7rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(28,16,8,0.15);
  letter-spacing: 0.02em;
}

.menu-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(28,16,8,0.07);
  transition: background 0.15s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: rgba(28,16,8,0.025); }

.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.menu-item-name {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: 0.01em;
}
.menu-item-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--espresso);
  opacity: 0.5;
}
.price {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--amber);
  white-space: nowrap;
  flex-shrink: 0;
}
.highlight-item .menu-item-name { color: var(--amber); }
.menu-allergen {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--espresso);
  opacity: 0.4;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  font-style: italic;
  text-align: center;
}
.menu-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ─── Booking Section ─────────────────────────────────── */
#booking-section {
  position: relative;
  z-index: 20;
  min-height: 100vh;
  background: var(--cream-95);
}
.booking-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 5vw 6rem;
}
.booking-header { margin-bottom: 2.5rem; }
.booking-title {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--espresso);
  margin-bottom: 0.8rem;
}
.booking-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--espresso);
  opacity: 0.55;
}

/* ─── Form ────────────────────────────────────────────── */
#booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row--two { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group--full { width: 100%; }
.form-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  opacity: 0.7;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
  background: rgba(28,16,8,0.04);
  border: 1px solid rgba(28,16,8,0.15);
  border-radius: 0;
  padding: 0.85rem 1rem;
  width: 100%;
  min-height: 50px;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--espresso);
  background: rgba(28,16,8,0.07);
}
input.error { border-color: var(--error); background: rgba(192,57,43,0.04); }
input::placeholder { color: rgba(28,16,8,0.35); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c1008' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field-error {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--error);
  font-style: italic;
  min-height: 1.1em;
}

/* ─── Time Slots ──────────────────────────────────────── */
.time-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--espresso);
  opacity: 0.45;
  margin-bottom: 0.75rem;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.time-slot {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--espresso);
  background: rgba(28,16,8,0.04);
  border: 1px solid rgba(28,16,8,0.12);
  border-radius: 0;
  padding: 0.6rem 0.3rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 44px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.time-slot:hover:not(:disabled) {
  background: rgba(28,16,8,0.1);
  border-color: var(--espresso);
  color: var(--espresso);
}
.time-slot.selected {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}
.time-slot.taken {
  opacity: 0.28;
  cursor: not-allowed;
  text-decoration: line-through;
}
.time-slot:disabled { cursor: not-allowed; }

.form-submit-row { padding-top: 0.5rem; }
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.78rem;
  min-height: 52px;
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ─── Booking success ─────────────────────────────────── */
.booking-success {
  text-align: center;
  padding: 3rem 1rem;
}
.booking-success.hidden { display: none; }
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.booking-success p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--espresso);
  max-width: 40ch;
  margin: 0 auto;
}

/* ─── About Section ───────────────────────────────────── */
#about-section {
  position: relative;
  z-index: 20;
  background: var(--espresso);
  padding: 7rem 7vw;
  overflow: hidden;
}
#about-section::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: url('restaurantttttt1.jpg') center/cover no-repeat;
  filter: blur(8px);
  transform: scale(1.05);
  z-index: 0;
}
#about-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 6, 2, 0.68);
  z-index: 1;
}
.about-inner {
  max-width: 1000px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.about-text { flex: 1; min-width: 0; }
.about-portrait {
  flex: 0 0 auto;
  width: clamp(140px, 20vw, 260px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#about-section .section-label { color: var(--amber); margin-bottom: 1rem; }

.about-heading {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--cream);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.about-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(240,235,226,0.68);
  max-width: 52ch;
}

/* ─── Gallery Section (horizontal cinematic scroll) ──── */
#gallery-section {
  position: relative;
  z-index: 20;
  background: var(--espresso);
  color: var(--cream);
  padding: 7rem 0 5.5rem;
  overflow: hidden;
}
.gallery-section-inner { position: relative; }

.gallery-section-header {
  padding: 0 7vw;
  margin-bottom: 3.5rem;
  max-width: 760px;
}
.gallery-section-label { color: var(--latte) !important; margin-bottom: 1.2rem; }
.gallery-section-heading {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 1rem;
}
.gallery-section-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-style: italic;
  color: rgba(240,235,226,0.55);
  line-height: 1.6;
}

.gallery-track {
  display: flex;
  gap: 1.4vw;
  padding: 0 7vw 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 7vw;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-grabbing { cursor: grabbing; }

.gallery-slide {
  flex: 0 0 auto;
  width: clamp(280px, 46vw, 680px);
  height: clamp(380px, 72vh, 760px);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  background: #0e0805;
  margin: 0;
}
.gallery-slide img {
  position: absolute;
  top: -6%;
  left: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}

.gallery-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2.5rem 7vw 0;
}
.gallery-hint {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240,235,226,0.4);
}
.gallery-counter {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(240,235,226,0.75);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.gallery-counter-sep { margin: 0 0.4rem; opacity: 0.35; }

@media (max-width: 767px) {
  #gallery-section { padding: 5rem 0 4rem; }
  .gallery-section-header { padding: 0 5vw; margin-bottom: 2.4rem; }
  .gallery-track { padding: 0 5vw 1rem; gap: 3vw; scroll-padding-left: 5vw; }
  .gallery-slide { width: 82vw; height: 60vh; }
  .gallery-footer-row { padding: 1.8rem 5vw 0; }
}

/* ─── Location Section ────────────────────────────────── */
#location-section {
  position: relative;
  z-index: 20;
  background: var(--cream);
  padding: 7rem 7vw;
}
.location-inner {
  max-width: 960px;
  margin: 0 auto;
}
#location-section .section-label { margin-bottom: 1rem; }

.location-heading {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--espresso);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.location-address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
  opacity: 0.5;
  font-style: italic;
  margin-bottom: 2.5rem;
}
.map-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(28,16,8,0.1);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ─── Social Icons ────────────────────────────────────── */
.social-row {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--espresso);
  opacity: 0.45;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.social-link:hover { opacity: 1; }
.social-link svg {
  width: 26px;
  height: 26px;
}

/* ─── Footer ──────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 20;
  background: var(--espresso);
  padding: 2.5rem 5vw;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 610;
  font-variation-settings: 'wght' 610;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.06em;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(240,235,226,0.35);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ─── Tablet (min 600px) ──────────────────────────────── */
@media (min-width: 600px) {
  .time-slots { grid-template-columns: repeat(5, 1fr); }
  .form-row--two { flex-direction: row; }
  .form-row--two .form-group { flex: 1; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .hero-heading { font-size: clamp(3.5rem, 10vw, 13rem); }
}

/* ─── Desktop (min 1024px) ────────────────────────────── */
@media (min-width: 1024px) {
  .hero-standalone {
    padding-left: 8vw;
    padding-right: 52vw;
    padding-top: 0;
  }
  .hero-heading { font-size: clamp(4rem, 8vw, 13rem); }
  .hero-tagline { font-size: clamp(1rem, 1.4vw, 1.4rem); }

  /* Side-aligned canvas sections */
  .scroll-section.align-right {
    padding-left: 44vw;
    padding-right: 22vw;
  }
  .scroll-section.align-left {
    padding-left: 22vw;
    padding-right: 44vw;
  }
  .section-inner {
    width: auto;
    max-width: 34vw;
    background: rgba(240,235,226,0.82);
  }
  .section-heading { font-size: clamp(2.8rem, 4.5vw, 5.5rem); }
  .section-body { font-size: clamp(0.95rem, 1.1vw, 1.15rem); }

  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; }
  .marquee-text { font-size: 12vw; }
  #scroll-container { height: 560vh; }
  .time-slots { grid-template-columns: repeat(6, 1fr); }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ─── Mobile (max 599px) ──────────────────────────────── */
@media (max-width: 599px) {
  /* Hero */
  .hero-standalone {
    padding: 6rem 6vw 5rem;
    min-height: 100svh;
  }
  /* Mobile: reduce blur so the coffee photo actually reads, shift right slightly */
  .hero-standalone::before {
    filter: blur(2px);
    background-position: 72% center;
  }
  /* Give the header guaranteed-pixel padding so the hamburger doesn't clip */
  .site-header { padding: 1rem 1.1rem; }
  .nav-right   { gap: 0.7rem; }
  .hero-heading { font-size: clamp(2.8rem, 14vw, 5rem); line-height: 0.95; }
  .hero-tagline { font-size: 0.95rem; max-width: 28ch; }
  .hero-bottom { bottom: 2rem; }

  /* Canvas always visible behind scroll — prevent blank */
  .canvas-wrap { opacity: 1 !important; }

  /* Scroll container shorter on mobile */
  #scroll-container { height: 360vh; }

  /* Scroll sections full-width */
  .scroll-section.align-right,
  .scroll-section.align-left {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .section-inner {
    width: 92vw;
    max-width: 92vw;
  }

  /* Floating buttons */
  #float-book  { left: 50%; transform: translateX(-50%); bottom: 6vh; }
  #float-location { left: 4vw; bottom: 12vh; }

  /* Menu section */
  .menu-inner { padding: 1.5rem 5vw 3rem; }
  .menu-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .time-slots { grid-template-columns: repeat(3, 1fr); }

  /* Booking */
  .booking-inner { padding: 2.5rem 5vw 4rem; }
  .booking-title { font-size: clamp(2rem, 8vw, 3rem); }
  .form-row--two { flex-direction: column; }

  /* About portrait stacks below text on mobile */
  .about-inner { flex-direction: column; gap: 2rem; }
  .about-portrait { width: min(55vw, 200px); }

  /* About / Location */
  #about-section { padding: 4rem 6vw; }
  #location-section { padding: 4rem 6vw; }
  .map-wrap iframe { height: 280px; }
  .social-row { gap: 1.4rem; margin-top: 2rem; }
  .social-link svg { width: 22px; height: 22px; }

  /* Nav overlay links — smaller on mobile */
  .nav-overlay-links a { font-size: 1rem; letter-spacing: 0.18em; }
  .nav-overlay-links { gap: 1rem; }
}

/* ─── Accessibility ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
