/* ==========================================================================
   Anu Herbs - Founder Story Page CSS (Clean Luxury Editorial)
   ========================================================================== */

.story-page {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

.story-main {
  width: 100%;
}

/* --- Hero Section --- */
.story-hero-section {
  padding: 60px 0 40px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
}

.hero-badge span {
  display: inline-block;
  background: rgba(45, 75, 62, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 6px 18px;
  border-radius: 999px;
}

.story-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.story-hero-heading .gold-italic {
  font-style: italic;
  color: var(--accent-gold-dark);
  font-weight: 500;
}

.story-hero-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--text-main); /* High contrast, crisp readable color */
  max-width: 760px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

/* --- Stats Strip --- */
.story-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid rgba(45, 75, 62, 0.1);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  gap: 16px;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(45, 75, 62, 0.12);
}

@media (max-width: 768px) {
  .story-hero-section {
    padding: 40px 0 28px 0;
  }
  .story-hero-heading {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 16px;
  }
  .story-hero-lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .story-stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  .stat-divider {
    display: none;
  }
  .stat-pill {
    padding: 0;
  }
}

/* --- Chapter Sections --- */
.story-chapter-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.story-chapter-section.bg-warm {
  background: var(--white);
  border-top: 1px solid rgba(45, 75, 62, 0.06);
  border-bottom: 1px solid rgba(45, 75, 62, 0.06);
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.chapter-grid.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.chapter-grid.reverse .chapter-image-pane {
  order: 2;
}

.chapter-grid.reverse .chapter-content-pane {
  order: 1;
}

/* Photo Styling: Clean, Edge-to-Edge with Zero White Side Space, Face Always Focused */
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(45, 75, 62, 0.12);
  background: var(--bg-secondary);
  will-change: transform;
  transition: box-shadow 0.4s ease;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%; /* Face and eyes always perfectly framed */
  display: block;
  will-change: transform;
}

/* Hover: on wrapper level */
.photo-frame:hover {
  box-shadow: 0 16px 44px rgba(45, 75, 62, 0.18);
}

.photo-caption-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(45, 75, 62, 0.1);
  display: flex;
  flex-direction: column;
}

.photo-caption-tag strong {
  font-size: 13px;
  color: var(--primary);
}

.photo-caption-tag span {
  font-size: 11px;
  color: var(--accent-gold-dark);
  font-weight: 600;
}

/* Chapter Content */
.chapter-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.chap-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-gold-dark);
  letter-spacing: 1.5px;
}

.chap-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.chapter-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.chapter-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.chapter-body strong {
  color: var(--text-main);
  font-weight: 600;
}

.credential-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.credential-pills .pill {
  background: var(--bg-secondary);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 75, 62, 0.08);
}

@media (max-width: 991px) {
  .chapter-grid,
  .chapter-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .chapter-grid.reverse .chapter-image-pane {
    order: -1;
  }
  .chapter-grid .chapter-image-pane {
    order: -1;
  }
  .photo-frame {
    max-width: 360px;
  }
}

/* --- Centerpiece Large Quote Section --- */
.story-quote-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #243D32 0%, #1F332A 100%);
  color: var(--white);
  position: relative;
}

.quote-card {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 20px 20px;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 0.6;
  color: var(--accent-gold);
  opacity: 0.6;
  margin-bottom: 20px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  color: #FAF7F2;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}

.quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.author-title {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.7);
}

/* --- Founder's Letter Box --- */
.founder-letter-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.letter-box {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(45, 75, 62, 0.1);
  border-radius: 20px;
  padding: 48px 48px;
  box-shadow: 0 8px 32px rgba(45, 75, 62, 0.06);
  position: relative;
}

.letter-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-gold-dark);
  margin-bottom: 8px;
}

.letter-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 24px;
}

.letter-body-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.letter-lead {
  font-family: var(--font-serif);
  font-size: 20px !important;
  font-style: italic;
  color: var(--primary) !important;
  line-height: 1.5 !important;
  margin-bottom: 24px !important;
}

.letter-signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(45, 75, 62, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}

.sign-gratitude {
  font-size: 14px;
  color: var(--accent-gold-dark);
  font-weight: 600;
  margin-bottom: 2px;
}

.sign-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
}

.sign-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.letter-seal span {
  display: inline-block;
  background: rgba(45, 75, 62, 0.06);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 75, 62, 0.1);
}

@media (max-width: 768px) {
  .letter-box {
    padding: 32px 20px;
  }
  .letter-signoff {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Story CTA --- */
.story-cta-wrap {
  padding: 50px 0 70px 0;
  text-align: center;
  background: var(--bg-secondary);
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--primary);
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px auto;
}

.cta-action-btn {
  display: inline-flex;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(45, 75, 62, 0.2);
  transition: all 0.3s ease;
}

.cta-action-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(45, 75, 62, 0.25);
}
