/* Layer: identity plane, fixed canvas, accessible native top-layer drawer. */
.Portfolio .Surface { position: absolute; inset: 0; z-index: -1; min-height: 100%; }
body.Portfolio { position: relative; isolation: isolate; }
.Portfolio .Header,.Portfolio .identity,.Portfolio .section-nav,.Portfolio .Main,.Portfolio .Footer { position: relative; z-index: 1; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .75rem; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.Portfolio .theme-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(32rem,100%); max-width: 100%; height: 100%; max-height: 100%; border-width: 0 0 0 1px; }
.Portfolio .theme-drawer::backdrop { background: #0008; backdrop-filter: blur(3px); }
.Portfolio .resume-dialog { position: fixed; inset: 0; margin: auto; padding: 0; width: min(54rem, calc(100% - 2rem)); max-width: none; max-height: calc(100svh - 2rem); border: 1px solid var(--rule); border-radius: var(--radius-md); overflow: hidden; }
.Portfolio .resume-dialog::backdrop { background: #0008; backdrop-filter: blur(3px); }
.Portfolio .drawer-header { position: sticky; top: -1.5rem; z-index: 2; padding-block: .75rem; }
.Portfolio .drawer-footer { position: sticky; bottom: -1.5rem; z-index: 2; padding-block: 1rem; }
