:root {
    --navbar-height: 130px;
    --page-padding:  clamp(1.5rem, 6vw, 12rem);
}

/* ===== TEAM SECTIONS ===== */
#main-content .ts1:first-of-type {
    margin-top: var(--navbar-height);
    min-height: calc(100vh - var(--navbar-height));
}

section {
    padding-block: clamp(4rem, 10vh, 13.5rem);
    position: relative;
}

.ts3-left, .ts3-right,
.ts4-left, .ts4-right,
.ts5-left, .ts5-right {
    min-height: auto;
    height: auto;
}

/* ===== SHARED: SECTION INNER CONTAINERS (ts3–ts5) ===== */
.ts3-inner,
.ts4-inner,
.ts5-inner {
    max-width: 2560px;
    margin-inline: auto;
    display: flex;
    width: 100%;
    gap: clamp(2rem, 4vw, 7rem);
}

/* ===== SHARED: SECTION HEADINGS (ts2–ts5) ===== */
.ts2-inner h2,
.ts3-left h2,
.ts4-left h2,
.ts5-left h2 {
    font-size: clamp(2rem, 3.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: clamp(1.2rem, 2vw, 2.5rem);
    font-style: italic;
    color: var(--text-primary);
}

/* ===== SHARED: TWO-COLUMN FLEX SIDES (ts3–ts5) ===== */
.ts3-left, .ts3-right,
.ts4-left, .ts4-right,
.ts5-left, .ts5-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.ts3-left,
.ts4-left,
.ts5-left {
    justify-content: center;
}

.ts3-left > *,
.ts4-left > *,
.ts5-left > * {
    max-width: 800px;
    width: 100%;
}

/* ===== SHARED: SECTION BODY TEXT (ts3–ts5) ===== */
.ts3-text p,
.ts4-text p,
.ts5-text p {
    font-size: clamp(1rem, 1.4vw, 2rem);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    margin-inline: auto;
}

/* ===== SHARED: RIGHT COLUMN ALIGNMENT (ts3–ts5) ===== */
.ts3-right,
.ts4-right,
.ts5-right {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* ===== SHARED: MEDIA FRAMES (ts3–ts5) ===== */
.ts3-media,
.ts4-media,
.ts5-media {
    width: 100%;
    max-width: clamp(240px, 32vw, 750px);
    background: var(--bg-elevated);
    border-radius: clamp(40px, 5vw, 80px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(212, 169, 41, 0.05) inset;
    position: relative;
}

.ts3-media-img,
.ts4-media-img,
.ts5-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

/* ===== SECTION 1 ===== */
.ts1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--page-padding);
    background-color: var(--bg-primary);
}

.ts1-inner {
    text-align: center;
    width: 100%;
}

.ts1-media {
    width: 100%;
    aspect-ratio: 16 / 5.2;
    background: var(--bg-elevated);
    border-radius: clamp(30px, 4vw, 80px);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(212, 169, 41, 0.05) inset;
}

.ts1-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.ts1-button {
    margin-top: clamp(1rem, 2vh, 2rem);
}

/* ===== SECTION 2 ===== */
.ts2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: var(--page-padding);
    background-color: var(--bg-surface);
    background-image: radial-gradient(ellipse at center, rgba(212, 169, 41, 0.03) 0%, transparent 65%);
}

.ts2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--page-padding);
    right: var(--page-padding);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
    pointer-events: none;
}

.ts2-inner {
    text-align: center;
}

.ts2-inner p {
    font-size: clamp(1rem, 1.4vw, 2rem);
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ===== SECTIONS 3 / 4 / 5 ===== */
.ts3,
.ts5 {
    width: 100%;
    display: block;
    padding-inline: var(--page-padding);
    background-color: var(--bg-primary);
}

.ts4 {
    width: 100%;
    display: block;
    padding-inline: var(--page-padding);
    background-color: var(--bg-surface);
}

.ts3::after,
.ts5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--page-padding);
    right: var(--page-padding);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
    pointer-events: none;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large monitor — ≤1920px */
@media (max-width: 1920px) {
    :root {
        --navbar-height: 110px;
    }
}

/* Standard 1440p laptop — ≤1600px */
@media (max-width: 1600px) {
}

/* HD laptop / large tablet — ≤1200px */
@media (max-width: 1200px) {
    :root {
        --page-padding: clamp(1.5rem, 5vw, 5rem);
        --navbar-height: 90px;
    }

    section {
        padding-block: clamp(3.5rem, 7vh, 8rem);
    }

    .ts3-inner,
    .ts4-inner,
    .ts5-inner {
        flex-direction: column;
        gap: 3rem;
    }

    .ts3-left,
    .ts4-left,
    .ts5-left {
        align-items: center;
        text-align: center;
    }

    .ts3-left > *,
    .ts4-left > *,
    .ts5-left > * {
        max-width: 100%;
    }

    .ts3-right,
    .ts4-right,
    .ts5-right {
        width: 100%;
        align-items: center;
    }

    .ts3-media,
    .ts4-media,
    .ts5-media {
        aspect-ratio: 1 / 1;
    }
}

/* Tablet — ≤900px */
@media (max-width: 900px) {
    :root {
        --page-padding: clamp(1.5rem, 4vw, 3.5rem);
        --navbar-height: 80px;
    }

    section {
        padding-block: clamp(3rem, 5vh, 5rem);
    }
}

/* Mobile — ≤640px */
@media (max-width: 640px) {
    :root {
        --page-padding: 1.25rem;
        --navbar-height: 70px;
    }

    section {
        padding-block: 2.5rem;
    }

    .ts1-media {
        height: 220px;
    }
}