/* ═══════════════════════════════════════════════════
   About Page — Avikash JeetSingh
   Inherits all vars from styles.css
═══════════════════════════════════════════════════ */

.nav-active { color: var(--emerald) !important; }
.nav-active::after { width: 100% !important; }

/* ── Reveal system (reused from philosophy) ── */
.about-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.about-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════
   HERO
═══════════════════ */
.about-hero {
  position: relative;
  padding: clamp(7rem,13vw,10rem) 0 clamp(5rem,10vw,8rem);
  overflow: hidden;
  z-index: 1;
}

.about-hero-bg {
  position: absolute;
  top: 50%; right: -200px;
  transform: translateY(-50%);
  pointer-events: none;
  animation: spin-slow 180s linear infinite;
  opacity: 0.1; z-index: 0;
  filter: sepia(0.3) hue-rotate(10deg) saturate(1.2);
}
.about-hero-bg img { width: 800px; }

.about-hero-bloom {
  position: absolute;
  top: 30%; left: 30%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  pointer-events: none; z-index: 0;
}
.about-hero-bloom::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 40% 50%,
    rgba(22,163,74,0.1) 0%, rgba(212,175,55,0.06) 45%, transparent 70%);
  filter: blur(60px);
  animation: bloom-pulse 14s ease-in-out infinite alternate;
}

.about-hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

/* ── Photo column ── */
.about-photo-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.about-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(30,58,47,0.12),
    0 8px 24px rgba(30,58,47,0.08),
    0 0 0 1px rgba(22,163,74,0.15);
}

.about-photo {
  width: 100%;
  display: block;
  border-radius: 24px;
  /* Subtle warm treatment to harmonise with the page */
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.6s var(--ease-out);
}
.about-photo-frame:hover .about-photo {
  transform: scale(1.015);
}

/* Emerald glow behind photo */
.about-photo-glow {
  position: absolute; inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(22,163,74,0.12) 0%,
    transparent 50%,
    rgba(184,134,11,0.08) 100%
  );
  border-radius: 26px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.about-photo-caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 0.25rem;
}
.about-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.02em;
}
.about-origin {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding-left: 1.4rem;
}

/* ── Intro text ── */
.about-intro-col { padding-top: 0.5rem; }

.about-intro-col h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--text-heading);
  margin: 1rem 0 2rem;
  letter-spacing: -0.02em;
}
.about-intro-col h1 em {
  font-style: italic;
  color: var(--emerald);
}

.about-hero-lead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.about-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}
.about-hero-sub:last-of-type {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-heading);
  margin-top: 0.4rem;
}

/* ═══════════════════
   JOURNEY
═══════════════════ */
.about-journey {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin-top: 3.5rem;
}

.journey-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 2rem;
  position: relative;
}

.journey-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.journey-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border-mid);
  flex-shrink: 0;
  transition: all 0.3s;
  z-index: 1;
}
.journey-dot-active {
  background: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.15);
}

.journey-line {
  width: 1.5px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--border-mid), transparent);
  margin-top: 4px;
}

.journey-content {
  padding-bottom: 3rem;
}
.journey-item:last-child .journey-content { padding-bottom: 0; }

.journey-place {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.journey-place-active { color: var(--emerald); }

.journey-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text-heading);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.journey-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* Hover — line illuminates */
.journey-item:hover .journey-dot:not(.journey-dot-active) {
  background: var(--emerald-pale);
  border-color: var(--emerald);
}
.journey-item:hover .journey-content p { color: var(--text-body); }

/* ═══════════════════
   AUTHOR
═══════════════════ */
.about-author {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
}

.about-author-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem,7vw,6rem);
  align-items: center;
}

.about-author-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
}
.about-author-text h2 em {
  font-style: italic;
  color: var(--gold);
}
.about-author-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.about-quote-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-quote-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--emerald), var(--gold), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--emerald);
  opacity: 0.3;
  margin-bottom: 0.5rem;
  display: block;
}

