Agent skill for creative 3D visualization: turn an idea into a Three.js/Blender scene worth exploring. Claude Code + Codex plugin, 223 recipes, 440 knowledge records, 22 proved kits, 37 runnable studies.
feat(site): daylight polish, catalog tabs, loop motion, brand assets
viettranx0b415bb74dfa
diff --git a/README.md b/README.mdindex bb349b6..d720b5f 100644--- a/README.md+++ b/README.md@@ -1,10 +1,18 @@-<h1 align="center">3Dviz Pro Max</h1>+<!-- title: 3Dviz Pro Max -->+<p align="center">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="docs/brand/wordmark-dark.svg">+ <img src="docs/brand/wordmark.svg" alt="3Dviz Pro Max" height="56">+ </picture>+</p><p align="center"><b>Turn an idea into a 3D scene worth exploring.</b></p>+<!-- CI badge: static until the repository is public and the workflow has run once, then switch+ back to https://github.com/viettranx/3dviz-pro-max/actions/workflows/ci.yml/badge.svg --><p align="center"><a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-0b7553?style=flat-square"></a>- <a href="https://github.com/viettranx/3dviz-pro-max/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/viettranx/3dviz-pro-max/actions/workflows/ci.yml/badge.svg"></a>+ <a href=".github/workflows/ci.yml"><img alt="CI: validate and package" src="https://img.shields.io/badge/CI-validate%20%26%20package-1c2a23?style=flat-square"></a><a href="docs/installation.md#claude-code"><img alt="Claude Code plugin" src="https://img.shields.io/badge/Claude%20Code-plugin-1c2a23?style=flat-square"></a><a href="docs/installation.md#codex"><img alt="Codex" src="https://img.shields.io/badge/Codex-skill%20folder-1c2a23?style=flat-square"></a><a href="https://threejs.org/"><img alt="three.js 0.180" src="https://img.shields.io/badge/three.js-0.180-0b7553?style=flat-square"></a>@@ -19,7 +27,7 @@</p><p align="center">- <a href="https://3dviz.dev">Landing page</a><sub> (soon)</sub> ·+ <a href="https://3dviz.dev">Landing page</a> ·<a href="docs/installation.md">Install</a> ·<a href="examples/README.md">Examples</a> ·<a href="skills/3dviz-pro-max/SKILL.md">Skill</a> ·@@ -196,7 +204,7 @@ pnpm --dir site install --frozen-lockfilepnpm --dir site build # build-data → tsc --noEmit → vite build```-The page is **not published yet**: the Cloudflare Pages project is not created, and the Harness Village recording's redistribution rights are still open. Build steps, byte budgets, measured sizes and publishing caveats: [docs/site.md](docs/site.md).+The page is live at **[3dviz.dev](https://3dviz.dev)** (Cloudflare Pages; anatomy geometry served from R2). Build steps, byte budgets, measured sizes and caveats: [docs/site.md](docs/site.md).## Repository mapdiff --git a/docs/brand/logo-mark.svg b/docs/brand/logo-mark.svgnew file mode 100644index 0000000..9cfbec5--- /dev/null+++ b/docs/brand/logo-mark.svg@@ -0,0 +1,9 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48" height="48" role="img" aria-label="3Dviz Pro Max">+ <!-- The site header's logo mark (site/src/components/site-nav.tsx) on a transparent background,+ for the repository README. Same geometry and strokes as the nav; no cream tile. -->+ <g fill="none" stroke="#0b7553" stroke-width="2.6" stroke-linejoin="round" stroke-linecap="round">+ <path d="M24 5 41 14.5v19L24 43 7 33.5v-19Z"/>+ <path d="M7 14.5 24 24l17-9.5M24 24v19"/>+ </g>+ <circle cx="24" cy="24" r="3.2" fill="#c7ef7a" stroke="#0b7553" stroke-width="1.6"/>+</svg>diff --git a/docs/brand/wordmark-dark.svg b/docs/brand/wordmark-dark.svgnew file mode 100644index 0000000..1ae9ace--- /dev/null+++ b/docs/brand/wordmark-dark.svg@@ -0,0 +1,13 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7616.3 802.4" width="7616.3" height="802.4" role="img" aria-label="3Dviz Pro Max">+ <!-- Generated by site/scripts/brand-wordmark.py: the logo mark plus "3Dviz Pro Max" set in Outfit 800 and converted to outlines. Edit the script, not this file. -->+ <g transform="translate(-64.84 8.56) scale(16.5899)">+ <g fill="none" stroke="#9be6c4" stroke-width="2.6" stroke-linejoin="round" stroke-linecap="round">+ <path d="M24 5 41 14.5v19L24 43 7 33.5v-19Z"/>+ <path d="M7 14.5 24 24l17-9.5M24 24v19"/>+ </g>+ <circle cx="24" cy="24" r="3.2" fill="#c7ef7a" stroke="#9be6c4" stroke-width="1.6"/>+ </g>+ <g transform="translate(873.81 761.22) scale(1 -1)" fill="#fffaf2">+ <path d="M255.75 -11.5Q181.25 -11.5 118.0 14.0Q54.75 39.5 11.25 87.0L124.5 198.75Q142.5 172.75 178.25 156.375Q214.0 140 253.0 140Q286.25 140.0 311.625 151.5Q337.0 163 351.5 184.5Q366.0 206 366.0 235.75Q366.0 266 351.125 287.25Q336.25 308.5 308.625 319.875Q281.0 331.25 242.5 331.25Q223.0 331.25 201.375 328.75Q179.75 326.25 167.0 321.25L245.0 418.75Q276.5 426.75 303.0 432.25Q329.5 437.75 350.75 437.75Q404.75 437.75 447.875 412.5Q491.0 387.25 516.125 340.75Q541.25 294.25 541.25 230.5Q541.25 158.75 505.875 104.125Q470.5 49.5 406.375 19.0Q342.25 -11.5 255.75 -11.5ZM167.0 321.25V418.5L331.5 611.75H525.75L355.5 418.5ZM59.75 560.25V709.0H525.75V611.75L390.75 560.25ZM752.5 0.0V153.75H923.0Q983.0 153.75 1027.375 176.875Q1071.75 200.0 1095.875 245.375Q1120.0 290.75 1120.0 355.5Q1120.0 420 1095.375 464.5Q1070.75 509.0 1026.75 532.125Q982.75 555.25 923.0 555.25H745.0V709H923.75Q1005.75 709.0 1074.875 683.625Q1144.0 658.25 1195.125 611.125Q1246.25 564.0 1274.375 499.0Q1302.5 434.0 1302.5 354.5Q1302.5 275.25 1274.375 210.125Q1246.25 145.0 1195.25 97.875Q1144.25 50.75 1075.5 25.375Q1006.75 0.0 925.75 0.0ZM632.25 0.0V709.0H811.0V0ZM1528.25 0.0 1328.75 489.0H1515.25L1641.75 77.0H1570.5L1696.5 489.0H1881.0L1681.5 0.0ZM1930.0 0V489H2104.5V0.0ZM2017.25 545.5Q1978.0 545.5 1952.0 572.375Q1926.0 599.25 1926.0 638.5Q1926.0 677.75 1952.0 704.625Q1978.0 731.5 2017.25 731.5Q2057.5 731.5 2083.0 704.625Q2108.5 677.75 2108.5 638.5Q2108.5 599.25 2083.0 572.375Q2057.5 545.5 2017.25 545.5ZM2177.0 104.25 2409.0 384.75H2623.5L2391.5 104.25ZM2177.0 0V104.25L2289.75 142.0H2617.5V0.0ZM2194.25 347.0V489.0H2623.5V384.75L2510.75 347.0ZM3039.5 253.5V386.5H3180.0Q3206.1372832369943 386.5 3227.69436416185 397.20075757575756Q3249.251445086705 407.9015151515151 3262.250722543353 429.14166666666665Q3275.25 450.3818181818182 3275.25 481.25Q3275.25 512.1181818181818 3262.250722543353 533.3583333333333Q3249.251445086705 554.5984848484849 3227.69436416185 565.2992424242425Q3206.1372832369943 576.0 3180.0 576H3039.5V709.0H3210.75Q3279.0 709 3333.75 681.625Q3388.5 654.25 3420.5 603.4237804878048Q3452.5 552.5975609756098 3452.5 481.2987804878049Q3452.5 410.75 3420.5 359.5Q3388.5 308.25 3333.75 280.875Q3279.0 253.5 3210.75 253.5ZM2898.25 0.0V709.0H3077.0V0ZM3525.5 0.0V489.0H3700.0V0ZM3700.0 266.25 3622.25 331.75Q3650.75 414.5 3698.745398773006 456.75Q3746.7407975460123 499.0 3824.25 499.0Q3858.75 499.0 3884.375 489.75Q3910.0 480.5 3927.5 462.0L3827.0 326.5Q3818.5 336.0 3804.291666666667 341.625Q3790.0833333333335 347.25 3771.5 347.25Q3737.5 347.25 3718.75 326.688679245283Q3700.0 306.12735849056605 3700.0 266.25ZM4219.5 -11.5Q4141.25 -11.5 4079.375 22.0Q4017.5 55.5 3981.75 114.0Q3946.0 172.5 3946.0 245.5Q3946.0 318.5 3981.375 376.0Q4016.75 433.5 4078.625 467.0Q4140.5 500.5 4218.75 500.5Q4297.25 500.5 4358.75 467.125Q4420.25 433.75 4456.0 376.125Q4491.75 318.5 4491.75 245.5Q4491.75 172.5 4456.375 114.0Q4421.0 55.5 4359.5 22.0Q4298.0 -11.5 4219.5 -11.5ZM4218.75 144.0Q4247.75 144.0 4269.5 156.5Q4291.25 169.0 4303.125 191.875Q4315.0 214.75 4315.0 244.75Q4315.0 274.75 4302.625 297.375Q4290.25 320.0 4269.0 332.5Q4247.75 345.0 4218.75 345.0Q4190.75 345.0 4169.0 332.125Q4147.25 319.25 4135.0 296.625Q4122.75 274.0 4122.75 244.0Q4122.75 214.75 4135.0 191.875Q4147.25 169.0 4169.0 156.5Q4190.75 144.0 4218.75 144.0ZM4758.25 0.0V709.0H4887.0L5158.5 298.25H5098.25L5369.0 709H5497.75V0.0H5320.5V412.5L5348.75 404.75L5186.0 160H5070.0L4908.0 404.75L4935.5 412.5V0.0ZM5815.5 -10.0Q5747.5 -10.0 5694.625 23.0Q5641.75 56.0 5611.625 113.25Q5581.5 170.5 5581.5 244.25Q5581.5 318.25 5611.625 375.875Q5641.75 433.5 5694.625 466.25Q5747.5 499.0 5815.5 499.0Q5861.5 499.0 5899.5 482.25Q5937.5 465.5 5962.125 435.75Q5986.75 406.0 5992.0 367.5V121.5Q5986.75 83.0 5962.25 53.25Q5937.75 23.5 5899.625 6.75Q5861.5 -10.0 5815.5 -10.0ZM5853.0 145Q5896.0 145 5922.25 172.875Q5948.5 200.75 5948.5 244.5Q5948.5 274.0 5936.75 296.125Q5925.0 318.25 5903.5 331.125Q5882.0 344 5853.75 344.0Q5825.75 344.0 5804.25 331.125Q5782.75 318.25 5770.125 295.75Q5757.5 273.25 5757.5 244.5Q5757.5 215.75 5769.75 193.25Q5782.0 170.75 5803.875 157.875Q5825.75 145.0 5853.0 145ZM5942.25 0.0V131.25L5967.25 250.5L5942.25 368.75V489.0H6113.0V0ZM6513.25 0.0 6407.5 181.25 6368.0 204.5 6174.5 489.0H6375.75L6478.5 312.5L6517.0 291L6712.75 0.0ZM6164.75 0.0 6366.25 289.25 6464.75 181.75 6351.25 0.0ZM6510.5 205.0 6411.75 312.25 6516.75 489.0H6703.0Z"/>+ </g>+</svg>diff --git a/docs/brand/wordmark.png b/docs/brand/wordmark.pngnew file mode 100644index 0000000..a6151b9Binary files /dev/null and b/docs/brand/wordmark.png differdiff --git a/docs/brand/wordmark.svg b/docs/brand/wordmark.svgnew file mode 100644index 0000000..79a316a--- /dev/null+++ b/docs/brand/wordmark.svg@@ -0,0 +1,13 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 7616.3 802.4" width="7616.3" height="802.4" role="img" aria-label="3Dviz Pro Max">+ <!-- Generated by site/scripts/brand-wordmark.py: the logo mark plus "3Dviz Pro Max" set in Outfit 800 and converted to outlines. Edit the script, not this file. -->+ <g transform="translate(-64.84 8.56) scale(16.5899)">+ <g fill="none" stroke="#0b7553" stroke-width="2.6" stroke-linejoin="round" stroke-linecap="round">+ <path d="M24 5 41 14.5v19L24 43 7 33.5v-19Z"/>+ <path d="M7 14.5 24 24l17-9.5M24 24v19"/>+ </g>+ <circle cx="24" cy="24" r="3.2" fill="#c7ef7a" stroke="#0b7553" stroke-width="1.6"/>+ </g>+ <g transform="translate(873.81 761.22) scale(1 -1)" fill="#1c2a23">+ <path d="M255.75 -11.5Q181.25 -11.5 118.0 14.0Q54.75 39.5 11.25 87.0L124.5 198.75Q142.5 172.75 178.25 156.375Q214.0 140 253.0 140Q286.25 140.0 311.625 151.5Q337.0 163 351.5 184.5Q366.0 206 366.0 235.75Q366.0 266 351.125 287.25Q336.25 308.5 308.625 319.875Q281.0 331.25 242.5 331.25Q223.0 331.25 201.375 328.75Q179.75 326.25 167.0 321.25L245.0 418.75Q276.5 426.75 303.0 432.25Q329.5 437.75 350.75 437.75Q404.75 437.75 447.875 412.5Q491.0 387.25 516.125 340.75Q541.25 294.25 541.25 230.5Q541.25 158.75 505.875 104.125Q470.5 49.5 406.375 19.0Q342.25 -11.5 255.75 -11.5ZM167.0 321.25V418.5L331.5 611.75H525.75L355.5 418.5ZM59.75 560.25V709.0H525.75V611.75L390.75 560.25ZM752.5 0.0V153.75H923.0Q983.0 153.75 1027.375 176.875Q1071.75 200.0 1095.875 245.375Q1120.0 290.75 1120.0 355.5Q1120.0 420 1095.375 464.5Q1070.75 509.0 1026.75 532.125Q982.75 555.25 923.0 555.25H745.0V709H923.75Q1005.75 709.0 1074.875 683.625Q1144.0 658.25 1195.125 611.125Q1246.25 564.0 1274.375 499.0Q1302.5 434.0 1302.5 354.5Q1302.5 275.25 1274.375 210.125Q1246.25 145.0 1195.25 97.875Q1144.25 50.75 1075.5 25.375Q1006.75 0.0 925.75 0.0ZM632.25 0.0V709.0H811.0V0ZM1528.25 0.0 1328.75 489.0H1515.25L1641.75 77.0H1570.5L1696.5 489.0H1881.0L1681.5 0.0ZM1930.0 0V489H2104.5V0.0ZM2017.25 545.5Q1978.0 545.5 1952.0 572.375Q1926.0 599.25 1926.0 638.5Q1926.0 677.75 1952.0 704.625Q1978.0 731.5 2017.25 731.5Q2057.5 731.5 2083.0 704.625Q2108.5 677.75 2108.5 638.5Q2108.5 599.25 2083.0 572.375Q2057.5 545.5 2017.25 545.5ZM2177.0 104.25 2409.0 384.75H2623.5L2391.5 104.25ZM2177.0 0V104.25L2289.75 142.0H2617.5V0.0ZM2194.25 347.0V489.0H2623.5V384.75L2510.75 347.0ZM3039.5 253.5V386.5H3180.0Q3206.1372832369943 386.5 3227.69436416185 397.20075757575756Q3249.251445086705 407.9015151515151 3262.250722543353 429.14166666666665Q3275.25 450.3818181818182 3275.25 481.25Q3275.25 512.1181818181818 3262.250722543353 533.3583333333333Q3249.251445086705 554.5984848484849 3227.69436416185 565.2992424242425Q3206.1372832369943 576.0 3180.0 576H3039.5V709.0H3210.75Q3279.0 709 3333.75 681.625Q3388.5 654.25 3420.5 603.4237804878048Q3452.5 552.5975609756098 3452.5 481.2987804878049Q3452.5 410.75 3420.5 359.5Q3388.5 308.25 3333.75 280.875Q3279.0 253.5 3210.75 253.5ZM2898.25 0.0V709.0H3077.0V0ZM3525.5 0.0V489.0H3700.0V0ZM3700.0 266.25 3622.25 331.75Q3650.75 414.5 3698.745398773006 456.75Q3746.7407975460123 499.0 3824.25 499.0Q3858.75 499.0 3884.375 489.75Q3910.0 480.5 3927.5 462.0L3827.0 326.5Q3818.5 336.0 3804.291666666667 341.625Q3790.0833333333335 347.25 3771.5 347.25Q3737.5 347.25 3718.75 326.688679245283Q3700.0 306.12735849056605 3700.0 266.25ZM4219.5 -11.5Q4141.25 -11.5 4079.375 22.0Q4017.5 55.5 3981.75 114.0Q3946.0 172.5 3946.0 245.5Q3946.0 318.5 3981.375 376.0Q4016.75 433.5 4078.625 467.0Q4140.5 500.5 4218.75 500.5Q4297.25 500.5 4358.75 467.125Q4420.25 433.75 4456.0 376.125Q4491.75 318.5 4491.75 245.5Q4491.75 172.5 4456.375 114.0Q4421.0 55.5 4359.5 22.0Q4298.0 -11.5 4219.5 -11.5ZM4218.75 144.0Q4247.75 144.0 4269.5 156.5Q4291.25 169.0 4303.125 191.875Q4315.0 214.75 4315.0 244.75Q4315.0 274.75 4302.625 297.375Q4290.25 320.0 4269.0 332.5Q4247.75 345.0 4218.75 345.0Q4190.75 345.0 4169.0 332.125Q4147.25 319.25 4135.0 296.625Q4122.75 274.0 4122.75 244.0Q4122.75 214.75 4135.0 191.875Q4147.25 169.0 4169.0 156.5Q4190.75 144.0 4218.75 144.0ZM4758.25 0.0V709.0H4887.0L5158.5 298.25H5098.25L5369.0 709H5497.75V0.0H5320.5V412.5L5348.75 404.75L5186.0 160H5070.0L4908.0 404.75L4935.5 412.5V0.0ZM5815.5 -10.0Q5747.5 -10.0 5694.625 23.0Q5641.75 56.0 5611.625 113.25Q5581.5 170.5 5581.5 244.25Q5581.5 318.25 5611.625 375.875Q5641.75 433.5 5694.625 466.25Q5747.5 499.0 5815.5 499.0Q5861.5 499.0 5899.5 482.25Q5937.5 465.5 5962.125 435.75Q5986.75 406.0 5992.0 367.5V121.5Q5986.75 83.0 5962.25 53.25Q5937.75 23.5 5899.625 6.75Q5861.5 -10.0 5815.5 -10.0ZM5853.0 145Q5896.0 145 5922.25 172.875Q5948.5 200.75 5948.5 244.5Q5948.5 274.0 5936.75 296.125Q5925.0 318.25 5903.5 331.125Q5882.0 344 5853.75 344.0Q5825.75 344.0 5804.25 331.125Q5782.75 318.25 5770.125 295.75Q5757.5 273.25 5757.5 244.5Q5757.5 215.75 5769.75 193.25Q5782.0 170.75 5803.875 157.875Q5825.75 145.0 5853.0 145ZM5942.25 0.0V131.25L5967.25 250.5L5942.25 368.75V489.0H6113.0V0ZM6513.25 0.0 6407.5 181.25 6368.0 204.5 6174.5 489.0H6375.75L6478.5 312.5L6517.0 291L6712.75 0.0ZM6164.75 0.0 6366.25 289.25 6464.75 181.75 6351.25 0.0ZM6510.5 205.0 6411.75 312.25 6516.75 489.0H6703.0Z"/>+ </g>+</svg>diff --git a/docs/site.md b/docs/site.mdindex 09ed5f9..cbcd8e2 100644--- a/docs/site.md+++ b/docs/site.md@@ -164,6 +164,9 @@ describe a page that no longer exists.- **Compatibility labels are the documented ones.** The install card's WORKS WITH rows carryEVALUATED (Codex) and OBSERVED (Claude Code) from [docs/compatibility.md](compatibility.md),not the mock-up's "SUPPORTED".+- **Blender, Three.js and Chromium marks are trademarks of their owners, used to identify the+ tools.** They are inlined monochrome in the STEP 05 diagram+ (`site/src/components/brand-logos.tsx`), which names its sources.- **BodyParts3D attribution** for the anatomy STLs stays in the page footer and in the examples.- The Harness Village recording (`site/public/media/origin/`) is still committed although nosection plays it since phase 8; its redistribution rights remain to be confirmed and it isdiff --git a/site/README.md b/site/README.mdindex 9e22678..94d8df8 100644--- a/site/README.md+++ b/site/README.md@@ -52,6 +52,21 @@ its kinds, so the kinds' one-liners are page copy in `src/lib/knowledge-kind-sumkind id; a kind without a line throws, and `tests/catalog-data.test.mjs` holds the two in step. Thefile is ~9 KB, so it ships in the entry bundle.+**The loop section moves once.** `#loop` (`src/sections/loop-section.tsx` + `loop-cards.tsx`)+reveals block by block the first time each block is scrolled to: the prompt types itself in a word+at a time, the dashed connectors draw downwards, the route chips pop and lift under the pointer,+the host probe draws itself as a small flow chart (`loop-probe-diagram.tsx`: the probe node, a+bus forking into the renderer and capture lanes, each branch a tool mark, its condition and the+outcome it forces — lines drawn by `stroke-dashoffset`, nodes popping in behind them; the lanes+stack and the bus becomes a drop line when the card is under 26 rem, and an `sr-only` list carries+the four condition → outcome pairs), the loop badge's `↺`+turns (again on hover) while the box's dashed edge — an inset SVG rect, so it can march — drifts+one slow cycle while it is on screen, and the report chips pop with a single nudge on "Still+limited". Every animation is opacity or transform only, so layout shift stays 0. The rules live in+`src/styles/loop-motion.css`, all scoped under `.loop-motion`, a class `useLoopArmed`+(`loop-motion.tsx`) adds from JavaScript and never under `prefers-reduced-motion`: unarmed, the+section renders as the finished design, never as a blank one.+Fonts are self-hosted in `public/fonts/` (Outfit, variable `wght` 100–900, for display and body —800 for the H1, 700 for section titles, 600 for buttons and card titles; JetBrains Mono for everykicker, caption and mono row — latin subsets, OFL, see `public/fonts/OFL.txt`). Only the displaydiff --git a/site/index.html b/site/index.htmlindex 6c3dc17..648692e 100644--- a/site/index.html+++ b/site/index.html@@ -4,7 +4,7 @@<meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><meta name="theme-color" content="#fffaf2" />- <title>3Dviz Pro Max — turn an idea into a 3D scene worth exploring</title>+ <title>3Dviz Pro Max — Turn an idea into a 3D scene worth exploring</title><metaname="description"content="A skill that gives your agent the knowledge, looks, kits and checks to visualize any subject in 3D — anatomy, maths, mechanisms, imagined worlds."@@ -23,7 +23,7 @@<!-- Share cards: absolute URLs, because a crawler resolves them against nothing. --><meta property="og:type" content="website" /><meta property="og:site_name" content="3Dviz Pro Max" />- <meta property="og:title" content="3Dviz Pro Max — turn an idea into a 3D scene worth exploring" />+ <meta property="og:title" content="3Dviz Pro Max — Turn an idea into a 3D scene worth exploring" /><metaproperty="og:description"content="A skill that gives your agent the knowledge, looks, kits and checks to visualize any subject in 3D — anatomy, maths, mechanisms, imagined worlds."@@ -38,7 +38,7 @@/><meta property="og:locale" content="en_US" /><meta name="twitter:card" content="summary_large_image" />- <meta name="twitter:title" content="3Dviz Pro Max — turn an idea into a 3D scene worth exploring" />+ <meta name="twitter:title" content="3Dviz Pro Max — Turn an idea into a 3D scene worth exploring" /><metaname="twitter:description"content="A skill that gives your agent the knowledge, looks, kits and checks to visualize any subject in 3D — anatomy, maths, mechanisms, imagined worlds."diff --git a/site/scripts/brand-wordmark.py b/site/scripts/brand-wordmark.pynew file mode 100644index 0000000..a4cff5d--- /dev/null+++ b/site/scripts/brand-wordmark.py@@ -0,0 +1,194 @@+"""Render the project wordmark — the cube mark plus "3Dviz Pro Max" — as one self-contained SVG.++The README needs a title image whose alignment survives any renderer, so the mark and the words+are baked into a single file instead of being aligned by HTML. Text is real Outfit outlines+(converted to paths), not a `<text>` element, so nothing depends on the reader having the font.++ python3 site/scripts/brand-wordmark.py # all three files+ python3 site/scripts/brand-wordmark.py --no-png # SVG only++Needs fontTools (`pip install fonttools`); the PNG fallback additionally needs cairosvg. Only a+woff2 subset of Outfit is committed, so the variable TTF is downloaded once into `--font-cache`+(default: the system temp), exactly as `site/scripts/social-assets.py` does. There is no font+fallback here: a wordmark set in the wrong face would be worse than no file at all.++Outputs (committed, so this script is not part of the build — run it when the mark or the+wordmark changes):++ docs/brand/wordmark.svg ink text on transparency, for light backgrounds+ docs/brand/wordmark-dark.svg cream text and a lighter mark, for dark backgrounds+ docs/brand/wordmark.png 2x raster of the light file, transparent, fallback only+"""+import argparse+from pathlib import Path+import tempfile+import urllib.request++from fontTools.pens.boundsPen import BoundsPen+from fontTools.pens.svgPathPen import SVGPathPen+from fontTools.pens.transformPen import TransformPen+from fontTools.ttLib import TTFont+from fontTools.varLib.instancer import instantiateVariableFont++ROOT = Path(__file__).resolve().parents[2]+BRAND = ROOT / 'docs' / 'brand'++TEXT = '3Dviz Pro Max'+WEIGHT = 800+OUTFIT_URL = 'https://github.com/google/fonts/raw/main/ofl/outfit/Outfit%5Bwght%5D.ttf'++INK, CREAM, GREEN, LIME, MINT = '#1c2a23', '#fffaf2', '#0b7553', '#c7ef7a', '#9be6c4'++# The mark's geometry, kept identical to docs/brand/logo-mark.svg and site-nav.tsx: an isometric+# cube outline with a dot at the centre, drawn in a 48x48 box.+MARK_PATHS = ('M24 5 41 14.5v19L24 43 7 33.5v-19Z', 'M7 14.5 24 24l17-9.5M24 24v19')+MARK_STROKE, DOT_R, DOT_STROKE = 2.6, 3.2, 1.6+# Ink extents of that drawing (outline corners plus half the stroke), not the 48x48 box.+MARK_BOX = (7 - MARK_STROKE / 2, 5 - MARK_STROKE / 2, 41 + MARK_STROKE / 2, 43 + MARK_STROKE / 2)++# Proportions, in cap heights. Verified by rendering the README header at 1x, 2x and in a dark+# scheme: the mark reads as the same weight as the capitals at 0.95, and 0.35 is the smallest gap+# that keeps the cube from crowding the "3".+MARK_HEIGHT_CAPS, GAP_CAPS, PADDING_RATIO = 0.95, 0.35, 0.04+PNG_HEIGHT = 112 # 2x the height the README asks the browser for+++def resolve_font_file(cache_dir: Path) -> Path:+ """The Outfit variable TTF, downloaded once into the cache directory."""+ cached = cache_dir / 'outfit-variable.ttf'+ if cached.exists():+ return cached+ try:+ cache_dir.mkdir(parents=True, exist_ok=True)+ with urllib.request.urlopen(OUTFIT_URL, timeout=30) as response:+ data = response.read()+ if not data.startswith(b'\x00\x01\x00\x00') and not data.startswith(b'true'):+ raise ValueError('not a TrueType payload')+ cached.write_bytes(data)+ except Exception as error:+ raise SystemExit(f'brand-wordmark: Outfit unavailable ({error}); '+ f'place Outfit[wght].ttf at {cached} and re-run')+ return cached+++def load_instance(font_file: Path) -> TTFont:+ """Outfit at one static weight; the wordmark is never rendered at another."""+ font = TTFont(str(font_file))+ if 'fvar' in font:+ instantiateVariableFont(font, {'wght': WEIGHT}, inplace=True, updateFontNames=False)+ return font+++def draw_text(font: TTFont) -> tuple[str, tuple[float, float, float, float]]:+ """The whole string as one SVG path plus its ink bounds, laid out on advance widths."""+ glyphs, cmap, hmtx = font.getGlyphSet(), font.getBestCmap(), font['hmtx']+ svg_pen, bounds_pen = SVGPathPen(glyphs), BoundsPen(glyphs)+ cursor = 0.0+ for character in TEXT:+ name = cmap.get(ord(character))+ if name is None:+ raise SystemExit(f'brand-wordmark: Outfit has no glyph for {character!r}')+ shift = (1, 0, 0, 1, cursor, 0)+ glyphs[name].draw(TransformPen(svg_pen, shift))+ glyphs[name].draw(TransformPen(bounds_pen, shift))+ cursor += hmtx[name][0]+ if bounds_pen.bounds is None:+ raise SystemExit('brand-wordmark: the text produced no outlines')+ return svg_pen.getCommands(), bounds_pen.bounds+++def cap_height(font: TTFont) -> float:+ """The cap height the layout is measured in: the OS/2 value, or the height of an "H"."""+ declared = getattr(font['OS/2'], 'sCapHeight', 0) or 0+ if declared:+ return float(declared)+ glyphs = font.getGlyphSet()+ pen = BoundsPen(glyphs)+ glyphs[font.getBestCmap()[ord('H')]].draw(pen)+ return float(pen.bounds[3])+++def compose(text_path: str, text_bounds: tuple, caps: float, dark: bool) -> tuple[str, dict]:+ """One SVG: the mark scaled to the caps, then the text, both in a tight padded viewBox."""+ text_x0, text_y0, text_x1, text_y1 = text_bounds+ mark_x0, mark_y0, mark_x1, mark_y1 = MARK_BOX+ mark_height = MARK_HEIGHT_CAPS * caps+ scale = mark_height / (mark_y1 - mark_y0)+ mark_width = (mark_x1 - mark_x0) * scale+ gap = GAP_CAPS * caps++ # Output space is y-down: the baseline sits at y = 0 and the text is flipped into place.+ content_top = min(-caps / 2 - mark_height / 2, -text_y1)+ content_bottom = max(-caps / 2 + mark_height / 2, -text_y0)+ padding = PADDING_RATIO * (content_bottom - content_top)+ width = mark_width + gap + (text_x1 - text_x0) + 2 * padding+ height = (content_bottom - content_top) + 2 * padding+ origin_x, origin_y = padding, padding - content_top++ # The mark's ink centre lands on the middle of the cap band, which is where the eye puts it.+ mark_dx = origin_x - mark_x0 * scale+ mark_dy = origin_y - caps / 2 - mark_height / 2 - mark_y0 * scale+ text_dx = origin_x + mark_width + gap - text_x0+ stroke, dot_fill = (MINT if dark else GREEN), LIME+ fill = CREAM if dark else INK++ svg = f'''<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {width:.1f} {height:.1f}" \+width="{width:.1f}" height="{height:.1f}" role="img" aria-label="{TEXT}">+ <!-- Generated by site/scripts/brand-wordmark.py: the logo mark plus "{TEXT}" set in Outfit \+{WEIGHT} and converted to outlines. Edit the script, not this file. -->+ <g transform="translate({mark_dx:.2f} {mark_dy:.2f}) scale({scale:.4f})">+ <g fill="none" stroke="{stroke}" stroke-width="{MARK_STROKE}" stroke-linejoin="round" \+stroke-linecap="round">+ <path d="{MARK_PATHS[0]}"/>+ <path d="{MARK_PATHS[1]}"/>+ </g>+ <circle cx="24" cy="24" r="{DOT_R}" fill="{dot_fill}" stroke="{stroke}" \+stroke-width="{DOT_STROKE}"/>+ </g>+ <g transform="translate({text_dx:.2f} {origin_y:.2f}) scale(1 -1)" fill="{fill}">+ <path d="{text_path}"/>+ </g>+</svg>+'''+ return svg, {'caps': caps, 'mark_height': mark_height, 'gap': gap,+ 'width': width, 'height': height}+++def write_png(svg: str, path: Path) -> None:+ try:+ import cairosvg+ except ImportError:+ print('! cairosvg missing; skipping the PNG fallback (SVG files are written)')+ return+ cairosvg.svg2png(bytestring=svg.encode(), write_to=str(path), output_height=PNG_HEIGHT)+ print(f' {path.relative_to(ROOT)}')+++def main() -> None:+ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument('--font-cache', type=Path,+ default=Path(tempfile.gettempdir()) / '3dviz-fonts',+ help='where the Outfit TTF is cached (default: the system temp)')+ parser.add_argument('--no-png', action='store_true', help='write the two SVG files only')+ args = parser.parse_args()++ font = load_instance(resolve_font_file(args.font_cache))+ text_path, text_bounds = draw_text(font)+ caps = cap_height(font)+ BRAND.mkdir(parents=True, exist_ok=True)++ light, measures = compose(text_path, text_bounds, caps, dark=False)+ dark, _ = compose(text_path, text_bounds, caps, dark=True)+ for name, content in (('wordmark.svg', light), ('wordmark-dark.svg', dark)):+ (BRAND / name).write_text(content)+ print(f' docs/brand/{name}')+ if not args.no_png:+ write_png(light, BRAND / 'wordmark.png')+ units = font['head'].unitsPerEm+ print(f'cap height {measures["caps"]:.0f}/{units} units · mark {measures["mark_height"]:.0f} '+ f'({MARK_HEIGHT_CAPS} caps) · gap {measures["gap"]:.0f} ({GAP_CAPS} caps) · '+ f'viewBox {measures["width"]:.0f}x{measures["height"]:.0f}')+++if __name__ == '__main__':+ main()diff --git a/site/src/components/brand-cube-logo.tsx b/site/src/components/brand-cube-logo.tsxnew file mode 100644index 0000000..6cc1485--- /dev/null+++ b/site/src/components/brand-cube-logo.tsx@@ -0,0 +1,24 @@+// Props: none. The nav mark as a real body instead of a drawing of one: six cream faces in a CSS+// 3D box, held in the pose whose projection is the flat mark (docs/brand/logo-mark.svg) — so the+// header looks unchanged while nothing moves — and turning once about a screen diagonal on load.+// Decorative: the wordmark beside it is the link text, so the whole mark is aria-hidden.+import '../styles/brand-cube-logo.css';++// Face order is irrelevant to the paint (each face carries its own transform); it only keeps the+// markup readable. The dot is a sibling of the faces: it is pinned to a cube corner, not to a face.+const FACES = ['front', 'back', 'right', 'left', 'top', 'bottom'] as const;++export default function BrandCubeLogo() {+ return (+ <span className="brand-cube" aria-hidden="true">+ <span className="brand-cube__turn">+ <span className="brand-cube__box">+ {FACES.map((face) => (+ <span key={face} className={`brand-cube__face brand-cube__face--${face}`} />+ ))}+ <span className="brand-cube__dot" />+ </span>+ </span>+ </span>+ );+}diff --git a/site/src/components/brand-logos.tsx b/site/src/components/brand-logos.tsxnew file mode 100644index 0000000..c4df111--- /dev/null+++ b/site/src/components/brand-logos.tsx@@ -0,0 +1,49 @@+// The monochrome marks of the three tools `host-probe.py` looks for, inlined so they inherit+// `currentColor` (mint on the dark card) and cost no request. Marks only — never the wordmarks.+//+// Sources, fetched 2026-09-10:+// Blender https://cdn.simpleicons.org/blender (Simple Icons, slug `blender`)+// Three.js https://cdn.simpleicons.org/threedotjs (Simple Icons, slug `threedotjs`)+// Chromium https://cdn.simpleicons.org/googlechrome (Simple Icons, slug `googlechrome`)+// Simple Icons has no `chromium` slug (404). Chromium's mark is the same pinwheel as Chrome's,+// recoloured in blues — compare https://upload.wikimedia.org/wikipedia/commons/2/28/Chromium_Logo.svg,+// whose three sectors, white ring and centre disc are that geometry — so once reduced to one+// colour the two silhouettes are the same drawing, and this is the one Simple Icons publishes.+// The Simple Icons collection is CC0; the marks stay their owners' trademarks and are used here+// only to identify the tools (docs/site.md, Caveats).+import type { SVGProps } from 'react';++type MarkProps = Omit<SVGProps<SVGSVGElement>, 'viewBox' | 'fill'>;++/** Every mark is a 24 × 24 glyph filled with the colour of the text around it. */+function Mark({ children, ...props }: MarkProps) {+ return (+ <svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false" {...props}>+ {children}+ </svg>+ );+}++export function BlenderMark(props: MarkProps) {+ return (+ <Mark {...props}>+ <path d="M12.51 13.214c.046-.8.438-1.506 1.03-2.006a3.424 3.424 0 0 1 2.212-.79c.85 0 1.631.3 2.211.79.592.5.983 1.206 1.028 2.005.045.823-.285 1.586-.865 2.153a3.389 3.389 0 0 1-2.374.938 3.393 3.393 0 0 1-2.376-.938c-.58-.567-.91-1.33-.865-2.152M7.35 14.831c.006.314.106.922.256 1.398a7.372 7.372 0 0 0 1.593 2.757 8.227 8.227 0 0 0 2.787 2.001 8.947 8.947 0 0 0 3.66.76 8.964 8.964 0 0 0 3.657-.772 8.285 8.285 0 0 0 2.785-2.01 7.428 7.428 0 0 0 1.592-2.762 6.964 6.964 0 0 0 .25-3.074 7.123 7.123 0 0 0-1.016-2.779 7.764 7.764 0 0 0-1.852-2.043h.002L13.566 2.55l-.02-.015c-.492-.378-1.319-.376-1.86.002-.547.382-.609 1.015-.123 1.415l-.001.001 3.126 2.543-9.53.01h-.013c-.788.001-1.545.518-1.695 1.172-.154.665.38 1.217 1.2 1.22V8.9l4.83-.01-8.62 6.617-.034.025c-.813.622-1.075 1.658-.563 2.313.52.667 1.625.668 2.447.004L7.414 14s-.069.52-.063.831zm12.09 1.741c-.97.988-2.326 1.548-3.795 1.55-1.47.004-2.827-.552-3.797-1.538a4.51 4.51 0 0 1-1.036-1.622 4.282 4.282 0 0 1 .282-3.519 4.702 4.702 0 0 1 1.153-1.371c.942-.768 2.141-1.183 3.396-1.185 1.256-.002 2.455.41 3.398 1.175.48.391.87.854 1.152 1.367a4.28 4.28 0 0 1 .522 1.706 4.236 4.236 0 0 1-.239 1.811 4.54 4.54 0 0 1-1.035 1.626" />+ </Mark>+ );+}++export function ThreeJsMark(props: MarkProps) {+ return (+ <Mark {...props}>+ <path d="M.38 0a.268.268 0 0 0-.256.332l2.894 11.716a.268.268 0 0 0 .01.04l2.89 11.708a.268.268 0 0 0 .447.128L23.802 7.15a.268.268 0 0 0-.112-.45l-5.784-1.667a.268.268 0 0 0-.123-.035L6.38 1.715a.268.268 0 0 0-.144-.04L.456.01A.268.268 0 0 0 .38 0zm.374.654L5.71 2.08 1.99 5.664zM6.61 2.34l4.864 1.4-3.65 3.515zm-.522.12l1.217 4.926-4.877-1.4zm6.28 1.538l4.878 1.404-3.662 3.53zm-.52.13l1.208 4.9-4.853-1.392zm6.3 1.534l4.947 1.424-3.715 3.574zm-.524.12l1.215 4.926-4.876-1.398zm-15.432.696l4.964 1.424-3.726 3.586zM8.047 8.15l4.877 1.4-3.66 3.527zm-.518.137l1.236 5.017-4.963-1.432zm6.274 1.535l4.965 1.425-3.73 3.586zm-.52.127l1.235 5.012-4.958-1.43zm-9.63 2.438l4.873 1.406-3.656 3.523zm5.854 1.687l4.863 1.403-3.648 3.51zm-.54.04l1.214 4.927-4.875-1.4zm-3.896 4.02l5.037 1.442-3.782 3.638z" />+ </Mark>+ );+}++export function ChromiumMark(props: MarkProps) {+ return (+ <Mark {...props}>+ <path d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z" />+ </Mark>+ );+}diff --git a/site/src/components/site-nav.tsx b/site/src/components/site-nav.tsxindex ec8d02d..a16eb9f 100644--- a/site/src/components/site-nav.tsx+++ b/site/src/components/site-nav.tsx@@ -1,6 +1,7 @@// Props: none. The design's sticky header: a blurred cream bar over the hero picture, the logo// mark and wordmark on the left, three anchors and the GitHub pill on the right. The skip link sits// before it so the keyboard reaches the content without walking the bar.+import BrandCubeLogo from './brand-cube-logo';import { GITHUB_REPO } from '../lib/site-links';const ANCHORS = [@@ -24,20 +25,7 @@ export default function SiteNav() {href="#hero-cinema"className="flex items-center gap-2.5 text-[16px] font-bold tracking-[-0.3px] whitespace-nowrap text-ink hover:text-ink">- <svg width="32" height="32" viewBox="0 0 48 48" aria-hidden="true" className="block flex-none">- <g- fill="none"- stroke="currentColor"- className="text-green"- strokeWidth="2.6"- strokeLinejoin="round"- strokeLinecap="round"- >- <path d="M24 5 41 14.5v19L24 43 7 33.5v-19Z" />- <path d="M7 14.5 24 24l17-9.5M24 24v19" />- </g>- <circle cx="24" cy="24" r="3.2" fill="#c7ef7a" stroke="#0b7553" strokeWidth="1.6" />- </svg>+ <BrandCubeLogo />3Dviz Pro Max</a><nav aria-label="Site" className="flex items-center gap-1.5 text-[14px] font-medium">@@ -57,6 +45,8 @@ export default function SiteNav() {</ul><ahref={GITHUB_REPO}+ target="_blank"+ rel="noopener noreferrer"className="ml-1.5 rounded-full bg-ink px-[18px] py-[9px] font-semibold text-white hover:text-white">GitHubdiff --git a/site/src/sections/catalog-tabs.tsx b/site/src/sections/catalog-tabs.tsxindex 4ac179f..77097f3 100644--- a/site/src/sections/catalog-tabs.tsx+++ b/site/src/sections/catalog-tabs.tsx@@ -50,7 +50,7 @@ export default function CatalogTabs({ stats, examples, onOpen }: CatalogTabsProp<ahref={panel.browseHref}target="_blank"- rel="noopener"+ rel="noopener noreferrer"className="rounded-full border border-line-strong bg-white px-[18px] py-[11px] font-mono text-[12px] text-green transition-colors duration-150 hover:bg-wash">BROWSE THE DATA ↗diff --git a/site/src/sections/install-panel.tsx b/site/src/sections/install-panel.tsxindex 55449e2..b63beea 100644--- a/site/src/sections/install-panel.tsx+++ b/site/src/sections/install-panel.tsx@@ -37,12 +37,16 @@ export default function InstallPanel({ compatibility }: InstallPanelProps) {<div className="flex flex-wrap gap-3"><ahref={GITHUB_REPO}+ target="_blank"+ rel="noopener noreferrer"className="rounded-full bg-white px-6 py-3.5 text-[15px] font-semibold text-ink transition-colors duration-150 hover:bg-mint hover:text-ink">Open the repository ↗</a><ahref={INSTALL_DOC}+ target="_blank"+ rel="noopener noreferrer"className="rounded-full border border-white/20 px-6 py-3.5 text-[15px] font-medium text-white transition-colors duration-150 hover:bg-white/8 hover:text-white">Installation guidediff --git a/site/src/sections/loop-cards.tsx b/site/src/sections/loop-cards.tsxnew file mode 100644index 0000000..44ff8ea--- /dev/null+++ b/site/src/sections/loop-cards.tsx@@ -0,0 +1,128 @@+// The three heavier blocks of the loop flow — the routing card, the host-probe card and the+// dashed loop box — plus the card vocabulary the section shares with them. Copy is the design's+// (loop-copy.ts); the reveal classes are loop-motion.css's.+import { LOOP_BADGE, LOOP_CARDS, PROBE_KICKER, ROUTE_CHIPS, ROUTE_KICKER, ROUTE_LEDE } from './loop-copy';+import { stagger, useReveal } from './loop-motion';+import ProbeDiagram from './loop-probe-diagram';+import useInView from '../hooks/use-in-view';++export const KICKER = 'font-mono text-[10.5px] tracking-[1.4px] text-mono-dim';+export const CARD =+ 'rounded-[32px] border border-line bg-white px-6 py-[22px] shadow-[0_8px_22px_#1c2a230a]';+export const CHIP = 'rounded-full px-[13px] py-2 text-[13.5px] font-semibold';++export const TONES: Record<string, string> = {+ mint: 'bg-mint text-green',+ leaf: 'bg-leaf text-leaf-ink',+ sky: 'bg-sky text-sky-ink',+ sand: 'bg-sand text-sand-ink',+ rose: 'bg-rose text-rose-ink',+};++/** Only the route chips are outlined; the report chips are flat fills. */+const OUTLINES: Record<string, string> = {+ mint: 'border border-mint-line',+ leaf: 'border border-leaf-line',+ sky: 'border border-sky-line',+ sand: 'border border-sand-line',+};++const LIFT =+ 'transition-[translate,box-shadow] duration-200 ease-[cubic-bezier(.2,.7,.2,1)] ' ++ 'hover:-translate-y-[2px] hover:shadow-[0_6px_14px_#1c2a2314]';++/** STEP 04: one route per object, chips popping in as the card arrives. */+export function RouteCard() {+ const card = useReveal<HTMLDivElement>();++ return (+ <div ref={card.ref} style={card.style} className={`${CARD} loop-reveal ${card.state} rotate-[-0.4deg]`}>+ <p className={`${KICKER} m-0 mb-1.5`}>{ROUTE_KICKER}</p>+ <p className="m-0 mb-3.5 text-[15px] leading-[1.55] text-mute">{ROUTE_LEDE}</p>+ <ul className="m-0 flex list-none flex-wrap gap-2 p-0">+ {ROUTE_CHIPS.map((chip, index) => (+ <li+ key={chip.label}+ style={stagger(120 + index * 40)}+ className={`${CHIP} ${TONES[chip.tone]} ${OUTLINES[chip.tone]} ${LIFT} loop-chip`}+ >+ {chip.label}+ </li>+ ))}+ </ul>+ </div>+ );+}++/** STEP 05: what the probe finds, drawn as a small flow chart (loop-probe-diagram.tsx). */+export function ProbeCard() {+ const card = useReveal<HTMLDivElement>(80);++ return (+ <div+ ref={card.ref}+ style={card.style}+ className={`loop-reveal ${card.state} rotate-[0.5deg] rounded-[32px] bg-dark px-6 py-[22px] text-white shadow-[0_14px_34px_#1c2a2321]`}+ >+ <p className="m-0 font-mono text-[10.5px] tracking-[1.4px] text-dark-dim">{PROBE_KICKER}</p>+ <ProbeDiagram />+ </div>+ );+}++// The badge reads "LOOP ↺ UNTIL IT HOLDS UP"; the glyph is wrapped so it alone can turn.+const [BADGE_HEAD = '', BADGE_TAIL = ''] = LOOP_BADGE.split('↺');++/** STEPS 06–09: build, look, refine — the dashed box that says the work goes round. The dashes are+ * an inset SVG rect (a CSS border cannot march); the 2 px transparent border keeps the geometry. */+export function LoopBox() {+ const box = useReveal<HTMLDivElement>();+ // A second, non-once observer: the ants only march while the box is actually on screen.+ const [ants, marching] = useInView<SVGSVGElement>();++ return (+ <div+ ref={box.ref}+ style={box.style}+ className={`loop-reveal ${box.state} relative rounded-[38px] border-2 border-transparent px-[22px] pt-7 pb-6`}+ >+ <svg+ ref={ants}+ aria-hidden="true"+ className={`pointer-events-none absolute inset-0 h-full w-full overflow-visible ${marching ? 'is-marching' : ''}`}+ >+ <rect+ className="loop-ants"+ width="100%"+ height="100%"+ rx="36"+ fill="none"+ stroke="var(--color-dash-line)"+ strokeWidth="2"+ />+ </svg>+ <p className="loop-badge absolute -top-[15px] right-[22px] m-0 rounded-full bg-lime px-4 py-[7px] font-mono text-[11px] tracking-[1px] text-lime-ink">+ {BADGE_HEAD}+ <span className="loop-glyph">↺</span>+ {BADGE_TAIL}+ </p>+ <div className="relative grid grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-[18px]">+ {LOOP_CARDS.map((card, index) => (+ <div+ key={card.kicker}+ style={stagger(index * 60)}+ className="loop-item rounded-[28px] border border-line bg-white px-[22px] py-5 shadow-[0_8px_22px_#1c2a230a]"+ >+ <p className={`${KICKER} m-0 mb-2`}>{card.kicker}</p>+ {'command' in card ? (+ <pre className="m-0 mb-2.5 overflow-x-auto rounded-[14px] bg-tile px-3 py-2.5 font-mono text-[12px] whitespace-nowrap text-green">+ <code>{card.command}</code>+ </pre>+ ) : null}+ <p className="m-0 text-[15px] leading-[1.55] text-body">{card.text}</p>+ </div>+ ))}+ </div>+ </div>+ );+}diff --git a/site/src/sections/loop-copy.ts b/site/src/sections/loop-copy.tsindex 899a293..3b8d8de 100644--- a/site/src/sections/loop-copy.ts+++ b/site/src/sections/loop-copy.ts@@ -41,18 +41,27 @@ export const ROUTE_CHIPS = [] as const;export const PROBE_KICKER = 'STEP 05 · host-probe.py LOOKS AT YOUR MACHINE';+export const PROBE_NODE = 'host-probe.py';-export const PROBE_ROWS = [- { host: 'Blender ≥ 4.2', result: 'T3 baked hero' },- { host: 'no Blender', result: 'T2 procedural surface' },- { host: 'Chromium + GPU', result: 'real capture' },- { host: 'no GPU path', result: 'SwiftShader, stated' },+/** The probe diagram: two lanes, each branching on what the machine has into what that forces.+ * `mark` names the tool logo drawn beside the condition (`none` for the CPU fallback). */+export const PROBE_LANES = [+ {+ lane: 'renderer',+ branches: [+ { mark: 'blender', condition: 'Blender ≥ 4.2', outcome: 'T3 baked hero' },+ { mark: 'three', condition: 'no Blender', outcome: 'T2 procedural surface' },+ ],+ },+ {+ lane: 'capture',+ branches: [+ { mark: 'chromium', condition: 'Chromium + GPU', outcome: 'real capture' },+ { mark: 'none', condition: 'no GPU path', outcome: 'SwiftShader, stated' },+ ],+ },] as const;-export const PROBE_NOTE =- 'A pipeline recommendation, not a quality ceiling. Blender does not make an object good; ' +- 'Three.js alone does not make it cheap.';-export const LOOP_BADGE = 'LOOP ↺ UNTIL IT HOLDS UP';export const LOOP_CARDS = [diff --git a/site/src/sections/loop-motion.tsx b/site/src/sections/loop-motion.tsxnew file mode 100644index 0000000..0b6476d--- /dev/null+++ b/site/src/sections/loop-motion.tsx@@ -0,0 +1,53 @@+// Motion for the loop section. Each block rises into place on its own first intersection; the+// items inside a revealed block ride its `is-in` class, offset by a per-item `--stagger`.+// Nothing is hidden until JavaScript arms the section (`useLoopArmed` → `loop-motion` on the+// section root), so a script-less render — and a reader who asked for less motion — gets the+// finished layout rather than a blank one. Only opacity and transform move: no layout shift.+import { useLayoutEffect, useState, type CSSProperties, type RefObject } from 'react';+import useInView from '../hooks/use-in-view';+import useReducedMotion from '../hooks/use-reduced-motion';+import '../styles/loop-motion.css';++/** A per-item offset carried as a custom property, so one rule can offset two animations. */+export interface StaggerStyle extends CSSProperties {+ '--stagger'?: string;+}++export const stagger = (ms: number): StaggerStyle => ({ '--stagger': `${ms}ms` });++/** True once the page is interactive and the reader has not asked the system for less motion. */+export function useLoopArmed(): boolean {+ const reduced = useReducedMotion();+ const [mounted, setMounted] = useState(false);+ // A layout effect: the arming re-render lands before the first paint, so the reader never sees+ // the static section flash into the animated one.+ useLayoutEffect(() => setMounted(true), []);+ return mounted && !reduced;+}++interface RevealHandle<T extends Element> {+ ref: RefObject<T | null>;+ /** `is-in` once the block has been reached; the flag is never taken away again. */+ state: string;+ style: StaggerStyle;+}++/** Watches one block and reports, once, that it has been scrolled to. */+export function useReveal<T extends Element = HTMLElement>(delayMs = 0): RevealHandle<T> {+ const [ref, inView] = useInView<T>({ once: true, threshold: 0.25 });+ return { ref, state: inView ? 'is-in' : '', style: stagger(delayMs) };+}++/** The dashed rule that ties one step of the loop to the next; it draws downwards when reached. */+export function Connector() {+ const drawn = useReveal<HTMLDivElement>(120);++ return (+ <div+ aria-hidden="true"+ ref={drawn.ref}+ style={drawn.style}+ className={`loop-connector ${drawn.state} ml-[54px] h-[34px] w-0.5 bg-[repeating-linear-gradient(var(--color-dash)_0_6px,transparent_6px_12px)]`}+ />+ );+}diff --git a/site/src/sections/loop-probe-diagram.tsx b/site/src/sections/loop-probe-diagram.tsxnew file mode 100644index 0000000..67075e2--- /dev/null+++ b/site/src/sections/loop-probe-diagram.tsx@@ -0,0 +1,128 @@+// STEP 05 as a small flow chart: the probe node, a bus that forks into the two lanes, and per+// branch a tool mark, the condition it tests and the outcome that condition forces. The lines are+// SVG paths with `pathLength={1}`, so one keyframe draws any of them; the nodes pop in after the+// line that points at them (loop-motion.css). Screen readers get the sr-only list instead.+import type { ComponentType } from 'react';+import { PROBE_LANES, PROBE_NODE } from './loop-copy';+import { stagger } from './loop-motion';+import { BlenderMark, ChromiumMark, ThreeJsMark } from '../components/brand-logos';++type MarkName = (typeof PROBE_LANES)[number]['branches'][number]['mark'];++const MARKS: Record<MarkName, ComponentType<{ className?: string }> | null> = {+ blender: BlenderMark,+ three: ThreeJsMark,+ chromium: ChromiumMark,+ none: null,+};++const LINE = 'loop-line stroke-dark-mute/40';+const CHIP =+ 'rounded-full bg-dark-mint/12 px-2.5 py-[3px] font-mono text-[11.5px] text-dark-mint';++/** The tool's mark in a 26 px tile, or a mono "CPU" for the branch that has no tool. */+function MarkTile({ mark }: { mark: MarkName }) {+ const Logo = MARKS[mark];+ return (+ <span className="grid h-[26px] w-[26px] flex-none place-items-center rounded-[9px] bg-white/8 text-dark-mint">+ {Logo ? (+ <Logo className="h-[17px] w-[17px]" />+ ) : (+ <span className="font-mono text-[8.5px] tracking-[0.5px] text-dark-dim">CPU</span>+ )}+ </span>+ );+}++/** One lane: its label, then a branch row and the outcome the branch leads to. */+function Lane({ lane, index }: { lane: (typeof PROBE_LANES)[number]; index: number }) {+ const base = 380 + index * 120;++ return (+ <div className="flex flex-col">+ {/* Stacked in a narrow card, the lanes chain downwards, so each gets its own drop line. */}+ <svg+ aria-hidden="true"+ viewBox="0 0 24 16"+ className={`${LINE} h-4 w-6 @min-[26rem]:hidden`}+ style={stagger(base - 60)}+ fill="none"+ strokeWidth={1.5}+ >+ <path d="M12 0V16" pathLength={1} strokeDasharray={1} />+ </svg>+ <p+ className="loop-item m-0 mb-1 font-mono text-[10px] tracking-[1.4px] text-dark-dim uppercase"+ style={stagger(base)}+ >+ {lane.lane}+ </p>+ {lane.branches.map((branch, position) => (+ <div key={branch.condition} className="mb-1 last:mb-0">+ <div className="loop-item flex items-center gap-2.5" style={stagger(base + 80 + position * 160)}>+ <MarkTile mark={branch.mark} />+ <span className="font-mono text-[12px] text-dark-mute">{branch.condition}</span>+ </div>+ <div className="ml-[13px] flex items-center gap-1.5">+ <svg+ aria-hidden="true"+ viewBox="0 0 16 16"+ className={`${LINE} h-4 w-4 flex-none`}+ style={stagger(base + 120 + position * 160)}+ fill="none"+ strokeWidth={1.5}+ >+ <path d="M1 0V9a4 4 0 0 0 4 4h11" pathLength={1} strokeDasharray={1} />+ </svg>+ <span className={`loop-item ${CHIP}`} style={stagger(base + 200 + position * 160)}>+ {branch.outcome}+ </span>+ </div>+ </div>+ ))}+ </div>+ );+}++export default function ProbeDiagram() {+ return (+ <div className="@container mt-3.5">+ <ul className="sr-only">+ {PROBE_LANES.flatMap((lane) =>+ lane.branches.map((branch) => (+ <li key={branch.condition}>{`${lane.lane}: ${branch.condition} → ${branch.outcome}`}</li>+ )),+ )}+ </ul>+ <div aria-hidden="true" className="flex flex-col items-start">+ <span+ className="loop-item rounded-full border border-dark-mint/40 px-3 py-[5px] font-mono text-[12px] text-dark-mint"+ style={stagger(220)}+ >+ {PROBE_NODE}+ </span>+ {/* The bus: a drop into the first lane and a sweep into the second. Authored at the widest+ card (540 px) and stretched horizontally, so the elbow flattens a little on a narrower+ card. No `non-scaling-stroke` here on purpose: with it, Chrome measures the dash in+ device space and a stretched line stops short of its own end. */}+ <svg+ aria-hidden="true"+ viewBox="0 0 540 20"+ preserveAspectRatio="none"+ className={`${LINE} hidden h-5 w-full @min-[26rem]:block`}+ fill="none"+ strokeWidth={1.5}+ style={stagger(300)}+ >+ <path d="M22 0V20" pathLength={1} strokeDasharray={1} />+ <path d="M22 7h252a6 6 0 0 1 6 6v7" pathLength={1} strokeDasharray={1} />+ </svg>+ <div className="grid w-full gap-x-5 @min-[26rem]:grid-cols-2">+ {PROBE_LANES.map((lane, index) => (+ <Lane key={lane.lane} lane={lane} index={index} />+ ))}+ </div>+ </div>+ </div>+ );+}diff --git a/site/src/sections/loop-section.tsx b/site/src/sections/loop-section.tsxindex a0d58d7..e559998 100644--- a/site/src/sections/loop-section.tsx+++ b/site/src/sections/loop-section.tsx@@ -1,59 +1,35 @@// "How one sentence becomes a scene": the prompt, the three deciding steps, the routing chips// beside the host probe, the dashed build/look/refine loop and the reporting row. The copy is the-// design's, in loop-copy.ts; the slight rotations are the design's too.+// design's, in loop-copy.ts; the slight rotations are the design's too. Each block rises into+// place the first time it is scrolled to (loop-motion.tsx / loop-motion.css); with JavaScript off+// or reduced motion on, `armed` is false and the section renders exactly as it did before.+import { Fragment } from 'react';import {DECIDE_KICKER,DECIDE_TILES,- LOOP_BADGE,- LOOP_CARDS,LOOP_HEADING,LOOP_LEDE,- PROBE_KICKER,- PROBE_NOTE,- PROBE_ROWS,PROMPT,REPORT_CHIPS,REPORT_KICKER,REPORT_LEDE,- ROUTE_CHIPS,- ROUTE_KICKER,- ROUTE_LEDE,} from './loop-copy';+import { CARD, CHIP, KICKER, LoopBox, ProbeCard, RouteCard, TONES } from './loop-cards';+import { Connector, stagger, useLoopArmed, useReveal } from './loop-motion';-const KICKER = 'font-mono text-[10.5px] tracking-[1.4px] text-mono-dim';-const CARD =- 'rounded-[32px] border border-line bg-white px-6 py-[22px] shadow-[0_8px_22px_#1c2a230a]';-const CHIP = 'rounded-full px-[13px] py-2 text-[13.5px] font-semibold';--const TONES: Record<string, string> = {- mint: 'bg-mint text-green',- leaf: 'bg-leaf text-leaf-ink',- sky: 'bg-sky text-sky-ink',- sand: 'bg-sand text-sand-ink',- rose: 'bg-rose text-rose-ink',-};--/** Only the route chips are outlined; the report chips are flat fills. */-const OUTLINES: Record<string, string> = {- mint: 'border border-mint-line',- leaf: 'border border-leaf-line',- sky: 'border border-sky-line',- sand: 'border border-sand-line',-};--/** The dashed rule that ties one step of the loop to the next. */-function Connector() {- return (- <div- aria-hidden="true"- className="ml-[54px] h-[34px] w-0.5 bg-[repeating-linear-gradient(var(--color-dash)_0_6px,transparent_6px_12px)]"- />- );-}+const PROMPT_WORDS = PROMPT.split(' ');export default function LoopSection() {+ const armed = useLoopArmed();+ const prompt = useReveal<HTMLParagraphElement>();+ const decide = useReveal<HTMLDivElement>();+ const report = useReveal<HTMLDivElement>();+return (- <section id="loop" className="relative mx-auto max-w-[1240px] px-6 pt-5 pb-[62px]">+ <section+ id="loop"+ className={`${armed ? 'loop-motion ' : ''}relative mx-auto max-w-[1240px] px-6 pt-5 pb-[62px]`}+ ><div className="mb-[34px] max-w-[660px]"><h2 className="m-0 mb-2.5 text-[clamp(28px,3.6vw,44px)] leading-[1.12] font-extrabold tracking-[-0.012em] text-ink">{LOOP_HEADING}@@ -62,16 +38,31 @@ export default function LoopSection() {</div><div className="flex flex-col items-stretch">- <p className="m-0 self-start rotate-[-0.7deg] rounded-full bg-ink px-6 py-[13px] text-[15px] font-semibold text-white shadow-[0_12px_28px_#1c2a2321]">- {PROMPT}+ <p+ ref={prompt.ref}+ style={prompt.style}+ className={`loop-reveal ${prompt.state} m-0 self-start rotate-[-0.7deg] rounded-full bg-ink px-6 py-[13px] text-[15px] font-semibold text-white shadow-[0_12px_28px_#1c2a2321]`}+ >+ {PROMPT_WORDS.map((word, index) => (+ <Fragment key={`${index}-${word}`}>+ {index > 0 ? ' ' : null}+ <span className="loop-word" style={stagger(140 + index * 70)}>+ {word}+ </span>+ </Fragment>+ ))}</p><Connector />- <div className={`${CARD} rotate-[0.35deg]`}>+ <div ref={decide.ref} style={decide.style} className={`${CARD} loop-reveal ${decide.state} rotate-[0.35deg]`}><p className={`${KICKER} m-0 mb-3.5`}>{DECIDE_KICKER}</p><div className="flex flex-wrap gap-3">- {DECIDE_TILES.map((tile) => (- <div key={tile.title} className="flex-[1_1_200px] rounded-[22px] bg-tile px-[18px] py-[15px]">+ {DECIDE_TILES.map((tile, index) => (+ <div+ key={tile.title}+ style={stagger(index * 60)}+ className="loop-item flex-[1_1_200px] rounded-[22px] bg-tile px-[18px] py-[15px]"+ ><h3 className="m-0 mb-[3px] text-[16px] font-bold text-ink">{tile.title}</h3><p className="m-0 text-[14px] leading-[1.5] text-mute">{tile.text}</p></div>@@ -80,65 +71,35 @@ export default function LoopSection() {</div><Connector />- <div className="grid grid-cols-[repeat(auto-fit,minmax(300px,1fr))] items-start gap-[18px]">- <div className={`${CARD} rotate-[-0.4deg]`}>- <p className={`${KICKER} m-0 mb-1.5`}>{ROUTE_KICKER}</p>- <p className="m-0 mb-3.5 text-[15px] leading-[1.55] text-mute">{ROUTE_LEDE}</p>- <ul className="m-0 flex list-none flex-wrap gap-2 p-0">- {ROUTE_CHIPS.map((chip) => (- <li key={chip.label} className={`${CHIP} ${TONES[chip.tone]} ${OUTLINES[chip.tone]}`}>- {chip.label}- </li>- ))}- </ul>- </div>-- <div className="rotate-[0.5deg] rounded-[32px] bg-dark px-6 py-[22px] text-white shadow-[0_14px_34px_#1c2a2321]">- <p className="m-0 mb-3 font-mono text-[10.5px] tracking-[1.4px] text-dark-dim">{PROBE_KICKER}</p>- <dl className="m-0 flex flex-col gap-[9px] font-mono text-[12.5px]">- {PROBE_ROWS.map((row) => (- <div key={row.host} className="flex justify-between gap-3.5">- <dt className="text-dark-mute">{row.host}</dt>- <dd className="m-0 text-right text-dark-mint">{row.result}</dd>- </div>- ))}- </dl>- <p className="m-0 mt-3.5 text-[13.5px] leading-[1.55] text-dark-mute">{PROBE_NOTE}</p>- </div>+ {/* Stretched, not `items-start` as the design had it: the connector below the row hangs from+ the row's bottom edge, so a shorter route card would leave the dashed line broken. The+ 420 px track (the design's was 300) keeps the two side by side only while the probe+ card is wide enough to draw its diagram in two lanes; below that they stack. */}+ <div className="grid grid-cols-[repeat(auto-fit,minmax(min(420px,100%),1fr))] gap-[18px]">+ <RouteCard />+ <ProbeCard /></div><Connector />- <div className="relative rounded-[38px] border-2 border-dashed border-dash-line px-[22px] pt-7 pb-6">- <p className="absolute -top-[15px] right-[22px] m-0 rounded-full bg-lime px-4 py-[7px] font-mono text-[11px] tracking-[1px] text-lime-ink">- {LOOP_BADGE}- </p>- <div className="grid grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-[18px]">- {LOOP_CARDS.map((card) => (- <div- key={card.kicker}- className="rounded-[28px] border border-line bg-white px-[22px] py-5 shadow-[0_8px_22px_#1c2a230a]"- >- <p className={`${KICKER} m-0 mb-2`}>{card.kicker}</p>- {'command' in card ? (- <pre className="m-0 mb-2.5 overflow-x-auto rounded-[14px] bg-tile px-3 py-2.5 font-mono text-[12px] whitespace-nowrap text-green">- <code>{card.command}</code>- </pre>- ) : null}- <p className="m-0 text-[15px] leading-[1.55] text-body">{card.text}</p>- </div>- ))}- </div>- </div>+ <LoopBox /><Connector />- <div className={`${CARD} flex flex-wrap items-center justify-between gap-4 rotate-[-0.3deg]`}>+ <div+ ref={report.ref}+ style={report.style}+ className={`${CARD} loop-reveal ${report.state} flex flex-wrap items-center justify-between gap-4 rotate-[-0.3deg]`}+ ><div><p className={`${KICKER} m-0 mb-1.5`}>{REPORT_KICKER}</p><p className="m-0 text-[16px] font-semibold text-ink">{REPORT_LEDE}</p></div><ul className="m-0 flex list-none flex-wrap gap-[9px] p-0">- {REPORT_CHIPS.map((chip) => (- <li key={chip.label} className={`${CHIP} ${TONES[chip.tone]}`}>+ {REPORT_CHIPS.map((chip, index) => (+ <li+ key={chip.label}+ style={stagger(120 + index * 80)}+ className={`${CHIP} ${TONES[chip.tone]} loop-chip ${chip.tone === 'rose' ? 'loop-chip-shake' : ''}`}+ >{chip.label}</li>))}diff --git a/site/src/sections/site-footer.tsx b/site/src/sections/site-footer.tsxindex a67cd94..91dca60 100644--- a/site/src/sections/site-footer.tsx+++ b/site/src/sections/site-footer.tsx@@ -21,7 +21,13 @@ export default function SiteFooter() {<p className="m-0 max-w-[560px] text-[13.5px] leading-[1.65] text-pretty text-dim">{CREDIT}</p><nav aria-label="Footer" className="flex flex-wrap gap-[18px] text-[14px] font-medium">{LINKS.map((link) => (- <a key={link.label} href={link.href} className="text-green">+ <a+ key={link.label}+ href={link.href}+ className="text-green"+ // Repository links leave the page; in-page anchors stay in this tab.+ {...(link.href.startsWith('http') ? { target: '_blank', rel: 'noopener noreferrer' } : {})}+ >{link.label}</a>))}diff --git a/site/src/styles/brand-cube-logo.css b/site/src/styles/brand-cube-logo.cssnew file mode 100644index 0000000..7d5fd70--- /dev/null+++ b/site/src/styles/brand-cube-logo.css@@ -0,0 +1,141 @@+/* The nav mark built as a cube. Rest pose is `rotateX(-35.264deg) rotateY(45deg)`: the isometric+ view whose projection is the mark's hexagon — vertical edges vertical, three faces towards the+ reader. Every face is `backface-visibility: hidden`, so only the faces turned towards the reader+ ever paint; a convex body's front faces never overlap, so the turn reads as a solid body with no+ back edges showing through and nothing to z-fight.+ Each face is one rim wider than the body, so its rim straddles the cube edge the way the mark's+ stroke straddles its path. That is what keeps the line one weight everywhere: an outer edge is+ drawn by one face, an inner edge by two faces over the same band (both green, so the overlap is+ invisible) rather than by two bands side by side.+ Imported by brand-cube-logo.tsx; the reduced-motion guard in app.css stops the turn. */++.brand-cube {+ /* Chromium rasterises a 3D subtree at its layout size and resamples the result, which leaves a+ 32px cube visibly soft on any screen. So the cube is laid out four times over and scaled back+ down: every length below is written at its on-screen size and divided by this. */+ --cube-shrink: 0.25;+ /* A rim of w reads at 0.71w on screen in this pose, so 2.45px is the mark's 1.73px line. */+ --cube-rim: calc(2.45px / var(--cube-shrink));+ /* Isometric projection scales every cube axis by 0.8165, so a body of e plus the rim straddling+ it draws a hexagon 1.414(e + w) wide and 1.633(e + w) tall. 18px across the rims, with the+ corners blunted below, measures out as the mark's own 24.5 x 27.5px hexagon (which is a shade+ squatter than a true isometric one) to within a quarter of a pixel. */+ --cube-edge: calc((18px - 2.45px) / var(--cube-shrink));+ --cube-half: calc(var(--cube-edge) / 2);+ --cube-swell: calc(var(--cube-shrink) * 1.18);+ --cube-ease: cubic-bezier(0.2, 0.7, 0.2, 1);+ position: relative;+ display: block;+ flex: none;+ width: 32px;+ height: 32px;+ /* Far enough that the resting silhouette stays the flat mark's, near enough that the leading+ corner grows a little as it comes round. */+ perspective: 340px;+}++.brand-cube__turn,+.brand-cube__box,+.brand-cube__face {+ position: absolute;+ box-sizing: border-box;+}++.brand-cube__turn,+.brand-cube__box {+ transform-style: preserve-3d;+}++/* The turn is the outer element, so it turns about the screen diagonal and leaves the pose below+ it alone: whatever the animation does, the mark settles back into the drawn mark exactly. The+ shrink lives in the keyframes because they own this element's transform. */+.brand-cube__turn {+ inset: 0;+ animation: brand-cube-turn 1.1s var(--cube-ease) 0.15s 1 both;+}++.brand-cube__box {+ top: 50%;+ left: 50%;+ width: var(--cube-edge);+ height: var(--cube-edge);+ margin: calc(var(--cube-half) * -1) 0 0 calc(var(--cube-half) * -1);+ transform: rotateX(-35.264deg) rotateY(45deg);+ transition: transform 420ms var(--cube-ease);+}++/* A quarter turn under the pointer, and back when it leaves. */+.brand-cube:hover .brand-cube__box {+ transform: rotateX(-35.264deg) rotateY(135deg);+}++.brand-cube__face {+ inset: calc(var(--cube-rim) / -2);+ border: var(--cube-rim) solid var(--color-green);+ /* Blunts the corners about as much as the mark's round joins do. */+ border-radius: calc(1.8px / var(--cube-shrink));+ background: var(--color-cream);+ backface-visibility: hidden;+}++.brand-cube__face--front {+ transform: translateZ(var(--cube-half));+}++.brand-cube__face--back {+ transform: rotateY(180deg) translateZ(var(--cube-half));+}++.brand-cube__face--right {+ transform: rotateY(90deg) translateZ(var(--cube-half));+}++.brand-cube__face--left {+ transform: rotateY(-90deg) translateZ(var(--cube-half));+}++.brand-cube__face--top {+ transform: rotateX(90deg) translateZ(var(--cube-half));+}++.brand-cube__face--bottom {+ transform: rotateX(-90deg) translateZ(var(--cube-half));+}++/* The mark's lime dot rides the vertex the three visible faces share. It hangs off the box rather+ than off a face: `translate3d` puts it on that corner in cube space, the two rotations undo the+ pose so it faces the reader as a true circle, and the lift floats the whole disc clear of the+ three face planes that cross there (less lift and the browser splits the disc against them,+ which shows as a nick in the ring). That corner projects onto the perspective origin, so the lift moves nothing.+ The half-size step comes first, before the rotations: it has to cancel the element's layout+ offset, which is measured in the cube's plane rather than the reader's. */+.brand-cube__dot {+ position: absolute;+ top: 50%;+ left: 50%;+ /* The mark's 5.33px dot and 1.07px ring, less the 5% the lift below magnifies them by. */+ width: calc(5.06px / var(--cube-shrink));+ height: calc(5.06px / var(--cube-shrink));+ border: calc(1.02px / var(--cube-shrink)) solid var(--color-green);+ border-radius: 50%;+ background: var(--color-lime);+ backface-visibility: hidden;+ transform: translate(-50%, -50%)+ translate3d(calc(var(--cube-half) * -1), calc(var(--cube-half) * -1), var(--cube-half))+ rotateY(-45deg) rotateX(35.264deg) translateZ(calc(3px / var(--cube-shrink)));+}++/* One turn about the screen diagonal, swelling at the halfway point. */+@keyframes brand-cube-turn {+ 0% {+ transform: rotate3d(1, 1, 0, 0deg) scale3d(var(--cube-shrink), var(--cube-shrink), var(--cube-shrink));+ }++ 50% {+ transform: rotate3d(1, 1, 0, 180deg) scale3d(var(--cube-swell), var(--cube-swell), var(--cube-swell));+ }++ 100% {+ transform: rotate3d(1, 1, 0, 360deg) scale3d(var(--cube-shrink), var(--cube-shrink), var(--cube-shrink));+ }+}diff --git a/site/src/styles/loop-motion.css b/site/src/styles/loop-motion.cssnew file mode 100644index 0000000..86f12f0--- /dev/null+++ b/site/src/styles/loop-motion.css@@ -0,0 +1,163 @@+/* Motion for "How one sentence becomes a scene" (#loop). Every rule is scoped under+ `.loop-motion`, a class loop-section.tsx adds from JavaScript only and never when the reader+ asked for less motion — without it the section is its finished, fully visible self. Only+ opacity and transform animate, so nothing in the flow ever moves its neighbours.+ The file is imported by loop-motion.tsx; app.css keeps the global reduced-motion escape. */++.loop-motion {+ --loop-ease: cubic-bezier(0.2, 0.7, 0.2, 1);+}++/* A block: hidden until its own first intersection, then a 14 px rise. `backwards` fill holds the+ start frame during the delay and hands the element back to its static style at the end, so the+ cards keep their design tilt (Tailwind v4 writes it to `rotate`, not `transform`) and the route+ chips can still lift on hover afterwards. */+.loop-motion .loop-reveal {+ opacity: 0;+}++.loop-motion .loop-reveal.is-in {+ opacity: 1;+ animation: loop-rise 520ms var(--loop-ease) var(--stagger, 0ms) backwards;+}++/* Items inside a revealed block: the three decide tiles, the three loop cards, the probe rows. */+.loop-motion .is-in .loop-item {+ animation: loop-rise 460ms var(--loop-ease) var(--stagger, 0ms) backwards;+}++@keyframes loop-rise {+ from {+ opacity: 0;+ transform: translateY(14px);+ }+}++/* The dashed connectors grow from the block above, so the eye follows the flow down. */+.loop-motion .loop-connector {+ transform: scaleY(0);+ transform-origin: top;+}++.loop-motion .loop-connector.is-in {+ transform: none;+ animation: loop-draw 420ms var(--loop-ease) var(--stagger, 0ms) backwards;+}++@keyframes loop-draw {+ from {+ transform: scaleY(0);+ }+}++/* The prompt types itself in a word at a time. The words are ordinary text nodes separated by+ ordinary spaces, so the sentence stays whole for a screen reader and for copy-paste. */+.loop-motion .loop-word {+ display: inline-block;+}++.loop-motion .is-in .loop-word {+ animation: loop-type 300ms var(--loop-ease) var(--stagger, 0ms) backwards;+}++@keyframes loop-type {+ from {+ opacity: 0;+ transform: translateY(4px);+ }+}++/* Chips pop rather than rise; the route chips also lift under the pointer (Tailwind utilities on+ `translate`, which is a separate property from the `transform` this animation uses). */+.loop-motion .is-in .loop-chip {+ animation: loop-pop 380ms var(--loop-ease) var(--stagger, 0ms) backwards;+}++@keyframes loop-pop {+ from {+ opacity: 0;+ transform: translateY(6px) scale(0.94);+ }+}++/* "Still limited" is the one chip that is not good news: it nudges once, after the others land.+ The second animation has no fill, so the pop owns `transform` until the nudge actually runs. */+.loop-motion .is-in .loop-chip-shake {+ animation-name: loop-pop, loop-nudge;+ animation-duration: 380ms, 300ms;+ animation-timing-function: var(--loop-ease), ease-in-out;+ animation-delay: var(--stagger, 0ms), calc(var(--stagger, 0ms) + 420ms);+ animation-fill-mode: backwards, none;+}++@keyframes loop-nudge {+ 30% {+ transform: translateX(-2px);+ }+ 70% {+ transform: translateX(2px);+ }+}++/* The host-probe diagram's connectors draw themselves, and the node each one points at pops in+ after it arrives. `pathLength={1}` on every path lets this one keyframe draw a line of any+ length; the rounded ends are shape, not motion, so they are not scoped to `.loop-motion`. */+.loop-line path {+ stroke-linecap: round;+ stroke-linejoin: round;+}++.loop-motion .is-in .loop-line path {+ animation: loop-draw-line 420ms var(--loop-ease) var(--stagger, 0ms) backwards;+}++@keyframes loop-draw-line {+ from {+ stroke-dashoffset: 1;+ }+}++/* The loop badge's glyph turns once when the box is reached, and again under the pointer — the+ reveal uses `transform`, the hover a transition on `rotate`, so neither restarts the other. */+.loop-motion .loop-glyph {+ display: inline-block;+ transition: rotate 620ms var(--loop-ease);+}++.loop-motion .is-in .loop-glyph {+ animation: loop-spin 600ms var(--loop-ease);+}++.loop-motion .loop-badge:hover .loop-glyph {+ rotate: 360deg;+}++@keyframes loop-spin {+ from {+ transform: rotate(-360deg);+ }+}++/* Marching ants on the loop box: an inset rounded rect replaces the CSS dashed border while the+ section is armed, and only drifts while the box is on screen. One slow, low-contrast cycle. */+/* The dashed edge is an inset rounded rect rather than a CSS border, because a border cannot+ march; the dashes are drawn whether or not the section is armed. */+.loop-ants {+ stroke-dasharray: 6 6;+}++.loop-motion .loop-ants {+ animation: loop-ants 8s linear infinite;+ animation-play-state: paused;+}++.loop-motion .is-marching .loop-ants {+ animation-play-state: running;+}++@keyframes loop-ants {+ to {+ /* A whole number of 12 px dash periods, so the cycle joins itself invisibly. */+ stroke-dashoffset: -180px;+ }+}