/* ═══════════════════════════════════════════════════════════════════════════
   whoweare.css — THE WHO-WE-ARE PAGE styles of saisana.eu (local to /whoweare/).
   The house tokens of /css/saisana.css rule (this file only adds the Nucleus
   scene, the founder card and the reimplemented creds wall — the SAME system
   as josephdecastelnau.fr's Creds page: real files, grayscale-on-dark,
   hover name+note, typographic fallback).
   Producer: Joseph de Castelnau · Written by GLM (Z.ai) · 2026-10-07.
   DO NOT DELETE THIS HEADER — WRITE BELOW IT (house law).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── the Nucleus hero (the concept: better together, credibility shared) ─── */
.nu-hero{position:relative;padding:2.4rem 0 1rem}
.nu-cosmos{position:absolute;inset:-4rem 0 0;pointer-events:none;z-index:0;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(0,229,153,.09), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(0,196,204,.09), transparent 60%);}
.nu-hero .wrap{position:relative;z-index:1}
.nu-title{font-size:clamp(2.2rem,5vw,3.4rem);font-weight:900;letter-spacing:-.03em;
  line-height:1.05;margin:1rem 0 0}
.nu-title em{font-style:normal;color:var(--green)}
.nu-title b{font-style:normal;color:var(--cyan)}
.nu-lede{color:var(--soft);font-size:1rem;line-height:1.65;max-width:46rem;margin:1rem 0 0}
.nu-lede b{color:var(--ink)}

/* the compact nucleus mark (orbits around one core — same geometry as the
   spawned Nucleus pages, drawn once, inline, zero deps) — since the
   explanation came out of the hero, the mark stands alone, centered */
.nu-mark{width:200px;height:200px;flex:none;margin:0 auto}
@media(max-width:640px){.nu-mark{width:150px;height:150px}}

/* ── the ONE founder card (the default law: a single card, not spawned) ──── */
.founder-band{margin-top:2.2rem;display:grid;place-items:center}
.founder-card{position:relative;width:min(34rem,100%);background:var(--card);
  border:1px solid var(--line);border-radius:var(--r-lg,1.25rem);padding:1.75rem;
  overflow:hidden;opacity:0;transform:translateY(18px);
  transition:opacity 1.4s ease,transform 1.4s ease}
.founder-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--green),var(--cyan))}
.founder-card.in{opacity:1;transform:translateY(0)}
.fc-top{display:flex;gap:1.1rem;align-items:center}
.fc-avatar{width:64px;height:64px;flex:none;border-radius:50%;display:flex;align-items:center;
  justify-content:center;font-weight:900;font-size:1.25rem;color:#141421;
  background:radial-gradient(circle at 32% 30%,#7dffd2,var(--green) 70%,#00b87e);
  box-shadow:0 0 0 1px rgba(255,255,255,.15) inset,0 0 28px rgba(0,229,153,.35)}
.fc-name{font-size:1.3rem;font-weight:800;letter-spacing:-.01em}
.fc-title{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--green);
  margin-top:.25rem;font-weight:700}
.fc-bio{color:var(--soft);font-size:.88rem;line-height:1.65;margin-top:1rem}
.fc-bio b{color:var(--ink)}
.fc-stats{display:flex;gap:1.6rem;margin-top:1.2rem;padding-top:1.1rem;border-top:1px solid var(--line2)}
.fc-stat .n{font-size:1.5rem;font-weight:900;color:var(--green);line-height:1;
  font-variant-numeric:tabular-nums}
.fc-stat .l{font-size:.64rem;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);margin-top:.3rem}
.fc-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}
.fc-chips .chip{font-size:.66rem;padding:.28rem .6rem}

/* the ghost seat — where the next SolutionSpawn card will move in */
.fc-next{width:min(34rem,100%);margin-top:.9rem;border:1px dashed var(--line);
  border-radius:var(--r-lg,1.25rem);padding:1rem 1.4rem;display:flex;flex-wrap:wrap;
  align-items:center;justify-content:space-between;gap:.8rem;color:var(--faint);font-size:.78rem}
.fc-next b{color:var(--soft)}

