/* ==========================================================================
   About page - Hindi editorial experience
   Scoped to .about-page so no other page inherits these styles.
   ========================================================================== */

.about-page {
  --f-body: "Noto Sans Devanagari", "Poppins", system-ui, sans-serif;
  --f-display: "Noto Serif Devanagari", "Playfair Display", Georgia, serif;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4 {
  letter-spacing: 0;
}

.about-page .about-hero {
  padding-block: clamp(4rem, 9vw, 7rem) clamp(5rem, 10vw, 8rem);
}

.about-page .about-hero .shell {
  position: relative;
  z-index: 2;
}

.about-page .about-hero__label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
  color: var(--maroon);
  font-size: .78rem;
  font-weight: 700;
}

.about-page .about-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
}

.about-page .about-hero .lead {
  max-width: 760px;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.9;
}

.about-page .story-copy {
  max-width: 620px;
}

.about-page .story-copy h2 {
  margin-bottom: 1rem;
}

.about-page .story-copy > p {
  line-height: 1.9;
}

.about-page .split-media {
  aspect-ratio: 5 / 4;
}

.about-page .split-media .dr-neelavati-portrait {
  object-position: center 35%;
}

.about-page .split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, transparent 50%, rgba(74, 20, 43, .22));
}

.about-page .split-badge {
  right: 1.2rem;
  left: auto;
  min-width: 150px;
}

.about-page .purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.about-page .purpose-card {
  position: relative;
  min-height: 250px;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.about-page .purpose-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(74, 20, 43, .045);
  border-radius: 50%;
}

.about-page .purpose-card:hover {
  transform: translateY(-7px);
  border-color: rgba(74, 20, 43, .16);
  box-shadow: var(--sh-lg);
}

.about-page .purpose-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 16px;
  box-shadow: var(--sh-brand);
}

.about-page .purpose-card:nth-child(2) .purpose-card__icon {
  background: var(--grad-leaf);
}

.about-page .purpose-card p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.85;
}

.about-page .about-values {
  align-items: stretch;
}

.about-page .about-values .feat {
  padding-top: 2rem;
}

.about-page .about-values .feat h3 {
  font-size: 1.2rem;
}

.about-page .about-values .feat p {
  line-height: 1.8;
}

/* Journey */
.about-page .journey-section {
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 5% 10%, rgba(224, 122, 30, .12), transparent 62%),
    radial-gradient(760px 400px at 96% 88%, rgba(23, 138, 168, .11), transparent 62%),
    var(--bg-tint);
}

.about-page .journey {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
  padding-block: .5rem;
}

.about-page .journey::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--maroon-300) 8%, var(--orange) 50%, var(--green) 92%, transparent);
  transform: translateX(-50%);
}

.about-page .journey-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  min-height: 190px;
}

.about-page .journey-card {
  position: relative;
  width: min(100%, 440px);
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(74, 20, 43, .1);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  backdrop-filter: blur(12px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.about-page .journey-item:nth-child(odd) .journey-card {
  grid-column: 1;
  justify-self: end;
}

.about-page .journey-item:nth-child(even) .journey-card {
  grid-column: 3;
  justify-self: start;
}

.about-page .journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 20, 43, .2);
  box-shadow: var(--sh-xl);
}

.about-page .journey-year {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
  color: var(--maroon);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.about-page .journey-card h3 {
  margin-bottom: .45rem;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
}

.about-page .journey-card p {
  margin: 0;
  font-size: .91rem;
  line-height: 1.8;
}

.about-page .journey-marker {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-brand);
  border: 7px solid var(--bg-tint);
  border-radius: 50%;
  box-shadow: 0 10px 26px -9px rgba(74, 20, 43, .55);
  transform: translateX(-50%);
}

.about-page .journey-item:nth-child(2) .journey-marker,
.about-page .journey-item:nth-child(5) .journey-marker {
  background: var(--grad-leaf);
}

.about-page .journey-item:nth-child(3) .journey-marker,
.about-page .journey-item:nth-child(6) .journey-marker {
  background: var(--grad-accent);
}

.about-page .journey-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  background: inherit;
  border-top: 1px solid rgba(74, 20, 43, .1);
  border-right: 1px solid rgba(74, 20, 43, .1);
}

.about-page .journey-item:nth-child(odd) .journey-card::before {
  right: -12px;
  transform: translateY(-50%) rotate(45deg);
}

.about-page .journey-item:nth-child(even) .journey-card::before {
  left: -12px;
  transform: translateY(-50%) rotate(225deg);
}

.about-page .team-grid .author-card {
  border-radius: var(--r-lg);
}

.about-page .team-grid .author-body p {
  line-height: 1.75;
}

.about-page .quote-card p {
  line-height: 1.9;
}

.about-page .about-newsletter .news-form input {
  font-family: var(--f-body);
}

@media (max-width: 991.98px) {
  .about-page .story-copy {
    max-width: none;
  }

  .about-page .purpose-grid {
    margin-top: 1.5rem;
  }

  .about-page .journey::before {
    left: 29px;
  }

  .about-page .journey-item {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 0;
    padding-block: .8rem;
  }

  .about-page .journey-item .journey-card,
  .about-page .journey-item:nth-child(odd) .journey-card,
  .about-page .journey-item:nth-child(even) .journey-card {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
  }

  .about-page .journey-marker {
    left: 29px;
  }

  .about-page .journey-item:nth-child(odd) .journey-card::before,
  .about-page .journey-item:nth-child(even) .journey-card::before {
    right: auto;
    left: -12px;
    transform: translateY(-50%) rotate(225deg);
  }
}

@media (max-width: 767.98px) {
  .about-page .purpose-grid {
    grid-template-columns: 1fr;
  }

  .about-page .purpose-card {
    min-height: 0;
  }

  .about-page .split-badge {
    right: .8rem;
    bottom: .8rem;
  }
}

@media (max-width: 575.98px) {
  .about-page .about-hero {
    padding-block: 3.5rem 5rem;
  }

  .about-page .about-hero h1 {
    font-size: 2.35rem;
  }

  .about-page .journey {
    margin-left: -.2rem;
  }

  .about-page .journey::before,
  .about-page .journey-marker {
    left: 23px;
  }

  .about-page .journey-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .about-page .journey-marker {
    width: 46px;
    height: 46px;
    border-width: 5px;
    font-size: .82rem;
  }

  .about-page .journey-card {
    padding: 1.2rem;
  }

  .about-page .journey-card::before {
    width: 18px;
    height: 18px;
    left: -10px !important;
  }

  .about-page .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .purpose-card,
  .about-page .journey-card {
    transition: none;
  }
}
