/* A compact service map, connected to the original native disclosure panels. */
.expertise{position:relative;isolation:isolate;padding-block:54px;overflow-anchor:none}
/* Contained leaf geometry keeps a quiet edge beneath the navigation. */
.expertise:before{content:'';position:absolute;inset:18px 0 auto;height:clamp(195px,22vw,260px);z-index:-1;pointer-events:none;background:url('assets/services-cultivated-geometry.svg') left top/max(100%,900px) auto no-repeat}
@media(max-width:560px){.expertise:before{-webkit-mask-image:linear-gradient(90deg,#000 55%,transparent);mask-image:linear-gradient(90deg,#000 55%,transparent)}}
.expertise-layout{gap:52px;align-items:start}
.expertise h2{color:var(--on-dark);font-size:42px;line-height:1.08;margin:18px 0 16px}
.expertise-heading>p{max-width:40ch;font-size:14px;line-height:1.65;margin-bottom:12px}
.expertise-heading>.service-intro{max-width:42ch;margin:0 0 16px}
.expertise-heading>.service-intro+.service-map{margin-top:0}
.expertise-heading>.text-link{min-height:44px;margin-top:0}
.service-list summary{gap:14px;padding:17px 0;min-height:65px}
.service-list details:first-child{border-top:0}
.service-list summary>span{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border:1px solid #f5f3ec4d;border-radius:50%;font-size:11px;font-weight:650;color:var(--on-dark)}
.service-list h3{font-size:19px;line-height:1.35;letter-spacing:-.025em}
.service-list summary>b{font-size:23px;color:var(--signal)}
.service-list details[open] summary>span{background:var(--signal);border-color:var(--signal);color:var(--forest)}
.service-list details>div{margin-left:12px;border-left:1px solid var(--signal);padding:0 0 18px 27px}
.service-list details p{font-size:13px;line-height:1.65;max-width:55ch;color:#e0e6dc}
.service-tags{font-size:10px;line-height:1.7;margin-top:12px;color:#e3e6be}
.service-list details>.service-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;padding-bottom:20px}
.service-panel-media{margin:0;min-width:0}
.service-panel-frame{position:relative;overflow:hidden;aspect-ratio:3/2;background:#d7d8ca}
.service-panel-frame>img{display:block;width:100%;height:100%;object-fit:cover}
.service-panel-media-pair{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.service-panel-media-pair figcaption{font-size:10px;line-height:1.4;color:#d5dfd0;margin-top:5px}
.service-panel-media-pair+.service-panel-copy{grid-column:1/-1}
.service-panel-copy{min-width:0}
.service-tags{display:block}
.service-related{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:10px}
.service-related .text-link{font-size:11px;line-height:1.4;min-height:36px;padding-block:7px;gap:15px;color:var(--on-dark);border-color:#ffffff60}
.service-related .text-link:hover{color:var(--signal);border-color:var(--signal)}
.service-list details[open]>.service-panel{animation:service-panel-reveal .28s ease-out both}
@keyframes service-panel-reveal{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:560px){.service-list details>.service-panel{grid-template-columns:minmax(0,1fr);gap:14px;padding-left:17px}.service-panel-media-pair{gap:8px}.service-related{gap:4px 18px}}
@media(prefers-reduced-motion:reduce){.service-list details[open]>.service-panel{animation:none}}
.service-map{margin-top:22px;max-width:560px}
.service-map-canvas{position:relative;isolation:isolate;height:280px}
.service-map-backdrop{position:absolute;inset:0;z-index:-2;overflow:hidden}
.service-map-backdrop>img{width:100%;height:100%;object-fit:cover;opacity:.56;filter:saturate(.8)}
.service-map-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--forest) 88%,transparent),color-mix(in srgb,var(--forest) 10%,transparent) 18%,color-mix(in srgb,var(--forest) 18%,transparent) 68%,color-mix(in srgb,var(--forest) 94%,transparent))}
.service-map-routes{position:absolute;inset:0;width:100%;height:100%;z-index:-1;fill:none;stroke:#ebefe080;stroke-width:1.1}
.service-map-routes path{transition:stroke .2s,stroke-width .2s}
.service-map-routes path.is-selected{stroke:var(--signal);stroke-width:2}
.service-map-routes circle{stroke:#ebefe04d;stroke-dasharray:3 6}
.service-map-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.service-map-choice{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 2px;min-height:88px;min-width:0;color:var(--on-dark)}
.service-map-choice:disabled{cursor:default;opacity:1}
.service-map-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border:1px solid #ecf0e363;border-radius:50%;background:var(--forest);transition:background .2s,border-color .2s,transform .2s}
.service-map-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.service-map-choice[aria-pressed=true] .service-map-icon{background:var(--signal);border-color:var(--signal);color:var(--forest);transform:translateY(-2px)}
.service-map-choice:hover:not(:disabled) .service-map-icon{border-color:var(--signal);transform:translateY(-2px)}
.service-map-choice:focus-visible{outline:2px solid var(--signal);outline-offset:4px}
.service-map-label{position:relative;background:var(--forest);padding:3px 2px;font-size:10px;line-height:1.35;font-weight:600;text-align:center;max-width:100%;overflow-wrap:anywhere}
.service-map-hub{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:6px 12px;border:1px solid #ecf0e363;background:var(--forest);white-space:nowrap;font-size:12px;line-height:1.4}
.service-map-hub svg{width:25px;height:25px;stroke:var(--signal);fill:none;stroke-width:1.3;stroke-linecap:round}
.service-map figcaption{font-size:10px;line-height:1.5;color:#d5dfd0;margin-top:0}
@media(max-width:1000px){.expertise-layout{gap:34px}.expertise h2{font-size:38px}.service-list h3{font-size:18px}.service-map-label{font-size:9px}}
@media(max-width:850px){.expertise{padding-block:40px}.expertise-layout{gap:24px}.expertise h2{font-size:38px}.service-map{margin-top:18px}.service-map-label{font-size:11px}.service-list summary{min-height:62px}}
@media(max-width:560px){.expertise{padding-block:32px}.expertise-layout{gap:22px}.expertise h2{font-size:36px;margin:16px 0 12px}.expertise-heading>p{font-size:14px}.service-map{margin-top:16px}.service-map-canvas{height:230px}.service-map-options{gap:6px}.service-map-icon{width:40px;height:40px;flex-basis:40px}.service-map-icon svg{width:25px;height:25px}.service-map-choice{padding:0;gap:7px;min-height:84px}.service-map-label{font-size:10px}.service-map-hub{font-size:11px;gap:6px}.service-list summary{padding:15px 0;gap:12px}.service-list h3{font-size:17px}.service-list details p{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service-map-icon,.service-map-routes path{transition:none}.service-map-choice[aria-pressed=true] .service-map-icon,.service-map-choice:hover:not(:disabled) .service-map-icon{transform:none}}
