/* ===========================
   Our People Page Styles — The ADR Initiative
   =========================== */

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */

.people-hero {
    background-color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dot grid — top-left */
.people-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -70px;
    width: 380px;
    height: 380px;
    background-image: radial-gradient(circle, rgba(87, 7, 102, 0.42) 3.5px, transparent 3.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 62% 62% at 32% 34%, black 26%, rgba(0,0,0,0.32) 52%, transparent 74%);
    mask-image:         radial-gradient(ellipse 62% 62% at 32% 34%, black 26%, rgba(0,0,0,0.32) 52%, transparent 74%);
    pointer-events: none;
    z-index: 0;
}

/* Spinning dashed circle — bottom-right */
.people-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 2px dashed rgba(87, 7, 102, 0.16);
    pointer-events: none;
    z-index: 0;
    animation: deco-spin-slow 24s linear infinite;
}

.people-hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.2;
    margin: 0 0 20px;
}

.people-hero-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-black);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   SECTION 2 — FOUNDERS
   Inherits all .founder-* styles from home.css
   ============================================================ */

.people-founders {
    background-color: var(--color-bg-light);
    padding: 80px 0;
}

.people-founders .section-title {
    text-align: center;
    margin-bottom: 48px;
}

/* ============================================================
   SECTION 3 — REVIEW BOARD
   Reuses .masters-grid + .master-card from home.css
   ============================================================ */

.people-review {
    background-color: var(--color-white);
    padding: 80px 0;
}

.people-review-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.people-review-header .section-label {
    margin-bottom: 14px;
}

.people-review-header .section-title {
    margin-bottom: 16px;
}

.people-review-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-black);
    line-height: 1.7;
    margin: 0;
}

/* Photo placeholder for missing images */
.master-photo-placeholder {
    background: var(--color-bg-light);
}

/* ============================================================
   SECTION 4 — MEET THE MASTERS (CPT)
   Reuses .masters-grid + .master-card from home.css
   ============================================================ */

.people-masters {
    background-color: var(--color-bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Concentric rings — top-right */
.people-masters::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        transparent 22%, rgba(87, 7, 102, 0.15) 22%, rgba(87, 7, 102, 0.15) 27%, transparent 27%,
        transparent 38%, rgba(87, 7, 102, 0.10) 38%, rgba(87, 7, 102, 0.10) 43%, transparent 43%,
        transparent 54%, rgba(87, 7, 102, 0.06) 54%, rgba(87, 7, 102, 0.06) 59%, transparent 59%
    );
    pointer-events: none;
    z-index: 0;
}

/* Soft glow blob — bottom-left */
.people-masters::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(87, 7, 102, 0.07) 0%, rgba(87, 7, 102, 0.03) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.people-masters-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.people-masters-header .section-title {
    margin-bottom: 20px;
}

.people-masters-text {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-black);
    line-height: 1.8;
    margin: 0;
}

/* ── People page master cards (separate from home.css master cards) ── */

.ppl-masters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ppl-master-card {
    background: var(--color-white);
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ppl-master-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.ppl-master-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg-light);
    flex-shrink: 0;
}

.ppl-master-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.ppl-master-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.ppl-master-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 8px;
    line-height: 1.3;
}

.ppl-master-title {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-black);
    margin: 0 0 16px;
    line-height: 1.5;
    flex: 1;
}

.ppl-master-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-primary);
    text-decoration: none;
    padding: 9px 24px;
    border-radius: 30px;
    transition: background 0.2s ease;
    margin-top: auto;
}

.ppl-master-btn:hover {
    background: #3d1160;
}

/* Discover button — only on people page master cards */
.master-discover {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border: 1.5px solid var(--color-primary);
    padding: 6px 18px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}

.master-discover:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    .people-hero-title {
        font-size: 40px;
    }

    .ppl-masters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */

@media (max-width: 768px) {

    .people-hero,
    .people-founders,
    .people-review,
    .people-masters {
        padding: 60px 0;
    }

    .people-hero-title {
        font-size: 32px;
    }

    .people-hero-subtitle,
    .people-review-subtitle {
        font-size: 16px;
    }

    .ppl-masters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Founders — override fixed width from home.css */
    .people-founders .founder-card {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */

@media (max-width: 480px) {

    .people-hero,
    .people-founders,
    .people-review,
    .people-masters {
        padding: 48px 0;
    }

    .people-hero-title {
        font-size: 28px;
    }

    .people-hero-subtitle,
    .people-review-subtitle {
        font-size: 15px;
    }

    .ppl-masters-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .people-hero::before,   .people-hero::after,
    .people-masters::before, .people-masters::after {
        display: none;
    }
}
