/* Meet the Founder page (/meet-the-founder). Site font and theme colours; loaded on this page only. */

.founder-page {
    --founder-tint: #f3f7fe;
    --founder-tint-strong: #e6effd;
    --founder-ink: #101828;
    --founder-muted: #667085;
    --founder-line: #e4eaf3;
    --founder-radius: 24px;
    color: var(--founder-muted);
}

/* Shared */
.founder-page section + section {
    margin-top: 1.5rem;
}
.founder-panel {
    background: var(--founder-tint);
    border-radius: var(--founder-radius);
    padding: 2rem;
}
.founder-section {
    padding: 2rem;
}
.founder-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--founder-muted);
    margin-bottom: 1rem;
}
.founder-label {
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    color: var(--founder-muted);
    margin-bottom: 0.75rem;
}
.founder-label-line {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.founder-label-line::after {
    content: "";
    width: 72px;
    height: 1px;
    background: currentColor;
    opacity: 0.35;
}
.founder-label-caps {
    color: var(--ar-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.founder-title,
.founder-edu-card h3 {
    font-family: "Newsreader", Georgia, "Times New Roman", serif;
}
.founder-title {
    font-size: clamp(1.875rem, 1.3rem + 1.7vw, 2.625rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--founder-ink);
    margin-bottom: 1rem;
}
.founder-copy {
    font-size: 0.9375rem;
    line-height: 1.7;
}
.founder-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 14px;
    box-shadow: rgba(36, 105, 213, 0.35) 0 10px 18px -8px;
}
.founder-rounded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
.founder-placeholder {
    width: 100%;
    min-height: 220px;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--founder-tint-strong), #d6e3fb);
}

/* Floating info card (hero + Why) */
.founder-float-card {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    margin: 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    box-shadow: 0 12px 30px -12px rgba(16, 24, 40, 0.25);
    font-size: 0.8125rem;
    color: var(--founder-ink);
}
.founder-float-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
}
.founder-float-card li + li {
    border-top: 1px solid var(--founder-line);
}
.founder-float-card i {
    font-size: 1.15rem;
    color: var(--founder-muted);
}

/* Hero */
.founder-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 460px;
    border-radius: var(--founder-radius);
    background: linear-gradient(120deg, #fbfcff 0%, #eef4fe 55%, #dfe9fc 100%);
    overflow: hidden;
}
.founder-hero-text {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 3.5rem 3.5rem;
    align-self: center;
}
.founder-hero-title {
    font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--founder-ink);
    margin-bottom: 1.25rem;
}
.founder-hero-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 30rem;
    margin-bottom: 2rem;
}
.founder-hero-media {
    position: relative;
    min-height: 320px;
}
.founder-hero-media picture,
.founder-hero-media .founder-placeholder {
    position: absolute;
    inset: 0;
    border-radius: 0;
}
.founder-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Photo fades into the hero background on its left edge */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
    mask-image: linear-gradient(to right, transparent 0, #000 22%);
}
.founder-signature {
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    text-align: center;
    color: var(--founder-ink);
}
.founder-signature-script {
    display: block;
    font-family: "Mrs Saint Delafield", cursive;
    font-size: 3rem;
    line-height: 1;
}
.founder-signature img {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto;
}
.founder-signature-role {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.25rem;
    max-width: 6rem;
}

/* My Background */
.founder-background .col-lg-3 {
    min-height: 260px;
}
.founder-background .founder-rounded-img {
    object-position: center 22%; /* keep the face in frame when cropped */
}
.founder-edu-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--founder-line);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}
.founder-edu-card > i,
.founder-who-card > i {
    font-size: 2.25rem;
    line-height: 1;
    color: #3a5f9e;
}
.founder-edu-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--founder-ink);
    margin-bottom: 0.35rem;
}
.founder-who-card h3,
.founder-video-caption h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--founder-ink);
    margin-bottom: 0.35rem;
}
.founder-edu-card p,
.founder-who-card p,
.founder-video-caption p {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Why */
.founder-media-wrap {
    position: relative;
    min-height: 260px;
}
.founder-why-img {
    aspect-ratio: 16 / 9;
    /* Portrait photos: keep the person, not the sky, in the landscape frame */
    object-position: center 62%;
}

/* The Founder at Work */
.founder-work-intro {
    max-width: 40rem;
    margin-bottom: 1.75rem;
}
.founder-video-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px -18px rgba(16, 24, 40, 0.3);
}
.founder-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b1e3b;
}
.founder-video picture,
.founder-video .founder-placeholder,
.founder-video-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.founder-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(16, 24, 40, 0.45);
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}
.founder-play:hover,
.founder-play:focus-visible {
    background: rgba(16, 24, 40, 0.65);
    transform: translate(-50%, -50%) scale(1.06);
}
.founder-video-link {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ar-primary);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.founder-video-link:hover {
    color: #fff;
    filter: brightness(1.08);
}
.founder-video-caption {
    padding: 1rem 1.25rem 1.15rem;
}

