/* ============================================================
   AgeInnovate — about.css
   Page-specific styles for about.html.
   Extends style.css — never duplicates base tokens.
   ============================================================ */

/* === ABOUT HERO ===
   Deliberately different from the homepage dark hero.
   Light gray surface, centered, graphic quote treatment.
   The quote is the design — no photo, no competing elements.
*/
.about-hero {
  background: var(--color-surface-light);
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-7);
  position: relative;
  overflow: hidden;
}

/* Background image — translucent wash over light gray.
   The ::after pseudo-element carries the image at low opacity so the
   light gray surface and dark text remain readable on top of it.
   Swap the url() value when the image file arrives. */
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/about-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

/* Giant decorative opening quote mark — fills the blank space,
   reads immediately as a quote, doesn't compete with the text */
.about-hero::before {
  content: "\201C";
  position: absolute;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(18rem, 30vw, 36rem);
  line-height: 0.8;
  color: var(--color-accent);
  opacity: 0.06;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about-hero__inner {
  position: relative; /* sits above the decorative mark */
  z-index: 1;
  text-align: center;
  max-width: var(--container-lg);
  margin-inline: auto;
}
.about-hero .eyebrow {
  margin-bottom: var(--space-6);
}
.about-hero h1 {
  font-size: clamp(var(--fs-xl), 2.2vw, var(--fs-2xl));
  color: var(--color-ink-muted);
  font-weight: var(--fw-semibold);
  line-height: 1.7;
  letter-spacing: 0;
  max-width: 28ch;
  margin-inline: auto;
}

/* Thin teal rule — makes the gap between the two parts feel designed, not empty */
.about-hero__punchline::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: var(--space-7) auto var(--space-7);
  opacity: 0.6;
}

/* Punchline: the answer — much bigger, much louder */
.about-hero__punchline {
  display: block;
  font-size: clamp(var(--fs-4xl), 6vw, var(--fs-6xl));
  font-style: italic;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 0; /* spacing handled by ::before now */
}

/* === WHY WE EXIST === */
.why-exist {
  background: var(--color-surface-light);
  padding-block: var(--space-8);
}
.why-exist__inner {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 1024px) {
  .why-exist__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
  }
}
.why-exist__content h2 {
  font-size: var(--fs-3xl);
  color: var(--color-ink);
  margin-bottom: var(--space-5);
}
@media (min-width: 768px) { .why-exist__content h2 { font-size: var(--fs-4xl); } }
.why-exist__content p {
  font-size: var(--fs-lg);
  color: var(--color-ink-muted);
  line-height: var(--lh-loose);
  max-width: 55ch;
  margin-bottom: var(--space-4);
}
.why-exist__content p:last-child { margin-bottom: 0; }

.why-exist__stat-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: var(--space-7) var(--space-6);
  background: var(--color-surface-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.why-exist__stat-block .stat__num { font-size: var(--fs-6xl); }

/* === WHY NASHVILLE === */
.why-nashville {
  background: var(--color-surface-dark);
  padding-block: var(--space-8);
}
.why-nashville__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .why-nashville__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}
.why-nashville__content h2 {
  font-size: var(--fs-3xl);
  color: var(--color-ink-light);
  margin-bottom: var(--space-5);
}
@media (min-width: 768px) { .why-nashville__content h2 { font-size: var(--fs-4xl); } }
.why-nashville__content p {
  font-size: var(--fs-lg);
  color: var(--color-ink-muted-dark);
  line-height: var(--lh-loose);
  max-width: 50ch;
  margin-bottom: var(--space-4);
}
.why-nashville__content p:last-child { margin-bottom: 0; }

.why-nashville__stat-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: var(--space-7) var(--space-6);
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-lg);
}

/* === OUR STORY TIMELINE === */
.our-story {
  background: var(--color-surface-light);
  padding-block: var(--space-8);
}
.our-story h2 {
  font-size: var(--fs-3xl);
  color: var(--color-ink);
  margin-bottom: var(--space-8);
  max-width: 20ch;
}
@media (min-width: 768px) { .our-story h2 { font-size: var(--fs-4xl); } }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
/* Vertical rule */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-line));
}
@media (min-width: 640px) {
  .timeline::before { left: 88px; }
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding: var(--space-6) 0 var(--space-6) var(--space-6);
  position: relative;
}
@media (min-width: 640px) {
  .timeline__item {
    grid-template-columns: 88px 1fr;
    gap: var(--space-6);
    padding: var(--space-6) 0 var(--space-6) 0;
    align-items: start;
  }
}
/* Timeline dot */
.timeline__item::before {
  content: "";
  position: absolute;
  top: calc(var(--space-6) + 6px);
  left: -5px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-surface-light);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .timeline__item::before { left: 83px; }
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-3xl);
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .timeline__year {
    padding-top: 2px; /* optical alignment with headline */
  }
}

.timeline__headline {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  color: var(--color-ink);
  margin-bottom: var(--space-3);
  line-height: var(--lh-snug);
}
.timeline__body {
  font-size: var(--fs-base);
  color: var(--color-ink-muted);
  line-height: var(--lh-loose);
  max-width: 55ch;
  margin-bottom: var(--space-4);
}
.timeline__content .link-arrow {
  color: var(--color-ink);
}

/* === THE TEAM === */
.team {
  background: var(--color-surface-dark);
  padding-block: var(--space-8);
}
.team h2 {
  font-size: var(--fs-3xl);
  color: var(--color-ink-light);
  margin-bottom: var(--space-7);
}
@media (min-width: 768px) { .team h2 { font-size: var(--fs-4xl); } }

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

.team__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
  background: var(--color-surface-card);
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
@media (max-width: 480px) {
  .team__card {
    grid-template-columns: 1fr;
  }
}

/* Photo: swap placeholder for <img> when headshots arrive */
.team__photo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}
.team__photo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  background: var(--color-accent-tint);
  border: 1px solid rgba(34, 201, 151, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.team__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xl);
  color: var(--color-ink-light);
  margin-bottom: var(--space-1);
  line-height: var(--lh-snug);
}
.team__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.team__body {
  font-size: var(--fs-base);
  color: var(--color-ink-muted-dark);
  line-height: var(--lh-loose);
}

/* Active nav state */
.site-nav__list a[aria-current="page"] {
  color: var(--color-ink-light);
  font-weight: var(--fw-semibold);
}
