/* =========================================
   Team Detail Page — Unified Design
   ========================================= */

/* ── Hero ──────────────────────────────── */
.td-hero {
    padding: 5.5rem 2rem 4rem;
    text-align: center;
    background:
        radial-gradient(circle at 92% -8%, rgba(177, 42, 52, 0.18), transparent 44%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.08) 0%, rgba(17, 17, 17, 0.03) 45%, transparent 100%);
}

.td-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b12a34;
    margin-bottom: 1rem;
}

.td-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 400;
    color: #111111;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.td-code {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #888;
    margin-top: 0.25rem;
}

.td-hero-officers {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

/* ── Body: About + Robot Photo ──────────── */
.td-body {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
}

.td-about h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    color: #111111;
    margin-bottom: 1rem;
    font-weight: 400;
}

.td-about p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.td-robot-wrap img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    display: block;
}

/* ── Members ────────────────────────────── */
.td-members {
    max-width: 1100px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 3rem;
}

.td-members h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #111111;
    margin-bottom: 1.5rem;
}

.td-members-grid {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    max-width: 480px;
    background: #fff;
}

.td-member {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    color: #444;
}

/* ── Dark mode ─────────────────────────── */
body.dark-mode .td-hero h1,
body.dark-mode .td-about h2,
body.dark-mode .td-members h2 {
    color: #eee;
}

body.dark-mode .td-hero-officers {
    color: #999;
}

body.dark-mode .td-about p {
    color: #bbb;
}

body.dark-mode .td-members {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .td-members-grid {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .td-member {
    color: #ccc;
}

/* ── Responsive ────────────────────────── */
@media (max-width: 860px) {
    .td-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .td-robot-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

}

@media (max-width: 480px) {
    .td-hero {
        padding: 4rem 1.25rem 2.5rem;
    }
}
