/* ============================================================
   KIZONANCE — FOUNDERS.CSS  (must load AFTER style.css)
   Default = simple stacked layout (works with no JS).
   JS adds .fs-pinned on desktop to switch to the scroll sequence.
   ============================================================ */

.founders {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.fs-pin {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5.5rem 2rem 4rem;
}

/* ── top row ── */
.fs-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2rem; }
.fs-label {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--mono); font-size: .65rem; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
    background: var(--teal-muted); border: 1px solid rgba(0,212,192,.18);
    padding: .28rem .9rem; border-radius: 100px;
}
.fs-label .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
    animation: pulse-dot 2s ease-in-out infinite; }
.fs-count { display: none; align-items: center; gap: .3rem;
    font-family: var(--mono); font-size: .8rem; color: var(--w40); }
.fs-num { color: var(--white); font-weight: 600; }
.fs-bar { width: 72px; height: 2px; margin-left: .8rem; background: var(--w08); border-radius: 2px; overflow: hidden; }
.fs-bar i { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left center; transform: scaleX(.5); }

/* ── stage / slides (stacked default) ── */
.fs-stage { display: flex; flex-direction: column; gap: 4.5rem; }
.fs-slide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    align-items: center;
}

/* ── photo ── */
.fs-photo {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border-light);
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.fs-photo::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(10,10,15,.5), transparent 45%);
}
.fs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* only created by JS if the image actually fails to load */
.fs-photo .fs-initials {
    position: absolute; inset: 0; z-index: 1;
    display: grid; place-items: center;
    font-size: 4rem; font-weight: 700; color: var(--teal);
    background: var(--teal-muted);
}

/* ── details ── */
.fs-detail { max-width: 520px; }
.fs-role {
    font-family: var(--mono); font-size: .68rem; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
    margin-bottom: 1rem; display: flex; align-items: center; gap: .8rem;
}
.fs-role::before { content: ''; width: 28px; height: 1px; background: var(--teal); }
.fs-name {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 700; line-height: 1.02; letter-spacing: -.035em;
    color: var(--white); margin-bottom: 1.4rem;
}
.fs-bio { font-size: 1rem; color: var(--w60); line-height: 1.85; margin-bottom: 1.8rem; }
.fs-points { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.fs-points li {
    padding: .8rem 0; border-bottom: 1px solid var(--border);
    font-size: .9rem; color: var(--w80);
    display: flex; align-items: center; gap: .9rem;
}
.fs-points li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   PINNED SCROLL SEQUENCE — only when JS adds .fs-pinned
   ════════════════════════════════════════════════════════════ */
.founders.fs-pinned .fs-pin {
    height: 100vh;
    min-height: 640px;
    padding-top: 88px;               /* clear the fixed navbar */
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.founders.fs-pinned .fs-top { padding-bottom: 1rem; }
.founders.fs-pinned .fs-count { display: flex; }
.founders.fs-pinned .fs-stage { position: relative; flex: 1; display: block; }
.founders.fs-pinned .fs-slide {
    position: absolute; inset: 0;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 6rem);
}
.founders.fs-pinned .fs-photo {
    justify-self: end;
    max-width: 400px;
    max-height: 62vh;
}
.founders.fs-pinned .fs-name { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }

@media (max-width: 640px) {
    .fs-pin { padding-left: 1.2rem; padding-right: 1.2rem; }
}