/* ============================================
   Warung KL — Style System
   Warm editorial / food magazine aesthetic
   Mobile-first, then desktop breakpoint at 769px
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Colors */
  --cream: #FDF6F0;
  --deep-cream: #F5EDE4;
  --terracotta: #8B3A3A;
  --terracotta-dark: #6E2E2E;
  --warm-black: #2C2418;
  --warm-gray: #6B5E52;
  --muted: #9B8F85;
  --warm-white: #FFFAF6;
  --dark-surface: #1E1812;
  --card-surface: #FFFCF8;
  --border: #E8DDD3;
  --overlay: rgba(30, 24, 18, 0.6);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;

  /* Shadows */
  --shadow-card: 0 2px 8px rgba(44, 36, 24, 0.06), 0 8px 24px rgba(44, 36, 24, 0.08);
  --shadow-hover: 0 8px 32px rgba(44, 36, 24, 0.12);
  --shadow-image: 0 12px 40px rgba(44, 36, 24, 0.15);

  /* Spacing */
  --section-gap: 64px;
  --section-pad: 40px;
  --content-max: 1080px;
  --side-pad: 20px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --r-pill: 980px;
}

@media (min-width: 769px) {
  :root {
    --section-gap: 120px;
    --section-pad: 80px;
    --side-pad: 48px;
  }
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--warm-black);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 { font-weight: 400; }

/* ---------- ANIMATION CLASSES ---------- */
.anim {
  opacity: 0;
  transform: translateY(30px);
}

/* ---------- TYPOGRAPHY ---------- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--warm-black);
}

@media (min-width: 769px) {
  .section-title { font-size: 44px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--r-md);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--warm-white);
}
.btn--primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn--white {
  background: var(--warm-white);
  color: var(--dark-surface);
}
.btn--white:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn--ghost {
  border: 1px solid rgba(255, 250, 246, 0.35);
  color: var(--warm-white);
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(255, 250, 246, 0.1);
  border-color: rgba(255, 250, 246, 0.6);
}

.btn--outline {
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  background: transparent;
}
.btn--outline:hover {
  background: var(--terracotta);
  color: var(--warm-white);
}

.btn--block { width: 100%; }

.btn svg { flex-shrink: 0; }

/* ---------- LANGUAGE SWITCH ---------- */
.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(44, 36, 24, 0.06);
  border-radius: var(--r-md);
  padding: 2px;
}

.lang-switch__btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--warm-gray);
  transition: all 0.25s ease;
  cursor: pointer;
}

.lang-switch__btn.active {
  background: var(--warm-white);
  color: var(--warm-black);
  box-shadow: 0 1px 3px rgba(44, 36, 24, 0.1);
}

.lang-switch--drawer {
  background: rgba(255, 250, 246, 0.08);
  width: fit-content;
}
.lang-switch--drawer .lang-switch__btn {
  color: rgba(255, 250, 246, 0.5);
}
.lang-switch--drawer .lang-switch__btn.active {
  background: rgba(255, 250, 246, 0.15);
  color: var(--warm-white);
  box-shadow: none;
}

/* ============================================
   DESKTOP NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--side-pad);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(253, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  transition: height 0.3s ease;
}

.nav.scrolled .nav__inner { height: 60px; }

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--warm-black);
  margin-right: auto; /* push everything else to the right */
}
.nav__logo em {
  color: var(--terracotta);
  font-style: normal;
}

.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  transition: color 0.25s ease;
  position: relative;
}
.nav__links a:hover { color: var(--warm-black); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}
.nav__links a:hover::after { width: 100%; }

/* Divider between links and actions */
.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 28px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.nav__cta {
  font-size: 13px;
  padding: 10px 22px;
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
  .nav { display: none; }
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.drawer-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 110;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(253, 246, 240, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(232, 221, 211, 0.6);
  cursor: pointer;
}
.drawer-toggle span {
  display: block;
  height: 1.5px;
  background: var(--warm-black);
  border-radius: 1px;
  transition: all 0.3s ease;
  width: 17px;
}
.drawer-toggle span:nth-child(2) { width: 11px; }

@media (max-width: 768px) {
  .drawer-toggle { display: flex; }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 18, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer.open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--dark-surface);
  color: var(--warm-white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer.open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 250, 246, 0.08);
}

