/* =========================================================
   broen bar — «нічний люкс» · макет №2
   палітра Rich Look: #0D0D0D #2B1F1A #4A3527 #8B7355 #C8A96B #E8DCC0
   ========================================================= */
:root {
  --onyx: #0D0D0D;
  --onyx2: #141110;
  --cocoa: #2B1F1A;
  --walnut: #4A3527;
  --bronze: #8B7355;
  --gold: #C8A96B;
  --gold-hi: #F1DFAE;
  --ivory: #E8DCC0;
  --muted: #B5A68C;
  --ink: #2B1F1A;
  --ink-acc: #6B4F31;
  --line: rgba(200, 169, 107, .22);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
html.rm, html.shot { scroll-behavior: auto; }
body {
  margin: 0; background: var(--onyx); color: var(--ivory);
  font: 400 16px/1.65 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html.intro-on { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--onyx); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 400; background: var(--gold); color: var(--onyx); padding: 10px 16px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* ---------- плівкове зерно та прогрес ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--gold), var(--gold-hi)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(200, 169, 107, .6); }

/* ---------- курсор-кільце ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js:not(.rm):not(.shot) .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); }
  .cursor-ring {
    position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(200, 169, 107, .75);
    transition: width .45s var(--ease), height .45s var(--ease), left .45s var(--ease), top .45s var(--ease), background-color .45s, border-color .45s;
  }
  .cursor-lbl {
    position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
    font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--onyx); white-space: nowrap;
    transition: opacity .3s, transform .45s var(--ease);
  }
  .cursor.is-big .cursor-ring { width: 92px; height: 92px; left: -46px; top: -46px; background: rgba(200, 169, 107, .92); border-color: var(--gold); }
  .cursor.is-big .cursor-lbl { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .cursor.is-hover .cursor-ring { width: 56px; height: 56px; left: -28px; top: -28px; border-color: var(--gold-hi); }
  .cursor.is-down .cursor-ring { transform: scale(.85); }
}

/* =========================================================
   ІНТРО — золота печатка
   ========================================================= */
.intro { display: none; }
html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 300; overflow: hidden; cursor: pointer; }
html.intro-done .intro { display: none !important; }
.intro-half { position: absolute; top: 0; bottom: 0; width: 50.2%; transition: transform 1.2s var(--ease-io) .2s; will-change: transform; }
.intro-l { left: 0; background: radial-gradient(ellipse 120% 70% at 100% 50%, #2a1e17 0%, #150f0c 45%, var(--onyx) 80%); border-right: 1px solid transparent; }
.intro-r { right: 0; background: radial-gradient(ellipse 120% 70% at 0% 50%, #2a1e17 0%, #150f0c 45%, var(--onyx) 80%); }
.intro-seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: linear-gradient(180deg, transparent, var(--gold-hi) 30%, var(--gold) 70%, transparent); box-shadow: 0 0 18px 2px rgba(241, 223, 174, .55); transform: scaleY(0); opacity: 0; }
.intro-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .7s, transform 1s var(--ease-io), filter .8s; }
.seal { overflow: visible; }
.seal-intro { width: min(52vw, 250px); height: auto; transform: rotate(-28deg) scale(.96); transition: transform 2.2s var(--ease); }
.seal-intro circle { fill: none; stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: 1; }
.s-c1 { stroke-width: 1.4; transition: stroke-dashoffset 1.5s var(--ease-io) .1s; }
.s-c2 { stroke-width: .6; transition: stroke-dashoffset 1.5s var(--ease-io) .3s; }
.s-c3 { stroke-width: .8; transition: stroke-dashoffset 1.3s var(--ease-io) .5s; }
.s-ring { font: 600 10.5px var(--sans); letter-spacing: 3.2px; fill: var(--gold); }
.seal-intro .s-ring { opacity: 0; transition: opacity 1s ease .9s; }
.s-b { font: italic 300 96px var(--serif); }
.seal-intro .s-b { fill: rgba(241, 223, 174, 0); stroke: var(--gold-hi); stroke-width: .9; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease-io) .45s, fill .6s ease; }
.intro-wave { position: absolute; left: 50%; top: 50%; width: min(52vw, 250px); aspect-ratio: 1; margin: calc(min(52vw, 250px) / -2) 0 0 calc(min(52vw, 250px) / -2); border-radius: 50%; border: 1px solid var(--gold); opacity: 0; pointer-events: none; transform: translateY(-38px); }
.intro-word { font: italic 300 clamp(1.7rem, 6vw, 2.6rem)/1 var(--serif); color: var(--ivory); letter-spacing: .7em; opacity: 0; margin-right: -.2em; transition: letter-spacing 1.6s var(--ease), opacity 1s; white-space: nowrap; }
.intro-sub { font: 600 .68rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity 1s .35s; margin-right: -.5em; }
.intro-skip { position: absolute; left: 0; right: 0; bottom: max(28px, env(safe-area-inset-bottom)); text-align: center; font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity 1s 1.2s; }

.intro.p1 .seal-intro circle, .intro.p1 .seal-intro .s-b { stroke-dashoffset: 0; }
.intro.p1 .seal-intro { transform: rotate(0deg) scale(1); }
.intro.p1 .seal-intro .s-ring { opacity: .95; }
.intro.p1 .intro-skip { opacity: 1; }
.intro.p2 .seal-intro .s-b { fill: var(--gold-hi); stroke: transparent; }
.intro.p2 .seal-intro { animation: press .8s var(--ease) both; }
.intro.p2 .intro-wave { animation: wave 1.6s var(--ease) both; }
.intro.p2 .intro-wave.w2 { animation-delay: .18s; }
.intro.p2 .intro-word { opacity: 1; letter-spacing: .2em; }
.intro.p2 .intro-sub { opacity: 1; }
.intro.p2 .intro-stage::before { content: ''; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -298px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 223, 174, .32), rgba(200, 169, 107, .08) 40%, transparent 68%); animation: flash 1.6s ease-out both; pointer-events: none; }
@keyframes press { 0% { transform: scale(1.1); filter: drop-shadow(0 0 0 rgba(241, 223, 174, 0)); } 35% { transform: scale(.93); filter: drop-shadow(0 0 22px rgba(241, 223, 174, .7)); } 65% { transform: scale(1.02); } 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(241, 223, 174, .25)); } }
@keyframes wave { 0% { opacity: .9; transform: translateY(-38px) scale(.9); } 100% { opacity: 0; transform: translateY(-38px) scale(3.4); } }
@keyframes flash { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; } 100% { opacity: .35; transform: scale(1.1); } }
.intro.p3 .intro-seam { animation: seam 1.4s var(--ease-io) both; }
.intro.p3 .intro-l { transform: translateX(-101%); }
.intro.p3 .intro-r { transform: translateX(101%); }
.intro.p3 .intro-stage { opacity: 0; transform: scale(1.18); filter: blur(10px); }
.intro.p3 .intro-skip { opacity: 0; transition-delay: 0s; }
.intro.fast .intro-half { transition-duration: .75s; transition-delay: 0s; }
.intro.fast .intro-stage { transition-duration: .4s; }
@keyframes seam { 0% { opacity: 0; transform: scaleY(0); } 25% { opacity: 1; transform: scaleY(1); } 70% { opacity: .8; } 100% { opacity: 0; transform: scaleY(1); } }

