/* ===================================================================
   ABOUT — /about/
   Page-specific components only. Everything structural (.section,
   .container, .head, .btn, .about-pastor, .giving-cta) comes from
   style.css and is not redefined here.

   Naming note: style.css already owns .about, .about-story,
   .about-lead and .about-pastor-*. Nothing below reuses those names.

   Containers 10px radius (per house rule); buttons inherit 6px.
   =================================================================== */

/* --- sticky "jump to" nav ---------------------------------------
   The site header is position:relative, so this can own the top of
   the viewport once the hero scrolls past. No JS — active state is
   intentionally not tracked; the list is short enough to scan.
   ---------------------------------------------------------------- */
.about-jump {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 242, 238, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-jump-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 3.4rem;
}
.about-jump-label {
  flex: none;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-jump-links {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.about-jump-links::-webkit-scrollbar { display: none; }
.about-jump-links > li { flex: none; }
.about-jump-link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.about-jump-link:hover { background: var(--navy); color: var(--cream); }

/* Landing offset so a jumped-to heading clears the sticky bar. */
.about-target { scroll-margin-top: 5rem; }

@media (max-width: 48rem) {
  .about-jump-label { display: none; }
  /* let the pills run edge to edge when they have to scroll */
  .about-jump-links { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
}

/* --- fragment stacks ---------------------------------------------
   The church writes one sentence per line. Each line is its own
   <p>; the narrow measure is what makes the short lines read as
   intentional rather than as a wrapping accident.
   ---------------------------------------------------------------- */
.about-lines {
  max-width: 34rem;
  margin-top: clamp(1.25rem, 2.4vw, 1.75rem);
}
.about-lines p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--slate);
}
.about-lines p + p { margin-top: 0.5rem; }
.about-lines--center { margin-inline: auto; text-align: center; }

/* --- hero pillar line --------------------------------------------- */
.about-hero-pillars {
  margin: 1.1rem 0 0;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--red);
}

/* --- the three pillars -------------------------------------------
   One full section each, alternating sides. These carry the
   church's own words and are the spine of the page.
   ---------------------------------------------------------------- */
.about-pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.about-pillar--flip .about-pillar-media { order: 2; }
.about-pillar-media {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}
.about-pillar-body { max-width: 34rem; }
/* .about-pillar-num (the 01/02/03 counters) removed 2026-09-10 (Bryan).
   .about-pillar-name loses its top margin with them — the name is now the
   first thing in the column and was only offset to clear the number. */
.about-pillar-name { margin-top: 0; }
.about-pillar-lead {
  margin: clamp(1.1rem, 2vw, 1.5rem) 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--navy);
}

/* on the navy band */
.about-pillar--light .about-pillar-lead {
  border-left-color: #e2848a;
  color: var(--cream);
}
.about-pillar--light .about-lines p { color: rgba(255, 255, 255, 0.82); }

@media (max-width: 62rem) {
  .about-pillar { grid-template-columns: 1fr; }
  .about-pillar--flip .about-pillar-media { order: 0; }
  .about-pillar-body { max-width: 40rem; }
}

/* .about-band (the wide worship.jpg band above the campus row) removed
   2026-09-10 (Bryan). kids.css still references it by name in a comment —
   .kids-band was cut to match its crop and is unaffected. */

/* --- beliefs ------------------------------------------------------
   Holds North Point's statement of faith (supplied 2026-09-08). Cards
   now carry multiple paragraphs each, so the grid is content-height.
   ---------------------------------------------------------------- */
.about-beliefs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.about-belief {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
}
.about-belief-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}
.about-belief-copy {
  margin: 0.8rem 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--slate);
}

@media (max-width: 62rem) { .about-beliefs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .about-beliefs { grid-template-columns: 1fr; } }

/* --- history timeline ---------------------------------------------
   ORPHANED 2026-09-08: the placeholder timeline was replaced by the
   church's history narrative (.about-history). Kept in case the team
   wants a timeline built from the real years in that copy — 2003,
   2005, 2017, 2020, 2021, 2025. Delete if they don't.
   ---------------------------------------------------------------- */
