/* ==========================================================
   The Local's Spot — "Morning Diner" palette
   ========================================================== */
:root {
  --mustard: #E8A33D;
  --mustard-dark: #C9852A;
  --espresso: #3B2418;
  --espresso-soft: #5A3F31;
  --cream: #FFF8EE;
  --cream-deep: #F6EAD7;
  --sage: #7A9A6B;
  --sage-dark: #5E7C51;
  --tomato: #D9523B;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(59, 36, 24, 0.12);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 90px 0; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: .8rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head p { color: var(--espresso-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mustard); color: var(--espresso); }
.btn-primary:hover { background: var(--mustard-dark); }
.btn-call { background: var(--tomato); color: var(--white); }
.btn-call:hover { box-shadow: 0 6px 18px rgba(217, 82, 59, .4); }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--espresso); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(59, 36, 24, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex; align-items: center; gap: .45em;
}
.logo-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.icon { flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--tomato); }
.nav-links .btn { padding: .6em 1.2em; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--espresso); margin: 6px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid; align-items: center;
  color: var(--cream);
  background:
    linear-gradient(100deg, rgba(43, 25, 16, .88) 0%, rgba(43, 25, 16, .6) 50%, rgba(43, 25, 16, .2) 100%),
    url("https://images.unsplash.com/photo-1710533835063-ef6e502226b5?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
}
.hero-content { max-width: 620px; padding: 80px 0; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); font-weight: 800; }
.hero h1 em { font-style: italic; color: var(--mustard); }
.hero p.lead { font-size: 1.2rem; opacity: .92; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.special-badge {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--tomato); color: var(--white);
  font-weight: 700; font-size: .9rem;
  padding: .45em 1em; border-radius: 999px;
  margin-bottom: 1.4rem;
}

/* ---------- Info strip ---------- */
.info-strip { background: var(--espresso); color: var(--cream); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.info-item { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255, 248, 238, .12); }
.info-item:last-child { border-right: 0; }
.info-item strong { display: block; color: var(--mustard); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.info-item span, .info-item a { font-weight: 600; text-decoration: none; }

/* ---------- Favorites ---------- */
.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fav-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.fav-card:hover { transform: translateY(-6px); }
.fav-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.fav-body { padding: 20px 22px 24px; }
.fav-body .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fav-body h3 { margin: 0; }
.price { font-weight: 800; color: var(--tomato); white-space: nowrap; }
.fav-body p { margin: .4em 0 0; color: var(--espresso-soft); font-size: .95rem; }
.tag-vegan {
  display: inline-block; background: var(--sage); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .2em .6em; border-radius: 6px; margin-left: .4em; vertical-align: middle;
}

/* ---------- Specials banner ---------- */
.specials {
  background: var(--mustard);
  padding: 60px 0;
}
.specials-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.specials h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.specials p { margin: .4em 0 0; font-size: 1.1rem; }

/* ---------- Menu ---------- */
.menu-section { background: var(--cream-deep); }
.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 40px;
}
.menu-tab {
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: .55em 1.15em; border-radius: 999px;
  border: 2px solid var(--espresso);
  background: transparent; color: var(--espresso);
  cursor: pointer; transition: .15s;
}
.menu-tab:hover { background: rgba(59, 36, 24, .08); }
.menu-tab.active { background: var(--espresso); color: var(--cream); }
.menu-tab.tab-vegan { border-color: var(--sage-dark); color: var(--sage-dark); }
.menu-tab.tab-vegan.active { background: var(--sage-dark); color: var(--white); }

