/* ============================================================
   Pairahan Design Consultants — team.css (Our Team page)
   ============================================================ */

/* ===== Page hero =====
   .pg-hero / .pg-hero-in / h1 / .breadcrumb are already defined
   globally in style.css (same rules about.html, contact.html,
   projects.html and services.html use) — intentionally not
   redeclared here so this page matches the rest of the site and
   stays in sync if the global hero style changes. */

/* ===== Intro / stats ===== */
.team-intro {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}

.team-intro-txt p+p {
    margin-top: 12px;
}

.team-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ti-stat {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 20px;
    background: var(--lgray);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ti-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(26, 26, 26, .18);
}

.ti-num-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.ti-num {
    font-family: 'Raleway', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.ti-suf {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
}

.ti-stat p {
    margin-top: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 11.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray);
}

@media (max-width:860px) {
    .team-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width:480px) {
    .team-intro-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Team cards (shared) ===== */
.tcard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.tcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(26, 26, 26, .18);
}

.tcard-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/4.6;
}

.tcard-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    transition: transform .5s ease;
}

.tcard:hover .tcard-img {
    transform: scale(1.06);
}

.tcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 25, 20, .82) 0%, rgba(15, 25, 20, 0) 55%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity .3s ease;
}

.tcard:hover .tcard-overlay {
    opacity: 1;
}

.tcard-social {
    display: flex;
    gap: 8px;
}

.ts-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.ts-link:hover {
    background: var(--green3);
    color: var(--dark);
    transform: translateY(-2px);
}

.tcard-body {
    padding: 22px 22px 24px;
}

.tcard-tag {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
}

.tcard-body h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.tcard-body p {
    font-size: 14px;
    color: var(--gray);
}

.tcard-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tcard-skills li {
    font-family: 'Raleway', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--lgray);
    color: var(--dark);
    border: 1px solid var(--border);
}

/* ===== Director spotlight (single director, photo + bio side-by-side) ===== */
.director-spot {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.director-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/4.6;
}

.director-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
}

.director-social {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.director-social .ts-link {
    background: rgba(15, 25, 20, .55);
    border-color: rgba(255, 255, 255, .5);
}

.director-txt .tcard-tag {
    font-size: 12px;
}

.director-txt h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: var(--dark);
    margin-bottom: 16px;
}

.director-txt p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 12px;
}

.director-txt .tcard-skills {
    margin-top: 20px;
}

.director-txt .tcard-skills li {
    font-size: 11.5px;
    padding: 7px 14px;
}

@media (max-width:860px) {
    .director-spot {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 26px;
        text-align: center;
    }

    .director-img-wrap {
        max-width: 320px;
        margin: 0 auto;
    }

    .director-social {
        position: static;
        justify-content: center;
        margin-top: 14px;
    }

    .director-txt .tcard-skills {
        justify-content: center;
    }
}

/* ===== Core team grid ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tcard-sm .tcard-body {
    padding: 18px 18px 20px;
}

.tcard-sm .tcard-body h3 {
    font-size: 16.5px;
}

.tcard-sm .tcard-body p {
    font-size: 13px;
}

.tcard-sm .tcard-img-wrap {
    aspect-ratio: 4/4.6;
}

@media (max-width:960px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:560px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Disciplines band ===== */
.team-disciplines-band {
    background: var(--dark);
    padding: 64px 0;
}

.team-disciplines-band h2 {
    color: #fff;
    text-align: center;
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 40px;
}

.team-disciplines-band h2 em {
    color: var(--green3);
}

.disc-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 14px;
}

.disc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.disc-item:hover {
    background: rgba(183, 227, 76, .08);
    border-color: var(--green3);
    transform: translateY(-4px);
}

.disc-ic {
    font-size: 24px;
}

.disc-item span:last-child {
    font-family: 'Raleway', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
    text-align: center;
}

@media (max-width:960px) {
    .disc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:480px) {
    .disc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Join us ===== */
.join-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.abt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.abt-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: var(--gray);
}

.abt-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--lgray);
    border: 1.5px solid var(--green);
}

.abt-list li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--green);
}

.join-card {
    background: var(--lgray);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
}

.jc-icon {
    font-size: 30px;
    margin-bottom: 14px;
}

.join-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.jc-roles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jc-roles li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(26, 26, 26, .18);
}

.jc-roles li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jc-badge {
    font-family: 'Raleway', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    flex-shrink: 0;
}

.jc-badge.jc-intern {
    background: var(--dark);
}

@media (max-width:860px) {
    .join-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ===== CTA band ===== */
.cta-band {
    background: linear-gradient(120deg, #3a7d2c, #3a7d2c);
    padding: 56px 0;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 30px);
    margin-bottom: 8px;
}

.cta-band p {
    color: rgba(255, 255, 255, .7);
}

@media (max-width:640px) {
    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}