/* =========================================================
   TufKo Founder page
   ========================================================= */

/* Hero */

.founder-hero {
    background:
        radial-gradient(circle at 80% 40%,
            rgb(255 255 255 / 6%),
            transparent 30%),
        linear-gradient(135deg,
            var(--tufko-black),
            var(--tufko-grey-900) 68%,
            var(--tufko-steel-dark));
    color: var(--tufko-white);
}

.founder-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
    min-height: 610px;
    padding-block: clamp(4.5rem, 9vw, 7rem);
}

.founder-hero__content {
    max-width: 820px;
}

.founder-hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.5vw, 5.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

.founder-hero__summary {
    max-width: 680px;
    margin: 1.75rem 0 0;
    color: var(--tufko-steel-light);
    font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.founder-hero__identity {
    margin: 2rem 0 0;
    padding: 1.25rem 0;
    border-top: 1px solid rgb(255 255 255 / 16%);
    border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.founder-hero__identity p {
    margin: 0.25rem 0;
    color: var(--tufko-steel-light);
}

.founder-hero__identity strong {
    color: var(--tufko-white);
    font-family: var(--font-heading);
    font-size: 1.45rem;
}

.founder-hero__portrait {
    position: relative;
}

.founder-hero__portrait::before {
    position: absolute;
    top: -1rem;
    right: -1rem;
    bottom: 1rem;
    left: 1rem;
    border: 1px solid rgb(255 255 255 / 20%);
    content: "";
}

.founder-hero__portrait img {
    position: relative;
    width: 100%;
    max-height: 560px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-bottom: 5px solid var(--tufko-orange);
}

/* Introduction */

.founder-introduction {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1.55fr);
    gap: clamp(2.5rem, 8vw, 7rem);
    align-items: start;
}

.founder-introduction__label {
    color: var(--tufko-orange);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
    opacity: 0.24;
}

.founder-introduction__content {
    max-width: 850px;
}

.founder-introduction h2,
.founder-section-heading h2,
.founder-cta h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
}

.founder-introduction__lead {
    max-width: 68ch;
    margin: 1.5rem 0 0;
    color: var(--tufko-grey-700);
    font-size: 1.1rem;
}

.founder-introduction__content p:not(.eyebrow):not(.founder-introduction__lead) {
    max-width: 72ch;
}

/* Credentials */

.credentials-section {
    background: var(--tufko-grey-100);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.credential-card {
    padding: 2rem;
    background: var(--tufko-white);
    border: 1px solid var(--tufko-grey-300);
    border-top: 4px solid var(--tufko-orange);
}

.credential-card__abbreviation {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--tufko-orange-dark);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
}

.credential-card h3 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.2;
}

.credential-card p {
    margin: 0;
    color: var(--tufko-grey-700);
}

/* Engineering approach */

.approach-section {
    background: var(--tufko-charcoal);
    color: var(--tufko-white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: 3rem;
}

.approach-card {
    padding-left: 1.5rem;
    border-left: 3px solid var(--tufko-orange);
}

.approach-card span {
    display: block;
    margin-bottom: 1rem;
    color: var(--tufko-steel);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.approach-card h3 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
}

.approach-card p {
    margin: 0;
    color: var(--tufko-steel-light);
}

/* Founder story */

.founder-story {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.founder-story__content {
    max-width: 760px;
}

.founder-story__content h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.05;
}

.founder-story__content p:not(.eyebrow) {
    font-size: 1.06rem;
}

.founder-principles {
    margin: 0;
    padding: 0;
    list-style: none;
}

.founder-principles li {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--tufko-grey-300);
}

.founder-principles li:first-child {
    border-top: 1px solid var(--tufko-grey-300);
}

.founder-principles strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--tufko-grey-900);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.founder-principles span {
    color: var(--tufko-grey-700);
}

/* Accountability statement */

.accountability-statement {
    background: var(--tufko-grey-100);
}

.accountability-statement__inner {
    max-width: 920px;
}

.accountability-statement blockquote {
    margin: 0;
    padding-left: clamp(1.5rem, 4vw, 3rem);
    border-left: 5px solid var(--tufko-orange);
}

.accountability-statement blockquote p {
    margin: 0;
    color: var(--tufko-grey-900);
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.accountability-statement cite {
    display: block;
    margin-top: 1.5rem;
    color: var(--tufko-grey-700);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 400;
}

/* CTA */

.founder-cta {
    background:
        linear-gradient(135deg,
            var(--tufko-grey-900),
            var(--tufko-charcoal));
    color: var(--tufko-white);
}

.founder-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.founder-cta__content {
    max-width: 760px;
}

.founder-cta p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--tufko-steel-light);
    font-size: 1.05rem;
}

/* Responsive */

@media (max-width: 1000px) {
    .credentials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .founder-hero__inner,
    .founder-introduction,
    .founder-story {
        grid-template-columns: 1fr;
    }

    .founder-introduction__label {
        font-size: 4rem;
    }

    .founder-hero__portrait {
        width: min(70%, 380px);
        margin-inline: auto;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .founder-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .founder-hero__inner {
        padding-block: 3.75rem;
    }

    .founder-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .founder-hero__portrait {
        width: 100%;
    }

    .founder-hero__portrait::before {
        display: none;
    }

    .credential-card {
        padding: 1.5rem;
    }
}
