@font-face {
  font-family: "Sreda";
  src: url("./Sreda.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --red: #6a2925;
  --coral: #ff5e45;
  --coral-light: #ff9d8d;
  --coral-panel: #ff7667;
  --cream: #f9f2de;
  --gray: #e6e6e6;
  --text: #161616;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

img { display: block; }
a { color: inherit; text-decoration: none; }

.site {
  width: 1280px;
  margin: 0 auto;
  overflow: visible;
  background: #fff;
}

.hero {
  position: relative;
  height: 681px;
  padding-top: 80px;
  overflow: hidden;
}

.top-nav {
  position: absolute;
  z-index: 20;
  left: 13px;
  top: 14px;
  display: flex;
  align-items: center;
  width: 1251px;
  height: 49px;
  padding: 0 13px 0 23px;
  border-radius: 25px;
  background: #e9e9e9;
  color: #777;
}

.top-nav__brand {
  width: 260px;
  color: #646464;
  font-family: "Sreda", Georgia, serif;
  font-size: 15px;
  line-height: 1;
}

.top-nav__links {
  display: flex;
  gap: 21px;
  align-items: center;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 300;
  white-space: nowrap;
}

.top-nav__links a {
  line-height: 49px;
}

.top-nav__links .is-active {
  color: #555;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top-nav__search {
  display: flex;
  align-items: center;
  width: 184px;
  height: 29px;
  padding: 0 13px;
  border-radius: 15px;
  background: #fff;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.top-nav__search:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.top-nav__search span {
  position: relative;
  width: 13px;
  height: 13px;
  margin-right: 10px;
  border: 1.7px solid #9b9b9b;
  border-radius: 999px;
}

.top-nav__search span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 1.7px;
  background: #9b9b9b;
  transform: rotate(45deg);
  transform-origin: center;
}

.top-nav__search input {
  width: 128px;
  border: 0;
  outline: 0;
  color: #777;
  background: transparent;
  font: 300 14px/1 "Montserrat", Arial, sans-serif;
}

.top-nav__search input::placeholder {
  color: #8f8f8f;
}

.hero__cream {
  position: absolute;
  left: 26px;
  top: 549px;
  width: 1227px;
  height: 92px;
  border-radius: 50px;
  background: var(--cream);
}

.hero__image {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  transform: var(--parallax, translate(0, 0));
  transition: transform 500ms ease-out;
}

.hero__image--bg {
  left: 13px;
  top: 79px;
  width: 1250px;
  height: 572px;
  border-radius: 25px;
}

.hero__image--bg img,
.hero__image--people img {
  position: absolute;
  left: 0;
  top: -0.06px;
  width: 1250px;
  height: 703px;
  max-width: none;
}

.hero__blur {
  position: absolute;
  left: 1001px;
  top: 113px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 363.416px;
  height: 454.453px;
  pointer-events: none;
}

.hero__blur > div {
  position: relative;
  width: 435.965px;
  height: 339.307px;
  transform: rotate(-93.24deg);
}

.hero__blur img {
  position: absolute;
  left: -291.3px;
  top: -291.3px;
  width: 1018.56px;
  height: 921.907px;
  max-width: none;
}

.hero__wordmark {
  position: absolute;
  left: 9px;
  top: 73px;
  width: 1261px;
  height: 267px;
  overflow: hidden;
  pointer-events: none;
  transform: var(--parallax, translate(0, 0));
  transition: transform 500ms ease-out;
}

.hero__wordmark img {
  position: absolute;
  left: -101.5px;
  top: -73px;
  width: 1463px;
  height: 823px;
  max-width: none;
}

.hero__image--people {
  left: 14px;
  top: 80px;
  width: 1250px;
  height: 571px;
}

.hero__union {
  position: absolute;
  pointer-events: none;
}

.hero__union img {
  width: 100%;
  height: 100%;
}

.hero__union--bottom {
  left: 265px;
  top: 170px;
  width: 1017.171px;
  height: 879px;
  transform: rotate(180deg) scaleY(-1);
}

.hero__union--top {
  left: 272px;
  top: -319px;
  width: 1010px;
  height: 879px;
  transform: rotate(180deg);
}

.hero__about {
  position: absolute;
  top: 252px;
  left: 874px;
  width: 356px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 22px;
  text-align: right;
}

.hero__about b {
  font-family: "Sreda", Georgia, serif;
  font-weight: 400;
}

.join-button {
  position: absolute;
  left: 43px;
  top: 388px;
  width: 229px;
  height: 49px;
  border-radius: 25px;
  background: linear-gradient(180deg, var(--coral-light), var(--coral));
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 49px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}

.join-button:hover,
.game__actions a:hover,
.game__actions button:hover,
.project a:hover,
.join button:hover,
.values a:hover,
.values__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(106, 41, 37, 0.22);
  filter: saturate(1.05);
}

.join-button:active,
.game__actions a:active,
.game__actions button:active,
.project a:active,
.join button:active,
.values a:active,
.values__toggle:active {
  transform: translateY(0) scale(0.98);
}

.counter {
  position: absolute;
  left: 43px;
  top: 456px;
  width: 497px;
  height: 166px;
  padding: 0 16px;
  border-radius: 25px;
  background: var(--red);
}

.counter__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  color: #fff;
  font-family: "Sreda", Georgia, serif;
  font-size: 20px;
  line-height: 45px;
}

.counter__title span {
  flex: 0 0 auto;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
}

.counter__digits {
  display: grid;
  grid-template-columns: repeat(6, 71px);
  gap: 8px;
}

.counter__digits span {
  display: grid;
  place-items: center;
  height: 103px;
  border-radius: 10px;
  background: #fff;
  color: var(--coral);
  font-size: 75px;
  font-weight: 700;
  line-height: 1;
  transform-origin: 50% 60%;
}

