/* American Emerald Kitchen LLC — shared styles
   Seed 1-6-5-5-5-8-2: muted natural diner palette (toasted bun, grill brown, mustard, ketchup, lettuce sage) ·
   deep emerald base · editorial columns with a narrow side column · serif throughout (Andiron Serif) ·
   pill-button nav · each menu category in its own full-width coloured band · 4px radius · motif: checkered tile */

@font-face { font-family: "Andiron Serif"; src: url("fonts/andiron-serif-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Andiron Serif"; src: url("fonts/andiron-serif-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Andiron Serif"; src: url("fonts/andiron-serif-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --base: #0d2a21;
  --base-2: #12362a;
  --base-3: #184536;
  --line: #2a5446;
  --cream: #f3ead2;
  --text: #efe7d3;
  --muted: #bdcbbf;
  --gem: #4fc48a;
  --bun: #d9a65a;
  --mustard: #d8b55e;
  --ketchup: #9e4634;
  --grill: #5a3424;
  --sage: #8fb38a;
  --ink: #1b1d12;
  --r: 4px;
  --serif: "Andiron Serif", Georgia, "Times New Roman", serif;
  --check: url("assets/checker-strip.svg") 0 0 / 12px 12px repeat-x;
  --check-dark: url("assets/motif-check.svg") 0 0 / 28px 28px repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--base); }
body { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.66; color: var(--text); background: var(--base); overflow-wrap: break-word; font-variant-ligatures: no-common-ligatures; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; color: var(--cream); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 0.45em; color: var(--cream); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--mustard); text-underline-offset: 0.18em; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: var(--r); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: var(--r); background: var(--mustard); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.checker { height: 12px; background: var(--check); }

/* ---------- header with pill-button nav ---------- */
.site-header { background: var(--base); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 2rem; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; color: var(--cream); text-decoration: none; }
.brand img { width: 68px; height: auto; flex: none; border-radius: var(--r); }
.brand-name { font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.1; max-width: 15ch; }
.brand:hover .brand-name { color: var(--mustard); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.38rem 1.05rem; border-radius: 999px; background: var(--base-3); color: var(--cream); font-weight: 700; font-size: 1rem; text-decoration: none; }
.main-nav a:hover { background: var(--line); color: #ffffff; }
.main-nav a[aria-current="page"] { background: var(--mustard); color: var(--ink); }

/* ---------- editorial frame: main column + narrow side column ---------- */
.section { padding-block: clamp(2.4rem, 5.5vw, 4rem); }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
.side { padding-left: clamp(1.2rem, 2.6vw, 2rem); border-left: 1px solid var(--line); }
.side > * + * { margin-top: 1.4rem; }
.side h2, .side h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.dateline { margin: 0 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); color: var(--mustard); font-size: 0.98rem; font-style: italic; }
.deck { font-size: clamp(1.15rem, 2vw, 1.32rem); font-style: italic; color: var(--muted); max-width: 46ch; }
.cols { column-count: 2; column-gap: 2.4rem; column-rule: 1px solid var(--line); }
.cols > * { break-inside: avoid; }
.hero { padding-block: clamp(2rem, 4.5vw, 3rem) clamp(2.4rem, 5vw, 3.6rem); background: var(--check-dark); }
.hero-art { display: block; width: 100%; max-width: 640px; margin-top: 1.4rem; }
.kicker { margin: 0 0 0.35rem; color: var(--mustard); font-size: 0.98rem; font-style: italic; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.68rem 1.25rem; border-radius: var(--r); background: var(--mustard); color: var(--ink); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--cream); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--muted); }
.btn-ghost:hover { background: var(--base-3); color: #ffffff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.side .btn { width: 100%; }

.mini-hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.mini-hours th, .mini-hours td { padding: 0.3rem 0; text-align: left; border-bottom: 1px dotted var(--line); }
.mini-hours th { font-weight: 400; color: var(--muted); }
.mini-hours td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini-hours .closed { color: #e39a85; font-weight: 700; }
.note-box { padding: 1rem 1.1rem; border-radius: var(--r); background: var(--base-3); }
.note-box p { margin: 0; color: var(--muted); }
.price-tag { display: inline-block; margin-top: 0.4rem; color: var(--mustard); font-weight: 700; font-size: 1.12rem; }

/* ---------- home: menu sections ---------- */
.sections { list-style: none; margin: 0; padding: 0; }
.sections li { break-inside: avoid; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.sections a { display: flex; align-items: center; gap: 0.85rem; color: var(--text); text-decoration: none; }
.sections a:hover .s-name { color: var(--mustard); }
.sections img { width: 50px; height: 50px; flex: none; }
.sections .s-name { display: block; font-weight: 700; font-size: 1.12rem; line-height: 1.25; color: var(--cream); }
.sections .s-count { display: block; font-style: italic; color: var(--muted); font-size: 0.95rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { break-inside: avoid; position: relative; padding: 0 0 1rem 1.6rem; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.7rem; height: 0.7rem; background: var(--check); background-size: 7px 7px; border-radius: 2px; }
.ticks strong { color: var(--cream); }

/* ---------- menu: each category its own full-width coloured band ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.28rem 0.8rem; border-radius: var(--r); background: var(--base-3); color: var(--cream); font-weight: 700; font-size: 0.94rem; text-decoration: none; }
.jump a:hover { background: var(--mustard); color: var(--ink); }
.cat { padding-block: clamp(2rem, 4.5vw, 3rem); scroll-margin-top: 0; }
.cat + .cat { border-top: 0; }
.cat-1 { background: var(--grill); --fg: #f6ecd8; --sub: #e2cdb5; --pr: var(--mustard); }
.cat-2 { background: var(--mustard); --fg: var(--ink); --sub: #3d3418; --pr: #6a2b1f; }
.cat-3 { background: var(--base-3); --fg: #f3ead2; --sub: var(--muted); --pr: var(--mustard); }
.cat-4 { background: var(--ketchup); --fg: #fbf2e2; --sub: #f0d6c8; --pr: #fbe3a6; }
.cat-5 { background: var(--sage); --fg: var(--ink); --sub: #2c3a28; --pr: #5a2418; }
.cat .ed { grid-template-columns: 250px minmax(0, 1fr); }
.cat-side { color: var(--fg); }
.cat-side img { display: block; width: 64px; height: 64px; margin-bottom: 0.6rem; }
.cat-side h2 { color: var(--fg); margin-bottom: 0.2rem; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.cat-side p { margin: 0; font-style: italic; color: var(--sub); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.2rem; }
.items li { padding: 0.8rem 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); color: var(--fg); }
.items .top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.items h3 { margin: 0; font-size: 1.1rem; color: var(--fg); }
.items .pr { flex: none; font-weight: 700; font-size: 1.12rem; color: var(--pr); font-variant-numeric: tabular-nums; white-space: nowrap; }
.items p { margin: 0.2rem 0 0; font-style: italic; color: var(--sub); font-size: 0.98rem; }
.items .quote { display: block; margin-top: 0.35rem; font-weight: 700; color: var(--pr); }
.items .quote a { color: var(--fg); }
.offers { list-style: none; margin: 0; padding: 0; }
.offers li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.offers li:first-child { padding-top: 0; }
.offers h3 { margin-bottom: 0.2rem; }
.offers p { margin: 0; color: var(--muted); }

/* ---------- about / contact ---------- */
.facts { margin: 0; }
.facts div { padding: 0.5rem 0; border-bottom: 1px dotted var(--line); }
.facts dt { color: var(--mustard); font-size: 0.95rem; font-style: italic; }
.facts dd { margin: 0; font-weight: 700; color: var(--cream); }
.story p { color: var(--muted); }
.story .first { color: var(--text); font-size: 1.2rem; }
.story .first::first-letter { float: left; margin: 0.06em 0.12em 0 0; font-size: 3.4em; line-height: 0.85; font-weight: 700; color: var(--mustard); }
.story .kicker { color: var(--mustard); }
.details { margin: 0; display: grid; gap: 0.2rem; }
.details div { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--mustard); font-size: 0.95rem; font-style: italic; }
.details dd { margin: 0; font-weight: 700; color: var(--cream); }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.4rem; font-weight: 700; font-size: 1.3rem; color: var(--cream); }
.hours th, .hours td { padding: 0.42rem 0; text-align: left; border-bottom: 1px dotted var(--line); }
.hours thead th { color: var(--mustard); font-size: 0.92rem; font-weight: 400; font-style: italic; }
.hours tbody th { font-weight: 700; }
.hours td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours .closed { color: #e39a85; font-weight: 700; }
.map-frame { display: block; width: 100%; height: 380px; border: 1px solid var(--line); border-radius: var(--r); background: var(--base-2); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: #081c16; color: var(--muted); font-size: 0.98rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--mustard); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.6rem; padding-block: 2rem 1.3rem; }
.footer-name { margin: 0 0 0.3rem; font-weight: 700; font-size: 1.35rem; color: var(--cream); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--mustard); font-style: italic; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 1px solid var(--line); font-size: 0.88rem; }

@media (max-width: 960px) {
  .ed, .cat .ed { grid-template-columns: 1fr; }
  .side { padding-left: 0; border-left: 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 1.04rem; }
  .brand img { width: 56px; }
  .cols { column-count: 1; }
  .items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
