@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300;font-display:swap;src:url(../fonts/cormorant-garamond-italic-300-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300;font-display:swap;src:url(../fonts/cormorant-garamond-italic-300-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/cormorant-garamond-normal-300-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/cormorant-garamond-normal-300-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:300 600;font-display:swap;src:url(../fonts/manrope-normal-300_600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:300 600;font-display:swap;src:url(../fonts/manrope-normal-300_600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* =========================================================
   Пых…Team — основной стиль
   ========================================================= */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #c9a46a; }
@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --ink: #0b0908;
  --ink-2: #12100e;
  --ink-3: #1b1714;
  --paper: #efe6d8;
  --paper-2: #d8cdbd;
  --muted: #a69888;
  --line: rgba(239, 230, 216, .12);
  --line-2: rgba(239, 230, 216, .22);
  --accent: #c9a46a;
  --pink: #ff7ad6;
  --violet: #a08bff;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: max(16px, calc((100vw - 1180px) / 2));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
  transition: --accent 1.2s ease;
}
body[data-mode="date"] { --accent: #d6a3bf; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.static { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 300 17px/1.7 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 12px 18px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; transform: translateY(-200%); transition: transform .3s; }
.skip:focus { transform: none; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(44px, 7vw, 100px); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; text-wrap: pretty; }
.label { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; font: 500 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.lead { max-width: 560px; font-size: clamp(18px, 1.7vw, 21px); color: var(--paper-2); }
.muted { color: var(--muted); }
.mono { font: 400 12px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* Кнопки */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 16px 30px; border: 1px solid var(--accent); background: transparent; color: var(--paper); font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: color .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io); }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--solid { background: var(--accent); color: var(--ink); }
.btn--solid::before { background: var(--paper); }
.btn--sm { min-height: 44px; padding: 12px 20px; font-size: 11px; }
.link { color: var(--paper); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Зерно (статичное — без перерисовок) и пылинки */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
#dust { position: fixed; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 20px 0; border-bottom: 1px solid transparent; transition: background-color .5s, padding .5s, border-color .5s; }
/* Размытие — на псевдоэлементе: backdrop-filter на самой шапке сломал бы fixed-меню внутри неё */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 9, 8, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .5s; }
.header.is-scrolled { padding: 12px 0; border-color: var(--line); }
.header.is-scrolled::before { opacity: 1; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-grid; text-decoration: none; font: 300 19px/.95 var(--sans); letter-spacing: .06em; }
.logo .a { display: flex; align-items: flex-end; gap: 5px; color: var(--pink); }
.logo .b { color: var(--violet); }
.logo i { display: inline-flex; gap: 3px; padding-bottom: 3px; }
.logo i span { width: 5px; height: 5px; border: 1px solid var(--paper); border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { position: relative; text-decoration: none; color: var(--muted); font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: color .3s; padding: 14px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="true"] { color: var(--paper); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.burger { display: none; position: relative; z-index: 3; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--paper); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 20px; } .burger span:nth-child(2) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 24px; transform: rotate(-45deg); }

/* ---------- 1. Вход ---------- */
.intro { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.intro__noise { position: absolute; inset: 0; }
.chip { position: absolute; padding: 9px 14px; border: 1px solid rgba(185,190,198,.16); border-radius: 10px; background: rgba(26, 29, 34, .9); box-shadow: 0 10px 30px rgba(0,0,0,.45); color: #c3c8cf; font: 400 12px/1.25 var(--mono); white-space: nowrap; will-change: transform, opacity; }
.chip b { display: block; margin-bottom: 3px; font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a919b; }
.chip.is-red b { color: #e57b82; }
.intro__line { position: absolute; left: 0; right: 0; top: 50%; z-index: 2; transform: translateY(-58%); padding: 0 16px; text-align: center; font: 400 13px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9aa0a8; }
.intro__line strong { display: block; margin-bottom: 16px; font: 300 clamp(32px, 4.6vw, 60px)/1.1 var(--sans); letter-spacing: -.015em; text-transform: none; color: #d3d8df; }
.lamp { position: absolute; left: 50%; top: calc(50% + 110px); z-index: 3; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ffdcaa; box-shadow: 0 0 22px 6px rgba(255,190,110,.75), 0 0 100px 34px rgba(255,170,80,.3); animation: breathe 3.6s ease-in-out infinite; }
.portal { position: absolute; inset: 0; z-index: 4; clip-path: circle(150% at 50% 50%); }
.portal img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(1.08); will-change: transform; }
.portal::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, transparent 15%, rgba(11,9,8,.82) 85%), linear-gradient(180deg, rgba(11,9,8,.35), transparent 35%, rgba(11,9,8,.92)); }
.arrive { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 0 16px; text-align: center; }
.arrive h1 { font-size: clamp(52px, 9vw, 136px); }
.arrive h1 .w { display: inline-block; }
.arrive__sub { margin: 26px 0 0; color: var(--paper-2); font: 500 12px/1.8 var(--sans); letter-spacing: .36em; text-transform: uppercase; }
.meter { position: absolute; right: var(--gutter); bottom: 32px; z-index: 6; text-align: right; color: #9aa0a8; }
.meter strong { display: block; color: var(--paper); font: 300 44px/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.meter__bar { width: 160px; height: 2px; margin: 10px 0 0 auto; background: rgba(255,255,255,.12); }
.meter__bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent), #e57b82); transform-origin: left; }
.intro__cue { position: absolute; left: var(--gutter); bottom: 32px; z-index: 6; display: flex; align-items: center; gap: 16px; }
.intro__cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); transform-origin: top; animation: cue 2.4s ease-in-out infinite; }
.intro__skip { border: 0; background: none; padding: 12px 0; color: #9aa0a8; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(154,160,168,.4); }
.intro__skip:hover { color: var(--paper); }

/* ---------- Общие секции ---------- */
.section { position: relative; z-index: 3; padding: clamp(100px, 14vw, 190px) 0; }
.section--alt { background: var(--ink-2); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(50px, 6vw, 80px); }
.head .lead { margin: 0; }

/* ---------- 2. Атмосфера / часы ---------- */
.time { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.clock { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-inline: auto; }
.clock svg { width: 100%; height: 100%; overflow: visible; }
.clock .face { fill: none; stroke: var(--line); }
.clock .tick { stroke: rgba(239,230,216,.32); }
.clock .tick.h { stroke: var(--paper); stroke-width: 2; }
.clock .hand-m { stroke: var(--paper); stroke-width: 2; stroke-linecap: round; }
.clock .hand-s { stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; }
.clock .pin { fill: var(--accent); }
.clock__glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.clock__speed { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; color: var(--muted); }
.time h2 .line { display: block; }
.time .lead { margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 44px; margin: 40px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line); list-style: none; }
.facts li { color: var(--muted); font-size: 14px; }
.facts b { display: block; color: var(--paper); font: 300 32px/1.1 var(--serif); }

/* ---------- 3. Ритуал ---------- */
.ritual { position: relative; z-index: 3; overflow: hidden; background: var(--ink-2); }
.ritual__head { padding: clamp(100px, 12vw, 160px) 0 56px; }
.ritual__track { display: flex; gap: 5vw; width: max-content; padding: 0 var(--gutter) clamp(100px, 12vw, 160px); }
.step { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 52px; align-items: center; width: min(76vw, 960px); }
.step__img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; max-height: 72vh; background: var(--ink-3); }
.step__img img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.step__n { display: block; margin-bottom: 22px; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 75%, transparent); font: 300 clamp(84px, 10vw, 150px)/.8 var(--serif); }
.step h3 { margin-bottom: 20px; font-size: clamp(34px, 3.6vw, 52px); }
.step p { max-width: 420px; color: var(--paper-2); }
.step .mono { display: block; margin-top: 22px; color: var(--muted); }
.ritual__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 56px; height: 1px; background: var(--line); display: none; }
.ritual__progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- 4. Комнаты: свет лампы ---------- */
.rooms { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.spot { position: relative; overflow: hidden; min-height: 340px; background: #000; --x: 50%; --y: 50%; outline-offset: -2px; }
.spot:first-child { grid-row: span 2; min-height: 720px; }
.spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot .dim { filter: brightness(.26) saturate(.5); }
.spot .lit { -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 32%, transparent 100%); mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 32%, transparent 100%); transition: --r 1.1s var(--ease); }
.spot:hover .lit, .spot.is-auto .lit { --r: 300px; }
.spot:focus-visible .lit { --r: 1400px; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(11,9,8,.85)); }
.spot__cap { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; pointer-events: none; }
.spot__cap h3 { font-size: clamp(28px, 3vw, 42px); }
.spot__cap p { margin: 6px 0 0; color: var(--paper-2); font-size: 15px; }
.spot__cap .mono { color: var(--accent); white-space: nowrap; }
.spot__hint { position: absolute; top: 22px; left: 28px; z-index: 2; color: rgba(239,230,216,.6); pointer-events: none; transition: opacity .6s; }
.spot:hover .spot__hint, .spot.was-lit .spot__hint { opacity: 0; }
.rooms__note { margin-top: 26px; color: var(--muted); font-size: 15px; }

/* ---------- 5. Повод ---------- */
.switch { position: relative; display: inline-flex; margin: 0 0 64px; border: 1px solid var(--line-2); }
.switch button { position: relative; z-index: 1; min-height: 52px; padding: 16px 28px; border: 0; background: none; color: var(--muted); font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: color .6s; }
.switch button[aria-pressed="true"] { color: var(--ink); }
.switch__thumb { position: absolute; top: 0; bottom: 0; left: 0; background: var(--accent); transition: transform .8s var(--ease-io), width .8s var(--ease-io); }
.occ { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.occ__photos { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.occ__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.3s ease, transform 5s ease-out; }
.occ__photos img.is-on { opacity: 1; transform: none; }
.occ__panels { display: grid; }
.panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease, visibility 0s .8s; }
.panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 1s ease .3s, transform 1s ease .3s, visibility 0s; }
.panel h3 { margin-bottom: 26px; font-size: clamp(38px, 4.2vw, 60px); }
.panel ul { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: p; }
.panel li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--paper-2); counter-increment: p; }
.panel li::before { content: "0" counter(p); color: var(--accent); font: 400 12px/2.1 var(--mono); }
.panel .rec { margin-bottom: 30px; color: #e6dccd; font: italic 300 21px/1.5 var(--serif); }
.panel .rec b { font-style: normal; font-weight: 300; color: var(--accent); }

/* ---------- 6. Голоса ---------- */
.voices { text-align: center; }
.voices .label { justify-content: center; }
.voices__stage { display: grid; place-items: center; min-height: 300px; }
.quote { grid-area: 1 / 1; max-width: 900px; margin: 0; opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease, transform 1.2s ease; }
.quote.is-on { opacity: 1; transform: none; }
.quote blockquote { margin: 0 0 28px; font: italic 300 clamp(30px, 4.2vw, 56px)/1.2 var(--serif); }
.quote figcaption { color: var(--muted); }
.voices__nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.round { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--paper); cursor: pointer; transition: border-color .3s; }
.round:hover { border-color: var(--accent); }
.round svg { width: 16px; height: 16px; }
.voices__bar { width: 140px; height: 1px; background: var(--line); }
.voices__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.voices__bar i.run { animation: fill 8s linear forwards; }
.voices.is-paused .voices__bar i { animation-play-state: paused; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 80px; margin: 90px 0 0; padding: 50px 0 0; border-top: 1px solid var(--line); list-style: none; }
.trust li { color: var(--muted); font-size: 14px; }
.trust b { display: block; margin-bottom: 8px; color: var(--paper); font: 300 52px/1 var(--serif); }

