/* Transparent brand asset, balanced typography and editorial photo galleries. */
.logo-window{width:205px;height:51.25px;filter:none;mix-blend-mode:normal;overflow:visible}
.brand .logo-window .original-logo,.footer-logo .logo-window .original-logo{position:absolute;left:-7%;top:-36.5%;width:114.5%;height:auto;max-width:none;filter:brightness(0) invert(1);object-fit:initial}
.category-image-button{display:block;width:100%;height:100%;padding:0;background:none;cursor:zoom-in}
.category-image-button:focus-visible{outline:3px solid var(--green);outline-offset:-5px}
.drawing-stage.has-photo{min-height:0;height:410px}
.drawing-tag,.drawing-note,.drawing-corner{pointer-events:none}
.category-thumbnails{margin-top:12px}
.panel-description{display:block;margin-top:25px}
.category-copy h3{font-size:24px;line-height:1.45;margin-bottom:12px;font-weight:500}
.category-copy .category-lead{font-size:18px;line-height:1.9;color:var(--ink);margin-bottom:12px}
.category-copy>p:not(.category-lead){font-size:16px;line-height:2;color:#687264}
.category-items{display:flex;flex-wrap:wrap;list-style:none;gap:7px;margin-top:20px}
.category-items li{font-size:12px;line-height:1.7;border:1px solid #bec8b7;padding:5px 9px}
.category-gallery-link{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;background:transparent;border-bottom:1px solid #a6b49a;padding:13px 0;width:100%;margin-top:16px;color:var(--ink)}
.category-gallery-link>span:last-child{font:24px var(--latin)}
.category-gallery-count{font-size:10px;color:#788570;margin-top:9px}
.project-gallery-badge{position:absolute;bottom:12px;inset-inline-end:12px;background:#17201be8;color:#dbe9cf;font-size:11px;line-height:1.5;padding:6px 9px;backdrop-filter:blur(8px)}
.photo-gallery{margin:20px 0 28px}
.gallery-stage{position:relative;height:450px;max-height:52svh;background:#dde2d7;isolation:isolate;overflow:hidden}
/* Keep intrinsic image dimensions from expanding the gallery's layout track. */
.gallery-stage>img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;transform:none}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;background:#15211eef;color:white;font:24px var(--latin);display:grid;place-items:center;border:1px solid #ffffff42}
.gallery-arrow:hover{background:#526a42}.gallery-previous{left:12px}.gallery-next{right:12px}
.gallery-arrow[hidden]{display:none}
.gallery-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:12px 0 15px}
.gallery-caption{font-size:12px;color:#5e6e54;line-height:1.8}
.gallery-count{font:11px/1.8 var(--latin);color:#718465;flex:none;letter-spacing:1px}
.gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:3px 1px 6px;scrollbar-width:thin;scrollbar-color:#8da17b transparent}
.gallery-thumbnail{flex:0 0 84px;width:84px;height:62px;border:2px solid transparent;padding:3px;background:#e1e5da;opacity:.65;transition:opacity .2s,border-color .2s}
.gallery-thumbnail img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.gallery-thumbnail:hover,.gallery-thumbnail[aria-pressed=true]{opacity:1;border-color:#637e4e}
.category-thumbnails .gallery-thumbnail{flex:1 0 62px;max-width:110px;height:62px}
#detail-dialog,#project-dialog{width:min(960px,calc(100% - 32px));max-height:90svh}
#detail-dialog .dialog-inner,#project-dialog .dialog-inner{padding:54px 36px 34px}
#detail-dialog .dialog-inner>p:not(.eyebrow),#project-dialog .dialog-inner>p:not(.eyebrow){font-size:15px}
[dir=ltr] .category-copy h3{font-size:22px;letter-spacing:-.6px}
[dir=ltr] .category-copy>p{line-height:1.85}
.project-form input,.project-form select,.project-form textarea{font-size:14px}
@media(max-width:1100px){.logo-window{width:180px;height:45px}.drawing-stage.has-photo{height:375px}.category-copy h3{font-size:22px}}
@media(max-width:800px){.logo-window{width:156px;height:39px}.drawing-stage.has-photo{height:350px}.category-copy h3{font-size:20px}.category-copy .category-lead{font-size:14px}.category-copy>p:not(.category-lead){font-size:13px}.category-thumbnails .gallery-thumbnail{flex:0 0 60px;height:52px}.category-items li{font-size:10px}}
@media(max-width:560px){.logo-window{width:136px;height:34px}.brand{min-width:136px}.footer-logo .logo-window{width:180px;height:45px}.drawing-stage.has-photo{height:340px}.category-copy h3,[dir=ltr] .category-copy h3{font-size:22px}.category-copy>p:not(.category-lead){font-size:14px}.category-copy .category-lead{font-size:15px}.category-thumbnails .gallery-thumbnail{flex:1 0 50px;height:56px}.category-items li{font-size:11px}.gallery-thumbnail{flex-basis:70px;width:70px;height:56px}.gallery-stage{height:330px;max-height:45svh}.gallery-arrow{width:36px;height:36px;font-size:22px}.gallery-previous{left:7px}.gallery-next{right:7px}.gallery-caption{font-size:11px}.gallery-meta{gap:12px}.gallery-count{font-size:10px}#detail-dialog .dialog-inner,#project-dialog .dialog-inner{padding:52px 18px 28px}.project-form input,.project-form select,.project-form textarea{font-size:16px}.category-gallery-link{min-height:48px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.gallery-thumbnail{transition:none}}

/* OUR EXPERTISE: an automatic image sequence for the selected specialty. */
.expertise-photo-slide{position:absolute;inset:0;opacity:0;z-index:0;background:#172023;overflow:hidden}
.expertise-photo-slide.is-active{opacity:1;z-index:2;animation:expertise-slice-reveal .92s linear both,expertise-image-settle .92s cubic-bezier(.22,1,.36,1) both}
.expertise-photo-slide.is-active.is-initial{animation:none}
.expertise-photo-slide.is-leaving{opacity:1;z-index:1}
/* One image, revealed in three staggered vertical bands: no duplicate images or seams. */
@keyframes expertise-slice-reveal{
0%{clip-path:polygon(0 100%,33.333% 100%,33.333% 100%,66.667% 100%,66.667% 100%,100% 100%,100% 100%,0 100%)}
16.667%{clip-path:polygon(0 80%,33.333% 80%,33.333% 100%,66.667% 100%,66.667% 100%,100% 100%,100% 100%,0 100%)}
33.333%{clip-path:polygon(0 30%,33.333% 30%,33.333% 75%,66.667% 75%,66.667% 100%,100% 100%,100% 100%,0 100%)}
50%{clip-path:polygon(0 5%,33.333% 5%,33.333% 25%,66.667% 25%,66.667% 70%,100% 70%,100% 100%,0 100%)}
66.667%{clip-path:polygon(0 0,33.333% 0,33.333% 5%,66.667% 5%,66.667% 25%,100% 25%,100% 100%,0 100%)}
83.333%{clip-path:polygon(0 0,33.333% 0,33.333% 0,66.667% 0,66.667% 5%,100% 5%,100% 100%,0 100%)}
100%{clip-path:polygon(0 0,33.333% 0,33.333% 0,66.667% 0,66.667% 0,100% 0,100% 100%,0 100%)}
}
@keyframes expertise-image-settle{from{transform:scale(1.035) translateY(2%)}to{transform:scale(1) translateY(0)}}
.expertise-slide-image{width:100%;height:100%;object-fit:cover;max-width:none;transform:scale(1.03);filter:saturate(.78)}
.expertise-photo-slide.is-contained .expertise-slide-image{object-fit:contain}
/* Reuse the hero keyframes so zoom, pan and direction are identical. */
.expertise-photo-slide.is-active .expertise-slide-image,.expertise-photo-slide.is-leaving .expertise-slide-image{animation:photo-drift 9s linear both}
.expertise-photo-slide.is-reverse.is-active .expertise-slide-image,.expertise-photo-slide.is-reverse.is-leaving .expertise-slide-image{animation-name:photo-drift-reverse}
.expertise-slides-paused .expertise-slide-image{animation-play-state:paused!important}
.has-photo .drawing-tag,.has-photo .drawing-note,.has-photo .drawing-corner{z-index:3}
.expertise-slideshow-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #c4cdbb}
.expertise-slide-caption{font-size:12px;line-height:1.8;color:#68795c;min-width:0}
.expertise-slide-controls{display:flex;gap:5px;align-items:center;flex:none}
.expertise-slide-controls button{display:grid;place-items:center;min-width:36px;min-height:38px;background:transparent;color:#48613d;font:20px var(--latin);border:1px solid #c7d0bf}
.expertise-slide-controls button:hover{background:#dce4d2}
.expertise-slide-controls #category-slide-pause{font:11px var(--latin),var(--font);padding-inline:10px;min-width:73px}
.expertise-slide-counter{font:10px var(--latin);letter-spacing:1px;white-space:nowrap;color:#637757;margin-right:9px}
.expertise-slide-caption{height:3.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:800px){.expertise-slideshow-footer{flex-direction:column;align-items:stretch;gap:8px}.expertise-slide-controls{justify-content:flex-end}.expertise-slide-caption{font-size:11px}}
@media(max-width:560px){.expertise-slideshow-footer{flex-direction:row;align-items:center;gap:12px}.expertise-slide-caption{font-size:11px}.expertise-slide-controls{gap:4px}.expertise-slide-controls button{min-width:32px;min-height:36px;font-size:18px}.expertise-slide-controls #category-slide-pause{min-width:61px;padding-inline:6px;font-size:10px}.expertise-slide-counter{font-size:9px;letter-spacing:.5px;margin-right:4px}}
@media(prefers-reduced-motion:reduce){.expertise-photo-slide{animation:none!important}.expertise-slide-image{animation:none!important;transform:none}}
