/* Contact page. Navbar and footer live in css/base.css. */

/* Full-height column so the hero fills the space between navbar and footer. */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.hero {
    flex: 1 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 600px;
    padding: 60px clamp(16px, 14vw, 200px);
    background-color: #A6D8DD;
}

.hero .talk img {
    display: block;
    width: clamp(80px, 14vw, 200px);
}

.hero .text {
    min-width: 0;
}

.hero .text h1,
.hero .text p {
    font-family: caveat;
    color: #0C1B1D;
}

.hero .text h1 {
    margin-bottom: 20px;
    font-size: clamp(36px, 4vw, 56px);
}

.hero .text p {
    margin: 0;
    padding-top: 20px;
    font-size: clamp(24px, 4vw, 56px);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

@media screen and (max-width: 767.98px) {
    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 20px;
        min-height: 0;
        padding: 40px 16px;
    }

    .hero .talk {
        align-self: center;
    }

    .hero .talk img {
        width: clamp(160px, 50vw, 260px);
    }

    .hero .text h1 {
        margin-bottom: 10px;
        font-size: clamp(44px, 13vw, 60px);
    }

    .hero .text p {
        padding-top: 18px;
        font-size: clamp(28px, 8.5vw, 38px);
        overflow-wrap: break-word; /* only break the email if it truly can't fit */
    }

    .hero .text .label {
        display: block;
        font-size: 0.7em;
        opacity: 0.75;
    }
}
