html[data-theme=dark]{--black:#0C0D10;--black-2:#111318;--paper:#F5F2EC;--paper-dim:#C9C7C1;--muted:#A0A2A9;--line:#2A2C31;--red:#D63A2E;--gold:#C9A15C;color-scheme:dark}html[data-theme=medium]{--black:#34363C;--black-2:#494C54;--paper:#F5F2EC;--paper-dim:#E1DED8;--muted:#D0CDD0;--line:#666973;--red:#E76C54;--gold:#C9A15C;color-scheme:dark}#themeSelect{font:inherit;font-size:.8rem;color:var(--paper);background:var(--black);border:1px solid var(--line);padding:.45rem;border-radius:4px}.archive-link,.about-body a{text-decoration:underline;text-underline-offset:4px;font-size:1rem}.pending-copy,.contact-note{font-size:1rem;max-width:65ch}.work-track-wrap:not(.animated-track){overflow-x:auto}.project-media-fallback{background-size:cover;background-position:center}.project-media.is-playing .project-media-fallback{opacity:0}.project-play{background:#171717;color:white;border-color:white;opacity:1;transform:translate(-50%,-50%)}.pm-player{width:100%;max-height:70vh;margin:3rem 0 2rem;background:#111}.project-modal:not(.is-open){visibility:hidden}.project-modal-inner{margin-top:0}.stats{grid-template-columns:repeat(3,1fr)}.hero-content,.hero-content .hero-headline,.hero-content .hero-sub,.hero-content .hero-kicker{color:#fff}.hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.25))}.hero .btn-ghost{color:#fff;border-color:#fff}.hero .video-controls{color:#fff}.hero .vc-btn{color:#fff}.hero .hero-scroll-cue{color:#fff}html[data-theme]:not([data-theme=light]) .nav{background:var(--black)}:focus-visible{outline:3px solid var(--red);outline-offset:4px}.archive-page{padding:3rem 5vw;font-size:16px}.archive-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:2rem}.archive-grid video,.archive-grid iframe{width:100%;aspect-ratio:16/9;background:#111;border:0}.archive-grid h2{font-family:var(--serif);font-weight:400}.archive-filter{margin:1rem 0 2rem;font:inherit;padding:.5rem;color:var(--paper);background:var(--black-2)}.archive-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:4rem}.archive-grid article[hidden]{display:none}.archive-grid video.vertical{aspect-ratio:9/16;max-height:65vh}.footer-links{flex-wrap:wrap}.cta-contacts{overflow-wrap:anywhere}@media(max-width:700px){.stats{grid-template-columns:1fr}.project-info{flex-wrap:wrap}.nav{gap:.5rem}.nav-logo{font-size:1rem}.project-meta{margin-left:0}.pm-player{margin-top:2rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.cursor,.grain{display:none!important}.reveal-word{opacity:1!important}}
.hero-video-fallback{background-image:url(images/showreel.webp);background-size:cover;background-position:center}.hero .vc-btn svg{fill:currentColor}.hero .vc-timeline-fill{background:#fff}.hero .btn-primary{color:#171717}.intro.is-hidden{visibility:hidden}.project-modal.is-open{visibility:visible}.archive-page a:focus-visible{outline-offset:4px}
#analytics-choice{position:fixed;bottom:16px;left:16px;right:16px;max-width:540px;z-index:100000;background:#202329;color:#fff;padding:16px;border:1px solid #777;border-radius:8px;font:16px system-ui}#analytics-choice a{color:#fff;text-decoration:underline}#analytics-choice button,[data-consent-reset]{padding:8px 12px;background:#fff;color:#111;border:1px solid #777;border-radius:4px;cursor:pointer}.archive-page footer{padding:24px}.archive-page video{display:block;margin:20px 0}

.credential-section{margin:3rem 0}.credential-section h2{font-family:var(--serif);font-size:2rem;margin-bottom:1rem}.credential-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.5rem}.credential-card{border:1px solid var(--line);padding:1rem;background:var(--black-2)}.credential-card img{width:100%;height:200px;object-fit:contain;background:#fff}.credential-card h3{font-size:1.2rem;margin:1rem 0}.credential-card p{margin:.6rem 0}.credential-card a{text-decoration:underline;text-underline-offset:3px}.credentials-page main>p{margin:1rem 0}

/* RC3: readable light-theme typography; preserve media overlays and accents. */
html:not([data-theme]),html[data-theme=light]{--paper:#000000;--paper-dim:#000000;--muted:#000000;color-scheme:light}
html[data-theme=light] :is(.pm-block h4,.philosophy-tag,.cta-kicker,.software-list li:hover,.software-list li::after,.form-error){color:#000000}
html[data-theme=light] :is(.reveal-word,.process-step){opacity:1}
html[data-theme=light] :is(input,textarea)::placeholder{color:#000000;opacity:1}
html[data-theme=light] .hero .vc-time{color:#ffffff}
html[data-theme=light] .hero .btn-primary{background:#ffffff;color:#000000}
html[data-theme=light] .hero .btn-primary:hover{background:var(--gold)}
html[data-theme=light] :is(#analytics-choice button,[data-consent-reset]){color:#000000}
html[data-theme=light] .form-error:not(:empty){text-decoration:underline;text-decoration-color:var(--red)}

/* RC4: reserve header space in hero; allow content to grow on short screens. */
.hero{height:auto;min-height:max(560px,100svh);padding-top:var(--nav-h);}
.hero-content{padding-top:1.5rem;padding-bottom:clamp(4rem,10vh,8rem);width:100%;}
.hero-headline{font-size:clamp(2.4rem,min(6.6vw,10vh),5.6rem);}
.hero-headline .line{overflow:visible;}
.nav:focus-within{transform:none;}
html{scroll-padding-top:var(--nav-h);}
@media(max-width:700px){.hero-content{padding-inline:1.25rem}.hero-headline{font-size:clamp(2rem,8vw,3.5rem)}.hero-sub{margin:1rem 0 1.5rem}}
