@font-face{font-family:LocalArabic;src:url('vendor/NotoSansArabic.ttf') format('truetype');font-display:swap;font-weight:100 900}
:root{color-scheme:dark;--ink:#11232f;--accent:#8ce4cc;--muted:#acbbc3;--rail:292px;--header:92px}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Arial,Helvetica,sans-serif;color:#fff;background:var(--ink);font-size:16px}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.4;cursor:default}button, a{touch-action:manipulation}button[hidden],[hidden]{display:none!important}.app{width:100%;height:100%;height:100dvh;position:relative;isolation:isolate;overflow:hidden}#panorama{position:absolute;inset:0;background:#172c38;z-index:-3;direction:ltr}.shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(9,22,32,.8),transparent 32%,transparent 70%,rgba(9,22,32,.2));z-index:-1}.topbar{height:var(--header);display:flex;align-items:center;gap:24px;position:absolute;inset-block-start:0;inset-inline:0;padding-inline-end:30px;background:linear-gradient(90deg,rgba(17,33,47,.86),rgba(21,39,50,.6));border-bottom:1px solid #ffffff24;backdrop-filter:blur(16px);z-index:5}.brand{width:var(--rail);height:100%;flex-shrink:0;display:flex;align-items:center;padding:29px 30px;background:#1024307a;border-inline-end:1px solid #ffffff18}.brand img{width:100%;height:auto;max-height:49px;object-fit:contain}.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;flex-shrink:0;transition:background .15s,color .15s}.icon-button:hover,.strip-arrow:hover{background:#ffffff23}.icon-button svg,.strip-arrow svg{width:21px;height:21px;stroke-width:1.65}.heading{flex:1;min-width:0}.eyebrow{display:block;font-size:11px;letter-spacing:2.3px;line-height:1.8;color:var(--muted);font-weight:600}h1{font-size:20px;line-height:1.35;font-weight:500;margin:5px 0 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.languages{position:relative;display:flex;align-items:center;flex-shrink:0;direction:ltr;width:190px}.fullscreen-button{background:#ffffff12}.sidebar{position:absolute;inset-inline-start:0;top:var(--header);bottom:0;width:var(--rail);background:linear-gradient(155deg,#162a3bec,#142535d9);border-inline-end:1px solid #ffffff19;backdrop-filter:blur(14px);display:flex;flex-direction:column;z-index:4;transition:transform .25s}.sidebar-heading{padding:34px 28px 27px;position:relative}.sidebar-heading h2{font-size:19px;font-weight:500;line-height:1.5;margin:7px 0}.project-count{position:absolute;inset-inline-end:27px;top:33px;font-size:11px;color:var(--accent);border:1px solid #8ce4cc44;padding:3px 6px;border-radius:4px;letter-spacing:1px}#projects{overflow-y:auto;min-height:0;scrollbar-width:thin;padding:0 13px}.project-card{width:100%;text-align:start;padding:12px 12px 19px;margin-bottom:13px;border:1px solid #ffffff12;background:#ffffff03;border-radius:6px;position:relative;transition:background .2s,border-color .2s}.project-card:hover{background:#ffffff0c}.project-card.active{border-color:#8ce4cc69;background:#82d8be0c}.project-photo{position:relative;display:block;aspect-ratio:2.5;overflow:hidden;border-radius:3px;margin-bottom:15px}.project-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.project-card:hover img{transform:scale(1.04)}.project-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0b1c2b88,transparent)}.project-number{position:absolute;inset-inline-start:9px;bottom:8px;z-index:1;font-size:11px;letter-spacing:1.5px}.project-active-icon{position:absolute;inset-inline-end:8px;bottom:7px;z-index:1;border-radius:50%;background:var(--accent);color:#12372d;width:19px;height:19px;display:grid;place-items:center;font-size:12px}.project-name{display:block;font-size:16px;line-height:1.5;font-weight:500;margin-bottom:7px}.project-detail{display:block;font-size:12px;line-height:1.5;color:var(--muted)}.project-meta{display:flex;align-items:center;gap:7px;color:var(--accent);font-size:12px;margin-top:13px}.project-meta svg{width:14px;height:14px}.sidebar-footer{margin-top:auto;padding:30px 28px;color:#afbdc7;font-size:12px;line-height:1.7}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-inline-end:7px}.footer-rule{height:1px;background:#ffffff1b;margin:19px 0 13px}.brand-note{font-size:10px;letter-spacing:2.5px;color:#8598a6}.view-controls{position:absolute;inset-inline-end:28px;top:calc(var(--header) + 30px);bottom:240px;display:flex;align-items:center;flex-direction:column;gap:12px;z-index:2}.vr-badge{width:68px;height:68px;border:1px solid #ffffff80;box-shadow:0 2px 20px #10203011;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1b2e3730;backdrop-filter:blur(6px);margin-bottom:auto}.vr-badge strong{font-size:21px;letter-spacing:-1px;font-weight:400}.vr-badge span{font-size:7px;letter-spacing:1px;margin-top:3px}.control-group,.solo{background:#122937b5;border:1px solid #ffffff27;backdrop-filter:blur(9px);box-shadow:0 4px 12px #07172319}.control-group{border-radius:24px;padding:2px}.control-group>span{display:block;height:1px;width:20px;margin:auto;background:#ffffff33}.solo[aria-pressed=true]{color:var(--accent);background:#153b3cec}.bottom-area{position:absolute;bottom:24px;inset-inline-start:calc(var(--rail) + 38px);inset-inline-end:110px;max-width:1100px;margin-inline:auto;z-index:3;transition:inset-inline-start .25s}.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.scene-caption{display:flex;align-items:center;gap:11px;font-size:14px;text-shadow:0 1px 7px #000}.live-dot{width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 12px #8ce4cc88}.scene-divider,#scene-count{color:#c4cfd4;font-size:12px}.scene-toggle{display:flex;align-items:center;gap:9px;font-size:12px;padding:9px 12px;border-radius:5px;background:#152b38a6;border:1px solid #ffffff2b}.scene-toggle svg{width:16px;height:16px}.scene-strip{display:flex;align-items:center;gap:12px}.scenes{display:flex;gap:12px;overflow-x:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b9d7d64d transparent;padding:5px 3px 10px;scroll-behavior:smooth;min-width:0;width:100%;direction:ltr}.scene-card{position:relative;width:150px;height:92px;flex:0 0 150px;padding:0;border:1px solid #ffffff59;border-radius:4px;overflow:hidden;background:#182d3b;transition:border-color .2s}.scene-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.scene-card:hover img{transform:scale(1.07)}.scene-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#091a2deb,transparent 80%)}.scene-card.active{border:2px solid var(--accent);box-shadow:0 0 0 2px #8ce4cc24}.scene-label{position:absolute;bottom:11px;inset-inline-start:12px;font-size:12px;z-index:1;text-shadow:0 1px 3px #000}.scene-index{position:absolute;top:8px;right:9px;font-size:10px;padding:3px 5px;background:#11232f88;border-radius:3px;z-index:1}.strip-arrow{flex:0 0 28px;height:45px;border-radius:6px;padding:0;display:grid;place-items:center}.gesture-hint{display:flex;align-items:center;justify-content:center;gap:8px;color:#d2dde2;font-size:11px;margin-top:8px;letter-spacing:.2px;text-shadow:0 1px 5px #13232f}.gesture-hint svg{width:15px;height:15px;display:block}.load-state{position:absolute;top:44%;left:calc(50% + var(--rail)/2);transform:translate(-50%,-50%);text-align:center;background:#102634dc;border:1px solid #ffffff28;padding:24px 32px;border-radius:8px;backdrop-filter:blur(12px);z-index:3;max-width:80%}.load-state p{font-size:14px;line-height:1.7;margin:12px 0 0}.spinner{height:24px;width:24px;border-radius:50%;border:2px solid #ffffff30;border-top-color:var(--accent);margin:auto;animation:spin 1s linear infinite}#retry{border:1px solid #8ce4cc66;border-radius:4px;padding:9px 24px;margin-top:15px;color:var(--accent)}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:absolute;top:110px;left:50%;transform:translateX(-50%);padding:15px 22px;background:#122a38ee;border:1px solid #ffffff33;border-radius:6px;z-index:10;max-width:85%;text-align:center}.menu-closed .sidebar{transform:translateX(-100%);visibility:hidden}.menu-closed .bottom-area{inset-inline-start:100px}.menu-closed .load-state{left:50%}.no-script{position:fixed;inset:30%;background:#172e3c;padding:30px;z-index:20}.pnlm-load-box,.pnlm-error-msg,.pnlm-about-msg{display:none!important}.pnlm-container{font-family:inherit}.pnlm-panorama-info{display:none!important}
html[dir=rtl] body{font-family:LocalArabic,Arial,sans-serif}html[dir=rtl] .eyebrow{letter-spacing:0}html[dir=rtl] .sidebar-heading h2{font-size:18px}html[dir=rtl] .menu-closed .sidebar{transform:translateX(100%)}html[dir=rtl] .load-state{left:calc(50% - var(--rail)/2)}html[dir=rtl] .menu-closed .load-state{left:50%}html[dir=rtl] .scene-label{direction:rtl}html[dir=rtl] .scene-strip{direction:ltr}html[dir=rtl] h1{line-height:1.7}
@media(min-width:1600px){:root{--rail:320px;--header:100px}.sidebar-heading{padding-top:40px}.project-photo{aspect-ratio:2.3}.project-card{margin-bottom:18px}.scene-card{width:174px;flex-basis:174px;height:106px}.bottom-area{bottom:30px}.brand{padding-inline:35px}}
@media(max-height:720px) and (min-width:761px){.sidebar-heading{padding-top:17px;padding-bottom:14px}.project-photo{aspect-ratio:3.1;margin-bottom:9px}.project-card{padding-bottom:11px;margin-bottom:10px}.project-meta{margin-top:7px}.sidebar-footer{padding-top:15px;padding-bottom:15px}.view-controls{bottom:205px}.vr-badge{margin-bottom:10px}.bottom-area{bottom:12px}}
@media(max-width:1050px){:root{--rail:255px;--header:82px}.topbar{gap:14px;padding-inline-end:15px}.brand{padding:25px}.heading .eyebrow{font-size:9px}h1{font-size:17px}.sidebar-heading{padding-inline:22px}.project-count{inset-inline-end:20px}.bottom-area{inset-inline-start:calc(var(--rail) + 16px);inset-inline-end:88px}.scene-card{width:134px;flex-basis:134px;height:84px}.view-controls{inset-inline-end:18px}.languages{gap:2px}.scene-strip{gap:4px}}
@media(max-width:760px){:root{--rail:280px;--header:74px}.topbar{gap:8px;padding-inline:12px}.brand{width:132px;border:0;background:transparent;padding:0 4px;order:1}.menu-toggle{order:0;width:38px}.heading{position:absolute;top:calc(var(--header) + 20px);inset-inline-start:20px;inset-inline-end:100px;text-shadow:0 2px 8px #000;pointer-events:none}.heading .eyebrow{color:#f0f5f7;font-size:9px;letter-spacing:1.5px}h1{font-size:18px;white-space:normal;margin-top:4px}.languages{order:2;margin-inline-start:auto}.fullscreen-button{display:none}.sidebar{z-index:6;box-shadow:15px 0 80px #0006}.sidebar-heading{padding-top:24px}.project-photo{aspect-ratio:2.8}.sidebar-footer{padding-bottom:20px}.view-controls{top:calc(var(--header) + 20px);inset-inline-end:15px;bottom:230px;gap:8px}.vr-badge{width:51px;height:51px;margin-bottom:auto}.vr-badge strong{font-size:18px}.vr-badge span{font-size:6px;letter-spacing:0}.view-controls .icon-button{height:38px;width:38px}.bottom-area,.menu-closed .bottom-area{inset-inline-start:14px;inset-inline-end:14px;bottom:max(17px,env(safe-area-inset-bottom))}.scene-heading{margin-bottom:6px}.scene-caption{font-size:13px}.scene-toggle{font-size:11px;padding:8px}.scene-card{width:124px;flex-basis:124px;height:79px}.scenes{gap:8px}.strip-arrow{flex-basis:21px}.gesture-hint{font-size:10px;margin-top:9px}.load-state,html[dir=rtl] .load-state{left:50%;width:max-content;max-width:85%}.fullscreen-button.mobile-supported{display:grid;width:32px;order:3}.sidebar-footer .brand-note{font-size:9px}}
.project-detail,.project-meta{font-size:13px}.scene-label,.scene-toggle{font-size:14px}
@media(max-width:760px){.scene-label,.scene-toggle{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation-duration:2s}}

/* Native language picker: keyboard and mobile friendly, names in their own languages. */
#language-select{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:44px;padding:0 32px 0 39px;border:1px solid #ffffff45;border-radius:8px;background:#102634c9;color:#fff;font-family:Arial,"Microsoft YaHei",LocalArabic,sans-serif;font-size:13px;cursor:pointer;line-height:1.4;text-overflow:ellipsis;transition:border-color .15s,background .15s}
#language-select:hover{border-color:var(--accent);background:#183a48}
#language-select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#language-select option{background:#142a38;color:#fff;font-size:14px}
.language-icon,.language-chevron{position:absolute;pointer-events:none;color:var(--accent)}
.language-icon{left:12px;width:17px;height:17px}.language-chevron{right:11px;width:14px;height:14px}
html[lang=ar] #language-select{font-family:LocalArabic,Arial,sans-serif}
html[lang=zh] body{font-family:Arial,"Microsoft YaHei",sans-serif}
.scene-toggle{flex-shrink:0}.scene-caption{min-width:0}.vr-badge span{white-space:nowrap}
@media(max-width:1050px){.languages{width:176px}}
@media(max-width:760px){.languages{width:156px;order:2;margin-inline-start:auto}.topbar{gap:6px}.brand{width:110px}#language-select{height:40px;padding-left:31px;padding-right:24px;font-size:12px}.language-icon{left:9px;width:15px;height:15px}.language-chevron{right:7px;width:12px;height:12px}.scene-toggle{max-width:50%;text-align:start;flex-shrink:1}.scene-caption{white-space:nowrap;gap:5px;font-size:12px}.scene-toggle span{min-width:0}.gesture-hint{text-align:center;line-height:1.5}}
@media(max-width:380px){.brand{width:86px}.languages{width:clamp(112px,calc(100vw - 204px),156px)}.language-icon{display:none}#language-select{padding-left:8px}.topbar{gap:6px}}

.media-tabs{display:flex;gap:8px;margin-bottom:14px}.media-tabs button{padding:9px 16px;border:1px solid #ffffff55;border-radius:6px;background:#122937b5;font-size:13px}.media-tabs button[aria-pressed=true]{background:#cceee6;color:#173d37;border-color:#8ce4cc}.photo-stage{position:absolute;inset:0;width:100%;height:100%;padding:110px 30px 240px calc(var(--rail) + 30px);display:grid;place-items:center;background:#142535}.photo-stage img{width:100%;height:100%;object-fit:contain;min-height:0}.menu-closed .photo-stage{padding-left:30px}.photo-lightbox{width:95vw;height:94vh;max-width:none;max-height:none;border:1px solid #ffffff33;border-radius:10px;background:#102330;color:white;padding:55px 25px 70px}.photo-lightbox::backdrop{background:#071521e6}.photo-lightbox>img{width:100%;height:calc(100% - 32px);object-fit:contain}.photo-lightbox p{text-align:center;margin:12px;line-height:1.6}.photo-close{position:absolute;right:20px;top:15px;padding:8px 16px;background:#ffffff20;border-radius:5px}.photo-navigation{position:absolute;bottom:15px;left:0;right:0;display:flex;justify-content:center;gap:20px}.photo-navigation button{padding:9px 18px;background:#ffffff20;border-radius:5px}html[dir=rtl] .photo-stage{padding-left:30px;padding-right:calc(var(--rail) + 30px)}html[dir=rtl] .menu-closed .photo-stage{padding-right:30px}@media(max-width:760px){.photo-stage,html[dir=rtl] .photo-stage{padding:170px 15px 255px}.media-tabs{margin-bottom:10px}.media-tabs button{font-size:12px;padding:7px 12px}.photo-lightbox{padding-inline:12px}}

.scene-caption{flex:1;min-width:0}#scene-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.scene-divider,#scene-count,.live-dot{flex-shrink:0}.scene-label{max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-lightbox p{max-height:3.2em;overflow:auto}

/* Project lookup and contact links stay visible above the scrolling project list. */
:root{--contact-height:0px}
.sidebar{top:calc(var(--header) + var(--contact-height))}.view-controls{top:calc(var(--header) + var(--contact-height) + 24px)}
.project-search{padding:0 24px 16px;flex-shrink:0}.search-field{position:relative}.search-field input{width:100%;min-width:0;height:42px;padding:10px 35px 10px 12px;border:1px solid #ffffff35;border-radius:6px;background:#0d202e;color:#fff;font:inherit;font-size:12px;outline-offset:2px}.search-field input::placeholder{color:#abbcc8}.search-field input:focus{outline:2px solid var(--accent)}.search-field input::-webkit-search-cancel-button{-webkit-appearance:none}#clear-search{position:absolute;right:2px;top:2px;height:38px;width:32px;font-size:24px;color:#c8dce7;border-radius:4px}#search-status{margin:9px 0 0;font-size:12px;color:#b9cbd8;line-height:1.6}.sidebar-heading{flex-shrink:0}#projects{flex:1}.sidebar-footer{flex-shrink:0}
@media(max-width:1050px){.project-search{padding-inline:20px}}
@media(max-width:760px){.heading{top:calc(var(--header) + var(--contact-height) + 16px)}.view-controls{top:calc(var(--header) + var(--contact-height) + 16px)}.project-search{padding-inline:20px;padding-bottom:12px}.search-field input{font-size:16px;min-height:44px}#clear-search{height:40px;top:2px}.sidebar-heading{padding-top:18px;padding-bottom:14px}.sidebar-footer{padding-top:16px;padding-bottom:16px}.sidebar-footer .footer-rule{margin:10px 0}.photo-stage,html[dir=rtl] .photo-stage{padding-top:calc(170px + var(--contact-height))}}

/* Primary contact actions occupy the former project title area. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.contact-heading{position:static;pointer-events:auto;flex:1;min-width:0}
.contact-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;max-width:680px;direction:ltr}
.contact-card{display:flex;align-items:center;gap:12px;min-height:62px;padding:11px 17px;border:1px solid;border-radius:10px;color:#fff;text-decoration:none;box-shadow:0 5px 18px #0002;transition:background .18s,box-shadow .18s,transform .18s}
.contact-whatsapp{background:#166d55;border-color:#54d4a6}.contact-email{background:#195d9d;border-color:#6eb5fa}
.contact-card:hover{transform:translateY(-1px);box-shadow:0 7px 22px #0004}.contact-whatsapp:hover{background:#1b8366}.contact-email:hover{background:#1e73bb}.contact-card:focus-visible{outline:3px solid #fff;outline-offset:3px}
.contact-card>svg{width:31px;height:31px;flex-shrink:0}.contact-copy{display:flex;flex-direction:column;min-width:0;gap:5px}.contact-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:.7px;font-weight:600;color:#e0f4ff}.contact-label>span{opacity:.8;font-size:12px}.contact-value{font-size:18px;line-height:1.25;font-weight:600;white-space:nowrap;letter-spacing:.1px}
@media(min-width:761px) and (max-width:1250px){.contact-bar{grid-template-columns:1fr;gap:5px;max-width:380px}.contact-card{min-height:35px;padding:5px 12px;gap:10px;border-radius:7px}.contact-card>svg{width:22px;height:22px}.contact-copy{flex:1;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.contact-label{font-size:10px;letter-spacing:0}.contact-label>span{display:none}.contact-value{font-size:13px}}
@media(max-width:760px){:root{--header:150px}.topbar{height:var(--header);display:grid;grid-template-columns:38px minmax(75px,1fr) auto 32px;grid-template-rows:64px 72px;align-content:start;gap:0 6px;padding:0 12px 10px}.topbar .menu-toggle{grid-column:1;grid-row:1;order:initial}.topbar .brand{grid-column:2;grid-row:1;width:min(110px,100%);height:64px;order:initial;padding:0 3px}.topbar .languages{grid-column:3;grid-row:1;width:156px;order:initial;margin:0}.topbar .fullscreen-button{grid-column:4;grid-row:1;order:initial}.contact-heading{grid-column:1/-1;grid-row:2;position:static;inset:auto;order:initial;align-self:center;width:100%;text-shadow:none}.contact-bar{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:8px}.contact-card{min-height:66px;padding:10px 9px;gap:6px;border-radius:8px}.contact-card>svg{width:20px;height:20px}.contact-copy{flex:1;gap:6px}.contact-label{font-size:10px;letter-spacing:.2px}.contact-value{font-size:12px;letter-spacing:0}.view-controls{top:calc(var(--header) + 18px)}.photo-stage,html[dir=rtl] .photo-stage{padding-top:calc(var(--header) + 25px)}}
@media(max-width:380px){.topbar{grid-template-columns:36px minmax(66px,1fr) auto 30px;padding-inline:10px;gap:0 4px}.topbar .languages{width:112px}.topbar .brand{width:86px}.contact-card{padding:9px 8px}.contact-card>svg{display:none}.contact-value{font-size:12px}.contact-bar{gap:6px}}

/* Project name and both contact actions share one header row. */
.contact-heading{display:flex;align-items:center;gap:20px}.project-heading{flex:1 1 220px;min-width:0}.project-heading h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.contact-heading .contact-bar{flex:0 1 600px;max-width:600px;min-width:0}.contact-value{font-size:16px}
@media(min-width:761px) and (max-width:1450px){.topbar{gap:12px;padding-inline-end:18px}.topbar .brand{width:210px;padding-inline:22px}.topbar .languages{width:150px}.contact-heading{gap:12px}.project-heading{flex-basis:130px}.project-heading h1{font-size:16px}.project-heading .eyebrow{font-size:9px;letter-spacing:1px}.contact-heading .contact-bar{grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:410px;gap:8px;max-width:410px}.contact-card{min-height:58px;padding:9px 10px;gap:7px}.contact-card>svg{width:22px;height:22px}.contact-copy{flex-direction:column;align-items:stretch;justify-content:center;gap:5px}.contact-label{font-size:10px;letter-spacing:0}.contact-label>span{display:inline}.contact-value{font-size:12px}}
@media(min-width:761px) and (max-width:1050px){.topbar .brand{width:140px;padding-inline:15px}.topbar .languages{width:112px}.topbar{gap:8px;padding-inline-end:12px}.contact-heading{gap:9px}.project-heading{flex-basis:100px}.project-heading h1{font-size:14px}.project-heading .eyebrow{font-size:8px;letter-spacing:0}.contact-heading .contact-bar{flex-basis:280px;gap:6px}.contact-card{padding:8px}.contact-card>svg{display:none}.contact-value{font-size:11px}}
@media(max-width:760px){.contact-heading{display:flex;gap:8px}.project-heading{flex:1 1 78px;min-width:0}.project-heading h1{font-size:13px;line-height:1.4;margin-top:4px;white-space:nowrap}.project-heading .eyebrow{font-size:8px;letter-spacing:0;line-height:1.4}.contact-heading .contact-bar{flex:0 0 258px;max-width:258px;min-width:0;grid-template-columns:1.12fr 1fr;gap:6px}.contact-card{padding:9px 7px;min-height:60px;gap:0}.contact-card>svg{display:none}.contact-label{font-size:9px;letter-spacing:0}.contact-value{font-size:11px;letter-spacing:-.1px}.contact-copy{flex:1;gap:6px}}
@media(max-width:380px){.contact-heading{gap:6px}.contact-heading .contact-bar{flex-basis:220px;max-width:220px;gap:5px}.contact-card{padding:8px 5px}.contact-value{font-size:10px;letter-spacing:-.2px}.project-heading h1{font-size:12px}.project-heading .eyebrow{font-size:7px}}
/* Mobile: prioritize the project name, then keep both contacts side by side. */
@media(max-width:760px){
 :root{--header:190px}
 .topbar{grid-template-rows:58px 124px;padding-bottom:8px;align-content:start}
 .topbar .brand{height:58px}
 .contact-heading{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:9px;align-self:stretch;padding-top:3px}
 .project-heading{flex:0 0 auto;width:100%;min-width:0}
 .project-heading .eyebrow{display:none}
 .project-heading h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;font-size:17px;line-height:1.35;font-weight:600;letter-spacing:0;margin:0;max-height:2.7em}
 .contact-heading .contact-bar{flex:none;width:100%;max-width:none;grid-template-columns:1.12fr 1fr;gap:8px}
 .contact-card{min-height:56px;padding:8px 11px;gap:7px}
 .contact-card>svg{display:block;width:20px;height:20px}
 .contact-copy{gap:4px}.contact-label{font-size:10px}.contact-value{font-size:12px;letter-spacing:0}
 .view-controls{top:calc(var(--header) + 14px)}
 .photo-stage,html[dir=rtl] .photo-stage{padding-top:calc(var(--header) + 20px)}
}
@media(max-width:380px){
 .project-heading h1{font-size:16px}
 .contact-heading .contact-bar{gap:6px;max-width:none}
 .contact-card{padding:8px 9px}.contact-card>svg{display:none}
 .contact-value{font-size:11px;letter-spacing:0}
}

@media(max-width:760px){.topbar{height:auto;grid-template-rows:58px auto;padding-bottom:12px}.contact-heading{justify-content:flex-start;padding-top:3px;padding-bottom:0}}

/* Collapsed external collection: independent links, with a bounded mobile-friendly list. */
.external-projects{flex-shrink:0;margin:0 13px 14px;border:1px solid #79b9ec40;border-radius:10px;background:#214b6b38;overflow:hidden;transition:border-color .18s,background .18s}
.external-projects summary{display:flex;align-items:center;gap:10px;min-height:54px;padding:11px 12px;padding-inline-start:14px;cursor:pointer;list-style:none;color:#e7f3ff;font-size:14px;line-height:1.45;font-weight:600;touch-action:manipulation;user-select:none;transition:background .18s}
.external-projects[open]{border-color:#79b9ec75;background:#214b6b48}
.external-projects[open] summary{background:#75bded0b}
@media(hover:hover){.external-projects summary:hover{background:#86c8ff12}.external-projects:has(summary:hover){border-color:#8dcfff80}}
.external-projects summary:active{background:#86c8ff1c}
.external-projects summary::-webkit-details-marker{display:none}
.external-projects summary:focus-visible,.external-project-link:focus-visible{outline:2px solid #91ceff;outline-offset:-3px}
#external-heading{flex:1;min-width:0;overflow-wrap:anywhere}.external-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:24px;flex-shrink:0;font-size:11px;font-weight:600;line-height:1;padding:5px 7px;border:1px solid #8ccfff25;border-radius:20px;background:#70bbf31a;color:#c0e4ff;font-variant-numeric:tabular-nums;direction:ltr}
.external-chevron{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:7px;background:#89c8ff0c;color:#a9d8fc;transition:background .18s,color .18s}
.external-chevron svg{display:block;width:18px;height:18px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.external-projects[open] .external-chevron{background:#89c8ff1a;color:#e0f2ff}.external-projects[open] .external-chevron svg{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.external-projects,.external-projects summary,.external-chevron,.external-chevron svg{transition:none}}
#external-note{margin:0;padding:0 12px 10px;color:#b8cddd;font-size:11px;line-height:1.6}
#external-links{max-height:min(34dvh,280px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 6px 6px}
.external-project-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 8px;min-height:54px;text-decoration:none;color:#eef7ff;border-top:1px solid #ffffff12;text-align:start;border-radius:4px}
.external-project-link:hover{background:#89c8ff16}.external-project-link>span:first-child{min-width:0}.external-project-link strong{display:block;font-size:13px;line-height:1.55;font-weight:500;overflow-wrap:anywhere}.external-project-link small{display:block;font-size:11px;color:#a6c5db;margin-top:3px}.external-link-arrow{color:#99d3ff;flex-shrink:0}.external-empty{padding:10px;font-size:12px;color:#b8cddd}
@media(max-width:760px){.external-projects{margin-bottom:10px}.external-projects summary{min-height:54px}#external-links{max-height:27dvh}.external-project-link strong{font-size:14px}.sidebar-footer{padding-top:10px;padding-bottom:10px}}
@media(max-width:760px) and (max-height:700px){.sidebar-footer{display:none}#external-links{max-height:20dvh}.sidebar{overflow-y:auto}#projects{min-height:90px}.sidebar-heading{padding-top:12px;padding-bottom:10px}}
