@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Nunito+Sans:wght@400;600;700&display=swap");

:root {
  --terra: #b55233;
  --cream: #f7f3ed;
  --olive: #5c6b4a;
  --espresso: #2c1810;
  --max: 960px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, sans-serif;
  background: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  color: var(--espresso);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Libre Baskerville", Georgia, serif; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header { border-bottom: 1px solid rgba(44,24,16,0.12); background: rgba(247,243,237,0.95); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--espresso); font-weight: 700; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav-toggle { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--espresso); font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--terra); }

.hero-cafe { padding: 3rem 0 2rem; text-align: center; }
.hero-cafe h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-style: italic; margin: 0.5rem 0 1rem; }
.hero-cafe img { width: 100%; max-height: 420px; object-fit: cover; margin: 1.5rem 0; border-radius: 2px; }
.lead { max-width: 52ch; margin: 0 auto 1.25rem; color: #5a463c; }

.btn {
  display: inline-block; background: var(--terra); color: #fff; text-decoration: none;
  padding: 0.7rem 1.3rem; font-weight: 700; border: none; cursor: pointer; font: inherit;
}
.btn:hover { background: var(--espresso); color: #fff; }

.hours-bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(44,24,16,0.15); border-bottom: 1px solid rgba(44,24,16,0.15);
  padding: 1rem 0; margin: 2rem 0; font-size: 0.95rem;
}

.section { padding: 2.5rem 0; }
.section-alt { background: rgba(255,255,255,0.55); }
.section-intro { max-width: 55ch; color: #5a463c; margin-bottom: 1.25rem; }
.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.notes article {
  background: #fff;
  padding: 1.25rem;
  border: 1px solid rgba(44,24,16,0.08);
}
.notes h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  padding: 0.95rem 0;
  border-bottom: 1px dotted rgba(44,24,16,0.25);
}
.menu-list strong { font-family: "Libre Baskerville", serif; }
.menu-item-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.menu-item-main strong {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.menu-price {
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.menu-note {
  margin: 0.25rem 0 0;
  color: #5a463c;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 42ch;
}

.two, .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.two img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }

.form-panel { background: #fff; padding: 1.4rem; border: 1px solid rgba(44,24,16,0.1); }
.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 0.55rem; font: inherit; border: 1px solid #ccc; }
.form-group input.invalid { border-color: #a33; }
.field-error { color: #a33; font-size: 0.85rem; }
.form-success { display: none; padding: 0.7rem; background: #e8efe4; margin-top: 0.7rem; }
.form-success.visible { display: block; }

.site-footer { background: var(--espresso); color: #eadfd4; padding: 2.2rem 0 1.4rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: #e8c9b0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #4a3328; font-size: 0.88rem; }
.legal-doc { padding: 2rem 0 3rem; max-width: 680px; }
.page-hero { padding: 2rem 0 1rem; }

@media (max-width: 800px) {
  .two, .contact-layout, .footer-grid, .notes { grid-template-columns: 1fr; }
  .nav-toggle { display: block; background: #fff; border: 1px solid var(--espresso); padding: 0.4rem 0.7rem; }
  .site-header { position: relative; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); max-height: 0; overflow: hidden; }
  .site-nav.open { max-height: 220px; }
  .site-nav ul { flex-direction: column; padding: 1rem; }
  .menu-item-main { gap: 0.75rem; }
  .menu-note { max-width: none; }
}
