/* ============================================================
   «По ту сторону себя» — Самайн, 31.10.2026, Санкт-Петербург
   Стили лендинга. Токены — из design handoff (README.md).
   ============================================================ */

:root {
  --bg: #0a090c;
  --text: #e8e2d8;
  --muted: rgba(232, 226, 216, .78);
  --gold: #c4aa7a;
  --gold-hover: #d6bf92;
  --gold-line-15: rgba(196, 170, 122, .15);
  --gold-line-18: rgba(196, 170, 122, .18);
  --gold-line-25: rgba(196, 170, 122, .25);
  --gold-line-35: rgba(196, 170, 122, .35);
  --gold-line-40: rgba(196, 170, 122, .4);
  --violet-label: oklch(0.68 0.07 305);
  --violet-label-2: oklch(0.72 0.07 305);
  --violet-line: oklch(0.55 0.08 305);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: Raleway, 'Helvetica Neue', Arial, sans-serif;
  --ease-reveal: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Keyframes (глобально) ---------- */
@keyframes spin      { to { transform: rotate(360deg) } }
@keyframes breathe   { 0%, 100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.06); opacity: 1 } }
@keyframes ember     { 0% { transform: translateY(0); opacity: 0 } 20% { opacity: 1 } 100% { transform: translateY(-120px); opacity: 0 } }
@keyframes flicker   { 0%, 100% { opacity: 1 } 50% { opacity: .85 } }
/* scrollhint взят из прототипа: линия «стекает» сверху вниз */
@keyframes scrollhint {
  0%   { transform: scaleY(0); transform-origin: top }
  50%  { transform: scaleY(1); transform-origin: top }
  51%  { transform-origin: bottom }
  100% { transform: scaleY(0); transform-origin: bottom }
}
@keyframes marquee   { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--text); }
input::placeholder { color: rgba(232, 226, 216, .4); }
h1, h2, h3 { text-wrap: balance; }

/* Курсорное свечение */
.glow {
  position: fixed; left: 0; top: 0;
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.35 0.10 305 / .28) 0, transparent 60%);
  pointer-events: none; z-index: 0; will-change: transform;
}
.motion-off .glow { display: none; }

/* Надзаголовок с линией */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--violet-label);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--violet-line); flex: none; }

/* Кнопки */
.btn-gold {
  display: inline-block; padding: 18px 40px;
  background: var(--gold); color: var(--bg);
  letter-spacing: .22em; text-transform: uppercase; font-size: 11px; font-weight: 400;
  transition: background .3s;
}
.btn-gold:hover { background: var(--gold-hover); color: var(--bg); }
.btn-outline {
  display: inline-block; padding: 16px 34px;
  border: 1px solid rgba(196, 170, 122, .7); color: var(--gold);
  letter-spacing: .2em; text-transform: uppercase; font-size: 11px; font-weight: 400;
  transition: background .3s, color .3s;
}
.btn-outline:hover { background: rgba(196, 170, 122, .1); color: var(--text); }

/* ---------- Появление по скроллу ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease-reveal), transform 1.1s var(--ease-reveal);
  will-change: opacity, transform;
}
.js [data-reveal="scale"] { transform: scale(.94); }
.js.motion-calm [data-reveal="up"] { transform: translateY(18px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js.motion-off [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 6vw;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(232, 226, 216, .55);
  background: linear-gradient(180deg, rgba(10, 9, 12, .85), rgba(10, 9, 12, 0));
}
.nav__logo {
  font-family: var(--serif); font-weight: 400; font-size: 19px;
  letter-spacing: .12em; text-transform: none; color: var(--text);
}
.nav__links { display: flex; gap: 32px; }
.nav__links a { color: rgba(232, 226, 216, .55); }
.nav__links a:hover { color: var(--text); }
.nav__cta { color: var(--gold); border-bottom: 1px solid rgba(196, 170, 122, .5); padding-bottom: 3px; }
@media (max-width: 639px) { .nav__links { display: none; } }

/* ---------- 1. Hero ---------- */
.hero { position: relative; height: 320vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero__base {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, oklch(0.22 0.06 305) 0, #0a090c 70%);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0; transition: opacity 1.2s;
}
.hero__mask { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }
.hero__grad {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 9, 12, .72) 0, rgba(10, 9, 12, .15) 38%, rgba(10, 9, 12, 0) 60%, rgba(10, 9, 12, .85) 100%);
}

