/* Services catalog: shared typography, spacing and controls live in styles.css. */
.services-page{background:var(--surface-base)}
.desktop-nav a[aria-current=page],.mobile-menu a[aria-current=page]{color:var(--accent);text-decoration:underline;text-underline-offset:6px}
.catalog-hero{display:grid;grid-template-columns:1.25fr .75fr;gap:var(--space-10);align-items:center;min-height:590px}
.catalog-intro{min-width:0;position:relative;z-index:1}.catalog-eyebrow{font-size:11px;letter-spacing:.14em;color:var(--accent);margin-bottom:var(--space-9)}
.catalog-hero h1{font-size:clamp(52px,6.2vw,92px);font-weight:500;line-height:1.02;letter-spacing:-.025em;text-wrap:balance}
.catalog-lead{margin:var(--space-9) 0 var(--space-8);color:var(--text-secondary);font-size:16px;max-width:470px}
.catalog-hero-art{background:var(--surface-dark);position:relative;height:470px;overflow:hidden}.catalog-hero-art img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;transform:scale(1.03)}
.catalog-photo-label{position:absolute;bottom:var(--space-8);left:var(--space-8);color:var(--text-on-dark);font-size:var(--font-small)}
.catalog-index{padding:var(--space-8) var(--content-inset);display:flex;flex-wrap:wrap;gap:var(--space-6) var(--space-8);border-block:1px solid var(--line);background:var(--surface-base)}
.catalog-index a{display:flex;align-items:center;gap:var(--space-3);font-size:12px;min-height:44px}.catalog-index a span{font-size:10px;font-variant-numeric:tabular-nums;color:var(--accent)}.catalog-index a:hover{color:var(--accent)}
.catalog-chapter{scroll-margin-top:0}.catalog-chapter+.catalog-chapter{border-top:1px solid var(--line)}
.chapter-heading{display:grid;grid-template-columns:1fr 1.1fr;gap:var(--space-11);align-items:baseline;margin-bottom:var(--space-11)}
.chapter-heading h2{font-size:clamp(40px,4.5vw,68px);font-weight:500;text-wrap:balance}.chapter-number{font-size:12px;letter-spacing:.14em;color:var(--accent);font-variant-numeric:tabular-nums}
.chapter-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(32px,6vw,112px);align-items:start}.chapter-visual{position:sticky;top:calc(var(--header-height) + var(--space-8));min-width:0}.chapter-photo{margin:0;position:relative;background:var(--surface-raised);overflow:hidden;isolation:isolate}.chapter-photo img{width:100%;height:clamp(400px,40vw,590px);object-fit:cover}.chapter-photo:after{content:'';position:absolute;inset:50% 0 0;z-index:0;pointer-events:none;background:linear-gradient(transparent,rgb(0 0 0 / .65))}
.chapter-photo figcaption{position:absolute;bottom:var(--space-8);inset-inline:var(--space-8);z-index:1;color:var(--text-on-dark);display:flex;justify-content:space-between;align-items:end;gap:var(--space-6);font-size:13px}.chapter-photo figcaption span:last-child{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.chapter-controls{display:flex;justify-content:space-between;align-items:center;margin-top:var(--space-6)}.chapter-controls>div{display:flex;gap:var(--space-2)}.chapter-controls .icon-button{border:1px solid var(--line)}.chapter-controls .icon-button:hover{background:var(--accent);color:var(--text-on-dark)}
.chapter-description{color:var(--text-secondary);max-width:640px;line-height:1.7;margin-bottom:var(--space-9)}.work-list-label{font-size:11px;color:var(--accent);margin-bottom:var(--space-6);letter-spacing:.03em}
.catalog-item{border-top:1px solid var(--line);min-width:0}.catalog-item:last-child{border-bottom:1px solid var(--line)}.catalog-item summary{display:grid;grid-template-columns:22px 1fr 24px;align-items:center;gap:var(--space-6);padding:var(--space-8) 0;cursor:pointer;list-style:none;min-height:80px;font-size:16px;line-height:1.4}.catalog-item summary::-webkit-details-marker{display:none}.work-number{color:var(--text-secondary);font-size:10px;font-variant-numeric:tabular-nums}.work-toggle{text-align:right;font-size:22px;line-height:1;transition:transform var(--duration-fast)}.catalog-item[open] summary,.catalog-item summary:hover{color:var(--accent-hover)}.catalog-item[open] .work-toggle{transform:rotate(45deg)}.catalog-item .disclosure-content>p{padding:0 40px var(--space-9) 38px;color:var(--text-secondary);font-size:14px;line-height:1.8;text-wrap:pretty;max-width:65ch}.chapter-action{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-6) var(--space-8);margin-top:var(--space-10)}
.catalog-chapter:nth-child(even) .chapter-visual{order:2}.catalog-chapter:nth-child(even) .chapter-content{order:1}.catalog-chapter:nth-child(even) .chapter-heading h2{grid-column:1;grid-row:1}.catalog-chapter:nth-child(even) .chapter-heading .chapter-number{grid-column:2;grid-row:1;text-align:right}
@media(max-width:900px){.catalog-hero{grid-template-columns:1.2fr .8fr;gap:var(--space-8);min-height:460px}.catalog-hero h1{font-size:58px}.catalog-hero-art{height:380px}.chapter-layout,.chapter-heading{gap:var(--space-8);grid-template-columns:1fr 1.05fr}.chapter-photo img{height:450px}.catalog-item summary{font-size:14px;gap:var(--space-3)}.catalog-item .disclosure-content>p{padding-left:32px;padding-right:0}}
@media(max-width:600px){.catalog-chapter:nth-child(even) .chapter-visual,.catalog-chapter:nth-child(even) .chapter-content{order:initial}.catalog-chapter:nth-child(even) .chapter-heading h2,.catalog-chapter:nth-child(even) .chapter-heading .chapter-number{grid-column:auto;grid-row:auto;text-align:left}.catalog-hero{grid-template-columns:1fr;gap:var(--space-9);min-height:0}.catalog-eyebrow{font-size:10px;letter-spacing:.06em;margin-bottom:var(--space-8)}.catalog-hero h1{font-size:clamp(45px,11vw,62px)}.catalog-lead{font-size:14px;margin-top:var(--space-8)}.catalog-hero-art{height:280px}.catalog-index{padding:var(--space-4) var(--gutter);gap:var(--space-8);flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain}.catalog-index a{flex-shrink:0}.chapter-heading{grid-template-columns:1fr;gap:var(--space-6);margin-bottom:var(--space-8)}.chapter-heading h2{font-size:42px}.chapter-layout{grid-template-columns:1fr;gap:var(--space-9)}.chapter-visual{position:relative;top:auto}.chapter-photo img{height:350px}.chapter-photo figcaption{inset-inline:var(--space-6);bottom:var(--space-6)}.chapter-description{font-size:14px;margin-bottom:var(--space-8)}.catalog-item summary{font-size:15px}.chapter-action{align-items:start;flex-direction:column}.chapter-action .button{width:100%}}
@media(prefers-reduced-motion:reduce){.catalog-hero-art img{transform:none}.work-toggle{transition:none}}

.chapter-lede{font-family:var(--font-heading);font-size:clamp(24px,2.4vw,36px);line-height:1.3;max-width:28ch;margin-bottom:var(--space-10);text-wrap:balance}
.direction-info{margin-top:var(--space-9);font-size:12px}.direction-info+.direction-description-source+.chapter-action{margin-top:var(--space-8)}
#direction-dialog p{line-height:1.8}

.catalog-item .full-detail-link{margin:0 0 var(--space-8) 38px}

.catalog-hero-art:has(img[src*="catalog-collection"]){height:auto;aspect-ratio:4/3}.catalog-hero-art img[src*="catalog-collection"]{object-fit:contain;transform:none}

.catalog-hero-art:has(img[src*="services-storefront.webp"]){height:auto;aspect-ratio:3/4}
.catalog-hero-art img[src*="services-storefront.webp"]{display:block;object-fit:contain;object-position:center;transform:none}