.counter__digits span.is-flipping {
  animation: digitFlip 360ms ease;
}

.counter__line {
  position: absolute;
  left: 0;
  top: 99px;
  width: 100%;
  height: 1px;
  max-width: none;
  pointer-events: none;
}

.quote {
  position: relative;
  z-index: 2;
  height: 431px;
  padding-top: 65px;
  color: var(--red);
  background: #fff;
  text-align: center;
}

.quote blockquote {
  margin: 0 auto;
  width: 1062px;
  font-size: 35px;
  line-height: 45px;
}

.quote span {
  color: var(--coral);
  font-family: "Sreda", Georgia, serif;
}

.quote__author {
  width: 1062px;
  margin: 26px 0 10px 80px;
  font-size: 20px;
  font-weight: 800;
  line-height: 45px;
  text-align: right;
}

.quote__caption {
  width: 1024px;
  margin: 0 0 0 153px;
  font-size: 20px;
  line-height: 27px;
  text-align: left;
}

.start {
  position: relative;
  height: 1460px;
  margin: 0 64px;
  background: transparent;
  overflow: visible;
}

.start::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 704px;
  border-radius: 25px;
  background: var(--gray);
}

.start h1 {
  position: absolute;
  left: 36px;
  top: 60px;
  margin: 0;
  color: #000;
  font-family: "Sreda", Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
}

.start h1 span {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
}

.start__city-title {
  position: absolute;
  left: 400px;
  top: 52px;
  width: 720px;
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.12;
}

.start__city-title b {
  color: #fff;
  font-family: "Sreda", Georgia, serif;
  font-weight: 400;
}

.start__city-title span {
  color: var(--coral);
  font-family: "Sreda", Georgia, serif;
  font-weight: 400;
}

.start__city {
  position: absolute;
  left: 0;
  top: 735px;
  width: 100%;
  height: 690px;
  border-radius: 25px;
  background: var(--red);
  color: #fff;
  overflow: hidden;
}

.video {
  position: absolute;
  left: 40px;
  top: 119px;
  width: 999px;
  height: 545px;
  overflow: hidden;
  border-radius: 25px;
}

.video__media {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video__play,
.videos__sound {
  position: absolute;
  z-index: 2;
  width: 85px;
  height: 85px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
}

.video__play {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: playPulseCentered 2200ms ease-in-out infinite;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.video__play::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 25px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid var(--coral);
}

.video.is-playing .video__play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
}

.start__text {
  position: absolute;
  left: 400px;
  top: 118px;
  width: 640px;
  font-size: 20px;
  line-height: 22px;
}

.start__text p {
  margin: 0 0 9px;
}

.start__text b,
.start__closing b {
  font-family: "Sreda", Georgia, serif;
  font-weight: 400;
}

.gallery {
  position: absolute;
  left: 0;
  top: 340px;
  width: 100%;
  height: 194px;
  overflow: hidden;
}

.gallery__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  height: 100%;
  transform: translate3d(var(--gallery-offset, 0), 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.gallery__track.is-jump {
  transition: none;
}

.gallery img {
  flex: 0 0 auto;
  width: 290px;
  height: 194px;
  border-radius: 18px;
  object-fit: cover;
}

.gallery__button {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery__button:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 10px 22px rgba(255, 94, 69, 0.28);
}

.gallery__button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%) translateX(var(--arrow-line-shift, 0));
}

.gallery__button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) translateX(var(--arrow-head-shift, 0)) rotate(var(--arrow-head-rotate, 45deg));
}

.gallery__button--prev {
  --arrow-line-shift: 1px;
  --arrow-head-shift: -8px;
  --arrow-head-rotate: 225deg;
  left: 42px;
}

.gallery__button--next {
  --arrow-line-shift: -1px;
  --arrow-head-shift: 8px;
  --arrow-head-rotate: 45deg;
  right: 42px;
}

.start__closing {
  position: absolute;
  left: 400px;
  top: 590px;
  width: 720px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 22px;
}

.brand-line {
  display: flex;
  gap: 30px;
  align-items: center;
  height: 274px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 40px;
  padding-left: 0;
  color: var(--red);
  font-family: "Sreda", Georgia, serif;
  font-size: 32px;
  line-height: 45px;
  white-space: nowrap;
  overflow: hidden;
}

.brand-line.is-marquee {
  display: block;
}

.brand-line__track {
  display: flex;
  gap: 30px;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: brandMarquee 22s linear infinite;
  animation-direction: var(--marquee-direction, normal);
  will-change: transform;
}

.brand-line__group {
  display: flex;
  flex: 0 0 auto;
  gap: 30px;
  align-items: center;
}

.brand-line img {
  width: 63px;
  height: 66px;
  object-fit: contain;
}

.brand-line--lower {
  height: 220px;
  padding-top: 62px;
}

.team {
  position: relative;
  height: 610px;
  padding: 82px 50px 0;
  color: var(--red);
}

.team__support {
  position: absolute;
  left: 50px;
  top: 72px;
  display: grid;
  grid-template-columns: 540px 430px;
  gap: 62px;
  align-items: start;
}

.team__support-copy h2 {
  margin: 0 0 22px;
  color: var(--coral);
  font-family: "Sreda", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
}

.team__support-copy p {
  margin: 0;
  color: var(--red);
  font-size: 31px;
  font-weight: 300;
  line-height: 1.1;
}

.team__governor {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 26px;
  align-items: center;
  padding-top: 2px;
}

.team__governor img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
}

.team__governor p {
  margin: 0;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.03;
}

.team__governor span,
.team__governor b {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
}

