@font-face { font-family: Barlow; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Castoro; src: url("fonts/castoro.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --paper: #f8f5ed; --ink: #221f19; --soft: #605b50; --line: #cbc6bb;
  --dark: #201d19; --white: #fffdf5; --accent: #8d3728;
  --edge: clamp(23px,5.25vw,88px);
  --body: Barlow, Arial, sans-serif; --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --serif: Castoro, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font: 600 1.5rem/1 var(--display); }
h2 { font-size: clamp(40px,4.6vw,70px); letter-spacing: -.027em; }
a { color: inherit; text-decoration: none; }
button, summary { color: inherit; font: inherit; cursor: pointer; }
button { appearance: none; -webkit-appearance: none; }
:where(a,button,summary,[tabindex]):focus-visible { outline: 2px solid #a74228; outline-offset: 4px; box-shadow: 0 0 0 2px var(--white); }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--edge)*2),1300px); margin-inline: auto; }
.icon { width: 19px; height: 19px; display: inline-block; flex: none; }
.skip, .sr-only { position: absolute; height: 1px; width: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 15; left: 8px; top: 8px; height: auto; width: auto; clip-path: none; padding: 8px 12px; background: white; color: black; }
::selection { background: #e3b39d; color: #241911; }

.masthead { position: relative; z-index: 7; color: var(--white); background: var(--dark); }
.home-page .masthead { position: absolute; inset: 0 0 auto; background: transparent; }
.head-inner { width: min(calc(100% - clamp(40px,5.5vw,100px)),1680px); min-height: 78px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { width: 58px; }
.brand img { width: 100%; height: auto; }
.home-link { width: fit-content; display: inline-flex; min-height: 44px; align-items: center; font: 600 16px/1.2 var(--display); text-transform: uppercase; letter-spacing: .035em; text-shadow: 0 1px 4px #160e08, 0 0 9px #160e08; }
.home-link:hover { text-decoration: underline; text-underline-offset: .26em; }
.primary-links, .head-actions { display: flex; align-items: center; }
.primary-links { justify-content: center; gap: clamp(14px,1.8vw,28px); padding: 0 18px; }
.home-page .primary-links { padding-inline: clamp(18px,2.1vw,32px); background: #15130fe8; border: 1px solid #fff5e82e; border-radius: 22px; }
.nav-link, .head-book, .film-action, .chip, .gallery-step, .kitchen-link, .text-link {
  font: 600 16px/1.2 var(--display); letter-spacing: .035em;
}
.primary-links .nav-link, .head-actions, .film-action, .gallery-step, .chip { text-transform: uppercase; }
.nav-link { display: inline-flex; align-items: center; min-height: 42px; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current], .footer-main a:hover, .footer-social:hover { text-decoration: underline; text-underline-offset: .26em; }
.head-actions { gap: 12px; justify-self: end; }
.head-lunch { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px 16px; background: #fbf2df; color: #772d23; border: 1px solid #ede1c8; border-radius: 2px; font: 600 17px/1.15 var(--display); letter-spacing: .04em; white-space: nowrap; }
.head-lunch:hover { background: #fffaf0; text-decoration: underline; text-underline-offset: 4px; }
.book-short, .hamburger, .mobile-panel { display: none; }
.hamburger { place-items: center; min-width: 43px; min-height: 43px; background: none; border: 0; }
.hamburger .icon { width: 25px; height: 25px; }
.hamburger .icon:last-child, .hamburger[aria-expanded="true"] .icon:first-child { display: none; }
.hamburger[aria-expanded="true"] .icon:last-child { display: block; }
.button, .film-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; min-height: 45px; border-radius: 27px; padding: 11px 24px; text-align: center; font: 600 16px/1.2 var(--display); text-transform: uppercase; letter-spacing: .045em; }
.button { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.button:hover { background: #514335; border-color: #514335; }
.masthead .head-book { min-height: 38px; padding: 7px 16px; border: 1px solid #fff9e8a8; }
.masthead .head-book:hover { background: var(--white); color: var(--ink); }
.text-link, .kitchen-link, .related-link { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; width: fit-content; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link:hover, .kitchen-link:hover, .related-link:hover { text-decoration-thickness: 2px; }

.film { position: relative; isolation: isolate; overflow: hidden; height: clamp(450px,min(89svh,calc(100svh - clamp(120px,11vw,160px))),940px); color: var(--white); background: #25170f; display: grid; place-items: center; }
.film-backdrop, .film-backdrop picture, .film-backdrop video, .film-backdrop::after { position: absolute; inset: 0; }
.film-backdrop { z-index: -1; }
.film-backdrop picture { display: block; }
.film-backdrop img, .film-backdrop video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.film-loop { opacity: 0; pointer-events: none; }
.film-loop.has-frame { opacity: 1; }
.film-backdrop::after { content: ""; pointer-events: none; background: linear-gradient(180deg,#120d062c,transparent 26%,transparent 69%,#120d0674), radial-gradient(ellipse 43% 32% at 50% 48%,#170f082e,transparent); }
.film-center { position: relative; z-index: 1; pointer-events: none; width: min(78%,605px); margin-top: 9px; display: grid; justify-items: center; text-align: center; }
.film-center h1 { width: clamp(160px,26svh,236px); }
.film-center h1 img { width: 100%; height: auto; }
.film-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px,2.2vw,30px); }
.film-action { pointer-events: auto; min-width: 126px; min-height: 47px; padding: 11px 24px; border: 1px solid transparent; }
.reserve-action { background: var(--white); color: var(--ink); }
.carte-action { background: #1b1814de; border-color: #fff8ed80; color: var(--white); }
.reserve-action:hover { background: #efdfc9; }
.carte-action:hover { background: #0d0b08; border-color: var(--white); }
.film-control { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; border-radius: 0; -webkit-tap-highlight-color: transparent; }
.film-control:focus-visible { outline: 2px solid var(--white); outline-offset: -5px; box-shadow: none; }

/* Menu du midi, laid out like the restaurant’s printed sheet. */
.daily { --lunch-ink: #78372a; --lunch-rule: #c8bba7; background: #f7f0e3; color: var(--ink); }
.daily-inner { max-width: 1120px; padding-block: clamp(28px,3.5vw,52px) clamp(32px,4.4vw,68px); }
.daily-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 25px; padding-bottom: clamp(16px,1.7vw,25px); border-bottom: 2px solid var(--lunch-ink); }
.daily-heading h2 { font: 400 clamp(47px,6.2vw,83px)/.98 var(--serif); letter-spacing: -.058em; color: var(--lunch-ink); }
.daily-service { margin-top: 8px; font: 400 16px/1.38 var(--body); }
.daily-carte { flex: none; color: var(--lunch-ink); font-size: 17px; }
.daily-current { display: grid; grid-template-columns: minmax(170px,.65fr) minmax(0,1.7fr); gap: clamp(24px,5vw,72px); align-items: start; padding-block: clamp(22px,2.7vw,38px); border-bottom: 1px solid var(--lunch-ink); }
.today-label, .week-title { font: 600 15px/1.25 var(--display); text-transform: uppercase; letter-spacing: .095em; }
.today-label { margin-bottom: 4px; color: var(--lunch-ink); }
.lunch-date h3 { font: 400 clamp(32px,3.4vw,50px)/1.12 var(--serif); letter-spacing: -.045em; }
.lunch-date time { display: block; margin-top: 3px; font: 400 18px/1.3 var(--body); letter-spacing: 0; }
.lunch-starter { color: #5e5043; font: italic 17px/1.45 Georgia,serif; }
.lunch-dishes, .house-pizzas { list-style: none; padding: 0; }
.lunch-dishes li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 10px 20px; padding: 7px 0; font: 400 clamp(18px,1.45vw,22px)/1.32 var(--serif); letter-spacing: -.016em; }
.lunch-dishes li + li { border-top: 1px dotted var(--lunch-rule); }
.lunch-dishes li:last-child { padding-bottom: 0; }
.lunch-dishes b { color: #483a2f; font: 600 16px/1.3 var(--body); font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.today-meal .lunch-starter { font-size: 19px; margin-bottom: 3px; }
.today-meal .lunch-dishes li { font-size: clamp(22px,2.05vw,31px); padding-block: 8px; }
.today-meal .lunch-dishes li:last-child { padding-bottom: 0; }
.today-meal .lunch-dishes b { font-size: 19px; }
.lunch-message { padding-block: 4px; font: 400 clamp(21px,2.2vw,32px)/1.3 var(--serif); }
.week-menu { padding-top: 20px; }
.week-title { color: var(--soft); margin-bottom: 5px; }
.week-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(28px,6vw,82px); }
.week-day { min-width: 0; padding-block: 15px 20px; border-bottom: 1px solid var(--lunch-rule); }
.week-day h4 { margin-bottom: 5px; color: var(--lunch-ink); font: 600 clamp(23px,1.9vw,30px)/1.12 var(--display); }
.daily-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 18px; margin-top: 14px; color: var(--soft); font-size: 14px; }
.daily-source { margin-left: auto; }
.gallery-step:disabled { cursor: default; opacity: .5; }

.kitchen-story { background: var(--dark); color: var(--white); }
.kitchen-spread { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(35px,7vw,115px); padding-block: clamp(40px,5.6vw,87px); }
.kitchen-copy h2 { margin: 0 0 17px; }
.kitchen-copy p { max-width: 42ch; color: #e7e1d7; font: 400 clamp(18px,1.45vw,22px)/1.55 var(--serif); }
.house-pizzas { max-width: 520px; padding-top: 18px; margin-bottom: 12px; }
.house-pizzas li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #fff9eb40; padding: 7px 0; font: 600 22px/1.3 var(--display); }
.house-pizzas li span:last-child { align-self: center; white-space: nowrap; font: 400 15px var(--body); font-variant-numeric: tabular-nums; }
.kitchen-spread figure img { width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; }
.house { padding-block: clamp(48px,6vw,91px); }
.house-head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.gallery-controls { display: flex; align-items: center; gap: 15px; }
.gallery-count { color: var(--soft); white-space: nowrap; font-size: 14px; }
.gallery-step { min-height: 36px; padding: 2px 0; background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.gallery-scroll { display: flex; gap: clamp(12px,1.7vw,27px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #b0aaa0 transparent; padding: 3px 0 10px; }
.slide { min-width: 0; flex: 0 0 41%; scroll-snap-align: start; }
.slide:nth-child(2n) { flex-basis: 32%; }
.gallery-image { display: block; cursor: zoom-in; }
.gallery-image img { width: 100%; height: clamp(200px,22vw,355px); object-fit: cover; }

.visit { display: grid; grid-template-columns: 1.05fr .95fr 1fr; gap: clamp(23px,4.5vw,75px); border-top: 1px solid var(--line); padding-block: clamp(39px,5.2vw,79px); }
.visit-title h2 { margin-bottom: 18px; max-width: 10ch; }
.visit h3, .contact-page h2 { font-size: clamp(27px,2.4vw,36px); margin-bottom: 11px; }
address { font-style: normal; }
.hours > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours > div:first-child { padding-top: 0; }
.hours dt { font-weight: 600; }
.hours dd { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; line-height: 1.38; }
.contact-lines { margin-top: 8px; display: grid; justify-items: start; gap: 3px; }
.contact-lines a { overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; }
footer { background: var(--dark); color: var(--white); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
.footer-logo img { width: 88px; height: auto; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 9px 24px; }
.footer-main nav a, .footer-social { font-size: 15px; }
.footer-bottom { border-top: 1px solid #fff9df38; padding: 12px 0 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #ded9cf; font-size: 13px; }

.chapter-photo { position: relative; isolation: isolate; min-height: 190px; height: clamp(200px,26vw,390px); display: flex; align-items: flex-end; color: var(--white); background: var(--dark); }
.chapter-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#0d0a08ba,transparent 70%); }
.chapter-photo img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.chapter-name { padding-bottom: clamp(19px,2.3vw,36px); }
.chapter-name h1, .not-found h1 { font-size: clamp(58px,7.1vw,112px); letter-spacing: -.04em; line-height: .95; }
.page-vins .chapter-photo img { object-position: 50% 29%; }
.page-carte .chapter-photo img, .page-livraison .chapter-photo img { object-position: 50% 55%; }
.chapter-caption { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 21px; }
.chapter-caption p { max-width: 58ch; font-size: 17px; color: var(--soft); }
.chapter-caption .text-link { flex: none; }
.catalog-nav { position: sticky; z-index: 3; top: 0; background: var(--paper); border-block: 1px solid var(--line); }
.chip-row { display: flex; flex-wrap: wrap; gap: 4px clamp(15px,2.2vw,36px); padding-block: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 37px; }
.chip:hover { text-decoration: underline; text-underline-offset: 5px; }
.catalog, .wine-list { max-width: 1120px; }
.menu-section, .wine-section { padding-top: clamp(32px,4vw,61px); scroll-margin-top: 50px; }
.category-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid #736d62; padding-bottom: 11px; }
.category-head h2 { font-size: clamp(35px,4vw,55px); }
.category-head > span, .category-note, .menu-fine { font-size: 14px; color: var(--soft); }
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(23px,4.4vw,65px); }
.dish { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 12px 0; break-inside: avoid; }
.dish h3 { font: 400 clamp(20px,1.6vw,25px)/1.22 var(--serif); letter-spacing: -.026em; }
.dish p { color: var(--soft); margin-top: 3px; font-size: 15px; line-height: 1.4; }
.price { font: 600 16px var(--body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.category-note { margin-top: 11px; }
.menu-fine { margin: 27px 0; }
.wine-list { margin-bottom: 29px; max-width: 1010px; }
.wine-table { width: 100%; border-collapse: collapse; text-align: left; }
.wine-table tr { border-bottom: 1px solid var(--line); }
.wine-table th, .wine-table td { padding: 10px 0; font-variant-numeric: tabular-nums; }
.wine-table thead th { color: var(--soft); font: 600 15px var(--body); }
.wine-table th:not(:first-child), .wine-table td { text-align: right; white-space: nowrap; }
.wine-table td { width: 12%; padding-left: 8px; }
.wine-table tbody th { font: 400 20px/1.25 var(--serif); }
.wine-table small { display: block; color: var(--soft); margin-top: 3px; font: 400 14px/1.35 var(--body); }
.cave-prints { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 19px; }
.cave-prints img { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; }
.page-carte .daily { scroll-margin-top: 55px; }
.contact-page, .useful-copy { display: grid; gap: clamp(25px,5vw,80px); padding-block: clamp(38px,5.3vw,80px); }
.contact-page { grid-template-columns: .9fr 1fr 1fr; }
.contact-page .button { margin-top: 16px; }
.contact-page .contact-lines { margin-top: 0; }
.related-wrap { border-top: 1px solid var(--line); }
.related { display: flex; gap: 20px; justify-content: space-between; padding-block: 19px; }
.related-link { font: 600 16px var(--display); }
.useful-copy { grid-template-columns: .83fr 1.17fr; }
.useful-copy h2 { font-size: clamp(33px,3.5vw,54px); }
.useful-copy p { max-width: 52ch; }
.action-row { display: flex; align-items: center; gap: 11px 21px; flex-wrap: wrap; margin-top: 17px; }
.not-found { padding-block: 65px; }
.not-found p { margin: 17px 0; }
.lightbox { max-width: 94vw; width: min(1020px,94vw); max-height: 95dvh; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.lightbox::backdrop { background: #17130fe8; }
.lightbox-frame { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; position: relative; padding: 45px 14px 13px; }
.lightbox figure { grid-column: 1/-1; grid-row: 1; min-width: 0; }
.lb-image { width: 100%; max-height: 71dvh; object-fit: contain; }
.lb-prev { grid-row: 2; justify-self: end; }
.lb-next { grid-row: 2; justify-self: start; }
.lb-close { position: absolute; right: 5px; top: 3px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; }
.has-dialog { overflow: hidden; }

@media(max-width: 1040px) {
  .head-inner { gap: 10px; }
  .primary-links { gap: 14px; padding-inline: 6px; }
  .primary-links .nav-link { font-size: 15px; }
  .head-actions { gap: 7px; }
  .head-lunch { padding-inline: 12px; font-size: 16px; }
  .masthead .head-book { padding-inline: 12px; }
}
@media(max-width: 800px) {
  .head-inner { display: flex; justify-content: space-between; min-height: 65px; gap: 8px; }
  .masthead .brand { flex: 0 1 auto; min-width: 0; }
  .head-actions { flex: none; }
  .primary-links { display: none; }
  .hamburger { display: grid; }
  .head-actions { gap: 9px; }
  .brand:not(.home-link) { width: 46px; }
  .mobile-panel:not([hidden]) { display: grid; position: absolute; inset: 100% 0 auto; grid-template-columns: 1fr 1fr; gap: 3px 19px; padding: 12px var(--edge) 19px; background: #211e19; box-shadow: 0 5px 9px #09060540; }
  .mobile-panel .nav-link { min-height: 41px; border-bottom: 1px solid #fff9df42; white-space: normal; }
  .visit { grid-template-columns: 1fr 1fr; }
  .visit-title { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .visit-title h2 { margin: 0; max-width: none; }
  .footer-main { flex-wrap: wrap; }
  .footer-main nav { order: 2; flex-basis: 100%; }
}
@media(max-width: 740px) {
  :root { --edge: clamp(18px,5.2vw,33px); }
  .film { min-height: 447px; height: min(84svh,760px); }
  .film-center { width: min(84%,500px); }
  .film-center h1 { width: clamp(145px,43vw,192px); }
  .film-actions { margin-top: 25px; gap: 8px; }
  .film-action { min-height: 44px; min-width: 100px; padding: 10px 17px; font-size: 15px; }
  .film-backdrop img, .film-backdrop video { object-position: 50% 50%; }
  .daily-inner { padding-block: 27px 34px; }
  .daily-heading { align-items: flex-end; flex-wrap: wrap; gap: 3px 14px; padding-bottom: 13px; }
  .daily-service { margin-top: 7px; font-size: 15px; }
  .daily-current { grid-template-columns: 1fr; gap: 12px; padding-block: 19px 23px; }
  .lunch-date h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; font-size: 34px; }
  .lunch-date time { display: inline; margin: 0; font-size: 17px; }
  .today-label { font-size: 14px; }
  .today-meal .lunch-starter { font-size: 17px; }
  .today-meal .lunch-dishes li { font-size: 22px; }
  .today-meal .lunch-dishes b { font-size: 17px; }
  .week-grid { grid-template-columns: minmax(0,1fr); }
  .week-menu { padding-top: 17px; }
  .week-day { padding-block: 13px 16px; }
  .lunch-dishes li { gap: 12px; font-size: 18px; }
  .daily-foot { flex-direction: column; }
  .daily-source { margin-left: 0; }
  .kitchen-spread { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 24px; padding-block: 31px 39px; }
  .kitchen-spread figure img { aspect-ratio: 1.68; }
  .kitchen-copy h2 { margin-bottom: 11px; }
  .house-pizzas { padding-top: 11px; }
  .house { padding-block: 37px; }
  .house-head { display: block; margin-bottom: 10px; }
  .gallery-controls { margin-top: 4px; gap: 15px; }
  .gallery-scroll { margin-right: calc(-1*var(--edge)); padding-right: var(--edge); }
  .slide, .slide:nth-child(2n) { flex-basis: 76%; }
  .gallery-image img { height: auto; aspect-ratio: 1.32; }
  .visit h2 { font-size: 38px; }
  .chapter-photo { height: 230px; }
  .chapter-caption { display: grid; gap: 4px; padding-block: 16px; }
  .chip-row { width: 100%; padding-inline: var(--edge); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; gap: 17px; }
  .chip { flex: none; font-size: 15px; }
  .dish-grid, .contact-page, .useful-copy { grid-template-columns: 1fr; }
  .contact-page, .useful-copy { gap: 23px; padding-block: 28px; }
  .related { flex-wrap: wrap; gap: 8px 20px; }
  .wine-table tbody th { font-size: 18px; }
  .cave-prints { gap: 10px; }
  .cave-prints img { aspect-ratio: 1.25; }
  .footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 15px; }
  .footer-logo img { width: 76px; }
}
@media(max-width: 490px) {
  .book-short { display: inline; }
  .book-long { display: none; }
  .visit { grid-template-columns: 1fr; gap: 23px; }
  .visit-title { align-items: start; }
  .visit-title .button { min-width: 86px; padding-inline: 12px; }
  .chapter-photo { height: 184px; }
  .chapter-name h1 { font-size: clamp(49px,12vw,65px); }
  .chapter-caption p { font-size: 16px; }
}
@media(max-width: 355px) {
  .film-actions { gap: 6px; }
  .film-action { font-size: 14px; min-width: 91px; padding-inline: 12px; }
  .visit-title { display: block; }
  .visit-title h2 { margin-bottom: 9px; }
  .head-actions { gap: 3px; }
}
@media(max-height: 520px) and (min-width: 741px) {
  .film { min-height: 365px; height: 96svh; }
  .film-center { width: min(41%,470px); margin-top: 29px; }
  .film-center h1 { width: clamp(110px,31svh,152px); }
  .film-actions { margin-top: 16px; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (min-width: 2000px) {
  .film { height: min(89svh,58vw,calc(100svh - 165px)); }
}
