/* Service-page photography, arranged in pairs that rise and hold as you scroll. */
.hp-service-pairs{--hp-service-pin:110px;padding:110px 0 90px;background:var(--cream,#fff5ed);color:#0d0f0d;scroll-margin-top:100px}
.hp-services-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:48px}
.hp-services-heading h2{font-size:clamp(38px,4.8vw,72px);font-weight:600;letter-spacing:-.055em;line-height:1.03;margin:0 0 25px}
.hp-services-heading>div>p:last-child{font-size:17px;line-height:1.7;max-width:53ch;color:#526047;margin:0}
.hp-services-all{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;flex-shrink:0;min-height:48px;padding:12px 0;border-bottom:1px solid #0d0f0d66;color:#0d0f0d;font-size:14px;font-weight:600;text-decoration:none}
.hp-services-all>span{font-size:24px;font-weight:400;transition:transform .25s ease}
.hp-services-all:hover>span{transform:translate(3px,-3px)}
.hp-services-deck{position:relative;isolation:isolate}
.hp-service-pair{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin-bottom:22px}
.hp-service-pair:last-child{margin-bottom:0}
.hp-service-tile{--hp-tile-fill:#030405;--hp-tile-rgb:3,4,5;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:clamp(400px,59svh,570px);padding:clamp(28px,3vw,44px);overflow:hidden;border:1px solid #fff2;border-radius:24px;background:var(--hp-tile-fill);color:#f7f8f2;text-decoration:none;box-shadow:0 12px 34px #0304050d}
.hp-service-tile--green{--hp-tile-fill:#87e64b;--hp-tile-rgb:135,230,75;color:#0d190a;border-color:#87e64b}
.hp-service-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:76% center;z-index:-2;transition:transform .75s cubic-bezier(.2,.65,.2,1)}
.hp-service-tile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(var(--hp-tile-rgb),1) 0%,rgba(var(--hp-tile-rgb),.97) 29%,rgba(var(--hp-tile-rgb),.48) 67%,rgba(var(--hp-tile-rgb),.08) 100%),linear-gradient(0deg,rgba(var(--hp-tile-rgb),.83),transparent 58%)}
.hp-service-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#b3f38b;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;margin-bottom:65px}
.hp-service-meta>span:last-child{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid currentColor;border-radius:50%;font-size:24px;font-weight:400;transition:background .25s,color .25s}
.hp-service-tile--green .hp-service-meta{color:#19320e}
.hp-service-copy{position:relative;max-width:84%;}
.hp-service-copy h3{max-width:17ch;font-size:clamp(29px,3.1vw,47px);line-height:1.06;letter-spacing:-.045em;font-weight:600;margin:0 0 20px}
.hp-service-copy p{max-width:29ch;color:#e0e5da;font-size:15px;line-height:1.65;margin:0;text-wrap:pretty}
.hp-service-tile--green .hp-service-copy p{color:#203618}
.hp-service-explore{display:flex;align-items:center;gap:20px;min-height:44px;margin-top:24px;font-size:12px;font-weight:600}
.hp-service-explore>span{font-size:22px;transition:transform .25s ease}
.hp-service-tile:hover .hp-service-image{transform:scale(1.045)}
.hp-service-tile:hover .hp-service-explore>span{transform:translateX(5px)}
.hp-service-tile:hover .hp-service-meta>span:last-child{background:#87e64b;color:#0d190a}
.hp-service-tile--green:hover .hp-service-meta>span:last-child{background:#0d190a;color:#87e64b}
.hp-service-tile:focus-visible{outline:3px solid white;outline-offset:-8px;box-shadow:0 0 0 3px #0d0f0d}
.hp-services-all:focus-visible{outline:3px solid #357a17;outline-offset:6px}
.hp-services-footer{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:52px;padding-top:30px;border-top:1px solid #0d0f0d26}
.hp-services-footer>p{font-size:clamp(21px,2.2vw,31px);font-weight:500;line-height:1.3;letter-spacing:-.03em;margin:0}
/* JS only enables pinning when every card fits below the fixed navigation. */
.hp-service-pairs.is-stacked .hp-services-deck::after{content:"";display:block;height:clamp(80px,14svh,170px)}
.hp-service-pairs.is-stacked .hp-service-pair{position:sticky;top:var(--hp-service-pin);margin-bottom:clamp(115px,23svh,260px)}
.hp-service-pairs.is-stacked .hp-service-pair:last-child{margin-bottom:0}
.hp-service-pairs.is-stacked .hp-service-pair:nth-child(1){z-index:1}
.hp-service-pairs.is-stacked .hp-service-pair:nth-child(2){z-index:2}
.hp-service-pairs.is-stacked .hp-service-pair:nth-child(3){z-index:3}
.hp-service-pairs.is-stacked .hp-service-pair:nth-child(4){z-index:4}
/* Both service directories use this same two-at-a-time, scroll-driven stage. */
.hp-service-pairs{overflow-x:clip;overflow-y:visible}
.hp-service-pair{--hp-arrival:1;--hp-draw:1}
.hp-service-tile{--hp-arrival:1;--hp-draw:1;--hp-direction:1;transform-origin:center bottom}
.hp-service-drawing{position:absolute;z-index:0;top:72px;right:22px;width:48%;height:36%;overflow:visible;pointer-events:none;fill:none;stroke:#d7ffae;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;opacity:.72}
.hp-service-tile--green .hp-service-drawing{stroke:#254018;opacity:.58}
.hp-service-drawing path{vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--hp-draw))}
.hp-service-drawing circle{vector-effect:non-scaling-stroke;fill:currentColor;stroke:none;opacity:var(--hp-draw)}
.hp-service-pairs.has-pair-motion .hp-service-tile{transform:translate3d(calc((1 - var(--hp-arrival)) * var(--hp-direction) * 30px),calc((1 - var(--hp-arrival)) * 145px),0) rotate(calc((1 - var(--hp-arrival)) * var(--hp-direction) * 3deg)) scale(calc(.95 + var(--hp-arrival) * .05))}
.hp-service-pairs.has-pair-motion .hp-service-image{transform:translate3d(calc((1 - var(--hp-arrival)) * var(--hp-direction) * 20px),0,0) scale(calc(1.14 - var(--hp-arrival) * .14));transition:none}
.hp-service-pairs.has-pair-motion .is-pair-in-view .hp-service-tile{will-change:transform}
.hp-service-pairs.has-pair-motion .hp-service-copy{transform:translateY(calc((1 - var(--hp-arrival)) * 24px))}
.hp-service-pairs.is-stacked .hp-service-pair{margin-bottom:clamp(140px,28svh,270px)}
.hp-service-pairs.is-stacked .hp-service-pair:last-child{margin-bottom:0}
.hp-service-pairs--directory .hp-service-copy h3{font-size:clamp(29px,3.1vw,45px);max-width:20ch}
.hp-service-pairs--directory .hp-services-heading h2{max-width:15ch}
.hp-service-pairs--directory .hp-services-heading .eyebrow{color:#405938;font-size:11px;letter-spacing:.13em;text-transform:uppercase;margin-bottom:20px}
.hp-service-pairs--directory .hp-service-tile--consultation .hp-service-copy p{max-width:30ch}
@media(max-width:1000px){.hp-service-pairs{padding-block:85px 70px}.hp-service-tile{padding:28px;min-height:420px}.hp-service-copy{max-width:95%}.hp-service-copy h3{font-size:34px}.hp-service-pair{gap:16px}.hp-services-heading{gap:25px}.hp-services-heading>div>p:last-child{font-size:16px}.hp-services-all{gap:20px}}
@media(max-width:700px){.hp-service-pairs{padding-block:65px}.hp-services-heading{display:block;margin-bottom:30px}.hp-services-heading h2{font-size:clamp(34px,8.8vw,54px)}.hp-services-heading>div>p:last-child{font-size:15px}.hp-services-heading>div>p:last-child br{display:none}.hp-services-heading>.hp-services-all{margin-top:22px}.hp-service-pair{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.hp-service-tile{padding:27px;min-height:425px;border-radius:22px}.hp-service-image{height:65%;object-position:right center}.hp-service-tile::before{background:linear-gradient(0deg,rgba(var(--hp-tile-rgb),1) 0%,rgba(var(--hp-tile-rgb),1) 44%,rgba(var(--hp-tile-rgb),.7) 67%,rgba(var(--hp-tile-rgb),.12) 100%)}.hp-service-meta{margin-bottom:86px;text-shadow:0 1px 10px #03040555}.hp-service-meta>span:first-child{padding:7px 10px;border-radius:20px;background:rgba(var(--hp-tile-rgb),.88)}.hp-service-meta>span:last-child{background:rgba(var(--hp-tile-rgb),.88)}.hp-service-copy{max-width:100%}.hp-service-copy h3{font-size:36px}.hp-service-copy p{font-size:14px;max-width:32ch}.hp-service-explore{margin-top:17px}.hp-services-footer{align-items:flex-start;flex-direction:column;gap:18px;margin-top:35px}.hp-services-footer>p{font-size:25px}}
@media(max-width:360px){.hp-service-tile{padding:22px}.hp-service-copy h3{font-size:32px}.hp-service-meta{font-size:9px;gap:10px}.hp-service-meta>span:first-child{padding-inline:7px}}
@media(prefers-reduced-motion:reduce){.hp-service-image,.hp-service-explore>span,.hp-services-all>span,.hp-service-meta>span:last-child{transition:none}.hp-service-tile:hover .hp-service-image,.hp-service-tile:hover .hp-service-explore>span,.hp-services-all:hover>span{transform:none}.hp-service-pairs.is-stacked .hp-service-pair{position:relative;top:auto;margin-bottom:22px}.hp-service-pairs.is-stacked .hp-services-deck::after{display:none}}