.team__governor b {
  font-weight: 700;
}

.team__people {
  position: absolute;
  left: 50px;
  top: 305px;
  display: grid;
  grid-template-columns: repeat(3, 235px);
  gap: 30px 58px;
}

.team__people article {
  display: grid;
  grid-template-columns: 81px 1fr;
  gap: 18px;
  align-items: center;
}

.team__people img {
  width: 81px;
  height: 81px;
  border-radius: 50%;
  object-fit: cover;
}

.team__people p {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.02;
}

.team__people span {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
}

.team__next {
  position: absolute;
  left: 905px;
  top: 392px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.team__next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%) translateX(-1px);
}

.team__next::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) translateX(8px) rotate(45deg);
}

.team__next:hover {
  transform: translateX(3px);
  box-shadow: 0 10px 22px rgba(255, 94, 69, 0.28);
  filter: saturate(1.04);
}

.team__rail {
  position: absolute;
  left: 62px;
  bottom: 58px;
  width: 760px;
  height: 6px;
  border-radius: 10px;
  background: #eee;
}

.team__rail span {
  display: block;
  width: 229px;
  height: 6px;
  border-radius: 10px;
  background: #d9d9d9;
  transform: translateX(var(--rail-shift, 0));
  transition: transform 280ms ease;
}

.team__people {
  transition: opacity 180ms ease, transform 180ms ease;
}

.team__people.is-switching {
  opacity: 0.3;
  transform: translateX(-12px);
}

.team__featured {
  position: absolute;
  right: 58px;
  top: 250px;
  width: 230px;
  text-align: center;
}

.team__featured img {
  width: 168px;
  height: 168px;
  margin: 0 auto 15px;
  border-radius: 50%;
  object-fit: cover;
}

.team__featured h3 {
  margin: 0;
  color: var(--coral);
  font-family: "Sreda", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.team__featured p {
  margin: 14px 0 0;
  color: var(--red);
  font-size: 16px;
  line-height: 1.15;
}

.values {
  position: relative;
  min-height: 655px;
  padding: 55px 40px 72px;
  border-radius: 25px;
  background: var(--red);
  color: #fff;
  overflow: hidden;
  transition: min-height 320ms ease;
}

.values__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.values h2 {
  margin: 0;
  font-family: "Sreda", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.22;
}

.values h2 span {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
}

.values a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 307px;
  height: 49px;
  border-radius: 25px;
  background: linear-gradient(180deg, var(--coral-light), var(--coral));
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.values__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-height: 648px;
  margin-top: 48px;
  overflow: hidden;
  transition: max-height 420ms ease;
}

.values:not(.is-expanded) .values__cards::after {
  display: none;
}

.values.is-expanded .values__cards {
  max-height: 2300px;
}

.values__card {
  min-width: 0;
  min-height: 315px;
  padding: 0;
  border-radius: 25px;
  background: transparent;
  color: var(--red);
  perspective: 1200px;
}

.values__card--accent {
  color: var(--red);
}

.values__card-inner {
  position: relative;
  min-height: 315px;
  height: 100%;
  border-radius: 25px;
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.values__card:hover .values__card-inner,
.values__card:focus .values__card-inner,
.values__card:focus-within .values__card-inner,
.values__card.is-flipped .values__card-inner {
  transform: rotateY(180deg);
}

.values__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 34px;
  border-radius: 25px;
  backface-visibility: hidden;
  overflow: hidden;
}

.values__face--front {
  background: #fff;
  color: var(--red);
}

.values__face--back {
  justify-content: center;
  background: linear-gradient(145deg, #ff9d8d, #ff5e45);
  color: #fff;
  transform: rotateY(180deg);
}

.values__front-image {
  width: 170px;
  height: 170px;
  margin-left: auto;
  border-radius: 12px;
  object-fit: cover;
}

.values__front-title {
  margin-top: auto;
  font-family: "Sreda", Georgia, serif;
  font-size: 31px;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-wrap: balance;
}

.values__face--back .values__number {
  margin-bottom: 26px;
  background: #fff;
  color: var(--coral);
}

.values__card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  min-height: 96px;
  margin-bottom: 24px;
}

.values__number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex: 0 0 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.values__card--accent .values__number {
  background: #fff;
  color: var(--coral);
}

.values__placeholder {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #f1f1f1;
}

.values__placeholder img {
  width: 57px;
  height: 60px;
  object-fit: contain;
}

.values__card--accent .values__placeholder {
  background: rgba(255, 255, 255, 0.18);
}

.values__card--accent .values__placeholder img {
  filter: brightness(0) invert(1);
}

.values__card h3 {
  margin: 0 0 18px;
  font-family: "Sreda", Georgia, serif;
  font-size: 27px;
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-wrap: balance;
}

.values__card p {
  margin: 0;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.28;
  overflow-wrap: break-word;
}

.values__card .values__front-title {
  margin: auto 0 0;
  font-size: 28px;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: keep-all;
}

.values__card.is-title-long .values__front-title,
.values__card.is-title-long h3 {
  font-size: 24px;
  line-height: 1.08;
}

.values__card.is-title-xl .values__front-title,
.values__card.is-title-xl h3 {
  font-size: 21px;
  line-height: 1.1;
}

