body,button,input,small,.mono,.volume,.face{font-family:'Times New Roman',Times,serif}body{font-size:21px;line-height:1.75;background-image:linear-gradient(#050612e8,#050612ed),url('assets/neon-lock.png');background-size:cover;background-attachment:fixed}html[data-theme=light] body{background-image:linear-gradient(#f0eef7ed,#f0eef7ed),url('assets/neon-lock.png')}small,.mono{font-size:15px}.brand small{font-size:13px}.volume{font-size:15px}.intro{font-size:23px}.button{font-size:18px;padding:16px 23px}h1{font-size:clamp(75px,8vw,108px);text-shadow:0 0 40px #973dff55}h2{font-size:clamp(40px,4.5vw,65px)}h3{font-size:30px}.lead{font-size:27px}.hero{gap:65px}.portrait-wrap{perspective:1100px}.portrait{--rx:0deg;--ry:0deg;transform:rotateX(var(--rx)) rotateY(var(--ry));transition:transform .25s ease,box-shadow .3s;box-shadow:0 0 0 2px #7947d5,0 0 35px #1bbaff50,20px 25px 0 #9b267322,30px 40px 90px #0009;animation:portraitFloat 6s ease-in-out infinite;touch-action:pan-y}.portrait:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,#64dcff30,transparent 35%,#dd39ff18);border:2px solid #87ceff55;border-radius:inherit}.glass{border-color:#7973c850;box-shadow:inset 0 1px 1px #ffffff48,0 12px 0 #0002,0 24px 65px #05031470}.project{transition:transform .25s,box-shadow .25s;background:linear-gradient(135deg,var(--glass),#13214d88)}html[data-theme=light] .project{background:var(--glass)}.project:hover{transform:perspective(900px) translateY(-7px) rotateX(2deg);box-shadow:0 0 28px #9460ff40}.project:nth-child(3n){border-color:#ed456e70}.project:nth-child(2n){border-color:#21cfff60}.arrow,.article summary>span{font-size:18px}.project h3{min-height:70px}.reading{max-width:850px}.reading h4{font-size:29px}.ticker{font-size:16px}#projects:before{content:'';display:block;height:230px;background:linear-gradient(90deg,transparent,#090a1030),url('assets/red-shield.png') center/cover;border:1px solid #ff355b70;border-radius:20px;box-shadow:0 0 45px #ff174423;margin-bottom:40px}.section-title>span{font-size:18px}.chat-head{font-size:19px}#assistant{width:min(520px,calc(100vw - 30px))}#messages{height:min(440px,55vh);font-size:19px}.answer{padding:15px;border:1px solid var(--line);border-radius:12px;margin-top:15px}.answer li{margin-bottom:12px}.answer strong{color:var(--purple)}#question{font-size:19px}#robot{width:78px;height:78px;box-shadow:0 0 40px #914cff80}.face{font-size:23px;line-height:16px}footer{font-size:18px}.terminal{font-size:15px;width:290px}.controls{flex-wrap:wrap;justify-content:flex-end}.controls button{font-size:17px}nav{width:290px}nav a{padding:10px}@keyframes portraitFloat{50%{translate:0 -12px}}@media(max-width:800px){.brand small{display:none}.controls button{font-size:15px}.volume{top:100%}.hero{gap:35px}.terminal{width:230px}.ticker{font-size:14px}}@media(max-width:600px){body{font-size:20px}h1{font-size:76px}h2{font-size:43px}h3{font-size:28px}.intro{font-size:23px}.lead{font-size:24px}.hero{padding-top:55px}.brand{font-size:24px}header{gap:8px;align-items:flex-start}.controls{max-width:260px}.controls button{padding:7px}.portrait-wrap{margin-bottom:55px}.project h3{min-height:0}.ticker{font-size:14px}.terminal{font-size:14px}.article summary>span{font-size:17px}#projects:before{height:180px}}@media(prefers-reduced-motion:reduce){html:not(.motion-enabled) .portrait{animation:none;transform:none!important}html:not(.motion-enabled) .project:hover{transform:none}}

#fypVideo{display:block;width:100%;max-height:75vh;background:#050610;border:1px solid var(--line);border-radius:14px}#portalImage{width:100%;height:auto;border-radius:12px}.portal-figure{margin:25px 0}.portal-figure figcaption{font-size:18px;color:var(--muted);margin-top:15px}.media-placeholder{min-height:220px;display:grid;place-content:center;text-align:center;background:linear-gradient(135deg,#46286a55,#14577844);border:1px dashed var(--purple);border-radius:12px}
