/* About page only */
.about-page .about {
  font-family: "DM Sans", sans-serif;
  background: #fff;
  color: #111;
}

.about-page .about-section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.about-page .about-grid {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.about-page .about-hero .about-grid {
  padding-top: clamp(16px, 3vw, 32px);
}

.about-page .about-title {
  font-size: clamp(44px, 7vw, 92px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  font-weight: 500;
  color: black;
}

.about-page .about-kicker {
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}

.about-page .about-big {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 22ch;
}

.about-page .about-subtitle {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 400;
}

.about-page .about-muted {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.75;
  max-width: 62ch;
  margin: 0 0 18px;
}

.about-page .about-center {
  width: min(720px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: clamp(28px, 4vw, 48px);
}

.about-page .about-lede {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 34ch;
}

.about-page .about-body p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 70ch;
  opacity: 0.9;
}

.about-page .about-media {
  width: min(1180px, calc(100% - 64px));
  margin: clamp(28px, 4vw, 48px) auto 0;
}

.about-page .about-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.about-page .about-sep {
  width: min(1180px, calc(100% - 64px));
  margin: clamp(28px, 4vw, 48px) auto 0;
  height: 1px;
  background: rgba(0,0,0,0.18);
  transform-origin: left;
  transform: scaleX(0);
}

/* CTA */
.about-page .about-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  text-decoration: none;
  color: inherit;
  margin-top: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.35);
}

.about-page .about-cta-arrow {
  display: inline-block;
  transform: translateY(1px);
}

/* Mobile */
@media (max-width: 900px) {
  .about-page .about-grid {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 32px));
    gap: 20px;
  }

  .about-page .about-media,
  .about-page .about-sep,
  .about-page .about-center {
    width: min(720px, calc(100% - 32px));
  }

  .about-page .about-big {
    max-width: none;
  }
}

/* Animations base */
.about-page [data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

/* Typewriter elements themselves stay visible; JS animates text */
.about-page [data-animate="typewriter"] {
  opacity: 1;
  transform: none;
}

.about-page .is-inview[data-animate="fade-up"] {
  opacity: 1;
  transform: translateY(0);
}

.about-page .is-inview.about-sep {
  transform: scaleX(1);
  transition: transform 900ms ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-page [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .about-page .about-sep {
    transform: scaleX(1) !important;
  }
}



/* ===== In-between rules (lines) ===== */
.about-page .about-rule {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  height: 2px;
  background: rgba(0, 0, 0, 0.22);

  /* left → right reveal */
  transform-origin: left;
  transform: scaleX(0);

  /* don’t fade/slide like other animated elements */
  opacity: 1;
  transition: transform 900ms ease;
}

/* mobile width match */
@media (max-width: 900px) {
  .about-page .about-rule {
    width: min(720px, calc(100% - 32px));
  }
}

/* when in view */
.about-page .about-rule.is-inview {
  transform: scaleX(1);
}