.tabs-hint {
  display: none;
  text-align: center; font-size: .85rem; font-weight: 600;
  color: var(--espresso-soft); margin: 0 0 24px;
}
.menu-panel { display: none; background: var(--white); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow); }
.menu-panel.active { display: block; animation: fade .3s ease; }
.no-js .menu-panel { display: block; margin-bottom: 30px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-panel > h3 { font-size: 1.8rem; margin-bottom: .2em; }
.menu-note { color: var(--espresso-soft); font-size: .92rem; margin-bottom: 1.6em; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 50px; list-style: none; margin: 0; padding: 0; }
.menu-item .row { display: flex; align-items: baseline; gap: 8px; }
.menu-item .name { font-weight: 700; }
.menu-item .dots { flex: 1; border-bottom: 2px dotted rgba(59, 36, 24, .25); transform: translateY(-4px); }
.menu-item .desc { margin: .15em 0 0; font-size: .92rem; color: var(--espresso-soft); }
.menu-disclaimer { text-align: center; margin-top: 30px; font-size: .88rem; color: var(--espresso-soft); }

/* ---------- Vegan ---------- */
.vegan { background: var(--sage); color: var(--white); }
.vegan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vegan img { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, .2); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.vegan .eyebrow { color: var(--cream); opacity: .9; }
.vegan ul { list-style: none; padding: 0; margin: 1.4em 0 2em; display: grid; gap: .6em; }
.vegan li { display: flex; gap: .6em; }
.vegan li::before { content: "🌱"; }
.vegan .btn-primary { background: var(--cream); }

/* ---------- Coffee ---------- */
.coffee-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.coffee-grid img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.latte-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4em 0; padding: 0; list-style: none; }
.latte-list li {
  background: var(--white); border: 1px solid rgba(59, 36, 24, .12);
  padding: .45em 1em; border-radius: 999px; font-weight: 600; font-size: .95rem;
}

/* ---------- About ---------- */
.about { background: var(--espresso); color: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about .eyebrow { color: var(--mustard); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6em; }
.perk { background: rgba(255, 248, 238, .07); border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: .95rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); position: relative; margin: 0;
}
.review .stars { color: var(--mustard); font-size: 1.2rem; letter-spacing: 2px; }
.rating-summary small { font-weight: 500; color: var(--espresso-soft); }
.review blockquote { margin: .8em 0 1em; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; }
.review cite { font-style: normal; font-weight: 700; color: var(--espresso-soft); font-size: .9rem; }
.rating-summary { text-align: center; margin-top: 40px; font-weight: 600; }
.rating-summary .big { font-family: var(--font-display); font-size: 2.4rem; color: var(--tomato); }

/* ---------- Visit ---------- */
.visit { background: var(--cream-deep); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; }
.visit-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.hours { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; }
.hours td { padding: .45em 0; border-bottom: 1px dashed rgba(59, 36, 24, .15); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--tomato); font-weight: 800; }
.visit-card address { font-style: normal; margin-bottom: 1.2em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-actions .btn-outline { border-color: var(--espresso); color: var(--espresso); }
.visit-actions .btn-outline:hover { background: var(--espresso); color: var(--cream); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4em; }
.services span { background: var(--cream-deep); padding: .3em .8em; border-radius: 8px; font-size: .88rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--cream); padding: 50px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.site-footer .logo { color: var(--cream); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 248, 238, .12); font-size: .85rem; opacity: .7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Mobile call bar ---------- */
.mobile-call {
  display: none;
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .fav-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .vegan-grid, .coffee-grid, .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .vegan img { aspect-ratio: 16/10; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-item:nth-child(2) { border-right: 0; }
  .info-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 248, 238, .12); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(59, 36, 24, .1);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a:not(.btn) { display: block; padding: 14px; }
  .nav-links .btn { margin: 10px 0 18px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .fav-grid, .review-grid { grid-template-columns: 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-panel { padding: 28px 22px; }
  .menu-tabs {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px;
    margin-bottom: 10px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 78%, transparent);
            mask-image: linear-gradient(to right, #000 78%, transparent);
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tabs.at-end { -webkit-mask-image: none; mask-image: none; }
  .menu-tab { flex: 0 0 auto; }
  .tabs-hint { display: block; }
  .perks { grid-template-columns: 1fr; }
  .mobile-call { display: flex; }
  .site-footer { padding-bottom: 100px; }
  .visit-card { padding: 28px 22px; }
}