/* ---------- 7. Карта бара ---------- */
.carte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; }
.carte h3 { margin: 0 0 16px; color: var(--accent); font: 500 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.carte ul { margin: 0; padding: 0; list-style: none; }
.dish { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; font-size: 16px; }
.dish i { flex: 1; min-width: 20px; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.dish b { font: 300 21px/1 var(--serif); white-space: nowrap; }
.terms { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: 56px; padding: 28px 0; border-block: 1px solid var(--line); color: var(--paper-2); font-size: 15px; }
.terms b { color: var(--paper); font-weight: 500; }

/* ---------- 8. Бронь ---------- */
.booking { position: relative; z-index: 3; overflow: hidden; isolation: isolate; }
.booking__bg { position: absolute; inset: -8% 0; z-index: -1; }
.booking__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.22) saturate(.9) blur(2px); transform: scale(1.04); }
.booking__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; color: var(--paper-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6b6259; }
.status.is-open::before { background: #9be29b; box-shadow: 0 0 10px #9be29b; }
.form { display: grid; gap: 26px; padding: clamp(24px, 4vw, 46px); border: 1px solid var(--line); background: rgba(11, 9, 8, .86); }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend, .field > span { display: block; margin-bottom: 12px; color: var(--muted); font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { min-height: 46px; display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--line-2); font-size: 15px; cursor: pointer; transition: border-color .4s, background-color .4s; }
.opts label:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.opts input:checked + label { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.opts input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; font-size: 18px; font-weight: 300; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #e57b82; }
.field select option { background: var(--ink); }
.form .btn { width: 100%; }
.form__msg { min-height: 1.5em; margin: -6px 0 0; color: var(--paper-2); font-size: 14px; text-align: center; }
.form__msg.is-err { color: #f09aa0; }
.form__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); font-size: 14px; }
.form__alt button { border: 0; padding: 0 0 2px; cursor: pointer; font-size: 14px; }

/* ---------- 9. Как найти ---------- */
.find { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.find__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.find__media img, .find__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.find__media img { filter: brightness(.9) saturate(.9); }
.find__map { position: absolute; right: 18px; bottom: 18px; z-index: 2; background: rgba(11,9,8,.85); }
.info { display: grid; gap: 26px; margin: 0; }
.info dt { margin-bottom: 8px; color: var(--accent); font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.info dd { margin: 0; font-size: 17px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 26px; }
.hours .is-today { color: var(--accent); }
.info a { text-decoration: none; }
.info a:hover { color: var(--accent); }
.info .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- 10. Финал ---------- */
.outro { position: relative; z-index: 3; display: grid; place-items: center; min-height: 80vh; padding: 100px 16px; overflow: hidden; text-align: center; }
.outro h2 { position: relative; z-index: 2; font-size: clamp(56px, 11vw, 168px); }
.outro p { position: relative; z-index: 2; margin-top: 20px; color: var(--muted); }
.far { position: absolute; inset: 0; pointer-events: none; }
.far span { position: absolute; color: #737a83; font: 400 11px/1 var(--mono); white-space: nowrap; animation: drift linear infinite; }

.footer { position: relative; z-index: 3; padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }

/* ---------- Плавающие элементы ---------- */
.sound { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-2); background: rgba(11,9,8,.86); color: var(--muted); cursor: pointer; transition: color .3s, border-color .3s; }
.sound:hover, .sound[aria-pressed="true"] { color: var(--paper); border-color: var(--accent); }
.sound .bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound .bars i { width: 2px; height: 3px; background: currentColor; }
.sound[aria-pressed="true"] .bars i { animation: eq 1.2s ease-in-out infinite; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.4s; }
.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.8s; }
.dock { display: none; }

/* ---------- Окно 18+ ---------- */
.gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(6,5,4,.94); }
.gate[hidden] { display: none; }
.gate__box { width: min(440px, 100%); padding: 44px 30px; border: 1px solid var(--line-2); background: var(--ink-2); text-align: center; }
.gate__box h2 { margin-bottom: 12px; font-size: 40px; }
.gate__box p { color: var(--muted); }
.gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* ---------- Анимации ---------- */
@keyframes breathe { 50% { transform: scale(1.35); opacity: .75; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-140px); } }
@keyframes eq { 50% { height: 12px; } }

