/* ============================================================
   HDMONA — Design system
   Palette: charcoal, warm cream, amber gold, terracotta, emerald
   Drop replacement photos into /assets/images/ without changing
   class names if you keep the same filenames.
   ============================================================ */

:root {
  --ink: #161310;
  --ink-soft: #2b241e;
  --charcoal: #1c1814;
  --charcoal-2: #241f1a;
  --cream: #f7f1e7;
  --cream-2: #efe6d6;
  --paper: #fbf7f0;
  --gold: #c9a227;
  --gold-2: #e0bc55;
  --gold-dim: rgba(201, 162, 39, 0.16);
  --terracotta: #b85c38;
  --terracotta-2: #9a4528;
  --emerald: #1f4d3a;
  --emerald-2: #16382a;
  --muted: #6f655a;
  --line: rgba(22, 19, 16, 0.1);
  --white: #fff;
  --shadow: 0 18px 50px rgba(22, 19, 16, 0.12);
  --radius: 18px;
  --header-h: 84px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--terracotta);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, .display {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

h1, .display { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.45rem; }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header.is-scrolled,
.site-header.solid {
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .nav-link,
.site-header.solid .nav-link,
.site-header.is-scrolled .brand-word,
.site-header.solid .brand-word { color: var(--ink); }
.site-header.is-scrolled .nav-toggle span,
.site-header.solid .nav-toggle span { background: var(--ink); }

.header-inner {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #0a0a0a;
  border-radius: 50%;
  padding: 6px;
  border: 1px solid var(--gold);
}
.brand-word {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.16em;
  color: var(--cream);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--cream);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.28);
}
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 241, 231, 0.35);
}
.btn-ghost.dark {
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-terra {
  background: var(--terracotta);
  color: var(--white);
}
.btn-terra:hover { background: var(--terracotta-2); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 5px auto;
  background: var(--cream);
  transition: 0.25s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: end stretch;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,19,16,0.35) 0%, rgba(22,19,16,0.25) 40%, rgba(22,19,16,0.82) 100%),
    linear-gradient(90deg, rgba(22,19,16,0.55), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 88px;
}
.hero-content p.kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-2);
  margin: 10px 0 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
}
.meta-card {
  border-top: 1px solid rgba(224, 188, 85, 0.35);
  padding-top: 14px;
}
.meta-card span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 4px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}
.section-head.center { text-align: center; justify-items: center; }

.about-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.frame {
  position: relative;
}
.frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--emerald);
}
.stat span { color: var(--muted); font-size: 0.9rem; }

.band {
  background: var(--charcoal);
  color: var(--cream);
}
.band .lead { color: rgba(247, 241, 231, 0.72); }

/* ---------- Menu cards ---------- */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
}
.chip:hover,
.chip.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.menu-block { margin-bottom: 56px; scroll-margin-top: 110px; }
.menu-block header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 22px;
}
.menu-block header p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dish {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.dish:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 39, 0.45);
}
.dish h3 { grid-column: 1; }
.price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--terracotta);
  font-weight: 600;
}
.dish p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.spice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.combo-prices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}
.combo-prices span {
  background: var(--cream-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}
.info-card, .form-card, .map-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.info-list { list-style: none; padding: 0; margin: 22px 0 0; }
.info-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.info-list strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.info-list a:hover { color: var(--terracotta); }

.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 0.82rem; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
}
.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e7f3ec;
  color: var(--emerald-2);
}
.form-status.is-visible { display: block; }
.hidden { display: none !important; }

.map-wrap { padding: 0; overflow: hidden; min-height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(247,241,231,0.12);
}
.site-footer .brand-word { color: var(--cream); }
.site-footer p, .site-footer a { color: rgba(247,241,231,0.72); }
.site-footer a:hover { color: var(--gold-2); }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.85rem;
  color: rgba(247,241,231,0.5);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ---------- Page hero compact ---------- */
.page-hero {
  padding: 148px 0 56px;
  background:
    radial-gradient(circle at 80% 0%, rgba(201,162,39,0.18), transparent 40%),
    var(--cream);
}
.page-hero .lead { margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .menu-grid,
  .hero-meta { grid-template-columns: 1fr; }
  .frame img { height: 360px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 16px auto 16px;
    background: var(--paper);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-link { color: var(--ink); }
  .nav .btn { width: 100%; }
  .site-header { background: rgba(22,19,16,0.55); backdrop-filter: blur(10px); }
}

@media (max-width: 560px) {
  .hero-content { margin-bottom: 48px; }
  .section { padding: 72px 0; }
  .stat-row { grid-template-columns: 1fr; }
}
