/* Editorial refinement and a shared interactive operating diagram. */
body{font-optical-sizing:auto}
.hero h1,h2,.contact h2{font-weight:600}
.desktop-nav,.header-contact,.menu-toggle,.tab-name,.quote-context{font-weight:500}
.hero h1{letter-spacing:-.035em;font-size:clamp(50px,5.45vw,86px);line-height:1.075}
h2,.contact h2{letter-spacing:-.035em}
.hero-layout{grid-template-columns:1.72fr 1fr;gap:6%;padding-top:50px;padding-bottom:55px}
.hero-visual{min-height:460px}
.hero h1 span{color:#436d5f}
.section-heading{margin-bottom:46px}
.work-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.work-tabs button{position:relative;display:grid;grid-template-columns:24px 1fr;gap:7px 12px;text-align:left;min-height:130px;padding:23px 20px;background:none;border:0;color:var(--muted);transition:background .2s,color .2s}
.work-tabs button+button{border-left:1px solid var(--rule)}
.work-tabs button:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--emerald);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.work-tabs button[aria-selected=true]{background:#edf4f0;color:var(--emerald)}
.work-tabs button[aria-selected=true]:after{transform:scaleX(1)}
.work-tabs button:hover{background:#f1f6f3;color:var(--emerald)}
.tab-number{font-size:12px;grid-row:1/3;padding-top:8px}
.tab-name{font-size:32px;letter-spacing:-.025em;line-height:1.2}
.tab-description{font-size:14px;line-height:1.4}
.work-panel{display:grid;grid-template-columns:.9fr 1.1fr;gap:8%;padding:50px 0 0;min-height:435px;align-items:center}
.work-panel-copy .eyebrow{font-size:12px;color:var(--emerald)}
.work-panel-copy h3{font-size:37px;font-weight:400;letter-spacing:-.025em;line-height:1.15;margin:18px 0 22px;max-width:430px}
.work-panel-copy>p{font-size:17px;line-height:1.75;color:var(--muted)}
.work-panel-copy .work-examples{font-size:13px;color:var(--emerald);margin-top:25px;padding-top:20px;border-top:1px solid var(--rule)}
.operating-visual{margin:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;background:#edf4f0;border:1px solid #d7e3dc;min-width:0}
.visual-top{display:flex;justify-content:space-between;padding:22px 25px 12px;font-size:12px;color:var(--emerald);gap:15px}
.visual-top span:first-child{text-transform:uppercase;letter-spacing:.07em}
.visual-top span:last-child{color:var(--muted)}
.work-map{display:block;width:100%;height:auto;overflow:visible}
.map-node{transition:transform .65s cubic-bezier(.22,1,.36,1)}
.map-node rect{fill:#f9f9f9;stroke:#8bae9e;stroke-width:1}
.map-node text{font:400 14px var(--type);fill:var(--emerald)}
.map-result rect{fill:var(--emerald);stroke:var(--emerald)}
.map-result text{fill:var(--white)}
.map-index,.map-legend{display:none}
.map-path,.map-trace{transition:d .65s ease}
.map-trace{stroke-dasharray:1;stroke-dashoffset:0}
.work-panel.is-changing .map-trace{animation:route-reveal .8s ease both}
.work-panel.is-changing .work-panel-copy{animation:copy-enter .35s ease both}
.operating-visual figcaption{font-family:var(--body);font-size:14px;color:var(--emerald);padding:20px 25px;border-top:1px solid #d7e3dc;margin-top:auto}
.testimonial{background:#e5f0e9;display:grid;grid-template-columns:1fr 2.5fr;gap:8%;padding-top:85px;padding-bottom:85px;border-bottom:1px solid var(--rule);color:var(--emerald)}
.testimonial figure,.testimonial blockquote{margin:0}
.testimonial .eyebrow{display:block;max-width:160px;line-height:1.65}
.quote-mark{display:block;font-size:120px;font-weight:400;line-height:1;margin-top:20px;color:#7fa993}
.testimonial blockquote p{font-family:var(--type);font-size:clamp(25px,3vw,43px);letter-spacing:-.02em;line-height:1.3}
.testimonial figcaption{font-size:13px;margin-top:30px;color:var(--muted)}
.testimonial figcaption span{margin:0 12px;color:#8bae9e}
.firm-layout{grid-template-columns:.75fr 1.25fr;gap:13%}
.founder-card{padding:0;background:none;border-radius:0;overflow:visible}
.portrait-wrap{width:100%;max-width:280px;margin:0 0 30px}
.founder-caption{padding:25px 0 0;border-top:1px solid var(--rule)}
.founder-caption h3{font-size:26px}
.founder-credential{display:none}
.firm h2{letter-spacing:-.03em}
.button,.header-contact{transition:background .2s,color .2s,transform .2s}
.button span,.header-contact span{transition:transform .25s}
.button:hover span,.header-contact:hover span{transform:translate(2px,-2px)}
.motion-paused .map-node,.motion-paused .map-path,.motion-paused .map-trace{transition:none}
.motion-paused .work-panel.is-changing .map-trace,.motion-paused .work-panel.is-changing .work-panel-copy{animation:none!important}
@keyframes route-reveal{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes copy-enter{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.work-tabs button{padding:22px 14px;grid-template-columns:18px 1fr;gap:8px}.tab-name{font-size:29px}.tab-description{font-size:13px}.work-panel{gap:5%}.work-panel-copy h3{font-size:32px}.work-panel-copy>p{font-size:16px}.testimonial{grid-template-columns:1fr 2.8fr;gap:5%}}
@media(max-width:800px){.hero-layout{grid-template-columns:1fr;padding-block:30px}.hero-visual{min-height:300px}.hero h1{font-size:clamp(47px,8.5vw,68px)}.work-panel{grid-template-columns:1fr;gap:28px;padding-top:32px}.work-panel-copy h3{max-width:none;margin:14px 0}.work-panel-copy>p{max-width:620px}.work-panel-copy .work-examples{margin-top:17px;padding-top:15px}.operating-visual{max-width:100%;width:100%}.work-map{max-height:320px}.tab-name{font-size:26px}.tab-number{display:none}.work-tabs button{grid-template-columns:1fr;min-height:120px;padding:20px 12px}.tab-description{font-size:12px}.testimonial{padding-block:55px;grid-template-columns:1fr;gap:23px}.testimonial-label{display:flex;justify-content:space-between;align-items:center}.testimonial .eyebrow{max-width:none}.quote-mark{font-size:55px;line-height:.6;margin:0;height:24px}.testimonial blockquote p{font-size:34px}.firm-layout{gap:7%}.founder-caption h3{font-size:23px}}
@media(max-width:520px){.hero h1{font-size:47px;letter-spacing:-.035em}.hero-visual{min-height:270px}.work-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.work-tabs button{min-height:115px;padding:18px 14px;gap:7px}.work-tabs button:nth-child(3){border-left:0}.work-tabs button:nth-child(n+3){border-top:1px solid var(--rule)}.tab-description{font-size:13px}.work-panel{padding-top:30px}.work-panel-copy h3{font-size:32px}.work-panel-copy .eyebrow{font-size:12px}.visual-top{font-size:12px;padding:18px 15px 8px;flex-wrap:wrap;gap:8px}.work-map{min-height:210px}.operating-visual figcaption{font-size:14px;padding:18px 15px}.testimonial blockquote p{font-size:28px;line-height:1.35}.testimonial{padding-block:45px}.testimonial figcaption{margin-top:24px}.firm-layout{grid-template-columns:1fr;gap:30px}.founder-card{padding:25px 0 0;border-top:1px solid var(--rule);grid-template-columns:95px 1fr;gap:20px}.portrait-wrap{width:95px;margin:0}.founder-caption{border:0;padding:0}.founder-caption h3{font-size:23px}.founder-caption p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.work-panel.is-changing .map-trace,.work-panel.is-changing .work-panel-copy{animation:none}.map-node,.map-path,.map-trace{transition:none}}
@media(max-width:520px){
  .map-node text:not(.map-index){display:none}
  .map-node .map-index{display:block;font-size:30px}
  .map-legend{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:0;padding:0 18px 22px;list-style:none;counter-reset:map-step;color:var(--emerald)}
  .map-legend li{counter-increment:map-step;display:flex;align-items:baseline;gap:9px;font-size:14px;line-height:1.4}
  .map-legend li:before{content:counter(map-step,decimal-leading-zero);font-size:12px;color:var(--muted)}
}

/* Manually controlled client and partner perspectives. Inactive slides reserve
   their layout space, keeping controls still as quotation lengths change. */
.testimonial-label h2{font-size:13px;letter-spacing:.11em;line-height:1.65;font-weight:600;text-transform:uppercase}
.testimonial-label{display:flex;flex-direction:column;align-items:flex-start}
.quote-controls{display:flex;align-items:center;gap:16px;margin-top:auto;padding-top:32px}
.quote-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #96b7a5;background:transparent;color:var(--emerald);font-size:22px;border-radius:2px;transition:background .2s,color .2s}
.quote-controls button:hover{background:var(--emerald);color:white}
.quote-count{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--muted)}
.quote-content{min-width:0}
.quote-track{display:grid;touch-action:pan-y}
.testimonial .quote-slide{grid-area:1/1;display:flex;flex-direction:column;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .22s ease}
.testimonial .quote-slide[data-active=true]{visibility:visible;opacity:1;pointer-events:auto}
.quote-context{font-size:14px;line-height:1.5;margin-bottom:24px;color:var(--emerald);display:flex;align-items:center;gap:12px}
.quote-context:before{content:"";display:block;height:1px;width:27px;background:#79a48d}
.testimonial .quote-slide figcaption{margin-top:auto;padding-top:28px;font-size:13px;line-height:1.65}
.quote-pagination{display:flex;gap:12px;margin-top:32px;border-top:1px solid #bbd3c4;padding-top:12px}
.quote-pagination button{font-size:13px;width:44px;height:44px;border:0;border-top:2px solid transparent;color:var(--muted);background:transparent;font-variant-numeric:tabular-nums;transition:color .2s,border-color .2s}
.quote-pagination button[aria-pressed=true]{border-color:var(--emerald);color:var(--emerald)}
.quote-pagination button:hover{background:#d6e8dc}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.motion-paused .quote-slide{transition:none}
@media(max-width:1100px){.quote-controls{gap:8px}.quote-controls button{width:44px}.quote-count{font-size:12px}}
@media(max-width:800px){.testimonial-label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:15px}.testimonial-label .quote-mark{display:none}.quote-controls{padding:0;margin:0;gap:10px}.testimonial-label h2{font-size:12px}.quote-context{margin-bottom:18px}.quote-pagination{margin-top:25px}.testimonial .quote-slide figcaption{padding-top:25px}}
@media(max-width:380px){.testimonial-label{flex-wrap:wrap;align-items:flex-start}.quote-controls{margin-left:auto}.quote-controls{gap:7px}.quote-count{font-size:12px}.testimonial-label h2{font-size:12px}.testimonial blockquote p{font-size:25px}}
@media(prefers-reduced-motion:reduce){.quote-slide,.quote-controls button,.quote-pagination button{transition:none}}