.hero__rings {
  position: absolute; left: 50%; top: 0;
  width: min(196vh, 180vw); aspect-ratio: 1;
  transform: translate(-50%, 0);
  pointer-events: none; opacity: 0;
}
.hero__ring { position: absolute; inset: 0; border-radius: 50%; }
.hero__ring--1 { border: 1px solid oklch(0.52 0.08 305 / .5); }
.hero__ring--2 { inset: 2.5%; border: 1px solid oklch(0.50 0.08 305 / .4); }
.hero__ring--3 { inset: 5%; border: 1px solid var(--gold-line-35); }
.hero__ring-spot {
  position: absolute; top: 8%; left: 22%; width: 4px; height: 4px;
  border-radius: 50%; background: var(--violet-label);
}
.hero__dot-layer { position: absolute; inset: 0; border-radius: 50%; will-change: transform; }
.hero__dot {
  position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--text);
  box-shadow: 0 0 12px rgba(232, 226, 216, .9);
}
.hero__ring-text {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 60s linear infinite;
}
.hero__ring-text text {
  /* В README указано 7px при viewBox 200 — на кольце шириной ~180vw это ~60px и текст ложится на кнопку.
     Уменьшено до подписи (~20px на десктопе) и посажено внутрь золотого кольца (r=86.5 вместо 74). */
  font-family: var(--sans); font-size: 2.2px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase;
  fill: rgba(196, 170, 122, .8);
}

.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 12vh 6vw 0;
}
.hero__eyebrow { color: var(--violet-label-2); margin-bottom: 28px; opacity: 0; }
.hero__eyebrow::before { background: oklch(0.6 0.08 305); }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(42px, 6vw, 88px); line-height: .98;
  margin: 0 0 28px; max-width: 16ch;
  opacity: 0;
  text-shadow: 0 2px 40px rgba(10, 9, 12, .8);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead {
  margin: 0; max-width: 460px;
  font-size: 15px; line-height: 1.7; color: rgba(232, 226, 216, .85);
  opacity: 0;
}
.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 6vw 9vh;
}
.hero__cta {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 28px;
  opacity: 0;
}
.hero__meta { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.hero__hint {
  position: absolute; left: 6vw; bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(232, 226, 216, .6);
}
.hero__hint::before {
  content: ""; display: block; width: 1px; height: 44px; background: var(--gold);
  animation: scrollhint 2.4s ease-in-out infinite;
}
.motion-off .hero__hint { display: none; }

/* ---------- 2. Бегущая строка ---------- */
.marquee {
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--gold-line-18);
  border-bottom: 1px solid var(--gold-line-18);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 26px;
  color: rgba(196, 170, 122, .6); white-space: nowrap;
}
.marquee__track span { padding: 0 40px; }
.motion-off .marquee__track { animation: none; }

/* ---------- 3. Легенда ---------- */
.manifesto { padding: 24vh 6vw; max-width: 1100px; margin: 0 auto; }
.manifesto .eyebrow { margin-bottom: 48px; }
.manifesto__text {
  margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.2vw, 58px); line-height: 1.25; text-wrap: pretty;
}
.manifesto__text span { color: rgba(232, 226, 216, .25); transition: color .4s; }
.manifesto__text span.is-on { color: var(--text); }

