@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #202320;
  --cream: #f3eee6;
  --paper: #fbf9f5;
  --rust: #763c2f;
  --rust-dark: #552b23;
  --sand: #d9c5a7;
  --line: #d9d1c6;
  --pad: clamp(1.25rem, 5vw, 6.5rem);
  --display: 'Inter', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-pad {
  padding: clamp(4.5rem, 10vw, 9rem) var(--pad);
}

.section-kicker {
  color: var(--rust);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-kicker.pale {
  color: #dfb99a;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .94;
}

h1 {
  font-size: clamp(3.7rem, 10vw, 8.5rem);
  margin: 1.2rem 0 1.5rem;
}

.hero-title {
  max-width: 10ch;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(3rem, 7vw, 7rem);
  margin: .9rem 0 2rem;
}

h1 em,
h2 em {
  color: var(--sand);
  font-style: normal;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--paper);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.brand strong {
  display: block;
  font-size: .95rem;
  letter-spacing: -.04em;
}

.brand small {
  display: block;
  color: var(--rust);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .2em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 0;
}

.brand-placeholder {
  border: 1px dashed var(--rust);
  color: var(--rust);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  font-size: .78rem;
  font-weight: 650;
}

.primary-nav a:not(.nav-cta),
.footer-links a,
.arrow-link,
.button,
.category-toggle,
.gallery-item,
.menu-highlights article {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}

.primary-nav a:not(.nav-cta):hover,
.footer-links a:hover,
.arrow-link:hover {
  color: var(--rust);
}

.nav-cta {
  padding: .75rem 1.05rem;
  border-radius: 3px;
  background: var(--rust);
  color: #fff;
}

.nav-menu-link {
  position: relative;
  color: var(--rust);
  font-weight: 800;
}

.nav-menu-link::after {
  position: absolute;
  right: 0;
  bottom: -.35rem;
  left: 0;
  height: 2px;
  background: var(--sand);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-menu-link:hover::after,
.nav-menu-link:focus-visible::after,
.nav-menu-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 76px);
  align-items: center;
  overflow: hidden;
  padding: 5rem var(--pad);
  background: var(--rust);
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero .eyebrow {
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 520px;
  margin-bottom: 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #f2c9a7;
  background: rgba(10, 8, 7, .72);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 550;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1rem 1.25rem;
  border: 1px solid transparent;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .02em;
  transition: transform .2s, background .2s;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(32, 35, 32, .14);
}

.button:active {
  transform: translateY(-1px) scale(.985);
}

.button-light {
  background: #fff;
  color: var(--rust);
}

.button-dark {
  background: var(--rust);
  color: #fff;
}

.button-outline {
  border-color: #dab69d;
  color: #fff;
}

.text-link {
  font-size: .76rem;
  font-weight: 700;
}

.light-link {
  color: #fff;
}

.text-link span,
.arrow-link span {
  margin-left: .35rem;
  font-size: 1.25rem;
}

.hero-note {
  position: absolute;
  right: var(--pad);
  bottom: 3rem;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: #e5c7b6;
  font-size: .72rem;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.note-line {
  width: 38px;
  height: 1px;
  margin-top: .45rem;
  background: #e5c7b6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 14, 12, .88) 0%, rgba(20, 14, 12, .68) 52%, rgba(20, 14, 12, .48) 100%);
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
  filter: saturate(.78) contrast(1.12) brightness(.82);
}

.intro {
  position: relative;
  background: var(--paper);
}

.menu-preview {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.menu-preview::before {
  position: absolute;
  top: 0;
  right: var(--pad);
  width: 28vw;
  height: 1px;
  background: var(--rust);
  content: "";
  opacity: .45;
}

.menu-preview-topline,
.menu-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.menu-preview-topline {
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.menu-preview-index,
.menu-preview-footer {
  color: #8c7768;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-preview .menu-heading {
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.menu-preview-title-wrap h2 {
  margin-bottom: 0;
}

.menu-preview-copy {
  max-width: 330px;
  padding-bottom: .45rem;
}

.menu-preview-copy p {
  margin-bottom: 1.2rem;
  color: #74706a;
}

.menu-preview-link {
  color: var(--rust);
}

.menu-preview-cta {
  margin-top: 0;
}

.menu-preview-footer {
  margin-top: 1.5rem;
}

.menu-preview-footer > span::before {
  display: inline-block;
  width: 2rem;
  height: 1px;
  margin: 0 .7rem .2rem 0;
  background: var(--sand);
  content: "";
}

.menu-back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--rust);
  font-size: .78rem;
  font-weight: 750;
}

.menu-back-link:hover,
.menu-back-link:focus-visible {
  color: var(--rust-dark);
  text-decoration: underline;
}

.menu-preview .menu-heading > div:last-child {
  max-width: 330px;
}

.menu-preview .menu-heading > div:last-child p {
  color: #74706a;
}

.menu-preview .menu-highlights {
  max-width: none;
  margin-bottom: 0;
  border-color: #c9bcae;
}

.menu-preview .menu-highlights article {
  position: relative;
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--paper);
}

.menu-preview .menu-highlights article:hover,
.menu-preview .menu-highlights article:focus-within {
  background: var(--rust);
  color: #fff;
}

.menu-preview .menu-highlights article:hover .section-kicker,
.menu-preview .menu-highlights article:focus-within .section-kicker,
.menu-preview .menu-highlights article:hover strong,
.menu-preview .menu-highlights article:focus-within strong,
.menu-preview .menu-highlights article:hover .menu-card-arrow,
.menu-preview .menu-highlights article:focus-within .menu-card-arrow {
  color: #f4cdb4;
}

.menu-card-number,
.menu-card-arrow {
  color: #9b887c;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .1em;
}

.menu-card-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.45rem;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.menu-card-content {
  padding-top: 2rem;
}

.menu-preview .menu-highlights article > .menu-card-content .section-kicker {
  color: #8c7768;
  font-size: .62rem;
}

.menu-preview .menu-highlights article:hover > .menu-card-content .section-kicker,
.menu-preview .menu-highlights article:focus-within > .menu-card-content .section-kicker {
  color: #f4cdb4;
}

.intro-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.intro-kicker::after {
  width: clamp(3rem, 10vw, 8rem);
  height: 1px;
  background: var(--sand);
  content: "";
}

.intro-grid {
  display: grid;
  max-width: 1160px;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 10rem);
}

.intro-grid p {
  max-width: 500px;
  color: #62605b;
}

.intro-grid .lead {
  margin-bottom: 1.3rem;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.4;
}

.arrow-link {
  display: inline-block;
  margin-top: 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--sand);
  color: var(--rust);
  font-size: .78rem;
  font-weight: 750;
}

