.hero {
  position: relative;
  isolation: isolate;
  min-height: 1480px;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background-color: #050505;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


.hero__glow {
  position: absolute;
  z-index: -1;
  width: min(2000px, 100vw);
  height: 350px;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background:
  radial-gradient(
  ellipse,
  #FF9C6780 0%,
  transparent 70%
  );
}

  .hero__heading {
  position: absolute;
  top: 291px;
  left: clamp(24px, 5.2vw, 100px);
  width: min(412px, 42vw);
  height: 330px;
  margin: 0;
  color: #ffffff;
  font-family: "Angry", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 150px;
  line-height: 100%;
  letter-spacing: 0;
  opacity: 0;
  translate: -120px 0;
}
.hero__heading--ready {
  animation: hero-heading-enter 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-heading-enter {
  from {
    opacity: 0;
    translate: -120px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__heading {
    animation: none;
  }

  .hero__heading--ready {
    opacity: 1;
    translate: 0;
  }
}

.hero__heading span {
  color: #FF9C67;
}



.hero__copy {
  position: absolute;
  top: 291px;
  right: clamp(24px, 5.2vw, 100px);
  font-family: "Anonymous Pro", monospace;
  font-size: 20px;
  line-height: 111%;
  letter-spacing: 0;
  width: min(532px, 40vw);
  height: auto;
  color: #ffffff;
  text-align: right;
  margin: 0;
}

.hero__copy p {
  margin: 0;
}

.hero__copy .hero_greeting {
  color: #FF9C67;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero__description {
  font-weight: 400;
}

.hero__copy .hero__description--spaced {
  margin-top: 30px;
}

.hero__typing-cursor {
  display: inline-block;
  height: 1em;
  margin-left: 2px;
  border-right: 1px solid currentColor;
  vertical-align: -0.12em;
  animation: hero-typing-blink 0.8s steps(2, start) infinite;
}

@keyframes hero-typing-blink {
  to { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__typing-cursor {
    animation: none;
  }
}

@font-face {
    font-family: "Angry";
    src: url("font/Angry.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

.hero__logo {
  width: 321px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-top: 12px;
}


.hero__portrait-wrap {
  position: absolute;
  z-index: -1;
  top: 206.12px;
  left: 0;
  width: 100%;
  aspect-ratio: 1914.52 / 1068.57;
  height: auto;
}

.hero__portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__portrait {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 12%,
    black 15%,
    black 70%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 70%,
    transparent 100%
  );
}


.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 600fr) minmax(0, 700fr);
  column-gap: clamp(32px, 26.98vw, 518px);
  row-gap: 50px;
  width: calc(100% - 120px);
  max-width: 1800px;
  margin: 0 auto;
}

.about {
  color: #ffffff;
}

.about-reveal {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--about-reveal-delay, 0ms);
}

.about-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .about .about-reveal,
  .projects .about-reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

.about h2 {
  margin: 0 0 8px;
  text-align: center;
  font-family: "Angry", sans-serif;
  font-size: 70px;
  font-weight: 400;
}

.about h2 span {
  color: #FF9C67;
}

.about__item {
  font-size: 25px;
  line-height: 111%;
  width: 100%;
  height: auto;
  color: #ffffff;
  font-family: "Anonymous Pro", monospace;
}

.about__item:nth-child(2),
.about__item:nth-child(4) {
  width: 100%;
  justify-self: start;
}

.about h3 {
  color: #FF9C67;
  font-family: "Anonymous Pro", monospace;

}


.about__qualities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 320px));
  justify-content: center;
  gap: 24px;
  width: calc(100% - 32px);
  max-width: 1696px;
  margin: 64px auto 0;
}

.about__quality {
  width: 100%;
  height: 196px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 12px;
  background: #080808;
  border: 1px solid #292929;
  border-radius: 37px;
  translate: var(--about-card-x, 0px) 0;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  transition-delay: var(--about-reveal-delay, 0ms), var(--about-reveal-delay, 0ms),
    0ms, 0ms, 0ms;
}

.about__quality.about-reveal {
  translate: var(--about-card-x, 0px) 40px;
}

.about__quality.about-reveal.is-visible {
  translate: var(--about-card-x, 0px) 0;
}

@media (hover: hover) and (pointer: fine) {
  .about__quality:hover {
    transform: translateY(-5px);
    border-color: #FF9C67;
    box-shadow: 0 8px 24px rgb(255 156 103 / 12%);
  }
}