/* ---------- 4. Три способа ---------- */
.ways { padding: 80px 6vw 140px; max-width: 1200px; margin: 0 auto; }
.ways__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 80px;
}
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 68px); line-height: 1; margin: 0; }
.ways__sub { margin: 0; max-width: 360px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.ways__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 56px 40px;
}
.way { display: flex; flex-direction: column; align-items: center; text-align: center; }
.way__circle {
  position: relative; width: 150px; height: 150px; margin-bottom: 32px;
  display: flex; align-items: center; justify-content: center;
}
.way__circle svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.way__circle circle { fill: none; stroke: oklch(0.52 0.08 305 / .7); stroke-width: 1; }
.way__num { font-family: var(--serif); font-weight: 300; font-size: 36px; color: var(--gold); }
.way__name { font-family: var(--serif); font-weight: 400; font-size: 32px; margin-bottom: 12px; }
.way__text { margin: 0; max-width: 280px; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ---------- 5. Конверт ---------- */
.envelope { position: relative; height: 240vh; }
.envelope__sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px; align-items: center; align-content: center;
  padding: 80px 6vw 40px; max-width: 1200px; margin: 0 auto; overflow: hidden;
}
.envelope__eyebrow { margin-bottom: 36px; }
.envelope__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1; margin: 0 0 20px;
}
.envelope__text { margin: 0 0 28px; max-width: 420px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.envelope__list { display: flex; flex-direction: column; max-width: 420px; font-size: 14px; }
.envelope__item {
  display: flex; gap: 20px; padding: 10px 0;
  border-top: 1px solid rgba(196, 170, 122, .2);
  color: rgba(232, 226, 216, .85); opacity: .6;
  transition: opacity .3s, transform .3s, color .3s;
}
.envelope__item:last-child { border-bottom: 1px solid rgba(196, 170, 122, .2); }
.envelope__item span { font-family: var(--serif); color: var(--gold); font-size: 18px; min-width: 24px; }
.envelope__item.is-on { color: var(--text); }
.motion-off .envelope__item { opacity: 1; color: var(--text); transform: none !important; }

.envelope__stage {
  position: relative; display: flex; justify-content: center; align-items: center;
  perspective: 1200px; min-height: min(420px, 46vh);
}
.envelope__card {
  position: absolute; width: min(300px, 70vw); padding: 36px 30px;
  background: #efe8db; color: var(--bg); text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  opacity: 0; z-index: 1;
  transform: translateY(40px) rotate(-2deg);
}
.envelope__card-label {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(10, 9, 12, .5); margin-bottom: 18px;
}
.envelope__card-text { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 26px; line-height: 1.25; }
.envelope__body {
  position: relative; width: min(360px, 84vw); aspect-ratio: 36 / 23;
  background: #111015; border: 1px solid var(--gold-line-35);
}
.envelope__flap {
  position: absolute; left: -1px; top: -1px; width: calc(100% + 2px); height: 58%;
  background: #16141b; border: 1px solid var(--gold-line-35);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center; will-change: transform; z-index: 3;
}
.envelope__label {
  position: absolute; left: 0; right: 0; bottom: 22%; text-align: center;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.envelope__seal { position: absolute; right: 20px; bottom: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
/* На узких экранах sticky-сцена не помещается — раскладываем в поток */
@media (max-width: 767px) {
  .envelope { height: auto; }
  .envelope__sticky { position: relative; height: auto; min-height: 100vh; padding: 100px 6vw 60px; }
  .envelope__stage { min-height: min(520px, 60vh); align-items: flex-end; padding-bottom: 8px; }
}

/* ---------- 6. Сюжет вечера (таймлайн) ---------- */
.timeline { padding: 120px 6vw; max-width: 1200px; margin: 0 auto; }
.timeline__eyebrow { margin-bottom: 56px; }
.tl { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.tl__step { position: relative; padding-top: 48px; opacity: .55; transition: opacity .5s; }
.tl__step.is-on { opacity: 1; }
.tl__seg { position: absolute; left: 0; right: -24px; top: 16px; height: 1px; background: rgba(232, 226, 216, .12); }
.tl__step:last-child .tl__seg { right: 0; }
.tl__fill { position: absolute; left: 0; top: 16px; height: 1px; width: 0; background: var(--gold); }
.tl__node {
  position: absolute; left: 0; top: 10px; width: 13px; height: 13px; z-index: 1;
  border-radius: 50%; border: 1px solid var(--gold); background: var(--bg);
  transition: background .4s, box-shadow .4s;
}
.tl__step.is-on .tl__node { background: var(--gold); box-shadow: 0 0 14px rgba(196, 170, 122, .7); }
.tl__time { font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.tl__name {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 24px; line-height: 1.1; margin-bottom: 16px;
  color: rgba(232, 226, 216, .45); transition: color .5s;
}
.tl__step.is-on .tl__name { color: var(--text); }
.tl__text { font-size: 14px; line-height: 1.7; color: var(--muted); }
.tl__end {
  display: flex; align-items: center; gap: 16px; margin-top: 56px;
  font-size: 12px; letter-spacing: .1em; color: var(--muted);
}
.tl__end::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); flex: none; }
/* Вертикальный таймлайн */
@media (max-width: 639px) {
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl__step { padding: 0 0 40px 40px; }
  .tl__seg { left: 6px; right: auto; top: 16px; bottom: 0; width: 1px; height: auto; }
  .tl__fill { left: 6px; width: 1px; height: 0; }
  .tl__step:last-child .tl__seg,
  .tl__step:last-child .tl__fill { display: none; }
}
.motion-off .tl__step { opacity: 1; }
.motion-off .tl__step .tl__node { background: var(--gold); box-shadow: 0 0 14px rgba(196, 170, 122, .7); }
.motion-off .tl__name { color: var(--text); }
.motion-off .tl__fill { width: 100%; height: 100%; }

/* ---------- 7. Ведущие ---------- */
.hosts { padding: 120px 6vw; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--gold-line-15); }
.hosts__eyebrow { margin-bottom: 56px; }
.hosts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; }
.host { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; }
.host__photo {
  width: 160px; height: 160px; border-radius: 50%;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  border: 1px solid var(--gold-line-40);
}
.host__name { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; margin: 0 0 8px; }
.host__role { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--violet-label); margin-bottom: 14px; }
.host__text { margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted); }
.host__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.icon-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold-line-35); color: var(--gold);
  transition: border-color .3s, background .3s;
}
.icon-link:hover { border-color: var(--gold); background: rgba(196, 170, 122, .1); color: var(--gold); }
@media (max-width: 479px) { .host { grid-template-columns: 1fr; } }

