/*
 * О режиссёре — страница-портрет
 * Стиль: кинематографический минимализм
 * Вдохновлён: Psychomagic, Kino School, Part Academy, No Film School
 * v1.0
 */

/* ══════════════════════════════════════
   HERO — КИНЕМАТОГРАФИЧЕСКИЙ ПОРТРЕТ
   ══════════════════════════════════════ */

.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Видео-фон (если доступен) */
.about-hero__video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.7) contrast(1.1) saturate(1.0);
  z-index: 1;
  display: none;
}

.about-hero__video.active {
  display: block;
}

.about-hero__video.active ~ .about-hero__photo {
  display: none;
}

.about-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.7) contrast(1.1) saturate(1.0);
  transition: filter 1.2s ease, transform 0.1s linear;
  cursor: pointer;
  position: relative;
  z-index: 1;
  will-change: transform, filter;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.1) 40%,
      rgba(10, 10, 10, 0.7) 70%,
      rgba(10, 10, 10, 0.95) 100%
    );
}

.about-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 0 80px;
}

.about-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-hero__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.3s forwards;
}

.about-hero__name {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.5s forwards;
}

.about-hero__role {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.7s forwards;
}

.about-hero__divider {
  width: 48px;
  height: 1px;
  background: var(--gold-dim);
  margin: 32px 0;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.9s forwards;
}

.about-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFadeUp 1.2s ease 1.2s forwards;
}

.about-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

/* ══════════════════════════════════════
   БИОГРАФИЯ — РЕДАКТОРСКИЙ СТИЛЬ
   ══════════════════════════════════════ */

.about-bio {
  padding: 140px 0;
  position: relative;
}

.about-bio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
  transform: translateX(-50%);
}

.about-bio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-bio__left {
  position: sticky;
  top: 120px;
}

.about-bio__quote {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.7;
  color: var(--text-soft);
  font-style: italic;
  border-left: 2px solid var(--gold-dim);
  padding-left: 28px;
  margin-bottom: 40px;
}

.about-bio__quote strong {
  color: var(--gold);
  font-weight: 400;
}

.about-bio__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-bio__meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-bio__meta-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-hover);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-bio__meta-icon svg {
  width: 18px;
  height: 18px;
  color: var(--gold-dim);
}

