/* ===== Базовое ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ===== Шапка ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-cta {
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .92;
  transition: opacity .2s;
}
.header-cta:hover { opacity: 1; }
.header-logo {
  justify-self: center;
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-social {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-social a {
  width: 22px;
  height: 22px;
  opacity: .85;
  transition: opacity .2s, transform .2s;
}
.header-social a:hover { opacity: 1; transform: translateY(-1px); }
.header-social svg { width: 100%; height: 100%; fill: #fff; color: #fff; }
.header-social svg[fill="none"] { fill: none; }

/* Контент-колонка как в оригинале: 70vw по центру */
:root { --col: min(70vw, 1400px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(420px, 40vw, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px clamp(20px, 4vw, 50px) 70px;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55)), url("assets/hero.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
.hero-inner { max-width: 94vw; }
.hero h1 {
  margin: 0 0 26px;
  font-weight: 400;
  font-size: clamp(26px, 3.125vw, 58px);
  line-height: 1.3;
  letter-spacing: .005em;
}
.hero p {
  margin: 0 auto;
  max-width: min(79.5vw, 1300px);
  font-size: clamp(15px, 1.33vw, 24px);
  line-height: 1.6;
  color: rgba(255,255,255,.9);
}

/* ===== Секции ===== */
.section { padding: clamp(50px, 4.5vw, 90px) 0; }
.block { width: var(--col); margin: 0 auto; }

.kicker {
  margin: 0 0 4px;
  font-weight: 400;
  font-size: clamp(21px, 2.11vw, 40px);
  line-height: 1.3;
  letter-spacing: .01em;
}
.subkicker {
  margin: 0 0 clamp(16px, 1.9vw, 30px);
  font-size: clamp(14px, 1.25vw, 23px);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

/* ===== Истории ===== */
.stories { padding-top: clamp(40px, 4.5vw, 80px); }
.stories-intro {
  width: var(--col);
  margin: 0 auto clamp(30px, 3.5vw, 60px);
  font-weight: 400;
  font-size: clamp(17px, 1.72vw, 32px);
  line-height: 1.3;
}

.stories .block { margin-bottom: clamp(45px, 5.5vw, 95px); }
.stories .block:last-child { margin-bottom: 0; }

.story-title {
  margin: 0 0 clamp(16px, 1.9vw, 30px);
  font-weight: 700;
  font-size: clamp(19px, 2.03vw, 38px);
  line-height: 1.6;
}

/* ===== Видео ===== */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0,0,0,.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.play-btn:hover { background: rgba(0,0,0,.28); }
.play-btn::before {
  content: "";
  width: clamp(56px, 7vw, 84px);
  height: clamp(56px, 7vw, 84px);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  /* треугольник play через маску */
  -webkit-mask: none;
  display: block;
  box-shadow: 0 6px 28px rgba(0,0,0,.45);
  transition: transform .2s, background .2s;
}
.play-btn::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  border-width: clamp(11px,1.5vw,16px) 0 clamp(11px,1.5vw,16px) clamp(18px,2.4vw,26px);
  border-color: transparent transparent transparent #111;
  margin-left: clamp(4px,.6vw,6px);
  transition: transform .2s;
}
.play-btn:hover::before { transform: scale(1.06); }
.play-btn:hover::after  { transform: scale(1.06); }
.video.is-playing .play-btn { display: none; }

/* ===== Подвал ===== */
.site-footer {
  padding: clamp(48px, 7vw, 80px) 20px clamp(36px, 5vw, 56px);
  text-align: center;
  color: #c2c2c2;
}
.site-footer p {
  margin: 6px 0;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 18px);
}
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }

/* ===== Планшет / мобильные ===== */
@media (max-width: 1024px) {
  :root { --col: 86vw; }
  .hero p { max-width: 90vw; }
}
@media (max-width: 600px) {
  :root { --col: 90vw; }
  .hero { background-attachment: scroll; }
  .hero p { max-width: 92vw; }
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-social { gap: 14px; }
}
