:root{
  /* ── токены выбранного дизайна ───────────────────────────── */
  --pusk-bg:#080A0D;          /* чёрный */
  --pusk-fg:#F4F1EA;          /* молочный */
  --pusk-surface:#131313;
  --pusk-muted:#B8B4AC;
  --pusk-accent:#C9D5E0;      /* нейтральное серебро */
  --pusk-accent-soft:#DCE4EB;
  --pusk-font-display:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --pusk-font-body:'Jost',system-ui,-apple-system,'Segoe UI',sans-serif;
  --pusk-line:rgba(244,241,234,.13);
  --pusk-line-strong:rgba(244,241,234,.32);

  /* ── theme aliases (нужны блокам библиотеки) ─────────────── */
  --background:var(--pusk-bg);
  --foreground:var(--pusk-fg);
  --card:var(--pusk-surface);
  --card-foreground:var(--pusk-fg);
  --popover:var(--pusk-surface);
  --popover-foreground:var(--pusk-fg);
  --primary:var(--pusk-fg);
  --primary-foreground:#0A0A0A;
  --secondary:var(--pusk-surface);
  --secondary-foreground:var(--pusk-fg);
  --muted:var(--pusk-surface);
  --muted-foreground:var(--pusk-muted);
  --accent:var(--pusk-accent);
  --accent-foreground:var(--pusk-fg);
  --border:var(--pusk-line);
  --input:var(--pusk-line-strong);
  --ring:var(--pusk-accent-soft);
  --radius:0px;
}

html{scroll-behavior:smooth;}

body{
  background:var(--pusk-bg);
  color:var(--pusk-fg);
  font-family:var(--pusk-font-body);
  font-weight:300;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
}

