/* AstroSadhna — About page */

body[data-page="about"] {
  --about-radius: 22px;
  --about-line: rgba(176, 31, 31, 0.18);
}

/* ========== Hero ========== */
.about-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.25rem, 4.5vw, 3.25rem);
  overflow: hidden;
  background:
    radial-gradient(55% 70% at 88% 8%, rgba(232, 93, 28, 0.22), transparent 55%),
    radial-gradient(40% 55% at 8% 90%, rgba(176, 31, 31, 0.14), transparent 50%),
    var(--ink, #0e0708);
  color: var(--text-on-dark, #fff6ee);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.about-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 217, 160, 0.28);
  background: rgba(240, 217, 160, 0.08);
  color: #f0d9a0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  line-height: 1.08;
  max-width: 12ch;
  background: linear-gradient(180deg, #fff6ee 10%, #f0d9a0 55%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-hero-role {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: rgba(240, 217, 160, 0.9);
  font-style: italic;
}
.about-hero .lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: rgba(255, 246, 238, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.65;
}
.about-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.85rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.about-hero-stats li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #f0d9a0;
  line-height: 1;
  margin-bottom: 0.28rem;
}
.about-hero-stats li span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 246, 238, 0.55);
  font-weight: 600;
}
.about-hero-media {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--about-radius);
  overflow: hidden;
  border: 1px solid rgba(240, 217, 160, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  aspect-ratio: 4 / 5;
}
.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.about-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(14, 7, 8, 0.55));
  pointer-events: none;
}
.about-hero-caption {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff6ee;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ========== Story ========== */
.about-story {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
.about-story-copy .eyebrow {
  margin-bottom: 0.65rem;
}
.about-story-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  line-height: 1.15;
  max-width: 16ch;
}
.about-story-copy h2 em {
  color: var(--ember-hot, #e85d1c);
  font-style: italic;
}
.about-story-copy p {
  margin: 0 0 0.95rem;
  color: var(--text-soft);
  max-width: 38rem;
  line-height: 1.7;
}
.about-story-copy p strong {
  color: var(--text);
  font-weight: 700;
}
.about-cred-grid {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-cred-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line, rgba(176, 31, 31, 0.14));
  border-radius: 16px;
  background: rgba(176, 31, 31, 0.03);
}
.about-cred-grid .num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ember-hot, #e85d1c);
  line-height: 1.2;
  min-width: 1.6rem;
}
.about-cred-grid strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.about-cred-grid span {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* ========== Philosophy ========== */
.about-philosophy {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(232, 93, 28, 0.14), transparent 55%),
    var(--ink, #0e0708);
  color: #fff6ee;
}
.about-philosophy .title-sub {
  color: rgba(255, 246, 238, 0.7);
}
.about-philosophy .title-main {
  color: #fff6ee;
}
.about-philosophy .title-main em {
  color: #ff8a3d;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.about-pillar {
  padding: 1.5rem 1.35rem 1.4rem;
  border-top: 2px solid rgba(255, 138, 61, 0.55);
  background: rgba(255, 255, 255, 0.03);
  border-inline: 1px solid rgba(240, 217, 160, 0.1);
  border-bottom: 1px solid rgba(240, 217, 160, 0.1);
  border-radius: 0 0 16px 16px;
}
.about-pillar-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0d9a0;
}
.about-pillar p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: #fff6ee;
}

/* ========== Expertise ========== */
.about-expertise {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.about-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.about-exp {
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: var(--about-radius);
  border: 1px solid var(--line, rgba(176, 31, 31, 0.14));
  background: transparent;
  transition: border-color 0.3s, transform 0.3s;
}
.about-exp:hover {
  border-color: rgba(232, 93, 28, 0.35);
  transform: translateY(-2px);
}
.about-exp-num {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ember-hot, #e85d1c);
  line-height: 1;
}
.about-exp h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.about-exp p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ========== Journey ========== */
.about-journey {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(176, 31, 31, 0.04), transparent 40%),
    var(--bg, #faf6f1);
}
html[data-theme="dark"] .about-journey {
  background:
    linear-gradient(180deg, rgba(232, 93, 28, 0.06), transparent 45%),
    var(--ink-2, #160b0c);
}
.about-timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 760px;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
}
.about-timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--ember-hot, #e85d1c), rgba(176, 31, 31, 0.15));
}
.about-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0 1.35rem;
}
.about-tl-dot {
  position: relative;
  z-index: 1;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  border: 2px solid var(--ember-hot, #e85d1c);
  background: var(--bg, #faf6f1);
  box-shadow: 0 0 0 4px rgba(232, 93, 28, 0.12);
}
html[data-theme="dark"] .about-tl-dot {
  background: var(--ink-2, #160b0c);
}
.about-tl-meta {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson, #b01f1f);
}
.about-tl-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}
.about-tl-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
}

/* ========== Light theme hero ========== */
html[data-theme="light"] .about-hero {
  background:
    radial-gradient(55% 70% at 88% 8%, rgba(232, 93, 28, 0.12), transparent 55%),
    #faf6f1;
  color: var(--text);
}
html[data-theme="light"] .about-hero h1 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text);
}
html[data-theme="light"] .about-hero-role {
  color: var(--crimson, #b01f1f);
}
html[data-theme="light"] .about-hero .lead {
  color: var(--text-soft);
}
html[data-theme="light"] .about-hero-stats li strong {
  color: var(--crimson, #b01f1f);
}
html[data-theme="light"] .about-hero-stats li span {
  color: var(--text-soft);
}
html[data-theme="light"] .about-hero-kicker {
  color: var(--crimson, #b01f1f);
  border-color: rgba(176, 31, 31, 0.22);
  background: rgba(176, 31, 31, 0.06);
}
html[data-theme="light"] .about-philosophy {
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(232, 93, 28, 0.1), transparent 55%),
    #160b0c;
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .about-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-media {
    max-width: 380px;
    order: -1;
  }
  .about-hero h1 {
    max-width: none;
  }
  .about-pillars,
  .about-expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-pillars,
  .about-expertise-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-media {
    max-width: 100%;
    aspect-ratio: 16 / 11;
  }
  .about-hero-media img {
    object-position: center 22%;
  }
}
