/* ===== Design tokens ===== */
:root {
  --bg: #fbf8f3;
  --bg-alt: #f3ede2;
  --ink: #2a2622;
  --ink-soft: #6a635a;
  --accent: #c2703d;       /* saffron-terracotta */
  --accent-deep: #9c521f;
  --sage: #6f7d63;
  --line: #e3dccf;
  --white: #ffffff;
  --shadow: 0 18px 40px -22px rgba(54, 40, 24, .45);
  --radius: 14px;
  --container: 1140px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: .3px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-sub { color: var(--ink-soft); margin-top: .75rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .04em;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  font-size: .95rem;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: .55rem 1.25rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .95rem;
}
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .5px; }
.brand-name em { color: var(--accent); font-style: italic; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-menu a { font-size: .95rem; font-weight: 400; color: var(--ink); transition: color .2s; }
.nav-menu a:not(.btn):hover { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20,14,9,.25), rgba(20,14,9,.55)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=1600&auto=format&fit=crop") center/cover no-repeat;
}
.hero-content { max-width: 720px; position: relative; }
.hero .eyebrow { color: #f0c9a8; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero .lead { font-size: 1.2rem; max-width: 520px; color: rgba(255,255,255,.9); margin-bottom: 2.2rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 1.4rem; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ===== About ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media {
  min-height: 460px; border-radius: var(--radius); box-shadow: var(--shadow);
  background: url("https://images.unsplash.com/photo-1466637574441-749b8f19452f?q=80&w=1200&auto=format&fit=crop") center/cover;
}
.about-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-text h2 { margin-bottom: 1.3rem; }
.stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); font-weight: 600; }
.stat-label { font-size: .85rem; color: var(--ink-soft); letter-spacing: .03em; }

/* ===== Menu ===== */
.menu { background: var(--bg-alt); }
.menu-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.menu-tab {
  background: transparent; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-soft); padding: .55rem 1.4rem; border-radius: 999px; transition: .2s;
}
.menu-tab:hover { color: var(--accent); }
.menu-tab.is-active { background: var(--accent); color: #fff; }

.menu-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(54,40,24,.5); }
.mc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.mc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.menu-card:hover .mc-img { transform: scale(1.07); }
.mc-price {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  padding: .25rem .8rem; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
}
.mc-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92); color: var(--sage);
  font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 600;
  padding: .25rem .55rem; border-radius: 6px;
}
.mc-body { padding: 1.25rem 1.35rem 1.6rem; }
.mc-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin-bottom: .45rem; }
.mc-desc { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

/* ===== Gallery ===== */
.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g-item { border-radius: var(--radius); background-size: cover; background-position: center; transition: transform .4s ease, filter .4s ease; filter: saturate(.95); }
.g-item:hover { transform: scale(1.02); filter: saturate(1.1); }
.g-1 { background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=900&auto=format&fit=crop"); grid-row: span 2; }
.g-2 { background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?q=80&w=900&auto=format&fit=crop"); }
.g-3 { background-image: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?q=80&w=900&auto=format&fit=crop"); }
.g-4 { background-image: url("https://images.unsplash.com/photo-1551782450-a2132b4ba21d?q=80&w=900&auto=format&fit=crop"); }
.g-5 { background-image: url("https://images.unsplash.com/photo-1467003909585-2f8a72700288?q=80&w=900&auto=format&fit=crop"); grid-row: span 2; }
.g-6 { background-image: url("https://images.unsplash.com/photo-1424847651672-bf20a4b0982b?q=80&w=900&auto=format&fit=crop"); }

/* ===== Reserve ===== */
.reserve { background: var(--bg-alt); }
.reserve-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.reserve-intro p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.reserve-intro a { color: var(--accent); }
.reserve-perks { list-style: none; }
.reserve-perks li { padding: .5rem 0 .5rem 1.6rem; position: relative; color: var(--ink); }
.reserve-perks li::before { content: "✶"; position: absolute; left: 0; color: var(--accent); }

.reserve-form { background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row:has(#guests) { grid-template-columns: 1fr 1fr .8fr; }
label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .4rem; letter-spacing: .02em; }
.opt { color: var(--ink-soft); font-weight: 300; }
input, select, textarea {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,112,61,.15); }
textarea { resize: vertical; }
.form-msg { margin-top: 1rem; font-size: .92rem; text-align: center; min-height: 1.2em; }
.form-msg.ok { color: var(--sage); }
.form-msg.err { color: #b5462f; }

/* ===== Info ===== */
.info { background: var(--ink); color: #ede7dc; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.info h3 { color: #fff; margin-bottom: 1.2rem; }
.info a { color: #f0c9a8; }
.info a:hover { color: #fff; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.info address { font-style: normal; color: #cfc7b9; margin-bottom: 1rem; }
.socials { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }

/* ===== Footer ===== */
.site-footer { background: #1d1916; color: #b8b0a4; padding: 1.8rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-inner .brand-name { color: #fff; font-size: 1.2rem; }
.back-top { font-size: .9rem; color: #f0c9a8; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .about-grid, .reserve-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 320px; order: -1; }
  .info-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .menu-list { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-1, .g-5 { grid-row: span 1; }

  .nav-toggle { display: flex; z-index: 60; }
  .nav-menu {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 1rem 24px 1.5rem; transform: translateY(-120%);
    transition: transform .35s ease; box-shadow: var(--shadow);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .8rem 0; width: 100%; }
  .nav-menu .btn { margin-top: .5rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 520px) {
  .field-row, .field-row:has(#guests) { grid-template-columns: 1fr; }
  .stats { gap: 1.5rem; }
  .menu-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
}
