/* ═══════════════════════════════════════════════════════════
   Роман Хусаинов — Premium Event Host
   Optimized: perf-first, luxury visual architecture
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --bg:          #060608;
  --bg-card:     #0d0d10;
  --bg-card-2:   #141418;
  --text:        #eeeae4;
  --text-sub:    #9a9790;
  --text-dim:    #58564f;
  --accent:      #9b111e;
  --gold:        #d4af37;
  --gold-dark:   #a8882a;
  --gold-light:  #f0d060;
  --border:      rgba(255,255,255,0.06);
  --border-gold: rgba(212,175,55,0.16);
  --r-sm:  6px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --ease:  cubic-bezier(0.23, 1, 0.32, 1);
  --dur:   0.45s;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
  /* Very faint grain — SVG filter, no JS */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.024'/%3E%3C/svg%3E");
}
a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── FONTS ──────────────────────────────────────────────── */
@font-face { font-family:"Montserrat"; src:url("./fonts/montserrat-regular.woff") format("woff"); font-weight:400; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("./fonts/montserrat-semibold.woff") format("woff"); font-weight:600; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("./fonts/montserrat-bold.woff") format("woff"); font-weight:700; font-display:swap; }

/* ── WRAPPER ────────────────────────────────────────────── */
.main-wrapper { position: relative; z-index: 1; width: 100%; }
.inner { max-width: 1360px; margin: 0 auto; padding: 0 5%; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 46px; border-radius: 50px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; cursor: pointer; border: none;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
  white-space: nowrap;
}
.btn--primary { background: linear-gradient(135deg, var(--accent) 0%, #6e0c16 100%); color: #fff; box-shadow: 0 4px 28px rgba(155,17,30,0.32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 44px rgba(155,17,30,0.48); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-gold); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 24px rgba(212,175,55,0.10); transform: translateY(-2px); }
.btn--cta { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%); color: #100c00; font-size: 15px; padding: 22px 60px; letter-spacing: 2px; box-shadow: 0 6px 32px rgba(212,175,55,0.36); }
.btn--cta:hover { transform: translateY(-4px); box-shadow: 0 16px 56px rgba(212,175,55,0.52), 0 0 0 8px rgba(212,175,55,0.06); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease calc(var(--delay,0s)), transform 0.8s var(--ease) calc(var(--delay,0s)); }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   PREMIUM DIVIDER SYSTEM
   PERF FIX: shimmer now uses transform:translateX instead of
   animating `left` — GPU composited, no layout recalculation.
   contain: layout style prevents shimmer from causing repaints
   in sibling elements.
   ═══════════════════════════════════════════════════════════ */
.divider {
  position: relative;
  width: 100%;
  height: 1px;
  overflow: hidden;
  contain: layout style;
}
.divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent            0%,
    rgba(212,175,55,0.08)  20%,
    rgba(212,175,55,0.26)  50%,
    rgba(212,175,55,0.08)  80%,
    transparent           100%);
}
/* Shimmer: GPU-composited (transform, not left) */
.divider::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 25%; height: 100%;
  background: linear-gradient(90deg,
    transparent             0%,
    rgba(240,208,96,0.50)  50%,
    transparent            100%);
  will-change: transform;
  animation: dividerShimmer 90s linear infinite;
}
@keyframes dividerShimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(600%); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION DEPTH ARCHITECTURE
   Rings/arcs: no filter:blur (compositing cost).
   Instead, very low opacity + large spread achieves softness.
   ═══════════════════════════════════════════════════════════ */
.section-ring, .section-arc {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.video-section { position: relative; }
.section-arc--video {
  width: 700px; height: 700px;
  top: -280px; right: -280px;
  border: 1px solid rgba(212,175,55,0.06);
  box-shadow: 0 0 0 60px rgba(212,175,55,0.012);
}
.trust-section { position: relative; }
.section-ring--trust {
  width: 560px; height: 560px;
  bottom: -240px; left: -200px;
  border: 1px solid rgba(212,175,55,0.05);
  box-shadow: 0 0 0 50px rgba(212,175,55,0.010);
}
.reviews { position: relative; }
.section-ring--reviews {
  width: 620px; height: 620px;
  top: -260px; right: -240px;
  border: 1px solid rgba(155,17,30,0.05);
  box-shadow: 0 0 0 50px rgba(155,17,30,0.010);
}
.faq-section { position: relative; }
.section-arc--faq {
  width: 460px; height: 460px;
  bottom: -180px; left: -140px;
  border: 1px solid rgba(212,175,55,0.045);
  box-shadow: 0 0 0 40px rgba(212,175,55,0.009);
}

/* CONTACTS — soft halo, no animation, reduced blur (20px vs 40px) */
.contacts { position: relative; padding: 80px 0 140px; }
.contacts__halo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* Smaller than before: 700×500 vs 1000×700 */
  width: 700px; height: 500px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(212,175,55,0.045) 0%,
    rgba(155,17,30,0.022)  35%,
    transparent            68%);
  /* Reduced blur: 20px vs 40px — same visual, ~4x cheaper */
  filter: blur(20px);
  /* No animation — static glow is sufficient */
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; padding: 34px 5% 0; }
.nav a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-sub); transition: color 0.3s; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav a:hover { color: var(--gold); border-bottom-color: rgba(212,175,55,0.35); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero-section {
  width: 100%; min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}

/* PERF FIX: ambient now animates opacity only, not scale.
   Opacity-only animation stays on the compositor thread.
   Scale forces layout recalculation on a huge element. */
.hero-light { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-light__ruby {
  position: absolute;
  right: -8%; bottom: -20%;
  width: 75vw; height: 110%;
  background: radial-gradient(ellipse at 60% 70%,
    rgba(155,17,30,0.20) 0%,
    rgba(155,17,30,0.08) 30%,
    transparent          65%);
  animation: ambientOpacity 40s ease-in-out infinite;
}
.hero-light__warm {
  position: absolute;
  right: 5%; bottom: 0;
  width: 50vw; height: 70%;
  background: radial-gradient(ellipse at 70% 90%,
    rgba(212,175,55,0.055) 0%,
    transparent            62%);
  animation: ambientOpacity 55s ease-in-out infinite 8s;
}
@keyframes ambientOpacity {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.65; }
}

/* Static contour rings — no animation */
.hero-rings { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(212,175,55,0.065); }
.hero-ring--1 { width: 520px; height: 520px; top: -160px; right: -140px; box-shadow: 0 0 0 60px rgba(212,175,55,0.018); }
.hero-ring--2 { width: 680px; height: 680px; bottom: -180px; right: -100px; border-color: rgba(155,17,30,0.055); box-shadow: 0 0 0 70px rgba(155,17,30,0.014); }
.hero-ring--3 { width: 380px; height: 380px; bottom: -160px; left: -120px; box-shadow: 0 0 0 45px rgba(212,175,55,0.011); }

/* ── HERO ACCENT LINE — CSS only, no canvas, no JS ────── */
/* Lightweight premium accent: thin glowing bar after nav, above content.
   Uses a gradient + animated shimmer (same GPU-composited technique
   as the section dividers). */
.hero-accent-line {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 1px;
  margin: 20px auto 0;
  z-index: 6;
  contain: layout style;
  overflow: hidden;
}
.hero-accent-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent              0%,
    rgba(155,17,30,0.10)    10%,
    rgba(212,175,55,0.30)   35%,
    rgba(212,175,55,0.55)   50%,
    rgba(212,175,55,0.30)   65%,
    rgba(155,17,30,0.10)    90%,
    transparent             100%);
}
/* Very slow shimmer: 120s cycle, almost imperceptible */
.hero-accent-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 20%; height: 100%;
  background: linear-gradient(90deg,
    transparent            0%,
    rgba(240,208,96,0.70) 50%,
    transparent           100%);
  will-change: transform;
  animation: dividerShimmer 120s linear infinite;
}