.drawer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}
.drawer__logo em {
  color: var(--terracotta);
  font-style: normal;
}

.drawer__close {
  font-size: 28px;
  color: rgba(255, 250, 246, 0.5);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px 24px;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 250, 246, 0.08);
}
.drawer__nav a {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  color: rgba(255, 250, 246, 0.8);
  transition: color 0.2s ease;
}
.drawer__nav a:hover { color: var(--warm-white); }

.drawer__section {
  padding: 20px 0 0;
}

.drawer__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 250, 246, 0.35);
  margin-bottom: 10px;
}

.drawer__info {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 250, 246, 0.65);
}

.drawer__socials {
  display: flex;
  gap: 12px;
}
.drawer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.drawer__socials a:hover { background: rgba(255, 250, 246, 0.15); }
.drawer__socials svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 250, 246, 0.7);
}

.drawer__foot {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 250, 246, 0.08);
  font-size: 12px;
  color: rgba(255, 250, 246, 0.3);
}
.drawer__foot-links {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.drawer__foot-links a { color: rgba(255, 250, 246, 0.4); }

/* ============================================
   MOBILE BOTTOM TAB BAR
   ============================================ */
.tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 246, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
  .tab-bar {
    display: flex;
    justify-content: space-around;
  }
}

.tab-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.tab-bar__item svg {
  width: 22px;
  height: 22px;
}
.tab-bar__item.active {
  color: var(--terracotta);
}

/* ============================================
   1. HERO — Editorial Magazine Cover
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  overflow: hidden;
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 80px var(--side-pad) 60px;
}

.hero__text {
  position: relative;
  z-index: 2;
}

.hero__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.hero__title {
  margin-bottom: 20px;
}
.hero__title-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  color: var(--warm-black);
  font-size: 56px;
}
.hero__title-accent {
  color: var(--terracotta);
  font-size: 72px;
  margin-top: 4px;
}

.hero__quote {
  font-family: var(--font-accent);
  font-size: 18px;
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: 4px;
}

.hero__chef {
  font-family: var(--font-accent);
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero__chef em { font-style: italic; }

.hero__desc {
  font-size: 15px;
  color: var(--warm-gray);
  max-width: 380px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero__cta {
  font-size: 15px;
  padding: 14px 32px;
}

/* Hero images */
.hero__images {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img-main {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--deep-cream);
  box-shadow: var(--shadow-image);
}
.hero__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img-accent {
  position: absolute;
  bottom: -16px;
  right: 0;
  width: 42%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep-cream);
  box-shadow: var(--shadow-image);
  border: 4px solid var(--cream);
}
.hero__img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__halal {
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: 0.7;
}

/* Hero scroll indicator */
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.hero__scroll svg { color: var(--muted); }

.hero__scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { cy: 8; opacity: 1; }
  50% { cy: 16; opacity: 0.3; }
}

/* Hero desktop */
@media (min-width: 769px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 100px var(--side-pad) 60px;
  }

  .hero__title-line { font-size: 72px; }
  .hero__title-accent { font-size: 96px; }
  .hero__quote { font-size: 22px; }
  .hero__desc { font-size: 16px; }

  .hero__img-main {
    max-width: none;
    margin-left: -40px;
  }
  .hero__img-accent {
    bottom: -30px;
    right: -20px;
    width: 45%;
    border-width: 5px;
  }
  .hero__halal {
    top: 24px;
    right: -10px;
  }

  .hero__scroll { padding-bottom: 40px; }
}

/* Adjust mobile spacing for tab bar */
@media (max-width: 768px) {
  .hero__scroll { padding-bottom: 80px; }
}

/* ============================================
   2. PHILOSOPHY — Pull Quote
   ============================================ */
.philosophy {
  padding: var(--section-gap) var(--side-pad);
  background: var(--cream);
  overflow: hidden;
}

.philosophy__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.philosophy__deco {
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.08;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
  pointer-events: none;
}

.philosophy__text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--warm-black);
  position: relative;
  z-index: 1;
  border: none;
  margin: 0;
  padding: 0;
}

.philosophy__cite {
  display: block;
  font-family: var(--font-accent);
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
  margin-top: 28px;
}

