/* =====================================================================
   CLUB79 — Private Investment Club
   Ар-деко: шоколадный графит · золото/бронза · кремовая бумага
   Шрифты: Prata (дидона), Great Vibes (рукописный акцент), Montserrat, JetBrains Mono
   ===================================================================== */

:root {
  --choc-0: #14100B;
  --choc-1: #1E1812;
  --choc-2: #271F17;
  --choc-3: #33291E;
  --gold: #C8A26B;
  --gold-2: #A8854F;
  --gold-3: #E6CC9E;
  --cream: #EDE3D1;
  --cream-2: #F3ECDF;
  --paper: #E4D6BD;

  --ink: #2A2118;
  --ink-muted: #6F6252;
  --on-dark: #EFE6D6;
  --on-dark-muted: rgba(239, 230, 214, .62);
  --line-dark: rgba(200, 162, 107, .2);
  --line-light: rgba(80, 60, 34, .16);

  --f-display: 'Prata', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-script: 'Great Vibes', cursive;
  --f-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1200px;
  --sec: clamp(88px, 10vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --aside: 220px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--choc-1); color: var(--on-dark);
  font: 400 15px/1.75 var(--f-sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.is-locked { 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; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--choc-0); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
[id] { scroll-margin-top: 80px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--f-mono); }

/* ---------- Темы секций ---------- */
.sec { position: relative; padding-block: var(--sec); isolation: isolate; }
.t-dark {
  color: var(--on-dark);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(120, 88, 48, .35), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(90, 64, 34, .25), transparent 60%),
    linear-gradient(180deg, var(--choc-2), var(--choc-1));
}
.t-cream { color: var(--ink); background: var(--cream); }
.sec--joined { padding-top: 0; }
.sec--flush {
  padding-top: calc(var(--sec) * .4);
  background: radial-gradient(70% 45% at 100% 70%, rgba(120, 88, 48, .22), transparent 60%), var(--choc-1);
}

/* Ар-деко орнамент: ёлочка тонкими линиями */
.deco::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='96' viewBox='0 0 64 96'%3E%3Cg fill='none' stroke='%23C8A26B' stroke-opacity='.075'%3E%3Cpath d='M0 0l32 24L64 0M0 24l32 24 32-24M0 48l32 24 32-24M0 72l32 24 32-24M32 0v96'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.t-cream.deco::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='96' viewBox='0 0 64 96'%3E%3Cg fill='none' stroke='%237A5C34' stroke-opacity='.07'%3E%3Cpath d='M0 0l32 24L64 0M0 24l32 24 32-24M0 48l32 24 32-24M0 72l32 24 32-24M32 0v96'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Типографика ---------- */
.h2, .h3, .hero__title { font-family: var(--f-display); font-weight: 400; letter-spacing: -.005em; }
.h2 { font-size: clamp(34px, 4.3vw, 62px); line-height: 1.08; }
.h3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; }
.h2 em, .h3 em { font-style: normal; color: var(--gold); }
.t-cream .h2 em, .t-cream .h3 em { color: var(--gold-2); }
.lead { margin-top: 28px; max-width: 560px; font-size: 15.5px; line-height: 1.8; color: var(--on-dark-muted); }
.t-cream .lead { color: var(--ink-muted); }
.note { font-size: 13px; color: var(--on-dark-muted); }
.t-cream .note { color: var(--ink-muted); }
.note--center { text-align: center; margin-top: 28px; }

.eyebrow {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); line-height: 1.6;
}
.t-cream .eyebrow { color: var(--gold-2); }
.eyebrow--dim { color: var(--on-dark-muted); }
.t-cream .eyebrow--dim { color: var(--ink-muted); }

.script {
  display: block; font-family: var(--f-script); color: var(--gold); text-transform: none;
  font-size: 1.05em; line-height: .8; margin: 0 0 -.18em .1em; transform: rotate(-6deg); transform-origin: left bottom;
}
.script--sm { font-size: .9em; }

.signature {
  margin-top: 64px; font-family: var(--f-script); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1;
  color: var(--gold); text-align: center;
}
.t-cream .signature { color: var(--gold-2); }

.quote {
  margin-top: 80px; text-align: center; font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3;
}
.quote em { font-style: normal; color: var(--gold); }

