@font-face {
  font-family: 'Geist Mono';
  src: url('assets/geist-mono.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f1e7;
  --ink: #24211e;
  --burgundy: #762b36;
  font-family: 'Geist Mono', ui-monospace, monospace;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; padding: 24px; min-width: 280px; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

.menu {
  position: relative;
  min-height: calc(100svh - 48px);
  border: 2px solid var(--burgundy);
  padding: clamp(58px, 8vh, 100px) clamp(22px, 7vw, 110px) 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.menu::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--burgundy);
  pointer-events: none;
}
.masthead { text-align: center; }
.eyebrow { margin: 0 0 22px; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; }
h1 { margin: 0; font-size: clamp(25px, 3.7vw, 44px); font-weight: 450; text-transform: uppercase; letter-spacing: .12em; line-height: 1.35; }
.subtitle { margin: 18px 0 0; font-size: 12px; letter-spacing: .06em; }
.ornament { display: block; color: var(--burgundy); font-size: 28px; margin: 32px 0 34px; line-height: 1; }
.pieces { width: min(100%, 620px); margin: 0 0 56px; font-size: clamp(14px, 1.4vw, 16px); line-height: 1.65; }
.piece { display: flex; align-items: baseline; gap: .65em; padding: 13px 0; }
dt { flex: 0 1 auto; min-width: 0; max-width: 78%; overflow-wrap: anywhere; }
dd { margin: 0; display: flex; align-items: baseline; gap: .65em; flex: 1 0 auto; min-width: 3em; }
.leader { flex: 1; min-width: 1em; height: 1em; background: radial-gradient(circle, var(--ink) .65px, transparent .9px) 0 calc(100% - 2px) / 7px 3px repeat-x; }
.price { flex: 0 0 auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.colophon { margin-top: auto; display: flex; align-items: center; gap: 16px; font-size: 10px; letter-spacing: .04em; }
.colophon p { margin: 0; }
::selection { background: var(--burgundy); color: var(--paper); }

@media (max-width: 600px) {
  body { padding: 12px; }
  .menu { min-height: calc(100svh - 24px); padding: 54px 25px 28px; }
  .menu::before { inset: 5px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  h1 { letter-spacing: .07em; }
  .subtitle { font-size: 11px; margin-top: 13px; }
  .ornament { margin: 29px 0 27px; font-size: 24px; }
  .piece { padding: 12px 0; }
  .pieces { margin-bottom: 43px; }
}

@media print {
  body { padding: 0; }
  body::before { display: none; }
  .menu { min-height: 95vh; break-inside: avoid; }
}
