/* =============================================================
   WHITE DOG PRODUCTION — styles.css

   Премиальный кинематографичный стиль. Принципы:
     • тишина важнее эффекта — мало анимаций, каждая медленная
     • дисциплина типографики — два шрифта, ограниченные веса
     • красный — редкая специя, не основной цвет интерфейса
     • воздух и сетка — больше пустого пространства, выверенные поля
     • изображения работают сами — без brightness-фильтров и hover-сюрпризов

   Структура файла:
     1. CSS-переменные и сброс
     2. Базовая типографика (display, body, eyebrow)
     3. Утилиты (контейнер, секция, нумерация секций)
     4. Прелоадер (минимальный)
     5. Sticky-навигация
     6. HERO
     7. О нас / Философия / Ценности
     8. Проекты + модалка
     9. Команда
    10. Взгляд в будущее
    11. Давайте создавать истории
    12. Контакты
    13. Адаптивность
   ============================================================= */


/* ===== 1. CSS-ПЕРЕМЕННЫЕ И СБРОС ===== */
:root {
  /* Палитра: тёплый дарк, бумажный белый, бордо-красный как акцент */
  --bg: #060504;            /* тёплый чёрный, не пустой #000 */
  --bg-2: #0d0a09;          /* приподнятые поверхности */
  --surface: #120e0c;       /* модалки, hover-карточки */

  --text: #ece6dd;          /* тёплая бумага */
  --text-2: #a89f93;        /* second-level: подзаголовки, мета */
  --muted: #6b6359;         /* третий уровень: caption, eyebrow */
  --rule: rgba(236, 230, 221, 0.10);  /* тонкие линии-разделители */
  --rule-strong: rgba(236, 230, 221, 0.18);

  /* Брендовый красный. Используется ТОЛЬКО в редких местах:
     логотип, прелоадер, активная нумерация. НЕ для заголовков, bullets, underline. */
  --accent: #b91c1c;
  --accent-soft: rgba(185, 28, 28, 0.55);

  /* Логотип: единая высота, ширина из пропорций SVG (127.95 × 94.22) */
  --logo-height: 56px;

  /* Шрифты */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Easing: Emil Kowalski curves (emil-design-eng) — сильный ease-out для UI */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-expo-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t-press: 160ms;
  --t-fast: 220ms;
  --t-med: 480ms;
  --t-slow: 720ms;
  --t-ui: 260ms;
  --t-modal: 420ms;
  --t-xslow: 1100ms;

  /* Поля */
  --gutter: 64px;
  --gutter-mobile: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #2a2520 var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Кинематографичная атмосфера: лёгкая виньетка + зерно (не перекрывают контент) */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}
body::before {
  background: radial-gradient(
    ellipse 120% 90% at 50% 45%,
    transparent 42%,
    rgba(0, 0, 0, 0.38) 100%
  );
  opacity: 0.55;
}
body::after {
  opacity: 0.038;
  mix-blend-mode: soft-light;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

:focus-visible {
  outline: 1px solid var(--rule-strong);
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
html.modal-open,
body.modal-open {
  overflow: hidden !important;
}
body.modal-open .projects__stage,
body.modal-open .projects__edge {
  pointer-events: none;
}
.projects.is-offscreen .projects__viewport {
  visibility: hidden;
  pointer-events: none;
}

img { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Отбор слова при выделении: тонкий, в брендовом красном */
::selection { background: var(--accent); color: var(--text); }


/* ===== 2. БАЗОВАЯ ТИПОГРАФИКА ===== */

/* Eyebrow — маленький caps-маркер над заголовками и в углах
   ("01 — О НАС", "EST. 2025", "SCROLL"). Главный сигнал премиальности. */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow__rule {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}


/* ===== 3. УТИЛИТЫ ===== */
.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== REVEAL-СИСТЕМА (GSAP ScrollTrigger.batch, build 15) =====
   Стартовое состояние — в JS (gsap.set). Анимация — transform + opacity.
   .is-shown — для CSS-хуков (подчёркивание заголовков и т.п.). */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  will-change: transform, opacity;
}
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.reveal--delay-4 { transition-delay: 320ms; }
.reveal--delay-5 { transition-delay: 400ms; }
.reveal--soft { transform: translateY(10px); }
.reveal--fade { transform: none; }
.reveal.is-shown {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Шапка секции: маленький номер + serif italic заголовок.
   Применяется в about/projects/team/future/invite/contacts. */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
}
.section-head__no {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-head__no::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--rule-strong);
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  position: relative;        /* для ::after с reveal-sweep линией */
}

/* Логотип SVG — один размер на sticky, hero и контакты */
.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.site-logo__img {
  height: var(--logo-height);
  width: auto;
  display: block;
}
.hero__logo.site-logo {
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
}


/* ===== 4. ПРЕЛОАДЕР =====
   Сильно сокращён: ~700мс fade. Никаких "WHITE DOG" + растущих линий.
   Контент проступает спокойно, как открывается затвор. */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 800ms var(--ease);
}
.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.preloader-mark {
  width: 48px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: pre-line 1100ms 100ms var(--ease-out) forwards;
}
@keyframes pre-line {
  to { transform: scaleX(1); }
}


/* ===== 5. НАВИГАЦИЯ — логотип отдельно, капсула с пунктами ===== */
.site-header {
  --nav-logo-height: 48px;
  position: fixed;
  top: clamp(16px, 2.5vh, 28px);
  left: 50%;
  z-index: 200;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: max-content;
  max-width: min(1180px, calc(100vw - 28px));
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 22px);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  will-change: transform;
}

