#home { position: relative; overflow: hidden; isolation: isolate; }
.home-frame { container-type: inline-size; overflow: visible; }
body { isolation: isolate; }
.site-background { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; }
.home-hand { position: absolute; width: 94%; left: 3%; top: -35%; height: auto; }
.home-strings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #e7bc53; stroke-width: 2; pointer-events: none; }
.home-strings .string-visible { pointer-events: none; }
.home-title, .home-enter { pointer-events: none; }
.home-header { position: absolute; top: 2.2%; left: 3.7%; right: 2.5%; height: 3.5%; border-bottom: 1px solid #c4c8b5; display: flex; align-items: flex-start; gap: 3.9cqw; }
.home-name { font-size: 1.65cqw; font-weight: 800; font-style: italic; letter-spacing: -.08cqw; }
.home-caption { font: 700 .63cqw monospace; letter-spacing: .13cqw; padding-top: .5cqw; }
.home-slashes { margin-left: auto; margin-right: 8.5%; font: italic 700 .8cqw monospace; }
.home-title { position: absolute; left: 0; top: 44.5%; width: 100%; margin: 0; text-align: center; font: italic 900 9.4cqw/1 Arial,sans-serif; letter-spacing: -.5cqw; }
.home-title span { color: var(--gold); }
.home-frame #start { position: absolute; border: 0; background: #f9cf53; color: #12201c; font: italic 800 2.2cqw Arial,sans-serif; letter-spacing: .5cqw; clip-path: polygon(3% 0,100% 0,98% 75%,93% 100%,0 100%); }
.home-frame #start span { position: absolute; right: 8%; letter-spacing: 0; }
.home-frame #start:hover { background: #ffe08b; }
.home-enter { position: absolute; top: 79.5%; width: 100%; text-align: center; font: 700 .8cqw monospace; letter-spacing: .3cqw; }
.home-enter span { color: var(--gold); margin: 0 1.4cqw; font-size: 1.3cqw; font-weight: 400; }
.home-title span { display: inline-block; width: 1.8cqw; height: 1.8cqw; margin-left: .5cqw; border-radius: 50%; background: var(--gold); font-size: 0; vertical-align: .1cqw; }
.home-frame { z-index: 1; pointer-events: none; } .home-frame #start { pointer-events: auto; } .home-strings { z-index: 0; }
.home-strings { z-index: 1; } .home-title, .home-header, .home-enter, .home-frame #start { z-index: 2; }
main { position: relative; isolation: isolate; }
#home { overflow: visible; isolation: auto; }
.home-frame { isolation: auto; z-index: auto; }
main > .home-strings { position: absolute; inset: 0; width: 100%; overflow: hidden; z-index: 1; pointer-events: none; }
#projects { position: relative; z-index: 2; }
/* Home and project selection are separate screens inside one viewport. */
main { height: 100svh; min-height: 100svh; }
main[data-screen="home"] > #projects,
main[data-screen="projects"] > #home,
main[data-screen="projects"] > .home-strings { display: none; }
