:root {
  --stucco: #f3efe6;
  --paper: #e9e2d4;
  --ink: #1b1714;
  --ink-soft: #4a433c;
  --line: rgba(27, 23, 20, 0.14);
  --clay: #9a341f;
  --awning: #141210;
  --stucco-rgb: 243, 239, 230;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --nav-h: 4.25rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.2rem;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(163, 59, 40, 0.05), transparent 46%),
    radial-gradient(ellipse at 100% 80%, rgba(90, 48, 28, 0.05), transparent 42%),
    var(--stucco);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

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

h1,
h2,
h3,
.lede,
.addr-line,
.addr-num,
.band-num,
.phone,
.break strong {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1,
h2,
.break strong {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--clay);
  color: var(--stucco);
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--stucco);
  padding: 0.65rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.7rem;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--nav-h);
  padding-inline: clamp(1rem, 3vw, 2rem);
  background: rgba(var(--stucco-rgb), 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

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

.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

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

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
}

.lang button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--stucco);
}

.nav-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.nav-call {
  padding: 0 0.9rem;
  background: var(--ink);
  color: var(--stucco);
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.nav-call:hover,
.btn.solid:hover {
  background: var(--clay);
}

.intro {
  height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr minmax(17rem, 34rem) minmax(18rem, 32rem) 1fr;
  min-height: 0;
  background: var(--stucco);
}

.hero-copy {
  grid-column: 2;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  min-height: 0;
  padding: 1.25rem clamp(1.5rem, 3vw, 3.25rem) 1.25rem clamp(1.25rem, 3vw, 2rem);
}

.hero-photo {
  grid-column: 3 / -1;
}

.badge {
  width: fit-content;
  margin: 0;
  padding: 0.45rem 0.65rem;
  background: var(--ink);
  color: var(--stucco);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 8vw, 8.4rem);
  line-height: 0.84;
  font-weight: 560;
}

@supports (font-size: 1cqi) {
  h1 {
    font-size: clamp(3.8rem, 18cqi, 8.6rem);
  }
}

.line {
  display: block;
}

.indent {
  padding-left: 0.38em;
}

.lede {
  max-width: 16em;
  margin-top: 1.15rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 520;
  line-height: 1.22;
}

.support {
  max-width: 34em;
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  min-height: 3.2rem;
  padding: 0 1.1rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn.num {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1.02rem;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.btn.solid {
  background: var(--ink);
  color: var(--stucco);
}

.btn.ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--stucco);
}

.hero-photo {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: #cfc6b8;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.7rem 0.8rem;
  background: rgba(20, 18, 16, 0.78);
  color: var(--stucco);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem clamp(1.15rem, 4vw, 3rem);
  background: var(--awning);
  color: var(--stucco);
}

.band p {
  margin: 0;
}

.band p:not(.band-num) {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.band p:last-child {
  text-align: right;
}

.band-num {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: none;
}

.story,
.oficios,
.visit {
  padding-inline: 0;
}

.story {
  padding-block: clamp(4.5rem, 9vw, 7.25rem) clamp(1.5rem, 4vw, 2.5rem);
}

.story-grid,
.oficios-grid,
.visit-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4.5rem);
}

.story-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
}

.label {
  margin-bottom: 0.85rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 0.96;
}

.story-body {
  display: grid;
  gap: 1rem;
  padding-bottom: 0.35rem;
}

.story-body p,
.oficios p,
.quiet {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.65;
}

.oficios {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(4.25rem, 8vw, 6.5rem);
}

.oficios h2 {
  max-width: 9em;
}

.oficios ol {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.oficios li {
  display: grid;
  grid-template-columns: 4.5rem minmax(12rem, 0.8fr) 1.2fr;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.idx {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--clay);
}

.oficios h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.break {
  position: relative;
  height: min(68vh, 640px);
  margin: 0;
  background: #1a1714;
  overflow: hidden;
}

.break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.break figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.55rem;
  align-content: end;
  min-height: 46%;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: linear-gradient(to top, rgba(12, 10, 8, 0.78), rgba(12, 10, 8, 0.2) 58%, transparent);
  color: #f6f1e8;
}

.break strong {
  max-width: 10em;
  font-size: clamp(2.2rem, 5vw, 4.15rem);
  line-height: 0.95;
}

.break span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit {
  padding-block: clamp(4.25rem, 8vw, 6.75rem);
  background: var(--paper);
}

.visit-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
}

