/* ============================================================
   About page - Figma "Design Modern About Page" (1:2)
   Self-contained page: own nav (hero) + own footer.
   ============================================================ */

.about-page {
  --about-ink: #1d1d1d;
  --about-muted: #646464;
  --about-max: 1280px;
  --about-pad: 64px;
  background: var(--brand-white);
  color: var(--about-ink);
}

.about-wrap {
  width: var(--about-max);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--about-pad);
}

/* Shared type primitives */
.about-eyebrow {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--about-ink);
}

.about-eyebrow--center {
  text-align: center;
  color: var(--about-muted);
  letter-spacing: 0.02em;
}

.about-lede {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--about-ink);
}

.about-divider {
  height: 1px;
  width: 100%;
  background: rgba(29, 29, 29, 0.1);
}

/* Parallax - bleed beyond the clip so translation never reveals edges */
.about-parallax-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  bottom: -40px;
  will-change: transform;
}

.about-parallax-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__bg-parallax {
  top: -5%;
  bottom: -5%;
}

/* ============================================================
   Hero (1:8)
   ============================================================ */

.about-hero {
  position: relative;
  width: 100%;
  min-height: 718px;
  aspect-ratio: 1280 / 718;
  overflow: hidden;
  isolation: isolate;
  color: var(--brand-white);
}

.about-hero__bg {
  position: absolute;
  inset: 0;
}

.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0) 70%
  );
}

.about-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Bottom padding offsets the missing CTA row so the text stack lands at the
     same y as the home hero. */
  padding: 100px 64px 136px;
}

.about-hero__eyebrow {
  margin: 0 0 32px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-white);
}

.about-hero__title {
  margin: 0;
  max-width: 932px;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-white);
}

.about-hero__subtitle {
  margin: 26px 0 0;
  max-width: 764px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--brand-white);
}

/* ---- Nav pill (1:12) ---- */

.about-nav {
  position: absolute;
  top: 33px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(560px, calc(100% - 48px));
  height: 56px;
  padding: 0 16px;
  border-radius: 8px;
  background: #191919;
}

.about-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-white);
  flex: none;
}

.about-nav__mark {
  display: inline-flex;
  align-items: center;
}

.about-nav__mark svg {
  height: 24px;
  width: auto;
}

.about-nav__word {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.about-nav__links > a {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-white);
  transition: opacity 140ms ease;
}

.about-nav__links > a:hover {
  opacity: 0.75;
}

.about-nav__cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--brand-white);
  color: #1d1d1d !important;
  font-weight: 500;
  transition: background-color 160ms ease;
}

.about-nav__cta:hover {
  background: #ececec;
  opacity: 1 !important;
}

.about-nav__burger {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 24px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.about-nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-white);
  border-radius: 1px;
}

.about-nav__drawer {
  display: none;
}

/* ============================================================
   Founding insight (1:49)
   ============================================================ */

/* Override the global `section { padding: 120px 0 }` rule with a tighter,
   moderate rhythm - combined with each section's `.about-wrap` padding this
   gives comfortable (not huge) spacing between sections. */
.about-page section {
  padding: 32px 0;
}

.about-section {
  background: var(--brand-white);
}

.founding .about-wrap {
  padding-top: 48px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.founding__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founding__body {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.founding__visual {
  position: relative;
  flex: 0 0 470px;
  width: 470px;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
}

.founding__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.founding__copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.founding__copy p {
  font-size: 16px;
  line-height: 1.4;
  color: var(--about-muted);
}

.founding__punch {
  color: var(--about-ink) !important;
}

/* ============================================================
   What we believe (1:73)
   ============================================================ */

.believe .about-wrap {
  padding-top: 32px;
  padding-bottom: 32px;
}

.believe__grid {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  padding-top: 40px;
}

.believe__head {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.believe__copy {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.believe__copy p {
  font-size: 16px;
  line-height: 1.4;
  color: var(--about-muted);
}

/* ============================================================
   Dark band (1:96)
   ============================================================ */

.about-darkband {
  position: relative;
  aspect-ratio: 1551 / 480;
  min-height: 340px;
  background: #020200;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-darkband__bg {
  position: absolute;
  inset: 0;
}

.about-darkband__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-darkband__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.about-darkband__text {
  position: relative;
  max-width: 960px;
  padding: 96px 24px 0;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--brand-white);
}

/* ============================================================
   Founders (1:103)
   ============================================================ */

.founders .about-wrap {
  padding-top: 40px;
  padding-bottom: 32px;
}

.founders__inner {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.founders__grid {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.founder-card {
  width: 370px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founder-card__photo {
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: #1d1d1d;
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}

.founder-card__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.founder-card__id {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-card__name {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--about-ink);
}

.founder-card__title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--about-muted);
}

.founder-card__link {
  font-size: 14px;
  line-height: 1.4;
  color: var(--about-ink);
  text-decoration: underline;
  white-space: nowrap;
}

/* ============================================================
   Backed by (1:141)
   ============================================================ */

.backed .about-wrap {
  padding-top: 32px;
  padding-bottom: 24px;
}

.backed__inner {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.backed__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  min-height: 52px;
}

.backed__logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.backed__logo--insight-partners {
  height: 52px;
}

.backed__logo--soma-capital {
  height: 20px;
}

/* ============================================================
   Press (1:208)
   ============================================================ */

.press .about-wrap {
  padding-top: 32px;
  padding-bottom: 40px;
}

.press__panel {
  position: relative;
  aspect-ratio: 1423 / 280;
  border-radius: 8px;
  overflow: hidden;
  background: #020200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press__bg {
  position: absolute;
  inset: 0;
}

.press__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.press__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--brand-white);
}

.press__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-white);
}

