/* ============================================================
   NINTAI — À propos / About page
   Inherits styles.css tokens. New blocks: breadcrumb, hero split,
   founder cards, stats, faces carousel, testimonials, closing band.
   ============================================================ */

.ab-main { padding-top: clamp(86px, 11vh, 120px); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.ab-crumb {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.ab-crumb a { color: var(--faint); transition: color .25s; }
.ab-crumb a:hover { color: var(--fg); }
.ab-crumb .sep { opacity: 0.5; }
.ab-crumb .here { color: var(--fg); }

/* ── Hero split ──────────────────────────────────────────── */
.ab-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}
.ab-hero-copy .ed-h { max-width: 12ch; margin-top: 0.5em; }
.ab-lines {
  font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.7;
  color: var(--muted); margin: 1.5em 0 0;
}
.ab-conviction {
  display: block; margin-top: 1.1em; max-width: 22ch;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.45;
  color: var(--accent); font-weight: 500;
}
.ab-hero-photo {
  width: 100%; aspect-ratio: 16 / 10.5;
  border-radius: 18px; overflow: hidden;
}
.ab-hero-photo image-slot { width: 100%; height: 100%; }

/* ── Centered statement w/ dot ───────────────────────────── */
.ab-statement {
  text-align: center; padding: clamp(40px, 6vw, 78px) 0 clamp(28px, 4vw, 48px);
}
.ab-statement .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin: 0 auto clamp(22px, 3vw, 34px);
}
.ab-statement p {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.2; letter-spacing: -0.012em; color: var(--fg);
  margin: 0; max-width: 24ch; margin-inline: auto; text-wrap: balance;
}
.ab-statement .ac { color: var(--accent); }

/* ── Founder cards ───────────────────────────────────────── */
.ab-founders-head { padding: clamp(20px, 3vw, 36px) 0 clamp(22px, 3vw, 30px); }
.ab-founders {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 40px);
}
.founder {
  background: oklch(1 0 0 / 0.5);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 30px);
}
.founder-top {
  display: grid; grid-template-columns: clamp(140px, 16vw, 200px) 1fr;
  gap: clamp(20px, 2.6vw, 36px); align-items: start;
}
.founder-photo {
  width: 100%; aspect-ratio: 1 / 1.18;
  border-radius: 14px; overflow: hidden; filter: grayscale(1);
}
.founder-photo image-slot { width: 100%; height: 100%; }
.founder-name {
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg);
  margin: 4px 0 0;
}
.founder-roles {
  list-style: none; margin: 14px 0 0; padding: 0;
  font-size: 0.92rem; line-height: 1.7; color: var(--faint);
}
.founder-tags { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.founder-tags li {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.9rem; color: var(--muted);
}
.founder-tags .b {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--accent);
}
.founder-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(16px, 2vw, 30px) clamp(20px, 2.6vw, 38px);
  padding-top: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid var(--line);
}
.founder:nth-child(2) .founder-logos {
  gap: 0 clamp(10px, 1.4vw, 18px);
  row-gap: clamp(4px, 0.6vw, 8px);
}
.founder-logos img {
  height: clamp(22px, 2.4vw, 28px); width: auto; max-width: 140px;
  object-fit: contain; opacity: 0.62;
  transition: opacity .3s var(--ease);
}
/* logos carrés / compacts : agrandis pour rester lisibles */
.founder-logos img.lg {
  height: clamp(38px, 4vw, 50px); max-width: 90px;
}
.founder-logos img.xl {
  height: clamp(44px, 4.6vw, 56px); max-width: 100px;
}
.founder-logos img.sm {
  height: clamp(11px, 1.2vw, 14px); max-width: 90px;
}
.founder-logos img.xxl {
  height: clamp(58px, 6vw, 72px); max-width: 120px;
}
.founder-logos img:hover { opacity: 1; }
.founder-logo-txt {
  font-size: clamp(11px, 1.1vw, 14px); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  opacity: 0.55; color: var(--fg);
  transition: opacity .3s var(--ease);
  white-space: nowrap;
}
.founder-logo-txt:hover { opacity: 1; }

