:root{color-scheme:dark;--bg:#04080b;--purple:#8714ff;--green:#00e3b1;--muted:#86909e}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:#fafafa;font-family:Inter,Arial,sans-serif;font-size:16px}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid var(--green);outline-offset:6px}.header,main,footer{max-width:1200px;margin:auto}.header{height:66px;padding:0 5.1%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0b}.brand{font-family:'Barlow Condensed',Impact,sans-serif;font-size:36px;font-weight:800;letter-spacing:-2px;line-height:1}.brand span{color:var(--green)}nav{display:flex;align-items:center;gap:36px;font-size:14px}.button{min-height:40px;padding:10px 24px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:24px;font-size:14px;font-weight:500;transition:transform .2s,filter .2s}.button:hover{transform:translateY(-2px);filter:brightness(1.2)}.outline{border:1px solid transparent;background:linear-gradient(var(--bg),var(--bg)) padding-box,linear-gradient(110deg,#ae5eff,var(--green)) border-box}.small{min-height:38px;border-radius:24px;padding:8px 26px}.solid{background:linear-gradient(125deg,#901cff,#7310e8);border:1px solid #992aff}.hero{padding:29px 3.6% 20px 5.7%;display:grid;grid-template-columns:46% 54%;align-items:start;min-height:443px}.intro{padding-top:33px}.eyebrow{font-family:'Barlow Condensed',sans-serif;font-weight:500;font-size:14px;letter-spacing:4px;margin:0 0 8px}.eyebrow span{color:var(--purple)}h1,h2{font-family:'Barlow Condensed',Impact,sans-serif;font-weight:800;line-height:1;position:relative;margin:0;letter-spacing:-1px}h1{font-size:clamp(44px,6.4vw,78px);white-space:nowrap;width:max-content}.accent{display:block;position:absolute;width:18px;height:7px;background:var(--green);right:0;top:9%;transform:rotate(7deg)}.role{font-size:20px;line-height:1.35;margin:5px 0 22px}.role strong{color:var(--green);font-weight:600}.actions{display:flex;gap:16px}.actions .button{min-width:150px}.author{display:flex;gap:28px;align-items:center;margin-top:20px}.crop{position:relative;display:block;overflow:hidden;aspect-ratio:var(--w)/var(--h);background:#090d12}.crop img{position:absolute;width:calc(1024 / var(--w) * 100%);height:auto;max-width:none;left:calc(var(--x) / var(--w) * -100%);top:calc(var(--y) / var(--h) * -100%)}.portrait{width:132px;flex-shrink:0;border-radius:50%}.handwriting{font-family:Caveat,cursive;font-size:29px;font-weight:400;line-height:.78;color:#9091aa;transform:rotate(-13deg);margin:0}.handwriting span{display:block;background:var(--green);width:28px;height:2px;margin:12px 0 0 30px}.reel{width:100%;padding:0;border:1px solid #66776b6b;border-radius:11px;transition:filter .2s;margin-top:0}.reel:hover{filter:brightness(1.16)}.services{height:70px;border-block:1px solid #ffffff0d;display:flex;align-items:center;justify-content:center;gap:0}.services>span{padding:0 28px;border-right:1px solid #69717d;font:600 13px 'Barlow Condensed',sans-serif;letter-spacing:1.7px;display:flex;align-items:center;gap:17px;white-space:nowrap}.services>span:last-child{border:0}.services i{font:normal 28px Arial;color:var(--purple)}.services>span:nth-child(even) i{color:var(--green)}.work{padding:34px 5.1% 22px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 26px;gap:20px}h2{font-size:clamp(32px,4.8vw,60px);width:max-content;max-width:100%}.filters{display:flex;gap:10px}.filters button{background:transparent;border:1px solid #89858f;border-radius:30px;padding:9px 20px;font-size:14px}.filters button.selected{background:var(--purple);border-color:var(--purple)}.projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project{background:none;border:0;padding:0;text-align:left;min-width:0}.project[hidden]{display:none}.project>.crop{border-radius:5px;border:1px solid #30333e;transition:filter .2s}.project:hover>.crop{filter:brightness(1.16)}.project-title{display:flex;justify-content:space-between;font-size:18px;font-weight:600;margin-top:10px;position:relative;padding-bottom:14px}.project-title:after{content:"";position:absolute;bottom:0;left:0;width:24px;height:2px;background:var(--green)}.project-title>span{font-size:24px;font-weight:400}.sample-note{display:flex;align-items:center;gap:20px;justify-content:center;color:var(--muted);font-size:12px;margin:30px 0 8px}.sample-note:before,.sample-note:after{content:"";height:1px;background:#262d36;flex:1}.contact{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:center;padding:45px 7% 46px;border-block:1px solid #ffffff0d;background:radial-gradient(ellipse at 0 90%,#5502a333,transparent 43%),radial-gradient(ellipse at 100% 0,#00a67e22,transparent 45%)}.contact h2{font-size:clamp(32px,4.5vw,54px);margin:auto}.contact p:not(.aside){margin:10px 0 24px;font-size:16px}.contact .button{min-width:190px}.aside{flex-shrink:0;text-align:left}.contact .eyebrow{font-size:12px;line-height:1.6;letter-spacing:3px;color:#97a1b0}.contact .handwriting{font-size:23px;line-height:.95}.contact .handwriting span{background:var(--purple);width:45px;margin-left:0}footer{display:flex;align-items:center;gap:24px;padding:28px 5.7% 38px}footer>p{font-size:12px;letter-spacing:1px}footer small{display:block;font-size:12px;letter-spacing:0;color:var(--muted);margin-top:8px}.footer-tag{margin-left:auto!important;letter-spacing:3px!important;font-size:10px!important;color:var(--muted);line-height:1.8}dialog{border:1px solid #69537e;border-radius:16px;background:#080c11;color:white;width:min(680px,92vw);max-height:90vh;padding:32px}dialog::backdrop{background:#000c;backdrop-filter:blur(6px)}dialog h2{font-size:38px;margin-bottom:24px}dialog p{line-height:1.6;color:#bac0ca}dialog .crop{max-height:55vh;margin:auto;width:min(100%,400px)}.close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:30px}.close-bottom{margin-top:8px}@media(min-width:1200px){.hero{min-height:510px}.portrait{width:150px}.intro{padding-top:40px}.reel{margin-top:0}.author{margin-top:26px}.work{padding-top:42px}.services{height:78px}}@media(max-width:850px){.hero{grid-template-columns:1fr 1fr;gap:20px;padding-inline:5%;min-height:0;padding-bottom:28px}.intro{padding-top:12px}h1{font-size:clamp(34px,6.1vw,52px)}.role{font-size:16px}.eyebrow{font-size:12px;letter-spacing:2px}.actions{gap:8px}.actions .button{min-width:0;padding:10px 16px}.portrait{width:100px}.handwriting{font-size:25px}.services>span{padding:0 14px;font-size:11px;gap:8px;letter-spacing:1px}.section-heading{align-items:flex-start;flex-direction:column}h2{font-size:44px}.contact .aside{display:none}.contact{justify-content:center}.project-title{font-size:16px}}@media(max-width:560px){.header{height:70px}nav{gap:18px;font-size:13px}nav .small{padding:8px 15px}.hero{grid-template-columns:1fr;padding-top:24px;gap:28px}.intro{padding-top:0}h1{font-size:clamp(42px,10.8vw,64px)}.role{font-size:20px}.eyebrow{font-size:13px}.author{margin-top:24px}.reel{margin:0}.services{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:18px 0;padding:20px 5%}.services>span{font-size:12px;padding:0 12px}.services>span:nth-child(2){border:0}.work{padding-top:30px}.section-heading{gap:20px}h2{font-size:38px;letter-spacing:-.5px}.projects{grid-template-columns:1fr;gap:28px}.project>.crop{aspect-ratio:var(--w)/var(--h)}.project-title{font-size:20px}.contact{padding:38px 6%}.contact h2{font-size:36px}.contact p:not(.aside){line-height:1.5}footer{gap:16px;flex-wrap:wrap}.footer-tag{display:none}dialog{padding:28px 20px}dialog h2{font-size:32px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{position:relative;isolation:isolate;overflow-x:clip}
.services .service-icon{width:26px;height:26px;flex:0 0 26px;color:var(--purple)}.services>span:nth-child(even) .service-icon{color:var(--green)}
.real-cover{display:block;aspect-ratio:299/378;overflow:hidden;border:1px solid #30333e;border-radius:5px}.real-cover img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.project:hover .real-cover img{transform:scale(1.025)}.real-reel{position:relative;aspect-ratio:494/369;background:#090d12;overflow:hidden}.real-reel>img{width:100%;height:100%;object-fit:cover;display:block}.reel-play{position:absolute;inset:0;margin:auto;width:66px;height:66px;display:grid;place-items:center;padding-left:4px;border:1px solid #d8c7ef;border-radius:50%;background:#060912c9;font-size:28px}#dialog-art>img,#dialog-art>video{display:block;max-width:100%;max-height:65vh;margin:0 auto 18px;object-fit:contain}#dialog-description{white-space:pre-line}.project-title{overflow-wrap:anywhere;gap:12px}
/* Keep uploaded images inside their card, regardless of source dimensions. */ .projects{min-width:0;width:100%}.project{max-width:100%;overflow:hidden}.real-cover{position:relative;width:100%;min-width:0;aspect-ratio:4/5;background:#090d12}.real-cover>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover}.real-reel>img{position:absolute;inset:0;max-width:100%;max-height:100%}
.linkedin-card{display:block;min-width:0;overflow:hidden;border:1px solid #416258;border-radius:12px;background:#0a0e14;transition:border-color .2s,transform .2s}.linkedin-card:hover{border-color:var(--green);transform:translateY(-3px)}.linkedin-preview{background:#fff;overflow:hidden}.linkedin-preview img{display:block;width:100%;height:auto;max-width:100%}.linkedin-body{padding:22px 26px 26px}.linkedin-heading{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:2px;color:#a9b7c6}.linkedin-mark{display:grid;place-items:center;width:26px;height:26px;background:#0a66c2;border-radius:4px;color:#fff;font:bold 20px Arial;letter-spacing:-1px}.linkedin-arrow{margin-left:auto;font-size:22px;color:var(--green)}.linkedin-body h2{font-family:Inter,Arial,sans-serif;font-size:25px;letter-spacing:-.6px;line-height:1.2;margin:15px 0 8px}.linkedin-body p{font-size:16px;line-height:1.5;color:#c2cad5;margin:0 0 20px}.linkedin-body .button{font-size:14px;max-width:100%;gap:12px}@media(max-width:850px){.linkedin-body{padding:18px}.linkedin-body h2{font-size:22px}.linkedin-body .button{padding:10px 14px}}@media(prefers-reduced-motion:reduce){.linkedin-card{transition:none}.linkedin-card:hover{transform:none}}

.profile-photo{aspect-ratio:1;overflow:hidden}.profile-photo img{display:block;width:100%;height:100%;object-fit:cover}

/* Vivid contact banner and shared interactive button treatment. */
:root{--button-gradient:linear-gradient(110deg,#b35bff 0%,#9675ed 35%,#00e3b1 100%)}
.contact{justify-content:center;background:linear-gradient(110deg,#7915ed 0%,#35115f 26%,#121226 44%,#092e2d 63%,#007f65 82%,#00c99a 100%);border-block:1px solid #70409c;padding-block:50px}
.contact>div{width:100%;max-width:740px}
.contact h2,.contact p{ text-shadow:0 2px 12px #0008 }
.button,.filters button,.close{transition:background .2s,color .2s,box-shadow .2s,transform .2s}
.button:is(:hover,:focus-visible,:active),
.filters button:is(:hover,:focus-visible,:active),
.close:is(:hover,:focus-visible,:active),
.linkedin-card:is(:hover,:focus-visible,:active) .button{
  background:var(--button-gradient) padding-box,var(--button-gradient) border-box;
  border-color:transparent;color:#060b13;text-shadow:none;filter:none;
  box-shadow:0 0 24px #7e31dd40,0 0 14px #00e3b128;
}
.button:active,.filters button:active,.close:active{transform:scale(.97)}
.filters button.selected{background:var(--button-gradient);border-color:transparent;color:#060b13}
.close{border-radius:8px;min-width:38px;min-height:38px}
.project .project-title{transition:background .2s,color .2s;padding:10px 8px 14px;border-radius:0 0 7px 7px}
.project:is(:hover,:focus-visible,:active) .project-title{background:var(--button-gradient);color:#060b13}
.project:is(:hover,:focus-visible,:active) .project-title:after{background:#060b13;left:8px}
@media(max-width:560px){.contact{padding:38px 6%}}
@media(prefers-reduced-motion:reduce){.button,.filters button,.close,.project .project-title{transition:none}.button:active,.filters button:active,.close:active{transform:none}}
.contact{border-radius:24px;overflow:hidden}@media(max-width:560px){.contact{border-radius:18px}}

/* Continuous ambient background: no enlarged image fragments or clipped edges. */
body{
  background-color:var(--bg);
  background-image:
    radial-gradient(ellipse 820px 640px at calc(50% - 560px) 20px,rgba(119,23,236,.44) 0%,rgba(84,17,165,.22) 36%,rgba(84,17,165,0) 76%),
    radial-gradient(ellipse 850px 710px at calc(50% + 660px) 270px,rgba(0,213,162,.27) 0%,rgba(0,115,97,.14) 40%,rgba(0,115,97,0) 78%),
    radial-gradient(ellipse 720px 620px at calc(50% - 730px) 1100px,rgba(99,22,185,.15) 0%,rgba(99,22,185,0) 76%);
  background-repeat:no-repeat;
}
@media(max-width:700px){
  body{background-image:
    radial-gradient(ellipse 470px 480px at -90px 0,rgba(119,23,236,.38),rgba(119,23,236,0) 76%),
    radial-gradient(ellipse 450px 620px at calc(100% + 120px) 430px,rgba(0,213,162,.22),rgba(0,213,162,0) 78%);
  }
}

/* Fixed close control; only the media area scrolls. */
#project-dialog{padding:0;overflow:hidden;max-height:90vh;max-height:90dvh}
#project-dialog[open]{display:flex;flex-direction:column}
.project-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;padding:18px 22px;background:#080c11;border-bottom:1px solid #ffffff18;position:relative;z-index:2}
#project-dialog .project-dialog-header h2{margin:0;min-width:0;font-size:30px;overflow-wrap:anywhere}
#project-dialog .close{position:static;flex:0 0 48px;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;display:grid;place-items:center;touch-action:manipulation;transform:none}
.project-dialog-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:24px;scroll-behavior:auto}
#project-dialog .close-bottom{min-height:48px;touch-action:manipulation}
@media(max-width:700px){
  #project-dialog{width:calc(100% - 20px);max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);border-radius:14px;margin:auto}
  #project-dialog::backdrop{background:#000d;backdrop-filter:none}
  .project-dialog-header{padding:10px 12px;gap:10px}
  #project-dialog .project-dialog-header h2{font-size:24px}
  .project-dialog-content{padding:16px 12px max(20px,env(safe-area-inset-bottom))}
  #project-dialog .close-bottom{width:100%}
}
footer .resume-link{margin-left:auto;flex-shrink:0;gap:12px;min-height:44px;white-space:nowrap}footer .resume-link svg{flex-shrink:0}@media(max-width:560px){footer .resume-link{margin-left:0;margin-top:8px}}
