﻿.about-section {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: 4.5rem 0 0;
  overflow: clip;
}

.about-section__inner {
  position: relative;
  min-height: clamp(24rem, 34vw, 31rem);
  padding: 0 2.5rem;
}

.about-section__title-shell {
  position: relative;
  z-index: 0;
  width: 100%;
}

.about-section__title {
  display: block;
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: var(--heading-letter-spacing);
  color: var(--color-heading-pastel);
  white-space: nowrap;
}

.about-section__title-shell .pixel-hover-title__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  pointer-events: none;
}

.about-section__title-shell.pixel-hover-title--webgl-ready .about-section__title {
  opacity: 0;
}

.about-section__foreground {
  position: absolute;
  left: 50%;
  top: clamp(13rem, 34vh, 22rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transform: translateX(-50%);
  width: min(100%, 50rem);
  text-align: center;
  pointer-events: none;
}

.about-section__copy-row {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

.about-section__index {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  color: var(--page-muted);
  padding-top: 0.45rem;
}

.about-section__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  font-family: var(--font-subheading);
  font-size: var(--subheading-display-size);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: var(--subheading-letter-spacing);
  text-transform: uppercase;
  color: var(--color-black-soft);
}

.about-section__copy-line {
  display: block;
  font-family: var(--font-subheading);
  font-size: var(--subheading-display-size);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: var(--subheading-letter-spacing);
  text-transform: uppercase;
  color: var(--color-black-soft);
}

.about-section__copy-line--first {
  width: auto;
}

.about-section__copy span {
  display: block;
  width: 100%;
}

body.is-desktop-top-flow .about-section {
  min-height: 100vh;
  padding: 0;
}

body.is-desktop-top-flow .about-section__inner {
  min-height: 100vh;
  height: 100vh;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-desktop-top-flow .about-section__title-shell {
  position: absolute;
  top: 25%;
  left: 2.5rem;
  right: 2.5rem;
  min-height: 0;
  transform: translateY(-50%);
}

body.is-desktop-top-flow .about-section__foreground {
  top: 49%;
  bottom: auto;
  width: min(100%, 56rem);
  gap: 0.3rem;
}

body.is-desktop-top-flow .about-section__copy-row {
  gap: 0.7rem;
}

@media (max-width: 1023px) {
  .about-section {
    min-height: 100vh;
    padding: 0;
  }

  .about-section__inner {
    min-height: 100vh;
    height: 100vh;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-section__title-shell {
    position: absolute;
    top: 47%;
    left: 2.5rem;
    right: 2.5rem;
    min-height: 0;
    transform: translateY(-50%);
  }

  .about-section__foreground {
    top: 52%;
    bottom: auto;
    width: min(100%, 30rem);
    gap: 0.3rem;
  }

  .about-section__copy-row {
    gap: 0.7rem;
  }

  .about-section__index {
    font-size: 0.875rem;
    padding-top: 0.3rem;
  }
}

@media (max-width: 767px) {
  .about-section__inner {
    padding: 0 1rem;
  }

  .about-section__title-shell {
    left: 1rem;
    right: 1rem;
  }

  .about-section__foreground {
    top: 52%;
    bottom: auto;
    width: min(100%, 21rem);
  }

  .about-section__copy-row {
    gap: 0.55rem;
  }

  .about-section__copy,
  .about-section__copy-line {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section {
    overflow: visible;
  }
}



