
/* Compact editorial layouts tuned to desktop screenshot height */
.pd2-intro{min-height:calc(100svh - 78px)!important;height:auto!important;overflow:hidden!important;padding:16px 3vw 18px!important}
.pd2-meta{font-size:clamp(13px,1.05vw,19px)!important;font-weight:700!important}
.pd2-meta span:first-child{font-size:clamp(15px,1.2vw,22px)!important;letter-spacing:-.02em!important}
.pd2-intro-stage{height:auto!important;min-height:0!important;flex:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;overflow:visible!important}
.pd2-title{padding:clamp(25px,4vh,60px) 0 clamp(12px,2vh,30px)!important;align-items:center!important;text-align:center!important;gap:0!important}
.pd2-title .pd2-line:nth-child(n){width:max-content!important;max-width:100%!important;padding:0 .06em .04em!important;line-height:.93!important;white-space:nowrap!important;text-align:center!important;letter-spacing:-.075em!important}
.pd2-title .pd2-line:nth-child(1){font-size:min(9.5vw,15vh)!important}
.pd2-title .pd2-line:nth-child(2){font-size:min(9vw,14vh)!important}
.pd2-title .pd2-line:nth-child(3){font-size:min(9.5vw,15vh)!important}
.pd2-title .pd2-line:nth-child(4){font-size:min(8.8vw,13.8vh)!important}
.pd2-side-note{position:relative!important;right:auto!important;left:auto!important;bottom:auto!important;top:auto!important;align-self:center!important;text-align:center!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;gap:clamp(12px,2vw,35px)!important;margin:0 auto 20px!important;padding:12px 0 0!important;border-top:1px solid #111!important;width:auto!important;max-width:95%!important;background:none!important;color:#090909!important;font:700 clamp(12px,1.05vw,18px)/1.3 'Space Grotesk',sans-serif!important;letter-spacing:.025em!important}
.pd2-intro-bottom{margin-top:0!important}
#about{min-height:0!important;display:grid!important;grid-template-columns: minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:clamp(30px,5vw,95px)!important;padding:clamp(32px,4vh,60px) 3vw!important}
#about .about-intro h2{font-size:clamp(55px,5.8vw,110px)!important;line-height:.87!important;letter-spacing:-.09em!important;margin:18px 0!important}
#about .about-intro .portrait-placeholder{width:clamp(170px,19vw,340px)!important;max-width:100%!important;aspect-ratio:16/10!important;margin-top:clamp(15px,2.4vh,28px)!important;overflow:hidden!important}
#about .about-copy{padding-top:clamp(30px,6vh,85px)!important}
#about .about-copy h3{font-size:clamp(37px,3.3vw,64px)!important;margin:12px 0 20px!important}
#about .about-copy p,#about #about-paragraphs p{font-size:clamp(13px,1.04vw,17px)!important;line-height:1.38!important;margin:0 0 14px!important}
#about .about-copy .meta{font-size:11px!important}
#contact{padding:clamp(35px,5vh,70px) 3vw 25px!important}
#contact .br-contact-kicker{margin:12px 0 25px!important;padding:12px 0!important;font-size:clamp(12px,1.1vw,18px)!important}
#contact h2{font-size:clamp(55px,9vw,145px)!important;line-height:.78!important;margin:25px 0!important;letter-spacing:-.1em!important}
#contact #email-link{font-size:clamp(24px,3.2vw,54px)!important}
#contact p{margin-top:18px!important}
.legal-draft summary{padding:clamp(15px,2.5vh,30px) 0!important}
.br-legal-title{font-size:clamp(26px,3.5vw,58px)!important}
.legal-draft .legal-plus{font-size:clamp(26px,3.5vw,55px)!important}
.legal-draft .legal-content{padding-bottom:25px!important;font-size:15px!important}
footer{padding:18px 3vw!important}
@media(max-width:800px){
.pd2-intro{min-height:calc(100svh - 64px)!important;padding:15px 4vw!important}
.pd2-meta span:first-child{font-size:11px!important}
.pd2-title{padding:30px 0 20px!important}
.pd2-title .pd2-line:nth-child(1){font-size:14.3vw!important}
.pd2-title .pd2-line:nth-child(2){font-size:11.8vw!important}
.pd2-title .pd2-line:nth-child(3){font-size:12.9vw!important}
.pd2-title .pd2-line:nth-child(4){font-size:10.5vw!important}
.pd2-side-note{gap:8px 15px!important;font-size:10px!important;margin-bottom:18px!important}
#about{grid-template-columns:1fr!important;padding:45px 4vw!important;gap:15px!important}
#about .about-intro h2{font-size:clamp(47px,9vw,75px)!important}
#about .about-intro .portrait-placeholder{width:220px!important;aspect-ratio:16/10!important}
#about .about-copy{padding-top:10px!important}
#about .about-copy h3{font-size:42px!important}
#about .about-copy p,#about #about-paragraphs p{font-size:14px!important;line-height:1.45!important}
#contact{padding:50px 4vw 25px!important}
#contact h2{font-size:clamp(55px,11vw,85px)!important}
.legal-draft summary{padding:18px 0!important}
}


/* ABOUT: image BETWEEN the headline and the biography, no cropped content */
@media(min-width:901px){
#about.about{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,.58fr) minmax(0,1.08fr)!important;gap:clamp(20px,2.2vw,44px)!important;align-items:center!important;min-height:0!important;height:auto!important;padding:clamp(28px,4vh,54px) 2.5vw!important;overflow:visible!important}
#about .about-intro{display:contents!important}
#about .about-intro>.eyebrow{grid-column:1!important;grid-row:1!important;align-self:start!important;margin:0!important}
#about .about-intro>h2{grid-column:1!important;grid-row:1!important;align-self:center!important;font-size:clamp(44px,4.1vw,77px)!important;line-height:.92!important;letter-spacing:-.085em!important;margin:0!important;max-width:100%!important;overflow-wrap:normal!important}
#about .about-intro>.portrait-placeholder{grid-column:2!important;grid-row:1!important;align-self:center!important;position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:clamp(270px,47vh,510px)!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:2px solid #111!important;overflow:hidden!important;background:#ddd!important}
#about .about-intro>.portrait-placeholder img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
#about .about-copy{grid-column:3!important;grid-row:1!important;align-self:center!important;min-width:0!important;padding:0!important}
#about .about-copy h3{font-size:clamp(35px,3vw,60px)!important;line-height:1!important;margin:12px 0 20px!important}
#about #about-paragraphs p{font-size:clamp(13px,.96vw,17px)!important;line-height:1.42!important;margin:0 0 13px!important}
#about .about-signoff{font-size:clamp(13px,.95vw,17px)!important;margin:12px 0!important}
#about .about-copy .meta{font-size:10px!important}
}
@media(min-width:901px) and (max-height:700px){
#about .about-intro>h2{font-size:clamp(40px,3.65vw,65px)!important}
#about .about-intro>.portrait-placeholder{height:clamp(240px,40vh,360px)!important}
#about #about-paragraphs p{font-size:13px!important;line-height:1.32!important;margin-bottom:9px!important}
}
@media(max-width:900px){
#about.about{display:flex!important;flex-direction:column!important;gap:22px!important;padding:38px 4vw!important;overflow:visible!important}
#about .about-intro{display:contents!important}
#about .about-intro>.eyebrow{order:0!important}
#about .about-intro>h2{order:1!important;font-size:clamp(48px,8vw,80px)!important;line-height:.94!important;margin:0!important}
#about .about-intro>.portrait-placeholder{order:2!important;position:relative!important;width:min(100%,480px)!important;max-width:none!important;height:auto!important;aspect-ratio:4/3!important;margin:0!important;padding:0!important;overflow:hidden!important}
#about .about-copy{order:3!important;padding:0!important}
}

/* Distinct full-screen About and Contact sections; monochrome portrait */
@media(min-width:901px){
#about.about{min-height:100svh!important;box-sizing:border-box!important;border-bottom:3px solid #111!important}
#contact.contact{min-height:100svh!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
}
#about .portrait-placeholder img{filter:none!important;transition:none!important}
#about .portrait-placeholder:hover img{filter:none!important}
@media(max-width:900px){#about.about,#contact.contact{min-height:100svh!important;box-sizing:border-box!important}}

/* Reel slogan top-left, retain existing reveal animation */
.pd2-reel-caption{position:absolute!important;top:clamp(70px,11vh,150px)!important;left:clamp(22px,4vw,80px)!important;right:auto!important;bottom:auto!important;text-align:left!important;transform-origin:top left!important;z-index:3!important}
@media(max-width:800px){.pd2-reel-caption{top:75px!important;left:5vw!important}}
/* Final screen: compact contact with immediately visible Legal */
@media(min-width:901px){
#contact.contact{min-height:0!important;height:auto!important;padding:clamp(32px,4vh,55px) 3vw 22px!important;display:block!important}
#contact h2{font-size:clamp(55px,7.3vw,120px)!important;line-height:.8!important;margin:15px 0 22px!important}
#contact #email-link{font-size:clamp(26px,3vw,49px)!important}
#contact p{margin-top:12px!important}
.legal-draft summary{padding:12px 0!important}
.br-legal-title{font-size:clamp(30px,3.3vw,54px)!important}
}

/* Exact requested accent placements */
#about .about-copy>.eyebrow{color:#090909!important}
.pd2-title .pd2-line:nth-child(2){color:#090909!important}
.pd2-title .pd2-line:nth-child(4) .pd2-end-dot{color:#165dff!important;-webkit-text-fill-color:#165dff!important}

/* Landing: each line reveals solid black on white as the pointer passes */
@media(hover:hover) and (pointer:fine){
.pd2-title .pd2-line{cursor:default!important;transition:color .35s ease,opacity .35s ease,filter .35s ease!important;color:#a9a9a6!important;-webkit-text-fill-color:#a9a9a6!important}
.pd2-title .pd2-line:hover{color:#050505!important;-webkit-text-fill-color:#050505!important;filter:contrast(1.1)!important}
.pd2-title .pd2-line .pd2-end-dot,.pd2-title .pd2-line:hover .pd2-end-dot{color:#165dff!important;-webkit-text-fill-color:#165dff!important}
}
@media(hover:none){.pd2-title .pd2-line{color:#090909!important;-webkit-text-fill-color:#090909!important}.pd2-title .pd2-end-dot{color:#165dff!important;-webkit-text-fill-color:#165dff!important}}
/* About: oversized headline across top, portrait and text below, single desktop page */
@media(min-width:901px){
#about.about{display:grid!important;grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr)!important;grid-template-rows:auto auto minmax(0,1fr)!important;column-gap:clamp(30px,5vw,100px)!important;row-gap:clamp(12px,2vh,25px)!important;align-items:start!important;min-height:100svh!important;height:auto!important;padding:clamp(25px,3vh,42px) 3vw!important;box-sizing:border-box!important;overflow:visible!important}
#about .about-intro{display:contents!important}
#about .about-intro>.eyebrow{grid-column:1/-1!important;grid-row:1!important;align-self:start!important;margin:0!important}
#about .about-intro>h2{grid-column:1/-1!important;grid-row:2!important;align-self:start!important;max-width:100%!important;font-size:clamp(62px,7.1vw,128px)!important;line-height:.85!important;letter-spacing:-.09em!important;margin:0 0 clamp(12px,2vh,22px)!important}
#about .about-intro>.portrait-placeholder{grid-column:1!important;grid-row:3!important;align-self:start!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:clamp(240px,35vh,410px)!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;overflow:hidden!important}
#about .about-copy{grid-column:2!important;grid-row:3!important;align-self:start!important;padding:0!important}
#about .about-copy h3{font-size:clamp(36px,3.6vw,68px)!important;margin:8px 0 14px!important}
#about #about-paragraphs p{font-size:clamp(13px,1vw,18px)!important;line-height:1.37!important;margin:0 0 10px!important}
#about .about-signoff{margin:10px 0!important}
}
@media(min-width:901px) and (max-height:760px){
#about .about-intro>h2{font-size:clamp(56px,6vw,105px)!important;line-height:.86!important}
#about .about-intro>.portrait-placeholder{height:clamp(200px,31vh,300px)!important}
#about #about-paragraphs p{font-size:13px!important;line-height:1.28!important;margin-bottom:7px!important}
}

/* Portrait: move framing down so face/body aren't cut by crop */
#about .portrait-placeholder img{object-position:center 66%!important}
@media(min-width:901px){
#about .about-intro>.portrait-placeholder{transform:none!important;margin-top:0!important;height:clamp(290px,41vh,470px)!important}
#about .about-copy{transform:none!important}
}
@media(max-width:900px){#about .portrait-placeholder img{object-position:center 65%!important}}
/* Original black animated headline; short convergence motion */
.pd2-title .pd2-line{color:#080808!important;-webkit-text-fill-color:#080808!important}
.pd2-title .pd2-end-dot{color:#165dff!important;-webkit-text-fill-color:#165dff!important}

/* Landing v3: static, bold brutalist typography; preserve only blue end dot */
.pd2-intro{min-height:calc(100svh - 78px)!important}
.pd2-title{gap:0!important;padding:clamp(14px,2.8vh,36px) 0!important}
.pd2-title .pd2-line:nth-child(n){animation:none!important;transform:none!important;opacity:1!important;letter-spacing:-.083em!important;line-height:.89!important;color:#080808!important;-webkit-text-fill-color:#080808!important;font-weight:700!important;transition:none!important;filter:none!important}
.pd2-title .pd2-line:nth-child(1){font-size:min(11vw,17.5vh)!important}
.pd2-title .pd2-line:nth-child(2){font-size:min(10.2vw,16.2vh)!important}
.pd2-title .pd2-line:nth-child(3){font-size:min(10.6vw,17vh)!important}
.pd2-title .pd2-line:nth-child(4){font-size:min(9.6vw,15.5vh)!important}
.pd2-title .pd2-line:hover{color:#080808!important;-webkit-text-fill-color:#080808!important;filter:none!important}
.pd2-title .pd2-end-dot,.pd2-title .pd2-line:hover .pd2-end-dot{color:#165dff!important;-webkit-text-fill-color:#165dff!important}
.pd2-side-note{margin-top:clamp(8px,1.4vh,18px)!important}
@media(max-width:800px){
.pd2-title .pd2-line:nth-child(1){font-size:15.5vw!important}
.pd2-title .pd2-line:nth-child(2){font-size:12.6vw!important}
.pd2-title .pd2-line:nth-child(3){font-size:13.7vw!important}
.pd2-title .pd2-line:nth-child(4){font-size:11.4vw!important}
}
/* Reel reveal: starts as an inset cinematic window and expands on scroll */
.pd2-showreel{height:190svh!important;min-height:0!important;background:#080808!important;margin:0!important;overflow:visible!important}
.pd2-showreel .pd2-sticky{position:sticky!important;top:0!important;height:100svh!important;min-height:0!important;overflow:hidden!important;background:#080808!important}
.pd2-reel-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;will-change:transform,border-radius!important;transform-origin:center center!important;box-shadow:0 0 0 2px rgba(255,255,255,.12)!important}
.pd2-reel-frame video{width:100%!important;height:100%!important;object-fit:cover!important}
.pd2-reel-head,.pd2-reel-bottom{z-index:8!important}
.pd2-reel-caption{z-index:7!important}
@media(prefers-reduced-motion:reduce){.pd2-reel-frame{transform:scale(1)!important;border-radius:0!important}}

/* Editorial cover-to-reel transition: incoming film slides over stationary headline */
.pd2-intro{position:sticky!important;top:0!important;z-index:2!important;min-height:100svh!important;height:100svh!important;background:#f8f8f6!important}
.pd2-showreel{position:relative!important;z-index:6!important;margin-top:0!important;height:190svh!important;background:#080808!important;isolation:isolate!important}
.pd2-showreel .pd2-sticky{position:sticky!important;top:0!important;height:100svh!important}
.pd2-reel-frame{border-radius:0!important;box-shadow:none!important}
.pd2-title .pd2-line:nth-child(2)::after{content:none!important}
@media(max-width:800px){.pd2-intro{height:100svh!important;min-height:100svh!important}}

/* Real cover-over-title: shared scroll container holds title in place while reel passes on top */
.pd2-cover-sequence{position:relative!important;display:block!important;isolation:isolate!important;overflow:visible!important;background:#f8f8f6!important}
.pd2-cover-sequence>.pd2-intro{position:sticky!important;top:0!important;z-index:1!important;height:100svh!important;min-height:100svh!important;margin:0!important}
.pd2-cover-sequence>.pd2-showreel{position:relative!important;z-index:3!important;height:190svh!important;margin:0!important;isolation:auto!important}
.pd2-cover-sequence .pd2-reel-frame{transform:scale(1)!important;border-radius:0!important}
.pd2-cover-sequence .pd2-reel-caption{top:clamp(70px,11vh,150px)!important;left:clamp(22px,4vw,80px)!important;bottom:auto!important;right:auto!important;text-align:left!important}

/* Fix screenshot: no inherited section gutters or black bars; reel fully covers pinned headline */
.pd2-cover-sequence{padding:0!important;margin:0!important;overflow:visible!important}
.pd2-cover-sequence>.pd2-intro{padding:0!important;box-sizing:border-box!important}
.pd2-cover-sequence>.pd2-showreel{padding:0!important;box-sizing:border-box!important;margin:0!important;background:transparent!important;height:155svh!important;overflow:visible!important}
.pd2-cover-sequence .pd2-sticky{padding:0!important;margin:0!important;inset:auto!important;top:0!important;left:0!important;right:0!important;width:100vw!important;max-width:none!important;height:100svh!important;box-sizing:border-box!important;overflow:hidden!important}
.pd2-cover-sequence .pd2-reel-frame{position:absolute!important;inset:0!important;padding:0!important;margin:0!important;width:100%!important;height:100%!important;max-width:none!important;transform:none!important;clip-path:none!important;opacity:1!important;border:0!important}
.pd2-cover-sequence .pd2-reel-frame video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.pd2-cover-sequence .pd2-reel-caption{position:absolute!important;top:clamp(95px,15vh,180px)!important;left:4vw!important;right:4vw!important;bottom:auto!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(52px,8vw,145px)!important;line-height:.88!important;text-shadow:0 3px 24px rgba(0,0,0,.65)!important;mix-blend-mode:normal!important;opacity:1!important;visibility:visible!important;z-index:10!important}
.pd2-cover-sequence .pd2-reel-head,.pd2-cover-sequence .pd2-reel-bottom{z-index:11!important}
.pd2-cover-sequence+.hero{display:none!important}
.pd2-cover-sequence~#work{margin-top:0!important}

/* Animated white supers, progressively unmasked as the reel covers the landing */
.pd2-cover-sequence .pd2-reel-caption{opacity:0;clip-path:inset(0 100% 0 0);-webkit-clip-path:inset(0 100% 0 0);will-change:transform,opacity,clip-path;transition:none!important;animation:none!important;pointer-events:none!important}
.pd2-meta span:last-child{font-size:clamp(20px,2.1vw,32px)!important;line-height:1!important;letter-spacing:0!important}
@media(prefers-reduced-motion:reduce){.pd2-cover-sequence .pd2-reel-caption{opacity:1!important;clip-path:none!important;-webkit-clip-path:none!important;transform:none!important}}

/* Reel-to-work continuity: remove 55vh dead travel and oversized white lead-in */
.pd2-cover-sequence>.pd2-showreel{height:108svh!important;min-height:108svh!important}
#work .section-head{padding-top:clamp(25px,4vh,52px)!important;padding-bottom:clamp(20px,3vh,42px)!important;margin-top:0!important;min-height:0!important}
#work .section-head .eyebrow,#work .section-head h2{margin-top:0!important}
.pd2-cover-sequence .pd2-reel-caption{opacity:1!important;clip-path:none!important;-webkit-clip-path:none!important;transform:none!important;animation:none!important;transition:opacity .2s linear!important}
.pd2-cover-sequence .pd2-reel-caption .pd2-super-line{display:block!important;width:max-content;max-width:100%;overflow:hidden;white-space:nowrap}
.pd2-cover-sequence .pd2-reel-caption .pd2-super-ink{display:block;transform:translate3d(0,110%,0);opacity:0;transition:transform .8s cubic-bezier(.16,1,.3,1),opacity .5s ease}
.pd2-cover-sequence .pd2-reel-caption.pd2-super-visible .pd2-super-ink{transform:translate3d(0,0,0);opacity:1}
.pd2-cover-sequence .pd2-reel-caption .pd2-super-line:nth-child(2) .pd2-super-ink{transition-delay:.18s}
@media(prefers-reduced-motion:reduce){.pd2-cover-sequence .pd2-reel-caption .pd2-super-ink{transform:none!important;opacity:1!important}}

/* Restore scroll-scrubbed cinematic typography from the earlier animated reel */
.pd2-cover-sequence .pd2-reel-caption{opacity:1!important;visibility:visible!important;clip-path:none!important;-webkit-clip-path:none!important;transform:none!important}
.pd2-cover-sequence .pd2-reel-caption .pd2-super-line{overflow:hidden!important}
.pd2-cover-sequence .pd2-reel-caption .pd2-super-ink,
.pd2-cover-sequence .pd2-reel-caption.pd2-super-visible .pd2-super-ink{
opacity:var(--pd2-reveal,0)!important;
transform:translate3d(0,calc((1 - var(--pd2-reveal,0))*105%),0)!important;
transition:none!important;
}
.pd2-cover-sequence .pd2-reel-caption .pd2-super-line:nth-child(2) .pd2-super-ink{
opacity:clamp(0,calc((var(--pd2-reveal,0) - .22)*1.45),1)!important;
transform:translate3d(0,calc((1 - var(--pd2-reveal,0))*125%),0)!important;
}
@media(prefers-reduced-motion:reduce){.pd2-cover-sequence .pd2-reel-caption .pd2-super-ink{opacity:1!important;transform:none!important}}

/* Actual JS-driven text movement, not a one-time static class */
.pd2-cover-sequence .pd2-reel-caption .pd2-super-ink{transition:none!important;will-change:transform,opacity}

/* About portrait: preserve entire head with a higher image focal point */
#about .portrait-placeholder img{object-position:center 20%!important}
@media(max-width:900px){#about .portrait-placeholder img{object-position:center 15%!important}}

/* About: display entire original photograph without cropping the top of the head */
#about .about-intro>.portrait-placeholder{background:#ecebe7!important}
#about .about-intro>.portrait-placeholder img,
#about .portrait-placeholder img{object-fit:contain!important;object-position:center top!important;transform:none!important;max-width:100%!important;max-height:100%!important}

/* About portrait: single fine black outline, no thick outer frame */
#about .about-intro>.portrait-placeholder{border:1px solid #111!important;outline:none!important;box-shadow:none!important;padding:0!important;background:transparent!important}
#about .about-intro>.portrait-placeholder::before,
#about .about-intro>.portrait-placeholder::after{display:none!important}
#about .about-intro>.portrait-placeholder img{border:0!important;outline:0!important;box-shadow:none!important}

/* Portrait frame must follow the rendered image, not a fixed grid box */
@media(min-width:901px){
#about .about-intro>.portrait-placeholder{height:auto!important;min-height:0!important;aspect-ratio:auto!important;width:max-content!important;max-width:100%!important;align-self:start!important;justify-self:start!important;display:block!important;overflow:hidden!important;transform:none!important;margin:0!important}
#about .about-intro>.portrait-placeholder img{position:relative!important;inset:auto!important;display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(43vh,460px)!important;object-fit:contain!important;object-position:top left!important}
}
@media(max-width:900px){
#about .about-intro>.portrait-placeholder{height:auto!important;min-height:0!important;aspect-ratio:auto!important;display:inline-block!important;width:fit-content!important;max-width:100%!important}
#about .about-intro>.portrait-placeholder img{position:relative!important;inset:auto!important;display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:65vh!important;object-fit:contain!important}
}

/* Center the actual portrait within the left About column; keep fitted border */
@media(min-width:901px){
#about .about-intro>.portrait-placeholder{justify-self:center!important;margin-left:clamp(18px,2.5vw,55px)!important;margin-right:0!important}
}

/* Legal accordion headline turns electric blue on pointer hover */
#legal summary:hover .br-legal-title,
#legal summary:focus-visible .br-legal-title{color:#165dff!important;-webkit-text-fill-color:#165dff!important;transition:color .22s ease!important}

/* Revised four-line landing copy, preserve existing editorial proportions */
.pd2-title .pd2-line:nth-child(1){font-size:min(8.4vw,13vh)!important}
.pd2-title .pd2-line:nth-child(2){font-size:min(9.5vw,15vh)!important}
.pd2-title .pd2-line:nth-child(3){font-size:min(8.6vw,13.5vh)!important}
.pd2-title .pd2-line:nth-child(4){font-size:min(10vw,15vh)!important}
@media(max-width:800px){.pd2-title .pd2-line:nth-child(1){font-size:12vw!important}.pd2-title .pd2-line:nth-child(2){font-size:14vw!important}.pd2-title .pd2-line:nth-child(3){font-size:12vw!important}.pd2-title .pd2-line:nth-child(4){font-size:16vw!important}}

/* Integrated palaceAI visual model — editorial, not an extra card */
#services .palace-process{margin:clamp(38px,5vw,80px) 0 clamp(40px,5vw,76px);border-top:1px solid #999;border-bottom:1px solid #999;padding:18px 0 22px;color:#111;font-family:'Space Grotesk',Arial,sans-serif}
#services .palace-process-heading,#services .palace-process-footer{display:flex;justify-content:space-between;align-items:start;gap:22px}
#services .palace-process-heading span{font-size:12px;font-weight:700;letter-spacing:.12em}
#services .palace-process-heading span:last-child{color:#165dff}
#services .palace-process-graphic{width:100%;margin:28px auto 20px;overflow-x:auto}
#services .palace-process-graphic svg{display:block;width:100%;height:auto;min-width:680px}
#services .palace-process-footer{border-top:1px solid #ccc;padding-top:19px}
#services .palace-process-footer span{font-size:11px;letter-spacing:.12em;font-weight:700;white-space:nowrap;color:#165dff}
#services .palace-process-footer p{max-width:560px;margin:0;font-size:clamp(13px,1.2vw,17px);line-height:1.5}
@media(max-width:760px){#services .palace-process{margin:36px 0}#services .palace-process-graphic{margin:18px 0}#services .palace-process-footer{display:block}#services .palace-process-footer p{margin-top:12px}#services .palace-process-heading span{font-size:10px}}

/* Editorial rebuild: clear hierarchy, integrated three-stage visual journey */
#services .palace-services-head{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr)!important;align-items:end!important;gap:clamp(30px,5vw,90px)!important}
#services .palace-services-head h2{font-size:clamp(62px,8.2vw,148px)!important;line-height:.87!important;letter-spacing:-.085em!important;max-width:none!important;margin:22px 0 0!important}
#services .palace-blue-dot{color:#165dff}
#services .palace-services-head>p{font-size:clamp(15px,1.22vw,20px)!important;line-height:1.48!important;max-width:440px!important;margin:0 0 7px!important}
#services .palace-process{margin:clamp(48px,6vw,100px) 0 60px!important;padding:20px 0 25px!important}
#services .palace-process-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
#services .palace-process-heading span{display:block!important;font-size:11px!important;line-height:1.4!important;letter-spacing:.12em!important}
#services .palace-journey{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr) 32px minmax(0,1fr);gap:clamp(8px,1.2vw,20px);align-items:stretch;margin:30px 0}
#services .palace-journey-step{border:1px solid #b6b6b2;padding:clamp(16px,2.2vw,32px);display:flex;flex-direction:column;min-height:270px;background:transparent}
#services .palace-journey-index{font-size:11px;letter-spacing:.12em;color:#666;font-weight:700}
#services .palace-journey-step h3{font-size:clamp(22px,2.4vw,39px);line-height:1.02;letter-spacing:-.055em;margin:32px 0 14px;font-weight:700}
#services .palace-journey-step p{font-size:clamp(13px,1.06vw,16px);line-height:1.5;margin:0 0 24px;max-width:340px}
#services .palace-journey-tags{font-size:10px;letter-spacing:.06em;font-weight:700;margin-top:auto;line-height:1.6}
#services .palace-journey-tags span{color:#165dff;padding:0 3px}
#services .palace-journey-arrow{display:flex;align-items:center;justify-content:center;color:#165dff;font-size:clamp(24px,3vw,42px);font-weight:400}
#services .palace-journey-core{background:#171717;color:#fff;border-color:#171717}
#services .palace-journey-core .palace-journey-index{color:#bbb}
#services .palace-journey-core h3{font-size:clamp(36px,3.5vw,58px);letter-spacing:-.07em}
#services .palace-journey-core h3 span{color:#165dff}
#services .palace-process-footer{display:grid!important;grid-template-columns:1fr 2fr!important;gap:25px!important}
@media(max-width:900px){#services .palace-services-head{grid-template-columns:1fr!important;gap:22px!important}#services .palace-services-head h2{font-size:clamp(58px,11vw,108px)!important}#services .palace-services-head>p{max-width:650px!important}#services .palace-journey{grid-template-columns:1fr!important;gap:0!important}#services .palace-journey-step{min-height:0;padding:24px!important}#services .palace-journey-step h3{margin:20px 0 12px!important}#services .palace-journey-arrow{height:45px;transform:rotate(90deg)}#services .palace-process-footer{grid-template-columns:1fr!important;gap:10px!important}}

/* HOW WE WORK: restore contrast and subtle interactive emphasis */
#services .palace-journey-core,
#services .palace-journey-core h3,
#services .palace-journey-core p,
#services .palace-journey-core .palace-journey-tags{
 color:#f6f6f4!important;
 -webkit-text-fill-color:#f6f6f4!important;
}
#services .palace-journey-core h3 span,
#services .palace-journey-core .palace-journey-tags span{
 color:#2770ff!important;
 -webkit-text-fill-color:#2770ff!important;
}
#services .palace-journey-core .palace-journey-index{
 color:#bcbcbc!important;
 -webkit-text-fill-color:#bcbcbc!important;
}
#services .palace-journey-step{
 transition:background-color .28s ease,border-color .28s ease,box-shadow .28s ease,transform .28s ease!important;
}
@media(hover:hover) and (pointer:fine){
 #services .palace-journey-step:hover{
  background:#e9efff!important;
  border-color:#165dff!important;
  box-shadow:inset 0 3px 0 #165dff;
  transform:translateY(-3px);
 }
 #services .palace-journey-core:hover{
  background:#252e45!important;
  border-color:#165dff!important;
  box-shadow:inset 0 3px 0 #165dff;
 }
}
@media(prefers-reduced-motion:reduce){
 #services .palace-journey-step{transition:none!important}
}

/* Project consultancy: slim editorial entry point, before the workflow */
#services .palace-consultancy-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;padding:24px 0 26px;margin:clamp(28px,4vw,56px) 0 0;border-top:1px solid #b8b8b4;border-bottom:1px solid #b8b8b4;color:#111}
#services .palace-consultancy-label{display:block;color:#165dff;font:700 11px/1.4 'Space Grotesk',sans-serif;letter-spacing:.13em;margin-bottom:12px}
#services .palace-consultancy-intro h3{font:700 clamp(23px,2.5vw,40px)/1.1 'Space Grotesk',sans-serif;letter-spacing:-.05em;margin:0 0 10px}
#services .palace-consultancy-intro p{font-size:clamp(13px,1.1vw,16px);line-height:1.5;max-width:740px;margin:0}
#services .palace-consultancy-intro a{font:700 11px/1.5 'Space Grotesk',sans-serif;letter-spacing:.07em;white-space:nowrap;border-bottom:1px solid #111;padding-bottom:7px;transition:color .2s,border-color .2s}
#services .palace-consultancy-intro a:hover{color:#165dff;border-color:#165dff}
#services .palace-consultancy-intro+.palace-process{margin-top:clamp(32px,4vw,60px)!important;border-top:0!important}
@media(max-width:850px){#services .palace-consultancy-intro{grid-template-columns:1fr;align-items:start;gap:18px}#services .palace-consultancy-intro a{justify-self:start;white-space:normal}}

/* Tighten transition from reel to What We Do */
#services{padding-top:clamp(36px,4vw,68px)!important}

/* Give the Selected Work heading's blue full stop breathing room */
#work .section-head h2 .blue-dot{display:inline-block;margin-left:.095em!important}
