/* ============================================================
   pages/about.css — About page-specific styles
   ------------------------------------------------------------
   Depends on: tokens.css, base.css, chrome.css
   ============================================================ */

/* ════════════ HERO ════════════ */
.hero {
  padding: 48px 0 32px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(61,90,122,0.08) 0%, transparent 50%),
    var(--bg);
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
  background: var(--red-wash);
  border: 1px solid rgba(220,38,38,0.30);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: 60px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.045em;
  line-height: 1.05; margin: 0 0 22px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.hero h1 .accent {
  color: var(--red);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}
@media (max-width: 1100px) { .hero h1 { font-size: 48px; } }
@media (max-width: 720px)  { .hero h1 { font-size: 34px; } }
.hero-sub {
  font-size: 18px; color: var(--body);
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto;
}

/* ════════════ FOUNDERS — Team story ════════════ */
.founders {
  padding: 100px 0 32px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.founders-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Solo variant — section is single-column with the copy alone, so
   constrain width for readable line length. Used when the cycle
   diagram lives in its own panel below. */
.founders-copy-solo {
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 880px) { .founders-grid { grid-template-columns: 1fr; gap: 40px; } }
.founders-eyebrow {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-blue);
  background: var(--slate-blue-soft);
  border: 1px solid rgba(61,90,122,0.20);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.founders-copy h2 {
  font-size: 44px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.035em;
  line-height: 1.1; margin: 0 0 24px;
}
.founders-copy h2 .accent {
  color: var(--slate-blue);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}
@media (max-width: 720px) { .founders-copy h2 { font-size: 30px; } }
.founders-copy p {
  font-size: 16.5px; color: var(--body);
  line-height: 1.65; margin: 0 0 18px;
}
.founders-copy p strong { color: var(--ink); font-weight: 700; }

/* ════════════════════════════════════════════════════════════════
   THE CYCLE — dedicated full-width panel for the SVG loop diagram.
   Listen → Build → Ship → Return → Listen, RTG at center. Visualizes
   the "How we build" manifesto right above the manifesto pull quote.
   ════════════════════════════════════════════════════════════════ */
.cycle {
  padding: 12px 0 64px;
  background: var(--bg-soft);
}
.cycle-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cycle-header .section-sub {
  margin-bottom: 0;
}
.cycle-loop {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.loop-svg {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
}

/* Cycle arcs */
.loop-arc path {
  opacity: 0.55;
  transition: opacity 0.4s ease;
}
.cycle-loop:hover .loop-arc path { opacity: 0.95; }

/* Center RTG badge */
.loop-center circle {
  fill: #fff;
  stroke: var(--red);
  stroke-width: 2;
  filter: drop-shadow(0 4px 14px rgba(220, 38, 38, 0.20));
}
.loop-center-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 800;
  fill: var(--red);
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0.04em;
}

/* Stage nodes */
.loop-node {
  fill: #fff;
  stroke: var(--slate-blue);
  stroke-width: 2;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.10));
  transition: transform 0.3s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.loop-stage:hover .loop-node { transform: scale(1.08); }
.loop-node-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  fill: var(--slate-blue);
  text-anchor: middle;
  dominant-baseline: middle;
}
.loop-stage-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  fill: var(--ink);
  /* text-anchor set inline per-label (middle / start / end) so labels
     position correctly around the cycle without overlapping nodes. */
}
.loop-stage-sub {
  font-size: 14px;
  font-weight: 500;
  fill: var(--body);
  /* text-anchor set inline per-label */
}

.founders-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 28px -10px rgba(15,23,42,0.10);
}
.founders-card-eyebrow {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-blue);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.founders-stats { list-style: none; padding: 0; margin: 0; }
.founders-stats li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.5;
}
.founders-stats li:last-child  { border-bottom: none; padding-bottom: 0; }
.founders-stats li:first-child { padding-top: 0; }
.founders-stats li strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ════════════ PRINCIPLES ════════════ */
.principles {
  padding: 100px 0;
  background: var(--bg);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-blue);
  background: var(--slate-blue-soft);
  border: 1px solid rgba(61,90,122,0.20);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.section-title {
  font-size: 44px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.04em;
  line-height: 1.05; margin: 0 0 20px;
}
.section-title .accent {
  color: var(--red);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}
