/* VIRA habibiyan — isolated primary expandable photo navigation */
.vhm-section{background:#081e23;color:#dce8eb;padding:calc(var(--header-height,94px) + 32px) 0 38px;position:relative;overflow:hidden}
.vhm-menu{width:min(calc(100% - 64px),1760px);margin-inline:auto;container-type:inline-size}
.vhm-track{display:flex;gap:clamp(8px,.9vw,17px);height:clamp(420px,36vw,610px);align-items:stretch}
.vhm-card{position:relative;isolation:isolate;flex:1 1 0;min-width:0;overflow:hidden;border:1px solid #29575a;border-radius:22px;background:#0c3037;box-shadow:0 12px 30px #0004;transition:flex-grow .55s cubic-bezier(.22,.75,.22,1),border-color .25s}
.vhm-card.is-active{flex-grow:6.4;border-color:#279c96;box-shadow:0 12px 35px #0006}
.vhm-photo,.vhm-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.vhm-photo{object-fit:cover;object-position:center;filter:brightness(.83) saturate(.80);transition:filter .35s}
.vhm-vira .vhm-photo{object-position:25% center;filter:none}
.vhm-card.is-active .vhm-photo{filter:brightness(.98) saturate(.90)}
.vhm-vira.is-active .vhm-photo{filter:none;object-position:15% center}
.vhm-shade{background:linear-gradient(180deg,#032c3020,#061b208c);transition:opacity .25s}
.vhm-card.is-active .vhm-shade{opacity:.55}
.vhm-menu .vhm-trigger{position:absolute;inset:0;width:100%;height:100%;z-index:2;display:block;padding:0;margin:0;border:0;border-radius:inherit;color:#fff;background:transparent!important;box-shadow:none!important;text-transform:none;letter-spacing:normal;cursor:pointer}
.vhm-menu .vhm-trigger:focus-visible{outline:2px solid #83e2d9;outline-offset:-5px}
.vhm-vertical{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-90deg);white-space:nowrap;line-height:1.55;font-size:clamp(14px,1.10vw,19px);font-weight:600;text-shadow:0 2px 9px #000;pointer-events:none;transition:opacity .20s}
.vhm-card.is-active .vhm-vertical{opacity:0}
.vhm-caption{position:absolute;z-index:3;inset-inline:clamp(11px,1.2vw,20px);bottom:clamp(11px,1.2vw,20px);padding:clamp(13px,1.5vw,24px);border:1px solid #76b6b338;border-radius:17px;background:linear-gradient(120deg,#072127f0,#092b30d9);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;gap:12px;opacity:0;visibility:hidden;transform:translateY(12px);pointer-events:none;transition:opacity .16s,transform .28s,visibility 0s .28s;overflow:hidden}
.vhm-card.is-active .vhm-caption{opacity:1;visibility:visible;transform:none;transition:opacity .28s .18s,transform .36s .12s,visibility 0s .12s}
.vhm-copy{min-width:0;flex:1;text-align:start}
.vhm-menu .vhm-copy :is(h1,h2){font-size:clamp(19px,1.6vw,29px);font-weight:700;line-height:1.5;color:#f5fbfb;margin:0;padding:0;border:0;letter-spacing:normal;overflow-wrap:anywhere}
.vhm-menu .vhm-copy p{font-size:clamp(12px,1vw,16px);font-weight:400;line-height:1.8;color:#d0e4e3;margin:4px 0 0;padding:0;overflow-wrap:anywhere}
.vhm-menu .vhm-link{pointer-events:none;flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #72b5b28a;border-radius:50%;color:#e5f5f2;background:transparent;text-decoration:none}
.vhm-card.is-active .vhm-link{pointer-events:auto}.vhm-menu .vhm-link:hover,.vhm-menu .vhm-link:focus-visible{background:#279c96;color:#fff;outline:2px solid #a8e6e1;outline-offset:2px}
.vhm-menu[dir=ltr] .vhm-link svg{transform:rotate(180deg)}
@media(max-width:1100px){.vhm-menu{width:calc(100% - 40px)}.vhm-track{gap:9px}.vhm-card{border-radius:18px}.vhm-vertical{font-size:14px}}
@container (max-width:820px){.vhm-track{height:auto;flex-direction:column;gap:10px}.vhm-card,.vhm-card.is-active{flex:none;height:76px;border-radius:18px;transition:height .48s cubic-bezier(.22,.75,.22,1)}.vhm-card.is-active{height:clamp(280px,75cqw,430px)}.vhm-vertical{transform:translate(-50%,-50%);white-space:normal;width:max-content;max-width:92%;text-align:center;font-size:16px}.vhm-copy p{font-size:13px}.vhm-menu .vhm-link{flex-basis:36px;width:36px;height:36px}}
@media(max-width:700px){.vhm-section{padding:calc(var(--header-height,70px) + 16px) 0 24px}.vhm-menu{width:calc(100% - 28px)}.vhm-track{height:auto;flex-direction:column;gap:10px}.vhm-card,.vhm-card.is-active{flex:none;height:76px}.vhm-card.is-active{height:clamp(280px,75vw,430px)}.vhm-vertical{transform:translate(-50%,-50%);white-space:normal;width:max-content;max-width:92%;text-align:center}}
@media(prefers-reduced-motion:reduce){.vhm-menu *{transition:none!important}}

/* Phone orientation: portrait = horizontal strips; landscape = vertical panels. */
@media (orientation:portrait) and (max-width: 860px) {
 .vhm-track{height:auto;flex-direction:column;gap:10px}
 .vhm-card,.vhm-card.is-active{flex:none;height:76px;border-radius:18px;transition:height .48s cubic-bezier(.22,.75,.22,1)}
 .vhm-card.is-active{height:clamp(280px,75vw,430px)}
 .vhm-vertical{transform:translate(-50%,-50%);white-space:normal;width:max-content;max-width:92%;text-align:center;font-size:16px}
}
@media (orientation:landscape) and (max-width:1100px) and (max-height:600px) {
 .vhm-section{padding:calc(var(--header-height,70px) + 10px) 0 16px}
 .vhm-menu{width:calc(100% - 24px)}
 .vhm-track{flex-direction:row;height:clamp(240px,calc(100vh - var(--header-height,70px) - 26px),480px);height:clamp(240px,calc(100svh - var(--header-height,70px) - 26px),480px);gap:clamp(4px,.8vw,9px)}
 .vhm-card,.vhm-card.is-active{height:auto;min-width:0;border-radius:14px;transition:flex-grow .55s cubic-bezier(.22,.75,.22,1),border-color .25s}
 .vhm-card{flex:0 0 clamp(30px,5.9vw,54px)}
 .vhm-card.is-active{flex:1 0 clamp(30px,5.9vw,54px)}
 .vhm-vertical{transform:translate(-50%,-50%) rotate(-90deg);white-space:nowrap;width:auto;max-width:none;font-size:clamp(10px,1.5vw,14px);line-height:1.35}
 .vhm-caption{inset-inline:7px;bottom:7px;padding:10px;gap:7px;border-radius:12px}
 .vhm-menu .vhm-copy :is(h1,h2){font-size:clamp(15px,2.2vw,21px);line-height:1.4}
 .vhm-menu .vhm-copy p{font-size:clamp(11px,1.6vw,14px);line-height:1.6}
 .vhm-menu .vhm-link{flex-basis:30px;width:30px;height:30px}
 .vhm-menu .vhm-link svg{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){.vhm-menu *{transition:none!important}}

/* v1.6.2: blank, reversible lower-homepage section shells. */
#home > .vspd-empty-section{padding:clamp(34px,5vw,68px) 0;background:#081e23;color:#dce8eb;border-top:1px solid rgba(39,156,150,.14)}
#home > .vspd-empty-section h2{margin:0 0 18px;font-size:clamp(23px,3vw,36px);line-height:1.55;font-weight:700;color:#dce8eb;letter-spacing:normal}
#home .vspd-blank-frame{min-height:clamp(130px,18vw,220px);width:100%;border:1px solid rgba(39,156,150,.40);border-radius:16px;background:rgba(12,48,55,.30);box-sizing:border-box}
#home .vspd-empty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#home .vspd-empty-projects{grid-template-columns:repeat(2,minmax(0,1fr))}
#home .vspd-empty-item{min-width:0;scroll-margin-top:12px}
#home .vspd-empty-item h3{margin:0 0 12px;color:#dce8eb;font-size:clamp(15px,1.8vw,20px);line-height:1.6;font-weight:600;letter-spacing:normal}
#home .vspd-empty-item .vspd-blank-frame{min-height:145px}
@media(max-width:850px){#home .vspd-empty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){#home .vspd-empty-grid{grid-template-columns:1fr;gap:22px}#home > .vspd-empty-section{padding:32px 0}#home .vspd-empty-item .vspd-blank-frame{min-height:115px}}