.hero {
  flex: 1; position: relative; z-index: 5;
  display: flex; align-items: flex-end;
  padding: 48px 5% 0;
  min-height: calc(100vh - 84px);
}
.hero__text {
  position: relative; z-index: 10;
  max-width: 720px;
  padding-bottom: 100px;
}
.hero__eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 7px; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.hero__name { font-size: clamp(72px,10vw,124px); font-weight: 700; line-height: 0.90; letter-spacing: -3px; color: #fff; margin-bottom: 22px; }
.hero__name br { display: block; margin-bottom: 0.04em; }
.hero__tagline { font-size: clamp(24px,3vw,42px); font-weight: 300; color: var(--text-sub); margin-bottom: 48px; }
.hero__manifesto-box { border-left: 2px solid var(--accent); padding-left: 24px; margin-bottom: 56px; }
.hero__manifesto { font-size: 16px; line-height: 1.82; color: #d0ccc6; font-weight: 300; }
.hero__actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.hero__microcopy { margin-top:18px; color:var(--text-sub); font-size:12px; letter-spacing:.4px; }

.hero__photo {
  position: absolute; right: -2%; bottom: 0;
  width: 58%; height: 100%;
  display: flex; align-items: flex-end; justify-content: flex-end;
  pointer-events: none; z-index: 4;
}
/* PERF FIX: replaced double drop-shadow filter with:
   - one drop-shadow for the ruby halo (unavoidable, keeps the premium look)
   - a separate ::before pseudo-element for the ground shadow
   This halves the filter compositing cost. */
.hero__photo-shadow {
  position: absolute;
  bottom: -10px; left: 10%; right: 10%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55) 0%, transparent 70%);
  filter: blur(12px);
  z-index: 1;
}
.hero__photo picture {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}
.hero__photo img {
  position: relative; z-index: 2;
  max-width: 920px; width: 100%;
  height: auto; object-fit: contain; object-position: bottom right;
  /* Single drop-shadow only — half the rendering cost vs two */
  filter: drop-shadow(0 0 80px rgba(155,17,30,0.22));
}

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee { width: 100%; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.018); padding: 16px 0; }
.marquee__track { display: flex; white-space: nowrap; animation: marqueeScroll 30s linear infinite; }
.marquee__track span { font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--text-dim); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ── PHILOSOPHY ─────────────────────────────────────────── */
.philosophy__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; perspective: 1400px; }
.philosophy__card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border); border-top: 1px solid var(--border-gold);
  border-radius: var(--r-md); padding: 52px 36px 44px; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  transform-style: preserve-3d; cursor: default;
}
.philosophy__card:hover { transform: rotateY(-4deg) rotateX(2deg) translateY(-10px); box-shadow: 0 28px 60px rgba(0,0,0,0.7); border-color: rgba(212,175,55,0.36); }
.philosophy__num { position: absolute; top: -20px; right: 8px; font-size: 130px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.032); pointer-events: none; transition: -webkit-text-stroke 0.5s; user-select: none; }
.philosophy__card:hover .philosophy__num { -webkit-text-stroke: 1px rgba(212,175,55,0.20); }
.philosophy__card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.3; }
.philosophy__card p  { font-size: 15px; line-height: 1.78; color: var(--text-sub); }
.philosophy .section__cta { padding-top: 80px; }