.values__toggle {
  display: grid;
  place-items: center;
  min-width: 268px;
  height: 55px;
  margin: 32px auto 0;
  padding: 0 28px;
  border: 0;
  border-radius: 28px;
  background: var(--coral);
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.game {
  position: relative;
  height: 390px;
  padding: 42px 40px 0;
  background: #fff;
  color: var(--red);
}

.game__copy {
  width: 540px;
}

.game h2 {
  margin: 0;
  color: var(--coral);
  font-family: "Sreda", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
}

.game h2 span {
  color: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
}

.game p {
  width: 520px;
  margin: 60px 0 24px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.16;
}

.game__actions {
  display: flex;
  gap: 16px;
}

.game__actions a,
.game__actions button,
.project a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  padding: 0 32px;
  border: 1px solid var(--red);
  border-radius: 34px;
  background: var(--red);
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.game__actions button {
  background: #fff;
  color: var(--red);
}

.game .game__actions a,
.game .game__actions button {
  width: 260px;
  height: 56px;
  padding: 0 24px;
  border-radius: 29px;
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.game .game__actions button {
  width: 250px;
}

.game__cards {
  position: absolute;
  left: 620px;
  top: 42px;
  display: flex;
  gap: 23px;
  width: 660px;
  height: 270px;
  overflow: hidden;
}

.game__image {
  flex: 0 0 auto;
  width: 480px;
  height: 270px;
  border: 1px solid var(--red);
  border-radius: 25px;
  object-fit: cover;
}

.game__image--next {
  width: 480px;
}

.game__download {
  position: absolute;
  right: 12px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 49px;
  border: 0;
  border-radius: 25px;
  background: linear-gradient(180deg, var(--coral-light), var(--coral));
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}

.videos {
  position: relative;
  height: 655px;
  padding: 34px 40px 24px;
  border-radius: 25px;
  background: var(--coral-panel);
  color: #fff;
  overflow: hidden;
}

.videos h2 {
  margin: 0;
  font-family: "Sreda", Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.videos > p {
  margin: 8px 0 12px;
  font-size: 32px;
  font-weight: 300;
}

.videos__download {
  position: absolute;
  right: 40px;
  top: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 149px;
  height: 49px;
  border-radius: 25px;
  background: #fff;
  color: var(--red);
  font-size: 20px;
  font-weight: 500;
}

.videos__strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 54px;
  height: 500px;
}

.videos article {
  position: relative;
  min-width: 0;
  flex: 0 0 auto;
  width: 242px;
  height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: transparent;
  opacity: 0.88;
  transition: width 320ms ease, height 320ms ease, transform 260ms ease, box-shadow 260ms ease, opacity 260ms ease;
}

.videos article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(106, 41, 37, 0.22);
}

.videos article.is-active {
  width: 282px;
  height: 501px;
  opacity: 1;
  box-shadow: 0 18px 36px rgba(106, 41, 37, 0.24);
}

.videos__strip {
  transition: opacity 260ms ease, transform 260ms ease;
}

.videos__strip.is-switching {
  opacity: 0.72;
  transform: translateX(var(--videos-shift, -12px));
}

.videos article video {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  object-fit: contain;
}

.videos__sound {
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  animation: playPulse 2200ms ease-in-out infinite;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.videos__sound-icon {
  width: 35px;
  height: 35px;
  filter: invert(57%) sepia(88%) saturate(2395%) hue-rotate(331deg) brightness(103%) contrast(101%);
  object-fit: contain;
  pointer-events: none;
}

.videos__sound-icon--unmuted {
  display: none;
}

.videos article.is-sound-on .videos__sound {
  opacity: 0.88;
  animation: none;
}

.videos article.is-sound-on .videos__sound-icon--muted {
  display: none;
}

.videos article.is-sound-on .videos__sound-icon--unmuted {
  display: block;
}

.videos article:not(.is-active) .videos__sound {
  opacity: 0.62;
  animation: none;
}

.videos article:not(.is-active) .videos__fullscreen {
  opacity: 0;
  pointer-events: none;
}

.videos__fullscreen {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.videos__fullscreen:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(106, 41, 37, 0.2);
}

.videos__fullscreen::before,
.videos__fullscreen::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
}

.videos__fullscreen::before {
  left: 10px;
  top: 10px;
  border-left: 2px solid var(--coral);
  border-top: 2px solid var(--coral);
}

.videos__fullscreen::after {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
}

.videos__nav {
  position: absolute;
  z-index: 3;
  top: 390px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.videos__nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(106, 41, 37, 0.22);
}

.videos__nav::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 2px solid var(--coral);
  border-right: 2px solid var(--coral);
}

.videos__nav--prev {
  left: 135px;
}

.videos__nav--prev::before {
  transform: rotate(-135deg);
}

.videos__nav--next {
  right: 135px;
}

.videos__nav--next::before {
  transform: rotate(45deg);
}

.faq {
  height: auto;
  margin: 0 15px;
  border-radius: 25px;
  background: var(--gray);
  overflow: hidden;
}

.faq__row {
  position: relative;
  display: grid;
  grid-template-columns: 338px 126px minmax(0, 1fr) 94px;
  grid-template-rows: 143px 0;
  align-items: center;
  min-height: 143px;
  border-bottom: 1px solid #999;
  cursor: pointer;
  transition: grid-template-rows 260ms ease, min-height 260ms ease, background 220ms ease;
}

.faq__row:last-child {
  border-bottom: 0;
}

.faq__row span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-left: 42px;
  border: 1px solid #999;
  border-radius: 50%;
  color: #777;
  font-size: 28px;
  font-weight: 300;
}

.faq__row img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  justify-self: start;
}

.faq__row h3 {
  justify-self: start;
  max-width: 560px;
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
}

.faq__row::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  justify-self: center;
  align-self: center;
  border: 1px solid #999;
  border-radius: 50%;
  color: #777;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.faq__row:hover,
.faq__row.is-open {
  background: #f1f1f1;
}

.faq__row.is-open {
  min-height: 300px;
  grid-template-rows: 143px auto;
  background: #e6e6e6;
}

.faq__row.is-open::after {
  color: #777;
  transform: rotate(90deg);
}

