.about-page {
  min-height: 100%;
  background: #050708;
  overflow-x: hidden;
}

.about-page .about-canvas,
.about-page .about-video,
.about-page .about-fallback,
.about-base-overlay,
.about-left-blur,
.about-full-blur {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.about-page .about-canvas,
.about-page .about-video {
  object-fit: cover;
}

.about-page .about-canvas {
  z-index: 0;
}

.about-page .about-video {
  z-index: 0;
}

.about-page .about-fallback {
  z-index: -1;
  background:
    radial-gradient(circle at 72% 45%, rgba(76, 103, 123, 0.2), transparent 38%),
    linear-gradient(90deg, #050708 0%, #090d10 58%, #040607 100%);
}

.about-base-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 4, 5, 0.36) 0%, transparent 32%, rgba(2, 4, 5, 0.3) 100%),
    linear-gradient(90deg, rgba(2, 4, 5, 0.48) 0%, rgba(2, 4, 5, 0.12) 57%, rgba(2, 4, 5, 0.16) 100%);
  opacity: var(--about-darkness, 0.8);
  transition: opacity 160ms linear;
}

.about-left-blur {
  z-index: 2;
  right: auto;
  width: 62vw;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.86) 0%, rgba(3, 6, 8, 0.72) 34%, rgba(3, 6, 8, 0.32) 68%, transparent 100%);
  -webkit-backdrop-filter: blur(19px) saturate(0.76);
  backdrop-filter: blur(19px) saturate(0.76);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.76) 68%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.76) 68%, transparent 100%);
  opacity: 1;
  will-change: opacity;
}

.about-full-blur {
  z-index: 2;
  pointer-events: none;
  background: rgba(2, 5, 7, 0.24);
  -webkit-backdrop-filter: blur(13px) saturate(0.78) brightness(0.82);
  backdrop-filter: blur(13px) saturate(0.78) brightness(0.82);
  opacity: var(--about-full-blur, 0);
  will-change: opacity;
}

.about-page .site-header {
  z-index: 12;
}

.about-page .top-nav a.active {
  color: #fff;
}

.about-page .top-nav a.active::after {
  transform: scaleX(1);
}

.about-scroll-progress {
  z-index: 11;
}

.about-story {
  position: fixed;
  z-index: 4;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.about-section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 112px 5vw 58px;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}

.about-section.is-active {
  visibility: visible;
}

.about-copy {
  width: min(47vw, 780px);
  transform: translateY(4vh);
}

.about-kicker {
  display: block;
  margin-bottom: 40px;
  color: #aac9ee;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.about-section h1,
.about-section h2 {
  margin: 0;
  color: #f5f5f4;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 3.55vw, 66px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.about-page-1 h1 {
  white-space: nowrap;
}

.about-section .about-body,
.about-page-1 .about-copy > p {
  max-width: 690px;
  margin-top: 34px;
  color: rgba(245, 245, 244, 0.78);
  font-size: clamp(15px, 1.02vw, 19px);
  line-height: 1.68;
  letter-spacing: 0.01em;
}

.about-section p {
  margin: 0;
}

.about-section .about-body p + p {
  margin-top: 22px;
}

.about-page-2 .about-copy {
  width: min(45vw, 730px);
}

.about-page-2 h2 {
  max-width: 720px;
  white-space: nowrap;
}

.about-page-3 .about-copy {
  width: min(47vw, 760px);
}

.about-page-3 h2 {
  font-size: clamp(38px, 3.35vw, 62px);
}

.about-page-3 .about-body {
  max-width: 670px;
  margin-top: 28px;
  font-size: clamp(14px, 0.9vw, 17px);
  line-height: 1.58;
}

.about-page-3 .about-body p + p {
  margin-top: 18px;
}

.about-page-4 {
  padding-right: 4vw;
}

.about-certification-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(500px, 1.04fr);
  align-items: center;
  gap: clamp(48px, 5vw, 92px);
  width: 100%;
  transform: translateY(3vh);
}

