/* ============================================================
   WEBNOVA — About page
   Sections: story (founder) · timeline · values · team
   Relies on page.css for hero + section heading chrome.
   ============================================================ */

/* ─── Founder story ─────────────────────────────────────── */
.wn-story-grid {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}
.wn-story-aside {
    position: sticky;
    top: 7rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.wn-story-portrait {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: var(--wn-r-lg);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(63, 152, 166, 0.25), transparent 60%),
        linear-gradient(150deg, #16202b 0%, #0a0d14 100%);
    border: 1px solid var(--wn-line);
    box-shadow: var(--wn-glass-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wn-story-portrait img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.wn-story-portrait-mark {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(247, 246, 242, 0.16);
    line-height: 1;
}
.wn-story-caption {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 0.2rem;
}
.wn-story-caption-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--wn-ink);
}
.wn-story-caption-role {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wn-ink-muted);
}
.wn-story-body .wn-section-eyebrow { margin-bottom: 1.6rem; }
.wn-story-quote {
    margin: 2.6rem 0 0;
    padding: 1.8rem 0 0;
    border-top: 1px solid var(--wn-line);
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.45;
    letter-spacing: -0.015em;
    color: var(--wn-ink);
}
.wn-story-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wn-ink-muted);
}

/* ─── Timeline (dark band) ──────────────────────────────── */
.wn-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: tl;
}
.wn-timeline-item {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: 0 0 0.4rem;
}
.wn-timeline-year {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--wn-accent-soft);
    padding-top: 1.9rem;
    font-variant-numeric: tabular-nums;
}
.wn-timeline-content {
    position: relative;
    padding: 1.9rem 0 2.6rem 2.2rem;
    border-left: 1px solid var(--wn-line-inv);
}
.wn-timeline-item:last-child .wn-timeline-content { border-left-color: transparent; }
.wn-timeline-dot {
    position: absolute;
    left: -5px; top: 2.3rem;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--wn-accent);
    box-shadow: 0 0 0 4px rgba(63, 152, 166, 0.18);
}
.wn-timeline-title {
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--wn-ink-inv);
    margin: 0 0 0.6rem;
}
.wn-timeline-copy {
    font-size: var(--wn-t-lead);
    font-weight: 300;
    line-height: 1.6;
    color: var(--wn-ink-inv-muted);
    margin: 0;
    max-width: 56ch;
}

/* ─── Values grid ───────────────────────────────────────── */
.wn-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.wn-value {
    padding: 2.4rem 2rem;
    background: var(--wn-bg);
    border: 1px solid var(--wn-line);
    border-radius: var(--wn-r-lg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--wn-t-med) var(--wn-ease), box-shadow var(--wn-t-med) var(--wn-ease);
}
.wn-value:hover {
    transform: translateY(-3px);
    box-shadow: var(--wn-glass-shadow);
}
.wn-value-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--wn-accent-tint);
    color: var(--wn-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wn-value-icon svg { width: 22px; height: 22px; }
.wn-value-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--wn-ink);
    margin: 0;
}
.wn-value-copy {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--wn-ink-2);
    margin: 0;
}

/* ─── Team — 50/50: intro left, people stacked right ──────── */
.wn-team-layout {
    display: grid;
    grid-template-columns: 4fr 3fr 3fr;
    gap: clamp(1.5rem, 3vw, 2.6rem);
    align-items: start;
}
.wn-team-intro {
    align-self: start;
}
/* let the two cards become direct columns of the 40/30/30 grid */
.wn-team-people {
    display: contents;
}
.wn-team-card {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1.4rem;
    border-radius: var(--wn-r-md);
    border: 1px solid var(--wn-line);
    background: var(--wn-bg);
    box-shadow: var(--wn-glass-shadow);
}
.wn-team-photo {
    position: relative;
    margin: 0 0 1.1rem;
    aspect-ratio: 1 / 1;
    border-radius: var(--wn-r-sm);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 25%, rgba(63, 152, 166, 0.22), transparent 60%),
        linear-gradient(150deg, #e8e5da 0%, #d8d3c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wn-line);
}
.wn-team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wn-team-photo-mark {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(14, 16, 20, 0.16);
    line-height: 1;
}
.wn-team-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.wn-team-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--wn-ink);
    margin: 0;
}
.wn-team-role {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wn-accent);
    margin: 0 0 0.4rem;
}
.wn-team-bio {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--wn-ink-2);
    margin: 0;
}
.wn-team-note {
    margin: 2.4rem 0 0;
    padding-top: 2.4rem;
    border-top: 1px solid var(--wn-line);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.015em;
    color: var(--wn-ink);
    max-width: 42ch;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .wn-story-grid { grid-template-columns: 1fr; gap: 2.4rem; }
    .wn-story-aside { position: static; flex-direction: row; align-items: center; gap: 1.4rem; }
    .wn-story-portrait { width: 140px; flex-shrink: 0; aspect-ratio: 4 / 5; }
    .wn-values-grid { grid-template-columns: repeat(2, 1fr); }
    .wn-team-layout { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.6rem; }
    .wn-team-intro { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .wn-timeline-item { grid-template-columns: 1fr; gap: 0; }
    .wn-timeline-year { padding-top: 0; padding-left: 2.2rem; }
    .wn-timeline-content { padding-top: 0.5rem; padding-bottom: 2.2rem; }
    .wn-timeline-dot { top: 0.4rem; }
    .wn-values-grid { grid-template-columns: 1fr; }
    .wn-story-aside { flex-direction: column; align-items: flex-start; }
    .wn-story-portrait { width: 160px; }
}
@media (max-width: 480px) {
    .wn-team-layout { grid-template-columns: 1fr; }
}
