# Build the Liquid Portfolio website

You are working in an AI coding tool. Build this website in the current project from the specification below. It is a single-page portfolio for a fictional creative developer, Milo Varen: large serif type, a quiet slate field, a dark liquid that follows the cursor, scroll reveals and a press-and-hold mode that turns the whole page dark.

Build everything yourself except the supporting files listed in section 2. Do not substitute a different stack, font, library or design system. Keep the copy exactly as written. Do not add analytics, trackers, external embeds or CDN links.

This prompt includes a required pack of fonts, drawings, textures and four code modules. It is not a text-only prompt. An editable copy of the finished source also exists as an optional starter (section 2); the point of this prompt is to build the page from the specification, so only use the starter if the person asks you to.

Results differ between AI tools and models. Follow the specification closely, but report honestly what you built and tested.

## 1. Stack and project setup

- Vite 7, plain JavaScript modules, no framework, no Tailwind, no TypeScript.
- Dependencies, exact versions: `gsap@3.13.0`, `lenis@1.3.11`. Dev dependency: `vite@7.1.12`. GSAP's SplitText, ScrambleTextPlugin, DrawSVGPlugin, ScrollTrigger and CustomEase all ship in the `gsap` package.
- `package.json`: `"type": "module"` with scripts `dev` = `vite`, `build` = `vite build`, `preview` = `vite preview`.
- `vite.config.js`, exactly: `export default { base: './', build: { assetsInlineLimit: 0 } };`. The built page must work from a domain root and from any sub-folder. Never hard-code a leading-slash URL in JavaScript. Use the `assetUrl` helper below for every file loaded from JavaScript.

Target layout of the finished project:

```text
index.html
package.json
vite.config.js
public/              (from the required pack)
  arrow.svg
  brand/logo.png, brand/favicon.png
  fonts/*.woff2, fonts/OFL-*.txt
  media/one-look.svg, media/last-warning.svg, media/staging-gone.svg
  textures/flow-noise.png, textures/fibre-noise.jpg
src/
  main.js, styles.css, content.js, utils.js    (written by you from sections 4 to 7)
  liquid.js, shaders.js, icons.js, tape.js     (supporting code, from the required pack)
  sections/
    loader.js, header.js, hero.js, rich-text.js, confidential.js,
    studio.js, projects.js, footer.js, eggs.js, hold-hint.js, glitch.js   (written by you from section 8)
```

## 2. Required files

Required pack, version 1:

- URL: https://sitepeel.dev/website-prompts/liquid-portfolio/assets-v1.zip
- SHA-256: `7595d7b19b96c037888bec4e87a687139122cf483e1697eeaa783d14deb2560b`
- Size: 664678 bytes

Download it with your tool's web fetch, `curl -fL -o assets-v1.zip <URL>`, or `Invoke-WebRequest`. If `assets-v1.zip` is already in the project root, use that copy. If you cannot download it, stop and ask the person to save the file into the project root, then continue. Check the SHA-256 (`shasum -a 256`, `sha256sum` or `certutil -hashfile assets-v1.zip SHA256`) and stop if it differs. Unzip into a temporary folder, copy its `public/` into the project's `public/` and its `src/` into the project's `src/`, then delete the temporary folder and the zip.

Files in the pack (path, SHA-256):

| File | SHA-256 |
|---|---|
| `README.md` | `efd52ca142e6689fe852f8579bad8848421a336ab09bc6f367dd83b8f673f062` |
| `licenses/OFL-Fraunces.txt` | `cd3384cafac6f2bddc3955273958a2e029f97027c8037ac539ef5744a77b579e` |
| `licenses/OFL-PinyonScript.txt` | `29f8e1ec512ca39afb6adc6e9d84e831b2e9a968ca5120c6d4f4b6e7b0141c71` |
| `licenses/OFL-SometypeMono.txt` | `e7e9ff851319bae2580acf00a53154242326e01bef62bebb930cb7f20264c5ff` |
| `licenses/PROVENANCE.md` | `035d652e05af42c3271f089e187925781c3f8f8eb6aab2602227c953059230eb` |
| `licenses/THIRD-PARTY.md` | `a58c3b3ab817487264d9022936407af48770909b262093971d63c0a49cba050e` |
| `public/arrow.svg` | `4229b928b08ad24e28bfd446e0049972c81bc86affd6f983b49d79a68f4f1e0c` |
| `public/brand/favicon.png` | `f64358b3d74ba05ce7e9897ef9813ffd6ee5b888c38d9f6dc4e43b0509724f61` |
| `public/brand/logo.png` | `7768aabc8972376f268924b98ea28934a50d14f8c6d66fe5d0dacc958d42e08d` |
| `public/fonts/OFL-Fraunces.txt` | `cd3384cafac6f2bddc3955273958a2e029f97027c8037ac539ef5744a77b579e` |
| `public/fonts/OFL-PinyonScript.txt` | `29f8e1ec512ca39afb6adc6e9d84e831b2e9a968ca5120c6d4f4b6e7b0141c71` |
| `public/fonts/OFL-SometypeMono.txt` | `e7e9ff851319bae2580acf00a53154242326e01bef62bebb930cb7f20264c5ff` |
| `public/fonts/fraunces-latin-full-normal.woff2` | `7e744849028e2219e2aa1bc467dc4032980dc4487c9c3da3010081cd72d3b103` |
| `public/fonts/pinyon-script-latin-400-normal.woff2` | `3e1f69a201572cad4aabea7ccf720f093a7dbc005380b2a1b89e0b94476d3e42` |
| `public/fonts/sometype-mono-latin-400-normal.woff2` | `9719b185dc14ff3e39ee87cc277f7679c4c9b95c10c1dbf7882adcf9c582f685` |
| `public/fonts/sometype-mono-latin-600-normal.woff2` | `b923e3b1f2b8f7b6561c8ce467f5bae500209c80d7de775bdec6b7914041078b` |
| `public/fonts/sometype-mono-latin-700-normal.woff2` | `781dc919a2adedb66c2c4afc6b1228855c612ebb50b3c1332266a8c0671b1375` |
| `public/media/last-warning.svg` | `0937da9f9bd4722e22321737fb689a4eece7c180c73433834e267fffdf09f9f1` |
| `public/media/one-look.svg` | `003370da01eb5197da2af446a662b5e4700a11e6970c0e60ca1fd2b301b5cf7a` |
| `public/media/staging-gone.svg` | `438faeb7087f5716859dd1cd841aa668fa5ca694ee7b6c81d16453c4c1fd2f4b` |
| `public/textures/fibre-noise.jpg` | `ca939b1d5fc9c930ca13c7bf5cb26840b37bd8e751f0c8ac60857bfa652a828d` |
| `public/textures/flow-noise.png` | `fa6ba2d637dd272559dad1e52765e5e4d6ffeb5958f3abb569befaa41ee9ae0e` |
| `src/icons.js` | `459ca4a662bd40545690d2e70c6874ac738393823e8504f15b5d7f1eb38e0c30` |
| `src/liquid.js` | `bf37666774ae08381abcb1965e699d3bb4126d6117196c7e126fb8bd53588db1` |
| `src/shaders.js` | `94964906f88f6c6ce6ab79a73478818f9d236227754639ad22a55af17ef49904` |
| `src/tape.js` | `2dd6ade41d936f1fb871bfa74dec81eef686b78ba2d34180b90c50ccd4e94edc` |
| `tools/generate-popup-staging.py` | `0de3fb36a41f72a6846cab6f5c84b40cc74971cbfe34b9370ed57de1c66d882a` |
| `tools/generate-textures.py` | `ae9909288ff4fcdb6ab576320534883f4f6470afc2805a1f3eda559fc09c4efc` |

What the four supporting code modules are: `src/liquid.js` is the WebGL2 feedback simulation (class `Liquid`), `src/shaders.js` is its GLSL, `src/icons.js` holds the interface drawings (`export const icons`), `src/tape.js` is a small Web Audio synthesiser (`TapePlayer`, `drawTape`). Do not rewrite them; the look depends on their exact numbers. They are supporting code, written for this project and supplied so the liquid behaves the same on every build.

Optional starter, not needed for this build: https://sitepeel.dev/website-prompts/liquid-portfolio/starter-v1.zip is an editable copy of the finished project, labelled as such. If you use it, say so in your final message, and do not describe the result as generated from this prompt.

## 3. Rights and honesty

