/* Olive & Ember restaurant template · Cornelius Uni
   Change the brand in one place: the variables below. */
:root {
  --brand: #b4462b;        /* buttons, links, accents */
  --brand-ink: #ffffff;    /* text on brand colour */
  --ink: #1f1a17;          /* main text */
  --muted: #6b5f57;        /* secondary text */
  --paper: #fbf7f2;        /* page background */
  --card: #ffffff;
  --line: #e8ddd1;
  --dark: #1f1a17;         /* footer and hero overlay */
  --radius: 14px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--brand); background: var(--brand); color: var(--brand-ink); transition: transform .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 242, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--brand); }
.nav .btn { padding: 10px 18px; color: var(--brand-ink); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; padding: 6px; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; isolation: isolate; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,14,10,.15) 0%, rgba(20,14,10,.78) 100%); }
.hero .wrap { padding: 120px 0 72px; }
.hero p { font-size: 1.2rem; max-width: 52ch; opacity: .92; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .btn.ghost { color: #fff; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; font-size: .95rem; opacity: .9; }

/* About */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Menu */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.menu-tabs button { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.menu-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 56px; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; } }
.dish { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.dish header { display: flex; align-items: baseline; gap: 12px; }
.dish h3 { font-size: 1.15rem; margin: 0; }
.dish .dots { flex: 1; border-bottom: 1px dotted #cbbcae; transform: translateY(-4px); }
.dish .price { font-weight: 700; white-space: nowrap; }
.dish p { color: var(--muted); font-size: .96rem; margin: 6px 0 0; }
.tags { display: inline-flex; gap: 6px; margin-left: 4px; }
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: #efe6dc; color: var(--muted); }
.menu-note { font-size: .9rem; color: var(--muted); margin-top: 26px; }
[hidden] { display: none !important; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; margin-top: 30px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.review .stars { color: #d99a1e; letter-spacing: 2px; }
.review blockquote { margin: 10px 0 14px; font-size: 1.02rem; }
.review cite { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--muted); }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--brand); }
.map { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); background: #e9e0d6; }
address { font-style: normal; }

/* CTA band + footer */
.band { background: var(--brand); color: var(--brand-ink); text-align: center; }
.band .btn { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.footer { background: var(--dark); color: #d8cfc6; padding: 56px 0 34px; font-size: .95rem; }
.footer a { color: #fff; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h3 { color: #fff; font-size: 1.1rem; }
.footer .legal { border-top: 1px solid #3a322c; margin-top: 36px; padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.sticky-call { display: none; }
@media (max-width: 760px) {
  .sticky-call { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; }
  .sticky-call a { flex: 1; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Photo band behind private dining */
.band-photo { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.band-photo .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,8,.35), rgba(20,12,8,.6)); z-index: -1; }
.band-photo .btn { background: #fff; color: #1d1410; border-color: #fff; }
/* Photo strip on the menu page */
.menu-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.menu-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 640px) { .menu-photos { grid-template-columns: 1fr 1fr; } .menu-photos img:last-child { display: none; } }
