/* Private reader: photographic masthead and a quiet, usable project index. */
@media screen and (min-width:1024px){html[lang=fa] .project-visual .project-identity strong{max-width:none;white-space:nowrap}}
@media screen {
 .project-visual{position:relative;isolation:isolate;background:#231f20;color:white;min-height:210px;overflow:hidden;border-top:1px solid #ffffff30}
 .project-visual-inner{position:relative;z-index:1;width:min(1600px,calc(100% - var(--reader-gutter,42px)*2));margin:auto;padding-block:24px 32px;pointer-events:none}
 .project-visual-inner>*{pointer-events:auto}
 .project-visual .project-identity{width:54%;gap:6px;margin-top:18px}
 .project-visual .project-identity span{color:#d7d3d4;font-size:12px}
 .project-visual .project-identity strong{color:white;font-size:clamp(24px,2.6vw,38px);line-height:1.5;max-width:25ch}
 .en .project-visual .project-identity strong{line-height:1.18;letter-spacing:-.035em}
 .project-home{font-size:14px;display:inline-flex;align-items:center;min-height:36px;color:inherit;text-decoration:none;border-bottom:1px solid #ffffff80}
 .project-home:hover{text-decoration:underline}.project-home:focus-visible{outline:3px solid currentColor;outline-offset:5px}
 .project-photograph{position:absolute;inset-block:0;inset-inline-end:0;width:50%;margin:0}
 .project-photograph img{height:100%;width:100%;object-fit:cover;object-position:50% 65%;filter:grayscale(1);display:block}
 .project-photograph:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#231f20,transparent 38%),linear-gradient(0deg,#0009,transparent 70%);pointer-events:none}
 html[lang=fa] .project-photograph:after{background:linear-gradient(270deg,#231f20,transparent 38%),linear-gradient(0deg,#0009,transparent 70%)}
 .project-photograph figcaption{position:absolute;z-index:2;inset-inline-end:var(--reader-gutter,42px);bottom:14px;display:grid;text-align:end;gap:3px;color:white;font-size:12px;line-height:1.6}
 .project-photograph figcaption a{font-size:11px;color:white;text-underline-offset:3px}
 .project-bar{background:white;border-bottom:1px solid #231f20}
 .project-bar-inner{width:min(1600px,calc(100% - var(--reader-gutter,42px)*2));margin-inline:auto;padding:0;display:block}
 #project-menu{width:100%;margin:0;border:0;background:transparent}
 #project-toggle{display:none}
 #navigation{display:flex;flex-wrap:wrap;gap:0 34px;margin:0;padding:0;justify-content:flex-start}
 #navigation a{border:0;border-radius:0;border-bottom:3px solid transparent;background:none;padding:16px 0 13px;font-size:18px;min-height:58px;text-decoration:none}
 #navigation a[aria-current]{background:none;border-color:#231f20;font-weight:800}
 #navigation a:hover{background:none;border-bottom-color:#777}
 .edition-strip{padding-block:10px;font-size:12px}
 main{padding-top:38px}
 main a[href^="#evidence/"]{display:inline-block;max-width:100%;min-height:44px;padding-block:6px;overflow-wrap:anywhere}
 .footer-project-home{display:table;margin-top:20px}
}
@media screen and (min-width:701px){html[lang=en] .site-header .brand{flex:0 1 320px}.header-inner{min-height:104px;padding-block:18px}}
@media screen and (max-width:700px){
 .project-visual{min-height:0;display:flex;flex-direction:column}
 .project-visual-inner{width:calc(100% - 40px);padding-block:15px 22px;order:1}
 .project-visual .project-identity{width:100%;margin-top:8px;gap:2px}
 .project-visual .project-identity strong{font-size:25px;max-width:30ch}
 .project-visual .project-identity span{display:none}
 .project-photograph{position:relative;inset:auto;width:100%;height:130px;order:0}
 .project-photograph:after,html[lang=fa] .project-photograph:after{background:linear-gradient(0deg,#000a,transparent 80%)}
 .project-photograph figcaption{inset-inline-end:20px;bottom:10px;gap:0}
 .project-bar-inner{width:calc(100% - 40px)}
 #project-toggle{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;border:0;border-radius:0;background:white;padding:13px 0;min-height:52px;font-size:18px}
 #project-toggle::-webkit-details-marker{display:none}
 #project-toggle:after{content:'+';font:26px NotoSans,Arial,sans-serif}
 #project-menu[open]>#project-toggle:after{content:'−'}
 #project-menu:not([open])>#navigation{display:none}
 #project-menu[open]>#navigation{display:grid;grid-template-columns:1fr 1fr;margin:0;padding-bottom:15px;gap:0 22px}
 #navigation a{font-size:16px;padding-block:10px 8px;min-height:48px}
 .edition-strip{font-size:11px}main{padding-top:28px}
 .site-header .header-inner{padding-block:12px;gap:7px 12px;min-height:0}
 .site-header .brand,html[lang=en] .site-header .brand{flex:0 1 240px;width:auto}
 .site-header .brand img,html[lang=en] .site-header #brand-logo-en{width:100%;max-width:240px}
 .site-utility{gap:10px}.site-utility a,.site-links a{font-size:14px}
 .header-inner .site-links{gap:2px 16px}
 html[lang=en] .site-header .header-inner{justify-content:space-between}
 html[lang=en] .site-header .brand{flex:0 1 42%}
 html[lang=en] .site-utility{flex:0 1 54%;justify-content:flex-end;gap:2px 8px}
 html[lang=en] .site-utility a{font-size:13px;min-height:34px}
 html[lang=en] .site-header .support-button{padding:3px 7px}
 html[lang=en] .site-links a{font-size:13px;min-height:36px}
 html[lang=en] main :is(h1,h2,h3){overflow-wrap:anywhere;hyphens:auto}
}
@media print{.project-visual,.footer-project-home{display:none}}
