/* Founder's philosophy page (/philosophy). Shared layout (header, .section, .section-intro, .eyebrow, footer) is in site.css. */

.founder {
    background: linear-gradient(180deg, #0c0b13, #140f1d);
}

.founder-wrap {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-quote {
    position: sticky;
    top: 120px;
    border: 1px solid #c27cff55;
    border-radius: 22px;
    padding: clamp(28px, 4vw, 46px);
    background: radial-gradient(circle at 85% 0%, #b449ff2a, transparent 60%), #18121f;
    box-shadow: 0 0 40px #a640ff1c, 0 0 60px #f2a64a14;
}

.founder-photo {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 317 / 451;
    object-fit: cover;
    margin: 0 0 26px;
    border-radius: 18px;
    border: 1px solid #e6a8ff55;
    box-shadow: 0 0 26px #b65cff40, 0 0 60px #f2a64a1a;
}

.founder-quote blockquote {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(25px, 2.6vw, 36px);
    line-height: 1.35;
    color: #fff;
}

.founder-quote blockquote em {
    color: #d5a0ff;
}

.founder-quote .mark {
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: .6;
    color: #f2c068;
    display: block;
    margin-bottom: 12px;
}

.founder-quote .from {
    display: block;
    margin-top: 24px;
    color: #f2c068;
    font-size: 12px;
    letter-spacing: .2em;
}

.founder-story p {
    font-size: 18px;
    line-height: 1.85;
    color: #ddd3e6;
    margin: 0 0 22px;
}

.founder-story p:first-of-type::first-letter {
    font-family: Georgia, serif;
    float: left;
    font-size: 64px;
    line-height: .9;
    padding: 6px 10px 0 0;
    color: #f2c068;
}

.founder-story .pull {
    font-family: Georgia, serif;
    font-size: 26px;
    color: #ffc37a;
    margin: 30px 0;
}

.founder-sign {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 22px;
    color: #f2c068;
    margin-top: 8px;
}

.founder-sign small {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--muted);
    margin-top: 6px;
}

/* ---- the idea behind it: six layers ---- */
.layers {
    background:
        radial-gradient(ellipse at 25% 80%, #b449ff1f, transparent 55%),
        #100c18;
}

.layers-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    max-width: 1150px;
}

.layer-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.layer {
    width: var(--w);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
    background: color-mix(in srgb, var(--c) 8%, #17121f);
    color: #f9f4ff;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    transition: background .25s, box-shadow .25s, border-color .25s;
}

.layer .n {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--c);
}

.layer:hover,
.layer[aria-selected="true"] {
    border-color: var(--c);
    background: color-mix(in srgb, var(--c) 20%, #17121f);
    box-shadow: 0 0 24px color-mix(in srgb, var(--c) 35%, transparent);
}

.layer-panels {
    min-width: 0;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 22px;
    border: 1px solid #ffffff22;
    background: linear-gradient(160deg, #1e1829, #171320);
}

.layer-panel .k {
    font-size: 11px;
    letter-spacing: .2em;
    font-weight: 700;
    color: #ffc37a;
}

.layer-panel h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 38px);
    margin: 8px 0 10px;
}

.layer-panel p {
    margin: 0;
    color: #ddd2ea;
    font-size: 17px;
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
    .layer {
        transition: none;
    }
}

@media (max-width: 900px) {
    .founder-wrap,
    .layers-wrap {
        grid-template-columns: 1fr;
    }
    .founder-quote {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .founder-story p {
        font-size: 16.5px;
    }
}

.founder-sign .name {
    display: block;
    margin-top: 6px;
    font-size: 26px;
    color: #fff4e0;
}

/* ---- one centered column ---- */
.layers-wrap {
    margin-inline: auto;
}

.layers .actions {
    justify-content: center;
}
