@font-face { font-family: 'Trayway Currency'; src: url('/menu/fonts/currency-ruble.ttf') format('truetype'); font-weight: 100 900; unicode-range: U+20BD; }
@font-face { font-family: 'URW Gothic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/menu/fonts/URWGothic-Demi.otf') format('opentype'); }
@font-face { font-family: 'rubik'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/menu/fonts/rubik-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: 'rubik'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/menu/fonts/rubik-cyrillic-wght-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-052F,U+2116; }


:root {
  --ink: #252321;
  --accent: #564237;
  --cream: #f3efe7;
  --surface: #fffcf6;
  --line: #c7b9a6;
  --heading: 'URW Gothic', rubik, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.5 rubik, sans-serif; }
main { max-width: 54rem; margin: auto; padding: 0 clamp(1rem, 4vw, 2rem) 2.5rem; }
nav { position: sticky; top: 0; z-index: 1; padding: max(.75rem, env(safe-area-inset-top)) 0 .75rem; background: var(--cream); }
.back { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); font-weight: 500; text-decoration: none; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #813e29; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1 { margin: clamp(.65rem, 2vw, 1.5rem) 0 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
  font: 600 clamp(1.75rem, 4.6vw, 2.75rem)/1.15 var(--heading); letter-spacing: -.035em; }
.inlineWordmark { height: .96em; width: auto; vertical-align: -.19em; }
h2 { margin: 1.45rem 0 .6rem; font: 600 clamp(1.15rem, 2.2vw, 1.45rem)/1.2 var(--heading); letter-spacing: -.02em; }
ul { list-style: none; margin: 0; padding: 0 clamp(1rem, 3vw, 1.5rem); background: var(--surface);
  border: 1px solid var(--line); border-radius: .8rem; }
li { padding: .78rem 0; }
li + li { border-top: 1px solid #e5dccf; }
li a { font-weight: 600; }
body.reading main { height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding-bottom: max(.5rem, env(safe-area-inset-bottom)); }
iframe { width: 100%; flex: 1; min-height: 0; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); }