/* =========================================================
   ШАПКА
   ========================================================= */
.hdr {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: var(--hdr);
  display: flex; align-items: center; gap: 28px; padding: 0 clamp(20px, 3.4vw, 48px);
  transition: background-color .5s, border-color .5s, transform 1s var(--ease) .6s, opacity 1s .6s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
html.js:not(.ready) .hdr { opacity: 0; transform: translateY(-20px); }
.hdr.scrolled { background: rgba(13, 13, 13, .78); border-bottom-color: rgba(200, 169, 107, .16); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: italic 400 1.55rem/1 var(--serif); color: var(--gold); padding-bottom: 4px;
  border: 1px solid var(--gold); box-shadow: inset 0 0 0 3px var(--onyx), inset 0 0 0 4px rgba(200, 169, 107, .45);
  transition: transform .8s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-mark.big { width: 64px; height: 64px; font-size: 2.4rem; }
.brand-name { font: 500 .8rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav a { position: relative; text-decoration: none; font: 500 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); padding: 10px 0; }
.nav a i { font: italic 400 .95rem/1 var(--serif); letter-spacing: 0; color: var(--gold); margin-right: 6px; text-transform: none; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--ease); }
.nav a:hover::after, .nav a.is-cur::after { transform: scaleX(1); transform-origin: 0 50%; }
.hdr-status { display: flex; align-items: center; gap: 10px; font: 500 .72rem/1 var(--sans); letter-spacing: .08em; color: var(--ivory); border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); flex: none; position: relative; }
[data-open="1"] .dot { background: var(--gold); box-shadow: 0 0 10px rgba(200, 169, 107, .9); }
[data-open="1"] .dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.burger { display: none; align-items: center; gap: 12px; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; cursor: pointer; font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); }
.burger-lines { position: relative; width: 20px; height: 8px; }
.burger-lines span { position: absolute; left: 0; right: 0; height: 1px; background: var(--gold); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger-lines span:first-child { top: 0; } .burger-lines span:last-child { top: 7px; }
.burger[aria-expanded="true"] .burger-lines span:first-child { top: 4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:last-child { top: 4px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 95; background: radial-gradient(ellipse at 80% 0%, #2a1e17, var(--onyx) 70%);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px;
  clip-path: circle(0% at calc(100% - 60px) 38px); transition: clip-path .9s var(--ease-io);
}
.mnav[hidden] { display: none; }
.mnav.is-open { clip-path: circle(150% at calc(100% - 60px) 38px); }
.mnav-list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mnav-list li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mnav-list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; text-decoration: none; font: 300 2.2rem/1.1 var(--serif); color: var(--ivory); transform: translateY(110%); transition: transform .8s var(--ease); }
.mnav-list a i { font: italic 400 1rem var(--serif); color: var(--gold); }
.mnav.is-open .mnav-list a { transform: none; }
.mnav.is-open .mnav-list li:nth-child(1) a { transition-delay: .18s; } .mnav.is-open .mnav-list li:nth-child(2) a { transition-delay: .24s; }
.mnav.is-open .mnav-list li:nth-child(3) a { transition-delay: .3s; } .mnav.is-open .mnav-list li:nth-child(4) a { transition-delay: .36s; }
.mnav.is-open .mnav-list li:nth-child(5) a { transition-delay: .42s; } .mnav.is-open .mnav-list li:nth-child(6) a { transition-delay: .48s; }
.mnav-foot { margin-top: 36px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.mnav-foot a { color: var(--gold); text-decoration: none; font: 400 1.4rem var(--serif); }

/* =========================================================
   КНОПКИ
   ========================================================= */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; text-decoration: none; font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; border-radius: 0; cursor: pointer; overflow: hidden; isolation: isolate; border: 1px solid var(--gold); background: none; }
.btn span { position: relative; z-index: 1; }
.btn-gold { background: var(--gold); color: var(--onyx); }
.btn-gold::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 249, 230, .75) 50%, transparent 70%); transform: translateX(-110%); transition: transform .9s var(--ease); }
.btn-gold:hover::before { transform: translateX(110%); }
.btn-line { color: var(--ivory); }
.btn-line::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); z-index: 0; }
.btn-line:hover { color: var(--onyx); }
.btn-line:hover::before { transform: scaleY(1); }
.btn-wide { width: 100%; }

