/* ═══ IDRF FUN GATHERING — /fun-gathering/ ═══
   Перенесено из макета idrf-fun-gathering.html. Шрифты по правилу сайта: Rainer только для H1,
   остальное — Graphik, заголовки блоков жирным капсом. Фон страницы — метафора дня:
   от светло-голубого утра (афиша, завтрак) через дневное небо (падел, гольф) к тёмно-синему
   вечеру (джаз). Каждая секция продолжает градиент предыдущей, поэтому границ между блоками нет.
   Шапка и футер — как на всём сайте (разметка из new.html, стили из new.css). */

/* ─── FONTS ─── */
@font-face { font-family: 'Rainer'; src: url('/assets/new/fonts/Rainer-Bold-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Graphik'; src: url('/assets/new/fonts/Graphik-Regular-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Graphik'; src: url('/assets/new/fonts/Graphik-Medium-latin.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Graphik'; src: url('/assets/new/fonts/Graphik-Semibold-latin.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Graphik'; src: url('/assets/new/fonts/Graphik-Bold-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ─── TOKENS ───
   Небо по времени суток: --sky-0 … --sky-5 — точки градиента на стыках секций. */
:root {
  --yellow: #FFCE34; --yellow-h: #F1BE1E;
  --ink: #141414; --muted: #46505e; --line: rgba(20, 20, 20, .14);
  --indigo: #1D1853; --indigo-2: #2C2570;
  --card: rgba(255, 255, 255, .78);
  --sky-0: #EAF5FF;  /* раннее утро — афиша */
  --sky-1: #D6EBFC;  /* утро → день — падел */
  --sky-2: #B3D7F6;  /* день — about */
  --sky-3: #8DBDEC;  /* после полудня — галерея */
  --sky-4: #2C2570;  /* вечер — идеи */
  --sky-5: #0C0A26;  /* ночь — тот же цвет, что у футера, поэтому финал перетекает в него без границы */
  /* куда смещать кадр при обрезке (узкие карточки афиши, hero на телефоне) — чтобы люди оставались в кадре */
  --pos-breakfast: 38% 50%; --pos-padel: 64% 50%; --pos-golf: 30% 62%; --pos-jazz: 62% 55%;
  --font: 'Graphik', 'Helvetica Neue', Arial, sans-serif;
  --gut: max(36px, calc((100% - 1200px) / 2));
  color-scheme: light;
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--sky-0); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { padding: 0 var(--gut); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ─── NAV — как на главной (/) ─── */
.nav{display:flex;align-items:center;justify-content:space-between;padding:15px var(--gut);border-bottom:1px solid rgba(0,0,0,.06);position:sticky;top:0;z-index:100;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-family:var(--font);color:#000}
.nav-logo{display:flex;align-items:center;gap:14px;flex-shrink:0}
.nav-logo a{display:inline-flex;align-items:center}
.nav-logo img{display:block;width:auto}
.nav-logo-idrf{height:45px}
.nav-logo-24{height:45px}
.nav-logo-sep{width:1px;height:32px;background:#E5E7EB;flex-shrink:0}
.nav-links{display:flex;gap:22px}
.nl{font-size:12px;color:rgba(0,0,0,.62);cursor:pointer;transition:color .2s;white-space:nowrap;text-decoration:none}.nl:hover{color:#000}
.nav-right{display:flex;gap:8px;align-items:center}
.nav-cta{display:inline-flex;align-items:center;gap:6px;padding:9px 20px;border-radius:999px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;background:#FFCE34;color:#000;border:none;text-decoration:none;transition:background .2s}
.nav-cta:hover{background:#F1BE1E}
.nav-logo .nav-logo-circle{display:none}
.nav-logo-circle img{height:40px;width:auto;display:block}
.nav-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;padding:9px;background:none;border:0;cursor:pointer}
.nav-burger span{display:block;width:100%;height:2px;background:#000;border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.nav-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-burger.open span:nth-child(2){opacity:0}
.nav-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (prefers-color-scheme: dark) {
  .nav { background: rgba(22, 22, 22, .9); border-bottom-color: rgba(255, 255, 255, .08); color: #f3f3f3; }
  .nl { color: #a9a9a9; } .nl:hover { color: #f3f3f3; }
  .nav-burger span { background: #f3f3f3; }
  .nav-logo-24 { filter: invert(1); }
  .nav-logo-sep { background: #3a3a3a; }
}
@media(max-width:760px){ .nav{padding-left:20px;padding-right:20px} }
@media(max-width:680px){
  .nav{padding:12px 20px}
  .nav-logo .nav-logo-full,.nav-logo .nav-logo-sep,.nav-logo .nav-logo-24{display:none}
  .nav-logo .nav-logo-circle{display:inline-flex}
  .nav-burger{display:flex}
  .nav-links{position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid rgba(0,0,0,.06);box-shadow:0 10px 26px rgba(0,0,0,.08);padding:4px 20px 12px;display:none}
  .nav-links.open{display:flex}
  .nav-links .nl{padding:13px 2px;font-size:15px;border-bottom:1px solid rgba(0,0,0,.06)}
  .nav-links .nl:last-child{border-bottom:none}
  .nav-cta{padding:8px 16px;font-size:13px}
}
@media (max-width: 680px) and (prefers-color-scheme: dark) {
  .nav-links { background: #161616; border-bottom-color: rgba(255, 255, 255, .08); }
  .nav-links .nl { border-bottom-color: #3a3a3a; }
}

/* ─── TYPE & BUTTONS ─── */
section { scroll-margin-top: 76px; }
.fg-h2 { font: 700 clamp(30px, 3.4vw, 44px)/1.15 var(--font); letter-spacing: -.01em; text-transform: uppercase; }
.fg-h3 { font: 700 22px/1.25 var(--font); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; border: 0; border-radius: 999px; padding: .8em 1.6em; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn-yellow { background: var(--yellow); color: #000; }
.btn-yellow:hover { background: var(--yellow-h); }
.btn-light { background: #fff; color: #000; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a2a; }
.btn-block { width: 100%; }

section { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head p { max-width: 40ch; color: var(--muted); }

/* ─── 1. HERO: день в Джакарте (картинки сменяются, часы показывают время формата) ─── */
.hero { position: relative; height: calc(100svh - 75px); min-height: 540px; padding: 0; background: #000; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-img.on { opacity: 1; }
.hero-img.on img { animation: drift 7s linear forwards; }
@keyframes drift { to { transform: scale(1.1); } }
/* затемнение: общий слой по всей картинке + сильнее снизу, где заголовок и текст */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.2) 30%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.9) 100%); }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(28px, 5vh, 56px); }
.hero-bottom .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.fg-title { font-family: 'Rainer', 'Graphik', sans-serif; font-weight: 700; font-size: clamp(56px, 9vw, 150px); line-height: .9; text-transform: uppercase; letter-spacing: -.5px; }
.fg-title span { display: block; }
.hero-lede { max-width: 36ch; margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.88); }
.hero-cta { margin-top: 24px; }
/* справа внизу — название сцены и прогресс: серая линия заполняется жёлтым и снова становится серой */
.clock { text-align: right; flex: none; min-width: 170px; margin-left: auto; }
.clock-label { font-weight: 600; font-size: 18px; }
.clock-bars { display: flex; gap: 6px; justify-content: flex-end; margin-top: 14px; }
.clock-bars i { width: 30px; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; position: relative; }
.clock-bars i.on::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: left; animation: fill 4.5s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) { .clock { display: none; } .hero { height: calc(100svh - 65px); } }

/* ─── 2. WHAT'S ON: афиша-аккордеон ─── */
.fg-whats { background: linear-gradient(180deg, var(--sky-0), var(--sky-1)); }
.cards { display: flex; gap: 10px; height: clamp(480px, 62vh, 600px); }
.card { position: relative; flex: 0 0 clamp(88px, 8.5vw, 120px); border-radius: 16px; overflow: hidden; cursor: pointer; background: #222; color: #fff; transition: flex-basis .65s cubic-bezier(.7,0,.2,1), flex-grow .65s cubic-bezier(.7,0,.2,1); }
.card.active { flex: 1 1 auto; cursor: default; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); transition: background .5s; }
.card.active::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 30%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.92) 100%); }
.card-v { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; justify-content: center; transition: opacity .3s .25s; }
.card-v span { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 clamp(26px, 2.6vw, 36px)/1 var(--font); text-transform: uppercase; white-space: nowrap; }
.card.active .card-v { opacity: 0; transition-delay: 0s; }
.card-open { position: absolute; inset: 0; z-index: 2; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; min-width: min(520px, 70vw); }
.card.active .card-open { opacity: 1; visibility: visible; transition: opacity .45s .35s, visibility 0s; }
.card-open h3 { font: 700 clamp(40px, 5vw, 72px)/1 var(--font); text-transform: uppercase; letter-spacing: -.01em; }
.status { display: inline-block; margin-bottom: 14px; padding: .35em .9em; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.status.next { background: var(--yellow); color: #000; }
.card-desc { max-width: 42ch; margin: 0 0 20px; color: rgba(255,255,255,.9); }
.facts { display: flex; gap: clamp(18px, 3vw, 40px); margin: 0 0 24px; padding: 0; flex-wrap: wrap; }
.facts div { min-width: 120px; }
.facts dt { font-size: 13px; color: rgba(255,255,255,.65); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 18px; }
.card-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.card-cta small { color: rgba(255,255,255,.72); max-width: 30ch; line-height: 1.35; font-size: 14px; }
@media (max-width: 760px) {
  .cards { flex-direction: column; height: auto; }
  .card { flex: none; height: 84px; transition: height .55s cubic-bezier(.7,0,.2,1); }
  .card.active { flex: none; height: 580px; }
  .card.active::after { background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.45) 30%, rgba(0,0,0,.85) 60%, rgba(0,0,0,.94)); }
  .card-v { inset: 0; display: flex; align-items: center; justify-content: flex-start; padding-left: 20px; }
  .card-v span { writing-mode: horizontal-tb; transform: none; font-size: 26px; }
  .card-open { min-width: 0; }
}

/* ─── 3. IDRF PADEL NIGHT, 8 DECEMBER — анонс ближайшей игры с регистрацией.
   После 8 декабря блок заменяется анонсом следующей игры. ─── */
.fg-padel { background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.pn-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.pn-main { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 56px); }
.pn-label { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pn-chip { display: inline-block; padding: .38em .9em; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--yellow); }
.pn-chip--soft { background: rgba(255,255,255,.7); color: var(--ink); }
.pn-sub { margin-top: 16px; max-width: 40ch; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; }
.pn-details { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.pn-details li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.pn-details svg { width: 20px; height: 20px; flex: none; color: var(--indigo); }
.pn-details a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pn-head-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; }
.pn-limit { display: inline-block; padding: .45em 1em; border-radius: 999px; background: var(--yellow); color: #000; font-size: 14px; font-weight: 600; }
/* рядом с кнопкой вверху блока — прозрачный с тёмно-синей обводкой */
.pn-limit--outline { padding: calc(.45em - 1.5px) calc(1em - 1.5px); background: transparent; color: var(--indigo); border: 1.5px solid var(--indigo); }
.pn-text { max-width: 62ch; display: grid; gap: 14px; }
.pn-text p { color: var(--ink); }
.pn-h3 { margin-bottom: 18px; font: 700 clamp(20px, 1.8vw, 24px)/1.2 var(--font); text-transform: uppercase; }
.pn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pn-card { padding: 22px; border-radius: 20px; background: var(--card); }
.pn-card .ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; background: rgba(29,24,83,.08); color: var(--indigo); }
.pn-card .ico svg { width: 22px; height: 22px; }
.pn-card h4 { margin-bottom: 6px; font: 700 18px/1.25 var(--font); }
.pn-card p { color: var(--muted); font-size: 15px; }
.pn-list { display: grid; gap: 10px; }
.pn-list li { position: relative; padding-left: 30px; }
.pn-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCE34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pn-rundown { border-top: 2px solid var(--ink); }
.pn-rundown li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pn-rundown time { font-weight: 700; font-variant-numeric: tabular-nums; }
.pn-person, .pn-partner { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 20px; background: var(--card); }
.pn-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--indigo); }
.pn-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--indigo); font-size: 14px; font-weight: 600; text-decoration: none; }
.pn-link svg { width: 16px; height: 16px; }
.pn-link:hover { text-decoration: underline; }
.pn-partner b a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pn-role { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pn-person b, .pn-partner b { display: block; font-size: 18px; line-height: 1.25; }
.pn-person div span:not(.pn-role), .pn-partner div span:not(.pn-role) { display: block; color: var(--muted); font-size: 15px; }

/* Форма регистрации: карточка справа, прилипает при прокрутке */
.pn-form-card { position: sticky; top: 96px; padding: clamp(24px, 2.6vw, 32px); border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(29,24,83,.12); }
.pn-form-card h3 { margin-bottom: 6px; font: 700 clamp(24px, 2.2vw, 30px)/1.15 var(--font); text-transform: uppercase; }
.pn-form-card .sub { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: .75em 1em; border-radius: 12px; border: 1.5px solid #d4d8de; background: #fff; color: var(--ink); }
.field select { appearance: none; padding-right: 2.4em; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") right .9em center / 16px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(29,24,83,.15); }
.field [aria-invalid="true"] { border-color: #d93a2b; }
.field-err { color: #c0291b; font-size: 13px; font-weight: 600; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: 4px 0 18px; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--indigo); }
.consent.is-err { color: #c0291b; }
.consent + .consent { margin-top: -8px; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.finale .consent { color: rgba(255,255,255,.72); }
.finale .consent a { color: #fff; }
.finale .consent.is-err { color: #ff9a8a; }
.finale .consent input { accent-color: var(--yellow); }
.pn-form-limit { display: flex; justify-content: center; margin-bottom: 10px; }
.form-err { color: #c0291b; font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.pn-done { text-align: left; }
.pn-done .tick, .done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: #000; display: grid; place-items: center; margin-bottom: 16px; font-size: 26px; font-weight: 700; }
.pn-done h3 { margin-bottom: 10px; }
.pn-done p { color: var(--muted); }
.pn-done p + p { margin-top: 10px; }

/* FAQ и описание серии под блоком */
.pn-faq { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 24px clamp(32px, 5vw, 72px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; max-width: 64ch; color: var(--muted); }
.faq a { color: var(--ink); font-weight: 600; }
.tbc { padding: 0 .3em; border-radius: 4px; background: rgba(255,206,52,.55); color: var(--ink); }
.pn-note { margin-top: 18px; max-width: 42ch; font-size: 15px; color: var(--muted); }

@media (max-width: 1000px) {
  .pn-grid, .pn-faq { grid-template-columns: minmax(0, 1fr); }
  .pn-form-card { position: static; }
  .pn-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .pn-head-cta .btn { flex: 1 1 100%; } }

/* ─── 4. ABOUT: как «What is Lunch Talk» на /lunch-talk/ (текст слева, карточки с иконками справа) ─── */
.fg-about { background: linear-gradient(180deg, var(--sky-2), var(--sky-3)); }
.what-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px clamp(40px, 7vw, 120px); grid-template-areas: "text feats" "note feats"; }
.what-text { grid-area: text; }
.feats { grid-area: feats; display: flex; flex-direction: column; gap: 16px; align-self: center; }
.what-note { grid-area: note; align-self: end; max-width: 64ch; font-size: 15px; line-height: 1.55; color: var(--muted); transition: opacity .8s, transform .8s; }
.what-note.is-wait { opacity: 0; transform: translateY(16px); }
/* текст закрашивается по словам при прокрутке (JS делит его на .w) */
.lead { margin-top: 24px; max-width: 30ch; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; }
.lead .w { color: rgba(20, 20, 20, .24); transition: color .25s; }
.lead .w.on { color: var(--ink); }
.feat { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px 28px; border-radius: 20px; background: var(--card); }
.feat h3 { margin: 2px 0 6px; }
.feat p { color: var(--muted); }
.feat-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(29,24,83,.08); color: var(--indigo); }
.feat-ico svg { width: 26px; height: 26px; }
@media (max-width: 1000px) { .what-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "feats" "note"; } }
@media (max-width: 760px) {
  .feat { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .feat-ico { width: 44px; height: 44px; border-radius: 14px; }
  .feat-ico svg { width: 22px; height: 22px; }
  .feat h3 { font-size: 20px; }
}

/* ─── 5. GALLERY: карусель-видоискатель. Здесь небо темнеет: заголовок ещё тёмный, подпись — уже светлая ─── */
.gallery { overflow: hidden; background: linear-gradient(180deg, var(--sky-3) 0%, #6F97DA 30%, #3F3F98 75%, var(--sky-4) 100%); }
.stage { position: relative; height: clamp(260px, 46vw, 520px); margin-top: 8px; }
.slide { position: absolute; top: 0; left: 50%; width: min(780px, 78vw); height: 100%; margin-left: calc(min(780px, 78vw) / -2); border-radius: 14px; overflow: hidden; transition: transform .7s cubic-bezier(.6,0,.2,1), filter .7s, opacity .7s; cursor: pointer; background: repeating-linear-gradient(135deg, #e9eef6 0 18px, #d5dbe6 18px 19px); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide[data-pos="0"] { transform: none; z-index: 3; cursor: default; }
.slide[data-pos="-1"] { transform: translateX(-62%) scale(.78); filter: blur(5px); opacity: .6; z-index: 2; }
.slide[data-pos="1"] { transform: translateX(62%) scale(.78); filter: blur(5px); opacity: .6; z-index: 2; }
.slide[data-pos="-2"] { transform: translateX(-110%) scale(.6); filter: blur(8px); opacity: 0; z-index: 1; }
.slide[data-pos="2"] { transform: translateX(110%) scale(.6); filter: blur(8px); opacity: 0; z-index: 1; }
.finder { position: absolute; top: -12px; bottom: -12px; left: 50%; width: calc(min(780px, 78vw) + 24px); transform: translateX(-50%); z-index: 4; pointer-events: none; }
.finder i { position: absolute; width: 28px; height: 28px; border: 3px solid var(--yellow); }
.finder i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.finder i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.finder i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.finder i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.g-foot { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 34px; color: #fff; }
.g-cap { text-align: center; min-width: 220px; }
.g-cap b { display: block; font-size: 20px; }
.g-cap span { display: block; min-height: 1.4em; color: rgba(255,255,255,.75); font-size: 15px; }
.g-cap a { display: inline-block; margin-top: 6px; color: var(--yellow); font-size: 15px; font-weight: 600; text-decoration: none; }
.g-cap a:hover { text-decoration: underline; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.arrow svg { width: 20px; height: 20px; }

/* ─── 6. FINALE: идеи следующих встреч — вечер ─── */
.finale { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--sky-4), var(--sky-5)); }
.finale .wrap { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(36px, 6vw, 90px); }
.finale .fg-h2 { margin-bottom: 16px; }
.finale .lede { color: rgba(255,255,255,.78); max-width: 44ch; margin: 0 0 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip { border: 1.5px solid rgba(255,255,255,.45); background: transparent; color: #fff; border-radius: 999px; padding: .55em 1.1em; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #000; }
.finale .field input, .finale .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.finale .field input::placeholder, .finale .field textarea::placeholder { color: rgba(255,255,255,.45); }
.hint { font-size: 14px; color: var(--muted); margin: -4px 0 16px; }
.finale .hint { color: rgba(255,255,255,.62); }
.finale .form-err { color: #ff9a8a; }
.contact { border-top: 2px solid var(--yellow); padding-top: 24px; align-self: start; }
.contact h3 { margin: 0 0 18px; font: 700 24px/1.2 var(--font); text-transform: uppercase; }
.contact p { margin: 0 0 4px; color: rgba(255,255,255,.72); font-size: 15px; }
.contact a { color: #fff; font-weight: 600; text-decoration: none; font-size: 19px; display: block; margin-bottom: 14px; }
.contact .placeholder { color: var(--yellow); }
.idea-done h3 { margin: 0 0 8px; font: 700 32px/1.15 var(--font); text-transform: uppercase; }
@media (max-width: 860px) { .finale .wrap { grid-template-columns: 1fr; } }

/* ─── DIALOG «I'm interested» ─── */
dialog { border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100vw - 28px)); background: #fff; color: var(--ink); max-height: calc(100svh - 40px); }
dialog::backdrop { background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg { padding: 30px; }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 6px; }
.dlg h3 { font: 700 32px/1.1 var(--font); text-transform: uppercase; }
.dlg .sub { color: var(--muted); margin: 0 0 22px; }
.x { border: 0; background: #eef0f3; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; flex: none; }
.done { text-align: center; padding: 24px 0 8px; }
.done .tick { margin: 0 auto 16px; }
.done h3 { margin-bottom: 8px; }

/* ─── FOOTER — как на главной (/) ─── */
.site-footer{padding:56px var(--gut) 40px;display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;background:#0E0E12;color:#fff;border-top:1px solid rgba(255,255,255,.10);font-family:var(--font)}
.site-footer .fl-logo{height:30px;width:auto;display:block;margin-bottom:14px}
.site-footer .fd{font-size:13px;color:rgba(255,255,255,.5);line-height:1.65;max-width:240px;margin-bottom:20px}
.fsoc{display:flex;gap:9px}
.fsoc a{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s,border-color .2s,background .2s}
.fsoc a:hover{color:#FFCE34;border-color:rgba(255,206,52,.4);background:rgba(255,206,52,.06)}
.fsoc svg{width:16px;height:16px;fill:currentColor;display:block}
.site-footer .fc-ttl{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:1.2px;color:rgba(255,255,255,.48);margin-bottom:16px}
.site-footer .fc-lnk{font-size:15px;color:rgba(255,255,255,.55);margin-bottom:11px;display:inline-block;text-decoration:none;transition:color .2s}
.site-footer .fc-lnk:hover{color:#fff}
.foot-copy{padding:18px var(--gut);background:#0E0E12;border-top:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-family:var(--font);font-size:13px;color:rgba(255,255,255,.48)}
.foot-copy a{color:rgba(255,255,255,.48);text-decoration:none;transition:color .2s}
.foot-copy a:hover{color:#FFCE34}
.foot-mid{display:flex;gap:20px;align-items:center}
/* только на этой странице футер тёмно-тёмно-синий — продолжение ночного неба */
.site-footer, .foot-copy { background: var(--sky-5); }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  section { scroll-margin-top: 64px; }
  .site-footer{grid-template-columns:1fr;gap:32px;padding:40px 20px 32px}
  .foot-copy{padding:18px 20px;flex-direction:column;align-items:flex-start;gap:10px}
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