/* ---------- Солнце-эмблема ---------- */
.sun { width: 26px; height: 26px; color: var(--gold); display: block; }
.t-cream .sun { color: var(--gold-2); }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 28px; font: 600 11px/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.btn svg { width: 22px; height: 10px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { border: 1px solid var(--gold); color: var(--gold-3); }
.btn--ghost:hover { background: var(--gold); color: var(--choc-0); }
.btn--solid { background: var(--gold); color: var(--choc-0); width: 100%; padding: 22px 28px; }
.btn--solid:hover { background: var(--gold-3); }
.btn--text { padding-inline: 0; color: var(--on-dark-muted); }
.btn--text:hover { color: var(--gold-3); }

.link {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
  border-bottom: 1px solid currentColor;
}
.t-dark .link { color: var(--gold); }
.link svg { width: 18px; height: 9px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- Логотип ---------- */
.logo {
  display: inline-flex; align-items: center; gap: .32em;
  font-family: var(--f-display); font-size: 22px; letter-spacing: .14em; color: var(--on-dark); line-height: 1;
}
.logo i {
  width: .36em; height: .36em; border-radius: 50%; border: 1px solid var(--gold); position: relative;
}
.logo i::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: var(--gold); }
.logo--xl { font-size: clamp(44px, 6vw, 84px); letter-spacing: .08em; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .5s var(--ease), border-color .5s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(26, 20, 14, .9); border-color: var(--line-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 76px; width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.hdr__nav { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-left: auto; }
.hdr__nav a {
  position: relative; font: 500 10.5px/1 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted);
  white-space: nowrap; transition: color .3s;
}
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .4s var(--ease); }
.hdr__nav a:hover, .hdr__nav a.is-active { color: var(--on-dark); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { right: 0; }
.hdr__cta { padding: 13px 20px; font-size: 10px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--gold-3); content: ""; transition: transform .4s var(--ease), opacity .3s;
}
.burger span { top: 50%; }
.burger span::before { left: 0; right: 0; top: -7px; }
.burger span::after { left: 6px; right: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { left: 0; transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--choc-1); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.menu__foot { margin-top: 32px; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display); font-size: clamp(24px, 6vw, 36px); line-height: 1.2;
  transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu__nav a:nth-child(2) { transition-delay: .04s; } .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu__nav a:nth-child(4) { transition-delay: .12s; } .menu__nav a:nth-child(5) { transition-delay: .16s; }
.menu__nav a:nth-child(6) { transition-delay: .2s; } .menu__nav a:nth-child(7) { transition-delay: .24s; }
.menu__nav a:nth-child(8) { transition-delay: .28s; } .menu__nav a:nth-child(9) { transition-delay: .32s; }
.menu__nav a:nth-child(n+10) { transition-delay: .36s; }
.menu__nav a:hover { color: var(--gold-3); }
.menu__nav b { font: 400 11px var(--f-mono); color: var(--gold); letter-spacing: .1em; }
.menu__foot { font: 400 10.5px/1.9 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- Заставка ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--choc-1);
  transition: opacity .8s var(--ease) .1s, visibility .8s .1s;
}
.boot.is-done { opacity: 0; visibility: hidden; }
/* Страховка: если скрипт не загрузился, заставка всё равно уходит */
.boot:not(.is-done) { animation: bootOut .8s var(--ease) 3s forwards; }
@keyframes bootOut { to { opacity: 0; visibility: hidden; } }
.boot__mark { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.boot__mark .sun { width: 44px; height: 44px; animation: spin 6s linear infinite; }
.boot__mark span { font-family: var(--f-display); font-size: 28px; letter-spacing: .3em; display: inline-flex; align-items: center; gap: .3em; color: var(--on-dark); }
.boot__mark i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--choc-0); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 14s var(--ease) forwards; filter: sepia(.55) saturate(.85) hue-rotate(-8deg) brightness(.95); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(120,84,40,.35), rgba(30,24,18,.2)); mix-blend-mode: color; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,11,.65) 0%, rgba(20,16,11,.1) 28%, rgba(20,16,11,.15) 50%, rgba(20,16,11,.92) 88%, var(--choc-2) 100%),
    linear-gradient(90deg, rgba(20,16,11,.55), transparent 60%);
}
.hero__in { position: relative; padding-top: 140px; padding-bottom: 56px; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
.hero__kicker span + span { color: rgba(245,238,226,.7); }
.hero__title { font-size: clamp(29px, 7vw, 96px); line-height: 1.02; color: #F5EEE2; max-width: 1000px; white-space: nowrap; }
.hero__title .script { font-size: .78em; }
.hero__row { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(200,162,107,.3); display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; }
.hero__lead { max-width: 520px; color: rgba(245,238,226,.82); font-size: 15.5px; }
.hero__actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__strip {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 0 26px; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(239,230,214,.55);
  border-top: 1px solid rgba(200,162,107,.16);
}
.hero__strip i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,162,107,.35), transparent); }

