/* pages.css — layouts unique to the supporting pages (About / Team /
   Pricing / Book a call). These pages also load styles.css + sections.css,
   so header, footer, buttons, .section-title/.section-sub, chips and the
   dark .final-card CTA band are all reused from there. */

/* active nav item */
.nav a.nav-active { color: var(--fg-1); font-weight: 500; }

/* ─────────── shared page intro ─────────── */
.page-intro {
  padding: 104px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-intro .container { position: relative; z-index: 1; }
.page-intro-glow {
  position: absolute;
  inset: 0;
  background: url("assets/bg-shadow.webp") center top / cover no-repeat;
  opacity: var(--hero-tex-opacity);
  pointer-events: none;
  z-index: 0;
}
.page-intro-inner {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}
.page-title .serif-italic { color: var(--fg-3); }
.page-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}

/* ─────────── About — story rows ─────────── */
.story { display: flex; flex-direction: column; }
.story-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.story-row:last-child { border-bottom: 1px solid var(--hair); }
.story-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 96px;
}
.story-step {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  text-transform: uppercase;
}
.story-kicker {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  line-height: 1.15;
}
.story-body { max-width: 640px; }
.story-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 16px;
  text-wrap: balance;
}
.story-h .serif-italic { color: var(--fg-3); }
.story-p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.story-p:last-child { margin-bottom: 0; }

/* big mission pull-statement */
.statement {
  padding: 96px 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.statement-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.statement-q {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}
.statement-q .serif-italic { color: var(--fg-3); }
.statement-cap {
  margin-top: 24px;
  font-size: 15px;
  color: var(--fg-3);
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .story-row { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .story-label { position: static; }
}

/* ─────────── Team ─────────── */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.founder-photo {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
}
.founder-body { padding: 0; display: flex; flex-direction: column; gap: 10px; }
.founder-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0;
}
.founder-role {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-color);
  letter-spacing: 0.01em;
}
.founder-bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.founder-links { display: flex; gap: 14px; margin-top: 4px; }
.founder-links a {
  font-size: 13px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}
.founder-links a:hover { color: var(--accent-color); }

/* how the team works */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.value::after {
  content: "";
  position: absolute;
  top: -5px; left: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.value:nth-child(1)::after { background: var(--persona-scientist); }
.value:nth-child(2)::after { background: var(--persona-strategist); }
.value:nth-child(3)::after { background: var(--persona-ops); }
.value-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0;
}
.value-p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .founders { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}

/* ─────────── Pricing ─────────── */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.principle {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.principle-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-color);
}
.principle-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--fg-1);
  margin: 0;
}
.principle-p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
}

/* ─────────── Book a call ─────────── */
.bookcall { padding: 56px 0 112px; }
.calendly-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  min-height: 700px;
  position: relative;
}
.calendly-inline-widget { min-width: 320px; height: 720px; }
.calendly-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
  color: var(--fg-3);
}
.calendly-fallback .cf-h {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-1);
  font-weight: 500;
}
.bookcall-aside {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  color: var(--fg-3);
  font-size: 13.5px;
}
.bookcall-aside .ba-item { display: flex; align-items: center; gap: 9px; }
.bookcall-aside .ba-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-color); }

/* ─────────── subpage spacing helper ─────────── */
.section-tight { padding: 80px 0; }