.site-header__logo {
  flex-shrink: 0;
  line-height: 0;
  transition: transform var(--t-press) var(--ease-out);
}
.site-header__logo:active {
  transform: scale(0.97);
}
.site-header__logo .site-logo__img {
  height: var(--nav-logo-height);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.38));
  transition: filter var(--t-fast) var(--ease-out);
}

.site-header__capsule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(10, 8, 7, 0.48);
  border: 1px solid rgba(236, 230, 221, 0.1);
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(236, 230, 221, 0.07);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transition:
    padding var(--t-med) var(--ease-out),
    background var(--t-med) var(--ease-out),
    border-color var(--t-med) var(--ease-out),
    box-shadow var(--t-med) var(--ease-out);
}
.site-header__capsule::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    128deg,
    rgba(236, 230, 221, 0.24) 0%,
    rgba(236, 230, 221, 0.04) 42%,
    rgba(185, 28, 28, 0.14) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.site-header__capsule::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    130% 90% at 50% -20%,
    rgba(236, 230, 221, 0.1) 0%,
    transparent 58%
  );
  pointer-events: none;
}
.site-header.is-scrolled .site-header__capsule {
  padding: 6px 8px 6px 14px;
  background: rgba(10, 8, 7, 0.86);
  border-color: rgba(236, 230, 221, 0.14);
  box-shadow:
    0 12px 44px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(236, 230, 221, 0.09);
}
.site-header__nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  z-index: 1;
}
.site-header__cta,
.site-header__burger {
  position: relative;
  z-index: 1;
}
.site-header__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
  list-style: none;
}
.site-header__menu a {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 2px;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
  position: relative;
  z-index: 1;
}
.site-header__menu a.is-active {
  color: var(--text);
}
.site-header__indicator {
  position: absolute;
  left: var(--nav-indicator-x, 0);
  bottom: 1px;
  height: 1px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(236, 230, 221, 0.22) 16%,
    rgba(236, 230, 221, 0.42) 50%,
    rgba(236, 230, 221, 0.22) 84%,
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(236, 230, 221, 0.08);
  transition:
    left var(--t-ui) var(--ease-out),
    width var(--t-ui) var(--ease-out),
    opacity var(--t-fast) var(--ease-out);
  pointer-events: none;
  opacity: 0;
}
.site-header__indicator.is-visible {
  opacity: 0.72;
}
.site-header__cta {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: rgba(236, 230, 221, 0.04);
  transition:
    transform var(--t-press) var(--ease-out),
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
}
.site-header__cta:focus-visible {
  outline-offset: 4px;
}
.site-header__cta:active {
  transform: scale(0.97);
}
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  flex-shrink: 0;
  background: transparent;
  transition: transform var(--t-press) var(--ease-out);
}
.site-header__burger:active {
  transform: scale(0.97);
}
.site-header__burger span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--text);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.site-header.is-menu-open .site-header__burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.site-header.is-menu-open .site-header__burger span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
body.modal-open .site-header {
  z-index: 199;
}

/* Навигация скрыта на время вступительного ролика */
body.is-hero-intro .site-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-10px);
}
body.is-hero-ready .site-header.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 900ms var(--ease-out),
    visibility 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}


/* ===== 6. HERO (build 28) =====
   Intro-ролик → чёрная сцена + дым + заголовок.
   first-slide.png — овальная «дымная» маска (SVG #heroRevealMask). */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  background: var(--bg);
  overflow: hidden;
}

.hero-stage__mask-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* --- Intro video --- */
.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--bg);
}
.hero-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms var(--ease-out), visibility 700ms;
}
.hero-intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: var(--bg);
}
.hero-intro__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s var(--ease-out);
}
.hero-intro__shade.is-active {
  opacity: 1;
}

/* --- Idle stage (после ролика) --- */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
}
.hero-stage.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 900ms var(--ease-out) 200ms;
}

