/* ─── Clinchr About page ───
   Loaded after styles.css (tokens, header, footer, store buttons) and
   landing.css (kicker, poster words, live-proof strip, closing CTA), so
   this file only adds what is unique to /about. ONE family (Archivo) in
   exactly three voices, and nothing else:
     display  condensed 800, uppercase (var(--display) + --display-axes)
     body     normal width, 400 for reading, 600 for emphasis
     label    11px / 600 / .14em tracking, uppercase (the .ab-label rule
              below is the only definition; every small caption joins it)
   Hairlines instead of boxes and a single red accent. */

.ab-main { padding-bottom: 0; }

/* The one label voice. Section labels are red; captions override colour only. */
.ab-label,
.ab-hero .lp-kicker,
.ab-facts dt,
.ab-partner-tag,
.ab-contact-who,
.ab-signoff-role,
.ab-main .lp-proof-intro {
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ab-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--red);
}
/* .ab-story-text > p would otherwise win on specificity and set it as body. */
.ab-story-text > .ab-label { font-size: .6875rem; line-height: 1.3; color: var(--red); margin-bottom: 18px; }
.ab-label::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 90px;
  background: var(--border-light);
}

.ab-h2 {
  font-family: var(--display); font-variation-settings: var(--display-axes);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: .98;
  text-transform: uppercase;
  color: var(--t1);
}

/* ─── Hero ─── */

.ab-hero { padding: 84px 0 72px; }
.ab-title {
  font-family: var(--display); font-variation-settings: var(--display-axes);
  font-weight: 400;
  font-size: clamp(3.2rem, 9.4vw, 7.6rem);
  line-height: .9;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--t1);
}
.ab-hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: lpFadeUp .8s cubic-bezier(.16, 1, .3, 1) .4s both;
}
.ab-lede {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--t1);
  max-width: 40ch;
  letter-spacing: -.005em;
}
.ab-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}
.ab-facts div { border-left: 2px solid var(--red); padding-left: 14px; }
.ab-facts dt { color: var(--t3); margin-bottom: 6px; }
.ab-facts dd {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--t1);
}

/* ─── Our story ───
   The founders' letter. Photo left and sticky on desktop so the faces stay
   in view while the letter scrolls; a reading measure of ~62ch; the one
   short line ("So we built Clinchr.") set as a poster beat; the belief as
   a red-ruled quote; a sign-off instead of a CTA. */

.ab-story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.ab-photo {
  position: sticky;
  top: 96px;
  margin: 0;
}
.ab-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: var(--surface-alt);
}
.ab-photo figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--t3);
}
.ab-photo figcaption::before {
  content: '';
  flex: none;
  width: 18px;
  height: 2px;
  background: var(--red);
}

.ab-story-text { max-width: 62ch; }
.ab-story-title { margin-bottom: 32px; }
.ab-story-text > p {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--t2);
  margin-bottom: 18px;
}
.ab-story-text > .ab-story-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--t1);
  letter-spacing: -.005em;
}
.ab-story-text > .ab-story-beat {
  margin: 34px 0;
  font-family: var(--display); font-variation-settings: var(--display-axes);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--red);
}
.ab-belief {
  margin: 38px 0 34px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--red);
}
.ab-belief p {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.012em;
  color: var(--t1);
}
.ab-signoff {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.ab-signoff-names {
  font-family: var(--display); font-variation-settings: var(--display-axes);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--t1);
}
.ab-signoff-role { color: var(--t3); margin-top: 4px; }

/* ─── Principles ─── */

.ab-principles { padding: 80px 0; border-top: 1px solid var(--border); }
.ab-principles-head { margin-bottom: 40px; }
.ab-rules {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.ab-rules li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 8px;
  padding: 34px 36px 36px 0;
  border-bottom: 1px solid var(--border);
}
.ab-rules li:nth-child(even) { padding: 34px 0 36px 36px; border-left: 1px solid var(--border); }
.ab-rule-no {
  grid-row: span 2;
  font-family: var(--display); font-variation-settings: var(--display-axes);
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--red);
}
.ab-rules h3 {
  font-family: var(--display); font-variation-settings: var(--display-axes);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--t1);
  margin-bottom: 10px;
}
.ab-rules p { font-size: .95rem; line-height: 1.65; color: var(--t2); max-width: 46ch; }

/* ─── Where we are ─── */

.ab-now {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 64px;
  align-items: center;
  padding: 80px 0 56px;
  border-top: 1px solid var(--border);
}
.ab-now-copy .ab-h2 { margin-bottom: 20px; }
.ab-now-copy > p:last-child { font-size: 1rem; line-height: 1.7; color: var(--t2); max-width: 48ch; }

/* Partner mark sits on a fixed white plate in BOTH themes — never on the
   page ground (docs/case-law/website.md, rule 2). */
.ab-partner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px 18px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.ab-partner:hover { border-color: var(--red); transform: translateY(-2px); }
.ab-partner:hover .lp-door-go { color: var(--red); transform: translateX(5px); }
.ab-partner-plate {
  flex: none;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  border: 1px solid #E7E7E3;
  border-radius: 12px;
}
.ab-partner-plate img { width: 60px; height: 60px; object-fit: contain; }
.ab-partner-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ab-partner-tag {
  color: var(--red);
}
.ab-partner-body b {
  font-family: var(--display); font-variation-settings: var(--display-axes);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--t1);
}
.ab-partner-body span:last-child { font-size: .85rem; color: var(--t2); }

/* The live strip closes the "where we are" block rather than opening a new one. */
.ab-main .lp-proof { margin-bottom: 0; }

/* ─── Contact ─── */

.ab-contact { padding: 80px 0 16px; }
.ab-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ab-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 28px 32px;
  text-decoration: none;
  transition: background .25s ease;
}
.ab-contact-item:first-child { padding-left: 0; }
.ab-contact-item + .ab-contact-item { border-left: 1px solid var(--border); }
.ab-contact-item:hover { background: color-mix(in srgb, var(--t1) 3%, transparent); }
.ab-contact-who { color: var(--t3); margin-bottom: 4px; }
.ab-contact-item b {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--t1);
  transition: color .2s ease;
}
.ab-contact-item:hover b { color: var(--red); }
.ab-contact-item span:last-child { font-size: .9rem; line-height: 1.55; color: var(--t2); }

/* ─── Responsive ─── */

@media (max-width: 900px) {
  .ab-hero { padding: 56px 0 52px; }
  .ab-hero-foot { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .ab-story { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .ab-photo { position: static; max-width: 460px; }
  .ab-story-text { max-width: none; }
  .ab-principles { padding: 60px 0; }
  .ab-rules { grid-template-columns: 1fr; }
  .ab-rules li,
  .ab-rules li:nth-child(even) { padding: 28px 0; border-left: 0; }
  .ab-now { grid-template-columns: 1fr; gap: 32px; padding: 60px 0 44px; }
  .ab-contact { padding-top: 60px; }
  .ab-contact-grid { grid-template-columns: 1fr; }
  .ab-contact-item, .ab-contact-item:first-child { padding: 24px 0; }
  .ab-contact-item + .ab-contact-item { border-left: 0; border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .ab-lede { font-size: 1.08rem; }
  .ab-facts { gap: 18px 20px; }
  .ab-rules li { grid-template-columns: 48px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .ab-hero-foot { animation: none; }
  .ab-partner, .ab-partner:hover { transform: none; }
}
