/* V46.5 – evidence-led editorial layer; preserves the working pixel city */
:root{--v465-ink:#101729;--v465-paper:#fffaf2;--v465-mint:#a5e4cf;--v465-pink:#ff9eaf;--v465-line:#4a5976}
.v465-eyebrow{display:block;color:#9de6d1;font:800 11px/1.6 ui-monospace,Consolas,monospace;letter-spacing:.12em;direction:ltr;unicode-bidi:isolate;text-align:start}
.v465-action{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#a6e6cc;color:#102238!important;border:1px solid #a6e6cc;border-radius:10px;padding:12px 18px;font-weight:900;font-size:13px;min-height:46px;text-align:center;transition:transform .2s,box-shadow .2s}
.v465-action:hover{transform:translateY(-2px);box-shadow:0 10px 22px #0003}
.v465-action.alt{background:transparent;color:#f7ece7!important;border-color:#7286a3}
.v465-status{display:inline-flex;margin-top:18px;border:1px solid #8bbcaf88;border-radius:9px;padding:7px 11px;font-size:12px;color:#c3eddf;background:#203345}
.v465-tagline{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.v465-tagline span{border:1px solid #61718c;background:#142540;color:#e4eaf2;border-radius:7px;padding:7px 9px;font:700 11px/1.4 ui-monospace,Consolas,monospace;direction:ltr;unicode-bidi:isolate}
/* Project detail upgrade */
.v465-case-feature{margin:32px 0 48px;border:1px solid #59677c;border-radius:20px;background:radial-gradient(ellipse at 95% 0,#283450,#111b30 60%);padding:clamp(18px,3vw,38px);color:#f7f0ea;box-shadow:0 20px 60px #0003}
.v465-case-intro{max-width:920px}.v465-case-feature h2{font-size:clamp(25px,3.7vw,45px)!important;line-height:1.5;margin:12px 0}.v465-case-intro>p{font-size:clamp(15px,1.6vw,19px);max-width:72ch;line-height:2.15;color:#d9e4f0}
.v465-realproof{background:#0d1627;padding:clamp(10px,2vw,20px);border:1px solid #415978;border-radius:15px;display:grid;gap:13px;margin-top:23px}
.v465-realproof>a:first-child{display:block;overflow:hidden;border-radius:12px;background:#eedfd7}.v465-realproof>a img{width:100%;height:auto;max-height:570px;object-fit:contain;display:block;transition:transform .25s}
.v465-realproof>a:hover img{transform:scale(1.015)}.v465-realproof>p{font-size:12px;color:#b7c9da;margin:2px 0;line-height:1.9}
.v465-shot-mini{width:min(45%,320px);display:block;border-radius:11px;overflow:hidden}.v465-shot-mini img{width:100%;height:auto;display:block}
.v465-case-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0}.v465-case-facts article{border:1px solid #4b637f;border-radius:13px;padding:clamp(16px,2vw,24px);background:#202b44}
.v465-case-facts article>span{display:block;color:#9ee7d0;font:800 11px ui-monospace,Consolas,monospace;letter-spacing:.08em;direction:ltr;text-align:right}.v465-case-facts h3{font-size:18px;margin:10px 0}.v465-case-facts p{font-size:13px;color:#cdd9e9;line-height:2;margin:0}
.v465-case-ctas{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}
.v465-legacy-notes{margin-top:36px;opacity:.88}.v465-legacy-notes .v455-illustration{max-width:680px}
.v465-legacy-notes>.v455-case-proof-head{opacity:.85}
/* Portfolio overview */
.v465-intro{font-size:15px;color:#b8d0e1;max-width:74ch;line-height:2.2;margin:18px 0}
.v465-filter-row{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}.v465-filter-row button{background:#202d47;border:1px solid #60708b;border-radius:999px;color:#f0f2f5;padding:10px 17px;min-height:44px;font-weight:800}
.v465-filter-row button.active,.v465-filter-row button[aria-pressed=true]{background:#ffe2ce;border-color:#ffe2ce;color:#172039}
.v465-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 50px}
.v465-project-card{border:1px solid #455b79;border-radius:16px;background:#19263f;overflow:hidden;box-shadow:0 12px 35px #0002;transition:transform .25s,border-color .25s}
.v465-project-card:hover{transform:translateY(-5px);border-color:#9de6d3}.v465-project-image{aspect-ratio:1.78;position:relative;background:#cfc8c8;overflow:hidden}
.v465-project-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.v465-project-card:hover .v465-project-image img{transform:scale(1.025)}
.v465-project-image>span{position:absolute;bottom:11px;right:12px;background:#0d172edc;color:#cbf5e7;font:700 10px ui-monospace,Consolas,monospace;padding:5px 8px;border-radius:5px;direction:ltr}
.v465-project-caption{padding:20px}.v465-project-caption>span{color:#90dec9;font:700 11px ui-monospace,Consolas,monospace;direction:ltr;display:block;text-align:right}
.v465-project-caption h2{font-size:clamp(22px,2.8vw,30px);margin:8px 0 5px;color:#fff6ed}.v465-project-caption h2 b{color:#f7b4a9;float:left}
.v465-project-caption p{color:#bfcdde;font-size:13px;line-height:2;margin:10px 0;min-height:52px}
.v465-project-caption small{color:#edc9b8;line-height:1.7;display:block;font-size:11px}
.v465-project-card[hidden]{display:none!important}.v465-archive-title{font-size:clamp(23px,3vw,34px);margin:36px 0 6px}.v465-archive-desc{color:#bccadd;margin:0 0 28px}
.v465-work-plugin-cta,.v465-endcap{background:#24324d;border:1px solid #657794;border-radius:18px;padding:clamp(20px,3vw,35px);display:flex;align-items:center;justify-content:space-between;gap:25px;margin:50px 0 20px;flex-wrap:wrap}
.v465-work-plugin-cta h2,.v465-endcap h2{font-size:clamp(23px,3vw,34px);margin:7px 0;line-height:1.5}.v465-work-plugin-cta p,.v465-endcap p{margin:7px 0;color:#c9d7e8;line-height:2}.v465-work-plugin-cta>div,.v465-endcap>div{flex:1 1 350px}
/* Featured area on scroll-city homepage */
.v465-home-more{margin-top:25px;border-top:1px solid #dbcfbf;padding:17px 0;display:flex;gap:20px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.v465-home-more a{font-weight:900;color:#294467;border-bottom:2px solid #294467}.v465-home-more span{color:#606e7e;font-size:12px}
.v465-home-plugins{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;background:#101a30;color:#f8f2ea;padding:clamp(60px,7vw,100px) clamp(18px,6vw,85px)}
.v465-home-plugins>div:first-child{max-width:650px}.v465-home-plugins h2{font-size:clamp(29px,4vw,54px);line-height:1.46;margin:15px 0}.v465-home-plugins h2 em{font-style:normal;color:#ffb29e}.v465-home-plugins p{font-size:15px;line-height:2.2;color:#c4d2e2;margin-bottom:22px}
.v465-mini-modules{display:grid;gap:14px}.v465-mini-modules>div{padding:21px 22px;border:1px solid #445c7a;border-right:5px solid #b9e8d1;border-radius:11px;background:linear-gradient(110deg,#202b48,#122139)}
.v465-mini-modules b{color:#9de6d1;font:800 11px ui-monospace,Consolas,monospace;display:block;direction:ltr;text-align:right}.v465-mini-modules strong{display:block;font-size:21px;margin:7px 0}.v465-mini-modules small{color:#c5cddd;direction:ltr;display:block;text-align:right}
/* New standalone plugins + newly documented projects */
.v465-newpage{background:#0f182a;color:#f4f2ed;font-family:Tahoma,'Vazirmatn','Segoe UI',sans-serif;line-height:1.85;margin:0}
.v465-newpage *{box-sizing:border-box}.v465-newpage a{text-decoration:none;color:inherit}.v465-newpage a:focus-visible,.v465-newpage button:focus-visible{outline:3px solid #a6f1d2;outline-offset:3px}
.v465-skip{position:fixed;top:-100px;right:10px;background:white;color:#111;padding:9px;z-index:999}.v465-skip:focus{top:10px}
.v465-nav{padding:14px clamp(17px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:24px;position:sticky;top:0;z-index:100;border-bottom:1px solid #50637d;background:#131d31ee;backdrop-filter:blur(14px)}
.v465-logo{font-weight:900;white-space:nowrap;color:#f6ded5!important}.v465-logo span{color:#fcf3e8}.v465-nav nav{display:flex;gap:clamp(10px,2.2vw,30px);flex-wrap:wrap}.v465-nav nav a{font-size:13px;color:#d3e1ec}.v465-nav nav a:hover{color:#9fe9d1}
.v465-main{max-width:1220px;margin:auto;padding:0 25px 75px;min-height:80vh}.v465-hero{padding:clamp(50px,7vw,100px) 0 35px;max-width:1100px}
.v465-hero h1{font-size:clamp(35px,6vw,78px);line-height:1.36;letter-spacing:-.04em;margin:15px 0}.v465-hero h1 em{font-style:normal;color:#f5a79f}.v465-hero p{font-size:clamp(16px,2vw,21px);line-height:2;max-width:70ch;color:#c9d9e8}
.v465-plugin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 55px}.v465-plugin-card{display:block;padding:27px 24px;border:1px solid #617797;border-radius:14px;background:#1c2a44;transition:transform .2s,border .2s}
.v465-plugin-card:hover{transform:translateY(-5px);border-color:#a6edcd}.v465-plugin-glyph{font-size:35px;color:#adf0d8}.v465-plugin-card h2{font-size:24px;margin:14px 0}.v465-plugin-card p{color:#c5d4e5;font-size:13px;line-height:2.1;min-height:120px}.v465-plugin-card small{font-size:12px;color:#f4bba5}
.v465-end{border-top:1px solid #3e5072;padding:30px clamp(20px,4vw,65px);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#adbed4}.v465-note{color:#e4c9b9;line-height:2.2;font-size:13px;margin:20px 0}
/* Additional consistent RTL typographic rhythm */
[dir=rtl] .v465-case-feature,[dir=rtl] .v465-newpage,[dir=rtl] .v465-work-plugin-cta{text-align:right}
@media(max-width:980px){.v465-plugin-grid{grid-template-columns:1fr 1fr}.v465-home-plugins{grid-template-columns:1fr;gap:30px}.v465-nav{flex-direction:column;gap:10px}.v465-nav nav{justify-content:center}}
@media(max-width:680px){.v465-project-grid,.v465-case-facts,.v465-plugin-grid{grid-template-columns:1fr}.v465-realproof{margin-top:12px}.v465-project-caption p{min-height:0}.v465-case-feature{padding:16px}.v465-case-feature h2{font-size:25px!important}.v465-nav nav{gap:12px}.v465-nav nav a{font-size:11px}.v465-work-plugin-cta,.v465-endcap{align-items:stretch}.v465-work-plugin-cta .v465-action,.v465-endcap .v465-action{width:100%}.v465-shot-mini{width:80%}}
@media(prefers-reduced-motion:reduce){.v465-project-card,.v465-action,.v465-project-image img,.v465-plugin-card{transition:none!important}}

.v465-room-proof{border:1px solid #667c97;border-radius:13px;overflow:hidden;background:#17243e;margin:15px 0 6px}.v465-room-proof img{display:block;width:100%;max-height:215px;object-fit:cover}.v465-room-proof figcaption{padding:8px 12px;font-size:11px;color:#cfdded}.room-info .room-object-list{gap:9px}.room-info #roomDescription{font-size:14px;line-height:2}

.v465-archive-panel{border:1px solid #556985;border-radius:13px;background:#16233b;margin:18px 0 38px;padding:15px}.v465-archive-panel summary{cursor:pointer;font-weight:900;color:#dff1eb;padding:12px;min-height:44px}.v465-archive-panel[open] summary{margin-bottom:16px;border-bottom:1px solid #586981}.v465-archive-panel .card-grid{margin:8px 0 15px}

.v465-technical-notes{border:1px solid #435a7a;border-radius:13px;margin:30px 0;padding:14px;background:#16243e}.v465-technical-notes summary{cursor:pointer;font-weight:800;color:#d7e8e8;padding:9px 5px}.v465-technical-notes[open] summary{border-bottom:1px solid #536682;margin-bottom:22px}.v465-technical-notes .v455-case-proof{margin-top:20px}
