/* =========================================================
   BRÜ Restobar · warm dark + brass gold
   ========================================================= */
:root {
  color-scheme: dark;

  /* Palette */
  --bg: #14100c;
  --bg-alt: #1b1510;
  --surface: #221a14;
  --surface-2: #2b221a;
  --line: rgba(212, 162, 76, 0.18);
  --line-soft: rgba(243, 236, 226, 0.08);

  --gold: #d4a24c;
  --gold-light: #e9c47e;
  --gold-deep: #a97a2c;
  --on-gold: #1a130b;

  --text: #f3ece2;
  --text-muted: #bcae9b;
  --text-faint: #8f8270;
  --sage: #9db487;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;

  /* z-index scale */
  --z-header: 40;
  --z-bar: 30;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7;
}

h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); }

.section { padding-block: var(--s8); }
@media (min-width: 1024px) { .section { padding-block: var(--s9); } }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); max-width: 640px; }
.section-sub { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(212, 162, 76, 0.5); color: var(--gold-light); background: transparent; }
.btn-ghost:hover { background: rgba(212, 162, 76, 0.1); border-color: var(--gold); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(20, 16, 12, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-text {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--gold-light);
  letter-spacing: 0.04em; line-height: 1; display: flex; align-items: baseline; gap: 8px;
}
.brand-text small {
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-muted);
}

.nav { display: flex; align-items: center; gap: var(--s6); }
.nav ul { display: flex; gap: var(--s5); }
.nav ul a {
  text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.95rem;
  padding: 8px 2px; position: relative; transition: color var(--dur-fast) ease;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav ul a:hover, .nav ul a.is-active { color: var(--text); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 10px 20px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; color: var(--text); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: var(--s5);
    padding: var(--s5) 16px var(--s6);
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.1rem; color: var(--text); border-bottom: 1px solid var(--line-soft); }
  .nav ul a::after { display: none; }
  .nav-cta { min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: var(--s6) var(--s8); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(212, 162, 76, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: var(--s7); align-items: center; position: relative; }
.hero-copy { display: grid; gap: var(--s5); justify-items: start; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-muted);
  padding: 8px 14px; border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(255,255,255,0.02);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); flex-shrink: 0; }
.status.is-open .status-dot { background: #7ccf8a; box-shadow: 0 0 0 4px rgba(124, 207, 138, 0.18); }
.status.is-closed .status-dot { background: #e0806b; }
.status strong { color: var(--text); font-weight: 600; }

.hero-media { margin: 0; position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: 200px 200px var(--radius) var(--radius);
  border: 1px solid var(--line);
}
.hero-media::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--line); border-radius: 200px 200px var(--radius) var(--radius);
  z-index: -1;
}

@media (min-width: 900px) {
  .hero { padding-block: var(--s8) var(--s9); }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s8); }
  .hero-media { max-width: 460px; justify-self: end; }
}
@media (max-width: 899px) {
  .hero-media { max-width: 420px; width: calc(100% - 14px); }
  .hero-media img { aspect-ratio: 4 / 4.4; }
}

/* ---------- Quick info ---------- */
.quick-info { border-block: 1px solid var(--line-soft); background: var(--bg-alt); }
.quick-grid { display: grid; }
.quick-item {
  display: flex; align-items: center; gap: var(--s4); padding: var(--s5) 0;
  text-decoration: none; color: var(--gold);
}
.quick-item + .quick-item { border-top: 1px solid var(--line-soft); }
.quick-item div { display: grid; gap: 2px; }
.quick-label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.quick-value { color: var(--text); font-weight: 500; }
a.quick-item:hover .quick-value { color: var(--gold-light); }
@media (min-width: 768px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-item { padding: var(--s5) var(--s5); }
  .quick-item:first-child { padding-left: 0; }
  .quick-item + .quick-item { border-top: 0; border-left: 1px solid var(--line-soft); }
}

/* ---------- Specials ---------- */
.specials-grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .specials-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s6); } }

.special-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out);
}
.special-card:hover { border-color: var(--line); transform: translateY(-3px); }
.special-card.is-today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 40px -20px rgba(212, 162, 76, 0.35); }

