A twenty-four-cover coastal restaurant: the room, the menu, the booking.
The direction, settled before the first section existed
- Archetype. Editorial spread. Bleed, column, bleed: a full-width photograph, a narrow measure, then two offset 7/5 pairs. Every section changes rhythm on purpose.
- Data stance. Prose-first. The set menu carries one price and the page spells it in words. The only lining figures anywhere are the opening hours.
- Density. Generous. Sections sit
--lx-space-3xl, 6rem, and--lx-space-4xl, 8rem, apart: the two largest steps the scale offers. - The bold thing. The photography runs the page and the type stands aside. Nothing sits on an image until
scrim.pyhas solved an alpha against that image, for the colour that will actually sit there, which is what took the brass off the hero and mirrored the hero crop.
The second scrimmed block is the caption on the full-bleed pass photograph. It used to sit under the image on a band of night ground, which between a bleed photograph and the cream menu reads as a slab of near-black carrying one 13px line, a rule nobody drew, and widening the band only made the slab bigger. The caption now rides the image's own bottom edge on the gradient lux_tokens.py --scrim prints for edge-anchored text (0.58 at the caption's end, nothing by 45%), which costs less of the photograph than the 0.576 flat wash text free to land anywhere would need. Measured afterwards on the real crop, shooting twice so a cream glyph could not be read as a bright background pixel: the worst pixel behind the caption is #4d4947 at 1440, #47413e at 1280 and #444444 at 375, giving 8.40:1, 9.47:1 and 9.19:1 against a 4.5:1 floor.
The second state is the booking answer. A restaurant with two services a night and nine tables turns people away most evenings, so the hard state here is not an empty list: it is "no", said in a way that keeps the guest. The page ships with the form set to a Sunday, and the panel beside it says the room is dark, names the next two tables that fit the party, offers the counter to anyone booking for two or fewer, and offers the first table outright.
The book answers four ways and all four are reachable: a table, a full service, a dark day, and nothing left in the fortnight, which the last evening in the list produces for a party of six. Taking an alternative sets the form to it and asks again, so the guest confirms the table they can see rather than one named in a button; confirming writes it into the panel and leaves a way back out. Focus follows the panel whenever the control that moved it has just been replaced.
Generator
lux_tokens.py --both > tokens.css
The brief names lux_tokens.py. --both earns its place by emitting the day mood the menu section needs. Nobody hand-edits tokens.css; the generator owns every line of it.
Why this product suits this system
The system exists for the one thing this page has to do: make a room feel expensive on a phone in a dim bar, while somebody decides where to take somebody to dinner. Its hardest rule (solve the scrim, never guess it) is the rule a coastal restaurant breaks first, since the hero is a bright sea through tall windows and the caption goes straight on top of it. Its type scale reserves an eyebrow at 11px with 0.18em of tracking, which carries most of the genre's signature. Its palette holds three families and one metal, which is what keeps a menu from reading as a dashboard with a serif bolted on.
Deviations from CONTRACT.md
§2, "every <img> is a data: URI". The four photographs live as files under img/ and the page references them by path. The first build inlined them and the numbers decided it: the document came to 303 kB, 104 kB of that base64 hero on the LCP path, and every device downloaded both hero crops because no media attribute can choose between two data URIs, and a data URI cannot carry a srcset at all, so inlining would cost the page the width selection that is the whole point of the image work. As files the document is 42 kB, a phone fetches a 102 kB portrait crop, a 2× laptop a 202 kB wide one, and a browser without AVIF falls back to WebP. The page still reaches no other origin.
§5, "both themes … prefers-color-scheme … data-theme". This system publishes night and day as which room a page is in rather than as a user preference, and its skill rejects reading them as a dark-mode toggle. <html data-mood="night"> sets the page; the menu section declares data-mood="day", so both moods appear at once. tokens.css still carries the generator's @media (prefers-color-scheme: light) block, which governs any page that declares no mood at all.
APCA disagrees with WCAG on two small-text pairs. The 11px to 12px uppercase eyebrow, brass on night, measures 8.36:1 and Lc −57.3; the button label, ink on brass, measures 5.59:1 and Lc +42.3. Both clear WCAG 2.2 AA and both fail APCA at that size. Both sizes come from the system's own scale and component rules, which the contract lets win. The eyebrow carries font-weight: 500 rather than 400 to narrow the gap.
Image resolution. The two full-width crops stop at 2560px. A 1440 display at 2× asks for 2880 and a 1920 one for 3840, and serving either would put the hero past the 250 kB the system caps it at. The page buys 1.78× on those two and a true 2× on the two editorial frames. CREDITS.md has the measurement.
Lint findings this page keeps
copy-lint.ignore records three, each with its reason. directional covers "above the water", which says where the room sits rather than where the layout sits. title-case covers "Cala Rotja · Menorca", a place and an island, both spelled the way the map spells them. label-period covers the menu's <dd> lines, which are complete sentences, and in the allergen case a safety message that the system's voice reference insists stays plain and complete.
Uplift round, 2026-10-29
- The cover is a photograph, not the dining room. A fifth photograph, Cala Macarelleta at Night (Wikimedia Commons, CC0, Menorca itself, 4849 x 3237), is now the first fold: 100svh, one image, one line of type. No generator was reachable (
boson doctor: google, byteplus and comfy all unreachable), so the image is a real CC0 photograph fetched the same way as the other four.img/build.py coveencodes it without re-encoding the rest. Wide crop is the whole frame, 1280/1920/2560 at 65/122/184 kB AVIF; the phone crop is 4:5, held to the right edge so the moon stays, 720/1080/1440 at 49/87/122 kB. - The dining room moved down to be the full-bleed passage after the statement; its tall crop now serves phones too.
- Scrim, measured on the shipped crops (worst pixel behind each block with the text made transparent, then contrast against the real text colour), at 390 / 1440 / 1920: eyebrow 14.2 / 8.5 / 9.5, the name 15.5 / 7.9 / 8.9 (large, floor 3.0), the line 16.3 / 5.8 / 5.5 (large), brass "Tonight's menu" 8.8 / 7.5 / 7.4, nav 17.6 minimum, dining-room caption 8.3 / 17.1 / 15.6. The back link needed a corner scrim at 390 (4.03 before, 6.5 after).
- The menu is a printed card: day mood, one column, five dishes with ordinals in words, the price in words ("Sixty-eight euro a head").
- A silence between the room and the menu: Marc Ferrer, one sentence at display size.
- Booking rebuilt: covers, a fortnight calendar with what is left written under every date for the party chosen (Both, Seven, Nine, Full, Dark), the two services, then an answer slip that restates party, evening, service, hold and cancellation, asks for a name (empty name is an error with focus moved to it) and confirms. All native radios; the arrow keys come from the browser. The four earlier answers and the held state are all reachable. The last evening of the fortnight produces "nothing else" for a party of six.
- Design notes now carry the two measured pairs as swatches beside their ratios. The deviation about image files under
img/stands, unchanged. - Direction lines unchanged. The page no longer carries a nav in the masthead: the moon sits under it, so the three links ride the foot of the cover.
Round three, 2026-10-29
A cold critic scored the page 6.5: the photograph was superb and "Solviva" was in DejaVu Serif. Measured: the generator's stacks name Canela, Ogg, Editorial New, Suisse Intl and Neue Haas Grotesk, commercial faces nobody has and none loaded, so every visitor fell through to Georgia and the system sans.
- Type.
font-selectionand a render comparison (Instrument Serif, Playfair, Libre Caslon Display, Bodoni Moda, Gilda Display). Playfair won: the nearest open face to Canela's register (high contrast, sharp wedges, a light weight, a true italic, an optical-size axis that thins the hairlines at 128px). Hanken Grotesk is the Suisse stand-in (neutral neo-grotesque, 300 to 600). Both load from Google Fonts withdisplay=swap. Display andheading-lgare weight 300; the display tracking is -0.01em on the page, since the generator's -0.03em was tuned for a heavier face and closes the hairlines up. Measured with CDPCSS.getPlatformFontsForNode: the name, the line, the button, the links and the body all report Playfair or Hanken Grotesk, none a fallback. - Deviation from "nobody hand-edits tokens.css". The generator hard-codes the commercial stacks and cannot be told otherwise, so the two family lines in each of the four blocks were edited by hand (
--lx-family-displayand--lx-family-text). Regenerating overwrites them; reapply after--both. This also retires "the page reaches no other origin" from the image deviation above: it now reaches fonts.googleapis.com and fonts.gstatic.com. - Cover links. The cover's button, quiet link, nav and back link are 13px (were 11px). "Book a table" appeared twice on the first screen; the nav now reads "The room" and "Hours" (a new
#hoursanchor on the footer), so the button is the one booking door and "Tonight's menu" the one menu door. The scrim over the foot of the cover already runs at 72% at the bottom edge, so no new one was added; measured on the shipped crop at 390 / 1440 / 1920 (worst pixel behind the text, text hidden): brass "Tonight's menu" 7.86 / 7.46 / 7.50, nav 18.0 / 18.3 / 17.8 and 18.4 / 18.8 / 18.7, back link 5.81 / 7.01 / 5.29. Floor 4.5. - The light plate. The ledger captures each page under both colour schemes and this page's two were identical. That is the settled decision above ("Deviations", section 5), not an oversight: the page declares
data-mood="night"and takes no setting from the visitor, and it has no toggle, so none was removed. A daylight variant would need a daylight photograph of Cala Rotja that does not exist, and the skill rejects a dark-mode switch. The mood the page does have, a day menu card inside a night page, is already in both plates.
Round four
- The booking panel opens on Tuesday 15 September, two covers, nine o'clock: a night with a table, beside a Full seven and the dark weekend. It opened on a closed Sunday, so every visible option read as closed. The no-script panel says the same thing the script draws.
- The cover's two links are 15px, 48px tall, underlined at rest and set level with the booking button, not stacked above it in the corner.
- The reveal moves a block and no longer dims it, so every word is on the page at rest, in a capture taken without a scroll and where the observer never fires. The four photographs below the cover load eagerly and decode in line, and the quotation's air is 8rem, not 12rem.
Round nine, 2026-11-09
Heuristics, ten scored 0 to 4: 29 before, 35 after. Before, below 3: status 2 (on a 390px phone the answer sat a screen and a half under the date just touched), and match with the real world, error prevention, recovery, control, help at 3 or under (the slip promised "the kitchen telephones" and asked for no number).
- Phone status bar. Under 56rem a bar rides the foot of the screen while the form is in view: evening, service, party, a one-line verdict and the next step. It repeats the slip, so it is hidden from screen readers and the slip stays the one live region. Tapping it moves focus to the slip.
- A number to ring. The slip now asks for a telephone as well as a name. Both fields keep what was typed across every redraw, both errors show at once, focus goes to the first empty one, and the held slip restates the number. Fields are wells one step darker than the slip, so an empty one reads as a place to write.
- Targets. Footer links 44px (were 22). Calendar dates 44px at 360 by closing the gap to 2px (were 42). Skip link 44px. The quiet buttons no longer carry the browser's side padding, so "Choose another evening" aligns with "Ring the restaurant".
- Crops. The dining room keeps its lamp and whole mirror (object-position 22% instead of a centre crop that cut the sconce in half) and the full-bleed cap goes from 48rem to 56rem so at 1920 the table is not a strip. The pass keeps its board whole on a phone. The caption scrim rose from 0.58 to 0.70 at the caption's end because the new crop puts glassware behind the line; measured on the shipped crops with the text hidden, worst pixel against bone, at 360 / 390 / 1440 / 1920: room caption 9.9 / 7.6 / 17.5 / 5.9, pass caption 10.4 / 10.4 / 9.6 / 9.4; cover lines all above 5.5 (name 8.0 / 11.7 / 5.8 / 9.5; back link 6.4 / 6.6 / 7.6 / 5.5).
- Words. The quotation scales with the width so it sets in five lines on a phone, not seven with "me." alone. Headings, menu lines and prose balance or avoid widows. The counter photograph is no longer a link to a form that cannot book the counter; the number is in the sentence. The clams photograph's link says where it goes. The footer says nothing typed into the book leaves the page.
- Design notes recomposed as a sheet: heading and the two measured pairs on the left, ten decisions as hairline rows on the right, and a palette strip under the colour row.
body { overflow-x: clip }replaceshidden, so the sticky bar and the sticky slip stick to the screen.
Left: no persistent "Book" mark once the cover is scrolled (it would sit on photographs and need its own scrim; taste, severity 1). The phone cover shows cliff, not water, because a 1:2 crop of this frame cannot hold both (taste). Boson reports focus-not-visible on every control; Tab with computed styles shows a 2px brass ring on all of them, so it is its probe, not the page. Boson's launch check wants a privacy policy for a form that sends nothing.
Round ten, 2026-11-09
A second reader, cold, scoring the one task (booking a table). Heuristics, ten scored 0 to 4: 31 before (round nine's 35 did not survive a second read), 36 after. Before, below 3: error prevention 2 (the no-show cost sat last, in 12px, under the form, not at the button; a diner could not say what would not suit them although the menu asked), recovery 2 (confirming was undoable only by silently dropping the table, and touching any control after confirming dropped it with no word), control 2 (a one-task page 10,000px long with no way to the book once the cover had gone), help 3, consistency 3.
- A commit with a way back (sev 3). "Choose another evening" released the table without saying so, and so did changing any control after confirming. Now "Release this table" and any later change both say "Released: a table for two, Tuesday 15 September, dinner at nine. It is back in the book." at the top of the slip, with "Put it back", which restores the table and the form. The notice stays until the next change; on a phone the status bar says the table is released.
- The money line first (sev 2). The slip now carries the menu price and "Free until midday on the day; after that, twenty a head" before the fields, in the held slip as well. Both are the page's own sentences.
- What will not suit you (sev 2). The menu foot said to tell the kitchen "when you book" and the book had nowhere to say it. An optional field joins the slip, is kept across redraws and is restated on the booked slip.
- A way to the book (sev 2). A solid bar on its own ground (no photograph, so no scrim) carries "Book a table" between the cover and the book and is gone while the book is on screen or behind. Hidden from keyboard and readers while off; positions, not observer events, drive it, since an observer is silent when a jump passes the book in one step. Focus is scrolled clear of it.
- One fact two ways (sev 2). The clams were "raked at dawn" on the menu and "come up at eleven" in the story; the menu now says "that morning". "Held fifteen minutes" read as a timer on the offer; it now says fifteen minutes past the hour.
- Help beside the figure (sev 1). The calendar's month line says what the words under the dates are for: "September 2026, what is left for two".
- Smaller. A fixed error clears as soon as its field is mended; the booked slip scrolls into view from its top; the confirmation reads "Booked for two" (the slip's "Held" row had made "Held for two" ambiguous); the private-dining link says it is an email and opens a subject.
- copy-lint.ignore now describes what fires:
directional(three: meta and cover line "above the water", the cover alt "on the right") andtitle-case(the weekday heads "Mon Tue Wed..."). The oldlabel-periodentry and the old title-case reason ("Cala Rotja · Menorca") no longer fired and are gone.
Inventions, each minimal: "past the hour" for when the fifteen minutes run; the optional dietary field; that releasing a table is the same as cancelling inside the free window (the page offers no other cancel). Left: no door on the cover (the cover's own button is the door there), the door is last in tab order (taste).
Round eleven (2026-11-10)
A reviewer booked Tuesday 15 September at nine for two. The slip said "Booked for two" while calendar cell 15 and the Service chip still read "Nine" and "A table" (sev 2: the act did not change the figures it touches). Reproduced before editing in all four states.
- One way to take or give back a table.
keep(next)moves the party's seats out of the book when a table is held and back when it is released. Confirm, Release this table, Put it back and any later change to a control all go through it, so the book the calendar and chips read can never disagree with the slip.paint()runs after each. - The held evening says so. While a table is held its calendar cell reads "Booked" (screen readers: "Tuesday 15 September, your table for two at nine") and the held service chip reads "Booked". Released, both return to what the book says. The other cells and the other service keep following the seats, so a booking that takes the last seats of a service (Thursday 24 at nine, party two) shows Full for the next party once it is released and never before.
- Invention, minimal. Seats leave the book while the table is held. The brief gives no seat counts beyond the page's own book table; the word "Booked" is new but states only what the slip already says. No new price, date or policy.
Round twelve (2026-11-10)
A reviewer picked Four, then Saturday 19 September. The calendar cell said "Seven" (the only sitting free for four) while Service kept "Nine" and the answer said "Nothing for four on Saturday 19 September at nine", offering Wednesday 23. On a phone the status bar said "Nothing free at nine" right after tapping that cell (sev 2: the page answered no to a date its own calendar had just promised). Reproduced before editing at 1440: 50 of 200 combinations of start service, party and date, in both orders, ended in a no beside a calendar cell that was neither Full nor Dark.
- Move to the sitting that is free, and say so. When the party or the date changes and exactly one sitting seats that party on that evening and it is not the service in hand, the service moves to it and the panel opens with "Nine is full for four on Saturday 19 September. Moved to seven, which has a table." The note uses the existing notice strip, lives in the polite status region, and goes at the next choice, confirm, release or "Put it back".
- A free choice is kept. When the chosen service is free, or both are, nothing moves (Thursday 24 for two, nine chosen, stays nine under "Both"). A service picked by hand is never moved: choosing a full sitting still answers no and offers the next table.
- Party size too. The same contradiction came from changing the party on a date (Thursday 24, nine, two to four), so the rule runs on the party as well as the date.
- Invention, minimal. The sentence of the note; no new fact, price or policy. The booked and released path from round eleven is unchanged and was driven again.
Round fifteen (2026-11-10)
A reviewer confirmed Tuesday 15 September at nine for two ("Booked for two."), then tapped Three. The panel said "Released: a table for two ... Put it back" above a fresh form for three, the calendar cell went back from Booked to Nine, and tapping Two again left an empty form with no Put it back: the booking was gone with no word from the guest (sev 2, reproduced at 1440 before editing). Two sev 1 notes from the same file: Release this table and Ring the restaurant were identical brass caps, and after a release the phone strip read "See slip" with no slip.
- A confirmed table is never released by a control. Changing Covers, the evening or the service while a table is held no longer touches the booking. The slip stays "Booked for two." and a notice above it names the choice: "You have chosen a table for three, Tuesday 15 September, dinner at nine. Your table for two is still booked. It changes only when you press Change." with "Change to three" and "Keep my table for two" (which puts the controls back). Only the parts that differ are in the button ("Change to three", "Change to Wednesday 16 September at seven"). When the choice has no table (full, or a dark evening) the notice gives the same no the page always gives and only "Keep my table for two". The seven/nine move from round twelve still runs and is said inside the notice.
- Way back. Change to ... replaces the booking (name, telephone and dietary note carried over) and the slip then reads "Changed. It was a table for two, Tuesday 15 September, dinner at nine." with "Change back to two", which swaps in the same way and offers the reverse. Release this table is the only way to give a table up, and keeps round eleven's Put it back.
- Availability of a change counts the guest's own seats as free in the slot they hold (
seatsAt), so two to four on the same evening is judged on what the room would have once their table is given up. - Release is not the telephone (sev 1). Release this table is a boxed button in the critical colour; Ring the restaurant stays the quiet brass line.
- The strip tells the truth (sev 1). After a release it says "Put it back" rather than "See slip"; with a change waiting it says "Still booked for two / See change".
Inventions, minimal: the sentences of the change notice, "Change", "Keep my table for ...", "Changed. It was ...", and the rule that Change and Change back are the only ways a held table becomes another. No new price, date, seat count or policy. Left: the dietary hint and a return-guest shortcut from the same file (help 3, flexibility 3) need facts the brief does not give.
Round nineteen (2026-11-10)
A reviewer typed "+34 971 22" (six digits) as the telephone and pressed Confirm. The page booked and wrote "The kitchen telephones the evening before, on the number you gave" for a number nobody could ring (sev 1). The rule was seven digits or more, and any letters were stripped before counting. Reproduced before editing at 1440, 390, 360 and 1920: it booked at all four.
- A number the kitchen could ring.
telProblem()replacesreached(). It returns the sentence for what is wrong, or nothing. Empty keeps "Give a number the kitchen can reach you on." Letters or other symbols ("abc") now say "A telephone number is digits only, with spaces, dots or dashes between." Too few digits says "Give the whole number, with the country code if it is not Spanish." Too many says "That has more digits than a telephone number. Check it once more." The three messages are distinct, and while the field is still wrong the sentence under it follows what is typed. - Passes: +34 971 22 33 44, 971 22 33 44, +44 20 7946 0958, +1 212 555 0100, and the same Spanish number with dots or dashes. Brackets and a leading plus are allowed.
autocomplete="tel"andinputmode="tel"are unchanged. - Invention, named. The rule is nine to fifteen digits, written only with an optional leading plus, digits, spaces, dots, dashes and brackets. Nine is the length of a Spanish number; fifteen is the longest an international number runs. The brief gave no rule; this is the minimal one that refuses a fragment. No price, date, seat count or policy added. The check does not know a real number from a plausible one, and only the kitchen ringing it can.