/* Authentic P&S photography. All slides share one frame, originals open in a dialog. */
.hero-classic-photo.hero-colleagues{width:100%;height:auto;aspect-ratio:auto;background:none;margin:0;min-width:0;justify-self:stretch}
.hero-colleagues .hero-photo-frame{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;aspect-ratio:16/10;background:#c5c8b7}
.hero-colleagues .hero-photo-frame>img{width:100%;height:100%;object-fit:cover;object-position:42% 40%;filter:brightness(1.055) saturate(1.02)}
.hero-colleagues .hero-photo-frame:after{content:"";position:absolute;inset:0;border:1px solid #25282012;border-radius:inherit;pointer-events:none}
.hero-colleagues .hero-sun{position:absolute;right:18px;top:18px;display:grid;place-items:center;background:var(--yellow);color:var(--ink);width:58px;height:58px;border-radius:50%;box-shadow:0 4px 18px #25282012}
.hero-sun svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.hero-colleagues figcaption{display:flex;align-items:center;gap:9px;padding:0;margin-top:12px;font-size:14px;line-height:1.5;color:var(--muted);font-weight:600}
.hero-colleagues figcaption:before{content:"";width:24px;height:3px;background:var(--yellow);flex-shrink:0}
.project-gallery{padding-block:62px 70px;min-width:0;border-top:1px solid var(--line)}
.project-gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:28px}
.project-gallery-heading h2{font-size:clamp(32px,3.4vw,48px);line-height:1.12;margin-top:12px;max-width:780px}
.project-gallery-heading>p{font-size:15px;line-height:1.6;max-width:220px;padding-bottom:3px}
.project-gallery-track{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:10px;min-width:0;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
.project-gallery-track::-webkit-scrollbar{display:none}
.project-gallery-track:focus-visible{outline:3px solid #927b00;outline-offset:6px}
.project-gallery-slide{flex:0 0 calc((100% - 20px)/2);min-width:0;scroll-snap-align:start;scroll-snap-stop:normal;margin:0}
.project-gallery-image{display:block;position:relative;overflow:hidden;border-radius:10px;aspect-ratio:4/3;background:#e9e9df;cursor:zoom-in;-webkit-user-drag:none;user-select:none}
.project-gallery-image img{width:100%;height:100%;object-fit:cover;object-position:var(--project-position,50% 50%);transition:transform .5s ease;pointer-events:none;-webkit-user-drag:none}
@media(hover:hover){.project-gallery-image:hover img{transform:scale(1.025)}}
.project-gallery-zoom{position:absolute;bottom:14px;right:14px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fffffff0;color:var(--ink);box-shadow:0 2px 10px #00000012}
.project-gallery-zoom svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.project-gallery-slide figcaption{padding-top:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px}
.project-gallery-category{grid-column:1;font-size:10px;line-height:1.5;letter-spacing:.1em;font-weight:800;color:var(--muted)}
.project-gallery-slide h3{grid-column:1;font-size:20px;line-height:1.35;letter-spacing:-.035em;font-weight:700}
.project-gallery-number{grid-column:2;grid-row:1/3;align-self:center;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.project-gallery-footer{display:flex;align-items:center;gap:22px;justify-content:space-between;margin-top:26px}
.project-gallery-position{font-size:12px;letter-spacing:.07em;color:var(--muted);font-variant-numeric:tabular-nums;min-width:86px}
.project-gallery-progress{width:144px;height:3px;overflow:hidden;background:var(--line);margin-right:auto;border-radius:4px}
.project-gallery-progress span{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;background:var(--ink)}
.project-gallery-controls{display:flex;gap:8px}
.project-gallery-controls button,.gallery-dialog-controls button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;border:1px solid #cacdbf;background:transparent;color:var(--ink);transition:background .2s}
.project-gallery-controls button:hover:not(:disabled){background:var(--yellow);border-color:var(--yellow)}
.project-gallery-controls button:disabled{opacity:.3;cursor:default}
.project-gallery-controls svg,.gallery-dialog-controls svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.project-gallery-track.is-dragging{scroll-snap-type:none;cursor:grabbing}
.project-gallery-track.is-dragging a{cursor:grabbing}
.gallery-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body:has(.gallery-dialog[open]){overflow:hidden}
.gallery-dialog{padding:0;border:0;border-radius:12px;width:min(1120px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);background:#f8f7f1;color:var(--ink);box-shadow:0 12px 100px #0000003b;overflow:hidden}
.gallery-dialog::backdrop{background:#1c201de8}
.gallery-dialog-content{display:flex;flex-direction:column;max-height:calc(100dvh - 40px)}
.gallery-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 22px;border-bottom:1px solid var(--line)}
.gallery-dialog-head .eyebrow{font-size:10px}
.gallery-dialog-close{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:42px;height:42px;background:transparent;color:var(--ink);font-size:28px;line-height:1}
.gallery-dialog-image{display:block;min-height:0;max-height:calc(100dvh - 204px);width:100%;object-fit:contain;background:#e9e9e1;flex:1}
.gallery-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;flex-shrink:0}
.gallery-dialog-title{font-size:18px;font-weight:700;line-height:1.4;color:var(--ink)}
.gallery-dialog-meta{font-size:12px;margin-top:5px;color:var(--muted);font-variant-numeric:tabular-nums}
.gallery-dialog-controls{display:flex;gap:8px;flex-shrink:0}
@media(max-width:700px){
 .hero-colleagues .hero-photo-frame{aspect-ratio:4/3}
 .hero-colleagues .hero-photo-frame>img{object-position:41% 40%}
 .hero-colleagues .hero-sun{top:12px;right:12px;width:44px;height:44px}
 .hero-sun svg{width:27px;height:27px}
 .hero-colleagues figcaption{font-size:13px}
 .project-gallery{padding-block:36px 40px}
 .project-gallery-heading{display:block;margin-bottom:22px}
 .project-gallery-heading h2{font-size:34px;line-height:1.14;max-width:360px}
 .project-gallery-heading>p{margin-top:14px;max-width:none;font-size:15px}
 .project-gallery-track{gap:14px}
 .project-gallery-slide{flex-basis:89%}
 .project-gallery-slide figcaption{padding-top:13px}
 .project-gallery-slide h3{font-size:19px}
 .project-gallery-category{font-size:9px}
 .project-gallery-footer{gap:16px;margin-top:21px}
 .project-gallery-progress{width:82px}
 .gallery-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}
 .gallery-dialog-content{max-height:calc(100dvh - 24px)}
 .gallery-dialog-head{padding:12px 15px}
 .gallery-dialog-image{max-height:calc(100dvh - 205px)}
 .gallery-dialog-foot{padding:14px 15px;gap:12px}
 .gallery-dialog-title{font-size:15px}
 .gallery-dialog-controls button{width:38px;height:38px;flex-basis:38px}
}
@media(prefers-reduced-motion:reduce){.project-gallery-image img,.project-gallery-controls button{transition:none}}
