:root {
  color-scheme: light;
  --paper: #f8f0e5;
  --ink: #362320;
  --wine: #481e24;
  --brick: #a33627;
  --clay: #f3a17e;
  --line: #dfcbbb;
  --muted: #6d534c;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  font: 100%/1.5 system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
.frame { width: min(calc(100% - 3rem), 68rem); margin-inline: auto; }
.hero {
  color: var(--paper);
  background: var(--wine);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  min-height: 25rem;
  grid-template-columns: .9fr 1.1fr;
  position: relative;
}
.hero-copy {
  align-self: center;
  position: relative;
  z-index: 1;
  padding-block: 5.75rem 5.5rem;
  animation: arrive .65s ease-out both;
}
#region {
  margin: 0 0 .85rem;
  color: var(--clay);
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.03; }
h1 {
  font-size: clamp(4rem, 8.7vw, 8.3rem);
  margin: 0;
  line-height: .86;
  letter-spacing: -.065em;
}
#location { margin: 1.15rem 0 0; color: #f4d7c7; font-size: 1rem; }
.hero-photo {
  position: relative;
  display: block;
  min-width: 0;
  margin-inline-end: min(0rem, calc((68rem - 100vw) / 2 + 1.5rem));
  background: #602820;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 52%;
  animation: settle 1.15s cubic-bezier(.16, 1, .3, 1) both;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--wine), transparent 35%);
}

button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.segmented { display: flex; }
.language {
  position: absolute;
  top: 1rem;
  width: max-content;
  border: 1px solid #ad7470;
  border-radius: 2rem;
  overflow: hidden;
}
.language button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: 2rem;
  background: transparent;
  font-size: .875rem;
  font-weight: 750;
}
.language button:focus-visible { outline-color: var(--clay); outline-offset: -3px; }
.language button[aria-pressed="true"] { color: var(--wine); background: var(--paper); }
.controls {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-top: .9rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px #481e2409;
}
.meals { gap: .3rem; width: min(100%, 25rem); border: 1px solid var(--line); padding: .25rem; border-radius: 2rem; background: #f0e2d5; }
.meals button {
  flex: 1;
  min-height: 2.75rem;
  border: 0;
  border-radius: 2rem;
  background: transparent;
  font-weight: 730;
}
.meals button[aria-pressed="true"] { background: var(--wine); color: var(--paper); }
#categories {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .6rem 3px .75rem;
  scrollbar-width: thin;
  scrollbar-color: #c69e8a var(--paper);
}
#categories button {
  flex: none;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: .35rem .85rem;
  background: transparent;
  font-size: .9rem;
  font-weight: 650;
}
#categories button[aria-pressed="true"] { color: var(--brick); background: #f5dfd2; border-color: #c38372; }
.segmented button, #categories button { transition: background-color .2s, color .2s, border-color .2s; }
@media (hover: hover) {
  #categories button:hover { border-color: var(--brick); }
  .meals button[aria-pressed="false"]:hover { background: #e8d1c2; }
  .language button[aria-pressed="false"]:hover { background: #793d43; }
}

main { padding-block: 2.15rem 1.25rem; display: grid; gap: 2.2rem 3rem; }
section { min-width: 0; animation: arrive .34s ease-out both; }
h2 {
  color: var(--wine);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -.035em;
  margin: 0;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--brick);
}
.dish { padding-block: .85rem; border-bottom: 1px solid var(--line); }
.dish h3, .variant { display: flex; align-items: baseline; gap: .55rem; margin: 0; }
.dish h3 { font-size: 1.045rem; line-height: 1.35; font-weight: 690; }
.dish h3 span { min-width: 0; }
.number, .price { color: var(--brick); }
.dish h3 .number { flex: 0 0 1.65rem; font-size: .8em; font-variant-numeric: tabular-nums; }
.price { flex: none; margin-inline-start: auto; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.dish p { color: var(--muted); margin: .35rem 0 0; font-size: 1rem; line-height: 1.45; }
.variants { list-style: none; padding: 0 0 0 2.2rem; margin: .35rem 0 0; color: var(--muted); }
.variant { padding-top: .25rem; }
footer { color: var(--muted); padding-block: .65rem 2.5rem; font-size: .9375rem; }

@media (min-width: 820px) {
  main { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  main section:only-child { grid-column: 1 / -1; max-width: 46rem; width: 100%; }
}
@media (max-width: 640px) {
  .frame { width: calc(100% - 2rem); }
  .hero-inner { width: 100%; min-height: 19rem; grid-template-columns: 1fr; align-items: end; }
  .hero-copy { display: flex; flex-direction: column; justify-content: end; min-height: 19rem; padding: 5.5rem 1rem 1.65rem; }
  .language { right: 1rem; background: #481e24d9; }
  h1 { font-size: clamp(3.6rem, 13.8vw, 5.1rem); }
  #region { margin-bottom: .55rem; }
  #location { margin-top: .65rem; }
  .hero-photo { position: absolute; inset: 0; margin: 0; }
  .hero-photo img { object-position: 58% 53%; }
  .hero-photo::after { background: linear-gradient(0deg, #481e24 0%, #481e24e0 23%, #481e2440 72%, #481e2438); }
  main { padding-top: 1.65rem; }
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(.55rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes settle {
  from { opacity: .55; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
