/* ==========================================================
   Olive & Ash: free single-page restaurant template (MIT)
   Change the look in one place: the variables below.
   ========================================================== */
:root {
  --bg: #fbf8f3;          /* page background */
  --tint: #f2ece2;        /* alternate section background */
  --ink: #1f241c;         /* main text */
  --muted: #5d6357;       /* secondary text */
  --brand: #2f3a2b;       /* dark olive: header, dark sections */
  --accent: #c0582e;      /* terracotta: buttons, highlights */
  --accent-ink: #ffffff;  /* text on accent */
  --line: #ddd4c6;
  --radius: 14px;
  --max: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, iframe { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid var(--accent); transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--small { padding: .5rem 1rem; font-size: .92rem; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(47,58,43,.96); backdrop-filter: blur(6px); color: #fff; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-family: var(--serif); font-size: 1.45rem; color: #fff; text-decoration: none; font-weight: 600; }
.brand span { color: var(--accent); font-style: italic; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) { color: #eae6dc; text-decoration: none; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero { position: relative; color: #fff; min-height: min(88vh, 760px); display: grid; align-items: end;
  background: linear-gradient(90deg, rgba(20,24,18,.72) 0%, rgba(20,24,18,.25) 70%), linear-gradient(180deg, rgba(20,24,18,.15) 0%, rgba(20,24,18,.7) 100%), var(--hero) center/cover no-repeat, var(--brand); }
.hero__inner { padding: 7rem 0 4.5rem; max-width: 760px; margin-left: max(1.25rem, (100% - var(--max)) / 2); }
.hero .eyebrow { color: #f3c9a8; }
.hero__lead { font-size: 1.15rem; max-width: 34em; color: #f1ede6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--brand); color: #f4f1ea; }
.section__head { max-width: 640px; margin-bottom: 2.5rem; }

.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about__text { font-size: 1.08rem; }
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; }
.facts li { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* Menu */
.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 4rem; }
.menu__group h3 { border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: .2rem; margin-bottom: 1rem; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.menu li p { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }
.menu li.is-featured { background: #fff; border-radius: var(--radius); padding: .8rem 1rem; margin: 0 -1rem; box-shadow: 0 6px 20px rgba(47,58,43,.08); }
.dish { display: flex; align-items: baseline; gap: .5rem; font-weight: 600; }
.dish__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.dish__price { font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; padding: .1rem .45rem; border-radius: 6px;
  background: #e7efe0; color: #3b5a2c; vertical-align: middle; }
.tag--accent { background: #fbe3d6; color: #9a3f19; }
.legend { margin-top: 2rem; font-size: .9rem; }

/* Hours */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(47,58,43,.07); }
.hours th, .hours td { text-align: left; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; width: 40%; }
.hours tr.is-today { background: #fbefe7; }
.today { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--accent); color: #fff; padding: .1rem .45rem; border-radius: 6px; margin-left: .4rem; vertical-align: middle; }

/* Quote */
.quote { padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 820px; }
.quote p { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.35; font-style: italic; }
.quote cite { font-style: normal; color: #c9cfc0; }

/* Visit */
address { font-style: normal; font-size: 1.15rem; margin-bottom: 1rem; }
.social { display: flex; gap: 1.2rem; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); background: var(--tint); }

/* Footer */
.footer { background: var(--brand); color: #d9dccf; padding: 1.6rem 0; font-size: .92rem; }
.footer p { margin: 0; }
.footer a { color: #f3c9a8; }
.footer .muted { color: #b7bdac; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }

/* Mobile */
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 1rem; padding: 1.2rem 1.25rem 1.6rem; background: var(--brand); }
  .nav__links.is-open { display: flex; }
  .about, .split, .menu { grid-template-columns: 1fr; }
  .hero__inner { padding: 6rem 0 3rem; }
  .menu li.is-featured { margin: 0 -.6rem; padding: .8rem .6rem; }
}

@media print {
  .nav, .hero__cta, .map, .footer { display: none; }
  .hero { min-height: 0; color: var(--ink); background: none; }
}
