/* ==========================================================
   BRAND SETTINGS — change these first (one place, on purpose)
   Bramble & Bun: bramble berry + honey gold + warm cream.
   ========================================================== */
:root {
  --brand: #7a2150;          /* bramble berry: buttons + links (white on it ≈ 10:1) */
  --brand-dark: #5a1539;     /* button hover */
  --brand-soft: #f7e3ec;     /* icon circles */
  --accent: #f2b33d;         /* honey gold: the main button on dark backgrounds */
  --accent-hover: #ffc85c;
  --text: #2a1d18;           /* espresso */
  --text-muted: #5e4c43;
  --bg: #fffaf3;             /* warm cream */
  --bg-alt: #f6ead9;         /* toasted oat: alternate sections */
  --card: #ffffff;
  --line: #e6d3bd;
  --dark: #2a1d18;           /* footer */
  --on-dark: #fbefe0;        /* text on berry / espresso */
  --radius: 18px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --max: 1160px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 84px;      /* room for the mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 var(--s3); }
h1 { font-size: clamp(2.1rem, 4.5vw + 1rem, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s3); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.hero-content :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 2 * var(--s4), var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: var(--s7); }
@media (min-width: 900px) { .section { padding-block: var(--s8); } }
.section-tight { padding-block: var(--s6); }
.section-alt { background: var(--bg-alt); }
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 60ch; }
.small { font-size: 1rem; color: var(--text-muted); }
.prose > * + * { margin-top: var(--s3); }
.prose h2 { margin-top: var(--s5); font-size: 1.6rem; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--text); color: #fff; padding: var(--s2) var(--s3); z-index: 100; }
.skip-link:focus { left: var(--s3); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 var(--s4);
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 56px; padding: 0 var(--s5); font-size: 1.1rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-block: var(--s4); }
/* On the berry backgrounds the main button turns honey gold, so it can't disappear */
.hero-content .btn-primary, .cta-band .btn-primary { background: var(--accent); color: var(--text); box-shadow: 0 8px 20px rgba(20, 4, 12, .3); }
.hero-content .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--accent-hover); color: var(--text); }
.hero-content .btn-secondary, .cta-band .btn-secondary { color: var(--on-dark); border-color: var(--on-dark); }
.hero-content .btn-secondary:hover, .cta-band .btn-secondary:hover { background: var(--on-dark); color: var(--brand); }
@media (max-width: 520px) { .hero-content .btn-row .btn, .cta-band .btn-row .btn { width: 100%; } }

