/* Photo navigation follows the existing mineral palette and type system. */
.gallery-section{padding-block:68px 72px}
.gallery-section:focus{outline:none}
.gallery-section .section-heading{margin-bottom:30px}
.gallery-heading-action{display:flex;flex-direction:column;align-items:start;gap:20px}
.gallery-heading-action p{padding:0}
.route-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:13px 19px;background:var(--navy);color:var(--paper);border:1px solid transparent;border-radius:var(--radius);text-decoration:none;font:500 13px/1.45 var(--body);transition:background .2s}
.route-button:hover{background:var(--ink)}
.route-button .icon{width:18px;height:18px;transition:transform .2s}
.route-button:hover .icon,.route-button:focus-visible .icon{transform:translate(2px,-2px)}
.route-button.soft{background:var(--navy-soft);color:var(--ink)}
.route-button.soft:hover{background:var(--line)}
.route-button.on-dark{background:var(--paper);color:var(--navy)}
.route-button.on-dark:hover{background:var(--navy-soft)}
.gallery-filterbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.gallery-filterbar[hidden]{display:none}
.gallery-filter{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:10px 17px;background:var(--bg);color:var(--muted);border:0;border-radius:var(--radius);font-size:13px;line-height:1.5;transition:background .2s,color .2s}
.gallery-filter:hover{background:var(--navy-soft);color:var(--ink)}
.gallery-filter[aria-pressed=true]{background:var(--navy);color:var(--paper)}
.gallery-filter .filter-count{font-size:11px;font-weight:400;opacity:.9}
.service-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.service-card{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.service-card[hidden]{display:none}
.service-card-photo{display:block;aspect-ratio:1.9;overflow:hidden;background:var(--bg)}
.service-card-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.service-card-body{display:flex;flex-direction:column;align-items:start;padding:24px;flex:1}
.service-card h3{font-size:25px;line-height:1.2;letter-spacing:-.035em;max-width:19ch;text-wrap:initial}
.service-card p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:13px;max-width:38ch;flex:1}
.card-action{display:inline-flex;align-items:center;gap:20px;min-height:46px;padding:11px 15px;background:var(--navy-soft);color:var(--ink);border-radius:var(--radius);font-size:12px;font-weight:500;line-height:1.5;margin-top:22px;transition:background .2s,color .2s}
.card-action .icon{width:17px;height:17px;transition:transform .2s}
.service-card:hover .card-action,.service-card:focus-visible .card-action{background:var(--navy);color:var(--paper)}
.service-card:hover img,.service-card:focus-visible img{transform:scale(1.035)}
.service-card:hover .card-action .icon,.service-card:focus-visible .card-action .icon{transform:translate(2px,-2px)}
.gallery-foot{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:26px}
.gallery-foot p{font-size:11px;color:var(--muted);line-height:1.7;max-width:70ch}
.gallery-foot .route-button{flex-shrink:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.product-gallery-section{background:var(--bg);padding-block:72px}
.product-gallery-section .section-heading{align-items:end;margin-bottom:34px}
.product-gallery-section .gallery-heading-action{gap:19px}
.product-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}
.product-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--paper);border-radius:var(--radius);text-decoration:none}
.product-card-photo{display:block;overflow:hidden;height:240px;background:var(--navy-soft)}
.product-card-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.product-card-body{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;min-height:128px;flex:1}
.product-card-body h3{font-size:25px;line-height:1.2;letter-spacing:-.035em;max-width:16ch;text-wrap:initial}
.product-card.primary .product-card-body h3{font-size:32px}
.product-card-body p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:10px;max-width:28ch}
.product-card-link{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;background:var(--navy-soft);color:var(--navy);border-radius:var(--radius);transition:background .2s,color .2s}
.product-card-link .icon{width:21px;height:21px;transition:transform .2s}
.product-card:hover img,.product-card:focus-visible img{transform:scale(1.035)}
.product-card:hover .product-card-link,.product-card:focus-visible .product-card-link{background:var(--navy);color:var(--paper)}
.product-card:hover .product-card-link .icon,.product-card:focus-visible .product-card-link .icon{transform:translate(2px,-2px)}
.product-gallery-section .gallery-foot{margin-top:22px}
.process-bottom .route-button{flex-shrink:0}
.trust-copy .route-button{margin-top:22px}