::selection{background:var(--pusk-accent);color:#08131A;}

/* тонкие заголовки */
.display{
  font-family:var(--pusk-font-display);
  font-weight:300;
  letter-spacing:-.005em;
  line-height:1.04;
}
.display em{
  font-style:italic;
  font-weight:300;
  color:var(--pusk-fg);
}
/* голограммное слово в заголовке (и на телефоне, и на большом экране):
   голограмма то идёт ровно, то будто подвисает — рывки, срыв, замирание */
[data-hero] .holo-word{
  display:inline-block;
  color:#EAF7FF;
  text-shadow:0 0 6px rgba(150,220,255,.55),0 0 18px rgba(90,180,255,.32),
              .7px 0 0 rgba(0,200,255,.45),-.7px 0 0 rgba(255,110,220,.36);
  animation:holoStall 6s steps(1,end) 1.4s infinite;
}
@keyframes holoStall{
    0%,26%{opacity:1;transform:translate3d(0,0,0);filter:brightness(1);clip-path:none;
      text-shadow:0 0 6px rgba(150,220,255,.55),0 0 18px rgba(90,180,255,.32),.7px 0 0 rgba(0,200,255,.45),-.7px 0 0 rgba(255,110,220,.36);}
    /* срыв: гаснет и распадается на полосу */
    28%{opacity:.08;filter:brightness(1.9);transform:translate3d(-7px,1px,0);clip-path:inset(0 0 58% 0);}
    30%{opacity:1;transform:translate3d(5px,-2px,0) skewX(-4deg);clip-path:inset(46% 0 0 0);}
    32%{opacity:.55;transform:translate3d(-3px,1px,0);clip-path:none;filter:brightness(1.7);}
    /* зависание: замерло, свечение разгорается */
    34%,42%{opacity:1;transform:translate3d(0,0,0);filter:brightness(1.5);clip-path:none;
      text-shadow:0 0 8px rgba(160,225,255,.7),0 0 26px rgba(90,180,255,.5),1px 0 0 rgba(0,200,255,.55),-1px 0 0 rgba(255,110,220,.45);}
    /* жёсткий рывок в сторону с рваным срезом */
    44%{opacity:.82;transform:translate3d(-9px,3px,0) skewX(-6deg);clip-path:inset(18% 0 34% 0);}
    46%{opacity:1;transform:translate3d(8px,-3px,0) skewX(5deg);clip-path:inset(58% 0 8% 0);}
    48%{opacity:.5;transform:translate3d(-4px,2px,0);clip-path:none;filter:brightness(1.75);}
    /* раздвоение контура */
    50%,58%{opacity:.94;transform:translate3d(0,0,0);filter:brightness(1.15);clip-path:none;
      text-shadow:-3.5px 0 0 rgba(0,205,255,.8),3.5px 0 0 rgba(255,105,215,.65),0 0 16px rgba(120,200,255,.55);}
    /* провал и второй рывок */
    60%{opacity:.1;filter:brightness(1.9);transform:translate3d(6px,0,0);clip-path:inset(0 0 62% 0);}
    62%{opacity:1;transform:translate3d(-6px,-2px,0) skewX(3deg);clip-path:none;filter:brightness(1.3);}
    64%,76%{opacity:1;transform:translate3d(0,0,0);filter:brightness(1.05);clip-path:none;
      text-shadow:0 0 6px rgba(150,220,255,.55),0 0 18px rgba(90,180,255,.32),.7px 0 0 rgba(0,200,255,.45),-.7px 0 0 rgba(255,110,220,.36);}
    /* ещё одно подвисание с рывком на выходе */
    78%{opacity:.92;transform:translate3d(0,0,0);filter:brightness(1.45);}
    80%{opacity:.2;filter:brightness(1.9);transform:translate3d(-8px,1px,0);clip-path:inset(52% 0 0 0);}
    82%{opacity:1;transform:translate3d(4px,0,0) skewX(-3deg);clip-path:none;filter:brightness(1.25);}
    84%,100%{opacity:1;transform:translate3d(0,0,0);filter:brightness(1);clip-path:none;
      text-shadow:0 0 6px rgba(150,220,255,.55),0 0 18px rgba(90,180,255,.32),.7px 0 0 rgba(0,200,255,.45),-.7px 0 0 rgba(255,110,220,.36);}
  }
@media (prefers-reduced-motion:reduce){
  [data-hero] .holo-word{animation:none!important;}
}

/* ── Первый экран: появление текста ───────────────────────── */
/* анимации включаются, когда секция впервые показалась на экране */
.hero-anim{
  opacity:0;
  --y:12px;
  --bl:5px;
}
[data-hero].is-in .hero-anim{
  animation:heroRise var(--dur,.8s) cubic-bezier(.22,.75,.28,1) var(--d,0s) both;
  will-change:transform,opacity,filter;
}
@keyframes heroRise{
  from{opacity:0;transform:translateY(var(--y));filter:blur(var(--bl));}
  to{opacity:1;transform:translateY(0);filter:blur(0);}
}

/* подпись над кадром: читается на светлой коже */
[data-hero] .hero-signature{
  color:#F5F5F2;
  text-shadow:0 2px 10px rgba(0,0,0,.72),0 1px 3px rgba(0,0,0,.5);
}

/* меню первого экрана: светлое и читаемое на светлом фоне */
[data-hero] .hero-nav,
[data-hero] .hero-nav .nav-link{
  color:#FFFFFF;
  font-weight:600;
  letter-spacing:.2em;
  text-shadow:0 0 1px rgba(0,0,0,1),0 1px 1px rgba(0,0,0,.98),0 2px 6px rgba(0,0,0,.9);
}
[data-hero] .hero-nav .nav-link:hover,
[data-hero] .hero-nav .nav-link:focus-visible{
  color:#EAF7FF;
  text-shadow:0 0 1px rgba(0,0,0,1),0 1px 2px rgba(0,0,0,1),
              0 0 8px rgba(150,220,255,.75),0 0 18px rgba(90,180,255,.5),
              .8px 0 0 rgba(0,200,255,.5),-.8px 0 0 rgba(255,110,220,.4);
}

/* индикатор записи у логотипа */
[data-hero] .rec-dot{
  display:inline-block;
  width:4px;
  height:4px;
  margin-left:6px;
  border-radius:50%;
  background:#FF3B30;
  vertical-align:middle;
  position:relative;
  top:-1px;
  box-shadow:0 0 4px rgba(255,59,48,.8),0 0 8px rgba(255,59,48,.35);
  animation:recBlink 2.4s ease-in-out infinite;
}

/* логотип: обычное статичное слово, тень только для читаемости на светлом кадре */
[data-hero] .hero-logo{
  color:#F4F1EA;
  font-weight:500;
  letter-spacing:.13em;
  text-shadow:0 2px 10px rgba(0,0,0,.72);
  overflow:visible;
}
/* появление логотипа — один раз, без мерцания */
[data-hero].is-in .hero-logo{
  animation:heroRise var(--dur,.5s) cubic-bezier(.22,.75,.28,1) var(--d,0s) both;
}
@keyframes holoFade{
  0%{opacity:1;filter:brightness(1)}
  14%{opacity:1;filter:brightness(1.08)}
  18%{opacity:.34;filter:brightness(1.45)}
  23%{opacity:1;filter:brightness(1)}
  38%{opacity:.96;filter:brightness(1.12)}
  44%{opacity:1;filter:brightness(1)}
  56%{opacity:.97;filter:brightness(1.06)}
  60%{opacity:.26;filter:brightness(1.5)}
  66%{opacity:1;filter:brightness(1)}
  78%{opacity:.9;filter:brightness(1.16)}
  84%{opacity:1;filter:brightness(1)}
  100%{opacity:1;filter:brightness(1)}
}
@keyframes recBlink{
  0%,100%{opacity:1;transform:scale(1)}
  42%{opacity:1;transform:scale(1)}
  50%{opacity:.2;transform:scale(.82)}
  58%{opacity:1;transform:scale(1)}
}

@media (min-width:1024px){
  [data-hero] .rec-dot{width:6px;height:6px;margin-left:8px;top:-2px;}
}

/* подчёркивание под ссылкой: раскрывается от центра */
.hero-underline{
  transform:scaleX(0);
  transform-origin:50% 50%;
}
[data-hero].is-in .hero-underline{
  animation:heroUnderline .65s cubic-bezier(.22,.75,.28,1) var(--ud,1.21s) both;
}
@keyframes heroUnderline{
  from{transform:scaleX(0);}
  to{transform:scaleX(1);}
}

/* стрелка мягко смещается при нажатии */
.hero-arrow{
  display:inline-block;
  transition:transform .3s cubic-bezier(.22,.75,.28,1);
}
.is-pressed .hero-arrow--up{transform:translate(3px,-3px);}
.is-pressed .hero-arrow--down{transform:translateY(3px);}

@media (prefers-reduced-motion:reduce){
  .hero-anim,.hero-underline{animation:none!important;opacity:1!important;transform:none!important;filter:none!important}
}

.display-caps{
  font-family:var(--pusk-font-body);
  font-weight:400;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-size:.75rem;
  color:var(--pusk-muted);
}

/* появление блоков при скролле: короткое проявление снизу, один раз */
.reveal{
  opacity:0;
  transform:translateY(12px);
  transition:opacity .6s cubic-bezier(.22,.8,.24,1),transform .6s cubic-bezier(.22,.8,.24,1);
}
.reveal.is-visible{opacity:1;transform:none;}

#works li,#services li,#about li,#process li,#contact li{
  font-family:'Manrope','Jost',system-ui,sans-serif;
  font-size:17px;
  line-height:1.6;
}
@media (min-width:1024px){
  #works p:not(.display-caps):not(.sec-text),
  #services p:not(.display-caps):not(.sec-text):not(.fm-text),
  #about p:not(.display-caps):not(.sec-text):not(.ab-phrase),
  #process p:not(.display-caps):not(.sec-text):not(.st-text),
  #contact p:not(.display-caps):not(.sec-text):not(.ct-q):not(.sec-cap),
  footer p:not(.display-caps){
    font-size:18px;
  }
}

