/* KitaNaikin Founder Page */

.founder-page {
    --founder-ink: #17211d;
    --founder-muted: #69736c;
    --founder-lime: #c6f36b;
    --founder-paper: #f7f8f4;
    color: var(--founder-ink);
    background: #fff;
}

.founder-container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.founder-hero {
    padding: clamp(52px, 8vw, 100px) 0 32px;
}

.founder-eyebrow {
    margin: 0 0 16px;
    color: #657364;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1.5;
}

.founder-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(38px, 6.2vw, 76px);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: .99;
}

.founder-hero h1 span {
    color: #71865b;
}

.founder-hero-copy {
    max-width: 610px;
    margin: 24px 0 0;
    color: var(--founder-muted);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.8;
}

.founder-showcase {
    overflow: hidden;
    padding: 42px 0 86px;
    background: var(--founder-paper);
}

.founder-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.founder-section-heading .founder-eyebrow {
    margin-bottom: 10px;
}

.founder-section-heading h2,
.founder-cta h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 620;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.founder-selection-hint {
    margin: 0 0 5px;
    color: var(--founder-muted);
    font-size: 13px;
}

.founder-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
    align-items: end;
    gap: 0;
    max-width: 940px;
    min-height: 390px;
    margin: 30px auto 0;
}

.founder-person {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .35s ease, opacity .35s ease;
}

.founder-person--richard {
    transform: translateX(34px) translateY(12px);
}

.founder-person--caroline {
    z-index: 3;
}

.founder-person--bimo {
    transform: translateX(-34px) translateY(12px);
}

.founder-portrait {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 270px;
    aspect-ratio: 3 / 4;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: #e4e9df;
    transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}

.founder-portrait::before {
    position: absolute;
    z-index: -1;
    inset: 12% 10% 0;
    border-radius: 48% 48% 0 0;
    background: linear-gradient(150deg, #d5dfcb, #aab9a0);
    content: "";
}

.founder-portrait--caroline {
    max-width: 310px;
    background: #dfe7d7;
}

.founder-portrait--richard {
    background: #e8e8e0;
}

.founder-portrait--bimo {
    background: #e0e5e1;
}

.founder-portrait img {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.founder-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    width: 94px;
    height: 94px;
    place-items: center;
    border: 1px solid rgb(23 33 29 / 18%);
    border-radius: 50%;
    color: rgb(23 33 29 / 48%);
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -.04em;
}

.founder-person-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-top: 17px;
}

.founder-person-name {
    font-size: clamp(14px, 1.7vw, 18px);
    font-weight: 650;
    letter-spacing: -.025em;
}

.founder-person-role {
    color: var(--founder-muted);
    font-size: 12px;
}

.founder-person:not(.is-active) .founder-portrait {
    filter: grayscale(1);
    opacity: .72;
}

.founder-person.is-active .founder-portrait {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-5px);
}

.founder-person:focus-visible {
    outline: 2px solid #71865b;
    outline-offset: 5px;
}

.founder-person:hover .founder-portrait {
    filter: grayscale(0);
    opacity: 1;
}

.founder-detail {
    margin: 48px auto 0;
    padding: 30px 0 0;
    border-top: 1px solid #dce1d8;
}