@media (min-width: 769px) {
  .philosophy__text { font-size: 38px; line-height: 1.45; }
  .philosophy__deco { font-size: 320px; top: -80px; }
  .philosophy__cite { font-size: 18px; margin-top: 36px; }
}

/* ============================================
   3. MENU — Category Tabs + Items
   ============================================ */
.menu {
  padding: var(--section-gap) 0;
  background: var(--deep-cream);
  overflow: hidden;
}

.menu__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.menu__header {
  text-align: center;
  margin-bottom: 36px;
}

/* Tabs */
.menu__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.menu__tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  color: var(--warm-gray);
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.menu__tab:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.menu__tab.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--warm-white);
}

/* Panels */
.menu__panel {
  display: none;
}
.menu__panel.active {
  display: block;
}

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

/* Individual menu item */
.menu__item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(232, 221, 211, 0.7);
}
.menu__item:last-child { border-bottom: none; }

.menu__item-img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
}
.menu__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu__item-info {
  flex: 1;
  min-width: 0;
}

.menu__item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.menu__item-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--warm-black);
  line-height: 1.3;
}

.menu__item-price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--terracotta);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu__item-desc {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.5;
  margin-top: 4px;
}

.menu__item-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  background: rgba(139, 58, 58, 0.08);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  margin-top: 6px;
}

.menu__item-badge--hot {
  color: #B85C38;
  background: rgba(184, 92, 56, 0.1);
}

/* Featured menu card (hero dish per category) */
.menu__featured {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.menu__featured-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.menu__featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu__featured-info {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.menu__featured-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--warm-black);
  line-height: 1.2;
  margin: 8px 0 8px;
}

.menu__featured-desc {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.menu__featured-price {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}

/* Menu desktop: 2 columns + featured horizontal */
@media (min-width: 769px) {
  .menu__featured {
    grid-template-columns: 1.15fr 1fr;
    margin-bottom: 36px;
  }
  .menu__featured-img {
    aspect-ratio: auto;
    min-height: 300px;
  }
  .menu__featured-info {
    padding: 32px 36px;
    justify-content: center;
  }
  .menu__featured-name { font-size: 30px; }
  .menu__featured-desc { font-size: 15px; }

  .menu__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }
  .menu__item-img {
    width: 92px;
    height: 92px;
  }
  .menu__item-name { font-size: 18px; }
  .menu__item-desc { font-size: 14px; }
}

/* ============================================
   4. STORY — Chef + Heritage
   ============================================ */
.story {
  padding: var(--section-gap) var(--side-pad);
  background: var(--cream);
  overflow: hidden;
}

.story__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

/* Image column */
.story__image-col {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.story__portrait {
  width: 82%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--deep-cream);
  box-shadow: var(--shadow-card);
}
.story__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__detail-img {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 48%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep-cream);
  box-shadow: var(--shadow-image);
  border: 4px solid var(--cream);
}
.story__detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text column */
.story__divider {
  width: 48px;
  height: 2px;
  background: var(--terracotta);
  margin: 20px 0 24px;
  border-radius: 2px;
}

.story__body {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.story__body:last-of-type { margin-bottom: 0; }

.story__signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.story__sig-img {
  width: 80px;
  height: auto;
  opacity: 0.8;
}

.story__sig-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--warm-black);
}
.story__sig-info span {
  font-size: 13px;
  color: var(--muted);
}

/* Story desktop */
@media (min-width: 769px) {
  .story__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .story__image-col {
    max-width: none;
    margin: 0;
  }
  .story__body { font-size: 16px; }
  .story__detail-img {
    bottom: -30px;
    border-width: 5px;
  }
}

/* ============================================
   5. GALLERY — Horizontal Scroll
   ============================================ */
.gallery {
  padding: var(--section-gap) 0 var(--section-gap);
  background: var(--cream);
  overflow: hidden;
}

.gallery__header {
  text-align: center;
  padding: 0 var(--side-pad);
  margin-bottom: 36px;
}

/* Gallery nav arrows */
.gallery__nav {
  display: none;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 var(--side-pad);
  margin-bottom: 16px;
}

.gallery__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery__arrow:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 var(--side-pad) 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

@media (min-width: 769px) {
  .gallery__nav { display: flex; }
}