.about__quality img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.about__quality h3 {
  margin: 0;
  color: #fff;
  font-family: "Anonymous Pro", monospace;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.about__quality:nth-child(6) {
  grid-column: 2;
  grid-row: 2;
  --about-card-x: 172px;
}

.about__quality:nth-child(7) {
  grid-column: 4;
  grid-row: 2;
  --about-card-x: -172px;
}

@media (max-width: 1727px) {
  .about__qualities {
    grid-template-columns: repeat(4, 320px);
    max-width: 1352px;
  }

  .about__quality:nth-child(6),
  .about__quality:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 1383px) {
  .about__qualities {
    grid-template-columns: repeat(3, 320px);
    max-width: 1008px;
  }
}

@media (max-width: 1039px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 32px;
    width: calc(100% - 36px);
    max-width: 700px;
    margin: 0 auto;
  }

  .about__grid .about__item,
  .about__grid .about__item:nth-child(2),
  .about__grid .about__item:nth-child(4) {
    width: 100%;
  }

  .about__qualities {
    grid-template-columns: repeat(2, 320px);
    max-width: 664px;
  }

  .about__quality:nth-child(6),
  .about__quality:nth-child(7) {
    --about-card-x: 0px;
  }
}

@media (max-width: 695px) {
  .about__qualities {
    grid-template-columns: minmax(0, 1fr);
    max-width: 320px;
  }

  .about__quality {
    width: 100%;
  }

  .about__quality:nth-child(6),
  .about__quality:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Секция партнёров */
/* Partners carousel */
.partners {
  padding: 80px 0;
  overflow: hidden;
  background: #000;
}

.partners__title {
  margin: 0 0 45px;
  text-align: center;
  color: #fff;
  font-family: "Angry", sans-serif;
  font-size: 72px;
  font-weight: 400;
}

.partners__title span {
  color: #FF9C67;
}

.partners__carousel {
  width: 100%;
  overflow: hidden;
}

.partners__carousel + .partners__carousel {
  margin-top: 16px;
}

.partners__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: partners-move-right var(--partners-duration, 90s) linear infinite;
}

.partners__track--left {
  animation-name: partners-move-left;
}

.partners__carousel:nth-of-type(1) { --partners-duration: 90s; }
.partners__carousel:nth-of-type(2) { --partners-duration: 94s; }
.partners__carousel:nth-of-type(3) { --partners-duration: 92s; }
.partners__carousel:nth-of-type(4) { --partners-duration: 96s; }

.partners__group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}

.partners__card {
  display: flex;
  flex: 0 0 495px;
  width: 495px;
  height: 204px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  background: #080808;
  border: 1px solid #292929;
  border-radius: 37px;
}

.partners__card img {
  display: block;
  flex: 0 0 187px;
  width: 187px;
  height: 77px;
  object-fit: contain;
}

@keyframes partners-move-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes partners-move-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .partners {
    padding: 56px 0;
  }

  .partners__title {
    margin-bottom: 32px;
    font-size: clamp(36px, 9vw, 56px);
  }
}


/* Секция проектов */
.projects {
  padding: 60px 20px;
  color: #fff;
  background: #000;
  overflow: hidden;
}

/* Заголовок */
.projects__title {
  margin: 0 0 56px;
  text-align: center;
  font-family: "Angry", sans-serif;
  font-size: 70px;
  font-weight: 1,116px;
  line-height: 1.2;
}

.projects__title span {
  color: #FF9C67;
}

