/* =========================================================
   CAFE VERA — Editorial Coffee House
   Warm Luxury Minimalist Design System
   ========================================================= */

:root {
  /* Palette */
  --ivory: #F7F3EC;
  --ivory-2: #F2EBDF;
  --beige: #EBE3D6;
  --beige-2: #E2D7C3;
  --espresso: #30241D;
  --espresso-2: #1E1612;
  --coffee: #765741;
  --coffee-light: #A58568;
  --olive: #797B60;
  --olive-light: #9B9D81;
  --cream: #FBF8F2;
  --border: #D9CFBF;
  --border-soft: #E8DFCF;

  /* Type */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale */
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 999px;
  --radius-sm: 14px;

  /* Easing */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--espresso); color: var(--ivory); }

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

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--espresso);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.italic { font-style: italic; color: var(--coffee); font-weight: 400; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.05; color: var(--espresso); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coffee);
  font-weight: 500;
}

.lead { font-size: clamp(16px, 1.1vw, 18px); color: #51423a; line-height: 1.65; max-width: 46ch; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-sm { padding: clamp(60px, 7vw, 100px) 0; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: var(--border-soft);
}

.brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--espresso);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.brand .amp { color: var(--coffee); font-style: italic; padding: 0 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  opacity: .78;
  transition: opacity .3s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--espresso);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--espresso);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--espresso-2); }

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--espresso);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ivory);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ivory);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* =========================================================
   HERO — matches reference split layout
   ========================================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 90px;
  position: relative;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(32px, 6vw, 100px) 80px;
  background: var(--ivory);
}

.hero-eyebrow { margin-bottom: 32px; }

.hero-title {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--espresso);
  font-weight: 500;
}
.hero-title .italic { font-weight: 400; }

.hero-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: #5a4a40;
  line-height: 1.7;
  max-width: 36ch;
  margin-bottom: 44px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-right {
  position: relative;
  overflow: hidden;
  background: #2a1f18;
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.badge {
  position: absolute;
  background: var(--espresso);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  z-index: 2;
}
.badge-top { top: 32px; right: 32px; }

.special-card {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: var(--cream);
  padding: 18px 26px;
  border-radius: 18px;
  box-shadow: 0 20px 50px -20px rgba(48,36,29,.35);
  z-index: 2;
  min-width: 220px;
}
.special-card .label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 4px;
  font-weight: 500;
}
.special-card .name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--espresso);
}

/* =========================================================
   SECTION — INTRO
   ========================================================= */
.intro {
  background: var(--ivory);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.intro-text h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  margin: 20px 0 28px;
  letter-spacing: -0.02em;
}
.intro-text .italic { color: var(--coffee); }
.intro-text p { color: #4a3b32; margin-bottom: 18px; max-width: 48ch; }
.intro-text .sign {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--coffee);
  font-size: 20px;
}

.intro-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.intro-visual img { width: 100%; height: 100%; object-fit: cover; }

.intro-visual .caption {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(247,243,236,.92);
  backdrop-filter: blur(6px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
}

/* =========================================================
   COFFEE & KITCHEN - split cards
   ========================================================= */
.ck { background: var(--beige); }
.ck-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.ck-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.02em;
}
.ck-head p { color: #4a3b32; max-width: 44ch; }

.ck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ck-card {
  background: var(--ivory);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ck-card .img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ck-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.ck-card:hover .img img { transform: scale(1.04); }
.ck-card .body { padding: 32px clamp(24px, 3vw, 40px) 36px; }
.ck-card .body .eyebrow { margin-bottom: 10px; }
.ck-card .body h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  margin-bottom: 12px;
}
.ck-card .body p { color: #4a3b32; }

/* =========================================================
   FEATURED MENU
   ========================================================= */
.feat-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.feat-head h2 {
  font-size: clamp(40px, 5vw, 76px);
}
.feat-head .meta { color: var(--coffee); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dish {
  display: flex;
  flex-direction: column;
}
.dish .img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.dish .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.dish:hover .img img { transform: scale(1.05); }
.dish .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.dish h3 {
  font-size: 24px;
  letter-spacing: -0.01em;
}
.dish .price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--coffee);
}
.dish .desc {
  margin-top: 8px;
  color: #65574e;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-section { background: var(--ivory-2); }

.g-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.g-mosaic .tile { overflow: hidden; border-radius: 10px; position: relative; }
.g-mosaic .tile img { width:100%; height:100%; object-fit:cover; transition: transform 1.2s var(--ease); }
.g-mosaic .tile:hover img { transform: scale(1.05); }
.g1 { grid-column: span 5; grid-row: span 2; }
.g2 { grid-column: span 4; grid-row: span 1; }
.g3 { grid-column: span 3; grid-row: span 2; }
.g4 { grid-column: span 4; grid-row: span 1; }
.g5 { grid-column: span 3; grid-row: span 2; }
.g6 { grid-column: span 5; grid-row: span 1; }
.g7 { grid-column: span 4; grid-row: span 1; }

/* =========================================================
   STORY STRIP
   ========================================================= */
.story-strip {
  background: var(--espresso);
  color: var(--ivory);
}
.story-strip h2 {
  font-size: clamp(44px, 6vw, 88px);
  color: var(--ivory);
  max-width: 16ch;
  margin-bottom: 32px;
}
.story-strip .italic { color: var(--coffee-light); }
.story-strip p { color: #d9cfbf; max-width: 56ch; margin-bottom: 32px; }
.story-strip .btn-primary {
  background: var(--ivory);
  color: var(--espresso);
}
.story-strip .btn-primary:hover { background: #fff; }

.story-strip-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-strip .visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.story-strip .visual img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   RESERVATIONS
   ========================================================= */
.reserve { background: var(--beige); }
.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.reserve-grid h2 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 24px; }
.reserve-grid .italic { color: var(--coffee); }
.reserve-grid p { color: #4a3b32; margin-bottom: 20px; max-width: 42ch; }
.reserve-info-list { list-style: none; margin-top: 24px; }
.reserve-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
}
.reserve-info-list li:last-child { border-bottom: 1px solid var(--border); }
.reserve-info-list .k { color: var(--coffee); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11.5px; }

.form-card {
  background: var(--ivory);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(48,36,29,.35);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coffee);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--espresso);
  width: 100%;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--coffee);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: #7a6b61;
  background: var(--beige-2);
  padding: 12px 16px;
  border-radius: 10px;
  border-left: 3px solid var(--coffee);
}

