/* =============================================================
   about-page.css — Dynamic-Range
   All tokens sourced from css/variables.css only.
   No fallbacks, no undefined properties.
   Last updated: Phase 2 redesign
   ============================================================= */


/* ─── Container ────────────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}


/* ─── Hero ─────────────────────────────────────────────────── */

.about-hero {
  background: var(--color-bg-base);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-10) 0 var(--space-9);
}

.about-hero .overline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
  font-weight: var(--weight-semibold);
}

.about-hero .overline::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
  flex-shrink: 0;
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-white);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 0 var(--space-5);
}

.about-hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.about-hero .lead {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0;
  line-height: 1.7;
}


/* ─── Positioning strip ─────────────────────────────────────── */

.positioning-strip {
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}

.positioning-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.position-item {
  padding: 0 var(--space-7);
  border-right: 1px solid var(--color-border);
}

.position-item:first-child {
  padding-left: 0;
}

.position-item:last-child {
  border-right: none;
  padding-right: 0;
}

.position-item .label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.position-item p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.position-item p strong {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
}


/* ─── Who we are ────────────────────────────────────────────── */

.who-we-are {
  padding: var(--space-10) 0;
  background: var(--color-bg-base);
}

.who-we-are .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}

.who-we-are .about-section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.who-we-are h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.who-we-are p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.who-we-are p:last-child {
  margin-bottom: 0;
}

/* Stat grid */

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
}

.stat-card .stat-num {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card .stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.stat-card.wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.stat-card.wide .stat-num {
  font-size: var(--text-lg);
  margin-bottom: 0;
  flex-shrink: 0;
}


/* ─── Identity section (We are / We are not) ────────────────── */

.identity-section {
  padding: var(--space-10) 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.identity-section .section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.identity-section .about-section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.identity-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.identity-col {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
}

.identity-col .col-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.identity-col.we-are .col-label {
  color: var(--color-accent);
}

.identity-col.we-are-not .col-label {
  color: var(--color-text-muted);
}

.identity-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.identity-item:last-child {
  margin-bottom: 0;
}

.identity-item .icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  flex-shrink: 0;
  margin-top: 2px;
}

.we-are .icon {
  background: var(--color-accent-bg);
  color: var(--color-accent);
}

.we-are-not .icon {
  background: var(--color-bg-subtle);
  color: var(--color-text-muted);
}

.identity-item .item-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.identity-item .item-text strong {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
  display: block;
  margin-bottom: 2px;
}


/* ─── How we work ───────────────────────────────────────────── */

.how-we-work {
  padding: var(--space-10) 0;
  background: var(--color-bg-base);
}

.how-we-work .section-header {
  max-width: 600px;
  margin-bottom: var(--space-8);
}

.how-we-work .about-section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.how-we-work h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}

.how-we-work .section-sub {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.principle-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.principle-card:hover {
  border-color: var(--color-border-mid);
}

.principle-card:hover::before {
  opacity: 1;
}

.principle-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.principle-card h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.principle-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* ─── Platforms ─────────────────────────────────────────────── */

.platforms-section {
  padding: var(--space-9) 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.platforms-section .about-section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-7);
}

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.platform-tag {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.platform-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}


/* ─── CTA band ──────────────────────────────────────────────── */

.about-cta {
  padding: var(--space-10) 0;
  background: var(--color-bg-base);
  text-align: center;
}

.about-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.about-cta p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-7);
  line-height: 1.7;
}

.about-cta .btn-group {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}


/* ─── Responsive ────────────────────────────────────────────── */

@media (max-width: 900px) {
  .positioning-strip .container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .position-item {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-6);
  }

  .position-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .who-we-are .container {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .identity-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-hero {
    padding: var(--space-9) 0 var(--space-7);
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card.wide {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .identity-col {
    padding: var(--space-6) var(--space-5);
  }
}
