.portfolio-home .header{width:min(550px,calc(100% - 32px));gap:28px;transition:background 1.2s ease,border-color 1.2s ease,box-shadow 1.2s ease}
.portfolio-home .header nav{margin-left:auto}
.portfolio-home[data-section-theme="home"] .header{background:#090909ed;border-color:#ffffff28;box-shadow:0 8px 28px #0006}
.portfolio-home[data-section-theme="skills"] .header{background:#161616f5;border-color:#ffffff42;box-shadow:0 8px 30px #0007,0 1px 0 #ffffff08 inset}
.portfolio-home[data-section-theme="projects"] .header{background:#060606f5;border-color:#ffffff58;box-shadow:0 8px 26px #0009,0 -1px 0 #ffffff18 inset}
.portfolio-home[data-section-theme="contact"] .header{background:#101010ef;border-color:#ffffff30;box-shadow:0 8px 30px #0007}
.portfolio-home .hero-gradient{background:linear-gradient(90deg,#050505e8,#050505a6 29%,#05050500 64%)}
.portfolio-home .skills-backdrop{opacity:.9}
.portfolio-home .skills-screen::before{background:linear-gradient(90deg,#050505bf,#05050555 64%,#05050566)}
.portfolio-home .project-gallery .ambient-scene{opacity:.64!important}
.portfolio-home .project-gallery::before{background:linear-gradient(180deg,#020202cc,#02020200 48%,#02020299)}
.portfolio-home .contact-screen .ambient-scene{opacity:.73!important}
.portfolio-home .contact-screen::before{background:linear-gradient(90deg,#050505d9,#05050588 57%,#05050522)}
.portfolio-home .screen:not(.hero) .screen-inner{transition:none!important;transform:none!important;opacity:1!important}
.scene-lighting{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1.8s ease}
.screen.is-lit .scene-lighting{opacity:1}
.scene-lighting>span{position:absolute;inset:-4%;pointer-events:none}
.scene-lighting__ambient{background:radial-gradient(ellipse at 80% 16%,#e8e8e824,transparent 58%)}
.scene-lighting__beam{background:conic-gradient(from 160deg at 87% -15%,transparent 0deg,#eeeeee0b 13deg,#eeeeee25 24deg,#eeeeee07 41deg,transparent 58deg);transform-origin:85% 0}
.scene-lighting__reflection{background:radial-gradient(ellipse at 72% 90%,#dddddd17,transparent 46%)}
.skills-screen .scene-lighting__ambient{background:radial-gradient(ellipse at 82% 28%,#f2f2f22b,transparent 62%)}
.skills-screen .scene-lighting__beam{background:linear-gradient(125deg,transparent 30%,#eeeeee07 38%,#eeeeee21 49%,#eeeeee06 60%,transparent 66%);transform-origin:82% 12%}
.skills-screen .scene-lighting__reflection{background:radial-gradient(ellipse at 38% 98%,#eeeeee1c,transparent 62%)}
.project-gallery .scene-lighting__ambient{background:radial-gradient(ellipse at 50% 12%,#eeeeee25,transparent 56%)}
.project-gallery .scene-lighting__beam{background:linear-gradient(90deg,transparent 3%,#eeeeee0e 10%,transparent 21%,transparent 76%,#eeeeee20 89%,transparent 98%);transform-origin:50% 10%}
.project-gallery .scene-lighting__reflection{background:radial-gradient(ellipse at 50% 96%,#eeeeee27,transparent 60%)}
.contact-screen .scene-lighting__ambient{background:radial-gradient(ellipse at 32% 60%,#eeeeee21,transparent 61%)}
.contact-screen .scene-lighting__beam{background:conic-gradient(from 155deg at 62% -10%,transparent 0deg,#eeeeee0c 15deg,#eeeeee1b 30deg,transparent 60deg);transform-origin:62% 0}
.contact-screen .scene-lighting__reflection{background:radial-gradient(ellipse at 78% 84%,#eeeeee14,transparent 48%)}
.portfolio-home .profile-intro{display:block;margin-bottom:28px}
.portfolio-home .profile-intro .eyebrow-label{font-size:11px;color:#cdcdcd;margin-bottom:15px}
.portfolio-home .profile-copy{grid-template-columns:1.15fr 1fr;gap:40px}
.portfolio-home .profile-copy p{max-width:62ch;font-size:15px;line-height:1.65;color:#c3c3c3;transition:opacity .7s ease,transform .9s cubic-bezier(.16,.7,.2,1);transition-delay:.12s}
.portfolio-home .profile-copy p:nth-child(2){transition-delay:.3s}
.portfolio-home.js-enhanced #skills[data-bio-state="pending"] .profile-copy p{opacity:0;transform:translateX(34px);transition-delay:0s}
.portfolio-home.js-enhanced #skills[data-bio-state="visible"] .profile-copy p{opacity:1;transform:translateX(0)}
.capability-list li:nth-last-child(-n+2){border-bottom:1px solid #ffffff12}
.capability-list li:last-child{border-bottom:0}
.capability-list li:last-child:nth-child(odd){grid-column:1/-1}
@media(min-width:1024px) and (max-height:740px){.portfolio-home .profile-intro{margin-bottom:22px}.portfolio-home .profile-copy p{font-size:14px;line-height:1.55}}
@media(max-width:639px){
  .portfolio-home .header{width:calc(100% - 24px);gap:8px;padding-left:12px;padding-right:12px}
  .portfolio-home .header nav{gap:2px}
  .portfolio-home .header nav a{padding:0 9px}
  .portfolio-home .hero-gradient{background:linear-gradient(180deg,#050505 0%,#050505 27%,#05050500 55%)}
  .portfolio-home .skills-backdrop{opacity:.48}
  .portfolio-home .skills-screen::before{background:#05050566}
  .portfolio-home .project-gallery .ambient-scene{opacity:.36!important}
  .portfolio-home .contact-screen .ambient-scene{opacity:.62!important}
  .screen.is-lit .scene-lighting{opacity:.8}
  .portfolio-home .profile-copy{grid-template-columns:1fr;gap:15px}
  .portfolio-home .profile-copy p{font-size:14px;line-height:1.65}
  .portfolio-home .profile-intro .eyebrow-label{font-size:10px;margin-bottom:13px}
  .portfolio-home.js-enhanced #skills[data-bio-state="pending"] .profile-copy p{transform:translateX(20px)}
}
@media(prefers-reduced-motion:reduce){
  .scene-lighting{transition:none}
  .scene-lighting>span{animation:none!important}
  .portfolio-home .header{transition:none}
  .portfolio-home .profile-copy p{opacity:1!important;transform:none!important;transition:none!important}
}
.portfolio-home .capability-list li,.portfolio-home .exploration-list li{transition:opacity .55s ease,transform .65s cubic-bezier(.16,.7,.2,1);transition-delay:var(--item-delay,.4s)}
.portfolio-home.js-enhanced #skills[data-bio-state="pending"] :is(.capability-list,.exploration-list) li{opacity:0;transform:translateY(12px);transition-delay:0s}
.portfolio-home.js-enhanced #skills[data-bio-state="visible"] :is(.capability-list,.exploration-list) li{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.portfolio-home :is(.capability-list,.exploration-list) li{opacity:1!important;transform:none!important;transition:none!important}}
.portfolio-home .header nav{position:relative;isolation:isolate}
.portfolio-home .header nav a{position:relative;z-index:1}
.portfolio-home .header nav a.active{background:transparent}
.nav-current{position:absolute;left:0;top:0;z-index:0;width:var(--nav-width,0px);height:var(--nav-height,40px);translate:var(--nav-x,0px) var(--nav-y,0px);opacity:0;pointer-events:none;border-radius:7px;background:#ffffff10;border:1px solid #ffffff04;transition:translate .52s cubic-bezier(.2,.75,.2,1),width .52s cubic-bezier(.2,.75,.2,1),height .3s ease,opacity .2s ease}
.nav-current:not(.is-ready){transition:none}
.portfolio-home .contact-screen::before{background:linear-gradient(90deg,#050505ed,#05050599 56%,#05050526)}
.contact-screen .scene-lighting__ambient{background:radial-gradient(ellipse at 94% 12%,#eeeeee1e,transparent 48%)}
.contact-screen .scene-lighting__beam{background:conic-gradient(from 175deg at 94% -18%,transparent 0deg,#eeeeee05 8deg,#eeeeee22 21deg,#eeeeee08 31deg,transparent 40deg);transform-origin:94% 0}
.contact-screen .scene-lighting__reflection{background:radial-gradient(ellipse at 73% 88%,#eeeeee0d,transparent 42%)}
.portfolio-home .contact-screen .screen-inner>*{transition:opacity .65s ease var(--contact-delay,.1s),transform .85s cubic-bezier(.16,.7,.2,1) var(--contact-delay,.1s)}
.portfolio-home.js-enhanced #contact[data-entry-state="pending"] .screen-inner>*{opacity:0;transform:translateY(18px);transition-delay:0s}
.portfolio-home.js-enhanced #contact[data-entry-state="visible"] .screen-inner>*{opacity:1;transform:translateY(0)}
.portfolio-home .portfolio-project{transition:opacity .65s ease var(--card-delay,.1s),translate .9s cubic-bezier(.16,.7,.2,1) var(--card-delay,.1s),scale .9s cubic-bezier(.16,.7,.2,1) var(--card-delay,.1s),border-color .2s ease,transform .2s ease}
.portfolio-home.js-enhanced .portfolio-project[data-reveal-state="pending"]{opacity:0;translate:0 24px;scale:.985;transition-delay:0s}
.portfolio-home.js-enhanced .portfolio-project[data-reveal-state="visible"]{opacity:1;translate:0 0;scale:1}
.portfolio-home .portfolio-project:focus-within,.portfolio-home #contact .screen-inner>:focus-visible,.portfolio-home #contact .screen-inner>:focus-within{opacity:1!important;translate:0 0!important;scale:1!important;transform:none!important;transition:none!important}
@media(max-width:639px){.contact-screen .scene-lighting__beam{background:conic-gradient(from 178deg at 112% -12%,transparent 0deg,#eeeeee04 10deg,#eeeeee15 23deg,transparent 39deg)}}
@media(prefers-reduced-motion:reduce){.nav-current,.portfolio-home .contact-screen .screen-inner>*,.portfolio-home .portfolio-project{transition:none!important}.portfolio-home .contact-screen .screen-inner>*,.portfolio-home .portfolio-project{opacity:1!important;translate:0 0!important;scale:1!important;transform:none!important}}