/* обложки проектов */
.cover img{
  transition:transform 1.4s cubic-bezier(.16,1,.3,1),opacity .8s ease;
}
.cover-preview{transition:transform .7s cubic-bezier(.16,1,.3,1);}

/* работа под курсором: кадр чуть крупнее и подпись «Смотреть ↗» */
.cover-hint{
  position:absolute;
  left:16px;
  bottom:15px;
  font-family:'Manrope','Jost',system-ui,sans-serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:.02em;
  color:#F4F1EA;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .35s ease,transform .35s ease;
  text-shadow:0 2px 10px rgba(0,0,0,.7);
  pointer-events:none;
}
@media (hover:hover) and (min-width:1024px){
  .cover:hover .cover-preview{transform:scale(1.02);}
  .cover:hover .cover-hint{opacity:1;transform:none;}
}
@media (prefers-reduced-motion:reduce){
  .cover:hover .cover-preview{transform:none;}
}

/* подписи под превью: название + подпись, по левому краю видео */
.cover-caption{
  display:block;
  margin-top:16px;
  text-align:left;
  background:transparent;
}
.cover-title{
  display:block;
  font-family:'Prata',Georgia,serif;
  font-weight:400;
  font-style:normal;
  font-size:24px;
  line-height:1.2;
  letter-spacing:normal;
  color:#F1F0EB;
  text-transform:none;
  text-shadow:none;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:auto;
}
.cover-sub{
  display:block;
  margin-top:8px;
  font-family:'Golos Text',system-ui,sans-serif;
  font-weight:400;
  font-size:14px;
  line-height:1.35;
  letter-spacing:normal;
  color:#A8B0BA;
  text-shadow:none;
}
/* при наведении на работу название подчёркивается голографической линией, как меню на главной */
.cover-title{position:relative;display:inline-block;}
@media (hover:hover){
  .cover-title::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:-5px;
    height:1px;
    background:linear-gradient(90deg,
      rgba(120,210,255,0) 0%,
      rgba(160,225,255,.95) 35%,
      rgba(255,140,225,.8) 65%,
      rgba(120,210,255,0) 100%);
    box-shadow:0 0 6px rgba(150,220,255,.85),0 0 14px rgba(90,180,255,.5);
    opacity:0;
    transform:scaleX(.2);
    transform-origin:50% 50%;
    transition:transform .45s cubic-bezier(.22,.75,.28,1),opacity .45s ease;
  }
  .cover:hover .cover-title::after,
  .cover:focus-visible .cover-title::after{opacity:1;transform:scaleX(1);}
}
@media (min-width:640px){
  .cover-caption{margin-top:24px;}
  .cover-title{font-size:36px;}
}
/* переключатель роликов внутри работы */
.lb-tab{
  font-family:'Manrope','Jost',system-ui,sans-serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:.02em;
  color:rgba(244,241,234,.7);
  border:1px solid var(--pusk-line-strong);
  border-radius:9999px;
  padding:8px 16px;
  background:transparent;
  cursor:pointer;
  transition:color .3s ease,border-color .3s ease,background .3s ease;
}
.lb-tab:hover{color:var(--pusk-fg);border-color:rgba(244,241,234,.62);}
.lb-tab.is-active{color:var(--pusk-fg);border-color:rgba(244,241,234,.85);background:rgba(244,241,234,.09);}