.about-quote-card p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.quote-attr { display: flex; flex-direction: column; gap: 0.2rem; }
.quote-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}
.quote-title {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ═══════════════════
   OPERATOR — dark section
═══════════════════ */
.about-operator {
  position: relative; z-index: 2;
  padding: clamp(6rem,12vw,10rem) 0;
  overflow: hidden;
}

.about-operator-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.op-grad {
  position: absolute; inset: 0;
  background: var(--dark-grad);
}
.about-operator-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--dark-grad-glow);
  opacity: 0.85;
}
.op-mandala {
  position: absolute;
  bottom: -80px; right: -100px;
  width: 500px; height: 500px;
  opacity: 0.06;
  animation: spin-slow 200s linear infinite;
}

.about-operator-inner {
  position: relative; z-index: 2;
  max-width: 900px;
}

.about-operator-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: #f0f4ff;
  margin: 1rem 0 2.5rem;
}
.about-operator-inner h2 em {
  font-style: italic;
  color: var(--emerald-light);
}

.operator-text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
}
.operator-text-cols p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 300;
  color: rgba(240,244,255,0.72);
  line-height: 1.85;
}

/* ═══════════════════
   HUMAN — the real person
═══════════════════ */
.about-human {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-human-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.human-card {
  background: white;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  transition: background 0.3s, transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.human-card:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

.human-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.human-card h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-heading);
}

.human-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ═══════════════════
   CLOSING
═══════════════════ */
.about-closing {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
}

.about-closing-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(3rem,7vw,6rem);
  align-items: start;
}

.closing-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text-heading);
  margin: 1rem 0 1.8rem;
}
.closing-left h2 em { font-style: italic; color: var(--emerald); }

.closing-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.closing-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Closing photo — smaller, signature-style */
.closing-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 120px;
}

.closing-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.closing-photo {
  width: 100%;
  display: block;
  border-radius: 20px;
  filter: saturate(1.05);
}
.closing-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,163,74,0.08), transparent 60%);
  pointer-events: none;
}

.closing-sig {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 0.25rem;
}
.sig-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-heading);
  letter-spacing: 0.04em;
}
.sig-title {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about-hero-grid { grid-template-columns: 360px 1fr; }
  .about-closing-inner { grid-template-columns: 1fr 320px; }
}

@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-col { flex-direction: row; align-items: flex-start; gap: 1.5rem; }
  .about-photo-frame { max-width: 280px; flex-shrink: 0; }
  .about-author-grid { grid-template-columns: 1fr; gap: 3rem; }
  .operator-text-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-closing-inner { grid-template-columns: 1fr; }
  .closing-right { position: static; flex-direction: row; align-items: center; gap: 1.5rem; }
  .closing-photo-wrap { max-width: 180px; }
  .about-human-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-photo-col { flex-direction: column; }
  .about-photo-frame { max-width: 100%; }
  .closing-right { flex-direction: column; }
  .closing-photo-wrap { max-width: 100%; }
  .closing-ctas { flex-direction: column; }
  .closing-ctas .btn { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .about-intro-col h1 { font-size: 2.8rem; }
  .about-hero-lead { font-size: 1rem; }
  .about-hero-sub { font-size: 16px; }

  .journey-item { grid-template-columns: 28px 1fr; gap: 0 1.2rem; }
  .journey-content h3 { font-size: 1.35rem; }
  .journey-content p { font-size: 15px; }

  .about-author-text h2 { font-size: 2.2rem; }
  .about-author-text p { font-size: 15px; }
  .about-quote-card p { font-size: 1rem; }

  .about-operator-inner h2 { font-size: 2.2rem; }
  .operator-text-cols p { font-size: 16px; }

  .human-card { padding: 1.4rem; }
  .human-card h4 { font-size: 16px; }
  .human-card p { font-size: 14px; }

  .closing-left h2 { font-size: 2.4rem; }
  .closing-left p { font-size: 15px; }
}