.menu-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.menu-heading > p {
  max-width: 300px;
  color: #74706a;
}

.menu-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.menu-highlights article {
  min-width: 0;
  padding: 2rem 1.5rem 2.3rem;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--cream);
}

.menu-highlights article:hover,
.menu-highlights article:focus-within {
  background: #fffaf3;
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(85, 43, 35, .1);
}

.menu-highlights article:first-child {
  border-top: 1px solid var(--line);
}

.menu-highlights article + article {
  border-left: 0;
}

.menu-highlights article:last-child {
  border: 0;
}

.menu-highlights h3 {
  margin: .6rem 0 .4rem;
  font-size: 1.55rem;
}

.menu-highlights p {
  min-height: 2.8rem;
  color: #74706a;
  font-size: .88rem;
}

.menu-highlights strong {
  color: var(--rust);
  font-size: .75rem;
}

.menu-browser {
  max-width: 1000px;
  margin: auto;
}

.menu-browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}

.menu-browser-top h3 {
  margin: 0;
  font-size: 1.5rem;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--line);
  color: #777;
}

.search-wrap input {
  width: 150px;
  padding: .5rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .8rem;
}

.menu-category {
  border-bottom: 1px solid var(--line);
}

.category-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 750;
}

.category-toggle span {
  color: var(--rust);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .2s;
}

.menu-category.open .category-toggle span {
  transform: rotate(45deg);
}

.category-items {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transform: translateY(-.35rem);
  transition: max-height .4s ease, opacity .25s ease, padding .4s ease, transform .4s ease;
}