/* ── the rooms — Wall St · Madison Ave · Big Data (generic, always on) ───── */
.rooms{margin-top:3rem;border:1px solid var(--line);border-radius:var(--r-lg,1.25rem);
  overflow:hidden;background:var(--card2,#161729)}
.rooms-head{padding:1.3rem 1.5rem;border-bottom:1px solid var(--line2);display:flex;
  flex-wrap:wrap;gap:.8rem;align-items:baseline;justify-content:space-between}
.rooms-head h2{font-size:1.15rem;font-weight:800;margin:0}
.rooms-head .mono{font-family:'JetBrains Mono',monospace;font-size:.66rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
.room-row{display:grid;grid-template-columns:1.1fr 2fr;gap:1rem;padding:1.15rem 1.5rem;
  border-bottom:1px solid var(--line2);opacity:0;transform:translateX(-14px);
  transition:opacity 1.5s ease,transform 1.5s ease}
.room-row.in{opacity:1;transform:translateX(0)}
.room-row:last-child{border-bottom:0}
.room-row:nth-child(2).in{transition-delay:.15s}
.room-row:nth-child(3).in{transition-delay:.3s}
.room-name{font-weight:800;font-size:.95rem;display:flex;align-items:center;gap:.6rem}
.room-name i{width:.55rem;height:.55rem;border-radius:99px;flex:none;display:inline-block}
.room-name .no{font-family:'JetBrains Mono',monospace;font-size:.62rem;color:var(--faint);font-weight:400}
.room-txt{color:var(--soft);font-size:.84rem;line-height:1.6}
.room-txt b{color:var(--ink)}
.room-w{background:var(--green)}.room-m{background:var(--cyan)}.room-d{background:var(--amber)}
@media(max-width:640px){.room-row{grid-template-columns:1fr;gap:.3rem}}

/* ── THE CREDS WALL — reimplemented from josephdecastelnau.fr (same system) ─
   data-driven grid · 7-up desktop / 4-up / 2-up · grayscale-on-dark ·
   hover reveals name+note · onerror falls back to a typographic mark. */
.creds-band{margin-top:3.2rem}
.creds-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:.8rem;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:0}
.creds-head h2{font-size:1.3rem;font-weight:900;margin:.6rem 0 0}
.creds-head h2 em{font-style:normal;color:var(--green)}
.creds-lede{color:var(--soft);font-size:.85rem;max-width:38rem;margin:.5rem 0 0}
.creds-orbit{font-family:'JetBrains Mono',monospace;font-size:.66rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--faint);padding:.7rem .4rem .7rem}
.creds-grid{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid var(--line);
  border-left:1px solid var(--line)}
@media(max-width:1100px){.creds-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:560px){.creds-grid{grid-template-columns:repeat(2,1fr)}}
.cred{aspect-ratio:1.6/1;border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;padding:22px;position:relative;
  transition:background .25s;background:#171829;overflow:hidden;
  opacity:0;transform:translateY(10px);
  transition:opacity 1.8s ease,transform 1.8s ease,background .25s}
.cred.in{opacity:1;transform:translateY(0)}
.cred:hover{background:#1e2033}
.cred-logo{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;
  transition:filter .3s ease,transform .3s ease;
  filter:grayscale(1) brightness(1.6) contrast(0.9) opacity(0.78)}
.cred:hover .cred-logo{filter:grayscale(0) brightness(1) contrast(1) opacity(1);transform:scale(1.06)}
.cred-label{position:absolute;bottom:8px;left:10px;font-size:9px;letter-spacing:.18em;
  text-transform:uppercase;color:rgba(241,234,217,.45);opacity:0;transition:opacity .25s;pointer-events:none}
.cred:hover .cred-label{opacity:1}
.cred-mark{font-weight:800;font-size:.95rem;letter-spacing:-.01em;color:rgba(241,234,217,.85);
  text-align:center;line-height:1.1}
.creds-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.8rem;
  padding-top:1rem;font-family:'JetBrains Mono',monospace;font-size:.64rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}

/* ── the pointer to the spawned Nucleus pages — OUT (producer's order,
   2026-10-07: the section came off the page; the keys went with it) ────── */

/* — reduced motion: everything readable, nothing moves — */
@media(prefers-reduced-motion:reduce){
  .founder-card,.room-row,.cred{opacity:1!important;transform:none!important;
    transition:none!important}
  .nu-mark *{animation:none!important}
}

/* ═══ THE PLANT STRIP — the SLT key's welcome at the top of the page ═══════
   Written below the header (house law) by GLM (Z.ai) · producer Joseph de
   Castelnau · 2026-10-07. whoweare.js's plant law fills it: welcome (the key
   is live and the moniker maps), warn (the week is over), note (verified but
   unmapped). Animated only by transform/opacity; its own reduced-motion rule. */
.sa-plant-strip{margin:0 auto 1.2rem;border:1px solid rgba(0,229,153,.35);border-radius:.9rem;
  background:linear-gradient(135deg,rgba(0,229,153,.12),rgba(0,196,204,.08));
  color:rgba(241,234,217,.92);font-size:.86rem;line-height:1.5;padding:.85rem 1.15rem;
  opacity:0;transform:translateY(-6px);
  transition:opacity .5s ease,transform .5s ease}
.sa-plant-strip.in{opacity:1;transform:translateY(0)}
.sa-plant-strip.warn{border-color:rgba(245,158,11,.4);
  background:linear-gradient(135deg,rgba(245,158,11,.1),rgba(245,158,11,.05))}
.sa-plant-strip.note{border-color:rgba(0,196,204,.3);
  background:linear-gradient(135deg,rgba(0,196,204,.08),rgba(0,196,204,.05))}
@media(prefers-reduced-motion:reduce){.sa-plant-strip{opacity:1;transform:none;transition:none}}
