:root {
  --cream: #f6f0e6;
  --cream-deep: #efe6d6;
  --linen: #e4d6c0;
  --forest: #1b3a2f;
  --forest-soft: #2a4d40;
  --sage: #5c7a62;
  --terracotta: #c25b3c;
  --clay: #d4a574;
  --ink: #1c1915;
  --muted: #6b645a;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(28, 25, 21, 0.12);
  --radius: 1.5rem;
  --header-h: 6.1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--forest);
  color: var(--cream);
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--terracotta);
}

h1,
h2,
.display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: #b04e32;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 240, 230, 0.35);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--forest);
}

.btn-dark {
  background: var(--forest);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--forest-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #49523d;
  overflow: hidden;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../images/leaves.svg");
  background-repeat: repeat-x;
  background-size: 70rem 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 36%,
    transparent 46%,
    transparent 54%,
    #000 64%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 36%,
    transparent 46%,
    transparent 54%,
    #000 64%,
    #000 100%
  );
}

.site-header::before {
  background-position: 0 center;
  opacity: 0.95;
}

.site-header::after {
  background-position: 18rem center;
  transform: scaleY(-1);
  opacity: 0.45;
}

.header-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  grid-column: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-flame {
  position: absolute;
  left: 74.2%;
  top: 17.5%;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle,
      rgba(255, 248, 220, 0.95) 0%,
      rgba(255, 214, 120, 0.55) 28%,
      rgba(255, 176, 64, 0.2) 52%,
      transparent 72%);
  mix-blend-mode: screen;
  filter: blur(0.4px);
  transform: translate(-50%, -50%);
  animation: hearth-glow 2.8s ease-in-out infinite;
}

.logo-flame::after {
  content: "";
  position: absolute;
  inset: -55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 90, 0.28) 0%, transparent 70%);
}

@keyframes hearth-glow {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

.site-header .logo img {
  height: 4.55rem;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.site-header nav,
.site-header .nav-toggle {
  grid-column: 3;
  justify-self: end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--cream);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.2rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin-inline: auto;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--cream);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(27, 58, 47, 0.28) 0%, rgba(27, 58, 47, 0.12) 38%, rgba(18, 28, 24, 0.72) 100%);
}

.hero-copy {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto 5.5rem;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  max-width: 12ch;
  margin: 0.8rem 0 1.2rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--linen);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-meta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  font-size: 0.92rem;
  color: rgba(246, 240, 230, 0.82);
}

.hero-meta strong {
  display: block;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.section {
  padding: 6.5rem 0;
}

.section-tight {
  padding: 4.5rem 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.kicker {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--forest);
  margin: 0.7rem 0 1.1rem;
}

.media {
  position: relative;
}

.media img {
  width: 100%;
  height: min(620px, 72vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media.portrait img {
  height: min(700px, 88vw);
}

.media-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(246, 240, 230, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0.95rem;
  border-radius: 0.9rem;
  font-size: 0.86rem;
  color: var(--forest);
}

.feature-band {
  background: var(--forest);
  color: var(--cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-grid img {
  width: 100%;
  height: min(560px, 70vw);
  object-fit: cover;
  border-radius: var(--radius);
}

.feature-band h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  margin: 0.6rem 0 1rem;
}

.feature-band p {
  color: rgba(246, 240, 230, 0.82);
  max-width: 36rem;
}

.price-note {
  margin: 1.4rem 0 1.8rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  color: var(--clay);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}

.card {
  background: var(--white);
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 25, 21, 0.06);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.3rem 1.4rem;
}

.card h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.hours-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.hours-card,
.visit-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-card {
  background: var(--cream-deep);
  padding: 2.4rem;
}

.hours-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(27, 58, 47, 0.12);
  padding-bottom: 0.7rem;
  color: var(--forest);
}

.visit-card {
  position: relative;
  min-height: 280px;
}

.visit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.visit-card .overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(18, 28, 24, 0.1), rgba(18, 28, 24, 0.72));
}

.page-hero {
  padding: 8.5rem 0 3.5rem;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  color: var(--forest);
  max-width: 12ch;
}

.menu-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.menu-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
}

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 1.8rem;
}

.menu-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 500;
}

.menu-nav a:hover,
.menu-nav a:focus-visible {
  background: var(--forest);
  color: var(--cream);
}

.menu-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.menu-photo.compact {
  margin-top: 1rem;
}

.menu-photo.compact img {
  height: 240px;
}

.menu-section {
  margin-bottom: 2.8rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.menu-section h2 {
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--linen);
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(228, 214, 192, 0.8);
}

.dish h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.dish .price {
  font-family: Fraunces, Georgia, serif;
  color: var(--terracotta);
  font-size: 1.05rem;
}

.dish p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.94rem;
}

.dish.featured {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1.1rem;
  padding: 1.15rem 1.2rem;
  margin-bottom: 0.4rem;
}

.dish .extra {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--sage);
}

.price.is-pending {
  color: var(--sage);
  min-width: 1.6rem;
  text-align: right;
}

.board-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1.2rem;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.board-list li {
  padding-left: 0.7rem;
  position: relative;
}

.board-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--terracotta);
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--sage);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.info-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(28, 25, 21, 0.05);
}

.info-card h2 {
  font-size: 1.4rem;
  color: var(--forest);
  margin-bottom: 0.45rem;
}

.info-card p,
.info-card a {
  color: var(--muted);
}

.info-card a:hover {
  color: var(--terracotta);
}

.form-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-card h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.form-card p {
  color: rgba(246, 240, 230, 0.78);
  margin-bottom: 1.4rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(246, 240, 230, 0.18);
  background: rgba(255, 253, 248, 0.08);
  color: var(--cream);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--clay);
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(246, 240, 230, 0.42);
}

.form-card .btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.form-success {
  display: none;
  background: rgba(246, 240, 230, 0.1);
  border-radius: 1rem;
  padding: 1.2rem;
}

.form-card.is-sent form {
  display: none;
}

.form-card.is-sent .form-success {
  display: block;
}

.map-band {
  padding-bottom: 6.5rem;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  position: relative;
}

.map-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.map-frame .overlay {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  background: rgba(246, 240, 230, 0.94);
  color: var(--forest);
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.map-frame .overlay p {
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: rgba(246, 240, 230, 0.78);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(246, 240, 230, 0.1);
}

.site-footer .logo {
  margin-bottom: 0.9rem;
}

.site-footer .logo img {
  height: 5.5rem;
  box-shadow: none;
}

.site-footer h3 {
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.site-footer a:hover {
  color: var(--clay);
}

.copyright {
  padding-top: 1.2rem;
  font-size: 0.85rem;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-header .logo img {
    height: 3.5rem;
  }

  .logo-flame {
    width: 1.25rem;
    height: 1.25rem;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 20;
  }

  .nav-list a {
    color: var(--forest) !important;
    font-family: Fraunces, Georgia, serif;
    font-size: 2.4rem;
  }

  body.nav-open .nav-list {
    transform: translateX(0);
  }

  body.nav-open .nav-toggle {
    position: relative;
    z-index: 25;
    color: var(--forest) !important;
  }

  body.nav-open .nav-toggle span {
    background: transparent;
  }

  body.nav-open .nav-toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.nav-open .nav-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .split,
  .split.reverse,
  .feature-grid,
  .cards,
  .hours-strip,
  .menu-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .menu-sticky {
    position: static;
  }

  .hero-copy {
    margin-bottom: 3.5rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .map-frame .overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .board-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.2rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
