/* =====================================================================
   Imagine That · About (private candidate)
   Loads after css/styles.css and reuses its Threshold tokens, header,
   footer and dusk closer. Everything here is scoped to .about so the
   shared stylesheet stays untouched.

   Founder balance: the two .founder cards share one rule set, one portrait
   size and one entrance. Emilio is first in the DOM, so he sits left on
   wide screens and first when the columns stack.
   ===================================================================== */

.about {
  --bip-px: clamp(20px, 8.333vw, 120px);
  --about-card: #fffdf7;
  --about-floor: #f6f1e4;
  --about-portrait: clamp(168px, 15vw, 216px);
}
.about-review, .about-review *, .about-hero, .about-hero *, .about-founders, .about-founders *,
.about-meet, .about-meet *, .about-why, .about-why * { box-sizing: border-box; }
.about h1, .about h2, .about h3, .about h4 { margin: 0; }
.about-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Review ribbon (delete with its markup before release) ---------- */
.about-review { padding: 10px var(--bip-px); background: var(--it-surface); border-bottom: 1px solid var(--it-line); text-align: center; }
.about-review p { font-size: 13px; line-height: 1.5; color: var(--it-ink); }

/* ---------- Type ---------- */
.about-display { font-size: clamp(40px, 4.45vw, 64px); line-height: 1.06; font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.about-h2 { font-size: clamp(30px, 3.33vw, 48px); line-height: 1.08; font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.about-lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--it-muted); max-width: 34em; text-wrap: pretty; }
.about-plain { font-size: 17px; line-height: 1.65; color: var(--it-muted); text-wrap: pretty; }

/* ---------- Hero ---------- */
.about-hero { position: relative; isolation: isolate; overflow: hidden; }
.about-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(41 117 119/.07) 1px, transparent 1px), linear-gradient(90deg, rgb(41 117 119/.07) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top;
  -webkit-mask: radial-gradient(ellipse 60% 80% at 50% 100%, #000, transparent 75%);
  mask: radial-gradient(ellipse 60% 80% at 50% 100%, #000, transparent 75%);
}
.about-hero__inner {
  max-width: 920px; margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--bip-px) clamp(40px, 5vw, 72px);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.about-hero__kick { justify-content: center; gap: 14px; }
.about-hero__kick .kick-row__line { width: 22px; }

/* ---------- Founders ---------- */
.about-founders { position: relative; padding: 0 var(--bip-px) clamp(64px, 7vw, 112px); }
.about-founders::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -1; background: linear-gradient(180deg, rgb(246 241 228/0), var(--about-floor)); }
.about-founders__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); }

.founder {
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 48px);
  background: var(--about-card); border: 1px solid var(--it-line); border-radius: var(--it-radius-control);
  box-shadow: var(--it-shadow-veil);
  animation: aboutRise var(--it-duration-entrance) var(--it-ease) backwards;
}
@keyframes aboutRise { from { opacity: 0; transform: translateY(12px); } }

.founder__portrait {
  margin: 0 auto; width: var(--about-portrait); aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 6px var(--about-card), 0 0 0 7px var(--it-line), 0 18px 40px -18px rgb(16 45 59/.35);
}
.founder__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.founder__head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.founder__name { font-size: clamp(32px, 3vw, 44px); line-height: 1.05; font-weight: 400; letter-spacing: -.01em; }
.founder__lens { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--it-teal); text-wrap: balance; }

.founder__quote { margin: 0; padding: 20px 0; border-top: 1px solid var(--it-line); border-bottom: 1px solid var(--it-line); text-align: center; }
.founder__quote p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; color: var(--it-ink); text-wrap: balance; }
.founder__quote footer { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--it-muted); }

.founder__body { display: flex; flex-direction: column; gap: 16px; }
.founder__body p { font-size: 17px; line-height: 1.65; color: var(--it-ink); text-wrap: pretty; }

.founder__builds { display: flex; flex-direction: column; gap: 12px; }
.founder__builds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.founder__builds li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--it-muted); }
.founder__builds li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--it-coral); }
.founder__builds strong { font-weight: 600; color: var(--it-ink); }

.founder__link { margin-top: auto; padding-top: 4px; }
.page .founder__link a { font-size: 15px; overflow-wrap: anywhere; }

/* The seam between the two founders: a knot where the lanes cross. */
.about-seam { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 clamp(24px, 10%, 64px); }
.about-seam__line { flex: 1; height: 1px; background: var(--it-line); }
.about-seam__knot { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--it-coral); background: var(--it-paper); }

@media (min-width: 760px) {
  .about-founders__grid { grid-template-columns: minmax(0, 1fr) clamp(32px, 4vw, 64px) minmax(0, 1fr); align-items: stretch; }
  .about-seam { flex-direction: column; height: auto; padding: 48px 0; }
  .about-seam__line { width: 1px; height: auto; }
}

/* ---------- Where the lanes cross ---------- */
.about-meet { background: var(--about-floor); }
.about-meet__inner { max-width: calc(1200px + 2 * var(--bip-px)); margin: 0 auto; padding: clamp(56px, 7vw, 112px) var(--bip-px); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.about-meet__head { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.about-meet__head .kick-row { gap: 14px; }
.about-meet__head .kick-row__line { width: 22px; }
.about-meet__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.cross { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--it-ink); }
.cross__title { font-size: 20px; line-height: 1.3; font-weight: 500; text-wrap: balance; }
.cross p { font-size: 16px; line-height: 1.6; color: var(--it-muted); text-wrap: pretty; }
@media (min-width: 1000px) {
  .about-meet__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- Why ---------- */
.about-why__inner { max-width: calc(1200px + 2 * var(--bip-px)); margin: 0 auto; padding: clamp(56px, 7vw, 112px) var(--bip-px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.about-why__copy { display: flex; flex-direction: column; gap: 16px; max-width: 36em; }
.about-why__copy .about-plain { font-size: clamp(17px, 1.35vw, 19px); }
.about-why__copy .about-plain:last-child { color: var(--it-ink); font-weight: 500; }
@media (min-width: 1000px) {
  .about-why__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}

/* The dark closer runs straight into the dark footer, with no strip of page colour between them. */
footer.site-footer.shared-footer { margin-top: 0; }

/* Plain facts under the hero actions. */
.it-about-origin-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: rgb(250 247 237 / .78); }
.it-about-origin-facts li { display: inline-flex; align-items: center; gap: 8px; }
.it-about-origin-facts li::before { content: ""; flex: 0 0 auto; width: 4px; height: 4px; border-radius: 50%; background: #ec7257; }