.about-certification-copy {
  max-width: 700px;
}

.about-page-4 h2 {
  font-size: clamp(36px, 3vw, 56px);
}

.about-page-4 .about-body {
  max-width: 660px;
  margin-top: 26px;
  font-size: clamp(13px, 0.82vw, 16px);
  line-height: 1.55;
}

.about-page-4 .about-body p + p {
  margin-top: 16px;
}

.about-page-4 ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}

.about-page-4 li {
  position: relative;
  padding-left: 18px;
}

.about-page-4 li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9fc4ee;
  content: "";
}

.certificate-list {
  display: grid;
  gap: clamp(30px, 4vh, 54px);
  align-content: center;
}

.certificate-item {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(240px, 340px);
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  min-height: 180px;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.certificate-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
}

.certificate-logo-wrap img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  max-height: 170px;
  object-fit: contain;
}

.certificate-logo-wrap img.udem-logo {
  width: min(82%, 210px);
  max-height: 188px;
}

.certificate-details {
  position: relative;
  padding-left: 30px;
}

.certificate-details::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.27);
  content: "";
}

.certificate-details h3 {
  margin: 0 0 14px;
  color: #f5f5f4;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 600;
  letter-spacing: 0.035em;
}

.certificate-details p {
  color: rgba(245, 245, 244, 0.76);
  font-size: clamp(13px, 0.86vw, 16px);
  line-height: 1.6;
}

.about-scroll-space {
  height: 720vh;
  pointer-events: none;
}

@media (max-width: 1180px) {
  .about-certification-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: 36px;
  }

  .certificate-item {
    grid-template-columns: 170px minmax(210px, 1fr);
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .about-left-blur {
    width: 100vw;
    background: linear-gradient(90deg, rgba(3, 6, 8, 0.88), rgba(3, 6, 8, 0.62) 72%, rgba(3, 6, 8, 0.2));
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.7) 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.7) 88%, transparent 100%);
  }

  .about-section {
    align-items: flex-end;
    padding: 112px var(--margin-mobile) 72px;
  }

  .about-copy {
    width: 92vw;
    transform: none;
  }

  .about-kicker {
    margin-bottom: 24px;
  }

  .about-section h1,
  .about-section h2 {
    font-size: clamp(31px, 8.6vw, 49px);
  }

  .about-page-1 h1 {
    white-space: normal;
  }

  .about-section .about-body,
  .about-page-1 .about-copy > p {
    max-width: 92vw;
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.58;
  }

  .about-page-3 .about-body {
    font-size: 12.5px;
    line-height: 1.47;
  }

  .about-page-2 h2 {
    white-space: normal;
  }

  .about-page-3 .about-body p + p {
    margin-top: 12px;
  }

  .about-page-4 {
    align-items: center;
    overflow-y: auto;
    padding-top: 100px;
    padding-bottom: 44px;
  }

  .about-certification-layout {
    display: block;
    width: 100%;
    transform: none;
  }

  .about-page-4 h2 {
    font-size: clamp(29px, 8vw, 42px);
  }

  .about-page-4 .about-body {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.45;
  }

  .certificate-list {
    gap: 18px;
    margin-top: 26px;
  }

  .certificate-item {
    grid-template-columns: 112px 1fr;
    gap: 18px;
    min-height: 104px;
  }

  .certificate-logo-wrap {
    min-height: 94px;
  }

  .certificate-logo-wrap img,
  .certificate-logo-wrap img.udem-logo {
    width: 100%;
    max-height: 105px;
  }

  .certificate-details {
    padding-left: 18px;
  }

  .certificate-details h3 {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .certificate-details p {
    font-size: 11px;
    line-height: 1.45;
  }

  .about-scroll-space {
    height: 620vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section,
  .certificate-item {
    transition: none;
  }
}
