/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a6b 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.hero-headshot {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 28px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hero-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero .hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.hero-title-sub {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ===== Section Tags ===== */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== Accountant First Section ===== */
.accountant-first-section {
  background: var(--white);
}

.af-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.af-content h2 {
  margin-bottom: 24px;
}

.af-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.af-highlight {
  font-weight: 500;
  color: var(--navy) !important;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-top: 24px;
}

.af-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.stat-card {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== Story / Timeline Section ===== */
.story-section {
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border: 3px solid var(--gray-200);
  border-radius: 50%;
  z-index: 1;
}

.timeline-current .timeline-marker {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--transition);
}

.timeline-content:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-content h4 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Kaiser Section ===== */
.kaiser-section {
  background: var(--white);
}

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

.kaiser-card {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.kaiser-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.kaiser-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.kaiser-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 12px;
}

.kaiser-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Credentials Section ===== */
.credentials-section {
  background: var(--cream);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.credential-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

.credential-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.credential-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.credential-card h4 {
  color: var(--navy);
  margin-bottom: 8px;
}

.credential-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.credential-card > p:last-child {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Disclaimer Section ===== */
.disclaimer-section {
  padding: 40px 0;
  background: var(--white);
}

.disclaimer-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 32px;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
}

.disclaimer-box p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.disclaimer-box strong {
  color: var(--text);
}

/* ===== Active nav link ===== */
.nav-links a.active {
  color: var(--white);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .kaiser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .af-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .af-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }

  .page-hero {
    padding: 120px 0 60px;
    text-align: left;
  }

  .page-hero .hero-sub {
    margin: 0;
  }

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

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

  .timeline {
    padding-left: 32px;
  }

  .timeline::before {
    left: 11px;
  }

  .timeline-marker {
    left: -29px;
  }

  .timeline-content {
    padding: 20px 24px;
  }
}