.hero-stage__visual {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-stage__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  opacity: 1;
  -webkit-mask: url(#heroRevealMask);
  mask: url(#heroRevealMask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero-stage__title-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: var(--gutter);
}
.hero-stage__title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  max-width: 94vw;
  text-shadow:
    0 0 80px rgba(0, 0, 0, 0.9),
    0 0 32px rgba(0, 0, 0, 0.75);
}
.hero-stage__title span {
  display: block;
}
.hero-stage.is-visible .hero-stage__title.is-entrance-pending span {
  opacity: 0;
  transform: translateY(14px);
}
.hero-stage__title.is-entrance-done span {
  opacity: 1;
  transform: none;
}
.hero-stage__title span:first-child::first-letter {
  font-size: 1.1em;
}
.hero-stage__dot {
  color: var(--accent);
}


/* ===== 7. О НАС / ФИЛОСОФИЯ / ЦЕННОСТИ ===== */
.about {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: 0;
  padding: clamp(148px, 17vh, 190px) 0 clamp(120px, 13vh, 160px);
  z-index: 10;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 5, 4, 0.72) 0%, rgba(6, 5, 4, 0.48) 38%, rgba(6, 5, 4, 0.06) 100%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.18) 0%, transparent 34%, rgba(6, 5, 4, 0.74) 100%);
}
.about::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(150px, 18vh, 220px);
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 5, 4, 0.72) 54%, var(--bg) 100%);
}
.about .container {
  position: relative;
  z-index: 3;
}
.about__canvas-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.about__sequence-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Табы — крупный display, как заголовок hero */
.about__tabs {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(36px, 4.5vh, 56px);
  flex-wrap: wrap;
  align-items: flex-end;
  position: relative;
  z-index: 5;
}
.about__tab {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  padding: 0 0 14px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 2;
  transition:
    transform var(--t-press) var(--ease-out),
    color var(--t-ui) var(--ease-out),
    text-shadow var(--t-ui) var(--ease-out);
}
.about__tab:active {
  transform: scale(0.97);
}
.about__tab::before {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  top: -30%;
  bottom: 0;
  background: radial-gradient(
    ellipse 90% 70% at 50% 100%,
    rgba(236, 230, 221, 0.14) 0%,
    rgba(185, 28, 28, 0.06) 35%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
  z-index: -1;
}
.about__tab.is-active {
  color: var(--text);
  text-shadow:
    0 0 32px rgba(236, 230, 221, 0.28),
    0 0 64px rgba(236, 230, 221, 0.1),
    0 0 18px rgba(185, 28, 28, 0.08);
}
.about__tab.is-active::before {
  opacity: 1;
  animation: about-tab-halo 5s ease-in-out infinite;
}
.about__tab:focus-visible {
  outline: 1px solid var(--rule-strong);
  outline-offset: 8px;
}

/* Текст поверх фоновой canvas-сцены */
.about__body {
  display: block;
  max-width: min(620px, 52vw);
}

/* Тексты — тихий fade без translate-jump */
.about__texts {
  position: relative;
  height: clamp(400px, 46vh, 540px);
  min-height: 0;
}
.about__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-ui) var(--ease-out);
}
.about__panel.is-active {
  opacity: 1;
  pointer-events: auto;
  position: absolute;
}
.about__panel p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-2);
  margin-bottom: 18px;
  font-weight: 300;
}
.about__panel p strong {
  color: var(--text);
  font-weight: 500;
}

/* Ценности: лидирующая буквица-номер */
.about__value {
  margin-bottom: 28px;
  padding-left: 48px;
  position: relative;
}
.about__value:last-child { margin-bottom: 0; }
.about__value::before {
  content: attr(data-no);
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0;
}
.about__value h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 23px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0;
}
.about__value p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.72;
}

/* ===== 8. ПРОЕКТЫ ===== */
.projects {
  padding: 120px 0 140px;
  position: relative;
  z-index: 20;
  background: var(--bg);
  overflow: hidden;
  width: 100%;
}
.projects .container {
  position: relative;
  z-index: 1;
}

/* Заголовки секций — как табы «О нас» */
.section-display-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--text);
  position: relative;
  text-shadow:
    0 0 32px rgba(236, 230, 221, 0.22),
    0 0 64px rgba(236, 230, 221, 0.08);
}
.section-display-title.reveal::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--accent) 30%,
    var(--accent) 70%,
    transparent 100%
  );
  opacity: 0;
  box-shadow: 0 0 8px rgba(185, 28, 28, 0.45);
}
.section-display-title.reveal.is-shown::after {
  animation: title-reveal-sweep 1400ms 280ms var(--ease-expo-out) forwards;
}

/* Одна секция = один экран, без «наезда» соседней */
.section-screen {
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: clamp(72px, 9vh, 96px);
}

.projects__heading {
  margin-bottom: clamp(32px, 4vh, 52px);
}

.projects__edge {
  position: absolute;
  top: 54%;
  z-index: 40;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  opacity: 0.22;
  cursor: pointer;
  transition:
    transform var(--t-press) var(--ease-out),
    opacity var(--t-ui) var(--ease-out);
}
.projects__edge:active {
  transform: scale(0.97);
}
.projects__edge span {
  display: block;
  transform: translateY(-0.06em);
}
.projects__edge--prev { left: clamp(8px, 1.5vw, 28px); }
.projects__edge--next { right: clamp(8px, 1.5vw, 28px); }
.projects__edge:focus-visible {
  opacity: 0.85;
  outline: 1px solid var(--rule-strong);
  outline-offset: 6px;
}