/* ── SECTION BASE ───────────────────────────────────────── */
.section { padding: 130px 0; }
.section__header { text-align: center; margin-bottom: 80px; }
.section__header h2 { font-size: clamp(32px,4vw,54px); font-weight: 700; line-height: 1.1; margin-bottom: 18px; color: #fff; }
.section__header p { font-size: 18px; color: var(--text-sub); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section__sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 5px; color: var(--gold); }
.section__cta { text-align: center; padding-top: 64px; }

/* ═══════════════════════════════════════════════════════════
   FORMATS
   ═══════════════════════════════════════════════════════════ */
.formats { padding: 0; }
.formats__inner {
  display: grid; grid-template-columns: 42% 1fr; gap: 80px;
  align-items: start; padding-top: 120px; padding-bottom: 120px;
}
.formats__portrait { position: sticky; top: 60px; display: flex; flex-direction: column; align-items: flex-start; }
.formats__portrait-wrap { position: relative; width: 100%; border-radius: var(--r-md); overflow: hidden; }
.formats__portrait-wrap img {
  width: 100%; height: auto; object-fit: cover; display: block; border-radius: var(--r-md);
  /* Single drop-shadow — cheaper than two */
  filter: drop-shadow(-12px 20px 40px rgba(0,0,0,0.65));
  animation: portraitFloat 11s ease-in-out infinite;
  will-change: transform;
}
@keyframes portraitFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.formats__portrait-glow {
  position: absolute; inset: 0; border-radius: var(--r-md);
  background: radial-gradient(ellipse at 50% 100%, rgba(155,17,30,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.formats__portrait-shadow {
  position: absolute; bottom: -18px; left: 10%; width: 80%; height: 36px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.50) 0%, transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.formats__portrait-caption { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-left: 2px; }
.formats__caption-line { display: block; width: 26px; height: 1px; background: var(--gold); opacity: 0.55; flex-shrink: 0; }
.formats__caption-text { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); opacity: 0.70; }
.formats__body { display: flex; flex-direction: column; }
.formats__kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.formats__title { font-size: clamp(48px,5.5vw,74px); font-weight: 700; line-height: 1.0; letter-spacing: -1.5px; color: #fff; margin-bottom: 52px; }
.formats__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 52px; }
.formats__card {
  position: relative;
  background: linear-gradient(145deg, #16161a 0%, #0c0c0f 100%);
  border: 1px solid rgba(255,255,255,0.055);
  border-top: 1.5px solid rgba(212,175,55,0.18);
  border-radius: var(--r-md); padding: 32px 28px 34px; min-height: 200px;
  display: flex; flex-direction: column; cursor: default;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-top-color var(--dur) var(--ease);
  overflow: hidden;
}
/* Shimmer sweep: GPU composited */
.formats__card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.030), transparent);
  will-change: transform;
  transition: transform 0.7s ease;
  transform: translateX(-150%);
}
.formats__card:hover::before { transform: translateX(350%); }
.formats__card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.65), 0 0 0 1px rgba(212,175,55,0.18); border-top-color: rgba(212,175,55,0.55); }
.formats__card--wide { grid-column: 1 / -1; min-height: 160px; }
.formats__card-num { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--gold); opacity: 0.6; margin-bottom: 16px; transition: opacity var(--dur); }
.formats__card:hover .formats__card-num { opacity: 1; }
.formats__card h4 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.25; }
.formats__card p  { font-size: 15px; color: var(--text-sub); line-height: 1.7; margin: 0; flex: 1; }

/* ── VIDEO ──────────────────────────────────────────────── */
.video-section__header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--border); padding-bottom: 28px; margin-bottom: 52px; }
.video-section__header h2 { font-size: clamp(32px,4vw,52px); font-weight: 700; color: #fff; margin: 0; }
.video__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video__card { position: relative; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; }
.video__card--large { grid-column: 1 / -1; }
.video__cover { background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video__card--large .video__cover { height: 62vh; min-height: 440px; }
.video__card:not(.video__card--large) .video__cover { height: 38vh; min-height: 240px; }
.video__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.38); transition: background 0.4s; }
.video__card:hover .video__overlay { background: rgba(0,0,0,0.55); }
.video__play { position: relative; z-index: 2; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1.5px solid rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; transition: background var(--dur), border-color var(--dur), transform var(--dur) var(--ease); cursor: pointer; }
.video__play svg { width: 26px; height: 26px; margin-left: 5px; }
.video__card:hover .video__play { background: var(--gold); border-color: var(--gold); color: #000; transform: scale(1.1); }
.video__title { position: absolute; bottom: 28px; left: 28px; z-index: 2; font-size: 24px; font-weight: 600; color: #fff; text-shadow: 0 4px 16px rgba(0,0,0,0.85); margin: 0; transition: transform 0.4s var(--ease); }
.video__card:hover .video__title { transform: translateX(8px); }

/* ═══════════════════════════════════════════════════════════
   PHOTO SECTION — main grid + expandable extra gallery
   KEY FIXES:
   - photo-grid: no fixed height; uses aspect-ratio so items
     size themselves regardless of viewport. No overlap possible.
   - extra-gallery: pure CSS grid with aspect-ratio; images can
     never overlap regardless of when they load.
   - gallery expand: max-height: 9999px trick means we never
     depend on scrollHeight measured before images load.
   ═══════════════════════════════════════════════════════════ */
.photo-section { padding: 80px 0 0; }

/* ── Main grid: 3 columns, items size via aspect-ratio ── */
/* ── Main photo grid: 3-column, two explicit rows ── */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  grid-template-rows: minmax(280px, 45vh) minmax(180px, 28vh);
  gap: 8px;
  width: 100%;
}
.photo-grid__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Tall items (left & right columns) span both rows */
.photo-grid__item--tall {
  grid-row: 1 / 3;
  overflow: hidden;
  border-radius: var(--r-sm);
}
/* Middle column items fill their row naturally */
.photo-grid__col .photo-grid__item {
  flex: 1;
  overflow: hidden;
  border-radius: var(--r-sm);
  min-height: 0; /* allow flex children to shrink */
}
.photo-grid__item {
  overflow: hidden;
  border-radius: var(--r-sm);
}
.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #0b0b0d;
  display: block;
  transition: transform 0.7s var(--ease);
}
.photo-grid__item:hover img { transform: scale(1.04); }

/* ── Extra gallery: stable CSS grid, no overlap possible ── */
.extra-gallery {
  max-height: 0;
  overflow: hidden;
  /* opacity transition only — height is handled by max-height */
  opacity: 0;
  /* Do NOT animate max-height with a tight value — use a large static value
     set by JS (9999px) so the transition is purely opacity-driven */
  transition: opacity 0.7s ease 0.1s;
}
.extra-gallery.is-open {
  opacity: 1;
}

.extra-gallery__grid {
  display: grid;
  /* Desktop: 3 columns */
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 8px;
  /* Ensure grid is block-level and establishes its own formatting context */
  width: 100%;
}
.extra-gallery__item {
  overflow: hidden;
  border-radius: var(--r-sm);
  /* aspect-ratio reserves space immediately — images can never overlap */
  aspect-ratio: 4 / 3;
  /* Ensure no absolute positioning leaks */
  position: relative;
}
.extra-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #0b0b0d;
  display: block;
  transition: transform 0.7s var(--ease);
}
.extra-gallery__item:hover img { transform: scale(1.04); }

/* Gallery "Оставить заявку" — hidden until gallery is opened */
.gallery-request-cta {
  margin-top: 24px;
  display: none;
}
.gallery-request-cta.is-visible {
  display: block;
}

