﻿/* =========================================
   DISCOVER PAGE
========================================= */

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #ffffff;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: 0.75s ease;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.section-number {
    margin: 0 0 18px;
    color: #d71920;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 4px;
}

/* HERO */

.discover-editorial-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 90px 6%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(rgba(215,25,32,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(215,25,32,0.035) 1px, transparent 1px), #ffffff;
    background-size: 82px 82px;
}

.hero-bg-word {
    position: absolute;
    right: -40px;
    bottom: -40px;
    margin: 0;
    color: rgba(215,25,32,0.045);
    font-size: clamp(120px, 22vw, 390px);
    line-height: 0.8;
    font-weight: 900;
    letter-spacing: -14px;
    pointer-events: none;
    will-change: transform;
}

.discover-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
}

.discover-kicker {
    margin: 0 0 22px;
    color: #d71920;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 5px;
}

.discover-hero-inner h1 {
    margin: 0;
    color: #050505;
    font-size: clamp(56px, 8vw, 128px);
    line-height: 0.95;
    letter-spacing: -5px;
    font-weight: 900;
}

.discover-hero-text {
    max-width: 760px;
    margin: 34px 0 0;
    color: #333333;
    font-size: 21px;
    line-height: 1.7;
    font-weight: 500;
}

/* PROFILE */

.profile-section,
.collab-story-section {
    padding: 110px 6%;
    background: #080808;
    color: #ffffff;
}

.profile-inner,
.collab-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: 80px;
    align-items: start;
}

.profile-left {
    position: sticky;
    top: 120px;
    align-self: start;
}

    .profile-left h2,
    .vm-heading h2,
    .values-heading h2,
    .team-heading h2,
    .network-heading h2,
    .collab-title h2 {
        margin: 0;
        font-size: clamp(42px, 5vw, 78px);
        line-height: 1;
        letter-spacing: -3px;
        font-weight: 900;
    }

.profile-right p,
.collab-content p {
    margin: 0 0 26px;
    color: rgba(255,255,255,0.82);
    font-size: 20px;
    line-height: 1.8;
    font-weight: 500;
}

.history-strip {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.history-item {
    padding: 32px 26px;
    border-right: 1px solid rgba(255,255,255,0.18);
}

    .history-item:last-child {
        border-right: none;
    }

    .history-item span {
        display: block;
        margin-bottom: 16px;
        color: #ff8b8f;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 2px;
    }

    .history-item h3 {
        margin: 0 0 12px;
        font-size: 24px;
        font-weight: 900;
    }

    .history-item p {
        margin: 0;
        color: rgba(255,255,255,0.72);
        font-size: 14px;
        line-height: 1.65;
    }

/* VISION */

.vision-mission-section,
.network-section {
    padding: 110px 6%;
    background: #fff6f6;
}

.vm-inner,
.values-editorial-inner,
.team-inner,
.network-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.vm-heading,
.values-heading,
.team-heading,
.network-heading {
    max-width: 900px;
    margin-bottom: 56px;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.vm-card {
    position: relative;
    min-height: 420px;
    padding: 48px;
    background: #ffffff;
    border: 1px solid rgba(215,25,32,0.12);
    overflow: hidden;
}

    .vm-card::before,
    .partner-mini-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 32px;
        width: 70px;
        height: 5px;
        background: #d71920;
    }

    .vm-card span {
        display: inline-block;
        margin: 34px 0 26px;
        color: #d71920;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 4px;
    }

    .vm-card h3 {
        margin: 0;
        color: #060606;
        font-size: clamp(32px, 3vw, 48px);
        line-height: 1.08;
        letter-spacing: -1.5px;
        font-weight: 900;
    }

    .vm-card p {
        margin: 28px 0 0;
        color: #333333;
        font-size: 16px;
        line-height: 1.8;
    }

/* VALUES */

.values-editorial-section {
    padding: 110px 6%;
    background: #ffffff;
}

.values-heading > p,
.team-heading > p,
.network-heading > p {
    margin: 24px 0 0;
    max-width: 760px;
    color: #444444;
    font-size: 18px;
    line-height: 1.7;
}

.values-list {
    border-top: 1px solid #dddddd;
}

.value-row {
    display: grid;
    grid-template-columns: 0.18fr 0.42fr 1fr;
    gap: 32px;
    align-items: start;
    padding: 44px 0;
    border-bottom: 1px solid #dddddd;
    transition: 0.25s ease;
}

    .value-row:hover {
        padding-left: 28px;
        background: linear-gradient(90deg, rgba(215,25,32,0.05), transparent);
    }

    .value-row span {
        color: #d71920;
        font-size: 14px;
        font-weight: 900;
        letter-spacing: 3px;
    }

    .value-row h3 {
        margin: 0;
        font-size: clamp(30px, 3vw, 48px);
        line-height: 1;
        font-weight: 900;
    }

    .value-row p {
        margin: 0;
        max-width: 720px;
        color: #333333;
        font-size: 17px;
        line-height: 1.8;
    }

/* TEAM */

.team-section {
    padding: 110px 6%;
    background: #080808;
    color: #ffffff;
}

.team-grid {
    display: grid;
    /* FIX: Changed repeat(5, 1fr) to auto-fit to enable dynamic scaling when zooming */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.team-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
    /* FIX: Added Flexbox structure so uneven content rows stretch evenly */
    display: flex;
    flex-direction: column;
}

    .team-card:hover {
        transform: translateY(-6px);
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.16);
    }