/* значок воспроизведения на превью */
.play-badge{
  position:absolute;
  right:14px;
  bottom:14px;
  display:flex;
  height:38px;
  width:38px;
  align-items:center;
  justify-content:center;
  border-radius:9999px;
  background:rgba(8,8,8,.52);
  border:1px solid rgba(244,241,234,.72);
  color:#F4F1EA;
  box-shadow:0 2px 12px rgba(0,0,0,.55);
  backdrop-filter:blur(3px);
  transition:transform .35s cubic-bezier(.22,.75,.28,1),background .35s ease;
  pointer-events:none;
}
.cover:hover .play-badge{transform:scale(1.08);background:rgba(10,10,10,.62);}
@media (min-width:640px){
  .play-badge{height:46px;width:46px;right:18px;bottom:18px;}
}
/* превью-видео в карточке: беззвучно, как живая обложка */
.cover-preview{
  display:block;
  width:100%;
  object-fit:cover;
  background:#080A0D;
}
.cover:hover img{transform:scale(1.03);}

/* голографическая подсветка ссылок при наведении */
@media (hover:hover){
  .holo-hover{transition:color .35s ease,text-shadow .35s ease;}
  .holo-hover:hover,
  .holo-hover:focus-visible{
    color:#EAF7FF;
    text-shadow:0 0 6px rgba(150,220,255,.75),0 0 16px rgba(90,180,255,.45),
                .8px 0 0 rgba(0,200,255,.55),-.8px 0 0 rgba(255,110,220,.45);
  }
}

/* кнопки */
.btn-solid{
  background:var(--pusk-fg);
  color:#0A0A0A;
  transition:opacity .3s ease,transform .3s ease;
}
.btn-solid:hover{opacity:.88;transform:translateY(-1px);}
.btn-ghost{
  border:1px solid rgba(244,241,234,.42);
  color:var(--pusk-fg);
  transition:border-color .3s ease,background .3s ease;
}
.btn-ghost:hover{border-color:var(--pusk-fg);background:rgba(244,241,234,.07);}

