/* Brighter editorial presentation with a persistent Light / Dark choice. */
:root{color-scheme:light;--theme-paper:#f7f0e3;--theme-ink:#10223c;--theme-muted:#596579}.theme-switch{display:flex;flex-shrink:0;gap:3px;padding:3px;border:1px solid #e8c97955;border-radius:30px;background:#06172d8c}.theme-switch button{border:0;border-radius:22px;padding:7px 10px;font:11px 'DM Sans',sans-serif;background:transparent;color:#e6e9ef;cursor:pointer;min-height:32px;white-space:nowrap}.theme-switch button[aria-pressed=true]{background:#ead3a0;color:#11223a;box-shadow:0 2px 8px #0002}.navin{gap:20px}.nav .links{margin-left:auto;gap:17px}.hero{background:radial-gradient(ellipse at 80% 30%,#2d4968 0,transparent 55%),linear-gradient(120deg,#102440,#1a3553);min-height:700px}.hero .lead{color:#e0e6ee}.hero h1 span{color:#f0d38f}.hero .portrait-card{background:linear-gradient(140deg,#ead3a0,#ad863d);box-shadow:0 25px 70px #030c1d55}.animated-surface{position:relative;isolation:isolate}.animated-surface>.wrap,.animated-surface>.project-carousel,.animated-surface>.proofbar{position:relative;z-index:2}.section-stream{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:hidden}.section-stream path{fill:none;stroke:#e0b74c;stroke-width:.8;opacity:.24}.section-stream .stream-current{stroke:#ffe1a0;stroke-width:1.6;stroke-dasharray:6 130;opacity:.8;animation:streamFlow 20s linear infinite}.section-stream .reverse{animation-direction:reverse;animation-duration:27s}.gold-atmosphere{z-index:1;background:none}.gold-particle{background:#f4cf76;box-shadow:0 0 7px #e2b04488}.motion-paused .gold-particle,.motion-paused .stream-current{animation-play-state:paused}.nav>.section-stream,.nav>.gold-atmosphere{opacity:.25}.footer>.gold-atmosphere{opacity:.7}@keyframes streamFlow{to{stroke-dashoffset:-680}}
/* The gallery uses photograph-like screens, without the rejected browser-frame layout. */
.project-showcase{padding:42px 0 30px}.showcase-heading{text-align:left;display:grid;grid-template-columns:1fr .72fr;column-gap:55px;align-items:end}.showcase-heading>.tag{grid-column:1/-1}.showcase-heading .title{font-size:38px;line-height:1.15;margin:12px 0 0;max-width:650px}.showcase-heading .intro{font-size:14px;max-width:370px;margin:0 0 3px auto}.project-stage{height:535px;max-width:1220px;perspective:1450px}.project-card{width:420px;height:496px;border-radius:23px;box-shadow:0 20px 40px #0002}.project-image{margin:16px 16px 0;height:226px;border-radius:12px;border:1px solid #b9985855;box-shadow:none}.project-image img{width:100%;height:100%;object-fit:contain;background:#f0eee8}.project-body{padding:17px 22px 21px}.project-body h3{font-size:25px;height:57px;margin:7px 0 5px}.project-story{font-size:12px;line-height:1.45;gap:5px}.project-bottom{padding-top:12px}.project-bottom a{font-size:12px}.project-card.is-active{transform:translate(-50%,-50%) rotateY(-6deg) rotateZ(-.7deg);z-index:5;box-shadow:0 0 0 1px #d4a01766,0 0 27px #d4a01723,0 20px 45px #0003}.project-card.is-prev{transform:translate(-50%,-50%) translateX(-78%) rotateY(34deg) rotateZ(1.5deg) scale(.87);z-index:2;opacity:.93}.project-card.is-next{transform:translate(-50%,-50%) translateX(78%) rotateY(-34deg) rotateZ(-1.5deg) scale(.87);z-index:2;opacity:.93}.project-card:after{display:none}.carousel-controls{gap:15px}.carousel-arrow{width:40px;height:40px}.carousel-caption{font-size:10px}.more-projects{margin-top:17px}
html[data-theme=light] body{background:var(--theme-paper);color:var(--theme-ink)}html[data-theme=light] .problem-section,html[data-theme=light] .work,html[data-theme=light] .edge,html[data-theme=light] .resume-section{background:#f7f0e3;color:#10223c}html[data-theme=light] .solutions-section,html[data-theme=light] .project-showcase{background:#eee4d2;color:#10223c}html[data-theme=light] .problem-section .title,html[data-theme=light] .solutions-section .title,html[data-theme=light] .work .title,html[data-theme=light] .project-showcase .title,html[data-theme=light] .edge .title,html[data-theme=light] .resume-section .title{color:#10223c}html[data-theme=light] .problem-section .tag,html[data-theme=light] .solutions-section .tag,html[data-theme=light] .work .tag,html[data-theme=light] .project-showcase .tag,html[data-theme=light] .edge .tag,html[data-theme=light] .resume-section .tag{color:#8b661f}html[data-theme=light] .intro,html[data-theme=light] .about-intro p,html[data-theme=light] .resume-panel p{color:#4d5e72}html[data-theme=light] .process .intro{color:#cbd6e5}html[data-theme=light] .problem-grid article,html[data-theme=light] .solutions-grid article,html[data-theme=light] .edge-item{background:#fffaf1;border-color:#b9985844;color:#10223c;box-shadow:0 8px 24px #43311005}html[data-theme=light] .problem-grid p,html[data-theme=light] .impact,html[data-theme=light] .solutions-grid p,html[data-theme=light] .edge-item p{color:#556175}html[data-theme=light] .index,html[data-theme=light] .impact b,html[data-theme=light] .solutions-grid span{color:#87601b}html[data-theme=light] .impact{border-color:#b9985833}html[data-theme=light] .case{background:#fffaf1;border-color:#b9985855;color:#10223c}html[data-theme=light] .casebody p{color:#556175}html[data-theme=light] .casebody .badge{color:#806020;border-color:#b9985866}html[data-theme=light] .project-card{background:linear-gradient(145deg,#fffcf6,#f5eddf);color:#10223c;border-color:#ac8b4866}html[data-theme=light] .project-card.is-active{border-color:#b58b30}html[data-theme=light] .project-meta,html[data-theme=light] .project-story dt{color:#8a641d}html[data-theme=light] .project-body h3{color:#10223c}html[data-theme=light] .project-story{color:#43546b}html[data-theme=light] .project-bottom a{color:#795315;border-color:#ac8b48}html[data-theme=light] .project-bottom>span{color:#657184}html[data-theme=light] .carousel-pause{color:#273c55;border-color:#aa8b5144;background:#fff8eb}html[data-theme=light] .carousel-dots button:after{border-color:#95712d}html[data-theme=light] .carousel-dots button[aria-pressed=true]:after{background:#ab7e24}html[data-theme=light] .carousel-caption,html[data-theme=light] .more-projects,html[data-theme=light] .more-projects>span,html[data-theme=light] .more-projects p{color:#596579}html[data-theme=light] .more-projects>a{color:#795315}html[data-theme=light] .edge-item b{color:#10223c}html[data-theme=light] .credential-tags span{color:#3c516a;border-color:#b9985855;background:#fffaf1}html[data-theme=light] .resume-format{color:#795315}html[data-theme=light] .section-stream{opacity:.55}html[data-theme=light] .gold-atmosphere{opacity:.7}html[data-theme=light] .hero .section-stream,html[data-theme=light] .contact .section-stream,html[data-theme=light] .process .section-stream,html[data-theme=light] .delivery-process .section-stream{opacity:1}html[data-theme=light] .hero .gold-atmosphere,html[data-theme=light] .contact .gold-atmosphere,html[data-theme=light] .process .gold-atmosphere,html[data-theme=light] .delivery-process .gold-atmosphere{opacity:1}
html[data-theme=dark]{color-scheme:dark}html[data-theme=dark] body{background:#10223c}html[data-theme=dark] .problem-section,html[data-theme=dark] .work,html[data-theme=dark] .edge{background:#142b46}html[data-theme=dark] .solutions-section,html[data-theme=dark] .project-showcase{background:#10233c}html[data-theme=dark] .project-card{background:linear-gradient(145deg,#223e5e,#152a44);border-color:#d6b26355}html[data-theme=dark] .project-card.is-active{border-color:#edca7e}html[data-theme=dark] .project-body h3{color:#fcf6e8}html[data-theme=dark] .project-story{color:#d3ddea}html[data-theme=dark] .problem-grid article,html[data-theme=dark] .solutions-grid article,html[data-theme=dark] .edge-item{background:#1b3552}html[data-theme=dark] .case,html[data-theme=dark] .edgebox{background:#19324e}html[data-theme=dark] .resume-section{background:#1a3452}.contact{background:radial-gradient(ellipse at 50% 10%,#294662,#142b46 80%)}.process,.delivery-process{background:#17324f}.nav{background:#10223cf5}.footer{background:#10223c}
.visitor-box{max-width:230px;bottom:20px!important;right:18px!important;padding:10px 13px!important;border-radius:30px!important;animation:visitorFloat 4s ease-in-out infinite!important}.visitor-copy b{font:600 12px 'DM Sans',sans-serif!important}.visitor-copy small{font-size:9px!important}.visitor-eye{width:30px!important;height:30px!important;border-radius:50%!important}.visitor-box[data-live=true] .visitor-eye{position:relative}.visitor-box[data-live=true] .visitor-eye:after{content:'';position:absolute;right:0;top:0;width:7px;height:7px;border-radius:50%;background:#8dc49b;box-shadow:0 0 0 3px #142b46}.visitor-box[data-live=false] .visitor-eye{background:#aab2bc}.visitor-box.controls-visible{visibility:hidden!important}
@media(max-width:1000px){.nav .links{gap:10px;font-size:11px}.navin{gap:12px}.nav .brand{font-size:12px}.theme-switch button{padding:6px 8px}.showcase-heading{gap:28px}}
@media(max-width:899px){.project-card{width:min(54%,390px)}.project-stage{height:535px}.project-card.is-prev{transform:translate(-50%,-50%) translateX(-66%) rotateY(34deg) rotateZ(1.5deg) scale(.87)}.project-card.is-next{transform:translate(-50%,-50%) translateX(66%) rotateY(-34deg) rotateZ(-1.5deg) scale(.87)}.showcase-heading{display:block}.showcase-heading .intro{margin:15px 0 0;max-width:600px}.nav .brand span:last-child{display:none}}
@media(max-width:700px){.navin{gap:7px}.nav .links{margin-left:auto}.theme-switch button{font-size:10px;padding:5px 8px;min-height:28px}.theme-switch{gap:0;padding:2px}.mobile-menu{width:34px;height:34px;flex-shrink:0}.nav .links.menu-open{top:64px}.nav .links>.pill{font-size:10px;padding:8px 10px}.showcase-heading .title{font-size:32px}.project-showcase{padding:38px 0 25px}.showcase-heading .intro{font-size:13px}}
@media(max-width:600px){.project-card{width:calc(100% - 44px);max-width:390px;height:496px}.project-stage{height:535px}.project-card.is-active{transform:translate(-50%,-50%) rotateY(-4deg) rotateZ(-.5deg)}.project-card.is-prev{transform:translate(-50%,-50%) translateX(-75%) rotateY(44deg) rotateZ(1.5deg) scale(.82);opacity:.7}.project-card.is-next{transform:translate(-50%,-50%) translateX(75%) rotateY(-44deg) rotateZ(-1.5deg) scale(.82);opacity:.7}.project-image{height:205px;margin:16px 16px 0}.project-body{padding:17px 20px 21px}.project-body h3{font-size:22px}.project-story{font-size:11px}.carousel-controls{gap:7px}.hero{min-height:auto}.visitor-box{right:10px!important;bottom:12px!important;padding:8px 11px!important}.visitor-copy b{font-size:11px!important}.visitor-copy small{display:none}.visitor-eye{width:24px!important;height:24px!important}.theme-switch{margin-left:0}}
@media(max-width:360px){.navin{gap:5px}.theme-switch button{padding:5px 6px;font-size:9px}.project-body{padding:15px 17px 21px}.project-story{font-size:10.5px}.project-image{height:195px}.hero h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){.stream-current,.gold-particle,.visitor-box{animation:none!important}}
html[data-theme=light] .edgebox .tag{color:#ebc477}
.nav.animated-surface{position:fixed;z-index:40}.reveal{opacity:1;transform:none}
.project-image img{object-fit:cover;object-position:left top}
/* Keep the complete project carousel navy in both color themes. */
html #projects{background:#0d1530;color:#faf6ed}
html #projects .title,html #projects .project-body h3{color:#fff8eb}
html #projects .tag,html #projects .project-meta,html #projects .project-story dt{color:#edc879}
html #projects .intro,html #projects .project-story{color:#d2ddeb}
html #projects .project-card{background:linear-gradient(145deg,#1b304c,#111f36);color:#faf6ed;border-color:#c8a35c77}
html #projects .project-card.is-active{border-color:#e9c779;box-shadow:0 0 0 1px #d4a01755,0 0 30px #d4a01722,0 22px 48px #0006}
html #projects .project-bottom a,html #projects .more-projects>a{color:#f4d58f;border-color:#c8a35c}
html #projects .project-bottom>span,html #projects .carousel-caption,html #projects .more-projects,html #projects .more-projects>span,html #projects .more-projects p{color:#c0ccdd}
html #projects .carousel-pause{color:#f3dfb5;background:#192d47;border-color:#c8a35c66}
html #projects .carousel-dots button:after{border-color:#e8c779}
html #projects .carousel-dots button[aria-pressed=true]:after{background:#efc875}
html #projects>.section-stream,html #projects>.gold-atmosphere{opacity:1}
/* Explicit text colors for the mixed cream/navy About section. */
html[data-theme=light] #edge>.about-intro .title,html[data-theme=light] #edge .edgegrid>div:last-child>.title{color:#10223c}
html[data-theme=dark] #edge h2{color:#fff8eb}
html #edge .edgebox{color:#fff8eb;background:#132941}
html #edge .edgebox h3{color:#fff8eb}
html #edge .edgebox .tag,html #edge .edgebox .metric b{color:#f0ce85}
html #edge .edgebox p,html #edge .edgebox .metric span{color:#d7e2ee}
html[data-theme=light] #edge .edge-item b{color:#10223c}
html[data-theme=dark] #edge .edge-item b{color:#fff8eb}
/* My Process always uses light text on its navy surface. */
html #process.delivery-process{color:#fff8eb;scroll-margin-top:90px}
html #process.delivery-process h2,html #process.delivery-process h3{color:#fff8eb}
html #process.delivery-process .tag,html #process.delivery-process li>span{color:#f0ce85}
html #process.delivery-process p{color:#d7e2ee}
html #process.delivery-process li{border-bottom-color:#d8ba7044}
@media(max-width:700px){html #process.delivery-process{scroll-margin-top:76px}}