/* ---------- Шапка секции ---------- */
.head { display: grid; grid-template-columns: var(--aside) 1fr; gap: 24px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
.head__aside { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.head__aside .sun { margin-bottom: 14px; }
.head__rule { display: block; width: 48px; height: 1px; background: var(--gold); margin-bottom: 14px; opacity: .8; }
.t-cream .head__rule { background: var(--gold-2); }
.head__main { max-width: 820px; }
.head--sub { margin-top: clamp(96px, 11vw, 160px); }
.head--sub .head__aside { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.t-cream .head--sub .head__aside { border-color: var(--line-light); }

.subhead { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin: 96px 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.subhead h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); }
.subhead .mono { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- Рамки с уголками ---------- */
.frame { position: relative; padding: 12px; border: 1px solid rgba(200,162,107,.38); background: var(--choc-0); }
.frame::before {
  content: ""; position: absolute; inset: -8px; pointer-events: none; --c: var(--gold); --s: 22px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--s) no-repeat;
}
.frame--paper { background: var(--cream-2); border-color: rgba(168,133,79,.45); }
.t-dark .frame--paper { color: var(--ink); }
.frame--paper::before { --c: var(--gold-2); }
.frame__img { position: relative; overflow: hidden; height: 100%; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame:hover .frame__img img { transform: scale(1.035); }
.frame--wide .frame__img { aspect-ratio: 16 / 8.4; }
.frame--sheet .frame__img { aspect-ratio: 1280 / 853; }
.frame--sheet .frame__img img { object-fit: cover; }
.parallax img { height: 118%; margin-top: -9%; will-change: transform; }

.fig { margin-top: clamp(56px, 7vw, 96px); }
.cap {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-left: 0;
  font: 400 10px/1.4 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.cap span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.cap span:first-child::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.cap span:last-child { color: var(--on-dark-muted); opacity: .7; }
.t-cream .cap { color: var(--gold-2); }
.t-cream .cap span:last-child { color: var(--ink-muted); }

/* ---------- 01 Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.pillars li { position: relative; padding: 30px 26px 34px; display: flex; flex-direction: column; }
.pillars li + li { border-left: 1px solid var(--line-dark); }
.pillars b { font: 400 10.5px var(--f-mono); color: var(--gold); letter-spacing: .14em; }
.pillars__en { margin-top: 36px; font-family: var(--f-display); font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; transition: color .4s; }
.pillars__ru { margin-top: 6px; font-size: 13px; color: var(--on-dark-muted); }
.pillars li::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px; background: var(--gold); transition: right .6s var(--ease); }
.pillars li:hover::after { right: 0; }
.pillars li:hover .pillars__en { color: var(--gold-3); }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.gallery__tall .frame { height: calc(100% - 34px); }
.gallery__tall .frame__img { min-height: 520px; }
.gallery__col { display: grid; gap: clamp(24px, 3vw, 40px); }
.gallery__col .frame__img { aspect-ratio: 4 / 3; }

/* ---------- Focus ---------- */
.focus { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.focus li { padding: 32px 0 36px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 110px 1fr; gap: 6px 20px; }
.focus b { grid-row: span 2; font: 400 10px/2.4 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.focus h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.focus p { color: var(--on-dark-muted); font-size: 14.5px; max-width: 420px; }
.t-cream .focus li { border-top-color: var(--line-light); }
.t-cream .focus b { color: var(--gold-2); }
.t-cream .focus p { color: var(--ink-muted); }

/* ---------- 03 Access ---------- */
.access { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.access__list .lead { margin: 0 0 40px; }
.levels { border-top: 1px solid var(--gold-2); }
.level {
  position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 12px 28px; padding: 26px 12px; border-bottom: 1px solid var(--line-light);
  cursor: default; transition: background-color .4s var(--ease);
}
.level::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-2); transform: scaleY(0); transition: transform .5s var(--ease); }
.level.is-on { background: rgba(200,162,107,.12); }
.level.is-on::before { transform: none; }
.level__name span { display: block; font-family: var(--f-display); font-size: 24px; line-height: 1.15; }
.level__name b { display: block; margin-top: 6px; font: 400 9.5px var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.level__body p { color: var(--ink-muted); font-size: 14px; margin-top: 8px; }
.badge {
  display: inline-block; padding: 5px 10px; border: 1px solid rgba(168,133,79,.5);
  font: 400 9.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--gold-2);
}
.badge--open { color: var(--ink-muted); border-color: var(--line-light); }
.t-dark .badge { color: var(--gold); border-color: rgba(200,162,107,.45); }
.access__tower { position: sticky; top: 100px; }

.tower { background: var(--paper); aspect-ratio: 420 / 620; }
.tower svg { width: 100%; height: 100%; display: block; }
.tower .ln { fill: none; stroke: #5B4A33; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tower .zone .body { fill: rgba(255,250,240,.35); stroke: #5B4A33; stroke-width: 1; transition: fill .5s var(--ease); }
.tower .zone .win { fill: rgba(91,74,51,.08); stroke: #5B4A33; stroke-width: .7; transition: fill .5s var(--ease); }
.tower .zone .lbl { font: 400 10px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; fill: #6F6252; transition: fill .4s; }
.tower .zone .lead-ln { stroke: #8C7A60; stroke-dasharray: 2 3; transition: stroke .4s; }
.tower .zone .tick { fill: #8C7A60; transition: fill .4s; }
.tower .zone { cursor: pointer; }
.tower .zone.is-on .body { fill: rgba(200,162,107,.35); }
.tower .zone.is-on .win { fill: rgba(200,162,107,.85); }
.tower .zone.is-on .lbl { fill: #2A2118; }
.tower .zone.is-on .lead-ln { stroke: var(--gold-2); stroke-dasharray: none; }
.tower .zone.is-on .tick { fill: var(--gold-2); }
.tower .spire { stroke: #5B4A33; fill: none; }
.tower .dim { font: 400 8.5px var(--f-mono); letter-spacing: .14em; fill: #8C7A60; }

/* ---------- 04 Channels ---------- */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 44px); }
.channels li { border-top: 1px solid rgba(200,162,107,.5); padding-top: 26px; }
.channels__n { display: block; font-family: var(--f-display); font-size: 54px; line-height: 1; color: var(--gold); }
.channels h3 { margin-top: 28px; font: 600 11.5px/1.4 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; }
.channels p { margin-top: 12px; font-size: 14px; color: var(--on-dark-muted); }

/* ---------- 05 Funnel ---------- */
.funnel { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.funnel__row {
  --w: 100%; position: relative; width: var(--w); height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px;
  border: 1px solid rgba(200,162,107,.28); background: linear-gradient(90deg, rgba(200,162,107,.05), rgba(200,162,107,.14), rgba(200,162,107,.05));
  transform: scaleX(.2); opacity: 0; transition: transform 1.1s var(--ease), opacity .8s, background-color .4s;
}
.funnel.is-in .funnel__row { transform: none; opacity: 1; }
.funnel__row:nth-child(2) { transition-delay: .08s; } .funnel__row:nth-child(3) { transition-delay: .16s; }
.funnel__row:nth-child(4) { transition-delay: .24s; } .funnel__row:nth-child(5) { transition-delay: .32s; }
.funnel__row:nth-child(6) { transition-delay: .4s; }
.funnel__row:hover { background-color: rgba(200,162,107,.12); }
.funnel__n { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 32px); }
.funnel__l { font: 400 10px var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted); }
.funnel__row--one { background: var(--gold); border-color: var(--gold); color: var(--choc-0); }
.funnel__row--one .funnel__l { color: rgba(20,16,11,.75); }

/* ---------- 06 Formula ---------- */
.formula {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; text-align: center;
  padding: 44px 0; margin-bottom: 64px; border-top: 1px solid var(--gold-2); border-bottom: 1px solid var(--line-light);
}
.formula b { display: block; font: 400 10px var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted); }
.formula span { display: block; margin-top: 16px; font-family: var(--f-display); font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.formula em { font-style: normal; color: var(--gold-2); }
.formula__mid { padding-inline: clamp(16px, 5vw, 80px); }
.formula__mid b, .formula__mid span { color: var(--gold-2); }

/* ---------- Нумерованные пункты (What's included) ---------- */
.items { display: grid; gap: 0 64px; }
.items--2 { grid-template-columns: repeat(2, 1fr); }
.items--3 { grid-template-columns: repeat(3, 1fr); }
.items li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 26px 0 28px; border-bottom: 1px solid var(--line-light); }
.items b { font: 400 9.5px/2.6 var(--f-mono); color: var(--gold-2); letter-spacing: .08em; }
.items h3 { font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.3; }
.items p { margin-top: 6px; font-size: 13.5px; color: var(--ink-muted); }
.items li:hover h3 { color: var(--gold-2); }
.items h3 { transition: color .3s; }

/* ---------- 08 Council ---------- */
.council { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.seat {
  position: relative; min-height: 250px; padding: 30px 28px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--choc-1); transition: background-color .5s var(--ease);
}
.seat::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.seat:hover { background: var(--choc-3); }
.seat:hover::after { transform: none; }
.seat header { display: flex; justify-content: space-between; gap: 12px; font: 400 10px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
.seat header b { font-weight: 400; color: var(--gold); }
.seat header span { color: var(--on-dark-muted); text-align: right; }
.seat p { font-family: var(--f-display); font-size: 22px; line-height: 1.32; }
.seat--seven { align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--choc-0); }
.seat--seven:hover { background: var(--gold-3); }
.seat__big { font-family: var(--f-display); font-size: 110px; line-height: .9; }
.seat--seven .mono { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; }

/* ---------- 09 Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; counter-reset: s; }
.steps li { position: relative; padding: 30px 0 34px; border-top: 1px solid var(--line-dark); }
.steps li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--choc-2); border: 1px solid var(--gold); transition: background-color .4s; }
.steps li:hover::before { background: var(--gold); }
.steps b { font: 400 10px var(--f-mono); color: var(--gold); letter-spacing: .14em; }
.steps h3 { margin-top: 12px; font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.steps p { margin-top: 10px; font-size: 14px; color: var(--on-dark-muted); max-width: 320px; }

/* ---------- Слайдер ---------- */
.slider__view { position: relative; aspect-ratio: 16 / 8.4; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s var(--ease); }
.slide.is-on { opacity: 1; }
.slide.is-on img { transform: scale(1); }
.slide figcaption {
  position: absolute; left: 22px; bottom: 20px; padding: 7px 12px; background: rgba(20,16,11,.7);
  font: 500 10px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: #F5EEE2;
}
.slider__bars { display: flex; gap: 6px; margin-top: 12px; }
.slider__bars button { flex: 1; height: 14px; position: relative; }
.slider__bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(200,162,107,.25); }
.slider__bars button::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.slider__bars button.is-on::after { animation: bar 6s linear forwards; }
.slider__bars button.is-done::after { transform: none; }
@keyframes bar { to { transform: none; } }
.slider__ctrl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 22px; }
.slider__ctrl .cap__l { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.slider__ctrl .cap__l::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.slider__btns { display: flex; gap: 6px; }
.sbtn { width: 34px; height: 34px; border: 1px solid rgba(200,162,107,.45); color: var(--gold-3); font-size: 18px; line-height: 1; transition: background-color .3s, color .3s; }
.sbtn:hover { background: var(--gold); color: var(--choc-0); }
.slider__count { justify-self: end; font-size: 10.5px; letter-spacing: .2em; color: var(--on-dark-muted); }
.slider__count b { color: var(--gold); font-weight: 400; }

/* ---------- 10 SPV ---------- */
.spv { text-align: center; }
.spv__inputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spv__inputs span {
  padding: 22px 12px; border: 1px solid var(--line-light); background: rgba(255,250,240,.45);
  font: 400 10.5px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted);
}
.spv__lines { display: block; width: 100%; height: 110px; }
.spv__lines path { fill: none; stroke: var(--gold-2); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.spv__box {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: min(380px, 100%); padding: 30px 40px;
  border: 1px solid var(--gold-2); background: var(--choc-1); color: var(--on-dark);
  font-family: var(--f-display); font-size: clamp(36px, 4vw, 52px); line-height: 1;
}
.spv__box::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(200,162,107,.35); pointer-events: none; }
.spv__box .mono { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.spv__forms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.spv__forms li { padding: 8px 14px; border: 1px solid var(--line-light); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.spv .signature { margin-top: 44px; }

/* ---------- 11 Passport ---------- */
.passport { margin-top: clamp(96px, 11vw, 160px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.passport__fig .frame__img { aspect-ratio: 4 / 5; }
.passport__fig img { filter: sepia(.35) contrast(.95); mix-blend-mode: multiply; }
.passport__stamp {
  position: absolute; right: -18px; bottom: 34px; padding: 18px 22px; background: var(--choc-1); color: var(--on-dark);
  display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--gold); transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(40,28,14,.25);
}
.passport__stamp b { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--gold); line-height: 1.1; }
.passport__stamp .mono { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted); }
.passport__body .h3 { margin-top: 18px; }
.pass-list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; counter-reset: p; border-top: 1px solid var(--gold-2); }
.pass-list li {
  counter-increment: p; display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-light);
  font: 500 12px/1.4 var(--f-sans); letter-spacing: .1em; text-transform: uppercase;
}
.pass-list li::before { content: counter(p, decimal-leading-zero); font: 400 9.5px var(--f-mono); color: var(--gold-2); }

/* ---------- 12 Private List ---------- */
.plist { border-top: 1px solid var(--gold); }
.plist__row {
  display: grid; grid-template-columns: 90px 1.3fr 1fr 1.2fr 1fr; gap: 16px; align-items: center; padding: 24px 12px;
  border-bottom: 1px solid var(--line-dark); transition: background-color .4s;
}
.plist__row:not(.plist__row--head):hover { background: rgba(200,162,107,.07); }
.plist__row--head { padding-block: 14px; font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted); }
.plist__id { font: 400 13px var(--f-mono); color: var(--gold); }
.plist__loc { font-family: var(--f-display); font-size: 24px; line-height: 1.2; }
.plist__type { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.plist__lock { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-muted); }
.plist__lock svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.plist__lock em { font: normal 12px var(--f-mono); filter: blur(3.5px); user-select: none; }
.chain { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 36px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.chain li { display: inline-flex; align-items: center; }
.chain li:not(:last-child)::after { content: "→"; margin: 0 14px; color: var(--gold); }
.chain li:last-child { color: var(--gold-3); }

/* ---------- 13 Intelligence ---------- */
.intel { margin-top: clamp(96px, 11vw, 160px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intel__fig .frame__img { aspect-ratio: 4 / 5; }
.intel__body .h3 { margin-top: 18px; }
.intel__list { margin-top: 36px; }
.intel__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.intel__op { font-family: var(--f-display); font-size: 38px; line-height: .9; color: var(--gold); }
.intel__list h3 { font: 600 11.5px/1.4 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; }
.intel__list p { margin-top: 8px; font-size: 14px; color: var(--on-dark-muted); }

/* ---------- 15 Map ---------- */
.mapbox { padding: 12px; }
.mapbox__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.mapbox__tabs button {
  padding: 13px 10px; background: #FBF7F0; border: 1px solid var(--line-light);
  font: 600 10px/1 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); transition: all .3s;
}
.mapbox__tabs button:hover { color: var(--ink); border-color: var(--gold-2); }
.mapbox__tabs button.is-on { background: var(--paper); border-color: var(--gold-2); color: var(--ink); }
.mapbox__grid { display: grid; grid-template-columns: 300px 1fr; min-height: 460px; border: 1px solid var(--line-light); }
.mapbox__panel { position: relative; padding: 30px 28px; background: var(--paper); border-right: 1px solid var(--line-light); }
.pane { display: none; animation: paneIn .6s var(--ease); }
.pane.is-on { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.pane > p { font-size: 13.5px; color: var(--ink-muted); }
.pane__addr { font-family: var(--f-display); font-size: 25px !important; line-height: 1.25; color: var(--ink) !important; margin: 10px 0 14px; }
.pane__legend { margin-top: 24px; display: grid; gap: 10px; font-size: 13px; }
.pane__legend li { display: flex; align-items: center; gap: 12px; }
.pane__legend--list { margin-top: 18px; }
.dot { width: 14px; height: 14px; border: 1px solid #6F6252; border-radius: 50%; flex: none; position: relative; }
.dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #6F6252; }
.dot--gold { border-color: var(--gold-2); }
.dot--gold::after { background: var(--gold-2); }
.pane__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 22px; }
.stats div { border-top: 1px solid var(--gold-2); padding-top: 12px; }
.stats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1; }
.stats span { display: block; margin-top: 8px; font: 400 9.5px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.agenda { margin-top: 14px; }
.agenda li { display: flex; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.agenda b { font: 400 12.5px var(--f-mono); color: var(--gold-2); letter-spacing: .04em; }

.map { position: relative; min-height: 460px; overflow: hidden; background: #E9DFCC; }
.map__static, .map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__static { object-fit: cover; filter: grayscale(1) sepia(.5) saturate(.95) contrast(.9) brightness(1.04); }
.map__frame { display: none; filter: grayscale(1) sepia(.42) saturate(.9) contrast(.94) brightness(1.03); }
.map.is-live .map__frame { display: block; }
.map.is-live .map__static, .map.is-live .map__pin, .map.is-live .map__ring, .map.is-live .map__shield { display: none; }
.map__copy { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-size: 9px; letter-spacing: .08em; color: #6F6252; background: rgba(243,236,223,.8); padding: 2px 6px; pointer-events: none; }
.map.is-live .map__copy { display: none; }
.map__ring {
  position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px dashed rgba(91,74,51,.5); pointer-events: none;
}
.map__pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; }
.map__pin i { position: absolute; inset: 0; border-radius: 50%; background: var(--choc-1); border: 2px solid var(--gold); box-shadow: 0 6px 18px rgba(40,28,14,.4); }
.map__pin span { position: absolute; inset: -24px; border-radius: 50%; border: 1px solid var(--gold-2); opacity: 0; animation: pulse 3s var(--ease) infinite; }
.map__pin span + span { animation-delay: 1.5s; }
.map__pin b {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px;
  background: var(--choc-1); color: var(--gold-3); border: 1px solid var(--gold);
  font: 400 10.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.map__pin b::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; background: var(--gold); }
@keyframes pulse { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }
.map__shield { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px; cursor: pointer; }
.map__shield { padding: 16px 16px 34px; }
.map__shield span {
  padding: 9px 14px; background: var(--choc-1); border: 1px solid var(--gold);
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); transition: background-color .3s, color .3s;
}
.map__shield:hover span, .map__shield:focus-visible span { background: var(--gold); color: var(--choc-0); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 300px minmax(0, 680px); gap: 48px clamp(40px, 6vw, 96px); padding-top: clamp(72px, 8vw, 120px); border-top: 1px solid var(--line-light); }
.faq__aside .note { margin-top: 18px; max-width: 260px; font-size: 13.5px; }
.acc { border-top: 1px solid var(--gold-2); }
.acc__item { border-bottom: 1px solid var(--line-light); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 34px 1fr 20px; gap: 12px; align-items: start; padding: 22px 0; text-align: left; }
.acc__btn b { font: 400 9.5px/2.8 var(--f-mono); color: var(--gold-2); }
.acc__btn span { font-family: var(--f-display); font-size: 21px; line-height: 1.35; transition: color .3s; }
.acc__btn:hover span { color: var(--gold-2); }
.acc__btn i { position: relative; width: 14px; height: 14px; margin-top: 8px; }
.acc__btn i::before, .acc__btn i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold-2); transition: transform .4s var(--ease); }
.acc__btn i::after { transform: rotate(90deg); }
.acc__item.is-open .acc__btn i::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__body > p { overflow: hidden; padding-left: 46px; color: var(--ink-muted); font-size: 14.5px; }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__item.is-open .acc__body > p { padding-bottom: 24px; }

/* ---------- 16 Apply + footer ---------- */
.apply { padding-bottom: 0; }
.apply__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px clamp(40px, 7vw, 120px); align-items: start; }
.apply__intro .sun { margin-bottom: 14px; }
.apply__intro .eyebrow { margin-bottom: 26px; }
.apply__intro .h2 { font-size: clamp(42px, 5.4vw, 80px); }
.apply__tag { margin-top: 40px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted); }
.form { display: grid; gap: 6px; }
.field { display: block; position: relative; border-bottom: 1px solid rgba(239,230,214,.22); transition: border-color .3s; }
.field:focus-within { border-color: var(--gold); }
.field span { display: block; padding-top: 18px; font: 400 9.5px var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 8px 0 14px; background: transparent; border: 0; outline: 0; color: var(--on-dark);
  font: 400 18px/1.4 var(--f-display); -webkit-appearance: none; appearance: none; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select option { background: var(--choc-1); color: var(--on-dark); font-family: var(--f-sans); }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 24px; width: 8px; height: 8px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); pointer-events: none; }
.field.is-err { border-color: #C9765B; }
.form .btn--solid { margin-top: 34px; }
.form__note { margin-top: 14px; font-size: 11.5px; color: var(--on-dark-muted); }
.form__done { display: flex; flex-direction: column; gap: 22px; padding: 48px 40px; border: 1px solid var(--gold); }
.form__done .sun { width: 38px; height: 38px; }
.form__done p { font-family: var(--f-display); font-size: 30px; line-height: 1.25; }

.foot { margin-top: clamp(96px, 11vw, 150px); }
.foot__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding: 56px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.foot__addr p:not(.eyebrow) { margin-top: 10px; font-family: var(--f-display); font-size: 20px; }
.foot__addr .pane__links { margin-top: 18px; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 34px; font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- Появление ---------- */
/* Скрываем только когда JS точно работает (класс .js ставится инлайн-скриптом в <head>),
   иначе при сбое загрузки скрипта страница осталась бы пустой. */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
  .hdr__cta { margin-left: auto; }
  .burger { margin-left: 0; }
}
@media (max-width: 1100px) {
  .council { grid-template-columns: repeat(2, 1fr); }
  .items--3 { grid-template-columns: repeat(2, 1fr); }
  .plist__row { grid-template-columns: 70px 1.2fr 1fr 1fr; }
  .plist__row > :last-child { display: none; }
}
@media (max-width: 900px) {
  :root { --aside: 1fr; }
  .head { grid-template-columns: 1fr; }
  .access, .passport, .intel, .apply__grid { grid-template-columns: 1fr; }
  .access__tower { position: relative; top: 0; max-width: 460px; }
  .passport__stamp { right: 10px; }
  .channels { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
  .mapbox__grid { grid-template-columns: 1fr; }
  .mapbox__panel { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .map, .mapbox__grid { min-height: 0; }
  .map { height: 400px; min-height: 0; }
}
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .hdr__in { height: 64px; gap: 12px; }
  .hdr__cta { display: none; }
  .burger { margin-left: auto; }
  .logo { font-size: 19px; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__strip span:nth-child(3), .hero__strip span:nth-child(5), .hero__strip i:nth-of-type(2), .hero__strip i:nth-of-type(3) { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars li:nth-child(3) { border-left: 0; }
  .pillars li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .gallery { grid-template-columns: 1fr; }
  .gallery__tall .frame { height: auto; }
  .gallery__tall .frame__img { min-height: 0; aspect-ratio: 3 / 4; }
  .focus, .items--2, .items--3, .steps, .channels, .pass-list { grid-template-columns: 1fr; }
  .focus li { grid-template-columns: 1fr; }
  .focus b { grid-row: auto; }
  .level { grid-template-columns: 1fr; padding-inline: 10px; }
  .council { grid-template-columns: 1fr; }
  .seat { min-height: 190px; }
  .formula { grid-template-columns: 1fr; gap: 28px; }
  .funnel__row { width: calc(var(--w) * .5 + 50%); height: 54px; padding: 0 16px; }
  .spv__inputs { grid-template-columns: repeat(2, 1fr); }
  .spv__lines { height: 70px; }
  .plist__row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 20px 4px; }
  .plist__row--head { display: none; }
  .plist__row > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .plist__row > :nth-child(3) { grid-column: 2; grid-row: 1; }
  .plist__row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .plist__row > :nth-child(4) { grid-column: 1 / -1; grid-row: 3; }
  .mapbox__tabs { grid-template-columns: repeat(2, 1fr); }
  .map { height: 340px; }
  .map__ring { width: 240px; height: 240px; }
  .frame--wide .frame__img, .slider__view { aspect-ratio: 4 / 3.4; }
  .slider__ctrl .cap__l { display: none; }
  .slider__ctrl { grid-template-columns: auto 1fr; }
  .slider__count { justify-self: end; }
  .acc__body > p { padding-left: 0; }
  .acc__btn span { font-size: 18.5px; }
  .frame::before { inset: -6px; --s: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rv] { opacity: 1; transform: none; }
  .funnel__row { transform: none; opacity: 1; }
}
html:not(.js) .funnel__row { transform: none; opacity: 1; }

/* Group wordmark: fit the longer name within the existing layout. */
.logo.logo--group { display: inline-flex; align-items: baseline; gap: .35em; font-size: 16px; line-height: 1.3; letter-spacing: 0; flex-shrink: 0; white-space: nowrap; }
.logo--group span { display: inline; }
.logo--xl.logo--group { font-size: 32px; max-width: 100%; }
.boot__mark span { font-size: 22px; letter-spacing: 0; }

/* Направления: принцип и состав услуги */
.focus__motto { margin-top: 18px; }
.focus .focus__rule { font-style: italic; color: var(--gold); }
.t-cream .focus .focus__rule { color: var(--gold-2); }
.svc { margin: 14px 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); interpolate-size: allow-keywords; }
.svc summary { cursor: pointer; list-style: none; padding: 12px 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: flex; justify-content: space-between; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: "+"; transition: transform .3s; }
.svc[open] summary::after { transform: rotate(45deg); }
.svc::details-content { block-size: 0; overflow: hidden; transition: block-size .4s ease, content-visibility .4s allow-discrete; }
.svc[open]::details-content { block-size: auto; }
.svc ol { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 12px; }
.svc li b { display: block; font-weight: 600; margin-bottom: 4px; }
.svc li span { display: block; overflow-wrap: anywhere; }
.focus { align-items: start; }
.focus li > :not(b:first-child) { grid-column: 2; }
.focus li > b:first-child { grid-row: 1 / span 20; }
.focus .svc { max-width: 420px; font-size: 14.5px; color: var(--on-dark-muted); }
.t-cream .focus .svc { color: var(--ink-muted); }
.focus .svc li { display: block; padding: 0; border: 0; }
.focus .svc li b { grid-row: auto; font: 600 14.5px/1.4 var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--on-dark); }
.t-cream .focus .svc li b { color: var(--ink); }
@media (max-width: 680px) {
  .focus li > :not(b:first-child) { grid-column: 1; }
  .focus li > b:first-child { grid-row: auto; }
}

/* =====================================================================
   Доработки 2026-10
   ===================================================================== */

/* Прогресс чтения — тонкая золотая линия под шапкой */
.hdr__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-3));
  transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity .4s;
}
.hdr.is-solid .hdr__progress { opacity: 1; }

/* Кнопка «наверх» с кольцом прогресса и вращающимся солнцем */
.totop {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 40;
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(26, 20, 14, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .5s var(--ease), visibility .5s, transform .5s var(--ease), background-color .3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--choc-3); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: rgba(200, 162, 107, .22); stroke-width: 1; }
.totop__ring .totop__val { stroke: var(--gold); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.totop .sun { width: 24px; height: 24px; transform: rotate(calc(var(--p, 0) * 540deg)); }

/* Мобильная CTA-панель */
.dock { display: none; }
@media (max-width: 680px) {
  .totop { display: none; }
  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(26, 20, 14, .9); border-top: 1px solid var(--line-dark);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__cta { padding: 17px 20px; }
  .foot__bottom { padding-bottom: 96px; }
}

/* Hero: золотая точка бежит по линии Access → Strategy → Capital → Execution */
.hero__strip i { position: relative; }
.hero__strip i::after {
  content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-3); box-shadow: 0 0 10px 2px rgba(230, 204, 158, .55); opacity: 0;
  animation: stripRun 7.5s var(--ease) infinite;
}
.hero__strip i:nth-of-type(2)::after { animation-delay: 2.5s; }
.hero__strip i:nth-of-type(3)::after { animation-delay: 5s; }
@keyframes stripRun {
  0% { left: 0; opacity: 0; }
  4% { opacity: 1; }
  30% { left: calc(100% - 5px); opacity: 1; }
  34%, 100% { left: calc(100% - 5px); opacity: 0; }
}
.hero__title { text-wrap: balance; }
@media (max-width: 380px) { .hero__title { white-space: normal; } }

/* Совет: мягкий «прожектор» за курсором */
.seat { overflow: hidden; }
.seat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 162, 107, .16), transparent 70%);
}
.seat:hover::before { opacity: 1; }
.seat > * { position: relative; }
.seat--seven::before { display: none; }

