/* DakshinAstro — About page */

.about-page {
  background: #050510;
}

.about-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero */
.about-hero {
  position: relative;
  min-height: 700px;
  padding: calc(var(--header-h) + 80px) 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 54% 70% at 78% 45%, rgba(114, 43, 190, 0.5), transparent 68%),
    radial-gradient(ellipse 40% 50% at 12% 15%, rgba(55, 35, 145, 0.34), transparent 65%),
    linear-gradient(125deg, #080619 0%, #13092d 48%, #2c0c54 100%);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 24%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 30% 60%, #ffe9a8, transparent),
    radial-gradient(1px 1px at 55% 15%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 72% 70%, #fff, transparent),
    radial-gradient(1px 1px at 90% 28%, #ffdc86, transparent);
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-hero__copy {
  max-width: 640px;
}

.about-hero h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.3vw, 4.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.about-hero__copy > p:not(.about-kicker) {
  max-width: 570px;
  color: rgba(245, 242, 235, 0.78);
  font-size: 1.06rem;
  line-height: 1.8;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.about-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 42px;
}

.about-hero__proof div {
  display: flex;
  flex-direction: column;
}

.about-hero__proof strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.about-hero__proof span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.about-hero__visual {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
  align-content: center;
  overflow: visible;
}

/* Image + orbit animation block (matches home .why__orb) */
.about-hero__orb {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(500px, 100%);
  aspect-ratio: 1;
  animation: aboutFloat 7s ease-in-out infinite;
}

.about-hero__deity {
  position: relative;
  z-index: 2;
  width: min(390px, 78%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 184, 0, 0.6);
  border-radius: 50%;
  box-shadow:
    0 0 0 14px rgba(212, 175, 55, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(255, 184, 0, 0.22);
}

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

/* Caption sits below the full animation area — same as home .why__caption */
.about-hero__deity-caption {
  position: relative;
  z-index: 2;
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #d4af37);
  text-align: center;
  text-shadow: 0 0 24px rgba(255, 184, 0, 0.35);
}

.about-hero__deity-caption::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
}

.about-orbit {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 50%;
  animation: aboutOrbit 32s linear infinite;
}

.about-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px var(--gold-bright);
}

.about-orbit--outer {
  width: min(500px, 100%);
  aspect-ratio: 1;
}

.about-orbit--inner {
  width: min(445px, 90%);
  aspect-ratio: 1;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 24s;
}

.about-star {
  position: absolute;
  z-index: 3;
  color: #ffe883;
  text-shadow: 0 0 16px #ffb800;
  animation: aboutTwinkle 2.6s ease-in-out infinite;
}

.about-star--one { top: 10%; right: 15%; font-size: 1.6rem; }
.about-star--two { bottom: 16%; left: 8%; animation-delay: 0.8s; }
.about-star--three { top: 34%; left: 2%; font-size: 0.7rem; animation-delay: 1.5s; }

.about-hero__shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.025);
  transform: rotate(18deg);
}

.about-hero__shape--one { top: 18%; right: 3%; width: 150px; height: 150px; }
.about-hero__shape--two { right: 11%; bottom: 6%; width: 88px; height: 88px; }

@keyframes aboutFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes aboutOrbit {
  to { transform: rotate(360deg); }
}

@keyframes aboutTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Mission */
.about-mission {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(88, 40, 140, 0.18), transparent);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.mission-card {
  display: flex;
  gap: 22px;
  min-height: 230px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.about-icon {
  display: grid;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.1);
}

.about-icon--green {
  border-color: rgba(70, 210, 154, 0.3);
  color: #75e8b5;
  background: rgba(70, 210, 154, 0.09);
}

.about-icon svg {
  width: 34px;
  height: 34px;
}

.mission-card h3,
.story-step__card h3,
.founder-card h3,
.office-card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.mission-card p,
.story-step__card p,
.founder-card__body > p:not(.founder-card__role),
.office-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Story */
.about-story {
  background: linear-gradient(180deg, rgba(18, 10, 38, 0.42), transparent);
}

.story-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
}

.story-timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), #8d3dcc, var(--gold), transparent);
  transform: translateX(-50%);
}

.story-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;
  min-height: 175px;
}

.story-step__dot {
  position: relative;
  z-index: 2;
  grid-column: 2;
  justify-self: center;
  width: 18px;
  height: 18px;
  border: 4px solid #100920;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2), 0 0 18px rgba(255, 184, 0, 0.4);
}

.story-step__year {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  margin-top: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 600;
  background: #171029;
  transform: translateY(-20px);
}

.story-step__card {
  max-width: 350px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(28, 18, 48, 0.92), rgba(10, 8, 22, 0.96));
}

.story-step--right .story-step__card {
  grid-column: 3;
}

.story-step--left .story-step__card {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

/* Numbers */
.about-numbers {
  padding: 46px 0;
  border-block: 1px solid rgba(212, 175, 55, 0.25);
  background:
    linear-gradient(rgba(8, 8, 20, 0.9), rgba(8, 8, 20, 0.9)),
    url("../assets/gallery/slide-10.jpg") center 38% / cover no-repeat;
}

.about-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-number {
  padding: 22px 16px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  background: rgba(13, 10, 26, 0.75);
  backdrop-filter: blur(8px);
}

.about-number > span {
  color: var(--gold);
}

.about-number strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

.about-number p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* Founder */
.about-founders {
  background:
    radial-gradient(ellipse 45% 45% at 12% 48%, rgba(88, 40, 140, 0.16), transparent);
}

.founder-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.founder-spotlight__award {
  margin: 0;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 22px;
  overflow: hidden;
  background: #f8f0e4;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.founder-spotlight__award img {
  display: block;
  width: 100%;
  height: auto;
}

.founder-spotlight__bio {
  padding: 8px 4px;
}

.founder-spotlight__bio h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.founder-spotlight__bio > p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.founder-spotlight__award-line {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(212, 175, 55, 0.08);
}

.founder-spotlight__award-line strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.founder-spotlight__cta {
  margin-top: 28px;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}

.founder-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.founder-card__image {
  height: 370px;
  overflow: hidden;
  background: #100d1d;
}

.founder-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 0.7s ease;
}