.press__lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.press__lines p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--brand-white);
}

.press__lines a {
  color: var(--brand-white);
  text-decoration: underline;
}

/* ============================================================
   Footer (1:225)
   ============================================================ */

/* Mirrors the homepage light footer rhythm (see Home.css). */
.about-footer {
  background: var(--brand-white);
}

.about-footer__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-top: 68px;
}

.about-footer__brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 15px;
  color: #1d1d1d;
}

.about-footer__mark {
  display: block;
  flex: none;
  width: 73px;
  height: 83px;
}

.about-footer__word {
  font-size: 98px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.99;
}

.about-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 58px;
  row-gap: 24px;
  justify-self: end;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}

.about-footer__contact a {
  font-size: 16px;
  color: var(--about-ink);
  text-decoration: underline;
}

.about-footer__divider {
  height: 1px;
  margin-top: 100px;
  background: var(--about-ink);
}

.about-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 48px;
}

.about-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.about-footer__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--about-ink);
  text-decoration: underline;
}

.about-footer__copy {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #52525b;
  white-space: nowrap;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .about-page {
    --about-pad: 40px;
  }

  .about-hero__title {
    font-size: 48px;
  }

  .founding__body,
  .believe__grid {
    flex-direction: column;
    gap: 32px;
  }

  .founding__visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 470px;
  }

  .about-footer__word {
    font-size: clamp(48px, 12vw, 98px);
  }

  .about-footer__mark {
    width: clamp(40px, 10vw, 73px);
    height: auto;
  }
}

@media (max-width: 768px) {
  .about-page {
    --about-pad: 24px;
  }

  .about-hero {
    aspect-ratio: auto;
    min-height: 640px;
  }

  .about-hero__content {
    justify-content: flex-start;
    padding: clamp(92px, 15vh, 136px) 24px 60px;
  }

  .about-hero__eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .about-hero__subtitle {
    margin-top: 20px;
  }

  .about-hero__title {
    font-size: 40px;
  }

  .about-lede,
  .about-darkband__text {
    font-size: 30px;
  }

  .about-nav {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 56px;
    border-radius: 0;
    padding: 0 16px;
    flex-wrap: nowrap;
  }

  .about-nav__links {
    display: none;
  }

  .about-nav__burger {
    display: flex;
  }

  .about-nav__drawer {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    padding: 8px 16px 16px;
    background: #191919;
    z-index: 10;
  }

  .about-nav__drawer a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--brand-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about-nav__drawer a:last-child {
    border-bottom: 0;
  }

  .about-nav__drawer .about-nav__cta {
    display: inline-flex;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    color: #1d1d1d;
  }

  .founders__grid {
    flex-direction: column;
    align-items: center;
  }

  .founder-card {
    width: 100%;
    max-width: 370px;
  }

  .backed__logos {
    flex-direction: column;
    gap: 32px;
  }

  .about-footer .about-wrap {
    display: flex;
    flex-direction: column;
  }

  .about-footer__body,
  .about-footer__bottom {
    display: contents;
  }

  .about-footer__brand {
    order: 1;
    margin-top: 32px;
    margin-bottom: 40px;
  }

  .about-footer__mark {
    width: 49px;
    height: 55px;
  }

  .about-footer__word {
    font-size: 65px;
    letter-spacing: -0.04em;
  }

  .about-footer__divider {
    display: none;
  }

  .about-footer__links {
    order: 2;
    padding-bottom: 80px;
  }

  .about-footer__contact {
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .about-footer__copy {
    order: 4;
    margin-top: 80px;
    padding-bottom: 32px;
    white-space: normal;
  }

  .about-darkband {
    aspect-ratio: auto;
    min-height: 320px;
  }

  .about-darkband__text {
    padding-top: 64px;
  }

  .press__panel {
    aspect-ratio: auto;
    height: auto;
    padding: 48px 24px;
  }
}
