/* ===== Design tokens ===== */
:root {
  --cream: #fbf9ef;
  --cream-rgb: 251, 249, 239;
  --espresso: #3d2b24;
  --espresso-rgb: 61, 43, 36;
  --terracotta: #8c5f45;
  --terracotta-rgb: 140, 95, 69;
  --steamedmilk: #f1ebe4;
  --card: #fdfaf7;
  --doordash: #ff3008;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 82px;
}

@media (min-width: 640px) {
  :root { --header-h: 96px; }
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.icon { display: inline-block; }
.icon-sm { width: .875rem; height: .875rem; }
.icon-md { width: 1rem; height: 1rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.accent { color: var(--terracotta); }
.flex-none { flex-shrink: 0; }
.mt-1 { margin-top: .25rem; }

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { background: var(--cream); }
.text-center { text-align: center; }

.eyebrow {
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--terracotta);
}

.h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--espresso);
}
.h2.light { color: var(--cream); }
.h2-lg { font-size: 2.25rem; }
@media (min-width: 640px) {
  .h2 { font-size: 2.25rem; }
  .h2-lg { font-size: 3rem; }
}

.h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--espresso);
}
.h3-lg { font-size: 1.5rem; }
@media (min-width: 640px) {
  .h3-lg { font-size: 1.875rem; }
}

.h4-dark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  color: var(--cream);
}

.body-text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(var(--espresso-rgb), .75);
}
.body-text strong { font-weight: 600; color: var(--espresso); }

.mono { font-family: var(--font-mono); color: var(--espresso); }
.muted { color: rgba(var(--espresso-rgb), .4); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 9999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.95); }

.btn-dark {
  background: var(--espresso);
  color: var(--cream);
  padding: .5rem 1rem;
  font-size: .875rem;
}
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }

.btn-terracotta {
  background: rgba(var(--terracotta-rgb), .8);
  color: var(--cream);
  padding: .9rem 1.5rem;
  font-size: .875rem;
}

.btn-ghost-light {
  border: 1px solid rgba(var(--cream-rgb), .4);
  background: rgba(255, 255, 255, .05);
  color: var(--cream);
  padding: .9rem 1.5rem;
  font-size: .875rem;
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .15); }

.btn-doordash {
  background: var(--doordash);
  color: #fff;
  padding: .9rem 1.5rem;
  font-size: .875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.btn-sm-pad { padding: .625rem 1.25rem; font-size: .875rem; margin-top: .25rem; }

.btn-terracotta-lg {
  background: var(--terracotta);
  color: var(--cream);
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-outline-full {
  width: 100%;
  margin-top: .75rem;
  border: 1px solid rgba(var(--espresso-rgb), .15);
  background: rgba(255, 255, 255, .7);
  color: var(--espresso);
  padding: .625rem 1.25rem;
  font-size: .875rem;
  backdrop-filter: blur(6px);
}
.btn-outline-full:hover { background: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: var(--cream);
  box-shadow: 0 1px 0 0 rgba(var(--espresso-rgb), .08);
  transition: box-shadow .3s ease;
}
.nav-bar {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
}
@media (min-width: 640px) {
  .nav-bar { padding: 1.25rem 2rem; }
}
.logo-link { margin-right: 2.5rem; display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; mix-blend-mode: multiply; }
@media (min-width: 640px) { .logo-img { height: 56px; } }

.nav-links { display: none; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(var(--espresso-rgb), .7);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--espresso); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.phone-short { display: inline; }
.phone-full { display: none; }
@media (min-width: 640px) {
  .phone-short { display: none; }
  .phone-full { display: inline; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  animation: hero-kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--espresso-rgb), .85), rgba(var(--espresso-rgb), .35) 55%, rgba(var(--espresso-rgb), .3));
}
.hero-gradient-mobile { display: none; }
@media (max-width: 639px) {
  .hero-gradient-mobile {
    display: block;
    position: absolute; inset: 0;
    background: radial-gradient(160% 95% at 16% 86%, rgba(20,12,8,.6) 0%, rgba(20,12,8,.34) 52%, rgba(20,12,8,0) 82%);
  }
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 1.25rem 3.5rem;
}
@media (min-width: 640px) { .hero-content { padding-bottom: 5rem; } }

.hero-inner { max-width: 42rem; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-rise { animation: rise .7s cubic-bezier(.22,1,.36,1) both; }

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  background: rgba(var(--terracotta-rgb), .8);
  color: var(--cream);
  padding: .375rem .75rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: .5rem; height: .5rem;
  border-radius: 9999px;
  background: #9c7263;
  animation: pulse-soft 2s ease-in-out infinite;
}
.badge-status.is-open { background: rgba(122, 143, 93, .85); }
.badge-status.is-open .badge-dot { background: #cfe0b0; }
@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.02;
  color: var(--cream);
}
.accent-mark { color: var(--terracotta); }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  color: rgba(var(--cream-rgb), .85);
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; align-items: center; } }