/* =========================================================
   VISIT / MAP
   ========================================================= */
.visit {
  background: var(--ivory);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.visit-text h2 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 24px; }
.visit-text .italic { color: var(--coffee); }
.visit-text p { color: #4a3b32; max-width: 44ch; margin-bottom: 24px; }
.visit-list { list-style: none; margin-top: 10px; }
.visit-list li {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  font-size: 14.5px;
}
.visit-list li:last-child { border-bottom: 1px solid var(--border); }
.visit-list .k { color: var(--coffee); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.visit-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--border);
}
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--espresso-2);
  color: #c7bdb0;
  padding: 90px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ivory);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a { color: #c7bdb0; transition: color .3s var(--ease); }
.footer a:hover { color: var(--ivory); }
.footer .brand { color: var(--ivory); font-size: 32px; margin-bottom: 18px; display: block; }
.footer .brand .amp { color: var(--coffee-light); }
.footer-tag { max-width: 32ch; font-size: 14px; color: #a89d8f; line-height: 1.6; }
.footer-bot {
  padding-top: 24px;
  border-top: 1px solid #3a2b22;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #a89d8f;
  letter-spacing: 0.06em;
}

/* =========================================================
   MENU PAGE
   ========================================================= */
.page-head {
  padding: 180px var(--gutter) 70px;
  background: var(--ivory);
}
.page-head .inner { max-width: var(--maxw); margin: 0 auto; }
.page-head h1 {
  font-size: clamp(56px, 8vw, 128px);
  letter-spacing: -0.025em;
  margin: 20px 0 24px;
}
.page-head .italic { color: var(--coffee); }
.page-head p { max-width: 56ch; color: #5a4a40; }

.menu-nav {
  position: sticky;
  top: 72px;
  background: var(--ivory);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  z-index: 20;
}
.menu-nav .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-nav .inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  opacity: .7;
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.menu-nav a:hover, .menu-nav a.active {
  opacity: 1;
  background: var(--espresso);
  color: var(--ivory);
}

.menu-cat { padding: clamp(70px, 8vw, 110px) 0; }
.menu-cat:nth-child(even) { background: var(--ivory-2); }

.menu-cat .cat-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.menu-cat .cat-head h2 { font-size: clamp(44px, 6vw, 82px); }
.menu-cat .cat-head .italic { color: var(--coffee); }
.menu-cat .cat-head p { color: #5a4a40; max-width: 48ch; }

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 60px;
}
.menu-item {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.menu-item .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.menu-item h3 { font-size: 24px; letter-spacing: -0.01em; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted var(--coffee-light); margin: 0 10px 7px; opacity: .5; }
.menu-item .price { font-family: var(--serif); font-size: 22px; color: var(--coffee); }
.menu-item .desc { margin-top: 8px; color: #65574e; font-size: 14.5px; line-height: 1.6; }

/* =========================================================
   STORY PAGE
   ========================================================= */
.story-hero {
  padding: 160px var(--gutter) 100px;
  background: var(--ivory);
}
.story-hero .inner {
  max-width: 960px; margin: 0 auto; text-align: center;
}
.story-hero h1 {
  font-size: clamp(56px, 9vw, 140px);
  letter-spacing: -0.03em;
  line-height: .98;
  margin: 24px 0 32px;
}
.story-hero .italic { color: var(--coffee); }
.story-hero .lead { margin: 0 auto; font-size: 19px; max-width: 54ch; }

.story-image {
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-body {
  padding: clamp(80px, 10vw, 140px) 0;
}
.story-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1120px;
  margin: 0 auto;
}
.story-cols h2 { font-size: clamp(32px, 3.5vw, 46px); margin-bottom: 24px; }
.story-cols p { color: #4a3b32; margin-bottom: 18px; font-size: 16px; }

.values {
  background: var(--beige);
  padding: clamp(70px, 9vw, 120px) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.value h3 { font-size: 26px; margin-bottom: 12px; }
.value p { color: #4a3b32; font-size: 15px; }
.value .num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--coffee);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  padding: clamp(60px, 8vw, 120px) 0;
}
.contact-info h2 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 24px; }
.contact-info .italic { color: var(--coffee); }
.contact-info p { color: #4a3b32; margin-bottom: 32px; max-width: 44ch; }
.contact-info ul { list-style: none; }
.contact-info li {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
}
.contact-info li:last-child { border-bottom: 1px solid var(--border); }
.contact-info .k { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coffee); }
.contact-info .v { font-size: 15px; color: var(--espresso); line-height: 1.6; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .18s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .3s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .36s; }
.reveal-stagger.in > * { opacity: 0; transform: translateY(24px); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0ms !important; transition-duration: 0ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav .btn-primary.desktop-only { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 90px; }
  .hero-left { padding: 60px var(--gutter) 60px; }
  .hero-right { height: 70vh; min-height: 420px; }

  .intro-grid, .ck-grid, .ck-head, .feat-head, .reserve-grid, .visit-grid, .story-cols, .contact-grid, .story-strip-grid, .menu-cat .cat-head { grid-template-columns: 1fr; gap: 36px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .menu-items { grid-template-columns: 1fr; gap: 0; }
  .form-row { grid-template-columns: 1fr; }

  .g-mosaic { grid-auto-rows: 140px; }
  .g1 { grid-column: span 12; grid-row: span 2; }
  .g2 { grid-column: span 6; }
  .g3 { grid-column: span 6; grid-row: span 2; }
  .g4 { grid-column: span 6; }
  .g5 { grid-column: span 6; grid-row: span 2; }
  .g6 { grid-column: span 6; }
  .g7 { grid-column: span 6; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .nav { padding: 16px var(--gutter); }
  .brand { font-size: 22px; }
  .special-card { bottom: 20px; left: 20px; padding: 14px 18px; min-width: 180px; }
  .special-card .name { font-size: 18px; }
  .badge-top { top: 20px; right: 20px; }
  .visit-list li, .contact-info li { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   MENU PAGE — Forest Green (scoped via body.menu-page)
   ========================================================= */
:root {
  --forest: #2D4038;
  --forest-2: #263730;
  --forest-3: #334A41;
  --forest-cream: #E8D9BC;     /* warm accent for italic text */
  --forest-sand:  #D4BD95;     /* warm accent for prices */
  --forest-mute:  #B6B4A3;     /* muted body copy */
  --forest-line:  rgba(247, 243, 236, 0.14);
  --forest-dots:  rgba(247, 243, 236, 0.22);
}

/* Soft ivory → forest transition at bottom of hero */
.menu-page .page-head {
  position: relative;
}
.menu-page .page-head::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(45, 64, 56, 0), var(--forest));
  pointer-events: none;
}

/* Sticky category tabs */
.menu-page .menu-nav {
  background: var(--forest);
  border-top: 1px solid var(--forest-line);
  border-bottom: 1px solid var(--forest-line);
}
.menu-page .menu-nav a {
  color: var(--ivory);
  opacity: 0.72;
}
.menu-page .menu-nav a:hover,
.menu-page .menu-nav a.active {
  background: var(--ivory);
  color: var(--forest);
  opacity: 1;
}

/* Category sections */
.menu-page .menu-cat,
.menu-page .menu-cat:nth-child(even) {
  background: var(--forest);
  color: var(--ivory);
}

.menu-page .menu-cat h2,
.menu-page .menu-cat .cat-head h2 {
  color: var(--ivory);
}
.menu-page .menu-cat .italic {
  color: var(--forest-cream);
}
.menu-page .menu-cat .cat-head p {
  color: var(--forest-mute);
}
.menu-page .menu-cat .eyebrow {
  color: var(--forest-cream);
}

/* Items */
.menu-page .menu-item {
  border-top-color: var(--forest-line);
}
.menu-page .menu-item h3 {
  color: var(--ivory);
}
.menu-page .menu-item .price {
  color: var(--forest-sand);
}
.menu-page .menu-item .desc {
  color: var(--forest-mute);
}
.menu-page .menu-item .dots {
  border-bottom-color: var(--forest-dots);
  opacity: 1;
}

/* Nav scrolled state on green pages — a touch cleaner */
.menu-page .nav.scrolled {
  background: rgba(247, 243, 236, 0.95);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 90;
  padding: 100px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--espresso);
}
.mobile-menu .close {
  position: absolute;
  top: 24px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
