Match the home page to Figma frame 253:4799

The page resembled the design but had drifted in every band. Ported it
section by section against the measured frame.

Hero (253:4800)
- Add the SHARP wordmark above the headline. The frame paints "SHARP"
  only, not the full SHARP-ER lockup the navigation carries, so this is
  the SHARP mark on its own, as vector (extracted from the brand
  guideline artwork) at its true 273px rather than an upscaled PNG.
- Drop the leading project name from the headline in both locales: the
  wordmark above now carries it, as the frame composes it.
- Stop the lead paragraph rendering by default. The frame's subheading
  node is hidden, but the code fell back to the site description, so a
  paragraph always appeared.
- Fallback CTAs become "Discover SHARP-ER" / "Explore Our Work", 24px
  apart. Both the CMS and fallback paths now render through one HeroCta,
  so an editor-authored secondary CTA gets the designed white treatment
  instead of the dark-surface outline.
- The picture loses its radius and gains the frame's two flat washes and
  wide band.

Figures band
- 253:4835 is hidden="true" in the frame, so the band and its "figures
  still being confirmed" placeholder no longer render. It appears only
  once the CMS supplies real numbers.

Launch (361:10853)
- Heading renders at Display/Small instead of Heading/H2. SectionHeader
  gains `size` since display-sm was reachable only via titleAs="h1".
- The three-paragraph story becomes the frame's single centred lead with
  its four bold runs, which needed a ProseRun copy shape - a flat string
  cannot carry emphasis.
- The captions were Card.Content links with images and action labels;
  the frame draws plain centred Heading/H2 text.
- Add the three-up photo strip that bleeds past the page and clips.
- Remove the funding line, which the frame does not draw in this band.
  EU visibility still stands via the nav badge and footer statement.

Partners (393:14754)
- Heading moves from centred to start-aligned, up to Display/Small.
- Tiles move to the sunken surface (they were lighter than the page; the
  design has them darker), lose their border, 8px -> 4px radius, padding
  on the inline start only, logo 48 -> 70px, name to Body/Large Bold.

Footer
- Black ground via a new --surface-footer token, a top rule, links up to
  Body/Large Bold 18/28 at 24px spacing, and column headings to
  Body/Small Bold on --text-tertiary.
- Keeps the real IA from ROUTE_SLUGS rather than frame 140:7814's
  labels, which name six pages that do not exist.

Tokens
- New tier-1 steps for values the design uses and the ramps lacked
  (--color-black-a20, --color-green-200-a12, --opacity-50) and tier-2
  --overlay-picture-shade / --overlay-picture-tint for the hero wash.

copy.ts now names the Figma frame as the source for the home strings.
The Arabic launch lead is rebuilt from the approved Arabic column to
carry the English frame's meaning and is marked (ar-draft) pending
client sign-off - the file has no Arabic home frame to work from.

Verified: typecheck and build green, no raw hex or tier-1 token in
components/routes, no physical-direction utility, 141 i18n keys at
parity, both locales rendered and checked for RTL mirroring.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-14 12:38:05 +02:00
co-authored by Claude Opus 5
parent 20b384039c
commit 8464c24fb1
9 changed files with 735 additions and 197 deletions
+6
View File
@@ -80,11 +80,16 @@
--color-black-a08: rgb(0 0 0 / 0.08);
--color-black-a12: rgb(0 0 0 / 0.12);
--color-black-a16: rgb(0 0 0 / 0.16);
--color-black-a20: rgb(0 0 0 / 0.2); /* [figma] hero picture shade */
--color-black-a24: rgb(0 0 0 / 0.24);
--color-black-a40: rgb(0 0 0 / 0.4);
--color-black-a56: rgb(0 0 0 / 0.56);
--color-black-a72: rgb(0 0 0 / 0.72);
/* The pale mint tint the home hero washes its picture with - green-200,
not the brand green-600 the --color-green-a* steps below carry. */
--color-green-200-a12: rgb(179 219 209 / 0.12);
--color-green-a12: rgb(0 135 100 / 0.12);
--color-green-a16: rgb(0 135 100 / 0.16);
--color-green-a24: rgb(0 135 100 / 0.24);
@@ -198,6 +203,7 @@
--opacity-8: 0.08;
--opacity-16: 0.16;
--opacity-40: 0.4; /* [figma] every disabled button */
--opacity-50: 0.5; /* [figma] launch strip, flanking photos */
--opacity-64: 0.64;
--opacity-100: 1;