* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0e0c10;
  --panel: #15121b;
  --panel-2: #1b1722;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.56);
  --accent: #6e23ba;
  --accent-light: #a259ff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: min(1240px, calc(100% - 48px));
  --transition: 0.3s ease;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #0E0C10;
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  overflow: hidden;
}

.hero{
  position: relative;
  height: 960px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95) 0%,   /* плотный чёрный слева */
      rgba(0, 0, 0, 0.45) 75%,   /* почти прозрачно */
      rgba(0, 0, 0, 0) 100%     /* прозрачный справа */
    ),
    url("../img/background-about.webp") center center / cover no-repeat;
  display: flex;
  z-index: 1;
}

.block{
  background: #6E23BA;
  width: 20px;
  height: 100%;
}

.hero_container{
  padding-top: 80px;
  padding-left: 215px;
  display: flex;
  font-family: 'Nunito', sans-serif;
  height: 100%;
}

.hero_container ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.hero_container ul li:last-child {
  margin-top: auto;
  margin-bottom: 100px;
}

.hero_container h1{
  margin-left: -20px;
  margin-top: 200px;
  font-size: 48px;
  font-weight: 800;
}

.hero_container p{
  font-size: 24px;
  font-weight: 100;
  margin-top: 30px;
  margin-left: 30px;
}

.hero_container h2{
  margin-left:30px;
  font-weight:700;
  white-space:nowrap;
}

.typing {
  display: inline-block;
  border-right: 3px solid #a259ff;
  padding-right: 6px;
  white-space: nowrap;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  50% { border-right-color: transparent; }
}

.hero_container a{
  text-decoration:none;
  color:white;
}


.hero_container a:hover h2 {
  text-shadow:
    0 0 10px rgba(162, 89, 255, 0.7),
    0 0 30px rgba(162, 89, 255, 0.4);
}

/* COMMON */
.page-shell {
  width: var(--shell);
  margin: 0 auto;
}

.about-intro,
.team-section,
.studio-section,
.trust-section,
.metrics-section,
.story-section {
  padding: 110px 0 0;
}

.story-section {
  padding-bottom: 120px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: end;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.section-heading h2,
.studio-panel h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-heading p,
.intro-card p,
.team-copy p,
.studio-grid p,
.metric-card p,
.story-copy p,
.trust-card span {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

/* INTRO */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-card,
.team-card,
.studio-grid article,
.metric-card,
.trust-card,
.studio-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    linear-gradient(180deg, rgba(110,35,186,0.12), rgba(110,35,186,0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-card,
.metric-card,
.studio-grid article,
.trust-card {
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.intro-card:hover,
.metric-card:hover,
.studio-grid article:hover,
.trust-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(162, 89, 255, 0.3);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(162, 89, 255, 0.18),
    0 0 30px rgba(162, 89, 255, 0.12);
}

.intro-card {
  padding: 28px;
}

.intro-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 20px;
  background: rgba(110,35,186,0.16);
  border: 1px solid rgba(162,89,255,0.24);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.intro-card h3,
.team-copy h3,
.studio-grid h3,
.metric-card h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.12;
  margin-bottom: 14px;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius-xl);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.team-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
}


.team-photo-wrap img {
  width: min(100%, 230px);
  max-height: 270px;
  object-fit: contain;
}

.team-role-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(110,35,186,0.18);
  border: 1px solid rgba(162,89,255,0.28);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-copy h3 {
  color: var(--accent-light);
  margin-bottom: 8px;
}

.team-role {
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
  font-weight: 700;
}

.team-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.team-socials a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.team-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(162,89,255,0.28);
  background: rgba(162,89,255,0.06);
  box-shadow: 0 0 16px rgba(162,89,255,0.12);
}

.team-socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* STUDIO */
.studio-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(110,35,186,0.20), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.studio-heading {
  margin-bottom: 28px;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.studio-grid article {
  padding: 24px;
}

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

.trust-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    linear-gradient(180deg, rgba(110,35,186,0.10), rgba(110,35,186,0.02));
  border: 1px solid rgba(162,89,255,0.14);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(162,89,255,0.28);
  box-shadow:
    0 14px 36px rgba(0,0,0,0.28),
    0 0 20px rgba(162,89,255,0.10);
}

.trust-card img {
  max-width: 190px;
  max-height: 40px;
  object-fit: contain;
  opacity: 0.95;
}

.trust-card--wordmark span {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

/* METRICS */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  padding: 22px;
  min-height: 128px;
}

.metric-line {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--accent-light), rgba(162, 89, 255, 0.22));
}

.metric-card h3 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
}

.metric-card p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.45;
}

/* STORY */
.story-list {
  display: grid;
  gap: 22px;
}

