.seolab-people { color: var(--seolab-ink); background: #fff; padding-bottom: 72px; }
.seolab-people .people-section { max-width: 1160px; margin: auto; padding: 52px 20px 0; }
.seolab-people .people-section > p { max-width: 800px; color: #526176; line-height: 2.1; }
.seolab-people h2 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.8; margin-bottom: 20px; }
.seolab-people .people-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 16px; border-bottom: 1px solid var(--seolab-border); }
.seolab-people .people-nav a { color: var(--seolab-primary); padding: 8px 18px; border-radius: 30px; text-decoration: none; }
.seolab-people .people-nav a[aria-current], .seolab-people .people-nav a:hover { background: #eaf0f8; }
.seolab-people .team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.seolab-people .team-card { overflow: hidden; border: 1px solid var(--seolab-border); border-radius: 20px; background: #fff; }
.seolab-people .team-card__portrait { display: grid; place-items: center; height: 280px; padding: 16px; background: #edf2f8; }
/* Preserve the whole portrait and never enlarge it beyond its intrinsic size. */
.seolab-people .team-card__portrait img { display: block; width: auto; height: auto; max-width: 100%; max-height: 248px; object-fit: contain; transform: none; border-radius: 12px; }
.seolab-people .team-card__body { padding: 22px; }
.seolab-people .team-card h3 { font-size: 1.25rem; margin: 0 0 10px; }
.seolab-people .team-card p { color: #526176; min-height: 3.8em; line-height: 1.9; margin-bottom: 18px; }
.seolab-people .team-card a { color: var(--seolab-primary); font-weight: 700; text-underline-offset: 5px; }
.seolab-people .people-photo { width: 100%; max-height: 470px; object-fit: cover; border-radius: 24px; margin-top: 28px; }
.seolab-people .culture-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.seolab-people .culture-value { padding: 30px; border: 1px solid var(--seolab-border); border-radius: 20px; background: #f8fafc; }
.seolab-people .culture-value span { color: #345686; font-size: .9rem; }
.seolab-people .culture-value h3 { font-size: 1.3rem; margin: 12px 0; }
.seolab-people .culture-value p { color: #526176; line-height: 2.1; margin: 0; }
.seolab-people .culture-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.seolab-people figure { margin: 0; }
.seolab-people .culture-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.seolab-people figcaption { color: #526176; font-size: .9rem; padding: 14px 4px; line-height: 1.9; }
.seolab-people .people-cta { padding: 30px; background: #edf2f8; border-radius: 20px; }
.seolab-people .people-cta p { line-height: 2; }
.seolab-people .people-cta a { display: inline-block; background: #345686; color: #fff; padding: 12px 24px; border-radius: 10px; text-decoration: none; }
.seolab-people a:focus-visible { outline: 3px solid #f9bc00; outline-offset: 4px; }
@media(max-width: 991px) { .seolab-people .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 575px) {
    .seolab-people .people-section { padding: 34px 16px 0; }
    .seolab-people .team-grid, .seolab-people .culture-values, .seolab-people .culture-gallery { grid-template-columns: 1fr; }
    .seolab-people .team-card__portrait { height: 280px; }
    .seolab-people .culture-value { padding: 24px; }
}

/* People and culture: the same content frame as all public pages. */
.seolab-people { color: #182b46; line-height: 1.95; }
.seolab-people *, .seolab-people *::before, .seolab-people *::after { box-sizing: border-box; }
.seolab-people .people-section { padding-block: 64px 0; }
.seolab-people section[id] { scroll-margin-top: 100px; }
.seolab-people h2 { font-weight: 800; margin: 0 0 16px; }
.seolab-people h3 { font-weight: 800; }
.seolab-people p { color: #52677f; }
.people-eyebrow { display: inline-block; margin-bottom: 16px; padding: 5px 13px; border-radius: 40px; background: #eaf0f8; color: #345686; font-size: .8rem; font-weight: 700; }
body.seolab-public .people-team .seolab-hero { --hero-photo: url('../images/about-life/team-hero.avif'); }
body.seolab-public .people-culture .seolab-hero { --hero-photo: url('../images/about-life/culture-1.avif'); }
.people-hero__grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 80px; align-items: center; }
.people-hero__grid > div > p { max-width: 640px; }
.people-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.seolab-people .people-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 11px 22px; min-height: 48px; border: 1px solid #f9bc00; border-radius: 12px; background: #f9bc00; color: #182b46; text-decoration: none; font-size: .92rem; font-weight: 800; }
.seolab-people .people-button:hover { background: #ffd047; }
.seolab-people .people-button--outline { border-color: #a9bdd7; color: #345686; background: #ffffffb3; }
.people-hero-note { padding: 30px; border: 1px solid #d4e0ee; border-radius: 24px; background: #ffffffe6; box-shadow: 0 18px 46px #182b4614; }
.people-hero-note > span { display: block; font-size: 3rem; line-height: 1.3; color: #c79500; margin-bottom: 18px; }
.people-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; margin-bottom: 30px; }
.people-heading p { margin: 0; }
.seolab-people .culture-values { margin-top: 0; }
.seolab-people .culture-value { position: relative; padding: 32px; background: linear-gradient(145deg,#fff,#f5f8fc); border-color: #dce5f1; box-shadow: 0 8px 26px #182b4608; }
.seolab-people .culture-value:nth-child(2),.seolab-people .culture-value:nth-child(3) { border-top: 3px solid #f9bc00; }
.seolab-people .culture-value:nth-child(1),.seolab-people .culture-value:nth-child(4) { border-top: 3px solid #345686; }
.seolab-people .culture-value > span { display: inline-block; padding: 4px 10px; border-radius: 8px; background: #eaf0f8; font-size: .78rem; }
.people-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 240px; gap: 16px; }
.people-gallery__item { position: relative; display: block; overflow: hidden; border-radius: 20px; background: #eaf0f8; isolation: isolate; }
.people-gallery__item--featured { grid-column: span 2; grid-row: span 2; }
.people-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.people-gallery__item:hover img { transform: scale(1.035); }
.people-gallery__item::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,#0c1d33e6); pointer-events: none; }
.people-gallery__item > span { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; color: #fff; font-size: .88rem; font-weight: 700; }
.people-gallery__item i { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff80; border-radius: 50%; flex-shrink: 0; }
.people-banner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 36px; border-radius: 24px; padding: 36px; background: #182b46; }
.people-banner h2 { color: #fff; }
.people-banner p { color: #d1ddec; margin-bottom: 0; }
.people-banner .people-eyebrow { color: #fff; background: #304867; }
.seolab-people .team-grid { gap: 22px; margin-top: 36px; }
.seolab-people .team-card { border-color: #dce5f1; box-shadow: 0 8px 26px #182b4608; transition: box-shadow .2s,transform .2s; }
.seolab-people .team-card:hover { box-shadow: 0 18px 36px #182b4614; transform: translateY(-4px); }
.seolab-people .team-card__portrait { height: 245px; background: radial-gradient(ellipse at 50% 80%,#c9d9ec,#f1f5fb 75%); border-bottom: 3px solid #f9bc00; }
.seolab-people .team-card__portrait img { max-height: 210px; border-radius: 14px; }
.seolab-people .team-card__body { padding: 22px; }
.seolab-people .team-card h3 { color: #263f63; font-size: 1.25rem; }
.seolab-people .team-card p { font-size: .88rem; min-height: 3.8em; margin-bottom: 12px; }
.seolab-people .team-card a { display: inline-flex; align-items: center; gap: 20px; font-size: .8rem; text-decoration: none; padding: 6px 12px; border-radius: 8px; background: #eaf0f8; }
.people-working { padding: 32px; border-radius: 24px; border: 1px solid #dce5f1; background: #f4f7fb; }
.people-working > div:first-child { max-width: 720px; }
.people-working__steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.people-working__steps article { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid #dce5f1; }
.people-working__steps article > span { color: #345686; font-size: 1.7rem; font-weight: 800; }
.people-working__steps h3 { font-size: 1.1rem; margin: 14px 0 10px; }
.people-working__steps p { font-size: .9rem; margin: 0; }
.people-lightbox { width: min(1240px,94vw); max-width: 94vw; max-height: 94svh; padding: 20px; border: 1px solid #607797; border-radius: 20px; color: #fff; background: #13243b; }
.people-lightbox::backdrop { background: #060f1de0; backdrop-filter: blur(6px); }
.people-lightbox__toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.people-lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #637895; border-radius: 10px; background: #233b5b; color: #fff; font: inherit; cursor: pointer; }
.people-lightbox [data-life-close] { padding-inline: 16px; }
.people-lightbox__stage { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 16px; align-items: center; }
.people-lightbox__stage img { display: block; width: 100%; height: min(68svh,760px); object-fit: contain; }
.seolab-people .people-lightbox p { color: #e1eaf6; text-align: center; padding-top: 14px; margin: 0; }
.people-lightbox button:focus-visible { outline: 3px solid #f9bc00; outline-offset: 4px; }
html.people-lightbox-open { overflow: hidden; }
@media(max-width:991px) {
    .people-hero__grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .people-hero-note { display: none; }
    .people-heading { grid-template-columns: minmax(0,1fr); gap: 8px; }
    .people-gallery { grid-auto-rows: 190px; }
}
@media(max-width:575px) {
    .seolab-people .people-section { padding-top: 44px; }
    .people-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 200px; gap: 12px; }
    .people-gallery__item--featured { grid-column: span 2; grid-row: span 1; }
    .people-gallery__item:last-child { grid-column: span 2; }
    .people-gallery__item > span { font-size: .78rem; padding: 14px; }
    .people-gallery__item i { width: 28px; height: 28px; }
    .people-banner,.people-working__steps { grid-template-columns: minmax(0,1fr); }
    .people-banner,.people-working { padding: 24px; }
    .people-actions { gap: 10px; }
    .seolab-people .people-button { font-size: .84rem; padding: 10px 16px; }
    .people-lightbox { padding: 12px; }
    .people-lightbox__stage { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 6px; }
    .people-lightbox__stage button { min-width: 36px; }
    .people-lightbox__stage img { height: 60svh; }
}
@media(prefers-reduced-motion:reduce) { .people-gallery__item img,.seolab-people .team-card { transition: none; } }
@media(max-width:420px) {
    .people-gallery { grid-template-columns: minmax(0,1fr); grid-auto-rows: 240px; }
    .people-gallery__item--featured,.people-gallery__item:last-child { grid-column: auto; }
}
body.seolab-public .people-team .seolab-hero::before { background-position: center 25%; }

/* Give the new portrait photos room to show the people in the frame. */
.people-gallery__item--portrait { grid-row: span 2; }
.people-gallery__item--portrait:last-child { grid-column: auto; }

.culture-art-slider { grid-row: span 3; display: flex; flex-direction: column; width: 100%; max-width: 380px; justify-self: center; min-width: 0; min-height: 0; border: 1px solid #dce5ef; border-radius: 28px; overflow: hidden; background: #f4f7fb; box-shadow: 0 18px 45px #263f6310; }
.culture-art-slider__track { display: flex; direction: rtl; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #8fa7c6 #e7edf5; }
.culture-art-slide { position: relative; isolation: isolate; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; overflow: hidden; background: #182b46; }
.culture-art-slide::before { content: ''; position: absolute; z-index: -1; inset: -24px; background: linear-gradient(#13243b70,#13243ba0),var(--art-image) center / cover; filter: blur(18px); pointer-events: none; }
.culture-art-slide > a { display: block; position: relative; color: #fff; }
.culture-art-slider__track { flex: 1; min-height: 0; }
.culture-art-slide > a { height: 100%; }
.culture-art-slide > a > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.culture-art-slide__expand { position: absolute; left: 20px; bottom: 20px; display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; color: #fff; font-size: .76rem; border: 1px solid #ffffff70; border-radius: 30px; background: #13243ba8; backdrop-filter: blur(6px); }
.culture-art-slide__expand i { font-size: 1rem; }
.culture-art-slider__footer { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 12px 10px; }
.culture-art-slider__eyebrow { display: block; font-size: .72rem; font-weight: 700; color: #687e9b; margin-bottom: 6px; }
.seolab-people .culture-art-slider__footer p { color: #263f63; font-weight: 700; font-size: .78rem; margin: 0; line-height: 1.9; }
.culture-art-slider__controls { display: flex; align-items: center; justify-content: center; gap: 14px; flex-shrink: 0; }
.culture-art-slider [hidden] { display: none !important; }
.culture-art-slider__controls button { display: grid; place-items: center; width: 44px; height: 44px; background: #fff; color: #345686; border: 1px solid #c9d7e8; border-radius: 50%; font: inherit; font-size: 1.3rem; cursor: pointer; transition: background .2s,border-color .2s; }
.culture-art-slider__controls button:hover { background: #fff2bf; border-color: #e3be41; }
.culture-art-slider__controls > span { min-width: 46px; font-size: .86rem; font-weight: 700; text-align: center; color: #345686; }
.culture-art-slider__thumbnails { display: flex; justify-content: center; align-items: center; gap: 5px; padding: 0 10px 12px; }
.culture-art-slider__thumbnails button { width: calc((100% - 25px) / 6); max-width: 44px; height: 48px; padding: 2px; background: #fff; border: 2px solid transparent; border-radius: 9px; cursor: pointer; flex-shrink: 0; opacity: .65; transition: opacity .2s,border-color .2s; }
.culture-art-slider__thumbnails button[aria-pressed=true] { border-color: #345686; opacity: 1; box-shadow: 0 0 0 2px #fff; }
.culture-art-slider__thumbnails button:hover { opacity: 1; }
.culture-art-slider__thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.culture-art-slider :is(a,button):focus-visible,.culture-art-slider__track:focus-visible { outline: 3px solid #f9bc00; outline-offset: -4px; }
@media(max-width:575px) {
    /* Keep the slider as a regular gallery item on phones. Its image area
       follows the portrait proportions of a mobile screen and uses the full
       gallery column, so it sits naturally among the other photos. */
    .culture-art-slider { grid-column: auto; grid-row: span 2; width: 100%; max-width: none; aspect-ratio: 9 / 16; border-radius: 22px; }
    .culture-art-slide__expand { left: 12px; bottom: 12px; padding: 8px 11px; font-size: .7rem; }
    .culture-art-slider__thumbnails img { border-radius: 5px; }
}
@media(prefers-reduced-motion:reduce) { .culture-art-slider * { transition: none !important; scroll-behavior: auto !important; } }
.culture-art-slider__track { position: relative; }
.culture-art-slider { position: relative; }
.culture-art-slider__track { overflow-x: hidden; }
.culture-art-slider > .culture-art-slider__controls { position: absolute; z-index: 4; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; pointer-events: none; }
.culture-art-slider > .culture-art-slider__controls button { pointer-events: auto; color: #fff; background: #13243bb8; border-color: #ffffff80; }
.culture-art-slider > .culture-art-slider__controls > span { color: #fff; text-shadow: 0 1px 3px #000; }