.about-bio__meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.about-bio__meta-value {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.about-bio__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-bio__section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-bio__text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.about-bio__text:last-of-type {
  margin-bottom: 0;
}

/* Вехи */
.about-milestones {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-milestone {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.5s ease;
}

.about-milestone:first-child {
  border-top: 1px solid var(--line);
}

.about-milestone:hover {
  border-color: var(--gold-10);
}

.about-milestone__marker {
  font-family: 'Forum', serif;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.about-milestone__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.about-milestone__text strong {
  color: var(--text);
  font-weight: 500;
}

/* ══════════════════════════════════════
   ФИЛОСОФИЯ — ИММЕРСИВНЫЕ БЛОКИ
   ══════════════════════════════════════ */

.about-philosophy {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.about-philosophy__header {
  text-align: center;
  margin-bottom: 80px;
}

.about-philosophy__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-philosophy__title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.about-philosophy__subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Блоки постановок */
.about-philosophy__blocks {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-philosophy__block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.6s ease;
}

.about-philosophy__block:hover {
  border-color: rgba(216, 201, 153, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.about-philosophy__block-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about-philosophy__block-num {
  font-family: 'Forum', serif;
  font-size: 3rem;
  color: var(--gold-10);
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-philosophy__block-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 6px 14px;
  border: 1px solid var(--gold-10);
  border-radius: 20px;
}

.about-philosophy__block-title {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 16px;
}

.about-philosophy__block-desc {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.about-philosophy__block-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.about-philosophy__point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.about-philosophy__point::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--gold-dim);
  margin-top: 8px;
}

.about-philosophy__block-note {
  font-family: 'Forum', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-style: italic;
  padding-left: 20px;
  border-left: 2px solid var(--gold-10);
}

.about-philosophy__block-arcana {
  margin-top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ══════════════════════════════════════
   ОТЗЫВЫ — БЕГУЩАЯ ЛЕНТА (TICKER)
   ══════════════════════════════════════ */

.about-testimonials {
  padding: 140px 0 140px;
  overflow: hidden;
}

.about-testimonials__header {
  text-align: center;
  margin-bottom: 72px;
}

.about-testimonials__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-testimonials__title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text);
}

/* Контейнер ленты — полная ширина, без container */
.testimonials-ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* Дорожка — бесконечная анимация */
.testimonials-ticker__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: tickerScroll 60s linear infinite;
  will-change: transform;
}

.testimonials-ticker:hover .testimonials-ticker__track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Карточка отзыва — стиль Safiri Diary */
.testimonials-ticker__card {
  flex: 0 0 380px;
  padding: 40px 36px 36px;
  background: #000000;
  border: 1px solid rgba(216, 201, 153, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 0 10px 1px rgba(216, 201, 153, 0.12);
  transition: box-shadow 0.5s ease-in-out, border-color 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Градиентный оверлей поверх карточки */
.testimonials-ticker__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 27, 0.6) 0%, rgba(15, 15, 15, 0) 100%);
  pointer-events: none;
  z-index: 0;
  border-radius: 10px;
}

/* Кавычка */
.testimonials-ticker__card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: 'Forum', Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(216, 201, 153, 0.08);
  pointer-events: none;
  z-index: 1;
}

.testimonials-ticker__card:hover {
  border-color: rgba(216, 201, 153, 0.25);
  box-shadow: 0 0 20px 2px rgba(216, 201, 153, 0.25);
  transform: translateY(-3px);
}

/* Выделенная карточка */
.testimonials-ticker__card--featured {
  flex: 0 0 480px;
  background: linear-gradient(135deg, rgba(11, 10, 27, 1) 0%, #000000 100%);
  border-color: rgba(216, 201, 153, 0.15);
  box-shadow: 0 0 14px 2px rgba(216, 201, 153, 0.18);
}

.testimonials-ticker__card--featured .testimonials-ticker__text {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Текст отзыва */
.testimonials-ticker__text {
  font-family: 'Forum', Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Подвал карточки */
.testimonials-ticker__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.testimonials-ticker__dash {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 201, 153, 0.6), rgba(216, 201, 153, 0));
}

.testimonials-ticker__author {
  font-family: 'Forum', Georgia, serif;
  font-size: 0.8rem;
  color: #d8c999;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════
   CTA — МИНИМАЛИЗМ
   ══════════════════════════════════════ */

.about-cta {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
}

.about-cta__inner {
  max-width: 540px;
  margin: 0 auto;
}

.about-cta__title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 16px;
}

.about-cta__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.about-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ══════════════════════════════════════
   ФОТО-РАЗДЕЛИТЕЛИ
   ══════════════════════════════════════ */

.about-cinematic {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.about-cinematic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.75) saturate(1.1) contrast(1.15);
  transition: transform 8s ease-out;
}

.about-cinematic:hover img {
  transform: scale(1.04);
}

.about-cinematic--tall {
  height: 100vh;
}

.about-cinematic__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      var(--bg) 0%,
      transparent 8%,
      transparent 92%,
      var(--bg) 100%
    );
  pointer-events: none;
}

/* ══════════════════════════════════════
   ЛАЙТБОКС — КИНЕМАТОГРАФИЧЕСКИЙ
   ══════════════════════════════════════ */

.image-modal {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-modal[style*="display: flex"] {
  opacity: 1;
}

.image-modal img {
  animation: lightboxZoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Подсказка клика на hero-фото */
.about-hero__bg::after {
  content: '';
  position: absolute;
  bottom: 28%;
  right: 40px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='1.5'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 20px no-repeat;
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-hero:hover .about-hero__bg::after {
  opacity: 1;
}

/* ══════════════════════════════════════
   ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ
   ══════════════════════════════════════ */

.about-symbol {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 40px;
  opacity: 0.15;
}

/* Латинские эпиграфы */
.about-epigraph {
  text-align: center;
  padding: 60px 0;
  position: relative;
}

.about-epigraph__latin {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.1rem;
  color: var(--gold-dim);
  font-style: italic;
  margin-bottom: 8px;
}

.about-epigraph__translation {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  max-width: 640px;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
  .about-bio__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-bio__left {
    position: static;
  }

  .about-philosophy__block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px;
  }

  .about-philosophy__block-side {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 85vh;
  }

  .about-hero__inner {
    padding: 0 24px;
  }

  .about-hero__content {
    padding-bottom: 60px;
  }

  .about-bio,
  .about-philosophy,
  .about-testimonials {
    padding: 100px 0;
  }

  .testimonials-ticker__card {
    flex: 0 0 300px;
    padding: 32px 28px 28px;
    min-height: 200px;
  }

  .testimonials-ticker__card--featured {
    flex: 0 0 380px;
  }

  .about-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .about-philosophy__header {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .about-hero__name {
    font-size: 2.4rem;
  }

  .about-hero__content {
    padding-bottom: 48px;
  }

  .about-hero__scroll {
    display: none;
  }

  .about-milestone {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .testimonials-ticker__card {
    flex: 0 0 260px;
    padding: 28px 24px 24px;
    min-height: 180px;
  }

  .testimonials-ticker__card--featured {
    flex: 0 0 300px;
  }

  .testimonials-ticker__card::before {
    font-size: 3.5rem;
  }
}