/* Сцена карусели — единый фон с секцией, без отдельной «подсветки зала» */
.projects__stage {
  position: relative;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  overflow: visible;
  background: transparent;
}

.projects__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  z-index: 2;
  perspective: 1600px;
  perspective-origin: 50% 42%;
  transform-style: preserve-3d;
}

.project-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 620px;
  transform-origin: center center;
  cursor: pointer;
  overflow: visible;
  background: transparent;
  opacity: 0;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  outline: none;
  pointer-events: auto;
  z-index: 1;
  border: none;
  box-shadow: none;
  transition:
    transform var(--t-modal) var(--ease-out),
    opacity var(--t-modal) var(--ease-out),
    filter var(--t-modal) var(--ease-out);
}
#projectsCarousel.is-instant .project-card {
  transition-duration: 0ms;
}
.project-card.is-center,
.project-card.is-left,
.project-card.is-right {
  opacity: 1;
  pointer-events: auto;
}
.project-card:focus-visible {
  outline: none;
}
.project-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--t-slow) var(--ease-out);
  /* JPG-постеры — тёмный фон постера сливается с фоном карточки (=фону сайта).
     Постер «парит» в раме экрана, чёрные поля от object-fit: contain невидимы. */
}
.project-card__glow {
  display: none;
}
.project-card__veil,
.project-card__foot {
  display: none;
}

/* Подпись и кнопка — под сценой (центральный проект) */
.projects__caption {
  text-align: center;
  min-height: 120px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}
.projects__caption.is-shown {
  opacity: 1;
  transform: translateY(0);
}
.projects__caption-no {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.projects__caption-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.projects__caption-meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 20px;
}
.projects__caption-meta:empty {
  display: none;
  margin-bottom: 0;
}
.projects__caption-cta {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--rule-strong);
  padding: 12px 22px;
  background: transparent;
  cursor: pointer;
  transition:
    transform var(--t-press) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
}
.projects__caption-cta:active {
  transform: scale(0.97);
}

/* Карусель: 3D coverflow, круговое перелистывание */
.project-card.is-center {
  transform: translate(-50%, -50%) translateZ(100px) scale(1.04);
  opacity: 1;
  z-index: 5;
  filter: brightness(1) drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55));
}
.project-card.is-left {
  transform: translate(-50%, -50%) translateX(calc(-1 * min(36vw, 400px))) translateZ(-60px) rotateY(34deg) scale(0.86);
  opacity: 0.72;
  z-index: 2;
  filter: brightness(0.72) saturate(0.88) drop-shadow(0 28px 40px rgba(0, 0, 0, 0.4));
}
.project-card.is-right {
  transform: translate(-50%, -50%) translateX(min(36vw, 400px)) translateZ(-60px) rotateY(-34deg) scale(0.86);
  opacity: 0.72;
  z-index: 2;
  filter: brightness(0.72) saturate(0.88) drop-shadow(0 28px 40px rgba(0, 0, 0, 0.4));
}
/* Модальные окна — поверх всего сайта */
#projectModal.modal,
.modal--contact {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: 0;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
#projectModal.modal[hidden],
.modal--contact[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#projectModal.modal.is-open,
.modal--contact.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 8, 7, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal__content {
  position: relative;
  z-index: 1;
  width: min(1200px, 92vw);
  max-height: 88vh;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-modal) var(--ease-out), transform var(--t-modal) var(--ease-out);
}
.modal.is-open .modal__content {
  opacity: 1;
  transform: translateY(0);
}
.modal.is-open.modal--gsap .modal__content,
.modal.is-open.modal--gsap .modal__overlay {
  transition: none;
}
#projectModal.modal.is-open.modal--gsap .modal__content {
  opacity: 0;
  transform: translateY(28px);
}
#projectModal.modal.is-open.modal--gsap .modal__overlay {
  opacity: 0;
}
.modal--contact .modal__overlay {
  background: rgba(10, 8, 7, 0.94);
}
.modal__content--contact {
  width: min(520px, 92vw);
  display: block;
  padding: clamp(42px, 6vw, 64px);
  text-align: center;
  border-radius: 18px;
  user-select: none;
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(236, 230, 221, 0.045), transparent 58%),
    linear-gradient(145deg, rgba(22, 18, 15, 0.98), rgba(10, 8, 7, 0.98));
  border-color: rgba(236, 230, 221, 0.14);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(236, 230, 221, 0.08);
}
.contact-modal__eyebrow {
  margin-bottom: 30px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact-modal__choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(236, 230, 221, 0.12);
  background: rgba(236, 230, 221, 0.012);
  transition:
    transform var(--t-press) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    background var(--t-fast) var(--ease-out);
}
.contact-modal__choice:active {
  transform: scale(0.98);
}
.contact-modal__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-modal__value {
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
}
.modal__poster {
  position: relative;
  background: #000;
  overflow: hidden;
}
.modal__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 88vh;
}
.modal__info {
  padding: 64px 56px;
  overflow-y: auto;
  max-height: 88vh;
}
.modal__no {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.modal__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 36px;
}
.modal__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 28px;
  margin-bottom: 36px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.modal__meta dt {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--muted);
  align-self: center;
}
.modal__meta dd {
  color: var(--text);
  font-weight: 300;
  font-size: 14px;
}
.modal__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  font-weight: 300;
}
.modal__close {
  z-index: 2;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  z-index: 10;
  transition:
    transform var(--t-press) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
}
.modal__close:active {
  transform: scale(0.97);
}


