:root {
  --ink: #24231e;
  --dark: #171714;
  --paper: #f5efe5;
  --card: #fffaf2;
  --gold: #b88a39;
  --light-gold: #d5ab60;
  --deep-gold: #79551c;
  --line: #d7cab6;
  --muted: #635a4b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
  --header-height: 4.875rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3rem, 5.3vw, 6rem); line-height: 1.01; letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 4.1vw, 4.15rem); line-height: 1.06; letter-spacing: -.04em; }
h3 { font-size: clamp(1.65rem, 2.7vw, 2.15rem); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
address { font-style: normal; }
:focus-visible { outline: 2px solid #93651f; outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible, dialog :focus-visible { outline-color: #ebc785; }

.shell { width: min(85rem, 100% - (2 * clamp(1.2rem, 5.3vw, 5rem))); margin-inline: auto; }
.dark { background: var(--dark); color: var(--paper); }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .75rem 1rem; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 5; top: 0; background: var(--dark); color: var(--paper); border-bottom: 1px solid #3d372d; }
.header-inner { min-height: var(--header-height); display: flex; justify-content: space-between; align-items: center; gap: clamp(.7rem, 2vw, 2.2rem); }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: 4.15rem; mix-blend-mode: screen; }
.site-nav, .header-actions, .languages { display: flex; align-items: center; }
.site-nav { justify-content: center; gap: clamp(.9rem, 2.2vw, 2.3rem); }
.site-nav a { font-size: .9rem; white-space: nowrap; padding-block: .65rem; }
.site-nav a:hover, footer nav a:hover { color: var(--light-gold); }
.header-actions { gap: .85rem; }
.languages { gap: .12rem; }
.languages button {
  border: 0;
  background: transparent;
  padding: .55rem .4rem;
  min-height: 2.75rem;
  color: #cfc7b9;
  font-size: .875rem;
}
.languages [aria-pressed="true"] { color: #f4cd88; text-decoration: underline; text-underline-offset: .32em; }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .65rem 1.15rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--dark);
  font-size: .9rem;
  font-weight: 700;
  transition: background-color .2s, border-color .2s, color .2s;
}
.button:hover { background: #d5ab60; border-color: #d5ab60; }
.button.outline { background: transparent; color: inherit; border-color: #937241; }
.button.outline:hover { background: #d5ab60; border-color: #d5ab60; color: var(--dark); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1.6rem; }

.hero { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.hero-copy {
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 4.3vw, 5rem) clamp(3rem, 7vw, 7rem) max(5.3vw, calc((100vw - 85rem) / 2));
  align-self: center;
}
.hero-image { width: 50%; height: 100%; position: absolute; inset: 0 0 0 auto; object-fit: cover; object-position: center; }
.eyebrow {
  margin-bottom: 1rem;
  color: var(--deep-gold);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dark .eyebrow, .hero em { color: var(--light-gold); }
.hero em { font-weight: 400; }
.hero .lead { margin-top: 1.4rem; max-width: 26rem; color: #dbd2c5; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.status { display: flex; gap: .55rem; align-items: center; font-size: .875rem; font-weight: 600; }
.status-hero { margin-top: 1.15rem; min-height: 1.4rem; color: #ddd2bf; }
.status-hero[hidden] { display: flex !important; visibility: hidden; }
.dot { width: .55rem; height: .55rem; background: #a36c36; border-radius: 50%; flex: none; }
.is-open .dot { background: #397045; }
.dark .is-open .dot { background: #83bc8b; }
.dark .dot { background: #d5ab60; }
.strip {
  background: var(--gold);
  color: var(--dark);
  padding: .88rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.strip span { margin-inline: clamp(.15rem, 1vw, .85rem); }

.section { padding-block: clamp(3.75rem, 7.5vw, 7.3rem); }
.section-intro { text-align: center; margin-inline: auto; max-width: 49rem; }
.section-intro > p:last-child:not(.eyebrow) { margin-top: .9rem; color: var(--muted); }

.menu-tools { max-width: 64rem; margin: 2rem auto 0; text-align: center; }
.menu-tools label { display: inline-block; margin-bottom: .35rem; font-weight: 650; font-size: .9rem; }
.search-field { position: relative; width: min(100%, 29rem); margin-inline: auto; }
.search-field input { width: 100%; min-height: 3.1rem; border: 1px solid #9b896f; background: var(--card); padding: .7rem .9rem .7rem 2.55rem; border-radius: 0; }
.search-field input::placeholder { color: #716553; }
.search-icon { position: absolute; left: 1rem; top: 1rem; width: .82rem; height: .82rem; border: 1.5px solid var(--deep-gold); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; width: .45rem; height: 1.5px; background: var(--deep-gold); transform: rotate(45deg); left: .59rem; top: .68rem; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0; }
.filters button {
  min-height: 2.75rem;
  padding: .42rem .85rem;
  border: 1px solid #9b896f;
  background: transparent;
  font-size: .9rem;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filters button:hover { background: #ede1cd; }
.filters button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--paper); }
.menu-status { text-align: center; color: var(--muted); margin: .65rem 0 1.25rem; font-size: .9rem; }
.combo { border: 1px solid #c9b18c; border-left: 3px solid var(--gold); padding: .8rem 1.05rem; margin: 0 0 1.5rem; background: #eee3d2; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.menu-group h3 { border-bottom: 1px solid #b59870; padding-bottom: .7rem; margin-bottom: .8rem; }
.menu-items { display: grid; gap: .55rem; }
.menu-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .85rem 1rem; background: var(--card); border: 1px solid var(--line); }
.menu-card h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.15; overflow-wrap: break-word; }
.price { color: var(--deep-gold); font-size: .9rem; font-weight: 750; white-space: nowrap; }
.menu-card.with-photo { grid-template-columns: 6rem minmax(0, 1fr) auto; padding-left: .55rem; }
.menu-card .photo-frame { background: #211c18; height: 4.85rem; }
.menu-card.with-photo img { width: 100%; height: 100%; object-fit: contain; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 6.4vw, 7.2rem); align-items: center; }
.section-copy > p:not(.eyebrow), .section-copy address { margin-top: 1rem; max-width: 34rem; }
.section-copy > .button { margin-top: 1.5rem; }
.coming { display: inline-block; border-top: 1px solid #7e6641; padding-top: .75rem; color: #e4c389; font-size: .875rem; }
.photo-frame { position: relative; display: block; overflow: hidden; cursor: zoom-in; }
.photo-frame.light { border: 1px solid var(--line); }
.photo-frame img { transition: opacity .22s; }
.photo-frame:hover img { opacity: .88; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.65rem, 2vw, 1.4rem); margin-top: clamp(1.4rem, 4vw, 2.75rem); }
.entrance { max-width: 44rem; }
.hours-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem .8rem; margin-top: 1.5rem; }
.hours-header h3 { font-size: 1.5rem; }
.hours { margin-top: .55rem; }
.hours > div { display: flex; justify-content: space-between; gap: .12rem 1rem; flex-wrap: wrap; padding-block: .55rem; border-top: 1px solid var(--line); font-size: .9rem; }
.hours > div:last-child { border-bottom: 1px solid var(--line); }
.hours dd { font-variant-numeric: tabular-nums; }

.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-block: 2rem 4.5rem; }
.footer-location { color: #dbd2c5; font-size: .875rem; }
footer nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.2rem; margin-left: auto; }
footer nav a { padding-block: .5rem; font-size: .9rem; }
.floating-contact {
  position: fixed;
  z-index: 4;
  bottom: max(.85rem, env(safe-area-inset-bottom));
  right: max(.85rem, env(safe-area-inset-right));
  padding: .62rem 1rem;
  border-radius: 2rem;
  background: #174c39;
  color: #fff;
  border: 1px solid #d7e5da;
  box-shadow: 0 4px 18px #17171430;
  font-size: .9rem;
  font-weight: 700;
}
.floating-contact:hover { background: #21664c; }

dialog { max-width: min(92vw, 66rem); max-height: 94dvh; overflow: auto; background: var(--dark); color: var(--paper); padding: 3rem 1rem .85rem; border: 1px solid #847250; }
dialog::backdrop { background: rgb(15 13 10 / 87%); }
dialog img { width: auto; max-width: 100%; max-height: 74dvh; object-fit: contain; margin-inline: auto; }
dialog figcaption { font-size: .9rem; margin-top: .6rem; text-align: center; }
.photo-close { position: absolute; top: .15rem; right: .35rem; width: 2.65rem; height: 2.65rem; border: 0; background: transparent; font-size: 1.9rem; line-height: 1; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 1000px) {
  .header-contact { display: none; }
  .hero-copy { padding-right: 1.5rem; }
}

@media (max-width: 800px) {
  :root { --header-height: 4.25rem; }
  .brand img { width: 3.6rem; }
  .header-inner { flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .enhanced .nav-toggle {
    display: inline-flex;
    order: 3;
    align-items: center;
    gap: .55rem;
    min-height: 2.75rem;
    padding: .4rem .62rem;
    border: 1px solid #8f7652;
    background: transparent;
    font-size: .875rem;
  }
  .nav-icon, .nav-icon::before, .nav-icon::after { display: block; width: .9rem; height: 1px; background: currentColor; }
  .nav-icon { position: relative; }
  .nav-icon::before, .nav-icon::after { content: ""; position: absolute; transition: transform .22s; }
  .nav-icon::before { transform: translateY(-4px); }
  .nav-icon::after { transform: translateY(4px); }
  .nav-toggle[aria-expanded="true"] .nav-icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-icon::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-icon::after { transform: rotate(-45deg); }
  .site-nav { width: 100%; order: 4; flex-wrap: wrap; justify-content: flex-start; padding-bottom: .5rem; gap: 0 1rem; }
  .enhanced .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: var(--dark);
    border-bottom: 1px solid #524537;
    padding: .65rem 5.3vw 1rem;
    flex-direction: column;
    align-items: stretch;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-.55rem);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .enhanced .site-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .enhanced .site-nav a + a { border-top: 1px solid #424033; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.2rem 5.3vw; }
  .hero-image { position: static; width: 100%; height: clamp(21rem, 65vw, 35rem); }
  .menu-grid { gap: 1.4rem; }
  footer nav { margin-left: 0; }
}

@media (max-width: 620px) {
  .split, .menu-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #chef .section-copy, #visitanos .section-copy { grid-row: 1; }
  .strip { line-height: 1.8; letter-spacing: .065em; font-size: .8rem; }
}

@media (max-width: 360px) {
  h1 { font-size: 2.65rem; }
  .menu-card.with-photo { grid-template-columns: 4.3rem minmax(0, 1fr) auto; }
  .menu-card .photo-frame { height: 3.7rem; }
  .header-inner { gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
