/* ============================================================
   ABOUT PAGE — about.css
   ============================================================ */

/* ── Active nav ── */
.active-nav { color: var(--amber-text) !important; } /* #7A5C1E: 4.93:1 on beige header — passes AA */
.active-nav::after { width: 100% !important; }

/* ── Shared reveal-up (used by JS observer) ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.delay-1 { transition-delay: 0.12s; }
.reveal-up.delay-2 { transition-delay: 0.24s; }
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero line reveal ── */
.reveal-line {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-line.delay-1 { transition-delay: 0.2s; }
.reveal-line.delay-2 { transition-delay: 0.4s; }
.reveal-line.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ABOUT HERO
   ============================================================ */
.about-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 6, 2, 0.82) 0%,
    rgba(10, 6, 2, 0.3) 50%,
    rgba(10, 6, 2, 0.05) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 2rem 5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.about-hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1rem;
}

.about-hero-name {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.about-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

.about-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.about-hero-scroll .scroll-line {
  display: block;
  width: 1.5px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  margin: auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.7; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}

/* ============================================================
   BIG STATEMENT
   ============================================================ */
.statement-section {
  background: #0f0b07;
  padding: 8rem 2rem;
  text-align: center;
}

.statement-text {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  max-width: 860px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}
.statement-text em {
  font-style: normal;
  color: var(--amber-light);
  font-weight: 500;
}

/* Word-by-word reveal */
.statement-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.statement-text .word.visible {
  opacity: 1;
  transform: translateY(0);
}

.br-desktop { display: block; }

/* ============================================================
   STORY SECTION — sticky image
   ============================================================ */
.story-section {
  background: var(--white);
  padding: 0;
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

/* Sticky column */
.story-sticky-col {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.story-sticky-img-wrap {
  width: 100%;
  height: 100%;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Scrolling text column */
.story-text-col {
  padding: 8rem 4rem 8rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.story-block p {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-top: 0.8rem;
}

.story-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-top: 0.5rem;
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-section {
  background: var(--beige);
  padding: 7rem 0;
}

.pillars-title { margin-bottom: 3rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2rem;
  text-align: center;
  border: 1px solid var(--beige-deeper);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-pale), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  position: relative;
}
.pillar-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.8rem;
  position: relative;
}
.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.75;
  position: relative;
}

/* ============================================================
   QUOTE SECTION — full-bleed image
   ============================================================ */
.quote-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.quote-bg-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.quote-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 2, 0.68);
}

.quote-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 2rem;
}

.big-quote {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: normal;
  color: #fff;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  letter-spacing: 0.02em;
  border: none;
}

.big-quote-cite {
  font-size: 1rem;
  color: var(--amber-light);
  font-weight: 500;
  letter-spacing: 0.1em;
  display: block;
}

/* ============================================================
   CREDENTIALS / TIMELINE
   ============================================================ */
.credentials-section {
  background: var(--white);
  padding: 7rem 0;
}

.credentials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.credentials-intro {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-top: 1rem;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--beige-deeper);
  align-items: start;
}
.timeline-item:first-child { padding-top: 0; }
.timeline-item:last-child { border-bottom: none; }

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber-text); /* #7A5C1E: 6.07:1 on white — passes AA */
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.timeline-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.timeline-body p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================================
   ABOUT CTA
   ============================================================ */
.about-cta {
  background: linear-gradient(135deg, #0f0b07 0%, #1c2c18 100%);
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.about-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,147,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-cta-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.about-cta-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber-accessible); /* 4.91:1 vs white text — passes AA */
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 2.6rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 28px rgba(200,147,58,0.4);
}
.btn-about-cta:hover {
  background: var(--green); /* --amber-light (#E8B05A) gives only 1.89:1 with white text */
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(90,112,71,0.5);
}
.btn-about-cta::before { content: '💬'; font-size: 1.1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .story-text-col { padding: 6rem 2.5rem 6rem 3rem; }
  .credentials-inner { gap: 3rem; }
}

@media (max-width: 768px) {
  .about-hero-name { font-size: clamp(3rem, 12vw, 5rem); }
  .about-hero-content { padding-bottom: 4rem; }

  .statement-section { padding: 5rem 1.5rem; }
  .br-desktop { display: none; }

  /* Stack story section */
  .story-inner {
    grid-template-columns: 1fr;
  }
  .story-sticky-col {
    position: relative;
    height: 60vw;
    min-height: 280px;
  }
  .story-text-col {
    padding: 3rem 1.5rem 4rem;
    gap: 3rem;
  }

  .pillars-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .quote-section { min-height: 50vh; }
  .big-quote { font-size: clamp(1.3rem, 5vw, 2rem); }

  .credentials-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-cta { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .about-hero-content { padding: 0 1rem 3rem; }
  .timeline-item { grid-template-columns: 56px 1fr; gap: 1rem; }
}