/* ===== 9. КОМАНДА ===== */
.team {
  position: relative;
  padding: clamp(96px, 11vh, 128px) 0 clamp(48px, 6vh, 72px);
  overflow: hidden;
  width: 100%;
  z-index: 30;
  background: var(--bg);
}
.team__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vh, 48px);
  width: 100%;
}
.team__head {
  text-align: center;
  max-width: 920px;
}
.team__slogan {
  margin: clamp(14px, 2vh, 24px) auto 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.85vw, 1.4rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--text-2);
  max-width: 32em;
}
.team__members {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 640px;
}
.team__member {
  display: grid;
  grid-template-columns: min(200px, 38vw) 1fr;
  gap: clamp(24px, 3vw, 36px);
  align-items: center;
  width: 100%;
}
.team__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.team__photo img {
  width: 100%;
  height: 100%;
  /* contain — чтобы вырезанный портрет не обрезался по фрейму,
     а целиком умещался в нём и оставался «парящим» на фоне сайта. */
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.06);
}
.team__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.1;
}
.team__role {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.team__bio {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
  font-weight: 300;
  max-width: 380px;
}


/* ===== 10. ВЗГЛЯД В БУДУЩЕЕ ===== */
.future {
  position: relative;
  padding: clamp(96px, 11vh, 128px) 0;
  overflow: hidden;
  width: 100%;
  z-index: 40;
  background: var(--bg);
}
.future__container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 46%);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  width: 100%;
  min-height: calc(100svh - clamp(180px, 22vh, 240px));
}
.future__text {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1100ms var(--ease-out), transform 1100ms var(--ease-out);
}
.future.is-visible .future__text {
  opacity: 1;
  transform: translateY(0);
}
.future__title {
  margin-bottom: clamp(28px, 4vh, 44px);
}
.future__text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-2);
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 540px;
}
.future__text p:last-child { margin-bottom: 0; }
/* Морда собаки — у правого края viewport, часть уходит за экран */
.future__photo {
  position: absolute;
  top: 50%;
  right: calc(50% - 50vw);
  width: min(62vw, 920px);
  height: min(78vh, 820px);
  transform: translateY(-50%);
  margin: 0;
  overflow: visible;
  pointer-events: none;
}
.future__photo img {
  position: absolute;
  top: 50%;
  right: 0;
  height: 108%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  transform: translate(8%, -50%);
  opacity: 0;
  transition: opacity 1200ms 200ms var(--ease-out), transform 1200ms 200ms var(--ease-out);
}
.future.is-visible .future__photo img {
  opacity: 1;
  transform: translate(4%, -50%);
}


/* ===== 11. ДАВАЙТЕ СОЗДАВАТЬ ИСТОРИИ ===== */
.invite {
  text-align: center;
  position: relative;
  width: 100%;
  z-index: 50;
  background: var(--bg);
  scroll-margin-top: clamp(72px, 9vh, 96px);
}
.invite.section-screen {
  min-height: 100vh;
  min-height: 100svh;
  justify-content: center;
  padding: clamp(112px, 13vh, 152px) 0 clamp(112px, 13vh, 152px);
  box-sizing: border-box;
}
.invite__container {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  transform: translateY(clamp(-42px, -4vh, -24px));
}
.invite__title {
  margin-bottom: clamp(34px, 4vh, 50px);
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1000ms 100ms var(--ease-out), transform 1000ms 100ms var(--ease-out);
}
.invite__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 740px;
  margin: 0 auto clamp(62px, 7vh, 84px);
  opacity: 0;
  transition: opacity 800ms 300ms var(--ease-out);
}
.invite__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 4.5vw, 64px);
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}
.invite__item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  padding-top: clamp(28px, 3vh, 36px);
  border-top: 1px solid var(--rule-strong);
}
.invite__item-no {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(16px, 2vh, 22px);
}
.invite__item-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.15vw, 1.9rem);
  line-height: 1.22;
  color: var(--text);
  margin-bottom: clamp(14px, 1.8vh, 18px);
}
.invite__item-text {
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.72;
  color: var(--text-2);
  font-weight: 300;
}
.invite__cta {
  position: relative;
  margin: clamp(48px, 6vh, 72px) auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 2px 10px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(185, 28, 28, 0.28),
    0 0 34px rgba(185, 28, 28, 0.12);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 800ms var(--ease-out),
    transform var(--t-press) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    text-shadow var(--t-fast) var(--ease-out);
}
.invite__cta::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(185, 28, 28, 0.2) 18%,
    var(--accent) 50%,
    rgba(185, 28, 28, 0.2) 82%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(185, 28, 28, 0.45);
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: left center;
  animation: invite-cta-sweep 3000ms var(--ease-out) infinite;
  pointer-events: none;
}
.invite__cta:active {
  transform: scale(0.97);
}
@keyframes invite-cta-sweep {
  0%, 28%, 100% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
  }
  38% {
    opacity: 1;
  }
  68% {
    opacity: 0;
    transform: translateX(-50%) scaleX(1);
  }
}