/* =========================================================
   ГЕРОЙ
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 80% 60% at 70% 40%, #3a2a1f, var(--onyx) 70%); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 2.4s ease .2s; }
html.ready .hero-gl.is-on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(13, 13, 13, .92) 0%, rgba(13, 13, 13, .7) 38%, rgba(13, 13, 13, .25) 70%, rgba(13, 13, 13, .55) 100%),
  linear-gradient(180deg, rgba(13, 13, 13, .55) 0%, transparent 25%, transparent 70%, var(--onyx) 100%); }
.hero-in { width: 100%; max-width: 1280px; margin: 0 auto; padding: calc(var(--hdr) + 40px) clamp(20px, 5vw, 64px) 110px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero-txt { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; font: 600 .72rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.eyebrow .ln { width: 48px; height: 1px; background: var(--gold); flex: none; }
.hero-title { font: italic 300 clamp(4.4rem, 12.4vw, 12rem)/.88 var(--serif); letter-spacing: -.015em; margin: .22em 0 .18em -.04em; white-space: nowrap; }
.foil {
  display: inline-block; padding: 0 .12em .08em .02em;
  background: linear-gradient(100deg, #8B7355 0%, #C8A96B 22%, #F6E7C1 34%, #C8A96B 46%, #9c8160 62%, #E2C98E 78%, #C8A96B 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(-10% 100% -20% -5%);
  transition: clip-path 1.5s var(--ease-io) .35s, background-position 3s var(--ease) .4s;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .55)) drop-shadow(0 18px 40px rgba(200, 169, 107, .18));
}
html.ready .foil { clip-path: inset(-10% -5% -20% -5%); background-position: 0 0; animation: sheen 9s ease-in-out 3.6s infinite; }
@keyframes sheen { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.hero-tag { font: 500 clamp(.72rem, 1.3vw, .9rem)/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--ivory); margin-bottom: 30px; }
.hero-tag span { color: var(--gold); font-weight: 300; }
.hero-tag b { color: var(--gold); font-weight: 400; }
.hero-lead { max-width: 30em; font: 300 clamp(1.15rem, 1.6vw, 1.4rem)/1.5 var(--serif); color: var(--ivory); margin-bottom: 38px; font-style: italic; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.h-rise { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--ease) calc(var(--d, 0s) + .2s), transform 1.4s var(--ease) calc(var(--d, 0s) + .2s); }
html.ready .h-rise { opacity: 1; transform: none; }
html:not(.js) .h-rise, html:not(.js) .foil { opacity: 1; transform: none; clip-path: none; }

.hero-photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 430px; }
.frame { position: relative; aspect-ratio: 4 / 5; padding: 12px; border: 1px solid rgba(200, 169, 107, .45); clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io) .45s; }
html.ready .frame { clip-path: inset(-30px -30px -30px -30px); }
.frame-img { position: absolute; inset: 12px; overflow: hidden; }
.frame img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; transform: scale(1.25) translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform 3.2s var(--ease) .7s; filter: saturate(1.05) contrast(1.06) brightness(.95); }
html.ready .frame img { transform: scale(1.08) translate3d(var(--mx, 0), var(--my, 0), 0); }
.frame::after { content: ''; position: absolute; inset: 12px; background: radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(13, 13, 13, .55)); pointer-events: none; }
.corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; border-width: 0; }
.corner.c1 { left: -8px; top: -8px; border-left-width: 1px; border-top-width: 1px; }
.corner.c2 { right: -8px; top: -8px; border-right-width: 1px; border-top-width: 1px; }
.corner.c3 { left: -8px; bottom: -8px; border-left-width: 1px; border-bottom-width: 1px; }
.corner.c4 { right: -8px; bottom: -8px; border-right-width: 1px; border-bottom-width: 1px; }
.hero-photo figcaption { margin-top: 22px; font: italic 300 1.1rem/1.3 var(--serif); color: var(--ivory); display: flex; gap: 12px; align-items: baseline; }
.hero-photo figcaption i { font: 600 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.seal-badge { position: absolute; left: -64px; bottom: 46px; width: 136px; height: 136px; opacity: 0; transform: scale(.6) rotate(-90deg); transition: opacity 1s 1.6s, transform 1.6s var(--ease) 1.6s; }
html.ready .seal-badge { opacity: 1; transform: none; }
.seal-badge .b-c { fill: var(--onyx); stroke: var(--gold); stroke-width: 1; }
.seal-badge .b-c + .b-c { fill: none; stroke-width: .7; }
.seal-badge .s-ring { animation: spin 38s linear infinite; transform-origin: 100px 100px; transform-box: view-box; }
.seal-badge .s-b { fill: var(--gold-hi); font-size: 78px; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; margin-left: -40px; width: 80px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font: 600 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(200, 169, 107, .25); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-hi); animation: drop 2.2s var(--ease-io) infinite; }
@keyframes drop { to { top: 110%; } }

/* =========================================================
   ЗАГАЛЬНЕ ДЛЯ РОЗДІЛІВ
   ========================================================= */
