@font-face {
  font-family: Figtree;
  src: url("/assets/fonts/figtree-var-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Figtree;
  src: url("/assets/fonts/figtree-var-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --ground: #f2f8ff;
  --surface: #fff;
  --ink: #0c243f;
  --black: #17181a;
  --muted: #40536a;
  --line: #c9d9ec;
  --line-strong: #a8bed7;
  --blue: #a9c8ff;
  --focus: #285ba0;
  --tick: #c3244e;
  --radius: 20px;
  --font: Figtree, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding: 1.5rem 0 7rem; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 1rem/1.5 var(--font); }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.frame { width: min(calc(100% - 72px), 1200px); margin-inline: auto; }
.skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 5; padding: .65rem 1rem; background: var(--surface); transform: translateY(-150%); }
.skip:focus { transform: none; }

.masthead { display: flex; justify-content: center; padding: 16px 16px 0; }
.masthead-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 56px; max-width: 100%; padding: 0 10px 0 24px;
  border-radius: 999px; background: var(--black); color: var(--ground);
  box-shadow: 0 12px 32px -16px #0c243f8c;
}
.brand { display: flex; flex: 0 0 auto; align-items: center; }
.brand img { display: block; width: 100px; height: 32px; }
.masthead nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 24px); }
.masthead nav a, .language { font-size: .835rem; font-weight: 600; text-decoration: none; }
.masthead nav a { color: #d0d7e4; text-transform: uppercase; }
.masthead nav a:hover { color: #fff; }
.language { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 13px; border: 1px solid #657082; border-radius: 999px; }
.language:hover { background: #303743; }
.masthead a:focus-visible, .selection button:focus-visible { outline-color: var(--blue); }

.hero { text-align: center; padding-top: clamp(3rem, 6vw, 4.65rem); color: var(--black); }
.hero h1 { margin: 0; font-size: clamp(2.75rem, 6vw, 4rem); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.hero-copy > p { max-width: 710px; margin: 1.45rem auto 0; font-size: clamp(1.12rem, 2.1vw, 1.25rem); line-height: 1.5; }
.primary {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: .7rem 1.75rem; border: 1px solid transparent; border-radius: 999px;
  background: var(--black); color: var(--ground); text-decoration: none; font-weight: 500;
}
.primary:hover { background: #303743; }
.hero .primary { margin-top: 1.85rem; }
.result { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; margin-top: 1.85rem; padding: .9rem 1rem 1rem; border-top: 1px solid var(--line-strong); font-size: .95rem; }
.result strong { font-weight: 650; }
.result strong::before { content: "✓"; color: var(--tick); margin-right: .45rem; font-weight: 800; }

.menu-band { background: var(--blue) url("/assets/hero-band.webp") center / cover no-repeat; }
.menu-index { padding-block: 1.75rem 1.9rem; }
.menu-index > p { margin: 0 0 .8rem; font-size: 1.25rem; font-weight: 650; color: var(--black); letter-spacing: -.01em; }
.menu-index ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.menu-index a {
  display: flex; min-height: 54px; height: 100%; justify-content: space-between; align-items: center; gap: .7rem;
  padding: .65rem .95rem; border: 1px solid #fff9; border-radius: 14px;
  background: #f2f8fff2; color: var(--ink); font-weight: 600; text-decoration: none;
}
.menu-index a:hover { background: #fff; box-shadow: 0 3px 14px #0c243f24; }

.course { padding-top: 2.75rem; }
.course h2 { margin: 0 0 1rem; font-size: clamp(1.65rem, 3.1vw, 2.5rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dish {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-width: 0;
  padding: clamp(1.1rem, 2.7vw, 1.65rem); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); scroll-margin-block: .25rem;
}
.dish.is-selected { background: #e7f1ff; border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.dish h3 { margin: 0 0 .32rem; color: var(--ink); font-size: 1.35rem; font-weight: 650; line-height: 1.22; letter-spacing: -.018em; }
.dish-main p { margin: 0; max-width: 53ch; color: var(--muted); }
.ingredients > p { margin: 0 0 .35rem; font-size: .835rem; font-weight: 650; }
.ingredients ul { display: flex; flex-wrap: wrap; gap: .3rem .4rem; list-style: none; margin: 0; padding: 0; }
.ingredients li { border: 1px solid var(--line); border-radius: 999px; background: var(--ground); padding: .14rem .6rem; font-size: .83rem; }
.pick, .copy, .clear { border-radius: 999px; font-weight: 600; }
.pick {
  display: inline-flex; justify-content: space-between; align-items: center; gap: .7rem;
  min-height: 41px; margin-top: auto; padding: .46rem .95rem;
  border: 1px solid var(--line-strong); color: var(--ink); background: transparent;
}
.pick:hover { background: var(--ground); border-color: var(--focus); }
.pick[aria-pressed=true] { background: var(--black); border-color: var(--black); color: var(--ground); }

.selection { position: fixed; inset: auto 0 0; z-index: 2; background: var(--black); color: var(--ground); box-shadow: 0 -6px 28px #0c243f30; }
.selection-inner { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-block: .65rem; }
.selected-copy { display: grid; gap: .1rem; min-width: 0; }
.selected-copy > span { font-size: .8rem; color: #b9c8de; }
.selected-copy strong { font-size: 1.08rem; line-height: 1.25; }
.selection-actions { display: flex; gap: .55rem; align-items: center; flex-shrink: 0; }
.copy { min-height: 42px; padding: .5rem .9rem; border: 1px solid transparent; background: #cce0ff; color: var(--black); }
.copy:hover { background: #e3eeff; }
.clear { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; font-size: 1.35rem; line-height: 1; background: transparent; color: var(--ground); border: 1px solid #657082; }
.clear:hover { background: #303743; }
.footer { margin-block: 2.5rem 3.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.has-selection .footer { margin-bottom: 8rem; }
.copy-fallback { width: min(90vw, 32rem); border: 1px solid var(--line); border-radius: 14px; background: var(--ground); color: var(--ink); padding: 1rem 1.4rem; }
.copy-fallback::backdrop { background: #0c243f66; }
.copy-fallback textarea { width: 100%; margin-bottom: .8rem; padding: .7rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); resize: vertical; font: inherit; }
@media (max-width: 850px) {
  .frame { width: calc(100% - 48px); }
  .menu-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .frame { width: calc(100% - 32px); }
  .masthead { padding-top: 12px; }
  .masthead-inner { gap: 16px; min-height: 49px; padding-left: 16px; }
  .brand img { width: 84px; height: auto; }
  .masthead nav { gap: 14px; }
  .masthead nav a, .language { font-size: .75rem; }
  .masthead nav a:last-child { display: none; }
  .language { padding-inline: 10px; min-height: 33px; }
  .hero { padding-top: 3.1rem; }
  .hero-copy > p { margin-top: 1rem; }
  .hero .primary { margin-top: 1.35rem; }
  .result { margin-top: 1.45rem; }
  .menu-index { padding-block: 1.2rem 1.35rem; }
  .menu-index ul { gap: 8px; }
  .menu-index a { min-height: 47px; padding: .45rem .65rem; font-size: .88rem; line-height: 1.25; }
  .course { padding-top: 1.85rem; }
  .course h2 { margin-bottom: .75rem; }
  .items { grid-template-columns: 1fr; gap: 10px; }
  .dish { gap: .8rem; }
}
@media (max-width: 370px) {
  .masthead-inner { gap: 12px; }
  .selection-actions { gap: .35rem; }
  .selection .copy { padding-inline: .65rem; font-size: .86rem; }
  .clear { width: 34px; }
}
