/* Gallery replaces the removed reveal-video stage. */
/* Reserve a continuous exit stage instead of masking the project scene. */
#projects{padding-bottom:65vh}
#projects .projects-list{position:relative;height:auto;min-height:100vh;justify-content:flex-start}
#projects .fluid-line-svg{top:-20vh;height:calc(100% + 20vh)}
#proj-preview{transform:translate3d(0,calc(-50% + var(--project-exit-y,0px)),0)!important;transition:opacity .2s ease}
#proj-preview.visible{opacity:var(--project-exit-opacity,1)}
@media(max-width:768px){#projects{padding-bottom:35vh}}
#awards-list .internship-item{color:rgba(255,255,255,.42)!important;transition:color .25s ease}
#awards-list .internship-item::before{background:#f5f5f2!important;clip-path:inset(0 0 100% 0)!important;transition:clip-path .35s cubic-bezier(.22,1,.36,1)}
#awards-list .internship-item:nth-child(2),#awards-list[data-highlight="0"] .internship-item:nth-child(1),#awards-list[data-highlight="2"] .internship-item:nth-child(3){color:#0a0a0a!important}
#awards-list .internship-item:nth-child(2)::before,#awards-list[data-highlight="0"] .internship-item:nth-child(1)::before,#awards-list[data-highlight="2"] .internship-item:nth-child(3)::before{clip-path:inset(0 0 0 0)!important}
@media(hover:none){#experience-preview{display:none}}
#preloader-logo,#preloader-given,#preloader-family,.footer-name-given,.footer-name-family{font-family:'other',sans-serif!important;font-weight:400;letter-spacing:0}
.footer-name-given .first-letter{letter-spacing:0}
#hero-canvas{display:block!important;position:absolute;inset:0;z-index:0;pointer-events:none;background:#0a0a0a}
#hero-canvas::before,#hero-canvas::after{display:none!important}
#hero-canvas canvas{width:100%;height:100%;display:block}
.proj-card{transition:none}
.about-photo{filter:none!important;border-radius:0!important;will-change:opacity;-webkit-mask-image:linear-gradient(to right,transparent,#000 16%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 78%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 16%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 78%,transparent);mask-composite:intersect}
.scroll-wrap{height:180vh!important}
.circle-gallery{isolation:isolate}
.cg-phrase .other-accent{color:#e0c36f}
.circle-gallery .cg-phrase{display:block!important}
.footer-ascii.left{display:none!important}
/* Keep the subject centered while the outer contact frames scroll. */
#contact-frame-img,#contact-frame-img-2{height:100%;object-fit:cover;transform:none!important;will-change:auto}
#contact-frame-img{object-position:29% 50%}
#contact-frame-img-2{object-position:45% 50%}
a:focus-visible,[role=button]:focus-visible{outline:2px solid #d7b85d;outline-offset:5px}
@media(max-width:768px){.circle-gallery{display:block!important;height:450vh!important}.circle-gallery-pin{height:100svh}.cg-phrase{font-size:24px!important;max-width:85%;line-height:1.5}.cg-img{width:120px!important}.scroll-timeline{right:10px}.st-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){.circle-gallery{height:auto!important;overflow:visible}.circle-gallery-pin{height:auto!important;min-height:100svh;padding:70px 7%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;perspective:none}.cg-img{position:relative!important;width:100%!important;height:auto;object-fit:contain;transform:none!important;opacity:1!important}.cg-phrase{position:relative;grid-column:1/-1;font-size:26px!important;max-width:none;opacity:1!important}.cg-phrase .word{opacity:1;filter:none}}