.founder-detail-index {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.founder-detail-index .founder-eyebrow {
    margin: 0;
}

.founder-detail-number {
    color: var(--founder-muted);
    font-size: 11px;
    letter-spacing: .1em;
}

.founder-detail-content {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(28px, 7vw, 100px);
    padding-top: 28px;
}

.founder-detail-role {
    margin: 0 0 8px;
    color: #71865b;
    font-size: 13px;
    font-weight: 650;
}

.founder-detail-content h3 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 620;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.founder-detail-copy > p {
    margin: 0;
    color: #535e56;
    font-size: 15px;
    line-height: 1.9;
}
/* Founder quote card */
.founder-page .founder-detail-copy blockquote.founder-quote {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 16px 0 0;
    padding: 16px 18px;

    /* Soft, filled background */
    background: rgba(113, 134, 91, 0.10);
    border: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-radius: 8px;
    box-shadow: none;
}

/* Opening quotation mark */
.founder-page .founder-detail-copy blockquote.founder-quote::before {
    content: "\201C";
    display: inline;
    position: static;
    color: #71865b;
    font-family: Georgia, serif;
    font-size: 1.3em;
    line-height: 1;
}

/* Closing quotation mark */
.founder-page .founder-detail-copy blockquote.founder-quote::after {
    content: "\201D";
    display: inline;
    position: static;
    color: #71865b;
    font-family: Georgia, serif;
    font-size: 1.3em;
    line-height: 1;
}

/* Quote text */
.founder-page .founder-detail-copy blockquote.founder-quote p {
    display: inline;
    margin: 0;
    padding: 0;
    border: none !important;
    color: inherit;
    font-size: 16px;
    font-style: italic;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .founder-page .founder-detail-copy blockquote.founder-quote {
        margin-top: 14px;
        padding: 14px 15px;
        border-radius: 7px;
    }

    .founder-page .founder-detail-copy blockquote.founder-quote p {
        font-size: 15px;
        line-height: 1.7;
    }
}

.founder-cta {
    padding: clamp(64px, 9vw, 110px) 0;
}

.founder-cta-inner {
    max-width: 760px;
    text-align: center;
}

.founder-cta-inner > p:not(.founder-eyebrow) {
    max-width: 570px;
    margin: 20px auto 0;
    color: var(--founder-muted);
    font-size: 15px;
    line-height: 1.8;
}

.founder-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
    padding: 15px 22px;
    background: var(--founder-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.founder-cta-button:hover {
    background: var(--founder-lime);
    color: var(--founder-ink);
}

@media (min-width: 900px) {
    .founder-person--richard {
        margin-right: -20px;
    }

    .founder-person--bimo {
        margin-left: -20px;
    }
}

@media (max-width: 640px) {
    .founder-container {
        width: min(100% - 32px, 480px);
    }

    .founder-hero {
        padding-top: 48px;
        padding-bottom: 25px;
    }

    .founder-hero h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .founder-hero-copy {
        margin-top: 18px;
        font-size: 14px;
    }

    .founder-showcase {
        padding: 34px 0 58px;
    }

    .founder-section-heading {
        display: block;
    }

    .founder-selection-hint {
        margin-top: 12px;
        font-size: 12px;
    }

    .founder-stage {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
        min-height: 0;
        margin-top: 28px;
    }

    .founder-person {
        padding: 0 3px;
    }

    .founder-person--richard,
    .founder-person--bimo {
        transform: none;
    }

    .founder-person--caroline {
        transform: translateY(-8px);
    }

    .founder-portrait,
    .founder-portrait--caroline {
        width: 100%;
        max-width: none;
        aspect-ratio: 3 / 4;
    }

    .founder-person.is-active .founder-portrait {
        transform: translateY(-3px);
    }

    .founder-person-caption {
        gap: 4px;
        padding-top: 11px;
    }

    .founder-person-name {
        font-size: clamp(11px, 3.1vw, 14px);
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .founder-person-role {
        font-size: 10px;
    }

    .founder-placeholder {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .founder-detail {
        margin-top: 34px;
        padding-top: 22px;
    }

    .founder-detail-content {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 20px;
    }

    .founder-detail-content h3 {
        font-size: 32px;
    }

    .founder-detail-copy > p {
        font-size: 14px;
    }

    .founder-detail-copy blockquote p {
        font-size: 15px;
    }

    .founder-cta {
        padding: 64px 0;
    }
}

@media (max-width: 360px) {
    .founder-container {
        width: calc(100% - 24px);
    }

    .founder-person {
        padding-inline: 2px;
    }

    .founder-person-name {
        font-size: 11px;
    }

    .founder-person-role {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .founder-page *,
    .founder-page *::before,
    .founder-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Founder entrance reveal */
.founder-stage--reveal .founder-person {
    opacity: 0;
    transform: translateY(18px);
}

.founder-stage--reveal .founder-person--richard {
    transform: translate(34px, 18px);
}

.founder-stage--reveal .founder-person--bimo {
    transform: translate(-34px, 18px);
}

.founder-stage--reveal.is-visible .founder-person {
    opacity: 1;
    transform: translateY(0);
}

.founder-stage--reveal.is-visible .founder-person--richard {
    transform: translate(34px, 12px);
    transition-delay: .08s;
}

.founder-stage--reveal.is-visible .founder-person--caroline {
    transition-delay: .16s;
}

.founder-stage--reveal.is-visible .founder-person--bimo {
    transform: translate(-34px, 12px);
    transition-delay: .24s;
}

@media (max-width: 640px) {
    .founder-stage--reveal .founder-person--richard,
    .founder-stage--reveal .founder-person--bimo {
        transform: translateY(18px);
    }

    .founder-stage--reveal.is-visible .founder-person--richard,
    .founder-stage--reveal.is-visible .founder-person--bimo {
        transform: translateY(0);
    }

    .founder-stage--reveal.is-visible .founder-person--caroline {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .founder-stage--reveal .founder-person,
    .founder-stage--reveal.is-visible .founder-person {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Founder layout refinement - v2 */
.founder-hero {
    padding-top: 44px;
    padding-bottom: 18px;
}

.founder-hero-copy {
    margin-top: 16px;
}

.founder-showcase {
    padding-top: 26px;
    padding-bottom: 56px;
}

.founder-section-heading h2 {
    font-size: clamp(28px, 3.5vw, 40px);
}

.founder-stage {
    min-height: 0;
    max-width: 790px;
    margin-top: 20px;
    align-items: end;
}

.founder-portrait {
    max-width: 215px;
    aspect-ratio: 3 / 3.55;
}

.founder-portrait--caroline {
    max-width: 245px;
}

.founder-person--richard {
    transform: translateX(20px) translateY(8px);
}

.founder-person--bimo {
    transform: translateX(-20px) translateY(8px);
}

.founder-person-caption {
    padding-top: 10px;
}

.founder-person.is-active .founder-portrait {
    transform: translateY(-3px);
}

.founder-detail {
    margin-top: 28px;
    padding-top: 20px;
}

.founder-detail-content {
    padding-top: 18px;
}

.founder-detail-copy blockquote {
    margin-top: 16px;
}

.founder-cta {
    padding-top: 64px;
    padding-bottom: 64px;
}

@media (max-width: 640px) {
    .founder-hero {
        padding-top: 32px;
        padding-bottom: 18px;
    }

    .founder-showcase {
        padding-top: 26px;
        padding-bottom: 42px;
    }

    .founder-stage {
        margin-top: 22px;
    }

    .founder-portrait,
    .founder-portrait--caroline {
        max-width: none;
        aspect-ratio: 3 / 3.8;
    }

    .founder-person-caption {
        padding-top: 9px;
    }

    .founder-detail {
        margin-top: 26px;
        padding-top: 18px;
    }

    .founder-detail-content {
        gap: 14px;
        padding-top: 16px;
    }
}
