/* ==========================================================================
   Проходна — cinematic / organic
   ========================================================================== */

:root {
  --ink: #1f2118;
  --ink-2: #282a20;
  --stone: #34352a;
  --paper: #dedad0;
  --paper-2: #cfcabd;
  --clay: #2f5f5c;
  --clay-2: #224644;
  --honey: #cfc768;
  --moss: #44502c;
  --moss-2: #2e3720;
  --sage: #a9b38c;
  --text-dim: rgba(222, 218, 208, .66);
  --line: rgba(222, 218, 208, .16);
  --line-dark: rgba(31, 33, 24, .16);

  --f-display: "Forum", Georgia, "Times New Roman", serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gut: clamp(18px, 4.5vw, 64px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--honey); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font: 400 clamp(19px, 1.5vw, 23px)/1.3 var(--f-display);
  letter-spacing: .01em;
}
.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0;
}
.display em { font-style: normal; }

/* split text */
.w { display: inline-block; white-space: nowrap; overflow: hidden; padding: .04em .08em .14em; margin: -.04em -.08em -.14em; vertical-align: top; }
.c { display: inline-block; will-change: transform; }

/* ==========================================================================
   Grain / vignette / cursor
   ========================================================================== */
.grain {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}

.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; display: none; opacity: 0; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--honey); }
.cursor__ring {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1px solid rgba(226, 166, 90, .6);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__label { font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--ink); opacity: 0; transition: opacity .3s; white-space: nowrap; font-size: 12px; }
.cursor.is-link .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(226, 166, 90, .14); border-color: var(--honey); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--honey); border-color: var(--honey); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); pointer-events: auto; }
.loader__half--top { top: 0; }
.loader__half--bot { bottom: 0; }
.loader__inner { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.loader__coords { font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--text-dim); }
.loader__count { font: 400 clamp(90px, 18vw, 240px)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.03em; margin: 14px 0 18px; color: var(--paper); }
.loader__bar { width: min(260px, 60vw); height: 1px; background: var(--line); margin: 0 auto; position: relative; overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--honey); transform-origin: left; transform: scaleX(0); }
.loader__word { margin-top: 22px; font: 400 22px var(--f-display); color: var(--honey); letter-spacing: .04em; }
.no-js .loader { display: none; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px var(--gut);
  transition: transform .7s var(--ease), background .5s, padding .5s;
  color: var(--paper);
}
.header.is-hidden { transform: translateY(-110%); }
.header.is-solid { background: rgba(31, 33, 24, .72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: baseline; gap: 12px; }
.logo__name { font: 400 28px/1 var(--f-display); letter-spacing: .01em; }
.logo__place { font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--honey); }
.header__right { display: flex; align-items: center; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 13px 22px; border-radius: 999px; font: 500 14px var(--f-body); letter-spacing: .02em;
  background: var(--paper); color: var(--ink);
  transition: background .4s, color .4s;
}
.pill:hover { background: var(--honey); }
.pill--ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.pill--ghost:hover { background: rgba(222, 218, 208, .08); }
.menu-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.menu-btn:hover { border-color: var(--honey); }
.menu-btn span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn span + span { margin-top: 6px; }
.menu-btn__lines { display: block; }
.is-menu .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.is-menu .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 65; background: var(--ink-2);
  clip-path: circle(0% at calc(100% - 50px) 46px);
  transition: clip-path 1s var(--ease-io);
  display: grid; grid-template-columns: 1fr; align-content: center;
  padding: 110px var(--gut) 60px; overflow: auto;
}
.is-menu .menu { clip-path: circle(150% at calc(100% - 50px) 46px); }
.menu__list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 8px 0;
  font: 400 clamp(40px, 7vw, 92px)/1 var(--f-display); letter-spacing: -.01em;
  transform: translateY(40px); opacity: 0; transition: transform .9s var(--ease), opacity .9s, color .3s;
}
.menu__list a:hover { color: var(--honey); font-style: italic; }
.menu__list a small { font: 500 12px var(--f-body); letter-spacing: .2em; color: var(--honey); font-style: normal; }
.is-menu .menu__list a { transform: none; opacity: 1; }
.menu__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px 40px; color: var(--text-dim); font-size: 14px; }
.menu__foot a:hover { color: var(--honey); }

