/* =========================================================================
   ABOUT.CSS
   Page-specific styles for views/about.ejs. Relies on tokens from theme.css
   and chrome from nav.css — load in that order (theme, nav, home, about).
   ========================================================================= */

section { position: relative; }
.section-pad { padding: var(--sp-9) 0; }
.section-head { max-width: 640px; margin: 0 auto var(--sp-7); text-align: center; }
.section-head.left { margin: 0 0 var(--sp-7); text-align: left; }
.section-head h2 { font-size: var(--fs-3xl); margin: var(--sp-3) 0 var(--sp-3); }
.section-head p { color: var(--muted-300); font-size: var(--fs-md); }

/* ================================ PAGE HERO =============================== */
.page-hero {
  padding: var(--sp-8) 0 var(--sp-7);
  background: var(--gradient-hero);
  overflow: hidden;
  position: relative;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  top: -320px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--sp-5); position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, var(--fs-4xl)); line-height: 1.1; margin: var(--sp-4) 0 var(--sp-5); }
.page-hero h1 span { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lede { font-size: var(--fs-md); color: var(--muted-100); max-width: 600px; margin: 0 auto var(--sp-6); }
.page-hero .hero-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ================================ STATS ==================================== */
.stats-strip { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: var(--surface-1); }
.stats-grid { display: flex; flex-wrap: wrap; }
.stat-cell { flex: 1 1 200px; padding: var(--sp-6) var(--sp-5); text-align: center; border-right: 1px solid var(--border-subtle); }
.stat-cell:last-child { border-right: none; }
.stat-cell .stat-num { font-family: var(--font-mono); font-size: var(--fs-2xl); font-weight: 700; color: var(--white); }
.stat-cell .stat-label { color: var(--muted-500); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* ================================ STORY / TIMELINE ========================= */
.story-block { display: flex; gap: var(--sp-8); align-items: flex-start; flex-wrap: wrap; }
.story-copy { flex: 1 1 380px; min-width: 300px; }
.story-copy p { color: var(--muted-300); margin-bottom: var(--sp-4); }
.story-copy p:last-child { margin-bottom: 0; }

.timeline { flex: 1 1 480px; min-width: 300px; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border-strong); }
.timeline-item { position: relative; padding-bottom: var(--sp-6); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -32px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface-0);
  border: 2px solid var(--blue-400);
  box-shadow: 0 0 0 4px var(--surface-1);
}
.timeline-item.milestone::before { border-color: var(--gold-400); }
.timeline-item .t-year { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--blue-300); letter-spacing: 0.06em; }
.timeline-item.milestone .t-year { color: var(--gold-400); }
.timeline-item h4 { font-size: var(--fs-md); margin: 4px 0 6px; }
.timeline-item p { color: var(--muted-300); font-size: var(--fs-sm); }

/* ================================ VALUES =================================== */
.values-grid { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.value-card {
  flex: 1 1 260px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.value-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-blue); color: var(--on-lime); font-size: 20px; margin-bottom: var(--sp-4);
  box-shadow: var(--shadow-blue-glow);
}
.value-card:nth-child(3n+2) .value-icon { background: var(--gradient-gold); color: var(--navy-950); box-shadow: var(--shadow-gold-glow); }
.value-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.value-card p { color: var(--muted-300); font-size: var(--fs-sm); }

/* ============================== TRUST / LICENSING =========================== */
.trust-block { display: flex; gap: var(--sp-8); align-items: center; flex-wrap: wrap; }
.trust-media {
  flex: 1 1 420px; min-width: 300px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.trust-media img { width: 100%; height: 400px; object-fit: cover; }
.trust-copy { flex: 1 1 420px; min-width: 300px; }
.trust-grid { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-6); }
.trust-item-card { flex: 1 1 220px; }
.trust-item-card i { font-size: 22px; color: var(--blue-300); margin-bottom: var(--sp-3); }
.trust-item-card h4 { font-size: var(--fs-sm); margin-bottom: 6px; }
.trust-item-card p { font-size: var(--fs-xs); color: var(--muted-500); }

/* =============================== PRESENCE MAP STRIP ========================= */
.presence-strip { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.presence-card {
  flex: 1 1 220px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  text-align: center;
}
.presence-card .p-num { font-family: var(--font-mono); font-size: var(--fs-xl); font-weight: 700; color: var(--gold-400); }
.presence-card .p-label { color: var(--muted-300); font-size: var(--fs-sm); margin-top: 4px; }

/* ================================ PRESS STRIP =============================== */
.press-strip { text-align: center; }
.press-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-7); margin-top: var(--sp-6); }
.press-mark { display: flex; align-items: center; gap: 10px; color: var(--muted-500); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); opacity: 0.7; transition: opacity var(--transition-fast); }
.press-mark:hover { opacity: 1; color: var(--muted-100); }

/* ================================ FAQ ======================================= */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  padding: var(--sp-5); cursor: pointer; font-family: var(--font-display); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; list-style: none; font-size: var(--fs-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform var(--transition-base); color: var(--blue-300); }
.faq-item[open] summary i { transform: rotate(135deg); }
.faq-item .faq-body { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted-300); font-size: var(--fs-sm); }

/* =============================== FINAL CTA =================================== */
.final-cta {
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
  background: var(--gradient-hero);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.final-cta h2 { font-size: clamp(2rem, 4vw, var(--fs-3xl)); max-width: 700px; margin: var(--sp-3) auto var(--sp-6); }
.final-cta .hero-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ================================ RESPONSIVE ================================ */
@media (max-width: 960px) {
  .story-block, .trust-block { flex-direction: column; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}
@media (max-width: 600px) {
  .section-pad { padding: var(--sp-7) 0; }
}