/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE — Polish Layer v1 (2026-05-19)

   Per-page polish overrides loaded AFTER site.css. All rules scoped
   under .about-page so they cannot leak to other routes. Goals:
   tighter section rhythm, equal-height cards, refined hover, gold
   under-heading micro-line, oversight 3→2→1 breakpoint, CTA panel
   surface, mobile cleanup, themed scrollbar, footer transition.
═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────
   1. SECTION RHYTHM
─────────────────────────────────────────────────────────────── */
.about-page .about-hero {
  padding: clamp(72px, 8vw, 132px) 0 clamp(64px, 7vw, 112px);
}
.about-page .about-section {
  padding: clamp(80px, 9vw, 120px) 0;
}
.about-page .about-cta {
  padding: clamp(72px, 8vw, 108px) 0;
}

/* Sticky-feeling top border between sections — softer than default */
.about-page .about-section {
  border-top: 1px solid rgba(212,176,94,0.06);
}

/* ────────────────────────────────────────────────────────────────
   2. SECTION HEAD POLISH (eyebrow · heading · subtitle)
─────────────────────────────────────────────────────────────── */
.about-page .section-label {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(212,176,94,0.62);
  margin: 0 0 14px;
  position: relative;
  padding-left: 14px;
}
.about-page .section-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 1px;
  background: rgba(212,176,94,0.62);
}

/* Subtle gold micro-line under section headings (item 0594) */
.about-page .about-section-head h2,
.about-page .about-mission-copy h2 {
  position: relative;
}

/* Slightly tighter heading max-width to prevent over-wide lines */
.about-page .about-hero h1 { max-width: 18ch; }
.about-page .about-section-head h2,
.about-page .about-mission-copy h2 { max-width: 22ch; }
.about-page .about-cta-copy h2 { max-width: 18ch; }

@supports (text-wrap: balance) {
  .about-page .about-hero h1,
  .about-page .about-section-head h2,
  .about-page .about-mission-copy h2,
  .about-page .about-cta-copy h2 { text-wrap: balance; }
}

.about-page .about-section-desc {
  font-size: 0.92rem;
  color: rgba(245,241,232,0.50);
  line-height: 1.68;
  max-width: 620px;
}

/* ────────────────────────────────────────────────────────────────
   3. HERO — Laboratory Identity card refinement
─────────────────────────────────────────────────────────────── */
.about-page .about-hero {
  background:
    radial-gradient(circle at 78% 26%, rgba(212,176,94,0.12), transparent 32%),
    radial-gradient(circle at 12% 76%, rgba(91,143,212,0.06), transparent 28%),
    linear-gradient(180deg, rgba(5,7,11,0.98), #05070B);
}

.about-page .about-identity-panel {
  position: relative;
  padding: 30px;
  border-radius: 22px;
  box-shadow:
    0 26px 80px rgba(0,0,0,0.45),
    0 0 60px rgba(212,176,94,0.05),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
/* Gold top edge highlight */
.about-page .about-identity-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,176,94,0.50), transparent);
  pointer-events: none;
}

.about-page .about-identity-item {
  transition: border-color 220ms ease, background 220ms ease;
}
.about-page .about-identity-item:hover {
  border-color: rgba(212,176,94,0.24);
  background: rgba(212,176,94,0.035);
}

.about-page .about-meta-value { font-size: 2rem; }
.about-page .about-chip-val   { font-size: 1.16rem; }

/* ────────────────────────────────────────────────────────────────
   4. SIX PRINCIPLES — equal-height + tighter typography
─────────────────────────────────────────────────────────────── */
.about-page .about-grid { gap: 14px; }
.about-page .about-grid-3 { grid-auto-rows: 1fr; }

