@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/literata-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/literata-lat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-cyr-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #009db4;
  --teal-deep: #007f86;
  --orange: #f36d21;
  --orange-deep: #d85a14;
  --ink: #2f3437;
  --muted: #5d6a6e;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.45;
  background:
    radial-gradient(120% 70% at 50% -8%, #ffffff 0%, transparent 52%),
    radial-gradient(90% 60% at 100% 18%, rgba(0, 157, 180, 0.18) 0%, transparent 48%),
    radial-gradient(80% 50% at 0% 85%, rgba(243, 109, 33, 0.1) 0%, transparent 42%),
    linear-gradient(165deg, #f4fcfc 0%, #e7f4f5 45%, #eef8f8 100%);
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(0, 157, 180, 0.12) 0 1px, transparent 1.5px);
  background-size: 48px 48px, 64px 64px;
  opacity: 0.4;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin: 0 auto;
  padding:
    max(12px, env(safe-area-inset-top))
    16px
    max(24px, env(safe-area-inset-bottom));
  min-height: 100dvh;
}

/* ——— Mobile: intro → video → below → foot ——— */
.stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "intro"
    "video"
    "below"
    "foot";
  gap: 14px;
  width: 100%;
  justify-items: center;
}

.copy {
  display: contents;
}

.intro {
  grid-area: intro;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.video-shell {
  grid-area: video;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.below {
  grid-area: below;
  width: 100%;
}

.foot {
  grid-area: foot;
  width: 100%;
  padding-top: 8px;
  text-align: center;
}

.brand {
  display: block;
  width: min(160px, 50vw);
  height: auto;
}

.headline {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.38) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(15, 40, 45, 0.06);
  border: 1px solid rgba(0, 127, 134, 0.1);
}

.eyebrow {
  margin: 0;
}

.eyebrow__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 157, 180, 0.1);
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow__pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: "Literata", "Manrope", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.title__given {
  font-size: clamp(1.05rem, 4.4vw, 1.28rem);
  font-weight: 600;
  color: var(--muted);
}

.title__family {
  font-size: clamp(1.85rem, 8.2vw, 2.35rem);
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.03em;
}

.lead {
  display: none;
  margin: 4px 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 20em;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}

.lead__place {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}

.video-wrap {
  position: relative;
  width: min(100%, 22.5rem);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #0f1c1e;
  box-shadow:
    0 18px 40px rgba(15, 40, 45, 0.28),
    0 0 0 1px rgba(0, 127, 134, 0.12);
}

.video-glow {
  position: absolute;
  inset: 10% 8%;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 40%, rgba(0, 157, 180, 0.35), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}

.video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f1c1e;
}

.play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(15, 28, 30, 0.12) 0%, rgba(15, 28, 30, 0.48) 100%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.play-btn.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-btn__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 0 10px rgba(0, 157, 180, 0.22);
  position: relative;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.play-btn__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--teal-deep);
  transform: translate(-50%, -50%);
}

.play-btn:hover .play-btn__icon,
.play-btn:focus-visible .play-btn__icon {
  transform: scale(1.06);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.3),
    0 0 0 12px rgba(0, 157, 180, 0.28);
}

.play-btn:focus-visible {
  outline: none;
}

.play-btn__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.teaser {
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 127, 134, 0.1);
  text-align: center;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.teaser.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.teaser__topic {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

.teaser__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.teaser__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}

.reveal__head {
  padding: 0 4px;
  text-align: center;
}

.reveal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.reveal[hidden] {
  display: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.points {
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 127, 134, 0.1);
}

