:root {
  --cream: #F5EEE1;
  --cream-dark: #EBDFC8;
  --ink: #2A241D;
  --teal: #1B4441;
  --teal-dark: #102B29;
  --terracotta: #BE5A34;
  --gold: #C9A24B;
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Nunito Sans', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-visible { opacity: 1; transform: none; }

/* Words "ink in" to full color once their heading scrolls into view */
.ink-word {
  color: rgba(42, 36, 29, 0.3);
  transition: color 0.7s var(--ease);
}
.reveal-visible .ink-word { color: inherit; }
.ink-word-delay { transition-delay: 0.18s; }

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

/* ---------- Placeholder image blocks ---------- */
.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 55%, var(--terracotta) 130%);
  overflow: hidden;
  color: rgba(245, 238, 225, 0.55);
}
.img-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(245, 238, 225, 0.75);
  font-family: var(--font-sans);
  background: rgba(16, 43, 41, 0.35);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}
.ph-icon { width: 42px; height: 42px; opacity: 0.6; }

.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.img-placeholder.has-photo::after,
.img-placeholder.has-photo .ph-icon { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--cream);
  border-bottom: 1px solid rgba(42, 36, 29, 0.12);
  transition: box-shadow 0.35s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08); }

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--ink);
  transition: letter-spacing 0.35s var(--ease), color 0.4s var(--ease);
}
.logo span { font-style: italic; font-weight: 500; font-size: 0.9em; }
.logo:hover { letter-spacing: 0.05em; }

/* Desktop-only inline nav (hidden on mobile, replaces hamburger at 860px+) */
.nav-inline { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .header-cta { display: none; }

.hamburger {
  width: 30px; height: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--teal-dark);
  color: var(--cream);
  padding: 90px 28px 40px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.nav-overlay.open { transform: translateX(0); }

.nav-link, .nav-actions a { position: relative; }
.nav-link {
  display: inline-block;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-overlay.open .nav-link { transition-delay: 0.15s; }
.nav-link:hover, .nav-link:active { color: var(--gold); transform: translateX(4px); }

.nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  color: var(--cream);
}
.nav-close svg { width: 100%; height: 100%; }

.nav-links { display: flex; flex-direction: column; gap: 26px; margin-bottom: 40px; }
.nav-link {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nav-actions { display: flex; flex-direction: column; gap: 14px; }

/* Floating desktop reservation CTA — hidden on mobile, slides in on desktop after scroll */
.floating-cta { display: none; }

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 3px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease);
}
.btn span { font-size: 16px; display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 43, 41, 0.16); }
.btn:hover span { transform: translateX(3px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-outline-light { border: 1px solid rgba(245, 238, 225, 0.5); color: var(--cream); }
.btn-dark { background: var(--teal-dark); color: var(--cream); }
.btn-outline-dark { border: 1px solid var(--ink); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 64px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px 40px;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(16,43,41,0.75) 0%, rgba(16,43,41,0.15) 55%, rgba(16,43,41,0.35) 100%);
}
.hero-img img { animation: hero-zoom 12s var(--ease) forwards; }
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge, .hero-buttons, .scroll-cue, .hero-tagline {
  opacity: 0;
  animation: fade-up 0.9s var(--ease) forwards;
}
.hero-badge { animation-delay: 0.15s; }
.hero-buttons { animation-delay: 0.3s; }
.scroll-cue { animation: fade-up 0.9s var(--ease) forwards, bob 2s ease-in-out 0.9s infinite; animation-delay: 0.45s, 0.9s; }
.hero-tagline { animation-delay: 0.5s; }

.hero-badge {
  align-self: flex-start;
  background: rgba(16, 43, 41, 0.85);
  color: var(--cream);
  padding: 14px 20px;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
}
.hero-badge-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.05em;
}
.hero-badge-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-top: 2px;
}

.hero-buttons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.hero-buttons .btn { max-width: 260px; }

.scroll-cue {
  color: var(--cream);
  width: 22px; height: 22px;
  margin-bottom: 14px;
}
.scroll-cue svg { width: 100%; height: 100%; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.15;
  color: var(--cream);
  font-weight: 600;
}
.hero-tagline em { color: var(--terracotta); font-style: italic; }

/* ---------- Section shared ---------- */
section { padding: 70px 24px; }
.section-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
}
.section-heading strong { font-weight: 700; }
.section-heading.small { font-size: 24px; text-align: left; margin-top: 24px; }
.eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 14px;
}
.lead {
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.body-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(42, 36, 29, 0.85);
}
.body-text.center { text-align: center; margin-bottom: 36px; }

