/*
  Kestrel & Rye — restaurant sample.
  Edit colors in :root. This file styles only this folder.
*/

:root {
  --bg: #f3ecdf;
  --ink: #241c16;
  --muted: #53483e;
  --paper: #fffaf3;
  --line: #e2d5c4;
  --tomato: #7a332c;
  --olive: #3f4f3a;
  --olive-ink: #f7f3ea;
  --focus: #0b3f86;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, .wordmark {
  font-family: var(--serif);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

a { color: var(--tomato); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(68rem, calc(100% - 2rem)); margin-inline: auto; }

.util {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  align-items: center;
  padding: 0.85rem 0;
  font-size: 0.98rem;
}

.util p { margin: 0; color: var(--muted); }

.phone { font-weight: 700; white-space: nowrap; }

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-bottom: 0.4rem;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
}

.mast {
  padding: 1.4rem 0 0.4rem;
  text-align: center;
}

.mast .tag {
  max-width: 36rem;
  margin: 0.4rem auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.rule {
  width: min(12rem, 40%);
  height: 0;
  margin: 1rem auto;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 3px;
}

.hero-art { width: min(34rem, 100%); margin: 0 auto 0.4rem; display: block; }

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 28rem;
  margin: 0.4rem auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 0.35rem;
  background: var(--tomato);
  color: #fffaf3;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.btn-secondary { background: var(--olive); color: var(--olive-ink); }
.btn:hover { filter: brightness(1.08); }

.note { color: var(--muted); font-size: 0.98rem; }

.section { padding: 1.6rem 0; }

.layout {
  display: grid;
  gap: 1.2rem;
}

.menu-block h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

.menu-list {
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border-radius: 0.8rem;
  padding: 0.3rem 1rem;
}

.menu-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}

.menu-list li:last-child { border-bottom: 0; }

.menu-list h3 { margin: 0; font-size: 1.08rem; font-family: var(--serif); font-weight: 600; }
.menu-list li > p { margin: 0.15rem 0 0; color: var(--muted); grid-column: 1; }
.menu-list .price {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.visit {
  background: var(--olive);
  color: var(--olive-ink);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.visit h2, .visit a { color: var(--olive-ink); }
.visit .note { color: #e4ecdf; }

.hours { margin: 0 0 1rem; padding: 0; list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(247, 243, 234, 0.25);
}
.hours span:last-child { text-align: right; }

.map { border-radius: 0.8rem; overflow: hidden; background: var(--paper); color: var(--ink); }
.map svg { display: block; width: 100%; height: auto; }
.map p { margin: 0; padding: 0.75rem 0.9rem 0.9rem; }

.demo-notice {
  margin: 0.5rem 0 1.4rem;
  padding: 1rem 1.05rem;
  border-radius: 0.8rem;
  background: #241c16;
  color: #f7f3ea;
}
.demo-notice h2 { color: #f7f3ea; font-size: 1.4rem; }
.demo-notice a { color: #f7f3ea; }

.site-foot {
  padding: 0 0 2rem;
  color: var(--muted);
}
.site-foot p { max-width: 65ch; }

@media (min-width: 720px) {
  .actions { flex-direction: row; }
  .actions .btn { flex: 1; }
}

@media (min-width: 960px) {
  .layout { grid-template-columns: 1.45fr 0.8fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { filter: none; }
}