.faq__answer {
  grid-column: 2 / 4;
  grid-row: 2;
  max-width: 645px;
  max-height: 0;
  margin: 0 0 0;
  overflow: hidden;
  color: var(--red);
  font-size: 19px;
  line-height: 1.16;
  opacity: 0;
  transition: max-height 260ms ease, opacity 220ms ease, margin 260ms ease;
}

.faq__row.is-open .faq__answer {
  max-height: 170px;
  margin: 2px 0 34px;
  opacity: 1;
}

.life {
  height: 545px;
  margin: 118px 15px 0;
  padding: 56px 84px 58px;
  border-radius: 25px;
  background: var(--red);
  color: #fff;
  overflow: visible;
}

.life::after {
  content: "«Воспитанный» –\A это не тот, кто знает,\A а тот, кто умеет и делает";
  position: absolute;
  right: 63px;
  top: 48px;
  width: 275px;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  text-align: right;
  white-space: pre;
}

.life {
  position: relative;
}

.life__head {
  position: relative;
  margin: 0 0 42px;
}

.life h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.24;
}

.life h2 b {
  font-family: "Sreda", Georgia, serif;
  font-weight: 400;
}

.life__select {
  position: absolute;
  z-index: 5;
  left: 244px;
  top: 79px;
}

.life__trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 48px;
  width: 318px;
  padding: 0 49px 0 26px;
  border: 0;
  border-radius: 25px;
  background: linear-gradient(180deg, var(--coral-light), var(--coral));
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.life__trigger.is-long-value {
  width: 480px;
  font-size: 22px;
}

.life__trigger.is-very-long-value {
  width: 650px;
  font-size: 15px;
  letter-spacing: 0;
}

.life__trigger span {
  display: block;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.life__trigger.is-long-value span {
  flex: 1 1 0;
  max-width: none;
  overflow: hidden;
  text-overflow: clip;
}

.life__trigger.is-very-long-value span {
  flex: 1 1 0;
  max-width: none;
  overflow: hidden;
  text-overflow: clip;
}

.life__trigger em {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.life__trigger i {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  transform: translateY(-35%);
  transition: transform 180ms ease;
}

.life.is-menu-open .life__trigger i {
  transform: translateY(-55%) rotate(180deg);
}

.life__menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: 418px;
  max-height: 320px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  color: var(--red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.life.is-menu-open .life__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.life__option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--red);
  font-size: 17px;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
}

.life__option:hover,
.life__option.is-active {
  background: rgba(255, 91, 72, 0.12);
}

.life__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px 18px;
}

.life article {
  position: relative;
  min-width: 0;
  height: 149px;
  padding: 68px 24px 18px;
  border-radius: 25px;
  background: #fff;
  color: var(--red);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.life article:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
}

.life article span {
  position: absolute;
  left: 24px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding-bottom: 3px;
  background: url("./assets/щилдик.png") center / contain no-repeat;
  color: #fff;
  font-family: "Sreda", Georgia, serif;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(106, 41, 37, 0.35);
}

.life p {
  margin: 0;
  color: var(--red);
  font-family: "Sreda", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: 380px 386px 360px;
  gap: 30px;
  align-items: center;
  height: 520px;
  padding: 54px 38px;
  color: var(--red);
}

.project__label {
  align-self: end;
  padding-bottom: 42px;
}

.project__label p {
  margin: 0 0 4px;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.05;
}

.project__label h2 {
  margin: 0;
  color: var(--coral);
  font-family: "Sreda", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
}

.project__map {
  position: relative;
  width: 386px;
  height: 386px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: url("./assets/project-map.png") center / cover;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
  isolation: isolate;
}

.project__map::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 4;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  pointer-events: none;
}

.project__map-canvas,
.project__map-fallback {
  position: absolute;
  inset: 0;
}

.project__map-canvas {
  z-index: 2;
}

.project__map-controls {
  position: absolute;
  z-index: 5;
  right: 34px;
  top: 50%;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.project__map-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.project__map-fallback {
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 52% 46%, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.18)),
    url("./assets/project-map.png") center / cover;
  color: #fff;
  text-align: center;
}

.project__map.is-loaded .project__map-fallback {
  opacity: 0;
  pointer-events: none;
}

.project__map-fallback span,
.project__map-fallback strong {
  grid-area: 1 / 1;
}

.project__map-fallback span {
  transform: translateY(55px);
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.project__map-fallback strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 6px solid var(--coral);
  border-radius: 50% 50% 50% 0;
  background: #fff;
  color: transparent;
  font-size: 18px;
  transform: translateY(-30px) rotate(-45deg);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22);
}

.project__map-fallback strong::before {
  content: attr(data-count);
  color: var(--coral);
  transform: rotate(45deg);
}

.project__map .ymaps-2-1-79-map,
.project__map .ymaps-2-1-79-inner-panes,
.project__map .ymaps-2-1-79-events-pane {
  border-radius: 50%;
}