/* Full-screen video player */
.founder-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000; /* above the fixed header, cookie notice and back-to-top button */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1rem 1.5rem;
    background: rgba(5, 10, 20, 0.92);
}
.founder-lightbox[hidden] {
    display: none;
}
/* Fills the screen and fits the video inside it, so portrait and landscape both show whole, even before the size is known */
.founder-lightbox-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}
.founder-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.founder-lightbox-close:hover,
.founder-lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}
body.founder-lightbox-open {
    overflow: hidden;
}

/* WhatsApp strip */
.founder-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.founder-strip-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px -8px rgba(37, 211, 102, 0.8);
}
.founder-strip-text {
    flex: 1 1 auto;
}
.founder-strip-text h2 {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--founder-ink);
    margin-bottom: 0.35rem;
}
.founder-strip-text p {
    font-size: 0.9375rem;
    max-width: 26rem;
}

/* Who Urbanova is for */
.founder-who-images {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1rem;
    height: 220px;
}
/* Photos fill their cell and crop, whatever their own proportions */
.founder-who-images picture {
    display: block;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 18px;
}
.founder-who-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    height: 100%;
    background: #fff;
    border: 1px solid var(--founder-line);
    border-radius: 16px;
    padding: 1.1rem;
}
.founder-who-card > i {
    font-size: 2rem;
}

/* Final banner */
.founder-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 150px;
    padding: 2rem 2.5rem;
    border-radius: var(--founder-radius);
    background: linear-gradient(110deg, #eef4fe 0%, #dce8fc 100%);
    overflow: hidden;
}
.founder-cta-text {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
}
.founder-cta-text h2 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: 400;
    color: var(--founder-ink);
    margin-bottom: 0.5rem;
}
.founder-cta-text p {
    margin-bottom: 0;
}
.founder-cta-btn {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: 0.85rem 2rem;
}
.founder-cta-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
}
.founder-cta-media picture,
.founder-cta-media .founder-placeholder {
    position: absolute;
    inset: 0;
    border-radius: 0;
}
.founder-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.9) 55%);
    mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.9) 55%);
}
.founder-cta-media .founder-placeholder {
    background: none;
}

/* Tablet and phone */
@media (max-width: 991.98px) {
    .founder-hero {
        grid-template-columns: 1fr;
    }
    .founder-hero-text {
        padding: 2rem 1.5rem 1.5rem;
    }
    .founder-hero-media {
        min-height: 360px;
        margin: 0 0.75rem 0.75rem;
        border-radius: 20px;
        overflow: hidden;
    }
    .founder-hero-img {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .founder-signature {
        top: 1.25rem;
        right: 1rem;
    }
    .founder-signature-script {
        font-size: 2.4rem;
    }
    .founder-panel,
    .founder-section {
        padding: 1.5rem 1.25rem;
    }
    .founder-background .col-lg-3 {
        min-height: 0;
    }
    .founder-background .founder-rounded-img,
    .founder-background .founder-placeholder {
        aspect-ratio: 4 / 3;
        height: auto;
    }
    .founder-strip {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .founder-strip-icon {
        width: 52px;
        height: 52px;
        font-size: 2rem;
    }
    .founder-strip-text {
        flex: 1 1 calc(100% - 70px);
    }
    .founder-strip .founder-btn {
        width: 100%;
        justify-content: center;
    }
    .founder-who-images {
        height: 200px;
    }
    .founder-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.75rem 1.5rem;
    }
    .founder-cta-text {
        max-width: 70%;
    }
    .founder-cta-media {
        width: 45%;
    }
}

@media (max-width: 575.98px) {
    .founder-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .founder-hero-title {
        font-size: 2.25rem;
    }
    .founder-hero-lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .founder-hero .founder-btn {
        font-size: 0.9375rem;
        padding: 0.7rem 1.25rem;
    }
    .founder-float-card {
        right: 0.75rem;
        bottom: 0.75rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
    .founder-who-images {
        height: 160px;
    }
    .founder-cta-text {
        max-width: 60%;
    }
    .founder-cta-media {
        width: 40%;
    }
    .founder-cta-img {
        -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.9) 70%);
        mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.9) 70%);
    }
    .founder-cta .founder-btn {
        padding: 0.7rem 1.5rem;
    }
}