.invite.is-visible .invite__title,
.invite.is-visible .invite__lead,
.invite.is-visible .invite__item,
.invite.is-visible .invite__cta {
  opacity: 1;
  transform: translateY(0);
}
.invite.is-visible .invite__item:nth-child(1) { transition-delay: 500ms; }
.invite.is-visible .invite__item:nth-child(2) { transition-delay: 650ms; }
.invite.is-visible .invite__item:nth-child(3) { transition-delay: 800ms; }
.invite.is-visible .invite__cta { transition-delay: 920ms; }


/* ===== 12. КОНТАКТЫ =====
   Чистая типографика, без видео-пыли, без обведённых иконок.
   Структура подходит для футера-серьёзного бренда. */
.contacts {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(120px, 14vh, 160px) 0 0;
  border-top: 1px solid var(--rule);
  width: 100%;
  z-index: 60;
  background: var(--bg);
  isolation: isolate;
  scroll-margin-top: clamp(72px, 9vh, 96px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.contacts::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(90% 72% at 50% 62%, transparent 0%, rgba(6, 5, 4, 0.28) 58%, rgba(6, 5, 4, 0.68) 100%),
    rgba(6, 5, 4, 0.12);
  opacity: 1;
  transition: background 900ms var(--ease-out), opacity 900ms var(--ease-out);
}
.contacts.is-finished::before {
  background:
    radial-gradient(88% 68% at 50% 48%, rgba(6, 5, 4, 0.38) 0%, rgba(6, 5, 4, 0.72) 55%, rgba(6, 5, 4, 0.92) 100%),
    rgba(6, 5, 4, 0.52);
}
.contacts__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.contacts__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.02);
  pointer-events: none;
}
.contacts > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(88px, 10vh, 120px);
}
.contacts .reveal {
  opacity: 1;
  transform: none;
}
.contacts__top {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: clamp(108px, 14vh, 168px);
  width: 100%;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  font-family: var(--font-display);
  font-style: normal;
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}
.contacts.is-finished .contacts__top {
  opacity: 1;
  transform: translateY(clamp(-52px, -6.5vh, -84px));
  pointer-events: auto;
}
.contacts__top > * {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}
.contacts__logo.site-logo {
  margin-bottom: 32px;
}
.contacts__brand-line {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.35vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--text-2);
  max-width: 300px;
}
.contacts__col-title {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
ul.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacts__list--label {
  display: block;
}
.contacts__list li {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(15px, 0.95vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text);
}
.contacts__list a {
  display: inline-block;
  transition: color var(--t-fast) var(--ease);
}
.contacts__list--label dt {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contacts__list--label dd {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(15px, 0.95vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 20px;
}
.contacts__list--label dd:last-child { margin-bottom: 0; }

.contacts__footer {
  border-top: 1px solid var(--rule);
  background: rgba(6, 5, 4, 0.82);
  position: relative;
  z-index: 3;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contacts__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.contacts__copyright {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.contacts__back-top {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}


/* ===== 12.5. ЭФФЕКТЫ НА ЗАГОЛОВКАХ И ТАБАХ =====
   Премиальные «дыхательные» свечения и анимации появления.
   Все эффекты — CSS-only, без JS. Очень тонкие, в духе «кино в темноте». */


/* ----- Список трёх принципов в «О нас» -----
   Декоративная нумерация в serif italic, body — обычный текст. */
.about__principles {
  list-style: none;
  counter-reset: principle;
  margin: 10px 0 18px;
  padding: 0;
}
.about__principles li {
  counter-increment: principle;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-2);
  font-weight: 300;
}
.about__principles li::before {
  content: counter(principle, decimal) ".";
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  color: var(--muted);
  line-height: 1.4;
}
.about__principles li strong {
  color: var(--text);
  font-weight: 500;
}


/* ----- Modal tagline (короткое описание, появляется только у проектов с tagline) ----- */
.modal__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text-2);
  margin: 0 0 26px;
  padding-left: 18px;
  border-left: 1px solid var(--rule-strong);
}


/* ----- ЭФФЕКТ 1. Halo Pulse на заголовках секций -----
   Дыхательное свечение каждые 7 секунд. Очень тонкое — заметно
   только в периферии зрения, при сосредоточении на букве.
   Применяется ко всем большим серьифным заголовкам секций. */
@keyframes title-halo-pulse {
  0%, 100% {
    text-shadow:
      0 0 0 rgba(236, 230, 221, 0),
      0 0 0 rgba(236, 230, 221, 0);
  }
  50% {
    text-shadow:
      0 0 28px rgba(236, 230, 221, 0.14),
      0 0 90px rgba(236, 230, 221, 0.06);
  }
}
.section-display-title,
.section-head__title {
  animation: title-halo-pulse 7s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  body::after {
    display: none;
  }
  .section-display-title,
  .section-head__title,
  .about__value h3 {
    animation: none;
  }
  .hero-stage.is-visible .hero-stage__title.is-entrance-pending span {
    opacity: 1;
    transform: none;
  }
}

/* Заголовки «ценностей» — более мелкое свечение, в такт с большими */
@keyframes value-halo-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(236, 230, 221, 0); }
  50% { text-shadow: 0 0 18px rgba(236, 230, 221, 0.10); }
}
.about__value h3 {
  animation: value-halo-pulse 6s ease-in-out infinite;
}