/* Статичный режим: без анимаций — вход сразу открыт */
.static .intro__noise, .static .intro__line, .static .lamp, .static .intro__cue { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Адаптив ---------- */
@media (min-width: 961px) { .motion .ritual__progress { display: block; } }
@media (max-width: 960px) {
  .time, .occ, .booking__in, .find { grid-template-columns: 1fr; }
  .carte { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr; grid-template-rows: none; }
  .spot:first-child { grid-row: auto; min-height: 520px; }
  .ritual__track { flex-direction: column; gap: 80px; width: auto; }
  .step { grid-template-columns: 1fr; gap: 28px; width: 100%; }
  .step__img { aspect-ratio: 4 / 5; max-height: none; }
  .occ__photos { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 18px; background: rgba(11,9,8,.98); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { color: var(--paper); font-size: 14px; }
  .nav .btn { margin-top: 12px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; display: flex; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
  .dock.is-on { transform: none; }
  .dock a { flex: 1; display: grid; place-items: center; min-height: 56px; color: var(--paper); font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
  .dock a:last-child { background: var(--accent); color: var(--ink); }
  .sound { display: none; }
  .footer { padding-bottom: 96px; }
  .meter strong { font-size: 32px; }
  .meter__bar { width: 110px; }
  .intro__cue .hint { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row2 { grid-template-columns: 1fr; }
  .switch { display: flex; width: 100%; }
  .switch button { flex: 1; padding: 14px 6px; font-size: 11px; letter-spacing: .12em; }
  .spot { min-height: 320px; }
  .spot:first-child { min-height: 420px; }
  .spot__cap { flex-direction: column; align-items: flex-start; left: 20px; right: 20px; }
  .spot__hint { left: 20px; }
  .chip { padding: 7px 10px; font-size: 11px; }
  .find__media { aspect-ratio: 4 / 3.4; }
}
@media (hover: none) { .spot__hint { display: none; } }
