:root {
  --bg: #0F0D0B;
  --bg-alt: #161210;
  --bg-alt-2: #0A0908;
  --card: #1C1713;
  --border: rgba(245, 241, 231, 0.10);
  --border-strong: rgba(245, 241, 231, 0.18);

  --gold: #C9A227;
  --gold-light: #E7C465;
  --gold-dim: #8C7220;
  --gold-glow: rgba(201, 162, 39, 0.18);

  --cream: #F6F1E7;
  --text-muted: #B9AE9C;
  --text-faint: #766B5C;
  --on-gold: #1B1508;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;

  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 96px;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 220ms;

  color-scheme: dark;
}

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 19px; margin-bottom: 4px; }

p { margin: 0 0 var(--space-4); color: var(--text-muted); }
.lead { font-size: 18px; color: var(--cream); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--space-5); }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-3);
}

::selection { background: var(--gold); color: var(--on-gold); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 10px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 8px 28px var(--gold-glow); transform: translateY(-2px); }
.btn-outline { border-color: var(--border-strong); color: var(--cream); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: var(--space-4) 0;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(15, 13, 11, 0.85);
  backdrop-filter: blur(10px);
  padding: var(--space-3) 0;
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  flex-shrink: 0;
}
.logo svg { width: 26px; height: 26px; color: var(--gold); }

.main-nav { display: flex; gap: var(--space-5); flex: 1; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--gold);
  transition: right var(--dur) var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--cream); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: var(--space-5); flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--cream); }
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--cream); margin: 0 auto; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 50% -10%, rgba(201,162,39,0.12), transparent 60%),
    linear-gradient(180deg, #14100C 0%, #0F0D0B 60%, #0A0908 100%);
  padding: 140px var(--space-5) var(--space-10);
}
.hero-pattern {
  position: absolute;
  top: 50%; left: 50%;
  width: min(900px, 140vw);
  transform: translate(-50%, -50%);
  color: var(--gold);
  opacity: 0.07;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.hero-text { font-size: 18px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; margin: var(--space-6) 0; }
.hero-meta { display: flex; align-items: center; justify-content: center; gap: var(--space-5); margin-top: var(--space-8); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--serif); font-size: 20px; color: var(--gold-light); }
.hero-meta span { font-size: 12.5px; color: var(--text-faint); }
.hero-meta-divider { width: 1px; height: 32px; background: var(--border-strong); }

.scroll-cue {
  position: absolute; bottom: var(--space-6); left: 50%; transform: translateX(-50%);
  color: var(--text-faint);
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue svg { width: 22px; height: 22px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--gold);
  color: var(--on-gold);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 14px;
  animation: marquee 22s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 600;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: var(--space-12) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto var(--space-8); text-align: center; }
.section-head h2 { margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Decorative image placeholder */
.pattern-block {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 140% at 20% 15%, rgba(201,162,39,0.16), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #201A14 0%, #14100C 60%, #0C0A08 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 220px;
  color: var(--gold-dim);
}
.pattern-block svg { width: 34%; max-width: 110px; }
.pattern-block--tall { min-height: 460px; }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-10); align-items: center; }
.about-media { position: relative; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--on-gold);
  width: 108px; height: 108px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.4);
}
.about-badge strong { font-family: var(--serif); font-size: 30px; line-height: 1; }
.about-badge span { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

.about-stats { display: flex; gap: var(--space-8); margin-top: var(--space-6); flex-wrap: wrap; }
.about-stats strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold-light); }
.about-stats span { font-size: 13px; color: var(--text-faint); }

/* ---------- Menu ---------- */

.menu-tabs { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-8); }
.menu-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.menu-tab.active { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.menu-panel { display: none; max-width: 760px; margin: 0 auto; }
.menu-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-8); }
.menu-item { padding-bottom: var(--space-4); border-bottom: 1px dashed var(--border-strong); }
.menu-item-head { display: flex; align-items: baseline; gap: 8px; }
.menu-item-head h3 { flex-shrink: 0; }
.menu-item-head::after { content: ''; flex: 1; border-bottom: 1px dotted var(--border-strong); transform: translateY(-5px); }
.menu-price { font-family: var(--serif); font-weight: 700; color: var(--gold-light); flex-shrink: 0; }
.menu-item p { margin: 0; font-size: 14px; }

/* ---------- Gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--space-4); }
.gallery-item { min-height: 0; cursor: default; transition: transform var(--dur) var(--ease); }
.gallery-item:hover { transform: scale(1.03); color: var(--gold-light); }
.gallery-item--wide { grid-column: span 2; }

/* ---------- Testimonials ---------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: var(--space-3); }
.testimonial-card p { font-style: italic; color: var(--cream); }
.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: var(--space-4); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-glow); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 12px; color: var(--text-faint); }

/* ---------- Reservation ---------- */

.reservation-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-10); align-items: start; }
.info-list { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; flex-direction: column; gap: var(--space-3); }
.info-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.info-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.reservation-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.form-row { display: flex; gap: var(--space-4); }
.form-row > .field { flex: 1; min-width: 0; }
.field { margin-bottom: var(--space-4); }
.field--sm { flex: 0 0 110px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  background: var(--bg-alt-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14.5px;
  transition: border-color var(--dur) var(--ease);
}
.field textarea { padding: 12px 14px; min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input:invalid:not(:placeholder-shown) { border-color: #a34a4a; }

.form-error, .form-success { font-size: 13.5px; margin: 0 0 var(--space-3); min-height: 0; }
.form-error { color: #e08a8a; }
.form-error:empty, .form-success:empty { display: none; }
.form-success { color: var(--gold-light); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-10); align-items: center; }
.hours-table { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table th, .hours-table td { text-align: left; padding: 12px 0; font-weight: 400; }
.hours-table th { color: var(--cream); font-weight: 600; }
.hours-table td { color: var(--text-muted); text-align: right; }

.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: all var(--dur) var(--ease);
}
.social-row a:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); filter: grayscale(0.4) sepia(0.15) contrast(1.05); }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-alt-2); border-top: 1px solid var(--border); padding: var(--space-10) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-8); }
.logo--footer { margin-bottom: var(--space-3); }
.footer-grid p { font-size: 14px; }
.footer-grid h4 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: var(--space-4); }
.footer-grid > div { display: flex; flex-direction: column; }
.footer-grid a, .footer-grid span { font-size: 14.5px; color: var(--text-muted); margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1180px; margin: var(--space-8) auto 0; padding: var(--space-5) var(--space-5) 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--text-faint);
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed; right: var(--space-5); bottom: var(--space-5);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 90;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { padding: 0 18px; min-height: 42px; font-size: 13.5px; }

  .main-nav {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw);
    background: var(--bg-alt); border-left: 1px solid var(--border);
    padding: 100px var(--space-6) var(--space-6);
    gap: var(--space-5);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }
  .main-nav.open { transform: translateX(0); display: flex; }
  .main-nav a { font-size: 16px; }

  .about-grid, .reservation-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-badge { right: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .menu-panel.active { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item--wide { grid-column: span 2; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .field--sm { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
}
