/* ============================================================
   Thought Pattern AI - About / Company page layout
   Page-specific only; shared chrome is in site.css.
   Reuses the product-page reading primitives (hero + article).
   ============================================================ */

/* -------- Hero ------------------------------------------- */
.product-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--tp-space-8) clamp(36px, 6vw, 80px);
}
.phero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.phero-title {
  font-family: var(--tp-font-display);
  font-weight: var(--tp-fw-regular);
  letter-spacing: var(--tp-ls-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--tp-fg);
  margin: 0 0 var(--tp-space-4);
}
.phero-lede {
  font-family: var(--tp-font-serif);
  font-style: italic;
  font-size: var(--tp-fs-xl);
  color: var(--tp-fg);
  margin: 0 0 var(--tp-space-5);
}
.phero-intro {
  font-family: var(--tp-font-serif);
  font-size: var(--tp-fs-md);
  line-height: var(--tp-lh-body);
  color: var(--tp-fg-body);
  margin: 0;
}

/* -------- Article / long-form sections ------------------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--tp-space-8);
}
.article > section {
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--tp-border);
  scroll-margin-top: 88px;
}
.article .section-title {
  margin-bottom: var(--tp-space-5);
}
.lede {
  font-family: var(--tp-font-serif);
  font-size: var(--tp-fs-lg);
  line-height: var(--tp-lh-body);
  color: var(--tp-fg-body);
  margin: 0 0 var(--tp-space-5);
}
.article p {
  font-family: var(--tp-font-serif);
  font-size: var(--tp-fs-md);
  line-height: var(--tp-lh-body);
  color: var(--tp-fg-body);
  margin: 0 0 var(--tp-space-5);
}
.article p:last-child {
  margin-bottom: 0;
}
.article p strong {
  color: var(--tp-fg);
  font-weight: var(--tp-fw-semi);
}

.callout {
  border-left: 2px solid var(--tp-line-yellow);
  background: var(--tp-bg-recessed);
  padding: var(--tp-space-5) var(--tp-space-6);
  margin: var(--tp-space-6) 0 0;
  border-radius: 0 var(--tp-radius-sm) var(--tp-radius-sm) 0;
}
.callout p {
  margin: 0;
  color: var(--tp-fg-body);
}
.callout strong {
  color: var(--tp-yellow);
}

/* -------- Product trio ----------------------------------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tp-space-5);
  margin: var(--tp-space-6) 0 0;
}
.trio article {
  position: relative;
  padding: var(--tp-space-6);
  background: var(--tp-bg-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
}
.trio h3 {
  font-family: var(--tp-font-mono);
  font-size: var(--tp-fs-sm);
  font-weight: 700;
  line-height: normal;
  letter-spacing: var(--tp-ls-mono);
  text-transform: uppercase;
  color: var(--tp-yellow);
  margin: 0 0 var(--tp-space-3);
}
.trio p {
  margin: 0 0 var(--tp-space-4);
  font-size: var(--tp-fs-base);
}
.trio a {
  font-family: var(--tp-font-mono);
  font-size: var(--tp-fs-xs);
  letter-spacing: 0.06em;
}

/* A card that carries a link is the click target, matching the home page. */
.trio article:has(a) {
  cursor: pointer;
  transition:
    border-color var(--tp-duration-base) var(--tp-ease-out),
    transform var(--tp-duration-base) var(--tp-ease-out);
}
.trio article:has(a):hover {
  border-color: var(--tp-border-strong);
  transform: translateY(-3px);
}
.trio a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--tp-radius-md);
}
.trio article:hover a {
  color: var(--tp-yellow-hi);
}
.trio a span {
  transition: margin var(--tp-duration-fast) var(--tp-ease-out);
}
.trio article:hover a span {
  margin-left: 4px;
}
@supports selector(:has(*)) {
  .trio a:focus-visible {
    outline: none;
  }
  .trio article:has(a:focus-visible) {
    outline: 2px solid var(--tp-yellow);
    outline-offset: 3px;
  }
}

/* -------- Company facts ---------------------------------- */
.facts {
  list-style: none;
  margin: var(--tp-space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--tp-space-4);
}
.facts li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--tp-space-5);
  padding-bottom: var(--tp-space-4);
  border-bottom: 1px solid var(--tp-border);
}
.facts .facts-key {
  font-family: var(--tp-font-mono);
  font-size: var(--tp-fs-xs);
  letter-spacing: var(--tp-ls-caps);
  text-transform: uppercase;
  color: var(--tp-fg-muted);
}
.facts .facts-val {
  font-family: var(--tp-font-serif);
  font-size: var(--tp-fs-md);
  color: var(--tp-fg-body);
}
.facts .facts-val a {
  color: var(--tp-yellow);
  text-decoration: none;
}
.facts .facts-val a:hover {
  text-decoration: underline;
}

/* -------- Leadership ------------------------------------- */
.leaders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--tp-space-6);
  margin: var(--tp-space-6) 0 0;
}
.leader {
  margin: 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--tp-space-5);
  align-items: start;
}
.leader-photo {
  width: 96px;
  height: 96px;
  border-radius: var(--tp-radius-md);
  overflow: hidden;
  background: var(--tp-bg-surface);
  border: 1px solid var(--tp-border);
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader figcaption {
  min-width: 0;
}
.leader-name {
  font-family: var(--tp-font-serif);
  font-size: var(--tp-fs-lg);
  font-weight: var(--tp-fw-semi);
  line-height: 1.15;
  color: var(--tp-fg);
  margin: 0 0 var(--tp-space-1);
}
.leader-role {
  font-family: var(--tp-font-mono);
  font-size: var(--tp-fs-xs);
  letter-spacing: var(--tp-ls-caps);
  text-transform: uppercase;
  color: var(--tp-yellow);
  margin: 0 0 var(--tp-space-3);
}
.leader-bio {
  font-size: var(--tp-fs-base);
}
/* Side by side, a role that wraps to a different number of lines than its
   neighbor knocks the two bios out of alignment. Reserve the tallest case
   while the cards share a row; below 760px they stack and it does not apply. */
@media (min-width: 761px) {
  .leader-role {
    min-height: 3lh;
  }
}

/* -------- Responsive ------------------------------------- */
@media (max-width: 760px) {
  .trio,
  .leaders {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .product-hero,
  .article {
    padding-left: var(--tp-space-5);
    padding-right: var(--tp-space-5);
  }
  .facts li {
    grid-template-columns: 1fr;
    gap: var(--tp-space-1);
  }
}
