/* 2026-09-10: шрифты подключены <link> в <head>, а не @import отсюда.
   @import обнаруживается только после разбора style.css, то есть браузер шёл
   за шрифтами на один круг позже — на переходах это давало заметный скачок
   текста. Строку не возвращать. */

/* Плавный переход между страницами. Работает в Chrome/Edge и Safari 18+,
   остальные браузеры просто перейдут как раньше — ничего не сломается.
   Шапка получает имя, поэтому не мигает, а остаётся на месте. */
@view-transition{navigation:auto}
.header{view-transition-name:site-header}
/* 2026-09-15: переход «текст расплывается и собирается» (владелец: «будто текст
   слегка блюрится, распадается и снова сходится уже в новые буквы и страницу»).
   Порядок — как у swup и barba: нажатие → страница СРАЗУ уходит в размытие (класс
   is-leaving ставит app.js, стили в конце pages.css) → пока грузится, виден пар
   загрузки → новая страница выходит из размытия. Браузер снимает кадр старой
   страницы только когда новая уже готова, поэтому уход делаем сами, а браузерный
   переход ниже гасит прежний кадр и проявляет новую страницу за 0.32 с.
   Сдвига вверх-вниз нет: с движением размытие читается как тряска. Шапка не
   размывается (своё имя site-header). 19.10 локальный вариант: blur(3px)
   вместо 8px, короче проявление; прежний вариант сохранён в backup. */
::view-transition-old(root){animation:vt-out .18s cubic-bezier(.4,0,.2,1) both}
::view-transition-new(root){animation:vt-in .32s cubic-bezier(.22,.61,.36,1) both}
@keyframes vt-out{to{opacity:0;filter:blur(3px)}}
@keyframes vt-in{from{opacity:0;filter:blur(3px)}to{opacity:1;filter:blur(0)}}
/* Там, где переходов между страницами нет (iOS до 18.2, Firefox), новая страница
   выходит из размытия сама: класс nav-enter ставит скрипт в <head> (build.py),
   только если гость пришёл по ссылке сайта. Прямое открытие — без анимации. */
html.nav-enter main,html.nav-enter footer{animation:vt-in .32s cubic-bezier(.22,.61,.36,1) both}
/* При внутреннем переходе фото не приближается поверх появления страницы.
   Первое прямое открытие главной сохраняет прежний photo-in. */