.about-page .about-card {
  padding: 28px;
  border-radius: 18px;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), border-color 240ms, background 240ms, box-shadow 240ms;
}
.about-page .about-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,176,94,0.32);
  box-shadow: 0 22px 56px rgba(0,0,0,0.4), 0 0 40px rgba(212,176,94,0.05);
}
.about-page .about-card-title {
  font-size: 1.26rem;
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}
.about-page .about-card-desc {
  font-size: 0.86rem;
  color: rgba(245,241,232,0.54);
  line-height: 1.64;
}
.about-page .about-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* Tablet: 2-col principles */
@media (max-width: 1100px) {
  .about-page .about-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .about-page .about-grid-3 { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────────
   5. LAB FRAMEWORK — larger cards, brighter dots, tighter connector
─────────────────────────────────────────────────────────────── */
.about-page .about-framework-flow { gap: 4px; }
.about-page .about-flow-card {
  padding: 22px 16px;
  gap: 8px;
  border-radius: 16px;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), border-color 240ms, background 240ms, box-shadow 240ms;
}
.about-page .about-flow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.36), 0 0 28px rgba(212,176,94,0.06);
}
.about-page .about-flow-card .hi-icon {
  width: 24px; height: 24px;
  color: rgba(212,176,94,0.82);
}
.about-page .about-flow-title { font-size: 0.60rem; }
.about-page .about-flow-sub   { font-size: 0.74rem; color: rgba(245,241,232,0.40); }

/* Mobile: stack stages with a vertical connector */
@media (max-width: 720px) {
  .about-page .about-flow-wrapper { overflow: visible; }
  .about-page .about-framework-flow {
    grid-template-columns: 1fr;
    gap: 12px;
    min-width: 0;
  }
  .about-page .about-flow-line {
    width: 2px; height: 28px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, rgba(212,176,94,0.55), transparent);
  }
  .about-page .about-flow-line::after { display: none; }
}

/* ────────────────────────────────────────────────────────────────
   6. TRUST & GOVERNANCE cards — equal heights + hover polish
─────────────────────────────────────────────────────────────── */
.about-page .about-governance-card {
  padding: 26px;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), border-color 240ms, background 240ms, box-shadow 240ms;
}
.about-page .about-governance-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,176,94,0.32);
  box-shadow: 0 22px 56px rgba(0,0,0,0.4), 0 0 40px rgba(212,176,94,0.05);
}
.about-page .about-governance-header { margin-bottom: 14px; }
.about-page .about-governance-header h3 { font-size: 1.14rem; letter-spacing: -0.01em; }
.about-page .about-governance-card p {
  font-size: 0.86rem;
  color: rgba(245,241,232,0.50);
  line-height: 1.66;
}

/* ────────────────────────────────────────────────────────────────
   7. GOVERNANCE STRUCTURE (3 layers) — 3 → 2 → 1
─────────────────────────────────────────────────────────────── */
.about-page .about-gov-pillars { margin-top: 56px; gap: 18px; }
.about-page .about-gov-pillar {
  padding: 32px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(5,7,11,0.78);
  border: 1px solid rgba(212,176,94,0.16);
  transition: transform 240ms cubic-bezier(.22,1,.36,1), border-color 240ms, background 240ms, box-shadow 240ms;
}
.about-page .about-gov-pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(212,176,94,0.32);
  box-shadow: 0 22px 56px rgba(0,0,0,0.4), 0 0 40px rgba(212,176,94,0.06);
}
.about-page .about-gov-pillar-num {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(212,176,94,0.65);
}
.about-page .about-gov-pillar-title { font-size: 1.22rem; }
.about-page .about-gov-pillar-desc { font-size: 0.86rem; color: rgba(245,241,232,0.52); }

/* 3-layer breakpoint cascade */
@media (max-width: 1180px) and (min-width: 721px) {
  .about-page .about-gov-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-page .about-gov-pillar:last-child { grid-column: 1 / -1; }
}

