.single-main{padding:35px 40px 0;color:#f5f5f3}
.project-hero{padding-top:6px}
.project-hero-heading{display:grid;grid-template-columns:minmax(220px,315px) minmax(0,1fr);align-items:center;gap:34px;margin:0 0 50px}
.project-section-label{display:flex;align-items:center;gap:14px;margin:0 0 22px;color:#9b9b99;font-size:12px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}
.project-hero h1{max-width:none;margin:0;font-size:clamp(58px,7vw,112px);font-weight:500;line-height:.88;letter-spacing:-.075em;text-wrap:balance}
.project-hero-image{position:relative;width:100%;aspect-ratio:315/180;margin:0;overflow:hidden;border-radius:20px;background:#171717}
.project-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.project-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:60px;margin:0;padding:0}
.project-meta-grid>div{min-width:0;border-top:1px solid #303030;padding:17px 0 0}
.project-meta-grid dt{margin-bottom:8px;color:#999;font-size:16px;line-height:1.3}
.project-meta-grid dd{margin:0;color:#f5f5f3;font-size:16px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}
.project-information{display:grid;grid-template-columns:minmax(0,1fr);margin:0 auto;padding:95px 0 110px;border-bottom:1px solid #292929}
.project-description{min-width:0}
.project-description .project-section-label{margin-bottom:28px}
.project-editor-content{max-width:900px;font-size:clamp(18px,1.55vw,25px);line-height:1.55;color:#b6b6b4}
.project-editor-content>*:first-child{margin-top:0}
.project-editor-content>*:last-child{margin-bottom:0}
.project-editor-content h2,.project-editor-content h3,.project-editor-content h4{margin:1.7em 0 .55em;color:#f5f5f3;font-weight:500;letter-spacing:-.045em;line-height:1.05}
.project-editor-content h2{font-size:clamp(38px,5vw,76px)}
.project-editor-content h3{font-size:clamp(30px,3.5vw,52px)}
.project-editor-content p{margin:0 0 1em}
.project-editor-content ul,.project-editor-content ol{padding-left:1.2em}
.project-editor-content a{color:#fff;text-decoration:underline;text-underline-offset:4px}
.project-editor-content img,.project-editor-content figure{max-width:100%;height:auto}
.project-editor-content figure{margin:2.5em 0}
.project-editor-content figcaption{margin-top:10px;color:#9b9b99;font-size:13px}
.project-metadata{align-self:start;margin:0;padding:0}
.project-metadata>div{display:grid;grid-template-columns:90px 1fr;gap:14px;padding:15px 0;border-top:1px solid #353535}
.project-metadata dt{color:#929290;font-size:12px;letter-spacing:.09em;text-transform:uppercase}
.project-metadata dd{margin:0;color:#f3f3f1;font-size:14px;line-height:1.5;text-align:right}
.metadata-categories{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.metadata-categories a,.metadata-tags a{color:inherit}
.project-gallery-section{max-width:1500px;margin:0 auto;padding:100px 0 120px}
.project-gallery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:28px}
.project-gallery-heading .project-section-label{margin:0}
.project-gallery-heading>p:last-child{margin:0;color:#a5a5a2;font-size:15px}
.project-gallery{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:repeat(2,minmax(220px,32vw));gap:18px}
.gallery-image{position:relative;display:block;min-height:0;overflow:hidden;background:#161616}
.gallery-image-1{grid-row:span 2}
.gallery-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.22,1,.36,1)}
.gallery-image:hover img{transform:scale(1.035)}
.gallery-image>span{position:absolute;left:50%;top:50%;display:grid;width:72px;height:72px;place-content:center;border-radius:50%;background:#f5f5f3;color:#111;font-size:30px;opacity:0;transform:translate(-50%,-40%) scale(.85);transition:.35s}
.gallery-image:hover>span,.gallery-image:focus-visible>span{opacity:1;transform:translate(-50%,-50%) scale(1)}
.project-navigation{border-top:1px solid #292929}
.project-navigation-bar{display:flex;align-items:center;justify-content:space-between;min-height:112px;gap:30px}
.back-to-list{display:flex;align-items:center;gap:14px;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.grid-icon{display:block;width:23px;height:18px;background:radial-gradient(circle,#fff 1.2px,transparent 1.6px) 0 0/8px 8px}
.see-next{display:flex;align-items:center;gap:24px;font-size:clamp(32px,4.2vw,60px);font-weight:500;letter-spacing:-.055em;line-height:1.1}
.next-arrow{font-size:1.2em;font-weight:400;transition:transform .35s}
.see-next:hover .next-arrow{transform:translateX(8px)}
.next-project-image{display:block;max-height:620px;overflow:hidden}
.next-project-image img{display:block;width:100%;height:auto;transition:transform 1s cubic-bezier(.22,1,.36,1)}
.next-project-image:hover img{transform:scale(1.025)}
.single-page .contact-footer{padding-top:100px}
.gallery-dialog{position:fixed;inset:0;width:100vw;height:100vh;max-width:100vw;max-height:100vh;margin:0;padding:60px 80px 35px;border:0;background:#080808f5;color:white;overflow:hidden}
.gallery-dialog::backdrop{background:#000}
.gallery-dialog[open]{display:flex;align-items:center;justify-content:center}
.gallery-dialog figure{display:flex;flex-direction:column;align-items:center;gap:15px;width:100%;max-width:100%;margin:0}
.gallery-dialog figure img{max-width:100%;max-height:calc(100vh - 145px);object-fit:contain}
.gallery-dialog figcaption{color:#aaa;font-size:13px}
.gallery-dialog button{position:absolute;z-index:1;width:44px;height:44px;border:1px solid #777;border-radius:50%;background:#111;color:white;font-size:24px;transition:.3s}
.gallery-dialog button:hover{background:white;color:black}
.gallery-close{top:20px;right:22px}.gallery-previous{top:50%;left:20px}.gallery-next{top:50%;right:20px}
@media(max-width:900px){.single-main{padding:28px 28px 0}.project-hero-heading{grid-template-columns:minmax(190px,275px) minmax(0,1fr);gap:25px;margin-bottom:40px}.project-hero h1{font-size:clamp(54px,8vw,82px)}.project-meta-grid{gap:30px}.project-information{padding:75px 0 80px}.project-gallery-section{padding:75px 0 90px}.project-gallery{gap:12px}}
@media(max-width:640px){.single-main{padding:24px 20px 0}.project-hero-heading{grid-template-columns:110px minmax(0,1fr);gap:18px;margin-bottom:30px}.project-hero-image{border-radius:12px}.project-hero h1{font-size:clamp(38px,10vw,58px);line-height:.93;letter-spacing:-.07em}.project-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}.project-meta-grid>div{padding-top:12px}.project-meta-grid dt,.project-meta-grid dd{font-size:14px}.project-information{display:flex;flex-direction:column;gap:36px;padding:55px 0 58px}.project-editor-content{font-size:17px;line-height:1.55}.project-gallery-section{padding:58px 0 65px}.project-gallery-heading{display:block;margin-bottom:18px}.project-gallery-heading .project-section-label{margin-bottom:10px}.project-gallery{grid-template-columns:1fr 1fr;grid-template-rows:55vw 38vw;gap:9px}.gallery-image-1{grid-column:span 2;grid-row:auto}.project-navigation-bar{min-height:88px;gap:12px}.back-to-list{gap:8px;font-size:10px}.see-next{gap:10px;font-size:29px}.next-arrow{font-size:1em}.single-page .contact-footer{padding-top:60px}.gallery-dialog{padding:60px 12px 35px}.gallery-dialog figure img{max-height:calc(100vh - 165px)}.gallery-previous,.gallery-next{top:auto;bottom:22px}.gallery-close{top:15px;right:15px}.gallery-image>span{width:54px;height:54px;font-size:24px}}
@media(prefers-reduced-motion:reduce){.gallery-image img,.next-project-image img,.next-arrow,.gallery-image>span{transition:none}}
