/* Vespera — HertzWebCo demo */
:root {
  --ink: #120E0C;
  --ink-2: #1A1512;
  --wine: #6B1D22;
  --gold: #C9A36A;
  --gold-2: #E0C48A;
  --cream: #F4EDE2;
  --fog: #B7AFA4;
  --line: rgba(244, 237, 226, 0.14);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5.5rem; }
html, body { margin: 0; background: var(--ink); color: var(--cream); }
body { font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; z-index: 200; }
.skip:focus { top: 1rem; }
.wrap { width: min(1120px, calc(100% - var(--pad) * 2)); margin-inline: auto; }
.eyebrow { margin: 0 0 0.9rem; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 0.95; margin: 0; }
h2 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
p { color: var(--fog); }
.lede { max-width: 34rem; }
.section-head { margin-bottom: 2.2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.8rem 1.4rem; border: 1px solid transparent;
  text-decoration: none; letter-spacing: 0.06em; font-size: 0.84rem; text-transform: uppercase;
  cursor: pointer; transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--pad);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18,14,12,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}
.logo { font-family: var(--serif); font-style: italic; font-size: 1.85rem; text-decoration: none; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { text-decoration: none; font-size: 0.86rem; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { padding: 0.55rem 0.95rem !important; background: var(--gold); color: var(--ink) !important; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--cream); transition: 0.3s ease; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: ken 24s ease-out forwards; }
@keyframes ken { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,14,12,0.2) 0%, rgba(18,14,12,0.2) 40%, rgba(18,14,12,0.88) 100%),
    linear-gradient(90deg, rgba(18,14,12,0.45), transparent 55%);
}
.hero-copy { position: relative; z-index: 1; padding: 0 var(--pad) 6.5rem; max-width: 52rem; }
.hero h1 { font-size: clamp(3.8rem, 12vw, 8.5rem); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-lead { max-width: 32rem; color: var(--cream); opacity: 0.88; margin: 1.3rem 0 2rem; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.about { padding: 7rem 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.about-fig img { width: 100%; height: 34rem; object-fit: cover; }
.about-copy p { font-size: 1.08rem; }

.menu { padding: 2rem 0 6.5rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--fog); padding: 0.85rem 1rem; cursor: pointer;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem;
  margin-bottom: -1px;
}
.tabs button[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.panel { animation: soft 0.45s ease; }
@keyframes soft { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dish {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.dish h3 { font-size: 1.7rem; font-style: italic; }
.dish p { margin: 0.25rem 0 0; font-size: 0.95rem; }
.dish span { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); white-space: nowrap; }

.gallery { padding: 2rem 0 5rem; }
.gallery-head { margin-bottom: 1.8rem; }
.gallery-rail {
  display: flex; gap: 1rem; overflow-x: auto; padding: 0 var(--pad) 1.4rem;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
  -webkit-overflow-scrolling: touch;
}
.gallery-rail:focus-visible { outline-offset: -4px; }
.gallery-rail figure { flex: 0 0 auto; width: min(72vw, 420px); margin: 0; scroll-snap-align: start; }
.gallery-rail figure:nth-child(2), .gallery-rail figure:nth-child(3) { width: min(58vw, 320px); }
.gallery-rail img { width: 100%; height: 28rem; object-fit: cover; }
.gallery-rail figcaption { margin-top: 0.7rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog); }

.visit { padding: 5rem 0 6rem; background: var(--ink-2); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
address { font-style: normal; color: var(--cream); margin: 1.2rem 0; line-height: 1.5; }
.hours { list-style: none; padding: 0; margin: 0; max-width: 22rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-top: 1px solid var(--line); color: var(--cream); }
.hours span { color: var(--fog); }
.map svg { width: 100%; height: auto; border: 1px solid var(--line); }
.map-note { font-size: 0.8rem; margin: 0.7rem 0 0; }

.reserve { padding: 7rem 0; }
.reserve-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
.reserve-form, .trial-form { display: grid; gap: 1rem; }
label { display: grid; gap: 0.4rem; }
label span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fog); }
input, select, textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line);
  padding: 0.85rem 0.9rem; color: var(--cream); border-radius: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row.three { grid-template-columns: 1.1fr 1fr 0.8fr; }
.form-note { margin: 0; font-size: 0.82rem; }
.hp { position: absolute; left: -9999px; }

.footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer .logo { font-size: 2rem; margin: 0 0 0.5rem; }
.footer p { margin: 0 0 0.55rem; }
.demo-note { color: var(--cream) !important; font-size: 0.82rem !important; }
.thanks-body { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.thanks { max-width: 32rem; text-align: center; }
.thanks h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); font-style: italic; margin-bottom: 1rem; }
.thanks .btn { margin: 1.5rem 0 2rem; }

.fade-up { opacity: 0; transform: translateY(18px); animation: rise 1s ease forwards; }
.d1 { animation-delay: 0.15s; } .d2 { animation-delay: 0.3s; } .d3 { animation-delay: 0.45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: 55;
    background: rgba(18,14,12,0.97);
    flex-direction: column; justify-content: center; gap: 1.3rem;
    transform: translateY(-12%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.35s ease, visibility 0.35s ease;
  }
  .nav-links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a { font-family: var(--serif); font-size: 2rem; font-style: italic; }
  .about-grid, .visit-grid, .reserve-grid, .footer-grid, .form-row, .form-row.three { grid-template-columns: 1fr; }
  .about-fig img { height: 22rem; }
  .gallery-rail img { height: 22rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .fade-up, .reveal, .panel { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
}
