/* Only the public /team/ page; header, form and footer retain the site's shared styles. */
.krsk-team-page .header .cell-benefits { padding-top:26px; padding-bottom:28px; }
.krsk-team-page .header .benefit-item { font-size:18px; line-height:1.55; }
.staff-page { background:#fff; color:#312e2d; }
.staff-page *, .staff-page *::before, .staff-page *::after { box-sizing:border-box; }
.staff-page h2, .staff-page h3 { font-family:var(--font-heading); color:inherit; text-transform:none; }
.staff-page h2 { margin:0 0 24px; font-size:clamp(28px,2.5vw,42px); font-weight:600; line-height:1.2; letter-spacing:-.025em; }
.staff-page p { margin:0 0 20px; font-size:20px; line-height:1.6; }
.staff-page p:last-child { margin-bottom:0; }
.staff-page figure { margin:0; }
.staff-page img { display:block; width:100%; height:auto; }
.staff-page button, .staff-page summary { -webkit-tap-highlight-color:transparent; }
.staff-page :is(button,summary):focus-visible { outline:2px solid #9c6f50; outline-offset:5px; }
.staff-department { padding:100px 0 0; }
.staff-department-cover { width:min(100%,1130px); margin:0 auto 88px !important; }
.staff-department-cover > img { aspect-ratio:3/2; object-fit:cover; }
.staff-department-cover figcaption { margin-top:26px; text-align:center; }
.staff-department-cover h2 { font-size:clamp(25px,2vw,34px); }
.staff-intro { display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,4.5vw,86px); align-items:center; }
.staff-intro-photo { min-width:0; }
.staff-intro-photo img { aspect-ratio:3/2; object-fit:cover; }
.staff-intro-copy { min-width:0; }
.staff-intro-copy p { color:#625d58; }
.staff-intro--architects { margin-top:112px; }
.staff-people + .staff-intro { margin-top:112px; }
.staff-intro + .staff-people { margin-top:60px; }
.staff-intro--reverse .staff-intro-photo { order:2; }
.staff-intro--text-only { grid-template-columns:1fr; }
.staff-intro--text-only .staff-intro-photo { display:none; }
.staff-section-heading--left { text-align:left; }
.staff-page > :is(.staff-department-cover,.staff-intro,.staff-section-heading,.staff-people) { max-width:var(--container-max); margin-left:auto; margin-right:auto; }
.staff-page > :is(.staff-intro,.staff-section-heading,.staff-people) { width:calc(100% - 40px); }
.staff-page > :is(.staff-intro,.staff-people) { margin-top:80px;margin-bottom:80px; }
.staff-page > .staff-department-cover { width:min(calc(100% - 40px),1130px);margin-top:80px!important; }
.staff-image-placeholder { width:100%;min-height:100px;background:#e7e3dd; }
.staff-person-photo .staff-image-placeholder { aspect-ratio:2/3; }
.staff-gallery .staff-image-placeholder { aspect-ratio:3/2; }
.staff-page [data-rich-text] { font-size:inherit;line-height:inherit; }
.staff-page [data-rich-text] p { margin:0 0 20px; }
.staff-page [data-rich-text]>:last-child { margin-bottom:0; }
.staff-section-heading { max-width:1180px; margin:80px auto 44px; text-align:center; }
.staff-section-heading p { color:#726c66; font-size:18px; line-height:1.65; }
.staff-section-heading h2 { margin-bottom:18px; }
.staff-people { display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:54px 26px; margin:0 auto; }
.staff-person { flex:0 1 calc((100% - 52px)/3); min-width:0; }
.staff-person-photo { overflow:hidden; background:#dedcd9; }
.staff-person-photo img { aspect-ratio:2/3; object-fit:cover; }
.staff-person-name { margin:22px 0 18px; font-size:25px; line-height:1.25; font-weight:500; text-align:center; }
.staff-people--two { max-width:1000px; }
.staff-people--two .staff-person { flex-basis:calc((100% - 26px)/2); }
.staff-bio { font-size:17px; line-height:1.65; }
.staff-bio > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; min-height:54px; list-style:none; color:#fff; background:#aa9d91; cursor:pointer; font-size:16px; font-weight:500; }
.staff-bio > summary::-webkit-details-marker { display:none; }
.staff-bio > summary::marker { content:''; }
.staff-plus { width:18px; height:18px; position:relative; flex-shrink:0; }
.staff-plus::before,.staff-plus::after { content:''; position:absolute; background:currentColor; top:8px; left:0; width:18px; height:1px; }
.staff-plus::after { transform:rotate(90deg); transition:transform .15s ease; }
.staff-bio[open] > summary .staff-plus::after { transform:rotate(0deg); }
.staff-bio[data-bio-open="0"] > summary .staff-plus::after { transform:rotate(90deg); }
.staff-bio-body { padding:22px 20px; background:#f6f3ef; }
.staff-bio-body p { font-size:17px; font-style:italic; line-height:1.65; color:#5c5650; }
.staff-department--office { margin-top:110px; padding:88px 0; background:#f6f4f1; }
.staff-department--office .staff-people, #renovation-department .staff-people { margin-top:60px; }
.staff-department--office .staff-bio-body { background:#fff; }
.staff-gallery-section { padding:110px 0 0; }
.staff-gallery-heading { display:flex; align-items:center; justify-content:space-between; gap:30px; margin-bottom:42px; }
.staff-gallery-heading h2 { margin-bottom:14px; }
.staff-gallery-heading p { color:#726c66; }
.staff-gallery-arrows { display:flex; gap:14px; flex-shrink:0; }
.staff-gallery-arrows button { display:grid; place-items:center; width:64px; height:64px; border:1px solid #b3a99f; border-radius:0; background:transparent; color:#312e2d; font-size:30px; line-height:1; cursor:pointer; transition:background .15s ease; }
.staff-gallery-arrows button:hover { background:#f0e8df; }
.staff-gallery-arrows button:disabled { opacity:.35; cursor:default; }
.staff-gallery { width:100%; padding:0 24px; overflow:hidden; }
.staff-gallery .swiper-slide { height:auto; width:46%; }
.staff-gallery .swiper-slide img { aspect-ratio:3/2; object-fit:cover; }
.staff-gallery figcaption { margin:16px 0 0; color:#726c66; font-size:16px; }
.staff-gallery-pagination { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:30px; min-height:24px; }
.staff-gallery-pagination .swiper-pagination-bullet { margin:0 !important; width:8px; height:8px; border-radius:50%; background:#aa9d91; opacity:.4; }
.staff-gallery-pagination .swiper-pagination-bullet-active { opacity:1; background:#312e2d; }
.staff-together { padding:40px 0 100px; }
.staff-together .staff-section-heading { margin-top:60px; }
.staff-together img { max-width:1380px; margin:auto; }
@media (max-width:1100px) {
    .staff-page p { font-size:18px; }
    .staff-intro { gap:32px; }
    .staff-bio-body { padding:18px 16px; }
    .staff-person-name { font-size:23px; }
    .staff-people { gap:40px 20px; }
    .staff-person { flex-basis:calc((100% - 40px)/3); }
}
@media (max-width:767px) {
    .krsk-team-page .header .benefit-item { font-size:16px; }
    .staff-department { padding-top:54px; }
    .staff-department-cover { margin-bottom:48px !important; }
    .staff-department-cover figcaption { margin-top:20px; }
    .staff-page h2 { font-size:28px; }
    .staff-page p { font-size:17px; }
    .staff-intro { grid-template-columns:1fr; gap:28px; }
    .staff-intro--architects { margin-top:64px; }
    .staff-people + .staff-intro { margin-top:64px; }
    .staff-intro + .staff-people { margin-top:36px; }
    .staff-intro--reverse .staff-intro-photo { order:0; }
    .staff-section-heading { margin:52px auto 30px; }
    .staff-section-heading p { font-size:16px; }
    .staff-people { gap:34px 18px; }
    .staff-person { flex-basis:calc((100% - 18px)/2); }
    .staff-person-name { margin-top:17px; font-size:22px; }
    .staff-department--office { margin-top:64px; padding:54px 0; }
    .staff-department--office .staff-people, #renovation-department .staff-people { margin-top:36px; }
    .staff-gallery-section { padding-top:64px; }
    .staff-gallery-heading { gap:20px; align-items:flex-end; margin-bottom:28px; }
    .staff-gallery-arrows { gap:8px; }
    .staff-gallery-arrows button { width:46px; height:46px; font-size:24px; }
    .staff-gallery { padding:0 18px; }
    .staff-gallery .swiper-slide { width:88%; }
    .staff-together { padding:12px 0 60px; }
    .staff-together .staff-section-heading { margin-top:44px; }
}
@media (max-width:540px) {
    .staff-person, .staff-people--two .staff-person { flex-basis:100%; }
    .staff-person { max-width:420px; }
    .staff-person-name { font-size:24px; }
    .staff-gallery-heading { display:block; }
    .staff-gallery-arrows { margin-top:24px; }
    .staff-bio-body p { font-size:16px; }
}
@media (prefers-reduced-motion:reduce) {
    .staff-page *, .staff-page *::before, .staff-page *::after { scroll-behavior:auto !important; transition:none !important; }
}