.special-media { position: relative; overflow: hidden; }
.special-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 600ms var(--ease-out); }
.special-card:hover .special-media img { transform: scale(1.04); }
.special-tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(20, 16, 12, 0.85); color: var(--gold-light);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.special-card.is-today .special-tag { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

.special-body { padding: var(--s5); display: grid; gap: var(--s3); flex: 1; align-content: start; grid-template-rows: auto 1fr auto; }
.special-body h3 { font-family: var(--font-display); font-size: 1.65rem; }
.special-body p { color: var(--text-muted); font-size: 0.95rem; }
.special-body strong { color: var(--text); font-weight: 600; }
.special-price {
  font-family: var(--font-display); font-size: 2.4rem !important; font-weight: 700;
  color: var(--gold-light) !important; line-height: 1; margin-top: var(--s2);
  font-variant-numeric: lining-nums tabular-nums;
}
.special-price span { font-size: 0.55em; margin-right: 2px; vertical-align: 0.5em; }
.special-price-text { font-size: 2.1rem !important; }

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  margin-bottom: var(--s6); padding-bottom: var(--s5); border-bottom: 1px solid var(--line-soft);
}
.menu-tabs button {
  font: inherit; font-size: 0.9rem; font-weight: 600;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: transparent; color: var(--text-muted);
  cursor: pointer; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
  touch-action: manipulation;
}
.menu-tabs button:hover { color: var(--text); border-color: var(--line); }
.menu-tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.menu-panel { animation: panelIn var(--dur) var(--ease-out); }
.menu-panel:focus-visible { outline-offset: 8px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.menu-cols { display: grid; gap: var(--s7); }
@media (min-width: 900px) {
  .menu-cols { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .menu-cols.three { grid-template-columns: repeat(3, 1fr); gap: var(--s7); }
}
@media (min-width: 768px) and (max-width: 899px) { .menu-cols.three { grid-template-columns: 1fr 1fr; } }

.menu-group {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-light);
  margin-bottom: var(--s4); display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
}
.menu-list + .menu-group, .menu-note + .menu-group, .menu-photo + .menu-group { margin-top: var(--s6); }
.menu-note { color: var(--text-faint); font-size: 0.88rem; margin: calc(var(--s2) * -1) 0 var(--s4); }
.menu-list + .menu-note { margin-top: var(--s4); }

.menu-list { display: grid; gap: var(--s5); }
.menu-list.compact { gap: var(--s3); }
@media (min-width: 900px) { .menu-list.two-col { grid-template-columns: 1fr 1fr; column-gap: var(--s8); } }

.mi { display: flex; align-items: baseline; gap: var(--s3); }
.mi-name { font-weight: 600; color: var(--text); }
.mi-price {
  margin-left: auto; color: var(--gold-light); font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-list li p { color: var(--text-muted); font-size: 0.92rem; margin-top: 2px; max-width: 46ch; }
.menu-list.compact li p { font-size: 0.86rem; }

.menu-photo { margin: 0 0 var(--s6); }
.menu-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-soft); }

.badge {
  display: inline-block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage);
  border: 1px solid rgba(157, 180, 135, 0.4); border-radius: 999px; padding: 2px 10px; vertical-align: middle;
}
.menu-list li p .badge { margin-left: 6px; color: var(--gold-light); border-color: var(--line); }

.happy-hour-note {
  margin-bottom: var(--s6); padding: var(--s3) var(--s4); border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: rgba(212, 162, 76, 0.08); color: var(--text-muted);
}
.happy-hour-note strong { color: var(--gold-light); }

.menu-disclaimer { margin-top: var(--s7); color: var(--text-faint); font-size: 0.85rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s7); align-items: center; }
.about-logo { display: grid; place-items: center; }
.about-logo img {
  width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 30px 80px -30px rgba(212, 162, 76, 0.45);
}
.about-copy { display: grid; gap: var(--s5); }
.about-copy > p { color: var(--text-muted); font-size: 1.05rem; max-width: 38em; }
.pillars { display: grid; gap: var(--s5); margin-top: var(--s3); }
.pillars li { display: flex; gap: var(--s4); align-items: flex-start; }
.pillars svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.pillars h3 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); margin-bottom: 2px; }
.pillars p { color: var(--text-muted); font-size: 0.95rem; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s9); }
  .about-logo img { width: 360px; }
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .map-card { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .visit-grid { grid-template-columns: 1fr 1fr 1.2fr; }
  .map-card { grid-column: auto; }
}

.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: var(--s6) var(--s5);
}
@media (min-width: 768px) { .card { padding: var(--s6); } }
.card h3 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: var(--s4); }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--text-muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-light); font-weight: 700; }
.hours tr.is-today th::after {
  content: "Today"; margin-left: 10px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--gold); color: var(--on-gold); padding: 2px 8px; border-radius: 999px; vertical-align: middle;
}

.book-card > p { color: var(--text-muted); margin-bottom: var(--s5); }
.book-actions { display: grid; gap: var(--s3); }
.contact-list { display: grid; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line-soft); }
.contact-list li { display: flex; gap: var(--s3); align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-list svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-list a { color: var(--text); text-decoration-color: var(--line); text-underline-offset: 3px; }
.contact-list a:hover { color: var(--gold-light); }

.map-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; }
.map-card iframe {
  flex: 1; width: 100%; min-height: 300px; border: 0; display: block;
  filter: grayscale(0.6) invert(0.9) hue-rotate(180deg) contrast(0.9);
}
.map-link {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  color: var(--gold-light); font-weight: 600; text-decoration: none; border-top: 1px solid var(--line-soft);
}
.map-link:hover { background: rgba(212, 162, 76, 0.08); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s7); border-top: 1px solid var(--line-soft); }
.footer-inner { display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.footer-meta { color: var(--text-muted); font-size: 0.92rem; }
.footer-meta a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--line); }
.footer-legal { color: var(--text-faint); font-size: 0.8rem; max-width: 42em; }

/* ---------- Mobile booking bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 2fr; gap: var(--s2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(20, 16, 12, 0.92); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(110%); transition: transform var(--dur) var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; padding-inline: 12px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

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