/* ---------- DEMO labels ---------- */
.demo-banner { background: #ffe066; color: #1a1a1a; text-align: center; font-size: 1rem; padding: var(--s2) var(--s3); line-height: 1.4; }
.demo-inline { display: inline-block; background: #fff4bf; color: #1a1a1a; border-left: 4px solid #e6b800; border-radius: 0 8px 8px 0; padding: var(--s2) var(--s3); font-size: 1rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-height: 48px; }
.logo:hover { color: var(--text); }
.logo-mark svg { width: 42px; height: 42px; display: block; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.logo-text .amp { color: var(--brand); font-style: italic; }
.nav-toggle { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; background: var(--card); color: var(--text); border: 2px solid var(--text); border-radius: 999px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(42, 29, 24, .12); }
.site-nav ul { list-style: none; margin: 0; padding: var(--s2) var(--s4) var(--s3); }
.site-nav a { display: flex; align-items: center; min-height: 52px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a[aria-current="page"] { color: var(--brand); }
.header-phone, .header-cta { display: none; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; border: 0; box-shadow: none; background: none; margin-left: auto; }
  .site-nav ul { display: flex; gap: var(--s4); padding: 0; }
  .site-nav a { min-height: 48px; border: 0; font-size: 1.05rem; }
  .site-nav a:hover { color: var(--brand); }
  .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
  .header-phone { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
  .header-cta { display: inline-flex; }
}

/* ---------- hero (no photo: berry gradient with a honey glow) ---------- */
.hero {
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 60% 70% at 92% 0%, rgba(242, 179, 61, .26), transparent 70%),
    radial-gradient(circle at 0% 100%, rgba(160, 45, 105, .45), transparent 55%),
    linear-gradient(165deg, #6e1d49 0%, #4a1232 55%, #3a0e27 100%);
}
.hero-grid { display: grid; gap: var(--s5); padding-block: var(--s6) var(--s7); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: var(--s7); padding-block: var(--s8); } }
.eyebrow { text-wrap: balance; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; font-weight: 700; color: #ffd27a; margin-bottom: var(--s2); }
.hero h1 { color: #fff; max-width: 14ch; text-wrap: balance; }
.nowrap { white-space: nowrap; }
.hero-sub { font-size: 1.2rem; max-width: 38ch; }
.trust-line { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; }
.trust-line li { display: flex; align-items: center; gap: 8px; }
.trust-line li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* opening hours card (hero) */
.hours-card { background: var(--bg); color: var(--text); border-radius: 22px; padding: var(--s5) var(--s4); box-shadow: 0 18px 40px rgba(20, 4, 12, .35); }
@media (min-width: 900px) { .hours-card { padding: var(--s5); } }
.hours-card h2 { font-size: 1.7rem; margin-bottom: var(--s3); }
.hours-card .small { margin-bottom: var(--s4); }
.addr { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.addr svg { width: 24px; height: 24px; flex: none; margin-top: 2px; fill: none; stroke: var(--brand); stroke-width: 2; }

/* hours list: today's row is highlighted by main.js */
.hours { margin: 0 0 var(--s3); }
.hours > div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.hours-short > div { grid-template-columns: 4.6em 1fr; }
.hours > div + div { border-top: 1px solid var(--line); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.hours .today { background: #fcebc4; }
.hours .today, .hours .today + div { border-top-color: transparent; }
.hours .today dd::after { content: "Today"; display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.6; }

/* ---------- menu highlight cards ---------- */
.cards { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: var(--s5); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5) var(--s4); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(42, 29, 24, .05), 0 10px 24px rgba(42, 29, 24, .06); }
.card p { color: var(--text-muted); }
.card .price { margin: auto 0 0; font-weight: 700; font-size: 1.1rem; color: var(--brand); }
.icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s3); flex: none; }
.icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- order-ahead steps ---------- */
.steps-row { list-style: none; padding: 0; margin: var(--s5) 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps-row li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.steps-row li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: var(--s3); }
.steps-row h3 { margin-bottom: var(--s2); }
.steps-row p { margin: 0; color: var(--text-muted); }

/* ---------- reviews placeholder (no fake reviews, ever) ---------- */
.review-placeholder { border: 2px dashed #b8899f; border-radius: var(--radius); padding: var(--s5) var(--s4); background: var(--card); max-width: 760px; }
@media (min-width: 600px) { .review-placeholder { padding: var(--s5); } }
.review-placeholder p:last-child { margin-bottom: 0; }

/* ---------- reasons, two-col, address ---------- */
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.reasons .icon { background: var(--card); }
.reasons p { margin: 0; color: var(--text-muted); }
.two-col { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.address-big { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.3; font-weight: 700; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: var(--s2); }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(ellipse at 50% 0%, rgba(242, 179, 61, .18), transparent 60%), linear-gradient(165deg, #6e1d49, #3a0e27); color: var(--on-dark); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: center; }
.cta-sub { font-size: 1.15rem; max-width: 46ch; margin-inline: auto; }

/* ---------- inner pages ---------- */
.page-intro { background: var(--bg-alt); padding-block: var(--s6); }
@media (min-width: 900px) { .page-intro { padding-block: var(--s7); } }
.kicker { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 1rem; color: var(--brand); margin-bottom: var(--s2); }
.about-intro { align-items: center; }
.photo-placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #f3e4d0 0 14px, #ecd9c1 14px 28px); display: grid; place-items: center; text-align: center; padding: var(--s4); color: var(--text-muted); font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.ticks li { padding-left: 36px; position: relative; margin-bottom: var(--s3); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; display: grid; place-items: center; font-weight: 700; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: var(--s2); }

/* ---------- menu page ---------- */
.order-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s4); background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--brand); border-radius: var(--radius); padding: var(--s4); margin-top: var(--s4); max-width: 860px; }
.order-box p { margin: 0; max-width: 36ch; }
.menu-nav { margin-top: var(--s4); }
.menu-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.menu-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); color: var(--brand); font-weight: 700; text-decoration: none; }
.menu-nav a:hover { border-color: var(--brand); }
.menu-wrap { padding-top: var(--s6); padding-bottom: var(--s7); }
.after-btn { margin-top: var(--s3); }
.info-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.info-box p:last-child { margin-bottom: 0; }
.legend { list-style: none; padding: 0; margin: 0 0 var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.legend li { display: flex; align-items: center; gap: 8px; }
.menu-section { padding-top: var(--s6); }
.menu-section h2 { border-bottom: 3px solid var(--brand); padding-bottom: var(--s2); margin-bottom: var(--s3); }
.menu-note { color: var(--text-muted); margin-bottom: var(--s4); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4) var(--s6); }
@media (min-width: 800px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-item { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.item-head { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.item-dots { flex: 1 1 16px; min-width: 16px; border-bottom: 2px dotted #c9ae94; transform: translateY(-5px); }
.item-price { font-weight: 700; color: var(--brand); white-space: nowrap; }
.item-desc { margin: 4px 0 0; color: var(--text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.tag { display: inline-block; font-size: 1rem; font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 6px; letter-spacing: .02em; }
.tag-v, .tag-vg { background: #e3efd9; color: #2c5418; }
.tag-gf, .tag-gfo { background: #fbe7c0; color: #6a3f00; }

/* ---------- form ---------- */
.form { display: grid; gap: var(--s2); background: var(--card); border: 1px solid var(--line); padding: var(--s5) var(--s4); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(42, 29, 24, .06); align-self: start; }
@media (min-width: 600px) { .form { padding: var(--s5); } }
.form h2 { font-size: 1.8rem; }
.form label { font-weight: 700; margin-top: var(--s2); }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; min-height: 48px; border: 2px solid #7d6659; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.form button { margin-top: var(--s3); }
.optional { font-weight: 400; color: var(--text-muted); }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 700; background: #fff4bf; color: #1a1a1a; padding: var(--s3); border-radius: 10px; margin: 0; }
.form-status:empty { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #eadccb; padding-block: var(--s6); font-size: 1rem; }
.site-footer a { color: #fff; display: inline-flex; align-items: center; min-height: 48px; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin-bottom: var(--s2); }
.footer-grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.5rem; }
.demo-note { color: #cdb9a6; }

/* ---------- mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: var(--s2); padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -2px 14px rgba(42, 29, 24, .15); }
.mobile-bar .btn { min-height: 52px; padding: 0 var(--s3); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
