.page-about {
  --about-fade-distance: 18px;
}

.page-about .about-rail {
  display: none;
}

.page-about .about-hero {
  position: relative;
  padding: 148px 0 72px;
  overflow: hidden;
  color: var(--c-white);
  background:
    radial-gradient(circle at 78% 18%, rgba(57, 255, 20, .12) 0, transparent 28%),
    linear-gradient(128deg, var(--c-deep) 0%, var(--c-blue) 62%, #00A6E8 100%);
}

.page-about .about-hero__slant {
  position: absolute;
  top: -12%;
  right: -22%;
  width: 58%;
  height: 130%;
  background: rgba(255, 107, 107, .16);
  clip-path: polygon(30% 0, 100% 0, 74% 100%, 0 100%);
  pointer-events: none;
}

.page-about .about-hero__year {
  display: none;
}

.page-about .about-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-about .about-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-about .about-hero .breadcrumbs {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  margin-bottom: 8px;
}

.page-about .about-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
}

.page-about .about-hero .breadcrumbs a:hover {
  color: var(--c-lime);
}

.page-about .about-hero .breadcrumbs span[aria-current="page"] {
  color: var(--c-lime);
}

.page-about .about-hero__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-lime);
  border: 1px solid rgba(57, 255, 20, .4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 6px;
}

.page-about .about-hero__title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: .02em;
}

.page-about .about-hero__lead {
  font-size: 17px;
  line-height: 1.7;
  margin: 4px 0 0;
  max-width: 34em;
  opacity: .92;
}

.page-about .about-hero__slogan {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--c-coral);
  border-left: 3px solid var(--c-coral);
  padding-left: 16px;
  margin: 4px 0 0;
}

.page-about .about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.page-about .about-hero .btn--ghost {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .65);
  color: var(--c-white);
}

.page-about .about-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, .22);
}

.page-about .about-hero__visual {
  position: relative;
}

.page-about .about-hero__visual::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 56%;
  height: 56%;
  border-top: 3px solid var(--c-coral);
  border-right: 3px solid var(--c-coral);
  border-radius: 0 var(--radius-lg) 0 0;
  z-index: 1;
}

.page-about .about-hero__frame {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.page-about .about-hero__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-about .about-story {
  background: var(--c-white);
  padding: 88px 0;
}

.page-about .about-story .section-head__title {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  color: var(--c-deep);
  margin-top: 8px;
}

.page-about .about-story__grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.page-about .about-story__item {
  position: relative;
  background: var(--c-paper);
  border-radius: var(--radius-md);
  padding: 28px 22px 22px;
  border-top: 4px solid var(--c-blue);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-about .about-story__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.page-about .about-story__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c-coral);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 14px;
}

.page-about .about-story__item:nth-child(2) .about-story__mark {
  background: var(--c-blue);
}

.page-about .about-story__item:nth-child(3) .about-story__mark {
  background: var(--c-deep);
}

.page-about .about-story__item h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: var(--c-ink);
}

.page-about .about-story__item p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: rgba(43, 32, 36, .8);
}

.page-about .about-timeline {
  padding: 88px 0;
}

.page-about .about-timeline .section-head__intro,
.page-about .about-team .section-head__intro {
  color: var(--c-coral);
}

.page-about .about-timeline__wrap {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}

.page-about .about-timeline__track {
  position: relative;
  display: grid;
  gap: 0;
}

.page-about .about-timeline__track::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-blue) 0%, var(--c-coral) 60%, var(--c-lime) 100%);
  border-radius: 2px;
  z-index: 2;
}

.page-about .about-timeline__item {
  position: relative;
  padding: 0 0 40px 44px;
}

.page-about .about-timeline__item:last-child {
  padding-bottom: 0;
}

.page-about .about-timeline__item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-white);
  border: 4px solid var(--c-coral);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, .2);
  z-index: 3;
}

.page-about .about-timeline__item::after {
  content: "";
  position: absolute;
  inset: -8px -12px -38px -8px;
  background: rgba(0, 119, 182, .08);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.page-about .about-timeline__year {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-blue);
  letter-spacing: .04em;
  margin-bottom: 4px;
  transition: color .2s ease, transform .2s ease;
}

.page-about .about-timeline__item h3 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  margin: 0 0 8px;
  color: var(--c-deep);
}

.page-about .about-timeline__item p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  color: rgba(43, 32, 36, .82);
  position: relative;
  z-index: 1;
}

.page-about .about-timeline__figure {
  margin: 0;
}

