@font-face {
  font-family: Instrument Serif;
  src: url("assets/instrumentserif-normal.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("assets/instrumentserif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("assets/dmsans-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --cream: #eee7d9;
  --ink: #282b21;
  --olive: #444a32;
  --moss: #dce0ca;
  --muted: #615d50;
  --line: #c9c2b0;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(1.15rem, 4.6vw, 5rem);
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; }
h2 { font-size: clamp(3.15rem, 6.9vw, 6.4rem); letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.frame { width: min(74rem, 100% - var(--gutter) * 2); margin-inline: auto; }
.spacing { padding-block: clamp(4.4rem, 8vw, 8rem); }
.label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .19em; }
.ruled { display: flex; align-items: center; gap: .65rem; }
.ruled::before { content: ""; width: 1.65rem; height: 1px; background: currentColor; }
.skip { position: fixed; z-index: 10; top: .6rem; left: .6rem; padding: .75rem; color: var(--paper); background: var(--olive); transform: translateY(calc(-100% - 1rem)); }
.skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { min-height: 4.35rem; display: flex; justify-content: space-between; align-items: center; gap: 1.1rem; }
.wordmark { display: inline-block; padding-block: .3rem; font: 400 2rem/.95 var(--serif); white-space: nowrap; }
.navigation { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 clamp(.75rem, 2vw, 1.75rem); font-size: .85rem; }
.navigation a, .header-link, .back { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .45rem; }
.navigation a:hover, .header-link:hover, .back:hover { text-decoration: underline; text-underline-offset: .25em; }
.header-link { font-size: .85rem; font-weight: 700; white-space: nowrap; }
.menu-toggle { min-height: 2.75rem; padding: .35rem .65rem; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.menu-toggle span { margin-left: .35rem; }
.menu-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(45deg); }

.hero-intro { text-align: center; padding-block: clamp(2.65rem, 4vw, 4.2rem) clamp(2rem, 3vw, 3.4rem); }
.hero h1 { font-size: clamp(5.1rem, 12vw, 10.1rem); letter-spacing: -.055em; margin: .2rem 0 .6rem; color: var(--olive); }
.hero-intro > p:not(.label) { color: var(--muted); max-width: 43ch; margin-inline: auto; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; min-height: 2.95rem; padding: .65rem 1.05rem; border: 1px solid var(--olive); color: var(--paper); background: var(--olive); font-weight: 650; font-size: .88rem; transition: color .18s ease, background-color .18s ease; }
.button:hover { background: var(--paper); color: var(--olive); }
.button:focus-visible { outline-color: var(--olive); }
.hero .button { margin-top: 1.2rem; }
.hero-photo { aspect-ratio: 2.6; object-fit: cover; object-position: center 55%; background: var(--cream); }

.story { display: grid; grid-template-columns: 1fr 3fr; gap: 1.3rem; align-items: start; }
.story .label { margin-top: .65rem; }
.story-copy { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.1rem 2.5rem; margin-top: 1.85rem; max-width: 52rem; }
.story-copy p, .experience-copy p:last-child { color: var(--muted); line-height: 1.75; }

.menu-section { color: var(--paper); background: var(--olive); }
.menu-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: clamp(2rem, 7vw, 6rem); }
.menu-intro h2 { margin: .65rem 0 1rem; }
.menu-intro > p:not(.label) { color: #eee8d9; font-size: .88rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.35rem; }
.tabs button { min-height: 2.75rem; border: 0; border-bottom: 2px solid transparent; padding: .25rem .15rem; color: var(--paper); background: transparent; }
.tabs button[aria-selected="true"], .tabs button:hover { border-color: currentColor; }
.tabs button[aria-selected="true"] { font-weight: 700; }
.menu-panel + .menu-panel:not([hidden]) { margin-top: 1.5rem; }
.menu-panel h3 { font-size: 2.5rem; margin-bottom: .65rem; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding-block: .8rem; border-top: 1px solid #a3a48b; }
.dish:last-child { border-bottom: 1px solid #a3a48b; }
.dish dt { font-weight: 650; }
.price { font-variant-numeric: tabular-nums; }
.dish-description { grid-column: 1 / -1; color: #eee8d9; font-size: .89rem; line-height: 1.45; }

.gallery-heading { display: grid; grid-template-columns: 1fr 3fr; align-items: center; gap: 1rem; margin-bottom: 2.25rem; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr .82fr; gap: clamp(.85rem, 2vw, 1.5rem); align-items: start; }
.gallery-grid img { object-fit: cover; background: var(--cream); }
.gallery-food { grid-row: span 2; }
.gallery-food img { aspect-ratio: 4 / 5; }
.gallery-coffee img { aspect-ratio: 4 / 3; }
.gallery-bread { grid-column: 3; margin-top: clamp(1rem, 5vw, 4rem); }
.gallery-bread img { aspect-ratio: 1; }
.gallery-space { grid-column: 2 / 4; }
.gallery-space img { aspect-ratio: 2.25; }
figcaption { padding-top: .65rem; font-size: .78rem; color: var(--muted); }

.experience { background: var(--cream); }
.experience-layout { display: grid; grid-template-columns: 1.22fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.experience img { height: 100%; min-height: 29rem; aspect-ratio: 1.28; object-fit: cover; background: var(--moss); }
.experience-copy { padding-block: 2rem; }
.experience-copy h2 { margin: .8rem 0 1.25rem; }
.experience-copy p:last-child { max-width: 37ch; }

.visit { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.visit h2 { margin: .75rem 0 1.5rem; }
.visit-note { font-size: .85rem; color: var(--muted); margin-bottom: .65rem; }
.hours div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .7rem; border-top: 1px solid var(--line); padding-block: .75rem; }
.hours div:last-child { border-bottom: 1px solid var(--line); }
.hours dd { font-variant-numeric: tabular-nums; }
.location figcaption { display: grid; gap: .2rem; }
.location strong { color: var(--ink); }
.map-art { position: relative; isolation: isolate; overflow: hidden; min-height: 16rem; background: #e8e3d4; }
.map-park { position: absolute; inset: 9% 58% 42% 5%; background: #c6cdb1; transform: rotate(-10deg); }
.map-river { position: absolute; width: 20%; height: 150%; top: -24%; right: 8%; border-left: 1.4rem solid #c5ccc3; transform: rotate(25deg); }
.map-road { position: absolute; width: 125%; height: 1rem; background: var(--paper); border-block: 1px solid #d7d0be; }
.road-one { top: 35%; left: -12%; transform: rotate(-16deg); }
.road-two { top: 65%; left: -12%; transform: rotate(12deg); }
.road-three { top: 49%; left: -19%; transform: rotate(72deg); }
.map-pin { position: absolute; top: 42%; left: 49%; width: 1.75rem; aspect-ratio: 1; background: var(--olive); border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); }
.map-pin::after { content: ""; position: absolute; inset: .57rem; border-radius: 50%; background: var(--paper); }
.map-name { position: absolute; top: 53%; left: 49%; transform: translateX(-50%); color: var(--ink); background: var(--paper); padding: .3rem .6rem; font: 1.3rem/1 var(--serif); white-space: nowrap; }

.contact { background: var(--moss); text-align: center; }
.contact h2 { margin: .75rem 0 1rem; }
.contact p:not(.label) { line-height: 1.55; }
.contact .button { margin-top: 1.3rem; }
.site-footer { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; padding-block: .8rem; }
.site-footer small, .back { font-size: .78rem; color: var(--muted); }
dialog { border: 1px solid var(--olive); background: var(--paper); color: var(--ink); width: min(28rem, 100% - 2rem); max-height: calc(100% - 2rem); padding: clamp(1.3rem, 4vw, 2rem); }
dialog::backdrop { background: #1c2119ae; }
dialog h2 { font-size: 3.1rem; }
dialog p { margin-block: 1rem; line-height: 1.55; color: var(--muted); }

@media (max-width: 52rem) {
  .header-row { flex-wrap: wrap; gap: 0 .8rem; min-height: 3.85rem; }
  .header-link { display: none; }
  .navigation { width: 100%; justify-content: start; }
  .menu-toggle:not([hidden]) + .navigation { position: absolute; inset: 100% 0 auto; display: grid; grid-template-columns: 1fr 1fr; padding: .7rem var(--gutter); gap: .15rem 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .hero-photo { aspect-ratio: 1.55; }
  .story, .gallery-heading { grid-template-columns: 1fr; }
  .desktop-break { display: none; }
  .menu-layout { grid-template-columns: 1fr 1.3fr; }
  .experience-layout, .visit { gap: 2rem; }
  .experience img { min-height: 24rem; }
}

@media (max-width: 37rem) {
  .story-copy, .menu-layout, .experience-layout, .visit { grid-template-columns: 1fr; }
  .experience-layout { gap: 0; }
  .experience img { min-height: 0; height: auto; aspect-ratio: 1.35; }
  .experience-copy { padding-block: 2.4rem 3.6rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-food, .gallery-space { grid-column: 1 / -1; grid-row: auto; }
  .gallery-food img { aspect-ratio: 1.28; }
  .gallery-coffee img, .gallery-bread img { aspect-ratio: 1; }
  .gallery-bread { grid-column: auto; margin-top: 1rem; }
  .site-footer small { flex-basis: 100%; order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
