/* =========================================================
   База: токены, сброс, типографика, кнопки, общие декоры
   ========================================================= */
:root {
  --forest: #0c1e18;
  --forest-2: #10271f;
  --forest-deep: #08150f;
  --pine: #163a2c;
  --emerald: #1f5a44;
  --moss: #6f9a4a;
  --gold: #d4ae62;
  --gold-hi: #f0d493;
  --gold-dark: #9a7428;
  --gold-soft: rgba(212, 174, 98, .4);
  --gold-line: rgba(212, 174, 98, .2);
  --ember: #f08a3c;
  --linen: #f3eee2;
  --linen-2: #e8e1d0;
  --text: #17231d;
  --muted: #5d6b62;
  --cream: #f1ecdf;
  --muted-l: rgba(241, 236, 223, .7);
  --display: "Cormorant SC", "Times New Roman", serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --logo: "Cinzel", "Cormorant SC", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(90px, 11vw, 150px);
  --header-h: 66px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gold-grad: linear-gradient(135deg, #b88a3d, var(--gold-hi) 50%, #b88a3d);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--forest); color: var(--cream); font: 400 16.5px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 12px 18px; background: var(--gold-hi); color: #1b150a; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- типографика: золотые капители, как в логотипе ---------- */
.h2 { margin: 0 0 22px; font: 600 clamp(34px, 4.4vw, 54px)/1.08 var(--display); letter-spacing: .02em; overflow-wrap: break-word; }
.lead { margin: 0; max-width: 34em; font-size: 17.5px; color: var(--muted-l); }
.stars { letter-spacing: 2px; }
.more { display: inline-block; margin-top: 30px; padding-bottom: 4px; font: 600 12.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--emerald); border-bottom: 1px solid currentColor; }

/* светлые секции */
.is-light { background: var(--linen); color: var(--text); }
.is-light .lead { color: var(--muted); }
.lead + .lead { margin-top: 14px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 2px; font: 700 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12.5px; }
.btn--gold { background: var(--gold-grad); color: #1b150a; box-shadow: 0 8px 26px -10px rgba(212, 174, 98, .8); }
.btn--gold:hover { box-shadow: 0 10px 34px -8px rgba(240, 212, 147, .9); }
.btn--line { border: 1px solid var(--gold-soft); color: var(--gold-hi); }
.btn--line:hover { border-color: var(--gold); background: rgba(212, 174, 98, .07); }

/* рамки фото: скругления повторяют подвесные кольца в зале */
.ring { position: relative; overflow: hidden; }
.ring img { width: 100%; height: 100%; object-fit: cover; }
.ring::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px var(--gold-soft); pointer-events: none; }

/* золотая волна под заголовками разделов */
.h2::after { content: ""; display: block; width: 96px; height: 12px; margin-top: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 9c14-8 26-8 40-2s26 6 40 0 24-6 36 1' fill='none' stroke='%23d4ae62' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M14 12c12-5 22-5 34 0s22 4 34 0' fill='none' stroke='%23d4ae62' stroke-width='1.2' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E") left center / contain no-repeat; }
.fmenu__title::after { margin-left: auto; margin-right: auto; background-position: center; }

/* светлячки */
.fireflies { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fireflies i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #f6e7a0; box-shadow: 0 0 8px 3px rgba(246, 231, 160, .55); opacity: 0; animation: fly 9s ease-in-out infinite; }
.fireflies i:nth-child(1) { left: 12%; top: 70%; }
.fireflies i:nth-child(2) { left: 22%; top: 40%; animation-delay: 1.5s; animation-duration: 11s; }
.fireflies i:nth-child(3) { left: 31%; top: 78%; animation-delay: 3s; }
.fireflies i:nth-child(4) { left: 44%; top: 22%; animation-delay: 4.5s; animation-duration: 12s; }
.fireflies i:nth-child(5) { left: 58%; top: 82%; animation-delay: 2s; }
.fireflies i:nth-child(6) { left: 66%; top: 30%; animation-delay: 6s; animation-duration: 10s; }
.fireflies i:nth-child(7) { left: 76%; top: 64%; animation-delay: 1s; }
.fireflies i:nth-child(8) { left: 86%; top: 44%; animation-delay: 5s; animation-duration: 13s; }
.fireflies i:nth-child(9) { left: 8%; top: 30%; animation-delay: 7s; }
.fireflies i:nth-child(10) { left: 92%; top: 78%; animation-delay: 3.5s; }
.fireflies i:nth-child(11) { left: 36%; top: 56%; animation-delay: 8s; animation-duration: 11s; }
.fireflies i:nth-child(12) { left: 70%; top: 12%; animation-delay: 2.5s; }
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: .9; }
  50% { opacity: .35; transform: translate(26px, -40px); }
  80% { opacity: .85; }
  100% { opacity: 0; transform: translate(-14px, -90px); }
}

/* ---------- появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
}
