@font-face{font-family:'Barlow Condensed';src:url('assets/BarlowCondensed-ExtraBold.ttf') format('truetype');font-weight:800;font-display:swap}@font-face{font-family:Inter;src:url('assets/Inter-Regular.ttf') format('truetype');font-weight:400;font-display:swap}:root{--purple:#8C20F0;--dark:#100C19;--black:#0B0910;--white:#F5F2FA;--muted:#b3aabd;--pad:clamp(24px,5vw,140px)}*{box-sizing:border-box}body{margin:0;background:var(--black);color:var(--white);font-family:Inter,Arial,sans-serif;font-weight:400}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid #c78dff;outline-offset:6px}[tabindex='-1']:focus{outline:none}.skip{position:absolute;left:20px;top:-100px;z-index:10;background:var(--purple);padding:12px}.skip:focus{top:10px}.game{width:100%;min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 100% 75%,#8c20f020,transparent 65%),var(--black);padding-inline:var(--pad)}header{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px}main{flex:1;display:flex;flex-direction:column}.monogram{font-family:'Barlow Condensed',sans-serif;font-size:38px;letter-spacing:-3px;width:70px}.monogram span{color:var(--purple)}.monogram i{display:none}nav{display:flex;gap:14px}nav a{font-size:13px;text-transform:uppercase;padding:9px 18px;border-radius:20px;color:var(--muted)}nav a[aria-current=page]{background:var(--purple);color:var(--white)}nav a:hover{color:var(--white)}#sound{border:0;background:none;color:var(--muted);font-size:11px;letter-spacing:.5px;padding:12px 0;min-width:110px;text-align:right}.screen{flex:1;min-height:calc(100svh - 155px);animation:enter .3s ease both}.screen[hidden]{display:none}.home{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:clamp(25px,4vh,70px) 0;gap:clamp(25px,4vh,60px)}.title-scene{display:flex;align-items:center;justify-content:center;gap:clamp(28px,3vw,75px);width:100%}.portrait{position:relative;width:clamp(210px,22vw,560px);max-width:34%;flex-shrink:0;aspect-ratio:1}.portrait-disc{position:absolute;inset:12% 0 0;background:linear-gradient(135deg,var(--purple),#410c72);border-radius:0 50% 50% 0}.portrait img{position:relative;width:100%;height:auto;display:block;animation:float 7s ease-in-out infinite;filter:drop-shadow(0 12px 12px #0005)}.overline{font-size:clamp(12px,1vw,23px);letter-spacing:.2em;color:var(--muted)}.title-row{display:flex;align-items:center}h1,h2,h3,.tile strong{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-weight:800}h1{font-size:clamp(84px,11.4vw,320px);line-height:.95;letter-spacing:-.015em;margin:14px 0 0}.profession{font-size:clamp(12px,1vw,22px);letter-spacing:.12em;text-align:center;margin:clamp(18px,2vw,45px) 0 0}.profession span{display:inline-block;width:8px;height:8px;background:var(--purple);margin-right:10px}.start-menu{display:flex;flex-direction:column;align-items:center;gap:8px;width:clamp(240px,22vw,440px)}.start-menu a{position:relative;padding:14px 28px;width:100%;font-size:clamp(14px,1.1vw,24px);text-align:center;letter-spacing:.13em;color:var(--muted);transition:color .15s,background .15s;border:1px solid transparent;min-height:46px}.pointer{position:absolute;left:20px;color:var(--purple);opacity:0}.start-menu a.selected,.start-menu a:hover,.start-menu a:focus-visible{color:var(--white);background:linear-gradient(90deg,transparent,#8c20f020,transparent)}.start-menu a.selected .pointer{opacity:1}.menu-hint{text-align:center;font-size:11px;color:#a397b0;letter-spacing:.04em;margin:0}.menu-hint span{margin-left:22px}footer{min-height:65px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);gap:20px}#motion{border:0;color:inherit;background:none;font-size:11px;padding:14px 0}.profile{display:grid;grid-template-columns:1fr 1.15fr;gap:7vw;align-items:center;padding:35px 2vw 60px}.profile-portrait{position:relative;text-align:center}.profile-portrait h2{font-size:clamp(36px,3.4vw,75px);margin:10px 0}.profile-portrait img{position:relative;width:80%;max-width:560px;height:auto}.portrait-light{position:absolute;inset:20% 5% 0;background:radial-gradient(ellipse,#8c20f050,transparent 68%)}.portrait-caption{display:block;font-size:13px;letter-spacing:1px;color:var(--muted)}.section-number{font-size:12px;color:#bc92df;letter-spacing:1px}.bio h3{font-size:clamp(28px,2.3vw,48px);margin:24px 0 14px}.bio p{font-size:clamp(16px,1.25vw,25px);line-height:1.7;color:#c1b8cc;max-width:770px}.bio-detail{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:30px}.bio-detail h3{font-size:25px}.bio-detail p{font-size:15px}.text-link{display:inline-block;font-size:13px;margin-top:30px;border-bottom:1px solid var(--purple);padding-bottom:12px}.text-link span{margin-left:30px}.projects-screen{padding:35px 0 50px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:35px}.section-heading h2{font-size:clamp(40px,4vw,85px);margin:14px 0 0}.filters{display:flex;gap:10px}.filters button{border:1px solid #8c20f045;border-radius:20px;background:none;color:var(--muted);padding:11px 20px;font-size:13px;min-height:44px}.filters button[aria-pressed=true]{background:var(--purple);color:var(--white)}.mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tile{position:relative;overflow:hidden;min-height:clamp(330px,45vh,650px);padding:clamp(25px,3vw,65px);display:flex;flex-direction:column;justify-content:end}.tile[hidden]{display:none}.tile>span{position:absolute;top:28px;font-size:12px;letter-spacing:1.5px}.tile strong{position:relative;font-size:clamp(45px,5vw,110px);line-height:1;letter-spacing:-1px}.tile p{position:relative;font-size:16px}.tile small{position:relative;font-size:11px;color:#e0c7fb}.tv{background:linear-gradient(150deg,#8c20f070,#241032)}.cinema{background:var(--dark);border:1px solid #8c20f035}.orbit,.film-window{display:none}.project-note{font-size:13px;color:var(--muted);margin-top:22px}.contact{display:grid;grid-template-columns:1fr 1.3fr;align-items:center;gap:7vw;padding:35px 3vw 65px}.contact-left{text-align:center}.contact-left .section-number{display:block}.contact-avatar{width:clamp(220px,26vw,480px);aspect-ratio:1;margin:30px auto 20px;border-radius:50%;background:radial-gradient(circle,#8c20f045,var(--dark) 70%)}.contact-avatar img{width:100%;height:auto}.contact-left strong{font-size:23px}.contact-left p{font-size:13px;letter-spacing:1px;color:var(--muted)}.contact h2{font-size:clamp(55px,7vw,160px);line-height:1;margin:0 0 30px}.contact-placeholder{font-size:13px;letter-spacing:.04em;color:var(--muted);margin-top:25px}.contact .text-link{margin-top:40px}@keyframes float{50%{transform:translateY(-6px)}}@keyframes enter{from{opacity:0}to{opacity:1}}.paused *{animation:none!important}@media(max-width:900px){.title-scene{gap:24px}h1{font-size:11vw}.portrait{width:25vw;max-width:30%}.profile,.contact{gap:30px}.bio-detail{grid-template-columns:1fr}.section-heading{align-items:start;flex-direction:column}}@media(max-width:600px){:root{--pad:22px}header{min-height:78px;gap:8px;flex-wrap:wrap;padding:12px 0}.monogram{font-size:30px;width:35px}nav{gap:0}nav a{padding:10px;font-size:11px}#sound{min-width:auto;font-size:10px}.screen{min-height:calc(100svh - 138px)}.home{padding:25px 0 35px;gap:26px}.title-scene{flex-direction:column;gap:16px}.portrait{width:clamp(160px,48vw,240px);max-width:65%}.portrait-disc{border-radius:50%;inset:8%}.title-copy{text-align:center;width:100%}.overline{font-size:12px;letter-spacing:2px}.title-row{justify-content:center}h1{font-size:clamp(65px,19vw,115px);margin-top:10px}.profession{font-size:12px;margin-top:18px;letter-spacing:1px}.start-menu{width:240px;gap:3px}.start-menu a{font-size:14px;padding:13px}.menu-hint{display:none}footer{min-height:60px;font-size:10px}#motion{font-size:10px}.profile,.contact{grid-template-columns:1fr;padding:25px 0 45px;gap:35px}.profile-portrait img{max-width:260px}.bio p{font-size:16px}.bio-detail{grid-template-columns:1fr 1fr;gap:16px}.bio-detail h3{font-size:23px}.section-heading h2{font-size:42px}.mosaic{grid-template-columns:1fr}.tile{min-height:300px}.tile strong{font-size:52px}.contact h2{font-size:65px}.contact-copy{text-align:center}.contact-avatar{width:200px}.contact-placeholder{font-size:12px;line-height:1.7}.projects-screen{padding-top:25px}.filters{flex-wrap:wrap}}@media(max-width:360px){header{justify-content:space-between}#sound{width:100%;text-align:right;padding:3px 0}.bio-detail{grid-template-columns:1fr}nav a{padding:8px}.tile small{font-size:10px}}@media(max-height:650px) and (min-width:601px){.home{gap:14px;padding:15px 0}.portrait{width:clamp(150px,18vw,230px)}h1{font-size:10vw}.start-menu a{padding:9px;min-height:38px}header{min-height:70px}.screen{min-height:calc(100svh - 120px)}footer{min-height:50px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Initial screen: edge-to-edge portrait band and simple game menu. */
header nav[hidden]{display:none}.screen{min-height:calc(100svh - 90px)}header{position:relative;justify-content:flex-start}header nav{position:absolute;left:50%;transform:translateX(-50%)}
.home{width:calc(100% + var(--pad)*2);margin-left:calc(-1 * var(--pad));padding:3vh 0 7vh;gap:clamp(30px,6vh,80px)}
.title-scene{display:grid;grid-template-columns:36% minmax(0,1fr);gap:clamp(25px,3.5vw,100px);padding-right:var(--pad);align-items:center}
.home .portrait{width:100%;max-width:none;height:clamp(260px,25vw,600px);aspect-ratio:auto;display:flex;justify-content:flex-end;align-items:center}
.home .portrait-disc{inset:10% 0 0;border-radius:0 999px 999px 0;background:linear-gradient(100deg,#8C20F0,#6415ac)}
.home .portrait img{width:clamp(260px,25vw,600px);height:auto;max-width:100%;flex-shrink:0;align-self:center}
.home .title-copy{min-width:0}.home .overline{display:block;line-height:1;margin-bottom:2px}.home h1{font-size:clamp(84px,12.4vw,340px);line-height:.88;margin:0;letter-spacing:-.015em}
.home .profession{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:clamp(25px,3vw,70px);line-height:1.25}
.home .profession span{display:block;width:clamp(12px,.8vw,20px);height:clamp(12px,.8vw,20px);margin:0;flex-shrink:0}
.home .start-menu{margin:0 auto}.pointer{left:20px;top:50%;transform:translateY(-50%);font-size:1.05em}.pointer-right{left:auto;right:20px}.start-menu a.selected .pointer{opacity:1}
.settings,.goodbye{display:flex;align-items:center;justify-content:center;padding:45px 0 80px}.menu-panel{width:min(420px,100%);text-align:center}.menu-panel h2{font-size:clamp(48px,5vw,90px);margin:0 0 40px;line-height:1}.settings-controls{display:grid;gap:15px}.settings-controls #sound,.settings-controls #motion{display:block;width:100%;padding:17px 20px;text-align:center;border:1px solid #8c20f050;color:var(--white);font-size:14px;background:var(--dark);min-height:50px}.settings-controls button:hover{border-color:var(--purple)}.back-button{display:inline-block;margin-top:35px;padding:15px 25px;font-size:14px;letter-spacing:1px;color:var(--muted)}.back-button:hover{color:var(--white)}
@media(max-width:900px) and (min-width:601px){.title-scene{grid-template-columns:34% minmax(0,1fr);gap:25px}.home .portrait{height:27vw}.home .portrait img{width:27vw}.home h1{font-size:12vw}.home .overline{font-size:12px}.home .profession{font-size:12px}}
@media(max-width:600px){header nav{left:auto;right:0;transform:none}.screen{min-height:calc(100svh - 78px)}.home{padding:20px 0 40px;gap:32px}.title-scene{display:flex;flex-direction:column;gap:24px;padding:0;width:100%}.home .portrait{width:70%;height:clamp(190px,48vw,270px);align-self:flex-start;justify-content:flex-end;max-width:none}.home .portrait-disc{inset:10% 0 0;border-radius:0 999px 999px 0}.home .portrait img{width:clamp(190px,48vw,270px);max-width:100%}.home .title-copy{width:100%;padding-inline:var(--pad)}.home .overline{font-size:12px;margin-bottom:3px}.home h1{font-size:clamp(65px,19vw,115px);margin:0;line-height:.92}.home .profession{margin-top:20px;font-size:12px;gap:10px}.home .profession span{width:12px;height:12px}.home .start-menu{width:240px}.settings,.goodbye{padding:35px 0 60px}.settings-controls #sound,.settings-controls #motion{width:100%;font-size:13px}}
@media(max-height:650px) and (min-width:601px){.screen{min-height:calc(100svh - 70px)}.home{gap:18px;padding:15px 0 30px}.home .portrait{height:35vh}.home .portrait img{width:35vh}.home h1{font-size:10vw}.home .profession{margin-top:20px}.home .start-menu a{padding:10px 25px}}
/* Align the subtitle to the title itself; bring only the name closer. */
.home .title-copy{width:max-content;max-width:100%;justify-self:start}
.home .title-row{width:max-content;max-width:100%}
.home .overline{transform:translateY(clamp(10px,1.05vw,26px))}
@media(max-width:600px){.home .title-copy{width:max-content;max-width:100%;padding-inline:var(--pad)}.home .overline{transform:translateY(8px)}}

/* Horizontally scrollable tools, isolated to the profile screen. */
.bio{min-width:0}
.tools-carousel{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:8px;max-width:770px;margin:28px 0 0}
.tools-track{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#8c20f060 transparent;list-style:none;margin:0;padding:12px 0 14px}
.tool-item{flex:0 0 calc((100% - 48px)/4);min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px;scroll-snap-align:start;text-align:center}
.tool-item img{display:block;width:clamp(40px,4vw,64px);height:clamp(40px,4vw,64px);object-fit:contain}
.tool-item span{font-size:12px;line-height:1.4;color:var(--muted);white-space:nowrap}
.tools-arrow{border:0;background:transparent;color:var(--purple);font:32px/1 Arial,sans-serif;min-height:48px;padding:0;transition:opacity .15s}
.tools-arrow:hover:not(:disabled){color:var(--white)}.tools-arrow:disabled{opacity:.22;cursor:default}
.tools-track:focus-visible{outline:2px solid #c78dff;outline-offset:4px;border-radius:4px}
@media(max-width:900px){.tool-item{flex-basis:calc((100% - 32px)/3)}.tools-carousel{gap:4px;grid-template-columns:28px minmax(0,1fr) 28px}}
@media(max-width:380px){.tool-item{flex-basis:calc((100% - 16px)/2)}}

/* Profile skills: circular icons and a seamless, stepped carousel. */
.bio .skills-title{font-size:clamp(25px,2vw,36px);margin:26px 0 8px}
.tools-carousel{margin-top:0;gap:12px}
.tools-viewport{overflow:hidden;min-width:0;touch-action:pan-y}
.tools-track{overflow:visible;scrollbar-width:none;scroll-snap-type:none;padding:14px 0;will-change:transform;transition:transform 420ms cubic-bezier(.22,.68,.25,1);outline-offset:-2px}
.tools-track::-webkit-scrollbar{display:none}
.tools-track.is-resetting{transition:none}
.tool-item{gap:14px}
.tool-circle{position:relative;display:grid;place-items:center;width:min(100%,116px);aspect-ratio:1;border-radius:50%;background:#191122;border:1px solid #8c20f050}
.tool-circle img{width:62%;height:62%;object-fit:contain}
.tool-item span:not(.tool-circle):not(.primary-star){font-size:13px}
.tool-primary{border-color:#8c20f0a0}
.tool-circle .primary-star{position:absolute;top:-5px;left:0;font-size:25px;line-height:1;color:#ffd45a;filter:drop-shadow(0 2px 3px #0008)}
.next-level{display:inline-flex;align-items:center;justify-content:space-between;gap:60px;min-width:250px;min-height:76px;margin-top:28px;padding:14px 24px;border:1px solid #8c20f090;background:linear-gradient(110deg,#8c20f038,#100c19);transition:background .2s,border-color .2s}
.next-level-copy{display:flex;flex-direction:column;gap:4px}.next-level small{font-size:10px;letter-spacing:.16em;color:var(--muted)}
.next-level strong{font-family:'Barlow Condensed',sans-serif;font-size:28px;letter-spacing:.04em;font-weight:800}.next-level-arrow{font-size:28px;color:var(--purple);transition:transform .2s}
.next-level:hover{border-color:var(--purple);background:#8c20f030}.next-level:hover .next-level-arrow{transform:translateX(4px)}
.paused .tools-track{transition:none}
@media(max-width:600px){.tools-carousel{gap:6px}.tool-circle{max-width:100px}.next-level{width:100%}.bio .skills-title{margin-top:24px}}

/* Approved studio portrait, only on the profile screen. */
.profile-portrait .profile-photo{display:block;width:80%;max-width:440px;height:auto;margin:22px auto 18px;border-radius:6px}
@media(max-width:600px){.profile-portrait .profile-photo{width:80%;max-width:260px;margin-top:18px}}

/* Open profile composition and circular app artwork. */
.profile{grid-template-columns:1.08fr 1.15fr;gap:5vw;padding-left:0;padding-right:2vw}
.profile-portrait{align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0}
.profile-portrait .profile-photo{width:100%;max-width:680px;margin:10px auto 0;border-radius:0;mask-image:var(--portrait-cutout);mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-image:var(--portrait-cutout);-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}
.profile-portrait .portrait-caption{margin-top:14px}
.tool-circle{background:transparent;border:0}
.tool-circle img{width:100%;height:100%;border-radius:50%}
.tool-primary{border:0}
.next-level strong{font-size:25px}
@media(min-width:901px){.profile-portrait{margin-left:calc(-1 * var(--pad));width:calc(100% + var(--pad))}.profile-portrait .profile-photo{max-height:68vh;width:auto;max-width:100%;object-fit:contain}}
@media(max-width:900px){.profile{gap:30px}.profile-portrait .profile-photo{width:100%;max-width:520px}}
@media(max-width:600px){.profile{grid-template-columns:1fr;padding:25px 0 45px;gap:35px}.profile-portrait{margin-inline:calc(-1 * var(--pad));width:calc(100% + var(--pad)*2)}.profile-portrait .profile-photo{width:100%;max-width:420px;margin-top:12px}.next-level strong{font-size:24px}}


/* Render the transparent PNG itself, with no external mask dependency. */
.profile-portrait .profile-photo{mask-image:none;-webkit-mask-image:none;width:100%;max-width:none;max-height:none;height:auto;margin:0;border-radius:0}
@media(min-width:901px){
 .profile{position:relative;align-items:center;padding-top:20px;padding-bottom:0}
 .profile-portrait{position:relative;align-self:stretch;justify-content:flex-end;min-height:calc(100svh - 110px);overflow:hidden}
 .profile-portrait>.overline,.profile-portrait>h2{position:relative;z-index:1;flex-shrink:0}
 .profile-portrait>.overline{margin-top:20px}
 .profile-portrait>h2{margin-bottom:8px}
 .profile-portrait .profile-photo{width:100%;max-height:calc(100svh - 220px);object-fit:contain;object-position:center bottom;flex:1;min-height:0}
 .profile .bio{padding-bottom:35px}
}
@media(max-width:900px){.profile-portrait .profile-photo{width:100%;max-width:none;max-height:none}}
@media(max-width:600px){.profile-portrait .profile-photo{width:100%;max-width:520px;margin:0 auto}.profile-portrait{overflow:hidden}}

/* Feather the cropped shoulders and bottom into the page; keep the face opaque.
   CSS gradients are self-contained, so this also works in file:// previews. */
.profile-portrait .profile-photo{
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 85%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%);
 mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 85%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%);
 -webkit-mask-size:100% 100%;mask-size:100% 100%;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 -webkit-mask-composite:source-in;mask-composite:intersect;
}

/* Match the element box to the PNG's actual aspect ratio. With object-fit
   letterboxing, the old mask faded empty space beside the visible shoulders. */
.profile-portrait .profile-photo{
 flex:none;
 height:auto;
 max-height:none;
 object-fit:fill;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.15) 4%,rgba(0,0,0,.65) 10%,#000 19%,#000 76%,rgba(0,0,0,.65) 87%,rgba(0,0,0,.15) 96%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 73%,rgba(0,0,0,.65) 86%,transparent 100%);
 mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.15) 4%,rgba(0,0,0,.65) 10%,#000 19%,#000 76%,rgba(0,0,0,.65) 87%,rgba(0,0,0,.15) 96%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 73%,rgba(0,0,0,.65) 86%,transparent 100%);
 -webkit-mask-composite:source-in;
 mask-composite:intersect;
}
@media(min-width:901px){
 .profile-portrait .profile-photo{width:min(100%,calc((100svh - 220px) * 1122 / 1402));max-width:none;flex:none;height:auto;max-height:none}
}
/* Projects: program covers with explicit credits and episode dialogs. */
.projects-intro{color:var(--muted);font-size:16px;margin:-10px 0 30px;line-height:1.6}
.program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.program-card{min-width:0}.program-card[hidden],.personal-empty[hidden]{display:none}
.program-open{display:block;width:100%;text-align:left;color:var(--white);padding:0;border:1px solid #ffffff12;background:#100c1970;border-radius:6px;overflow:hidden;transition:border-color .2s,transform .2s}
.program-open:hover{border-color:#8c20f099;transform:translateY(-3px)}
.program-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#2d1048,#100c19)}
.program-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.program-cover img[hidden]{display:none}
.program-open:hover img{transform:scale(1.035)}
.program-count{position:absolute;bottom:12px;left:12px;padding:6px 10px;background:#0b0910e8;border-radius:3px;font-size:12px}
.program-play{position:absolute;right:14px;bottom:10px;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--purple);font-size:23px}
.program-info{padding:22px;display:flex;flex-direction:column;align-items:flex-start;min-height:177px}
.program-role{font-size:clamp(17px,1.1vw,22px);line-height:1.4;color:#d6b1f7}
.program-info h3{font-size:clamp(26px,2vw,38px);line-height:1.1;margin:10px 0 20px}
.program-more{font-size:11px;letter-spacing:.08em;color:var(--muted);margin-top:auto;display:flex;justify-content:space-between;width:100%;gap:20px}
.program-more>span{color:var(--purple);font-size:17px}
.program-dialog{width:min(680px,calc(100% - 32px));max-height:85svh;overflow:auto;padding:30px;border:1px solid #8c20f060;border-radius:10px;background:var(--dark);color:var(--white);box-shadow:0 24px 100px #0009}
.program-dialog::backdrop{background:#050307c9;backdrop-filter:blur(7px)}
.program-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:20px}
.program-close{width:44px;height:44px;border:1px solid #ffffff22;background:transparent;border-radius:50%;color:var(--white);font-size:19px}
.program-close:hover{background:var(--purple)}
.program-dialog h2{font-size:clamp(34px,3vw,50px);line-height:1.06;margin:24px 0}
.credit-label{font-size:11px;letter-spacing:.1em;color:var(--muted)}
.program-credits{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 30px}
.program-credits li{padding:7px 11px;border:1px solid #8c20f050;border-radius:4px;color:#d8c3eb;font-size:13px}
.program-dialog h3{font-size:24px;margin:0 0 14px}.episode-list{display:grid;gap:8px}
.episode-link{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:58px;padding:14px 16px;border:1px solid #ffffff15;border-radius:4px;background:#0b091080;transition:background .2s}
.episode-link:hover{background:#8c20f028;border-color:#8c20f080}.episode-link strong{font-size:15px}.episode-link>span{font-size:13px;color:var(--muted)}
.dialog-open{overflow:hidden}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.personal-empty{padding:65px 25px;border:1px solid #8c20f035;text-align:center}.personal-empty h3{font-size:34px;margin:0 0 14px}.personal-empty p{color:var(--muted)}
@media(min-width:1800px){.program-info{min-height:190px}}
@media(max-width:1100px){.program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.program-grid{grid-template-columns:1fr;gap:20px}.program-info{padding:18px;min-height:150px}.program-info h3{font-size:29px}.program-dialog{padding:20px}.episode-link{padding:14px 12px;gap:10px}.episode-link>span{font-size:12px}.projects-intro{font-size:14px}.program-dialog h2{font-size:34px}}
/* Project category selection and on-demand video player. */
.project-selection{display:flex;flex-direction:column;justify-content:center;padding:45px 3vw 70px;gap:35px}
.selection-heading{text-align:center}.selection-heading h2{font-size:clamp(34px,4vw,70px);line-height:1.05;margin:16px 0}
.project-choices{display:grid;grid-template-columns:1fr 1fr;gap:28px;width:min(1100px,100%);margin-inline:auto}
.project-choice{position:relative;display:flex;flex-direction:column;gap:18px;min-height:310px;padding:35px;border:1px solid #8c20f055;background:linear-gradient(135deg,#8c20f016,#100c19);border-radius:6px;transition:border-color .2s,transform .2s}
.project-choice:hover{border-color:var(--purple);transform:translateY(-4px)}.choice-number{font-size:13px;color:#ba87e7;letter-spacing:.12em}
.project-choice strong{font-family:'Barlow Condensed',sans-serif;font-size:clamp(40px,4vw,75px);line-height:1;font-weight:800}.project-choice>span:not(.choice-number){color:var(--muted);font-size:14px}
.project-choice .choice-action{display:flex;justify-content:space-between;margin-top:auto;padding-top:24px;font-size:12px;letter-spacing:.1em}.choice-action>span{color:var(--purple);font-size:21px}
.project-back{font-size:12px;letter-spacing:.06em;color:var(--muted);padding:14px 0}.project-back:hover{color:var(--white)}
.program-dialog{width:min(920px,calc(100% - 32px))}
.video-stage[hidden]{display:none}.video-stage{margin:0 0 26px}.video-label{color:var(--muted);font-size:13px}.video-frame{aspect-ratio:16/9;min-height:200px;background:#000}.video-frame iframe{display:block;border:0;width:100%;height:100%;min-height:200px}
.video-help{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0}
.episode-row{display:flex;gap:10px;align-items:stretch}.episode-play{display:flex;flex:1;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:58px;padding:14px 16px;color:var(--white);background:#0b091080;border:1px solid #ffffff15;border-radius:4px}.episode-play>span{font-size:11px;color:var(--muted)}.episode-play[aria-pressed=true],.episode-play:hover{background:#8c20f028;border-color:#8c20f080}
.episode-external{display:flex;align-items:center;padding:12px;color:var(--muted);font-size:12px}.episode-external:hover{color:var(--white)}
@media(max-width:600px){.project-selection{padding:30px 0 45px;gap:20px}.project-choices{grid-template-columns:1fr;gap:18px}.project-choice{min-height:230px;padding:25px}.project-choice strong{font-size:43px}.episode-play{padding:12px 10px}.episode-external{padding:10px 5px;font-size:11px}.episode-play strong{font-size:13px}.episode-play>span{font-size:10px}}

/* Personal videos share the player, with direct playback from each card. */
.personal-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1450px;margin-inline:auto}
.personal-grid .program-info{min-height:150px}.personal-grid .program-info h3{margin-top:0}
.personal-dialog .video-help a{color:#d6b1f7;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.personal-grid{grid-template-columns:1fr}.personal-grid .program-info{min-height:135px}}

/* Direct-play personal videos, in portrait format. */
.vertical-videos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;max-width:1500px;margin:0 auto}
.vertical-video{min-width:0}.vertical-player{position:relative;aspect-ratio:9/16;overflow:hidden;border-radius:8px;background:#050406;border:1px solid #8c20f035}
.vertical-poster{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#100c19;cursor:pointer}
.vertical-poster img{display:block;width:100%;height:100%;object-fit:cover}
.vertical-poster::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 55%,#0005)}
.vertical-play{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#8c20f0ed;color:var(--white);font-size:25px;padding-left:4px;box-shadow:0 4px 25px #0008;transition:background .2s,scale .2s}
.vertical-poster:hover .vertical-play{background:#a04af6;scale:1.08}.vertical-poster:focus-visible{outline-offset:-5px}
.vertical-frame{position:absolute;inset:0}.vertical-frame iframe{width:100%;height:100%;border:0;display:block}
.vertical-poster[hidden],.vertical-frame[hidden]{display:none}
.vertical-video h3{font-size:clamp(23px,1.7vw,32px);line-height:1.15;margin:17px 0 10px}
.vertical-external{display:inline-block;color:var(--muted);font-size:12px;padding:6px 0}.vertical-external:hover{color:var(--white)}
@media(max-width:1100px){.vertical-videos{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}}
@media(max-width:600px){.vertical-videos{grid-template-columns:1fr;max-width:380px;gap:30px}.vertical-video h3{font-size:26px}}

/* Fit the approved portrait to the purple band and blend its cropped edges. */
.home .home-photo-frame{
 position:absolute;inset:10% 0 0;overflow:hidden;
 border-radius:0 999px 999px 0;
 display:flex;align-items:flex-end;justify-content:flex-end;
}
.home .home-photo-frame img{
 width:auto;height:100%;max-width:100%;object-fit:contain;
 flex:none;align-self:flex-end;animation:none;filter:none;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 14%,#000 82%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 66%,transparent 100%);
 mask-image:linear-gradient(to right,transparent 0%,#000 14%,#000 82%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 66%,transparent 100%);
 -webkit-mask-composite:source-in;mask-composite:intersect;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 -webkit-mask-size:100% 100%;mask-size:100% 100%;
}
/* Larger portrait: body stays clipped to the band; only hair overlaps its top. */
.home .home-photo-frame img{height:116.6667%;max-width:none}
.home .portrait .home-photo-overflow{position:absolute;right:0;bottom:0;width:auto;height:105%;max-width:none;animation:none;filter:none;clip-path:inset(0 0 64% 0);pointer-events:none;-webkit-mask-image:linear-gradient(to right,transparent,#000 14%,#000 82%,transparent);mask-image:linear-gradient(to right,transparent,#000 14%,#000 82%,transparent)}
.home-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--white);border-radius:10px;transition:color .2s,background .2s}
.home-link:hover{color:#c78dff;background:#8c20f020}
body:not([data-screen]) .home-link,body[data-screen="inicio"] .home-link{visibility:hidden;pointer-events:none}
/* Direct contact channels, matching the portfolio palette. */
.contact-copy{min-width:0}
.contact-links{display:grid;gap:12px;max-width:660px}
.contact-channel{display:flex;align-items:center;gap:22px;padding:22px 24px;text-align:left;border:1px solid #8c20f035;background:linear-gradient(110deg,#8c20f012,transparent);transition:background .2s,border-color .2s,transform .2s}
.contact-channel:hover{border-color:var(--purple);background:#8c20f020;transform:translateX(4px)}
.contact-channel>svg{width:28px;height:28px;flex:none;color:#bc7afa}
.contact-channel>span:not(.contact-arrow):not(.sr-only){min-width:0}
.contact-channel small{display:block;font-size:11px;letter-spacing:.14em;color:var(--muted);margin-bottom:7px}
.contact-channel strong{font-size:clamp(15px,1.3vw,24px);font-weight:400;overflow-wrap:anywhere}
.contact-arrow{margin-left:auto;color:var(--purple);font-size:24px}
@media(max-width:600px){.contact-links{width:100%}.contact-channel{padding:18px 16px;gap:14px}.contact-channel strong{font-size:16px}.contact-channel>svg{width:24px;height:24px}.contact-arrow{font-size:20px}}
.email-contact .contact-channel{width:100%;color:var(--white);font-family:inherit}
.copy-hint{display:block;margin-top:7px;color:#bc7afa;font-size:12px}
.email-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:8px 2px 0;font-size:12px}
.email-actions a{color:#c78dff;white-space:nowrap;margin-left:auto}.email-actions a:hover{text-decoration:underline}
#email-status{color:var(--muted)}
.email-contact .contact-channel.is-copied{border-color:#8C20F0;background:#8c20f040;transform:none}
.contact-channel.is-copied .copy-hint,.contact-channel.is-copied .contact-arrow{color:#F5F2FA}

/* Route animation is controlled in JS to coordinate exit and entry. */
.screen{animation:none}

/* Align the mobile home name with its title. */
@media(max-width:600px){.home .title-copy>.overline{text-align:left}}
