/* Editorial art direction for the PENTAFLOSS project page. */
:root {
    --editorial-ink: #061d43;
    --editorial-blue: #0969db;
    --editorial-aqua: #2ad7d2;
    --editorial-sky: #edf8ff;
    --editorial-mist: #f5f8fc;
}

.team-page {
    background: #fff;
    color: var(--editorial-ink);
}

.team-container {
    max-width: 1240px;
}

.team-hero {
    background:
        radial-gradient(circle at 76% 32%, rgba(28, 207, 213, .38), transparent 17%),
        radial-gradient(circle at 92% 78%, rgba(17, 105, 219, .72), transparent 33%),
        linear-gradient(115deg, #031433 0%, #062b67 48%, #074795 100%);
    color: #fff;
    min-height: 670px;
    overflow: hidden;
    position: relative;
}

.team-hero::before {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    content: "";
    height: 800px;
    position: absolute;
    right: -270px;
    top: -310px;
    width: 800px;
}

.team-hero::after {
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), transparent 72%);
    pointer-events: none;
    position: absolute;
}

.team-hero-grid {
    min-height: 670px;
    position: relative;
    z-index: 1;
}

.team-hero-copy {
    padding: 58px 0;
}

.team-eyebrow {
    background: rgba(42, 215, 210, .14);
    border: 1px solid rgba(42, 215, 210, .38);
    border-radius: 999px;
    color: #b7fbf8;
    letter-spacing: 1px;
    padding: 8px 13px;
    width: fit-content;
}

.team-hero h1 {
    color: #fff;
    font-size: clamp(48px, 5.8vw, 78px);
    letter-spacing: -3.5px;
    line-height: .98;
    margin: 26px 0 16px;
}

