/* One header geometry across every public page, including the About page. */
html{scrollbar-gutter:stable}
.site-header .header-inner{display:grid;grid-template-columns:132px minmax(0,1fr) auto 180px;align-items:center;gap:18px;min-height:92px;height:auto;padding-block:10px;flex-wrap:nowrap}
.site-header .header-inner .brand{grid-column:auto;grid-row:auto;justify-self:start}
.site-header .header-inner .brand img{width:132px;height:65px;object-fit:contain;margin:0}
.site-header .header-inner nav{display:flex;gap:18px;align-items:center;justify-content:center;flex-wrap:nowrap;grid-column:auto;grid-row:auto;width:auto;margin:0;font-size:12px;order:0}
.site-header .header-inner nav a{white-space:nowrap;flex:none;transform:none;transition:color .15s;font-size:12px}
.site-header .header-inner>.header-contact{display:inline-flex;grid-column:auto;grid-row:auto;justify-self:auto;white-space:nowrap;align-items:center;font-size:12px;min-height:39px;padding:8px 13px;margin:0}
.site-header .header-inner .header-controls{display:flex;grid-column:auto;grid-row:auto;align-items:center;justify-content:flex-end;justify-self:end;gap:7px;width:180px;min-height:38px;margin:0}
.site-header .header-controls .account-link{margin:0;min-width:104px;text-align:center;white-space:nowrap;font-size:10px;padding:6px 9px}
.site-header .header-controls .header-toggle{font-size:10px;min-width:60px;padding:6px 8px}
@media(max-width:1200px){.site-header .header-inner{grid-template-columns:132px 1fr 180px;gap:8px 18px}.site-header .header-inner nav{grid-column:1/-1;grid-row:2;justify-content:center;padding-bottom:8px;gap:24px}.site-header .header-inner>.header-contact{grid-column:2;grid-row:1;justify-self:center}.site-header .header-inner .header-controls{grid-column:3;grid-row:1}.site-header .header-inner .brand{grid-column:1;grid-row:1}}
@media(max-width:650px){.site-header .header-inner,.site-header .header-inner:has(.header-controls){grid-template-columns:1fr 1fr;gap:12px;height:auto;padding-block:14px}.site-header .header-inner .brand{grid-column:1/-1;grid-row:1;justify-self:center}.site-header .header-inner .brand img{width:122px;height:58px}.site-header .header-inner>.header-contact{grid-column:1;grid-row:2;justify-self:start;font-size:11px;padding:7px 10px}.site-header .header-inner .header-controls{grid-column:2;grid-row:2;width:auto;gap:5px}.site-header .header-inner nav{grid-column:1/-1;grid-row:3;justify-content:center;gap:8px 15px;flex-wrap:wrap;padding:0}.site-header .header-inner nav a{font-size:11px}.site-header .header-controls .account-link{min-width:96px;font-size:10px}.site-header .header-controls .header-toggle{min-width:56px}}
@media(max-width:370px){.site-header .header-inner nav{gap:8px 12px}.site-header .header-inner nav a{font-size:10px}.site-header .header-controls .account-link{min-width:84px;padding-inline:5px}}