/* ── Values grid ─────────────────────────────────────────── */
.values {
  padding: clamp(40px, 6vw, 72px) 0;
}
.values .kicker { display: block; margin-bottom: clamp(28px, 3.5vw, 44px); }
.values-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1px, 0.1vw, 2px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.values-grid li {
  padding: clamp(28px, 3.2vw, 44px) clamp(22px, 2.6vw, 36px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  background: oklch(1 0 0 / 0.4);
  transition: background .3s var(--ease);
}
.values-grid li:last-child { border-right: none; }
.values-grid li:hover { background: oklch(1 0 0 / 0.72); }
.val-title {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  line-height: 1.3;
}
.values-grid p {
  font-size: clamp(0.93rem, 1.05vw, 1.02rem); line-height: 1.55;
  color: var(--muted); margin: 0; text-wrap: pretty;
}

/* ── Mid statement + ecosystem/stats row ─────────────────── */
.ab-mid {
  text-align: center; padding: clamp(40px, 6vw, 76px) 0;
  font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.32; color: var(--fg); letter-spacing: -0.01em;
}
.ab-mid .ac { color: var(--accent); }

.ab-eco {
  display: grid; grid-template-columns: 1fr;
  justify-items: center; text-align: center;
  gap: clamp(34px, 6vw, 90px); align-items: center;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.ab-eco .ed-h2 { max-width: 22ch; }
.ab-eco-cta { margin-top: clamp(26px, 3vw, 38px); }

.ab-stats { display: grid; gap: clamp(22px, 3vw, 34px); }
.ab-stat {
  padding-left: clamp(18px, 2vw, 26px);
  border-left: 2px solid color-mix(in oklch, var(--accent) 60%, transparent);
}
.ab-stat .num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--accent);
}
.ab-stat .lbl {
  display: block; margin-top: 9px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--faint);
}

/* ── Faces carousel ──────────────────────────────────────── */
.ab-faces { padding: clamp(30px, 4vw, 50px) 0 0; }
.ab-faces-head {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: clamp(18px, 2.4vw, 26px);
}
.ab-faces-nav { display: flex; gap: 10px; }
.ab-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: none; cursor: pointer;
  display: grid; place-items: center; color: var(--fg);
  transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
}
.ab-arrow:hover { border-color: var(--accent); color: var(--accent); }
.ab-arrow:active { transform: scale(0.94); }
.ab-arrow svg { width: 18px; height: 18px; }

.ab-faces-track {
  display: flex; gap: clamp(18px, 2vw, 30px);
  justify-content: center; flex-wrap: wrap;
  padding-bottom: 6px;
}
.face {
  position: relative; flex: 0 0 clamp(180px, 17vw, 220px);
  display: flex; flex-direction: column;
}
.face image-slot {
  display: block;
  width: 100%; aspect-ratio: 3 / 4;
  border-radius: 16px; overflow: hidden;
}
.face .face-grad { display: none; }
.face .face-name {
  margin-top: 16px;
  font-size: 1rem; font-weight: 600; line-height: 1.25;
  color: var(--fg);
}
.face .face-role {
  margin-top: 6px;
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase;
  color: var(--faint);
}

/* ── Testimonials ────────────────────────────────────────── */
.ab-quotes { padding: clamp(40px, 5vw, 70px) 0 0; }
.ab-quote-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px); margin-top: clamp(18px, 2.4vw, 26px);
}
.quote {
  background: oklch(1 0 0 / 0.5);
  border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(20px, 2.2vw, 28px);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 220px;
}
.quote .mark {
  font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 0.6;
  color: var(--accent); height: 22px;
}
.quote p {
  font-size: clamp(0.96rem, 1.1vw, 1.05rem); line-height: 1.5;
  color: var(--fg); margin: 0; flex: 1; text-wrap: pretty;
}
.quote .who {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint);
}
.quote .who strong {
  display: inline; font-family: var(--display);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0;
  text-transform: none; color: var(--fg); margin-right: 10px;
}

/* ── Closing band ────────────────────────────────────────── */
.ab-close {
  margin: clamp(50px, 7vw, 90px) calc(-1 * var(--gutter)) 0;
  padding: clamp(54px, 8vw, 100px) var(--gutter);
  background:
    radial-gradient(120% 140% at 50% 0%, oklch(0.62 0.14 295 / 0.1), transparent 60%),
    var(--bg-2);
  border-top-left-radius: clamp(40px, 7vw, 90px);
  border-top-right-radius: clamp(40px, 7vw, 90px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 4vw, 42px);
}
.ab-close p {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.55rem); line-height: 1.28;
  letter-spacing: -0.012em; color: var(--fg); margin: 0;
  max-width: 24ch; text-wrap: balance;
}
.ab-close .ac { color: var(--accent); }

/* dark pill CTA (solid) */
.cta-pill {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bg);
  background: var(--fg); border: 1px solid var(--fg);
  padding: 16px 28px; border-radius: 999px;
  transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cta-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 34px oklch(0.205 0.035 264 / 0.24); }
.cta-pill .ar { transition: transform .35s var(--ease); }
.cta-pill:hover .ar { transform: translateX(4px); }

/* ── Reveal (rect-based, armed only below fold — visible by default) ── */
.ab-reveal.armed { opacity: 0; transform: translateY(20px); }
.ab-reveal.armed.in { opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .ab-reveal.armed { opacity: 1 !important; transform: none !important; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .ab-hero { grid-template-columns: 1fr; gap: 28px; }
  .ab-hero-photo { aspect-ratio: 16 / 9; }
  .ab-eco { grid-template-columns: 1fr; gap: 34px; }
  .ab-quote-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ab-founders { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .founder-top { grid-template-columns: 1fr; }
  .founder-photo { aspect-ratio: 4 / 3; max-width: 220px; }
  .ab-quote-grid { grid-template-columns: 1fr; }
  .quote { min-height: 0; }
}