.team-hero h1 span {
    color: var(--editorial-aqua);
    display: block;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

.team-hero-lead {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.team-hero-desc {
    color: #c1d7ee;
    font-size: 14px;
    line-height: 1.9;
    max-width: 585px;
}

.team-btn-primary {
    background: var(--editorial-aqua);
    box-shadow: 0 13px 28px rgba(0, 0, 0, .22);
    color: #042054;
}

.team-btn-primary:hover {
    background: #fff;
    color: #063d85;
}

.team-btn-secondary {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
}

.team-btn-secondary:hover { background: rgba(255, 255, 255, .13); color: #fff; }

.team-hero-tags span {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #d8e8f9;
}

.team-hero-art { min-height: 560px; }
.team-hero-art .hero-orbit { border-color: rgba(42, 215, 210, .45); }
.team-mascot-frame {
    background: linear-gradient(145deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .28);
}

.hero-sticker {
    background: var(--editorial-aqua);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .18);
    color: #062052;
}

.hero-floating-card {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .2);
}

.team-overview {
    background: var(--editorial-mist);
    padding: 120px 0 108px;
    position: relative;
}

.team-overview::before {
    background: var(--editorial-aqua);
    content: "";
    height: 120px;
    left: 0;
    opacity: .14;
    position: absolute;
    top: 0;
    width: 7px;
}

.team-section-heading {
    max-width: 760px;
}

.team-kicker {
    color: var(--editorial-blue);
    letter-spacing: 2px;
}

.team-section-heading h2 {
    color: var(--editorial-ink);
    font-size: clamp(35px, 4.2vw, 61px);
    letter-spacing: -2.7px;
    line-height: 1.03;
}

.team-section-heading h2 span { color: var(--editorial-blue); font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.team-section-heading > p { color: #61718a; font-size: 15px; line-height: 1.85; }

.overview-grid { gap: 19px; margin-top: 54px; }
.overview-card {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(8, 49, 103, .08);
    min-height: 250px;
    overflow: hidden;
    padding: 33px;
    position: relative;
}
.overview-card::after { background: linear-gradient(90deg, var(--editorial-blue), var(--editorial-aqua)); bottom: 0; content: ""; height: 5px; left: 0; position: absolute; transform: scaleX(.17); transform-origin: left; transition: transform .35s ease; width: 100%; }
.overview-card:hover::after { transform: scaleX(1); }
.overview-card:nth-child(2) { background: #e9f8fb; }.overview-card:nth-child(3) { background: #eef3ff; }
.overview-card h3 { color: var(--editorial-ink); font-size: 21px; }.overview-card p { color: #5c6f87; font-size: 13px; line-height: 1.8; }
.overview-icon { border-radius: 15px; box-shadow: 7px 7px 0 rgba(9, 105, 219, .1); }

.team-project { background: #fff; overflow: hidden; padding: 118px 0; position: relative; }
.team-project::before { color: #f1f6fb; content: "PENTA"; font-family: Georgia, serif; font-size: 19vw; font-style: italic; font-weight: 700; letter-spacing: -1vw; line-height: 1; position: absolute; right: -2vw; top: 3vw; z-index: 0; }
.team-project .team-container { position: relative; z-index: 1; }
.project-heading-row { align-items: end; margin-bottom: 46px; }.project-stamp { background: var(--editorial-ink); border-radius: 0; box-shadow: 10px 10px 0 var(--editorial-aqua); color: #fff; transform: rotate(-4deg); }
.project-main-card { background: var(--editorial-ink); border: 0; border-radius: 0; box-shadow: 0 28px 65px rgba(7, 29, 67, .18); gap: 0; overflow: hidden; padding: 0; }
.project-product-visual { background: radial-gradient(circle at 50% 40%, #57dbe3, #0b55b5 44%, #061d43 100%); border-radius: 0; height: 480px; }.project-product-visual::before { border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ""; height: 310px; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 310px; }.project-product-image { filter: drop-shadow(0 30px 30px rgba(0,0,0,.33)); transform: scale(1.08); }
.project-main-copy { align-self: center; padding: 56px; }.project-main-copy h3 { color: #fff; font-size: 36px; }.project-main-copy > p { color: #c2d6eb; font-size: 14px; line-height: 1.85; }.project-main-copy .project-highlight { color: var(--editorial-aqua); }.project-pill { background: rgba(42,215,210,.15); border: 1px solid rgba(42,215,210,.35); color: var(--editorial-aqua); }.project-product-tags span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.19); color: #dcecff; }.project-main-copy .team-text-link { color: var(--editorial-aqua); }

.project-pillars { gap: 0; margin-top: 0; max-width: 100%; padding: 0; }.pillar-card { background: #fff; border: 1px solid #dce9f4; border-radius: 0; box-shadow: none; min-height: 242px; padding: 30px; }.pillar-card:nth-child(2n) { background: #f0fbfd; }.pillar-card:nth-child(3) { background: #eef3ff; }.pillar-card::before { color: rgba(9,105,219,.08); content: attr(data-letter); font-family: Georgia, serif; font-size: 90px; font-style: italic; font-weight: 700; position: absolute; right: 12px; top: 34px; }.pillar-card:hover { box-shadow: 0 20px 38px rgba(8, 49, 103, .1); position: relative; z-index: 2; }.pillar-number { color: var(--editorial-blue); }.pillar-emoji { filter: saturate(1.2); font-size: 30px; }.pillar-card h3 { color: var(--editorial-ink); font-size: 16px; }.pillar-card p { color: #5d7089; font-size: 12px; line-height: 1.8; }

.team-kpi-section { background: radial-gradient(circle at 16% 18%, rgba(42,215,210,.22), transparent 26%), linear-gradient(115deg, #04152f, #0b3478); overflow: hidden; padding: 100px 0; position: relative; }.team-kpi-section::after { background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; content: ""; inset: 0; mask-image: linear-gradient(90deg, transparent, #000, transparent); position: absolute; }.kpi-grid { position: relative; z-index: 1; }.kpi-intro .team-kicker { color: var(--editorial-aqua); }.kpi-intro h2 { font-size: 42px; }.kpi-intro h2 span { color: #fff; font-family: Georgia, serif; font-style: italic; font-weight: 400; }.kpi-intro > p { color: #bbd0e6; font-size: 13px; line-height: 1.8; }.kpi-item { backdrop-filter: blur(9px); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 0; min-height: 182px; position: relative; }.kpi-item::after { background: var(--editorial-aqua); bottom: 0; content: ""; height: 4px; left: 0; position: absolute; width: 100%; }.kpi-item strong { font-size: 43px; }.kpi-item > span:last-child { color: #d7e9f9; }

.team-members { background: #fff; padding: 120px 0; }.members-grid { gap: 0; margin-top: 52px; max-width: 100%; }.member-card { background: #fff; border: 1px solid #e1ecf5; border-radius: 0; box-shadow: none; overflow: hidden; padding: 30px 18px; position: relative; }.member-card::before { background: linear-gradient(135deg, var(--editorial-aqua), var(--editorial-blue)); content: ""; height: 4px; left: 0; position: absolute; top: 0; transform: scaleX(.42); transform-origin: left; transition: transform .3s ease; width: 100%; }.member-card:hover::before { transform: scaleX(1); }.member-card:hover { box-shadow: 0 22px 38px rgba(8,49,103,.12); }.member-photo { border-radius: 50%; height: 112px; width: 112px; }.member-role { color: var(--editorial-blue); }.member-card h3 { color: var(--editorial-ink); }

.team-workflow { background: var(--editorial-mist); padding: 112px 0; }.workflow-grid { gap: 0; margin-top: 52px; }.workflow-step { background: transparent; border: 1px solid #d9e6f2; border-radius: 0; min-height: 245px; padding: 30px; }.workflow-step:nth-child(odd) { background: #fff; }.workflow-step:hover { background: var(--editorial-ink); }.workflow-step:hover h3, .workflow-step:hover p, .workflow-step:hover .workflow-top span { color: #fff; }.workflow-top div { background: #dff8f9; border-radius: 0; }.workflow-step h3 { color: var(--editorial-ink); }.workflow-step p { color: #60728a; line-height: 1.8; }.workflow-note { background: #dff8f9; border: 0; border-left: 5px solid var(--editorial-aqua); border-radius: 0; margin-top: 0; padding: 25px 30px; }

.team-cta { background: linear-gradient(110deg, #0757b8, #13b8d3); padding: 75px 0; }.team-cta .team-kicker, .team-cta h2, .team-cta p { color: #fff; }.team-cta h2 { font-size: clamp(31px, 4vw, 53px); letter-spacing: -2px; }.team-btn-light { background: #fff; color: var(--editorial-blue); }

@media (max-width: 1000px) { .team-hero { min-height: auto; }.team-hero-grid { min-height: 600px; }.project-main-copy { padding: 38px; }.project-product-visual { height: 430px; }.members-grid { grid-template-columns: repeat(3, 1fr); }.project-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .team-hero-grid { min-height: auto; }.team-hero-copy { padding: 70px 0 30px; }.team-hero h1 { font-size: 54px; }.team-hero-art { min-height: 395px; }.team-overview, .team-project, .team-members, .team-workflow { padding: 76px 0; }.project-main-card { grid-template-columns: 1fr; }.project-product-visual { height: 340px; }.project-main-copy { padding: 36px 28px; }.project-main-copy h3 { font-size: 30px; }.project-pillars, .workflow-grid { grid-template-columns: repeat(2, 1fr); }.kpi-grid { gap: 12px; }.members-grid { grid-template-columns: repeat(2, 1fr); }.member-card { padding: 26px 14px; } }
@media (max-width: 500px) { .team-hero h1 { font-size: 43px; }.team-hero-desc { font-size: 13px; }.project-pillars, .workflow-grid, .members-grid { grid-template-columns: 1fr; }.pillar-card, .workflow-step { min-height: auto; }.team-kpi-section { padding: 72px 0; }.kpi-item strong { font-size: 38px; } }

/* Corporate restraint: typography, product and data lead the page. */
.team-page,
.team-page h1,
.team-page h2,
.team-page h3,
.team-page p,
.team-page a,
.team-page button {
    font-family: "Manrope", "Be Vietnam Pro", sans-serif;
}

.team-hero h1 span,
.team-section-heading h2 span,
.kpi-intro h2 span {
    font-family: "Manrope", "Be Vietnam Pro", sans-serif;
    font-style: normal;
    font-weight: 800;
}

.team-hero h1 span { color: var(--editorial-aqua); }
.team-section-heading h2 span { color: var(--editorial-blue); }

.team-hero-tags,
.hero-sticker,
.hero-floating-card,
.project-stamp,
.overview-icon,
.pillar-emoji,
.kpi-emoji { display: none; }

.team-hero-art {
    align-self: stretch;
    display: grid;
    place-items: center;
}

.team-mascot-frame {
    margin-top: 0;
}

.overview-index {
    color: var(--editorial-blue);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 62px;
}

.overview-card h3 { margin: 0 0 12px; }

.team-project::before { display: none; }
.project-heading-row { margin-bottom: 38px; }

.project-pillars { margin-top: 0; }
.pillar-card { padding-top: 64px; }
.pillar-card::before { display: none; }
.pillar-number { font-size: 11px; left: 30px; right: auto; top: 28px; }

.kpi-label {
    color: var(--editorial-aqua);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 15px;
}

.kpi-item strong { line-height: 1; }

.workflow-top { justify-content: flex-start; }
.workflow-top span {
    border-bottom: 1px solid #9bb8d9;
    color: var(--editorial-blue);
    font-size: 11px;
    letter-spacing: 1.2px;
    padding-bottom: 8px;
    width: 100%;
}

.workflow-step:hover .workflow-top span { border-color: rgba(255,255,255,.5); }
.workflow-note { display: block; }

/* Rebalance the project hero: the brand visual carries the full right column. */
.team-container { max-width: 1280px; width: min(1280px, 88%); }
.team-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(38px, 6vw, 94px); }
.team-hero-copy { max-width: 570px; }
.team-hero-art { min-height: 610px; overflow: visible; }
.team-hero-art::before {
    background: radial-gradient(circle, rgba(42, 215, 210, .24) 0%, rgba(15, 87, 177, .06) 48%, transparent 70%);
    content: "";
    height: 620px;
    position: absolute;
    right: -44px;
    top: -14px;
    width: 620px;
}
.team-hero-art .orbit-one { height: 490px; width: 490px; }
.team-hero-art .orbit-two { height: 545px; width: 620px; }
.team-mascot-frame {
    border-radius: 50%;
    height: min(460px, 80vw);
    width: min(460px, 80vw);
}
.team-mascot-frame img { max-height: 385px; width: 83%; }

@media (max-width: 1000px) {
    .team-container { width: min(1160px, 90%); }
    .team-hero-grid { gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
    .team-hero-art { min-height: 510px; }
    .team-mascot-frame { height: 360px; width: 360px; }
    .team-hero-art .orbit-one { height: 390px; width: 390px; }
    .team-hero-art .orbit-two { height: 430px; width: 490px; }
}

@media (max-width: 760px) {
    .team-hero-grid { grid-template-columns: 1fr; }
    .team-hero-art { min-height: 390px; }
    .team-mascot-frame { height: 290px; width: 290px; }
    .team-hero-art .orbit-one { height: 320px; width: 320px; }
    .team-hero-art .orbit-two { height: 350px; width: 390px; }
}

/* Use the approved product hero: clear copy at left, real products at right. */
.team-hero {
    background:
        linear-gradient(90deg, rgba(237, 249, 255, .96) 0%, rgba(237, 249, 255, .88) 38%, rgba(237, 249, 255, .18) 68%, rgba(237, 249, 255, .02) 100%),
        url("../assets/banner/hero-home.png") center / cover no-repeat;
    min-height: 650px;
}

.team-hero::before,
.team-hero::after { display: none; }

.team-hero-grid { display: block; min-height: 650px; }
.team-hero-copy { max-width: 520px; padding: 136px 0 80px; }
.team-hero-art { display: none; }
.team-eyebrow { background: rgba(7, 87, 184, .08); border-color: rgba(7, 87, 184, .25); color: #0757b8; }
.team-hero h1 { color: #0b3478; font-size: clamp(47px, 5vw, 72px); }
.team-hero h1 span { color: #0757b8; }
.team-hero-lead { color: #0b3478; }
.team-hero-desc { color: #365d83; font-size: 15px; }
.team-btn-primary { background: #0b3478; color: #fff; }
.team-btn-primary:hover { background: #0757b8; color: #fff; }
.team-btn-secondary { background: rgba(255, 255, 255, .65); border-color: rgba(11, 52, 120, .38); color: #0b3478; }

@media (max-width: 760px) {
    .team-hero {
        background:
            linear-gradient(180deg, rgba(237, 249, 255, .96) 0%, rgba(237, 249, 255, .9) 57%, rgba(237, 249, 255, .25) 100%),
            url("../assets/banner/hero-home.png") 66% center / cover no-repeat;
        min-height: 610px;
    }
    .team-hero-grid { min-height: 610px; }
    .team-hero-copy { max-width: 100%; padding: 74px 0 48px; }
}

/* Project landing panel: replaces the technical workflow with a customer-facing story. */
.project-landing {
    background: #f3f8fc;
    padding: 112px 0;
}

.project-landing-grid {
    align-items: center;
    display: grid;
    gap: clamp(42px, 7vw, 112px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
}

.project-landing-copy .team-kicker {
    color: #0757b8;
    font-size: 11px;
}

.project-landing-copy h2 {
    color: #0b3478;
    font-size: clamp(38px, 4.1vw, 59px);
    letter-spacing: -2.6px;
    line-height: 1.08;
    margin: 16px 0 20px;
}

.project-landing-copy h2 span {
    color: #1671d9;
    display: block;
}

.project-landing-intro {
    color: #526b86;
    font-size: 15px;
    line-height: 1.85;
    margin: 0;
    max-width: 650px;
}

.project-landing-points {
    border-top: 1px solid #cfe0ef;
    margin: 36px 0 32px;
}

.project-landing-points article {
    align-items: start;
    border-bottom: 1px solid #cfe0ef;
    display: grid;
    gap: 20px;
    grid-template-columns: 28px 1fr;
    padding: 19px 0;
}

.project-landing-points article > span {
    color: #1671d9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding-top: 3px;
}

.project-landing-points h3 {
    color: #0b3478;
    font-size: 16px;
    margin: 0 0 5px;
}

.project-landing-points p {
    color: #5c718a;
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
}

.project-landing-media {
    background: #e2f2fb;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

.project-landing-media::before {
    border: 1px solid rgba(7, 87, 184, .22);
    border-radius: 50%;
    content: "";
    height: 500px;
    position: absolute;
    right: -175px;
    top: -155px;
    width: 500px;
}

.project-landing-media::after {
    background: linear-gradient(180deg, rgba(7, 87, 184, .03), rgba(7, 87, 184, .15));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.project-landing-media img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.project-media-label,
.project-landing-media > p {
    position: absolute;
    z-index: 1;
}

.project-media-label {
    left: 32px;
    top: 31px;
}

.project-media-label span {
    color: #316a9f;
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 7px;
}

.project-media-label strong {
    color: #0b3478;
    font-size: 22px;
}

.project-landing-media > p {
    background: rgba(255, 255, 255, .91);
    bottom: 25px;
    color: #365d83;
    font-size: 12px;
    line-height: 1.65;
    margin: 0;
    max-width: 290px;
    padding: 14px 16px;
    right: 24px;
}

@media (max-width: 900px) {
    .project-landing-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .project-landing-media { min-height: 500px; }
}

@media (max-width: 700px) {
    .project-landing { padding: 76px 0; }
    .project-landing-grid { grid-template-columns: 1fr; }
    .project-landing-copy h2 { font-size: 40px; letter-spacing: -1.9px; }
    .project-landing-media { min-height: 430px; }
    .project-media-label { left: 22px; top: 22px; }
    .project-landing-media > p { bottom: 17px; left: 17px; right: auto; }
}
