/* Dzeruli — colours from the restaurant's own sign: navy board, sand peaks, brick columns. */
:root {
  --navy: #1c2654;
  --navy-deep: #111836;
  --sand: #d2b885;
  --sand-soft: #eadfc6;
  --brick: #96452e;
  --wall: #f4f2ed;
  --paper: #fbfaf7;
  --ink: #171a2b;
  --muted: #5d6070;
  --rule: rgba(23, 26, 43, 0.14);
  --display: "Prata", "Noto Serif Georgian", Georgia, serif;
  --text: "Golos Text", "Noto Sans Georgian", system-ui, -apple-system, sans-serif;
  --geo: "Noto Serif Georgian", Georgia, serif;
  --wrap: 1280px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.15, 1);
  --top: 38px;
  --bar: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -0.005em; }
.lang-ka h1, .lang-ka h2 { line-height: 1.3; letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--sand); color: var(--navy-deep); padding: 10px 14px; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.i { width: 18px; height: 18px; flex: none; }
.stars { display: inline-flex; gap: 2px; color: var(--sand); }
.stars .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px;
  font: 600 0.98rem/1 var(--text); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sand { background: var(--sand); color: var(--navy-deep); }
.btn-sand:hover { background: var(--sand-soft); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-light { background: #fff; color: var(--brick); }
.btn-light:hover { background: var(--sand-soft); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.btn-line { border-color: var(--rule); color: var(--navy); }
.btn-line:hover { border-color: var(--navy); }
.btn-num { font-weight: 500; opacity: 0.75; padding-left: 10px; margin-left: 2px; border-left: 1px solid currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- masthead ---------- */
.masthead { position: fixed; inset: 0 0 auto; z-index: 70; color: #fff; transition: transform 0.45s var(--ease); }
.masthead.is-scrolled { transform: translateY(calc(var(--top) * -1)); }
.topbar { height: var(--top); background: rgba(17, 24, 54, 0.55); font-size: 0.86rem; color: rgba(255, 255, 255, 0.8); }
.topbar-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-info { display: flex; gap: 28px; margin: 0; }
.topbar-info a { color: var(--sand); font-weight: 600; text-decoration: none; }
.langs { display: flex; gap: 2px; }
.langs a { position: relative; padding: 6px 10px; text-decoration: none; color: inherit; opacity: 0.78; transition: opacity 0.2s; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; color: var(--sand); }
.langs a[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 1px; background: currentColor; }

.bar { height: var(--bar); transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.masthead.is-scrolled .bar { background: rgba(251, 250, 247, 0.96); color: var(--navy); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar-row { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 1.55rem/1 var(--display); }
.lang-ka .brand { font: 700 1.4rem/1 var(--geo); }
.mark { width: 42px; height: 28px; color: var(--sand); transition: color 0.4s; }
.is-scrolled .bar .mark { color: var(--navy); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; padding: 8px 0; text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-call { min-height: 44px; padding: 0 18px; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-call:hover { background: rgba(255, 255, 255, 0.12); }
.is-scrolled .btn-call { background: var(--navy); border-color: var(--navy); }
.is-scrolled .btn-call:hover { background: var(--navy-deep); }

.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer; }
.burger-lines, .burger-lines::before, .burger-lines::after { position: absolute; left: 11px; width: 22px; height: 1.6px; background: currentColor; transition: transform 0.35s var(--ease), background-color 0.2s; }
.burger-lines { top: 21px; }
.burger-lines::before { content: ""; left: 0; top: -7px; }
.burger-lines::after { content: ""; left: 0; top: 7px; }
.menu-open .burger-lines { background-color: transparent; }
.menu-open .burger-lines::before { background-color: #fff; transform: translateY(7px) rotate(45deg); }
.menu-open .burger-lines::after { background-color: #fff; transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--top) + var(--bar) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--navy-deep); color: #fff; opacity: 0; transition: opacity 0.35s var(--ease); overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font: 400 clamp(1.7rem, 7vw, 2.2rem)/1.2 var(--display); text-decoration: none; transform: translateY(16px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s; }
.lang-ka .menu-nav a { font-size: clamp(1.4rem, 6vw, 1.8rem); line-height: 1.4; }
.menu.is-open .menu-nav a { transform: none; opacity: 1; }
.menu.is-open .menu-nav a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu-nav a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu-nav a:nth-child(4) { transition-delay: 0.15s; }
.menu-foot { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding-top: 32px; }
.menu-open .masthead { transform: none; }
.menu-open .masthead .bar { background: transparent; color: #fff; box-shadow: none; backdrop-filter: none; }
.menu-open .masthead .mark { color: var(--sand); }
.menu-open .mobile-bar { transform: translateY(100%); }

/* ---------- hero: the name is the moment ---------- */
.hero { position: relative; isolation: isolate; min-height: max(100svh, 620px); display: flex; flex-direction: column; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 32, 0.62) 0%, rgba(10, 14, 32, 0.38) 28%, rgba(10, 14, 32, 0.42) 58%, rgba(10, 14, 32, 0.92) 100%); }
.hero-curtain { display: none; position: absolute; inset: 0; z-index: 1; background: var(--navy-deep); }
.hero-center { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--top) + var(--bar) + 20px) var(--gutter) 20px; will-change: transform, opacity; }
.hero-mark { width: clamp(46px, 5vw, 66px); height: auto; margin-bottom: clamp(10px, 2.2vh, 22px); fill: none; stroke: var(--sand); stroke-width: 2.8; }
.hero-mark .thin { stroke-width: 1.4; opacity: 0.6; }
.hero-name { width: 100%; margin: 0; line-height: 1; }
.hero .hero-word { display: flex; justify-content: center; max-width: none; margin: 0; padding: 0; overflow: visible; }
.hero-word .word { font-size: min(16vw, 23vh); line-height: 1.32; color: var(--sand); text-shadow: 0 6px 50px rgba(10, 14, 32, 0.45); }
.hero-rule { display: block; width: clamp(70px, 10vw, 150px); height: 1px; margin: clamp(6px, 1.4vh, 14px) auto clamp(12px, 2.4vh, 22px); background: var(--sand); transform-origin: center; }
.hero-kinds { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin: 0; font-size: clamp(0.98rem, 1.3vw, 1.18rem); letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 14px rgba(10, 14, 32, 0.6); }
.hero-kinds i { width: 6px; height: 6px; background: var(--sand); transform: rotate(45deg); }
.hero-bottom { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 48px; padding-bottom: clamp(26px, 5vh, 52px); }
.hero-line { max-width: 42ch; margin: 0; color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 14px rgba(10, 14, 32, 0.5); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.hero-rating b { color: #fff; font-weight: 600; }
.hero-rating:hover { color: #fff; }

.hero-word, .footer-word { position: relative; overflow: hidden; padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto; width: 100%; }
.word { display: inline-block; white-space: nowrap; font: 700 min(15vw, 12rem)/0.8 var(--geo); letter-spacing: -0.01em; }
.word > span { display: inline-block; }

/* ---------- place ---------- */
.place { padding: clamp(90px, 12vw, 170px) 0 clamp(110px, 14vw, 200px); background: var(--paper); }
.place-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.place h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); color: var(--navy); margin-bottom: 0.6em; text-wrap: balance; }
.lang-ka .place h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
.place-copy p { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.75; color: #33364a; max-width: 46ch; }
.place-photos { position: relative; padding-bottom: 12%; }
.ph { overflow: hidden; background: var(--wall); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-wide { aspect-ratio: 16 / 10; }
.ph-tall { position: absolute; left: -9%; bottom: 0; width: 36%; aspect-ratio: 3 / 4; outline: 10px solid var(--paper); }

/* ---------- doors ---------- */
.doors { display: flex; gap: 3px; height: clamp(480px, 80vh, 780px); background: var(--navy-deep); }
.door { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff; text-decoration: none; transition: flex-grow 0.8s var(--ease); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 14, 32, 0.88) 0%, rgba(10, 14, 32, 0.25) 50%, rgba(10, 14, 32, 0.1) 100%); }
.door-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 8px; }
.door-title { font: 400 clamp(1.8rem, 3vw, 2.7rem)/1.1 var(--display); }
.lang-ka .door-title { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.35; }
.door-sub { max-width: 32ch; color: rgba(255, 255, 255, 0.82); }
.door-more { align-self: flex-start; margin-top: 10px; padding-bottom: 3px; font-weight: 600; font-size: 0.92rem; color: var(--sand); border-bottom: 1px solid currentColor; }
@media (hover: hover) and (min-width: 901px) {
  .door:hover { flex-grow: 1.55; }
  .door:hover img { transform: scale(1.04); }
}

/* ---------- restaurant & hotel ---------- */
.sec { padding: clamp(90px, 12vw, 170px) 0; }
.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-rev { grid-template-columns: 5fr 7fr; }
.split-rev .split-photo { order: 2; }
.split-photo { aspect-ratio: 5 / 4; }
.split-copy h2 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); margin-bottom: 0.35em; }
.lang-ka .split-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; margin-bottom: 1.2em; font-weight: 500; }
.split-copy > p:not(.lead) { max-width: 48ch; }
.split-copy .btn { margin-top: 2rem; }

.sec-restaurant { background: var(--wall); }
.sec-restaurant h2 { color: var(--navy); }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 2rem 0 0; }
.facts div { padding: 13px 0; border-top: 1px solid var(--rule); }
.facts dt { font-size: 0.88rem; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 600; }

.sec-hotel { background: var(--navy); color: #fff; }
.sec-hotel h2 { color: var(--sand); }
.sec-hotel .split-copy > p:not(.lead) { color: rgba(255, 255, 255, 0.8); }
.sec-hotel .split-photo { outline: 1px solid rgba(255, 255, 255, 0.14); outline-offset: 14px; overflow: hidden; }
.points { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.points li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.points li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.6em; background: var(--sand); transform: rotate(45deg); }

/* ---------- events ---------- */
.sec-events { position: relative; background: var(--navy-deep); color: #fff; }
.events-photo { position: absolute; inset: 0; overflow: hidden; }
.events-photo img { width: 100%; height: 100%; object-fit: cover; }
.events-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 32, 0.55) 0%, rgba(10, 14, 32, 0) 60%); }
.events-wrap { position: relative; display: flex; align-items: center; min-height: clamp(640px, 100vh, 940px); padding-block: clamp(60px, 8vw, 110px); }
.events-card { width: min(540px, 100%); padding: clamp(32px, 4vw, 56px); background: var(--brick); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.events-card h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); color: #fff; margin-bottom: 0.3em; }
.lang-ka .events-card h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.events-card .lead { color: var(--sand-soft); }
.events-card p:not(.lead) { color: rgba(255, 255, 255, 0.86); }
.occasions { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.occasions li { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.94rem; }
.events-card .btn { margin-top: 1rem; }

/* ---------- gallery ---------- */
.gallery { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.gallery h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--navy); margin-bottom: 1.4rem; }
.gallery-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-grid a { flex: var(--ar) 1 calc(var(--ar) * 220px); aspect-ratio: var(--ar); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.03); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 32, 0.94); }
.lightbox::backdrop { background: rgba(10, 14, 32, 0.6); }
.lightbox[open] { display: grid; place-items: center; animation: fade 0.3s; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb-btn { position: fixed; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- reviews ---------- */
.reviews { padding: clamp(90px, 12vw, 160px) 0; background: var(--wall); }
.reviews-inner { max-width: 980px; text-align: center; }
.quote blockquote { margin: 0; font: 400 clamp(1.6rem, 3.3vw, 2.7rem)/1.32 var(--display); color: var(--navy); text-wrap: balance; }
.lang-ka .quote blockquote { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.6; }
.quote blockquote p { margin: 0; quotes: "“" "”"; }
.lang-ka .quote blockquote p { quotes: "„" "“"; }
.lang-ru .quote blockquote p { quotes: "«" "»"; }
.quote blockquote p::before { content: open-quote; }
.quote blockquote p::after { content: close-quote; }
.quote figcaption { margin-top: 1.4rem; color: var(--muted); font-size: 0.95rem; }
.score { display: inline-flex; align-items: center; gap: 16px; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--rule); text-decoration: none; color: var(--muted); }
.score-num { font: 400 3.4rem/1 var(--display); color: var(--navy); }
.score-side { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 0.95rem; }
.score:hover .score-side > span:last-child { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- visit ---------- */
.visit { padding: clamp(90px, 12vw, 160px) 0; background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.visit h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); color: var(--navy); margin-bottom: 1.6rem; }
.lang-ka .visit h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.info { margin: 0 0 2rem; }
.info div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.info dt { color: var(--muted); font-size: 0.94rem; padding-top: 1px; }
.info dd { margin: 0; font-weight: 500; }
.info .note { display: block; color: var(--muted); font-weight: 400; font-size: 0.94rem; margin-top: 2px; }
.info a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.info a:hover { text-decoration-color: var(--navy); }
.map { position: relative; min-height: 480px; background: var(--wall); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.75) contrast(1.03); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: clamp(56px, 7vw, 90px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.footer .brand { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-word { padding: 0; margin-top: clamp(40px, 6vw, 80px); }
.footer-word .word { color: rgba(210, 184, 133, 0.14); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.86rem; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: #fff; }

.mobile-bar { display: none; }

/* ---------- motion (only with JS, and never with reduced motion) ----------
   Intro: logo draws -> letters pop up -> gold rule -> curtain lifts off the photo -> details.
   --s shortens everything on repeat visits in the same session. */
:root { --s: 1; }
.intro-seen { --s: 0.4; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-curtain { display: block; transition: transform 1.25s var(--ease-io) calc(var(--s) * 1.55s); }
  .js.intro-seen .hero-curtain { display: none; }
  .js .is-loaded .hero-curtain { transform: translateY(-101%); }
  .js .hero-bg img { transform: scale(1.16); transition: transform 3s var(--ease) calc(var(--s) * 1.5s); }
  .js .is-loaded .hero-bg img { transform: none; }

  .js .hero-mark path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s var(--ease-io) 0.05s; }
  .js .hero-mark .thin { transition-delay: calc(var(--s) * 0.35s); }
  .js .is-loaded .hero-mark path { stroke-dashoffset: 0; }

  .js .hero-word .word > span {
    opacity: 0; transform: translateY(0.38em) scale(0.9); filter: blur(12px);
    transition: opacity 0.7s ease, transform 1.05s cubic-bezier(0.3, 1.5, 0.5, 1), filter 0.9s ease;
    transition-delay: calc(var(--s) * (0.45s + var(--i) * 0.1s));
  }
  .js .is-loaded .hero-word .word > span { opacity: 1; transform: none; filter: blur(0); }

  .js .hero-rule { transform: scaleX(0); transition: transform 1.1s var(--ease-io) calc(var(--s) * 1.15s); }
  .js .is-loaded .hero-rule { transform: none; }
  .js .hero-kinds { opacity: 0; transform: translateY(10px); transition: opacity 0.9s var(--ease) calc(var(--s) * 1.35s), transform 0.9s var(--ease) calc(var(--s) * 1.35s); }
  .js .is-loaded .hero-kinds { opacity: 1; transform: none; }

  .js .hero-bottom > * { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) calc(var(--s) * 2.1s), transform 1s var(--ease) calc(var(--s) * 2.1s); }
  .js .hero-bottom > :nth-child(2) { transition-delay: calc(var(--s) * 2.25s); }
  .js .is-loaded .hero-bottom > * { opacity: 1; transform: none; }

  .js .masthead .bar-row, .js .masthead .topbar-row { opacity: 0; transition: opacity 0.9s ease calc(var(--s) * 2s); }
  .js.hero-ready .masthead .bar-row, .js.hero-ready .masthead .topbar-row { opacity: 1; }
  .js .topbar { background: transparent; transition: background-color 0.9s ease calc(var(--s) * 2s); }
  .js.hero-ready .topbar { background: rgba(17, 24, 54, 0.55); }

  /* a click or key press during the intro jumps to the end */
  .intro-skip .hero *, .intro-skip .masthead * { transition-delay: 0s !important; transition-duration: 0.35s !important; }

  .js [data-reveal] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); }
  .js [data-reveal] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
  .js [data-reveal].is-in { clip-path: inset(0 0 0 0); }
  .js [data-reveal].is-in img { transform: none; }
  .js .ph-tall[data-reveal] { transition-delay: 0.25s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .btn-call span { display: none; }
  .btn-call { width: 44px; padding: 0; }
  .nav { gap: 22px; }
}
@media (max-width: 900px) {
  :root { --bar: 64px; }
  .nav, .btn-call { display: none; }
  .burger { display: block; }
  .topbar-info { display: none; }
  .topbar-row { justify-content: flex-end; }

  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-meta { flex-direction: column; align-items: stretch; }
  .hero-rating { justify-content: center; }
  .hero-line { font-size: 0.98rem; text-align: center; margin-inline: auto; }
  .place-grid, .split, .split-rev, .visit-grid { grid-template-columns: 1fr; }
  .split-rev .split-photo { order: 0; }
  .place-photos { padding-bottom: 0; margin-inline: calc(var(--gutter) * -1); }
  .ph-wide { aspect-ratio: 4 / 3; }
  .ph-tall { position: relative; left: auto; width: 46%; margin: -22% var(--gutter) 0 auto; outline-width: 6px; }
  .split-photo { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }
  .sec-hotel .split-photo { outline: 0; }

  .doors { flex-direction: column; height: auto; }
  .door { flex: none; height: 72vw; max-height: 460px; min-height: 300px; }

  .events-photo { position: relative; height: 70vw; max-height: 520px; }
  .events-photo::after { background: none; }
  .events-wrap { min-height: 0; padding-block: 0 clamp(48px, 10vw, 80px); }
  .events-card { margin-top: -64px; }

  .map { min-height: 340px; margin-inline: calc(var(--gutter) * -1); }

  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom); background: var(--navy-deep); transition: transform 0.35s var(--ease);
    transform: translateY(100%);
  }
  .past-hero .mobile-bar { transform: none; }
  .past-hero.menu-open .mobile-bar { transform: translateY(100%); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; color: #fff; font-weight: 600; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--sand); color: var(--navy-deep); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .events-card .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 18px; }
  .hero .actions .btn { padding: 0 16px; }
  .btn-num { display: none; }
  .place { padding-bottom: 80px; }
  .facts { grid-template-columns: 1fr; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
  .hero .actions { flex-wrap: nowrap; }
  .hero .actions .btn { flex: 1 1 0; min-width: 0; }
  .hero-kinds { gap: 6px 12px; font-size: 0.95rem; }
  .langs a { padding: 6px 8px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-base { flex-direction: column; }
}