.sec { position: relative; padding: clamp(96px, 14vh, 160px) 0; }
.chap { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.chap-n { font: italic 400 1.35rem/1 var(--serif); color: var(--gold); }
.chap-ln { width: 72px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(200, 169, 107, .2)); transform-origin: 0 50%; }
.chap-k { font: 600 .7rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--ivory); }
.h2 { font: 300 clamp(2.5rem, 6.2vw, 5.6rem)/1.02 var(--serif); letter-spacing: -.01em; max-width: 15em; }
.h2 em { font-style: italic; color: var(--gold); }
.sub { margin-top: 22px; max-width: 40em; color: var(--muted); font-size: 1rem; }
.lead { font: 300 clamp(1.35rem, 2.2vw, 1.95rem)/1.45 var(--serif); }
.lead em { color: var(--gold); }

/* поява при скролі (перевірка getBoundingClientRect у scroll-обробнику) */
html.js .rv { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease); transition-delay: var(--rd, 0s); }
html.js .rv.is-in { opacity: 1; transform: none; filter: none; }
html.js .chap .chap-ln { transform: scaleX(0); transition: transform 1.4s var(--ease-io) .3s; }
html.js .chap.is-in .chap-ln { transform: scaleX(1); }
/* гравіювання заголовків: спершу золотий контур, потім заливка */
html.js .engrave { filter: none; transform: none; opacity: 1; color: transparent; -webkit-text-stroke: .7px var(--gold); clip-path: inset(-.25em 100% -.35em -.1em);
  transition: clip-path 1.6s var(--ease-io), color 1.1s ease 1.05s, -webkit-text-stroke-color 1.1s ease 1.05s; }
html.js .engrave em { color: transparent; transition: color 1.1s ease 1.25s; }
html.js .engrave.is-in { color: var(--ivory); -webkit-text-stroke-color: transparent; clip-path: inset(-.25em -.2em -.35em -.1em); }
html.js .engrave.is-in em { color: var(--gold); }

/* =========================================================
   01 ПРО БАР
   ========================================================= */
