/* The light mark sits over the film. The full-screen contents open as a native dialog. */
:root { --gutter: clamp(22px, 4.7vw, 84px); }
html { scrollbar-gutter: stable; }
html.menu-open { overflow: hidden; }
.mast { position: absolute; inset: 0 0 auto; z-index: 4; color: #fff6e8; background: linear-gradient(180deg, #19130dcc, #1b16153d 74%, transparent); }
.mast-inner { width: min(100%, 1840px); min-height: 104px; padding: 15px var(--gutter); margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.mast-logo { display: grid; place-items: center; min-height: 54px; }
.mast-logo img { width: 77px; height: 55px; }
.wayfinder, .mast-visit, .menu-close { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; line-height: 1; min-height: 48px; }
.wayfinder { justify-self: start; padding: 4px 6px 4px 0; }
.two-lines { position: relative; width: 27px; height: 9px; border-top: 1px solid; }
.two-lines::after { content: ''; position: absolute; width: 17px; height: 1px; background: currentColor; top: 7px; left: 0; transition: width .2s; }
.wayfinder:hover .two-lines::after { width: 27px; }
.mast-visit { border: 1px solid #f3e9dd85; padding: 0 21px; border-radius: 1px; justify-self: end; }
.mast-visit:hover { color: #35291f; background: var(--milk); }
.mast :focus-visible { outline-color: white; }
.film-layout { padding-top: clamp(130px, 18svh, 210px); min-height: clamp(660px, 94svh, 980px); }
.film-hero .film-title { line-height: 1.04; }
.film-foot { border-color: #f3e9dd66; }
.nav-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; color: var(--brown); background: var(--milk); overflow-y: auto; }
.nav-dialog::backdrop { background: #281f18bd; }
.nav-dialog[open] .menu-sheet { animation: enter-menu .3s ease-out; }
@keyframes enter-menu { from { opacity: .2; transform: translateY(-9px); } to { opacity: 1; transform: none; } }
.menu-sheet { width: min(100%, 1760px); padding: 0 var(--gutter) 36px; margin: auto; }
.menu-upper { min-height: 105px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.menu-close { justify-self: start; padding: 0 8px 0 0; }
.menu-close span { font-family: Arial,sans-serif; font-size: 29px; font-weight: 300; }
.menu-place { text-align: right; font-size: 12px; }
.menu-fold { display: grid; grid-template-columns: 1fr .87fr; align-items: stretch; gap: clamp(35px, 8vw, 140px); padding-top: clamp(38px, 6svh, 88px); }
.menu-page { display: flex; flex-direction: column; justify-content: center; padding: 0 0 12px; }
.menu-page h2 { font: 500 12px/1.5 var(--body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: clamp(28px, 5vh, 68px); }
.menu-page nav { border-top: 1px solid var(--line); }
.menu-page nav a { display: grid; grid-template-columns: 35px minmax(0, 1fr) 24px; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line); padding: clamp(15px, 2.3vh, 35px) 0; }
.menu-page nav a span { font: 400 clamp(33px, 4.4vw, 77px)/1.1 var(--display); letter-spacing: -.025em; transition: transform .2s; }
.menu-page nav small { font: 500 12px/1.4 var(--body); }
.menu-page nav i { font: normal 20px/1 var(--body); align-self: center; color: var(--olive); }
.menu-page nav a:hover span { transform: translateX(5px); }
.menu-imprint, .nav-plate figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.menu-imprint { margin-top: clamp(32px, 8vh, 126px); }
.nav-plate img { width: 100%; height: clamp(290px, 58svh, 620px); object-fit: cover; object-position: 43% center; }
.nav-plate figcaption { padding-top: 12px; }
.colophon { background: #463529; color: var(--milk); padding: clamp(42px, 7vw, 104px) var(--gutter) 24px; }
.colophon-main, .colophon-small { max-width: 1600px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.colophon-main { padding-bottom: clamp(32px, 5vw, 75px); }
.colophon-main p { font: 400 clamp(24px, 2.6vw, 48px)/1.25 var(--display); margin-right: auto; }
.colophon-main p span { font: 400 14px/1.6 var(--body); }
.colophon-main nav { display: grid; gap: 4px; font-size: 15px; }
.colophon-main nav a, .colophon-small a, .colophon-small button { min-height: 44px; display: flex; align-items: center; }
.colophon-main a:hover, .colophon-small a:hover, .colophon-small button:hover { text-decoration: underline; text-underline-offset: 5px; }
.colophon-small { border-top: 1px solid #f3e9dd55; padding-top: 13px; font-size: 12px; }
.colophon-small button { color: inherit; padding: 0; }
@media(max-width:700px) {
  .mast-inner, .menu-upper { min-height: 79px; padding-block: 10px; }
  .mast-logo img, .menu-upper img { width: 57px; height: 42px; }
  .wayfinder, .mast-visit, .menu-close { min-height: 44px; font-size: 12px; gap: 7px; }
  .mast-visit { border: 0; padding: 0 0 0 4px; }
  .two-lines { width: 18px; } .two-lines::after { width: 12px; }
  .film-layout { min-height: clamp(605px, 95svh, 890px); padding-top: clamp(225px, 34svh, 375px); padding-bottom: 15px; }
  .menu-sheet { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .menu-upper { grid-template-columns: 1fr auto 1fr; }
  .menu-place { font-size: 0; } .menu-place::after { content: 'Волжский'; font-size: 12px; }
  .menu-fold { grid-template-columns: 1fr; gap: 22px; padding-top: 27px; }
  .menu-page { padding: 0; }
  .menu-page h2 { margin-bottom: 18px; }
  .menu-page nav a { grid-template-columns: 24px minmax(0, 1fr) 18px; padding-block: 16px; }
  .menu-page nav a span { font-size: clamp(27px, 8.8vw, 47px); }
  .menu-imprint { display: none; }
  .nav-plate img { height: clamp(110px, 25svh, 220px); object-position: 50% 51%; }
  .nav-plate figcaption { padding-top: 8px; font-size: 11px; }
  .colophon { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .colophon-main { display: grid; grid-template-columns: 72px 1fr; gap: 22px 18px; }
  .colophon-main p { font-size: 23px; } .colophon-main p span { font-size: 12px; display: block; margin-top: 5px; }
  .colophon-main nav { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 5px 17px; font-size: 13px; }
  .colophon-small { gap: 12px; }
  .mobile-book.at-hero { visibility: hidden; }
}
@media(prefers-reduced-motion:reduce) { .nav-dialog[open] .menu-sheet { animation: none; } .menu-page nav a span, .two-lines::after { transition: none; } }