.team-image {
    width: 100%;
    height: 280px;
    background: #1a1a1a;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}

    .team-image img {
        width: 100%;
        height: 100%;
        display: block;
        /* FIX: Changed from 'contain' to 'cover' to prevent shrinking gaps when zooming out */
        object-fit: cover;
        /* FIX: Adjusted position to frame standard portrait shots correctly */
        object-position: center top;
        background: #1a1a1a;
        transition: transform 0.35s ease;
    }

.team-card:hover .team-image img {
    transform: scale(1.03);
}

.team-info {
    padding: 26px 24px 32px;
    /* FIX: Added flex-grow to push layout content boxes to uniform boundaries */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .team-info span {
        display: inline-block;
        margin-bottom: 16px;
        color: #ff8b8f;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 3px;
    }

    .team-info h3 {
        margin: 0 0 14px;
        font-size: 25px;
        line-height: 1.05;
        font-weight: 900;
    }

    .team-info p {
        margin: 0;
        color: rgba(255,255,255,0.72);
        font-size: 13px;
        line-height: 1.75;
    }

/* PARTNERS */

.network-section {
    padding: 110px 6%;
    background: #ffffff;
}

.partner-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.partner-mini-card {
    position: relative;
    padding: 24px;
    min-height: 150px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.28s ease;
    overflow: hidden;
}

    .partner-mini-card::before {
        left: 24px;
        width: 55px;
        height: 4px;
    }

    .partner-mini-card:hover {
        transform: translateY(-6px);
        border-color: rgba(215,25,32,0.25);
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    }

    .partner-mini-card img {
        width: auto;
        max-width: 130px;
        max-height: 54px;
        object-fit: contain;
        margin-bottom: 20px;
        filter: grayscale(100%);
        opacity: 0.8;
        transition: 0.28s ease;
    }

    .partner-mini-card:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.04);
    }

    .partner-mini-card span {
        text-align: center;
        color: #111111;
        font-size: 14px;
        line-height: 1.5;
        font-weight: 800;
    }

/* INTERNATIONAL */

.collab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

    .collab-tags span {
        padding: 13px 18px;
        border-radius: 999px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.16);
        color: #ffffff;
        font-size: 13px;
        font-weight: 800;
    }

/* RESPONSIVE */

@media (max-width: 1100px) {

    .profile-inner,
    .collab-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .profile-left {
        position: relative;
        top: auto;
    }

    .vm-grid,
    .history-strip,
    .partner-wall {
        grid-template-columns: 1fr 1fr;
    }

    .team-image {
        height: 280px;
    }
}

@media (max-width: 700px) {

    .discover-editorial-hero,
    .profile-section,
    .vision-mission-section,
    .values-editorial-section,
    .team-section,
    .network-section,
    .collab-story-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .discover-editorial-hero {
        min-height: auto;
        padding-top: 78px;
        padding-bottom: 90px;
    }

    .discover-hero-inner h1 {
        font-size: clamp(46px, 15vw, 70px);
        letter-spacing: -2.8px;
    }

    .discover-hero-text {
        font-size: 16px;
    }

    .hero-bg-word {
        right: -30px;
        bottom: 8px;
        font-size: 95px;
    }

    .vm-grid,
    .history-strip,
    .partner-wall {
        grid-template-columns: 1fr;
    }

    .value-row {
        grid-template-columns: 1fr;
    }

    .team-image {
        height: 320px;
    }

    .team-info h3 {
        font-size: 26px;
    }

    .partner-mini-card {
        min-height: 125px;
    }
}

/* =========================================
   FOOTER FIX FOR SERVICES PAGE
========================================= */

.site-footer {
    margin-top: 0 !important;
    background: #ffffff !important;
}

.footer-stats {
    width: 100% !important;
    padding: 26px 6% !important;
    background: #f4f4f4 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    border-top: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
    box-shadow: none !important;
}

    .footer-stats .stat-box {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: center !important;
        padding: 18px 20px !important;
        border-right: 1px solid #d8d8d8 !important;
        display: block !important;
    }

        .footer-stats .stat-box:last-child {
            border-right: none !important;
        }

        .footer-stats .stat-box h2 {
            color: #d71920 !important;
            font-size: 34px !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            margin: 0 0 4px !important;
        }

        .footer-stats .stat-box p {
            color: #000000 !important;
            font-size: 15px !important;
            font-weight: 800 !important;
            margin: 0 !important;
        }

.footer-main {
    background: #ffffff !important;
}

.footer-bottom {
    background: #d71920 !important;
}

@media (max-width: 700px) {
    .footer-stats {
        grid-template-columns: 1fr !important;
    }

        .footer-stats .stat-box {
            border-right: none !important;
            border-bottom: 1px solid #d8d8d8 !important;
        }

            .footer-stats .stat-box:last-child {
                border-bottom: none !important;
            }
}