/* ----- ЭФФЕКТ 2. Табы О нас / Философия / Ценности ----- */
@keyframes about-tab-halo {
  0%, 100% {
    opacity: 0.75;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.12);
  }
}
@keyframes about-tab-line-shimmer {
  0%, 100% { background-position: 0% center; opacity: 0.9; }
  50% { background-position: 100% center; opacity: 1; }
}
.about__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(236, 230, 221, 0.35) 15%,
    var(--text) 50%,
    rgba(236, 230, 221, 0.35) 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  box-shadow:
    0 0 14px rgba(236, 230, 221, 0.4),
    0 0 28px rgba(185, 28, 28, 0.14);
  opacity: 1;
  transform: none;
  width: auto;
  animation: about-tab-line-shimmer 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .about__tab.is-active::before,
  .about__tab.is-active::after {
    animation: none;
  }
}


/* ----- ЭФФЕКТ 3. Shimmer на финальном заголовке HERO -----
   Мягкий тёплый блик пробегает по буквам раз в 7 секунд. Реализовано
   через анимированный gradient + background-clip: text. Существующий
   text-shadow остаётся — он работает поверх (по контуру глифов). */
@keyframes hero-final-shimmer {
  0%, 72%, 100% { background-position: -150% center; }
  88% { background-position: 250% center; }
}
/* shimmer отключён — -webkit-text-fill-color: transparent ломал видимость заголовка */


/* ----- ЭФФЕКТ 4. Reveal Sweep — световая черта под H2 при появлении -----
   Однократная анимация на основе уже существующей системы .reveal/.is-shown.
   Тонкая линия с тёплым красным «сиянием» проходит слева направо
   под заголовком, как штрих маркера ассистента-режиссёра. */
.section-head__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--accent) 30%,
    var(--accent) 70%,
    transparent 100%
  );
  opacity: 0;
  box-shadow: 0 0 8px rgba(185, 28, 28, 0.5);
}
.section-head__title.reveal.is-shown::after {
  animation: title-reveal-sweep 1500ms 350ms ease-out forwards;
}
@keyframes title-reveal-sweep {
  0%   { width: 0;    opacity: 0; }
  15%  { opacity: 1; }
  100% { width: 100%; opacity: 0; }
}