.founder-card:hover .founder-card__image img {
  transform: scale(1.04);
}

.founder-card__body {
  padding: 28px;
}

.founder-card__role {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.founder-card__tags span {
  padding: 7px 12px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  background: rgba(212, 175, 55, 0.08);
}

/* Tradition */
.about-tradition {
  background: linear-gradient(180deg, transparent, rgba(18, 10, 38, 0.48), transparent);
}

.tradition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tradition-card {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #100d1d;
}

.tradition-card:nth-child(even) {
  transform: translateY(22px);
}

.tradition-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tradition-card:hover img {
  transform: scale(1.06);
}

.tradition-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(5, 5, 16, 0.92));
}

.tradition-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  min-height: 210px;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(26, 17, 47, 0.85), rgba(9, 8, 20, 0.95));
  transition: transform var(--transition), border-color var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 0, 0.52);
}

.value-card > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 13px;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.1);
}

.value-card h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* Banner */
.about-banner {
  padding-bottom: 0;
}

.about-banner__frame {
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 184, 0, 0.12);
}

.about-banner__frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Office */
.about-office {
  background:
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(88, 40, 140, 0.14), transparent);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.office-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-panel);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.office-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(255, 184, 0, 0.12);
}

.office-card__pin {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  color: var(--gold-bright);
  background: radial-gradient(circle, rgba(88, 40, 140, 0.4), rgba(20, 10, 40, 0.8));
}

.office-card__pin svg {
  width: 38px;
  height: 38px;
}

.office-card__body h3 {
  margin: 4px 0 8px;
}

.office-cta {
  margin-top: 32px;
  text-align: center;
}

/* CTA */
.about-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 65% 110% at 50% 100%, rgba(255, 184, 0, 0.14), transparent 65%),
    linear-gradient(120deg, #2b0a53, #5f12a5 48%, #2b0a53);
}

.about-cta::before,
.about-cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 42px;
  transform: rotate(25deg);
}

.about-cta::before { top: -100px; left: 4%; }
.about-cta::after { right: 7%; bottom: -140px; }

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

.about-cta h2 {
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 600;
}

.about-cta p:not(.about-kicker) {
  max-width: 600px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .about-hero {
    padding-top: calc(var(--header-h) + 58px);
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-hero__copy {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }

  .about-hero__copy > p:not(.about-kicker) {
    margin-inline: auto;
  }

  .about-hero__actions,
  .about-hero__proof {
    justify-content: center;
  }

  .about-hero__visual {
    min-height: 430px;
  }

  .mission-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .office-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .founder-spotlight {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 620px;
  }

  .founder-spotlight__bio {
    text-align: center;
  }

  .founder-spotlight__award-line {
    text-align: left;
  }

  .founder-spotlight__bio .founder-card__tags {
    justify-content: center;
  }

  .mission-grid,
  .founder-grid {
    max-width: 620px;
  }

  .about-numbers__grid,
  .tradition-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 44px) 0 56px;
  }

  .about-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .about-hero__copy > p:not(.about-kicker) {
    font-size: 0.94rem;
  }

  .about-hero__actions {
    flex-direction: column;
    max-width: 320px;
    margin-inline: auto;
  }

  .about-hero__actions .btn {
    width: 100%;
  }

  .about-hero__proof {
    gap: 20px;
  }

  .about-hero__proof div {
    flex: 1 1 28%;
  }

  .about-hero__proof strong {
    font-size: 1.4rem;
  }

  .about-hero__visual {
    min-height: 330px;
  }

  .about-hero__orb {
    width: min(310px, 88vw);
  }

  .about-hero__deity {
    width: min(250px, 72vw);
  }

  .about-orbit--outer {
    width: min(310px, 88vw);
  }

  .about-orbit--inner {
    width: min(280px, 80vw);
  }

  .mission-card {
    flex-direction: column;
    min-height: 0;
    padding: 24px 20px;
  }

  .story-timeline {
    padding-left: 28px;
  }

  .story-timeline__line {
    left: 9px;
    transform: none;
  }

  .story-step {
    display: block;
    min-height: 0;
    margin-bottom: 28px;
  }

  .story-step__dot {
    position: absolute;
    top: 26px;
    left: -27px;
  }

  .story-step__year {
    display: inline-block;
    margin: 0 0 8px;
    transform: none;
  }

  .story-step__card,
  .story-step--left .story-step__card {
    max-width: none;
    text-align: left;
  }

  .about-numbers__grid,
  .tradition-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .founder-card__image {
    height: 310px;
  }

  .founder-spotlight__bio h3 {
    font-size: 1.75rem;
  }

  .founder-spotlight__cta {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .founder-card__body {
    padding: 22px 18px;
  }

  .tradition-card,
  .tradition-card img {
    min-height: 260px;
  }

  .tradition-card:nth-child(even) {
    transform: none;
  }

  .value-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .office-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }

  .office-card__pin {
    margin: 0 auto;
  }

  .office-card__meta {
    justify-content: center;
  }

  .about-cta {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__orb,
  .about-orbit,
  .about-star {
    animation: none;
  }
}
