:root {
  --coal: #181715;
  --ink: #28241f;
  --muted: #6f665d;
  --paper: #f5efe5;
  --paper-strong: #fffaf1;
  --sage: #607867;
  --sage-dark: #344f40;
  --terracotta: #a75d3a;
  --wine: #6d3131;
  --line: rgba(40, 36, 31, 0.16);
  --line-dark: rgba(255, 250, 241, 0.2);
  --shadow: 0 24px 70px -42px rgba(24, 23, 21, 0.72);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 6rem;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  object-fit: cover;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(96, 120, 103, 0.48);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--coal);
  padding: 0.75rem 1rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1rem;
  transition: background 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(24, 23, 21, 0.72);
  padding-block: 0.7rem;
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1180px);
  min-height: 4.1rem;
  margin: 0 auto;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 999px;
  background: rgba(24, 23, 21, 0.34);
  color: var(--paper-strong);
  padding: 0.45rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(255, 250, 241, 0.35);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--coal);
  font-family: "Fraunces", serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a,
.nav-toggle {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 250, 241, 0.82);
  padding: 0.72rem 1rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-toggle:hover {
  background: rgba(255, 250, 241, 0.12);
  color: var(--paper-strong);
}

.nav-links a:active,
.nav-toggle:active,
.button:active,
.menu-tab:active {
  transform: translateY(1px) scale(0.98);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle-lines {
  position: relative;
  width: 1.1rem;
  height: 0.7rem;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.nav-toggle-lines::before {
  top: 0.1rem;
}

.nav-toggle-lines::after {
  top: 0.5rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0.33rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0.33rem;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88dvh;
  overflow: hidden;
  background: var(--coal);
  color: var(--paper-strong);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  opacity: 0.72;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 23, 21, 0.9) 0%, rgba(24, 23, 21, 0.72) 42%, rgba(24, 23, 21, 0.18) 100%),
    linear-gradient(0deg, rgba(24, 23, 21, 0.68) 0%, rgba(24, 23, 21, 0.06) 42%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.62fr);
  align-items: end;
  width: min(100% - 2rem, 1180px);
  min-height: 88dvh;
  margin: 0 auto;
  gap: 3rem;
  padding: 9rem 0 4.5rem;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.reservation-section .eyebrow {
  color: #e3a77f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: 5.4rem;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: 3.65rem;
}

h3 {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-text {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: rgba(255, 250, 241, 0.82);
  font-size: 1.28rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.92rem 1.2rem;
  gap: 0.55rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  background: var(--terracotta);
  color: #fffaf1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 38px -28px rgba(167, 93, 58, 0.9);
}

.button-primary:hover {
  background: #8f4c2e;
}

.button-ghost {
  border-color: rgba(255, 250, 241, 0.28);
  color: var(--paper-strong);
  background: rgba(255, 250, 241, 0.08);
}

.button-ghost:hover {
  background: rgba(255, 250, 241, 0.16);
}

.hero-service {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: var(--radius);
  background: rgba(24, 23, 21, 0.48);
  padding: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-service div,
.strip-item,
.opening-hours div {
  display: grid;
  gap: 0.24rem;
}

.hero-service div + div,
.opening-hours div + div {
  border-top: 1px solid var(--line-dark);
  padding-top: 1rem;
}

.hero-service span,
.strip-item span,
.opening-hours span,
.plate-feature span,
.menu-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-service span {
  color: rgba(255, 250, 241, 0.58);
}

.hero-service strong {
  color: var(--paper-strong);
  font-size: 1.05rem;
}

.service-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.strip-shell {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1fr 0.8fr;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.strip-item {
  min-height: 7.5rem;
  border-left: 1px solid var(--line);
  padding: 1.45rem;
  justify-content: center;
}

.strip-item:last-child {
  border-right: 1px solid var(--line);
}

.strip-item strong,
.strip-item a {
  font-size: 1.1rem;
  font-weight: 800;
}

.section {
  padding: 6.5rem 0;
}

.section-shell {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.2rem;
}

.section-heading.compact {
  max-width: 42rem;
}

.section-copy {
  max-width: 45rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.65fr);
  gap: 4rem;
  align-items: end;
}

.intro-text {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.intro-text p {
  font-size: 1.14rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  color: var(--sage-dark);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 1.8rem;
  height: 1px;
  margin-left: 0.75rem;
  background: currentColor;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(0.25rem);
}

.menu-section,
.reviews-section {
  background: #ebe2d7;
}

.menu-board {
  display: grid;
  grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 1fr);
  gap: 2rem;
}

.menu-tabs {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 0.55rem;
  align-self: start;
}

.menu-tab {
  min-height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.5);
  color: var(--muted);
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.menu-tab:hover,
.menu-tab.is-active {
  border-color: rgba(52, 79, 64, 0.32);
  background: var(--sage-dark);
  color: var(--paper-strong);
}

.menu-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}

.menu-item[hidden] {
  display: none;
}

.menu-item span {
  color: var(--sage-dark);
}

.menu-item p {
  margin-bottom: 0;
}

.menu-item strong {
  color: var(--wine);
  font-size: 1.15rem;
}

.plates-section {
  overflow: hidden;
  background: var(--coal);
  color: var(--paper-strong);
}

.plates-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 1fr);
  gap: 4rem;
  align-items: center;
}

