/* ============================================================
   NTM Profile — Hero (Figma-aligned)

   Dark editorial banner (#161616). Left column: portrait photo
   (B&W) layered over two decorative arcs; the photo bleeds to the
   section bottom and fades into the background. Right column:
   eyebrow, big serif name (italic-teal last word), role line,
   italic pull-quote with teal vertical bar, hairline divider, and
   a 2-column meta strip (gray labels, white serif values).

   Bg #161616, eyebrow & accent #2A8B94, muted label #757776.
   ============================================================ */

.ntm-profile-hero {
    --ntm-font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
    --ntm-hero-bg: #161616;
    --ntm-hero-muted: #757776;
    position: relative;
    background-color: var(--ntm-hero-bg);
    color: #ffffff;
    /* 0 bottom padding so the photo can touch the section bottom */
    padding: clamp(48px, 5vw, 80px) clamp(24px, 5vw, 92px) 0 clamp(24px, 6vw, 130px);
    overflow: hidden;
    isolation: isolate;
}

.ntm-profile-hero__container {
    position: relative;
    max-width: var(--ntm-container-max);
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: end;
}

@media (min-width: 992px) {
    .ntm-profile-hero__container {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }
}

/* ---------- Media column (arcs + photo + fade) ---------- */
.ntm-profile-hero__media {
    position: relative;
    align-self: end;
    height: clamp(420px, 56vw, 704px);
    overflow: visible;
}

/* Decorative arcs sit behind the photo */
.ntm-profile-hero__arc {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    display: block;
}

.ntm-profile-hero__arc--white {
    top: -8%;
    left: -12%;
    width: 70%;
    max-width: 580px;
    opacity: 0.9;
}

.ntm-profile-hero__arc--teal {
    bottom: 30%;
    right: -13%;
    width: 95%;
    max-width: 720px;
    opacity: 0.95;
}

/* Photo wrapper handles the bottom fade */
.ntm-profile-hero__photo-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ntm-profile-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%) contrast(1.05);
}

/* Bottom-up fade that blends the photo into the section background */
.ntm-profile-hero__photo-fade {
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(
        to top,
        var(--ntm-hero-bg) 0%,
        var(--ntm-hero-bg) 15%,
        rgba(22, 22, 22, 0.85) 35%,
        rgba(22, 22, 22, 0.45) 65%,
        rgba(22, 22, 22, 0) 100%
    );
    pointer-events: none;
}

/* ---------- Content column ---------- */
.ntm-profile-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2vw, 30px);
    padding-bottom: clamp(48px, 8vw, 120px);
    align-self: center;
}

.ntm-profile-hero__eyebrow {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 500;
    font-size: clamp(0.875rem, 1.05vw, 1.125rem);
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ntm-accent-teal);
}

.ntm-profile-hero__name {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.ntm-profile-hero__name-roman {
    font-style: normal;
}

.ntm-profile-hero__name-italic {
    font-style: italic;
    color: var(--ntm-accent-teal);
    margin-left: 0.18em;
}

.ntm-profile-hero__role {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(1rem, 1.3vw, 1.375rem);
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #ffffff;
}

/* Quote — italic Fraunces with teal vertical bar */
.ntm-profile-hero__quote {
    margin: 0;
    padding: 0 0 0 20px;
    border-left: 2px solid var(--ntm-accent-teal);
    max-width: 720px;
}

.ntm-profile-hero__quote p {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.3;
    color: #ffffff;
}

/* Meta strip */
.ntm-profile-hero__meta {
    margin: clamp(12px, 1.5vw, 20px) 0 0;
    padding-top: clamp(20px, 2.4vw, 32px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: clamp(40px, 6vw, 100px);
    row-gap: 20px;
}

.ntm-profile-hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.ntm-profile-hero__meta-label {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 500;
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ntm-hero-muted);
}

.ntm-profile-hero__meta-value {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
    line-height: 1;
    color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ntm-profile-hero {
        padding-bottom: 0;
    }

    .ntm-profile-hero__container {
        align-items: stretch;
    }

    .ntm-profile-hero__media {
        height: auto;
        aspect-ratio: 4 / 5;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .ntm-profile-hero__content {
        padding-bottom: 48px;
    }
}