.story-item {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(26px);
  background: transparent;
  border: none;
  box-shadow: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.story-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.story-item:hover {
  transform: translateY(0);
  border: none;
  box-shadow: none;
  background: transparent;
}

.story-date {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(162,89,255,0.32);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  overflow: visible;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    color 0.35s ease;
}

.story-date::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(162,89,255,0);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.story-date.pulse {
  color: #ffffff;
  border-color: rgba(162,89,255,0.56);
  transform: translateY(-1px);
}

.story-date.pulse::after {
  opacity: 1;
  border-color: rgba(162,89,255,0.24);
  box-shadow:
    0 0 16px rgba(162,89,255,0.16),
    0 0 32px rgba(162,89,255,0.10);
}

.story-copy {
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.story-copy h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  color: #fff;
  line-height: 1.3;
}

.story-copy p {
  color: var(--muted);
  margin: 0;
}


@media (max-width: 1820px) {
  .hero_container {
    padding-left: 195px;
  }

  .hero_container h1 {
    font-size: 46px;
    margin-top: 190px;
  }

  .hero_container p {
    font-size: 23px;
  }
}

@media (max-width: 1740px){

  .hero_container{ padding-left: 180px; }
  .hero_container h1{ font-size: 44px; margin-top: 185px; }
  .hero_container p{ font-size: 22px; }
}

@media (max-width: 1680px){

  .hero_container{ padding-left: 165px; }

  .hero_container h1{ font-size: 42px; margin-top: 180px; }
  .hero_container p{ font-size: 21px; }
}

@media (max-width: 1530px) {
  .hero {
    height: 880px;
  }

  .hero_container {
    padding-left: 140px;
  }

  .hero_container h1 {
    font-size: 39px;
    margin-top: 165px;
  }

  .hero_container p {
    font-size: 19px;
  }
}

/* RESPONSIVE */
@media (max-width: 1440px) {
  .hero{ height: 860px; }
  .hero_container{padding-left: 125px;}
  .hero_container h1{ font-size: 38px; margin-top: 155px; }
  .hero_container p{ font-size: 18px; }
}

@media (max-width: 1360px) {

  .hero {
    height: 830px;
  }

  .hero_container {
    padding-left: 110px;
  }

  .hero_container h1 {
    font-size: 36px;
    margin-top: 145px;
  }

  .hero_container p {
    font-size: 17px;
  }
}

ё@media (max-width: 1280px) {
  .hero {
    height: 800px;
  }

  .hero_container {
    padding-left: 95px;
  }

  .hero_container h1 {
    font-size: 34px;
    margin-top: 135px;
  }

  .hero_container p {
    font-size: 16px;
  }
}

@media (max-width: 1200px) {
  :root {
    --shell: min(1100px, calc(100% - 40px));
  }

  .hero{ height: 770px; }

  .hero_container{ padding-left: 75px; }


  .hero_container h1{ font-size: 33px; margin-top: 125px; }
  .hero_container p{ font-size: 15.5px; }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .intro-grid,
  .studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .hero {
    height: 740px;
  }

  .hero_container {
    padding-left: 55px;
  }

  .hero_container h1 {
    font-size: 32px;
    margin-top: 115px;
  }

  .hero_container p {
    font-size: 15px;
  }
}

@media (max-width: 1040px) {
  .hero {
    height: 720px;
  }

  .hero_container {
    padding-left: 40px;
  }

  .hero_container h1 {
    font-size: 30px;
    margin-top: 105px;
  }

  .hero_container p {
    font-size: 14.5px;
  }
}

@media (max-width: 1024px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .hero{ height: 680px; }

  .hero_container{
    padding-left: 28px;
    padding-right: 28px;
  }


  .hero_container h1{
    font-size: 30px;
    margin-top: 95px;
  }

  .hero_container p{
    font-size: 14px;
  }

  .hero_container ul li:last-child{
    margin-bottom: 60px;
  }

  .about-intro,
  .team-section,
  .studio-section,
  .trust-section,
  .metrics-section,
  .story-section {
    padding-top: 84px;
  }

  .intro-grid,
  .studio-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .team-card {
    grid-template-columns: 1fr;
  }

  .story-item {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .story-date {
    justify-self: start;
  }

  .story-copy {
    padding-left: 2px;
  }

  .metric-card {
    padding: 20px;
    min-height: 118px;
  }

  .metric-card h3 {
    font-size: clamp(28px, 4vw, 40px);
  }

  .metric-card p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  :root {
    --shell: calc(100% - 24px);
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
  }

  .hero{
    position: relative;
    height: 100vh;
    min-height: 620px;
  }

  .block{
    display: block !important;
    width: 10px;
    height: 100%;
    background: #6E23BA;
    flex: 0 0 10px;
  }

  .hero_container{
    height: 100%;
    padding-top: 72px;
    padding-left: 28px;
    padding-right: 16px;
  }

  .hero_container ul{
    height: 100%;
  }

  .hero_container h1{
    margin-left: -10px;
    margin-top: 150px;
    font-size: 34px;
    line-height: 1.08;
  }

  .hero_container p{
    margin-left: 20px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.6;
    max-width: 640px;
  }

  .hero_container h2{
    margin-left: 20px;
    font-size: 22px;
    line-height: 1.2;
    white-space: normal;
  }

  .hero_container ul li:last-child{
    margin-top: auto;
    margin-bottom: 90px;
  }

  .about-intro,
  .team-section,
  .studio-section,
  .trust-section,
  .metrics-section,
  .story-section {
    padding-top: 72px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-kicker {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .section-heading h2,
  .studio-panel h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .section-heading p,
  .intro-card p,
  .team-copy p,
  .studio-grid p,
  .metric-card p,
  .story-copy p,
  .trust-card span {
    font-size: 16px;
    line-height: 1.65;
  }

  .intro-card,
  .studio-grid article,
  .trust-card,
  .team-card,
  .studio-panel {
    padding: 22px;
  }

  .team-photo-wrap {
    min-height: 220px;
    border-radius: 22px;
  }

  .team-photo-wrap img {
    width: min(100%, 190px);
    max-height: 220px;
  }

  .team-copy h3,
  .intro-card h3,
  .studio-grid h3,
  .metric-card h3 {
    font-size: 24px;
  }

  .team-socials {
    gap: 10px;
  }

  .team-socials a {
    width: 42px;
    height: 42px;
  }

  .trust-card {
    min-height: 84px;
    padding: 16px;
  }

  .trust-card img {
    max-width: 160px;
    max-height: 36px;
  }

  .trust-card--wordmark span {
    font-size: 22px;
  }

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

  .metric-card {
    padding: 18px;
    min-height: 108px;
  }

  .metric-line {
    margin-bottom: 16px;
  }

  .metric-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .metric-card p {
    font-size: 14px;
    line-height: 1.4;
  }

  .story-list {
    gap: 18px;
  }

  .story-item {
    gap: 8px;
    padding: 2px 0;
  }

  .story-date {
    min-height: 48px;
    font-size: 12px;
    padding: 12px 14px;
  }

  .story-copy {
    padding-left: 1px;
  }

  .story-copy h3 {
    font-size: 17px;
    line-height: 1.45;
  }

  .story-date::after {
    inset: -4px;
  }
}

@media (max-width: 560px) {
  .hero{
    position: relative;
    height: 100vh;
    min-height: 560px;
  }

  .block{
    display: block !important;
    width: 6px;
    height: 100%;
    background: #6E23BA;
    flex: 0 0 6px;
  }

  .hero_container{
    height: 100%;
    padding-top: 64px;
    padding-left: 16px;
    padding-right: 12px;
  }

  .hero_container ul{
    height: 100%;
  }

  .hero_container h1{
    margin-left: -5px;
    margin-top: 60px;
    font-size: 28px;
    line-height: 1.08;
  }

  .hero_container p{
    margin-left: 12px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.62;
    max-width: 100%;
  }

  .hero_container h2{
    position: relative;
    margin-left: 12px;
    font-size: 20px;
    line-height: 1.2;
  }

  .hero_container ul li:last-child{
    margin-top: auto;
    margin-bottom: 72px;
  }

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

  .metric-card {
    min-height: 100px;
  }

  .story-item {
    gap: 8px;
  }

  .story-copy {
    padding-left: 0;
  }

  .story-copy h3 {
    font-size: 16px;
    line-height: 1.5;
  }

  .intro-grid,
  .team-grid,
  .studio-grid,
  .trust-grid,
  .metrics-grid,
  .story-list {
    gap: 14px;
  }

  .team-card,
  .studio-panel {
    padding: 18px;
  }

  .team-copy h3,
  .intro-card h3,
  .studio-grid h3 {
    font-size: 21px;
  }

  .metric-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 380px) {
  .hero_container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero_container h1 {
    font-size: 30px;
  }

  .story-date {
    width: max-content;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {

  .hero {
    min-height: 520px;
    background-position: center center;
    background-size: cover;
  }

  .hero_container {
    padding-top: 58px;
    padding-left: 12px;
    padding-right: 10px;
  }

  .hero_container h1 {
    margin-left: 0;
    margin-top: 128px;
    font-size: 24px;
  }

  .hero_container p {
    margin-left: 10px;
    font-size: 13px;
    line-height: 1.65;
  }

  .hero_container h2 {
    margin-left: 10px;
    font-size: 17px;
  }

  .hero_container ul li:last-child {
    margin-bottom: 58px;
  }
}