.menu-category.open .category-items {
  max-height: 1000px;
  padding: 0 0 1rem;
  opacity: 1;
  transform: translateY(0);
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1rem;
  padding: .75rem 0;
}

.dish-name {
  font-size: .93rem;
  font-weight: 650;
}

.dish-description {
  grid-column: 1;
  margin-top: -.35rem;
  color: #777;
  font-size: .78rem;
  line-height: 1.35;
}

.dish-price {
  color: var(--rust);
  font-size: .83rem;
  font-weight: 750;
}

.loading {
  color: #777;
}

.specials {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(4.5rem, 9vw, 9rem) var(--pad);
  background: var(--rust-dark);
  color: #fff;
}

.specials-intro p {
  max-width: 300px;
  color: #f3d8c8;
}

.special-list {
  align-self: center;
}

.special-list article {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.special-list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.special-list span,
.special-list small {
  color: #f0cbb8;
  font-size: .66rem;
  letter-spacing: .12em;
}

.special-list h3 {
  margin: 0;
  font-size: 1.1rem;
}

.special-list strong {
  font-size: 1.1rem;
}

.special-list small {
  grid-column: 2 / 4;
  letter-spacing: 0;
}

.gallery-inner h2 {
  margin-bottom: 3rem;
}

.gallery-items {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cream);
}

.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(32, 35, 32, .14);
}

.gallery-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.gallery-item:nth-child(2) img {
  height: 260px;
  margin-top: 5rem;
}

.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-block {
  padding-top: 1rem;
  border-top: 1px solid #c9bcae;
}

.contact-block > span {
  display: block;
  margin-bottom: .7rem;
  color: #8c7768;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-block a,
.contact-block p {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.contact-block .phone {
  color: var(--rust);
  font-size: 1.25rem;
}

.contact-block small {
  display: block;
  margin-top: .5rem;
  color: #777;
  font-size: .72rem;
}

.contact-details .button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: .4rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--pad);
  background: #201f1d;
  color: #e8e0d6;
  font-size: .75rem;
}

.site-footer p {
  margin: 0;
  color: #a99f95;
}

.footer-brand .brand-mark {
  border-color: #e5c7ad;
  color: #e5c7ad;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  color: #d2a78f;
}