/* Long sections off screen are not drawn or animated until they come near, so scrolling stays smooth. */
.results-section,.websites-section,.social-section,[data-section="work"]{content-visibility:auto}
.results-section{contain-intrinsic-size:auto 1400px}[data-section="work"]{contain-intrinsic-size:auto 1000px}.websites-section{contain-intrinsic-size:auto 1100px}.social-section{contain-intrinsic-size:auto 1000px}
.js .static-projects,.js #results-grid>.result-card:not(.reveal){visibility:hidden}
.static-projects{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.static-projects h3{margin:0 0 4px}

/* Quick entrances: content should feel ready the moment a page opens. */
.motion-ready .reveal,.reveal.visible,.motion-ready .reveal.visible{transition:opacity .3s ease,transform .3s cubic-bezier(.16,1,.3,1)}
.motion-ready .reveal:not(.visible),.section-heading.reveal:not(.visible),.result-card.reveal:not(.visible),.services-grid article.reveal:not(.visible){transform:translateY(12px)}
.hero-enter,.page-header .container>*{animation-duration:.4s}
.wk-swap .wk-card,.wk-info.wk-swap>*,.ws-swap .ws-info>*,.sp-swap .sp-app,.ws-swap .ws-screen,.ws-swap .ws-phone-screen{animation-duration:.35s}
.wk-swap .wk-card:nth-child(n),.wk-info.wk-swap>:nth-child(n),.ws-swap .ws-info>:nth-child(n){animation-delay:0s}
body[data-section-page] .results-section,body[data-section-page] [data-section="work"],body[data-section-page] .websites-section,body[data-section-page] .social-section{content-visibility:visible}

/* Heading band on /work, /results, /contact. */
.page-intro{position:relative;isolation:isolate;color:#fff;padding-block:52px 46px}
.page-intro::before{content:'';position:absolute;z-index:-1;inset:0 calc((100vw - 100%) / -2);background:linear-gradient(#ffffff06 1px,transparent 1px) 0 0/100% 56px,linear-gradient(90deg,#ffffff06 1px,transparent 1px) 0 0/56px 100%,linear-gradient(115deg,#651012,#360b0d)}
.page-intro h1{font-size:clamp(32px,4.2vw,54px);line-height:1.25;margin:0 0 10px}
.page-intro p{font-size:17px;line-height:1.85;max-width:720px;margin:0;color:#f1d4d4}
/* /contact: one continuous block instead of two stacked bands. */
body[data-section-page="contact"] main{background:linear-gradient(#ffffff06 1px,transparent 1px) 0 0/100% 56px,linear-gradient(90deg,#ffffff06 1px,transparent 1px) 0 0/56px 100%,linear-gradient(115deg,#651012,#360b0d)}
body[data-section-page="contact"] .page-intro{padding-block:60px 10px}
body[data-section-page="contact"] .page-intro::before{display:none}
body[data-section-page="contact"] .contact-section{background:none;padding-block:30px 72px}
body[data-section-page="contact"] .contact-section h2{font-size:clamp(24px,2.8vw,36px)}
/* Footer on every public page. */
.site-foot.footer{display:block;width:auto;max-width:none;margin:0;padding:0;background:#0d0b0c;color:#b9b1b2;font-size:14px;border-top:1px solid #2c2627}
.site-foot-main{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:44px;padding-block:58px 44px}
.site-foot-brand img{display:block;width:120px;height:auto}
.site-foot .site-foot-name{margin:12px 0 0;font:600 10px/1.5 Arial,sans-serif;letter-spacing:2px;color:#7d7475;text-align:right}
[dir="ltr"] .site-foot .site-foot-name{text-align:left}
.site-foot-about{max-width:340px;margin-top:14px;line-height:1.85}
.site-foot-social{display:flex;gap:8px;margin-top:18px}
.site-foot-social a{display:grid;place-items:center;width:38px;height:38px;border:1px solid #3d3536;border-radius:50%;color:#f4f0f0;transition:background .15s,border-color .15s}
.site-foot-social a:hover{background:#ed171f;border-color:#ed171f}
.site-foot-social svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-foot h2{margin:0 0 14px;font-size:14px;line-height:1.5;font-weight:700;color:#fff}
.site-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.site-foot li a{transition:color .15s}
.site-foot li a:hover{color:#ff5d64}
.site-foot-contact [dir="ltr"]{unicode-bidi:plaintext}
.site-foot-bar{border-top:1px solid #2c2627;font-size:12.5px;color:#7d7475}
.site-foot-bar .container{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding-block:18px}
.site-foot-bar a:hover{color:#fff}
@media(max-width:900px){.site-foot-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.site-foot-brand{grid-column:1/-1}}
@media(max-width:480px){.site-foot-main{grid-template-columns:minmax(0,1fr);padding-block:42px 30px}}
