Merged duplicate .hero-video-bg rules into a single definition
Bug fix
Smooth scroll handler threw a querySelector syntax error on bare # hrefs (used by placeholder social/footer links):
// Before — crashes on href="#"
consttarget=document.querySelector(this.getAttribute('href'));// After
consthref=this.getAttribute('href');if(!href||href==='#')return;consttarget=document.querySelector(href);
Docs
Removed hardcoded /home/philip/Work/radiance/ path from prototype-guide.md
Updated file structure references in prototype-guide.md and README.md
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
The entire site lived in a single 1,438-line `index.html` with all CSS and JS inline, making it hard to maintain, cache, or scale across environments.
## Structure
- Extracted `<style>` block → `css/styles.css`
- Extracted `<script>` block → `js/main.js`
- `index.html` reduced from 1,438 → 576 lines
## Inline style cleanup
Removed all 15 `style=""` attributes from HTML elements; replaced with semantic CSS classes:
- `btn-block` — full-width service card CTAs (`margin-top: 1rem; width: 100%`)
- `holistic-description` / `holistic-description-text` — holistic section copy block
- Merged duplicate `.hero-video-bg` rules into a single definition
## Bug fix
Smooth scroll handler threw a `querySelector` syntax error on bare `#` hrefs (used by placeholder social/footer links):
```js
// Before — crashes on href="#"
const target = document.querySelector(this.getAttribute('href'));
// After
const href = this.getAttribute('href');
if (!href || href === '#') return;
const target = document.querySelector(href);
```
## Docs
- Removed hardcoded `/home/philip/Work/radiance/` path from `prototype-guide.md`
- Updated file structure references in `prototype-guide.md` and `README.md`

<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The entire site lived in a single 1,438-line
index.htmlwith all CSS and JS inline, making it hard to maintain, cache, or scale across environments.Structure
<style>block →css/styles.css<script>block →js/main.jsindex.htmlreduced from 1,438 → 576 linesInline style cleanup
Removed all 15
style=""attributes from HTML elements; replaced with semantic CSS classes:btn-block— full-width service card CTAs (margin-top: 1rem; width: 100%)holistic-description/holistic-description-text— holistic section copy block.hero-video-bgrules into a single definitionBug fix
Smooth scroll handler threw a
querySelectorsyntax error on bare#hrefs (used by placeholder social/footer links):Docs
/home/philip/Work/radiance/path fromprototype-guide.mdprototype-guide.mdandREADME.md💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
The latest updates on your projects. Learn more about Vercel for GitHub.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.