# Sonde — Your sharpest analyst never sleeps.

Build an isolated Next.js 16 / React 19 / TypeScript / Tailwind CSS v4 landing page at `/templates/sonde` (`/sonde` redirects permanently) for **Sonde**, a fictional autonomous overnight operations analyst that monitors six live engineering channels and condenses operational noise into citation-locked `04:00 UTC` morning briefs. Use `lenis` for smooth scrolling on desktop fine pointers. Keep every file inside `src/app/(sonde)/` importing only npm packages or relative local modules (zero `@/` aliases). Prefix all CSS classes with `snd-`.

## Central idea and signature mechanic

Raw operational noise condenses into clarity like weather resolving through an atmospheric halftone grid, so a live procedural dot-matrix cloudscape runs beneath the page's framed obsidian windows — shifting dot pitch, cloud density, cobalt-ivory balance, and wind drift as the visitor scrolls, moves the pointer, or locks onto any of the six operational channels (`Cloud`, `Code`, `Schemas`, `Mail`, `Chat`, `Graph`).

## Visual system, palette, and typography

Use strictly these 8 hex colours (registered in `scripts/templates.config.ts`), deriving all tints, shadows, and translucencies via `color-mix()`:

- Paper (Alabaster): `#F6F6F5` (page canvas and sticky header)
- Surface (Pure White): `#FFFFFF` (cards, modality tiles, primary light CTA pill)
- Ink (Obsidian): `#0A0B0E` (framed dark windows, headings, primary dark pill CTA)
- Muted (Cool Slate): `#5B606B` (secondary prose on alabaster and white)
- Silver (Atmospheric Mist): `#A4AAB8` (secondary copy on obsidian, halftone cloud rims)
- Hairline (Rule Grey): `#DFE1E6` (1px structural borders and rails)
- Cloud (Warm Ivory): `#EFECE0` (bright cumulus halftone crests and dark-surface highlights)
- Atmosphere (Midnight Cobalt): `#2B4168` (halftone shadow undertones, AA light-mode focus and active accents)

Geometry uses soft modern rounding (`12–16px` structural windows and cards, `10–11px` square-rounded modality tiles, `9999px` full-pill CTAs and sliding active nav chip).

Load three Google Fonts via `next/font/google` in `src/app/(sonde)/layout.tsx` with distinct CSS variables:
- Display: `Wix_Madefor_Display` (`400`, `500`, `600`, `700`, `--font-snd-display`)
- Body: `Golos_Text` (`400`, `500`, `600`, `--font-snd-body`)
- Mono: `Roboto_Mono` (`400`, `500`, `--font-snd-mono`, `preload: false`)

Draw the original Sonde mark in `brand/Logo.tsx` and `icon.svg` as a 3×3 ordered halftone dot constellation, and render `opengraph-image.tsx` (1200×630) using only the registered palette.

## Sections and interactions

1. **Header (`sections/Header.tsx`):** Global scroll-progress hairline, sticky alabaster bar with `Sonde` lockup, centered nav links (`Overview`, `Channels`, `Modalities`, `Watch`, `Plans`) with a single `clip-path` sliding active pill, specular obsidian `Book a Demo` pill CTA, scroll hide/return behaviour, and an accessible clip-path full-screen mobile drawer with focus trap and `Escape` dismissal.
2. **Hero (`#overview`):** Rounded `16px` obsidian frame inset on the `1120px` rail. Upper half holds the masked display `<h1>` ("Your sharpest analyst never sleeps."), muted silver subtitle, magnetic solid white `Start Free →` pill, and frosted hairline `Book a Demo` pill. Lower ~58% blooms with the live WebGL2 halftone cloudscape and live telemetry readout (`FIELD 01 · PITCH 6.0 PX · 04:00 UTC`). Directly below sits a hairline-bordered `12px` partner strip with four fictional engineering teams (`KESTREL`, `MERIDIAN`, `BOREAL`, `CARAVEL`).
3. **Channel Rail (`#channels`):** Centered editorial intro above a `1px` hairline-bordered horizontal rail housing six pure-white interactive channel tiles (`Cloud`, `Code`, `Schemas`, `Mail`, `Chat`, `Graph`). Clicking any tile updates shared state and displays its triage-time savings below.
4. **Cross-Modal Aperture (`#modalities`, Signature Moment):** Centered headline ("Better understanding across modalities") directly above a framed dark halftone cloud band breaking edge-to-edge behind six floating pure-white modality tiles. Clicking tiles or pressing keys `1`–`6` / `ArrowLeft` / `ArrowRight` re-tunes the live halftone shader uniforms and directionally slides the connected **Raw Overnight Signals → 04:00 UTC Condensed Action Brief** deck below, complete with verified line citations and a pause/animate HUD control.
5. **Overnight Watch (`#watch`):** Interactive `22:00 → 07:00 UTC` timeline featuring a halftone horizon strip that shifts from midnight cobalt to warm ivory dawn as the user scrubs the native accessible range slider or clicks the four shift stops (`22:00`, `01:30`, `04:00`, `07:00 UTC`).
6. **Guardrails & Proof (`#guardrails`):** Three perspective `TiltCard` pillars (`Zero-Retention Index`, `Citation-Locked Briefs`, `Human-Approved Actions`) with pointer radial spotlights and sibling dimming, three `CountUp` reliability metrics (`99.98%`, `14 ms`, `0`), and a pause-on-hover/focus protocol marquee.
7. **Seat Plans (`#plans`):** Sliding Monthly / Annual billing pill switch with rolling tabular figures across three seat tiers (`Watch`, obsidian-highlighted `Team`, and `Enterprise`).
8. **Pilot Request (`#demo`):** Closing framed obsidian window with halftone cloud base pairing interactive channel toggle chips and computed daily triage savings with a client-side validated `PilotForm` (floating labels, shake-on-invalid, unfolding errors, loading state, and choreographed SVG stamp-check local receipt `SD-XXXXXX` with `.txt` brief download and explicit non-submission notice).
9. **Footer (`sections/Footer.tsx`):** Drawn hairline top divider, live halftone pitch readout, anchor columns, and masked oversized wordmark.

## Halftone engine, motion, and verification

Implement pure channel/watch logic in `halftone/channels.ts`, motion math in `motion/math.ts`, and pilot brief validation in `forms/pilot.ts` with Vitest unit tests beside each. Render the halftone cloudscape with a lightweight raw WebGL2 fragment shader (`halftone/engine.ts`) using 5-octave domain-warped fBm clouds, 4×4 ordered Bayer midtone transitions, circular halftone dots, fine-pointer cloud parting, DPR cap `1.5`, offscreen/hidden pause, and context-loss recovery. Always server-render the deterministic SVG halftone poster first; start WebGL2 lazily after idle on desktop fine pointers, keep touch on the SVG poster until explicit tap opt-in, and never mount WebGL2 under `prefers-reduced-motion: reduce`. Gate all hidden pre-reveal styles behind `@media (prefers-reduced-motion: no-preference) and (scripting: enabled)` with a `<noscript>` override. Verify with `npm run check`, `npm test`, `npx tsc --noEmit`, `tests/e2e/sonde.spec.ts`, screenshots, and mobile Lighthouse.
