*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{background:#d6b38b;color:#3b2516;font-family:Georgia,"Times New Roman",serif}button,a{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #fff3a5;outline-offset:2px;box-shadow:0 0 0 4px #513322}.desktop{height:100vh;height:100dvh;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse,#f2d9b4,#b58d60)}.canvas{position:relative;width:min(100vw,calc(100dvh * 1308 / 737));aspect-ratio:1308/737;container-type:inline-size;isolation:isolate}.art{position:absolute;inset:0;display:grid;grid-template-columns:344fr 629fr 335fr;pointer-events:none}.art img{width:100%;height:100%;display:block}.sr,.desktop .navitem span,.desktop .navitem b,.desktop .project-cta span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.desktop-nav{position:absolute;inset:0;pointer-events:none;z-index:3}.desktop .navitem{position:absolute;left:calc(var(--x)*100%/1308);top:calc(var(--y)*100%/737);width:calc(var(--w)*100%/1308);height:calc(var(--h)*100%/737);pointer-events:auto;border-radius:.35cqw}.desktop .navitem>button{display:block;width:100%;height:100%;background:transparent;border:0;border-radius:inherit;color:#f6e5cb}.desktop .navitem:hover:not(.projects),.desktop .navitem:focus-within:not(.projects){background:rgba(255,215,140,.13)}.desktop .projects:not(.open)>button{background:linear-gradient(#61412c,#362318);box-shadow:inset 0 0 0 1px #8f6c43;border-radius:.3cqw}.desktop .projects:not(.open)>button span,.desktop .projects:not(.open)>button b{position:static;width:auto;height:auto;clip-path:none;overflow:visible;font-size:1.13cqw;color:#f4dfbf}.desktop .projects:not(.open)>button b{font-size:.85cqw;margin-left:.35cqw}.desktop .sub{position:absolute;top:100%;left:0;min-width:145%;background:linear-gradient(#523522,#302117);border:1px solid #a87c48;box-shadow:0 .4cqw .8cqw #37200b80;border-radius:.25cqw;padding:.2cqw;z-index:5;font-size:1.03cqw;color:#fae6c6}.desktop .sub a{display:flex;align-items:center;min-height:2cqw;padding:.35cqw .5cqw;white-space:nowrap}.desktop .sub a span{position:static;width:auto;height:auto;clip-path:none;overflow:visible}.desktop .sub a:hover,.desktop .sub a:focus-visible{background:#a0784777}.desktop .projects.open::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:calc(-25 / 105 * 100%);top:calc(-5 / 34 * 100%);width:calc(139 / 105 * 100%);height:calc(151 / 34 * 100%);background:url('assets/home-v02/projects-open.png') center/100% 100% no-repeat}.desktop .projects .sub{left:calc(-20 / 105 * 100%);top:calc(34 / 34 * 100%);width:calc(128 / 105 * 100%);min-width:0;height:calc(108 / 34 * 100%);border:0;padding:0;background:transparent;box-shadow:none;border-radius:0;display:grid;grid-template-rows:repeat(4,1fr)}.desktop .projects .sub a{min-height:0;padding:0}.desktop .projects .sub a span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.desktop .projects .sub[hidden],.sub[hidden]{display:none!important}.project-cta{position:absolute;left:41.9%;top:81.4%;width:16.8%;height:5.8%;border-radius:1.7cqw;z-index:2}.project-cta:hover{background:#f7d09720}.mobile{display:none}
@media (max-aspect-ratio: 1/1){.desktop{display:none}.mobile{display:flex;height:100vh;height:100dvh;flex-direction:column;align-items:stretch;justify-content:center;gap:clamp(3px,1.1vh,12px);padding:max(7px,env(safe-area-inset-top)) 9px max(7px,env(safe-area-inset-bottom));background:radial-gradient(ellipse,#f4ddba,#d6ae7f);overflow:hidden}.mobile-brand{text-align:center;flex:0 1 auto;min-height:0}.mobile-brand img{display:block;margin:auto;max-width:65%;height:clamp(48px,13dvh,130px);object-fit:contain;mix-blend-mode:multiply}.mobile-brand .mobile-site-title{font-weight:bold;font-size:clamp(16px,4.7vw,32px);line-height:1.12;margin:3px 0}.mobile-brand p{font-size:clamp(12px,3.8vw,22px);font-style:italic;line-height:1.15;margin:4px 0}.mobile-brand small{display:block;font-size:clamp(10px,2.9vw,18px)}.mobile-portraits{display:flex;align-items:center;justify-content:space-evenly;flex:0 1 auto;min-height:0;gap:6px}.mobile-portraits img{width:47%;height:clamp(70px,28dvh,300px);object-fit:contain;mix-blend-mode:multiply}.mobile-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;position:relative;z-index:5;flex:none}.mobile .navitem{position:relative;background:linear-gradient(#6a482f,#362216);color:#f9e3be;border:1px solid #aa7c43;border-radius:4px;text-align:center;min-height:44px;font-size:clamp(12px,3.5vw,19px);display:flex;align-items:center;justify-content:center}.mobile .navitem button{background:transparent;color:inherit;border:0;width:100%;height:100%;min-height:42px;padding:3px}.mobile .navitem b{font-size:.85em;margin-left:.25em}.mobile .sub{position:absolute;left:0;top:100%;min-width:100%;width:max-content;max-width:95vw;background:#41291a;border:1px solid #b78a4f;border-radius:4px;padding:4px;box-shadow:0 4px 12px #2c160c80;z-index:9}.mobile .sub a{display:block;min-height:42px;padding:11px 9px;text-align:left}.mobile .archive .sub{left:auto;right:0}.mobile .open{z-index:8}.mobile-finale{display:grid;grid-template-columns:1fr 1.4fr 1fr;align-items:center;flex:0 1 auto;min-height:0;text-align:center}.mobile-finale img{width:100%;height:clamp(60px,19dvh,190px);object-fit:cover;mix-blend-mode:multiply;border-radius:5px}.mobile-finale h2{font-size:clamp(14px,4.3vw,30px);line-height:1.06;margin:0 0 8px}.mobile-finale a{display:inline-flex;align-items:center;justify-content:center;padding:6px;min-height:38px;border:1px solid #b68b53;border-radius:20px;background:#56321e;color:#ffe8b7;font-size:clamp(10px,3vw,17px)}}
/* v0.4 — seamless textured parchment panels. Canvas geometry remains unchanged. */
.desktop{position:relative;background:#ca9f77 url("assets/home-v02/side-parchment.webp") center/auto 100% repeat-x}
.desktop::before,.desktop::after{content:"";position:absolute;top:0;bottom:0;width:max(0px,calc((100vw - 100dvh * 1308 / 737) / 2));pointer-events:none;background-color:#ca9f77;background-image:var(--side-art),var(--side-texture),url("assets/home-v02/side-parchment.webp");background-repeat:no-repeat,no-repeat,repeat-x;background-size:contain,auto 100%,auto 100%;background-position:center,var(--side-position),center;overflow:hidden}
.desktop::before{left:0;--side-art:url("assets/home-v02/side-left.svg");--side-texture:url("assets/home-v02/side-parchment.webp");--side-position:right center}
.desktop::after{right:0;--side-art:url("assets/home-v02/side-right.svg");--side-texture:url("assets/home-v02/side-parchment.webp");--side-position:left center}
.canvas{z-index:1}
