.jsf-team-showcase {
--jsf-team-accent: #c7f000;
--jsf-team-dark: #2d3f56;
--jsf-team-light: #d9edf1;
--jsf-team-ink: #27384c;
--jsf-team-muted: #6b7a8b;
--jsf-team-gap: 22px;
width: 100%;
position: relative;
overflow: hidden;
padding: clamp(34px, 5vw, 72px);
border-radius: 34px;
background:
radial-gradient(circle at 92% 8%, rgba(199, 240, 0, .22), transparent 22%),
linear-gradient(135deg, #f7fafb 0%, #eef5f7 100%);
color: var(--jsf-team-ink);
}
.jsf-team-showcase::before {
position: absolute;
top: -28px;
right: -12px;
color: rgba(45, 63, 86, .045);
content: "TEAM";
font-family: "Poppins", sans-serif;
font-size: clamp(110px, 20vw, 270px);
font-weight: 700;
letter-spacing: -.08em;
line-height: 1;
pointer-events: none;
}
.jsf-team-showcase * {
box-sizing: border-box;
}
.jsf-team-showcase__header {
position: relative;
z-index: 1;
max-width: 840px;
margin: 0 0 42px;
text-align: left;
}
.jsf-team-showcase__eyebrow {
display: inline-flex;
margin: 0 0 16px;
padding: 8px 14px;
border-radius: 999px;
background: var(--jsf-team-accent);
color: var(--jsf-team-dark);
font-family: "Poppins", sans-serif;
font-size: 14px;
font-weight: 500;
letter-spacing: .12em;
text-transform: uppercase;
}
.jsf-team-showcase__heading {
margin: 0 0 14px;
color: var(--jsf-team-dark);
font-family: "Oooh Baby", cursive;
font-size: clamp(50px, 7vw, 86px);
font-weight: 400;
line-height: 1.06;
}
.jsf-team-showcase__intro {
max-width: 700px;
margin: 0;
color: var(--jsf-team-muted);
font-family: "Poppins", sans-serif;
font-size: 17px;
line-height: 1.7;
}
.jsf-team-showcase__track {
position: relative;
z-index: 1;
display: grid;
grid-auto-flow: column;
grid-auto-columns: calc((100% - (var(--jsf-team-gap) * 2)) / 3);
gap: var(--jsf-team-gap);
overflow-x: auto;
overflow-y: hidden;
padding: 22px 10px 34px;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
scrollbar-width: none;
}
.jsf-team-showcase__track::-webkit-scrollbar {
display: none;
}
.jsf-team-card {
position: relative;
display: block;
min-width: 0;
padding: 0;
overflow: hidden;
border: 3px solid transparent;
border-radius: 24px;
background: var(--jsf-team-light);
box-shadow: 0 18px 44px rgba(37, 56, 78, .14);
color: #fff;
cursor: pointer;
scroll-snap-align: start;
text-align: left;
white-space: normal;
transform-origin: center bottom;
transform: scale(.965);
transition: border-color .35s ease, box-shadow .4s ease, transform .4s ease, opacity .4s ease;
}
.jsf-team-card::before {
display: none;
}
.jsf-team-card:hover,
.jsf-team-card:focus-visible,
.jsf-team-card.is-active {
border-color: var(--jsf-team-accent);
box-shadow: 0 30px 66px rgba(37, 56, 78, .28);
transform: translateY(-12px) scale(1);
}
.jsf-team-card:hover::before,
.jsf-team-card:focus-visible::before,
.jsf-team-card.is-active::before {
transform: scaleY(1);
}
.jsf-team-card:focus-visible {
outline: 3px solid var(--jsf-team-accent);
outline-offset: 3px;
}
.jsf-team-card__portrait {
display: block;
position: relative;
width: 100%;
aspect-ratio: 3 / 4;
overflow: hidden;
}
.jsf-team-card__image,
.jsf-team-profile__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
}
.jsf-team-card__image {
filter: none;
transform: scale(1.015);
transition: filter .45s ease, transform .55s ease;
}
.jsf-team-card:hover .jsf-team-card__image,
.jsf-team-card:focus-visible .jsf-team-card__image,
.jsf-team-card.is-active .jsf-team-card__image {
filter: none;
transform: scale(1.055);
}
.jsf-team-card__content {
position: absolute;
z-index: 3;
right: 0;
bottom: 0;
left: 0;
display: flex;
min-height: 48%;
padding: 96px 28px 28px;
flex-direction: column;
justify-content: flex-end;
background: linear-gradient(180deg, rgba(32, 47, 66, 0), rgba(32, 47, 66, .86) 34%, rgba(32, 47, 66, .98));
}
.jsf-team-card__name {
font-family: "Oooh Baby", cursive;
font-size: clamp(39px, 4vw, 55px);
font-weight: 400;
line-height: 1.15;
text-transform: none;
}
.jsf-team-card__role,
.jsf-team-card__studio,
.jsf-team-card__more {
font-family: "Poppins", sans-serif;
font-size: 14px;
line-height: 1.55;
overflow-wrap: anywhere;
text-transform: none;
word-break: normal;
}
.jsf-team-card__role {
margin-top: 8px;
color: rgba(255, 255, 255, .88);
font-size: 13px;
font-weight: 600;
letter-spacing: .045em;
text-transform: uppercase;
}
.jsf-team-card__studio {
color: rgba(255, 255, 255, .68);
}
.jsf-team-card__more {
display: flex;
max-height: 0;
margin-top: 0;
justify-content: space-between;
overflow: hidden;
color: var(--jsf-team-accent);
font-weight: 500;
opacity: 0;
transition: max-height .35s ease, margin .35s ease, opacity .35s ease;
}
.jsf-team-card:hover .jsf-team-card__more,
.jsf-team-card:focus-visible .jsf-team-card__more,
.jsf-team-card.is-active .jsf-team-card__more {
max-height: 30px;
margin-top: 14px;
opacity: 1;
}
.jsf-team-placeholder {
position: relative;
display: block;
width: 100%;
height: 100%;
overflow: hidden;
background: linear-gradient(145deg, var(--jsf-team-light), #9fb7c4);
}
.jsf-team-placeholder__head {
position: absolute;
top: 19%;
left: 50%;
width: 34%;
aspect-ratio: 1;
border-radius: 50%;
background: rgba(45, 63, 86, .25);
transform: translateX(-50%);
}
.jsf-team-placeholder__body {
position: absolute;
right: 13%;
bottom: -12%;
left: 13%;
height: 58%;
border-radius: 50% 50% 0 0;
background: rgba(45, 63, 86, .25);
}
.jsf-team-placeholder__initials {
position: absolute;
top: 30%;
right: 0;
left: 0;
color: rgba(255, 255, 255, .74);
font-family: "Oooh Baby", cursive;
font-size: clamp(48px, 6vw, 86px);
line-height: 1;
text-align: center;
}
.jsf-team-showcase__nav {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 52px minmax(100px, 220px) 52px;
gap: 14px;
align-items: center;
justify-content: start;
margin: 4px 8px 40px;
}
.jsf-team-showcase__arrow {
display: grid;
width: 52px;
height: 52px;
padding: 0;
place-items: center;
border: 0;
border-radius: 50%;
background: var(--jsf-team-dark);
color: #fff;
font-size: 23px;
cursor: pointer;
transition: background .25s ease, color .25s ease, opacity .25s ease;
}
.jsf-team-showcase__arrow:hover,
.jsf-team-showcase__arrow:focus-visible {
background: var(--jsf-team-accent);
color: var(--jsf-team-dark);
}
.jsf-team-showcase__arrow:disabled {
cursor: default;
opacity: .35;
}
.jsf-team-showcase__progress {
display: block;
height: 3px;
overflow: hidden;
background: rgba(45, 63, 86, .18);
}
.jsf-team-showcase__progress span {
display: block;
width: 33.333%;
height: 100%;
background: var(--jsf-team-accent);
transform-origin: left;
transition: transform .25s ease;
}
.jsf-team-profile {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
min-height: 440px;
overflow: hidden;
border-radius: 28px;
background: var(--jsf-team-dark);
box-shadow: 0 28px 70px rgba(37, 56, 78, .2);
animation: jsf-team-profile-in .42s ease both;
}
.jsf-team-profile[hidden] {
display: none;
}
.jsf-team-profile__portrait {
min-height: 440px;
background: var(--jsf-team-light);
}
.jsf-team-profile__content {
display: flex;
padding: clamp(36px, 6vw, 78px);
flex-direction: column;
justify-content: center;
background:
radial-gradient(circle at 94% 4%, rgba(199, 240, 0, .18), transparent 25%),
var(--jsf-team-dark);
}
.jsf-team-profile__meta {
margin: 0 0 8px;
color: var(--jsf-team-accent);
font-family: "Poppins", sans-serif;
font-size: 13px;
font-weight: 500;
letter-spacing: .08em;
text-transform: uppercase;
}
.jsf-team-profile__name {
margin: 0 0 22px;
color: #fff;
font-family: "Oooh Baby", cursive;
font-size: clamp(44px, 6vw, 70px);
font-weight: 400;
line-height: 1;
}
.jsf-team-profile__text,
.jsf-team-profile__text p {
color: rgba(255, 255, 255, .86);
font-family: "Poppins", sans-serif;
font-size: 16px;
line-height: 1.75;
}
.jsf-team-profile__text p {
margin: 0 0 1em;
}
.jsf-team-profile__text p:last-child {
margin-bottom: 0;
}
@keyframes jsf-team-profile-in {
from {
opacity: 0;
transform: translateY(18px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 1024px) {
.jsf-team-showcase__track {
grid-auto-columns: calc((100% - var(--jsf-team-gap)) / 2);
}
}
@media (max-width: 680px) {
.jsf-team-showcase {
padding: 28px 18px 34px;
border-radius: 22px;
}
.jsf-team-showcase::before {
top: 4px;
font-size: 110px;
}
.jsf-team-showcase__header {
margin-bottom: 28px;
text-align: left;
}
.jsf-team-showcase__intro {
margin-left: 0;
}
.jsf-team-showcase__track {
grid-auto-columns: 88%;
gap: 14px;
padding-right: 14%;
}
.jsf-team-card__content {
padding-right: 22px;
padding-left: 22px;
}
.jsf-team-card__name {
font-size: 44px;
}
.jsf-team-showcase__nav {
grid-template-columns: 46px minmax(80px, 1fr) 46px;
margin-right: 0;
margin-left: 0;
}
.jsf-team-showcase__arrow {
width: 46px;
height: 46px;
}
.jsf-team-profile {
grid-template-columns: 1fr;
}
.jsf-team-profile__portrait {
min-height: 0;
aspect-ratio: 4 / 5;
}
.jsf-team-profile__content {
padding: 34px 24px 40px;
}
}
@media (prefers-reduced-motion: reduce) {
.jsf-team-showcase *,
.jsf-team-showcase *::before,
.jsf-team-showcase *::after {
scroll-behavior: auto !important;
animation-duration: .01ms !important;
transition-duration: .01ms !important;
}
} .jsf-team-showcase {
--jsf-team-gap: 28px;
overflow: visible;
padding: 64px 0 96px;
border-radius: 0;
background: #fff;
}
.jsf-team-showcase::before {
display: none;
}
.jsf-team-showcase__header {
max-width: 940px;
margin: 0 auto clamp(56px, 6vw, 76px);
text-align: center;
}
.jsf-team-showcase__eyebrow {
display: block;
margin: 0 0 14px;
padding: 0;
background: transparent;
color: var(--jsf-team-muted);
font-size: 13px;
letter-spacing: .11em;
}
.jsf-team-showcase__eyebrow::before {
display: block;
width: 62px;
height: 3px;
margin: 0 auto 15px;
background: var(--jsf-team-accent);
content: "";
}
.jsf-team-showcase__heading {
margin-bottom: 16px;
font-size: clamp(48px, 6vw, 76px);
}
.jsf-team-showcase__intro {
max-width: 790px;
margin: 0 auto;
font-size: 17px;
line-height: 1.7;
}
.jsf-team-showcase__track {
padding: 14px 5px 42px;
}
.jsf-team-showcase .jsf-team-card {
padding: 0 !important;
border: 2px solid var(--jsf-team-accent) !important;
border-radius: 0;
background: var(--jsf-team-light) !important;
box-shadow: 0 12px 28px rgba(37, 56, 78, .1);
transform: none;
}
.jsf-team-showcase .jsf-team-card:hover,
.jsf-team-showcase .jsf-team-card:focus-visible,
.jsf-team-showcase .jsf-team-card.is-active {
border-color: var(--jsf-team-accent);
background: var(--jsf-team-light) !important;
box-shadow: 0 18px 38px rgba(37, 56, 78, .17), 0 0 0 3px rgba(199, 240, 0, .2);
transform: translateY(-5px);
}
.jsf-team-card__portrait {
aspect-ratio: 4 / 5;
}
.jsf-team-card__content {
min-height: 0;
padding: 44px 24px 20px;
background: linear-gradient(180deg, rgba(35, 52, 73, 0) 0%, rgba(35, 52, 73, .88) 38%, rgba(35, 52, 73, .98) 100%);
}
.jsf-team-card__name {
color: #fff;
font-family: "Poppins", sans-serif;
font-size: clamp(24px, 2.1vw, 31px);
font-weight: 600;
line-height: 1.2;
text-shadow: 0 2px 8px rgba(0, 0, 0, .38);
}
.jsf-team-card__role {
margin-top: 7px;
color: rgba(255, 255, 255, .94);
font-size: 12px;
font-weight: 600;
letter-spacing: .035em;
line-height: 1.45;
}
.jsf-team-card__studio {
color: rgba(255, 255, 255, .82);
font-size: 12px;
}
.jsf-team-card__more {
font-size: 12px;
}
.jsf-team-showcase__nav {
justify-content: center;
margin-top: 8px;
margin-bottom: clamp(64px, 7vw, 92px);
}
.jsf-team-profile {
grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
grid-template-areas: "content portrait";
max-width: 1160px;
min-height: 550px;
margin: 0 auto;
border-top: 4px solid var(--jsf-team-accent);
border-radius: 0;
background: #fff;
box-shadow: 0 18px 48px rgba(37, 56, 78, .1);
}
.jsf-team-profile__portrait {
grid-area: portrait;
min-height: 550px;
background: #eef3f5;
}
.jsf-team-profile__content {
grid-area: content;
padding: clamp(50px, 5.5vw, 78px);
background: #fff;
}
.jsf-team-profile__meta {
margin-bottom: 13px;
color: var(--jsf-team-muted);
font-size: 12px;
letter-spacing: .07em;
}
.jsf-team-showcase .jsf-team-profile__name {
margin-bottom: 24px;
color: var(--jsf-team-dark);
font-family: "Poppins", sans-serif !important;
font-size: clamp(34px, 4vw, 48px);
font-weight: 600;
line-height: 1.15;
}
.jsf-team-profile__text,
.jsf-team-profile__text p {
color: #252a30;
font-size: 16px;
line-height: 1.72;
}
@media (max-width: 900px) {
.jsf-team-profile {
grid-template-columns: 1fr;
grid-template-areas:
"portrait"
"content";
max-width: 760px;
min-height: 0;
}
.jsf-team-profile__portrait {
min-height: 0;
aspect-ratio: 16 / 10;
}
.jsf-team-profile__image {
object-position: center 18%;
}
.jsf-team-profile__content {
padding: 52px clamp(34px, 7vw, 64px) 62px;
}
}
@media (max-width: 680px) {
.jsf-team-showcase {
--jsf-team-gap: 16px;
padding: 32px 0 72px;
border-radius: 0;
}
.jsf-team-showcase__header {
margin-bottom: 40px;
text-align: left;
}
.jsf-team-showcase__heading {
font-size: 40px;
line-height: 1.08;
}
.jsf-team-showcase__intro {
font-size: 16px;
}
.jsf-team-showcase__eyebrow::before {
margin-left: 0;
}
.jsf-team-card__content {
min-height: 0;
padding: 42px 20px 18px;
}
.jsf-team-card__name {
font-size: 28px;
}
.jsf-team-profile {
grid-template-columns: 1fr;
grid-template-areas:
"portrait"
"content";
min-height: 0;
}
.jsf-team-profile__portrait {
min-height: 0;
aspect-ratio: 4 / 5;
}
.jsf-team-profile__content {
padding: 40px 24px 50px;
}
.jsf-team-profile__name {
font-size: 34px;
}
.jsf-team-showcase__nav {
margin-top: 4px;
margin-bottom: 56px;
}
}