/* MTO Bar & Grill — palette pulled from the house badge logo:
   slate ring, amber beer, cream banner, bronze rim. */
:root {
  --slate-950: #151c22;
  --slate-900: #1e2830;
  --slate-800: #28343e;
  --slate-600: #4a5864;
  --amber: #e8a02a;          /* CTA-only: Order Now + active states */
  --amber-hover: #f2b347;
  --amber-ink: #8a5208;      /* amber for text on cream (AA) */
  --cream: #f4ecdc;
  --cream-2: #ebe0c9;
  --paper: #fbf7ee;
  --bronze: #a07e52;
  --ink: #1b2127;
  --ink-2: #4b535b;
  --line: #d9ccb0;

  --font-display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--slate-950);
  padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .menu :focus-visible, .legal :focus-visible { outline-color: var(--slate-900); }

.label {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--font-label); font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; white-space: nowrap;
  border-radius: 999px; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-order { background: var(--amber); color: var(--slate-950); }
.btn-order:hover { background: var(--amber-hover); }
.btn-order svg { width: 18px; height: 18px; }
.btn-ghost { border-color: rgba(244, 236, 220, .45); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(244, 236, 220, .08); }
.btn-dark { background: var(--slate-900); color: var(--cream); }
.btn-dark:hover { background: var(--slate-800); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 28, 34, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(160, 126, 82, .35);
  color: var(--cream);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-size: 20px; letter-spacing: .01em; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--amber); }
@media (max-width: 760px) {
  .nav { display: none; }
  .brand span { font-size: 17px; }
  .site-header .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
}

@media (max-width: 380px) {
  .site-header .wrap { gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 15px; white-space: nowrap; }
}
@media (max-width: 340px) {
  .brand span { display: none; } /* the badge logo carries the name */
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--slate-900);
  color: var(--cream);
  isolation: isolate;
}
/* Sunburst from the badge — decorative only */
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 1400px; height: 1400px; right: -420px; top: 50%; transform: translateY(-50%);
  background:
    radial-gradient(circle, rgba(232,160,42,.28) 0, rgba(232,160,42,.08) 28%, transparent 55%),
    repeating-conic-gradient(from 0deg, rgba(232,160,42,.07) 0 4deg, transparent 4deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 62%);
          mask: radial-gradient(circle, #000 20%, transparent 62%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 48px;
  padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(56px, 9vw, 112px);
}
.hero-eyebrow { color: var(--amber); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(244,236,220,.08); border: 1px solid rgba(244,236,220,.18);
  color: var(--cream); letter-spacing: .08em;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-600); }
.status[data-open="true"] i { background: #5fd07a; box-shadow: 0 0 0 4px rgba(95,208,122,.18); }
.status[data-open="false"] i { background: #e0705a; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(42px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.005em;
}
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 34ch; margin: 24px 0 36px; color: rgba(244,236,220,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(160,126,82,.35); color: rgba(244,236,220,.78); font-size: 16px;
}
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--cream); text-decoration: underline; }
.hero-badge { justify-self: center; width: min(100%, 440px); aspect-ratio: 1; position: relative; }
.hero-badge img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 10px rgba(160,126,82,.18);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-badge { order: -1; width: min(62vw, 280px); }
  .hero::before { right: -700px; top: 20%; }
}

/* ---------- Order band ---------- */
.steps { background: var(--slate-950); color: var(--cream); }
.steps .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  padding-top: 0; padding-bottom: 0;
}
.step { padding: 28px 28px 28px 0; display: flex; gap: 16px; align-items: baseline; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(160,126,82,.3); }
.step b { font-family: var(--font-display); font-weight: 400; color: var(--amber); font-size: 28px; line-height: 1; }
.step p { margin: 0; color: rgba(244,236,220,.82); font-size: 16px; }
.step strong { color: var(--cream); display: block; font-size: 17px; }
@media (max-width: 760px) {
  .steps .wrap { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 18px 0; border-left: 0; }
  .step + .step { border-top: 1px solid rgba(160,126,82,.3); }
}

/* ---------- Menu board ---------- */
.menu { background: var(--cream); padding: clamp(64px, 9vw, 112px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.section-head .label { color: var(--amber-ink); margin: 0 0 10px; }
.section-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; }
.section-head p.note { margin: 0; color: var(--ink-2); max-width: 38ch; font-size: 16px; }

.tabs-shell { position: sticky; top: 72px; z-index: 10; background: var(--cream); padding: 10px 0; margin: 0 calc(var(--gutter) * -1) 28px; border-bottom: 1px solid var(--line); }
.tabs {
  position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; cursor: pointer;
  font-family: var(--font-label); font-weight: 600; font-size: 17px; letter-spacing: .04em;
  color: var(--ink-2); background: transparent;
  border: 1px solid transparent; border-radius: 999px;
  padding: 8px 16px; min-height: 42px;
}
.tab:hover { color: var(--ink); border-color: var(--line); }
.tab[aria-selected="true"] { background: var(--slate-900); color: var(--cream); }
.tab-group { flex: none; align-self: center; padding: 0 6px 0 12px; color: var(--bronze); font-family: var(--font-label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.tab-group:first-child { padding-left: 0; }

.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.panel-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; }
.panel-head a { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.panel-blurb { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; }

.items { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 64px; }
.item { break-inside: avoid; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.item-row { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-weight: 700; font-size: 18px; }
.item-row::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted rgba(75,83,91,.35); transform: translateY(-5px); min-width: 16px; }
.item-price { order: 2; font-family: var(--font-label); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.item-desc { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 48ch; }
@media (max-width: 760px) { .items { columns: 1; } }

.menu-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.menu-foot p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Visit ---------- */
.visit { background: var(--paper); padding: clamp(64px, 9vw, 112px) 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-family: var(--font-label); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.visit h3 { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--amber-ink); margin: 0 0 8px; }
.visit address { font-style: normal; font-size: 22px; line-height: 1.4; margin-bottom: 28px; }
.visit .big-link { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); text-decoration: none; display: inline-block; margin-bottom: 28px; }
.visit .big-link:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline { border-color: var(--slate-900); color: var(--slate-900); }
.btn-outline:hover { background: var(--slate-900); color: var(--cream); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta { background: var(--slate-900); color: var(--cream); text-align: center; padding: clamp(64px, 9vw, 104px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(232,160,42,.06) 0 4deg, transparent 4deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%);
}
.cta .label { color: var(--amber); }
.cta h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5.4vw, 68px); margin: 14px 0 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-950); color: rgba(244,236,220,.78); font-size: 15px; padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(160,126,82,.3); }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer-brand strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--cream); }
.site-footer h2 { font-family: var(--font-label); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-links a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(232,160,42,.6); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile order bar ---------- */
.mobile-order {
  display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
@media (max-width: 760px) {
  .mobile-order { display: flex; }
  body.has-mobile-order .site-footer { padding-bottom: 116px; }
}

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--slate-900); color: var(--cream); padding: 56px 0 48px; }
.legal-hero .label { color: var(--amber); margin: 0 0 12px; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.legal-hero p { margin: 14px 0 0; color: rgba(244,236,220,.75); }
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-family: var(--font-label); font-weight: 700; font-size: 24px; letter-spacing: .02em; margin: 44px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #2c343b; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--amber-ink); text-underline-offset: 3px; }
.legal .toc { background: var(--cream); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 40px; }
.legal .toc p { margin: 0 0 8px; font-weight: 700; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