.about-timeline {
  list-style: none;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 0 0 clamp(1.5rem, 3vw, 2.25rem);
  border-left: 2px solid var(--line);
}
.about-milestone { position: relative; padding-bottom: clamp(2rem, 4vw, 2.75rem); }
.about-milestone:last-child { padding-bottom: 0; }
.about-milestone::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: calc(clamp(1.5rem, 3vw, 2.25rem) * -1 - 1px);
  width: 13px;
  height: 13px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--cream);
}
.about-milestone-year {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--red);
}
.about-milestone-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.about-milestone-copy {
  margin: 0.7rem 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--slate);
}

/* --- "four campuses today" strip ---------------------------------- */
.about-campuses {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.about-campus { text-decoration: none; display: block; }
.about-campus-media {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  transition: transform 0.2s ease;
}
.about-campus:hover .about-campus-media { transform: translateY(-3px); }
.about-campus-name {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 62rem) { .about-campuses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .about-campuses { grid-template-columns: 1fr; } }

/* --- additional leaders -------------------------------------------
   Placeholder cards. Photo, name, role and bio all come from the
   church; the media block is an empty .ph on purpose.
   ---------------------------------------------------------------- */
.about-leaders {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.about-leader {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.about-leader-media { aspect-ratio: 4 / 3; }
.about-leader-name,
.about-leader-role,
.about-leader-bio { padding-inline: clamp(1.25rem, 2vw, 1.6rem); }
.about-leader-name {
  margin: clamp(1.25rem, 2vw, 1.6rem) 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.about-leader-role {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.about-leader-bio {
  margin: 0.85rem 0 0;
  padding-bottom: clamp(1.5rem, 2.4vw, 2rem);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate);
}

@media (max-width: 62rem) { .about-leaders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .about-leaders { grid-template-columns: 1fr; } }

/* --- governance (expandable) --------------------------------------
   <details>/<summary> — Drew asked for this to be available
   without interrupting the story of the page. No JS needed.
   ---------------------------------------------------------------- */
.about-gov-details {
  max-width: 52rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.about-gov-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 1.4rem) clamp(1.25rem, 2.4vw, 2rem);
  cursor: pointer;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.about-gov-summary::-webkit-details-marker { display: none; }
.about-gov-marker {
  position: relative;
  flex: none;
  display: block;
  width: 14px;
  height: 14px;
}
.about-gov-marker::before,
.about-gov-marker::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--red);
}
.about-gov-marker::before { width: 14px; height: 2px; }
.about-gov-marker::after { width: 2px; height: 14px; transition: transform 0.18s ease; }
.about-gov-details[open] .about-gov-marker::after { transform: scaleY(0); }

.about-gov-panel {
  padding: clamp(1.25rem, 2.4vw, 1.75rem) clamp(1.25rem, 2.4vw, 2rem) clamp(1.5rem, 2.8vw, 2rem);
  border-top: 1px solid var(--line);
}
.about-gov-copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--slate);
}
.about-gov-copy + .about-gov-copy { margin-top: 0.9rem; }
.about-gov-copy a { color: var(--navy); }
.about-gov-btn { margin-top: clamp(1.25rem, 2.4vw, 1.75rem); }

/* --- history narrative (replaced the placeholder timeline) --------- */
.about-history {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.about-history p {
  margin: 0 0 1.15rem;
  font-size: 1.05rem; line-height: 1.8; color: var(--slate);
}
.about-history p:last-child { margin-bottom: 0; }
.about-history-close {
  margin-top: 2rem !important;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--navy) !important;
}

/* --- governance ---------------------------------------------------- */
.about-gov-heading {
  margin: 2rem 0 0.9rem;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--navy);
}
.about-board {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem clamp(1.5rem, 3vw, 2.5rem);
}
.about-board > li {
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
}
.about-board-name {
  display: block; font-weight: 700; color: var(--navy); font-size: 1rem;
}
.about-board-role {
  display: block; margin-top: 0.15rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 40rem) { .about-board { grid-template-columns: 1fr; } }