.points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff7a2f 0%, var(--orange) 55%, var(--orange-deep) 100%);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(243, 109, 33, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: filter 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.cta__arrow {
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.25s var(--ease-out);
}

.cta:hover {
  filter: brightness(1.04);
}

.cta:hover .cta__arrow {
  transform: translateX(3px);
}

.cta:active {
  transform: translateY(1px) scale(0.985);
}

.cta:focus-visible {
  outline: 3px solid rgba(243, 109, 33, 0.45);
  outline-offset: 3px;
}

.foot__addr {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.foot__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.foot__meta a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.foot__meta a:hover {
  text-decoration: underline;
}

.anim {
  opacity: 0;
  transform: translateY(10px);
  animation: rise-in 0.65s var(--ease-out) forwards;
}

.intro.anim { animation-delay: 0.06s; }
.video-shell.anim { animation-delay: 0.16s; }
.below.anim { animation-delay: 0.26s; }
.foot.anim { animation-delay: 0.34s; }

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim,
  .reveal,
  .teaser,
  .play-btn__icon,
  .cta {
    animation: none !important;
    transition: none !important;
  }

  .anim,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ——— Desktop «Киноафиша»: текст слева на всю высоту видео, равные зазоры ——— */
@media (min-width: 900px) {
  body {
    background:
      radial-gradient(55% 80% at 78% 50%, rgba(0, 157, 180, 0.14) 0%, transparent 58%),
      radial-gradient(40% 55% at 18% 42%, rgba(255, 255, 255, 0.7) 0%, transparent 65%),
      radial-gradient(50% 40% at 12% 85%, rgba(243, 109, 33, 0.07) 0%, transparent 55%),
      linear-gradient(165deg, #f4fcfc 0%, #e7f4f5 45%, #eef8f8 100%);
  }

  .page {
    width: min(100%, 1120px);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    min-height: 100dvh;
  }

  .stage {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    width: 100%;
  }

  .copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    flex: 1 1 460px;
    max-width: 520px;
    min-width: 0;
    align-self: stretch;
  }

  /* brand + headline + below + foot — равные промежутки */
  .intro {
    display: contents;
  }

  .brand {
    width: 210px;
    flex-shrink: 0;
  }

  .headline {
    width: 100%;
    align-items: flex-start;
    padding: 22px 24px 24px;
    border-radius: 22px;
    gap: 12px;
    flex-shrink: 0;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.62) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 14px 36px rgba(15, 40, 45, 0.08);
  }

  .video-shell {
    flex: 0 0 auto;
    width: min(400px, 36vw);
    max-width: 400px;
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: stretch;
  }

  .video-shell::before {
    content: "";
    position: absolute;
    inset: 6% -8% 4% -12%;
    border-radius: 40px;
    background: radial-gradient(ellipse at 55% 45%, rgba(0, 157, 180, 0.28), transparent 68%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
  }

  .below {
    width: 100%;
    flex-shrink: 0;
  }

  .foot {
    width: 100%;
    text-align: left;
    padding-top: 0;
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    gap: 8px 14px;
  }

  .title {
    align-items: flex-start;
  }

  .title__given {
    font-size: 1.35rem;
  }

  .title__family {
    font-size: 3.15rem;
    letter-spacing: -0.035em;
  }

  .lead {
    display: flex;
    font-size: 1.08rem;
    max-width: 18em;
    margin-top: 6px;
  }

  .lead__place {
    font-size: 1.12rem;
  }

  .teaser__topic {
    display: none;
  }

  .video-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin-left: 0;
    max-height: min(78dvh, 740px);
    height: auto;
    align-self: stretch;
    border-radius: 26px;
    box-shadow:
      0 28px 56px rgba(15, 40, 45, 0.28),
      0 0 0 1px rgba(0, 127, 134, 0.14);
  }

  .teaser {
    width: 100%;
    padding: 20px 22px;
    text-align: left;
    border-radius: 20px;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.58) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 12px 28px rgba(15, 40, 45, 0.06);
  }

  .teaser__label {
    font-size: 0.74rem;
  }

  .teaser__text {
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 34em;
  }

  .reveal {
    align-items: stretch;
    gap: 14px;
    width: 100%;
  }

  .points {
    width: 100%;
    padding: 18px 20px;
    gap: 10px;
    border-radius: 18px;
  }

  .points li {
    font-size: 0.98rem;
  }

  .cta {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding-inline: 24px;
    font-size: 1.05rem;
    border-radius: 16px;
  }

  .foot__addr {
    margin: 0;
    font-size: 0.95rem;
  }

  .foot__meta {
    justify-content: flex-start;
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) {
  .stage {
    gap: 36px;
  }

  .copy {
    max-width: 520px;
  }

  .video-shell {
    width: 420px;
    max-width: 420px;
  }

  .title__family {
    font-size: 3.4rem;
  }
}
