﻿/* =============================================================
   ABOUT.CSS — About page styles
   Hillside Hope | hillsidehope.org
   ============================================================= */

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 80px var(--pad-page);
  position: relative;
  overflow: hidden;
}

/* Ghost watermark behind hero heading */
.page-hero__watermark {
  position: absolute;
  right: var(--pad-page);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.page-hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.page-hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  max-width: 640px;
  margin-bottom: 0;
}

.page-hero h1 .script {
  font-family: 'Dancing Script', cursive;
  font-size: 58px;
  color: rgba(255,255,255,0.9);
  display: block;
}

.page-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Founding Story ─────────────────────────────────────────── */
.founding {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: #fff;
}

.founding__text {
  padding: 80px 56px 80px var(--pad-page);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founding__text h2 {
  font-size: 36px;
  margin-bottom: 4px;
  line-height: 1.15;
}

.founding__script {
  font-family: 'Dancing Script', cursive;
  font-size: 38px;
  font-weight: 700;
  color: var(--blue-bright);
  display: block;
  line-height: 1.25;
  margin-bottom: 20px;
}

.founding__text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 14px;
}

.founding__photo {
  overflow: hidden;
  background: var(--blue-pale);
}

.founding__photo img,
.founding__photo.img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Mission & Values ───────────────────────────────────────── */
.values {
  background: var(--bg-light);
  padding: 80px var(--pad-page);
  text-align: center;
}

.values__header {
  margin-bottom: 44px;
}

.values__header h2 {
  font-size: 36px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.values__script {
  font-family: 'Dancing Script', cursive;
  font-size: 38px;
  font-weight: 700;
  color: var(--blue-bright);
  display: block;
}

.values__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}

.value-card__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
  flex-shrink: 0;
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
}

.value-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.value-card__script {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-bright);
  display: block;
  margin-bottom: 14px;
  line-height: 1.2;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* ── Leadership ─────────────────────────────────────────────── */
.leadership {
  background: #fff;
  padding: 80px var(--pad-page);
}

.leadership__header {
  text-align: center;
  margin-bottom: 48px;
}

.leadership__header h2 {
  font-size: 36px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.leadership__script {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-bright);
  display: block;
}

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

.leader-card {
  text-align: center;
}

.leader-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--blue-pale);
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--border);
}

.leader-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-dark);
  display: block;
  margin-bottom: 4px;
}

.leader-card__title {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leader-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ── Timeline ───────────────────────────────────────────────── */
.timeline {
  background: var(--bg-light);
  padding: 80px var(--pad-page);
}

.timeline__header {
  text-align: center;
  margin-bottom: 56px;
}

.timeline__header h2 {
  font-size: 36px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.timeline__script {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-bright);
  display: block;
}

/* Horizontal timeline track */
.timeline__track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
}

/* Connecting line */
.timeline__track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

/* Green progress line */
.timeline__track::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: 2px;
  background: linear-gradient(to right, var(--gold) 80%, var(--border) 80%);
  z-index: 0;
}

.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-item__dot {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--navy);
}

.timeline-item__dot svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.timeline-item__year {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.timeline-item__label {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 120px;
}

/* ── CTA Strip ──────────────────────────────────────────────── */
.about-cta {
  background: var(--navy);
  padding: 72px var(--pad-page);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.about-cta__text h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 8px;
}

.about-cta__text h2 .script {
  font-style: italic;
  font-size: 40px;
}

.about-cta__text p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 520px;
}

.about-cta__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 42px; }
  .page-hero h1 .script { font-size: 46px; }
  .timeline__track { gap: 8px; }
  .timeline-item__label { font-size: 12px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 56px 24px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero h1 .script { font-size: 38px; }
  .page-hero__watermark { display: none; }

  .founding { grid-template-columns: 1fr; }
  .founding__text { padding: 48px 24px; }
  .founding__photo { min-height: 280px; }

  .values { padding: 56px 24px; }
  .values__cards { grid-template-columns: 1fr; }

  .leadership { padding: 56px 24px; }
  .leadership__cards { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Vertical timeline on mobile */
  .timeline { padding: 56px 24px; }
  .timeline__track {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .timeline__track::before {
    top: 20px;
    left: 19px;
    right: auto;
    width: 2px;
    height: calc(100% - 20px);
  }
  .timeline__track::after {
    top: 20px;
    left: 19px;
    width: 2px;
    height: 70%;
    background: linear-gradient(to bottom, var(--gold) 80%, var(--border) 80%);
  }
  .timeline-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
  }
  .timeline-item__dot { margin-bottom: 0; flex-shrink: 0; }
  .timeline-item__label { max-width: none; }

  .about-cta {
    flex-direction: column;
    text-align: center;
    padding: 56px 24px;
  }
  .about-cta__text p { margin: 0 auto; }
}

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