/* ---------- About ---------- */
.about { text-align: center; background: var(--cream); }
.about .body-text { text-align: left; margin-bottom: 36px; }
.about-img { height: 320px; border-radius: 4px; margin-bottom: 6px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--teal-dark);
  padding: 22px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--cream);
  padding: 0 20px;
}
.marquee-sep { color: var(--terracotta); font-size: 16px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Feature ---------- */
.feature { background: var(--cream-dark); }
.feature-img { height: 340px; border-radius: 4px; margin-bottom: 34px; }
.feature .section-heading.small { text-align: center; }
.feature .body-text { text-align: center; }

/* ---------- Menu list ---------- */
.menu-list { background: var(--cream); }
.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(42, 36, 29, 0.15);
  transition: padding-left 0.35s var(--ease);
}
.menu-row:last-child { border-bottom: 1px solid rgba(42, 36, 29, 0.15); }
.menu-row:hover { padding-left: 8px; }
.menu-row-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}
.menu-row:hover .menu-row-title { color: var(--terracotta); }
.menu-thumb { width: 90px; height: 90px; border-radius: 4px; flex-shrink: 0; overflow: hidden; }
.menu-thumb .ph-icon { width: 22px; height: 22px; }
.menu-thumb::after { display: none; }
.menu-thumb img { transition: transform 0.5s var(--ease); }
.menu-row:hover .menu-thumb img { transform: scale(1.08); }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream-dark); }
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 78%;
  height: 320px;
  border-radius: 4px;
  scroll-snap-align: start;
  overflow: hidden;
}
.carousel-slide img { transition: transform 0.6s var(--ease); }
.carousel-slide:hover img { transform: scale(1.06); }
.carousel-controls { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.carousel-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-btn:hover { background: var(--ink); color: var(--cream); transform: scale(1.08); }
.carousel-btn:active { transform: scale(0.96); }
.carousel-btn svg { width: 18px; height: 18px; }

/* ---------- Contacts ---------- */
.contacts { background: var(--cream); text-align: center; }
.contact-block { margin-bottom: 34px; }
.contact-icon { width: 24px; height: 24px; color: var(--terracotta); margin-bottom: 8px; }
.contact-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(42,36,29,0.6);
  margin-bottom: 10px;
}
.contact-text { font-size: 14px; line-height: 2; font-weight: 500; }
.contact-big { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.contact-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: var(--cream);
  padding: 60px 24px 30px;
  text-align: center;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(245,238,225,0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 50px;
}
.lang-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-btn.active { background: var(--cream); color: var(--ink); }

.footer-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.location-pill {
  display: inline-block;
  border: 1px solid rgba(245,238,225,0.4);
  border-radius: 30px;
  padding: 10px 26px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.footer-address { font-size: 14px; line-height: 1.7; opacity: 0.85; margin-bottom: 28px; }

.footer-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(245, 238, 225, 0.2);
  margin-bottom: 36px;
  filter: grayscale(0.25) contrast(1.05);
  transition: filter 0.4s var(--ease);
}
.footer-map:hover { filter: grayscale(0); }
.footer-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 860px) {
  .footer-map { aspect-ratio: 16 / 6; max-width: 760px; margin-left: auto; margin-right: auto; }
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(245,238,225,0.2);
  border-bottom: 1px solid rgba(245,238,225,0.2);
  margin-bottom: 30px;
}
.social-link {
  padding: 18px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid rgba(245,238,225,0.2);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.social-link:hover { background: rgba(245, 238, 225, 0.08); color: var(--gold); }

.legal-grid a { transition: color 0.3s var(--ease); }
.legal-grid a:hover { color: var(--gold); }

.legal-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 30px;
}

.footer-bottom {
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.6;
  border-top: 1px solid rgba(245,238,225,0.15);
  padding-top: 20px;
}