@media (max-width: 700px) {
  .site-header {
    position: sticky;
    top: 0;
    height: 68px;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
  }

  .primary-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--pad) 1.4rem;
    background: var(--paper);
    box-shadow: 0 10px 20px #00000012;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-.75rem);
    transition: opacity .25s ease, transform .35s ease;
  }

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

  .primary-nav a {
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .nav-cta {
    margin-top: .7rem;
    border: 0;
    text-align: center;
  }

  .hero {
    min-height: calc(100svh - 68px);
    padding-top: 4rem;
    padding-bottom: 7rem;
    height: auto;
  }

  /* Keep live content visible while optional motion assets initialize. */
  [data-tmo-motion] {
    visibility: visible;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 15vw, 5.5rem);
  }

  .hero-title {
    max-width: none;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-intro {
    max-width: 360px;
    padding: .85rem 1rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero-note {
    right: auto;
    bottom: 2rem;
    left: var(--pad);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(20, 14, 12, .76), rgba(20, 14, 12, .82));
  }

  .hero-pattern {
    top: 24%;
    right: -50vw;
    width: 100vw;
    height: 100vw;
  }

  .intro-grid,
  .specials,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 1rem;
  }

  .intro-grid h2 {
    margin-bottom: .5rem;
  }

  .menu-heading {
    display: block;
    margin-bottom: 2.5rem;
  }

  .menu-heading > p,
  .menu-preview .menu-heading > div:last-child {
    margin-top: -1rem;
  }

  .menu-preview-topline {
    margin-bottom: 2.5rem;
  }

  .menu-preview .menu-heading {
    margin-bottom: 2.5rem;
  }

  .menu-preview-copy {
    max-width: 100%;
    padding-bottom: 0;
  }

  .menu-preview-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 1rem;
  }

  .menu-preview-footer .menu-preview-cta {
    width: 100%;
  }

  .menu-browser {
    width: 100%;
  }

  .menu-browser-top {
    padding-bottom: .75rem;
  }

  .menu-browser-top h2 {
    margin-bottom: 0;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .menu-category {
    margin-inline: -.25rem;
  }

  .category-toggle {
    min-height: 3.75rem;
    padding: 1rem .25rem;
  }

  .category-items {
    padding-inline: .25rem;
  }

  .menu-category.open .category-items {
    padding-bottom: .75rem;
  }

  .dish {
    gap: .35rem .75rem;
    padding: .85rem .25rem;
  }

  .dish-name {
    overflow-wrap: anywhere;
  }

  .dish-price {
    white-space: nowrap;
  }

  /*
    Mobile cards are stacked rather than horizontally scrolled.
    This keeps every highlight paragraph inside the 320–430px viewport.
  */
  .menu-highlights {
    display: flex;
    width: calc(100% + 2 * var(--pad));
    margin-right: calc(var(--pad) * -1);
    margin-left: calc(var(--pad) * -1);
    padding: 0 var(--pad) 1rem;
    overflow-x: auto;
    overflow-y: visible;
    grid-template-columns: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .menu-highlights article {
    flex: 0 0 min(78vw, 18rem);
    width: min(78vw, 18rem);
    min-width: min(78vw, 18rem);
    min-height: 11rem;
    padding: 1.35rem 1.15rem 1.5rem;
    border: 1px solid var(--line);
    background: var(--paper);
    scroll-snap-align: start;
  }

  .menu-highlights article:hover,
  .menu-highlights article:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(85, 43, 35, .1);
  }

  .menu-highlights article:first-child,
  .menu-highlights article:last-child {
    border: 1px solid var(--line);
  }

  .menu-highlights article[hidden] {
    display: none !important;
  }

  .menu-highlights p {
    min-height: 0;
    max-width: 100%;
    margin-bottom: 1.2rem;
  }

  .menu-highlights strong {
    display: block;
    margin-top: auto;
  }

  .menu-browser-top {
    display: block;
  }

  .search-wrap {
    width: 100%;
    margin-top: 1rem;
  }

  .search-wrap input {
    width: 100%;
  }

  .dish {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .specials {
    gap: 3rem;
  }

  .special-list article {
    grid-template-columns: 75px minmax(0, 1fr) auto;
  }

  .special-list h3 {
    font-size: .95rem;
  }

  .special-list small {
    font-size: .58rem;
  }

  .gallery-items {
    display: block;
  }

  .gallery-item img,
  .gallery-item:nth-child(2) img {
    height: 260px;
    margin: 0 0 1rem;
  }

  .gallery-item:hover,
  .gallery-item:focus-within {
    transform: none;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details .button {
    grid-column: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    margin-top: .5rem;
  }

  /* Give animated serif headings enough vertical room for descenders on narrow screens. */
  h1,
  h2 {
    line-height: 1.08;
  }

  .hero h1 {
    margin-bottom: 1.75rem;
  }

  .intro-grid h2,
  .menu-heading h2,
  .specials h2,
  .contact-grid h2,
  .gallery-inner h2 {
    line-height: 1.08;
  }

  .hero-content,
  .intro-grid > *,
  .menu-heading > *,
  .specials-intro,
  .contact-grid > * {
    min-height: 0;
  }
}

/* Navigazione divisa in esplora e prenotazione: il menu resta leggibile anche quando cresce. */
.primary-nav {
  gap: clamp(1.25rem, 3vw, 3rem);
}
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}
.nav-links {
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.nav-actions {
  padding-left: clamp(1rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--line);
}

.category-toggle {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 1.25rem .25rem 1.25rem 0;
}
.category-toggle strong {
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.menu-category:nth-child(even) .category-toggle {
  background: linear-gradient(90deg, transparent, rgba(217, 197, 167, .12));
}
.menu-category.open .category-toggle {
  color: var(--rust);
}
.menu-category.open .category-items {
  padding-left: 0;
}
.dish {
  border-top: 1px solid rgba(217, 209, 198, .6);
}

@media (max-width: 700px) {
  .primary-nav {
    align-items: stretch;
  }
  .nav-links,
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-actions {
    padding: .7rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .nav-links a,
  .nav-actions .nav-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .category-items {
    max-height: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

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

/* Menu editoriale: composizione asimmetrica, leggibile prima su mobile. */
.menu-preview::before { display: none; }
.menu-editorial-layout { display: grid; grid-template-columns: minmax(0, 760px); align-items: start; gap: 0; max-width: 760px; margin: 0 auto 4.5rem; }
.menu-editorial-copy { max-width: 30rem; padding-bottom: 1.5rem; }
.menu-editorial-copy h2 { margin: 1rem 0 1.5rem; font-family: 'Inter', system-ui, 'Segoe UI', sans-serif; font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.menu-editorial-copy h2 em { color: var(--rust); }
.menu-editorial-intro { max-width: 31rem; margin-bottom: 2rem; color: #625b55; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; }
.menu-preview-cta { min-height: 3.25rem; padding-inline: 1.35rem; }
.menu-preview .menu-highlights { max-width: 1120px; margin: 0 auto; }
@media (max-width: 700px) {
  .menu-preview { padding-right: clamp(1.25rem, 5vw, 2rem); padding-left: clamp(1.25rem, 5vw, 2rem); }
  .menu-editorial-layout { display: flex; flex-direction: column; align-items: stretch; gap: 2.25rem; margin-bottom: 3rem; }
  .menu-editorial-copy { padding-bottom: 0; }
  .menu-editorial-copy h2 { margin-top: .9rem; font-size: clamp(3.65rem, 17vw, 5.2rem); line-height: .93; }
  .menu-editorial-intro { margin-bottom: 1.75rem; font-size: .98rem; line-height: 1.6; }
  .menu-preview .menu-highlights { margin: 0; }
}

/* TiMettoOnline: bundled Inter, no external font request. */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-variable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
body { font-family: 'Inter', system-ui, 'Segoe UI', sans-serif !important; }
button, input, select, textarea { font-family: inherit; }

/* La pagina menu contiene esclusivamente la carta e la sua ricerca. */
.menu-only-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--cream) 0, var(--paper) 26rem);
}

.menu-only-page .menu-section {
  min-height: 100vh;
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.menu-only-page .menu-browser {
  max-width: 1000px;
  margin: 0 auto;
}

.menu-only-page .menu-browser-top {
  position: relative;
  align-items: end;
  gap: clamp(2rem, 8vw, 7rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.menu-only-page .menu-browser-top::before {
  position: absolute;
  top: -2rem;
  left: 0;
  width: clamp(4rem, 14vw, 9rem);
  height: 3px;
  background: var(--rust);
  content: "";
}

.menu-page-heading {
  flex: 1 1 auto;
}

.menu-page-heading .section-kicker {
  display: block;
  margin-bottom: 1.25rem;
  color: #8c7768;
  font-size: .68rem;
}

.menu-page-heading h1 {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -.07em;
  line-height: .88;
}

.menu-page-heading h1 em {
  color: var(--rust);
  font-style: normal;
}

.menu-page-heading p {
  max-width: 25rem;
  margin: 0;
  color: #74706a;
  font-size: .95rem;
}

.menu-only-page .search-wrap {
  position: relative;
  flex: 0 1 255px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem .75rem;
  align-items: center;
  padding: .65rem 0 .5rem;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.menu-only-page .search-label {
  grid-column: 1 / -1;
  color: var(--rust);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-only-page .search-wrap input {
  width: 100%;
  padding: .1rem 0;
  font-size: .86rem;
}

.menu-only-page .search-icon {
  color: var(--rust);
  font-size: 1.35rem;
  line-height: 1;
}

.menu-only-page #menu-content {
  padding-top: 1.25rem;
}

.menu-only-page .loading {
  color: #8c7768;
}

@media (max-width: 700px) {
  .menu-only-page {
    background: linear-gradient(180deg, var(--cream) 0, var(--paper) 22rem);
  }

  .menu-only-page .menu-section {
    padding-top: 4.5rem;
  }

  .menu-only-page .menu-browser-top {
    display: block;
    padding-bottom: 1.5rem;
  }

  .menu-page-heading h1 {
    font-size: clamp(3.7rem, 17vw, 5.4rem);
  }

  .menu-page-heading p {
    max-width: 21rem;
    margin-bottom: 2rem;
  }

  .menu-only-page .search-wrap {
    width: 100%;
  }
}
