/* ===================== */
/* BASE */
/* ===================== */

@font-face {
font-family: 'Magistral';
src: url('/fonts/Magistral.ttf');
}

body {
margin: 0;
background: #000;
font-family: 'Magistral', sans-serif;
}

/* ===================== */
/* NAVBAR */
/* ===================== */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #000;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 100%;
  padding: 0 40px;
}

/* LOGO В ЦЕНТРЕ */
.menu {
  display: flex;
  align-items: center;
}

.logo {
  color: #fff;
  letter-spacing: 4px;
  font-size: 14px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  margin-left: 30px;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
  transition: 0.3s;
}

.menu a:hover {
  opacity: 1;
}

/* BURGER */
.burger {
  justify-self: end;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.burger span {
position: absolute;
width: 100%;
height: 2px;
background: #fff;
left: 0;
transition: 0.3s;
}

.burger span:first-child {
top: 0;
}

.burger span:last-child {
bottom: 0;
}

.burger.active span:first-child {
transform: rotate(45deg);
top: 9px;
}

.burger.active span:last-child {
transform: rotate(-45deg);
bottom: 9px;
}

/* ===================== */
/* MOBILE MENU */
/* ===================== */

.mobile-menu {
position: fixed;
inset: 0;
background: #000;
display: flex;
justify-content: center;
align-items: center;
transform: translateY(-100%);
transition: 0.5s;
z-index: 999;
}

.mobile-menu nav {
text-align: center;
}

.mobile-menu a {
display: block;
color: #fff;
font-size: 28px;
margin: 20px 0;
text-decoration: none;
letter-spacing: 3px;
}

.mobile-menu.active {
transform: translateY(0);
}

/* ===================== */
/* HERO */
/* ===================== */

.hero {
position: relative;
height: 100vh;
margin-top: 70px;
display: flex;
overflow: hidden;
}

/* LEFT IMAGE */
.hero-left {
width: 50%;
height: 100%;


background: url("/images/your-image2.jpg") 10% center / cover no-repeat;

position: relative;

animation: heroImage 1.5s ease forwards;
}

/* GRADIENT */
.hero-left::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to right,
rgba(0,0,0,0) 50%,
rgba(0,0,0,0.7) 75%,
#000 100%
);
}

/* RIGHT SIDE */
.hero-right {
width: 50%;
height: 100%;
background: #000;
}

/* ===================== */
/* HERO TEXT */
/* ===================== */

.hero-text {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 10;
  display: inline-block;
  width: max-content; /* важно */
}

/* VERUM */
.verum {
  display: block;
  width: fit-content;
  font-size: 18vw;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.verum span {
  display: block;
  white-space: nowrap;
}

/* GLOBAL */
.global {
  width: 100%;
  margin-top: 10px;
  padding: 0 1.7vw; /* сдвигает буквы внутрь */
  box-sizing: border-box;
  margin-top: 0.2vw;
  display: flex;
  justify-content: space-between;
}

.global span {
  font-size: 4.2vw;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  line-height: 1;

  opacity: 0;
  transform: translateY(20px);
  animation: globalUp 0.8s ease forwards;
}

/* плавная последовательная анимация */
.global span:nth-child(1) { animation-delay: 1.2s; }
.global span:nth-child(2) { animation-delay: 1.25s; }
.global span:nth-child(3) { animation-delay: 1.3s; }
.global span:nth-child(4) { animation-delay: 1.35s; }
.global span:nth-child(5) { animation-delay: 1.4s; }
.global span:nth-child(6) { animation-delay: 1.45s; }

@keyframes globalUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== */
/* ANIMATIONS */
/* ===================== */

@keyframes heroImage {
from {
opacity: 0;
transform: scale(1.05);
}
to {
opacity: 1;
transform: scale(1);
}
}

.verum span {
display: inline-block;
opacity: 0;
transform: translateY(50px);
animation: textUp 1s ease forwards;
animation-delay: 0.5s;
}

.global span {
display: inline-block;
opacity: 0;
transform: translateY(30px);
animation: textUp 1s ease forwards;
animation-delay: 1.2s;
}

@keyframes textUp {
to {
opacity: 1;
transform: translateY(0);
}
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 992px) {

  .hero {
    position: relative;
    height: 60vh;
    margin-top: 70px;
    display: flex;
    overflow: hidden;
}

.hero-left {
width: 100%;
height: 60vh;
background-position: center;
}

.hero-text {
right: 50%;
transform: translate(50%, 0%);
text-align: center;
}

.verum {
font-size: 20vw;
}

.global {
font-size: 5vw;
letter-spacing: 3vw;
}

.menu {
display: none;
}
}

@media (max-width: 576px) {

.hero-left {
height: 55vh;
}

.verum {
font-size: 22vw;
}

.global {
font-size: 6vw;
letter-spacing: 3.5vw;
}
}


@media (max-width: 576px) {

  .hero-left {
    width: 100%;
    height: 60vh;
  
    background-position: 0% 15%;
  }
  
  .hero-text {
      right: 50%;
      transform: translate(50%, 50%);
      text-align: center;
  }

}


/* ===================== */
/* VIDEO SECTION (WHITE) */
/* ===================== */

.video-section {
  background: #fff;
  padding: 100px 0;
}

/* КОНТЕЙНЕР */
.video-wrapper {
  position: relative;
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;

  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;

  aspect-ratio: 16 / 9; /* ключевой фикс */
}

/* PREVIEW */
.video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.05);
  transition: 0.5s;
  filter: brightness(0.9);
}

