/* Rounded media and a segmented collection control. */
[hidden]{display:none!important}
.feature,.portrait-placeholder,dialog{border-radius:24px}
.project-image{border-radius:20px;isolation:isolate}
.media-tag{border-radius:20px}
.modal-art{border-radius:24px 24px 0 0;overflow:hidden}
.work-toolbar{gap:20px;align-items:center}
.filters{display:inline-flex;gap:4px;flex-wrap:nowrap;padding:5px;border-radius:999px;background:rgba(114,142,196,.12);border:1px solid rgba(135,164,219,.13);width:max-content;max-width:100%;isolation:isolate}
.filters button{border:0;border-radius:999px;background:transparent;min-height:44px;padding:10px 21px;font-size:13px;white-space:nowrap;color:#afbdd5;transition:background .2s,color .2s,box-shadow .2s}
.filters button.active,.filters button[aria-selected="true"]{background:#2c6bc2;color:#f5f9ff;border:0;box-shadow:0 2px 10px #0004,inset 0 1px 0 #a4d0ff40}
.filters button:not(.active):hover{background:rgba(89,137,207,.12);color:#f0f4ff}
.filters sup{margin-left:5px;font-size:8px;opacity:.75}
.view-all{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;color:#79b7ff;font-size:13px;white-space:nowrap;margin-left:auto}
.view-all span{font-size:19px}
.view-all:hover{color:var(--white)}
.gallery-section{min-height:75vh;padding-top:32px;padding-bottom:80px}
.gallery-back{margin-bottom:35px;min-height:44px;gap:14px}
.gallery-back .gallery-back-label{font-size:13px;color:var(--light)}
.gallery-section .section-heading{gap:24px;align-items:end}
#gallery-title{font-size:clamp(38px,5vw,76px);line-height:1.1;margin:0;max-width:100%;outline:none}
.gallery-count{white-space:nowrap}
.gallery-filters{margin-bottom:30px}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
.gallery-grid .project{min-width:0}
.gallery-grid .project-image{aspect-ratio:1.3}
.gallery-grid .project-info{flex-wrap:wrap}
@media(max-width:800px){
 .header-actions .contact-pill{display:none}
 .header nav a[href="#contact"]{display:flex;justify-content:space-between;color:#79b7ff}
 .header-actions{gap:14px}
 .header nav{border-radius:0 0 24px 24px}
 .feature,.portrait-placeholder{border-radius:20px}
 .project-image{border-radius:16px}
 .work-toolbar{gap:12px;flex-wrap:nowrap;padding-top:20px;margin-bottom:22px}
 .filters{gap:2px;padding:4px;flex-shrink:0}
 .filters button{font-size:12px;padding:9px 14px;min-height:44px}
 .filters sup{font-size:7px;margin-left:3px}
 .view-all{font-size:12px;gap:5px;min-width:0}
 .project-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:0;padding:4px 0 22px;scrollbar-width:thin;scrollbar-color:#365f93 transparent}
 .project-grid .project{scroll-snap-align:start;scroll-snap-stop:normal;align-self:start;min-width:0}
 .project-grid .project-image{aspect-ratio:1.12}
 .project-grid .project-info{display:block}
 .project-grid .project-info strong{font-size:16px;line-height:1.5;margin-bottom:5px}
 .project-grid .project-info small{font-size:11px;line-height:1.5}
 .project:focus-visible{outline-offset:2px;border-radius:18px}
 .gallery-grid{gap:24px 14px}
 .gallery-grid .project-info{display:block;padding-top:10px}
 .gallery-grid .project-info strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
 .gallery-grid .project-info small{font-size:10px;line-height:1.5;display:block}
 .gallery-grid .project-image{aspect-ratio:.88}
 .gallery-grid .media-tag{left:8px;top:8px;font-size:7px;padding:5px 7px}
 .gallery-grid .view-mark{width:26px;height:26px;bottom:10px;right:10px;font-size:14px}
 .gallery-section{padding-top:22px}
 .gallery-back{margin-bottom:25px}
 .gallery-section .section-heading{display:block;margin-bottom:24px}
 .gallery-count{margin-top:14px!important}
 #gallery-title,html[lang="en"] #gallery-title{font-size:clamp(34px,7vw,54px)}
}
@media(max-width:480px){
 .header .wordmark{font-size:21px}
 .header-actions{gap:12px}
 .filters sup{display:none}
 .filters button{font-size:12px;padding:9px 13px}
 .filters{gap:0;padding:4px}
 .view-all{font-size:11px;gap:4px}
 .view-all span{font-size:16px}
 .work-toolbar{gap:8px}
 .project-grid{grid-auto-columns:87%;gap:14px}
 .gallery-grid{gap:22px 12px}
 .gallery-grid .project-info strong{font-size:13px}
 .gallery-grid .project-info small{font-size:9px}
 .gallery-grid .project-image{border-radius:16px}
}
@media(max-width:350px){
 .filters button{font-size:11px;padding:9px 10px}
 .view-all{font-size:10px}
 .project-grid{grid-auto-columns:88%}
}
@media(prefers-reduced-motion:reduce){.filters button{transition:none}.project-grid{scroll-behavior:auto}}
