/* LEVORA Experience Projects 2.5.0 — reference-aligned editorial index + compact project view. */
@view-transition { navigation: auto; }
.lxp-body{margin:0;background:#f5f4f1;color:#191b19}
.lxp-main{--lx-paper:#f5f4f1;--lx-ink:#191b19;--lx-muted:#696c67;--lx-copper:#c87953;--lx-rule:#dedbd4;--lx-shell-gutter:clamp(28px,5vw,96px);background:var(--lx-paper);color:var(--lx-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:clip}
.lxp-main *,.lxp-main *::before,.lxp-main *::after{box-sizing:border-box}
.lxp-main img{display:block;max-width:100%}
.lxp-main a{color:inherit;text-decoration:none}
.lxp-main .lxp-container{width:calc(100% - var(--lx-shell-gutter) - var(--lx-shell-gutter));max-width:1510px;margin-left:auto;margin-right:auto}
.lxp-main .lxp-eyebrow{font-size:10px;color:var(--lx-copper);font-weight:650;letter-spacing:.16em;line-height:1.6;margin:0}
/* The archive intro begins on EXACTLY the same x line as the Shell logo. */
.lxp-main .lxp-portfolio{padding:clamp(18px,3.1vw,44px) 0 clamp(36px,4.5vw,66px)}
.lxp-main .lxp-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:clamp(30px,6vw,100px);padding:clamp(24px,3vw,42px) 0 clamp(27px,3vw,46px);border-top:1px solid var(--lx-rule);border-bottom:1px solid var(--lx-rule);align-items:center;min-height:288px}
.lxp-main .lxp-hero-copy{min-width:0;max-width:695px}
.lxp-main .lxp-hero-topline{display:flex;align-items:center;gap:11px}
.lxp-main .lxp-hero-dot{width:7px;height:7px;border-radius:50%;background:var(--lx-copper);box-shadow:0 0 0 4px #c879531c}
.lxp-main .lxp-hero-index{font-size:10px;color:#888780;letter-spacing:.13em;margin:21px 0 7px}
.lxp-main .lxp-hero h1{font-weight:500;font-size:clamp(35px,3.5vw,56px);letter-spacing:-.057em;line-height:1.07;margin:0 0 14px;overflow-wrap:normal}
.lxp-main .lxp-hero h1 em{font-style:normal;color:var(--lx-copper)}
.lxp-main .lxp-hero-lead{max-width:510px;font-size:clamp(13px,1.02vw,15px);line-height:1.68;color:#686b65;margin:0}
.lxp-main .lxp-hero-discover{display:inline-flex;align-items:center;gap:26px;font-size:11px;font-weight:650;margin-top:21px;border-bottom:1px solid #afb1a9;padding-bottom:9px}
.lxp-main .lxp-hero-discover span{font-size:17px;color:var(--lx-copper);transition:transform .22s}
.lxp-main .lxp-hero-discover:hover span{transform:translateY(3px)}
.lxp-main .lxp-hero-aside{height:100%;min-height:220px;max-height:280px;border:1px solid #303632;border-radius:10px;background:radial-gradient(circle at 55% 55%,#353b35 0%,#1a1f1b 60%,#141715 100%);color:#eaece7;padding:15px 17px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}
.lxp-main .lxp-hero-aside-top,.lxp-main .lxp-hero-aside-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;font-weight:500;letter-spacing:.14em;color:#acb2ac;z-index:1}
.lxp-main .lxp-hero-aside-bottom{color:#cf9575}
.lxp-main .lxp-hero-graphic{height:144px;display:grid;place-items:center;position:relative;isolation:isolate}
.lxp-main .lxp-orbit{position:absolute;inset:6px auto;width:136px;height:136px;border:1px solid #b1b7af30;border-radius:50%;display:block}
.lxp-main .lxp-orbit-b{width:101px;height:101px;inset:23px auto;border-style:dashed;border-color:#b1b7af42}
.lxp-main .lxp-hero-graphic-center{display:flex;flex-direction:column;align-items:center;gap:0;z-index:1}
.lxp-main .lxp-hero-graphic-center>span{font-size:clamp(42px,4.2vw,63px);font-weight:300;letter-spacing:-.09em;color:#e4e4df;line-height:1}
.lxp-main .lxp-hero-graphic-center small{font-size:8px;letter-spacing:.24em;color:#c9916f;padding-top:5px}
.lxp-main .lxp-hero-cross{position:absolute;left:calc(50% + 82px);top:24px;color:#d49a77;font-size:21px;font-weight:300}
.lxp-main .lxp-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:28px 0 16px}
.lxp-main .lxp-section-heading h2{font-size:clamp(22px,2vw,31px);font-weight:480;letter-spacing:-.04em;line-height:1.2;margin:5px 0 0}
.lxp-main .lxp-project-count{font-size:10px;font-weight:500;color:#a4a69f;margin-left:12px;vertical-align:top;letter-spacing:0}
.lxp-main .lxp-section-caption{font-size:11px;color:#80837d;max-width:260px;text-align:right}
.lxp-main .lxp-filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 19px}
.lxp-main .lxp-filters a{font-size:10px;padding:6px 11px;border-radius:99px;border:1px solid #d4d2cb;line-height:1.3;transition:background .2s,color .2s}
.lxp-main .lxp-filters a:is(:hover,.is-selected){background:#292e2a;border-color:#292e2a;color:#fff}
/* Centered flex means EVERY row stays symmetric, including 3, 4 or 5 projects. */
.lxp-main .lxp-project-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(22px,2.4vw,35px) clamp(14px,1.5vw,23px);align-items:start}
.lxp-main .lxp-project-card{width:calc((100% - 2 * clamp(14px,1.5vw,23px)) / 3);min-width:0;margin:0;flex-shrink:0}
.lxp-main .lxp-project-link{display:block;min-width:0}
.lxp-main .lxp-card-image{background:#e7e4de;overflow:hidden;position:relative;border-radius:9px;aspect-ratio:1.53;display:grid;place-items:center}
.lxp-main .lxp-card-image .lxp-shared-image{width:100%;height:100%;object-fit:contain;display:block;transition:transform .45s cubic-bezier(.2,.85,.2,1)}
.lxp-main .lxp-project-link:hover .lxp-card-image img{transform:scale(1.017)}
.lxp-main .lxp-card-arrow{position:absolute;z-index:1;top:11px;right:11px;display:grid;place-items:center;width:30px;height:30px;background:#242824e6;border-radius:50%;color:white;font-size:15px;line-height:1}
.lxp-main .lxp-card-information{padding:11px 2px 0}
.lxp-main .lxp-card-heading{display:flex;align-items:baseline;gap:10px;justify-content:space-between}
.lxp-main .lxp-card-heading h3{font-size:clamp(16px,1.2vw,19px);font-weight:540;letter-spacing:-.034em;line-height:1.25;overflow-wrap:anywhere;margin:0}
.lxp-main .lxp-card-number{font-size:9px;color:#91938e;flex-shrink:0}
.lxp-main .lxp-card-information p{font-size:10px;line-height:1.4;color:#777c74;margin:5px 0 0}
.lxp-main .lxp-card-information p span{padding-inline:2px}
.lxp-main .lxp-no-projects{text-align:center;width:100%;padding:30px 0}
.lxp-main .lxp-image-fallback{font-size:50px;color:#929992;font-weight:300}
.lxp-main .lxp-pagination{margin-top:24px}
.lxp-main .lxp-project-link:focus-visible,.lxp-main .lxp-modal a:focus-visible{outline:2px solid var(--lx-copper);outline-offset:4px;border-radius:6px}
/* Compact project as a new document with the visual semantics of an editorial modal. */
.lxp-main .lxp-project-view{padding:clamp(22px,3vw,45px) 0 clamp(36px,4vw,60px);min-height:0;background:#efeee9}
.lxp-main .lxp-view-topline{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:0 0 16px;border-bottom:1px solid #d5d3cb;margin-bottom:23px}
.lxp-main .lxp-view-count{font-size:10px;letter-spacing:.12em;color:#868881}
.lxp-main .lxp-modal{max-width:min(100%,1010px);margin-inline:auto;border-radius:13px;background:#191c19;color:#f6f6f2;overflow:hidden;box-shadow:0 18px 60px #1418141d}
.lxp-main .lxp-modal-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px clamp(14px,2vw,23px);min-height:55px}
.lxp-main .lxp-case-back{font-size:12px;font-weight:560;display:inline-flex;align-items:center;gap:11px}
.lxp-main .lxp-case-back>span{font-size:20px;line-height:1;color:#dfa17b}
.lxp-main .lxp-modal-label{font-size:9px;letter-spacing:.12em;color:#a8ada5}
.lxp-main .lxp-modal-close{border:1px solid #515650;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:300;line-height:1}
.lxp-main .lxp-modal-close:hover,.lxp-main .lxp-case-back:hover{color:#e4a17c}
.lxp-main .lxp-modal-artwork{margin:0 clamp(9px,1.4vw,15px);width:calc(100% - clamp(18px,2.8vw,30px));background:#e5e2dc;border-radius:8px;display:flex;justify-content:center;align-items:center;overflow:hidden;min-height:190px}
.lxp-main .lxp-modal-artwork .lxp-case-artwork{display:block;width:auto;height:auto;max-height:min(45svh,430px);max-width:100%;object-fit:contain;flex:0 0 auto}
.lxp-main .lxp-modal-content{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(190px,.85fr);gap:clamp(22px,3vw,43px);padding:clamp(16px,2.3vw,28px) clamp(19px,2.6vw,30px) 20px}
.lxp-main .lxp-modal-primary{min-width:0}
.lxp-main .lxp-modal-kicker{color:#d29a77;font-size:9px;line-height:1.5;letter-spacing:.13em;text-transform:uppercase}
.lxp-main .lxp-modal-primary h1{font-size:clamp(27px,3vw,41px);letter-spacing:-.045em;font-weight:480;line-height:1.08;margin:7px 0 10px;overflow-wrap:break-word}
.lxp-main .lxp-modal-summary{font-size:clamp(12px,1vw,14px);line-height:1.58;color:#e0e1da;margin:0;max-width:640px}
.lxp-main .lxp-modal-about{font-size:12px;line-height:1.58;color:#a9aea8;margin:11px 0 0;max-width:640px}
.lxp-main .lxp-modal-facts{border-left:1px solid #454b43;padding-left:clamp(18px,2vw,28px);display:grid;align-content:start;gap:12px;min-width:0}
.lxp-main .lxp-modal-facts>div>span{display:block;font-size:9px;letter-spacing:.15em;color:#b68a6e;margin-bottom:4px}
.lxp-main .lxp-modal-facts strong,.lxp-main .lxp-modal-facts p{font-size:12px;color:#dedfd9;line-height:1.4;font-weight:500;margin:0}
.lxp-main .lxp-modal-facts p{font-weight:400;color:#b9bcb5}
.lxp-main .lxp-modal-site{font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #6c776b;width:max-content;max-width:100%}
.lxp-main .lxp-modal-site>span{font-size:16px;color:#d29a77}
.lxp-main .lxp-modal-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #41453f;margin:0 clamp(17px,2.6vw,30px);padding:12px 0 15px}
.lxp-main .lxp-modal-bottom a{font-size:11px;font-weight:550}
.lxp-main .lxp-modal-bottom>span{font-size:9px;letter-spacing:.13em;color:#8f958d}
/* Standard cross-document shared image transition, one uniquely named element per document. */
.lxp-main .lxp-shared-image{view-transition-name:none}
.lxp-main .lxp-shared-image[data-lxp-vt="active"]{view-transition-name:lxp-project-cover}
::view-transition-group(lxp-project-cover){animation-duration:.68s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
::view-transition-old(lxp-project-cover),::view-transition-new(lxp-project-cover){animation-duration:.68s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
::view-transition-old(root),::view-transition-new(root){animation-duration:.2s}
@media(min-width:1700px){.lxp-main .lxp-hero{min-height:320px}.lxp-main .lxp-project-grid{gap:28px 22px}}
@media(max-width:1179px){.lxp-main .lxp-hero h1{font-size:clamp(34px,4vw,47px)}.lxp-main .lxp-project-card{width:calc((100% - 2*14px)/3)}.lxp-main .lxp-project-grid{column-gap:14px}.lxp-main .lxp-hero{gap:28px;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr)}}
@media(max-width:900px){.lxp-main .lxp-project-card{width:calc((100% - 16px)/2)}.lxp-main .lxp-project-grid{column-gap:16px}.lxp-main .lxp-hero-aside{min-height:210px}.lxp-main .lxp-hero{gap:20px}.lxp-main .lxp-hero h1{font-size:clamp(31px,4.5vw,40px)}.lxp-main .lxp-modal-content{gap:16px;grid-template-columns:1.35fr .85fr}}
@media(max-width:700px){.lxp-main .lxp-hero{grid-template-columns:1fr;min-height:0;padding:19px 0 24px;gap:23px}.lxp-main .lxp-hero-aside{max-height:156px;min-height:156px}.lxp-main .lxp-hero-graphic{height:56px}.lxp-main .lxp-orbit-a{width:70px;height:70px;inset:-8px auto}.lxp-main .lxp-orbit-b{width:50px;height:50px;inset:2px auto}.lxp-main .lxp-hero-graphic-center>span{font-size:30px}.lxp-main .lxp-hero-graphic-center small{font-size:6px}.lxp-main .lxp-hero-cross{left:calc(50% + 49px);top:2px;font-size:13px}.lxp-main .lxp-hero h1{font-size:clamp(32px,6.7vw,42px)}.lxp-main .lxp-project-view{padding-top:17px}.lxp-main .lxp-modal-content{grid-template-columns:1fr;gap:20px}.lxp-main .lxp-modal-facts{border-left:0;border-top:1px solid #454b43;padding:14px 0 0;grid-template-columns:repeat(2,minmax(0,1fr))}.lxp-main .lxp-modal-services{grid-column:1/-1}.lxp-main .lxp-modal-site{grid-column:1/-1}.lxp-main .lxp-modal-artwork .lxp-case-artwork{max-height:40svh}}
@media(max-width:620px){.lxp-main .lxp-project-card{width:100%}.lxp-main .lxp-portfolio{padding-top:16px}.lxp-main .lxp-hero h1{font-size:clamp(31px,8vw,38px)}.lxp-main .lxp-hero-lead{font-size:13px}.lxp-main .lxp-section-heading{margin-top:24px}.lxp-main .lxp-section-caption{display:none}.lxp-main .lxp-card-image{aspect-ratio:1.53}.lxp-main .lxp-card-heading h3{font-size:19px}.lxp-main .lxp-modal-toolbar{padding:10px 12px}.lxp-main .lxp-modal-label{display:none}.lxp-main .lxp-modal-artwork{margin:0 8px;width:calc(100% - 16px)}.lxp-main .lxp-modal-artwork .lxp-case-artwork{max-height:32svh}.lxp-main .lxp-modal-content{padding:15px 17px 15px}.lxp-main .lxp-modal-primary h1{font-size:clamp(25px,7vw,32px)}.lxp-main .lxp-view-count{font-size:9px}}
@media(prefers-reduced-motion:reduce){.lxp-main *, .lxp-main *::before,.lxp-main *::after{transition:none!important;animation:none!important}::view-transition-group(lxp-project-cover){animation-duration:.01s!important}}


/* v2.6.0 — matched Shell gutter, complete artwork and real fullscreen project overlay */
.lxp-main .lxp-portfolio{padding-top:clamp(43px,5vw,68px)}
.lxp-main .lxp-hero{border-top:0;padding-top:clamp(8px,1.2vw,17px)}
.lxp-main .lxp-card-image{aspect-ratio:1.67;display:flex;align-items:center;justify-content:center;background:#e5e2dc}
.lxp-main .lxp-card-image .lxp-shared-image{width:100%;height:100%;object-fit:contain;object-position:center;}
.lxp-overlay[hidden]{display:none!important}
.lxp-overlay,.lxp-overlay *,.lxp-standalone-stage,.lxp-standalone-stage *{box-sizing:border-box}
.lxp-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(16,19,17,.88);display:grid;place-items:center;padding:clamp(10px,2.6vmin,28px);overflow:hidden;overscroll-behavior:contain;isolation:isolate}
.lxp-overlay .lxp-dialog{box-shadow:0 30px 110px #0009}
body.lxp-overlay-open{overflow:hidden!important}
body.lxp-overlay-open .lxp-body{overflow:hidden}
.lxp-body-standalone{margin:0!important;min-height:100dvh;background:#171a17!important;overflow:hidden!important}
.lxp-body-standalone #lx-main{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#303832,#171a17 70%);overflow:hidden!important}
.lxp-standalone-stage{width:100%;min-height:100dvh;display:grid;place-items:center;padding:clamp(10px,2.6vmin,28px)}
.lxp-dialog{width:min(100%,1100px);max-height:calc(100dvh - clamp(20px,5.2vmin,56px));border:1px solid #3c403b;border-radius:15px;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:#171a18;color:#f5f5f0;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;box-shadow:0 24px 65px #05090555}
.lxp-dialog a{color:inherit;text-decoration:none}
.lxp-dialog-bar{flex:none;height:49px;padding:8px clamp(13px,2vw,23px);display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:10px}
.lxp-dialog-return{font-size:11px;font-weight:600;display:inline-flex;gap:9px;align-items:center;justify-self:start;white-space:nowrap}
.lxp-dialog-return>span:first-child{font-size:19px;color:#d78d62}
.lxp-dialog-overline{font-size:9px;letter-spacing:.12em;color:#abb2aa;white-space:nowrap;justify-self:center}
.lxp-dialog-close{justify-self:end;flex:none;width:34px;height:34px;border:1px solid #656d63;border-radius:50%;display:grid;place-items:center;transition:background .2s,border-color .2s;line-height:1}
.lxp-dialog-close:hover,.lxp-dialog-close:focus-visible{background:#343c35;border-color:#d38e64}
.lxp-dialog-close svg{display:block;pointer-events:none}
.lxp-dialog-return:hover,.lxp-dialog-website:hover{color:#e9a078}
.lxp-dialog-image{flex:0 1 auto;min-height:0;width:calc(100% - clamp(18px,2vw,30px));margin-inline:auto;max-height:clamp(175px,43dvh,415px);background:#e8e5df;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.lxp-dialog-cover{width:100%;height:100%;object-fit:contain;display:block;min-height:0}
.lxp-dialog-image-fallback{font-size:70px;color:#3c433e}
.lxp-dialog-details{flex:none;display:grid;grid-template-columns:minmax(0,1.9fr) minmax(150px,.65fr);gap:clamp(16px,2.5vw,32px);padding:clamp(13px,1.6vw,19px) clamp(16px,2vw,25px) 11px}
.lxp-dialog-description{min-width:0}
.lxp-dialog-eyebrow{font-size:9px;letter-spacing:.11em;color:#d49b79;text-transform:uppercase;line-height:1.45}
.lxp-dialog-eyebrow span{padding-inline:5px}
.lxp-dialog-description h1{font-size:clamp(26px,2.6vw,38px);font-weight:450;letter-spacing:-.05em;line-height:1.1;margin:5px 0 8px}
.lxp-dialog-description p{font-size:clamp(11px,.9vw,13px);line-height:1.5;color:#d8dbd4;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lxp-dialog-info{padding-left:clamp(14px,2vw,24px);border-left:1px solid #414940;display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;align-content:start}
.lxp-dialog-info small{display:block;font-size:8px;letter-spacing:.15em;color:#cd956d;margin-bottom:4px}
.lxp-dialog-info strong{font-size:11px;font-weight:500;color:#e2e5df;line-height:1.35}
.lxp-dialog-website{grid-column:1/-1;font-size:11px;display:inline-flex;gap:15px;align-items:center;width:max-content;border-bottom:1px solid #70776f;padding:4px 0 6px;margin-top:2px}
.lxp-dialog-website span{color:#db976d}
.lxp-dialog-tags{flex:none;display:flex;align-items:center;gap:15px;min-height:49px;padding:10px clamp(16px,2vw,25px) 14px;border-top:1px solid #3a403a;margin:0 clamp(16px,2vw,25px)}
.lxp-dialog-tags-label{flex:none;color:#d4a180;font-size:9px;letter-spacing:.12em;font-weight:600}
.lxp-dialog-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.lxp-dialog-chip{font-size:10px;line-height:1.3;border:1px solid #4a524a;color:#d1d6ce;border-radius:30px;padding:4px 9px;white-space:nowrap}
.lxp-dialog :is(a,button):focus-visible{outline:2px solid #e4a178;outline-offset:3px}
/* Native same-document shared-element expansion, with an accessible fallback. */
.lxp-project-grid .lxp-shared-image[data-lxp-vt='active'], .lxp-dialog .lxp-shared-image[data-lxp-vt='active']{view-transition-name:lxp-project-cover}
::view-transition-group(lxp-project-cover){animation-duration:.62s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
::view-transition-old(lxp-project-cover),::view-transition-new(lxp-project-cover){animation-duration:.62s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
@media(min-width:800px) and (max-height:799px){
 .lxp-dialog-bar{height:42px;padding-top:4px;padding-bottom:4px}
 .lxp-dialog-image{max-height:clamp(145px,40dvh,335px)}
 .lxp-dialog-details{padding-top:11px;padding-bottom:9px}
 .lxp-dialog-description h1{font-size:clamp(25px,2.3vw,33px);margin:4px 0 5px}
 .lxp-dialog-description p{line-height:1.38;-webkit-line-clamp:2}
 .lxp-dialog-tags{padding-top:8px;padding-bottom:8px;min-height:40px}
 .lxp-dialog-chip{padding:3px 7px;font-size:9px}
}
@media(min-width:800px) and (max-height:620px){
 .lxp-dialog-image{max-height:33dvh}
 .lxp-dialog-info{grid-template-columns:1fr 1fr}
 .lxp-dialog-details{padding-top:7px;padding-bottom:7px}
 .lxp-dialog-tags{padding-block:6px}
 .lxp-dialog-description h1{font-size:24px}
 .lxp-dialog-description p{-webkit-line-clamp:2}
}
@media(max-width:799px){
 .lxp-overlay,.lxp-standalone-stage{padding:10px}
 .lxp-dialog{max-height:calc(100dvh - 20px);width:100%;overflow-y:auto;overscroll-behavior:contain}
 .lxp-dialog-bar{height:47px;grid-template-columns:1fr auto}
 .lxp-dialog-overline{display:none}
 .lxp-dialog-image{flex:none;max-height:none;min-height:0;height:auto;aspect-ratio:1.65;}
 .lxp-dialog-cover{width:100%;height:100%;object-fit:contain}
 .lxp-dialog-details{grid-template-columns:1fr;gap:13px;padding:15px 15px 12px}
 .lxp-dialog-info{padding:12px 0 0;border-left:none;border-top:1px solid #414940;grid-template-columns:1fr 1fr}
 .lxp-dialog-description h1{font-size:clamp(25px,6vw,32px)}
 .lxp-dialog-description p{font-size:12px;-webkit-line-clamp:unset;display:block}
 .lxp-dialog-tags{display:block;margin:0 15px;padding:12px 0 16px}
 .lxp-dialog-tags-label{display:block;margin-bottom:9px}
 .lxp-dialog-chip{font-size:10px}
 .lxp-main .lxp-portfolio{padding-top:clamp(26px,5vw,36px)}
}
@media(prefers-reduced-motion:reduce){.lxp-dialog *,.lxp-overlay *{animation:none!important;transition:none!important}::view-transition-group(lxp-project-cover){animation-duration:.01s!important}}
/* Final QA corrections: image canvas always has defined height; original photograph never cropped. */
.lxp-overlay{background:#151916}
@media(min-width:800px){
  .lxp-dialog-image{flex:none;height:clamp(175px,43dvh,415px);max-height:none}
  .lxp-dialog-image .lxp-dialog-cover{width:100%;height:100%;object-fit:contain;object-position:center}
}
@media(min-width:800px) and (max-height:799px){.lxp-dialog-image{height:clamp(145px,40dvh,335px);max-height:none}}
@media(min-width:800px) and (max-height:620px){.lxp-dialog-image{height:33dvh;max-height:none}}
/* Balanced modal proportions: artwork fills the visual stage without cover-cropping. */
@media(min-width:800px){
 .lxp-dialog{width:min(100%,860px,calc(100dvh * 1.20))}
 .lxp-dialog-image{height:clamp(175px,57dvh,460px)}
}
@media(min-width:800px) and (max-height:799px){.lxp-dialog-image{height:clamp(145px,55dvh,438px)}}
@media(min-width:800px) and (max-height:620px){.lxp-dialog-image{height:52dvh}}


/* v2.6.1: stop the Global Shell from flashing through the opening View Transition.
   This applies ONLY on Projects while a modal is opening/open; no global edits. */
html.lxp-overlay-shell-hidden #lx-header,
html.lxp-overlay-shell-hidden .lx-header,
html.lxp-overlay-shell-hidden [data-lx-shell],
html.lxp-overlay-shell-hidden #lx-footer,
html.lxp-overlay-shell-hidden .lx-footer,
html.lxp-overlay-shell-hidden body > header,
html.lxp-overlay-shell-hidden body > footer {
  visibility:hidden!important;
  pointer-events:none!important;
}
/* The outgoing root contains the page/header snapshot; the moving image has
   its own lxp-project-cover layer. Hide only the outgoing root while opening. */
html.lxp-overlay-opening::view-transition-old(root) {
  opacity:0!important;
  animation:none!important;
}
html.lxp-overlay-opening::view-transition-new(root) {
  animation:none!important;
}

/* v2.6.2 — measured header clearance + breathing room for portfolio hero.
   The default protects first paint while the Shell JS is still loading. */
body.lxp-body:not(.lxp-body-standalone) #lx-main.lxp-main {
  padding-top:var(--lxp-header-clearance,68px);
}
.lxp-main .lxp-portfolio {
  padding-top:clamp(46px,4.4vw,64px);
}
.lxp-main .lxp-hero { padding-top:clamp(14px,1.8vw,24px); }
/* Hide outgoing page/header snapshot during opening; the shared-image pseudo
   element remains free to animate from card to the overlay. */
html.lxp-overlay-opening::view-transition-old(root){animation:none!important;opacity:0!important;visibility:hidden!important}
html.lxp-overlay-opening::view-transition-new(root){animation:none!important;opacity:1!important}
@media(max-width:799px){
  body.lxp-body:not(.lxp-body-standalone) #lx-main.lxp-main {padding-top:var(--lxp-header-clearance,68px)}
  .lxp-main .lxp-portfolio{padding-top:clamp(30px,6vw,42px)}
  .lxp-main .lxp-hero{padding-top:12px}
}
@media(prefers-reduced-motion:reduce){html.lxp-overlay-opening::view-transition-old(root),html.lxp-overlay-opening::view-transition-new(root){animation:none!important}}


/* LEVORA Projects v2.6.6 — intrinsic-ratio frames.
   The frame adapts to the actual decoded image: no cropped foreground, no letterbox
   inside a false fixed-ratio frame, no forced stretch, no global layout changes.
   The old 2.6.2 CSS remains archived and unchanged for rollback. */
.lxp-main .lxp-card-image.lxp-media-fitted {
  position:relative;
  aspect-ratio:var(--lxp-natural-ratio,1.67)!important;
  width:100%;
  height:auto!important;
  display:block;
  overflow:hidden;
}
.lxp-main .lxp-card-image.lxp-media-fitted .lxp-shared-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
/* The former hover zoom was cropping the image's outer pixels.
   Emphasize the card frame instead, keeping the full source visible. */
.lxp-main .lxp-project-link:hover .lxp-card-image.lxp-media-fitted img,
.lxp-main .lxp-project-link:focus-visible .lxp-card-image.lxp-media-fitted img {
  transform:none!important;
}
.lxp-main .lxp-project-link:hover .lxp-card-image.lxp-media-fitted {
  box-shadow:0 8px 24px rgba(21,27,23,.13);
}
/* The modal stage is no longer a fixed rectangular slot.
   It takes the image's exact ratio and scales *both* axes proportionally.
   A height cap expressed as available viewport length controls modal overflow. */
.lxp-overlay .lxp-dialog-image.lxp-media-fitted,
.lxp-standalone-stage .lxp-dialog-image.lxp-media-fitted {
  position:relative;
  flex:0 0 auto;
  width:min(calc(100% - clamp(18px,2vw,30px)),calc(var(--lxp-natural-ratio,1.67) * 52dvh))!important;
  aspect-ratio:var(--lxp-natural-ratio,1.67)!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin-inline:auto;
  display:block;
  overflow:hidden;
}
.lxp-overlay .lxp-dialog-image.lxp-media-fitted .lxp-dialog-cover,
.lxp-standalone-stage .lxp-dialog-image.lxp-media-fitted .lxp-dialog-cover {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
/* Allow compact viewports to scroll the copy rather than clipping the image. */
.lxp-overlay .lxp-dialog:has(.lxp-media-fitted),
.lxp-standalone-stage .lxp-dialog:has(.lxp-media-fitted){
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
@media(min-width:800px) and (max-height:799px){
  .lxp-overlay .lxp-dialog-image.lxp-media-fitted,
  .lxp-standalone-stage .lxp-dialog-image.lxp-media-fitted {
    width:min(calc(100% - 22px),calc(var(--lxp-natural-ratio,1.67) * 46dvh))!important;
  }
}
@media(min-width:800px) and (max-height:620px){
  .lxp-overlay .lxp-dialog-image.lxp-media-fitted,
  .lxp-standalone-stage .lxp-dialog-image.lxp-media-fitted {
    width:min(calc(100% - 18px),calc(var(--lxp-natural-ratio,1.67) * 42dvh))!important;
  }
}
@media(max-width:799px){
  .lxp-overlay .lxp-dialog-image.lxp-media-fitted,
  .lxp-standalone-stage .lxp-dialog-image.lxp-media-fitted{
    width:min(calc(100% - 18px),calc(var(--lxp-natural-ratio,1.67) * 46dvh))!important;
  }
}