/* подчёркивание ссылок меню: голографическая линия, растёт от центра */
.nav-link{position:relative;}
.nav-link::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-5px;
  height:1px;
  background:linear-gradient(90deg,
    rgba(120,210,255,0) 0%,
    rgba(160,225,255,.95) 35%,
    rgba(255,140,225,.8) 65%,
    rgba(120,210,255,0) 100%);
  box-shadow:0 0 6px rgba(150,220,255,.85),0 0 14px rgba(90,180,255,.5);
  opacity:0;
  transform:scaleX(.2);
  transform-origin:50% 50%;
  transition:transform .45s cubic-bezier(.22,.75,.28,1),opacity .45s ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after{opacity:1;transform:scaleX(1);}
@media (prefers-reduced-motion:reduce){
  .nav-link::after{transition:opacity .2s ease;transform:none;}
}

input,textarea{font-family:var(--pusk-font-body);font-weight:300;}
input:focus,textarea:focus{outline:none;border-color:var(--pusk-fg);}
input::placeholder,textarea::placeholder{color:var(--pusk-muted);}

.lb-open{overflow:hidden;}

/* голографический след за курсором (только большой экран) */
#cursor-trail{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:40;
  opacity:0;
  transition:opacity .8s ease;
}
#cursor-trail.is-on{opacity:1;}




@media (prefers-reduced-motion:reduce){
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .reveal{opacity:1;transform:none;transition:none;}
  .cover img{transition:none;}
}