.video-preview:hover img {
  transform: scale(1.08);
  filter: brightness(0.8);
}

/* PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 90px;
  height: 90px;

  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.3s;
}

.play-btn::after {
  content: "";
  border-left: 18px solid #000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-preview:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

/* VIDEO */
.video-frame {
  display: none;
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-preview img {
  width: 100%;
  display: block;
}

.video-preview {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

/* затемнение */
.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 60%);
}

/* overlay */
.video-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
  max-width: 80%;
}

/* бейдж */
.promo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 8px;
}

/* заголовок */
.video-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* подзаголовок */
.video-subtitle {
  font-size: 14px;
  opacity: 0.85;
}

/* кнопка поверх */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

/* hover эффект */
.video-preview img {
  transition: 0.4s ease;
}

.video-preview:hover img {
  transform: scale(1.07);
}
/* ===================== */
/* FOOTER GRID STYLE */
/* ===================== */

.footer {
  background: #000;
  color: #fff;
  padding: 100px 40px 40px;
}

/* GRID */
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;

  max-width: 1200px;
  margin: 0 auto;
}

/* TITLES */
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  opacity: 0.6;
  line-height: 1.6;
}

/* LINKS */
.footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-col a:hover {
  opacity: 1;
}

/* SOCIAL */
.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  opacity: 0.8;
}

.footer-socials a:hover {
  background: #fff;
  color: #000;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 80px;
  font-size: 13px;
  opacity: 0.5;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero {
      position: relative;
      height: 60vh;
      margin-top: 70px;
      display: flex;
      overflow: hidden;
  }

  .footer-socials {
    justify-content: center;
  }
  
  .video-section {
    background: #fff;
    padding: 70px 0;
  }
  
}

/* ===================== */
/* STORY SECTION PREMIUM */
/* ===================== */

.story-section {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 35%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 100%);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
}

.story-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.story-heading {
  max-width: 760px;
  margin-bottom: 70px;
}

.story-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

.story-heading h2 {
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 400;
  margin: 0 0 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.story-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.story-main,
.story-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 38px;
  backdrop-filter: blur(8px);
  box-shadow:
    0 15px 50px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.intro-card {
  padding-bottom: 32px;
}

.story-person {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.story-person-line {
  width: 52px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.story-person h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
}

.story-role {
  margin: 0;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.story-stat {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.story-stat span {
  display: block;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 12px;
  color: #fff;
}

.story-stat p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

.story-lead,
.story-card p,
.timeline-content p,
.message-card p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
  margin: 0 0 18px;
}

.story-card p:last-child,
.timeline-content p:last-child,
.message-card p:last-child {
  margin-bottom: 0;
}

.story-timeline {
  position: relative;
  padding-left: 24px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.06)
  );
}

.timeline-item {
  position: relative;
  padding-left: 34px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08);
}

