Build a single-file HTML landing page for "Sundune Events", a fictional studio that hosts festivals, retreats, ceremonies and galas co-hosted with Maasai communities in Narok, Kajiado and Laikipia. The hero recreates a Rive animation (a Maasai-inspired event hero banner) without any Rive runtime, and every texture and illustration on the page is drawn in code: no image files. Warm dusk palette, an editorial serif, and copy that presents community hosts as partners, not performers. Fictional studio, clients, dates and numbers, labelled as such, with a credit line for the Rive design it recreates.
STACK
- No libraries. Google Fonts: Instrument Serif (headlines, numbers, the giant footer wordmark), Jost 400-600 (body 17px/1.65, nav, labels), Archivo Black (the giant MAASAI word in the hero).
- One inline SVG sprite: a front-facing warrior, a profile warrior, a bird, a cattail reed and an acacia as s, plus the paints the generated art shares (gradients, patterns, blur and bead-shadow filters, an feTurbulence grain).
THE SYSTEM
- Tokens on :root: bg #ead5b8, surface #f2e3cd, ink #1c0b06, ink-soft #5e3d2c, accent #b3261e, hairlines at 18% and 38% ink, the shuka-red band set (red #b3261e, red-ink #f8e9d4, red-soft #f3cdb8, a translucent red-line and red-tex), and the dusk sky #cf7f3c / #e19a57 / #efbd85. A full dark set (bg #140805, ink #f1e2cc, accent #e5574a, red #9c1f18) under prefers-color-scheme and :root[data-theme="dark"].
- Layout is editorial: hairline rules instead of cards, big serif headlines (clamp(52px, 6.6vw, 108px), line-height .94, tracking -.018em), pill buttons, underline links that wipe away on hover.
- Textures cut from the warriors' own geometry, built once in the script as SVG data URIs and used as CSS masks so their colour comes from tokens: --m-shuka (the three folded-cloth panels of the front warrior's shuka, mirrored and tiled), --m-spear (tip, shaft and butt spike, repeated as a fence-like rule), --m-collar (the beaded collar V, as a chevron row). The footer wordmark uses the shuka texture through background-clip:text.
THE HERO
- A fixed 1672x940 stage (the original artboard), aspect-ratio 1672/940, width max(100%, hero height x 1.7787), anchored to the bottom and centred; every part inside is positioned in % of that box. Layers back to front, each with a data-depth for pointer parallax: sky (sun glow, a breathing sun disc, drifting flat clouds), faceted mountains with a haze band, the ground with flat-topped acacias, rocks and tufts, the word MAASAI in Archivo Black (x 600, y 773, textLength 1000, a cream-to-peach gradient, rising in on load), four warriors as buttons, a flapping bird flock drifting west, swaying reeds and seeded spiky grass clumps, then grain.
- Warriors: two front-facing (black and rust shuka, red belt, white edge lines, diamond-tipped spear) and two in profile (long rust robe, ochre sash, bracelets), at left 51.02% / 59.92% / 66.18% / 75.27% of the stage, two of them mirrored by flipping the inner