/* =============================================================================
 *  MEET OUR PROMOTERS  —  page-promoters.php
 *  Append to: assets/css/main.css   (additive only — nothing existing touched)
 *  Scope:     .promoters
 *
 *  Design basis: Figma frame 1920×3558 (node 52:2394).
 *  Horizontal layout reproduced 1:1 with an fr-grid that sums to 1920 and
 *  scales proportionally; fonts / vertical rhythm use clamp(min, vw, max) so
 *  the page is pixel-exact at 1920px and degrades smoothly below it.
 *  (1vw @1920 = 19.2px, so Xpx → (X/19.2)vw for the middle term.)
 *
 *  NOTE: heading/name/role font-sizes are Figma-derived (MCP rate limit blocked
 *  exact token read) and the <1200px layout is interpreted (no mobile node yet).
 * ========================================================================== */

.promoters {
    --prom-gold: #d2ab67;
    --prom-ink: #1a1a1a;
    --prom-dark: #000;
    --prom-serif: 'IvyBodoni', Georgia, serif;
    /* swap to theme var if named differently */
    --prom-sans: 'Avenir', Arial, sans-serif;
    --prom-stage: 1920px;
    /* design frame width */
}

/* -----------------------------------------------------------------------------
 * 1. HERO  — full-bleed dark, centred gold italic heading + intro paragraphs
 * -------------------------------------------------------------------------- */
.promoters-hero {
    background: var(--prom-dark);
    padding-block: clamp(72px, 7.29vw, 140px) clamp(74px, 7.34vw, 141px);
    padding-inline: 24px;
}

.promoters-hero__inner {
    width: min(640px, 100%);
    margin-inline: auto;
    text-align: center;
}

.promoters-hero__title {
    margin: 0;
    font-family: var(--prom-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--prom-gold);
    font-size: clamp(32px, 2.4vw, 46px);
    line-height: 1.28;
}

.promoters-hero__intro {
    margin-top: clamp(18px, 1.25vw, 24px);
    color: #fff;
    font-family: var(--prom-sans);
    font-weight: 400;
    font-size: clamp(16px, 0.9375vw, 18px);
    line-height: 1.5;
}

.promoters-hero__intro p {
    margin: 0 0 27px;
}

.promoters-hero__intro p:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
 * 2. PEOPLE — white section, continuous gold centre thread, promoter rows
 * -------------------------------------------------------------------------- */
.promoters-people {
    position: relative;
    background: #fff;
    padding-block: clamp(120px, 13.39vw, 257px) clamp(110px, 11.51vw, 221px);
}

/* Continuous 1px gold line: pokes up into the dark hero, runs down the page
 * centre BEHIND the portraits, and ends at the footer edge. Purely decorative. */
.promoters-rail {
    position: absolute;
    left: 50%;
    top: clamp(-61px, -3.18vw, -34px);
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
    background: var(--prom-gold);
    z-index: 1;
    pointer-events: none;
}

.promoters-people__list {
    position: relative;
    z-index: 2;
    /* portraits + text sit above the rail */
    width: min(var(--prom-stage), 100%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(80px, 7.34vw, 141px);
    /* row-to-row = 141px @1920 */
}

/* ---- a single promoter row : [margin|id|portrait|gap|bio|margin] ---------- */
.promoters-row {
    display: grid;
    grid-template-columns: 204fr 468fr 576fr 100fr 449fr 123fr;
    /* = 1920 */
    align-items: start;
    margin: 0;
}

/* Left column — role / name / years (top-aligned to the portrait) */
.promoters-row__id {
    grid-column: 2;
}

.promoters-row__role {
    margin: 0;
    font-family: var(--prom-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--prom-ink);
    font-size: clamp(24px, 1.667vw, 32px);
    line-height: 1.2;
}

.promoters-row__name {
    margin: clamp(14px, 1.04vw, 20px) 0 0;
    /* 20px below role @1920 */
    font-family: var(--prom-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--prom-ink);
    font-size: clamp(32px, 2.4vw, 46px);
    line-height: 1.28;
}

.promoters-row__years {
    margin: clamp(20px, 1.62vw, 31px) 0 0;
    /* 31px below name @1920 */
    font-family: var(--prom-sans);
    font-weight: 400;
    color: var(--prom-ink);
    font-size: clamp(16px, 0.9375vw, 18px);
    line-height: 1.33;
}

/* Centre column — portrait (576×683, never rounded) */
.promoters-row__figure {
    grid-column: 3;
    position: relative;
    z-index: 2;
    margin: 0;
    aspect-ratio: 576 / 683;
}

.promoters-row__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* NO border-radius on images — ever */
}

/* Right column — bio (bottom-aligned to the portrait) */
.promoters-row__bio {
    grid-column: 5;
    align-self: end;
    color: var(--prom-ink);
    font-family: var(--prom-sans);
    font-weight: 400;
    font-size: clamp(16px, 0.9375vw, 18px);
    line-height: 1.5;
}

.promoters-row__bio p {
    margin: 0 0 24px;
}

.promoters-row__bio p:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
 * 3. RESPONSIVE  (<1200px) — stack centred; gold thread stays behind portraits
 *    (interpreted — no mobile Figma node yet; happy to fine-tune to spec)
 * -------------------------------------------------------------------------- */
@media (max-width:1200px) {

    .promoters-people__list {
        width: min(640px, 100%);
        padding-inline: 24px;
        gap: 64px;
    }

    .promoters-row {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 28px;
    }

    .promoters-row__id,
    .promoters-row__figure,
    .promoters-row__bio {
        grid-column: 1;
        align-self: auto;
    }

    .promoters-row__id {
        order: 1;
    }

    .promoters-row__figure {
        order: 2;
        width: min(420px, 100%);
    }

    .promoters-row__bio {
        order: 3;
        text-align: left;
        width: min(480px, 100%);
    }

    /* white blocks mask the centre rail so it only shows in the gaps + behind
	 * the portrait — keeps the “threaded line” read clean on a single column */
    .promoters-row__id,
    .promoters-row__bio {
        position: relative;
        z-index: 2;
        background: #fff;
    }

    .promoters-row__name {
        font-size: 34px;
    }

    .promoters-row__role {
        font-size: 26px;
    }
}