/* The page directory is a review aid with real links, not the future sitemap. */
.directory-page{background:var(--paper)}
.directory-header{padding-block:32px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}
.directory-header .brand-mark{color:var(--ink)}
.directory-intro{padding-block:56px 32px;max-width:900px}
.directory-intro h1{font-size:clamp(36px,5vw,62px);max-width:20ch}
.directory-intro p{font-size:17px;color:var(--muted);max-width:65ch;margin-top:24px}
.directory-groups{display:grid;grid-template-columns:1fr 1fr;gap:48px 64px;padding-bottom:72px}
.directory-group h2{font-size:30px;margin-bottom:20px}
.directory-group ul{list-style:none;padding:0;margin:0}
.directory-group a{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:54px;padding-block:13px;border-bottom:1px solid var(--line);font-size:15px;text-decoration:none}
.directory-group a:hover{color:var(--action)}
.directory-group .icon{width:16px;height:16px;flex-shrink:0}
.directory-note{padding-block:24px 48px;font-size:13px;color:var(--muted);border-top:1px solid var(--line)}

@media(max-width:1190px){.service-gallery{gap:20px}.service-card-body{padding:22px}.service-card h3{font-size:23px}.service-card p{font-size:13px}.product-gallery{grid-template-columns:1.6fr 1fr 1fr;gap:16px}.product-card-photo{height:218px}.product-card-body{padding:20px;gap:12px}.product-card-body h3{font-size:23px}.product-card.primary .product-card-body h3{font-size:29px}.product-card-link{width:44px;height:44px}}
@media(max-width:920px){.service-gallery{grid-template-columns:1fr 1fr}.service-card-photo{aspect-ratio:1.8}.product-gallery{grid-template-columns:1fr 1fr}.product-card.primary{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr}.product-card.primary .product-card-photo{height:270px}.product-card.primary .product-card-body{align-items:center;min-height:0;padding:30px}.product-card-photo{height:220px}.product-card-body{min-height:130px}.gallery-foot{align-items:start}.directory-groups{gap:40px}}
@media(max-width:600px){.gallery-section{padding-block:52px}.gallery-section .section-heading{margin-bottom:24px}.gallery-filterbar{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-block:4px 10px;margin-bottom:18px}.gallery-filter{flex-shrink:0;font-size:12px;padding:10px 14px}.service-gallery{grid-template-columns:1fr;gap:20px}.service-card-photo{aspect-ratio:2}.service-card-body{padding:22px}.service-card h3{font-size:26px;min-height:0;max-width:20ch}.service-card p{font-size:14px;margin-top:12px;max-width:42ch}.card-action{margin-top:20px;font-size:12px;min-height:46px}.gallery-foot{flex-direction:column;gap:20px;margin-top:24px}.gallery-foot p{font-size:11px}.gallery-foot .route-button{width:100%;justify-content:space-between}.product-gallery-section{padding-block:52px}.product-gallery-section .section-heading{margin-bottom:28px}.gallery-heading-action{gap:20px}.gallery-heading-action .route-button{width:100%;justify-content:space-between}.product-gallery{grid-template-columns:1fr;gap:20px}.product-card.primary{display:flex;grid-column:auto}.product-card.primary .product-card-photo,.product-card-photo{height:auto;aspect-ratio:1.8}.product-card.primary .product-card-body,.product-card-body{min-height:126px;padding:23px;gap:24px}.product-card.primary .product-card-body h3,.product-card-body h3{font-size:27px;max-width:19ch}.product-card-body p{font-size:13px}.product-card-link{width:48px;height:48px}.process-bottom .route-button{font-size:12px;min-height:48px}.trust-copy .route-button{font-size:12px;width:100%;justify-content:space-between}.directory-header{padding-block:22px}.directory-header .route-button{font-size:11px;padding-inline:14px}.directory-intro{padding-block:36px 32px}.directory-intro p{font-size:15px}.directory-groups{grid-template-columns:1fr;gap:36px;padding-bottom:48px}.directory-group h2{font-size:28px}.directory-group a{font-size:14px;min-height:52px}}
@media(prefers-reduced-motion:reduce){.service-card img,.product-card img,.card-action,.card-action .icon,.product-card-link,.product-card-link .icon,.route-button,.route-button .icon,.gallery-filter{transition:none;transform:none!important}}