.page-about .about-timeline__frame {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.page-about .about-timeline__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-about .about-timeline__figure figcaption {
  font-size: 13px;
  color: rgba(2, 62, 138, .72);
  margin-top: 10px;
  line-height: 1.5;
}

.page-about .about-team {
  background: var(--c-paper);
  padding: 88px 0;
}

.page-about .about-team__grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.page-about .about-team__card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 30px 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s ease, transform .2s ease;
}

.page-about .about-team__card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

.page-about .about-team__card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 72px;
  height: 72px;
  background: var(--c-aqua);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  border-radius: 4px;
}

.page-about .about-team__num {
  display: inline-flex;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(0, 119, 182, .22);
  margin-bottom: 14px;
}

.page-about .about-team__card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--c-ink);
  margin: 0 0 10px;
}

.page-about .about-team__card p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(43, 32, 36, .78);
  margin: 0;
}

.page-about .about-team__banner {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  padding: 28px 24px;
  background: var(--c-deep);
  border-radius: var(--radius-md);
  color: var(--c-white);
}

.page-about .about-team__banner-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  background: var(--c-yellow);
  color: var(--c-ink);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.page-about .about-team__banner-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.page-about .about-team__banner-slogan {
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0;
  max-width: 16em;
  color: var(--c-lime);
}

.page-about .about-team__figure {
  margin: 36px 0 0;
}

.page-about .about-team__frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.page-about .about-team__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-about .about-commit {
  position: relative;
  padding: 88px 0;
  color: var(--c-white);
  background:
    radial-gradient(circle at 85% 85%, rgba(57, 255, 20, .12) 0, transparent 24%),
    var(--c-deep);
}

.page-about .about-commit .section-head__intro,
.page-about .about-commit .section-head__title,
.page-about .about-commit .section-head__desc {
  color: var(--c-white);
}

.page-about .about-commit .section-head__intro {
  color: var(--c-lime);
}

.page-about .about-commit__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 44px 0 36px;
}

.page-about .about-commit .stat {
  text-align: left;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  border-left: 3px solid var(--c-lime);
}

.page-about .about-commit .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 700;
  color: var(--c-lime);
  line-height: 1.1;
}

.page-about .about-commit .stat__label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
  margin-top: 6px;
  letter-spacing: .02em;
}

.page-about .about-commit__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-about .about-commit__list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
}

.page-about .about-commit__check {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-lime);
  color: #003d00;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.page-about .about-commit__contact {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 24px;
  font-size: 15px;
}

.page-about .about-commit__contact a {
  color: var(--c-lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-about .about-commit__contact a:hover {
  color: var(--c-white);
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(var(--about-fade-distance));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) {
  .page-about .about-timeline__item:hover::after {
    opacity: 1;
  }

  .page-about .about-timeline__item:hover .about-timeline__year {
    color: var(--c-coral);
    transform: translateX(4px);
  }

  .page-about .about-timeline__item:hover h3 {
    color: var(--c-blue);
  }
}

@media (min-width: 760px) {
  .page-about .about-story__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-about .about-commit__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .page-about .about-team__banner {
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
  }

  .page-about .about-team__banner-slogan {
    text-align: right;
  }

  .page-about .about-team__frame {
    aspect-ratio: 2 / 1;
  }
}

@media (min-width: 840px) {
  .page-about .about-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .page-about .about-hero {
    padding-top: 172px;
    padding-bottom: 96px;
  }

  .page-about .about-hero__inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    min-height: 420px;
  }

  .page-about .about-hero__year {
    display: block;
    position: absolute;
    top: 128px;
    right: 8%;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, .12);
    letter-spacing: .04em;
    pointer-events: none;
  }

  .page-about .about-hero__content > * {
    animation: aboutFadeUp .6s ease both;
  }

  .page-about .about-hero__content > *:nth-child(2) {
    animation-delay: .08s;
  }

  .page-about .about-hero__content > *:nth-child(3) {
    animation-delay: .14s;
  }

  .page-about .about-hero__content > *:nth-child(4) {
    animation-delay: .2s;
  }

  .page-about .about-hero__content > *:nth-child(5) {
    animation-delay: .26s;
  }
}

@media (min-width: 900px) {
  .page-about .about-timeline__wrap {
    grid-template-columns: 1.2fr .8fr;
    gap: 56px;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-about .about-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }

  .page-about .about-rail__brand {
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--c-deep);
    writing-mode: vertical-rl;
    margin-bottom: 12px;
  }

  .page-about .about-rail__line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, var(--c-blue), var(--c-lime));
  }

  .page-about .about-rail__link {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(2, 62, 138, .3);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--c-deep);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
  }

  .page-about .about-rail__link:hover {
    background: var(--c-deep);
    color: var(--c-white);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-about .about-hero__content > *,
  .page-about .about-story__item,
  .page-about .about-team__card {
    animation: none;
    transform: none;
  }
}