.hero-location {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(var(--cream-rgb), .6);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ===== About ===== */
.about-section {
  border-bottom: 1px solid rgba(var(--espresso-rgb), .1);
  padding: 5rem 0;
}
@media (min-width: 640px) { .about-section { padding: 7rem 0; } }

.about-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1.4fr 1fr; align-items: center; }
}

.about-copy {
  margin-top: 1.5rem;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-facts {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: .75rem;
}
.fact {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(var(--espresso-rgb), .7);
}

.hours-card {
  border-radius: 1rem;
  border: 1px solid rgba(var(--espresso-rgb), .1);
  background: rgba(255, 255, 255, .6);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.hours-list { margin-top: 1rem; }
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .625rem 0;
  font-size: .875rem;
  border-top: 1px solid rgba(var(--espresso-rgb), .1);
}
.hours-row:first-child { border-top: none; }
.hours-row span:first-child { font-weight: 500; color: rgba(var(--espresso-rgb), .8); }

/* ===== Menu ===== */
.menu-header { padding-top: 5rem; }
@media (min-width: 640px) { .menu-header { padding-top: 7rem; } }

.menu-tagline {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: .875rem;
  color: rgba(var(--espresso-rgb), .6);
}
.menu-doordash { margin-top: 1.5rem; display: flex; justify-content: center; }

.menu-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(var(--espresso-rgb), .1);
  border-bottom: 1px solid rgba(var(--espresso-rgb), .1);
  background: rgba(var(--cream-rgb), .95);
  backdrop-filter: blur(6px);
}

.menu-subnav-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .5rem .75rem;
  overflow-x: auto;
}
@media (min-width: 640px) { .menu-subnav-inner { gap: .5rem; } }

.tab-btn {
  flex-shrink: 0;
  border-radius: 9999px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(var(--espresso-rgb), .6);
  transition: background-color .15s ease, color .15s ease;
}
.tab-btn:hover { background: var(--steamedmilk); color: var(--espresso); }
.tab-btn.active { background: var(--espresso); color: var(--cream); }
.tab-btn.active:hover { background: var(--espresso); }

.menu-body { padding-bottom: 2rem; }

.menu-item-block {
  scroll-margin-top: 8rem;
  border-bottom: 1px solid rgba(var(--espresso-rgb), .1);
  padding: 3rem 0;
}
.menu-item-block:last-of-type { border-bottom: none; }
@media (min-width: 640px) { .menu-item-block { padding: 4rem 0; } }

.menu-item-heading {
  margin-bottom: 1.75rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.tag {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--terracotta);
}

.menu-item-grid { display: block; }
@media (min-width: 1024px) {
  .menu-item-grid {
    display: grid;
    grid-template-columns: .85fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.menu-item-image {
  margin: 0 auto 2rem;
  max-width: 42rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(var(--espresso-rgb), .1);
  aspect-ratio: 3 / 2;
}
.menu-item-image img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .menu-item-image { margin: 0; max-width: none; }
  .order-2-lg { order: 2; }
  .order-1-lg { order: 1; }
}

.menu-list.two-col {
  display: grid;
  gap: .25rem 2.5rem;
}
@media (min-width: 768px) {
  .menu-list.two-col { grid-template-columns: 1fr 1fr; }
}
.menu-list-entry {
  border-radius: .5rem;
  padding: .625rem .5rem;
  transition: background-color .15s ease;
}
.menu-list-entry:hover { background: rgba(241, 235, 228, .6); }
.item-name { font-size: 17px; font-weight: 500; line-height: 1.375; color: var(--espresso); }
.item-desc { margin-top: .125rem; font-size: .875rem; line-height: 1.375; color: rgba(var(--espresso-rgb), .55); }

.menu-note {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  border-radius: .75rem;
  border: 1px solid rgba(var(--espresso-rgb), .1);
  background: rgba(255, 255, 255, .5);
  padding: .875rem 1rem;
}
.menu-note p { font-size: .875rem; color: rgba(var(--espresso-rgb), .65); }

.beverages-line { padding: 2.5rem 0; text-align: center; }
.beverages-line p { font-size: .875rem; color: rgba(var(--espresso-rgb), .55); }
.beverages-label { font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgba(var(--espresso-rgb), .75); }

/* ===== Catering ===== */
.catering-section {
  background: var(--espresso);
  color: var(--cream);
  padding: 5rem 0;
}
@media (min-width: 640px) { .catering-section { padding: 7rem 0; } }

.catering-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .catering-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.catering-copy { margin-top: 1.5rem; max-width: 28rem; color: rgba(var(--cream-rgb), .7); }
.br-sm { display: none; }
@media (min-width: 640px) { .br-sm { display: block; } }

.catering-cta { margin-top: 2rem; }
.catering-note { margin-top: .75rem; font-size: .875rem; color: rgba(var(--cream-rgb), .5); }

.catering-img-wrap {
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
}
.catering-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.catering-img-wrap:hover img { transform: scale(1.05); }

.catering-cards {
  margin-top: 1.25rem;
  display: grid;
  gap: .75rem;
}
@media (min-width: 640px) { .catering-cards { grid-template-columns: repeat(3, 1fr); } }

.catering-card {
  border-radius: .75rem;
  border: 1px solid rgba(var(--cream-rgb), .15);
  background: rgba(var(--cream-rgb), .05);
  padding: 1rem;
}
.catering-card p {
  margin-top: .375rem;
  font-size: .75rem;
  line-height: 1.375;
  color: rgba(var(--cream-rgb), .6);
}

/* ===== Catering Info ===== */
.catering-info-section {
  border-bottom: 1px solid rgba(var(--espresso-rgb), .1);
  padding: 5rem 0;
}
@media (min-width: 640px) { .catering-info-section { padding: 7rem 0; } }

.catering-info-heading { max-width: 40rem; margin: 0 auto; }
.catering-info-subheading {
  margin-top: .75rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--terracotta);
}