.visit-copy {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.addr-line {
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  line-height: 0.95;
}

.addr-num {
  display: block;
  margin: 0.15rem 0 0.55rem;
  font-size: clamp(5rem, 9vw, 7.6rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
}

.addr-place {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.phone-block .label {
  margin-bottom: 0.35rem;
}

.phone {
  width: fit-content;
  color: inherit;
  text-decoration: none;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  border-bottom: 1px solid var(--clay);
}

.phone:hover {
  color: var(--clay);
}

.quiet {
  max-width: 36em;
}

.map {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #d9d2c6;
  border: 1px solid var(--line);
}

.map iframe {
  flex: 1;
  width: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(0.45) sepia(0.22) contrast(0.96);
  transition: filter 0.35s ease;
}

.map:hover iframe,
.map:focus-within iframe {
  filter: none;
}

.map figcaption {
  padding: 0.75rem 0.9rem;
  background: var(--stucco);
  border-top: 1px solid var(--line);
}

.map a {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.35rem clamp(1.15rem, 4vw, 2rem) calc(1.35rem + env(safe-area-inset-bottom));
  background: var(--awning);
  color: var(--stucco);
}

.footer strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.footer p,
.footer a,
.footer span {
  color: rgba(243, 239, 230, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.carta {
  scroll-margin-top: 5.2rem;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(154, 52, 31, 0.18), transparent 42%),
    #161311;
  color: #f4efe6;
}

.carta h2,
.carta h3 {
  color: #f4efe6;
}

.carta .label,
.menu-block h3 {
  color: #e4b7a6;
}

.carta-lead,
.carta-note {
  max-width: 36em;
  margin-top: 1rem;
  color: rgba(244, 239, 230, 0.74);
  font-size: 1.05rem;
  line-height: 1.65;
}

.carta-note {
  margin-top: 1.6rem;
  font-size: 0.95rem;
}

.menu-sheet {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.menu-cols,
.dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.7rem 7rem;
  column-gap: 0.9rem;
  align-items: baseline;
}

.menu-cols {
  position: sticky;
  top: var(--nav-h);
  z-index: 5;
  padding: 0.75rem 0;
  background: #161311;
  border-bottom: 1px solid rgba(244, 239, 230, 0.16);
  color: rgba(244, 239, 230, 0.58);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-cols span:not(:first-child) {
  text-align: right;
}

.menu-block h3 {
  margin: 1.85rem 0 0.2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dishes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dish {
  padding: 0.82rem 0;
  box-shadow: inset 0 -1px 0 rgba(244, 239, 230, 0.1);
  transition: background 0.35s ease;
}

.dish:hover {
  background: rgba(244, 239, 230, 0.035);
}

.dish-name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.price {
  position: relative;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.price.is-na {
  color: rgba(244, 239, 230, 0.28);
  font-weight: 400;
}

.price.phrase {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0;
}

.dock {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.is-in {
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .carta .dish {
  opacity: 0;
  transform: translateY(10px);
}

.js .carta.is-in .dish {
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * {
    animation: rise 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-text > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-text > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-text > *:nth-child(3) { animation-delay: 0.2s; }
  .hero-text > *:nth-child(4) { animation-delay: 0.28s; }
  .hero-text > *:nth-child(5) { animation-delay: 0.36s; }

  .hero-photo img {
    animation: settle 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes settle {
  from { transform: scale(1.045); }
  to { transform: none; }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .intro {
    height: auto;
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy,
  .hero-photo {
    grid-column: auto;
  }

  .hero-photo {
    order: -1;
    height: min(72vw, 520px);
    min-height: 280px;
  }

  .hero-copy {
    justify-content: flex-start;
    min-height: 0;
    width: min(1120px, calc(100% - 2.3rem));
    margin-inline: auto;
    padding: 1.4rem 0 1.7rem;
  }

  .story-grid,
  .visit-grid,
  .oficios li,
  .menu-cols,
  .dish {
    grid-template-columns: minmax(0, 1fr) 4.2rem 6.4rem;
  }

  .story-grid,
  .visit-grid,
  .oficios li {
    grid-template-columns: 1fr;
  }

  .oficios li {
    gap: 0.35rem;
    padding: 1.35rem 0;
  }

  .map iframe {
    min-height: 340px;
  }
}

@media (max-height: 740px) and (min-width: 961px) {
  .intro {
    height: auto;
    min-height: calc(100svh - var(--nav-h));
  }
}

@media (max-width: 800px) {
  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--awning);
  }

  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.6rem;
    text-decoration: none;
    font-weight: 600;
  }

  .dock a:first-child {
    background: var(--clay);
    color: #fffaf6;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    font-size: 1rem;
  }

  .dock a:last-child {
    color: var(--stucco);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
  }

  .footer {
    padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
  }

  .band {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.15rem;
    padding-block: 1rem;
  }

  .band p:last-child {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .nav-call {
    display: none;
  }
}

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

  .js .reveal,
  .js .carta .dish,
  .hero-text > *,
  .hero-photo img {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn,
  .map iframe,
  .nav-links a::after {
    transition: none;
  }
}

@media print {
  .nav,
  .dock,
  .hero-actions,
  .visit-actions,
  .map iframe,
  .progress {
    display: none;
  }

  .carta {
    background: white;
    color: black;
  }

  .carta h2,
  .carta h3,
  .dish-name,
  .price,
  .carta-lead,
  .carta-note,
  .menu-cols {
    color: black;
    background: transparent;
  }

  .hero,
  .break {
    min-height: 0;
    height: auto;
  }

  .hero-photo img,
  .break img {
    position: static;
    height: auto;
  }

  body {
    background: white;
  }
}