.chapters {
  position: fixed; right: calc(var(--gut) - 6px); top: 50%; z-index: 60; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transition: opacity .6s;
}
.chapters.is-on { opacity: 1; }
.chapters a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--paper); mix-blend-mode: difference; }
.chapters a span { opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease); }
.chapters a i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; transition: background .4s, transform .4s; }
.chapters a:hover span, .chapters a.is-active span { opacity: 1; transform: none; }
.chapters a.is-active i { background: currentColor; transform: scale(1.3); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 75; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--clay), var(--honey)); }

.callbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(26, 22, 17, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  transform: translateY(150%); transition: transform .7s var(--ease);
}
.callbar.is-on { transform: none; }
.callbar__price { font: 400 24px/1 var(--f-display); }
.callbar__price small { font: 400 12px var(--f-body); color: var(--text-dim); }
.callbar .pill { min-height: 48px; }

/* ==========================================================================
   Hero / Prologue
   ========================================================================== */
.hero { position: relative; height: 320vh; background: var(--ink); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__gl, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { object-fit: cover; opacity: 0; transition: opacity 1s; }
.no-webgl .hero__fallback { opacity: 1; filter: brightness(.6); }
.hero__ui {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 0 var(--gut) clamp(40px, 8vh, 90px); pointer-events: none;
}
.hero__ui .eyebrow { color: var(--honey); margin-bottom: 22px; }
.hero__title { font-size: clamp(72px, 16vw, 290px); line-height: .86; letter-spacing: -.01em; text-shadow: 0 10px 60px rgba(0, 0, 0, .35); }
.hero__row { margin-top: 30px; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__sub { max-width: 440px; margin: 0; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; color: rgba(222, 218, 208, .82); }
.hero__sub em { font-family: var(--f-display); font-size: 1.25em; color: var(--honey); }
.scrollcue { display: flex; align-items: center; gap: 14px; font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--text-dim); }
.scrollcue__line { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scrollcue__line::after { content: ""; position: absolute; inset: 0; background: var(--honey); animation: drop 2.4s var(--ease-io) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

.hero__beyond {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gut);
  pointer-events: none; opacity: 0;
}
.hero__beyond .display { font-size: clamp(54px, 9vw, 150px); text-shadow: 0 6px 50px rgba(0, 0, 0, .5); }
.hero__beyond .display em { color: var(--honey); }
.hero__beyond p { margin: 22px auto 0; max-width: 520px; font-size: 17px; color: rgba(222, 218, 208, .9); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 33, 24, 0) 50%, rgba(31, 33, 24, .7) 100%); pointer-events: none; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { position: relative; overflow: hidden; padding: clamp(18px, 2.5vw, 30px) 0; border-block: 1px solid var(--line); background: var(--ink); white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 60px); padding-right: clamp(28px, 4vw, 60px); font: 400 clamp(34px, 5vw, 72px)/1 var(--f-display); color: var(--paper); }
.marquee__item svg { width: clamp(18px, 2vw, 26px); height: auto; color: var(--honey); flex: none; }
.marquee--paper { background: var(--paper); border-color: var(--line-dark); }
.marquee--paper .marquee__item { color: var(--ink); }
.marquee--paper .marquee__item svg { color: var(--clay); }

/* ==========================================================================
   Chapter I — Arrival (paper)
   ========================================================================== */
.arrive { position: relative; background: var(--paper); color: var(--ink); padding: clamp(110px, 16vw, 230px) var(--gut) clamp(110px, 14vw, 200px); overflow: hidden; }
.arrive .eyebrow { color: var(--clay); }
.chapnum { font: 400 clamp(18px, 1.6vw, 22px) var(--f-display); color: var(--clay); margin-bottom: 10px; display: block; }
.arrive__lead {
  max-width: var(--max); margin: 34px auto 0;
  font: 400 clamp(32px, 4.6vw, 76px)/1.08 var(--f-display); letter-spacing: -.01em;
}
.arrive__lead .wd { transition: none; }
.arrive__lead em { color: var(--clay); }
.arrive__head { max-width: var(--max); margin: 0 auto; }