/* ---------- 8. Что входит в вечер ---------- */
.ticket {
  padding: 120px 6vw; max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--gold-line-15);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 60px; align-items: center;
}
.ticket__eyebrow { margin-bottom: 36px; }
.ticket__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; margin: 0 0 36px;
}
.ticket__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; }
.ticket__price { font-family: var(--serif); font-size: 30px; }
.ticket__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0 40px; font-size: 14px; line-height: 1.5;
}
.ticket__list div { padding: 16px 0; border-top: 1px solid var(--gold-line-25); }

/* ---------- 9. Место ---------- */
.venue { position: relative; height: min(78vh, 720px); overflow: hidden; margin-top: 40px; }
.venue__bg {
  position: absolute; inset: -15% 0;
  background: url('../assets/venue.jpg') center / cover no-repeat;
  will-change: transform;
}
.venue__shade { position: absolute; inset: 0; }
.venue__shade--v { background: linear-gradient(180deg, rgba(10, 9, 12, .92) 0, rgba(10, 9, 12, .5) 34%, rgba(10, 9, 12, .6) 62%, rgba(10, 9, 12, .96) 100%); }
.venue__shade--h { background: linear-gradient(90deg, rgba(10, 9, 12, .8) 0, rgba(10, 9, 12, .15) 55%, rgba(10, 9, 12, .4) 100%); }
.venue__content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 6vw 64px; max-width: 1200px; margin: 0 auto;
}
.venue__eyebrow { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.venue__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.1; max-width: 720px; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(10, 9, 12, .9);
}
.venue__dress { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.venue__dots { display: flex; gap: 6px; flex: none; }
.venue__dot { display: block; width: 11px; height: 11px; border-radius: 50%; }
.venue__dot--black { background: var(--bg); border: 1px solid rgba(232, 226, 216, .5); }
.venue__dot--gold { background: var(--gold); }
.venue__dress-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text); }

/* ---------- 10. Оплата и анкета ---------- */
.join { position: relative; padding: 110px 6vw 90px; overflow: hidden; }
.join__glow {
  position: absolute; left: 50%; top: 50%;
  width: min(760px, 110vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, oklch(0.30 0.10 305 / .42) 0, transparent 62%);
  pointer-events: none;
}
.join__ring {
  position: absolute; left: 50%; top: 50%;
  width: min(940px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid oklch(0.45 0.08 305 / .3);
  pointer-events: none;
}
.join__box {
  position: relative; max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.join__eyebrow { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; text-align: center; }
.join__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12;
  margin: 0 0 24px; max-width: 30ch; text-align: center;
}
.join__lead { margin: 0 0 48px; max-width: 460px; font-size: 15px; line-height: 1.75; color: var(--muted); text-align: center; }

.form {
  width: 100%; max-width: 560px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 26px 32px; text-align: left;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--violet-label-2); }
.field__input {
  width: 100%; min-height: 44px;
  background: none; border: none; border-radius: 0;
  border-bottom: 1px solid var(--gold-line-35);
  padding: 8px 0;
  font: 300 16px var(--sans); color: var(--text);
  outline: none; color-scheme: dark;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field__input:focus { border-bottom-color: var(--gold); }
.field__input::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }

.join__note { margin: 28px 0 0; max-width: 460px; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.join__pay { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 40px; }

.pay {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 22px 44px;
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 400; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.pay:hover { background: rgba(196, 170, 122, .12); color: var(--text); }
.pay.is-ready {
  background: var(--gold); color: var(--bg);
  box-shadow: 0 20px 60px oklch(0.55 0.10 85 / .25);
}
.pay.is-ready:hover { background: var(--gold-hover); color: var(--bg); transform: translateY(-2px); }
.pay__price { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.pay.is-busy { opacity: .6; pointer-events: none; }
.pay-hint { font-size: 12px; letter-spacing: .06em; color: var(--gold); text-align: center; }
.join__soldout { margin: 0 0 24px; max-width: 460px; font-size: 15px; line-height: 1.75; color: var(--muted); text-align: center; }
.pay-hint.is-ready { color: var(--muted); }
.join__legal { margin: 8px 0 0; max-width: 420px; font-size: 12px; line-height: 1.65; color: var(--muted); text-align: center; }

/* ---------- 11. Футер ---------- */
.footer {
  padding: 40px 6vw; border-top: 1px solid var(--gold-line-15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(232, 226, 216, .4);
}
.footer__legal { flex-basis: 100%; margin-top: 8px; letter-spacing: .08em; text-transform: none; line-height: 1.8; }
.footer__legal a { color: rgba(232, 226, 216, .55); }
.footer__legal a:hover { color: var(--text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .hero__hint::before, .hero__ring-text { animation: none; }
  .hero__hint { display: none; }
}
