Four clauses asked and answered
Four square tiles, each a small collage of a photo, a quoted line with one phrase highlighted, grey placeholder bars and an answer card, with a question bar along the bottom.
Links in the preview stay on the block.
Open on its ownThe prompt
One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.
766 words
# Four clauses asked and answered One features section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML. ## Goal A features section for a contract reader: four questions, each with the passage found and the answer. ## Structure 1. Tile header: title left, clause reference right 2. Photo or silent clip in a collage 3. Boxed quoted line, one phrase highlighted, squares on its left corners 4. Two or three grey bars 5. White answer card: coloured dot, risk label, answer 6. Question bar at the bottom: caret, send button ## Type Gambarino and Switzer (Fontshare), IBM Plex Mono (Google). Heading Gambarino 400, clamp(42px,4.8vw,72px)/1, -.03em. Lede clamp(17px,1.35vw,19px)/1.5, 29em. Tile sizes in container width units: title Switzer 500 max(19px,3.8cqw)/1.15; reference mono max(11px,1.7cqw), .045em, uppercase; quoted line Gambarino 400 max(13px,3.05cqw)/1.28; risk label mono max(11px,1.6cqw); answer max(13px,2.3cqw)/1.42; question bar max(14.5px,2.6cqw)/1.2. ## Colour Page #F2F2EF, tile #FAFAF8, 1px #0B0D17 border at 12 percent. Ink #0B0D17, lede and reference #555866. Accent #2337FF: active tile border, quote box, caret, send button. Quoted words #5A5C66, highlighted phrase ink on a #F2E640 band. Risk dot #E5242B filled, or a 1.5px current colour ring for a lesser flag. Bars ink 7 percent, cards #FFFFFF, media placeholder #DCDDE0. Focus ring 2px #2337FF, 4px offset. ## Spacing and lines Padding top clamp(120px,16vw,240px). Head 1360px, lede 22px under. Tile grid 1440px, sides clamp(16px,4.4vw,64px), clamp(52px,5.6vw,84px) under the lede, two columns, gap clamp(16px,2.2vw,32px). Tile square, 12px radius, an inline size container. Header inset 6.4cqw sides, 6.2cqw top. Question bar inset 4.6cqw, max(48px,9.2cqw) tall, 12px radius, send circle max(32px,5.8cqw). Quote box padding 1.7cqw 2.5cqw, 1.1cqw corner squares. Bars max(7px,1.45cqw) tall, 1.5cqw apart, pill radius. Answer card padding 2.2cqw, 12px radius. Tile one in cqw: photo 42 by 34 at 10/22, 5 wide dashed link at 52/32.4, quote 57/28.6, bars 57/47, card 44 wide at 10/60. The other three use their own coordinates, photos 38 to 76cqw wide. ## Behaviour One IntersectionObserver lifts heading, lede and tiles 20px into place over .7s cubic-bezier(.2,.7,.2,1) at 12 percent in view, 60ms apart. One tile carries an active class: it alone turns the border accent over .6s cubic-bezier(.7,0,.2,1), filling the send button over .5s, same curve. On tile hover the media scales to 1.035 over 1.6s cubic-bezier(.16,1,.3,1). The caret is a 1.5px accent bar at opacity 0 unless you add a typing script. ## Responsive At 899px one column, max 720px. At 699px tiles 1 by 1.3, photo 86 by 50cqw at 7/21, quote 5/65 up to 90cqw, dashed link and bars hidden, card 63cqw at 30/81, question bar 48px minimum, wrapping. ## Accessibility Each tile is an article labelled by its heading. The real question sits in a visually hidden span, the visible copy aria-hidden so it is not read twice. Photos, bars, link, corner squares, send icon hidden. Clips are muted, looped, inline, with a poster. ## Built values (from code.html) - Fonts: IBM Plex Mono 400, 500 (Google Fonts); Gambarino 400 (Fontshare); Switzer 400, 500, 600 (Fontshare). - Colour variables: --paper #F2F2EF, --sheet #FCFCFA, --ink #0B0D17, --muted #555866, --line rgba(11,13,23,.12), --line-2 rgba(11,13,23,.24), --grid rgba(11,13,23,.075), --ultra #2337FF, --ultra-up #4255FF, --ultra-d #6F7DFF, --deep #0A0F2E, --mist #DCE1F7, --hl #F2E640, --red #E5242B. - Font variables: --serif "Gambarino","Iowan Old Style",Georgia,serif; --sans "Switzer",system-ui,-apple-system,"Segoe UI",sans-serif; --mono "IBM Plex Mono",ui-monospace,"SF Mono",Menlo,monospace. - Size variables: --pad clamp(16px,4vw,56px), --gap clamp(14px,2vw,28px), --sec clamp(120px,16vw,240px), --stage-m clamp(8px,1.25vw,18px), --r 12px, --wave-h clamp(120px,15vw,230px). - Media queries: max-width 899px, max-width 699px. - Media: assets/writing.webp (1400x933), assets/reading.webp (1400x935), assets/signing.webp (1920x1080), assets/signing.mp4 (1920x1080), assets/coffee.webp (1400x1400). - Script: yes, a small inline script. ## Content to replace - [Heading]: five to seven words - [Lede]: under 30 words: question to answer - [Tile titles]: four topics with references - [Questions]: in a user's words, under 9 - [Quoted lines]: four passages, four to six words highlighted - [Answers]: under 16 words with risk labels - [Media]: three photos, one clip: documents written, read, signed ## Rules Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA. ## Output Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.
Media to supply
The photos and video on the live page are licensed for this showcase, so the code points at an assets folder instead. Drop your own files in with these names, or change the paths: writing.webp, reading.webp, signing.webp, signing.mp4, coffee.webp
More like this