/* ===== 13. АДАПТИВНОСТЬ ===== */

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .site-header__menu {
    gap: 14px;
  }
  .site-header__menu a {
    font-size: 9px;
    letter-spacing: 0.2em;
  }
  .about__body { grid-template-columns: 1fr; gap: 60px; }
  .about__photo { aspect-ratio: 16 / 10; max-height: 60vh; }
  .team__member {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 360px;
    margin: 0 auto;
  }
  .team__photo { max-width: 240px; margin: 0 auto; }
  .future__container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: min(42vh, 380px);
  }
  .future__photo {
    top: auto;
    bottom: 0;
    right: calc(50% - 50vw);
    width: 100vw;
    height: min(40vh, 360px);
    transform: none;
  }
  .future__photo img {
    right: -6%;
    height: 115%;
    transform: translateY(-8%);
  }
  .future.is-visible .future__photo img {
    transform: translateY(-8%);
  }
  .invite.section-screen {
    min-height: 100svh;
    padding: 100px 0 96px;
  }
  .invite__list {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
  }
  .modal__content { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal__poster img { max-height: 48vh; }
  .modal__info { padding: 40px 32px; }
  .projects__stage { height: 580px; perspective: 1500px; }
  .project-card { width: 340px; height: 480px; }
  .project-card.is-center {
    transform: translate(-50%, -50%) translateZ(70px) scale(1.02);
  }
  .project-card.is-left {
    transform: translate(-50%, -50%) translateX(-280px) translateZ(-50px) rotateY(32deg) scale(0.86);
  }
  .project-card.is-right {
    transform: translate(-50%, -50%) translateX(280px) translateZ(-50px) rotateY(-32deg) scale(0.86);
  }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .hero { min-height: 100svh; }
  .hero-stage__title {
    font-size: clamp(1.5rem, 7vw, 2.6rem);
    letter-spacing: 0.06em;
  }
  .site-header {
    --nav-logo-height: 40px;
    top: 14px;
    max-width: calc(100vw - 20px);
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-header__capsule {
    flex: 1 1 auto;
    justify-content: flex-end;
    padding: 6px 8px 6px 12px;
    min-width: 0;
  }
  .site-header__logo {
    flex-shrink: 0;
  }
  .site-header__burger {
    display: flex;
  }
  .site-header__nav,
  .site-header__cta {
    display: none;
  }
  .site-header.is-menu-open {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .site-header.is-menu-open .site-header__capsule {
    flex-basis: 100%;
    width: 100%;
    display: grid;
    grid-template-areas:
      "burger"
      "nav"
      "cta";
    justify-items: stretch;
    border-radius: 22px;
    padding: 12px 16px 18px;
    background: rgba(10, 8, 7, 0.94);
  }
  .site-header.is-menu-open .site-header__nav,
  .site-header.is-menu-open .site-header__cta {
    display: flex;
  }
  .site-header.is-menu-open .site-header__burger {
    grid-area: burger;
    justify-self: end;
    margin-bottom: 4px;
  }
  .site-header.is-menu-open .site-header__nav {
    grid-area: nav;
    width: 100%;
    padding: 14px 0 6px;
    border-top: 1px solid var(--rule);
    margin-top: 6px;
  }
  .site-header.is-menu-open .site-header__menu {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .site-header.is-menu-open .site-header__cta {
    grid-area: cta;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
  .site-header.is-menu-open .site-header__indicator {
    display: none;
  }

  :root { --logo-height: 44px; }

  .about,
  .projects,
  .team,
  .future,
  .invite,
  .contacts { padding-top: 100px; padding-bottom: 100px; }

  .section-head { margin-bottom: 48px; gap: 16px; }
  .about__tabs {
    gap: 20px 28px;
    margin-bottom: 36px;
  }
  .about__tab {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }
  .about__texts { min-height: auto; }

  .projects__stage { height: 500px; perspective: 1100px; }
  .project-card { width: 260px; height: 380px; }
  .project-card.is-center {
    transform: translate(-50%, -50%) translateZ(50px) scale(1);
  }
  .project-card.is-left {
    transform: translate(-50%, -50%) translateX(-150px) translateZ(-40px) rotateY(28deg) scale(0.82);
  }
  .project-card.is-right {
    transform: translate(-50%, -50%) translateX(150px) translateZ(-40px) rotateY(-28deg) scale(0.82);
  }
  .projects__edge {
    top: 48%;
    opacity: 0.18;
    font-size: 2rem;
  }

  .team__member { grid-template-columns: 1fr; gap: 20px; }
  .team__photo { max-width: 280px; }

  .contacts__top {
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
  }
  .contacts.is-finished .contacts__top {
    transform: translateY(-36px);
  }
  .contacts__top > * {
    flex: 1 1 auto;
  }
  .contacts__footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 960px) and (min-width: 721px) {
  .contacts__top {
    flex-wrap: wrap;
  }
  .contacts__top > * {
    flex: 1 1 calc(50% - 24px);
  }
}

/* Hover только на устройствах с точным курсором (emil-design-eng) */
@media (hover: hover) and (pointer: fine) {
  .site-header__menu a:hover {
    color: var(--text);
  }
  .site-header__cta:hover {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
  }
  .about__tab:hover:not(.is-active) {
    color: var(--text-2);
    text-shadow: 0 0 22px rgba(236, 230, 221, 0.14);
  }
  .about__tab:hover:not(.is-active)::before {
    opacity: 0.55;
  }
  .projects__edge:hover {
    opacity: 0.65;
  }
  .projects__caption-cta:hover {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
  }
  .invite__cta:hover {
    color: #d32626;
    text-shadow:
      0 0 18px rgba(185, 28, 28, 0.36),
      0 0 46px rgba(185, 28, 28, 0.16);
  }
  .contact-modal__choice:hover {
    border-color: rgba(236, 230, 221, 0.22);
    background: rgba(236, 230, 221, 0.028);
  }
  .project-card.is-left:hover,
  .project-card.is-right:hover {
    opacity: 0.88;
    filter: brightness(0.85) saturate(0.95) drop-shadow(0 32px 48px rgba(0, 0, 0, 0.45));
  }
  .project-card.is-center:hover {
    filter: brightness(1.03) drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
  }
  .modal__close:hover {
    border-color: var(--text);
    color: var(--text);
  }
  .contacts__list a:hover {
    color: var(--accent);
  }
  .contacts__back-top:hover {
    color: var(--text);
  }
}

/* Доступность */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