/* ── Первый экран: серебро под цвет глаз (радужка кадра) ───── */
.silver-text{
  background:linear-gradient(97deg,#FCFDFE 0%,#D0D6DB 16%,#FFFFFF 31%,#B2BCC4 47%,#E9EDF0 62%,#9BA6AF 79%,#DFE4E8 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 1px 12px rgba(196,204,212,.26));
}
.silver-text .holo-word{color:#EAF7FF;}
@media (prefers-reduced-motion:reduce){
  .silver-text{filter:none;}
}

/* Серебро под цвет глаз — единое оформление заголовков сайта */
.silver-soft{color:#CBD8E4;}
.silver-caps{color:#AFC2D2;letter-spacing:.16em;}

/* ── Осколки оконного стекла: по всему сайту, по краям блоков ─ */
.shards{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
}
.shard-slot{
  position:absolute;
  top:var(--t,10%);
  left:var(--l,auto);
  right:var(--r,auto);
  width:var(--w,140px);
  display:block;
  transform:rotate(var(--rot,0deg));
  animation:shardFloat 13s ease-in-out infinite;
}
.shard-slot img{
  display:block;
  width:100%;
  height:auto;
  mix-blend-mode:screen;
  opacity:.88;
  transition:transform .8s cubic-bezier(.22,.75,.28,1);
}
.shard-slot:nth-child(2){animation-duration:11s;animation-delay:-4s;}
.shard-slot:nth-child(3){animation-duration:14s;animation-delay:-7s;}
@keyframes shardFloat{
  0%,100%{transform:translate3d(0,0,0) rotate(var(--rot,0deg))}
  50%{transform:translate3d(7px,-10px,0) rotate(calc(var(--rot,0deg) + 1.7deg))}
}
@media (max-width:1023px){
  /* на телефоне остаются только краевые осколки, чтобы не задевать текст */
  .shard-slot{display:none;}
  .shard-slot--mobile-show{display:block;width:clamp(60px,20vw,88px);}
  .shard-slot img{opacity:.72;}
}
@media (prefers-reduced-motion:reduce){
  .shard-slot{animation:none;}
}

/* ── Просмотр AI-фотосессий: сначала снимок, затем описание услуги ── */
#lightbox.lb-photo{background:#080A0D;}
#lightbox.lb-photo figcaption{margin-top:32px;padding-top:0;border-top-color:rgba(255,255,255,.12);}
#lightbox.lb-photo #lb-title{
  font-family:'Prata',Georgia,serif;font-weight:400;font-size:clamp(26px,2.6vw,36px);
  line-height:1.15;letter-spacing:normal;color:#F1F0EB;
  background:none;-webkit-text-fill-color:#F1F0EB;text-shadow:none;
}
#lightbox.lb-photo #lb-sub{
  margin-top:12px;font-family:'Golos Text',system-ui,sans-serif;font-style:normal;
  font-size:18px;line-height:1.5;color:#CDD2D8;
}
#lightbox.lb-photo #lb-desc{
  margin-top:32px;max-width:680px;font-family:'Golos Text',system-ui,sans-serif;
  font-size:18px;line-height:1.5;color:#CDD2D8;text-align:left;
}
#lightbox.lb-photo #lb-cta{font-family:'Golos Text',system-ui,sans-serif;}
@media (max-width:1023px){
  #lightbox.lb-photo #lb-sub,#lightbox.lb-photo #lb-desc{font-size:16px;}
  #lightbox.lb-photo #lb-title{font-size:28px;}
}
@media (max-width:639px){
  #lightbox.lb-photo #lb-title{font-size:26px;}
}

/* ── Галерея рекламных проектов в просмотре ─────────────────── */
#lightbox.lb-gallery-mode{background:#080A0D;}
#lightbox.lb-gallery-mode figcaption{display:none;}
#lightbox.lb-gallery-mode > div{padding-left:24px;padding-right:24px;}
@media (min-width:640px){#lightbox.lb-gallery-mode > div{padding-left:48px;padding-right:48px;}}
.lb-g-title{margin:0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:30px;line-height:1.15;color:#F1F0EB;}
.lb-g-sub{margin:12px 0 0;font-family:'Golos Text',system-ui,sans-serif;font-size:16px;line-height:1.5;color:#CDD2D8;max-width:560px;}
@media (min-width:1024px){.lb-g-title{font-size:44px;}.lb-g-sub{font-size:18px;}}

.g-card{display:block;width:100%;text-align:left;background:none;border:0;padding:0;cursor:pointer;
  opacity:0;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease;}
.g-card.is-in{opacity:1;transform:none;}
.g-card-cover{position:relative;display:block;width:100%;overflow:hidden;background:#0b0d10;aspect-ratio:4/3;}
.g-card-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.22,.75,.28,1);}
.g-card:hover .g-card-cover img{transform:scale(1.03);}
.g-play{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;
  width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:999px;border:1px solid rgba(241,240,235,.55);
  background:rgba(8,10,13,.35);color:#F1F0EB;backdrop-filter:blur(2px);transition:border-color .3s ease,background .3s ease;}
.g-card:hover .g-play{border-color:#B8D4E3;background:rgba(8,10,13,.55);color:#B8D4E3;}
.g-card-title{display:block;margin:16px 0 0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:23px;line-height:1.2;color:#F1F0EB;}
.g-card-sub{display:block;margin:8px 0 0;font-family:'Golos Text',system-ui,sans-serif;font-size:14px;line-height:1.45;color:#A8B0BA;}
@media (min-width:1024px){.g-card-title{font-size:26px;}}

.lb-back{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;cursor:pointer;
  font-family:'Golos Text',system-ui,sans-serif;font-size:16px;color:#B8D4E3;transition:opacity .3s ease;}
.lb-back:hover{opacity:.75;}
.lb-p-title{margin:28px 0 0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:23px;line-height:1.2;color:#F1F0EB;}
.lb-p-desc{margin:12px 0 0;font-family:'Golos Text',system-ui,sans-serif;font-size:16px;line-height:1.5;color:#CDD2D8;max-width:680px;}
.lb-p-cta{display:inline-block;margin-top:28px;font-family:'Golos Text',system-ui,sans-serif;font-size:16px;color:#B8D4E3;
  border-bottom:1px solid rgba(184,212,227,.45);padding-bottom:2px;transition:border-color .3s ease;}
.lb-p-cta:hover{border-color:#B8D4E3;}
@media (min-width:1024px){.lb-p-title{font-size:26px;}.lb-p-desc{font-size:18px;}}
@media (max-width:639px){
  #lb-gallery-grid{gap:24px;}
  .lb-g-title{font-size:30px;}
}

/* ── Разделы после портфолио: единая сетка, типографика, формы ── */
.sec{position:relative;scroll-margin-top:88px;padding:64px 0;border-top:1px solid rgba(255,255,255,.12);}
@media (min-width:1024px){.sec{padding:96px 0;scroll-margin-top:104px;}}
.sec-wrap{width:100%;max-width:1280px;margin:0 auto;padding-left:24px;padding-right:24px;}
@media (min-width:640px){.sec-wrap{padding-left:32px;padding-right:32px;}}
@media (min-width:1024px){.sec-wrap{padding-left:64px;padding-right:64px;}}

.sec-title{margin:0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:32px;line-height:1.15;
  color:#F1F0EB;letter-spacing:normal;text-shadow:none;background:none;-webkit-text-fill-color:currentColor;}
@media (min-width:640px){.sec-title{font-size:40px;}}
@media (min-width:1024px){.sec-title{font-size:48px;}}

.sec-text{margin:0;font-family:'Golos Text',system-ui,sans-serif;font-weight:400;font-size:16px;line-height:1.5;color:#CDD2D8;}
@media (min-width:1024px){.sec-text{font-size:18px;}}
.sec-cap{margin:0;font-family:'Golos Text',system-ui,sans-serif;font-size:14px;line-height:1.45;color:#A8B0BA;}
.sec-link{font-family:'Golos Text',system-ui,sans-serif;font-size:16px;color:#F1F0EB;text-decoration:none;
  border-bottom:1px solid rgba(241,240,235,.42);padding-bottom:2px;transition:color .3s ease,border-color .3s ease;}
.sec-link:hover{color:#B8D4E3;border-color:#B8D4E3;}

.fm-row{padding:30px 0;border-top:1px solid rgba(255,255,255,.12);}
.fm-row:last-child{border-bottom:1px solid rgba(255,255,255,.12);}
.fm-name{margin:0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:23px;line-height:1.2;color:#F1F0EB;}
.fm-text{margin:12px 0 0;font-family:'Golos Text',system-ui,sans-serif;font-size:16px;line-height:1.5;color:#CDD2D8;}
@media (min-width:1024px){.fm-name{font-size:27px;}.fm-text{font-size:18px;}}

.pr-phrase{margin:0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:25px;line-height:1.2;color:#F1F0EB;}
@media (min-width:1024px){.pr-phrase{font-size:32px;}}
.ab-phrase{margin:0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:29px;line-height:1.15;color:#F1F0EB;}
@media (min-width:1024px){.ab-phrase{font-size:44px;}}

.st-grid{display:grid;grid-template-columns:1fr;gap:28px;}
@media (min-width:640px){.st-grid{grid-template-columns:1fr 1fr;gap:32px;}}
@media (min-width:1024px){.st-grid{grid-template-columns:repeat(4,1fr);gap:32px;}}
.st-step{padding-top:16px;border-top:1px solid rgba(255,255,255,.12);}
.st-num{display:block;font-family:'Golos Text',system-ui,sans-serif;font-size:14px;color:#B8D4E3;}
.st-name{margin:10px 0 0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:24px;line-height:1.2;color:#F1F0EB;}
.st-text{margin:10px 0 0;font-family:'Golos Text',system-ui,sans-serif;font-size:17px;line-height:1.5;color:#CDD2D8;}
@media (min-width:1024px){.st-name{font-size:25px;}.st-text{font-size:18px;}}
@media (max-width:639px){
  .st-step{display:grid;grid-template-columns:auto 1fr;column-gap:16px;}
  .st-step .st-num{grid-row:1 / span 2;}
  .st-step .st-name{margin-top:0;}
  .st-step .st-text{margin-top:8px;}
}

.ct-q{margin:0;font-family:'Golos Text',system-ui,sans-serif;font-size:20px;line-height:1.4;color:#F1F0EB;}
@media (min-width:1024px){.ct-q{font-size:24px;}}
.ct-fields{display:flex;flex-direction:column;gap:24px;}
.ct-field{display:block;}
.ct-label{display:block;font-family:'Golos Text',system-ui,sans-serif;font-size:14px;color:#A8B0BA;}
.ct-input{display:block;width:100%;margin-top:10px;min-height:52px;padding:6px 0 12px;background:transparent;border:0;
  border-bottom:1px solid rgba(255,255,255,.18);font-family:'Golos Text',system-ui,sans-serif;font-size:16px;color:#F4F1EA;
  transition:border-color .3s ease;}
.ct-input::placeholder{color:rgba(168,176,186,.7);}
.ct-input:focus{outline:none;border-bottom-color:#B8D4E3;}
.ct-area{min-height:120px;resize:vertical;line-height:1.5;}
.ct-btn{margin-top:32px;width:100%;height:54px;border:0;border-radius:6px;background:#F1F0EB;color:#080A0D;
  font-family:'Golos Text',system-ui,sans-serif;font-size:16px;cursor:pointer;transition:background .3s ease;}
.ct-btn:hover{background:#fff;}
@media (min-width:640px){.ct-btn{width:auto;min-width:220px;padding:0 28px;}}
.ct-note{margin:0 0 20px;font-family:'Golos Text',system-ui,sans-serif;font-size:15px;line-height:1.5;
  border-left:2px solid #B8D4E3;padding-left:14px;color:#F1F0EB;}
.ct-note--err{border-left-color:rgba(184,212,227,.6);color:#CDD2D8;}
.ct-note-link{color:#B8D4E3;text-decoration:none;border-bottom:1px solid rgba(184,212,227,.5);}
.ct-consent{margin-top:36px;max-width:420px;}

/* ── Заголовок портфолио: Prata 400, по левому краю общей сетки ── */
.sec-home-title{margin:0;font-family:'Prata',Georgia,serif;font-weight:400;font-size:32px;line-height:1.15;
  letter-spacing:normal;text-shadow:none;text-align:left;}
@media (min-width:640px){.sec-home-title{font-size:40px;}}
@media (min-width:1024px){.sec-home-title{font-size:48px;}}

/* ── Ссылка «Посмотреть серию» под подписью AI-фотосессий ── */
.ai-more{margin-top:28px;padding:0;background:none;border:0;border-bottom:1px solid rgba(241,240,235,.42);
  cursor:pointer;font-family:'Golos Text',system-ui,sans-serif;font-size:16px;line-height:1.4;color:#F1F0EB;
  transition:color .3s ease,border-color .3s ease;}
.ai-more:hover{color:#B8D4E3;border-color:#B8D4E3;}

/* ── Ограничения колонок в нижних разделах ── */
#services .fm-text{max-width:620px;}
#about .sec-text{max-width:600px;}
#about .sec-text + .sec-text{margin-top:20px;}
#lightbox.lb-photo #lb-desc p + p{margin-top:20px;}
@media (max-width:639px){#contact .sec-wrap > .grid{gap:40px;}}

/* ── Плеер в просмотре: место под видео занимается заранее ── */
#lb-clips{max-width:1100px;}
.lb-stage{position:relative;margin:0 auto;width:100%;max-width:1100px;aspect-ratio:16/9;background:#000;overflow:hidden;}
.lb-stage.is-portrait{width:auto;max-width:100%;height:auto;max-height:75svh;aspect-ratio:auto;}
.lb-stage-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;transition:opacity .35s ease;z-index:1;}
.lb-stage.is-ready .lb-stage-poster{opacity:0;}
.lb-spinner{position:absolute;left:50%;top:50%;z-index:3;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:999px;
  border:2px solid rgba(241,240,235,.22);border-top-color:#F1F0EB;animation:lbspin .9s linear infinite;transition:opacity .3s ease;}
.lb-stage.is-ready .lb-spinner{opacity:0;visibility:hidden;}
.lb-video{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;background:#000;}
@keyframes lbspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.lb-spinner{animation:none;}}

/* название и описание ролика: отступ 28–32 px, описание до 720 px слева */
#lb-clip-title{margin-top:32px;}
#lb-clip-desc{max-width:720px;text-align:left;margin-top:12px;}

/* ── Просмотр AI-фотосессии: общий контейнер 900 px ── */
#lightbox.lb-photo figure{max-width:900px;}
#lightbox.lb-photo #lb-img{max-height:70svh;}

/* ── Три кадра в пустых зонах справа от надписи AI-фотосессий ── */
.ai-mosaic{display:grid;grid-template-columns:minmax(0,1fr) 230px;
  grid-template-areas:"top top" "center right" "bottom bottom";gap:22px;align-items:center;justify-items:end;margin-left:auto;margin-right:44px;
.ai-mosaic-center{grid-area:center;justify-self:start;align-self:center;}
.ai-shot{display:block;width:230px;height:246px;object-fit:cover;object-position:center 22%;}
.ai-shot--top{grid-area:top;justify-self:end;transform:rotate(4deg);transform-origin:right bottom;}
.ai-shot--right{grid-area:right;justify-self:end;height:236px;transform:translateX(70%) translateY(-12px) rotate(-5deg);transform-origin:right center;}
.ai-shot--bottom{grid-area:bottom;justify-self:end;transform:rotate(4deg);transform-origin:right top;}
@media (max-width:767px){
  .ai-mosaic{display:block;}
  .ai-shot{width:100%;max-width:340px;transform:none !important;margin-top:16px;}
}
