/**
 * About page — scoped brand styles (#AboutPage)
 * Brand: #0000ff · #0A2540 · Poppins
 */

#AboutPage.about-page {
  --about-blue: #0000ff;
  --about-ink: #0a2540;
  --about-muted: #667384;
  --about-line: #e4e9f3;
  --about-wash: #f5f7ff;
  --about-ease: cubic-bezier(0.22, 0.82, 0.18, 1);
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--about-ink);
  background: #fff;
  overflow-x: hidden;
}

#AboutPage .about-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

#AboutPage .about-eyebrow,
#AboutPage .about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--about-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#AboutPage .about-heading {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--about-ink);
}

#AboutPage .about-heading span {
  color: var(--about-blue);
}

#AboutPage .about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#AboutPage .about-btn--primary {
  background: var(--about-blue);
  color: #fff !important;
  border: 1.5px solid var(--about-blue);
  box-shadow: 0 8px 20px -12px rgba(0, 0, 255, 0.55);
}

#AboutPage .about-btn--primary:hover {
  background: #0000cc;
  border-color: #0000cc;
  transform: scale(1.02);
}

#AboutPage .about-btn--outline {
  background: transparent;
  color: var(--about-ink) !important;
  border: 1.5px solid var(--about-ink);
}

#AboutPage .about-btn--outline:hover {
  background: #0000cc;
  border-color: #0000cc;
  color: #fff !important;
  transform: scale(1.02);
}

/* Hero */
#AboutPage .about-hero {
  position: relative;
  isolation: isolate;
  padding: 48px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 12%, rgba(59, 59, 255, 0.18), transparent 28%),
    radial-gradient(circle at 11% 88%, rgba(81, 81, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #f7f8ff 0%, #ffffff 72%);
}

#AboutPage .about-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 40%);
}

#AboutPage .about-hero__orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 255, 0.08);
  pointer-events: none;
}

#AboutPage .about-hero__orb--tr {
  top: -180px;
  right: -140px;
  width: 420px;
  height: 420px;
}

#AboutPage .about-hero__orb--bl {
  bottom: -100px;
  left: -80px;
  width: 260px;
  height: 260px;
}

#AboutPage .about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

#AboutPage .about-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: var(--about-muted);
  font-size: 13px;
  font-weight: 500;
}

#AboutPage .about-crumb a {
  color: inherit;
  text-decoration: none;
}

#AboutPage .about-crumb a:hover {
  color: var(--about-blue);
}

#AboutPage .about-hero__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--about-ink);
}

#AboutPage .about-hero__accent {
  color: var(--about-blue);
}

#AboutPage .about-hero__lead {
  margin: 0 0 28px;
  max-width: 38rem;
  color: var(--about-muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
}

#AboutPage .about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Metrics */
#AboutPage .about-metrics {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  background: var(--about-blue);
  color: #fff;
}

#AboutPage .about-metrics__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(255, 255, 255, 0.08), transparent 30%);
}

#AboutPage .about-metrics__inner {
  position: relative;
  z-index: 1;
}

#AboutPage .about-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#AboutPage .about-metrics__item {
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

#AboutPage .about-metrics__item:last-child {
  border-right: 0;
  padding-right: 0;
}

#AboutPage .about-metrics__item strong {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

#AboutPage .about-metrics__item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

/* Story */
#AboutPage .about-story {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--about-line);
}

#AboutPage .about-story__inner {
  max-width: 40rem;
}

#AboutPage .about-story__lead {
  margin: 0 0 16px;
  color: var(--about-ink);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
}

#AboutPage .about-story__copy,
#AboutPage .about-prose {
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.7;
}

#AboutPage .about-prose p {
  margin: 0 0 1em;
}

#AboutPage .about-prose a {
  color: var(--about-blue);
  font-weight: 600;
}

/* Mission / Vision */
#AboutPage .about-mv {
  padding: 64px 0;
  background:
    linear-gradient(180deg, #fff 0%, var(--about-wash) 100%);
}

#AboutPage .about-mv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#AboutPage .about-mv__card {
  padding: 28px 26px;
  border: 1px solid var(--about-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px -28px rgba(10, 37, 64, 0.35);
}

#AboutPage .about-mv__card--vision {
  background: linear-gradient(160deg, #ffffff 0%, #f0f2ff 100%);
}

#AboutPage .about-mv__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

#AboutPage .about-mv__text {
  margin: 0 0 18px;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.65;
}

#AboutPage .about-mv__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

#AboutPage .about-mv__list li {
  position: relative;
  padding-left: 22px;
  color: var(--about-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

#AboutPage .about-mv__list li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--about-blue);
}

/* How we work */
#AboutPage .about-how {
  padding: 72px 0;
  border-top: 1px solid var(--about-line);
}

#AboutPage .about-how__intro {
  max-width: 44rem;
  margin-bottom: 36px;
}

#AboutPage .about-how__intro p {
  margin: 0;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.65;
}

#AboutPage .about-how__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: none;
}

#AboutPage .about-how__item {
  padding: 24px 22px;
  border-top: 2px solid var(--about-blue);
  background: #fff;
}

#AboutPage .about-how__item h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

#AboutPage .about-how__item p {
  margin: 0;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.6;
}

#AboutPage .about-how__cta {
  margin-top: 36px;
  display: flex;
  justify-content: flex-start;
}

/* Team */
#AboutPage .about-team {
  padding: 72px 0 40px;
  border-top: 1px solid var(--about-line);
  background: linear-gradient(180deg, var(--about-wash) 0%, #fff 100%);
}

#AboutPage .about-team__intro {
  max-width: 36rem;
  margin-bottom: 36px;
}

#AboutPage .about-team__intro p {
  margin: 0;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.65;
}

#AboutPage .about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#AboutPage .about-team__card {
  overflow: hidden;
  border: 1px solid var(--about-line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.25s var(--about-ease), box-shadow 0.25s var(--about-ease);
}

#AboutPage .about-team__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -24px rgba(0, 0, 255, 0.35);
}

#AboutPage .about-team__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1f8;
}

#AboutPage .about-team__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#AboutPage .about-team__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(0, 0, 255, 0.35);
  font-size: 2rem;
}

#AboutPage .about-team__body {
  padding: 18px 18px 20px;
}

#AboutPage .about-team__body h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

#AboutPage .about-team__role {
  margin: 0 0 10px;
  color: var(--about-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#AboutPage .about-team__bio {
  margin: 0 0 12px;
  color: var(--about-muted);
  font-size: 13px;
  line-height: 1.55;
}

#AboutPage .about-team__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--about-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#AboutPage .about-team__link:hover {
  color: var(--about-blue);
}

/* Reveal */
#AboutPage [data-about-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--about-ease), transform 0.65s var(--about-ease);
}

#AboutPage [data-about-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  #AboutPage .about-metrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #AboutPage .about-metrics__item:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  #AboutPage .about-metrics__item:nth-child(1),
  #AboutPage .about-metrics__item:nth-child(2) {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  #AboutPage .about-mv__grid,
  #AboutPage .about-how__grid,
  #AboutPage .about-team__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #AboutPage .about-hero {
    padding: 32px 0 52px;
  }

  #AboutPage .about-metrics__grid {
    grid-template-columns: 1fr;
  }

  #AboutPage .about-metrics__item {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  #AboutPage .about-metrics__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  #AboutPage .about-hero__actions {
    flex-direction: column;
  }

  #AboutPage .about-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #AboutPage [data-about-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
