/* Work page: light mode (dark stays exactly as before). Loaded after workcomplete.css, closing.css and theme.css.
   One mood per mode: the whole page uses one warm light base (#f4f2ee, the same as the home page and the closing block). */
html[data-theme="light"] { --bg: #f4f2ee; --fg: #141414; --muted: #55555d; --line: rgba(0, 0, 0, 0.18); }

/* the dark WebGL glow belongs to dark mode only; the rising dots stay in light mode (orange dots, drawn by workcomplete.js, normal blending) */
html[data-theme="light"] #webgl { display: none; }
html[data-theme="light"] #dust { mix-blend-mode: normal; }
html[data-theme="light"] .noise { opacity: 0.03; }

/* intro */
html[data-theme="light"] .intro-copy p, html[data-theme="light"] .intro-copy h1 .intro-sub { color: #4d4d55; }
html[data-theme="light"] .scroll-cue span { border-color: #141414; }
html[data-theme="light"] .logo-glow { display: none; }
html[data-theme="light"] .floating-tile.image-tile { box-shadow: 0 18px 44px rgba(60, 40, 10, 0.22); }
html[data-theme="light"] .floating-tile.text-tile { background: rgba(255, 255, 255, 0.6); border-color: rgba(0, 0, 0, 0.16); color: #141414; box-shadow: 0 10px 30px rgba(60, 40, 10, 0.12); }
@media (hover: none) and (pointer: coarse) { html[data-theme="light"] .floating-tile.text-tile { background: rgba(255, 255, 255, 0.9); } }

/* the lines that join the projects */
html[data-theme="light"] .threads path { stroke: rgba(0, 0, 0, 0.22); filter: none; }

/* industry filter */
html[data-theme="light"] .work-filter__btn { background: #fffdf9; color: #1a1a1f; border-color: rgba(0, 0, 0, 0.28); }
html[data-theme="light"] .work-filter__btn:hover, html[data-theme="light"] .work-filter__btn:focus-visible { border-color: #A64A00; color: #A64A00; }
html[data-theme="light"] .work-filter__btn.is-active { background: #B04F00; border-color: #B04F00; color: #fff; }
html[data-theme="light"] .work-filter__more { color: #A64A00; }

/* project cards */
html[data-theme="light"] .project-media { border-color: rgba(0, 0, 0, 0.14); box-shadow: 0 10px 50px rgba(60, 40, 10, 0.2); background-color: #fffdf9; }
html[data-theme="light"] .project-media::after { background: radial-gradient(circle 170px at var(--mx) var(--my), transparent, rgba(0, 0, 0, 0.08)); }
html[data-theme="light"] .project-link { border-bottom-color: rgba(0, 0, 0, 0.6); }

/* cursor dot: dark on the light page (the difference blend would vanish) */
html[data-theme="light"] .cursor { background: #141414; mix-blend-mode: normal; }
html[data-theme="light"] .cursor.is-active { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.28); }

/* closing block and footer on the same base; small footer text deep enough to read (4.5:1) */
html[data-theme="light"] .cl, html[data-theme="light"] .footer-section { background: #f4f2ee; background-color: #f4f2ee; }
html[data-theme="light"] .col-header, html[data-theme="light"] .footer-brand__tag { color: #55555b; }
html[data-theme="light"] .footer-section span[style*="#666"] { color: #55555b !important; }
html[data-theme="light"] .site-breadcrumb__sep { color: #A64A00; }
