/* Preview-only shared dark palette. Opening waves fade into a quiet reading surface. */
body.waves-subpage{--page-waves-height:max(720px,100svh);position:relative;isolation:isolate;min-height:100vh;margin:0;background:#111016;color:#f4f2f9;color-scheme:dark;}
body.waves-subpage::before{content:none;}
.waves-subpage>.page-waves-stage{
  position:absolute;top:0;left:0;right:0;height:var(--page-waves-height);z-index:-1;overflow:hidden;pointer-events:none;
  background:radial-gradient(ellipse at 64% 73%,#6a36a9,transparent 62%),radial-gradient(ellipse at 18% 88%,#3d2466,transparent 66%),#111016;
  animation:page-waves-in 1.2s cubic-bezier(.22,1,.36,1) both;
}
.page-waves-stage .gradient-waves-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;}
.page-waves-stage[data-renderer='fallback'] .gradient-waves-canvas{visibility:hidden;}
.page-waves-stage::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(180deg,#11101600 0%,#1110160a 15%,#11101629 30%,#11101666 48%,#111016ad 66%,#111016e6 84%,#111016 100%),linear-gradient(180deg,#1110168c 0%,transparent 24%);
  background-size:100% clamp(160px,20svh,280px),100% 100%;background-position:bottom,center;background-repeat:no-repeat;
}
.waves-subpage>.page-waves-toggle{position:fixed;right:24px;bottom:24px;z-index:89;border:1px solid #ffffff26;border-radius:99px;padding:8px 12px;background:#181121b8;color:#d9cbe9;backdrop-filter:blur(12px);font:11px/1.3 'Segoe UI','Microsoft YaHei',sans-serif;cursor:pointer;}
.waves-subpage>.page-waves-toggle[hidden]{display:none!important;}
.waves-subpage p,.waves-subpage .intro,.waves-subpage .muted,.waves-subpage .label,.waves-subpage .number,.waves-subpage .eyebrow,.waves-subpage .count,.waves-subpage .breadcrumb{color:#c5b9d6;}
.waves-subpage h1,.waves-subpage h2,.waves-subpage h3{color:#faf7ff;}
.waves-subpage .glass,.waves-subpage .gallery-band{
  background:linear-gradient(125deg,#211b2bce,#1a1623bf);border-color:#d7c4ff24;
  box-shadow:inset 0 1px 0 #ffffff08,0 18px 48px #00000014;backdrop-filter:blur(23px);-webkit-backdrop-filter:blur(23px);
}
.waves-subpage .btn:not(.primary){background:linear-gradient(125deg,#c5a5ec24,#c5a5ec0e);border-color:#e6d7ff36;color:#f0e5ff;box-shadow:inset 0 1px 0 #ffffff0c;}
.waves-subpage .btn.primary{background:#eee7f8;border-color:#eee7f8;color:#251a35;box-shadow:0 6px 18px #0002;}
.waves-subpage .btn:hover{filter:brightness(1.12);}
.waves-subpage footer,.waves-subpage .footer{color:#b4a6c7;border-color:#ffffff1c;}
.waves-subpage a:focus-visible,.waves-subpage button:focus-visible,.waves-subpage input:focus-visible,.waves-subpage textarea:focus-visible,.waves-subpage select:focus-visible{outline:2px solid #d1b2ff;outline-offset:4px;}
.waves-subpage .motion-preview-badge{background:#1d172be6;color:#cbbedd;border-color:#d3b9fb26;}
.waves-subpage .motion-preview-badge a{color:#e1cbff;}

/* Gallery stays horizontal and preserves video aspect ratios. */
.waves-subpage .gallery-band{background:linear-gradient(125deg,#1d1827d9,#17131fc9);}
.waves-subpage .gallery-band .video-card{color:#f4effb;background:transparent;}
.waves-subpage .gallery-band .video-copy p{color:#c0b4d1;}
.waves-subpage .gallery-band .video-card .video-poster{background:#251d32;border-color:#d7c7f84a;box-shadow:inset 0 1px 0 #ffffff16,0 7px 18px #0002;}
.waves-subpage .gallery-band .tabs::after{background:#2c2439;}
.waves-subpage .gallery-band .tabs::before{background:#ede4fa;}
.waves-subpage .gallery-band .tabs button{color:#c3b5d6;}
.waves-subpage .gallery-band .tabs button.active{color:#241630;background:transparent;}
.waves-subpage .rail-buttons button{background:#33283f;border-color:#c5a5ec42;color:#eee3fc;box-shadow:inset 0 1px 0 #ffffff12;}
.waves-subpage .watch-label{color:#dcc5fa;border-color:#bda3db66;}
.waves-subpage .floating-category-title{background:linear-gradient(135deg,#30243ddc,#1f1929de);color:#f0e4ff;border-color:#d9c3fc3b;box-shadow:inset 0 1px 0 #ffffff15,0 8px 28px #0003;}
.waves-subpage .duration,.waves-subpage .gallery-band .video-poster .play-icon{background:#20172de6;color:#f4eaff;border-color:#f0dbff65;box-shadow:none;}

/* Resume: readable long-form text with subdued glass cards. */
.waves-subpage>.switch{display:none;}
.waves-subpage .one .hero .role{color:#e0cfef;}
.waves-subpage .headshot{border-color:#dcc9f366;box-shadow:0 8px 32px #0004;}
.waves-subpage .one .platforms>span{background:#bda0e624;border-color:#d2b8f342;color:#f0e5ff;box-shadow:inset 0 1px 0 #ffffff0d;}
.waves-subpage .one .platforms>span>span{background:none;border:0;box-shadow:none;padding:0;backdrop-filter:none;color:inherit;}
.waves-subpage .career li,.waves-subpage .career span,.waves-subpage .contact .details,.waves-subpage .result-mark small{color:#c4b7d4;}
.waves-subpage .career li strong,.waves-subpage .career li strong span,.waves-subpage .career article b,.waves-subpage .career article b span{color:#f4eafb;}
.waves-subpage .career .job-summary,.waves-subpage .career-link{color:#dfc9f5;}
.waves-subpage .career article,.waves-subpage .result-mark{border-color:#d4b8f12b;}

/* Login and editor controls use dark system widgets and clear feedback. */
.waves-subpage .field{color:#e1d5ed;}
.waves-subpage .field input,.waves-subpage .field textarea,.waves-subpage .field select,.waves-subpage .toolbar select{background:#17121fd9;color:#f5edff;border-color:#d0b4ef47;box-shadow:inset 0 1px 0 #ffffff07;}
.waves-subpage input::placeholder,.waves-subpage textarea::placeholder{color:#ad9bbb;}
.waves-subpage .status,.waves-subpage .admin-note,.waves-subpage .field small{color:#c3b1d4;}
.waves-subpage .error{color:#ffb8c6;}
.waves-subpage .tag{background:#49325c;color:#ebd8ff;}
.waves-subpage .tag.live{background:#173f35;color:#b7e9d5;}

/* Dialog colour only: retain all existing expansion and video geometry. */
.waves-theme .player-modal,.waves-theme .editor,.waves-theme.floating-home-nav .player-modal,.waves-theme.category-page .player-modal{background:linear-gradient(135deg,#251d30f7,#17131ff5);color:#f4edff;border-color:#d7c4ff42;box-shadow:0 30px 100px #0007;}
.waves-theme .player-modal::backdrop,.waves-theme .editor::backdrop{background:#08050dc9;}
.waves-theme .player-modal p,.waves-theme .player-modal .eyebrow,.waves-theme .editor p{color:#ccbcdd;}
.waves-theme .player-modal h2,.waves-theme .player-modal h3{color:#faf5ff;}
.waves-theme .player-modal .btn{background:#c5a5ec1f;color:#f1e3ff;border-color:#d8baf747;box-shadow:none;}
.waves-theme .close{background:#382940;border-color:#cdb0e94d;color:#f3e7ff;}
.waves-subpage.notice-page main{position:relative;}
.waves-subpage.notice-page main p{color:#d6cae5;}
.waves-subpage.notice-page h2{margin-top:28px;}
@keyframes page-waves-in{from{opacity:0}to{opacity:1}}
@media(max-width:800px){
 .waves-subpage>.page-waves-toggle{right:16px;bottom:16px;font-size:10px;}
 .waves-subpage .gallery-band{background:linear-gradient(125deg,#1d1827dc,#17131fd9);}
}
@media(prefers-reduced-motion:reduce){.waves-subpage>.page-waves-stage{animation:none;}}
@media print{.page-waves-stage,.page-waves-toggle{display:none!important;}body.waves-subpage{background:white;color:black;color-scheme:light;}.waves-subpage p,.waves-subpage h1,.waves-subpage h2,.waves-subpage h3{color:black;}}