/* ────────────────────────────────────────────────────────────────
   8. MISSION — refined principles card
─────────────────────────────────────────────────────────────── */
.about-page .about-principles-card {
  position: relative;
  padding: 32px;
  box-shadow:
    0 26px 80px rgba(0,0,0,0.42),
    0 0 60px rgba(212,176,94,0.04),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.about-page .about-principles-card::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,176,94,0.50), transparent);
  pointer-events: none;
}
.about-page .about-principle-title { font-size: 1.08rem; }
.about-page .about-principle-desc { font-size: 0.82rem; color: rgba(245,241,232,0.50); }

/* ────────────────────────────────────────────────────────────────
   9. FINAL CTA — premium panel + dynamic auth buttons
─────────────────────────────────────────────────────────────── */
.about-page .about-cta {
  background:
    radial-gradient(circle at 60% 50%, rgba(212,176,94,0.08), transparent 42%),
    linear-gradient(180deg, rgba(212,176,94,0.025), transparent);
}
.about-page .about-cta-grid {
  position: relative;
  padding: clamp(36px, 5vw, 56px);
  border-radius: 24px;
  border: 1px solid rgba(212,176,94,0.18);
  background:
    radial-gradient(circle at 90% 0%, rgba(212,176,94,0.06), transparent 38%),
    linear-gradient(145deg, rgba(10,12,17,0.94), rgba(4,6,10,0.98));
  box-shadow:
    0 30px 80px rgba(0,0,0,0.42),
    0 0 70px rgba(212,176,94,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.about-page .about-cta-grid::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,176,94,0.55), transparent);
  pointer-events: none;
}
.about-page .about-cta-actions {
  min-width: 220px;
  gap: 8px;
}
.about-page .about-cta-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ────────────────────────────────────────────────────────────────
   10. FOOTER TRANSITION — subtle fade above footer
─────────────────────────────────────────────────────────────── */
.about-page .site-footer {
  position: relative;
  border-top: 1px solid rgba(212,176,94,0.10);
}
.about-page .site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,176,94,0.36), transparent);
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────────────
   11. RESPONSIVE — tablet + mobile rhythm tighten
─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-page .about-wrap { padding: 0 40px; }
  .about-page .about-cta-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-page .about-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .about-page .about-cta-actions .btn {
    width: auto;
    flex: 1 1 200px;
  }
}

@media (max-width: 720px) {
  .about-page .about-wrap { padding: 0 20px; }
  .about-page .about-identity-panel { padding: 22px; }
  .about-page .about-principles-card { padding: 24px; }
  .about-page .about-card { padding: 22px; }
  .about-page .about-governance-card { padding: 22px; }
  .about-page .about-gov-pillar { padding: 24px; }
  .about-page .about-cta-actions {
    flex-direction: column;
  }
  .about-page .about-cta-actions .btn { width: 100%; flex: 1 1 100%; }
  .about-page .about-meta-value { font-size: 1.6rem; }
  .about-page .about-chip-val   { font-size: 1rem; }
  /* Reduce heavy mobile glow */
  .about-page .about-hero {
    background: linear-gradient(180deg, rgba(5,7,11,0.98), #05070B);
  }
  .about-page .about-cta-grid {
    box-shadow:
      0 16px 40px rgba(0,0,0,0.36),
      inset 0 1px 0 rgba(255,255,255,0.04);
  }
}

@media (max-width: 380px) {
  .about-page .about-identity-meta { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .about-page .about-meta-value { font-size: 1.4rem; }
}

/* ────────────────────────────────────────────────────────────────
   12. ACCESSIBILITY / REDUCED MOTION respect (light layer)
─────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .about-page .about-card,
  .about-page .about-governance-card,
  .about-page .about-gov-pillar,
  .about-page .about-flow-card,
  .about-page .about-identity-item {
    transition: none !important;
  }
  .about-page .about-card:hover,
  .about-page .about-governance-card:hover,
  .about-page .about-gov-pillar:hover,
  .about-page .about-flow-card:hover {
    transform: none !important;
  }
}
