:root {
  color-scheme: light;
  --paper: #e7dbcc;
  --light-paper: #f1e8dc;
  --ink: #27211b;
  --muted: #625247;
  --accent: #893e2b;
  --accent-dark: #672b1f;
  --line: #c8b7a7;
  --display: 'Baskerville Old Face', Baskerville, 'Times New Roman', serif;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, 'Helvetica Neue', sans-serif;
  --gutter: max(26px, (100% - 1170px) / 2);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 52px, 1170px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--light-paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.header { position: absolute; inset: 0 0 auto; z-index: 2; color: #fff8ed; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 83px; gap: 12px; border-bottom: 1px solid #fff8ed50; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font: 400 clamp(1.55rem, 3vw, 2.05rem)/1 var(--display); letter-spacing: .045em; text-decoration: none; }
.header nav { display: flex; gap: clamp(19px, 4vw, 48px); }
.header nav a { display: grid; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration: none; }
.header nav a:hover { text-decoration: underline; text-underline-offset: .4em; }
.header :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: #fff2d6; }

.cover { position: relative; isolation: isolate; display: grid; min-height: clamp(555px, 47vw, 758px); place-items: center; overflow: hidden; background: #372a20; color: #fff8ec; }
.hero-figure, .hero-figure picture { position: absolute; inset: 0; }
.hero-figure { z-index: -1; }
.hero-figure img { height: 100%; object-fit: cover; object-position: center 55%; }
.hero-figure::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, #15100bd1, #1c130c0f 30%, #1a130b0d 72%, #19120b70),
    radial-gradient(ellipse at center, #1d150ea8, #1d150e32 76%);
}
.hero-figure figcaption { position: absolute; right: var(--gutter); bottom: 14px; z-index: 1; color: #fff5e5; font-size: .75rem; text-shadow: 0 1px 6px #21170e; }
.hero-copy { text-align: center; padding: 105px 20px 61px; animation: enter .55s ease-out both; }
h1 { font: 400 clamp(7rem, 16.3vw, 14.5rem)/.77 var(--display); letter-spacing: .035em; margin-right: -.035em; }
.hero-copy p { margin-top: 21px; font: 400 clamp(1.125rem, 2vw, 1.42rem)/1.35 var(--serif); }
.text-link { text-underline-offset: .36em; }
.hero-copy .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: .9375rem; }
.hero-copy .text-link:hover { color: #f2dbc0; }
@keyframes enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

.booking-band { background: var(--ink); color: var(--light-paper); }
.booking-band-inner { display: flex; justify-content: center; align-items: center; gap: 32px; min-height: 80px; padding-block: 12px; }
.booking-band p { font: 400 clamp(1rem, 2vw, 1.3rem)/1.2 var(--serif); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--accent);
  color: #fff8ef;
  font-size: .9375rem;
  line-height: 1.23;
  text-align: center;
  transition: background-color .18s ease, color .18s ease;
}
.button:hover { background: var(--accent-dark); }
.button-light { background: #e5d3bb; color: var(--ink); }
.button-light:hover { background: #f2e5d3; }

h2 { font: 400 clamp(2.65rem, 5.3vw, 5rem)/1 var(--serif); letter-spacing: -.057em; }
.about-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(34px, 8vw, 120px); align-items: center; padding-block: clamp(64px, 7vw, 110px); }
.about-copy { max-width: 455px; }
.about-copy p { margin-top: 24px; max-width: 36ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.about-photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(9, minmax(0, 1fr)) auto; aspect-ratio: 1.55; }
.about-photos img { height: 100%; object-fit: cover; }
.room-photo { grid-area: 1 / 1 / 8 / 9; object-position: 48% center; }
.bread-photo { grid-area: 4 / 6 / 10 / 13; object-position: 56% 53%; border: solid var(--paper); border-width: 5px 0 0 5px; }
.about-photos figcaption { grid-area: 10 / 1 / 11 / 13; color: var(--muted); font-size: .75rem; text-align: right; padding-top: 7px; }

.section-menu { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); border-top: 1px solid var(--line); background: var(--light-paper); }
.menu-copy { padding: clamp(50px, 7vw, 100px) clamp(24px, 4vw, 62px) clamp(48px, 7vw, 90px) max(26px, calc((100vw - 1170px) / 2)); }
.menu-note { margin: 10px 0 25px; color: var(--muted); }
.menu-body { min-height: 238px; }
.menu-tabs { display: flex; gap: 0; margin-bottom: 7px; border-bottom: 1px solid var(--line); }
.menu-tabs button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: .9375rem; padding-inline: 13px; }
.menu-tabs button:hover { color: var(--accent-dark); }
.menu-tabs [aria-selected="true"] { border-color: var(--accent); color: var(--ink); font-weight: 700; }
.dish-list { margin: 0; padding: 0; list-style: none; }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dish-name { font-weight: 700; line-height: 1.3; }
.dish-price { color: var(--accent-dark); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.dish-description { grid-column: 1 / -1; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.menu-figure { position: relative; min-height: 490px; overflow: hidden; background: #3b2b20; }
.menu-photos { position: absolute; inset: 0; }
.menu-photos img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .28s ease; }
.menu-photos img[data-current] { opacity: 1; z-index: 1; }
.menu-figure figcaption { position: absolute; z-index: 2; inset: auto 14px 12px auto; padding: 2px 7px; background: #261c16e8; color: #fff7e9; font-size: .75rem; }

.footer { background: #312921; color: var(--light-paper); }
.footer-main { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding-block: 57px 48px; }
.footer h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.footer-main p { margin-top: 12px; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 25px; }
.footer .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.footer .text-link:hover { color: #f7e0be; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 9px; border-top: 1px solid #c8b7a75e; font-size: .875rem; color: #e5d4be; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .24em; }

.booking { width: min(520px, 100% - 30px); max-height: calc(100% - 30px); padding: clamp(19px, 4vw, 32px); border: 1px solid var(--line); background: var(--light-paper); color: var(--ink); }
.booking[open] { animation: enter .2s ease-out both; }
.booking::backdrop { background: #261c17b3; }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.dialog-heading h2 { font-size: clamp(1.95rem, 6vw, 2.65rem); padding-top: 5px; }
.close-button { flex: 0 0 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.55rem; line-height: 1; }
.close-button:hover { background: var(--paper); }
.booking-form > p, .booking-result > p { margin-block: 14px; }
.booking-fields { display: grid; grid-template-columns: 1.45fr 1fr .75fr; gap: 10px; margin-bottom: 21px; }
.booking-fields label { display: grid; gap: 5px; min-width: 0; font-weight: 700; font-size: .875rem; }
.booking-fields input, .booking-fields select { width: 100%; min-width: 0; min-height: 46px; padding: 7px; border: 1px solid #ad9681; background: #fcf5eb; color: var(--ink); font-size: 1rem; font-weight: 400; }
.booking-error { color: var(--accent-dark); }
.booking-summary { font-weight: 700; }

@media (min-width: 1051px) {
  .menu-body { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 21px; }
  .menu-tabs { display: grid; align-self: start; border: 0; border-left: 1px solid var(--line); }
  .menu-tabs button { text-align: left; border: 0; border-left: 2px solid transparent; padding-inline: 12px 0; margin-left: -1px; }
  .menu-tabs [aria-selected="true"] { border-color: var(--accent); }
}
@media (max-width: 800px) {
  :root { --gutter: 22px; }
  .shell { width: calc(100% - 44px); }
  .header-inner { min-height: 65px; }
  .cover { min-height: clamp(465px, 90vw, 580px); }
  .hero-copy { padding-block: 91px 55px; }
  .hero-figure img { object-position: center 59%; }
  h1 { font-size: clamp(5.25rem, 25vw, 10rem); }
  .hero-copy p { margin-top: 16px; }
  .hero-copy .text-link { margin-top: 11px; }
  .about-inner { padding-block: 48px; gap: 25px; }
  .about-copy p { margin-top: 13px; }
  .section-menu { grid-template-columns: 1fr 1fr; }
  .menu-copy { padding: 42px 22px; }
  .menu-figure { min-height: 415px; }
  .footer-main { padding-block: 37px 25px; }
  .footer-actions { display: grid; justify-items: start; gap: 5px; }
}
@media (max-width: 600px) {
  .hero-figure img { object-position: center 60%; }
  .booking-band-inner { justify-content: space-between; min-height: 70px; gap: 14px; }
  .booking-band p { max-width: 13ch; }
  .booking-band .button { min-width: 0; padding-inline: 12px; }
  .about-inner, .section-menu { grid-template-columns: 1fr; }
  .about-photos { width: min(100%, 460px); }
  .menu-copy { padding-top: 38px; padding-bottom: 30px; }
  .menu-note { margin-bottom: 16px; }
  .menu-body { min-height: 0; }
  .menu-tabs button:first-child { padding-left: 5px; }
  .menu-figure { min-height: clamp(260px, 70vw, 405px); }
  .footer-main { display: grid; gap: 22px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .shell { width: calc(100% - 32px); }
  .header nav { gap: 13px; }
  .hero-copy { padding-inline: 12px; }
  .booking-band-inner { gap: 10px; }
  .menu-copy { padding-inline: 16px; }
  .booking-fields { grid-template-columns: 1fr 1fr; }
  .date-field { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