/* Контейнер категорий */
.projects__categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.projects__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.projects__tag {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 83px;
  min-height: 83px;
  padding: 0 8px;
  box-sizing: border-box;

  color: #fff;
  font-family: "Anonymous Pro", monospace;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;

  background: #080808;
  border: 1px solid #292929;
  border-radius: 14px;
  box-shadow: 0 2px 4px rgb(255 156 103 / 10%);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .projects__tag:hover {
    transform: translateY(-5px);
    border-color: #FF9C67;
    box-shadow: 0 6px 18px rgb(255 156 103 / 16%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects__tag {
    transition: none;
  }

  .projects__tag:hover {
    transform: none;
  }
}

.projects__row:nth-child(1) .projects__tag:nth-child(1) {
  width: 249px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(1) .projects__tag:nth-child(2) {
  width: 362px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(1) .projects__tag:nth-child(3) {
  width: 247px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(1) .projects__tag:nth-child(4) {
  width: 231px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(1) .projects__tag:nth-child(5) {
  width: 165px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(1) .projects__tag:nth-child(6) {
  width: 132px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(1) .projects__tag:nth-child(7) {
  width: 165px;
  flex-basis: 115px;
  border-radius: 37px;
}
.projects__row:nth-child(2) .projects__tag:nth-child(1) {
  width: 182px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(2) .projects__tag:nth-child(2) {
  width: 182px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(2) .projects__tag:nth-child(3) {
  width: 165px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(2) .projects__tag:nth-child(4) {
  width: 165px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(2) .projects__tag:nth-child(5) {
  width: 132px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(2) .projects__tag:nth-child(6) {
  width: 165px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(2) .projects__tag:nth-child(7) {
  width: 345px;
  flex-basis: 295px;
  border-radius: 37px;
}
.projects__row:nth-child(2) .projects__tag:nth-child(8) {
  width: 165px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(3) .projects__tag:nth-child(1) {
  width: 231px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(3) .projects__tag:nth-child(2) {
  width: 231px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(3) .projects__tag:nth-child(3) {
  width: 296px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(3) .projects__tag:nth-child(4) {
  width: 182px;
  border-radius: 37px;
  height: 83;
}
.projects__row:nth-child(3) .projects__tag:nth-child(5) {
  width: 198px;
  border-radius: 37px;
  height: 83;
}


/* Contacts */
.contacts {
  padding: 80px 32px 120px;
  color: #fff;
  background: #000;
}

.contacts__title {
  margin: 0 0 56px;
  color: #fff;
  text-align: center;
  font-family: "Angry", sans-serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
}

.contacts__title span {
  color: #FF9C67;
}

.contacts__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.contacts__card {
  flex: 0 0 520px;
  box-sizing: border-box;
  padding: 36px;
  background: #080808;
  border: 1px solid #292929;
  border-radius: 32px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 35%);
}

.contacts__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts__link {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: #fff;
  font-family: "Anonymous Pro", monospace;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.contacts__link img {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contacts__resume {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  box-sizing: border-box;
  margin-top: 34px;
  padding: 12px 20px;
  color: #080808;
  background: #FF9C67;
  border-radius: 18px;
  font-family: "Anonymous Pro", monospace;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.contacts__visual {
  flex: 0 1 760px;
  min-width: 0;
}

.contacts__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3692 / 2788;
  object-fit: contain;
  content: url("assets/images/Group 5 (2).png");
}

@media (max-width: 900px) {
  .hero {
    min-height: 1120px;
  }

  .hero__heading {
    top: clamp(180px, 24vw, 260px);
    left: 24px;
    width: calc(100% - 48px);
    height: auto;
    font-size: clamp(76px, 15vw, 128px);
  }

  .hero__copy {
    top: clamp(560px, 72vw, 700px);
    right: 24px;
    width: min(532px, calc(100% - 48px));
    font-size: clamp(17px, 2.2vw, 20px);
  }

  .about__grid {
    width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 32px;
    max-width: 700px;
  }

  .about__qualities {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 320px));
    justify-content: center;
    max-width: 1008px;
  }

  .about__quality:nth-child(6),
  .about__quality:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
    --about-card-x: 0px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 1080px;
  }

  .hero__logo {
    width: min(321px, 72vw);
  }

  .hero__heading {
    top: 180px;
    left: 18px;
    width: calc(100% - 36px);
    font-size: clamp(64px, 17vw, 100px);
  }

  .hero__copy {
    top: 540px;
    right: 18px;
    width: calc(100% - 36px);
    font-size: 17px;
  }

  .about h2,
  .partners__title,
  .projects__title {
    font-size: clamp(38px, 10vw, 56px);
  }

  .about__grid {
    width: calc(100% - 36px);
  }

  .about__item {
    font-size: 19px;
  }

  .about__qualities {
    width: calc(100% - 36px);
    grid-template-columns: minmax(0, 320px);
    gap: 16px;
  }

  .projects {
    padding: 48px 18px;
  }

  .projects__title {
    overflow-wrap: anywhere;
  }

  .projects__row {
    gap: 12px;
  }

  .projects__tag {
    flex: 1 1 auto;
    width: auto !important;
    flex-basis: auto !important;
    min-height: 56px;
    height: auto !important;
    padding: 10px 12px;
    font-size: 16px;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .contacts {
    padding: 64px 24px 88px;
  }

  .contacts__content {
    flex-direction: column;
    gap: 36px;
  }

  .contacts__card {
    flex-basis: auto;
    width: min(100%, 520px);
  }

  .contacts__visual {
    flex: 0 1 auto;
    width: min(100%, 700px);
  }
}

@media (max-width: 1300px) {
  .contacts__content {
    flex-wrap: wrap;
    gap: 40px;
  }

  .contacts__card {
    flex: 1 1 420px;
    min-width: 0;
  }

  .contacts__visual {
    flex: 1 1 520px;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .contacts {
    padding: 56px 18px 72px;
  }

  .contacts__title {
    margin-bottom: 36px;
    font-size: clamp(38px, 10vw, 54px);
  }

  .contacts__card {
    padding: 24px 20px;
  }

  .contacts__link {
    gap: 14px;
    font-size: 18px;
  }

  .contacts__resume {
    min-height: 56px;
    font-size: 18px;
  }
}