.gallery__item {
  flex-shrink: 0;
  width: 260px;
  height: 340px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  background: var(--deep-cream);
  scroll-snap-align: start;
}
.gallery__item--tall {
  height: 400px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(30, 24, 18, 0.6));
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-white);
}

@media (min-width: 769px) {
  .gallery__track {
    gap: 20px;
    padding: 0 var(--side-pad) 24px;
  }
  .gallery__item {
    width: 340px;
    height: 420px;
  }
  .gallery__item--tall { height: 500px; }
}

/* ============================================
   6. RESERVATION — Dark Warm CTA
   ============================================ */
.reserve {
  padding: var(--section-gap) var(--side-pad);
  background: var(--dark-surface);
  color: var(--warm-white);
  text-align: center;
  overflow: hidden;
}

.reserve__inner {
  max-width: 600px;
  margin: 0 auto;
}

.reserve__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.reserve__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.reserve__desc {
  font-size: 15px;
  color: rgba(255, 250, 246, 0.6);
  margin-bottom: 32px;
  line-height: 1.6;
}

.reserve__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
}

.reserve__btn { min-width: 240px; }

.reserve__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.reserve__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 250, 246, 0.5);
}
.reserve__info-item svg {
  flex-shrink: 0;
  color: rgba(255, 250, 246, 0.35);
}

@media (min-width: 769px) {
  .reserve__title { font-size: 52px; }
  .reserve__actions {
    flex-direction: row;
    justify-content: center;
  }
  .reserve__info {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
}

/* ============================================
   FOOTER — Espresso Dark
   ============================================ */
.footer {
  background: var(--dark-surface);
  color: rgba(255, 250, 246, 0.6);
  padding: 64px var(--side-pad) 32px;
}

@media (max-width: 768px) {
  .footer { display: none; }
}

.footer__inner {
  max-width: 560px;
  margin: 0 auto;
}

.footer__main {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 250, 246, 0.08);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--warm-white);
  display: block;
  margin-bottom: 12px;
}
.footer__logo em {
  color: var(--terracotta);
  font-style: normal;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 250, 246, 0.4);
  margin-bottom: 24px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer__socials a:hover { background: rgba(255, 250, 246, 0.12); }
.footer__socials svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 250, 246, 0.6);
}

.footer__detail {
  font-size: 13px;
  color: rgba(255, 250, 246, 0.3);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 250, 246, 0.2);
}

.footer__legal {
  display: flex;
  gap: 16px;
}
.footer__legal a {
  color: rgba(255, 250, 246, 0.25);
  transition: color 0.2s ease;
}
.footer__legal a:hover { color: rgba(255, 250, 246, 0.5); }

/* ============================================
   BOTTOM SHEET (mobile reservation)
   ============================================ */
.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}
.bottom-sheet.open {
  visibility: visible;
  pointer-events: auto;
}

.bottom-sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 18, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bottom-sheet.open .bottom-sheet__scrim { opacity: 1; }

.bottom-sheet__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-surface);
  border-radius: 20px 20px 0 0;
  padding: 12px 24px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bottom-sheet.open .bottom-sheet__panel { transform: translateY(0); }

.bottom-sheet__handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: 0 auto 8px;
}

.bottom-sheet__panel h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}

.bottom-sheet__panel p {
  font-size: 14px;
  color: var(--warm-gray);
  text-align: center;
  margin-bottom: 8px;
}

/* ============================================
   DEMO OVERLAY
   ============================================ */
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}
.demo-overlay.open {
  visibility: visible;
  pointer-events: auto;
}

.demo-overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(30, 24, 18, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.demo-overlay.open .demo-overlay__scrim { opacity: 1; }

.demo-overlay__card {
  position: relative;
  background: var(--card-surface);
  border-radius: var(--r-xl);
  padding: 36px 28px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-image);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-overlay.open .demo-overlay__card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.demo-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 22px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.demo-overlay__close:hover { background: rgba(44, 36, 24, 0.06); }

.demo-overlay__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  background: rgba(139, 58, 58, 0.08);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.demo-overlay__card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.demo-overlay__card p {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .anim {
    opacity: 1;
    transform: none;
  }
  .hero__scroll-dot { animation: none; }
}

/* ============================================
   MOBILE SAFE AREAS
   ============================================ */
@media (max-width: 768px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .reserve { padding-bottom: calc(var(--section-gap) + 80px); }
}
