/* ============================================================================
   JNZ Insurance — About page styles
   ============================================================================
   Loaded only on /about/. Depends on /styles.css being loaded first.
   Hero, header, footer, buttons, pillars, testimonials, stats-strip, FAQ,
   section-navy, quote-cta, and the team-card pattern
   (.team-card / .team-photo / .team-body / .team-name / .team-title /
   .team-meta / .team-meta-row) all come from /styles.css.

   This file owns: prose-section spacing, centered section-head/prose
   modifiers, the 5-up stats grid modifier, the founder-block wrapper
   around the shared team-card, the 2-col origin-layout (vertically
   centered), the 2-col lines-split for Personal/Commercial blocks, the
   bulleted lines-block-list pattern, the 2-col where-locations grid of
   location-mini cards (image + body), and the community sponsorship
   badge grid.
============================================================================ */

/* ============ Prose sections (origin story, what we do, where we work, community) ============ */
.about-prose {
  color: var(--jnz-charcoal);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
}
.about-prose p {
  margin: 0 0 18px;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose a {
  color: var(--jnz-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--dur-fast) var(--ease-out);
}
.about-prose a:hover { color: var(--jnz-navy); }

/* ============ Centered section-head + prose modifiers (used in stacked layouts) ============ */
.section-head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.about-prose--center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  text-align: center;
}

/* ============ Tight section-head modifier — for sections where the heading sits directly above a prose block (origin) ============ */
.section-head--tight {
  margin-bottom: 24px;
}

/* ============ Origin section — 2-col: heading + prose left + founder team-card right ============
   align-items: start so the heading stays close to the first paragraph (the section-head is now
   INSIDE the left column with the prose, so heading-to-paragraph spacing is just the
   section-head--tight 24px margin). The founder team-card is taller than the prose, so it extends
   below the last paragraph — that's intentional; the photo top-aligns with the heading. */
.origin-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.founder-block {
  max-width: 360px;
  margin-left: auto;
}
.founder-block-eyebrow {
  display: block;
  font-size: 11px; font-weight: var(--fw-bold);
  color: var(--jnz-teal);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin: 0 0 14px;
  text-align: center;
}

/* ============ "What we do" — 2-col split of lines-blocks under centered prose ============ */
.lines-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lines-block {
  background: var(--bg);
  border: 1px solid rgba(18, 58, 92, 0.06);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-1);
}
.lines-block-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider);
}
.lines-block-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: rgba(46, 111, 149, 0.10);
  color: var(--jnz-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lines-block-icon svg { width: 18px; height: 18px; }
.lines-block-title {
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--jnz-navy);
  margin: 0;
  letter-spacing: -0.005em;
}
.lines-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lines-block-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--jnz-charcoal);
  border-bottom: 1px solid var(--divider);
  transition: color var(--dur-fast) var(--ease-out);
}
.lines-block-list li:last-child { border-bottom: none; }
.lines-block-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--jnz-teal);
  border-radius: 999px;
  flex-shrink: 0;
}
.lines-block-list li:hover { color: var(--jnz-navy); }
.lines-block-list a { color: inherit; }
.lines-block-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ============ Stats strip — 5-up modifier (about page; default is 4-up) ============ */
.stats-strip--5up {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) {
  .stats-strip--5up { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
}
@media (max-width: 600px) {
  .stats-strip--5up { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Where we work — 2-col grid of location cards under centered prose ============ */
.where-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.location-mini {
  background: var(--bg);
  border: 1px solid rgba(18, 58, 92, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.location-mini:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.location-mini-image {
  aspect-ratio: 16 / 9;
  background: var(--jnz-mist);
  overflow: hidden;
}
.location-mini-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.location-mini-body { padding: 24px 26px; }
.location-mini-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: var(--fw-bold);
  color: var(--jnz-teal);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.location-mini-eyebrow svg { width: 12px; height: 12px; }
.location-mini-name {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--jnz-navy);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.location-mini-addr {
  font-size: 14px;
  line-height: 1.5;
  color: var(--jnz-slate);
  margin: 0 0 18px;
}
.location-mini .btn {
  font-size: 14px;
  padding: 10px 18px;
}

/* ============ Community badge grid ============ */
.community-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.community-badge {
  background: var(--bg);
  border: 1px solid rgba(18, 58, 92, 0.10);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--jnz-navy);
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(18, 58, 92, 0.04);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.community-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(18, 58, 92, 0.14);
  border-color: rgba(217, 178, 99, 0.40);
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .origin-layout { grid-template-columns: 1fr; gap: 36px; }
  .founder-block { max-width: 100%; margin-left: 0; }
  .lines-split,
  .where-locations { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 820px) {
  .about-prose { font-size: 16px; }
  .community-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .community-badge { padding: 18px 16px; font-size: 14px; }
}
@media (max-width: 480px) {
  .community-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .community-badge,
  .location-mini { transition: none; }
  .community-badge:hover,
  .location-mini:hover { transform: none; }
}
