feat: page hero title on one line, bold; sub runs the full measure #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claw/news-hero-photo-3f9a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The About hero opened with
Experienced. Specialist. Brokers.turning over after the second word, and a sub paragraph capped a third short of the title's right edge.Title — bold (500 → 700), matching the weight the homepage headline carries, and the whole page-hero title scale steps down ~20% so the triplet fits on one line the way the homepage's
People. Technology. Insurance.does. Bold Fraunces is ~6% wider than the 500 it replaces (measured 747px vs 704px at 48px) and the photo notch caps the measure at 620px, so the size drop is what buys the line.--compactand--leadkeep their original ratios to the curve (0.92 / 0.80).Sub — was
max-width: 420pxagainst a 620px title. Now shares the title's measure, with the second term taken from the photo's real geometry (54vw, its right-anchored 46% width) instead of the title's rough50vw: the sub sits below the notch's leftmost point, where the photo has already slanted away.Also carries two changes already in the tree: the hero closing band (the About facts panel starts where the photo ends rather than ruling a line through it) and full-width legal pages.
Verification
Headless Chromium with fonts loaded, at 861 / 900 / 1024 / 1152 / 1280 / 1440 / 1680 / 1920px:
lead/compactdetail heroes all checked — no title overlaps the photo.npm run type-checkandnpm run buildpass.🤖 Generated with Claude Code
"Experienced. Specialist. Brokers." turned over after the second word, which reads as a mistake rather than a line break — the homepage sets the same kind of triplet ("People. Technology. Insurance.") on one line. Set the hero title bold to match the weight the homepage headline carries, and step the whole page-hero title scale down ~20% to buy the room that one line needs: bold Fraunces is ~6% wider than the 500 it replaces, and the photo notch caps the measure at 620px. --compact and --lead keep their original ratios to the curve so the three sizes stay one system. The hero sub was capped at 420px against a 620px title, so it turned over a third of the way short of the title's right edge. Give it the title's measure, using the photo's real geometry (54vw, its right-anchored 46% width) for the second term rather than the title's rough 50vw — the sub sits below the notch's leftmost point, where the photo has slanted away. Also carries the hero closing band (the About facts panel now starts where the photo ends instead of ruling a line through it) and full-width legal pages, both already in the tree. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>