/* ============================================================
   NTM About — What We Do

   Light section on the cream page background. Header has the
   eyebrow + display title (with italic-teal accent) on the left
   and a right-aligned descriptive paragraph; a hairline rule sits
   between the header and the card row.

   Card row: 4-up dark cards, each with a top hairline, a serif
   title, an italic supporting lede, and a body paragraph.
   ============================================================ */

.ntm-about-what-we-do {
    background-color: var(--ntm-bg-page, #f6f3ef);
    color: var(--ntm-ink, #14323a);
    padding: clamp(64px, 10vw, 144px) clamp(24px, 5vw, 64px);
}

.ntm-about-what-we-do__container {
    max-width: var(--ntm-container-max, 1392px);
    margin: 0 auto;
}

/* ---------- Header ---------- */
.ntm-about-what-we-do__header {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: clamp(40px, 6vw, 120px);
    row-gap: clamp(20px, 2.5vw, 32px);
    padding-bottom: clamp(28px, 3.5vw, 44px);
    border-bottom: 1px solid var(--ntm-accent-teal);
    align-items: end;
}

@media (min-width: 992px) {
    .ntm-about-what-we-do__header {
        grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    }
}

.ntm-about-what-we-do__header-left {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.4vw, 20px);
}

.ntm-about-what-we-do__eyebrow {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 500;
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ntm-accent-teal);
}

.ntm-about-what-we-do__title {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    color: var(--ntm-ink, #14323a);
}

.ntm-about-what-we-do__title-roman {
    font-style: normal;
}

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

.ntm-about-what-we-do__title-italic--break {
    display: block;
    margin-left: 0;
}

.ntm-about-what-we-do__header-right {
    display: flex;
    align-items: flex-end;
}

.ntm-about-what-we-do__description {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(0.9375rem, 1vw, 1.0625rem);
    line-height: 1.65;
    color: rgba(20, 50, 58, 0.78);
    max-width: 620px;
    text-wrap: pretty;
}

/* ---------- Card grid ---------- */
.ntm-about-what-we-do__grid {
    list-style: none;
    margin: clamp(40px, 5vw, 72px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: clamp(16px, 1.5vw, 24px);
}

@media (min-width: 640px) {
    .ntm-about-what-we-do__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .ntm-about-what-we-do__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ntm-about-what-we-do__card {
    position: relative;
    background-color: #1d1d1d;
    color: #ffffff;
    padding: clamp(24px, 2vw, 32px) clamp(20px, 1.8vw, 28px) clamp(28px, 2.4vw, 36px);
    min-height: clamp(240px, 22vw, 320px);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.2vw, 18px);
    overflow: hidden;
}

/* Per-card teal glow — varied positions to break uniformity. */
.ntm-about-what-we-do__card:nth-child(1) {
    background-image: radial-gradient(ellipse 70% 60% at 0% 45%, rgba(42, 139, 148, 0.60) 0%, rgba(42, 139, 148, 0.20) 45%, rgba(42, 139, 148, 0.04) 70%, rgba(42, 139, 148, 0) 85%);
}

.ntm-about-what-we-do__card:nth-child(2) {
    background-image: radial-gradient(ellipse 70% 60% at 15% 100%, rgba(42, 139, 148, 0.55) 0%, rgba(42, 139, 148, 0.18) 50%, rgba(42, 139, 148, 0.04) 72%, rgba(42, 139, 148, 0) 88%);
}

.ntm-about-what-we-do__card:nth-child(3) {
    background-image: radial-gradient(ellipse 80% 60% at 70% 100%, rgba(42, 139, 148, 0.55) 0%, rgba(42, 139, 148, 0.18) 50%, rgba(42, 139, 148, 0.04) 72%, rgba(42, 139, 148, 0) 88%);
}

.ntm-about-what-we-do__card:nth-child(4) {
    background-image: radial-gradient(ellipse 65% 65% at 0% 35%, rgba(42, 139, 148, 0.60) 0%, rgba(42, 139, 148, 0.20) 45%, rgba(42, 139, 148, 0.04) 70%, rgba(42, 139, 148, 0) 85%);
}

.ntm-about-what-we-do__card-rule {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--ntm-accent-teal);
    margin-bottom: clamp(8px, 0.8vw, 12px);
}

.ntm-about-what-we-do__card-title {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(1.25rem, 1.6vw, 1.625rem);
    line-height: 1.2;
    letter-spacing: 0.005em;
    color: #ffffff;
}

.ntm-about-what-we-do__card-lede {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 500;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.ntm-about-what-we-do__card-text {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(0.85rem, 0.9vw, 0.9375rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}
