/* Categorized real project photographs */
.portfolio-nav{display:flex;flex-wrap:wrap;gap:10px;padding-top:4px;padding-bottom:28px}
.portfolio-nav a{padding:10px 16px;border:1px solid var(--line);border-radius:3px;font-size:15px;line-height:1.5}
.portfolio-nav a:hover,.portfolio-nav a:focus-visible{background:var(--ink);color:var(--paper)}
.portfolio-section{padding-top:24px;padding-bottom:65px;scroll-margin-top:20px}
.portfolio-heading{display:flex;justify-content:space-between;align-items:end;gap:36px;border-top:1px solid var(--line);padding:30px 0 27px}
.portfolio-heading h2{font:400 clamp(34px,4vw,52px)/1.12 var(--serif);letter-spacing:-.035em;margin:13px 0 0}
.portfolio-heading>p{max-width:450px;margin:0;font-size:17px;line-height:1.85;color:var(--muted)}
.category-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 26px;padding-bottom:0}
.category-gallery figure:nth-child(n){grid-column:auto;min-width:0;scroll-margin-top:20px}
.category-gallery figure:nth-child(n) .gallery-button{height:auto;aspect-ratio:4/5;background:#eae5d9}
.category-gallery .gallery-button img{object-fit:contain}
.category-gallery .gallery-button:hover img{transform:scale(1.018)}
.category-gallery figcaption h3{font:400 27px/1.25 var(--serif);letter-spacing:-.02em;margin:0 0 8px}
.category-gallery figcaption p{font-size:14px;line-height:1.7}
.service-showcase{padding-top:12px;padding-bottom:90px}
.service-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 26px}
.service-showcase-card{min-width:0;scroll-margin-top:20px}
.showcase-photo{display:block;aspect-ratio:4/5;overflow:hidden;border-radius:7px;background:var(--stone)}
.showcase-photo img{width:100%;height:100%;object-fit:contain;transition:transform .4s}
.showcase-photo:hover img{transform:scale(1.018)}
.service-showcase-card h3{font:400 33px/1.2 var(--serif);margin:23px 0 14px}
.service-showcase-card>p{font-size:17px;line-height:1.8;color:var(--muted);margin:0 0 22px}
.service-showcase-card .text-link{font-size:16px}
@media(max-width:1050px){.category-gallery,.service-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-heading{align-items:start}.portfolio-heading>p{max-width:370px}}
@media(max-width:700px){.portfolio-nav{gap:8px;padding-bottom:20px}.portfolio-nav a{font-size:14px;padding:8px 12px}.portfolio-heading{display:block;padding:25px 0}.portfolio-heading>p{margin-top:18px;max-width:none;font-size:16px}.category-gallery,.service-showcase-grid{grid-template-columns:1fr;gap:35px}.portfolio-section{padding-bottom:40px}.category-gallery figure:nth-child(n) .gallery-button{max-height:480px;aspect-ratio:4/5}.service-showcase{padding-bottom:60px}.showcase-photo{max-height:440px}.service-showcase-card h3{font-size:31px}.service-showcase-card>p{font-size:16px}}

.category-gallery[data-count="1"]{grid-template-columns:minmax(0,740px)}
.category-gallery[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.category-gallery figure:nth-child(n) .gallery-button{max-height:530px}
.category-gallery[data-count="1"] figure:nth-child(n) .gallery-button{aspect-ratio:4/3}
@media(max-width:700px){.category-gallery[data-count="1"],.category-gallery[data-count="2"]{grid-template-columns:1fr}.category-gallery figure:nth-child(n) .gallery-button{max-height:480px}}
