/* ============================================================
   NTM Homepage — Q&A section (Figma-aligned)

   Beige section with a centered header (eyebrow + serif title
   left, subtitle + description right) and a giant low-opacity
   "Q&A" watermark behind. Body: dark featured card on the left
   (portrait photo overlapping right), 3 white cards on the right
   each with a rectangular photo overflowing above the card.

   All colors / fonts / sizes via --ntm-* tokens (theme.css) where
   sensible; fixed Figma values used for typographic match.
   ============================================================ */

.ntm-qa {
    --ntm-font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
    position: relative;
    padding: clamp(64px, 9vw, 128px) 0;
    background-color: #F5EFE0;
    color: #121212;
    font-family: var(--ntm-font-sans);
    overflow: hidden;
}

.ntm-qa__container {
    position: relative;
    max-width: var(--ntm-container-max);
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Decorative Q&A watermark ---------- */
.ntm-qa__watermark {
    position: absolute;
    top: clamp(-180px, -6vw, -100px);
    right: clamp(0px, 5vw, 90px);
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(7rem, 14vw, 13.4rem);
    line-height: 1.23;
    color: rgba(0, 0, 0, 0.06);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
    letter-spacing: -0.04em;
}

/* ---------- Header ---------- */
.ntm-qa__header {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-bottom: 32px;
    margin-bottom: clamp(40px, 5vw, 64px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    .ntm-qa__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 80px;
    }
}

.ntm-qa__header-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ntm-qa__eyebrow {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 500;
    font-size: clamp(0.875rem, 1.1vw, 1.125rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--ntm-accent-teal);
}

.ntm-qa__title {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4.125rem);
    line-height: 1.23;
    color: #121212;
}

.ntm-qa__title-roman {
    font-style: normal;
}

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

.ntm-qa__header-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 522px;
}

.ntm-qa__subtitle {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.22;
    letter-spacing: -0.5px;
    color: #121212;
}

.ntm-qa__description {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.25;
    letter-spacing: 0.1em;
    color: #121212;
}

/* ---------- Body grid ---------- */
.ntm-qa__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .ntm-qa__grid {
        grid-template-columns: minmax(0, 720fr) minmax(0, 576fr);
        gap: clamp(40px, 6vw, 96px);
    }
}

/* ============================================================
   Featured (left): dark card with portrait photo overlap
   ============================================================ */
.ntm-qa__featured {
    position: relative;
    background-color: #0e0e0e;
    color: #FFFFFF;
    min-height: clamp(420px, 50vw, 590px);
    isolation: isolate;
    overflow: hidden;
}

.ntm-qa__featured-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    text-indent: -9999px;
    overflow: hidden;
}

.ntm-qa__featured-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: clamp(48px, 9vw, 100px) clamp(24px, 3vw, 30px) clamp(32px, 5vw, 64px);
    max-width: 60%;
}

.ntm-qa__featured-title {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 3.4vw, 2.875rem);
    line-height: 1;
    color: #FFFFFF;
    max-width: 330px;
}

.ntm-qa__featured-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    gap: 4px;
    font-family: var(--ntm-font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: transparent;
    border: 0.5px solid #FFFFFF;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ntm-qa__featured:hover .ntm-qa__featured-cta,
.ntm-qa__featured:focus-within .ntm-qa__featured-cta {
    background-color: #FFFFFF;
    color: #0e0e0e;
}

.ntm-qa__featured-byline {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ntm-qa__featured-name {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    text-transform: uppercase;
}

.ntm-qa__featured-role {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}

/* Portrait photo positioned on the right of the dark card */
.ntm-qa__featured-media {
    position: absolute;
    top: clamp(40px, 6vw, 70px);
    right: 0;
    width: 60%;
    height: calc(100% - clamp(40px, 6vw, 70px));
    overflow: hidden;
    z-index: 1;
}

.ntm-qa__featured-halo {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 65% 55% at 35% 40%,
        rgba(53, 172, 180, 0.45) 0%,
        rgba(14, 14, 14, 0) 65%
    );
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.ntm-qa__featured-img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* ============================================================
   Right column: 3 white horizontal cards
   ============================================================ */
.ntm-qa__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 36px);
    min-height: 100%;
}

.ntm-qa__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 20px;
    background-color: #FFFFFF;
    border-left: 3px solid var(--ntm-accent-teal);
    text-decoration: none;
    color: inherit;
    min-height: 149px;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ntm-qa__card:hover,
.ntm-qa__card:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Rectangular photo, bottom-aligned, sticks up above card */
.ntm-qa__card-photo {
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 146px;
    height: 190px;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 2;
}

.ntm-qa__card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ntm-qa__card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 146px;
    flex: 1;
    min-width: 0;
}

.ntm-qa__card-byline {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ntm-qa__card-name,
.ntm-qa__card-role {
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
    line-height: 1.28;
    letter-spacing: 0.05em;
    color: #121212;
}

.ntm-qa__card-sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.ntm-qa__card-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.ntm-qa__card-title {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    line-height: 1;
    color: #121212;
    flex: 1;
    min-width: 0;
}

.ntm-qa__card-arrow {
    color: var(--ntm-accent-teal);
    display: inline-flex;
    align-self: flex-end;
    flex-shrink: 0;
}

/* ---------- Responsive (under 992px) ---------- */
@media (max-width: 991px) {
    .ntm-qa__featured-content {
        max-width: 100%;
        padding: 32px 24px;
    }
    .ntm-qa__featured-media {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .ntm-qa__featured {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 575px) {
    .ntm-qa__card {
        gap: 16px;
        padding: 24px 18px;
        min-height: 0;
    }
    .ntm-qa__card-photo {
        width: 110px;
        height: 150px;
        left: 8px;
    }
    .ntm-qa__card-body {
        padding-left: 116px;
    }
}