.about::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 80px; background: linear-gradient(var(--onyx), var(--gold)); opacity: .5; }
.pano { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1400px; padding: 0 clamp(12px, 3vw, 40px); }
html.js .pano.rv { filter: none; transform: none; opacity: 1; }
.pano-in { position: relative; height: clamp(240px, 40vw, 560px); overflow: hidden; clip-path: inset(0 0 0 0); }
html.js .pano.rv .pano-in { clip-path: inset(14% 10% 14% 10%); transition: clip-path 1.8s var(--ease-io); }
html.js .pano.rv.is-in .pano-in { clip-path: inset(0 0 0 0); }
.pano img { width: 100%; height: 125%; object-fit: cover; object-position: 50% 40%; transform: translate3d(0, var(--py, -10%), 0) scale(var(--ps, 1.06)); will-change: transform; }
.pano-in::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(13, 13, 13, .7); pointer-events: none; }
.pano figcaption { margin-top: 14px; text-align: right; font: italic 300 1rem var(--serif); color: var(--muted); padding-right: 4px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); align-items: start; }
.stats { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stats dd { margin: 0; font: 300 clamp(3rem, 5vw, 4.4rem)/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums; }
.stats dt { font: 600 .7rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); margin-top: 8px; }
.notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 8vw, 110px); }
.note { position: relative; padding: 30px 26px 32px; background: linear-gradient(170deg, rgba(43, 31, 26, .75), rgba(20, 17, 16, .6)); border: 1px solid rgba(200, 169, 107, .16); overflow: hidden; }
.note::before { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: translateX(-100%); transition: transform 1.4s var(--ease); }
.note:hover::before { transform: translateX(100%); }
.note:nth-child(2) { --rd: .1s; } .note:nth-child(3) { --rd: .2s; } .note:nth-child(4) { --rd: .3s; }
.note-k { font: 600 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.note h3 { font: 400 1.65rem/1.15 var(--serif); margin: 16px 0 12px; }
.note p { font-size: .93rem; color: var(--muted); }

/* =========================================================
   02 КОКТЕЙЛЬНА КАРТА — горизонтальна галерея
   ========================================================= */
.cocktails { padding: 0; background: linear-gradient(180deg, var(--onyx), #120e0c 30%, #120e0c 70%, var(--onyx)); }
.hscroll { position: relative; }
.hs-sticky { padding: clamp(96px, 12vh, 140px) 0 70px; display: flex; flex-direction: column; }
.hs-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hs-count { font: italic 300 1.6rem/1 var(--serif); color: var(--muted); white-space: nowrap; }
.hs-count b { font-weight: 400; color: var(--gold); font-size: 2.6rem; }
.hs-viewport { margin-top: clamp(32px, 5vh, 56px); min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs-viewport::-webkit-scrollbar { display: none; }
.hs-track { list-style: none; margin: 0; display: flex; gap: clamp(18px, 2.4vw, 36px); padding: 0 clamp(20px, 5vw, 64px); width: max-content; }
.hs-track::after { content: ''; flex: none; width: 1px; }
.cc { position: relative; flex: none; width: clamp(268px, 76vw, 340px); scroll-snap-align: center; }
.cc-ph { position: relative; margin: 0; height: clamp(300px, 46vh, 420px); overflow: hidden; background: var(--cocoa); }
.cc-ph img { position: absolute; left: -12%; top: 0; width: 124%; max-width: none; height: 100%; object-fit: cover; transform: translate3d(var(--ix, 0), 0, 0) scale(1.02); transition: scale .9s var(--ease), filter .9s; filter: saturate(.92) contrast(1.05) brightness(.9) sepia(.12); }
.cc-ph::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(232, 220, 192, .35); z-index: 2; pointer-events: none; transition: inset .8s var(--ease), border-color .8s; }
.cc-ph::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13, 13, 13, 0) 55%, rgba(13, 13, 13, .7)); }
.cc:hover .cc-ph img { scale: 1.08; filter: saturate(1.05) contrast(1.05) brightness(1) sepia(0); }
.cc:hover .cc-ph::before { inset: 16px; border-color: var(--gold); }
.cc-no { position: absolute; left: 22px; bottom: 18px; z-index: 3; font: italic 300 2.6rem/1 var(--serif); color: var(--gold-hi); }
.cc-tag { position: absolute; right: 22px; top: 22px; z-index: 3; font: 600 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--onyx); background: var(--gold); padding: 7px 10px; }
.cc-body { padding: 22px 4px 0; }
.cc-top { display: flex; align-items: baseline; gap: 12px; }
.cc-t { font: 400 1.75rem/1.1 var(--serif); }
.cc-btn { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.cc-btn::after { content: ''; position: absolute; inset: 0; z-index: 4; }
.cc-lead { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(200, 169, 107, .5); transform: translateY(-6px); }
.cc-p { font: 400 1.5rem/1 var(--serif); color: var(--gold); white-space: nowrap; }
.cc-ing { margin-top: 10px; font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-taste { margin-top: 8px; font: italic 300 1.1rem/1.3 var(--serif); color: var(--ivory); }
.hs-bar { position: relative; height: 1px; margin-top: 44px; }
.hs-bar::before { content: ''; position: absolute; left: clamp(20px, 5vw, 64px); right: clamp(20px, 5vw, 64px); top: 0; height: 1px; background: var(--line); }
.hs-fill { position: absolute; left: clamp(20px, 5vw, 64px); right: clamp(20px, 5vw, 64px); top: -1px; height: 3px; background: linear-gradient(90deg, var(--bronze), var(--gold-hi)); transform-origin: 0 50%; transform: scaleX(var(--hp, .08)); }

/* закріплений режим (ПК): вертикальний скрол рухає галерею вбік */
html.pin .hs-sticky { position: sticky; top: 0; height: 100vh; justify-content: center; padding: calc(var(--hdr) + 8px) 0 28px; overflow: hidden; }
html.pin .hs-head .chap { margin-bottom: 14px; }
html.pin .hs-head .h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
html.pin .hs-viewport { margin-top: clamp(20px, 3.5vh, 40px); }
html.pin .hs-bar { margin-top: 26px; }
html.pin .hs-viewport { overflow: visible; scroll-snap-type: none; }
html.pin .hs-track { transform: translate3d(var(--tx, 0), 0, 0); will-change: transform; }
html.pin .cc { width: clamp(290px, 24vw, 350px); }
html.pin .cc-ph { height: clamp(220px, 40vh, 420px); }
html.pin .cc:nth-child(even) { margin-top: 3vh; }

/* =========================================================
   03 ВИНО — шкіряна папка
   ========================================================= */
.wine { background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(74, 53, 39, .45), transparent 70%); }
.book { position: relative; margin: clamp(48px, 7vw, 90px) auto 0; max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); perspective: 2600px; transform: translateX(-25%); transition: transform 1.9s var(--ease-io) .1s; }
.book-right { grid-column: 2; }
.book-page { position: relative; padding: clamp(32px, 4vw, 54px) clamp(26px, 3.4vw, 50px); color: var(--ink); background:
  radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .35), transparent 60%),
  linear-gradient(180deg, #EDE3CB, #E3D5B5); min-height: 100%; }
.book-right { box-shadow: inset 30px 0 40px -24px rgba(74, 53, 39, .55), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.book-cover { position: absolute; left: 50%; top: 0; bottom: 0; width: 50%; transform-origin: 0 50%; transform-style: preserve-3d; transform: rotateY(0deg); transition: transform 2s var(--ease-io) .25s; }
.cover-front, .cover-back { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.cover-back { transform: rotateY(180deg); box-shadow: inset -30px 0 40px -24px rgba(74, 53, 39, .55), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.cover-front {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(139, 115, 85, .35), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(13, 13, 13, .6), transparent 60%),
    repeating-radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .015) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #3b2a20, #2B1F1A 50%, #1f1612);
  box-shadow: inset 0 0 0 1px rgba(200, 169, 107, .25), inset 10px 0 30px rgba(0, 0, 0, .55), 0 50px 90px -30px rgba(0, 0, 0, .9);
}
.cover-frame { position: absolute; inset: 26px; border: 1px solid rgba(200, 169, 107, .6); box-shadow: 0 0 0 5px transparent, 0 0 0 6px rgba(200, 169, 107, .3); }
.cover-mono { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; font: italic 300 5.4rem/1 var(--serif); color: var(--gold); padding-bottom: 12px; border: 1px solid rgba(200, 169, 107, .7); box-shadow: inset 0 0 0 6px rgba(13, 13, 13, .25), inset 0 0 0 7px rgba(200, 169, 107, .4); text-shadow: 0 1px 0 rgba(255, 240, 200, .25), 0 -1px 0 rgba(0, 0, 0, .7); }
.cover-t { font: 600 .82rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-right: -.5em; margin-top: 10px; }
.cover-s { font: italic 300 1.4rem/1 var(--serif); color: var(--gold); }
.book.is-in { transform: none; }
.book.is-in .book-cover { transform: rotateY(-180deg); }
.wp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(107, 79, 49, .35); padding-bottom: 8px; margin: 30px 0 6px; }
.wp-h:first-child { margin-top: 0; }
.wp-h h3 { font: italic 400 1.75rem/1 var(--serif); color: var(--ink); }
.wp-h span { font: 600 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-acc); }
.wl { list-style: none; margin: 0; padding: 0; }
.wi { position: relative; padding: 12px 0 10px; border-bottom: 1px dashed rgba(107, 79, 49, .22); }
.wi:last-child { border-bottom: 0; }
.wi-top { display: flex; align-items: baseline; gap: 10px; }
.wi-n { font: 500 1.22rem/1.2 var(--serif); }
.wi-n button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.wi-n button::after { content: ''; position: absolute; inset: 0; }
.wi-n button:hover { color: var(--ink-acc); }
.wi-lead { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(74, 53, 39, .5); transform: translateY(-5px); }
.wi-p { font: 600 1.15rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.wi-d { margin-top: 3px; font-size: .84rem; line-height: 1.45; color: #4A3527; }
.wi-w { font: 600 .66rem/1 var(--sans); letter-spacing: .14em; color: var(--ink-acc); margin-left: 6px; white-space: nowrap; }

/* =========================================================
   04 ПОВНЕ МЕНЮ
   ========================================================= */
.menu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.search { position: relative; width: min(380px, 100%); }
.search svg { position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.search input { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(200, 169, 107, .5); color: var(--ivory); font: 400 1.05rem var(--sans); padding: 14px 4px 14px 32px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #9d907a; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.menu.searching .tab[aria-selected="true"] { color: #a99c84; }
.menu.searching .tab-ink { opacity: 0; }
.legal-in h2:focus { outline: none; }
.search input:focus { outline: none; border-bottom-color: var(--gold-hi); box-shadow: 0 1px 0 var(--gold-hi); }
.tabs-wrap { position: relative; margin-top: clamp(36px, 5vw, 56px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); min-width: 0; }
.tabs-wrap::-webkit-scrollbar { display: none; }
.tabs { display: flex; gap: clamp(20px, 4vw, 56px); width: max-content; }
.tab { position: relative; background: none; border: 0; padding: 14px 0 18px; cursor: pointer; font: 300 clamp(1.5rem, 2.6vw, 2.2rem)/1 var(--serif); color: #a99c84; transition: color .5s; white-space: nowrap; }
.tab sup { font: 600 .62rem/1 var(--sans); letter-spacing: .1em; color: inherit; margin-left: 6px; vertical-align: top; position: relative; top: 4px; }
.tab:hover { color: var(--ivory); }
.tab[aria-selected="true"] { color: var(--gold-hi); }
.tab-ink { position: absolute; bottom: 0; height: 2px; left: var(--il, 0); width: var(--iw, 0); background: linear-gradient(90deg, rgba(200, 169, 107, .1), var(--gold) 40%, var(--gold-hi)); box-shadow: 0 0 14px rgba(241, 223, 174, .6); transition: left .55s var(--ease), width .55s var(--ease); }
.tab-ink.trail-r { background: linear-gradient(90deg, rgba(200, 169, 107, 0), var(--gold) 55%, var(--gold-hi)); }
.tab-ink.trail-l { background: linear-gradient(270deg, rgba(200, 169, 107, 0), var(--gold) 55%, var(--gold-hi)); }
.chips-wrap { margin-top: 24px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: none; border: 1px solid rgba(200, 169, 107, .35); color: var(--ivory); border-radius: 99px; padding: 9px 16px; font: 500 .74rem/1 var(--sans); letter-spacing: .08em; cursor: pointer; transition: background-color .4s, color .4s, border-color .4s; white-space: nowrap; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--onyx); border-color: var(--gold); }
.chip small { font-size: .68rem; opacity: .85; margin-left: 4px; }
.menu-meta { margin-top: 22px; min-height: 1.4em; font: italic 300 1.1rem var(--serif); color: var(--muted); }
.panels { position: relative; margin-top: 10px; }
.panel[hidden], .results[hidden] { display: none; }
.panel, .results { position: relative; }
.panel::before, .results::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: scaleX(0); opacity: 0; pointer-events: none; }
.panel.enter::before, .results.enter::before { animation: sweep 1.2s var(--ease) both; }
@keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.panel.enter .it, .results.enter .it { animation: rowIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.cat { padding-top: 34px; }
.cat[hidden] { display: none; }
.cat-h { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 6px; }
.cat-h h3 { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--serif); }
.cat-h p { font: italic 300 1.05rem var(--serif); color: var(--muted); }
.cat-h span { margin-left: auto; font: 600 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); }
.it { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 8px 18px 0; border-bottom: 1px solid rgba(200, 169, 107, .13); }
.it::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(200, 169, 107, .09), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.it:hover::before { opacity: 1; }
.it-ph { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(200, 169, 107, .5); padding: 3px; background: var(--onyx2); }
.it-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .8s var(--ease); background: var(--cocoa); }
.it:hover .it-ph img { transform: scale(1.12); }
.it-ph.no { display: grid; place-items: center; font: italic 300 2rem/1 var(--serif); color: var(--gold); padding-bottom: 6px; }
.it-main { min-width: 0; }
.it-top { display: flex; align-items: baseline; gap: 10px; }
.it-n { font: 500 1.28rem/1.2 var(--serif); min-width: 0; }
.it-btn { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: var(--ivory); }
.it-btn::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.it:hover .it-btn { color: var(--gold-hi); }
.it-lead { flex: 1; min-width: 14px; border-bottom: 1px dotted rgba(200, 169, 107, .4); transform: translateY(-5px); }
.it-p { font: 500 1.25rem/1 var(--serif); color: var(--gold); white-space: nowrap; }
.it-w { display: inline-block; margin-top: 4px; font: 600 .64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.it-d { margin-top: 5px; font-size: .86rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.it-sec { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.it-na { font: 600 .62rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--onyx); background: var(--muted); padding: 4px 6px; margin-left: 8px; vertical-align: middle; }
.empty { padding: 60px 0; text-align: center; }
.empty p:first-child { font: italic 300 2rem/1.2 var(--serif); color: var(--ivory); }
.empty p + p { margin-top: 10px; color: var(--muted); }
.menu-note { margin-top: 40px; font-size: .85rem; color: var(--muted); }

/* =========================================================
   05 ВЕЧОРИ
   ========================================================= */
.evenings { overflow: hidden; background: radial-gradient(ellipse 60% 50% at 50% 35%, rgba(74, 53, 39, .55), transparent 70%), var(--onyx); }
.mc { margin: clamp(56px, 9vw, 120px) 0; text-align: center; }
.mc p { font: italic 300 clamp(2.8rem, 9vw, 8.4rem)/.95 var(--serif); color: var(--ivory); letter-spacing: -.01em; }
.mc em { color: var(--gold); }
html.js .mc.rv { filter: none; transform: none; opacity: 1; }
html.js .mc.rv p { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1.6s var(--ease-io), transform 1.6s var(--ease-io); }
html.js .mc.rv.is-in p { clip-path: inset(-20% -5% -20% -5%); transform: none; }
.invites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.invite:nth-child(2) { --rd: .12s; } .invite:nth-child(3) { --rd: .24s; }
.inv-card { position: relative; height: 100%; padding: 46px 34px 38px; background: linear-gradient(160deg, #2e211b, #1a1310 70%); border: 1px solid rgba(200, 169, 107, .4); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); display: flex; flex-direction: column; }
.inv-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(200, 169, 107, .18); pointer-events: none; }
.inv-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(241, 223, 174, .16), transparent 45%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.inv-card:hover::after { opacity: 1; }
.inv-n { font: italic 300 3.2rem/1 var(--serif); color: var(--gold); }
.inv-card h3 { font: 400 2rem/1.1 var(--serif); margin: 20px 0 14px; }
.inv-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.inv-link { position: relative; z-index: 1; display: inline-block; align-self: flex-start; margin-top: 26px; font: 600 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid rgba(200, 169, 107, .5); transition: border-color .4s, color .4s; }
.inv-link:hover { color: var(--gold-hi); border-bottom-color: var(--gold-hi); }

/* =========================================================
   06 КОНТАКТИ
   ========================================================= */
.ct-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.ct-card { padding: clamp(28px, 3.5vw, 44px); border: 1px solid rgba(200, 169, 107, .35); background: linear-gradient(170deg, rgba(43, 31, 26, .8), rgba(13, 13, 13, .6)); }
.ct-status { display: flex; align-items: center; gap: 12px; font: italic 400 1.45rem/1.2 var(--serif); color: var(--ivory); margin-bottom: 22px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { text-align: left; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); }
.hours td { text-align: right; font: 400 1.25rem/1 var(--serif); color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--gold-hi); }
.hours tr.today th::after { content: 'сьогодні'; margin-left: 10px; font: italic 400 .95rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--gold); }
.ct-list { display: flex; flex-direction: column; }
.ct-row { position: relative; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.ct-row:first-child { border-top: 1px solid var(--line); }
.ct-k { font: 600 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.ct-v { font: 300 clamp(1.25rem, 2vw, 1.7rem)/1.25 var(--serif); color: var(--ivory); overflow-wrap: anywhere; transition: transform .6s var(--ease), color .4s; }
.ct-row::after { content: '→'; position: absolute; right: 4px; top: 50%; transform: translate(-14px, -50%); opacity: 0; color: var(--gold); font-size: 1.2rem; transition: opacity .4s, transform .6s var(--ease); }
.ct-row:hover .ct-v { transform: translateX(10px); color: var(--gold-hi); }
.ct-row:hover::after { opacity: 1; transform: translate(0, -50%); }
.coords { display: flex; align-items: center; gap: 18px; margin-top: 30px; font: italic 300 1.2rem/1 var(--serif); color: var(--muted); }
.coords i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), var(--gold), var(--line)); }

/* =========================================================
   ФУТЕР
   ========================================================= */
.ftr { position: relative; padding: 0 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; padding: 40px 0 30px; }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq-track span { font: italic 300 clamp(3.4rem, 9vw, 8rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(200, 169, 107, .55); white-space: nowrap; padding-right: .3em; }
@keyframes mq { to { transform: translateX(-50%); } }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--line); }
.ftr-brand { display: flex; align-items: center; gap: 18px; }
.ftr-brand p { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1.8; }
.ftr-brand b { color: var(--ivory); font-weight: 600; }
.ftr-addr { color: var(--muted); font-size: .92rem; }
.ftr-addr a { color: var(--ivory); text-decoration: none; }
.ftr-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.ftr-links a, .legal-btn { font: 600 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); text-decoration: none; background: none; border: 0; padding: 4px 0; cursor: pointer; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.ftr-links a:hover, .legal-btn:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.legal-btn { color: var(--gold); }
.ftr-demo { font-size: .8rem; color: var(--muted); padding-top: 6px; }