.catering-info-copy {
  margin: 2.5rem auto 0;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ===== Catering Menu ===== */
.catering-menu-section { padding: 5rem 0 0; }
@media (min-width: 640px) { .catering-menu-section { padding-top: 7rem; } }
.catering-menu-heading { margin-bottom: 3rem; }

.catering-menu-block {
  border-top: 1px solid rgba(var(--espresso-rgb), .1);
  padding: 2.5rem 0;
}
.catering-menu-heading + .catering-menu-block { border-top: none; padding-top: 0; }
.catering-menu-block:last-of-type { padding-bottom: 0; }

.catering-menu-block-heading {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.catering-menu-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
}
@media (min-width: 768px) {
  .catering-menu-grid { grid-template-columns: 1fr 1fr; }
}

.catering-menu-label {
  margin-bottom: .375rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--terracotta);
}
.catering-menu-items {
  font-size: .9375rem;
  line-height: 1.5;
  color: rgba(var(--espresso-rgb), .75);
}

.catering-menu-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .catering-menu-cards { grid-template-columns: 1fr 1fr; }
}

.catering-menu-card {
  border-radius: .75rem;
  border: 1px solid rgba(var(--espresso-rgb), .1);
  background: rgba(255, 255, 255, .6);
  padding: 1.25rem;
}
.catering-menu-card-top {
  margin-bottom: .5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.catering-menu-card p {
  font-size: .9375rem;
  line-height: 1.5;
  color: rgba(var(--espresso-rgb), .75);
}
.catering-menu-includes {
  margin-top: .375rem;
  font-size: .8125rem;
  color: rgba(var(--espresso-rgb), .5);
}

/* ===== Location ===== */
.location-section {
  border-bottom: 1px solid rgba(var(--espresso-rgb), .1);
  padding: 5rem 0;
}
@media (min-width: 640px) { .location-section { padding: 7rem 0; } }
.location-heading { margin-bottom: 3rem; }

.location-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .location-grid { grid-template-columns: 1.1fr 1fr; }
}

.map-wrap {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(var(--espresso-rgb), .1);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.map-wrap iframe {
  width: 100%;
  min-height: 320px;
  height: 100%;
  border: 0;
  filter: sepia(.18) saturate(.85) hue-rotate(-8deg);
}

.location-info { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.info-row { display: flex; align-items: flex-start; gap: 1rem; }
.info-icon {
  flex-shrink: 0;
  margin-top: .125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--steamedmilk);
  color: var(--terracotta);
}
.info-link {
  display: block;
  margin-top: .25rem;
  font-size: 17px;
  line-height: 1.375;
  color: rgba(var(--espresso-rgb), .75);
}
.info-link:hover { color: var(--terracotta); }
.info-text { margin-top: .25rem; font-size: 17px; color: rgba(var(--espresso-rgb), .75); }
.info-subtext { color: rgba(var(--espresso-rgb), .45); font-size: .875rem; }
.info-desc { margin-top: .25rem; font-size: .9375rem; line-height: 1.375; color: rgba(var(--espresso-rgb), .65); }

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
}
.footer-watermark {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: .04;
  pointer-events: none;
}
.footer-watermark span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22vw;
  line-height: 1;
}

.footer-inner {
  position: relative;
  padding: 4rem 1.25rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-logo-wrap {
  display: inline-flex;
  border-radius: 1rem;
  background: var(--cream);
  padding: .5rem;
}
.footer-logo { height: 80px; width: auto; mix-blend-mode: multiply; }
@media (min-width: 640px) { .footer-logo { height: 96px; } }

.footer-tagline {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: .875rem;
  line-height: 1.6;
  color: rgba(var(--cream-rgb), .55);
}

.footer-links { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.footer-link {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: rgba(var(--cream-rgb), .8);
}
.footer-link:hover { color: var(--cream); }
.footer-link.align-start { align-items: flex-start; }

.footer-hours-line {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: rgba(var(--cream-rgb), .8);
  font-size: .875rem;
}
.footer-hours-sub {
  margin-top: .5rem;
  padding-left: 26px;
  color: rgba(var(--cream-rgb), .5);
  font-size: .875rem;
}

.footer-copyright {
  margin-top: 3rem;
  border-top: 1px solid rgba(var(--cream-rgb), .1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .75rem;
  color: rgba(var(--cream-rgb), .4);
}
