/* ============================================
   SECTION: Meet the Team — Hero ("hero bg menu" type)
   Full-height cream hero. The team photo is a right-anchored
   background that bleeds up behind the navbar; the navbar is
   made transparent on this page and fades to solid white as
   soon as the page starts scrolling (body.nav-solid, set by JS).
   ============================================ */

/* Blend the menu into the hero on this page only; it fades to
   solid white the moment scrolling begins (body.nav-solid). */
.page-mtt .navbar {
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.page-mtt.nav-solid .navbar {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.mtt-hero {
    position: relative;
    overflow: clip;
    margin-top: -76px;            /* pull the hero up behind the sticky navbar */
    padding-top: 76px;            /* keep the copy clear of the navbar */
    min-height: 820px;
    max-height: 820px;
    background: #fef9ee           /* cream */
        url("../../../images/meet-the-team/life-at-anna__hero.0e070d07ca82.png") no-repeat right bottom / auto 100%;
}

.mtt-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--section-side-padding);
    min-height: calc(820px - 76px);
    display: flex;
    align-items: center;
}

/* ----- Copy (left) ----- */
.mtt-hero__content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 48px 0;
}

.mtt-hero__heading {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-normal);
    line-height: 58px;
    letter-spacing: -2px;
    color: var(--color-text-heading);
    margin: 0;
}

.mtt-hero__heading .accent-script {
    font-size: var(--text-5xl);
    line-height: 58px;
    letter-spacing: -0.03em;
}

.mtt-hero__lede {
    max-width: 520px;
    font-size: var(--text-md);
    font-weight: var(--font-weight-medium);
    line-height: 28px;
    color: var(--color-text-heading);
    margin: 0;
}

.mtt-hero__actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

/* ----- Responsive: photo drops below the copy ----- */
@media (max-width: 900px) {
    .mtt-hero {
        min-height: 0;
        max-height: none;
        background-position: center bottom;
        background-size: 100% auto;
        padding-bottom: 90vw;
    }
    .mtt-hero__inner {
        min-height: 0;
        display: block;
    }
    .mtt-hero__content {
        max-width: none;
        padding: 24px 0;
    }
}

@media (max-width: 768px) {
    .mtt-hero__heading,
    .mtt-hero__heading .accent-script {
        font-size: var(--text-3xl);
        line-height: 1.15;
    }
}

/* ----- Phones -----
   Centred copy. The photo keeps its full-width size and position. */
@media (max-width: 600px) {
    .mtt-hero__content {
        align-items: center;
        text-align: center;
    }
}