.plates-copy {
  max-width: 32rem;
}

.plates-copy p,
.reservation-copy p,
.site-footer p {
  color: rgba(255, 250, 241, 0.7);
}

.plates-copy h2,
.reservation-copy h2 {
  color: var(--paper-strong);
}

.plate-feature {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plate-feature img {
  width: 100%;
  height: 100%;
  min-height: 31rem;
}

.plate-feature div {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.25rem;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: var(--radius);
  background: rgba(24, 23, 21, 0.62);
  color: var(--paper-strong);
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.plate-feature span {
  color: #e3a77f;
}

.plate-feature strong {
  font-size: 1.15rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 15.5rem;
  gap: 1rem;
}

.gallery-card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--coal);
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card figcaption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  border-radius: var(--radius);
  background: rgba(24, 23, 21, 0.58);
  color: var(--paper-strong);
  padding: 0.7rem 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.reviews-copy {
  position: sticky;
  top: 7.5rem;
}

.review-list {
  display: grid;
  gap: 1rem;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.68);
  padding: 1.25rem;
}

.review-card p {
  color: var(--ink);
  font-size: 1.08rem;
}

.review-rating {
  display: inline-grid;
  place-items: center;
  min-width: 3.2rem;
  min-height: 2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--paper-strong);
  font-weight: 800;
}

.reservation-section {
  background:
    linear-gradient(rgba(24, 23, 21, 0.88), rgba(24, 23, 21, 0.92)),
    url("https://images.pexels.com/photos/3298637/pexels-photo-3298637.jpeg?auto=compress&cs=tinysrgb&w=1200") center / cover;
  color: var(--paper-strong);
}

.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1fr);
  gap: 4rem;
  align-items: start;
}

.reservation-copy {
  position: sticky;
  top: 7.5rem;
}

.opening-hours {
  display: grid;
  gap: 1rem;
  max-width: 27rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.2rem;
}

.opening-hours span {
  color: rgba(255, 250, 241, 0.58);
}

.reservation-form {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.94);
  color: var(--ink);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.input-block {
  display: grid;
  gap: 0.45rem;
}

.input-block > span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(40, 36, 31, 0.22);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(52, 79, 64, 0.62);
  box-shadow: 0 0 0 4px rgba(96, 120, 103, 0.13);
  outline: 0;
}

.input-block.has-error input,
.input-block.has-error select,
.input-block.has-error textarea {
  border-color: rgba(109, 49, 49, 0.7);
}

.field-error {
  min-height: 1.05rem;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-submit {
  width: fit-content;
  margin-top: 0.2rem;
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  color: var(--sage-dark);
  font-weight: 800;
}

.site-footer {
  background: var(--coal);
  color: var(--paper-strong);
  padding: 2rem 0;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(12rem, 0.6fr) minmax(16rem, 1fr) minmax(16rem, 0.9fr);
  gap: 2rem;
  align-items: start;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.footer-brand {
  width: fit-content;
  padding: 0;
}

.footer-shell div {
  display: grid;
  gap: 0.35rem;
}

.footer-shell a {
  color: rgba(255, 250, 241, 0.78);
}

.footer-shell p {
  margin: 0;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1), opacity 560ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-content,
  .intro-grid,
  .plates-grid,
  .reviews-layout,
  .reservation-grid {
    grid-template-columns: 1fr;
  }

  .hero-service,
  .reviews-copy,
  .reservation-copy,
  .menu-tabs {
    position: static;
  }

  .strip-shell {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-item:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .strip-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .menu-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .menu-tab {
    flex: 0 0 auto;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.7rem;
  }

  .nav-shell {
    min-height: 3.8rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 5.2rem;
    left: 0.7rem;
    right: 0.7rem;
    display: grid;
    gap: 0.35rem;
    border: 1px solid rgba(255, 250, 241, 0.2);
    border-radius: var(--radius);
    background: rgba(24, 23, 21, 0.94);
    padding: 0.7rem;
    transform: translateY(-0.8rem);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    border-radius: var(--radius);
    padding: 0.95rem;
  }

  .hero,
  .hero-content {
    min-height: 84dvh;
  }

  .hero-content {
    padding-top: 7.5rem;
    padding-bottom: 2.5rem;
    gap: 1.5rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(24, 23, 21, 0.88) 0%, rgba(24, 23, 21, 0.7) 50%, rgba(24, 23, 21, 0.9) 100%);
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.45rem;
    line-height: 1;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .section {
    padding: 4.4rem 0;
  }

  .strip-shell,
  .form-row,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .strip-item,
  .strip-item:nth-child(2),
  .strip-item:last-child {
    border-right: 1px solid var(--line);
  }

  .strip-item + .strip-item {
    border-top: 1px solid var(--line);
  }

  .intro-text {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 0;
  }

  .menu-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 17rem;
  }

  .gallery-card.tall,
  .gallery-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .plate-feature,
  .plate-feature img {
    min-height: 24rem;
  }

  .form-submit {
    width: 100%;
  }
}

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

  .reveal {
    transform: none;
    opacity: 1;
  }
}