.arrive__stage {
  max-width: var(--max); margin: clamp(80px, 12vw, 180px) auto 0;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center;
}
.blobimg { position: relative; aspect-ratio: 1 / 1.02; }
.blobimg svg.blobimg__svg { position: absolute; width: 0; height: 0; }
.blobimg__clip { position: absolute; inset: 0; overflow: hidden; }
.blobimg__clip img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.blobimg__ring { position: absolute; inset: -4%; pointer-events: none; }
.blobimg__ring path { fill: none; stroke: var(--clay); stroke-width: .0025; opacity: .5; }
.blobimg__tag {
  position: absolute; right: 2%; bottom: 8%; z-index: 2; width: clamp(110px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--clay); color: var(--paper); text-align: center;
}
.blobimg__tag svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.blobimg__tag text { font: 500 9px var(--f-body); letter-spacing: 1.6px; fill: currentColor;  }
.blobimg__tag b { font: 400 34px/1 var(--f-display); }
@keyframes spin { to { transform: rotate(360deg); } }

.arrive__side { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.arrive__small { width: 78%; align-self: flex-end; aspect-ratio: 3 / 4; }
.arrive__text { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.8; color: rgba(31, 33, 24, .74); max-width: 420px; margin: 0; }


.aura { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .35; }
.aura--1 { width: 46vw; height: 46vw; background: #c9c58a; top: -14vw; right: -12vw; }
.aura--2 { width: 34vw; height: 34vw; background: #a9c2bc; bottom: 6vw; left: -12vw; }

/* ==========================================================================
   Chapter II — Walkthrough (WebGL tunnel)
   ========================================================================== */
.walk { position: relative; height: 640vh; background: radial-gradient(120% 80% at 50% 50%, #2d3024 0%, var(--ink) 70%); }
.walk__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.walk__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.walk__intro { position: absolute; left: var(--gut); top: clamp(90px, 14vh, 140px); z-index: 2; pointer-events: none; }
.walk__intro .eyebrow { color: var(--honey); }
.walk__caps { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; place-items: center; text-align: center; }
.walk__cap { grid-area: 1 / 1; padding: 0 var(--gut); }
.walk__cap .display { font-size: clamp(64px, 13vw, 230px); text-shadow: 0 10px 60px rgba(0, 0, 0, .55); }
.walk__cap p { margin: 18px 0 0; font: 400 clamp(20px, 2vw, 30px) var(--f-display); color: var(--honey); opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s var(--ease); }
.walk__cap.is-active p { opacity: 1; transform: none; transition-delay: .3s; }
.walk__hud { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(28px, 5vh, 50px); z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; pointer-events: none; }
.walk__count { font: 400 clamp(40px, 4vw, 64px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.walk__count small { font-size: .4em; color: var(--text-dim); }
.walk__scenes { display: flex; gap: clamp(10px, 2vw, 28px); font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--text-dim); }
.walk__scenes span { transition: color .4s; }
.walk__scenes span.is-active { color: var(--honey); }
.walk__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--honey); transform-origin: left; transform: scaleX(0); z-index: 2; }
.walk__fallback { display: none; }
.no-webgl .walk { height: auto; }
.no-webgl .walk__sticky { position: relative; height: auto; padding: 140px var(--gut) 100px; }
.no-webgl .walk__gl, .no-webgl .walk__caps, .no-webgl .walk__hud, .no-webgl .walk__bar { display: none; }
.no-webgl .walk__intro { position: static; margin-bottom: 40px; }
.no-webgl .walk__fallback { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.no-webgl .walk__fallback img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

/* ==========================================================================
   Chapter III — Fire (Mehana)
   ========================================================================== */
.fire { --honey: #e8913f; position: relative; background: #0c0907; overflow: hidden; padding: clamp(120px, 16vw, 220px) var(--gut); min-height: 100vh; }
.fire__bg { position: absolute; inset: 0; }
.fire__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .38; filter: saturate(1.15) contrast(1.05); position: absolute; top: -10%; }
.fire__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 90%, rgba(226, 120, 40, .28), transparent 60%), linear-gradient(180deg, #0c0907 0%, rgba(12, 9, 7, .55) 30%, rgba(12, 9, 7, .55) 70%, #0c0907 100%); }
.fire__flicker { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(255, 140, 50, .35), transparent 70%); mix-blend-mode: screen; animation: flicker 3.2s infinite; pointer-events: none; }
@keyframes flicker {
  0%, 100% { opacity: .55; } 8% { opacity: .8; } 12% { opacity: .5; } 20% { opacity: .9; } 34% { opacity: .62; }
  48% { opacity: .95; } 55% { opacity: .58; } 70% { opacity: .85; } 82% { opacity: .6; } 90% { opacity: .92; }
}
.fire__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fire__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.fire .eyebrow { color: var(--honey); }
.fire__title { font-size: clamp(64px, 10vw, 170px); margin-top: 18px; }
.fire__title em { color: var(--honey); display: block; }
.fire__text { margin: 34px 0 0; max-width: 460px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.85; color: rgba(222, 218, 208, .78); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .04em; color: rgba(222, 218, 208, .85); }
.fire__stack { position: relative; height: clamp(440px, 52vw, 720px); perspective: 1200px; }
.tilt { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); transform-style: preserve-3d; will-change: transform; }
.tilt img { width: 100%; height: 100%; object-fit: cover; }
.tilt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 200, 140, .22), transparent 55%); opacity: 0; transition: opacity .4s; }
.tilt:hover::after { opacity: 1; }
.fire__stack .t1 { width: 62%; height: 70%; left: 0; top: 0; }
.fire__stack .t2 { width: 52%; height: 56%; right: 0; bottom: 0; z-index: 2; }
.fire__stack .t3 { width: 30%; height: 34%; left: 10%; bottom: -2%; z-index: 3; }

