/* ============================================
   ABOUT.CSS — Premium About Page Styles
   ============================================ */

/* ── Page Hero adjustments ── */
/* Global handles the main page-hero styling now.
   Keep only about-page-specific width refinements. */
.page-hero-inner {
  max-width: 980px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Story Section ── */
.story-section {
  padding: 110px 40px;
}

.story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 84px;
  align-items: start;
}

.story-sidebar {
  position: sticky;
  top: 108px;
}

/* ── Sidebar Profile ── */
.profile-block {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  color: var(--white);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.06);
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.profile-title {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.66);
  line-height: 1.7;
  margin-bottom: 24px;
}

.profile-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
  line-height: 1.6;
}

.profile-detail-icon {
  width: 22px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Sidebar Certifications ── */
.sidebar-certs {
  background: var(--surface);
  border: 1px solid rgba(15,31,56,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.sidebar-certs h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15,31,56,0.08);
}

.cert-item:last-child {
  border-bottom: none;
}

.cert-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--accent-soft);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.cert-text p {
  font-size: 0.94rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 2px;
}

.cert-text span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ── Story Content ── */
.story-block {
  margin-bottom: 64px;
}

.story-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.story-block p {
  font-size: 1.03rem;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 18px;
  max-width: 760px;
}

.story-block p:last-child {
  margin-bottom: 0;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 56px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(15,31,56,0.12));
}

.timeline-item {
  position: relative;
  margin-bottom: 42px;
  padding-bottom: 2px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(199,165,91,0.08);
}

.timeline-item.current::before {
  background: var(--accent);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

.timeline-desc {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 720px;
}

/* ── Values Section ── */
.values-section {
  background: var(--white);
  padding: 96px 40px;
  border-top: 1px solid rgba(15,31,56,0.06);
}

.values-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.value-card {
  padding: 34px 28px;
  border: 1px solid rgba(15,31,56,0.08);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  background: var(--surface);
}

.value-card:hover {
  border-color: rgba(199,165,91,0.34);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.value-number {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 600;
  color: rgba(15,31,56,0.05);
  position: absolute;
  top: 14px;
  right: 18px;
  line-height: 1;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
  max-width: 14ch;
}

.value-card p {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.82;
  max-width: 34ch;
}

/* ── CTA Banner ── */
.cta-banner {
  background:
    radial-gradient(circle at top right, rgba(199,165,91,0.13), transparent 38%),
    linear-gradient(180deg, var(--ivory) 0%, #eee8d8 100%);
  padding: 96px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(199,165,91,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,165,91,0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 18px;
  position: relative;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: var(--text-mid);
  font-size: 1.04rem;
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
  background: var(--navy);
  color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-sidebar {
    position: static;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .story-section,
  .values-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .story-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .values-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .story-block p,
  .timeline-desc,
  .value-card p {
    font-size: 1rem;
  }

  .profile-block,
  .sidebar-certs {
    padding: 26px 22px;
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 26px;
  }

  .timeline-item::before {
    left: -26px;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .story-block h2 {
    font-size: 1.8rem;
  }

  .timeline-title,
  .value-card h3 {
    font-size: 1.24rem;
  }

  .value-card,
  .profile-block,
  .sidebar-certs {
    border-radius: 18px;
  }

  .cta-banner .btn + .btn {
    margin-left: 0;
    margin-top: 12px;
  }
}
