:root {
  --paper: #f4f3ed;
  --ink: #22241f;
  --muted: #66695e;
  --line: #d1d3c9;
}
* { box-sizing: border-box; }
html { height: 100%; overflow: hidden; }
body {
  margin: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 64px minmax(0, 1fr) 42px;
  background: #1c1e1b; color: var(--paper);
  font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, .book:focus-visible { outline: 2px solid #a3ad93; outline-offset: 3px; }
button:disabled { opacity: .25; cursor: default; }
.menu-header { width: 100%; max-width: 1120px; margin: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.wordmark { font-size: 29px; font-weight: 750; letter-spacing: -1.8px; min-height: 44px; display: flex; align-items: center; }
.menu-header-actions { display: flex; align-items: center; gap: 18px; }
.order-online-top { font-size: 11px; font-weight: 600; min-height: 44px; padding: 0 14px; background: var(--paper); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.order-online-top:hover { background: #fff; }
.back-home { font-size: 11px; min-height: 44px; display: flex; align-items: center; }
main { width: 100%; max-width: 680px; min-height: 0; margin: 0 auto; padding: 4px 32px 0; display: grid; grid-template-rows: 22px minmax(0, 1fr) 58px 18px; }
.book-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; font-size: 8px; letter-spacing: .12em; color: #b9bfb0; }
.book-stage { min-height: 0; perspective: 2000px; padding: 0 9px 9px 6px; }
.book { position: relative; height: 100%; min-height: 0; outline: none; touch-action: pinch-zoom; isolation: isolate; filter: drop-shadow(0 12px 16px #0005); }
.book:before, .book:after { content: ''; position: absolute; inset: 5px -5px -5px 6px; background: #c5c7bd; border-right: 1px solid #8b8e81; z-index: -1; }
.book:after { inset: 9px -9px -9px 10px; background: #a5a99b; }
.sheet, .turning-sheet { position: absolute; inset: 0; background: var(--paper); color: var(--ink); overflow: hidden; border-left: 1px solid #a5a99b; box-shadow: inset 9px 0 14px -11px #292c2380; }
.sheet { z-index: 1; }
.measure-sheet { position: fixed; inset: auto; left: 0; top: 0; visibility: hidden; pointer-events: none; z-index: -10; contain: layout style; }
.turning-sheet { z-index: 2; visibility: hidden; pointer-events: none; transform-origin: left center; backface-visibility: hidden; }
.turning-sheet.turn-forward { visibility: visible; animation: flip-forward .6s cubic-bezier(.25,.6,.3,1) both; }
.turning-sheet.turn-backward { visibility: visible; animation: flip-backward .6s cubic-bezier(.25,.6,.3,1) both; }
@keyframes flip-forward { from { transform: rotateY(0); filter: brightness(1); } to { transform: rotateY(-102deg); filter: brightness(.65); } }
@keyframes flip-backward { from { transform: rotateY(-102deg); filter: brightness(.65); } to { transform: rotateY(0); filter: brightness(1); } }
.cover { height: 100%; padding: 28px 30px; background: linear-gradient(105deg,#a7aaa2 0%,#d0d2ca 7%,#e5e6df 45%,#c5c8bf 100%); display: flex; flex-direction: column; justify-content: space-between; }
.cover-top, .cover-bottom { font-size: 8px; letter-spacing: .12em; line-height: 1.6; }
.cover-title { text-align: center; margin: 16px 0; }
.cover-title img { display: block; width: 50px; height: 56px; object-fit: contain; filter: brightness(.16); margin: 0 auto 18px; }
.cover h1 { font-size: clamp(45px,7vw,72px); font-weight: 700; letter-spacing: -.065em; margin: 0 0 10px; }
.cover-title>p { font-family: Georgia,serif; font-style: italic; font-size: 36px; margin: 0; }
.cover-bottom { display: flex; justify-content: space-between; gap: 20px; }
.menu-page { padding: 26px 30px 20px; height: 100%; display: flex; flex-direction: column; }
.kicker { font-size: 8px; letter-spacing: .13em; line-height: 1.6; margin: 0 0 14px; color: var(--muted); }
.page-title { flex: none; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.page-title h2 { font-family: Georgia,serif; font-size: 34px; line-height: 1.12; font-weight: 400; letter-spacing: -.04em; margin: 0 0 8px; }
.page-title>p:last-child { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 0; }
.menu-groups { flex: 1 0 auto; }
.menu-group { margin-bottom: 20px; }
.menu-group:last-child { margin-bottom: 8px; }
.menu-group>h3 { font-size: 9px; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; color: #5e6754; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin: 0 0 12px; }
.menu-item { margin-bottom: 16px; }
.menu-item:last-child { margin-bottom: 0; }
.item-title { display: flex; justify-content: space-between; gap: 16px; }
.item-title h4 { font-size: 14px; line-height: 1.4; font-weight: 600; margin: 0; }
.item-title>span { font-size: 13px; white-space: nowrap; line-height: 1.5; }
.menu-item>p { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 5px 0 0; max-width: 470px; }
.menu-item>.variant { font-size: 10px; color: #6b755f; font-style: italic; }
.page-footnote { flex: none; border-top: 1px solid var(--line); padding-top: 12px; font-size: 8px; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; line-height: 1.5; }
.book-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 0; }
.book-controls button { display: flex; align-items: center; gap: 10px; min-width: 44px; min-height: 44px; color: var(--paper); background: none; border: 0; padding: 0; font-size: 13px; }
.book-controls button>span { font-size: 10px; }
#page-status { font-size: 9px; color: #b9bfb0; text-align: center; line-height: 1.5; }
.book-hint { text-align: center; font-size: 8px; color: #a5ad9b; margin: 0; line-height: 1.5; }
.menu-footer { width: 100%; max-width: 1120px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: .06em; color: #b9bfb0; gap: 20px; }
.menu-footer a { display: flex; align-items: center; min-height: 40px; }
.delivery-page { height: 100%; padding: 28px 30px; display: flex; flex-direction: column; }
.delivery-page h2 { font-size: clamp(34px,5svh,52px); letter-spacing: -.055em; line-height: 1.05; font-weight: 400; margin: 10px 0 16px; }
.delivery-page h2 em { font-family: Georgia,serif; font-weight: 400; }
.delivery-intro { font-size: 12px; color: var(--muted); line-height: 1.6; max-width: 340px; margin: 0; }
.order-platforms { margin: 22px 0 12px; border-bottom: 1px solid var(--line); }
.order-platforms button { display: flex; align-items: center; width: 100%; min-height: 50px; gap: 18px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); padding: 14px 0; text-align: left; }
.order-platforms small { font-size: 8px; color: var(--muted); }
.order-platforms button>span { font-size: 22px; letter-spacing: -.03em; }
.order-platforms button>span:last-child { margin-left: auto; }
.order-platforms button:hover { color: #68745e; }
.delivery-note { font-size: 9px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.return-link { font-size: 11px; display: flex; align-items: center; min-height: 44px; }
.end-wordmark { font-size: 40px; font-weight: 700; letter-spacing: -.065em; margin: auto 0 0; padding-top: 12px; }
.no-script { font-size: 14px; line-height: 1.7; }
dialog { background: var(--paper); color: var(--ink); border: 1px solid #b7bcae; padding: 28px; width: min(430px,calc(100% - 36px)); max-height: calc(100svh - 36px); overflow: auto; }
dialog::backdrop { background: #000a; backdrop-filter: blur(5px); }
dialog h2 { font-size: 27px; letter-spacing: -.04em; font-weight: 400; }
dialog>p:not(.kicker) { font-size: 14px; line-height: 1.7; color: var(--muted); }
.dialog-close { float: right; width: 44px; height: 44px; margin: -12px -12px 0 0; background: none; border: 0; font-size: 27px; color: var(--ink); }
.dialog-done { min-height: 44px; padding: 0 22px; margin-top: 12px; border: 0; background: var(--ink); color: var(--paper); font-size: 12px; }
@media(max-width:600px) {
  body { grid-template-rows: 58px minmax(0,1fr) 32px; }
  .menu-header { padding: 0 20px; }
  .wordmark { font-size: 27px; }
  main { padding: 4px 20px 0; grid-template-rows: 20px minmax(0,1fr) 54px 24px; }
  .book-heading { font-size: 7px; letter-spacing: .06em; }
  .cover { padding: 22px; }
  .cover-top,.cover-bottom { font-size: 7px; letter-spacing: .07em; }
  .cover h1 { font-size: clamp(43px,14vw,62px); }
  .cover-title>p { font-size: 31px; }
  .cover-bottom { display: block; }
  .cover-bottom>span { display: block; }
  .cover-bottom>span:last-child { margin-top: 8px; }
  .menu-page { padding: 22px 22px 16px; }
  .page-title h2 { font-size: 30px; }
  .item-title h4 { font-size: 13px; }
  .item-title>span { font-size: 12px; }
  .menu-item>p { font-size: 12px; }
  .book-controls { gap: 8px; }
  .book-controls button { gap: 6px; }
  .book-controls button>span { font-size: 9px; }
  #page-status { font-size: 8px; max-width: 140px; }
  .book-hint { font-size: 7px; }
  .menu-footer { padding: 0 20px; font-size: 7px; }
  .menu-footer a { min-height: 30px; }
  .menu-footer>span { max-width: 150px; text-align: right; line-height: 1.6; }
  .delivery-page { padding: 24px 22px; }
}
@media(max-height:650px) {
  body { grid-template-rows: 50px minmax(0,1fr) 24px; }
  main { grid-template-rows: 16px minmax(0,1fr) 48px 16px; }
  .menu-header .wordmark { font-size: 25px; }
  .cover { padding: 18px 22px; }
  .cover-title { margin: 8px 0; }
  .cover-title img { width: 32px; height: 36px; margin-bottom: 10px; }
  .cover h1 { font-size: 42px; margin-bottom: 6px; }
  .cover-title>p { font-size: 27px; }
  .menu-page { padding: 16px 22px 12px; }
  .page-title { margin-bottom: 12px; padding-bottom: 10px; }
  .page-title .kicker { display: none; }
  .page-title h2 { font-size: 27px; margin-bottom: 5px; }
  .page-title>p:last-child { font-size: 10px; }
  .menu-group>h3 { margin-bottom: 9px; padding-bottom: 6px; }
  .menu-group { margin-bottom: 14px; }
  .menu-item { margin-bottom: 12px; }
  .page-footnote { font-size: 7px; padding-top: 8px; margin-top: 8px; }
  .menu-footer a { min-height: 24px; }
  .delivery-page { padding: 16px 22px; }
  .delivery-page .kicker { margin-bottom: 8px; }
  .delivery-page h2 { font-size: 33px; margin: 4px 0 10px; }
  .order-platforms { margin: 12px 0 8px; }
  .order-platforms button { min-height: 44px; padding: 10px 0; }
  .order-platforms button>span { font-size: 20px; }
  .end-wordmark { font-size: 27px; padding-top: 4px; }
}
@media(max-height:500px) {
  body { grid-template-rows: 46px minmax(0,1fr); }
  .menu-footer,.book-heading,.book-hint { display: none; }
  main { padding-top: 0; grid-template-rows: minmax(0,1fr) 48px; }
  .menu-page { padding: 12px 22px 10px; }
  .page-title { padding-bottom: 6px; margin-bottom: 8px; }
  .page-title h2 { font-size: 25px; margin-bottom: 0; }
  .page-title>p:last-child { display: none; }
  .menu-group { margin-bottom: 10px; }
  .menu-group>h3 { font-size: 8px; padding-bottom: 5px; margin-bottom: 7px; }
  .menu-item { margin-bottom: 10px; }
  .menu-item>p { line-height: 1.45; }
  .page-footnote { font-size: 7px; margin-top: 6px; padding-top: 6px; }
  .cover-title { margin: 4px 0; }
  .cover-title img { width: 26px; height: 30px; margin-bottom: 6px; }
  .cover h1 { font-size: 38px; }
  .cover-title>p { font-size: 25px; }
  .cover-bottom>span:last-child { display: none; }
  .delivery-page { padding: 12px 22px; }
  .delivery-page>.kicker,.delivery-note,.end-wordmark { display: none; }
  .delivery-page h2 { font-size: 27px; margin: 0 0 8px; }
  .delivery-page h2 br { display: none; }
  .delivery-intro { font-size: 11px; line-height: 1.4; }
  .order-platforms { margin: 8px 0 0; }
  .order-platforms button { padding: 8px 0; }
  .return-link { margin: 0; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none!important; transition: none!important; }
  .turning-sheet { display: none; }
}
/* The order page also fits the book on shorter phones and landscape screens. */
.book { container-type: size; }
@container (max-height:550px) {
  .delivery-page { padding: 16px 22px; }
  .delivery-page>.kicker,.delivery-note,.end-wordmark { display: none; }
  .delivery-page h2 { font-size: 32px; margin: 0 0 12px; }
  .order-platforms { margin: 12px 0 4px; }
  .order-platforms button { min-height: 44px; padding: 8px 0; }
  .order-platforms button>span { font-size: 20px; }
}
@container (max-height:450px) {
  .delivery-page { padding: 12px 22px; }
  .delivery-page h2 { font-size: 27px; margin: 0 0 8px; }
  .delivery-page h2 br { display: none; }
  .delivery-intro { font-size: 11px; line-height: 1.4; }
  .order-platforms { margin: 8px 0 0; }
}
/* Fixed A4 composition; the entire leaf scales to the available viewport. */
.book-stage { container-type: size; display: grid; place-items: center; }
.book { width: min(100cqw, calc(100cqh * .7070707)); height: auto; aspect-ratio: 210 / 297; max-height: 100%; }
.page-canvas { width: 420px; height: 594px; transform: scale(var(--page-scale, 1)); transform-origin: left top; }
.page-canvas .menu-page { height: 594px; padding: 26px 26px 20px; }
.page-canvas .page-title { margin-bottom: 24px; padding-bottom: 16px; }
.page-canvas .page-title .kicker { display: block; margin-bottom: 14px; }
.page-canvas .page-title h2 { font-size: 34px; line-height: 1.12; margin-bottom: 8px; }
.page-canvas .page-title>p:last-child { display: block; font-size: 12px; }
.page-canvas .menu-group { margin-bottom: 24px; }
.page-canvas .menu-group>h3 { font-size: 10px; padding-bottom: 8px; margin-bottom: 14px; }
.page-canvas .menu-item { margin-bottom: 24px; }
.page-canvas .item-title h4 { font-size: 16px; line-height: 1.4; }
.page-canvas .item-title>span { font-size: 14px; }
.page-canvas .menu-item>p { font-size: 13px; line-height: 1.6; }
.page-canvas .menu-item>.variant { font-size: 11px; }
.page-canvas .page-footnote { font-size: 8px; margin-top: 12px; padding-top: 12px; }
.page-canvas .cover { height: 594px; padding: 30px; }
.page-canvas .cover-top,.page-canvas .cover-bottom { font-size: 8px; }
.page-canvas .cover-title { margin: 18px 0; }
.page-canvas .cover-title img { width: 50px; height: 56px; margin-bottom: 18px; }
.page-canvas .cover h1 { font-size: 62px; margin-bottom: 10px; }
.page-canvas .cover-title>p { font-size: 36px; }
.page-canvas .cover-bottom { display: block; }
.page-canvas .cover-bottom>span { display: block; }
.page-canvas .cover-bottom>span:last-child { display: block; margin-top: 8px; }
.page-canvas .delivery-page { height: 594px; padding: 30px; }
.page-canvas .delivery-page>.kicker { display: block; margin-bottom: 18px; }
.page-canvas .delivery-page h2 { font-size: 44px; margin: 10px 0 20px; }
.page-canvas .delivery-page h2 br { display: inline; }
.page-canvas .delivery-intro { font-size: 13px; line-height: 1.6; }
.page-canvas .order-platforms { margin: 24px 0 14px; }
.page-canvas .order-platforms a { display: flex; align-items: center; min-height: 56px; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.page-canvas .order-platforms a>span { font-size: 23px; }
.page-canvas .order-platforms a>span:last-child { margin-left: auto; }
.page-canvas .order-platforms a:hover { color: #68745e; }
.page-canvas .delivery-note { display: block; font-size: 10px; }
.page-canvas .return-link { min-height: 44px; font-size: 12px; }
.page-canvas .end-wordmark { display: block; font-size: 42px; padding-top: 12px; }
.page-canvas .delivery-page { padding: 22px 24px; }
.page-canvas .delivery-page>.kicker { margin-bottom: 10px; }
.page-canvas .delivery-page h2 { font-size: 34px; margin: 0 0 10px; }
.page-canvas .order-platforms { margin: 12px 0 6px; }
.page-canvas .order-platforms a { min-height: 44px; padding: 9px 0; }
.page-canvas .order-platforms a>span { font-size: 18px; }
.page-canvas .end-wordmark { font-size: 28px; padding-top: 6px; }
