/* =========================
   ROOT
========================== */
:root {
  --bg: #0b0908;
  --panel: #17110f;
  --panel-soft: #1d1512;
  --text: #f7f1eb;
  --muted: #c7b8aa;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent-dark: #211511;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --max: 1180px;
}

/* =========================
   BASE
========================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html.is-locked,
body.is-loading {
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.03), transparent 24%),
    linear-gradient(180deg, #0f0b09 0%, #090706 100%);
  overflow-x: clip;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-shell {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.is-ready .site-shell {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   LOADER
========================== */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 35%),
    linear-gradient(180deg, #100b09 0%, #070504 100%);
  transition: opacity 800ms ease, visibility 800ms ease;
  pointer-events: none;
}

#site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-mark {
  position: relative;
  width: 150px;
  height: 150px;
  color: #f7f1eb;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.06));
  animation: loaderFloat 3.2s ease-in-out infinite;
}

.loader-c,
.loader-f,
.brand-c,
.brand-f {
  position: absolute;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1;
}

.loader-c {
  left: 16px;
  top: 14px;
  font-size: 7rem;
}

.loader-f {
  right: 18px;
  bottom: 2px;
  font-size: 7rem;
}

.loader-word {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.8rem;
  color: #f7f1eb;
}

.loader-line {
  width: 180px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
}

.loader-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: rgba(255,255,255,0.85);
  animation: loaderSweep 2s linear infinite;
}

@keyframes loaderSweep {
  from { left: -40%; }
  to { left: 100%; }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* =========================
   HEADER
========================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(12, 9, 8, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  white-space: nowrap;
  transition: 180ms ease;
}

.back-home-link:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.34);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-mark {
  position: relative;
  width: 56px;
  height: 56px;
  color: #f7f1eb;
  flex: 0 0 auto;
}

.brand-c {
  left: 6px;
  top: 4px;
  font-size: 2.9rem;
}

.brand-f {
  right: 4px;
  bottom: 2px;
  font-size: 2.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.menu-btn,
.btn,
.nav-links a {
  -webkit-tap-highlight-color: transparent;
}

.menu-btn {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  touch-action: manipulation;
}

/* =========================
   BUTTONS
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  transition: 180ms ease;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.34);
}

.btn-primary {
  background: linear-gradient(180deg, #f5e8db, #e8d1be);
  color: var(--accent-dark);
  border-color: rgba(255,255,255,0.85);
}

/* =========================
   COMMON LAYOUT
========================== */
.section-shell {
  padding: 46px 0;
}

.section-shell-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.004));
  border-top: 1px solid rgba(255,255,255,0.035);
  border-bottom: 1px solid rgba(255,255,255,0.035);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.section-head-wide {
  align-items: end;
  justify-content: space-between;
}

.section-head h2,
.page-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.section-head p {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.copy-card,
.menu-card,
.contact-box,
.cta-card,
.thank-you-card,
.dish-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 17, 15, 0.96), rgba(14, 10, 9, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.copy-card::before,
.menu-card::before,
.contact-box::before,
.cta-card::before,
.thank-you-card::before,
.dish-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.024), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.004));
}

/* =========================
   HERO
========================== */
.hero {
  position: relative;
  min-height: 86svh;
  overflow: clip;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.24) 0%, rgba(8, 6, 5, 0.62) 62%, rgba(8, 6, 5, 0.88) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 120px 0 88px;
}

.hero-content {
  max-width: 760px;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.94;
  max-width: 11ch;
}

.hero p,
.copy-card p,
.menu-card p,
.contact-box p,
.cta-card p,
.thank-you-card p,
.dish-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.hero p {
  max-width: 54ch;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* =========================
   STRIPS / DISHES / CONTENT
========================== */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.008));
}

.dish-grid,
.menu-grid,
.contact-page-grid,
.two-col {
  display: grid;
  gap: 18px;
}

.dish-grid {
  grid-template-columns: repeat(3, 1fr);
}

.two-col {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.menu-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

.dish-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.dish-copy,
.copy-card,
.menu-card,
.contact-box,
.cta-card,
.thank-you-card {
  padding: 30px;
}

.dish-copy h3,
.copy-card h2,
.menu-card h2,
.contact-box h2,
.cta-card h2,
.thank-you-card h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.menu-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.menu-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.menu-item strong {
  display: block;
  margin-bottom: 6px;
}

.menu-item span {
  color: var(--muted);
  line-height: 1.65;
}

.menu-item-price {
  white-space: nowrap;
  color: #f5e8db;
  font-weight: 600;
}

.copy-card .btn,
.contact-box .btn,
.cta-card .btn,
.thank-you-card .btn {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   FOOTER / REVEAL
========================== */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0 40px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.mobile-return-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 980px) {
  .dish-grid,
  .menu-grid,
  .contact-page-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .section-head-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 84px;
  }

  .nav {
    position: relative;
    gap: 12px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: rgba(13, 10, 9, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 1001;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-links .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .brand-text,
  .back-home-link {
    display: none;
  }

  .copy-card,
  .menu-card,
  .contact-box,
  .cta-card,
  .thank-you-card {
    padding: 24px;
  }

  .loader-mark {
    width: 120px;
    height: 120px;
  }

  .loader-c,
  .loader-f {
    font-size: 5.8rem;
  }

  .loader-word {
    font-size: 2.3rem;
  }

  .mobile-return-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(16, 11, 9, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  .mobile-return-link,
  .mobile-return-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 600;
  }

  .mobile-return-link {
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  }

  .mobile-return-cta {
    color: var(--accent-dark);
    background: linear-gradient(180deg, #f5e8db, #e8d1be);
    border: 1px solid rgba(255,255,255,0.85);
  }

  .footer-row {
    text-align: center;
    justify-content: center;
  }
}