
.stage,#highlights,#motion,#banner,#social,#email,.highlights-body,.expandable-gallery,.abundance-showcase,.new-footer{background-color:#11082f!important;background-image:linear-gradient(180deg,#09051c18,#08051b55),url("reference.png")!important;background-size:cover!important;background-position:center!important}
.stage>.cloudscape,.stage>.aurora-sky,.new-footer>.footer-aurora{opacity:.18!important}
#highlights .chapter-glow,#motion .chapter-glow,#banner .chapter-glow,#social .chapter-glow,#email .chapter-glow{opacity:.15!important}

/* One shared backdrop for all five portfolio title and gallery sections. */
body{background:#11082f linear-gradient(180deg,#09051c18,#08051b55) fixed!important}
.portfolio-shared-backdrop{position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#09051c18,#08051b55),url("reference.png") center/cover no-repeat}
body{isolation:isolate}
#highlights,#motion,#banner,#social,#email,.highlights-body,.expandable-gallery,.abundance-showcase,#highlights .chapter-pin,#motion .chapter-pin,#banner .chapter-pin,#social .chapter-pin,#email .chapter-pin{background:transparent!important;background-image:none!important}
#highlights>.section-clouds,.highlights-body>.section-clouds,.expandable-gallery>.section-clouds,.abundance-showcase>.section-clouds{display:none!important}

/* About cards share the approved static blue-purple palette. */
.profile-copy .about-box{background:linear-gradient(140deg,#09082744,#08051b66),url("reference.png") center/cover no-repeat!important;animation:none!important;color:#f5f0ff!important}
.profile-copy .about-box h4,.profile-copy .about-box p{color:#f5f0ff!important}
.profile-copy .about-box:nth-child(2n){background-position:65% 30%!important}
.profile-copy .about-box:nth-child(3n){background-position:30% 65%!important}

/* Soft lavender-blue About background from the supplied reference. */
.profile-unified{background:#7464b0 url("about-light.png") center/cover no-repeat!important;color:#fff!important}
.profile-unified #about,.profile-unified .chapter-pin,.profile-unified .profile-body{background:transparent!important}
.profile-unified .profile-copy>p,.profile-unified .what-i-do,.profile-unified .direct-contact,.profile-unified .direct-contact a,.profile-unified .direct-contact span,.profile-unified .eyebrow{color:#fff!important}
.profile-unified .section-clouds{opacity:.12!important}
.profile-unified .title-letter{--gradient-forward:#f3dcff!important;--gradient-backward:#d0edff!important}
.profile-unified .hello-heading{background-image:linear-gradient(90deg,#f7dcff,#d1efff,#f7dcff)!important}

/* Gentle portrait tone and softer About cards. */
.profile-unified .portrait img{filter:sepia(.22) saturate(.78) hue-rotate(172deg)!important;mix-blend-mode:normal}
.profile-copy .about-box{background:linear-gradient(135deg,#b9a8e252,#6f7ecb38),url("reference.png") center/cover no-repeat!important}

/* Match Skills to the homepage; slightly stronger cool portrait tone. */
.skills-unified{background:#11082f linear-gradient(180deg,#09051c18,#08051b55)!important;background-image:linear-gradient(180deg,#09051c18,#08051b55),url("reference.png")!important;background-size:cover!important;background-position:center!important}
.skills-unified .skills-body,.skills-unified #skills,.skills-unified .compact-section-heading{background:transparent!important}
.skills-unified>.section-clouds{opacity:.12!important}
.profile-unified .portrait img{filter:sepia(.34) saturate(.95) hue-rotate(172deg)!important}

/* Fade the complete portrait stack without disturbing eye/mouth masks. */
.profile-unified .profile-identity .portrait{
 -webkit-mask-image:radial-gradient(ellipse 76% 68% at 50% 24%,#000 0%,#000 65%,rgba(0,0,0,.86) 74%,rgba(0,0,0,.45) 85%,rgba(0,0,0,.12) 94%,transparent 100%);
 mask-image:radial-gradient(ellipse 76% 68% at 50% 24%,#000 0%,#000 65%,rgba(0,0,0,.86) 74%,rgba(0,0,0,.45) 85%,rgba(0,0,0,.12) 94%,transparent 100%);
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 -webkit-mask-size:100% 100%;mask-size:100% 100%;
}

/* Thirty percent transparent backgrounds; content remains fully opaque. */
.profile-copy .about-box{background:transparent!important;isolation:isolate}
.profile-copy .about-box::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,#b9a8e252,#6f7ecb38),url("reference.png") center/cover no-repeat;opacity:.7}
.profile-copy .about-box:nth-child(2n)::before{background-position:65% 30%}
.profile-copy .about-box:nth-child(3n)::before{background-position:30% 65%}

/* Directional color reveal on the About name, preserving the existing gradient cycle. */
#about .chapter-type h2{position:relative}
#about .name-dark-mask{position:absolute;inset:0;display:block;pointer-events:none;clip-path:inset(0 100% 0 0);transition:clip-path 1.15s cubic-bezier(.22,1,.36,1);}
#about.name-scroll-up .name-dark-mask{clip-path:inset(0 0 0 0)}
#about .name-dark-mask .title-letter{--gradient-forward:#53436f!important;--gradient-backward:#345777!important;opacity:.85!important;filter:none!important;transform:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){#about .name-dark-mask{transition:none}}

#about .name-dark-mask{transition:none!important}

/* Saturated blue-purple name colors, without gray in either reveal state. */
#about .chapter-type h2 .title-letter{--gradient-forward:#aab7ff!important;--gradient-backward:#e1a0f4!important}
#about .chapter-type h2 .name-dark-mask .title-letter{--gradient-forward:#3931a2!important;--gradient-backward:#8236ad!important;opacity:1!important}

#about .name-dark-mask{clip-path:inset(0 0 0 100%)}

/* Both headings scrub the same right-to-left mask and reverse naturally on upward scroll. */
.profile-copy .hello-heading{position:relative}
.profile-copy .hello-heading .hello-dark-mask{position:absolute;inset:0;display:block;pointer-events:none;clip-path:inset(0 0 0 100%);transition:none;background:linear-gradient(270deg,#3931a2,#8236ad,#3931a2);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;color:transparent!important;animation:hello-gradient 4s ease-in-out infinite alternate}

#about .name-dark-mask,.profile-copy .hello-heading .hello-dark-mask{clip-path:inset(0 100% 0 0)}

/* Room for the contact section to land at the viewport top. */
.new-footer{box-sizing:border-box;min-height:100svh;padding-top:clamp(90px,12vh,160px)!important;padding-bottom:50px!important}
.new-footer .footer-bottom{margin-top:clamp(65px,9vh,120px)!important}
@media(max-width:700px){.new-footer{padding-top:80px!important;padding-bottom:35px!important}}

/* Clear neutral glass for portfolio popups. */
.project-modal,.mosaic-preview{background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(18,20,32,.32))!important;backdrop-filter:blur(20px) saturate(110%)!important;-webkit-backdrop-filter:blur(20px) saturate(110%)!important;border:0!important;box-shadow:0 20px 70px #0004!important}
.project-modal::backdrop{background:rgba(8,9,18,.28)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

/* Intro cursor and immediate discovery dismissal. */
.stage,.stage canvas,.stage .project-screen{cursor:default!important}
.stage.mosaic-hover,.stage.mosaic-hover canvas{cursor:pointer!important}
.stage.discover-clicked .bottom-guide{visibility:hidden!important;opacity:0!important;pointer-events:none!important;transition:none!important}
.stage.discover-clicked .discover-button{pointer-events:none!important}

/* Consistent glass color for every popup control, including Close. */
.project-modal .modal-controls button,.project-modal .modal-close{background:var(--glass)!important;color:#fff!important;border-color:transparent!important}

/* Restore clearly visible blue-purple aurora over the new static palette. */
.stage>.aurora-sky,.new-footer>.footer-aurora{opacity:.85!important}
.stage>.aurora-sky i,.new-footer>.footer-aurora i{filter:blur(12px) brightness(1.25) saturate(1.2)}
.stage>.aurora-sky i:nth-child(2),.new-footer>.footer-aurora i:nth-child(2){filter:blur(16px) brightness(1.25) saturate(1.2)}

.profile-unified{position:relative;isolation:isolate}
.profile-unified>.about-aurora{z-index:-1;opacity:.75!important}
.profile-unified>.about-aurora i{filter:blur(14px) brightness(1.2) saturate(1.2);animation-play-state:paused}
.profile-unified.stars-visible>.about-aurora i{animation-play-state:running}

/* Independent exit animation leaves existing entrance transforms intact. */
.scroll-exit-item{transition:opacity .65s ease var(--exit-delay,0ms),filter .65s ease var(--exit-delay,0ms)}
.scroll-exit-item.scroll-exiting{opacity:0!important;filter:blur(7px)!important;pointer-events:none}
@media(prefers-reduced-motion:reduce){.scroll-exit-item{transition:none}.scroll-exit-item.scroll-exiting{filter:none!important}}

.profile-unified .profile-links a,.profile-unified .profile-social a,.profile-identity a[aria-label="Email Daria"],.profile-identity a[href*="linkedin.com"]{color:#fff!important}
.profile-unified .profile-links svg,.profile-unified .profile-social svg{color:#fff!important}

@media(max-width:700px){
 .profile-identity{position:static!important;min-height:0!important;margin-bottom:0!important}
 .profile-identity .portrait{max-width:340px!important;width:85%!important;margin:0 auto!important;max-height:48svh;overflow:hidden}
 .profile-copy{margin-top:0!important;padding-top:0!important}
 .profile-copy .hello-heading{font-size:clamp(28px,8vw,44px)!important;margin-top:0!important;margin-bottom:10px!important}
 .profile-copy>.eyebrow{font-size:16px!important;margin-bottom:22px!important}
 .profile-copy>.profile-links{margin-top:30px;display:flex;gap:12px}
 .profile-copy>.direct-contact{margin-top:20px;margin-bottom:20px}
 .project-modal{max-width:calc(100vw - 12px)!important;width:fit-content!important;padding:6px!important;border-radius:18px!important}
 .modal-media img,.modal-media video{max-width:calc(100vw - 24px)!important;max-height:calc(86svh - 100px)!important}
 .modal-bar{gap:8px!important;padding:10px 5px 4px!important}
 .modal-controls{width:100%!important;display:flex!important;justify-content:center!important;gap:5px!important;flex-wrap:nowrap!important;margin:0!important}
 .popup-navigation,.popup-utilities{display:flex!important;gap:5px!important;margin:0!important}
 .modal-controls button{padding:9px 10px!important;font-size:9px!important;letter-spacing:.03em!important;white-space:nowrap!important;min-width:0!important}
}

@media(max-width:700px){.new-footer .footer-bottom>a[href="#top"]{display:block!important;flex:0 0 100%;width:100%;text-align:center;margin:22px auto 0!important;align-self:center;order:10}}

.touch-preview-close{display:none}
@media(max-width:700px){
 .stage.touch-exploring .mosaic-preview,.stage.touch-preview-pinned .mosaic-preview{display:flex!important;position:absolute!important;inset:12px 8px!important;width:calc(100% - 16px)!important;height:calc(100% - 24px)!important;max-width:none!important;padding:10px!important;flex-direction:column;align-items:center;justify-content:center;z-index:50!important;pointer-events:none!important;background:rgba(15,13,30,.94)!important}
 .stage.touch-exploring .mosaic-preview img,.stage.touch-preview-pinned .mosaic-preview img{width:100%!important;height:calc(100% - 52px)!important;max-height:none!important;object-fit:contain!important}
 .stage.touch-preview-pinned .touch-preview-close{display:block;pointer-events:auto;margin:10px auto 0;padding:10px 24px;border:0;border-radius:20px;background:#ffffff24;color:white;font:12px sans-serif}
 .stage.touch-exploring{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
}

@media(max-width:700px){.interaction-note{left:5%!important;right:5%!important;justify-content:center;font-size:8px!important;letter-spacing:1px!important}.touch-hold-icon{flex-shrink:0;width:28px!important;height:28px!important}.hold-ring{transform-origin:13px 8px;animation:hold-hint 2s ease-in-out infinite}}
@keyframes hold-hint{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
@media(prefers-reduced-motion:reduce){.hold-ring{animation:none}}

/* Demonstrate a press, a deliberate hold, and a horizontal slide. */
@media(max-width:700px){
 .touch-hold-icon{width:76px!important;height:44px!important;overflow:visible}
 .gesture-hand{animation:gesture-press-slide 4.8s ease-in-out infinite;transform-origin:13px 8px}
 .touch-hold-icon .hold-ring{animation:gesture-contact 4.8s ease-in-out infinite;transform-origin:13px 8px}
 .gesture-track{stroke-dasharray:3 4;animation:gesture-trail 4.8s ease-in-out infinite}
}
@keyframes gesture-press-slide{
 0%,8%{transform:translate(4px,7px);opacity:0}
 16%{transform:translate(4px,0);opacity:1}
 23%,42%{transform:translate(4px,2px) scale(.94);opacity:1}
 72%,82%{transform:translate(37px,2px) scale(.94);opacity:1}
 94%,100%{transform:translate(37px,-5px);opacity:0}
}
@keyframes gesture-contact{
 0%,18%{opacity:0;transform:scale(.65)}
 26%{opacity:1;transform:scale(1.1)}
 38%{opacity:.5;transform:scale(1.4)}
 46%,78%{opacity:.8;transform:scale(1)}
 90%,100%{opacity:0;transform:scale(1.6)}
}
@keyframes gesture-trail{0%,35%{opacity:0}46%,76%{opacity:.5}90%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.gesture-hand,.touch-hold-icon .hold-ring,.gesture-track{animation:none!important}.gesture-hand{transform:translate(4px,2px)}.gesture-track{opacity:.5}}

@media(max-width:700px){.stage .interaction-note{top:65%!important;bottom:auto!important;left:5%!important;right:5%!important;flex-direction:column;gap:4px!important;text-align:center}.stage .interaction-note .touch-hold-icon{display:block}}

/* Readable mobile controls with generous touch targets. */
@media(max-width:700px){
 button,.glass-action,.text-link,.collection-link,.profile-links a,.footer-bottom>a[href="#top"]{min-height:44px;font-size:14px!important;line-height:1.25!important;letter-spacing:.025em!important}
 button:not(.discover-button):not(.work-menu-toggle):not(.message-send),.text-link,.collection-link,.profile-links a{padding:12px 16px!important}
 header nav{gap:10px!important}header nav a,header .work-menu-toggle{font-size:12px!important;min-height:44px;display:flex;align-items:center;justify-content:center}
 header .logo img{width:74px!important}header{gap:10px!important;padding-left:14px!important;padding-right:14px!important}
 .work-menu-links a,.detached-work-menu a{font-size:15px!important;min-height:44px;padding:12px 16px!important}
 .film-controls{flex-wrap:wrap!important;gap:8px!important}.film-controls button{font-size:12px!important;flex:1 1 auto}
 .project-modal .modal-controls{gap:4px!important;flex-wrap:nowrap!important}
 .project-modal .modal-controls button{font-size:11px!important;letter-spacing:0!important;padding:10px 7px!important;min-height:44px;flex:1 1 auto}
 .project-modal .popup-navigation,.project-modal .popup-utilities{gap:4px!important;min-width:0}
 .highlight-card .expand-film,.highlight-card .replay-film{font-size:12px!important}
 .quick-contact input,.quick-contact textarea{font-size:16px!important}
 .touch-preview-close{font-size:14px!important;min-height:44px}
}

.mobile-menu-toggle,.mobile-pages{display:none}
@media(max-width:700px){
 .stage .interaction-note{display:none!important}
 /* All face layers share one uncropped coordinate system. */
 .profile-identity .portrait{width:min(85%,calc(48svh * 608 / 733))!important;max-width:340px!important;max-height:none!important;aspect-ratio:608 / 733;overflow:visible!important}
 .profile-identity .portrait img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
 .profile-identity .portrait>img:first-child{position:relative!important;display:block}
 .profile-identity .portrait .portrait-smile,.profile-identity .portrait .portrait-wink,.profile-identity .portrait .portrait-blink{position:absolute!important;inset:0!important}
 /* Keep foreground motion while avoiding hundreds of moving, blurred layers. */
 .section-stars i,.starfield i{animation:none!important}
 .section-stars i:nth-child(n+19),.starfield i:nth-child(n+25){display:none!important}
 .cloudscape{display:none!important}
 .aurora-sky i,.footer-aurora i{animation:none!important;filter:blur(14px)!important}
 .scroll-exit-item{transition-property:opacity!important}.scroll-exit-item.scroll-exiting{filter:none!important}
 .type-canvas{animation:none!important;filter:none!important}
 .skill-card,.about-box{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 header>nav:not(.mobile-pages){display:none!important}
 header .mobile-menu-toggle{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:48px;height:48px;margin-left:auto;padding:10px!important;background:transparent!important;border:0!important;color:white}
 .mobile-menu-toggle span{display:block;width:24px;height:2px;border-radius:2px;background:currentColor;transition:transform .25s,opacity .25s}
 .mobile-menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 .mobile-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .mobile-menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 header .mobile-pages:not([hidden]){display:flex!important;position:absolute;top:calc(100% + 8px);left:0;right:0;flex-direction:column;gap:0!important;padding:10px;border-radius:20px;background:rgba(25,18,55,.94);backdrop-filter:blur(16px);max-height:calc(100svh - 110px);overflow-y:auto;animation:mobile-menu-in .2s ease-out}
 header .mobile-pages[hidden]{display:none!important}
 header .mobile-pages a{display:flex;justify-content:flex-start;min-height:44px;padding:10px 16px;color:white;font-size:16px!important;text-decoration:none;letter-spacing:.02em}
}
@keyframes mobile-menu-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){header .mobile-pages{animation:none!important}}