/* ---------- Desktop ---------- */
@media (min-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 28px 60px;
  }
  .logo { grid-row: 1; grid-column: 2; justify-self: center; font-size: 25px; }

  /* Inline nav replaces the hamburger/overlay menu */
  .hamburger { display: none; }
  .nav-inline { grid-row: 1; grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 32px; max-width: 100%; overflow: hidden; }
  .header-actions { grid-row: 1; grid-column: 3; justify-self: end; }
  .nav-inline-link {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink);
    padding-bottom: 4px;
    transition: color 0.4s var(--ease);
  }
  .nav-inline-link::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--terracotta);
    transition: right 0.3s var(--ease);
  }
  .nav-inline-link:hover { color: var(--terracotta); }
  .nav-inline-link:hover::after { right: 0; }
  .header-actions .header-cta { display: flex; padding: 12px 20px; }

  /* Transparent header overlaying the hero photo, solidifies on scroll */
  body.has-hero-header .site-header {
    top: 0;
  }
  body.has-hero-header .site-header:not(.scrolled) {
    background: transparent;
    border-bottom-color: transparent;
  }
  body.has-hero-header .site-header:not(.scrolled)::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 190px;
    background: linear-gradient(to bottom, rgba(16, 43, 41, 0.6) 0%, rgba(16, 43, 41, 0.28) 55%, transparent 100%);
    z-index: -1;
    pointer-events: none;
  }
  body.has-hero-header .site-header:not(.scrolled) .logo,
  body.has-hero-header .site-header:not(.scrolled) .nav-inline-link {
    color: var(--cream);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  }
  body.has-hero-header .site-header:not(.scrolled) .nav-inline-link:hover { color: var(--gold); }

  /* Floating reservation CTA, slides in on scroll */
  .floating-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(140%);
    opacity: 0;
    z-index: 150;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
    pointer-events: none;
  }
  .floating-cta.visible { transform: translateY(-50%) translateX(0); opacity: 1; pointer-events: auto; }
  .floating-cta .btn { min-width: 168px; padding: 14px 18px; font-size: 12px; }

  .hero { margin-top: 0; min-height: 100vh; padding: 0 60px 70px; }
  .hero-badge, .hero-tagline { max-width: 640px; }
  .hero-tagline { font-size: 56px; }
  .hero-buttons {
    position: absolute;
    right: 60px;
    bottom: 70px;
    max-width: 220px;
    margin-bottom: 0;
  }

  section { padding: 110px 60px; }
  .section-heading { font-size: 34px; }

  /* About — big, confident, centered typography; full-bleed image below */
  .about { max-width: 900px; margin: 0 auto; padding-bottom: 0; }
  .about-text .section-heading { font-size: 52px; margin-bottom: 26px; }
  .about-text .lead { font-size: 19px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .about-text .body-text { max-width: 640px; margin-left: auto; margin-right: auto; font-size: 16px; }
  .about-img {
    height: 560px;
    margin-top: 60px;
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
  }

  /* Marquee overlaps the bottom edge of the About image above it */
  .marquee { margin-top: -46px; position: relative; z-index: 5; }

  /* Feature — image + text side by side */
  .feature { max-width: 100%; }
  .feature-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 70px;
  }
  .feature-img { flex: 1; height: 420px; margin-bottom: 0; }
  .feature-text { flex: 1; }
  .feature-text .section-heading.small { text-align: left; font-size: 36px; }
  .feature-text .body-text { text-align: left; }

  /* Menu rows — minimal by default, thumbnail slides in on hover */
  .menu-list { max-width: 860px; margin: 0 auto; }
  .menu-row { position: relative; padding: 34px 0; overflow: hidden; }
  .menu-row:hover { padding-left: 0; }
  .menu-row-title { font-size: 30px; transition: color 0.3s var(--ease), transform 0.4s var(--ease); }
  .menu-row:hover .menu-row-title { transform: translateX(14px); }
  .menu-thumb {
    position: absolute;
    right: 0; top: 50%;
    width: 130px; height: 92px;
    transform: translateY(-50%) translateX(24px);
    opacity: 0;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .menu-row:hover .menu-thumb { opacity: 1; transform: translateY(-50%) translateX(0); }
  .menu-row::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 2px; width: 0;
    background: var(--terracotta);
    transition: width 0.45s var(--ease);
  }
  .menu-row:hover::after { width: 100%; }

  .contacts { max-width: 720px; margin: 0 auto; }
  .contact-split { display: flex; gap: 60px; justify-content: center; margin-bottom: 34px; }
  .contact-split .contact-block { margin-bottom: 0; flex: 1; }
  .contact-big { white-space: nowrap; }
  .contact-buttons { flex-direction: row; justify-content: center; }
  .contact-buttons .btn { min-width: 200px; }

  .carousel-slide { flex: 0 0 32%; height: 380px; }
  .social-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { display: flex; justify-content: space-between; text-align: left; }
}
