/* palaceAI — monochrome brutalist cinema experiment, custom implementation */
:root{--br-paper:#f5f5f2;--br-ink:#080808;--br-blue:#165dff}
html{scroll-behavior:smooth}
body{background:var(--br-paper)}
.pd2-intro{background:var(--br-paper)!important;color:var(--br-ink)!important;padding:20px 3vw 25px!important}
.pd2-intro-stage{height:clamp(650px,80svh,980px)!important;min-height:650px!important}
.pd2-title{top:23%!important;left:0!important;right:0!important;overflow:visible!important}
.pd2-line{font-family:'DM Sans',sans-serif!important;font-weight:700!important;letter-spacing:-.095em!important;line-height:.92!important;max-width:100%!important}
.pd2-line:nth-child(1){font-size:clamp(78px,12.2vw,225px)!important}
.pd2-line:nth-child(2){font-size:clamp(70px,10.5vw,192px)!important;background:none!important;color:var(--br-blue)!important;padding:0!important;margin-left:5%!important}
.pd2-line:nth-child(3){font-size:clamp(70px,10.8vw,200px)!important}
.pd2-line:nth-child(4){font-size:clamp(65px,9.2vw,175px)!important;margin-left:7%!important}
.pd2-image{top:12%!important;right:0!important;width:34%!important;height:66%!important;box-shadow:none!important;filter:grayscale(.15)}
.pd2-intro-stage::after{content:"";display:none}
.pd2-wordmark{opacity:.06!important}
.pd2-intro-bottom{position:relative;z-index:7;background:var(--br-paper)}
.pd2-side-note{bottom:4%!important;left:0!important;z-index:8;background:var(--br-paper);padding:12px 18px 12px 0}
.pd2-showreel{height:220svh!important}
.pd2-sticky{padding:0!important;gap:0!important}
.pd2-reel-head,.pd2-reel-bottom{position:absolute;z-index:5;left:3vw;right:3vw;color:#fff!important;mix-blend-mode:difference}
.pd2-reel-head{top:22px}.pd2-reel-bottom{bottom:22px}
.pd2-reel-frame{flex:none!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:0!important;transform:scale(.75);overflow:hidden}
.pd2-reel-frame video{width:100%;height:100%;object-fit:cover}
.pd2-reel-caption{font-size:clamp(64px,11vw,200px)!important;bottom:10%!important;left:3vw!important;max-width:95%;line-height:.83!important}
#work{background:var(--br-paper)!important;padding:clamp(95px,11vw,180px) 3vw!important;color:var(--br-ink)!important}
#work::before{content:"01 — FILMS / PROJECTS";border-top:2px solid #0a0a0a;padding-top:20px;color:#111!important;letter-spacing:.12em}
#work .section-head h2{font-size:clamp(80px,14.5vw,265px)!important;line-height:.79!important;letter-spacing:-.105em!important;max-width:100%!important;overflow-wrap:normal}
#work .section-head p{font-size:clamp(15px,1.4vw,22px)!important;max-width:440px!important}
#work .work-grid{gap:clamp(90px,13vw,220px) 3vw!important}
#work .work-card:nth-child(n){position:relative}
#work .work-card:nth-child(n) .poster{border:1px solid #111!important}
#work .work-card h3{text-transform:uppercase!important;font-weight:700!important}
#work .work-card:nth-child(4n+1)::before{content:"PALACEAI / MOTION";position:absolute;top:-35px;left:0;font:700 11px 'Space Grotesk',sans-serif;letter-spacing:.15em}
#services{background:#111!important;color:#f5f5f2!important;padding:clamp(100px,12vw,180px) 3vw!important}
#services .section-head h2{font-size:clamp(78px,14vw,240px)!important;color:#f5f5f2!important;letter-spacing:-.105em!important}
#services h3,#services p,#services .eyebrow,#services .service-row b{color:#f5f5f2!important}
#services .service-row{border-color:#aaa!important;grid-template-columns:70px minmax(0,1fr) minmax(180px,32%)!important;align-items:start;padding:28px 0!important}
#services .service-row h3{font-size:clamp(28px,4vw,65px)!important;line-height:.96!important;letter-spacing:-.07em!important}
#services .service-row:hover{background:#165dff!important}
#services .service-row:hover h3{transform:translateX(1vw)!important}
#about{background:var(--br-paper)!important;color:var(--br-ink)!important;padding:clamp(100px,12vw,190px) 3vw!important;gap:clamp(45px,8vw,150px)!important}
#about .about-intro h2{font-size:clamp(65px,8vw,145px)!important;line-height:.86!important;letter-spacing:-.105em!important;overflow-wrap:break-word}
#about .portrait-placeholder{width:min(100%,620px)!important;aspect-ratio:4/4.6!important;border:2px solid #111!important;box-shadow:none!important;margin-top:55px!important}
#about .portrait-placeholder img{object-position:center 22%!important}
#about .about-copy{padding-top:clamp(40px,8vw,145px)!important}
#about .about-copy h3{font-size:clamp(40px,4.5vw,85px)!important;letter-spacing:-.08em!important}
#about .about-copy p{font-size:clamp(16px,1.25vw,20px)!important;line-height:1.55!important}
#contact{background:#165dff!important}
#contact h2{color:white!important}
#contact a{color:#fff!important}
@media(max-width:800px){
.pd2-intro-stage{height:76svh!important;min-height:550px!important}
.pd2-title{top:29%!important}
.pd2-line:nth-child(n){font-size:15vw!important;margin-left:0!important}
.pd2-line:nth-child(2){font-size:12.4vw!important}
.pd2-line:nth-child(4){font-size:10.8vw!important}
.pd2-image{width:69%!important;height:57%!important;top:13%!important}
.pd2-side-note{bottom:1%!important;font-size:9px!important}
#work{padding:80px 4vw!important}
#work .section-head h2{font-size:clamp(59px,14vw,110px)!important}
#work .work-card:nth-child(n){margin-bottom:75px!important}
#services{padding:80px 4vw!important}
#services .section-head h2{font-size:clamp(65px,14vw,105px)!important}
#services .service-row{grid-template-columns:35px 1fr!important;gap:12px!important}
#services .service-row p{grid-column:2!important}
#about{padding:90px 4vw!important}
#about .about-intro h2{font-size:clamp(58px,12vw,110px)!important}
#about .portrait-placeholder{margin-top:30px!important}
}
@media(prefers-reduced-motion:reduce){.pd2-reel-frame{transform:scale(1)!important}}
