/* LiteCMS v2.77 — one Info drawer for Standard and Interactive projects.
   The Video project keeps its approved theater drawer. */
.project-info-trigger{box-sizing:border-box;display:grid;place-items:center;width:60px;height:60px;padding:0;border:1px solid rgba(255,255,255,.6);background:#f0f1ee;color:#273842;box-shadow:0 7px 28px rgba(10,22,28,.18);cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease;z-index:65}
.project-info-trigger:hover{background:#fff;transform:translateY(-2px);box-shadow:0 11px 36px rgba(10,22,28,.28)}
.project-info-trigger:focus-visible{outline:3px solid #ad8dfa;outline-offset:4px}
.project-info-trigger svg{display:block;width:29px;height:29px}
/* Above the media's right edge on wide screens, tucked inside on narrow ones. */
.screen-gallery-project .screen-gallery-hero{position:relative!important;padding-bottom:58px!important}
.screen-gallery-project .screen-gallery-visual{overflow:visible!important}
.screen-gallery-project .project-info-trigger-standard{position:absolute;top:clamp(124px,20vw,244px);right:max(14px,calc((100vw - 980px)/2 - 75px))}
/* The text under the image is an ordinary caption, not a floating glass overlay. */
.screen-gallery-project .project-inline-caption{box-sizing:border-box;position:relative;z-index:7;max-width:980px;width:100%;margin:17px auto 0;padding:9px 24px 5px;color:#263640;text-shadow:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.screen-gallery-project .project-inline-caption[hidden]{display:none!important}
.screen-gallery-project .project-inline-caption strong{display:block;font-weight:720;line-height:1.3;font-size:17px;margin:0 0 6px}
.screen-gallery-project .project-inline-caption p{font-size:14px;line-height:1.55;margin:0;max-width:780px;white-space:pre-line;overflow-wrap:anywhere}
.screen-gallery-project .project-inline-caption strong[hidden],.screen-gallery-project .project-inline-caption p[hidden]{display:none!important}
.screen-gallery-project .media-details{display:none!important}
/* Keep the hero from reserving a large empty title area from earlier versions. */
.screen-gallery-project .screen-gallery-identity,.screen-gallery-project .screen-gallery-below{display:none!important}
/* Interactive: preserve the previously approved slim header; Info sits beside its count. */
.interactive-project-page .prototype-strapline-actions{display:flex;align-items:center;justify-content:flex-end;gap:17px;min-width:0}
.interactive-project-page .project-info-trigger-interactive{width:48px;height:48px;flex:none;border-color:#eef2f6;border-radius:0}
.interactive-project-page .project-info-trigger-interactive svg{width:27px;height:27px}
.interactive-project-page .prototype-strapline{align-items:center}
/* Reusable right-side panel, closely matched to the Video theater's Info drawer. */
.project-info-shade[hidden]{display:none!important}
.project-info-shade{position:fixed;inset:0;z-index:470;background:rgba(8,17,25,.68);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .32s ease}
.project-info-shade.is-open{opacity:1}
.project-info-drawer{box-sizing:border-box;position:fixed;z-index:480;top:0;right:0;bottom:0;width:min(440px,100%);padding:35px 35px 64px;overflow-y:auto;overscroll-behavior:contain;background:#eff1ee;color:#273640;box-shadow:-25px 0 75px #0005;transform:translateX(105%);pointer-events:none;transition:transform .42s cubic-bezier(.2,1,.3,1);scrollbar-width:thin;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
.project-info-drawer.is-open{pointer-events:auto;transform:translateX(0)}
.project-info-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 0 20px;margin-bottom:34px;border-bottom:1px solid #c8d1d0}
.project-info-drawer-head>span{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.16em;color:#687d87}
.project-info-drawer-head button{width:40px;height:40px;flex:none;border:1px solid #b9c5c9;border-radius:50%;background:transparent;color:#283c48;font:400 25px/1 Arial,sans-serif;cursor:pointer;display:grid;place-items:center}
.project-info-drawer-head button:hover{background:#dfe5e3}
.project-info-drawer-head button:focus-visible{outline:2px solid #956ae9;outline-offset:3px}
.project-info-eyebrow{margin:0 0 12px;font-size:11px;letter-spacing:.11em;font-weight:750;text-transform:uppercase;color:#667c88}
.project-info-drawer h1{font:760 clamp(29px,3vw,38px)/1.12 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#283640;letter-spacing:-.045em;margin:0 0 28px;overflow-wrap:break-word}
.project-info-summary{font-size:15px;line-height:1.72;color:#4e606a;margin:0 0 28px;overflow-wrap:anywhere}
.project-info-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:10px 0 30px}
.project-info-facts>div{border-top:1px solid #cad3d4;padding-top:12px;min-width:0}
.project-info-facts dt{font-size:10px;letter-spacing:.1em;font-weight:760;text-transform:uppercase;color:#73848d;margin-bottom:8px}
.project-info-facts dd{font-size:13px;line-height:1.5;color:#2b3c47;margin:0;overflow-wrap:anywhere}
.project-info-facts-wide{grid-column:1/-1}
.project-info-section{border-top:1px solid #cbd2d2;padding-top:23px;margin-top:27px}
.project-info-section h2{font:760 12px/1.4 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#647680;text-transform:uppercase;letter-spacing:.13em;margin:0 0 15px}
.project-info-story-copy{font-size:15px;line-height:1.78;color:#42545e;overflow-wrap:anywhere}
body.project-info-drawer-open{overflow:hidden!important}
@media(max-width:760px){
 .screen-gallery-project .screen-gallery-hero{padding-bottom:43px!important}
 .screen-gallery-project .project-info-trigger-standard{top:170px;right:14px;width:46px;height:46px}
 .screen-gallery-project .project-info-trigger-standard svg{width:25px;height:25px}
 .screen-gallery-project .project-inline-caption{padding:12px 20px 0;margin-top:8px}
 .screen-gallery-project .project-inline-caption strong{font-size:15px}
 .screen-gallery-project .project-inline-caption p{font-size:13px}
 .interactive-project-page .project-info-trigger-interactive{width:38px;height:38px}
 .interactive-project-page .project-info-trigger-interactive svg{width:23px;height:23px}
 .interactive-project-page .prototype-strapline-actions{gap:9px}
 .project-info-drawer{padding:26px 23px 45px}
 .project-info-drawer h1{font-size:31px}
}
@media(max-width:420px){
 .interactive-project-page .prototype-strapline-count{font-size:9px}
 .interactive-project-page .prototype-strapline-actions{gap:7px}
}
@media(prefers-reduced-motion:reduce){.project-info-drawer,.project-info-shade,.project-info-trigger{transition:none!important}}

/* Match the more-specific video-state rules from the existing gallery CSS. */
.screen-gallery-project .screen-gallery-hero:has(.media-stage-item .media-frame-video){padding-bottom:58px!important}
@media(max-width:760px){.screen-gallery-project .screen-gallery-hero:has(.media-stage-item .media-frame-video){padding-top:105px!important;padding-bottom:43px!important}}