- Fraunces, Pinyon Script and Sometype Mono are under the SIL Open Font License 1.1. Their licences are in the pack and must stay with the font files. Do not rename or modify them.
- GSAP is under its own Standard no-charge licence (https://gsap.com/standard-license). Lenis and Vite are MIT. Install them from npm.
- The drawings, textures and code modules in the pack are original files written for this project.
- The layout and motion language were developed by studying a published portfolio site. No third-party code, fonts or images from that site are included, but no claim is made that the overall design is free of third-party rights. A person publishing this commercially should make that judgment themselves.
- Everyone and everything named on the page is invented. Mail goes to `milo@stillform.example`, a reserved address that cannot be delivered. Before anyone publishes the site, the names, projects, address and clock zone should be replaced with their own, and the `noindex` tag removed.

## 4. Page markup

Create `index.html` exactly as below. It holds the structure, the hooks every section needs and most of the copy. Note the deliberately literal `&amp;nbsp;` and `&amp;#10;` entities in the Confidential section: the hidden sizer sets the section height and the scramble resolves them into spacing and line breaks.

```html
<!doctype html>
<!-- Fictional demo portfolio. Milo Varen, Léa Perrin, Stillform Bureau and every project are invented. -->
<html lang="en" class="is-loading is-loader-dark">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
    <title>Milo Varen — Independent Creative Developer, WebGL &amp; Motion</title>
    <meta
      name="description"
      content="Milo Varen, independent creative developer in Lyon, France. Custom editorial websites, cultural experiences and product stories, built with GSAP and WebGL. Co-founder of Stillform Bureau."
    />
    <meta name="robots" content="noindex" />
    <link rel="icon" type="image/png" href="/brand/favicon.png" />
    <link rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/fraunces-latin-full-normal.woff2" />
    <link rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/sometype-mono-latin-400-normal.woff2" />
    <script type="module" src="/src/main.js"></script>
  </head>
  <body>
    <div class="hold-hint" data-hold-hint aria-hidden="true">
      <div class="hold-hint__row hold-hint__row--center"><div class="glitch-text"></div></div>
      <div class="hold-hint__row"><div class="glitch-text"></div><div class="glitch-text"></div></div>
      <div class="hold-hint__row"><div class="glitch-text"></div><div class="glitch-text"></div></div>
      <div class="hold-hint__row hold-hint__row--center"><div class="glitch-text"></div></div>
    </div>

    <div class="loader" data-loader>
      <div class="loader__word">
        <div class="loader__note loader__note--top" data-loader-word>Hello from Lyon</div>
        <span class="loader__label">Loading</span>
        <div class="loader__side loader__side--left">
          <div class="loader__note loader__note--spaced" data-loader-word>Welcome Here </div>
          <div class="loader__note" data-loader-word>Bonjour/ </div>
        </div>
        <div class="loader__side loader__side--right">
          <div class="loader__note loader__note--nowrap" data-loader-binary>111001101 010 </div>
          <div class="loader__note loader__note--a" data-loader-word>Nice to meet U </div>
          <div class="loader__note loader__note--b loader__note--nowrap" data-loader-binary>0110 1</div>
        </div>
        <div class="loader__under">
          <div class="loader__note loader__note--under-left loader__note--nowrap" data-loader-binary>0110</div>
          <div class="loader__note loader__note--under-right" data-loader-word> ‹HI/›</div>
        </div>
      </div>
      <div class="loader__foot">
        <div class="loader__count" data-loader-count>0%</div>
        <div class="loader__track" data-loader-track><div class="loader__bar" data-loader-bar></div></div>
      </div>
    </div>

    <div class="liquid" data-liquid aria-hidden="true"></div>

    <div class="page" data-page>
      <header id="main-header" class="header">
        <div class="header__left">
          <div class="progress">
            <div class="progress__bar" data-progress-track><div class="progress__fill" data-progress-fill></div></div>
            <div data-progress-outer><div class="progress__num glitch-text" data-progress-num>0% </div></div>
          </div>
        </div>
        <button type="button" class="header__mode" aria-label="Switch mode" data-mode-switch data-icon="modeSwitch"></button>
        <div class="header__right">
          <div class="header__links">
            <div class="header__link">
              <a class="cta" data-cta data-hero-text href="#work">Work</a>
            </div>
            <div class="header__link">
              <a class="cta" data-cta data-hero-text href="#about">About</a>
            </div>
          </div>
          <div>
            <a class="flip header__contact" data-flip data-contact href="mailto:milo@stillform.example">
              <div class="flip__front">
                <div class="flip__glass"></div>
                <span class="flip__label glitch-text">Contact</span>
              </div>
              <div class="flip__back">Contact</div>
            </a>
          </div>
        </div>
      </header>

      <main>
        <section id="hero" class="hero">
          <div class="hero__top">
            <h1 class="hero__title">
              <span class="sr-only">Milo Varen, </span>
              <span class="hero__lines" data-hero-lines><span class="hero__para">Creative <br /><span class="font-ter">w</span>eb developer</span></span>
            </h1>
            <div class="hero__meta">
              <div class="hero__meta-a">
                <div class="hero__name">
                  <div class="hero__square" data-pop></div>
                  <div class="swap"><div class="swap__size">Milo Varen</div><div class="swap__live glitch-text" aria-hidden="true"></div></div>
                </div>
                <div class="swap hero__role"><div class="swap__size"><p>Co-founder of <br />Stillform Bureau</p></div><div class="swap__live glitch-text" aria-hidden="true"></div></div>
              </div>
              <div class="hero__meta-b">
                <div class="hero__place">
                  <div class="swap"><div class="swap__size">Based in Lyon, France</div><div class="swap__live glitch-text" aria-hidden="true"></div></div>
                  <div class="hero__time">
                    <div class="hero__dot" data-blink data-pop></div>
                    <div class="swap"><div class="swap__size" data-clock></div><div class="swap__live glitch-text" data-clock-live aria-hidden="true"></div></div>
                  </div>
                </div>
                <div class="swap hero__lance"><div class="swap__size">Independent</div><div class="swap__live glitch-text" aria-hidden="true"></div></div>
              </div>
            </div>
            <div class="hero__corners">
              <div data-icon="corner" data-hero-svg></div>
              <div class="hero__corner-r" data-icon="corner" data-hero-svg></div>
            </div>
          </div>

          <div class="hero__bottom">
            <div class="hero__bottom-left">
              <button type="button" class="square-btn hero__scroll" aria-label="Scroll to next section" data-hero-scroll>
                <span class="square-btn__a" data-icon="arrowDown"></span>
                <span class="square-btn__b" data-icon="arrowDown2"></span>
              </button>
              <div class="swap hero__tagline">
                <div class="swap__size"><p>Editorial websites, WEBGL <br />and motion for presses, <br />makers and places.</p></div>
                <div class="swap__live swap__live--bottom glitch-text" aria-hidden="true"></div>
              </div>
            </div>

            <div class="hero__bottom-right">
              <div class="hero__eggs">
                <div class="egg-audio hero-audio-easter" data-audio>
                  <div class="egg-audio__pop" data-audio-pop></div>
                  <button type="button" class="square-tile" aria-label="What I'm listening to" aria-expanded="false" data-audio-toggle>
                    <span class="square-tile__ink square-tile__ink--audio" data-audio-bars data-icon="audioBars"></span>
                  </button>
                </div>
                <div class="egg-text">
                  <div class="egg-text__clip" data-egg-text>
                    <div class="egg-text__box"><p>My family says I “fix the Wi-Fi.”</p></div>
                  </div>
                  <button type="button" class="square-tile" aria-label="Show hidden message" aria-expanded="false" data-egg-toggle>
                    <span class="square-tile__ink square-tile__ink--folder" data-icon="folder"></span>
                  </button>
                </div>
              </div>

              <div class="hero__discover">
                <div class="swap__size discover__size"><p><span class="only-tab">Discover </span><a href="#studio" tabindex="-1" aria-hidden="true">Stillform Bureau</a></p></div>
                <div class="discover__live">
                  <span class="glitch-text only-tab discover__word" data-discover-word></span><a class="cta discover__cta" data-cta data-hero-text href="#studio">Stillform Bureau</a>
                </div>
              </div>

              <div class="hero__mobile-link">
                <div class="swap__size">Work</div>
                <div class="discover__live">
                  <a class="cta" data-cta data-hero-text href="#work">Work</a>
                </div>
              </div>
              <div class="hero__mobile-link">
                <div class="swap__size">About</div>
                <div class="discover__live">
                  <a class="cta" data-cta data-hero-text href="#about">About</a>
                </div>
              </div>
            </div>
          </div>
        </section>

        <section id="about" class="about text-top-section" tabindex="-1">
          <h2 class="sr-only">About Milo Varen</h2>
          <div class="about__inner">
            <div class="rich-wrap">
              <div class="rich has-inner-picto has-inner-link" data-rich>
                <p>I’m<span class="smile" data-rich-icon="smile"> </span>Milo, an independent creative developer <span class="top-text" data-prefix="./">since 2020</span> in Lyon, building editorial sites, cultural experiences &amp; product stories for small teams. </p>
                <p>I direct motion,<span class="star" data-rich-icon="star"> </span>write shaders and build interfaces that still work on an old phone.<span class="bottom-text"> — screen             readers included.</span></p>
              </div>
            </div>
          </div>
        </section>

        <section class="confidential" data-confidential>
          <div class="confidential__left">
            <button type="button" class="confidential__replay" aria-label="Replay confidential text" data-confidential-replay data-icon="fileLog"></button>
            <div class="confidential__copy">
              <div class="confidential__size" data-confidential-size>
                <div class="confidential__mobile" data-confidential-mobile><p>Since 2020, I’ve worked  with publishers, makers and places&amp;#10;on sites built as carefully&amp;#10;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;as the books, bowls and&amp;#10;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rooms they show.&amp;#10;&amp;#10;From book indexes to&amp;#10;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;seasonal guides,&amp;#10;&amp;#10;the job is&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;always&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;to leave them  with a site&amp;#10;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;they can keep editing.</p></div>
                <div class="confidential__wide" data-confidential-wide><p>Since 2020, &amp;nbsp;&amp;nbsp;&amp;nbsp;I’ve &amp;nbsp;&amp;nbsp;&amp;nbsp;worked with  publishers, makers and places &amp;nbsp;&amp;nbsp;&amp;nbsp;on sites built as carefully &amp;#10;as the books, bowls and rooms they are made to show.&amp;#10;&amp;#10;From book indexes and colophons to &amp;#10;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;seasonal guides, &amp;#10;&amp;#10;the job is &amp;nbsp;&amp;nbsp;&amp;nbsp;always &amp;nbsp;&amp;nbsp;&amp;nbsp;to leave them with a site &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;they can keep editing.</p></div>
              </div>
              <div class="confidential__live glitch-text-inner" data-confidential-live aria-hidden="true"></div>
            </div>
          </div>
          <div class="confidential__right">
            <div class="gif-pop__anchor">
              <div class="gif-pop" data-gif-pop>
                <div class="gif-pop__text-wrap">
                  <div class="gif-pop__text" data-gif-text>
                    <div class="gif-pop__size"><p data-gif-size>Léa wrote that label in caps. <br />One look and we say nothing. <br />Don’t open it twice.</p></div>
                    <div class="gif-pop__live" data-gif-live aria-hidden="true"></div>
                  </div>
                </div>
                <div class="gif-pop__media" data-gif-media></div>
                <button type="button" class="gif-pop__close" aria-label="Close" tabindex="-1" data-gif-close data-icon="close"></button>
              </div>
            </div>
            <button type="button" class="confidential__btn" aria-expanded="false" data-gif-toggle>
              <span class="confidential__folder" data-icon="folder"></span>
              <span class="confidential__label"><span class="glitch-text">CONFIDENTIAL/2026</span><br /><span class="glitch-text">DO_NOT_OPEN</span></span>
            </button>
          </div>
        </section>

        <section id="studio" class="studio text-bottom-section" tabindex="-1" data-technos>
          <div class="studio__text">
            <div class="rich-wrap">
              <div class="rich has-inner-picto has-inner-link" data-rich>
                <p>In 2023 I co-founded<span class="logo" data-rich-icon="logo"> </span><a href="#studio">Stillform&nbsp;Bureau,</a> <br class="br-phone" />a small digital practice with Léa <a href="mailto:milo@stillform.example?subject=For%20L%C3%A9a%20Perrin">Perrin,</a> our <br />art director.<span class="more" data-rich-icon="more"> </span>Together, we design &amp; develop <br />custom sites for presses, makers and places. <span class="bottom-text">— proof by proof, page by page.</span></p>
              </div>
            </div>
            <div class="studio__talk">
              <a class="flip flip--tight studio__talk-btn" data-flip href="mailto:milo@stillform.example?subject=Hello%20Stillform%20Bureau">
                <div class="flip__front">
                  <div class="flip__glass"></div>
                  <span class="flip__label glitch-text">Let's talk</span>
                </div>
                <div class="flip__back">Let's talk</div>
              </a>
            </div>
          </div>

          <div class="studio__stack">
            <div class="studio__stack-title glitch-text"><h3>Technologies:</h3></div>
            <ul class="studio__stack-list"><li>JavaScript</li><li>GSAP</li><li>WebGL / GLSL</li><li>Vite</li></ul>
          </div>

          <div class="studio__tiles">
            <div class="studio__coords">
              <span class="glitch-text">45°45'36.0&quot; N </span>
              <span class="glitch-text">4°50'24.0&quot; E</span>
            </div>
            <div class="studio__tile"><span class="studio__globe" data-globe data-icon="globe"></span></div>
            <div class="studio__tile studio__tile--clip">
              <span class="studio__arrow" data-arrow data-icon="arrowDiag"></span>
              <span class="studio__arrow studio__arrow--ghost" data-arrow-ghost data-icon="arrowDiag2"></span>
            </div>
            <div class="studio__tile"><span class="studio__target" data-target data-icon="target"></span></div>
          </div>
        </section>

        <section id="work" class="work" tabindex="-1" data-projects>
          <div class="work__head">
            <div class="work__title"><div class="glitch-text"><h2>Selected concepts</h2></div></div>
            <div class="work__col glitch-text">Role</div>
            <div class="work__col glitch-text">Scope</div>
            <div class="work__col glitch-text">Stack</div>
          </div>
          <div data-project-list></div>
        </section>
      </main>

      <footer class="footer footer-section">
        <div class="footer__center">
          <div class="footer__mark">
            <h2 class="footer__heading" data-footer-heading>
              <span class="footer__line footer__line--note glitch-text">Thank you &amp;</span>
              <span class="footer__line"><span class="footer__word">See</span> <span class="font-ter">y</span><span class="footer__word footer__word--after-ter">ou</span></span>
              <span class="footer__line"><span class="footer__word">soon!</span></span>
            </h2>
            <div class="footer__deco footer__deco--left">
              <div class="footer__deco-a"><span class="glitch-text footer__mr" data-reveal-a>Web</span><span class="glitch-text footer__tab-fade" data-reveal-a>development</span></div>
              <div class="footer__deco-b only-tab-block glitch-text" data-reveal-a>1 Web development</div>
              <div class="footer__deco-b hide-tab glitch-text" data-reveal-a>1 Web</div>
              <div class="footer__deco-c glitch-text" data-loop>0110 </div>
            </div>
            <div class="footer__deco footer__deco--right">
              <div class="footer__deco-d glitch-text" data-loop>111001101 010 111111</div>
              <div class="footer__deco-e glitch-text" data-reveal-a>Web development</div>
              <div class="footer__deco-f"><span class="glitch-text footer__mr-s" data-loop>0110</span><span class="glitch-text" data-reveal-a>1</span></div>
              <div class="footer__deco-g glitch-text" data-reveal-a>‹over/› </div>
            </div>
          </div>
        </div>

        <div class="footer__bar">
          <div class="footer__intro">
            <button type="button" class="square-btn footer__top" aria-label="Back to top" data-top>
              <span class="square-btn__a" data-icon="arrowUp"></span>
              <span class="square-btn__b square-btn__b--down" data-icon="arrowUp2"></span>
            </button>
            <div class="only-tab-block" data-footer-note><p>Making a book, a bowl <br />or a room worth visiting? <br />Léa and I read every note.</p></div>
          </div>

          <div class="footer__contact">
            <div data-copy-block>
              <p><span class="glitch-text">Drop me a line </span><br /><span class="copy-link" data-copy>milo@stillform.example</span></p>
            </div>
            <div class="copy-flag" data-copy-flag><div>copy</div><div class="copy-flag__ok" data-copy-ok data-icon="check"></div></div>
          </div>

          <div class="footer__studio">
            <a class="cta" data-cta href="#studio">Stillform Bureau</a>
          </div>

          <div class="only-tab-block">
            <div class="glitch-text">Based in Lyon, France</div>
            <div class="footer__time">
              <div class="hero__dot" data-blink></div>
              <div class="glitch-text" data-footer-clock>00:00 (CET)</div>
            </div>
          </div>

          <div class="footer__credit">
            <div>
              <span class="glitch-text">Designed in Lyon by </span><br class="footer__br" />
              <a href="#studio" data-credit>Stillform Bureau</a>.
              <br class="footer__br" /><span class="glitch-text">© 2026</span>
            </div>
            <button type="button" class="square-btn footer__top-m" aria-label="Back to top" data-top>
              <span class="square-btn__a" data-icon="arrowUp"></span>
              <span class="square-btn__b square-btn__b--down" data-icon="arrowUp2"></span>
            </button>
          </div>
        </div>
      </footer>
    </div>
    <div id="teleports"></div>
  </body>
</html>
```

## 5. Styles

Create `src/styles.css` exactly as below. It contains the fonts, all type tokens and breakpoints, section geometry and the color palette. The two responsive queries are: tab `(min-aspect-ratio: 3/5) and (min-width: 768px)`, desk `(min-aspect-ratio: 3/5) and (min-width: 1200px)`. Below tab, the layout is the phone layout, in a single column with larger type.

```css
/* Fonts. All three families are under the SIL Open Font License, see public/fonts/OFL-*.txt.
   size-adjust and the ascent and descent overrides keep line widths and baselines
   where this layout expects them. */
@font-face {
  font-family: "Liquid Display"; font-display: swap; font-weight: 100 900;
  size-adjust: 110%; ascent-override: 74.6%; descent-override: 27.3%; line-gap-override: 0%;
  src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Liquid Script"; font-display: swap;
  size-adjust: 106%; ascent-override: 66%; descent-override: 30.4%; line-gap-override: 0%;
  src: url("/fonts/pinyon-script-latin-400-normal.woff2") format("woff2");
}
@font-face { font-family: "Sometype Mono"; font-display: swap; font-weight: 400; src: url("/fonts/sometype-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sometype Mono"; font-display: swap; font-weight: 600; src: url("/fonts/sometype-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sometype Mono"; font-display: swap; font-weight: 700; src: url("/fonts/sometype-mono-latin-700-normal.woff2") format("woff2"); }

/* Layout tokens. "tab" and "desk" are (min-aspect-ratio: 3/5) with min-width 768px / 1200px. */
:root {
  --serif: "Liquid Display", "Times New Roman", serif;
  --mono: "Sometype Mono", ui-monospace, Menlo, Consolas, monospace;
  --script: "Liquid Script", cursive;
  --serif-track: 0em;
  --serif-weight: 205;

  /* Palette. Text and icons stay pure white. */
  --oil: #080b0e;
  --rail: #d3dae0;
  --rule: #ced6dd;
  --glass: 98 108 118;

  --gm: 24px;
  --gut: 10px;

  --t-xxl: 14.92svw;
  --t-xl: 20.94svw;
  --t-l: 7.1svw;
  --t-ml: 6.23svw;
  --t-m: 6.23svw;
  --t-ms: 4.47svw;
  --t-mxs: 3.99svw;
  --t-s: 3.74svw;
  --t-xs: 3.48svw;
  --t-xxs: 2.98svw;
  --t-load-l: 8.72svw;
  --t-load-s: 2.74svw;
}

@media (min-aspect-ratio: 3/5) and (min-width: 768px) {
  :root {
    --t-xxl: 11.2svw;
    --t-xl: 8.2svw;
    --t-l: 3.9svw;
    --t-ml: max(20px, 2.44svw);
    --t-m: max(15px, 1.95svw);
    --t-ms: max(15px, 1.75svw);
    --t-mxs: max(14px, 1.56svw);
    --t-s: max(13px, 1.46svw);
    --t-xs: max(13px, 1.36svw);
    --t-xxs: max(12px, 1.17svw);
    --t-load-l: 5.85svw;
    --t-load-s: max(11px, 1.07svw);
  }
}

@media (min-aspect-ratio: 3/5) and (min-width: 1200px) {
  :root {
    --gut: 24px;
    --t-xxl: 7.52svw;
    --t-xl: 4.86svw;
    --t-l: 2.31svw;
    --t-m: max(20px, 1.56svw);
    --t-ms: max(15px, 1.04svw);
    --t-mxs: max(15px, 0.92svw);
    --t-s: max(15px, 0.86svw);
    --t-xs: max(14px, 0.81svw);
    --t-xxs: max(12px, 0.69svw);
    --t-load-l: 3.47svw;
    --t-load-s: max(11px, 0.63svw);
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
h1, h2, h3, h4 { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg, canvas, video, iframe { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; cursor: pointer; letter-spacing: inherit; }

html {
  --webgl-hold: 0;
  --html-bg-r: calc(62 * (1 - var(--webgl-hold)));
  --html-bg-g: calc(68 * (1 - var(--webgl-hold)));
  --html-bg-b: calc(73 * (1 - var(--webgl-hold)));
  background-color: rgb(var(--html-bg-r) var(--html-bg-g) var(--html-bg-b));
  background-image:
    linear-gradient(rgb(8 11 14 / var(--webgl-hold)), rgb(8 11 14 / var(--webgl-hold))),
    linear-gradient(to right, #34393d 0, #3a4045 10%, #3e4449 20%, #444a50 30%, #464d53 40%, #474d54 50%, #464d53 60%, #444a50 70%, #3e4449 80%, #3a4045 90%, #34393d 100%);
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}
html.is-loading { overflow: hidden; overscroll-behavior: none; }
html.is-loader-dark { background: var(--oil); }
html.is-holding, html.is-holding * { user-select: none; -webkit-user-select: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  text-transform: uppercase;
  color: #fff;
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.font-ter { font-family: var(--script); letter-spacing: 0.03em; font-size: 1.15em; line-height: 0.85; }
.only-tab { display: none; }
.only-tab-block { display: none; }
.page { visibility: hidden; }
.page.is-ready { visibility: visible; }

section[tabindex="-1"]:focus { outline: none; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Background canvas */
.liquid { position: fixed; z-index: -1; top: 0; left: 0; width: 100svw; height: 100lvh; }
.liquid canvas { display: block; width: 100%; height: 100%; }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 0 var(--gm) 13.77svh;
  background: var(--oil); color: #fff; font-family: var(--mono);
}
.loader__word {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  text-transform: uppercase; font-size: var(--t-load-s); line-height: 1; letter-spacing: 0.03em;
}
.loader__label { font-family: var(--serif); font-weight: var(--serif-weight); font-size: var(--t-load-l); line-height: 0.85; letter-spacing: 0; }
.loader__note { opacity: 0; }
.loader__note--top { position: absolute; bottom: 100%; margin-bottom: 1em; }
.loader__note--spaced { margin-right: 1em; }
.loader__note--nowrap { min-width: max-content; }
.loader__note--a { margin-left: 3.18em; }
.loader__note--b { margin-left: 2.45em; }
.loader__side { position: absolute; opacity: 0.7; width: max-content; }
.loader__side--left { top: 0.3em; right: 100%; text-align: right; transform: translateX(0.5em); }
.loader__side--right { top: 0; left: 100%; transform: translateX(-1.78em); }
.loader__under { opacity: 0.7; }
.loader__note--under-left { position: absolute; top: 100%; margin-top: 0.5em; right: 100%; }
.loader__note--under-right { position: absolute; top: 100%; margin-top: 0.5em; right: 1.27em; }
.loader__foot {
  position: absolute; z-index: 6; left: var(--gm); right: var(--gm);
  bottom: calc(10px + env(safe-area-inset-bottom)); font-size: var(--t-xxs); line-height: 1;
}
.loader__count { width: max-content; padding-bottom: 0.6em; }
.loader__track { border-width: 1px; }
.loader__bar { width: 100%; height: 0.4em; transform-origin: left; background: #fff; transform: scaleX(0); }

/* Hold hint near the cursor */
.hold-hint {
  position: fixed; top: -1.5em; left: -4.5em; width: 9em;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--mono); font-size: var(--t-xxs); line-height: 1; text-align: center;
  visibility: hidden; opacity: 0; pointer-events: none;
}
.hold-hint__row { display: flex; justify-content: space-between; min-height: 1em; }
.hold-hint__row--center { justify-content: center; }

/* Link with rolling text */
.cta { display: flex; align-items: flex-start; line-height: 0.9; }
.cta__text { position: relative; display: inline-flex !important; justify-content: center; clip-path: inset(0 -50%); }
.cta__a { display: block; }
.cta__b { position: absolute; top: 100%; left: 0; display: block; white-space: nowrap; }
.cta__arrow { width: 0.71em; margin-left: 0.35em; }
.cta__arrow svg { width: 100%; height: auto; }

/* Flip button */
.flip { position: relative; display: block; perspective: 200px; perspective-origin: top; transform-style: preserve-3d; }
.flip__front { padding: 0.57em 1.42em; color: #fff; backface-visibility: hidden; }
.flip__glass { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; backdrop-filter: blur(100px); background: rgb(var(--glass) / 0.1); border-width: 1px; }
.flip__label { display: inline-block; position: relative; z-index: 1; }
.flip__back {
  position: absolute; left: 0; top: 100%; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #fff; color: #000;
  perspective-origin: bottom; backface-visibility: hidden;
}
.flip--tight .flip__front { padding: 0.32em 0.21em; }

/* Square buttons */
.square-btn {
  position: relative; display: flex; justify-content: center; align-items: center;
  aspect-ratio: 1; border-width: 1px; overflow: hidden; cursor: pointer;
}
.square-btn span { display: block; width: 50%; pointer-events: none; }
.square-btn svg { width: 100%; height: auto; }
.square-btn__b { position: absolute; }

.square-tile {
  width: 13.21svw; aspect-ratio: 1; display: flex; align-items: center; border-width: 1px; cursor: pointer;
}
.square-tile__ink { display: block; width: 100%; pointer-events: none; }
.square-tile__ink--audio { padding: 0 18%; }
.square-tile__ink--folder { padding: 0 15%; }
.square-tile svg { width: 100%; height: auto; }

/* Header */
.header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: var(--gm); font-family: var(--mono);
}
.header__left { flex: 1; }
.progress { width: 27svw; padding-right: calc(var(--gut) * 2); font-size: var(--t-xxs); line-height: 1; }
.progress__bar { width: 100%; height: 0.63em; margin-bottom: 0.42em; padding: 1px; border: 1px solid var(--rail); }
.progress__fill { width: 100%; height: 100%; background: var(--rail); }
.progress__num { width: max-content; }
.header__mode { display: none; font-size: var(--t-xs); }
.header__mode svg { width: 2.57em; height: auto; }
.header__right { flex: 1; display: flex; flex-direction: column; align-items: flex-end; font-size: var(--t-xs); line-height: 1; }
.header__links { display: none; margin-bottom: 1.07em; }
.header__link { margin-left: 0.85em; }

/* Hero */
.hero { height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: var(--gm); }
.hero__top { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; }
.hero__title { width: 100%; margin-top: 1.71em; font-size: var(--t-xxl); line-height: 0.85; letter-spacing: var(--serif-track); }
.hero__title .font-ter { display: inline-block; line-height: 0.3; margin-top: 0.45em; margin-bottom: 0.1em; }
.hero__lines, .hero__para { display: block; }
.hero .hero-line-1 { text-align: right !important; }
.hero .hero-line-3 { text-align: center !important; }

.hero__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  margin-top: 1.42em; padding-bottom: 2.5em;
  font-family: var(--mono); font-size: var(--t-xs); line-height: 0.9;
}
.hero__meta { width: 100%; }
.hero__meta-a { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.hero__name { display: flex; align-items: center; font-weight: 700; font-size: var(--t-ms); line-height: 1; }
.hero__square { width: 0.88em; aspect-ratio: 1; margin-right: 0.5em; background: #fff; }
.hero__role { text-align: left; }
.hero__meta-b { display: flex; justify-content: space-between; flex-wrap: wrap; width: 100%; }
.hero__place { width: 100%; margin-top: 1.42em; }
.hero__time { display: flex; align-items: center; }
.hero__dot { width: 0.35em; aspect-ratio: 1; margin-right: 0.57em; border-radius: 50%; background: #fff; }
.hero__lance { margin-top: 1.42em; }
.hero__corners { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-between; }
.hero__corner-r { transform: rotate(-90deg); }

.swap { position: relative; }
.swap__size { opacity: 0; }
.swap__live { position: absolute; left: 0; top: 0; width: 100%; }
.swap__live--bottom { top: auto; bottom: 0; }

.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; align-self: stretch; font-family: var(--mono); font-size: var(--t-xs); line-height: 1; }
.hero__bottom-left { width: 58.33%; }
.hero__scroll { display: none; width: 10.22svw; margin-right: 1em; }
.hero__scroll .square-btn__a { transform: rotate(135deg); }
.hero__scroll .square-btn__b { transform: translateY(-175%) rotate(135deg); }
.hero__tagline { margin-top: 1.07em; }
.hero__bottom-right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.hero__eggs { display: none; align-items: flex-end; }
.hero__discover { position: relative; }
.discover__size a { margin-right: 0.81em; position: relative; }
.discover__size a::after {
  content: ""; position: absolute; aspect-ratio: 1; width: 0.61em; top: 0.3em; left: calc(100% + 0.21em);
  background-image: url("/arrow.svg"); background-size: cover;
}
.discover__live { position: absolute; right: 0; top: 0; min-width: 100%; width: max-content; text-align: right; }
.discover__word { display: none; }
.discover__cta { display: inline-flex; margin-left: 0.8em; }
.hero__mobile-link { position: relative; margin-top: 1em; text-align: right; }
.hero__mobile-link .cta { display: inline-flex; }

/* Hero easter eggs */
.egg-audio { position: relative; margin-right: 10px; }
.egg-audio__pop { position: absolute; right: 100%; bottom: 100%; pointer-events: none; }
.egg-audio__item { display: flex; border-width: 1px; font-size: var(--t-xxs); line-height: 1; }
.egg-audio__embed { padding: 0.58em 0 0.58em 0.58em; }
.egg-audio__frame { pointer-events: auto; width: 200px; aspect-ratio: 1; }
.tape { position: relative; display: block; width: 100%; height: 100%; border: 1px solid #fff; background: rgb(var(--glass) / 0.1); cursor: pointer; }
.tape canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tape__state { text-transform: uppercase; position: absolute; left: 0; bottom: 0; padding: 0.5em 0.65em; border-width: 1px 1px 0 0; font-family: var(--mono); font-size: var(--t-xxs); line-height: 1; background: rgb(var(--glass) / 0.6); }
.tape:hover .tape__state, .tape:focus-visible .tape__state { background: #fff; color: #000; }
.egg-audio__info { width: 9.91em; margin-left: 0.83em; display: flex; flex-direction: column; justify-content: space-between; }
.egg-audio__info p { margin-right: 1.83em; padding: 0.58em 0.58em 0 0; }
.egg-audio__info span { display: block; }
.egg-audio__label { margin-bottom: 1em; }
.egg-audio__next {
  padding: 0.58em; border-width: 1px 0 0 1px; cursor: pointer; align-self: flex-end; pointer-events: auto;
  display: flex; justify-content: center; align-items: center; aspect-ratio: 1;
}
.egg-audio__next-ink { transform: rotate(45deg); pointer-events: none; }

.egg-text { display: flex; overflow: hidden; }
.egg-text__clip { width: 15.33em; font-size: var(--t-xxs); line-height: 1; pointer-events: none; }
.egg-text__box { height: 100%; width: 15.33em; display: flex; align-items: center; justify-content: center; border-width: 1px; border-right-width: 0; }
.egg-text__box p { width: 12.33em; }

/* Rich text blocks */
.rich-wrap { display: flex; justify-content: center; align-items: center; text-align: center; width: 100%; }
.rich { position: relative; width: 100%; font-size: var(--t-l); line-height: 1.2; letter-spacing: var(--serif-track); }
.rich > p:not(:last-child) { margin-bottom: 1em; }
.rich-line { position: relative; white-space: nowrap; }
.rich span { display: inline-block; }
.has-inner-picto span { margin-inline: 0.2em; }
.has-inner-picto img, .has-inner-picto svg { width: auto; }
.has-inner-picto .smile svg { height: 1.05em; transform: translateY(9%); }
.has-inner-picto .star svg { height: 0.625em; transform: translateY(-14%); }
.has-inner-picto .logo img { height: 1.25em; transform: translateY(20%); }
.has-inner-picto .more { margin-left: 1.15em; }
.has-inner-picto .top-text, .has-inner-picto .bottom-text {
  display: block; font-family: var(--mono); font-size: var(--t-xxs); line-height: 1; letter-spacing: 0; text-align: left;
}
.has-inner-picto .top-text { position: absolute; width: max-content; bottom: 100%; right: 2.4em; }
.has-inner-picto .bottom-text { position: absolute; top: 100%; white-space: pre-wrap; }
.text-bottom-section .logo { height: 1em; transform: translateY(-0.25em); }
.text-top-section .bottom-text { width: 31.5svw; right: 0; transform: translateY(1em); }
.text-bottom-section .bottom-text { width: 10.5em; left: 1.3em; }
.text-bottom-section .bottom-text, .text-top-section .top-text { display: none !important; }

.has-inner-link a {
  --hover-progress: 0;
  position: relative; margin-right: 0.4em; clip-path: inset(0 -50%);
}
.has-inner-link a::after {
  content: ""; position: absolute; aspect-ratio: 1; width: 0.3em; top: 0.3em; left: calc(100% - 0.1em);
  background-image: url("/arrow.svg"); background-size: cover;
}
.has-inner-link a.has-drawn-arrow { display: inline-block; }
.has-inner-link a.has-drawn-arrow::after { display: none; }
.has-inner-link .inner-link-arrow { position: absolute; width: 0.35em; height: auto; top: 0.25em; left: calc(100% + 0.05em); overflow: visible; }
.roll-original { top: 0; }
.roll-clone { position: absolute !important; top: 100%; left: 0; }

/* About */
.about { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 25svh var(--gm) 15.55svh; }
.about__inner { width: 100%; }

/* Confidential */
.confidential { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding: 0 var(--gm); }
.confidential__left { display: flex; justify-content: space-between; width: 100%; font-size: var(--t-s); line-height: 1; }
.confidential__replay { align-self: flex-start; width: 2.4em; cursor: pointer; }
.confidential__replay svg { width: 100%; height: auto; }
.confidential__copy { position: relative; width: 83.3333%; margin-bottom: 7.26em; font-family: var(--mono); }
.confidential__size { opacity: 0; max-width: 100%; overflow: hidden; }
.confidential__size p { white-space: pre-wrap; }
.confidential__wide { display: none; }
.confidential__live { position: absolute; left: 0; top: 0; width: 100%; white-space: pre-wrap; }
.confidential__right { position: relative; font-size: var(--t-xxs); line-height: 1; }
.confidential__btn {
  min-width: max-content; display: flex; align-items: center; text-align: left;
  padding: 1.21em 1.14em 1.35em; border: 1px solid #fff; cursor: pointer; text-transform: uppercase;
}
.confidential__folder { display: block; flex-shrink: 0; width: 3.98em; pointer-events: none; }
.confidential__folder svg { width: 100%; height: auto; }
.confidential__label { display: block; flex-shrink: 0; width: max-content; min-width: 9.6svw; margin-left: 1.5em; font-family: var(--mono); }

.gif-pop__anchor { position: absolute; z-index: 10; pointer-events: none; transform: translateX(-1.33em); right: 2em; bottom: -255%; }
.gif-pop { position: relative; pointer-events: auto; padding: 0.83em; border-width: 1px; backdrop-filter: blur(10px); }
.gif-pop__text-wrap { width: 20em; }
.gif-pop__text { position: relative; font-family: var(--mono); font-size: var(--t-xs); line-height: 1; }
.gif-pop__size { opacity: 0; padding: 0.4em 0 1.25em; }
.gif-pop__live { position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 0.4em 0 1.25em; }
.gif-pop__media { width: 20em; aspect-ratio: 240 / 180; }
.gif-pop__media img { object-fit: cover; width: 100%; height: 100%; }
.gif-pop__close {
  position: absolute; right: 0; top: 0; width: 1.33em; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; border-width: 0 0 1px 1px; cursor: pointer;
}
.gif-pop__close svg { pointer-events: none; width: 62.5%; }

/* Studio + stack */
.studio { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 14.19svh var(--gm) 0; }
.studio__text { position: relative; display: flex; justify-content: center; }
.studio__text br { display: none; }
.studio__text br.br-phone { display: block; }
.studio__talk { position: absolute; top: 100%; font-size: var(--t-xs); line-height: 1; }
.studio__talk-btn { font-family: var(--mono); transform: translateY(1.57em); }
.studio__stack { align-self: flex-start; margin-top: 14.75svh; min-width: 25%; font-family: var(--mono); }
.studio__stack-title { font-size: var(--t-mxs); line-height: 1; margin-bottom: 0.3em; font-weight: 600; }
.studio__stack-list { display: flex; font-size: var(--t-xs); line-height: 1; }
.studio__stack-list li:not(:first-child)::before { content: " - "; white-space: pre; }
.studio__tiles { position: relative; display: flex; align-items: center; margin-top: 12svh; font-size: var(--t-xxs); line-height: 1; }
.studio__coords { position: absolute; right: 100%; align-self: flex-start; margin-right: 0.71em; font-family: var(--mono); text-align: right; }
.studio__coords span { display: block; min-width: max-content; }
.studio__tile { position: relative; width: 3.57em; aspect-ratio: 1; margin-left: 0.71em; display: flex; justify-content: center; align-items: center; border-width: 1px; }
.studio__coords + .studio__tile { margin-left: 0; }
.studio__tile--clip { overflow: hidden; }
.studio__globe { display: block; width: 86%; }
.studio__arrow { display: block; width: 50%; }
.studio__arrow--ghost { position: absolute; translate: -150% 150%; }
.studio__target { display: block; width: 70%; }
.studio__tile svg { width: 100%; height: auto; }

/* Selected work */
.work { padding-top: 14.92svh; }
.work__head { display: flex; padding: 0 var(--gm); font-family: var(--mono); font-size: var(--t-s); line-height: 1; }
.work__title { width: 33.3333%; margin-bottom: 1.33em; font-size: var(--t-xs); white-space: nowrap; }
.work__col { display: none; width: 20.8333%; }
.project { padding: 0 var(--gm); font-size: var(--t-m); line-height: 1; letter-spacing: var(--serif-track); }
.project:last-child .project__row { border-bottom-width: 1px; }
.project__row { display: flex; align-items: center; padding: 1em 0; border-color: var(--rule); border-top-width: 1px; }
.project__name { font-size: var(--t-m); line-height: 1; }
.project__name a { display: inline-block; position: relative; clip-path: inset(-10% 0% 0% 0%); }
.project__year { font-family: var(--mono); font-size: var(--t-xxs); line-height: 1; letter-spacing: 0; }
.project__cell { display: none; width: 20.8333%; }
.project__cta-wrap { flex: 1; display: flex; justify-content: flex-end; font-family: var(--mono); font-size: var(--t-xs); line-height: 1; letter-spacing: 0; }
.project__cta { display: flex; pointer-events: auto; }
.project__cta-label { position: relative; overflow: hidden; }
.project__cta-arrow { width: 0.7em; margin-left: 0.5em; }
.project__cta-arrow svg { width: 100%; height: auto; }

/* Footer */
.footer { display: flex; flex-direction: column; min-height: 100svh; padding: 0 var(--gm) var(--gm); font-size: var(--t-xs); line-height: 1; }
.footer__center { flex: 1; display: flex; justify-content: center; align-items: center; }
.footer__mark { position: relative; }
.footer__heading { text-align: center; font-size: var(--t-xl); line-height: 0.85; letter-spacing: var(--serif-track); }
.footer__line { position: relative; display: block; }
.footer__line--note { font-family: var(--mono); font-size: var(--t-xs); line-height: 1; letter-spacing: 0; margin-bottom: 1.42em; }
.footer__word { display: inline-block; }
.footer__heading .font-ter { display: inline-block; position: absolute; top: 69%; left: 44.35%; font-size: 1.23em; line-height: 0; transform: translate(-0.255em) translateY(0.055em); }
.footer__word--after-ter { margin-left: 0.54em; }

.footer__deco { position: absolute; top: 5.25em; opacity: 0.7; display: flex; flex-direction: column; line-height: 1.3; font-family: var(--mono); }
.footer__deco--left { left: -3%; }
.footer__deco--right { right: -3%; }
.footer__deco-a { margin-right: 1.42em; }
.footer__mr { margin-right: 2.4em; }
.footer__tab-fade { opacity: 0; }
.footer__deco-b { margin-left: 0.5em; }
.footer__deco-c { margin-top: 1.9em; min-width: max-content; }
.footer__deco-d { margin-left: 0.71em; min-width: max-content; }
.footer__deco-e { margin-left: 2.2em; }
.footer__deco-f { align-self: center; }
.footer__mr-s { margin-right: 0.5em; min-width: max-content; }
.footer__deco-g { align-self: flex-end; margin-top: 0.35em; }

.footer__bar { font-family: var(--mono); line-height: 1.2; justify-content: space-between; align-items: flex-start; }
.footer__intro { display: flex; align-items: flex-start; }
.footer__top { display: none; margin-right: 1em; }
.footer__top .square-btn__a { transform: rotate(-45deg); }
.footer__top .square-btn__b { transform: translateY(175%) rotate(-45deg); }
.footer__top-m { width: 10.22svw; }
.footer__top-m .square-btn__a { transform: rotate(-45deg); }
.footer__top-m .square-btn__b { transform: translateY(175%) rotate(-45deg); }
.footer__contact { margin: 2.14em 0; }
.footer__studio { margin-bottom: 2.14em; }
.footer__time { display: flex; align-items: center; }
.footer__credit { display: flex; justify-content: space-between; align-items: flex-end; }

.link-roll { display: inline-flex !important; position: relative; justify-content: center; clip-path: inset(0 -50%); }

.copy-link { --anim-progress: 0; display: block; position: relative; cursor: pointer; }
.copy-link::before { content: "{ "; white-space: pre; position: relative; display: inline-block; transform: translateX(calc(0.4em * var(--anim-progress))); }
.copy-link::after { content: " }\A"; white-space: pre; position: relative; display: inline-block; transform: translateX(calc(-0.4em * var(--anim-progress))); }
.copy-flag {
  position: fixed; top: 10px; left: 12px; width: max-content; padding: 0.3em;
  display: flex; align-items: center; visibility: hidden; pointer-events: none;
  font-size: var(--t-xxs); line-height: 1; border-width: 1px; backdrop-filter: blur(100px); background: rgb(var(--glass) / 0.1);
}
.copy-flag__ok { margin-left: 0.3em; display: none; }

@media (hover: none) and (pointer: coarse) {
  .header__mode { display: block; }
}

@media (min-aspect-ratio: 3/5) and (min-width: 768px) {
  .only-tab { display: inline; }
  .only-tab-block { display: block; }
  .hide-tab { display: none; }

  .progress { padding-right: 0; width: 25svw; }
  .progress__bar { height: 0.83em; }
  .header__links { display: flex; margin-bottom: var(--gm); }

  .hero__top { text-align: center; }
  .hero__title { margin-top: 0.44em; }
  .hero__title .font-ter { margin-block: 0; line-height: 0.85; }
  .hero .hero-line-1, .hero .hero-line-3 { text-align: center !important; }
  .hero__meta { width: 91.6667%; flex-direction: row-reverse; padding-bottom: 0; margin-top: 1em; }
  .hero__meta-a { width: 34%; }
  .hero__meta-b { width: 40%; flex-direction: row-reverse; }
  .hero__place { margin-top: 0; width: auto; }
  .hero__lance { margin-top: 0; }

  .hero__bottom-left { width: 25%; }
  .hero__scroll { display: flex; width: 4svw; }
  .hero__eggs { display: flex; }
  .hero__discover { margin-top: 2.35em; }
  .discover__word { display: inline-block; }
  .hero__mobile-link { display: none; }

  .square-tile { width: 5.17svw; }

  .about { min-height: 100svh; padding-block: 0; }

  .confidential { flex-direction: row; align-items: center; }
  .confidential__left { justify-content: flex-start; }
  .confidential__replay { width: 3em; }
  .confidential__copy { width: 42.87svw; margin-left: 4.66em; margin-bottom: 0; }
  .confidential__mobile { display: none; }
  .confidential__wide { display: block; }
  .gif-pop__anchor { right: 100%; }
  .gif-pop__media.is-big { width: 40em; }

  .text-bottom-section .bottom-text, .text-top-section .top-text { display: block !important; }
  .text-top-section .bottom-text { width: 13.41em; transform: none; left: 4.6em; right: auto; }

  .studio__text br.br-phone { display: none; }
  .studio { padding-top: 33.4svh; }
  .studio__talk-btn { transform: translateY(1em); }
  .studio__stack { margin-top: 17.74svh; align-self: flex-end; }
  .studio__tiles { margin-top: 10.43svh; }

  .work { padding-top: 22.22svh; }
  .work__title { width: 29.1667%; margin-bottom: 1em; }
  .work__col { display: block; }
  .project__row { padding: 0.675em 0; }
  .project__name { font-size: var(--t-ml); width: 29.1667%; }
  .project__cell { display: block; }

  .footer__center { height: 100svh; }
  .footer__deco { top: auto; bottom: -1.3em; }
  .footer__deco--left { left: -8.4em; }
  .footer__deco--right { right: -9.5em; }
  .footer__tab-fade { opacity: 1; }
  .footer__deco-b { align-self: flex-end; }
  .footer__deco-c { margin-left: 3.2em; }
  .footer__deco-e { margin-left: 0.71em; }
  .footer__deco-g { align-self: auto; margin-top: 0; }

  .footer__bar { display: flex; flex-wrap: wrap; }
  .footer__top { display: flex; width: 3svw; }
  .footer__contact { margin: 0; }
  .footer__studio { margin-bottom: 0; }
  .footer__credit { margin-top: 2.14em; }
  .footer__top-m { display: none; }
  .footer__br { display: none; }
}

@media (min-aspect-ratio: 3/5) and (min-width: 1200px) {
  .progress { width: 15svw; }
  .hero__meta { width: 66.6667%; }
  .hero__bottom-left { display: flex; align-items: center; }
  .hero__scroll { width: 2.37svw; }
  .hero__tagline { margin-top: 0; }
  .hero__discover { margin-top: 2.8em; }
  .square-tile { width: 3svw; }
  .about__inner { width: 66.6667%; }
  .confidential__copy { width: 25.86svw; margin-left: 5.87em; }
  .studio__text { width: 70.8333%; }
  .studio__text br, .studio__text br.br-phone { display: block; }
  .studio__talk { left: 50.5%; }
  .studio__talk-btn { transform: none; }
  .work__title { width: 33.3333%; }
  .work__col { width: 16.6667%; }
  .project__name { font-size: var(--t-l); line-height: 1.2; letter-spacing: var(--serif-track); width: 33.3333%; }
  .project__cell { width: 16.6667%; }
  .footer__credit { text-align: right; margin-top: 0; }
  .footer__br { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
```

## 6. Content data

Create `src/content.js` exactly as below.

```js
// Editable site content that is rendered from JS.
// Fictional demo identity. Nobody here is a real person, client or site.

export const SCRAMBLE_CHARS = 'stillform - / * # @ * _ stillform';

// Reserved .example address: mail sent to it goes nowhere.
export const CONTACT_EMAIL = 'milo@stillform.example';
export const PROJECT_CTA = 'Discuss';

// Invented concept projects. No live sites exist, so rows offer a conversation by email.
export const PROJECTS = [
  { name: 'Serein Press', year: '2026', role: 'Design + code', scope: 'Editorial system', stack: 'GSAP / WebGL', detail: 'Concept for an independent art publisher, with a book index and an interactive colophon.' },
  { name: 'Orbe Objects', year: '2025', role: 'Creative dev', scope: 'Collection story', stack: 'JavaScript / GSAP', detail: 'Concept for a small-batch ceramics studio, with glaze studies and an object turntable.' },
  { name: 'Maison Sola', year: '2025', role: 'Design + code', scope: 'Stay experience', stack: 'JavaScript / GSAP', detail: 'Concept for an eight-room guesthouse, with a room browser and a seasonal guide.' },
  { name: 'Mica Journal', year: '2024', role: 'Development', scope: 'Reading system', stack: 'JavaScript / GSAP', detail: 'Concept for an independent culture journal, with an issue archive and long-form reading layouts.' },
  { name: 'Luma Sessions', year: '2024', role: 'Motion + code', scope: 'Event archive', stack: 'GSAP / WebGL', detail: 'Concept for an intimate live-music series, with a performance index and audio-reactive artwork.' },
  { name: 'Index Room', year: '2023', role: 'Creative dev', scope: 'Digital exhibition', stack: 'JavaScript / WebGL', detail: 'Concept for a small photography gallery, with a spatial image index and artist notes.' },
];

// Opened by the "confidential" button, one per click, looping. Original animated drawings.
export const POPUPS = [
  { src: 'media/one-look.svg', alt: 'A drawing of two eyes, one eyebrow slowly rising', text: ['Léa wrote that label in caps. ', 'One look and we say nothing. ', 'Don’t open it twice.'], big: false },
  { src: 'media/last-warning.svg', alt: 'A drawing of a hand jabbing a pointing finger sideways between warning stripes', text: ['Twice? Seriously? ', 'Last warning, from Léa.'], big: false },
  { src: 'media/staging-gone.svg', alt: 'A drawing of a small staging server blowing apart', text: ['And there goes staging. ', 'Don’t say Léa didn’t warn you'], big: true },
];

// Sketches for the audio tile. Each is synthesised live by src/tape.js, nothing is licensed or sampled.
const am = [[57, 60, 64], [53, 57, 60], [48, 55, 64], [55, 59, 62]];
export const TAPES = [
  { song: 'Slate Hour', artist: 'browser sketch 01', bpm: 76, wave: 'sine', figure: { a: 3, b: 2, seed: 0.4 }, pad: am,
    bass: [45, 0, 0, 0, 0, 0, 45, 0, 41, 0, 0, 0, 0, 0, 43, 0], lead: [0, 76, 0, 72, 0, 0, 69, 0, 0, 72, 0, 76, 0, 79, 0, 0] },
  { song: 'Second Proof', artist: 'browser sketch 02', bpm: 92, wave: 'triangle', figure: { a: 5, b: 4, seed: 1.1 }, pad: [[50, 57, 62], [53, 60, 65], [55, 62, 67], [50, 57, 65]],
    bass: [38, 0, 38, 0, 0, 0, 41, 0, 43, 0, 43, 0, 0, 0, 36, 0], lead: [74, 0, 0, 77, 0, 79, 0, 0, 81, 0, 79, 0, 77, 0, 74, 0] },
  { song: 'Kiln Light', artist: 'browser sketch 03', bpm: 62, wave: 'sine', figure: { a: 2, b: 3, seed: 2.3 }, pad: [[52, 59, 64], [48, 55, 64], [45, 52, 60], [47, 54, 62]],
    bass: [40, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 33, 0, 0, 0], lead: [0, 0, 83, 0, 0, 0, 79, 0, 0, 0, 76, 0, 0, 71, 0, 0] },
  { song: 'Late Colophon', artist: 'browser sketch 04', bpm: 104, wave: 'triangle', figure: { a: 7, b: 5, seed: 0.9 }, pad: [[55, 62, 69], [52, 59, 67], [48, 55, 64], [50, 57, 66]],
    bass: [43, 0, 43, 43, 0, 43, 0, 0, 40, 0, 40, 40, 0, 38, 0, 0], lead: [79, 0, 83, 0, 86, 83, 0, 79, 0, 76, 79, 0, 83, 0, 0, 74] },
];
```

## 7. Shared code

Create `src/utils.js` exactly as below.

```js
import gsap from 'gsap';
import { SCRAMBLE_CHARS } from './content.js';

export const isTouch = () => matchMedia('(hover: none) and (pointer: coarse)').matches;
export const prefersReducedMotion = () => matchMedia('(prefers-reduced-motion: reduce)').matches;
// Resolves a file in public/ against the page, so the build works in any sub-folder.
export const assetUrl = (path) => new URL(path, document.baseURI).href;

export const TAB_QUERY = '(min-aspect-ratio: 3/5) and (min-width: 768px)';
export const DESK_QUERY = '(min-aspect-ratio: 3/5) and (min-width: 1200px)';

export function scrambleTo(target, text, { chars = SCRAMBLE_CHARS, speed = 0.6, duration = 1.2, ease = 'expo.out', ...rest } = {}) {
  return gsap.to(target, { scrambleText: { text, chars, speed }, duration, ease, ...rest });
}

// Paris clock shown in the hero and footer, e.g. "21:58 (CET)".
export function parisClock(date = new Date()) {
  const time = date.toLocaleString('fr-FR', { timeZone: 'Europe/Paris', hour: '2-digit', minute: '2-digit' });
  const offset = new Intl.DateTimeFormat('en-US', { timeZone: 'Europe/Paris', timeZoneName: 'shortOffset' })
    .formatToParts(date)
    .find((p) => p.type === 'timeZoneName')?.value;
  return `${time} (${offset === 'GMT+2' ? 'CEST' : 'CET'})`;
}

// Blinks a dot; calls onTick every 10 blinks.
export function blink(el, onTick) {
  let n = 0;
  return gsap
    .timeline({ repeat: -1, onRepeat: () => { if (++n === 10) { n = 0; onTick?.(); } } })
    .to(el, { visibility: 'hidden', duration: 0.1, ease: 'none' }, '<=0.49')
    .to(el, { visibility: 'visible', duration: 0.1, ease: 'none' }, '<=0.49');
}

// Wraps an element's text in two stacked copies that roll vertically on hover.
export function rollText(el, { className = 'cta__text' } = {}) {
  const text = el.textContent;
  el.textContent = '';
  el.classList.add(className);
  const a = document.createElement('span');
  a.className = 'cta__a glitch-text';
  a.textContent = text;
  const b = document.createElement('span');
  b.className = 'cta__b';
  b.setAttribute('aria-hidden', 'true');
  b.textContent = text;
  el.append(a, b);
  return { a, b };
}

export function hoverPlay(el, timeline, { over = 'end', out = 0, ease = 'expo.out', duration } = {}) {
  if (isTouch()) return;
  el.addEventListener('mouseenter', () => timeline.tweenTo(over, duration ? { ease, duration } : { ease }));
  el.addEventListener('mouseleave', () => timeline.tweenTo(out, duration ? { ease, duration } : { ease }));
}
```

Create `src/main.js` exactly as below. It defines the boot order: icons and project rows first, then fonts, Lenis, the Liquid, every section, and last the loader.

```js
import './styles.css';
import gsap from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
import { SplitText } from 'gsap/SplitText';
import { ScrambleTextPlugin } from 'gsap/ScrambleTextPlugin';
import { DrawSVGPlugin } from 'gsap/DrawSVGPlugin';
import { CustomEase } from 'gsap/CustomEase';
import Lenis from 'lenis';
import { icons } from './icons.js';
import { PROJECTS } from './content.js';
import { assetUrl, prefersReducedMotion, isTouch } from './utils.js';
import { Liquid } from './liquid.js';
import { playLoader } from './sections/loader.js';
import { initHeader, initCtas, initFlips } from './sections/header.js';
import { initHero } from './sections/hero.js';
import { initRichText } from './sections/rich-text.js';
import { initConfidential } from './sections/confidential.js';
import { initStudio } from './sections/studio.js';
import { renderProjects, initProjects } from './sections/projects.js';
import { initFooter } from './sections/footer.js';
import { initEggs } from './sections/eggs.js';
import { initHoldHint } from './sections/hold-hint.js';
import { initGlitch } from './sections/glitch.js';

gsap.registerPlugin(ScrollTrigger, SplitText, ScrambleTextPlugin, DrawSVGPlugin, CustomEase);
CustomEase.create('loader-ease', 'M0,0 C0.104,0.204 0.711,0.986 1,1');
gsap.registerEffect({
  name: 'lineIn',
  effect: (target, config) =>
    gsap.fromTo(
      target,
      { clipPath: 'inset(-50% 0% 150% 0%)', yPercent: 110 },
      { yPercent: 0, clipPath: 'inset(-50% 0% 0% 0%)', duration: config.duration, ease: config.ease, delay: config.delay },
    ),
  defaults: { duration: 1, ease: 'none', delay: 0 },
  extendTimeline: true,
});

async function boot() {
  document.querySelectorAll('[data-icon]').forEach((el) => {
    el.innerHTML = icons[el.dataset.icon] ?? '';
  });
  renderProjects(PROJECTS);

  if (document.fonts?.ready) {
    await Promise.race([document.fonts.ready, new Promise((r) => setTimeout(r, 4000))]);
  }

  scrollTo(0, 0);
  const reduced = prefersReducedMotion();
  const lenis = new Lenis({ smoothWheel: !reduced });
  lenis.on('scroll', ScrollTrigger.update);
  gsap.ticker.add((t) => lenis.raf(t * 1000));
  gsap.ticker.lagSmoothing(0);
  lenis.stop();

  const scrollToY = (y, duration = 1.5) =>
    lenis.scrollTo(y, {
      immediate: reduced,
      duration,
      easing: (e) => (e === 0 ? 0 : e === 1 ? 1 : e < 0.5 ? 2 ** (20 * e - 10) / 2 : (2 - 2 ** (-20 * e + 10)) / 2),
    });

  // Local anchors ride the same eased scroll as the hero arrow.
  const goToHash = (hash) => {
    const target = document.getElementById(hash.slice(1));
    if (!target) return false;
    scrollToY(target);
    target.focus({ preventScroll: true });
    return true;
  };
  document.querySelectorAll('a[href^="#"]').forEach((link) => {
    link.addEventListener('click', (e) => {
      if (goToHash(link.getAttribute('href'))) e.preventDefault();
    });
  });

  const page = document.querySelector('[data-page]');
  const liquid = new Liquid(document.querySelector('[data-liquid]'), {
    getScrolling: () => !!lenis.isScrolling,
    textures: { flow: assetUrl('textures/flow-noise.png'), fibre: assetUrl('textures/fibre-noise.jpg') },
    onModeChange: (mode) => {
      glitch.fire();
      holdHint.setEnabled(false);
      header.setSwitch(mode);
    },
  });

  const glitch = initGlitch();
  initCtas();
  initFlips();
  const header = initHeader(lenis, () => liquid.toggleMode());
  const hero = initHero({ onScrollNext: () => scrollToY(innerHeight) });
  initRichText();
  const eggs = initEggs();
  initConfidential({ shock: (x, y) => liquid.shock(x, y) });
  initStudio();
  initProjects(liquid);
  initFooter({ onTop: () => scrollToY(0) });
  const holdHint = initHoldHint();

  page.classList.add('is-ready');
  ScrollTrigger.refresh();

  playLoader({
    onReveal: () => {
      document.documentElement.classList.remove('is-loader-dark');
      liquid.reveal();
    },
    onDone: () => {
      document.documentElement.classList.remove('is-loading');
      lenis.start();
      hero.play();
      holdHint.setEnabled(!isTouch());
      ScrollTrigger.refresh();
      if (location.hash) goToHash(location.hash);
    },
  });
  void eggs;
}

boot();
```

## 8. Section behaviours

Write each module in `src/sections/`. Export names and arguments are fixed by `main.js`. All numbers are required. Every animation uses GSAP. Respect `prefers-reduced-motion` wherever noted. `SCRAMBLE_CHARS` means the constant in `content.js`. A "hover timeline" means a paused timeline driven by `tweenTo(label)` on mouseenter and mouseleave, with the default ease `expo.out` from the `hoverPlay` helper. Skip hover wiring on touch devices (`isTouch()`).

### loader.js: `playLoader({ onReveal, onDone })`

Elements: `[data-loader]`, `[data-loader-word]`, `[data-loader-binary]`, `[data-loader-count]`, `[data-loader-track]`, `[data-loader-bar]`. `finish()` removes the root and calls `onDone`.

Reduced motion: call `onReveal()` immediately, fade the root to `autoAlpha: 0` over 0.3 s, then `finish`.

Otherwise, in a paused timeline, loop over stages value/duration: 10/0.75, 35/0.6, 70/1, 100/0.9, each with ease `loader-ease`: tween a state value (update count text to `${Math.round(v)}%`), the bar `scaleX` to value/100, and the count `xPercent: -value, x: trackWidth * value / 100`, all together. At time 0 add a 2 s tween of the root background to `rgba(0,0,0,0)` with `onComplete: onReveal`. After the stages, tween the count from `yPercent: 0, clipPath: inset(0% 0% 0% 0%)` to `yPercent: -100, clipPath: inset(100% 0% 0% 0%)`, delay 0.2, `expo.out`, 1 s. 0.2 s into that, the track makes the same move in 0.3 s. Let `total = tl.duration() - 0.5`. Each word element: `tl.set(el, { opacity: 1 }, i * 0.2)`, then `.from(el, { scrambleText: { text: '', chars: '01 0 1', speed: 0.3, revealDelay: total * 0.6 }, duration: total * 0.6, ease: 'expo.out' }, '>')`. Add label `end`. Each binary element: fix its width and height, set opacity 1, and add at time 0 a `from` scramble with `chars: '01 0 1', speed: 0.3, revealDelay: total`, duration `total`, stagger 0.1, `power1.out`. Play with `tl.tweenTo('end', { ease: 'none', onComplete: finish })`.

### header.js: `initCtas()`, `initFlips()`, `initHeader(lenis, onSwitch)`

`initCtas`: for every `[data-cta]`: move its text into a new `div`, apply `rollText(div)` (gives `{ a, b }`), then append a `div.cta__arrow` containing `icons.ctaArrow`. Find the second polyline as `stem`. Paused timeline, defaults 0.5 s `none`: `fromTo(svg, { rotate: 45 }, { rotate: 0, yPercent: 15 })`, `.from(stem, { drawSVG: '0% 62.75%' })`, at 0 `to(a, { yPercent: -110, duration: 1 })`, with `fromTo(b, { yPercent: 10 }, { yPercent: -100, duration: 1 })`, then label `end`. Use `hoverPlay(link, tl)`. Store `link._hero = { a, svg }`.

`initFlips`: each `[data-flip]` has front and back children. Paused timeline, defaults 0.6 s `none`: front `rotateX: 90, transformOrigin: '50% 100%', yPercent: -100`, with back `fromTo { rotateX: -90, yPercent: 0 }` to `{ rotateX: 0, yPercent: -100, transformOrigin: '50% 0%' }`, label `end`, `hoverPlay`.

`initHeader`: outer = `[data-progress-outer]`, num = `[data-progress-num]`, fill = `[data-progress-fill]`. Paused timeline with duration 100 ease none: `to(outer, { xPercent: 100 })`, `to(num, { xPercent: -100 }, '<')`, `from(fill, { scaleX: 0, transformOrigin: 'left' }, '<')`. On Lenis scroll, compute `percent = Math.round(lenis.progress * 100)`; if it changed, set `num.textContent = `${percent}% `` and `tl.tweenTo(percent, { duration: 0.07, ease: 'none' })`. If there is no `[data-liquid] canvas` after Liquid initializes, hide the mode button with `button.style.display = 'none'`. The supplied Liquid module also guards `toggleMode()` without WebGL; retain that guard. Mode button `[data-mode-switch]`: on click, `onSwitch()`, flip local `on` (start true), move the second path to `x: on ? 0 : -19` with `expo.out` 0.8 s overwrite. Return `{ setSwitch() {} }`.

### hero.js: `initHero({ onScrollNext })`

Set `[data-clock]` text with `parisClock()`. SplitText the children of `[data-hero-lines]` with `type: 'lines', linesClass: 'hero-line-++', autoSplit: true, aria: 'none'`. In `onSplit`, rebuild a paused `lineTl` where each line uses the `lineIn` effect `{ duration: 1.5, ease: 'expo.out' }` at `0.1 * i`, then `set(line, { clearProps: 'clipPath' }, '>')`; then restore `lineTl.progress(reveal.value)`. A master paused timeline `tl` tweens `reveal.value` to 1 over `lineTl.duration()` with `power1.out`, updating `lineTl.progress`.

Then add to `tl`:

- Every `.swap`: scramble `.swap__live` to the trimmed text of `.swap__size` at 0.5 s (`chars: SCRAMBLE_CHARS, speed: 0.6, duration: 1.2, ease: 'expo.out'`).
- Blink `[data-blink]` with `blink()` when not reduced, updating the clock live element with `parisClock()` every tick.
- Every `#main-header [data-cta], #hero [data-cta]`: empty `link._hero.a`, scramble it back to its text at 0.5 s with the same parameters.
- `[data-discover-word]`: scramble to `Discover` the same way.
- `from('[data-progress-track]', { scaleX: 0, transformOrigin: 'left', duration: 1, ease: 'expo.inOut' }, 0.5)`.
- `fromTo('[data-progress-num]', { xPercent: 50, clipPath: 'inset(0% 50% 0% 50%)' }, { xPercent: 0, clipPath: 'inset(0% 0% 0% 0%)', duration: 0.6, ease: 'expo.out' }, 1)`.
- `[data-hero-scroll]`: `from` scale 0, `transformOrigin: 'left bottom'`, 0.7 s, `expo.inOut`, at 0.5. Its children are arrowA and arrowB: set B `{ y: 0, yPercent: -175 }`. A separate paused `arrowTl`: `from(arrowA, { yPercent: -175, duration: 0.67, ease: 'expo.inOut' }, 0.8)`, label `in`, then A to `yPercent: 175` and B to `yPercent: 0`, 0.67 s `none`, label `hover`. Add `arrowTl.tweenTo('in')` to `tl` at 0. Hover goes to `hover` and back to `in` with `expo.out`. Click calls `onScrollNext`.
- `from('[data-contact]', { scaleX: 0, transformOrigin: 'right', duration: 1, ease: 'expo.inOut' }, 0.5)`.
- `lineIn('[data-contact] .flip__label', { duration: 1, ease: 'expo.out' }, 1.2)`.
- `from([...hero [data-pop], '[data-audio-toggle]', '[data-egg-toggle]'], { scale: 0, duration: 1, ease: 'expo.inOut' }, 0.5)`.
- `from('#hero a svg, #main-header a svg, #hero [data-hero-svg] svg, [data-mode-switch]', { scale: 0, ease: 'expo.inOut', duration: 0.6 }, 0.8)`.

If reduced, `tl.progress(1)`. Return `{ play() { if (!reduced) tl.play(); } }`.

### rich-text.js: `initRichText()` and exported `doubleChars(el, container = el)`

Inline pieces inserted into each `[data-rich-icon]` span: `smile` = `icons.smile`, `star` = `icons.star`, `more` = `<span>+</span>`, `logo` = an `img` of `assetUrl('brand/logo.png')`, 100 x 100, empty alt. Link arrow: `icons.ctaArrow` with `class="inner-link-arrow" aria-hidden="true"` added to the svg.

For every `[data-rich]`: save the original `innerHTML` of each child paragraph. In `gsap.matchMedia()` with conditions `{ all: 'all', tab: TAB_QUERY, desktop: DESK_QUERY }`:

1. Replace every `<br>` whose computed display is `none` with a space, and remove every `.top-text, .bottom-text` whose computed display is `none`.
2. `SplitText.create(root.children, { type: 'lines', deepSlice: false, autoSplit: true, reduceWhiteSpace: false, linesClass: 'rich-line', wordDelimiter: { delimiter: ZWSP, replaceWith: '' }, prepareText: (text) => (!text ? ZWSP : text.trim() ? text.replace(/(\S-(?=\S)| +)/g, `$1${ZWSP}`) : ' '), onSplit })`, where `ZWSP` is U+200B.
3. In `onSplit`, revert any previous `gsap.context` and create a new one running `buildReveal`, `loopInlineIcons`, `linkHovers`.
4. On matchMedia cleanup: revert the context and split, then restore each paragraph's saved HTML.

`buildReveal`: the floating tags `.top-text, .bottom-text` get class `glitch-text`; their text is `data-prefix + textContent`. Reduced: set text and clear line props, done. Otherwise each tag gets a paused scramble (`fromTo` text `''` to the text, `chars: SCRAMBLE_CHARS, speed: 0.6`, 0.6 s `expo.out`). `.top-text` plays with line index 0, `.bottom-text` with index 3. Paused timeline: every line `lineIn` 1.5 s `expo.out` at `0.1 * i`, then clear its clipPath. Add label `end`. If already completed earlier, `tl.progress(1)`. ScrollTrigger on the root, `start: 'top bottom', end: 'top bottom-=25%'`: `onLeaveBack` resets and seeks 0, `onLeave` marks completed and `tl.tweenTo('end', { ease: 'power1.out' })`.

`loopInlineIcons` (skip if reduced): `.star` repeats forever with center origin, ease none, keyframes of 0.1 s scale steps: 1.1, 0.9, 1, 0.9, 1, then 1.1 with delay 0.2, 0.9, 1, 0.9, 1, then 1.1 with delay 0.2, 0.9, 1. The `.more > span` loops forever with `transformOrigin: 'center 57%'`, duration 2, repeatDelay 1, keyframes `{ rotate: -180, xPercent: 50, ease: 'expo.inOut' }` then `{ rotate: 0, xPercent: 0, ease: 'expo.inOut' }`.

`linkHovers` (skip on touch): for each `a` in the root, `doubleChars(link)`, add class `has-drawn-arrow`, append the link arrow. Paused timeline, defaults 0.8 s `none`: `fromTo(arrow, { rotate: 45 }, { rotate: 0, yPercent: 15, duration: 0.5 }, 0)`, `from(arrow.lastElementChild, { drawSVG: '0% 62.75%', duration: 0.5 }, '>')`, original `.roll-char` to `yPercent: -100` stagger 0.06 at 0, clone `.roll-char` the same at `'<'`, label `end`. Mouseenter/leave: `tweenTo(duration or 0, { ease: 'power3.out', duration: 1 })`.

`doubleChars`: normalize text (remove U+200B, collapse whitespace, trim). Empty the element. Build two `div`s, classes `roll-original` and `roll-clone`, each `position: relative; display: block`, containing one `div.roll-char` per character (`display: inline-block; position: relative; aria-hidden="true"`). For each displayed character use `char.textContent = ch === ' ' ? '\u00a0' : ch`; a normal space in an inline-block collapses to zero width. Set `aria-label` on `el` to the original normalized text (with regular spaces). Append original to `el` and clone to `container`. Return `{ original, clone }`.

### confidential.js: `initConfidential({ shock })`

Scramble reveal: `live` is `[data-confidential-live]`. Text is `(tab.matches ? [data-confidential-wide] : [data-confidential-mobile]).textContent`. Paused tween `scrambleText: { text, chars: SCRAMBLE_CHARS, speed: 0.1 }`, 2.2 s `expo.out`. Reduced: set `live.innerHTML = text`. Otherwise ScrollTrigger on `[data-confidential-size]`, `start: 'top bottom', end: 'top bottom-=15%'`: onEnter play, onLeaveBack `pause(0)`, both killing any replay timeline. When the tab media query changes, rebuild the tween; if it had started or reduced, set progress 1.

Replay button `[data-confidential-replay]` (reduced: just set the text): pause the reveal, build a timeline: scramble to `''` (`speed: 0.8`, 0.6 s, `expo.inOut`), then keyframes of `textContent` `_`, ``, `_`, ``, `_`, `` over 1.2 s none, then scramble to the text (`speed: 0.1`, 2 s, `expo.out`).

Popup: pop = `[data-gif-pop]`, anchor = its parent, toggle = `[data-gif-toggle]`, close = `[data-gif-close]`, media = `[data-gif-media]`, live = `[data-gif-live]`, sizer = `[data-gif-size]`. Paused `openTl`, defaults 0.85 s none: label `closed`, `from(pop, { scale: 0 })`, `from(pop.children[0], { opacity: 0, duration: 0.25 }, '<+=0.6')`, label `open`. Hover timeline on the toggle (paused, `repeat: -1`, 1 s none): toggle background `#fff`, color `#000`, all paths fill `#000`; `tweenTo('end'/0)` with `expo.out`, also preloading. Items cycle through `POPUPS` one per open; the first open shows index 0, then each open advances, looping. On open: preload, set `sizer.innerHTML = item.text.join('<br>')`, toggle `is-big` on media, replace media with an `img` (`assetUrl(item.src)`, alt, `decoding="async"`, fade 0 to 1 over 0.4 s on load). After one frame, build a paused `scrambleTl`, defaults 1 s none: label `closed`, `fromTo(live, { scrambleText: { text: '' } }, { scrambleText: { text: item.text.join('\n'), chars: SCRAMBLE_CHARS, speed: 0.2 }, duration: 0.8 }, '<+=0.4')`, label `open`. Reduced: set the text directly. Set `transformOrigin` of pop to the toggle's left edge and vertical center relative to the anchor. If `big`, call `shock(anchorCenterX, anchorCenterY)` after 0.25 s via `gsap.delayedCall`. Then set `aria-expanded`, make close focusable, `openTl.tweenTo('open'/'closed', { ease: 'expo.out' })` and the scramble the same unless reduced. Click toggles; close button and Escape close. When closing, if `pop.contains(document.activeElement)`, return focus to the opener with `toggle.focus({ preventScroll: true })`. Set `close.tabIndex` to `0` only while open and `-1` when closed, so focus cannot remain on an invisible close button.

### studio.js: `initStudio()`

In `[data-technos]`, using the svgs inside `[data-globe]`, `[data-arrow]`, `[data-target]`: globe paths 1, 2 and 3 are ellipses. If not reduced: timeline, defaults 2 s: `to(paths[1], { scaleX: -1, transformOrigin: 'center', ease: 'none', repeat: -1 })`, `to(paths[2], { same, delay: 1 }, '<')`, `to(paths[3], { scaleY: -1, transformOrigin: 'center', ease: 'none', duration: 4, repeat: -1 }, '<')`.

On touch, also: ghost wrap `style.translate = 'none'`, `set(ghostWrap, { x: 0, y: 0, xPercent: -150, yPercent: 150 })`, then in the timeline `to([arrowWrap, ghostWrap], { yPercent: '-=150', xPercent: '+=150', ease: 'expo.inOut', duration: 1.5, repeat: -1 }, '<')`, `to(targetSvg, { rotate: 360, ease: 'expo.inOut', duration: 3, repeat: -1 }, '<')`.

On non-touch, non-reduced: an IntersectionObserver on the root sets `visible`. A ticker (only when visible and dirty; mark dirty on scroll, resize and mousemove) points the arrow at the pointer: `rotation = atan2(mouseY - cy, mouseX - cx) in degrees + 45`, about its center. The pointer starts at (0, 0). Target parallax: `range = target.clientWidth / 6`, `dx = interpolate(-range, range, mouseX / innerWidth)`, `dy` the same for Y. With the target's groups as `[circle, lineH, stepsH, lineV, stepsV]`: set `[lineH, circle, stepsV]` to `y: dy` and `[lineV, circle, stepsH]` to `x: dx`.

### projects.js: `renderProjects(projects)`, `initProjects(liquid)`

Render into `[data-project-list]` for each project with index `i` (escape all values, and `mailto` = `mailto:${CONTACT_EMAIL}?subject=${encodeURIComponent(`Concept enquiry: ${name}`)}`):

```html
<div class="project glsl-hover glsl-hover-{i}">
  <div class="project__row">
    <div class="project__name">
      <a class="project__link" href="{mailto}" aria-describedby="project-detail-{i}"><h3>{name}</h3></a><span class="project__year glitch-text">./{year}</span>
      <p class="sr-only" id="project-detail-{i}">{detail}</p>
    </div>
    <div class="project__cell">{role}</div>
    <div class="project__cell">{scope}</div>
    <div class="project__cell">{stack}</div>
    <div class="project__cta-wrap">
      <a class="project__cta" href="{mailto}" aria-label="{PROJECT_CTA} {name} by email" aria-describedby="project-detail-{i}">
        <div style="display:flex;pointer-events:none">
          <div class="project__cta-label" data-cta-label>{PROJECT_CTA}</div>
          <div class="project__cta-arrow">{icons.ctaArrowFull}</div>
        </div>
      </a>
    </div>
  </div>
</div>
```

`initProjects`: unless reduced, each row `fromTo { clipPath: 'inset(0% 0% 100% 0%)', yPercent: 100 }` to `{ clipPath: 'inset(0% 0% 0% 0%)', yPercent: 0, duration: 1, ease: 'expo.out', scrollTrigger: { trigger: row, start: 'top-=100% bottom', end: 'top-=100% bottom', toggleActions: 'none play none reset' } }`.

For each row: `doubleChars(h3, link)`. Roll timeline, paused, defaults 0.8 s none: `to(original.children, { yPercent: -110, stagger: 0.06 }, 0)`, `fromTo(clone.children, { yPercent: 10 }, { yPercent: -100, stagger: 0.06 }, '<')`, label `end`. Row mouseenter/leave: `tweenTo('end'/0, { ease: 'power3.out', duration: 1 })`. CTA: replace the label with a `glitch-text` top `div` and an `aria-hidden` bottom `div` (`position:absolute;top:100%;left:0`). Paused timeline as in the arrow links: `fromTo(arrow, { rotate: 45 }, { rotate: 0, yPercent: 15 })`, `from(stem, { drawSVG: '0% 62.75%' })`, at 0 `to(top, { yPercent: -110, duration: 1 })`, `fromTo(bottom, { yPercent: 10 }, { yPercent: -100, duration: 1 }, '<')`, label `end`, defaults 0.5 s none. CTA enter/leave uses `expo.out`.

Skip the rest on touch. Hovering a row calls `liquid.hoverRow(row)`, and leaving `[data-project-list]` calls `liquid.hoverRow(null)`, with a `current` guard so repeats are ignored. A row may slide under a resting pointer while scrolling: on passive window scroll, if the pointer has moved at least once, `elementFromPoint` finds `.glsl-hover`; set it, or clear if the pointer is no longer in the list. Pointer leaving the document stops this.

### footer.js: `initFooter({ onTop })`

Clock `[data-footer-clock]` uses `parisClock()`; blink `[data-blink]` and refresh when not reduced. If not reduced: `gsap.from('[data-reveal-a]', { scrambleText: { text: '', chars: '01 00 11', speed: 0.6 }, scrollTrigger: { trigger: heading, start: 'top bottom', end: 'top center', toggleActions: 'none play none reset' }, duration: 0.6, stagger: 0.1, ease: 'expo.out' })`. Each `[data-loop]`: if its display is not inline, set width and height in em (`clientWidth / fontSize`). Then read its text, empty it, and create a `gsap.to` of `scrambleText: { text, chars: '01 0 1', speed: 0.3, revealDelay: 2, tweenLength: false }` with ScrollTrigger `start: 'top bottom', end: 'clamp(top center)', toggleActions: 'reset play none reset'`. Clamping is required because the footer heading can be below the last reachable scroll position; `tweenLength: false` keeps the initially empty loops visible during the scramble, duration 2, `repeat: -1`, `power1.out`, paused, delay `0.3 * i`.

`new SplitText(note.children, { type: 'lines', linesClass: 'glitch-text' })` on `[data-footer-note]`.

Back-to-top buttons `[data-top]`: children a and b, set b `{ y: 0, yPercent: 175 }`. Paused timeline: label `initial`, a to `yPercent: -175`, b to `yPercent: 0`, 0.67 s none, label `hover`. Click calls `onTop`; hover `tweenTo` with `expo.out`.

Copy link `[data-copy]`: `rollText(link, { className: 'link-roll' })`. Give it `role="button"`, `tabindex="0"`, `aria-label="Copy <address>"`, and Enter or Space clicks it. Roll timeline: `to([a, b], { yPercent: -100 }, 0)`, 0.8 s none. Pulse timeline: `fromTo(link, { '--anim-progress': 0 }, { '--anim-progress': 1 })`, `to(link, { '--anim-progress': 0 })`, 0.3 s none. Click: pulse `tweenTo(duration, { ease: 'expo.out', duration: 1, onComplete: seek 0 })`, then `navigator.clipboard.writeText(address)`, show `[data-copy-ok]` (`display: block`). On touch, also place `[data-copy-flag]` at the tap, 40 px above, and hide it after 1.5 s. Catch clipboard errors with a console warning. On mouse: enter shows the flag at the cursor and rolls forward (`tweenTo(duration, { ease: 'expo.out', duration: 1 })`); leave hides the flag and the tick and rolls back; move tweens the flag to the cursor over 0.2 s.

Credit `[data-credit]` (not on touch): `rollText` plus the same roll timeline on hover.

### eggs.js: `initEggs()`

Audio tile. Renders one `.egg-audio__item` per `TAPES` entry into `[data-audio-pop]` (`style="display:none"`):

```html
<div class="egg-audio__embed" data-embed></div>
<div class="egg-audio__info">
  <p data-song><span class="egg-audio__label">In my ears: </span><span>{song}</span><span>- {artist}</span></p>
  <button type="button" class="egg-audio__next" aria-label="Next sketch"><div class="egg-audio__next-ink">{icons.nextSong}</div></button>
</div>
```

Create one `new TapePlayer(TAPES)`. `showSong(i)`: show only item `i` (`display: flex`), call `player.select(i)`, and fill that item's `[data-embed]` with `<div class="egg-audio__frame"><button type="button" class="tape"><canvas width="400" height="400" aria-hidden="true"></canvas><span class="tape__state"></span></button></div>`. Other items' slots are emptied. Draw immediately with `drawTape(canvas, TAPES[i], gsap.ticker.time, 0)`. Clicking `.tape` calls `player.toggle()` (catch and warn on errors). Keep the button's `aria-label` as `Play {song}` or `Pause {song}`, its `aria-pressed`, and the `.tape__state` text `Play` or `Pause` in step using `player.onChange`. `showSong(-1)` hides all. A gsap ticker redraws the open canvas with `drawTape(canvas, TAPES[current], gsap.ticker.time, player.level())` unless reduced.

Pop-up `openTl`, paused: `from(items, { scale: 0, transformOrigin: 'bottom right', duration: 0.85, ease: 'none' })`, the embeds `from opacity 0, duration 0.25` at `'<+=0.6'`, with the first item's text lines `from` a scramble (`text: '', chars: SCRAMBLE_CHARS, speed: 0.5`, 0.3 s `expo.out`) at 0.15, then label `end`. Equaliser: for each path in `[data-audio-bars]` use pulses, in order and repeating: `[3,1] 0.5s`, `[1.8,1] 0.5s`, `[2,3,1] 1s`, `[2,3,1] 1s`, `[0.8,1.5,1] 1s`, then `[0.4,1] 0.75s` five times. Each bar `set scaleY 1` then `barsTl.to(bar, { keyframes: { scaleY: key, ease: 'none' }, transformOrigin: 'center', duration, delay: 0.05 * i, ease: 'none', repeat: -1, yoyo: true }, '<')`. Hover timeline: toggle background `#fff`, bars fill `#000`, 1 s none, repeat -1, label `end`.

Toggle `[data-audio-toggle]`: open sets `aria-expanded`, calls `showSong(0)`, `openTl.tweenTo('end', { ease: 'none' })`, `barsTl.play()`. Close: `player.stop()`, `openTl.tweenTo(0, { ease: 'expo.out', duration: 0.6, onComplete: showSong(-1) })`, `barsTl.pause()`. Audio only ever starts from the visitor's Play click; opening the tile or pressing Next never starts it. Next (`.egg-audio__next`): before changing the item, remember whether focus is inside the old item. After `showSong(next)`, if it was, focus the new item's `.egg-audio__next` with `{ preventScroll: true }`, so hiding the old button does not discard keyboard focus. Then go to `(current + 1) % TAPES.length`, scramble each line after the label from the previous text (`chars: SCRAMBLE_CHARS, speed: 0.2`, 0.6 s `expo.out`), and fade the slot in from opacity 0 over 1 s, delay 0.3.

Hidden message `[data-egg-toggle]`, clip `[data-egg-text]`, label `p` inside it. Measure the clip width with a ResizeObserver. On change, rebuild a paused slide timeline, defaults 1 s none: `fromTo(clip, { x: width, clipPath: 'inset(0% 100% 0% 0%)' }, { x: 0, clipPath: 'inset(0% 0% 0% 0%)' })`, `from('.hero-audio-easter', { x: width }, '<')`, label `end`, keeping open state. Text timeline: `fromTo(label, { scrambleText: { text: '' } }, { scrambleText: { text: original, chars: SCRAMBLE_CHARS, speed: 0.2 }, duration: 0.8, ease: 'expo.out' }, 0.1)`, label `end`. Click toggles: open `slide.tweenTo('end', { ease: 'expo.out' })` and `text.tweenTo('end')`; close `slide.tweenTo(0, { ease: 'expo.out', onComplete: text.seek(0) })`. Hover timeline as for the audio tile, filling folder paths black.

### hold-hint.js: `initHoldHint()`

A small cloud of "hold" and "click" words beside a resting cursor. Slots are `[data-hold-hint] .glitch-text`. Words cycle `hold, click, click, hold, hold, click`. Timings cycle `(revealDelay 1.2, duration 2.6, repeatDelay 0)`, `(1.2, 1.2, 0.8)`, `(1.8, 2.6, 0.4)`. Build a paused timeline: for slot `i`, `set(slot, { opacity: 1 }, i * 0.6)` then `fromTo(slot, { scrambleText: { text: () => STARTS[Math.round(Math.random() * 3)] } }, { scrambleText: { text: () => next word, chars: '01 0 1 */#', speed: 0.01, revealDelay }, duration, ease: 'expo.out', repeat: -1, repeatDelay, repeatRefresh: true }, '>')`. Use `STARTS = ['', '', '', '{original}']`.

Show after 1 s without pointer movement (`autoAlpha` 1 over 0.3 s, restart the timeline), unless the element under the pointer matches `a, button, [role="button"], input, select, textarea, label, summary`. Pointer movement hides it (`autoAlpha` 0 over 0.2 s, then pause). The ticker keeps it at the pointer once the pointer has moved. Export a controller `{ setEnabled(value) }`; enabled requires `value && !reduced`.

### glitch.js: `initGlitch()`

Use this implementation exactly. ScrambleText replaces innerHTML, so preserve semantic heading wrappers by selecting their innermost text host. Skip active tweens so repeated holds cannot read scrambled letters as the destination. Preserve line breaks as entities because ScrambleText collapses literal whitespace.

```js
import gsap from 'gsap';
import { SCRAMBLE_CHARS } from '../content.js';
import { prefersReducedMotion } from '../utils.js';

const SPEEDS = [0.6, 0.4, 0.5, 0.6, 0.2, 0.3, 0.6, 0.2];

const onScreen = (el) => {
  const box = el.getBoundingClientRect();
  return box.width > 0 && box.bottom > 0 && box.top < innerHeight && box.right > 0 && box.left < innerWidth;
};

// ScrambleText writes innerHTML, so aim at the innermost element to keep wrappers like <h2>.
const textHost = (el) =>
  el.children.length === 1 && el.firstElementChild.textContent === el.textContent ? textHost(el.firstElementChild) : el;

export function initGlitch() {
  return {
    fire() {
      if (prefersReducedMotion()) return;
      [...document.querySelectorAll('.glitch-text')].filter(onScreen).forEach((el, i) => {
        const target = textHost(el);
        // Reading text in the middle of another scramble would freeze the garbled letters.
        if (gsap.isTweening(target)) return;
        gsap.to(target, {
          scrambleText: { text: target.textContent, chars: SCRAMBLE_CHARS, speed: SPEEDS[i % SPEEDS.length], tweenLength: false },
          duration: 1,
          ease: 'expo.inOut',
        });
      });
      [...document.querySelectorAll('.glitch-text-inner')].filter(onScreen).forEach((el) => {
        if (gsap.isTweening(el)) return;
        gsap.to(el, {
          // ScrambleText collapses whitespace, so line breaks must stay as entities.
          scrambleText: { text: el.innerHTML.replace(/\n/g, '&#10;'), chars: SCRAMBLE_CHARS, speed: 0.1, tweenLength: false },
          duration: 1.4,
          ease: 'expo.inOut',
        });
      });
    },
  };
}
```

## 9. Interactions to confirm by hand

1. Move the pointer: a black oily blob with a petrol and steel rim follows it and slowly drains. The white type stays legible.
2. Hold the mouse on empty space for a second: the page turns almost black, labels re-scramble. Hold again, or use the switch on touch devices, to return.
3. Hover a project row: its title letters roll, and the liquid fills a horizontal band from the point you entered.
4. Audio tile (bottom-right on tablet and desktop) shows a slowly moving line figure and "Play". Nothing sounds until Play is pressed. The arrow goes to the next sketch and loops after four.
5. Folder tile opens the hidden message.
6. `CONFIDENTIAL/2026` opens a popup: three drawings in turn. The third sends a ripple through the liquid. Escape closes it.
7. The footer email copies the address and shows a tick.

## 10. Verify, then show the result

Run `npm install`, then `npm run build`, then `npm run preview`, and open the address it prints. Check desktop near 1440 x 900 and phone widths near 390 and 320 for horizontal overflow, missing files, console errors and any request to another domain. With a browser tool, check the interactions in section 9. If WebGL2 is unavailable where you test, say so; the page then falls back to a CSS gradient background.

Finish by telling the person the local address, what you built and tested, the tool and model you are, and anything missing or different. Do not call the result pixel-identical to the demo at https://sitepeel.dev/website-prompts/liquid-portfolio/preview/.