html.nav-arrival .hero-photo>img{animation:none}
@media(prefers-reduced-motion:reduce){
 ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
:root{--paper:#22352b;--white:#fffdf4;--ink:#f7f2e4;--muted:#c1caba;--line:#496052;--serif:'Cormorant Garamond',Georgia,serif;--sans:'Manrope',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 var(--sans)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e35148;outline-offset:5px}img{display:block;max-width:100%;object-fit:cover}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.06}h1{font-size:clamp(3.5rem,5.8vw,6.5rem);letter-spacing:-.045em;margin-bottom:26px}h2{font-size:clamp(2.8rem,4vw,4.5rem);letter-spacing:-.035em;margin-bottom:20px}h3{font-size:2.5rem;margin-bottom:12px}em{font-weight:400}.header{height:108px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1440px;padding:0 64px;margin:auto;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:16px;font-size:27px;font-weight:600;line-height:1.25;letter-spacing:.16em;flex-shrink:0}.brand small{display:block;font:10px/2 var(--sans);letter-spacing:.16em}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border:1px solid #9b584a;transform:rotate(45deg);font:italic 29px var(--serif);color:#965141;letter-spacing:0}.desktop-nav{display:flex;gap:26px;font-size:14px}.desktop-nav a{position:relative;padding:9px 0}.desktop-nav a:after{content:'';position:absolute;bottom:2px;left:0;width:100%;height:1px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .25s}.desktop-nav a:hover:after,.desktop-nav a[aria-current]:after{transform:scaleX(1)}.header-phone{font-size:15px;font-weight:600;white-space:nowrap}.header-phone small{display:block;text-align:right;font-size:12px;font-weight:400;color:var(--muted)}.menu-button{display:none}.hero{max-width:1440px;margin:auto;position:relative;display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:22px 64px 48px}.hero-copy{padding:40px 0 0}.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:600;margin-bottom:27px}.hero .lead{font-size:16px;max-width:460px;color:var(--muted);margin-bottom:30px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;border:1px solid transparent;border-radius:5px;padding:16px 23px;font-size:14px;font-weight:600;transition:background .25s,transform .25s}.button:hover{transform:translateY(-2px)}.primary{background:var(--red);color:var(--white)}.button span{font-size:20px}.hero-photo{position:relative;min-height:620px;border-radius:160px 8px 8px 8px;overflow:hidden;background:#554633}.hero-photo>img{width:100%;height:100%;position:absolute;object-position:52% center;animation:photo-in 1.2s ease both}.hero-photo:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#241a1899);pointer-events:none}.photo-label{position:absolute;left:30px;bottom:99px;z-index:1;color:white;font-size:11px;letter-spacing:.15em}.photo-link{position:absolute;bottom:24px;left:24px;right:24px;z-index:1;background:#22352bed;backdrop-filter:blur(8px);padding:20px 24px;border-radius:4px;display:flex;justify-content:space-between;font-size:14px}.hero-side{position:absolute;right:18px;top:43%;writing-mode:vertical-rl;font-size:10px;letter-spacing:.17em}.hero-facts{display:flex;gap:34px;margin-top:40px;padding-top:24px;border-top:1px solid var(--line);max-width:490px}.hero-facts strong{font-family:var(--serif);font-weight:500;font-size:30px;display:block;line-height:1.2}.hero-facts span{font-size:11px;color:var(--muted)}.amenity-strip{display:flex;gap:28px;justify-content:center;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 28px;font-size:13px}.skip{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:12px}.skip:focus{top:12px}footer{background:var(--red);color:var(--paper);padding:50px 64px 24px;margin-top:0}.footer-top,.footer-bottom{max-width:1312px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-top{padding-bottom:40px;border-bottom:1px solid #ffffff30}.footer-top p{font-family:var(--serif);font-size:25px;margin:0}.footer-phone{font-size:21px}.footer-bottom{font-size:12px;padding-top:25px;color:#e7eddd}.footer-bottom>div{display:flex;gap:24px}.mobile-book{display:none}dialog{padding:0;border:0;background:#11251ef5;color:white;width:min(1400px,96vw);max-width:96vw;border-radius:12px}dialog::backdrop{background:#07120eea;backdrop-filter:blur(8px)}.lightbox-close{position:absolute;right:12px;top:12px;z-index:2;width:46px;height:46px;border:0;border-radius:50%;background:#ffffffe8;color:var(--ink)}.lightbox-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}.lightbox-track figure{margin:0;flex:0 0 100%;scroll-snap-align:center}.lightbox-track img{width:100%;height:75vh;height:75dvh;object-fit:contain}.lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px}.lightbox-bottom p{margin:0;font-size:14px;text-align:center}.lightbox-bottom button{background:transparent;border:1px solid #ffffff60;border-radius:50%;color:white;width:45px;height:45px;flex-shrink:0}@keyframes photo-in{from{transform:scale(1.045)}to{transform:scale(1)}}@media(min-width:1000px){.hero-copy{animation:copy-in .85s both}html.nav-arrival .hero-copy{animation:none}}@keyframes copy-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@media(max-width:1150px){.header{padding:0 32px}.desktop-nav{gap:18px}.hero{padding-left:32px;padding-right:32px;gap:24px}.hero-side{display:none}.hero-photo{min-height:590px}.hero-facts{gap:24px}.hero .button{padding:14px 16px;gap:12px}.header-phone{font-size:13px}footer{padding:40px 32px 24px}.footer-top p{display:none}}@media(max-width:850px){.header{height:88px;padding:0 24px}.desktop-nav{display:none}.header-phone{margin-left:auto}.menu-button{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);background:transparent;padding:13px 10px;border-radius:4px}.menu-button span{width:21px;height:1px;background:var(--ink)}#mobile-nav:not([hidden]){display:flex;position:absolute;top:80px;left:12px;right:12px;background:var(--white);border:1px solid var(--line);padding:20px;flex-direction:column;box-shadow:0 15px 30px #1232;border-radius:8px}#mobile-nav a{padding:12px}.hero{padding:12px 24px 32px;gap:24px}.hero-photo{min-height:560px;border-top-left-radius:100px}.hero-copy{padding-top:16px}h1{font-size:3.6rem}.hero-facts{gap:18px;flex-wrap:wrap}.hero-facts strong{font-size:26px}.hero-facts span{font-size:10px}.eyebrow{font-size:10px;letter-spacing:.1em}.hero .lead{font-size:14px}.hero .actions{align-items:stretch;flex-direction:column}.amenity-strip{gap:14px;font-size:12px}.footer-bottom{flex-wrap:wrap}}@media(max-width:600px){.header{height:80px;padding:0 20px}.brand{font-size:22px;gap:13px}.brand-mark{width:31px;height:31px;font-size:24px}.brand small{font-size:8px}.header-phone{display:none}.menu-button{margin-left:auto}.hero{display:flex;flex-direction:column;padding:6px 20px 28px;gap:28px}.hero-copy{padding:16px 0 0}.hero h1{font-size:4.4rem;line-height:.99;margin-bottom:22px}.hero .lead{font-size:15px;max-width:100%}.eyebrow{font-size:10px;margin-bottom:22px}.hero .actions{flex-direction:row;flex-wrap:wrap}.hero .button{font-size:13px}.hero-photo{min-height:400px;border-radius:100px 6px 6px 6px}.hero-facts{margin-top:26px;padding-top:20px;justify-content:space-between;gap:10px;max-width:none}.hero-facts span{font-size:10px}.amenity-strip{padding:17px 20px;justify-content:flex-start;gap:9px 16px}.amenity-strip span{font-size:11px}.photo-link{left:16px;right:16px;bottom:16px;padding:16px 20px}.photo-label{left:20px;bottom:85px}.footer-top{align-items:flex-start;flex-direction:column;gap:22px;padding-bottom:26px}.footer-bottom{gap:20px}.footer-bottom>div{gap:20px;flex-wrap:wrap}footer{padding:36px 20px 100px}.mobile-book{display:flex;position:fixed;z-index:8;bottom:0;left:0;right:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:8px;background:#22352bf5;border-top:1px solid var(--line);backdrop-filter:blur(10px);opacity:1;transform:translateY(0);visibility:visible;transition:transform .34s cubic-bezier(.22,.61,.36,1),opacity .24s ease,visibility 0s linear 0s;will-change:transform,opacity}.mobile-book a{background:var(--red);color:white;padding:13px 9px;border-radius:4px;text-align:center;font-size:12px;font-weight:600;flex:1}.mobile-book a+a{background:var(--red-tint);color:var(--red-dark);flex:0 0 92px}.mobile-book .back-to-top{display:flex;align-items:center;justify-content:center;gap:6px}.mobile-book.is-hidden,.nav-open .mobile-book{opacity:0;transform:translateY(calc(100% + 12px));visibility:hidden;pointer-events:none;transition:transform .34s cubic-bezier(.4,0,.6,1),opacity .22s ease,visibility 0s linear .34s}.lightbox-track img{height:62vh;height:62dvh}.lightbox-bottom{padding:12px}.lightbox-caption{font-size:12px!important}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