.project__map .ymaps-2-1-79-controls__control,
.project__map .ymaps-2-1-79-copyright,
.project__map .ymaps-2-1-79-map-copyrights-promo,
.project__map .ymaps-2-1-79-gotoymaps,
.project__map .ymaps-2-1-79-copyrights-pane,
.project__map .ymaps-2-1-79-copyright__wrap,
.project__map .ymaps-2-1-79-copyright__content,
.project__map .ymaps-2-1-79-map-copyrights-promo,
.project__map [class*="copyright"],
.project__map [class*="gotoymaps"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.project__copy {
  align-self: start;
  padding-top: 68px;
}

.project__copy p {
  width: 360px;
  margin: 0 0 210px;
  font-size: 24px;
  line-height: 1.08;
}

.project a {
  height: 49px;
  padding: 0 32px;
  font-size: 20px;
}

.join {
  height: 470px;
  margin: 0 15px 24px;
  padding: 70px 0 0 150px;
  border-radius: 25px;
  background: var(--gray);
  color: #111;
}

.join h2 {
  margin: 0 0 20px;
  font-family: "Sreda", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.join form {
  position: relative;
  width: 960px;
  min-height: 292px;
  padding: 48px 45px 36px;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(106, 41, 37, 0.04);
}

.join p {
  margin: 0 0 11px;
  color: #111;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}

.join input[type="text"],
.join input[type="tel"],
.join input[type="email"] {
  width: 300px;
  height: 19px;
  border: 0;
  border-bottom: 1px solid #b8b8b8;
  color: #111;
  font: 300 13px/1 "Montserrat", Arial, sans-serif;
  outline: none;
  transition: border-color 160ms ease;
}

.join p:nth-of-type(1) input {
  width: 130px;
  margin-right: 270px;
}

.join p:nth-of-type(2) input {
  width: 535px;
}

.join p:nth-of-type(3) input[type="tel"] {
  width: 250px;
  margin-right: 12px;
}

.join p:nth-of-type(3) input[type="email"] {
  width: 300px;
  margin-left: 8px;
}

.join p:nth-of-type(4) input {
  width: 625px;
}

.join input::placeholder {
  color: #aaaeb4;
}

.join input[type="text"]:focus,
.join input[type="tel"]:focus,
.join input[type="email"]:focus {
  border-bottom-color: var(--coral);
}

.join label {
  position: absolute;
  left: 45px;
  bottom: 55px;
  display: flex;
  gap: 13px;
  align-items: center;
  width: 620px;
  margin: 0;
  color: #333;
  font-size: 12px;
  line-height: 1.25;
}

.join label input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  appearance: none;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.join label input:checked {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: inset 0 0 0 5px #fff;
}

.join label span {
  color: var(--coral);
}

.join button {
  position: absolute;
  right: 42px;
  bottom: 47px;
  width: 215px;
  height: 46px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--coral-light), var(--coral));
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.join button::after {
  content: "→";
  margin-left: 22px;
  font-family: Arial, sans-serif;
}

.footer {
  display: flex;
  align-items: center;
  width: 1251px;
  height: 49px;
  margin: 0 auto 19px;
  padding: 0 25px;
  border-radius: 25px;
  background: var(--gray);
  color: #8d8d8d;
  font-size: 16px;
}

.footer > a {
  width: 360px;
}

.footer span {
  flex: 1;
  text-align: center;
}

.footer__social {
  display: flex;
  gap: 9px;
  width: 360px;
  justify-content: flex-end;
}

.footer__social a {
  display: grid;
  place-items: center;
  min-width: 29px;
  width: auto;
  height: 29px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: #777;
  font-size: 10px;
  text-transform: uppercase;
}

.join form::after {
  content: "Заявка подготовлена";
  position: absolute;
  right: 54px;
  bottom: 132px;
  color: var(--coral);
  font-size: 16px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.join form.is-sent::after {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.46);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 48px));
  padding: 38px;
  border-radius: 25px;
  background: #fff;
  color: var(--red);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.modal__panel--compact {
  width: min(520px, calc(100vw - 48px));
}

.modal__panel h2 {
  margin: 0 0 26px;
  color: var(--coral);
  font-family: "Sreda", Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
}

.modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--gray);
  cursor: pointer;
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 16px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.modal__close::before {
  transform: rotate(45deg);
}

.modal__close::after {
  transform: rotate(-45deg);
}

.modal label {
  display: block;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
}

.modal label span {
  display: block;
  margin-bottom: 7px;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 16px;
  background: #fff;
  color: #111;
  font: 400 16px/1.2 "Montserrat", Arial, sans-serif;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.modal input,
.modal select {
  height: 48px;
  padding: 0 16px;
}

.modal textarea {
  min-height: 104px;
  padding: 14px 16px;
  resize: vertical;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 94, 69, 0.12);
}

.modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.modal__experience {
  display: none;
}

.modal__panel.is-moderator .modal__experience {
  display: block;
}

.modal__consent {
  display: flex !important;
  gap: 12px;
  align-items: center;
  margin-top: 6px !important;
  font-weight: 400 !important;
}

.modal__consent input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: var(--coral);
}

.modal__consent span {
  margin: 0 !important;
}

.modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  margin-top: 12px;
  border: 0;
  border-radius: 27px;
  background: linear-gradient(180deg, var(--coral-light), var(--coral));
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.modal__status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--coral);
  font-size: 14px;
}

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes digitFlip {
  0% { transform: translateY(0) rotateX(0deg); }
  45% { transform: translateY(-7px) rotateX(35deg); }
  100% { transform: translateY(0) rotateX(0deg); }
}

@keyframes brandMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(255,255,255,0.18); }
}

