:root {
  --paper: #f4f4ee;
  --ink: #1a1b18;
  --muted: #565950;
  --green: #397d08;
  --line: #bfc3b7;
  --display: 'Russo One', Impact, sans-serif;
  --condensed: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 0; scrollbar-gutter: stable; background: var(--paper); }
body { margin: 0; color: var(--ink); line-height: 1.5; background-color: var(--paper); background-image: linear-gradient(#ffffff99, #ffffff99), url('assets/paper.jpg'); background-position: center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.wrap { width: min(1232px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px 22px; border-bottom: 2px solid var(--ink); }
.wordmark { display: inline-flex; align-items: center; font-family: var(--display); font-size: 31px; line-height: 1; letter-spacing: -.07em; text-decoration: none; transform: skew(-6deg); }
.wordmark span { color: var(--paper); background: var(--green); font-size: .68em; letter-spacing: -.04em; padding: 4px 6px 5px 3px; margin-left: 2px; }
.masthead-caption { font-family: var(--condensed); font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 32px 34px; }
.eyebrow { margin: 0 0 4px 6px; font: 500 14px var(--condensed); text-transform: uppercase; letter-spacing: .14em; }
h1 { position: relative; margin: 0; font: 400 clamp(90px, 12.5vw, 184px)/1 var(--display); letter-spacing: -.075em; transform: skew(-4deg); }
h1::after { position: absolute; inset: 0; content: ''; pointer-events: none; background: url('assets/paper.jpg') center/600px; mix-blend-mode: screen; opacity: .07; }
.hero-note { align-self: stretch; padding: 14px 2px 0 32px; border-left: 1px solid var(--ink); min-width: 225px; position: relative; }
.edition { display: inline-block; padding: 4px 9px; background: var(--green); color: white; font: 500 13px var(--condensed); letter-spacing: .08em; transform: rotate(-3deg); }
.hero-note p { margin: 18px 50px 0 0; font: 500 22px/1.3 var(--condensed); }
.hero-arrow { position: absolute; bottom: 0; right: 4px; color: var(--green); font: 400 72px/1 var(--condensed); }
.menu-tools { position: sticky; top: 0; z-index: 10; border-block: 2px solid var(--ink); background: var(--paper); background-image: linear-gradient(#f4f4eecf,#f4f4eecf), url('assets/paper.jpg'); background-size: 1000px auto; }
.tools-inner { display: flex; align-items: center; gap: 28px; padding-block: 13px; }
.category-nav { display: flex; gap: 26px; align-items: center; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { display: flex; align-items: center; min-height: 44px; flex: none; padding-block: 9px; font: 500 18px/1.2 var(--condensed); text-decoration: none; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; }
.category-nav a:hover, .category-nav a[aria-current] { color: var(--green); border-color: currentColor; }
.search { position: relative; display: flex; align-items: center; flex: 0 0 226px; min-height: 44px; gap: 10px; padding: 4px 44px 4px 12px; border: 1px solid #757a6a; background: #ffffff8f; }
.search:focus-within { border-color: var(--green); }
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 5px 0; background: transparent; border-radius: 0; color: var(--ink); font: 400 16px var(--condensed); }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search button { position: absolute; right: 0; top: 0; width: 44px; height: 100%; min-height: 44px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--ink); }
.menu-caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font: 400 13px var(--condensed); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.category { padding-top: 54px; scroll-margin-top: 110px; }
.category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.category-heading > div { display: flex; align-items: baseline; gap: 16px; }
.section-number { flex: none; color: var(--green); font: 500 18px var(--condensed); }
h2 { margin: 0; font: 400 clamp(26px, 3.1vw, 42px)/1.2 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.category-heading > p { margin: 0; color: var(--muted); font: 400 15px var(--condensed); }
.group-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 64px; row-gap: 44px; align-items: start; }
.menu-group { min-width: 0; }
.group-heading { margin-bottom: 20px; border-bottom: 3px solid var(--green); }
h3 { display: inline-block; margin: 0; padding: 7px 12px 8px; max-width: 100%; background: var(--green); color: white; font: 400 20px/1.3 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.menu-list { margin: 0; padding: 0; list-style: none; }
.menu-item { margin: 0; padding-block: 11px; border-bottom: 1px solid #bdc3b085; }
.item-line { display: flex; align-items: baseline; gap: 10px; }
.item-name { min-width: 0; font: 500 23px/1.2 var(--condensed); text-transform: uppercase; overflow-wrap: anywhere; }
.item-leader { flex: 1 0 16px; height: 1px; border-bottom: 1px dotted #89937d; opacity: .65; }
.item-price { flex: none; color: var(--green); font: 500 25px/1.2 var(--condensed); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rouble { font-size: .55em; }
.item-detail { margin: 10px 0 0; color: #3d4238; font: 400 16px/1.7 'Manrope', Arial, Helvetica, sans-serif; overflow-wrap: anywhere; }
.spicy-marker { display: inline-block; white-space: nowrap; font: .9em 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; vertical-align: baseline; }
.source-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font: 400 13px var(--condensed); color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.source-link:hover { color: var(--green); }
.source-link span { font-size: 18px; }
.empty-state { text-align: center; padding: 80px 16px; }
.empty-state h2 { font-size: 28px; }
.empty-state button { min-height: 44px; padding: 10px 18px; background: var(--green); color: white; border: 0; font: 500 17px var(--condensed); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 2px solid var(--ink); margin-top: 72px; padding-block: 30px 40px; }
.footer .wordmark { font-size: 24px; }
.footer p { margin: 0; color: var(--muted); font: 400 14px var(--condensed); }
.back-top { font: 500 16px var(--condensed); text-underline-offset: 5px; }
@media(min-width:1600px) { .wrap { width: min(1320px, calc(100% - 128px)); } .group-grid { column-gap: 80px; } }
@media(max-width:1050px) { .wrap { width: calc(100% - 56px); } .tools-inner { gap: 20px; } .category-nav { gap: 20px; } .search { flex-basis: 190px; } .group-grid { column-gap: 36px; } .category-heading > p { display: none; } .hero-note { min-width: 200px; } }
@media(max-width:760px) {
  html { scroll-padding-top: 0; }
  .wrap { width: calc(100% - 36px); }
  .masthead { padding-block: 22px 18px; }
  .masthead .wordmark { font-size: 26px; }
  .masthead-caption { font-size: 12px; letter-spacing: .03em; }
  .hero { padding-block: 27px 30px; }
  h1 { font-size: clamp(86px, 19.5vw, 142px); }
  .eyebrow { font-size: 11px; letter-spacing: .09em; margin-left: 3px; }
  .hero-note { min-width: 0; border: 0; padding: 0; align-self: center; }
  .hero-note p, .hero-arrow { display: none; }
  .edition { font-size: 11px; writing-mode: vertical-rl; padding: 9px 5px; }
  .tools-inner { flex-direction: column; align-items: stretch; gap: 7px; padding-block: 8px; }
  .category-nav { gap: 23px; flex: auto; }
  .category-nav a { font-size: 17px; padding-block: 6px; }
  .search { flex: auto; min-height: 44px; }
  .search input { padding-block: 2px; }
  .menu-caption { font-size: 11px; padding-top: 18px; gap: 10px; }
  .category { padding-top: 38px; scroll-margin-top: 138px; }
  .category-heading { margin-bottom: 22px; padding-bottom: 12px; }
  .category-heading > div { gap: 12px; }
  h2 { font-size: clamp(23px, 6.2vw, 34px); }
  .section-number { font-size: 15px; }
  .group-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  h3 { font-size: 18px; padding: 6px 10px; }
  .group-heading { margin-bottom: 10px; }
  .item-name { font-size: 22px; }
  .item-price { font-size: 24px; }
  .item-line { gap: 8px; }
  .item-detail { font-size: 16px; }
  .footer { flex-wrap: wrap; margin-top: 48px; gap: 18px; padding-block: 24px 30px; }
  .footer p { order: 3; width: 100%; font-size: 13px; }
}
@media(max-width:360px) { .hero-note { display: none; } .hero { gap: 0; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
@media print { .menu-tools, .source-link, .skip-link, .back-top { display: none; } body { background: white; } .wrap { width: 100%; } .menu-group { break-inside: avoid; } }
.dialog-open { overflow: hidden; }
html.viewer-open { scrollbar-gutter: auto; overflow: hidden; }
.menu-dialog { position: fixed; inset: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: white; overflow: hidden; }
.menu-dialog::backdrop { background: #080c09ed; backdrop-filter: blur(3px); }
.viewer-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; }
.viewer-stage:focus-visible { outline: 2px solid #ffffff80; outline-offset: -4px; }
.viewer-stage.is-zoomed { cursor: grab; }
.viewer-stage.is-zoomed.is-dragging { cursor: grabbing; }
.viewer-stage img { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.viewer-controls { position: absolute; z-index: 2; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); display: flex; gap: 6px; }
.menu-dialog button { width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff40; border-radius: 50%; background: #111914c4; color: white; font: 400 28px/1 Arial, sans-serif; display: grid; place-items: center; }
.menu-dialog button:hover { background: #334b38e8; }
.menu-dialog button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.menu-dialog button:disabled { opacity: .35; cursor: default; }
.viewer-page { position: absolute; z-index: 2; top: calc(50% - 22px); }
.viewer-prev { left: 14px; }
.viewer-next { right: 14px; }
.viewer-count { position: absolute; z-index: 2; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 6px 12px; border-radius: 24px; background: #111914c4; color: white; font: 400 14px/1.5 'Manrope', Arial, sans-serif; }
.viewer-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 16px; max-width: calc(100% - 32px); background: #111914d9; color: white; font: 400 16px/1.6 'Manrope', Arial, sans-serif; text-align: center; }
@media(max-width:600px) {
  .viewer-page { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); }
  .viewer-prev { left: calc(50% - 92px); }
  .viewer-next { right: calc(50% - 92px); }
}
@media print { .menu-dialog { display: none !important; } }