.timeline-year {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.timeline-content {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 28px;
}

.timeline-content h4 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.quote-card {
  position: relative;
  padding-top: 55px;
}

.quote-mark {
  position: absolute;
  top: 20px;
  left: 26px;
  font-size: 90px;
  line-height: 1;
  color: rgba(255,255,255,0.08);
}

.quote-card p {
  font-size: 28px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 22px;
}

.quote-author {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.story-mini-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.message-card h3 {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
}

.story-sign {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.story-sign span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.story-sign strong {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* ===================== */
/* STORY RESPONSIVE */
/* ===================== */

@media (max-width: 992px) {
  .story-section {
    padding: 100px 0;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-heading {
    margin-bottom: 50px;
  }

  .story-heading h2 {
    font-size: 52px;
  }

  .story-stats {
    grid-template-columns: 1fr 1fr;
  }

  .quote-card p {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .story-container {
    width: min(100% - 24px, 1200px);
  }

  .story-card {
    padding: 24px;
    border-radius: 22px;
  }

  .story-heading h2 {
    font-size: 38px;
  }

  .story-subtitle {
    font-size: 16px;
    line-height: 1.7;
  }

  .story-person {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .story-person h3 {
    font-size: 24px;
  }

  .story-stats {
    grid-template-columns: 1fr;
  }

  .story-stat span {
    font-size: 34px;
  }

  .story-lead,
  .story-card p,
  .timeline-content p,
  .message-card p {
    font-size: 15px;
    line-height: 1.8;
  }

  .timeline-content h4 {
    font-size: 20px;
  }

  .quote-card p {
    font-size: 20px;
  }

  .message-card h3 {
    font-size: 28px;
  }
}

/* ===================== */
/* MEDIA SECTION PREMIUM */
/* ===================== */

.media-section {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.04), transparent 30%),
    linear-gradient(180deg, #060606 0%, #0d0d0d 100%);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.media-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.media-heading {
  max-width: 760px;
  margin-bottom: 60px;
}

.media-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

.media-heading h2 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.media-subtitle {
  margin: 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.68);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.media-card {
  grid-column: span 4;
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.media-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 28px 60px rgba(0,0,0,0.28);
}

.media-card-large {
  grid-column: span 8;
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.media-card-large .media-thumb {
  aspect-ratio: 16 / 9;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.media-card:hover .media-thumb img {
  transform: scale(1.1);
  filter: brightness(0.78);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.10) 45%,
    rgba(0,0,0,0.05) 100%
  );
}

.media-content {
  padding: 24px 24px 26px;
}

.media-type {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.55);
}

.media-content h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.media-card-large .media-content h3 {
  font-size: 30px;
}

.media-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

/* PLAY BUTTON */
.media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transition: transform 0.35s ease, background 0.35s ease;
}

.media-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 20px solid #000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.media-play.small {
  width: 74px;
  height: 74px;
}

.media-play.small::after {
  border-left: 16px solid #000;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.media-card-video:hover .media-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.media-bottom {
  margin-top: 45px;
  text-align: center;
}

.media-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  letter-spacing: 2px;
  font-size: 12px;
  transition: 0.35s ease;
}

.media-more-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 992px) {
  .media-section {
    padding: 100px 0;
  }

  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-card,
  .media-card-large {
    grid-column: auto;
  }

  .media-heading h2 {
    font-size: 52px;
  }

  .media-card-large .media-content h3 {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .media-container {
    width: min(100% - 24px, 1200px);
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .media-heading {
    margin-bottom: 36px;
  }

  .media-heading h2 {
    font-size: 38px;
  }

  .media-subtitle {
    font-size: 16px;
    line-height: 1.7;
  }

  .media-card {
    border-radius: 22px;
  }

  .media-content {
    padding: 20px 20px 22px;
  }

  .media-content h3,
  .media-card-large .media-content h3 {
    font-size: 21px;
  }

  .media-content p {
    font-size: 14px;
  }

  .media-play {
    width: 72px;
    height: 72px;
  }

  .media-play::after {
    border-left: 16px solid #000;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
}

.video-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .video-container {
    grid-template-columns: 1fr;
  }
}
