/* EVE video studies inherit the existing portfolio palette and card language. */
.hud-section{margin:52px 0 36px;scroll-margin-top:28px}
.hud-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.hud-section-heading h2,.hud-section-heading h3{margin:0;font-size:1.125rem;font-weight:550;letter-spacing:-.025em}
.hud-section-heading p{margin:0;color:var(--muted);font-size:.875rem}
.hud-review-note{font-size:.8125rem;line-height:1.5;color:var(--muted);margin:-5px 0 22px}
.hud-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hud-grid>.hud-tile{width:100%;min-width:0;min-height:300px;aspect-ratio:1.65;padding:28px;border:1px solid var(--border);background:#111318}
.hud-grid .hud-tile:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:2.8}
.hud-tile>.scrim{background:linear-gradient(180deg,rgba(5,8,12,.06) 24%,rgba(5,8,12,.4) 58%,rgba(5,8,12,.9))}
.hud-grid .work-copy{padding-top:105px;margin-right:38px}
.hud-grid .work-copy h3{font-size:clamp(1.65rem,2.5vw,2.35rem);font-weight:600;line-height:1.12;letter-spacing:-.045em;margin:0 0 9px;text-wrap:balance}
.hud-grid .work-copy p{display:block;color:rgba(255,255,255,.8);font-size:.875rem;line-height:1.4}
.hud-play{position:absolute;right:25px;bottom:30px;z-index:4;display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff66;border-radius:50%;background:#ffffff12;backdrop-filter:blur(8px)}
.hud-tile:focus-visible{outline:3px solid var(--accent-text);outline-offset:5px}
.hud-fallback{margin-top:54px}.hud-fallback>.hud-study{padding:32px;background:var(--tile);border:1px solid var(--border);border-radius:24px;margin-top:32px;scroll-margin-top:24px}
.hud-enhanced .hud-fallback{display:none}.hud-enhanced .hud-return{display:none}
html.hud-document{scrollbar-gutter:stable}html.hud-viewer-open,html.hud-viewer-open body{overflow:hidden}
.hud-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:40px 32px;background:transparent;color:var(--ink);overflow:hidden}
.hud-dialog[open]{display:grid;place-items:center}
.hud-dialog::backdrop{background:rgba(8,10,14,.67);backdrop-filter:blur(7px)}
.hud-dialog-panel{width:min(1100px,100%);height:min(1100px,100%);display:flex;flex-direction:column;background:var(--tile);border:1px solid var(--border);border-radius:28px;box-shadow:0 28px 100px #0008;overflow:hidden;transform-origin:top left;will-change:transform}
.hud-dialog-toolbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:14px 22px;border-bottom:1px solid var(--rule);background:var(--tile);font-size:.8125rem;color:var(--muted)}
.hud-close{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;min-width:100px;border:1px solid var(--rule);border-radius:99px;background:transparent;color:var(--ink);font:inherit;cursor:pointer;padding:8px 14px}
.hud-close:hover{background:var(--soft-accent)}.hud-close:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
.hud-dialog-content{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-gutter:stable}
.hud-dialog-content>.hud-study{padding:clamp(24px,5vw,56px)}
.hud-study-heading{margin:0 0 28px;max-width:830px}
.hud-eyebrow{font-size:.8125rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 16px}.hud-eyebrow span{padding:0 7px}
.hud-study-heading h2{font-size:clamp(2rem,4.5vw,3.75rem);font-weight:650;line-height:1.06;letter-spacing:-.05em;margin:0;text-wrap:balance}
.hud-status{font-size:.75rem;line-height:1.5;margin:16px 0 0;color:var(--muted)}
.hud-video{margin:0 0 40px}.hud-video video{display:block;width:100%;max-height:65vh;aspect-ratio:16/9;object-fit:contain;background:#080a0e;border-radius:14px}
.hud-video figcaption,.hud-frame-grid figcaption{font-size:.75rem;color:var(--muted);line-height:1.5;margin-top:10px;overflow-wrap:anywhere}
.hud-writeup{max-width:68ch;margin:0 0 46px}.hud-writeup h3{font-size:1.4rem;letter-spacing:-.03em;margin:0 0 18px;font-weight:600}.hud-writeup p{font-size:1rem;line-height:1.75;color:var(--body-copy);margin:0 0 18px}
.hud-frame-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.hud-frame-grid figure{margin:0}.hud-frame-grid img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#080a0e;border:1px solid var(--rule);border-radius:12px}
.hud-return{margin-top:28px}.hud-return a{text-decoration:underline}
@media(max-width:760px){.hud-grid{grid-template-columns:1fr}.hud-grid>.hud-tile,.hud-grid .hud-tile:last-child:nth-child(odd){grid-column:auto;min-height:280px;aspect-ratio:1.7}.hud-frame-grid{grid-template-columns:1fr}.hud-dialog{padding:20px 12px}.hud-dialog-panel{border-radius:22px}.hud-dialog-toolbar{padding:10px 14px}.hud-eyebrow{font-size:.6875rem}.hud-dialog-content>.hud-study{padding:26px 20px}.hud-grid .work-copy h3{font-size:1.8rem}.hud-section{margin-top:36px}}
@media(max-width:420px){.hud-grid>.hud-tile{padding:22px}.hud-play{right:20px;bottom:24px}.hud-section-heading{gap:10px}.hud-section-heading p{font-size:.75rem}.hud-dialog{padding:8px}.hud-dialog-panel{border-radius:20px}.hud-dialog-content>.hud-study{padding:25px 16px}.hud-video{margin-bottom:30px}.hud-writeup{margin-bottom:32px}}
@media(prefers-reduced-motion:reduce){.hud-dialog-panel{will-change:auto}.hud-tile .art{transition:none!important}.hud-dialog::backdrop{backdrop-filter:none}}
@media print{.hud-dialog{display:none!important}.hud-fallback{display:block!important}.hud-review-note{display:block}.hud-fallback>.hud-study{break-before:page}.hud-grid{display:none}}
/* Deliberately lightweight page gate, not an authentication boundary. */
.eve-gate-locked .footer{display:none}
.eve-gate{min-height:65vh;display:grid;place-items:center;padding-top:50px;padding-bottom:90px}
.eve-gate-card{width:min(100%,580px);padding:clamp(28px,5vw,56px);border:1px solid var(--border);border-radius:28px;background:var(--tile);box-shadow:var(--shadow)}
.eve-gate h1{font-size:clamp(2.4rem,5vw,3.6rem);line-height:1.05;letter-spacing:-.055em;margin:0 0 18px;font-weight:650}
.eve-gate-intro{font-size:1rem;line-height:1.6;color:var(--body-copy);margin:0 0 32px}
.eve-gate label{display:block;font-size:.875rem;margin-bottom:10px;color:var(--body-copy)}
.eve-gate-input{display:flex;gap:10px;flex-wrap:wrap}.eve-gate input{min-width:0;flex:1;width:180px;min-height:48px;background:var(--bg);color:var(--ink);border:1px solid var(--rule);border-radius:12px;padding:12px 14px;font:inherit}
.eve-gate button,.eve-lock{border:1px solid var(--rule);background:var(--soft-accent);color:var(--ink);border-radius:12px;padding:12px 17px;min-height:48px;font:inherit;font-size:.875rem;cursor:pointer}.eve-gate button:disabled{opacity:.65;cursor:wait}.eve-gate :is(input,button):focus-visible,.eve-lock:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
#eve-gate-message{min-height:2.8em;line-height:1.5;font-size:.8125rem;color:var(--muted);margin:14px 0 0}.eve-lock{min-height:38px;padding:8px 12px;border-radius:99px;font-size:.75rem;background:transparent}.eve-lock[hidden]{display:none}
@media(max-width:420px){.eve-gate{padding-top:24px}.eve-gate-card{padding:28px 22px}.eve-gate-input{flex-direction:column}.eve-gate input{width:100%}.eve-gate button{width:100%}}
