/* Team page: three editorial sections and a shared service CTA. */
.team-page { background: #fff; color: #111015; }
.team-page main > section:not(.bread-crumb-banner) > .wrap { max-width: 1540px; }

.team-eyebrow { display: inline-flex; align-items: center; width: max-content; margin: 0 0 24px; padding: 8px 18px; border-radius: 999px; background: #f2edff; color: #6422e8; font: 700 12px/1.6 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.team-short-rule { display: block; width: 80px; height: 4px; margin-top: 28px; border-radius: 8px; background: #6425eb; }
.team-star { position: absolute; width: 46px; height: 46px; background: #6825e8; clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 63%, 50% 100%, 38% 63%, 0 50%, 38% 37%); }

.team-light-journey { position: relative; isolation: isolate; overflow: hidden; background-color: #fcfbff; background-image: radial-gradient(ellipse at 88% 9%, rgba(162, 108, 242, .11), transparent 28%), radial-gradient(ellipse at 8% 53%, rgba(162, 108, 242, .095), transparent 28%), radial-gradient(ellipse at 86% 90%, rgba(162, 108, 242, .08), transparent 28%), linear-gradient(rgba(112, 82, 151, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(112, 82, 151, .05) 1px, transparent 1px); background-size: auto, auto, auto, 190px 190px, 190px 190px; }
.team-light-journey::before, .team-light-journey::after { content: ""; position: absolute; z-index: 0; width: min(60vw, 1000px); height: 650px; border: 1px solid rgba(116, 52, 224, .12); border-radius: 50%; pointer-events: none; }
.team-light-journey::before { top: 18%; right: -15%; transform: rotate(-25deg); }
.team-light-journey::after { bottom: 12%; left: -17%; transform: rotate(22deg); }
.team-light-journey > section { position: relative; isolation: isolate; background: transparent; }
.team-light-journey > section + section::after { content: ""; position: absolute; z-index: 0; top: 0; right: clamp(24px, 4vw, 80px); left: clamp(24px, 4vw, 80px); height: 1px; background: linear-gradient(90deg, transparent, rgba(131, 78, 211, .2) 18%, rgba(131, 78, 211, .2) 82%, transparent); pointer-events: none; }
.team-light-journey > section > .wrap { position: relative; z-index: 1; max-width: 1540px; }
.team-flow-dots--intro { top: 10%; right: -5%; }
.team-flow-dots--people { bottom: 4%; left: -5%; animation-delay: -4s; }
.team-flow-dots--culture { top: 8%; right: -6%; animation-delay: -7s; }
.team-intro { padding: clamp(80px, 8vw, 130px) 0 clamp(75px, 7vw, 115px); }
.team-intro-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: clamp(48px, 5vw, 90px); align-items: center; }
.team-intro-copy { min-width: 0; }
.team-intro h2, .team-section-heading h2, .team-culture h2 { margin: 0; color: #0f0e12; font: 700 clamp(48px, 4vw, 64px)/.94 var(--display); letter-spacing: -.06em; }
.team-intro h2 .it, .team-section-heading h2 .it, .team-culture h2 .it { color: #6827e8; font-weight: 400; letter-spacing: 0; }
.team-intro-copy > p:not(.team-eyebrow) { max-width: 580px; margin: 28px 0 0; color: #686572; font: 400 18px/1.55 var(--body); }
.team-intro-facts { display: flex; gap: 0; margin: 58px 0 0; }
.team-intro-facts > div { min-width: 0; padding: 0 26px; border-left: 1px solid #d8c9f6; }
.team-intro-facts > div:first-child { padding-left: 0; border-left: 0; }
.team-intro-facts dt { color: #6526e9; font: 800 clamp(37px, 3.6vw, 60px)/1 var(--display); letter-spacing: -.06em; }
.team-intro-facts dd { margin: 7px 0 0; color: #6c6a83; font-size: clamp(13px, 1.15vw, 18px); white-space: nowrap; }
.team-intro-art { position: relative; height: clamp(500px, 42vw, 690px); min-width: 0; }
.team-intro-art::before { content: ""; position: absolute; inset: 4% 0 0 7%; border-radius: 50%; background: radial-gradient(circle at 57% 56%, rgba(180, 128, 252, .2), rgba(173, 117, 251, .08) 47%, transparent 70%); }
.team-orbit { position: absolute; border: 1.5px solid rgba(117, 49, 238, .28); border-radius: 50%; transform: rotate(-24deg); }
.team-orbit--one { inset: 4% -2% 7% 2%; }
.team-orbit--two { inset: 23% 9% 5% 16%; opacity: .65; transform: rotate(22deg); }
.team-orbit-dot { position: absolute; z-index: 5; width: 37px; height: 37px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ad77ff, #6221e4 72%); box-shadow: 0 12px 22px rgba(101, 31, 225, .2); }
.team-orbit-dot--one { top: 16%; left: 11%; }
.team-orbit-dot--two { right: 15%; bottom: 9%; }
.team-star--intro { z-index: 4; top: 8%; right: 20%; width: 70px; height: 70px; }
.team-intro-portrait { position: absolute; z-index: 2; bottom: 10%; overflow: hidden; margin: 0; border-radius: 160px 160px 35px 35px; background: #e8dcff; box-shadow: 0 25px 60px rgba(98, 45, 160, .11); }
.team-intro-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.75); }
.team-intro-portrait--left { left: 12%; width: 27%; height: 64%; }
.team-intro-portrait--middle { z-index: 3; left: 39%; bottom: 4%; width: 30%; height: 91%; }
.team-intro-portrait--right { right: 3%; width: 27%; height: 72%; }

.team-people { padding: clamp(95px, 9vw, 150px) 0 clamp(85px, 8vw, 125px); }
.team-section-heading { max-width: 970px; margin: 0 auto 60px; text-align: center; }
.team-section-heading > p:last-child { max-width: 760px; margin: 24px auto 0; color: #686572; font: 400 18px/1.55 var(--body); }
.team-people-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.team-person-card { min-width: 0; padding: 15px; border: 1px solid rgba(223, 212, 242, .9); border-radius: 24px; background: rgba(255, 255, 255, .94); box-shadow: 0 18px 48px rgba(50, 23, 105, .07); transition: transform .25s ease, box-shadow .25s ease; }
.team-person-card:hover { transform: translateY(-5px); box-shadow: 0 25px 55px rgba(50, 23, 105, .12); }
.team-person-portrait { position: relative; overflow: hidden; aspect-ratio: .94; border-radius: 120px 120px 26px 26px; background: #e8d8ff; }
.team-person-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(.65); }
.team-person-portrait .team-star { top: 10%; right: 8%; width: 29px; height: 29px; }
.team-person-copy { min-height: 89px; padding: 20px 5px 9px; }
.team-person-copy h3 { margin: 0; color: #15121a; font: 800 clamp(17px, 1.45vw, 24px)/1.18 var(--display); letter-spacing: -.045em; }
.team-person-copy p { margin: 6px 0 0; color: #767386; font-size: clamp(12px, 1vw, 16px); }
.team-person-link { display: flex; min-height: 53px; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 4px 0; border-top: 1px solid #eee6f9; color: #6729e9; font-size: 13px; font-weight: 700; text-decoration: none; }
.team-person-link span:last-child { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #eee6ff; font-size: 19px; }
.team-person-link:hover span:last-child { background: #6b2dec; color: #fff; }
.team-portrait-note { margin: 22px 0 0; color: #827a91; font-size: 12px; text-align: center; }

.team-culture { padding: clamp(95px, 9vw, 145px) 0 clamp(90px, 8vw, 125px); }
.team-culture-main { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(45px, 6vw, 100px); align-items: center; }
.team-culture-copy > p:not(.team-eyebrow) { max-width: 500px; margin: 28px 0 0; color: #686572; font: 400 18px/1.55 var(--body); }
.team-culture-gallery { position: relative; display: grid; min-height: 510px; grid-template-columns: 1fr 1.1fr .88fr; grid-template-rows: repeat(2, 230px); gap: 18px; align-content: center; }
.team-culture-gallery::before { content: ""; position: absolute; z-index: 0; inset: -7% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 255, .22), rgba(201, 164, 255, .04) 57%, transparent 70%); }
.team-culture-orbit { position: absolute; z-index: 0; inset: -4% 2%; border: 1.5px solid rgba(104, 37, 231, .3); border-radius: 50%; transform: rotate(-19deg); }
.team-star--culture { z-index: 2; top: -7%; right: 24%; }
.team-culture-photo { z-index: 1; overflow: hidden; margin: 0; border-radius: 26px; background: #e8dcfb; box-shadow: 0 14px 36px rgba(61, 28, 112, .1); }
.team-culture-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85); }
.team-culture-photo--one { grid-area: 1 / 1 / 3 / 2; border-radius: 38px 38px 95px 38px; }
.team-culture-photo--two { grid-area: 1 / 2 / 2 / 3; }
.team-culture-photo--three { grid-area: 2 / 2 / 3 / 3; }
.team-culture-photo--four { grid-area: 1 / 3 / 3 / 4; border-radius: 70px 38px 38px 38px; }
.team-culture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(70px, 7vw, 110px); }
.team-culture-card { display: flex; flex-direction: column; min-height: 215px; gap: 18px; padding: 28px 22px; border: 1px solid #e9e0f7; border-radius: 26px; background: #fff; box-shadow: 0 16px 45px rgba(52, 27, 100, .055); }
.team-culture-card h3 { margin: 7px 0 13px; font: 800 clamp(18px, 1.5vw, 24px)/1.18 var(--display); letter-spacing: -.045em; }
.team-culture-card p { margin: 0; color: #767185; font-size: 14px; line-height: 1.55; }
.team-culture-icon { display: grid; width: 64px; height: 64px; flex: 0 0 64px; place-items: center; border-radius: 50%; background: #f2eaff; color: #6829e8; }
.team-culture-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.team-page .service-contact { border-top: 1px solid #f4eefb; }
.team-page .service-contact-inner { max-width: 1540px; }
.team-page .service-contact .team-eyebrow { margin: 0 0 24px; color: #6422e8; font: 700 12px/1.6 var(--display); }
.team-page .service-contact h2 { margin-top: 18px; color: #0f0e12; font: 700 clamp(48px, 4vw, 64px)/.94 var(--display); letter-spacing: -.06em; }
.team-page .service-contact h2 .it { color: #6827e8; }
.team-page .service-contact p:last-child { color: #6b6472; font: 400 16px/1.55 var(--body); }
.team-page .service-contact .service-button { box-sizing: border-box; flex: 0 0 238px; width: 238px; max-width: 100%; min-height: 58px; gap: 12px; padding: 14px 22px; border: 1px solid #7023e8; border-radius: 999px; background: linear-gradient(105deg, #6720e5, #811ef5); color: #fff; box-shadow: 0 14px 30px rgba(101, 35, 210, .17); font: 700 14px/1.25 var(--display); white-space: nowrap; }

@media (max-width: 1200px) {
  .team-intro h2 { font-size: clamp(44px, 4vw, 54px); }
  .team-people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-culture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-culture-card { min-height: 185px; }
}

@media (max-width: 900px) {
  .team-intro-layout, .team-culture-main { grid-template-columns: 1fr; }
  .team-intro-art { max-width: 730px; width: 100%; margin: 0 auto; }
  .team-culture-gallery { max-width: 760px; width: 100%; margin: 0 auto; }
  .team-intro-copy > p:not(.team-eyebrow) { max-width: 700px; }
}

@media (max-width: 680px) {
  .team-intro, .team-people, .team-culture { padding-block: 80px; }
  .team-intro h2, .team-section-heading h2, .team-culture h2 { font-size: clamp(40px, 10vw, 52px); }
  .team-intro-art { height: 450px; }
  .team-intro-facts { gap: 14px; margin-top: 40px; }
  .team-intro-facts > div { padding-inline: 12px; }
  .team-intro-facts dt { font-size: 37px; }
  .team-intro-facts dd { font-size: 11px; white-space: normal; }
  .team-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-person-card { padding: 10px; border-radius: 19px; }
  .team-person-copy { min-height: 90px; padding-top: 15px; }
  .team-person-copy h3 { font-size: 17px; }
  .team-person-copy p, .team-person-link { font-size: 11px; }
  .team-person-link span:last-child { width: 30px; height: 30px; }
  .team-culture-gallery { min-height: 390px; grid-template-rows: repeat(2, 170px); gap: 10px; }
  .team-culture-grid { gap: 12px; }
  .team-culture-card { min-height: 0; padding: 20px; }
  .team-culture-card h3 { font-size: 18px; }
  .team-culture-card p { font-size: 12px; }
  .team-culture-icon { width: 52px; height: 52px; margin-bottom: 12px; }
  .team-page .service-contact h2 { font-size: clamp(40px, 10vw, 52px); }
}

@media (max-width: 430px) {
  .team-intro-art { height: 340px; }
  .team-orbit-dot { width: 25px; height: 25px; }
  .team-star--intro { width: 42px; height: 42px; }
  .team-people-grid { grid-template-columns: 1fr 1fr; }
  .team-person-portrait { aspect-ratio: .9; }
  .team-person-link span:first-child { max-width: 95px; }
  .team-culture-gallery { min-height: 300px; grid-template-rows: repeat(2, 130px); }
  .team-culture-grid { grid-template-columns: 1fr; }
  .team-culture-card { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .team-person-card { transition: none; }
}