/* =========================================================
   ДІАЛОГИ
   ========================================================= */
.dlg { padding: 0; border: 0; background: none; color: var(--ivory); max-width: none; max-height: none; overscroll-behavior: contain; }
.dlg::backdrop { background: rgba(8, 7, 6, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgIn .7s var(--ease) both; }
.dlg[open]::backdrop { animation: fadeIn .5s ease both; }
.dlg.closing { animation: dlgOut .3s ease both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dlgOut { to { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.item-dlg { width: min(940px, calc(100vw - 32px)); }
.dlg-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: linear-gradient(160deg, #2e211b, #161110 75%); border: 1px solid rgba(200, 169, 107, .45); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9); max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); overflow: auto; }
.dlg-in::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(200, 169, 107, .15); pointer-events: none; z-index: 2; }
.dlg-ph { position: relative; min-height: 420px; background: var(--cocoa); overflow: hidden; }
.dlg-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item-dlg[open] .dlg-ph img { animation: kb 8s ease-out both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.dlg-ph.no { display: grid; place-items: center; background: radial-gradient(circle, #3b2a20, #1a1310); }
.dlg-ph.no span { width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font: italic 300 5.6rem/1 var(--serif); color: var(--gold); padding-bottom: 14px; box-shadow: inset 0 0 0 6px var(--cocoa), inset 0 0 0 7px rgba(200, 169, 107, .4); }
.dlg-body { padding: clamp(30px, 4vw, 52px) clamp(26px, 3.5vw, 46px) 40px; display: flex; flex-direction: column; }
.dlg-cat { font: 600 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 24px; }
.dlg-t { font: 400 clamp(2rem, 4vw, 3rem)/1.05 var(--serif); margin: 16px 0 10px; }
.dlg-w { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.dlg-w:empty { display: none; }
.dlg-d { margin-top: 18px; white-space: pre-line; color: var(--ivory); font-size: .98rem; line-height: 1.65; }
.dlg-p { margin-top: auto; padding-top: 28px; font: 300 2.6rem/1 var(--serif); color: var(--gold); }
.dlg-p small { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; margin-left: 8px; color: var(--gold); }
.dlg-note { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.dlg-x { position: absolute; right: 16px; top: 16px; z-index: 3; background: rgba(13, 13, 13, .7); border: 1px solid rgba(200, 169, 107, .5); color: var(--ivory); font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 11px 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background-color .3s, color .3s; }
.dlg-x span { font-size: 1.1rem; line-height: .6; }
.dlg-x:hover { background: var(--gold); color: var(--onyx); }
.legal-dlg { width: min(720px, calc(100vw - 32px)); }
.legal-in { position: relative; background: linear-gradient(170deg, #241a15, #121010); border: 1px solid rgba(200, 169, 107, .45); padding: clamp(28px, 5vw, 56px); max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); overflow: auto; }
.legal-in h2 { font: 300 clamp(2rem, 4vw, 2.8rem)/1.1 var(--serif); margin-bottom: 18px; }
.legal-in h3 { font: 600 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 26px 0 10px; }
.legal-in p { color: var(--ivory); font-size: .95rem; }
.legal-in a { color: var(--gold-hi); }
.legal-in .btn { margin-top: 30px; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 980px) {
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invites { grid-template-columns: minmax(0, 1fr); }
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .items { grid-template-columns: minmax(0, 1fr); }
  .ftr-in { grid-template-columns: minmax(0, 1fr); }
  .ftr-links { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .hero { align-items: flex-start; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--hdr) + 28px); padding-bottom: 96px; gap: 46px; }
  .hero-photo { justify-self: center; max-width: 340px; margin-right: 10px; }
  .seal-badge { left: -26px; bottom: 60px; width: 110px; height: 110px; }
  .hero-shade { background: linear-gradient(180deg, rgba(13, 13, 13, .82) 0%, rgba(13, 13, 13, .55) 45%, rgba(13, 13, 13, .7) 75%, var(--onyx) 100%); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .hs-count b { font-size: 2rem; }
}
@media (max-width: 760px) {
  :root { --hdr: 66px; }
  .hdr { gap: 12px; }
  .hdr-status { display: none; }
  .book { display: flex; flex-direction: column; transform: none !important; perspective: none; }
  .book-right { order: 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
  .book-cover { position: relative; left: auto; width: auto; transform: none !important; order: 1; }
  .cover-front { position: relative; height: 230px; }
  .cover-back { position: relative; transform: none; box-shadow: none; }
  .book-page { padding: 30px 22px; }
  .cover-mono { width: 96px; height: 96px; font-size: 3.8rem; padding-bottom: 8px; }
  .cover-frame { inset: 14px; }
  .ct-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .chips-wrap { overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * clamp(20px, 5vw, 64px)); margin-right: calc(-1 * clamp(20px, 5vw, 64px)); }
  .chips-wrap::-webkit-scrollbar { display: none; }
  .chips { flex-wrap: nowrap; width: max-content; padding: 0 clamp(20px, 5vw, 64px); }
  .hs-headrow { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brand-name { font-size: .72rem; letter-spacing: .26em; }
}
@media (max-width: 560px) {
  .notes { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: clamp(3.6rem, 21vw, 6rem); }
  .hero-tag { letter-spacing: .34em; }
  .hero-cta .btn { flex: 1 1 100%; }
  .it { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .it-ph { width: 56px; height: 56px; }
  .dlg-in { grid-template-columns: minmax(0, 1fr); }
  .dlg-ph { min-height: 0; height: 280px; }
  .item-dlg { width: calc(100vw - 20px); }
  .burger-txt { display: none; }
  .burger { padding: 12px 14px; }
  .wi-top { flex-wrap: wrap; }
  .tab { font-size: 1.28rem; }
  .tabs { gap: 15px; }
  .tab sup { margin-left: 3px; }
  .eyebrow { letter-spacing: .2em; font-size: .66rem; }
  .eyebrow .ln { width: 28px; }
}

/* =========================================================
   ?shot і prefers-reduced-motion — одразу фінальний стан
   ========================================================= */
html.shot *, html.shot *::before, html.shot *::after,
html.rm *, html.rm *::before, html.rm *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
html.shot .grain, html.rm .grain { animation: none !important; }
html.shot .mq-track, html.rm .mq-track, html.rm .seal-badge .s-ring, html.shot .seal-badge .s-ring, html.rm .scroll-cue i::after { animation: none !important; }
html.rm .foil, html.shot .foil { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