/* ── TRUST ──────────────────────────────────────────────── */
.trust__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.trust__card { position: relative; background: linear-gradient(140deg,rgba(22,20,16,0.9) 0%,rgba(10,10,12,0.9) 100%); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); cursor: default; }
/* GPU-composited shimmer (transform, not left) */
.trust__card::before { content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.030), transparent); will-change: transform; transform: translateX(-150%); transition: transform 0.7s ease; }
.trust__card:hover::before { transform: translateX(270%); }
.trust__card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.18); border-color: rgba(212,175,55,0.18); }
.trust__card-line { height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); opacity: 0.45; transition: opacity var(--dur); }
.trust__card:hover .trust__card-line { opacity: 1; }
.trust__card-content { padding: 38px 38px 42px; }
.trust__card-content h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.35; }
.trust__card-content p  { font-size: 15px; line-height: 1.78; color: var(--text-sub); }

/* ── REVIEWS ────────────────────────────────────────────── */
.reviews__grid { display: grid; grid-template-columns: 60% 1fr; gap: 36px; align-items: stretch; }
.reviews__carousel { display: flex; flex-direction: column; min-width: 0; }
.carousel__viewport { position: relative; overflow: hidden; border-radius: var(--r-md); flex: 1; min-height: 300px; background: var(--bg-card); }
.carousel__track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.25,1,0.35,1); will-change: transform; }
.carousel__slide { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 20px; height: 100%; min-height: 300px; }
.carousel__slide img { display: block; max-width: 100%; max-height: 560px; width: auto; height: auto; object-fit: contain; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); user-select: none; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; flex-shrink: 0; }
.carousel__arrow { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur), border-color var(--dur); flex-shrink: 0; }
.carousel__arrow:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.carousel__dots { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; justify-content: center; }
.carousel__dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,0.15); cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; flex-shrink: 0; }
.carousel__dot--active { background: var(--gold); transform: scale(1.5); }
.gift-card { position: relative; background: linear-gradient(155deg, #1e1c11 0%, #0d0c09 100%); border: 1px solid var(--border-gold); border-radius: var(--r-lg); padding: 50px 42px 54px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; overflow: hidden; }
.gift-card::before { content: ''; position: absolute; bottom: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(212,175,55,0.060) 0%, transparent 70%); pointer-events: none; }
.gift-card__badge { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border-gold); border-radius: 50px; padding: 6px 16px; display: inline-block; }
.gift-card h3 { font-size: 25px; font-weight: 700; color: #fff; line-height: 1.25; }
.gift-card p  { font-size: 15px; color: var(--text-sub); line-height: 1.72; flex: 1; }
.gift-btn { display: inline-block; padding: 15px 38px; border-radius: 50px; background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%); color: #150f00; font-family: inherit; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 4px 24px rgba(212,175,55,0.33); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.gift-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 40px rgba(212,175,55,0.55), 0 0 0 6px rgba(212,175,55,0.09); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-section { padding: 130px 0; }
.faq__header { margin-bottom: 80px; }
.faq__kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.faq__header h2 { font-size: clamp(36px,5vw,64px); font-weight: 700; line-height: 1.05; letter-spacing: -1px; color: #fff; }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item.is-open .faq__icon::before { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after  { transform: translate(-50%,-50%) rotate(180deg) scaleX(0); }
.faq__item.is-open .faq__q { color: #fff; }
.faq__trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 36px 0; background: none; border: none; cursor: pointer; text-align: left; gap: 32px; }
.faq__trigger:hover .faq__q { color: #fff; }
.faq__trigger:hover .faq__icon { border-color: var(--gold); }
.faq__trigger:hover .faq__icon::before, .faq__trigger:hover .faq__icon::after { background: var(--gold); }
.faq__q { font-size: clamp(17px,2vw,22px); font-weight: 600; color: var(--text-sub); line-height: 1.4; transition: color 0.3s; flex: 1; }
.faq__icon { position: relative; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; transition: border-color 0.3s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--text-sub); border-radius: 2px; transition: transform 0.4s var(--ease), background 0.3s; }
.faq__icon::before { width: 1.5px; height: 14px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq__icon::after  { width: 14px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__answer p { font-size: 16px; line-height: 1.82; color: var(--text-sub); padding-bottom: 36px; max-width: 680px; }

/* ── NEON DIVIDER ───────────────────────────────────────── */
.neon-divider { width: 100%; height: 180px; position: relative; overflow: hidden; }
#neonCanvas { display: block; width: 100%; height: 100%; }

/* ── CONTACTS ───────────────────────────────────────────── */
.contact-hero { text-align: center; padding: 100px 40px; background: linear-gradient(160deg,rgba(22,18,10,0.92) 0%,rgba(8,8,10,0.92) 100%); border: 1px solid rgba(212,175,55,0.12); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.contact-hero::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(155,17,30,0.09) 0%, transparent 70%); pointer-events: none; }
.contact-hero::after  { content: ''; position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%); width: 400px; height: 300px; background: radial-gradient(ellipse, rgba(212,175,55,0.05) 0%, transparent 70%); pointer-events: none; }
.contact-hero__eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 6px; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; position: relative; z-index: 2; }
.contact-hero__title { font-size: clamp(52px,7vw,96px); font-weight: 700; line-height: 0.95; letter-spacing: -2px; color: #fff; margin-bottom: 28px; position: relative; z-index: 2; }
.contact-hero__sub { font-size: 18px; color: var(--text-sub); max-width: 520px; margin: 0 auto 60px; line-height: 1.7; position: relative; z-index: 2; }
.contact-hero__cta { margin-bottom: 64px; position: relative; z-index: 2; }
.contact-hero__details { display: flex; align-items: center; justify-content: center; gap: 48px; position: relative; z-index: 2; flex-wrap: wrap; }
.contact-hero__link { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity 0.3s; }
.contact-hero__link:hover { opacity: 0.7; }
.contact-hero__link-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.contact-hero__link-value { font-size: 22px; font-weight: 600; color: #fff; }
.contact-hero__sep { width: 1px; height: 52px; background: rgba(255,255,255,0.1); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 52px 0 44px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.nav--footer { justify-content: flex-start; padding: 0; gap: 6px 28px; }
.footer__socials { display: flex; gap: 20px; align-items: center; }
.footer__socials img { width: 26px; height: 26px; opacity: 0.48; transition: opacity 0.3s, transform 0.3s; }
.footer__socials a:hover img { opacity: 1; transform: scale(1.15) translateY(-2px); }

/* ── VIDEO MODALS ───────────────────────────────────────── */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.modal--open { opacity: 1; visibility: visible; }
.modal__inner { position: relative; width: 90%; max-width: 980px; border-radius: var(--r-md); overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,0.9); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.7); color: #fff; font-size: 22px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.3s; }
.modal__close:hover { background: var(--accent); }
.modal__video { width: 100%; height: auto; max-height: 82vh; display: block; }
.modal__frame { width: 100%; aspect-ratio: 16 / 9; min-height: min(70vh, 620px); display: block; border: 0; background: #000; }
.video__badge { position: absolute; top: 20px; right: 20px; z-index: 2; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.42); color: #fff; padding: 7px 10px; border-radius: 999px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); }
.modal__inner--fallback { padding: 56px 46px; }
.video-fallback { max-width: 560px; margin: 0 auto; text-align: center; padding: 16px; }
.video-fallback__eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }
.video-fallback h3 { color: #fff; font-size: clamp(26px, 4vw, 44px); line-height: 1.04; margin: 18px 0 14px; }
.video-fallback p { color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
@media (max-width: 640px) { .modal__frame { min-height: 54vw; } .modal__inner--fallback { padding: 38px 18px; } }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — production-ready, tested across all breakpoints
   ═══════════════════════════════════════════════════════════ */

/* ── 1100px — tablet landscape ──────────────────────────── */
@media (max-width: 1100px) {
  .formats__inner { grid-template-columns: 1fr; gap: 60px; padding: 80px 5%; }
  .formats__portrait { position: static; max-width: 420px; margin: 0 auto; }
  .formats__portrait-wrap img { animation: none; }
  .formats__title, .formats__kicker { text-align: center; display: block; }
  .formats__body { align-items: center; }
  .formats__cards { width: 100%; }
  .philosophy__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .contact-hero__title { font-size: clamp(44px,6vw,72px); }
}

/* ── 900px — tablet portrait ─────────────────────────────── */
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .video__grid { grid-template-columns: 1fr; }
  .video__card--large .video__cover { height: 56vw; min-height: 220px; }
  .video__card:not(.video__card--large) .video__cover { height: 46vw; min-height: 180px; }
  /* Gallery: 2 columns on tablet */
  .extra-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  /* Photo grid: rebuild as simple 2-col grid, no flex columns */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 8px;
  }
  .photo-grid__item--tall {
    grid-row: 1 / 3;
    grid-column: 1;
    aspect-ratio: auto;
  }
  /* Kill the flex col — each child becomes a direct grid item */
  .photo-grid__col {
    display: contents;
  }
  .photo-grid__col .photo-grid__item {
    flex: none;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .photo-grid__item {
    aspect-ratio: auto;
    height: auto;
  }
}

/* ── 768px — mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* ── Global ── */
  .section { padding: 64px 0; }
  .faq-section { padding: 64px 0; }
  .inner { padding: 0 16px; }

  /* ── Global: ensure nothing causes horizontal scroll ── */
  .main-wrapper, body { overflow-x: hidden; }
  img { max-width: 100%; }

  /* ── Buttons: minimum 44px touch target ── */
  .btn { min-height: 44px; padding: 14px 32px; font-size: 13px; }
  .btn--cta { padding: 16px 36px; font-size: 13px; min-height: 52px; }
  .gift-btn { min-height: 44px; }

  /* ── Nav ── */
  .nav { gap: 8px 14px; padding: 20px 16px 0; flex-wrap: wrap; }
  .nav a {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 6px 2px;
    /* Ensure minimum tap target height */
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  /* ── Hero ── */
  .hero-section { min-height: auto; }
  .hero {
    padding: 28px 16px 0;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hero__text {
    padding-bottom: 24px;
    max-width: 100%;
    position: relative;
    z-index: 10;
  }
  .hero__eyebrow { font-size: 10px; letter-spacing: 4px; margin-bottom: 16px; }
  .hero__name {
    font-size: clamp(44px, 12vw, 72px);
    letter-spacing: -1.5px;
    line-height: 0.93;
    margin-bottom: 16px;
  }
  .hero__tagline { font-size: clamp(18px, 5vw, 26px); margin-bottom: 24px; }
  .hero__manifesto-box { margin-bottom: 32px; }
  .hero__manifesto { font-size: 14px; line-height: 1.7; }
  /* Portrait: below text, proportional */
  .hero__photo {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    display: flex;
    justify-content: center;
  }
  .hero__photo picture {
    width: min(100%, 340px);
    display: block;
  }
  .hero__photo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }
  .hero__photo-shadow { display: none; }
  .hero-accent-line { width: 92%; margin-top: 12px; }

  /* ── Philosophy ── */
  .philosophy__grid { grid-template-columns: 1fr; gap: 14px; }
  .philosophy__card { padding: 36px 24px 32px; }
  .philosophy__card:hover { transform: translateY(-4px); }
  .philosophy__num { font-size: 90px; top: -12px; }
  .philosophy__card h3 { font-size: 18px; }
  .section__cta { padding-top: 48px; }

  /* ── Formats ── */
  .formats__inner { padding: 60px 16px; gap: 40px; }
  .formats__portrait { max-width: 280px; }
  .formats__title { font-size: clamp(40px, 10vw, 56px); margin-bottom: 32px; }
  .formats__cards { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .formats__card { min-height: 160px; padding: 24px 20px 28px; }
  .formats__card--wide { grid-column: 1; min-height: 140px; }
  .formats__card h4 { font-size: 18px; }
  .formats__card p { font-size: 14px; }

  /* ── Video ── */
  .video-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 32px;
  }
  .video-section__header h2 { font-size: clamp(28px, 8vw, 42px); }
  .video__grid { grid-template-columns: 1fr; gap: 12px; }
  .video__card--large .video__cover { height: 56vw; min-height: 200px; }
  .video__card:not(.video__card--large) .video__cover { height: 50vw; min-height: 180px; }
  .video__title { font-size: 16px; bottom: 14px; left: 14px; }
  .video__play { width: 60px; height: 60px; }
  .video__play svg { width: 20px; height: 20px; }

  /* ── Photo grid — single column layout on mobile ── */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 6px;
  }
  /* Wide banner at top */
  .photo-grid__item--tall {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 180px;
    aspect-ratio: auto;
  }
  /* Flatten col into grid items */
  .photo-grid__col { display: contents; }
  .photo-grid__col .photo-grid__item {
    flex: none;
    height: 180px;
    aspect-ratio: auto;
  }
  .photo-grid__item { height: 180px; aspect-ratio: auto; }

  /* ── Extra gallery ── */
  .extra-gallery__grid { grid-template-columns: 1fr 1fr; gap: 6px; }

  /* ── Gallery button ── */
  #galleryToggle { width: 100%; max-width: 320px; }

  /* ── Trust ── */
  .trust__grid { grid-template-columns: 1fr; gap: 14px; }
  .trust__card-content { padding: 26px 22px 30px; }
  .trust__card-content h3 { font-size: 17px; }
  .trust__card-content p { font-size: 14px; }

  /* ── Reviews ── */
  .reviews__grid { grid-template-columns: 1fr; gap: 28px; }
  .carousel__viewport { min-height: 240px; }
  .carousel__slide { min-height: 240px; padding: 14px; }
  .carousel__slide img { max-height: 440px; border-radius: 12px; }
  .carousel__arrow { width: 44px; height: 44px; min-height: 44px; }
  .gift-card { padding: 30px 22px 36px; gap: 16px; }
  .gift-card h3 { font-size: 21px; }
  .gift-card p { font-size: 14px; }

  /* ── Section header ── */
  .section__header h2 { font-size: clamp(26px, 8vw, 44px); }
  .section__header p { font-size: 15px; }

  /* ── FAQ ── */
  .faq__header { margin-bottom: 48px; }
  .faq__header h2 { font-size: clamp(28px, 8vw, 44px); letter-spacing: -0.5px; }
  .faq__trigger { padding: 22px 0; gap: 16px; }
  .faq__q { font-size: 15px; }
  .faq__icon { width: 32px; height: 32px; min-width: 32px; }
  .faq__answer p { font-size: 14px; padding-bottom: 24px; max-width: 100%; }

  /* ── Neon divider ── */
  .neon-divider { height: 100px; }

  /* ── Contacts ── */
  .contacts { padding: 64px 0 100px; }
  .contact-hero { padding: 56px 20px 64px; border-radius: 16px; }
  .contact-hero__eyebrow { font-size: 10px; letter-spacing: 4px; margin-bottom: 20px; }
  .contact-hero__title {
    font-size: clamp(36px, 10vw, 60px);
    letter-spacing: -1px;
    line-height: 1.0;
    margin-bottom: 20px;
  }
  .contact-hero__sub { font-size: 15px; margin-bottom: 40px; }
  .contact-hero__cta { margin-bottom: 44px; }
  .contact-hero__details { flex-direction: column; gap: 24px; align-items: center; }
  .contact-hero__sep { width: 50px; height: 1px; }
  .contact-hero__link-value { font-size: 16px; word-break: break-all; }

  /* ── Footer ── */
  .footer { padding: 40px 0 36px; }
  .footer__inner { flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 0 16px; }
  .nav--footer { justify-content: center; gap: 6px 20px; }
  .nav--footer a { font-size: 10px; }
  .footer__socials { justify-content: center; gap: 16px; }
  .footer__socials img { width: 28px; height: 28px; }

  /* ── Hide expensive GPU elements on mobile ── */
  .hero-ring,
  .section-arc--video,
  .section-ring--trust,
  .section-ring--reviews,
  .section-arc--faq,
  .contacts__halo { display: none; }
}

/* ── 480px — small phones (iPhone SE, older Android) ─────── */
@media (max-width: 480px) {
  .inner { padding: 0 14px; }
  .hero__name { font-size: clamp(38px, 12vw, 60px); }
  .hero__photo picture { width: min(100%, 300px); }
  .hero__photo img { max-width: none; }
  .marquee__track span { font-size: 15px; letter-spacing: 2px; }
  /* Single column: every item stacks, fixed heights prevent collapse */
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .photo-grid__item--tall {
    grid-column: 1;
    grid-row: auto;
    height: 200px;
    aspect-ratio: auto;
  }
  .photo-grid__col .photo-grid__item { height: 160px; aspect-ratio: auto; }
  .photo-grid__item { height: 160px; aspect-ratio: auto; }
  .extra-gallery__grid { grid-template-columns: 1fr; }
  .formats__portrait { max-width: 240px; }
  .contact-hero__title { font-size: clamp(32px, 11vw, 52px); }
  .contact-hero { padding: 48px 16px 56px; }
  .video__card--large .video__cover { min-height: 180px; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .formats__portrait-wrap img { animation: none; }
  .marquee__track { animation-play-state: paused; }
  .hero-light__ruby, .hero-light__warm { animation: none; }
  .divider::after, .hero-accent-line::after { animation-play-state: paused; }
  * { transition-duration: 0.01ms !important; }
}

/* Conversion and accessibility improvements */
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.preparation { padding: 120px 0; }
.preparation__kicker { display:block; color:var(--gold); font-size:11px; font-weight:700; letter-spacing:4px; text-transform:uppercase; margin-bottom:18px; }
.preparation .section__header { max-width:760px; margin-bottom:54px; }
.preparation .section__header h2 { color:#fff; }
.preparation .section__header p { color:var(--text-sub); max-width:680px; }
.preparation__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.preparation__step { min-height:230px; padding:28px 24px 30px; border:1px solid var(--border); border-radius:var(--r-md); background:linear-gradient(145deg,rgba(22,20,16,.84),rgba(10,10,12,.9)); }
.preparation__step span { display:block; color:var(--gold); font-size:12px; font-weight:700; letter-spacing:2px; margin-bottom:40px; }
.preparation__step h3 { color:#fff; font-size:18px; line-height:1.3; margin-bottom:12px; }
.preparation__step p { color:var(--text-sub); font-size:14px; line-height:1.7; }
.btn--contact-secondary { border:1px solid rgba(212,175,55,.4); color:#fff; background:rgba(255,255,255,.04); }
.btn--contact-secondary:hover { border-color:var(--gold); color:var(--gold-light); transform:translateY(-3px); }
.contact-hero__cta--group { display:flex; justify-content:center; align-items:center; gap:14px; flex-wrap:wrap; }
.contact-hero__response { color:var(--text-sub); font-size:13px; margin:-34px auto 54px; position:relative; z-index:2; }
@media (max-width: 900px) { .preparation__grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 768px) { .hero__actions { align-items:stretch; flex-direction:column; } .hero__actions .btn { justify-content:center; width:100%; } .hero__microcopy { line-height:1.5; } .preparation { padding:64px 0; } .preparation .section__header { margin-bottom:34px; } .preparation__grid { grid-template-columns:1fr; gap:12px; } .preparation__step { min-height:0; padding:22px 20px 24px; } .preparation__step span { margin-bottom:22px; } .contact-hero__cta--group { flex-direction:column; } .contact-hero__cta--group .btn { width:100%; justify-content:center; } .contact-hero__response { margin:-18px auto 38px; } }


/* Live video proof section */
.live-video-section { position:relative; overflow:hidden; padding:128px 0; background:linear-gradient(180deg,rgba(8,8,10,.2),rgba(25,16,8,.18)); }
.live-video__inner { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr); gap:70px; align-items:center; }
.live-video__kicker { display:block; color:var(--gold); font-size:11px; font-weight:700; letter-spacing:4px; text-transform:uppercase; margin-bottom:20px; }
.live-video__copy h2 { max-width:760px; color:#fff; font-size:clamp(36px,5vw,68px); line-height:1.02; letter-spacing:-1.4px; margin-bottom:24px; }
.live-video__copy p { max-width:720px; color:#c2beb7; font-size:17px; line-height:1.78; }
.live-video__actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:36px; }
.live-video__secondary { color:var(--gold-light); font-size:13px; font-weight:700; border-bottom:1px solid rgba(212,175,55,.4); padding-bottom:5px; transition:color .3s,border-color .3s; }
.live-video__secondary:hover { color:#fff; border-color:#fff; }
.live-video__note { margin-top:18px; color:var(--text-sub)!important; font-size:12px!important; line-height:1.5!important; }
.live-video__proof { position:relative; min-height:330px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border:1px solid rgba(212,175,55,.24); border-radius:50%; background:radial-gradient(circle,rgba(212,175,55,.10),rgba(9,9,11,.10) 56%,transparent 70%); }
.live-video__proof-ring { position:absolute; inset:14%; border:1px solid rgba(212,175,55,.28); border-radius:50%; transform:rotate(-14deg) scaleX(1.18); }
.live-video__proof-number { color:#fff; font-size:clamp(64px,8vw,108px); font-weight:700; line-height:.9; letter-spacing:-5px; position:relative; z-index:1; }
.live-video__proof-label { color:var(--gold-light); font-size:12px; font-weight:700; letter-spacing:2px; line-height:1.5; text-transform:uppercase; position:relative; z-index:1; margin-top:16px; }
.live-video__proof-line { width:44px; height:1px; background:var(--gold); opacity:.65; margin:22px 0 16px; position:relative; z-index:1; }
.live-video__proof-small { max-width:180px; color:var(--text-sub); font-size:11px; line-height:1.6; position:relative; z-index:1; }
.live-video-orbit { position:absolute; pointer-events:none; border:1px solid rgba(212,175,55,.12); border-radius:50%; transform:rotate(-18deg) scaleY(.45); }
.live-video-orbit--one { width:760px; height:760px; right:-300px; top:-210px; }
.live-video-orbit--two { width:420px; height:420px; left:-190px; bottom:-230px; border-color:rgba(155,17,30,.12); transform:rotate(26deg) scaleY(.5); }
.photo-grid__item img, .extra-gallery__item img { object-position:center center; }
.section__header h2 { text-shadow:0 0 24px rgba(255,255,255,.04); }
@media (max-width: 900px) { .live-video__inner { grid-template-columns:1fr; gap:44px; } .live-video__proof { max-width:330px; width:100%; margin:0 auto; } }
@media (max-width: 768px) { .live-video-section { padding:76px 0; } .live-video__copy p { font-size:15px; } .live-video__actions { align-items:stretch; flex-direction:column; } .live-video__actions .btn { width:100%; justify-content:center; } .live-video__secondary { align-self:flex-start; } .live-video__proof { min-height:270px; } .live-video-orbit { opacity:.7; } }
@media (prefers-reduced-motion: reduce) { .live-video-orbit, .live-video__proof-ring { transform:none; } }


/* Full-size gallery viewer */
.photo-section img[tabindex="0"] { cursor:zoom-in; }
.photo-lightbox { position:fixed; inset:0; z-index:10001; display:flex; align-items:center; justify-content:center; padding:40px; background:rgba(0,0,0,.94); opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s; }
.photo-lightbox.is-open { opacity:1; visibility:visible; }
.photo-lightbox__image { max-width:min(94vw,1400px); max-height:86vh; width:auto; height:auto; object-fit:contain; border-radius:12px; box-shadow:0 30px 100px rgba(0,0,0,.8); }
.photo-lightbox__close { position:absolute; top:22px; right:24px; width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.25); background:rgba(0,0,0,.55); color:#fff; font-size:30px; line-height:1; cursor:pointer; }
.photo-lightbox__close:hover { background:var(--accent); border-color:var(--accent); }
.photo-lightbox__hint { position:absolute; bottom:20px; color:var(--text-sub); font-size:12px; }
.faq__answer a { color:var(--gold-light); text-decoration:underline; text-underline-offset:4px; }
@media (max-width:768px) { .photo-lightbox { padding:22px 14px; } .photo-lightbox__hint { display:none; } }


/* ── Author contests catalogue ───────────────────────────── */
.contests-section { position: relative; overflow: hidden; padding: 128px 0 116px; background: linear-gradient(180deg, rgba(10,9,11,.12), rgba(28,17,8,.2)); }
.contests-section__arc { position:absolute; width:680px; height:680px; border:1px solid rgba(212,175,55,.13); border-radius:50%; right:-290px; top:170px; transform:rotate(18deg); pointer-events:none; }
.contests-section__header { max-width: 860px; margin: 0 auto 54px; text-align:center; }
.contests-section__kicker { display:block; color:var(--gold); font-size:11px; font-weight:700; letter-spacing:4px; text-transform:uppercase; margin-bottom:18px; }
.contests-section__header p { max-width:720px; margin:18px auto 0; color:var(--text-sub); line-height:1.75; }
.contests__grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; max-width:1160px; margin:0 auto; }
.contest-card { min-width:0; overflow:hidden; border:1px solid var(--border); border-radius:var(--r-md); background:linear-gradient(145deg,rgba(24,20,16,.9),rgba(10,10,12,.94)); transition:transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.contest-card:hover { transform:translateY(-7px); border-color:rgba(212,175,55,.35); box-shadow:0 24px 55px rgba(0,0,0,.48); }
.contest-card img { display:block; width:100%; aspect-ratio:16/10; object-fit:contain; object-position:center; background:#0b0b0d; }
.contest-card__body { padding:20px 20px 22px; }
.contest-card__body > span { color:var(--gold); font-size:11px; font-weight:700; letter-spacing:2px; }
.contest-card__body h3 { color:#fff; font-size:19px; line-height:1.25; margin:12px 0 10px; }
.contest-card__body p { color:var(--text-sub); font-size:14px; line-height:1.65; margin:0 0 15px; }
.contest-card__body small { color:var(--gold-light); font-size:10px; letter-spacing:.12em; text-transform:uppercase; opacity:.8; }
.contests-section__footer { max-width:720px; margin:50px auto 0; text-align:center; }
.contests-section__footer p { color:var(--text-sub); line-height:1.7; margin:0 auto 22px; }
@media (max-width: 900px) { .contests__grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 600px) { .contests-section { padding:76px 0 70px; } .contests__grid { grid-template-columns:1fr; gap:12px; } .contest-card__body { padding:18px; } }

/* Client-side centering for the preparation block. */
.preparation .inner { max-width:1180px; margin:0 auto; }
.preparation .section__header { max-width:880px; margin:0 auto 54px; text-align:center; }
.preparation .section__header p { max-width:700px; margin-left:auto; margin-right:auto; }
.preparation__grid { max-width:1160px; margin:0 auto; }


/* ═══════════════════════════════════════════════════════════
   FUNNEL + MOBILE POLISH — wedding lead magnet and touch-first UX
   ═══════════════════════════════════════════════════════════ */
.lead-section { padding: 96px 0; }
.lead-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 34px; align-items: stretch; overflow: hidden;
  border: 1px solid rgba(212,175,55,.20); border-radius: var(--r-lg);
  background: radial-gradient(circle at 80% 20%, rgba(155,17,30,.22), transparent 48%), linear-gradient(135deg, #171318, #0b0b0d);
  box-shadow: 0 22px 80px rgba(0,0,0,.38);
}
.lead-card__copy { padding: 54px 0 54px 54px; }
.lead-card__kicker { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.lead-card h2 { max-width: 680px; margin: 16px 0 18px; color: #fff; font-size: clamp(30px, 4vw, 56px); line-height: 1.04; letter-spacing: -.03em; }
.lead-card p { max-width: 650px; color: var(--text-sub); font-size: 16px; line-height: 1.75; }
.lead-card__proof { margin-top: 22px; color: var(--text-sub); font-size: 12px; line-height: 1.7; }
.lead-card__proof span { color: var(--gold-light); font-weight: 700; font-size: 18px; }
.lead-card__proof i { color: var(--gold-dark); padding: 0 5px; font-style: normal; }
.lead-card__actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top: 28px; }
.lead-card__telegram { color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.lead-card__telegram:hover { color: #fff; }
.lead-card__visual { min-height: 330px; display:flex; align-items:center; justify-content:center; padding: 34px; background: linear-gradient(145deg, rgba(212,175,55,.10), rgba(155,17,30,.12)); }
.lead-card__sheet { width: min(260px, 90%); aspect-ratio: .72; padding: 28px 22px; display:flex; flex-direction:column; justify-content:space-between; color: #171113; background: linear-gradient(145deg, #f2e3c1, #c39b54); box-shadow: 0 24px 55px rgba(0,0,0,.55); transform: rotate(4deg); }
.lead-card__sheet span { font-size: 11px; font-weight: 700; letter-spacing: 2px; line-height: 1.35; }
.lead-card__sheet strong { font-size: 39px; line-height: .95; letter-spacing: -.06em; }
.lead-card__sheet small { font-size: 10px; line-height: 1.4; }
.gift-card__actions { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.gift-card__telegram { color: var(--gold-light); font-size: 12px; font-weight: 700; }

/* Never force cropped/empty video covers on narrow screens. */
@media (max-width: 900px) {
  .video__card--large .video__cover,
  .video__card:not(.video__card--large) .video__cover { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .video__cover { background-position: center; }
  .contest-card img { aspect-ratio: 16 / 10; height: auto; object-fit: contain; }
}
@media (max-width: 768px) {
  .lead-section { padding: 64px 0; }
  .lead-card { grid-template-columns: 1fr; gap: 0; border-radius: 18px; }
  .lead-card__copy { padding: 32px 22px 28px; }
  .lead-card h2 { font-size: clamp(28px, 9vw, 42px); }
  .lead-card p { font-size: 14px; line-height: 1.65; }
  .lead-card__actions { align-items:stretch; flex-direction:column; gap: 14px; }
  .lead-card__actions .btn { width:100%; justify-content:center; }
  .lead-card__telegram { text-align:center; padding: 4px; }
  .lead-card__visual { min-height: 250px; padding: 24px; }
  .lead-card__sheet { width: 190px; padding: 22px 18px; }
  .lead-card__sheet strong { font-size: 31px; }
  .gift-card__actions { width:100%; align-items:stretch; }
  .gift-card__actions .gift-btn { text-align:center; }
  .gift-card__telegram { text-align:center; }
  .contests-section__header { text-align:center; }
  .contests__grid { gap: 12px; }
  .contest-card { min-width:0; }
  .contest-card__body { padding: 20px 18px 22px; }
  .contest-card__body h3 { font-size: 18px; line-height:1.22; }
  .contest-card__body p { font-size: 13px; line-height:1.55; }
  .contests-section__footer { text-align:center; }
  .contests-section__footer .btn { width:100%; justify-content:center; }
  .preparation .section__header { margin-left:auto; margin-right:auto; text-align:center; }
  .preparation .section__header p { margin-left:auto; margin-right:auto; }
  .preparation__grid { gap: 10px; }
  .preparation__step { min-height: 0; padding: 22px 18px 24px; }
  .preparation__step span { margin-bottom: 22px; }
  .preparation__step h3 { font-size: 16px; }
  .preparation__step p { font-size: 13px; line-height:1.55; }
}
@media (max-width: 480px) {
  .lead-card__kicker { font-size: 9px; letter-spacing:2px; }
  .lead-card__proof { font-size: 11px; }
  .lead-card__proof i { padding: 0 2px; }
  .preparation__grid { grid-template-columns: 1fr; }
  .preparation__step { min-height: 150px; }
  .video__title { max-width: calc(100% - 28px); line-height:1.2; }
}
