/* AURUS — оживление подлинных кадров презентации.
   Пять приёмов, отобранных 05.08.2026 (см. DESIGN.md, «Оживление без генерации»).
   Анимируются только clip-path, opacity и transform — раскладка не пересчитывается,
   поэтому прокрутка не дёргается даже на телефоне. */

/* ── 1. Перетекание: второй кадр проявляется сквозь первый ── */
.fx-morph{position:relative;height:240vh}
.fx-morph .fx-sticky{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;align-items:center;background:var(--black,#0e0f11)}
.fx-morph .fx-stack{position:relative;width:100%;height:100%;overflow:hidden;
  display:flex;align-items:center;justify-content:center}
/* кадры башен вертикальные (0.67) — в полноэкранном слое теряли и вершины,
   и стилобат. Кладём их в рамку с их пропорцией. */
.fx-morph .fx-pair{position:relative;width:min(90vw,760px);aspect-ratio:0.72;max-height:86vh;
  border-radius:18px;overflow:hidden}
.fx-morph .fx-pair img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fx-morph .fx-stack img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;will-change:opacity,transform}
.fx-morph .fx-b{opacity:0;transform:scale(1.07)}
.fx-morph .fx-copy{position:absolute;z-index:5;inset:auto 0 0 0;padding:clamp(28px,6vh,72px) 0;
  background:linear-gradient(180deg,rgba(14,15,17,0) 0%,rgba(14,15,17,.55) 34%,rgba(14,15,17,.92) 74%)}
.fx-morph .fx-copy .fx-eyebrow{color:#cadcee;text-shadow:0 1px 10px rgba(0,0,0,.9)}
.fx-morph .fx-copy h2{color:#fff;text-shadow:0 2px 26px rgba(0,0,0,.55);font-size:clamp(26px,3.4vw,46px);margin-top:14px}
.fx-morph .fx-copy p{color:rgba(255,255,255,.84);max-width:560px;margin-top:14px;font-size:15.5px;line-height:1.75}
.fx-morph .fx-swap{position:absolute;top:clamp(20px,4vh,40px);right:clamp(20px,4vw,48px);z-index:4;
  font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.18em;text-transform:uppercase;
  color:rgba(255,255,255,.92);background:rgba(14,15,17,.42);backdrop-filter:blur(3px);
  padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.22)}

/* ── 2. Шторка: золотая линия открывает следующий кадр ── */
.fx-wipe{position:relative;height:220vh}
.fx-wipe .fx-sticky{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.fx-wipe img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fx-wipe .fx-top{clip-path:inset(0 0 0 0);will-change:clip-path}
.fx-wipe .fx-edge{position:absolute;top:0;bottom:0;width:1px;background:var(--gold);z-index:4;
  box-shadow:0 0 26px 3px rgba(156,185,216,.7);opacity:0}
.fx-wipe .fx-labels{position:absolute;inset:0;z-index:5;pointer-events:none}
.fx-wipe .fx-labels span{position:absolute;bottom:clamp(28px,6vh,64px);
  font-family:'Inter',sans-serif;font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.9)}
.fx-wipe .fx-labels .l{left:clamp(20px,4vw,48px)}
.fx-wipe .fx-labels .r{right:clamp(20px,4vw,48px)}

/* ── 3. Разворот журнала ── */
.fx-mag{perspective:2400px}
.fx-mag .fx-spread{position:relative;display:grid;grid-template-columns:1fr 1fr;max-width:1080px;margin:0 auto;
  border-radius:14px;overflow:hidden;box-shadow:0 40px 120px rgba(0,0,0,.5)}
.fx-mag .fx-page{position:relative;aspect-ratio:.74;overflow:hidden;background:#111}
.fx-mag .fx-page img{width:100%;height:100%;object-fit:cover}
.fx-mag .fx-slot{position:relative;aspect-ratio:.74}
.fx-mag .fx-slot .fx-page{position:absolute;inset:0;aspect-ratio:auto}
.fx-mag .fx-turn{transform-origin:left center;transform-style:preserve-3d;z-index:2;
  transition:transform 1.35s var(--ease,cubic-bezier(.22,.61,.36,1)),box-shadow 1.35s ease}
.fx-mag .fx-turn .fx-face{position:absolute;inset:0;backface-visibility:hidden}
.fx-mag .fx-turn .fx-back{transform:rotateY(180deg);background:#0b0c0e}
.fx-mag .fx-turn .fx-back img{opacity:.2;filter:grayscale(1) contrast(.75)}
.fx-mag.is-turned .fx-turn{transform:rotateY(-176deg);box-shadow:-34px 0 70px rgba(0,0,0,.5)}
.fx-mag .fx-gutter{position:absolute;left:50%;top:0;bottom:0;width:34px;transform:translateX(-50%);z-index:5;
  pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,.5) 45%,rgba(0,0,0,.5) 55%,rgba(0,0,0,0))}
.fx-mag .fx-cap{display:flex;justify-content:center;gap:18px;align-items:center;margin-top:22px;flex-wrap:wrap}
.fx-mag .fx-btn{background:transparent;border:1px solid rgba(156,185,216,.6);color:var(--gold);
  font-family:'Inter',sans-serif;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;
  padding:14px 26px;border-radius:11px;cursor:pointer;min-height:44px;transition:background .3s,color .3s}
.fx-mag .fx-btn:hover{background:var(--gold);color:var(--black)}
.fx-mag .fx-hint{font-size:12.5px;color:var(--steel-700)}

/* ── 4. Раскрытие маской ── */
.fx-iris{position:relative;height:220vh}
.fx-iris .fx-sticky{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;align-items:center;justify-content:center}
.fx-iris img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fx-iris .fx-over{clip-path:circle(0% at 50% 48%);will-change:clip-path}
.fx-iris .fx-veil{position:absolute;inset:0;background:rgba(14,15,17,.3);z-index:2}
.fx-iris .fx-t{position:relative;z-index:3;text-align:center;padding:0 24px;max-width:820px}
.fx-iris .fx-t h2{color:#fff;font-size:clamp(26px,4vw,58px);text-shadow:0 4px 44px rgba(0,0,0,.75)}
.fx-iris .fx-t p{color:rgba(255,255,255,.86);margin-top:16px;font-size:16px;line-height:1.7;
  text-shadow:0 2px 22px rgba(0,0,0,.8)}

/* ── 5. Лента кадров ── */
.fx-reel{position:relative}
.fx-reel .fx-sticky{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center;overflow:hidden}
.fx-reel .fx-track{display:flex;gap:20px;padding:0 clamp(20px,8vw,120px);will-change:transform}
.fx-reel figure{position:relative;flex:0 0 auto;width:min(44vw,540px);aspect-ratio:1.36;margin:0;
  border-radius:16px;overflow:hidden;box-shadow:0 26px 70px rgba(0,0,0,.45);background:#111}
.fx-reel figure img{width:100%;height:100%;object-fit:cover}
.fx-reel figcaption{position:absolute;left:0;right:0;bottom:0;padding:44px 22px 20px;
  background:linear-gradient(180deg,rgba(14,15,17,0),rgba(14,15,17,.9))}
.fx-reel figcaption b{display:block;font-family:'Manrope',sans-serif;font-weight:600;font-size:17px;color:#fff}
.fx-reel figcaption span{display:block;margin-top:5px;font-size:13px;line-height:1.5;color:rgba(255,255,255,.78)}
.fx-reel .fx-progress{position:absolute;left:clamp(20px,8vw,120px);right:clamp(20px,8vw,120px);
  bottom:clamp(28px,6vh,60px);height:1px;background:rgba(255,255,255,.18);z-index:3}
.fx-reel .fx-progress i{display:block;height:100%;width:0;background:var(--gold)}

/* ── общее ── */
.fx-eyebrow{color:var(--gold)}
@media (max-width:820px){
  .fx-morph,.fx-wipe,.fx-iris{height:190vh}
  .fx-mag .fx-spread{grid-template-columns:1fr}
  .fx-mag .fx-page.fx-left{display:none}
  .fx-reel figure{width:80vw}
  .fx-morph .fx-copy p{font-size:14.5px}
}
@media (prefers-reduced-motion:reduce),(pointer:coarse){
  .fx-morph .fx-b{opacity:1;transform:none}
  .fx-wipe .fx-top{clip-path:inset(0 0 0 50%)}
  .fx-iris .fx-over{clip-path:circle(70% at 50% 48%)}
  .fx-mag .fx-turn{transition:none}
  .fx-reel .fx-track{overflow-x:auto;scroll-snap-type:x mandatory}
}
