/* Full-page portfolio viewer. The document itself scrolls; artwork has no inner scroller. */
body.project-open{background:#191a21}
body.project-open>main,body.project-open>.site-footer,body.project-open>#preview-launcher,body.project-open>.preview-note{display:none!important}
.project-view[hidden]{display:none!important}
.project-view{display:block;min-height:100vh;background:#191a21;color:#f8f9fb;font-family:inherit}
.project-view-header{position:sticky;top:0;z-index:30;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px clamp(18px,4.2vw,64px);background:rgba(25,26,33,.97);border-bottom:1px solid rgba(255,255,255,.11);backdrop-filter:blur(16px)}
.project-view-identity{display:flex;align-items:center;gap:12px;min-width:0}
.project-view-mark{width:38px;height:38px;flex:none;display:grid;place-items:center;border:1px solid #ffffff45;border-radius:50%;color:white;font-size:20px;font-weight:800;letter-spacing:-.08em}
.project-view-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.3;font-weight:700;letter-spacing:.01em}
.project-view-identity small{display:block;color:#bec2cc;font-size:12px;line-height:1.3;margin-top:2px}
.project-view-header-actions{display:flex;align-items:center;gap:16px;flex:none}
.project-view-brief{display:flex;align-items:center;gap:11px;padding:10px 16px;border:1px solid rgba(255,255,255,.2);border-radius:25px;background:#272a36;color:#fff;font:inherit;font-size:13px;cursor:pointer;transition:background .25s,border-color .25s}
.project-view-brief:hover{background:#174ffc;border-color:#174ffc}
.project-view-brief strong{font-weight:700}
.project-view-brief span{color:#c3c7d2}
.project-view-brief:hover span{color:#fff}
.project-view-close{width:40px;height:40px;display:grid;place-items:center;padding:0;border:1px solid #ffffff38;border-radius:50%;background:#101116;color:#fff;cursor:pointer;transition:background .25s,transform .25s}
.project-view-close:hover{background:#343847;transform:rotate(90deg)}
.project-view-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.project-view-layout{width:min(100%,1480px);margin:0 auto;padding:24px clamp(14px,4vw,58px) 80px;display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:22px;align-items:start}
.project-view-artwork{position:relative;min-width:0;min-height:64vh;background:#242630;box-shadow:0 22px 80px #080a1280;overflow:hidden}
.project-view-artwork>img{display:block;width:100%;height:auto;opacity:1;transition:opacity .55s ease}
.project-view.is-loading .project-view-artwork>img{opacity:0}
.project-view-loader{position:fixed;inset:70px 0 0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#242630;text-align:center}
.project-view:not(.is-loading) .project-view-loader{display:none}
.project-view-dots{display:flex;gap:9px;align-items:center;justify-content:center}
.project-view-dots i{width:12px;height:12px;border-radius:50%;background:#174ffc;animation:projectDot 1.05s ease-in-out infinite;box-shadow:0 0 22px #174ffc6b}
.project-view-dots i:nth-child(2){background:#fb674d;box-shadow:0 0 22px #fb674d6b;animation-delay:.16s}
.project-view-dots i:nth-child(3){background:#efbd4e;box-shadow:0 0 22px #efbd4e6b;animation-delay:.32s}
.project-view-loader strong{font-size:15px;font-weight:650;letter-spacing:.025em;color:#f5f5f7}
@keyframes projectDot{0%,60%,100%{transform:translateY(0);opacity:.65}28%{transform:translateY(-9px);opacity:1}}
.project-view-rail{position:sticky;top:96px;display:flex;flex-direction:column;align-items:center;gap:26px;padding-top:14px}
.project-view-action{width:72px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:#d4d7df;font:inherit;font-size:11px;line-height:1.3;text-align:center;cursor:pointer}
.project-view-action-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid #ffffff3d;border-radius:50%;background:#fff;color:#222633;transition:transform .25s,background .25s,border-color .25s,color .25s}
.project-view-action:hover .project-view-action-icon,.project-view-action:focus-visible .project-view-action-icon{transform:translateY(-2px);background:#edf2ff;border-color:#d7e2ff}
.project-view-action[aria-pressed="true"] .project-view-action-icon{background:#174ffc;color:#fff;border-color:#174ffc}
.project-view-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.project-view-action[aria-pressed="true"] svg{fill:currentColor;stroke:currentColor}
.project-view-feedback{position:fixed;right:24px;bottom:22px;z-index:40;padding:10px 16px;border-radius:20px;background:#fff;color:#19212e;box-shadow:0 12px 36px #0008;font-size:13px}
.project-view-feedback[hidden]{display:none}
.project-view button:focus-visible{outline:3px solid #7396ff;outline-offset:3px}
/* V84.18: keep the tracked cursor visible throughout every project viewer.
   Visibility still follows data-visible, so touch/blur keep existing behavior. */
html.project-open.grafogo-cursor-enabled .grafogo-cursor{display:block!important;position:fixed;z-index:2147483647;pointer-events:none}
html.project-open .grafogo-cursor .cursor__inner--move{box-shadow:0 0 0 1px rgba(255,255,255,.85),0 0 5px rgba(0,0,0,.45)}
html.project-open .grafogo-cursor .cursor__inner--action:after{box-shadow:0 0 0 1px rgba(255,255,255,.7),0 0 5px rgba(0,0,0,.35)}
@media(max-width:700px){.project-view-header{min-height:64px;padding:10px 15px}.project-view-identity small,.project-view-brief strong{display:none}.project-view-brief span{display:inline;color:#fff}.project-view-identity strong{max-width:44vw;font-size:13px}.project-view-mark{width:32px;height:32px;font-size:17px}.project-view-brief{padding:9px 11px;font-size:12px}.project-view-header-actions{gap:8px}.project-view-close{width:36px;height:36px}.project-view-layout{display:block;padding:12px 10px 94px}.project-view-artwork{min-height:55vh}.project-view-loader{top:64px}.project-view-rail{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:25;display:flex;flex-direction:row;justify-content:space-around;gap:6px;padding:9px max(10px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom));border-top:1px solid #ffffff27;background:rgba(25,26,33,.97);backdrop-filter:blur(16px)}.project-view-action{width:31%;flex-direction:row;justify-content:center;gap:7px;font-size:10px}.project-view-action-icon{width:34px;height:34px;flex:none}.project-view-action svg{width:17px;height:17px}.project-view-feedback{bottom:81px;right:12px}}
@media(prefers-reduced-motion:reduce){.project-view-action-icon,.project-view-close,.project-view-artwork>img{transition:none!important}.project-view-dots i{animation-duration:1.05s!important}}
