/* v6: tighter display type, nav name, reveal system, subpages */
:root{--disp2:"Plus Jakarta Sans","Space Grotesk",Inter,system-ui,sans-serif}
h1,h2,h3,.bigword,.ln{font-family:var(--disp2)!important}
h2,.bigword{font-weight:800!important;letter-spacing:-.035em!important}
h2{font-size:clamp(2.1rem,4.4vw,3.8rem)!important;line-height:1.04}
#work h2{font-size:clamp(2.4rem,5vw,4.4rem)!important}
.bigword{font-size:clamp(2.4rem,7.4vw,7.6rem)!important;letter-spacing:-.045em!important}
.hero-copy h1{font-weight:800;letter-spacing:-.025em}
h3{font-weight:700;letter-spacing:-.015em}
.contact h2{font-size:clamp(2rem,4vw,3.4rem)!important}
nav{justify-content:flex-start;gap:14px}nav ul{margin-left:auto}nav>.btn{margin-left:18px}
.brand-name{font:800 1.05rem/1 var(--disp2);letter-spacing:-.02em;color:var(--ink);text-decoration:none;white-space:nowrap}
.brand-name:hover{color:var(--gold)}
/* reveal system that works without GSAP */
html.rvon .rv{transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1)!important}
html.rvon .rv:not(.in){opacity:0!important;transform:translateY(34px)!important}
html.rvon h2.rv:not(.in){opacity:1!important;transform:none!important}
html.rvon h2.rv:not(.in) .w>span{opacity:0!important;transform:translateY(100%) rotateX(-70deg)!important}
html.rvon h2.rv .w>span{transition:transform .9s cubic-bezier(.2,.8,.2,1),opacity .9s!important}
html.rvon h2.rv.in .w>span{opacity:1!important;transform:none!important}
.w:nth-child(2)>span{transition-delay:.06s!important}.w:nth-child(3)>span{transition-delay:.12s!important}.w:nth-child(4)>span{transition-delay:.18s!important}.w:nth-child(5)>span{transition-delay:.24s!important}.w:nth-child(6)>span{transition-delay:.3s!important}
.card.rv:nth-child(2){transition-delay:.08s!important}.card.rv:nth-child(3){transition-delay:.16s!important}.card.rv:nth-child(4){transition-delay:.24s!important}
/* featured: 4-up grid on home, full grid on /projects/ */
#work .grid{display:grid!important;grid-template-columns:repeat(2,1fr);gap:28px;width:auto!important;transform:none!important}
#work.allwork .grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}
#work .card{width:auto!important}
#work .card img{max-height:none!important;aspect-ratio:1200/630}
@media (max-width:820px){#work .grid{grid-template-columns:1fr}}
.seeall{margin-top:30px;display:flex;gap:12px;flex-wrap:wrap}
.subpage{padding-top:70px}
.sub .bg #px{display:block}
#px{display:block}
.bg.gl #px{display:none}
/* floating avatar + CSS motion survive reduced motion */
@media (prefers-reduced-motion:reduce){
 .track{animation:mq 80s linear infinite!important}.rt{animation:spin 40s linear infinite!important}
 html.rvon .rv{transition:opacity .6s ease,transform .6s ease!important}
}
#dbg{position:fixed;left:10px;bottom:10px;z-index:300;background:#0B1F3A;color:#F3E9DC;font:12px/1.4 "JetBrains Mono",monospace;padding:8px 10px;border-radius:8px;max-width:92vw}
.nogsap .ava{left:28px;top:8px;width:46px;height:46px}
@media (prefers-reduced-motion:reduce){.bigword.fill{color:transparent!important;-webkit-text-stroke:2px #0B1F3A!important;opacity:1!important}}
.hero-copy h1{letter-spacing:-.012em!important;word-spacing:.06em}