@media (max-width: 720px) { .section-title { font-size: 30px; } }
.section-sub {
  font-size: 17px; color: var(--body);
  line-height: 1.6; margin: 0 auto;
  max-width: 640px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) { .principles-grid { grid-template-columns: 1fr; gap: 18px; } }
/* 5th principle spans both columns so the "and one more" emphasis lands +
   the grid doesn't orphan a single card on the last row. */
.principle.principle-wide {
  grid-column: 1 / -1;
}
.principle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.15s ease;
}
.principle:hover {
  border-color: rgba(61,90,122,0.30);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(15,23,42,0.12);
}
.principle-tag {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-blue);
  background: var(--slate-blue-soft);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.principle-tag.red {
  color: var(--red); background: var(--red-wash);
}
.principle h3 {
  font-size: 20px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.principle p {
  font-size: 14.5px; color: var(--body);
  line-height: 1.6; margin: 0;
}
.principle p strong { color: var(--ink); font-weight: 700; }

/* ════════════ CONTACT ════════════ */
.contact {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; gap: 16px; } }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  text-align: left;
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--slate-blue-soft);
  color: var(--slate-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.contact-icon.red {
  background: var(--red-wash); color: var(--red);
}
.contact-card h4 {
  font-size: 16px; font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}
.contact-card p {
  font-size: 14px; color: var(--body);
  margin: 0 0 12px;
  line-height: 1.5;
}
.contact-card a {
  font-size: 14.5px; font-weight: 700;
  color: var(--slate-blue);
}

/* ════════════ FINAL CTA ════════════ */
.final-cta {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(61,90,122,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(220,38,38,0.06) 0%, transparent 50%),
    var(--bg);
  padding: 100px 0 120px;
  text-align: center;
}
.final-cta h2 {
  font-size: 52px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.05em;
  line-height: 1.0; margin: 0 auto 22px;
  max-width: 760px;
}
.final-cta h2 .accent {
  color: var(--red);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}
@media (max-width: 720px) { .final-cta h2 { font-size: 34px; } }
.final-cta p {
  font-size: 18px; color: var(--body);
  max-width: 580px; margin: 0 auto 32px;
}
.final-ctas {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   V2 POLISH PASS — manifesto pull quote + mono principle
   tags for editorial weight
   ═══════════════════════════════════════════════════════ */

/* ─── Manifesto pull quote — editorial moment between
       Founders + Principles ─── */
.manifesto {
  padding: 110px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: ''; position: absolute;
  top: -180px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(220,38,38,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.manifesto-inner {
  max-width: 920px; margin: 0 auto;
  padding: 0 32px;
  position: relative; z-index: 2;
}
.manifesto-kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fca5a5;
}
.manifesto-kicker-rule {
  flex: 0 0 60px; height: 1px;
  background: rgba(252,165,165,0.45);
}
.manifesto-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 36px;
}
.manifesto-quote em {
  color: #fca5a5;
  font-style: italic;
}
@media (max-width: 720px) { .manifesto-quote { font-size: 28px; } }
.manifesto-byline {
  display: inline-flex; align-items: center; gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.manifesto-byline-label { color: rgba(255,255,255,0.55); }
.manifesto-byline-name  { color: #fff; font-weight: 600; }
.manifesto-byline-sep   { color: rgba(255,255,255,0.35); }


/* ─── Principle tags — mono §-style instead of pill ─── */
.principle-tag {
  background: transparent !important;
  color: var(--slate-blue) !important;
  border-radius: 0 !important;
  padding: 0 0 12px !important;
  margin-bottom: 18px !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid var(--line);
  display: block !important;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.principle-tag::before {
  content: '\00a7\00a0';
  color: var(--faint);
  font-weight: 500;
}
.principle-tag.red {
  color: var(--red) !important;
  border-bottom-color: rgba(220,38,38,0.30);
}
.principle-tag.red::before { color: rgba(220,38,38,0.55); }


/* ─── Founders eyebrow → mono kicker for consistency ─── */
.founders-eyebrow {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--slate-blue) !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
  margin-bottom: 22px !important;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px !important;
  display: inline-block !important;
  text-transform: uppercase !important;
}
.founders-eyebrow::before {
  content: '\00a7\00a0';
  color: var(--faint);
}