/* Фото в бумажной рамке: без «грязного» multiply */
.passport__fig .frame__img--photo img { mix-blend-mode: normal; filter: sepia(.2) saturate(.9); object-position: 50% 72%; }
.passport__stamp--sm b { font-size: clamp(20px, 2.2vw, 26px); }
@media (max-width: 680px) {
  .passport__stamp { right: 8px; bottom: 20px; padding: 14px 16px; }
  .passport__stamp b { font-size: 26px; }
  .passport__stamp--sm b { font-size: 19px; }
}

/* Слайдер */
.slider__count i { font-style: normal; }
.slide figcaption { max-width: calc(100% - 44px); }
@media (max-width: 680px) {
  .slide figcaption { left: 12px; bottom: 12px; font-size: 9px; letter-spacing: .14em; max-width: calc(100% - 24px); }
}

/* Мелкие правки адаптива */
@media (max-width: 680px) {
  .hero__in { padding-top: 112px; }
  .hero__kicker { letter-spacing: .22em; margin-bottom: 22px; }
  .hero__strip { letter-spacing: .24em; }
  .chain { font-size: 9.5px; }
  .chain li:not(:last-child)::after { margin: 0 9px; }
  .stats b { font-size: 32px; }
  .mapbox { padding: 8px; }
  .map__pin b { font-size: 9.5px; padding: 7px 10px; }
  .foot__top { align-items: flex-start; }
}

/* Форма: ловушка для ботов, ошибка отправки, состояние кнопки */
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: 14px; padding: 12px 14px; border: 1px solid #C9765B; color: #E8B7A4; font-size: 13px; }
.form .btn--solid:disabled { opacity: .7; cursor: progress; }