@keyframes playPulseCentered {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 12px rgba(255,255,255,0.2); }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  img,
  video {
    max-width: 100%;
  }

  .site {
    width: 100%;
    margin: 0;
    overflow: hidden;
  }

  .hero {
    height: 430px;
    padding: 0;
  }

  .top-nav {
    left: 16px;
    top: 14px;
    width: calc(100vw - 32px);
    height: 46px;
    padding: 0 18px;
    border-radius: 23px;
  }

  .top-nav__brand {
    width: auto;
    flex: 1;
    font-size: 16px;
    text-align: center;
  }

  .top-nav__links,
  .top-nav__search {
    display: none;
  }

  .hero__image--bg,
  .hero__image--people {
    left: 12px;
    top: 64px;
    width: calc(100vw - 24px);
    height: 303px;
    border-radius: 20px;
  }

  .hero__image--bg {
    z-index: 1;
  }

  .hero__image--people {
    z-index: 3;
  }

  .hero__image--bg img,
  .hero__image--people img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: none;
  }

  .hero__image--people img {
    object-position: center top;
  }

  .hero__blur,
  .hero__union {
    display: none;
  }

  .hero__wordmark {
    z-index: 2;
    display: block;
    left: 12px;
    top: 64px;
    width: calc(100vw - 24px);
    height: 148px;
    overflow: hidden;
    opacity: 0.78;
  }

  .hero__wordmark img {
    left: -6%;
    top: 0;
    width: 112%;
    height: auto;
  }

  .hero__cream {
    display: none;
  }

  .hero__about {
    display: none;
  }

  .join-button {
    z-index: 8;
    display: block;
    left: 26px;
    top: 382px;
    width: 210px;
    height: 48px;
    font-size: 18px;
    line-height: 48px;
  }

  .counter {
    z-index: 7;
    left: 16px;
    top: 254px;
    width: calc(100vw - 32px);
    height: 101px;
    padding: 0 12px 10px;
    border-radius: 18px;
  }

  .counter__title {
    gap: 8px;
    font-size: 15px;
    line-height: 32px;
  }

  .counter__title span {
    padding-right: 0;
    font-size: 14px;
  }

  .counter__digits {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
  }

  .counter__digits span {
    height: 62px;
    border-radius: 8px;
    font-size: clamp(36px, 13vw, 50px);
  }

  .counter__line {
    top: 64px;
    width: 100%;
  }

  .quote {
    height: auto;
    padding: 44px 22px 52px;
  }

  .quote blockquote,
  .quote__author,
  .quote__caption {
    width: auto;
    margin-left: 0;
  }

  .quote blockquote {
    font-size: 26px;
    line-height: 1.25;
  }

  .quote__author {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.35;
    text-align: right;
  }

  .quote__caption {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
  }

  .start {
    height: auto;
    margin: 0 16px;
    padding: 28px 0 0;
  }

  .start::before {
    height: 430px;
    border-radius: 22px;
  }

  .start h1 {
    position: relative;
    left: auto;
    top: auto;
    padding: 0 18px;
    font-size: 30px;
    line-height: 1.12;
  }

  .start h1 span {
    display: block;
    margin-top: 4px;
    font-size: 24px;
  }

  .video {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 32px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 26px 16px 0;
    border-radius: 20px;
  }

  .video__play,
  .videos__sound {
    width: 64px;
    height: 64px;
  }

  .video__play::before {
    left: 26px;
    top: 19px;
    border-top-width: 13px;
    border-bottom-width: 13px;
    border-left-width: 21px;
  }

  .start__city {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin-top: 52px;
    padding: 34px 0 38px;
    border-radius: 22px;
  }

  .start__city-title,
  .start__text,
  .start__closing {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

  .start__city-title {
    font-size: 27px;
  }

  .start__text {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.28;
  }

  .gallery {
    position: relative;
    left: auto;
    top: auto;
    height: 150px;
    margin-top: 28px;
    overflow: hidden;
  }

  .gallery img {
    width: 230px;
    height: 150px;
    border-radius: 16px;
  }

  .gallery__button {
    width: 44px;
    height: 44px;
  }

  .gallery__button--prev {
    left: 14px;
  }

  .gallery__button--next {
    right: 14px;
  }

  .start__closing {
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.25;
  }

  .start__closing br {
    display: none;
  }

  .brand-line,
  .brand-line--lower {
    height: 132px;
    padding-top: 20px;
    font-size: 25px;
    line-height: 1;
  }

  .brand-line__track,
  .brand-line__group {
    gap: 22px;
  }

  .brand-line img {
    width: 44px;
    height: 46px;
  }

  .team {
    height: auto;
    padding: 36px 20px 44px;
  }

  .team__support,
  .team__people,
  .team__next,
  .team__rail,
  .team__featured {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .team__support {
    display: block;
  }

  .team__support-copy h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .team__support-copy p {
    font-size: 25px;
  }

  .team__governor {
    grid-template-columns: 96px 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .team__governor img {
    width: 96px;
    height: 96px;
  }

  .team__governor p {
    font-size: 28px;
  }

  .team__people {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .team__people article {
    grid-template-columns: 72px 1fr;
    gap: 15px;
  }

  .team__people img {
    width: 72px;
    height: 72px;
  }

  .team__people p {
    font-size: 24px;
  }

  .team__next {
    display: none;
  }

  .team__rail {
    display: none;
  }

  .team__featured {
    width: 100%;
    margin-top: 34px;
  }

  .team__featured img {
    width: 138px;
    height: 138px;
  }

  .team__featured h3 {
    font-size: 25px;
  }

  .values {
    min-height: 0;
    margin: 0 16px;
    padding: 34px 18px 38px;
    border-radius: 22px;
  }

  .values__top {
    display: block;
  }

  .values h2 {
    font-size: 28px;
    line-height: 1.13;
    overflow-wrap: normal;
  }

  .values h2 br {
    display: none;
  }

  .values a {
    width: auto;
    height: 44px;
    margin-top: 22px;
    padding: 0 22px;
    font-size: 16px;
  }

  .values__cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-height: 980px;
    margin-top: 28px;
  }

  .values.is-expanded .values__cards {
    max-height: 5600px;
  }

  .values__card,
  .values__card-inner {
    min-height: 300px;
  }

  .values__face {
    padding: 24px 22px;
  }

  .values__number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-basis: 38px;
    border-radius: 50%;
  }

  .values__front-image {
    width: 126px;
    height: 126px;
  }

  .values__card .values__front-title,
  .values__card h3 {
    max-width: 100%;
    font-size: 24px;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    text-wrap: balance;
  }

  .values__card.is-title-long .values__front-title,
  .values__card.is-title-long h3 {
    font-size: 21px;
    line-height: 1.08;
  }

  .values__card.is-title-xl .values__front-title,
  .values__card.is-title-xl h3 {
    font-size: 18px;
    line-height: 1.12;
  }

  .values__card p {
    font-size: 16px;
    line-height: 1.32;
    overflow-wrap: normal;
    word-break: normal;
  }

  .game {
    position: relative;
    height: auto;
    padding: 44px 20px 40px;
  }

  .game__copy,
  .game p {
    width: auto;
  }

  .game h2 {
    font-size: 31px;
    white-space: normal;
  }

  .game p {
    margin: 28px 0 22px;
    font-size: 18px;
    line-height: 1.22;
  }

  .game__actions {
    flex-direction: column;
    gap: 12px;
  }

  .game .game__actions a,
  .game .game__actions button {
    width: 100%;
    height: 50px;
    font-size: 18px;
  }

  .game__cards {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin-top: 28px;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .game__image,
  .game__image--next {
    width: 300px;
    height: 170px;
    border-radius: 18px;
  }

  .game__download {
    position: absolute;
    z-index: 5;
    right: 32px;
    top: 420px;
    width: 116px;
    height: 42px;
    font-size: 17px;
  }

  .videos {
    height: auto;
    margin: 0 16px;
    padding: 30px 16px 36px;
    border-radius: 22px;
  }

  .videos h2 {
    padding-right: 110px;
    font-size: 32px;
    line-height: 1.05;
  }

  .videos > p {
    font-size: 22px;
    line-height: 1.18;
  }

  .videos__download {
    right: 16px;
    top: 30px;
    width: 96px;
    height: 40px;
    font-size: 16px;
  }

  .videos__strip {
    gap: 18px;
    height: 470px;
    margin-top: 22px;
    overflow: hidden;
  }

  .videos article,
  .videos article.is-active {
    width: 220px;
    height: 390px;
  }

  .videos article:not(.is-active) {
    width: 150px;
    height: 315px;
    opacity: 0.58;
  }

  .videos__sound {
    left: 14px;
    top: 14px;
  }

  .videos__sound-icon {
    width: 28px;
    height: 28px;
  }

  .videos__nav {
    top: auto;
    bottom: 28px;
    width: 48px;
    height: 48px;
  }

  .videos__nav--prev {
    left: 36px;
  }

  .videos__nav--next {
    right: 36px;
  }

  .faq {
    margin: 0 16px;
    border-radius: 22px;
  }

  .faq__row {
    grid-template-columns: 52px 62px minmax(0, 1fr) 44px;
    grid-template-rows: minmax(96px, auto) 0;
    min-height: 96px;
    padding: 0 14px;
  }

  .faq__row span {
    width: 38px;
    height: 38px;
    margin-left: 0;
    font-size: 20px;
  }

  .faq__row img {
    width: 50px;
    height: 50px;
  }

  .faq__row h3 {
    font-size: 17px;
    line-height: 1.18;
  }

  .faq__row::after {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .faq__row.is-open {
    min-height: 210px;
    grid-template-rows: minmax(96px, auto) auto;
  }

  .faq__answer {
    grid-column: 2 / 5;
    max-width: none;
    font-size: 15px;
    line-height: 1.25;
  }

  .faq__row.is-open .faq__answer {
    max-height: 180px;
    margin: 0 0 24px;
  }

  .project {
    display: block;
    height: auto;
    padding: 48px 20px;
  }

  .project__label {
    padding: 0;
  }

  .project__label p {
    font-size: 28px;
  }

  .project__label h2 {
    font-size: 32px;
  }

  .project__map {
    width: min(78vw, 300px);
    height: min(78vw, 300px);
    margin: 28px auto;
  }

  .project__copy {
    padding: 0;
  }

  .project__copy p {
    width: auto;
    margin: 0 0 24px;
    font-size: 19px;
    line-height: 1.2;
  }

  .project a {
    width: 100%;
    height: 50px;
  }

  .join {
    height: auto;
    margin: 0 16px 22px;
    padding: 34px 18px;
    border-radius: 22px;
  }

  .join h2 {
    font-size: 31px;
  }

  .join form {
    width: 100%;
    min-height: 0;
    padding: 26px 18px 24px;
    border-radius: 22px;
  }

  .join p {
    display: block;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
  }

  .join input[type="text"],
  .join input[type="tel"],
  .join input[type="email"],
  .join p:nth-of-type(1) input,
  .join p:nth-of-type(2) input,
  .join p:nth-of-type(3) input[type="tel"],
  .join p:nth-of-type(3) input[type="email"],
  .join p:nth-of-type(4) input {
    display: block;
    width: 100%;
    height: 30px;
    margin: 6px 0 0;
    font-size: 15px;
  }

  .join label {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 22px;
    font-size: 12px;
  }

  .join button {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }

  .join form::after {
    right: 18px;
    bottom: 78px;
    font-size: 14px;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: calc(100vw - 32px);
    height: auto;
    min-height: 116px;
    margin: 0 16px 18px;
    padding: 18px;
    border-radius: 22px;
    font-size: 13px;
    text-align: center;
  }

  .footer > a,
  .footer__social {
    width: auto;
  }

  .modal {
    padding: 14px;
  }

  .modal__panel,
  .modal__panel--compact {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    padding: 28px 18px;
    border-radius: 22px;
    overflow-y: auto;
  }

  .modal__panel h2 {
    padding-right: 36px;
    font-size: 30px;
  }

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

  .modal__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