/* ==========================================================================
   Chapter IV — Rooms ring
   ========================================================================== */
.rooms { position: relative; height: 360vh; background: var(--ink-2); }
.rooms__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.rooms__stage { position: absolute; inset: 0; padding-bottom: 20vh; perspective: 1600px; perspective-origin: 50% 40%; display: grid; place-items: center; touch-action: pan-y; }
.ring { position: relative; transform-style: preserve-3d; width: var(--cw); height: var(--ch); }
.ring__card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.ring__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ring__card::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; }
.rooms__copy { position: absolute; left: 0; right: 0; bottom: clamp(64px, 10vh, 110px); z-index: 3; text-align: center; pointer-events: none; padding: 0 var(--gut); }
.rooms__copy .eyebrow { color: var(--honey); }
.rooms__title { font-size: clamp(40px, 5.2vw, 92px); margin-top: 0; text-shadow: 0 8px 50px rgba(0, 0, 0, .7); }
.rooms__title em { color: var(--honey); }
.rooms__copy .chips { justify-content: center; }
.rooms__copy .chip { background: rgba(31, 33, 24, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rooms__hint { position: absolute; bottom: clamp(24px, 5vh, 46px); left: 50%; transform: translateX(-50%); z-index: 3; font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--text-dim); display: flex; gap: 12px; align-items: center; white-space: nowrap; }
.rooms__top { position: absolute; top: clamp(90px, 13vh, 130px); left: var(--gut); right: var(--gut); z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; pointer-events: none; }
.rooms__top p { margin: 0; max-width: 340px; font-size: 14px; line-height: 1.7; color: var(--text-dim); text-align: right; }

/* ==========================================================================
   Chapter V — Amenities (moss)
   ========================================================================== */
.amen { position: relative; background: var(--moss); color: var(--paper); padding: clamp(110px, 14vw, 200px) var(--gut); overflow: hidden; }
.amen__head { max-width: var(--max); margin: 0 auto clamp(56px, 7vw, 100px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; }
.amen .eyebrow { color: #e9d7a7; }
.amen__title { font-size: clamp(54px, 8vw, 140px); margin-top: 16px; }
.amen__title em { color: #e9d7a7; }
.amen__head p { margin: 0; max-width: 360px; color: rgba(222, 218, 208, .9); line-height: 1.75; }
.pebbles { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.pebble {
  position: relative; padding: clamp(30px, 3.2vw, 48px) clamp(30px, 3.4vw, 52px); min-height: clamp(220px, 19vw, 280px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 18px;
  background: rgba(222, 218, 208, .06); border: 1px solid rgba(222, 218, 208, .12);
  border-radius: 44% 56% 48% 52% / 40% 44% 56% 60%;
  transition: border-radius 1.2s var(--ease), background .5s, transform .6s var(--ease);
  overflow: hidden;
}
.pebble:nth-child(3n+2) { border-radius: 54% 46% 52% 48% / 48% 56% 44% 52%; }
.pebble:nth-child(3n) { border-radius: 46% 54% 56% 44% / 54% 44% 56% 46%; }
.pebble:hover { border-radius: 30px; background: rgba(222, 218, 208, .12); }
.pebble::before { content: ""; position: absolute; width: 220px; height: 220px; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(233, 215, 167, .28), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.pebble:hover::before { opacity: 1; }
.pebble svg { width: 40px; height: 40px; stroke: #e9d7a7; position: relative; }
.pebble__t { font: 400 clamp(24px, 2.2vw, 32px)/1.05 var(--f-display); position: relative; }
.pebble__s { margin-top: 6px; font-size: 14px; line-height: 1.55; color: rgba(222, 218, 208, .86); position: relative; }
.amen__blob { position: absolute; width: 60vw; aspect-ratio: 1; right: -24vw; top: -18vw; opacity: .14; pointer-events: none; }
.amen__blob path { fill: #e9d7a7; }

/* ==========================================================================
   Chapter VI — Karst (around)
   ========================================================================== */
.karst { position: relative; background: var(--paper); color: var(--ink); padding: clamp(110px, 14vw, 200px) var(--gut) clamp(90px, 10vw, 160px); overflow: hidden; }
.karst__head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 90px); text-align: center; }
.karst .eyebrow { color: var(--clay); }
.karst__title { font-size: clamp(54px, 9vw, 160px); margin-top: 16px; }
.karst__title em { color: var(--clay); }
.karst__head p { margin: 24px auto 0; max-width: 520px; color: rgba(31, 33, 24, .7); line-height: 1.75; }
.river { position: relative; max-width: 1100px; margin: 0 auto; }
.river__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.river__base { fill: none; stroke: rgba(31, 33, 24, .1); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.river__path { fill: none; stroke: url(#riverGrad); stroke-width: 3; stroke-linecap: round; }
.river__list { list-style: none; margin: 0; padding: 0; position: relative; }
.sight { position: relative; width: 50%; padding: clamp(18px, 2.4vw, 34px) 0; display: flex; align-items: center; gap: 22px; }
.sight:nth-child(odd) { padding-right: clamp(56px, 7vw, 110px); flex-direction: row-reverse; text-align: right; }
.sight:nth-child(even) { margin-left: 50%; padding-left: clamp(56px, 7vw, 110px); }
.sight__dot { position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 1px solid var(--clay); transform: scale(0); transition: transform .7s var(--ease); }
.sight__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--clay); }
.sight:nth-child(odd) .sight__dot { right: -8px; }
.sight:nth-child(even) .sight__dot { left: -8px; }
.sight__n { font: 400 20px var(--f-display); color: var(--clay); flex: none; }
.sight__t { font: 400 clamp(26px, 3vw, 46px)/1.05 var(--f-display); }
.sight__k { display: block; margin-top: 6px; font: 500 13px var(--f-body); letter-spacing: .02em; color: rgba(31, 33, 24, .72); }
.sight__body { opacity: 0; transform: translateY(20px); transition: opacity .9s, transform .9s var(--ease); }
.sight.is-on .sight__dot { transform: scale(1); }
.sight.is-on .sight__body { opacity: 1; transform: none; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { position: relative; background: var(--ink); padding: clamp(110px, 14vw, 200px) var(--gut); }
.gallery__head { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; }
.gallery .eyebrow { color: var(--honey); }
.gallery__title { font-size: clamp(54px, 9vw, 160px); margin-top: 16px; }
.gallery__title em { color: var(--honey); }
.gallery__count { font: 400 clamp(40px, 4vw, 64px)/1 var(--f-display); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tabs { max-width: var(--max); margin: clamp(36px, 5vw, 60px) auto 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--text-dim); transition: background .4s, color .4s, border-color .4s; display: inline-flex; gap: 8px; align-items: baseline; }
.tab sup { font-size: 10px; font-variant-numeric: tabular-nums; }
.tab:hover { color: var(--paper); border-color: rgba(222, 218, 208, .4); }
.tab.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.masonry { max-width: var(--max); margin: clamp(30px, 4vw, 50px) auto 0; columns: 4 240px; column-gap: clamp(8px, 1vw, 14px); }
.shot { display: block; width: 100%; margin: 0 0 clamp(8px, 1vw, 14px); break-inside: avoid; border-radius: 12px; overflow: hidden; position: relative; background: var(--stone); }
.shot img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; }
.shot:hover img { transform: scale(1.06); filter: brightness(.82) saturate(1.1); }
.shot__cat { position: absolute; left: 14px; bottom: 12px; font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.shot:hover .shot__cat { opacity: 1; transform: none; }
.gallery__more { display: flex; justify-content: center; margin-top: 40px; }

.lb { position: fixed; inset: 0; z-index: 150; display: none; }
.lb.is-open { display: block; }
.lb__bg { position: absolute; inset: 0; background: rgba(10, 8, 6, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; }
.lb__img { position: absolute; left: 50%; top: 50%; max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.lb__top, .lb__bot { position: absolute; left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; align-items: center; gap: 16px; z-index: 2; font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--text-dim); }
.lb__top { top: 20px; }
.lb__bot { bottom: 22px; justify-content: center; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--paper); transition: background .4s, border-color .4s; }
.round:hover { background: rgba(222, 218, 208, .08); border-color: var(--honey); }
.round svg { width: 18px; height: 18px; }

/* ==========================================================================
   Voices + FAQ
   ========================================================================== */
.voices { position: relative; background: var(--paper-2); color: var(--ink); padding: clamp(110px, 14vw, 200px) var(--gut); overflow: hidden; }
.voices__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.voices .eyebrow { color: var(--clay-2); }
.quote { margin: clamp(30px, 4vw, 60px) 0 0; }
.quote__mark { font: 400 clamp(120px, 16vw, 240px)/.6 var(--f-display); color: var(--clay); display: block; height: .45em; }
.quote blockquote { margin: 0; font: 400 clamp(34px, 5vw, 80px)/1.08 var(--f-display); letter-spacing: -.01em; }
.quote figcaption { margin-top: 30px; font: 500 13px var(--f-body); letter-spacing: .02em; color: rgba(31, 33, 24, .6); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.stars { display: flex; justify-content: center; gap: 4px; color: var(--clay); margin-top: 22px; }
.stars svg { width: 16px; height: 16px; }

.faq { margin: clamp(90px, 12vw, 170px) auto 0; max-width: 980px; text-align: left; }
.faq__title { font-size: clamp(48px, 7vw, 110px); text-align: center; margin: 16px 0 clamp(30px, 4vw, 60px); }
.faq__item { border-top: 1px solid var(--line-dark); }
.faq__item:last-child { border-bottom: 1px solid var(--line-dark); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; }
.faq__q span:first-child { font: 400 clamp(22px, 2.4vw, 32px)/1.2 var(--f-display); transition: color .3s, transform .5s var(--ease); }
.faq__q:hover span:first-child { color: var(--clay); transform: translateX(8px); }
.faq__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(31, 33, 24, .2); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--clay); color: var(--paper); border-color: var(--clay); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 64px 28px 0; font-size: 16px; line-height: 1.75; color: rgba(31, 33, 24, .72); }

/* ==========================================================================
   Epilogue — night
   ========================================================================== */
.night { --honey: #e6cf86; position: relative; background: #0b1020; overflow: hidden; padding: clamp(130px, 18vw, 260px) var(--gut) clamp(80px, 10vw, 140px); text-align: center; }
.night__sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.night__photo { position: absolute; left: 0; right: 0; bottom: 0; height: 75%; }
.night__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .32; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
.night__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.night .eyebrow { color: var(--honey); }
.night__title { font-size: clamp(46px, 7vw, 120px); margin: 18px 0 0; }
.night__title em { color: var(--honey); }
.phone {
  display: inline-block; margin: clamp(30px, 4vw, 60px) 0 10px;
  font: 400 clamp(58px, 12.5vw, 230px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--paper) 0%, var(--paper) 40%, var(--honey) 50%, var(--paper) 60%, var(--paper) 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s var(--ease-io) infinite;
}
@keyframes sheen { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
.night__price { font: 400 clamp(22px, 2.4vw, 34px) var(--f-display); color: rgba(222, 218, 208, .8); }
.night__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

.contact { position: relative; z-index: 2; max-width: var(--max); margin: clamp(90px, 12vw, 160px) auto 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 3vw, 40px); text-align: left; }
.contact__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact__row { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.contact__row:hover { padding-left: 12px; color: var(--honey); }
.contact__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.contact__ic svg { width: 18px; height: 18px; stroke: var(--honey); }
.contact__k { display: block; font: 500 13px var(--f-body); letter-spacing: .02em; color: var(--text-dim); }
.contact__v { display: block; font-size: 17px; margin-top: 3px; }
.map { position: relative; min-height: 380px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--stone); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.9) invert(.9) hue-rotate(180deg) sepia(.25) contrast(.9); }
.map .pill { position: absolute; left: 16px; bottom: 16px; }

.footer { position: relative; z-index: 2; background: #0b1020; border-top: 1px solid var(--line); padding: 30px var(--gut) 40px; color: var(--text-dim); font-size: 13px; }
.footer__in { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.footer__name { font: 400 26px var(--f-display); color: var(--paper); }
.footer a:hover { color: var(--honey); }

/* ==========================================================================
   Reveal defaults (JS on)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js.reduce [data-reveal] { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .chapters { display: none; }
    .pebbles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header .pill--call { display: none; }
  .callbar { display: flex; }
  .arrive__stage { grid-template-columns: 1fr; }
  .arrive__small { width: 70%; }
    .fire__inner { grid-template-columns: 1fr; }
  .fire__stack { height: 110vw; }
  .pebbles { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .rooms__top p { display: none; }
  .walk { height: 560vh; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .logo__place { display: none; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .scrollcue { display: none; }
  .sight, .sight:nth-child(even), .sight:nth-child(odd) { width: 100%; margin-left: 0; padding: 18px 0 18px 46px; flex-direction: row; text-align: left; }
  .sight:nth-child(odd) .sight__dot, .sight:nth-child(even) .sight__dot { left: 12px; right: auto; }
  .pebble { min-height: 150px; padding: 26px 18px; gap: 12px; }
  .pebble svg { width: 32px; height: 32px; }
  .pebble__s { display: none; }
  .masonry { columns: 2; }
  .faq__a p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .fire__flicker, .phone, .blobimg__tag svg, .scrollcue__line::after { animation: none; }
}

/* ==========================================================================
   Interaction polish (web-animation-design rules)
   ========================================================================== */
.pill, .round, .tab, .menu-btn, .faq__q { -webkit-tap-highlight-color: transparent; }
.pill:active, .round:active, .tab:active, .menu-btn:active { transform: scale(.97); }
.pill { transition: background .2s ease, color .2s ease, transform .15s ease-out; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 4px; border-radius: 6px; }
.arrive :focus-visible, .karst :focus-visible, .voices :focus-visible { outline-color: var(--clay); }
@media not all and (hover: hover) {
  .shot:hover img { transform: none; filter: none; }
  .pebble:hover { border-radius: 44% 56% 48% 52% / 40% 44% 56% 60%; }
  .faq__q:hover span:first-child { transform: none; }
}
.title-stone {
  background: url("../img/m/062.jpg") center/cover;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: contrast(1.15) brightness(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .menu, .menu__list a, .header, .callbar, .sight__body, .sight__dot, .walk__cap p, .faq__a, .faq__icon, .shot img, .pebble { transition: none; }
}
