/* v1.2: every new rule scoped to this page. Existing pages remain untouched. */
.page-what-we-do{--wwd-space:clamp(90px,8.5vw,170px)}
.page-what-we-do nav [aria-current=page]{color:var(--gold)}
.page-what-we-do nav [aria-current=page]:after{width:100%}
.page-what-we-do .wwd-section{padding-block:var(--wwd-space);border-top:1px solid var(--line)}
.page-what-we-do .wwd-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.page-what-we-do .wwd-prose{max-width:590px;margin-top:30px}
.page-what-we-do .wwd-prose p{font-size:16px;line-height:1.9}
.page-what-we-do .wwd-prose p+p{margin-top:20px}
.page-what-we-do .wwd-hero{position:relative;overflow:hidden;isolation:isolate}
.page-what-we-do .wwd-hero>.wwd-image{object-position:left center;animation:settle 1.5s ease-out both}
.page-what-we-do .wwd-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#020607d4,#02060770 40%,transparent 70%),linear-gradient(180deg,#02060770,transparent 25%,transparent 80%,#080b0c88)}
.page-what-we-do .wwd-hero-inner{position:relative;min-height:clamp(810px,58vw,1100px);padding-block:190px 100px;display:flex;align-items:center}
.page-what-we-do .wwd-hero-copy{width:55%;max-width:830px}
.page-what-we-do h1{font-size:clamp(70px,6.7vw,112px);line-height:1.02;letter-spacing:-.025em;color:#f1e2c6}
.page-what-we-do .wwd-labels{display:grid;gap:9px;color:#e2d4bd;font-size:9px;letter-spacing:.22em;line-height:1.8;border-left:1px solid #c7a873;padding-left:23px}
.page-what-we-do .wwd-upper{position:absolute;right:0;top:190px}
.page-what-we-do .wwd-lower{position:absolute;right:0;bottom:100px;color:var(--gold)}
.page-what-we-do .wwd-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:10%;align-items:end;margin-bottom:75px}
.page-what-we-do .wwd-intro h2{max-width:800px}
.page-what-we-do .wwd-intro .wwd-prose{margin-top:0}
.page-what-we-do .wwd-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.page-what-we-do .wwd-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid #a58a5c70;scroll-margin-top:145px;transition:transform .65s var(--ease-premium),border-color .65s,box-shadow .65s}
.page-what-we-do .wwd-card-art{position:absolute;inset:0}
.page-what-we-do .wwd-card-art img{object-position:60% top;transition:transform 1s var(--ease-premium)}
.page-what-we-do .wwd-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,#03070805 0%,#03070865 26%,#030708f0 47%,#030708 78%)}
.page-what-we-do .wwd-card-content{position:relative;display:flex;align-items:flex-start;flex-direction:column;min-height:780px;height:100%;padding:225px clamp(28px,2.7vw,55px) 44px}
.page-what-we-do .wwd-card h3{font-size:clamp(35px,2.8vw,48px);line-height:1.08;margin:22px 0 28px;min-height:2.16em;max-width:380px}
.page-what-we-do .wwd-description{font-size:15px;line-height:1.9;margin-bottom:35px}
.page-what-we-do .wwd-markers{margin:auto 0 28px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:10px 15px;color:var(--gold);font-size:9px;letter-spacing:.13em;line-height:1.8}
.page-what-we-do .wwd-markers li+li{border-left:1px solid #ad926c77;padding-left:15px}
.page-what-we-do .wwd-card .button{min-width:150px}
.page-what-we-do .wwd-approach{position:relative;isolation:isolate;overflow:hidden;min-height:740px;display:flex;align-items:center}
.page-what-we-do .wwd-approach>.wwd-image{object-position:center top}
.page-what-we-do .wwd-approach-shade{position:absolute;inset:0;background:linear-gradient(180deg,#080b0c30,#080b0cb8 33%,#080b0cf5 72%),linear-gradient(90deg,#080b0cd9,#080b0c33 65%)}
.page-what-we-do .wwd-process-layout{position:relative;display:grid;grid-template-columns:.85fr 1.6fr;gap:7%;align-items:center}
.page-what-we-do .wwd-process-intro h2{max-width:550px}
.page-what-we-do .wwd-process{list-style:none;padding:0;margin:120px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.page-what-we-do .wwd-process li{position:relative}
.page-what-we-do .wwd-process li:not(:last-child):before{content:'';position:absolute;height:1px;background:#d0ae7277;top:24px;left:48px;width:calc(100% - 20px)}
.page-what-we-do .wwd-step-number{display:flex;width:49px;height:49px;align-items:center;justify-content:center;border:1px solid #cba874;border-radius:50%;color:var(--gold);font-size:11px;letter-spacing:.1em;margin-bottom:30px;background:#080b0cb3}
.page-what-we-do .wwd-process h3{font-size:30px;margin-bottom:20px}
.page-what-we-do .wwd-process p{font-size:14px;line-height:1.9}
.page-what-we-do .wwd-difference{background:#070a0b}
.page-what-we-do .wwd-difference-layout{display:grid;grid-template-columns:.85fr 1.5fr;gap:8%;align-items:start}
.page-what-we-do .wwd-comparison{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:8px}
.page-what-we-do .wwd-comparison th{text-align:left;color:var(--gold);font-size:10px;font-weight:500;letter-spacing:.15em;padding:0 28px 26px;vertical-align:top}
.page-what-we-do .wwd-comparison td{padding:18px 28px;vertical-align:top;font-size:14px;line-height:1.85;color:var(--text)}
.page-what-we-do .wwd-comparison th,.page-what-we-do .wwd-comparison td{border-left:1px solid #aa8a555c}
.page-what-we-do .wwd-comparison tbody tr+tr{border-top:1px solid #aa8a5519}
.page-what-we-do .wwd-point{display:block;position:relative;padding-left:26px}
.page-what-we-do .wwd-point:before{content:'';position:absolute;width:9px;height:9px;left:0;top:8px;border:1px solid var(--gold);border-radius:50%}
.page-what-we-do .wwd-comparison td+td .wwd-point:before{background:var(--gold)}
.page-what-we-do .wwd-mobile-label{display:none}
.page-what-we-do .wwd-contact{position:relative;overflow:hidden;border-block:1px solid var(--line)}
.page-what-we-do .wwd-contact>.wwd-image{object-position:center}
.page-what-we-do .wwd-contact-shade{position:absolute;inset:0;background:linear-gradient(90deg,#030708ed,#030708b8 40%,#03070818 80%),linear-gradient(0deg,#03070844,transparent)}
.page-what-we-do .wwd-contact-inner{position:relative;min-height:680px;padding-block:120px;display:flex;align-items:center;justify-content:space-between;gap:8%}
.page-what-we-do .wwd-contact-copy{width:58%;max-width:850px}
.page-what-we-do .wwd-contact h2{font-size:clamp(52px,4.9vw,84px);color:#f0dfc0;max-width:750px}
@media(hover:hover) and (pointer:fine){
 .page-what-we-do .wwd-card:hover,.page-what-we-do .wwd-card:focus-within{transform:translateY(-5px);border-color:#d4b889bd;box-shadow:0 12px 30px #0005,0 0 18px #d4b8890d}
 .page-what-we-do .wwd-card:hover .wwd-image{transform:scale(1.025)}
}
@media(min-width:2200px){
 .page-what-we-do .wwd-hero-inner{min-height:1100px}.page-what-we-do h1{font-size:126px}
 .page-what-we-do .wwd-card-content{min-height:850px;padding-top:290px}.page-what-we-do .wwd-description,.page-what-we-do .wwd-prose p{font-size:18px}
 .page-what-we-do .wwd-process p,.page-what-we-do .wwd-comparison td{font-size:17px}.page-what-we-do .wwd-process h3{font-size:36px}.page-what-we-do .wwd-approach{min-height:850px}
}
@media(max-width:1550px){.page-what-we-do .wwd-process-layout{grid-template-columns:1fr}.page-what-we-do .wwd-process-intro{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:end}.page-what-we-do .wwd-process-intro .eyebrow{grid-column:1/-1;margin-bottom:-10px}.page-what-we-do .wwd-process-intro .wwd-prose{margin:0}.page-what-we-do .wwd-process{margin-top:65px;gap:40px}}
@media(max-width:1100px){
 .page-what-we-do .wwd-hero-copy{width:70%}.page-what-we-do .wwd-labels{font-size:8px}.page-what-we-do .wwd-hero-inner{padding-top:155px;min-height:840px}
 .page-what-we-do .wwd-cards{grid-template-columns:1fr}.page-what-we-do .wwd-card-content{padding:60px 50px 60px 48%;min-height:570px}.page-what-we-do .wwd-card-art{width:58%}.page-what-we-do .wwd-card-shade{background:linear-gradient(90deg,#03070820,#03070880 35%,#030708 54%)}
 .page-what-we-do .wwd-card h3{min-height:0;font-size:43px}.page-what-we-do .wwd-card .wwd-image{object-position:45% center}
 .page-what-we-do .wwd-difference-layout{grid-template-columns:1fr;gap:55px}.page-what-we-do .wwd-difference-intro{max-width:700px}.page-what-we-do .wwd-difference-intro .wwd-prose{max-width:700px}
 .page-what-we-do .wwd-intro{gap:6%}.page-what-we-do .wwd-process{grid-template-columns:1fr 1fr;gap:45px}.page-what-we-do .wwd-process li:nth-child(2):before{display:none}
}
@media(max-width:700px){
 .page-what-we-do{--wwd-space:75px}.page-what-we-do .menu-toggle{flex-shrink:0}
 .page-what-we-do .wwd-hero-inner{padding-block:150px 85px;min-height:850px;align-items:flex-start}.page-what-we-do .wwd-hero-copy{width:100%}
 .page-what-we-do h1{font-size:clamp(54px,12vw,80px)}.page-what-we-do h2{font-size:clamp(40px,9.5vw,58px)}
 .page-what-we-do .wwd-hero>.wwd-image{object-position:48% center}.page-what-we-do .wwd-hero-shade{background:linear-gradient(90deg,#030708eb,#030708a8),linear-gradient(0deg,#080b0c,transparent 30%)}
 .page-what-we-do .wwd-labels{display:none}.page-what-we-do .wwd-prose p{font-size:15px;line-height:1.9}
 .page-what-we-do .wwd-intro{grid-template-columns:1fr;gap:28px;margin-bottom:48px}
 .page-what-we-do .wwd-card-content{padding:220px 28px 38px;min-height:760px}.page-what-we-do .wwd-card-art{width:100%}.page-what-we-do .wwd-card-shade{background:linear-gradient(180deg,#03070800,#030708c4 30%,#030708f5 46%,#030708 75%)}
 .page-what-we-do .wwd-card h3{font-size:40px;margin-top:20px}.page-what-we-do .wwd-description{font-size:15px}.page-what-we-do .wwd-markers{font-size:8px;gap:9px 10px}.page-what-we-do .wwd-markers li+li{padding-left:10px}
 .page-what-we-do .wwd-process-intro{display:block}.page-what-we-do .wwd-process-intro .eyebrow{margin-bottom:24px}.page-what-we-do .wwd-process-intro .wwd-prose{margin-top:30px}
 .page-what-we-do .wwd-process{grid-template-columns:1fr;gap:0;margin-top:45px}.page-what-we-do .wwd-process li{padding:0 0 40px 75px;min-height:150px}.page-what-we-do .wwd-step-number{position:absolute;left:0;top:0;width:44px;height:44px}
 .page-what-we-do .wwd-process li:not(:last-child):before{display:block;left:22px;top:44px;width:1px;height:calc(100% - 44px)}.page-what-we-do .wwd-process li:last-child{padding-bottom:0}.page-what-we-do .wwd-process h3{font-size:32px;margin-bottom:17px}.page-what-we-do .wwd-process p{font-size:15px}
 .page-what-we-do .wwd-approach>.wwd-image{object-position:60% center}.page-what-we-do .wwd-approach-shade{background:linear-gradient(180deg,#080b0cc4,#080b0ced)}
 .page-what-we-do .wwd-comparison,.page-what-we-do .wwd-comparison tbody,.page-what-we-do .wwd-comparison tr,.page-what-we-do .wwd-comparison td{display:block;width:100%}
 .page-what-we-do .wwd-comparison thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .page-what-we-do .wwd-comparison td{padding:18px 0;border:0;font-size:15px}.page-what-we-do .wwd-comparison tr{padding:12px 0 24px}.page-what-we-do .wwd-mobile-label{display:block;color:var(--gold);font-size:9px;letter-spacing:.17em;margin-bottom:12px}
 .page-what-we-do .wwd-contact-inner{min-height:740px;padding-block:80px 180px;align-items:flex-start}.page-what-we-do .wwd-contact-copy{width:100%}.page-what-we-do .wwd-contact h2{font-size:clamp(48px,11vw,65px)}
 .page-what-we-do .wwd-contact>.wwd-image{object-position:65% center}.page-what-we-do .wwd-contact-shade{background:linear-gradient(180deg,#030708ed,#030708ce 55%,#03070833),linear-gradient(90deg,#03070877,transparent)}
}
@media(max-width:360px){.page-what-we-do .header-inner .brand{width:185px}.page-what-we-do .header-inner{gap:16px}.page-what-we-do .wwd-card-content{padding-inline:23px}}
@media(prefers-reduced-motion:reduce){.page-what-we-do .wwd-card:hover,.page-what-we-do .wwd-card:focus-within,.page-what-we-do .wwd-card:hover .wwd-image{transform:none}}

.page-what-we-do .wwd-final-line{display:block;white-space:nowrap}
.page-what-we-do #embedded-decision-support .wwd-image{object-position:65% center}
.page-what-we-do .wwd-contact-labels{padding:20px 24px;background:linear-gradient(90deg,rgba(5,8,9,.72),rgba(5,8,9,.35));color:var(--ivory)}
.page-what-we-do .wwd-hero .wwd-labels{padding:16px 22px;background:linear-gradient(90deg,rgba(5,8,9,.85),rgba(5,8,9,.62));color:var(--ivory)}
.page-what-we-do .wwd-hero .wwd-labels,.page-what-we-do .wwd-contact-labels{background:none;isolation:isolate;text-shadow:0 1px 8px #000}
.page-what-we-do .wwd-labels:before{content:'';position:absolute;inset:-28px;z-index:-1;background:radial-gradient(ellipse,rgba(5,8,9,.88) 25%,rgba(5,8,9,.7) 48%,transparent 74%);pointer-events:none}

/* Final pre-deployment patch: isolate scenic shading from foreground content. */
.page-what-we-do .wwd-contact{isolation:isolate}
.page-what-we-do .wwd-contact>.wwd-image{z-index:0}
.page-what-we-do .wwd-contact-shade{z-index:1;pointer-events:none}
.page-what-we-do .wwd-contact-inner{z-index:2}
.page-what-we-do .wwd-contact-labels{position:relative}
