Anti-AI-slop design skill for Claude Code, Cursor, and Codex.
CSS
Theme pages built from their jobs: 23 showcase pages reworked so the action sits where the category puts it, the category's own sections lead and the close is the job
Youssef54a3c1e37249
diff --git a/site/assets/desk/arcade.webp b/site/assets/desk/arcade.webpindex b6f2742..f4c1a3b 100644Binary files a/site/assets/desk/arcade.webp and b/site/assets/desk/arcade.webp differdiff --git a/site/assets/desk/atelier.webp b/site/assets/desk/atelier.webpindex 3be3c80..b1c3169 100644Binary files a/site/assets/desk/atelier.webp and b/site/assets/desk/atelier.webp differdiff --git a/site/assets/desk/cobalt.webp b/site/assets/desk/cobalt.webpindex 1db1300..0551b02 100644Binary files a/site/assets/desk/cobalt.webp and b/site/assets/desk/cobalt.webp differdiff --git a/site/assets/desk/console.webp b/site/assets/desk/console.webpindex 686d1b3..5c2de90 100644Binary files a/site/assets/desk/console.webp and b/site/assets/desk/console.webp differdiff --git a/site/assets/desk/coral.webp b/site/assets/desk/coral.webpindex c8985e4..eec6a82 100644Binary files a/site/assets/desk/coral.webp and b/site/assets/desk/coral.webp differdiff --git a/site/assets/desk/darkroom.webp b/site/assets/desk/darkroom.webpindex 6dacc4b..d9bc8f0 100644Binary files a/site/assets/desk/darkroom.webp and b/site/assets/desk/darkroom.webp differdiff --git a/site/assets/desk/dose.webp b/site/assets/desk/dose.webpindex bcebd55..f861d56 100644Binary files a/site/assets/desk/dose.webp and b/site/assets/desk/dose.webp differdiff --git a/site/assets/desk/editorial.webp b/site/assets/desk/editorial.webpindex 35f0bd3..0528f12 100644Binary files a/site/assets/desk/editorial.webp and b/site/assets/desk/editorial.webp differdiff --git a/site/assets/desk/formwork.webp b/site/assets/desk/formwork.webpindex 83dddd8..41f432f 100644Binary files a/site/assets/desk/formwork.webp and b/site/assets/desk/formwork.webp differdiff --git a/site/assets/desk/furrow.webp b/site/assets/desk/furrow.webpindex 3ecf2b6..b18ecae 100644Binary files a/site/assets/desk/furrow.webp and b/site/assets/desk/furrow.webp differdiff --git a/site/assets/desk/garden.webp b/site/assets/desk/garden.webpindex b9e6585..81782d7 100644Binary files a/site/assets/desk/garden.webp and b/site/assets/desk/garden.webp differdiff --git a/site/assets/desk/hum.webp b/site/assets/desk/hum.webpindex 711b08f..9fc6079 100644Binary files a/site/assets/desk/hum.webp and b/site/assets/desk/hum.webp differdiff --git a/site/assets/desk/ink.webp b/site/assets/desk/ink.webpindex c1462e3..ac6834c 100644Binary files a/site/assets/desk/ink.webp and b/site/assets/desk/ink.webp differdiff --git a/site/assets/desk/ledger.webp b/site/assets/desk/ledger.webpindex 2ea4f93..5890c16 100644Binary files a/site/assets/desk/ledger.webp and b/site/assets/desk/ledger.webp differdiff --git a/site/assets/desk/lumen.webp b/site/assets/desk/lumen.webpindex ec8acf1..d6da47a 100644Binary files a/site/assets/desk/lumen.webp and b/site/assets/desk/lumen.webp differdiff --git a/site/assets/desk/manifesto.webp b/site/assets/desk/manifesto.webpindex bc6d5af..7ad88c8 100644Binary files a/site/assets/desk/manifesto.webp and b/site/assets/desk/manifesto.webp differdiff --git a/site/assets/desk/newsprint.webp b/site/assets/desk/newsprint.webpindex b61878f..6297046 100644Binary files a/site/assets/desk/newsprint.webp and b/site/assets/desk/newsprint.webp differdiff --git a/site/assets/desk/overprint.webp b/site/assets/desk/overprint.webpindex ed01a69..594475e 100644Binary files a/site/assets/desk/overprint.webp and b/site/assets/desk/overprint.webp differdiff --git a/site/assets/desk/spore.webp b/site/assets/desk/spore.webpindex 44b7fdb..39ec537 100644Binary files a/site/assets/desk/spore.webp and b/site/assets/desk/spore.webp differdiff --git a/site/assets/desk/squeeze.webp b/site/assets/desk/squeeze.webpindex 86d581f..e5f2cec 100644Binary files a/site/assets/desk/squeeze.webp and b/site/assets/desk/squeeze.webp differdiff --git a/site/assets/desk/vellum.webp b/site/assets/desk/vellum.webpindex e6a673a..fb435ad 100644Binary files a/site/assets/desk/vellum.webp and b/site/assets/desk/vellum.webp differdiff --git a/site/assets/desk/werkstatt.webp b/site/assets/desk/werkstatt.webpindex 32aa5bf..f91603d 100644Binary files a/site/assets/desk/werkstatt.webp and b/site/assets/desk/werkstatt.webp differdiff --git a/site/assets/ex/theme-atelier.webp b/site/assets/ex/theme-atelier.webpindex 236c3ba..d881089 100644Binary files a/site/assets/ex/theme-atelier.webp and b/site/assets/ex/theme-atelier.webp differdiff --git a/site/assets/ex/theme-cobalt.webp b/site/assets/ex/theme-cobalt.webpindex ae730b0..5e0d6f4 100644Binary files a/site/assets/ex/theme-cobalt.webp and b/site/assets/ex/theme-cobalt.webp differdiff --git a/site/assets/ex/theme-squeeze.webp b/site/assets/ex/theme-squeeze.webpindex 1be13cd..62a52aa 100644Binary files a/site/assets/ex/theme-squeeze.webp and b/site/assets/ex/theme-squeeze.webp differdiff --git a/site/assets/phone/arcade.webp b/site/assets/phone/arcade.webpindex 1c22acf..aca5a43 100644Binary files a/site/assets/phone/arcade.webp and b/site/assets/phone/arcade.webp differdiff --git a/site/assets/phone/atelier.webp b/site/assets/phone/atelier.webpindex 01945b9..3652b34 100644Binary files a/site/assets/phone/atelier.webp and b/site/assets/phone/atelier.webp differdiff --git a/site/assets/phone/cobalt.webp b/site/assets/phone/cobalt.webpindex 9f25bce..d99df45 100644Binary files a/site/assets/phone/cobalt.webp and b/site/assets/phone/cobalt.webp differdiff --git a/site/assets/phone/console.webp b/site/assets/phone/console.webpindex 8151229..ac8664b 100644Binary files a/site/assets/phone/console.webp and b/site/assets/phone/console.webp differdiff --git a/site/assets/phone/coral.webp b/site/assets/phone/coral.webpindex f84289e..a1d3b44 100644Binary files a/site/assets/phone/coral.webp and b/site/assets/phone/coral.webp differdiff --git a/site/assets/phone/darkroom.webp b/site/assets/phone/darkroom.webpindex af9ef0a..40f973f 100644Binary files a/site/assets/phone/darkroom.webp and b/site/assets/phone/darkroom.webp differdiff --git a/site/assets/phone/dose.webp b/site/assets/phone/dose.webpindex 1b7d83a..0d598e1 100644Binary files a/site/assets/phone/dose.webp and b/site/assets/phone/dose.webp differdiff --git a/site/assets/phone/editorial.webp b/site/assets/phone/editorial.webpindex 4d84a41..23bfc90 100644Binary files a/site/assets/phone/editorial.webp and b/site/assets/phone/editorial.webp differdiff --git a/site/assets/phone/formwork.webp b/site/assets/phone/formwork.webpindex 88223e0..cb2a81d 100644Binary files a/site/assets/phone/formwork.webp and b/site/assets/phone/formwork.webp differdiff --git a/site/assets/phone/furrow.webp b/site/assets/phone/furrow.webpindex 5d0f53c..4804786 100644Binary files a/site/assets/phone/furrow.webp and b/site/assets/phone/furrow.webp differdiff --git a/site/assets/phone/garden.webp b/site/assets/phone/garden.webpindex 467e681..c7456c8 100644Binary files a/site/assets/phone/garden.webp and b/site/assets/phone/garden.webp differdiff --git a/site/assets/phone/hum.webp b/site/assets/phone/hum.webpindex 8da1a70..13a13a3 100644Binary files a/site/assets/phone/hum.webp and b/site/assets/phone/hum.webp differdiff --git a/site/assets/phone/ink.webp b/site/assets/phone/ink.webpindex 8bb774b..27e2a4f 100644Binary files a/site/assets/phone/ink.webp and b/site/assets/phone/ink.webp differdiff --git a/site/assets/phone/ledger.webp b/site/assets/phone/ledger.webpindex 0ae0c83..43abcbd 100644Binary files a/site/assets/phone/ledger.webp and b/site/assets/phone/ledger.webp differdiff --git a/site/assets/phone/lumen.webp b/site/assets/phone/lumen.webpindex ea5a9d1..59db542 100644Binary files a/site/assets/phone/lumen.webp and b/site/assets/phone/lumen.webp differdiff --git a/site/assets/phone/manifesto.webp b/site/assets/phone/manifesto.webpindex bbc1916..76ab55e 100644Binary files a/site/assets/phone/manifesto.webp and b/site/assets/phone/manifesto.webp differdiff --git a/site/assets/phone/newsprint.webp b/site/assets/phone/newsprint.webpindex 5a7d4b2..be36021 100644Binary files a/site/assets/phone/newsprint.webp and b/site/assets/phone/newsprint.webp differdiff --git a/site/assets/phone/overprint.webp b/site/assets/phone/overprint.webpindex 6dac896..50d0494 100644Binary files a/site/assets/phone/overprint.webp and b/site/assets/phone/overprint.webp differdiff --git a/site/assets/phone/spore.webp b/site/assets/phone/spore.webpindex cc0eaeb..225831c 100644Binary files a/site/assets/phone/spore.webp and b/site/assets/phone/spore.webp differdiff --git a/site/assets/phone/squeeze.webp b/site/assets/phone/squeeze.webpindex 7bf1d5c..b369b5b 100644Binary files a/site/assets/phone/squeeze.webp and b/site/assets/phone/squeeze.webp differdiff --git a/site/assets/phone/vellum.webp b/site/assets/phone/vellum.webpindex b8c4258..9e2753c 100644Binary files a/site/assets/phone/vellum.webp and b/site/assets/phone/vellum.webp differdiff --git a/site/assets/phone/werkstatt.webp b/site/assets/phone/werkstatt.webpindex 07f62d5..aaf381b 100644Binary files a/site/assets/phone/werkstatt.webp and b/site/assets/phone/werkstatt.webp differdiff --git a/site/assets/themes/arcade.webp b/site/assets/themes/arcade.webpindex 84f3928..0153da0 100644Binary files a/site/assets/themes/arcade.webp and b/site/assets/themes/arcade.webp differdiff --git a/site/assets/themes/atelier.webp b/site/assets/themes/atelier.webpindex a8e3aab..9dc2050 100644Binary files a/site/assets/themes/atelier.webp and b/site/assets/themes/atelier.webp differdiff --git a/site/assets/themes/cobalt.webp b/site/assets/themes/cobalt.webpindex c699396..2d21211 100644Binary files a/site/assets/themes/cobalt.webp and b/site/assets/themes/cobalt.webp differdiff --git a/site/assets/themes/console.webp b/site/assets/themes/console.webpindex 849ae08..eec4f17 100644Binary files a/site/assets/themes/console.webp and b/site/assets/themes/console.webp differdiff --git a/site/assets/themes/coral.webp b/site/assets/themes/coral.webpindex 9d3e9c9..5a3098a 100644Binary files a/site/assets/themes/coral.webp and b/site/assets/themes/coral.webp differdiff --git a/site/assets/themes/darkroom.webp b/site/assets/themes/darkroom.webpindex 9612fb3..9c0d74d 100644Binary files a/site/assets/themes/darkroom.webp and b/site/assets/themes/darkroom.webp differdiff --git a/site/assets/themes/dose.webp b/site/assets/themes/dose.webpindex 7c3a6c6..f1ac52c 100644Binary files a/site/assets/themes/dose.webp and b/site/assets/themes/dose.webp differdiff --git a/site/assets/themes/editorial.webp b/site/assets/themes/editorial.webpindex fa70c72..b297d82 100644Binary files a/site/assets/themes/editorial.webp and b/site/assets/themes/editorial.webp differdiff --git a/site/assets/themes/formwork.webp b/site/assets/themes/formwork.webpindex e0ebac9..e8d02e7 100644Binary files a/site/assets/themes/formwork.webp and b/site/assets/themes/formwork.webp differdiff --git a/site/assets/themes/furrow.webp b/site/assets/themes/furrow.webpindex 3ddee9a..ba4676f 100644Binary files a/site/assets/themes/furrow.webp and b/site/assets/themes/furrow.webp differdiff --git a/site/assets/themes/garden.webp b/site/assets/themes/garden.webpindex f570fb9..7bb3bed 100644Binary files a/site/assets/themes/garden.webp and b/site/assets/themes/garden.webp differdiff --git a/site/assets/themes/hum.webp b/site/assets/themes/hum.webpindex 630b52e..f54edd5 100644Binary files a/site/assets/themes/hum.webp and b/site/assets/themes/hum.webp differdiff --git a/site/assets/themes/ink.webp b/site/assets/themes/ink.webpindex 2cd04da..722ce12 100644Binary files a/site/assets/themes/ink.webp and b/site/assets/themes/ink.webp differdiff --git a/site/assets/themes/ledger.webp b/site/assets/themes/ledger.webpindex d4a639d..43e097d 100644Binary files a/site/assets/themes/ledger.webp and b/site/assets/themes/ledger.webp differdiff --git a/site/assets/themes/lumen.webp b/site/assets/themes/lumen.webpindex e22f4d5..529e3a0 100644Binary files a/site/assets/themes/lumen.webp and b/site/assets/themes/lumen.webp differdiff --git a/site/assets/themes/manifesto.webp b/site/assets/themes/manifesto.webpindex e05e190..fdf128e 100644Binary files a/site/assets/themes/manifesto.webp and b/site/assets/themes/manifesto.webp differdiff --git a/site/assets/themes/newsprint.webp b/site/assets/themes/newsprint.webpindex 8ee8375..9118865 100644Binary files a/site/assets/themes/newsprint.webp and b/site/assets/themes/newsprint.webp differdiff --git a/site/assets/themes/overprint.webp b/site/assets/themes/overprint.webpindex d1ab583..5b83b89 100644Binary files a/site/assets/themes/overprint.webp and b/site/assets/themes/overprint.webp differdiff --git a/site/assets/themes/spore.webp b/site/assets/themes/spore.webpindex b19417b..a36f91f 100644Binary files a/site/assets/themes/spore.webp and b/site/assets/themes/spore.webp differdiff --git a/site/assets/themes/squeeze.webp b/site/assets/themes/squeeze.webpindex 9c49f10..e0ad969 100644Binary files a/site/assets/themes/squeeze.webp and b/site/assets/themes/squeeze.webp differdiff --git a/site/assets/themes/vellum.webp b/site/assets/themes/vellum.webpindex c9df47c..004ed11 100644Binary files a/site/assets/themes/vellum.webp and b/site/assets/themes/vellum.webp differdiff --git a/site/assets/themes/werkstatt.webp b/site/assets/themes/werkstatt.webpindex a09d7e6..bd26980 100644Binary files a/site/assets/themes/werkstatt.webp and b/site/assets/themes/werkstatt.webp differdiff --git a/site/themes/arcade/index.html b/site/themes/arcade/index.htmlindex 491593a..f6abf42 100644--- a/site/themes/arcade/index.html+++ b/site/themes/arcade/index.html@@ -14,13 +14,14 @@<body><a class="skip" href="#main">Skip to content</a>-<div class="banner"><div class="container"><p>14 November, Leeds, 7pm to midnight.</p></div></div>+<div class="banner"><div class="container"><p>One night only: 22 indie games you can play before they ship.</p></div></div><header class="bar"><div class="container bar__in"><a class="bar__mark" href="#top" aria-label="Pixel Picnic, back to the top">Pixel Picnic</a><nav class="bar__links" aria-label="Sections"><a href="#night">The night</a>- <a href="#tickets">Tickets</a>+ <a href="#questions">Questions</a>+ <a class="btn btn--small" href="#tickets">Tickets</a></nav></div></header>@@ -29,8 +30,12 @@<section class="hero" id="top" aria-labelledby="hero-head"><div class="hero__text">- <h1 id="hero-head">Play it<br>before it<br>ships</h1>- <p class="lead">22 indie games, mid-build and playable, for one night only.</p>+ <h1 id="hero-head"><span class="hero__date">14 Nov</span> <span class="hero__place">Leeds</span></h1>+ <p class="lead"><b>Pixel Picnic.</b> 22 indie games, playable before they ship.</p>+ <dl class="stub">+ <div><dt>Doors</dt><dd><span class="figure">7PM</span><span class="stub__to">to midnight</span></dd></div>+ <div><dt>On the door</dt><dd><span class="figure figure--ember">£6</span><span class="stub__to">by ticket</span></dd></div>+ </dl><div class="hero__acts"><a class="btn" href="#tickets">Get a ticket</a><a class="btn btn--open" href="#night">See the night</a>@@ -41,47 +46,22 @@</figure></section>-<section class="score" aria-labelledby="score-head">- <div class="container">- <div class="split-head">- <h2 id="score-head">One night, then they ship.</h2>- <p class="lead">Come early: every game is gone by midnight.</p>- </div>- <dl class="score__line">- <div><dt>games to play</dt><dd class="figure">22</dd></div>- <div><dt>hours, seven to midnight</dt><dd class="figure figure--ember">5</dd></div>- <div><dt>on the door</dt><dd class="figure">£6</dd></div>- </dl>- </div>-</section>--<section class="games" id="night" aria-labelledby="games-head">- <div class="container">- <div class="split-head">- <h2 id="games-head">None of them are finished.</h2>- <p class="lead">Every one is a demo, set up on a screen and ready for your hands.</p>- </div>- <figure class="pic crt games__wide" data-slot="games" data-alt="The room at Pixel Picnic: games set up and playable, wide">- <img src="photos/asus-rog-strix-g15-g513qy-hq012t-top-keyboard-wasd-pnr-0888-1920.jpg" width="3216" height="2173" alt="The W, A, S and D keys lit from below on a black keyboard, close" style="object-position: 50% 62%" loading="lazy">- </figure>- </div>-</section>--<section class="sides" aria-labelledby="sides-head">+<section class="night" id="night" aria-labelledby="night-head"><div class="container"><div class="split-head">- <h2 id="sides-head">Pick a side of the screen.</h2>- <p class="lead">Half the room plays. The other half made what they are playing.</p>+ <h2 id="night-head">One night, two sides of the screen.</h2>+ <p class="lead">Half the room plays. Half made the games.</p></div>- <table class="duel">- <caption class="visually-hidden">What the night is for players and for developers</caption>+ <table class="sched">+ <caption class="visually-hidden">The night hour by hour, for players and for developers</caption><thead>- <tr><td></td><th scope="col" class="duel__one">You came to play</th><th scope="col" class="duel__two">You made one</th></tr>+ <tr><td></td><th scope="col" class="sched__p1">You came to play</th><th scope="col" class="sched__p2">You made one</th></tr></thead><tbody>- <tr><th scope="row">Arrive</th><td>Walk up to any screen and pick up the pad</td><td>Set your build up and step back</td></tr>- <tr><th scope="row">Play</th><td>Play what nobody outside the studio has seen</td><td>Watch strangers find what you never tested</td></tr>- <tr><th scope="row">Leave</th><td>Having played it before it ships</td><td>With notes from real hands, not a review</td></tr>+ <tr><th scope="row"><span class="sched__when">Before doors</span></th><td><span class="sched__quiet">Have your ticket ready</span></td><td>Set your build up</td></tr>+ <tr class="is-next"><th scope="row"><span class="figure">7PM</span><span class="sched__tag">Next up</span></th><td>Doors open. Walk up and pick up any pad</td><td>Step back and let strangers play</td></tr>+ <tr><th scope="row"><span class="sched__when">All night</span></th><td>Play what nobody outside the studio has seen</td><td>Watch them find what you never tested</td></tr>+ <tr><th scope="row"><span class="figure">12AM</span></th><td>The screens go dark</td><td>Pack up with notes from real hands</td></tr></tbody></table></div>@@ -94,19 +74,28 @@</div></section>-<section class="clock" aria-labelledby="clock-head">- <div class="container clock__grid">- <div class="clock__text">- <h2 id="clock-head">Seven till the screens go dark.</h2>- <ol class="menu">- <li class="menu__row" aria-current="true"><span class="figure">7PM</span><span class="menu__what">Doors open, every demo switched on</span></li>- <li class="menu__row"><span class="figure">12AM</span><span class="menu__what">Screens off, builds packed up</span></li>- <li class="menu__row menu__row--place"><span class="menu__where">Leeds</span><span class="menu__what"><span class="fill" data-fill="venue">Venue to be announced</span></span></li>- </ol>- </div>- <figure class="pic crt clock__photo" data-slot="night" data-alt="A developer at Pixel Picnic watching someone play their game, over the shoulder">+<section class="ask" id="questions" aria-labelledby="ask-head">+ <div class="container ask__grid">+ <figure class="pic crt ask__photo" data-slot="night" data-alt="A developer at Pixel Picnic watching someone play their game, over the shoulder"><img src="photos/backlit-keyboard-1920.jpg" width="4357" height="2451" alt="Fingers on a backlit keyboard in the dark" style="object-position: 46% 60%" loading="lazy"></figure>+ <div class="ask__text">+ <h2 id="ask-head">Before you come.</h2>+ <div class="qs">+ <details open>+ <summary>Do I need a ticket?</summary>+ <p>Yes, entry is by ticket. Request yours below and pay on the door.</p>+ </details>+ <details>+ <summary>Where in Leeds?</summary>+ <p>The venue is <span class="fill" data-fill="venue">to be announced</span>.</p>+ </details>+ <details>+ <summary>I made a game. Can I show it?</summary>+ <p>The night is for developers showing work in progress. <span class="fill" data-fill="apply">How to apply, to be announced</span>.</p>+ </details>+ </div>+ </div></div></section>@@ -114,9 +103,10 @@<div class="container tickets__grid"><div class="tickets__text"><h2 id="tickets-head">Entry is by ticket.</h2>- <p class="lead">Six pounds a head on the door. Bring the crew and count them in.</p>+ <p class="lead">£6 a head on the door. Count your crew in.</p>+ <p class="tickets__when">14 November, Leeds</p></div>- <form class="ticket well" data-endpoint="" novalidate aria-label="Request tickets">+ <form class="ticket" data-endpoint="" novalidate aria-label="Request tickets"><div class="ticket__count"><span class="ticket__label" id="count-label">Tickets</span><div class="count" role="group" aria-labelledby="count-label">@@ -125,9 +115,9 @@<button type="button" class="count__btn" data-step="1" aria-label="One ticket more">+</button></div></div>- <p class="ticket__total"><span class="ticket__label">On the door</span><output class="figure" id="total" for="count" aria-live="polite">£12</output></p>+ <p class="ticket__total"><span class="ticket__label">Pay on the door</span><output class="figure" id="total" for="count" aria-live="polite">£12</output></p><div class="ticket__mail">- <label for="mail">Email address</label>+ <label for="mail">Email address, for the tickets</label><input id="mail" name="email" type="email" autocomplete="email" inputmode="email" required aria-describedby="ticket-help"></div><div class="ticket__go">@@ -147,10 +137,11 @@<p class="foot__line">See you in Leeds on the 14th.</p><nav class="foot__links" aria-label="Footer"><a href="#night">The night</a>+ <a href="#questions">Questions</a><a href="#tickets">Tickets</a></nav></div>- <p class="foot__credit" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Arcade_(8409657650).jpg">Faruk Ateş from Vancouver & SF</a> (CC BY 2.0), <a href="https://commons.wikimedia.org/wiki/File:ASUS_ROG_Strix_G15_(G513QY-HQ012T)-top_keyboard_WASD_PNr%C2%B00888.jpg">D-Kuru</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Backlit_keyboard.jpg">Colin</a> (CC BY-SA 4.0), all on Wikimedia Commons.</p>+ <p class="foot__credit" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Arcade_(8409657650).jpg">Faruk Ateş from Vancouver & SF</a> (CC BY 2.0), <a href="https://commons.wikimedia.org/wiki/File:Backlit_keyboard.jpg">Colin</a> (CC BY-SA 4.0), both on Wikimedia Commons.</p></div></footer>diff --git a/site/themes/arcade/photos/asus-rog-strix-g15-g513qy-hq012t-top-keyboard-wasd-pnr-0888-1920.jpg b/site/themes/arcade/photos/asus-rog-strix-g15-g513qy-hq012t-top-keyboard-wasd-pnr-0888-1920.jpgdeleted file mode 100644index 63acbd3..0000000Binary files a/site/themes/arcade/photos/asus-rog-strix-g15-g513qy-hq012t-top-keyboard-wasd-pnr-0888-1920.jpg and /dev/null differdiff --git a/site/themes/arcade/style.css b/site/themes/arcade/style.cssindex 6cc68ee..bff32cd 100644--- a/site/themes/arcade/style.css+++ b/site/themes/arcade/style.css@@ -1,7 +1,8 @@-/* Hallmark · shape: Marquee Hero (a night bill) · genre: playful · theme: Arcade (by request)- * hero: Stage, the joystick bleeding off the right edge · nav: banner over a bar · footer: mast · imagery: photographs, library 3, ember tint under the grille · product: the ticket counter, built · signature: PLAY IT BEFORE IT SHIPS split in RGB beside an arcade stick burning ember through the grille · arcade: ember/grille- * sections: Stage hero, Figures (score line), Showcase, Comparison (a two-player table), Statement (ember band), Split (menu rows and a photograph), Form (ticket counter), mast footer- * axes: dark/pixel/chromatic-ember · posture: full-palette · contrast: pass · fold: pass · v2.8.0 */+/* Hallmark · shape: Marquee Hero (a night bill) · genre: playful · theme: Arcade (by request) · job: attend+ * hero: Stage, the date and the place as the head, a ticket stub of the hour and the door price, the joystick bleeding off the right edge · nav: banner over a bar, tickets pressable in the bar · footer: mast · imagery: photographs, library 2, ember tint under the grille · product: the ticket counter, built · signature: 14 NOV LEEDS split in RGB beside an arcade stick burning ember through the grille · arcade: ember/grille+ * sections: Stage hero, Schedule (the night as two players' timetables, 7PM lit as next), Statement (ember band), Rows (questions that open like a menu, beside a photograph), Offer (the ticket counter with a running total and the request), mast footer+ * job: attend, so the page closes on tickets again; the email only carries the ticket request, it is not a mailing list · fills: the venue, how developers apply+ * axes: dark/pixel/chromatic-ember · posture: full-palette · contrast: pass · fold: pass · layout fix *//* Hallmark · dismissed 23 · the banner and the statement are the page's two ember fields under the full-palette posture this stamp declares */@import url("./tokens.css");@import url("./base.css");@@ -48,9 +49,11 @@ p { line-height: 1.6; }.bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-columns); min-height: 72px; }.bar__mark { font: 400 var(--text-xl)/1 var(--font-display); text-transform: uppercase; text-decoration: none; white-space: nowrap; text-shadow: -1px 0 0 var(--color-crt-r), 1px 0 0 var(--color-crt-c); }.bar__mark:hover { text-shadow: -2px 0 0 var(--color-crt-r), 2px 0 0 var(--color-crt-c); }-.bar__links { display: flex; gap: var(--space-lg); }-.bar__links a, .foot__links a { font-size: var(--text-sm); font-weight: 700; text-decoration-color: var(--color-accent-2); text-decoration-thickness: 2px; text-underline-offset: 0.3em; white-space: nowrap; }-.bar__links a:hover, .foot__links a:hover { color: var(--color-accent-2); }+.bar__links { display: flex; align-items: center; gap: var(--space-lg); }+.bar__links .btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); text-decoration: none; box-shadow: 4px 4px 0 var(--color-accent-2); }+.bar__links .btn--small:hover { color: var(--color-accent-ink); }+.bar__links a:not(.btn), .foot__links a { font-size: var(--text-sm); font-weight: 700; text-decoration-color: var(--color-accent-2); text-decoration-thickness: 2px; text-underline-offset: 0.3em; white-space: nowrap; }+.bar__links a:not(.btn):hover, .foot__links a:hover { color: var(--color-accent-2); }/* Photographs come through the screen: ember tint, a 2px edge, the grille over them */.pic { margin: 0; border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }@@ -79,31 +82,34 @@ p { line-height: 1.6; }.split-head h2 { grid-column: 1 / span 6; }.split-head .lead { grid-column: 8 / span 5; color: var(--color-ink-2); padding-bottom: var(--space-2xs); }-/* Figures as a score line */-.score { padding-top: var(--section-gap); }-.score__line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: var(--rule-bar) solid var(--color-rule); }-.score__line > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) var(--space-xl); border-left: var(--rule-bar) solid var(--color-rule); }-.score__line > div:first-child { border-left: 0; padding-left: 0; }-.score__line dd { margin: 0; font-size: var(--text-figure); line-height: 0.9; }-.score__line dt { font-size: var(--text-lg); font-weight: 700; color: var(--color-ink-2); }--/* The games: one wide picture */-.games { padding-top: var(--section-gap-l); }-.games__wide { aspect-ratio: 21 / 9; }--/* Two-player comparison: two wells, one keyed ember, one acid */-.sides { padding-top: var(--section-gap); }-.duel { width: 100%; border-collapse: collapse; table-layout: fixed; }-.duel thead th { padding: var(--space-lg) var(--space-lg) var(--space-md); border-top: var(--space-xs) solid var(--duel-ink); background: var(--color-paper-2); color: var(--duel-ink); text-align: left; font: 900 var(--text-3xl)/1 var(--font-body); letter-spacing: -0.02em; }-.duel thead td { width: 16%; }-@media (max-width: 60rem) { .duel thead th { font-size: var(--text-xl); } .duel tbody td { font-size: var(--text-lg); } }-.duel__one, .duel tbody td:nth-of-type(1) { --duel-ink: var(--color-accent); }-.duel__two, .duel tbody td:nth-of-type(2) { --duel-ink: var(--color-accent-2); }-.duel tbody th { padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; border-top: var(--rule-bar) solid var(--color-rule); text-align: left; vertical-align: top; font: 700 var(--text-lg)/1.3 var(--font-body); color: var(--color-muted); }-.duel tbody td { padding: var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule); background: var(--color-paper-2); vertical-align: top; font-size: var(--text-title); line-height: 1.3; box-shadow: inset 2px 0 0 var(--duel-ink); }-.duel tbody tr:last-child > * { border-bottom: var(--rule-bar) solid var(--color-rule); }-.duel tbody td:nth-of-type(1) { border-right: var(--space-xs) solid var(--color-paper); }-.duel thead th.duel__one { border-right: var(--space-xs) solid var(--color-paper); }+/* Hero ticket stub: the hour and the door price, ruled like a ticket */+.hero h1 { display: grid; font-size: clamp(4rem, 9vw, 8.25rem); line-height: 0.96; }+.hero .lead b { color: var(--color-ink); font-weight: 900; }+.stub { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; margin: var(--space-xs) 0 0; border-block: var(--rule-bar) solid var(--color-rule); }+.stub > div { display: grid; gap: var(--space-2xs); padding: var(--space-md) var(--space-xl) var(--space-md) 0; }+.stub > div + div { padding-left: var(--space-xl); border-left: var(--rule-bar) solid var(--color-rule); }+.stub dt { font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); }+.stub dd { display: flex; align-items: baseline; gap: var(--space-sm); margin: 0; }+.stub .figure { font-size: clamp(2.5rem, 3.4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }+.stub__to { font-weight: 700; color: var(--color-ink-2); }++/* The night as a two-player schedule: time down the side, one well per side of the screen */+.night { padding-top: var(--section-gap); }+.sched { width: 100%; border-collapse: separate; border-spacing: var(--space-xs) 0; margin-inline: calc(-1 * var(--space-xs)); width: calc(100% + 2 * var(--space-xs)); table-layout: fixed; }+.sched thead td { width: 22%; }+.sched thead th { padding: var(--space-lg); border-top: var(--space-xs) solid var(--side); background: var(--color-paper-2); color: var(--side); text-align: left; font: 900 var(--text-3xl)/1 var(--font-body); letter-spacing: -0.02em; }+.sched__p1, .sched tbody td:nth-of-type(1) { --side: var(--color-accent); }+.sched__p2, .sched tbody td:nth-of-type(2) { --side: var(--color-accent-2); }+.sched tbody th { padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: middle; }+.sched tbody th .figure { display: block; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }+.sched__when { font: 900 var(--text-xl)/1.1 var(--font-body); letter-spacing: -0.02em; color: var(--color-ink-2); }+.sched__tag { display: block; margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 700; }+.sched tbody td { height: 112px; padding: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); vertical-align: middle; font-size: var(--text-title); font-weight: 700; line-height: 1.25; box-shadow: inset var(--rule-bar) 0 0 var(--side); }+.sched tbody tr:last-child > * { border-bottom: var(--rule-bar) solid var(--color-rule); }+.sched__quiet { color: var(--color-muted); }+.sched tbody tr.is-next > * { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; }+.sched tbody tr.is-next th .figure { color: var(--color-accent-ink); }+.sched tbody tr:not(.is-next):hover > td { background: var(--color-paper-3); transition: background-color var(--dur-micro) steps(1); }/* Statement on the ember field */.say { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-accent); color: var(--color-accent-ink); }@@ -111,26 +117,30 @@ p { line-height: 1.6; }.say__line { max-width: 16ch; font: 400 clamp(3rem, 7.4vw, 7rem)/1.02 var(--font-display); text-transform: uppercase; letter-spacing: 0; text-wrap: balance; }.say__by { font-size: var(--text-lead); font-weight: 700; }-/* The night as a menu, beside a photograph */-.clock { padding-top: var(--section-gap-l); }-.clock__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.clock__text { grid-column: 1 / span 7; display: grid; gap: var(--space-2xl); }-.clock__text h2 { max-width: 13ch; }-.clock__photo { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }-.menu { margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-rule); }-.menu__row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); align-items: center; gap: var(--space-lg); min-height: 96px; padding-inline: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }-.menu__row .figure { font-size: var(--text-3xl); line-height: 1; font-variant-numeric: tabular-nums; }-.menu__row[aria-current] { background: var(--color-accent); color: var(--color-accent-ink); }-.menu__row[aria-current] .figure { color: var(--color-accent-ink); }-.menu__what { font-size: var(--text-title); font-weight: 700; line-height: 1.25; }-.menu__where { font-size: var(--text-title); font-weight: 900; }+/* Questions beside a photograph: the answers open like a menu */+.ask { padding-top: var(--section-gap-l); }+.ask__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.ask__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }+.ask__text { grid-column: 7 / -1; display: grid; gap: var(--space-2xl); }+.qs { border-top: var(--rule-bar) solid var(--color-rule); }+.qs details { border-bottom: var(--rule-hair) solid var(--color-rule); }+.qs summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 88px; padding-inline: var(--space-md); font: 900 var(--text-title)/1.2 var(--font-body); letter-spacing: -0.01em; cursor: pointer; list-style: none; }+.qs summary::-webkit-details-marker { display: none; }+.qs summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: var(--rule-bar) solid currentColor; border-radius: var(--radius-card); font: 700 var(--text-lg)/1 var(--font-body); }+.qs details[open] summary { background: var(--color-accent); color: var(--color-accent-ink); }+.qs details[open] summary::after { content: "\2212"; }+.qs summary:hover { background: var(--color-paper-2); }+.qs details[open] summary:hover { background: var(--ember-hover); }+.qs summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }+.qs details p { padding: var(--space-lg) var(--space-md) var(--space-xl); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 40ch; }.fill { padding: 0 0.2em; border-radius: 2px; color: var(--color-ink-2); background: color-mix(in oklch, var(--color-muted) 18%, transparent); font-weight: 400; }/* Tickets: the counter on a well */.tickets { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-block: var(--rule-bar) solid var(--color-rule); }.tickets__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }.tickets__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }-.tickets__text .lead { color: var(--color-ink-2); max-width: 30ch; }+.tickets__text .lead { color: var(--color-ink-2); }+.tickets__when { margin-top: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule); font: 900 var(--text-2xl)/1.15 var(--font-body); letter-spacing: -0.02em; color: var(--color-ink); }.ticket { grid-column: 6 / span 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap-columns); row-gap: var(--space-xl); padding: var(--space-xl); background: var(--color-paper); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); }.ticket__count, .ticket__mail { display: grid; gap: var(--space-xs); align-content: start; }.ticket__label, .ticket__mail label { font-size: var(--text-sm); font-weight: 700; color: var(--color-ink-2); }@@ -170,29 +180,32 @@ p { line-height: 1.6; }.hero__photo { grid-column: 2 / 4; grid-row: 2; height: auto; aspect-ratio: 4 / 3; }.split-head h2, .split-head .lead { grid-column: 1 / -1; }.split-head .lead { margin-top: var(--space-md); }- .score__line { grid-template-columns: minmax(0, 1fr); }- .score__line > div { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); padding-inline: 0; flex-direction: row-reverse; justify-content: space-between; align-items: center; padding-block: var(--space-lg); }- .score__line > div:first-child { border-top: 0; }- .score__line dd { font-size: clamp(3rem, 14vw, 5rem); }- .clock__text, .clock__photo, .tickets__text, .ticket { grid-column: 1 / -1; }- .clock__photo { margin-top: var(--space-2xl); aspect-ratio: 4 / 3; }+ .ask__photo, .ask__text, .tickets__text, .ticket { grid-column: 1 / -1; }+ .ask__photo { aspect-ratio: 4 / 3; margin-bottom: var(--space-2xl); }+ .sched thead th { font-size: var(--text-xl); }+ .sched tbody td { font-size: var(--text-lg); }.ticket { margin-top: var(--space-2xl); }}@media (max-width: 40rem) {- .duel, .duel thead, .duel tbody, .duel tr, .duel th, .duel td { display: block; width: auto; }- .duel thead { display: none; }- .duel tbody tr { margin-bottom: var(--space-xl); }- .duel tbody th { padding: 0 0 var(--space-sm); border: 0; }- .duel tbody td { border-right: 0; }- .duel tbody td::before { display: block; margin-bottom: var(--space-xs); font: 700 var(--text-sm)/1.3 var(--font-body); color: var(--duel-ink); }- .duel tbody td:nth-of-type(1)::before { content: "You came to play"; }- .duel tbody td:nth-of-type(2)::before { content: "You made one"; }- .duel tbody tr:last-child > * { border-bottom: 0; }- .duel tbody td:nth-of-type(1) { border-bottom: var(--rule-hair) solid var(--color-rule); }+ .sched, .sched thead, .sched tbody, .sched tr, .sched th, .sched td { display: block; width: auto; height: auto; }+ .sched { margin: 0; }+ .sched thead { display: none; }+ .sched tbody tr { margin-bottom: var(--space-lg); }+ .sched tbody th { padding: 0 0 var(--space-sm); border: 0; }+ .sched tbody tr.is-next th { padding: var(--space-sm) var(--space-md); }+ .sched tbody td { border-top: 0; padding: var(--space-md); }+ .sched tbody td::before { display: block; margin-bottom: var(--space-2xs); font: 700 var(--text-sm)/1.3 var(--font-body); color: var(--side); }+ .sched tbody tr.is-next td::before { color: var(--color-accent-ink); }+ .sched tbody td:nth-of-type(1)::before { content: "You came to play"; }+ .sched tbody td:nth-of-type(2)::before { content: "You made one"; }+ .sched tbody tr:last-child > * { border-bottom: 0; }+ .sched tbody td:nth-of-type(1) { border-bottom: var(--rule-hair) solid var(--color-rule); }+ .bar__links a:not(.btn) { display: none; }+ .stub > div { padding-right: var(--space-lg); }+ .stub dd { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }+ .stub > div + div { padding-left: var(--space-lg); }.bar__links { gap: var(--space-md); }- .menu__row { grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-md); padding-inline: var(--space-sm); }- .menu__row .figure { font-size: var(--text-xl); }- .menu__what, .menu__where { font-size: var(--text-lg); }+ .qs summary { min-height: 72px; font-size: var(--text-lg); }.ticket { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); }.ticket__total { justify-items: start; }.foot__mast { font-size: clamp(2.5rem, 12vw, 4rem); white-space: normal; }diff --git a/site/themes/atelier/index.html b/site/themes/atelier/index.htmlindex 6e66461..e5fae8d 100644--- a/site/themes/atelier/index.html+++ b/site/themes/atelier/index.html@@ -20,12 +20,12 @@<div class="container mast__in"><nav class="mast__start" aria-label="Sections"><ul>- <li><a href="#batch">The batch</a></li>- <li><a href="#week">The week</a></li>+ <li><a href="#four">The four</a></li>+ <li><a href="#room">The room</a></li></ul></nav><a class="wordmark" href="#top" aria-label="Maison Orla, back to the top">Maison Orla</a>- <a class="mast__end" href="#visit">Book a visit</a>+ <a class="btn btn--nav mast__end" href="#visit">Book a visit</a></div></header>@@ -34,11 +34,18 @@<div class="container hero__grid"><div class="hero__text"><h1 id="hero-title">Four scents, made in Ghent.</h1>- <p class="lead">Made in batches of 300 bottles, and smelled by appointment.</p>- <div class="actions">- <a class="btn" href="#visit">Book a visit</a>- <a class="textlink" href="#how">How a visit goes</a>- </div>+ <p class="lead">Each made in batches of 300 bottles, and smelled by appointment.</p>+ <nav class="pick" aria-labelledby="pick-title">+ <p class="pick__title" id="pick-title">Book a visit, Tuesday to Saturday</p>+ <ul class="pick__days">+ <li><a href="#visit" data-day="Tuesday">Tue<span class="long">sday</span></a></li>+ <li><a href="#visit" data-day="Wednesday">Wed<span class="long">nesday</span></a></li>+ <li><a href="#visit" data-day="Thursday">Thu<span class="long">rsday</span></a></li>+ <li><a href="#visit" data-day="Friday">Fri<span class="long">day</span></a></li>+ <li><a href="#visit" data-day="Saturday">Sat<span class="long">urday</span></a></li>+ </ul>+ </nav>+ <a class="textlink" href="#four">See the four</a></div><figure class="photo hero__photo" data-slot="hero" data-alt="One of the four bottles on stone or plaster, in the atelier's daylight"><img src="photos/perfume-glass-bottle-1920.jpg" width="1920" height="1440" fetchpriority="high" style="object-position: 54% 60%"@@ -47,103 +54,157 @@</div></section>- <section class="entry" aria-labelledby="entry-title">- <div class="container">- <h2 id="entry-title" class="visually-hidden">The atelier in figures</h2>- <p class="statement">Made three hundred bottles at a time, for people who buy fragrance slowly.</p>- <dl class="figures">- <div><dt class="figure">4</dt><dd><b>Scents</b>Made in the atelier</dd></div>- <div><dt class="figure">300</dt><dd><b>Bottles to a batch</b>One scent at a time</dd></div>- <div><dt class="figure">5</dt><dd><b>Days open to visits</b>Tuesday to Saturday</dd></div>- </dl>- </div>- </section>-- <section class="batch" id="batch" aria-labelledby="batch-title">+ <section class="four" id="four" aria-labelledby="four-title"><div class="container"><div class="head-split">- <h2 id="batch-title">One scent, one batch</h2>- <p class="lead">Each scent is made here in batches of 300 bottles, one scent at a time.</p>+ <h2 id="four-title">The four scents</h2>+ <p class="lead">One scent to a batch, 300 bottles each. Smell them side by side on a visit.</p></div>- <figure class="photo batch__wide" data-slot="batch" data-alt="The bench where a batch is made, photographed in the atelier">- <img src="photos/eucalypt-oils-1-1920.jpg" width="1920" height="1440" loading="lazy" decoding="async" style="object-position: 50% 58%"- alt="Rows of tall glass cylinders holding amber and gold oils on a white bench">- </figure>- <div class="batch__foot">- <p class="label"><b>The bench</b>In the atelier, Ghent</p>- <p class="dropcap">A batch is one making of one scent, so every bottle in it is the same.</p>+ <div class="switch" data-switch>+ <div class="seg" role="tablist" aria-label="The four scents">+ <button role="tab" id="t1" aria-controls="s1" aria-selected="true"><span class="seg__no">No. 1</span> Dog rose</button>+ <button role="tab" id="t2" aria-controls="s2" aria-selected="false" tabindex="-1"><span class="seg__no">No. 2</span> Rosemary</button>+ <button role="tab" id="t3" aria-controls="s3" aria-selected="false" tabindex="-1"><span class="seg__no">No. 3</span> Clove</button>+ <button role="tab" id="t4" aria-controls="s4" aria-selected="false" tabindex="-1"><span class="seg__no">No. 4</span> Eucalyptus</button>+ </div>++ <div class="scent" role="tabpanel" id="s1" aria-labelledby="t1">+ <figure class="photo scent__photo" data-slot="scent-1" data-alt="The first scent, or what it is made from, in daylight">+ <img src="photos/rosa-canina-focus-stacked-20220522-rm-123334-1920.jpg" width="1920" height="1440" loading="lazy" decoding="async" style="object-position: 50% 45%"+ alt="A single pale pink dog rose with gold stamens against a dark green ground">+ </figure>+ <div class="scent__text">+ <p class="scent__no">No. 1</p>+ <h3>Dog rose</h3>+ <p>Petal and green stem, kept quiet.</p>+ <p class="label"><b>One batch, 300 bottles</b>Made in the atelier, Ghent</p>+ <a class="textlink" href="#visit">Smell it on a visit</a>+ </div>+ </div>++ <div class="scent" role="tabpanel" id="s2" aria-labelledby="t2">+ <figure class="photo scent__photo" data-slot="scent-2" data-alt="The second scent, or what it is made from, in daylight">+ <img src="photos/rosemary-oil-in-a-bottle-and-rosemary-herb-1920.jpg" width="1920" height="1280" loading="lazy" decoding="async" style="object-position: 50% 60%"+ alt="An unlabelled amber dropper bottle among rosemary sprigs on a wooden table">+ </figure>+ <div class="scent__text">+ <p class="scent__no">No. 2</p>+ <h3>Rosemary</h3>+ <p>The herb, bruised, and a little wood.</p>+ <p class="label"><b>One batch, 300 bottles</b>Made in the atelier, Ghent</p>+ <a class="textlink" href="#visit">Smell it on a visit</a>+ </div>+ </div>++ <div class="scent" role="tabpanel" id="s3" aria-labelledby="t3">+ <figure class="photo scent__photo" data-slot="scent-3" data-alt="The third scent, or what it is made from, in daylight">+ <img src="photos/gewuerze-004-2024-08-10-1920.jpg" width="1920" height="1295" loading="lazy" decoding="async" style="object-position: 50% 50%"+ alt="Star anise, cinnamon sticks and cloves scattered on a white ground">+ </figure>+ <div class="scent__text">+ <p class="scent__no">No. 3</p>+ <h3>Clove</h3>+ <p>Clove and cinnamon bark, dry and warm.</p>+ <p class="label"><b>One batch, 300 bottles</b>Made in the atelier, Ghent</p>+ <a class="textlink" href="#visit">Smell it on a visit</a>+ </div>+ </div>++ <div class="scent" role="tabpanel" id="s4" aria-labelledby="t4">+ <figure class="photo scent__photo" data-slot="scent-4" data-alt="The fourth scent, or what it is made from, in daylight">+ <img src="photos/eucalypt-oils-1-1920.jpg" width="1920" height="1440" loading="lazy" decoding="async" style="object-position: 50% 58%"+ alt="Rows of tall glass cylinders holding amber and gold oils on a white bench">+ </figure>+ <div class="scent__text">+ <p class="scent__no">No. 4</p>+ <h3>Eucalyptus</h3>+ <p>Cool leaf over amber oil.</p>+ <p class="label"><b>One batch, 300 bottles</b>Made in the atelier, Ghent</p>+ <a class="textlink" href="#visit">Smell it on a visit</a>+ </div>+ </div></div></div></section>- <section class="how" id="how" aria-labelledby="how-title">- <div class="container">- <div class="head-split">- <h2 id="how-title">How a visit goes</h2>+ <section class="entry" aria-labelledby="entry-title">+ <div class="container entry__grid">+ <h2 id="entry-title" class="visually-hidden">How a batch is made</h2>+ <p class="statement">Made three hundred bottles at a time, for people who buy fragrance slowly.</p>+ <p class="dropcap">A batch is one making of one scent, so every bottle in it is the same. The next scent waits until the bench is clear.</p>+ </div>+ </section>++ <section class="room" id="room" aria-labelledby="room-title">+ <div class="container room__grid">+ <figure class="room__photo">+ <div class="photo room__slot" data-slot="room" data-alt="The atelier's room in daylight, where visitors sit with the four">+ <img src="photos/lobby-lounge-of-amantaka-suite-amantaka-luxury-resort-hotel--1920.jpg" width="1920" height="1280" loading="lazy" decoding="async" style="object-position: 62% 66%"+ alt="A quiet room with a teak daybed, a cane armchair and tall shuttered doors">+ </div>+ <figcaption class="label"><b>The room</b>In the atelier, Ghent</figcaption>+ </figure>+ <div class="room__text">+ <h2 id="room-title">A room for choosing</h2><p class="lead">By appointment, so the room is yours while you choose.</p>+ <ol class="steps">+ <li><h3>Ask for a day</h3><p>Any day from Tuesday to Saturday.</p></li>+ <li><h3>Hear back</h3><p>The reply names the hour and the street.</p></li>+ <li><h3>Smell all four</h3><p>Side by side, with nobody waiting behind you.</p></li>+ </ol></div>- <ol class="steps">- <li><h3>Ask for a day</h3><p>Any open day, through the form below.</p></li>- <li><h3>Hear back with a time</h3><p>The reply names the hour and the street.</p></li>- <li><h3>Smell all four</h3><p>Side by side, with nobody waiting behind you.</p></li>- <li><h3>Leave with one, or none</h3><p>Or come back to decide.</p></li>- </ol></div></section>- <section class="week" id="week" aria-labelledby="week-title">- <div class="container week__grid">- <figure class="photo week__photo" data-slot="room" data-alt="The atelier's room in daylight, where visitors sit with the four">- <img src="photos/lobby-lounge-of-amantaka-suite-amantaka-luxury-resort-hotel--1920.jpg" width="1920" height="1280" loading="lazy" decoding="async" style="object-position: 62% 66%"- alt="A quiet room with a teak daybed, a cane armchair and tall shuttered doors">- </figure>- <div class="week__text">- <h2 id="week-title">The week at the atelier</h2>+ <section class="visit" id="visit" aria-labelledby="visit-title">+ <div class="container visit__grid">+ <div class="visit__info">+ <h2 id="visit-title">Book a visit</h2><table class="timetable"><caption class="visually-hidden">Visiting days</caption><tbody><tr class="off"><th scope="row">Monday</th><td>No visits</td></tr>- <tr><th scope="row">Tuesday</th><td>By appointment</td></tr>- <tr><th scope="row">Wednesday</th><td>By appointment</td></tr>- <tr><th scope="row">Thursday</th><td>By appointment</td></tr>- <tr><th scope="row">Friday</th><td>By appointment</td></tr>- <tr><th scope="row">Saturday</th><td>By appointment</td></tr>+ <tr data-row="Tuesday"><th scope="row">Tuesday</th><td>By appointment</td></tr>+ <tr data-row="Wednesday"><th scope="row">Wednesday</th><td>By appointment</td></tr>+ <tr data-row="Thursday"><th scope="row">Thursday</th><td>By appointment</td></tr>+ <tr data-row="Friday"><th scope="row">Friday</th><td>By appointment</td></tr>+ <tr data-row="Saturday"><th scope="row">Saturday</th><td>By appointment</td></tr><tr class="off"><th scope="row">Sunday</th><td>No visits</td></tr></tbody></table>+ <p class="label visit__where"><b>Maison Orla, Ghent</b>The street comes with the reply</p></div>- </div>- </section>-- <section class="ask" id="visit" aria-labelledby="ask-title">- <div class="container ask__grid">- <div class="ask__head">- <h2 id="ask-title">Ask for a day</h2>- <p class="lead">Choose a day and leave an address; the reply comes with a time.</p>- </div>- <form class="ask__form" data-endpoint="" novalidate>+ <form class="ask" data-endpoint="" novalidate><fieldset class="days"><legend>Day</legend><div class="days__row">- <input type="radio" name="day" id="day-tuesday" value="Tuesday" checked><label for="day-tuesday">Tuesday</label>- <input type="radio" name="day" id="day-wednesday" value="Wednesday"><label for="day-wednesday">Wednesday</label>- <input type="radio" name="day" id="day-thursday" value="Thursday"><label for="day-thursday">Thursday</label>- <input type="radio" name="day" id="day-friday" value="Friday"><label for="day-friday">Friday</label>- <input type="radio" name="day" id="day-saturday" value="Saturday"><label for="day-saturday">Saturday</label>+ <input type="radio" name="day" id="day-tuesday" value="Tuesday" checked><label for="day-tuesday">Tue<span class="long">sday</span></label>+ <input type="radio" name="day" id="day-wednesday" value="Wednesday"><label for="day-wednesday">Wed<span class="long">nesday</span></label>+ <input type="radio" name="day" id="day-thursday" value="Thursday"><label for="day-thursday">Thu<span class="long">rsday</span></label>+ <input type="radio" name="day" id="day-friday" value="Friday"><label for="day-friday">Fri<span class="long">day</span></label>+ <input type="radio" name="day" id="day-saturday" value="Saturday"><label for="day-saturday">Sat<span class="long">urday</span></label></div></fieldset><div class="fields">+ <div class="field">+ <label for="when">Time of day</label>+ <select id="when" name="when">+ <option>Any time</option>+ <option>Morning</option>+ <option>Afternoon</option>+ </select>+ </div><div class="field"><label for="name">Your name</label><input id="name" name="name" type="text" autocomplete="name" required aria-required="true"></div>- <div class="field">+ <div class="field field--wide"><label for="email">Email address</label><input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-required="true"></div></div><div class="send">- <button class="btn" type="submit">Ask for this day</button>+ <button class="btn" type="submit"><span>Ask for <span data-day-out>Tuesday</span></span></button><p class="help" id="form-help" aria-live="polite"></p></div></form>@@ -158,45 +219,85 @@<p class="foot__name">Maison Orla<br><span>Fragrance atelier, Ghent</span></p><nav aria-label="Footer"><ul>- <li><a href="#batch">The batch</a></li>- <li><a href="#how">The visit</a></li>- <li><a href="#week">The week</a></li>+ <li><a href="#four">The four</a></li>+ <li><a href="#room">The room</a></li><li><a href="#visit">Book a visit</a></li></ul></nav><p class="legal">© 2026 Maison Orla</p></div>- <p class="credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Perfume_glass_bottle.jpg">Santeri Viinamäki</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Eucalypt_oils_1.jpg">Mx. Granger</a> (CC0), <a href="https://commons.wikimedia.org/wiki/File:Lobby_lounge_of_Amantaka_Suite_Amantaka_luxury_Resort_%26_Hotel_Luang_Prabang_Laos.jpg">Basile Morin</a> (CC BY-SA 4.0), all via Wikimedia Commons.</p>+ <p class="credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Perfume_glass_bottle.jpg">Santeri Viinamäki</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Rosa_canina_focus_stacked-20220522-RM-123334.jpg">Ermell</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Rosemary_Oil_in_a_bottle_and_rosemary_herb.jpg">formulatehealth</a> (CC BY 2.0), <a href="https://commons.wikimedia.org/wiki/File:Gewuerze_004_2024_08_10.jpg">Friedrich Haag</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Eucalypt_oils_1.jpg">Mx. Granger</a> (CC0), <a href="https://commons.wikimedia.org/wiki/File:Lobby_lounge_of_Amantaka_Suite_Amantaka_luxury_Resort_%26_Hotel_Luang_Prabang_Laos.jpg">Basile Morin</a> (CC BY-SA 4.0), all via Wikimedia Commons.</p></div></footer><script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });</script><script>-document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const help = form.querySelector('[aria-live]');- form.addEventListener('submit', (e) => {- e.preventDefault();- let first = null;- form.querySelectorAll('input[required]').forEach((f) => {- const ok = f.checkValidity();- f.setAttribute('aria-invalid', String(!ok));- if (!ok && !first) first = f;+/* The four: tabs move with the arrow keys; without script every panel shows in order */+document.querySelectorAll('[data-switch]').forEach((sw) => {+ const tabs = [...sw.querySelectorAll('[role="tab"]')];+ const show = (tab, focus) => {+ tabs.forEach((t) => {+ const on = t === tab;+ t.setAttribute('aria-selected', String(on));+ t.tabIndex = on ? 0 : -1;+ document.getElementById(t.getAttribute('aria-controls')).hidden = !on;});- if (first) {- help.textContent = first.type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : 'Add your name, so the reply can use it.';- first.setAttribute('aria-describedby', help.id);- first.focus();- return;- }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- const btn = form.querySelector('[type="submit"]');- btn.setAttribute('aria-busy', 'true');- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'Your request for ' + form.day.value + ' reached the atelier.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })- .finally(() => btn.removeAttribute('aria-busy'));+ if (focus) tab.focus();+ };+ tabs.forEach((t, i) => {+ t.addEventListener('click', () => show(t));+ t.addEventListener('keydown', (e) => {+ const k = { ArrowRight: 1, ArrowDown: 1, ArrowLeft: -1, ArrowUp: -1 }[e.key];+ if (e.key === 'Home' || e.key === 'End') { e.preventDefault(); show(tabs[e.key === 'Home' ? 0 : tabs.length - 1], true); return; }+ if (!k) return;+ e.preventDefault();+ show(tabs[(i + k + tabs.length) % tabs.length], true);+ });+ });+ show(tabs.find((t) => t.getAttribute('aria-selected') === 'true') || tabs[0]);+});++/* The booking: a day chosen in the hero carries into the form; the button and the week follow the day */+const form = document.querySelector('form.ask');+const out = form.querySelector('[data-day-out]');+const mark = () => {+ const d = form.day.value;+ out.textContent = d;+ document.querySelectorAll('.timetable [data-row]').forEach((r) => r.classList.toggle('is-chosen', r.dataset.row === d));+};+form.addEventListener('change', mark);+mark();+document.querySelectorAll('.pick a[data-day]').forEach((a) => {+ a.addEventListener('click', () => {+ const r = form.querySelector(`input[value="${a.dataset.day}"]`);+ if (r) { r.checked = true; mark(); }+ setTimeout(() => form.querySelector('#name').focus({ preventScroll: true }), 0);+ });+});++form.addEventListener('submit', (e) => {+ e.preventDefault();+ const help = form.querySelector('[aria-live]');+ let first = null;+ form.querySelectorAll('input[required]').forEach((f) => {+ const ok = f.checkValidity();+ f.setAttribute('aria-invalid', String(!ok));+ if (!ok && !first) first = f;});+ if (first) {+ help.textContent = first.type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : 'Add your name, so the reply can use it.';+ first.setAttribute('aria-describedby', help.id);+ first.focus();+ return;+ }+ if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ const btn = form.querySelector('[type="submit"]');+ btn.setAttribute('aria-busy', 'true');+ fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })+ .then((r) => { help.textContent = r.ok ? 'Your request for ' + form.day.value + ' reached the atelier.' : 'That did not go through. Try again in a minute.'; })+ .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })+ .finally(() => btn.removeAttribute('aria-busy'));});</script></body>diff --git a/site/themes/atelier/photos/gewuerze-004-2024-08-10-1920.jpg b/site/themes/atelier/photos/gewuerze-004-2024-08-10-1920.jpgnew file mode 100644index 0000000..63384d1Binary files /dev/null and b/site/themes/atelier/photos/gewuerze-004-2024-08-10-1920.jpg differdiff --git a/site/themes/atelier/photos/rosa-canina-focus-stacked-20220522-rm-123334-1920.jpg b/site/themes/atelier/photos/rosa-canina-focus-stacked-20220522-rm-123334-1920.jpgnew file mode 100644index 0000000..2716809Binary files /dev/null and b/site/themes/atelier/photos/rosa-canina-focus-stacked-20220522-rm-123334-1920.jpg differdiff --git a/site/themes/atelier/photos/rosemary-oil-in-a-bottle-and-rosemary-herb-1920.jpg b/site/themes/atelier/photos/rosemary-oil-in-a-bottle-and-rosemary-herb-1920.jpgnew file mode 100644index 0000000..081fcacBinary files /dev/null and b/site/themes/atelier/photos/rosemary-oil-in-a-bottle-and-rosemary-herb-1920.jpg differdiff --git a/site/themes/atelier/style.css b/site/themes/atelier/style.cssindex f32a7fc..a9914f4 100644--- a/site/themes/atelier/style.css+++ b/site/themes/atelier/style.css@@ -1,6 +1,6 @@-/* Hallmark · shape: Gallery Hang (custom: three still photographs hung at different sizes, alternating with sections set in the catalogue's own type: a statement with figures, a hanging list of steps, a ruled week) · genre: editorial · theme: Atelier (by request, v2.8 pass)- * hero: Stage, the bottle on seven columns bleeding off the right edge · sections: statement and figures, showcase, steps, split with a timetable, form band · nav: masthead, the wordmark centred over the page's one slate rule · footer: statement in Sentient regular on the umber band over the name, the links and the credits · imagery: photographs, library 3, warm · signature: Sentient regular at statement size against Sentient bold heads- * axes: light/roman-serif/cool · posture: restrained · contrast: pass · fold: pass · v2.8.0 */+/* Hallmark · shape: Gallery Hang (custom: still photographs hung at different sizes between sections set in the catalogue's own type; the four as a switcher, the room beside the visit, the week beside the request) · genre: editorial · theme: Atelier (by request, v2.8 pass) · job: book+ * hero: Stage, the bottle on seven columns bleeding off the right edge, the five open days as booking cells under the head · sections: switcher (the four scents), statement with wall text, split (the room beside three hung visit lines), band (the week beside the booking request) · nav: masthead, the wordmark centred over the page's one slate rule, Book a visit outlined at the right · footer: statement in Sentient regular on the umber band over the name, the links and the credits · imagery: photographs, library 6, warm · signature: Sentient regular at statement size against Sentient bold heads+ * samples: the four scents' names and one-line notes are placeholders of the shape, to be replaced by the house's own · axes: light/roman-serif/cool · posture: restrained · contrast: pass · fold: pass · v2.8.0 */@import url("./tokens.css");@import url("./base.css");@@ -23,6 +23,7 @@ h1, h2 { line-height: 1.04; }.mast__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); height: 100%; }.mast ul { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }.mast__end { justify-self: end; }+.long { display: inline; }.wordmark { font: var(--display-weight) var(--text-xl)/1 var(--font-display); letter-spacing: -0.01em; color: var(--color-ink); text-decoration: none; white-space: nowrap; }.mast a:not(.wordmark) { display: inline-flex; align-items: center; min-height: 44px; font: 400 var(--text-sm)/1 var(--font-body); color: var(--color-ink-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; white-space: nowrap; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }.mast a:not(.wordmark):hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }@@ -36,6 +37,8 @@ h1, h2 { line-height: 1.04; }.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }.btn[aria-busy="true"] { cursor: progress; }+.mast .btn--nav { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }+.mast .btn--nav:hover { background: var(--color-ink); color: var(--color-paper); }.textlink { display: inline-flex; align-items: center; min-height: 48px; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; white-space: nowrap; transition: text-decoration-thickness var(--dur-short) var(--ease-out); }.textlink:hover { text-decoration-thickness: 2px; }.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }@@ -60,51 +63,72 @@ h1, h2 { line-height: 1.04; }.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }.hero__photo { height: var(--hero-photo-h); margin-right: calc(min(0px, (var(--container) - 100vw) / 2) - var(--gutter)); }-/* Statement and figures: the catalogue entry, no picture */-.entry { padding-top: var(--section-gap); }-.statement { max-width: 21ch; font: var(--statement-weight) var(--text-statement)/1.12 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); text-wrap: balance; }-.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-3xl) 0 0; border-top: var(--rule-head) solid var(--color-ink); }-.figures > div { padding: var(--space-lg) var(--gap-columns) 0; border-left: var(--rule-hair) solid var(--color-rule); }-.figures > div:first-child { padding-left: 0; border-left: 0; }-.figure { font: var(--statement-weight) var(--text-figure)/1 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); font-variant-numeric: lining-nums; }-.figures dd { margin: var(--space-lg) 0 0; font: 400 var(--text-md)/1.5 var(--font-body); color: var(--color-muted); }-.figures dd b { display: block; font-weight: 400; color: var(--color-ink); }+/* The visit picker in the hero: the five open days as square cells joined edge to edge */+.pick { margin-top: var(--space-xl); }+.pick__title { margin-bottom: var(--space-xs); font: 400 var(--text-sm)/1.4 var(--font-body); color: var(--color-ink-2); }+.pick__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 34rem; margin: 0; padding: 0; list-style: none; }+.pick__days li + li { margin-left: calc(var(--rule-hair) * -1); }+.pick__days a { display: flex; align-items: center; justify-content: center; min-height: 52px; border: var(--rule-hair) solid var(--color-ink); background: transparent; font: 400 var(--text-sm)/1 var(--font-body); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }+.pick__days a:hover { position: relative; background: var(--color-ink); color: var(--color-paper); }+.pick__days a:focus-visible { position: relative; z-index: var(--z-raised); outline: 2px solid var(--color-focus); outline-offset: 2px; }+.pick + .textlink { margin-top: var(--space-md); }-/* The batch: one wide picture, its label and the wall text beneath */-.batch { padding-top: var(--section-gap-l); }-.batch__wide { aspect-ratio: 16 / 9; }-.batch__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); margin-top: var(--space-lg); }-.batch__foot .label { grid-column: 1 / span 4; }-.batch__foot .dropcap { grid-column: 7 / -1; max-width: 29ch; margin-top: var(--space-lg); font-size: var(--text-lead); line-height: 1.55; color: var(--color-ink-2); }+/* The four: a switcher, four numbered cells over one hung picture and its wall text */+.four { padding-top: var(--section-gap); }+.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule-head) solid var(--color-ink); }+.seg button { display: flex; align-items: baseline; gap: var(--space-sm); min-height: 64px; padding: var(--space-md) 0 var(--space-md) var(--space-md); border: 0; border-left: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-muted); font: var(--display-weight) var(--text-lg)/1.2 var(--font-display); letter-spacing: var(--tracking-display); text-align: left; cursor: pointer; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }+.seg button:first-child { border-left: 0; padding-left: 0; }+.seg__no { font: 400 var(--text-sm)/1 var(--font-body); letter-spacing: 0; color: var(--color-muted); }+.seg button:hover { color: var(--color-ink); }+.seg button[aria-selected="true"] { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-accent); }+.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }+.scent { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; padding-top: var(--space-2xl); }+.scent + .scent { margin-top: var(--space-2xl); }+.js .scent + .scent { margin-top: 0; }+.scent__photo { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }+.scent__text { grid-column: 9 / -1; }+.scent__no { font: var(--statement-weight) var(--text-figure)/1 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); font-variant-numeric: lining-nums; }+.scent h3 { margin-top: var(--space-md); font-size: var(--text-section); line-height: 1.04; }+.scent h3 + p { margin-top: var(--space-md); max-width: 26ch; font-size: var(--text-lead); line-height: 1.45; }+.scent .label { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }+.scent .textlink { margin-top: var(--space-sm); }++/* The catalogue entry: one sentence in Sentient regular, the wall text beside its foot */+.entry { padding-top: var(--section-gap-l); }+.entry__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.statement { grid-column: 1 / span 10; max-width: 21ch; font: var(--statement-weight) var(--text-statement)/1.12 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); text-wrap: balance; }+.entry .dropcap { grid-column: 7 / -1; max-width: 34ch; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-head) solid var(--color-ink); font-size: var(--text-lead); line-height: 1.55; color: var(--color-ink-2); }.dropcap::first-letter { float: left; font: var(--display-weight) 3.4em/0.8 var(--font-display); padding: 0.08em 0.1em 0 0; color: var(--color-accent); }-/* How a visit goes: a real ordered list, rows hung from the ink rule */-.how { padding-top: var(--section-gap-l); }-.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: var(--rule-head) solid var(--color-ink); }-.steps li { counter-increment: step; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.steps li::before { content: counter(step); grid-column: 1 / span 2; font: var(--statement-weight) var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); }-.steps h3 { grid-column: 3 / span 5; font-size: var(--text-title); }-.steps p { grid-column: 8 / -1; max-width: 44ch; color: var(--color-ink-2); }+/* The room: the picture with its wall label, a visit in three hung lines beside it */+.room { padding-top: var(--section-gap-l); }+.room__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.room__photo { grid-column: 1 / span 7; margin: 0; }+.room__slot { aspect-ratio: 4 / 5; }+.room__photo figcaption { margin-top: var(--space-sm); }+.room__text { grid-column: 9 / -1; }+.room .lead { margin-top: var(--space-md); max-width: 28ch; }+.steps { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; counter-reset: step; border-top: var(--rule-head) solid var(--color-ink); }+.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: var(--space-md); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }+.steps li::before { content: counter(step); grid-row: 1 / span 2; font: var(--statement-weight) var(--text-3xl)/1 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); }+.steps h3 { font-size: var(--text-title); }+.steps p { margin-top: var(--space-2xs); color: var(--color-ink-2); }-/* The week: the room beside a ruled timetable */-.week { padding-top: var(--section-gap); }-.week__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.week__photo { grid-column: 1 / span 7; aspect-ratio: 1 / 1; }-.week__text { grid-column: 9 / -1; }-.week h2 { margin-bottom: var(--space-2xl); }+/* Book a visit, on the plaster band: the week beside the request; the chosen day marked in both */+.visit { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); background: var(--color-paper-2); }+.visit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.visit__info { grid-column: 1 / span 5; }+.visit h2 { margin-bottom: var(--space-2xl); }.timetable { width: 100%; border-collapse: collapse; border-top: var(--rule-head) solid var(--color-ink); font-variant-numeric: tabular-nums; }-.timetable th, .timetable td { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }+.timetable th, .timetable td { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }.timetable th { font: var(--display-weight) var(--text-lg)/1.2 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.timetable td { text-align: right; font-size: var(--text-sm); color: var(--color-ink-2); }-.timetable .off th, .timetable .off td { color: var(--color-muted); font-weight: 400; }+.timetable td { text-align: right; font-size: var(--text-sm); color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }+.timetable .off th, .timetable .off td { color: var(--color-muted); }.timetable .off th { font-weight: var(--statement-weight); }--/* Ask for a day, on the plaster band */-.ask { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); background: var(--color-paper-2); }-.ask__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }-.ask__head { grid-column: 1 / span 5; }-.ask .lead { margin-top: var(--space-md); max-width: 30ch; }-.ask__form { grid-column: 7 / -1; display: grid; gap: var(--space-lg); }+.timetable .is-chosen th { box-shadow: inset 2px 0 0 var(--color-accent); padding-left: var(--space-sm); }+.timetable .is-chosen td { color: var(--color-ink); }+.visit__where { margin-top: var(--space-xl); }+.ask { grid-column: 7 / -1; display: grid; gap: var(--space-lg); padding-top: calc(var(--text-section) * 1.04 + var(--space-2xl)); }.days { min-width: 0; margin: 0; padding: 0; border: 0; }.days legend, .field label { display: block; margin-bottom: var(--space-xs); padding: 0; font: 400 var(--text-sm)/1.4 var(--font-body); color: var(--color-ink-2); }.days__row { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }@@ -116,9 +140,11 @@ h1, h2 { line-height: 1.04; }.days input:focus-visible + label { position: relative; z-index: var(--z-raised); outline: 2px solid var(--color-focus); outline-offset: 2px; }.days input:disabled + label { opacity: 0.55; cursor: not-allowed; }.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); }-.field input { display: block; box-sizing: border-box; width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }-.field input:hover { background: var(--color-paper-3); }-.field input:focus-visible { outline-color: var(--color-focus); }+.field--wide { grid-column: 1 / -1; }+.field input, .field select { display: block; box-sizing: border-box; width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }+.field select { appearance: none; padding-right: var(--space-2xl); cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }+.field input:hover, .field select:hover { background-color: var(--color-paper-3); }+.field input:focus-visible, .field select:focus-visible { outline-color: var(--color-focus); }.field [aria-invalid="true"] { border-color: var(--color-error); }.field input:disabled { opacity: 0.55; cursor: not-allowed; }.send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }@@ -146,25 +172,22 @@ h1, h2 { line-height: 1.04; }.hero__photo { height: auto; aspect-ratio: 4 / 5; margin-right: 0; }.head-split h2, .head-split .lead { grid-column: 1 / -1; }.head-split { row-gap: var(--space-md); margin-bottom: var(--space-xl); }- .figures { grid-template-columns: minmax(0, 1fr); }- .figures > div { padding: var(--space-lg) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }- .figures > div:first-child { border-top: 0; }- .batch__wide { aspect-ratio: 4 / 3; }- .batch__foot .label, .batch__foot .dropcap, .week__photo, .week__text, .ask__head, .ask__form { grid-column: 1 / -1; }- .steps li::before { grid-column: 1 / span 2; }- .steps h3 { grid-column: 3 / -1; }- .steps p { grid-column: 3 / -1; margin-top: var(--space-xs); }- .week__grid, .ask__grid { row-gap: var(--space-2xl); }- .days__row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-xs); }- .days label { margin-left: 0; }+ .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .seg button:nth-child(3) { border-left: 0; padding-left: 0; }+ .scent { row-gap: var(--space-xl); padding-top: var(--space-xl); }+ .scent__photo, .scent__text, .statement, .entry .dropcap, .room__photo, .room__text, .visit__info, .ask { grid-column: 1 / -1; }+ .room__grid, .visit__grid { row-gap: var(--space-2xl); }+ .ask { padding-top: 0; }.foot__name, .foot nav, .foot .legal { grid-column: 1 / -1; justify-self: start; }.foot__base { row-gap: var(--space-lg); }}@media (max-width: 40rem) {+ .long { display: none; }.fields { grid-template-columns: minmax(0, 1fr); }.foot ul { gap: var(--space-md); }+ .seg button { flex-direction: column; gap: var(--space-2xs); }}@media (prefers-reduced-motion: reduce) {.hero h1 { animation: none; }- .btn, .mast a, .days label, .field input, .textlink { transition: none; }+ .btn, .mast a, .days label, .field input, .field select, .textlink, .pick__days a, .seg button { transition: none; }}diff --git a/site/themes/bloom/index.html b/site/themes/bloom/index.htmlindex 2bd64db..ff3cc9e 100644--- a/site/themes/bloom/index.html+++ b/site/themes/bloom/index.html@@ -75,72 +75,47 @@</div></section>- <section class="where" id="how" aria-labelledby="where-title">- <div class="container where__grid">- <figure class="where__fig">- <div class="photo" data-slot="room" data-alt="Your own room or instrument in daylight, where a tune turns up">- <img src="photos/brac-and-celo-on-the-sofa-2019-04-20-16-48-01-by-marko-miliv-1920.jpg" width="1920" height="2880" sizes="(min-width: 60rem) 42vw, 100vw" loading="lazy" alt="Two old acoustic guitars resting in a velvet armchair by a sunny window" style="object-position: 50% 62%">- </div>- </figure>- <div class="where__text">- <h2 id="where-title">Hum it the moment it arrives</h2>- <p class="lead">No instrument to hand, no words yet. Your phone and the tune are enough.</p>- <ol class="how">- <li><h3>Hum into your phone</h3><p>A verse, a chorus, the riff that keeps coming back.</p></li>- <li><h3>Driftsong writes the parts</h3><p>Keys, bass, drums and strings, fitted to your key and tempo.</p></li>- <li><h3>Your melody stays on top</h3><p>Every part is written around the hum, never over it.</p></li>+ <section class="build" id="how" aria-labelledby="build-title">+ <div class="container build__grid">+ <div class="build__steps">+ <h2 id="build-title">From hum to band</h2>+ <ol class="beats">+ <li class="beat" data-beat="1"><h3>You hum</h3><p>A verse, a chorus, the riff that keeps coming back. Your phone is enough.</p></li>+ <li class="beat" data-beat="2"><h3>Driftsong listens</h3><p>It finds the notes, the key and the tempo in your hum.</p></li>+ <li class="beat" data-beat="3"><h3>The band arrives</h3><p>Keys, bass, drums and strings, written around your melody, never over it.</p></li>+ <li class="beat beat--last" data-beat="4"><p class="beat__fig"><span class="serif-figure">40</span><span class="beat__unit">seconds, more or less, from your hum to a finished song.</span></p></li></ol></div>- </div>- </section>-- <section class="clock" aria-labelledby="clock-title">- <div class="container">- <h2 id="clock-title">Back before the kettle boils</h2>- <div class="clock__grid">- <p class="clock__fig"><span class="serif-figure">40</span><span class="clock__unit">seconds, more or less, from your hum to a finished song.</span></p>- <div class="surface work" aria-label="An arrangement in progress, shown as a sample">- <div class="work__head"><p class="player__name">Arranging Walk home</p><span class="code work__t">0:26</span></div>- <div class="work__bar" aria-hidden="true"><i style="--p: 0.66"></i></div>- <ol class="work__steps">- <li class="is-done"><span class="tick" aria-hidden="true"></span>Hearing the melody</li>- <li class="is-done"><span class="tick" aria-hidden="true"></span>Finding the key and tempo</li>- <li class="is-now"><span class="tick" aria-hidden="true"></span>Writing keys, bass, drums and strings</li>- <li><span class="tick" aria-hidden="true"></span>Mixing the song</li>+ <div class="build__stage">+ <div class="surface surface--lead desk" data-stage="4" data-slot="build" data-alt="A screenshot of Driftsong arranging one of your songs, part by part">+ <div class="player__head">+ <div><p class="player__name">Walk home</p><p class="player__sub">Hummed on the way back, 0:14</p></div>+ <span class="player__tag desk__tag"><span class="desk__t1">Listening</span><span class="desk__t2">Hearing it</span><span class="desk__t3">Arranging</span><span class="desk__t4">Arranged</span></span>+ </div>+ <p class="desk__keys"><span class="desk__chip code">D major</span><span class="desk__chip code">92 bpm</span></p>+ <ol class="lanes">+ <li class="lane lane--hum"><span>Your hum</span><div class="lane__track"><i data-hum></i></div></li>+ <li class="lane lane--keys"><span>Keys</span><div class="lane__track"><b style="--a:0;--b:25"></b><b style="--a:25;--b:50"></b><b style="--a:50;--b:75"></b><b style="--a:75;--b:100"></b></div></li>+ <li class="lane lane--bass"><span>Bass</span><div class="lane__track"><b style="--a:0;--b:11"></b><b style="--a:12.5;--b:23"></b><b style="--a:25;--b:36"></b><b style="--a:37.5;--b:48"></b><b style="--a:50;--b:61"></b><b style="--a:62.5;--b:73"></b><b style="--a:75;--b:86"></b><b style="--a:87.5;--b:98"></b></div></li>+ <li class="lane lane--drums"><span>Drums</span><div class="lane__track"><b style="--a:25;--b:100"></b></div></li>+ <li class="lane lane--strings"><span>Strings</span><div class="lane__track"><b style="--a:50;--b:100"></b></div></li></ol></div></div></div></section>- <section class="pair" aria-labelledby="pair-title">+ <section class="room" aria-labelledby="room-title"><div class="container"><div class="head-split">- <h2 id="pair-title">One voice in, a band out</h2>- <p class="lead">The same ten seconds, before and after.</p>- </div>- <div class="pair__grid">- <figure class="pair__in">- <figcaption>What you hum</figcaption>- <ol class="mini">- <li class="mini__hum"><span>Your hum</span><div class="mini__track"><i data-hum></i></div></li>- <li><span>Keys</span><div class="mini__track"></div></li>- <li><span>Bass</span><div class="mini__track"></div></li>- <li><span>Drums</span><div class="mini__track"></div></li>- <li><span>Strings</span><div class="mini__track"></div></li>- </ol>- </figure>- <figure class="pair__out surface surface--lead">- <figcaption>What Driftsong plays back</figcaption>- <ol class="mini mini--full">- <li class="mini__hum"><span>Your hum</span><div class="mini__track"><i data-hum></i></div></li>- <li class="lane--keys"><span>Keys</span><div class="mini__track"><b style="--a:0;--b:25"></b><b style="--a:25;--b:50"></b><b style="--a:50;--b:75"></b><b style="--a:75;--b:100"></b></div></li>- <li class="lane--bass"><span>Bass</span><div class="mini__track"><b style="--a:0;--b:11"></b><b style="--a:12.5;--b:23"></b><b style="--a:25;--b:36"></b><b style="--a:37.5;--b:48"></b><b style="--a:50;--b:61"></b><b style="--a:62.5;--b:73"></b><b style="--a:75;--b:86"></b><b style="--a:87.5;--b:98"></b></div></li>- <li class="lane--drums"><span>Drums</span><div class="mini__track"><b style="--a:25;--b:100"></b></div></li>- <li class="lane--strings"><span>Strings</span><div class="mini__track"><b style="--a:50;--b:100"></b></div></li>- </ol>- </figure>+ <h2 id="room-title">Hum it the moment it arrives</h2>+ <p class="lead">No instrument to hand, no words yet. The tune is enough.</p></div>+ <figure class="room__fig">+ <div class="photo" data-slot="room" data-alt="Your own room or instrument in daylight, where a tune turns up">+ <img src="photos/brac-and-celo-on-the-sofa-2019-04-20-16-48-01-by-marko-miliv-1920.jpg" width="1920" height="2880" sizes="(min-width: 60rem) 92vw, 100vw" loading="lazy" alt="Two old acoustic guitars resting in a velvet armchair by a sunny window" style="object-position: 50% 74%">+ </div>+ </figure></div></section>@@ -161,15 +136,12 @@<div class="container start__grid"><div class="start__head"><h2 id="start-title">Hum your first song tonight</h2>- <p class="lead">Leave your email and we’ll send the link to your phone.</p>- <form class="start__form" data-endpoint="" novalidate>- <label for="f-email">Email</label>- <div class="start__row">- <input id="f-email" name="email" type="email" autocomplete="email" inputmode="email" required placeholder="[email protected]">- <button class="btn btn--clay" type="submit">Send the link</button>- </div>- <p class="start__help" id="start-help" aria-live="polite">Free, with no card.</p>- </form>+ <p class="lead">Free for 10 songs a month. Bring a tune.</p>+ <div class="start__acts">+ <button class="btn btn--clay" type="button" data-get>Hum your first song</button>+ <button class="btn btn--line" type="button" data-again>Play the kitchen tune again</button>+ </div>+ <p class="start__help" id="start-help" aria-live="polite"></p></div><div class="rec surface surface--lead" data-slot="record" data-alt="A screenshot of Driftsong listening to a hum"><div class="rec__head"><p class="player__name">New song</p><span class="player__tag">Listening</span></div>diff --git a/site/themes/bloom/page.js b/site/themes/bloom/page.jsindex fed8183..04a3e72 100644--- a/site/themes/bloom/page.js+++ b/site/themes/bloom/page.js@@ -88,17 +88,25 @@}));})();-document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const help = form.querySelector('[aria-live]');- const input = form.querySelector('input[type="email"]');- form.addEventListener('submit', (e) => {- e.preventDefault();- const ok = input.checkValidity();- input.toggleAttribute('aria-invalid', !ok);- if (!ok) { input.setAttribute('aria-describedby', help.id); help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'The link is on its way to your inbox.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });+// From hum to band: the pinned desk shows the stage of the panel in view; it stays complete without script or under 60rem+(() => {+ const desk = document.querySelector('[data-stage]');+ const beats = [...document.querySelectorAll('[data-beat]')];+ if (!desk || !beats.length || !('IntersectionObserver' in window)) return;+ const wide = matchMedia('(min-width: 60rem)');+ const io = new IntersectionObserver((es) => es.forEach((e) => { if (e.isIntersecting && wide.matches) desk.dataset.stage = e.target.dataset.beat; }), { rootMargin: '-45% 0px -45% 0px' });+ beats.forEach((b) => io.observe(b));+ wide.addEventListener('change', () => { if (!wide.matches) desk.dataset.stage = '4'; });+})();++// The close: the app link is not wired yet, so the button says so; the second plays the hero's song again+(() => {+ const get = document.querySelector('[data-get]'), again = document.querySelector('[data-again]'), help = document.getElementById('start-help');+ if (get) get.addEventListener('click', () => { help.textContent = 'Nothing opens yet: the link to the app is not connected.'; });+ if (again) again.addEventListener('click', () => {+ const play = document.querySelector('[data-player] [data-play]');+ if (!play) return;+ document.getElementById('top').scrollIntoView({ behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth' });+ if (!document.querySelector('[data-player]').classList.contains('is-playing')) play.click();});-});+})();diff --git a/site/themes/bloom/style.css b/site/themes/bloom/style.cssindex 06c7c73..04d6c5b 100644--- a/site/themes/bloom/style.css+++ b/site/themes/bloom/style.css@@ -1,8 +1,8 @@-/* Hallmark · shape: Workbench · genre: atmospheric · theme: Bloom (by request) · draw: 3e74be (shape swapped from Bento Grid, taken by this batch's Blueprint; first section kept as a Split)- * hero: Stage · nav: masthead, the name centred over a warm rule · footer: letter close · imagery: the product built three ways, one library photograph (warm) · signature: the app built on seven tracks of the hero; press play and the band is heard, lanes lighting as the playhead crosses them- * sections: stage hero with the app, split with photograph and three moves, serif figure beside a build in progress, before and after surfaces, questions as rows on a band, email form on a lifted surface, letter close- * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.8 launch pass */-/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: E, the brief gives two numbers; each is said where it works and the product carries the rest */+/* Hallmark · job: try · shape: Workbench · genre: atmospheric · theme: Bloom (by request) · draw: manual, v2.8 layout fix+ * hero: Stage, the app built and playable, the free tier as the terms line beside the action · nav: masthead, the name centred over a warm rule · footer: letter close · imagery: the product built twice (hero app, the pinned desk), the recorder screen at the close, one library photograph (warm) (song names, key, tempo and timecodes are samples) · signature: the app built on seven tracks of the hero; press play and the band is heard, lanes lighting as the playhead crosses them+ * sections: Pinned (the desk held on seven columns while four beats scroll past, the parts arriving lane by lane, the last beat the one Gambarino figure), Showcase (the guitars in an armchair at 16:9 under its head), Rows (questions on the warm band), Split close (the action again with a replay of the hero's song, beside the recorder screen)+ * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.8.0 */+/* Hallmark · close: the action again beside one last screen, the recorder; no email field, a try page ends on the app, and the hero's song can be played again from the foot */@import url("tokens.css");@import url("base.css");@@ -99,52 +99,44 @@ a { color: var(--color-accent); text-underline-offset: 0.2em; }.js .app { animation: settle var(--dur-long) var(--ease-out) both; }@keyframes settle { from { opacity: 0.001; transform: translateY(16px); } to { opacity: 1; transform: none; } }-/* Where: the photograph on the left, the three moves on the right */-.where { padding-top: var(--section-gap); }-.where__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.where__fig { grid-column: 1 / span 5; margin: 0; }-.photo { aspect-ratio: 4 / 5; border-radius: var(--radius-card); }-.photo > img { border-radius: inherit; }-.where__text { grid-column: 7 / span 6; }-.where__text .lead { margin-top: var(--space-md); max-width: 40ch; }-.how { display: grid; gap: var(--space-xl); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; counter-reset: how; }-.how li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: var(--space-md); row-gap: var(--space-2xs); counter-increment: how; }-.how li::before { content: counter(how); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent); font-weight: 600; }-.how h3 { font-size: var(--text-title); }-.how p { color: var(--color-ink-2); }--/* Clock: one serif figure beside a build in progress */-.clock { padding-top: var(--section-gap-l); }-.clock__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; margin-top: var(--space-2xl); }-.clock__fig { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }-.serif-figure { font: 400 clamp(9rem, 24vw, 21rem)/0.8 var(--font-outlier); color: var(--color-ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }-.clock__unit { max-width: 24ch; font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); }-.work { grid-column: 7 / span 6; display: grid; gap: var(--space-lg); padding: var(--space-xl); }-.work__head { display: flex; justify-content: space-between; align-items: baseline; }-.work__t { font-size: var(--text-sm); color: var(--color-muted); }-.work__bar { height: 10px; border-radius: var(--radius-pill); background: var(--color-paper-2); overflow: hidden; }-.work__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--color-accent); transform: scaleX(var(--p)); transform-origin: left center; }-.work__steps { display: grid; margin: 0; padding: 0; list-style: none; }-.work__steps li { display: flex; align-items: center; gap: var(--space-md); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-weight: 500; }-.work__steps .is-done, .work__steps .is-now { color: var(--color-ink); }-.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--color-rule); }-.is-done .tick { border-color: var(--color-accent); background: var(--color-accent); box-shadow: inset 0 0 0 4px var(--color-paper); }-.is-now .tick { border-color: var(--color-accent); border-right-color: transparent; }+/* From hum to band: the desk pinned on seven columns, four beats scrolling past on five */+.build { padding-top: var(--section-gap); }+.build__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.build__steps { grid-column: 1 / span 5; }+.beats { margin: 0; padding: 0; list-style: none; }+.beat { display: grid; align-content: center; gap: var(--space-md); min-height: 62vh; max-width: 30ch; }+.js .beat { opacity: 0.4; transition: opacity var(--dur-long) var(--ease-out); }+.beat:first-child { min-height: 56vh; }+.beat h3 { font-size: var(--text-section); line-height: 1.04; }+.beat p { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }+.beat__fig { display: grid; gap: var(--space-md); }+.serif-figure { font: 400 clamp(9rem, 20vw, 17rem)/0.8 var(--font-outlier); color: var(--color-ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }+.beat__unit { max-width: 24ch; }+.js .build__grid:has([data-stage="1"]) [data-beat="1"], .js .build__grid:has([data-stage="2"]) [data-beat="2"], .js .build__grid:has([data-stage="3"]) [data-beat="3"], .js .build__grid:has([data-stage="4"]) [data-beat="4"] { opacity: 1; }+.build__stage { grid-column: 6 / span 7; position: sticky; top: calc(50vh - 230px); margin-top: calc(var(--text-section) * 1.2); }+.desk { display: grid; gap: var(--space-lg); padding: var(--space-xl); }+.desk__tag > span { display: none; }+.desk[data-stage="1"] .desk__t1, .desk[data-stage="2"] .desk__t2, .desk[data-stage="3"] .desk__t3, .desk[data-stage="4"] .desk__t4 { display: inline; }+.desk__keys { display: flex; gap: var(--space-xs); min-height: 32px; }+.desk__chip { display: inline-flex; align-items: center; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-ink-2); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }+.js .desk[data-stage="1"] .desk__chip { opacity: 0; transform: translateY(4px); }+.desk[data-stage="2"] .desk__chip { background: var(--color-accent-soft); color: var(--color-accent); }+.desk .lane__track b { transform-origin: left center; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }+.js .desk[data-stage="1"] .lane:not(.lane--hum) b, .js .desk[data-stage="2"] .lane:not(.lane--hum) b { transform: scaleX(0); opacity: 0; }+.desk[data-stage="3"] .lane__track b { opacity: 0.55; }+.desk[data-stage="4"] .lane__track b { opacity: 0.9; }+.desk[data-stage="1"] .lane:not(.lane--hum), .desk[data-stage="2"] .lane:not(.lane--hum) { opacity: 0.55; }-/* Pair: before and after, rows aligned across */-.pair { padding-top: var(--section-gap); }+/* The room: one photograph across the container under its head */+.room { padding-top: var(--section-gap); }+.room__fig { margin: 0; }+.photo { border-radius: var(--radius-card); }+.photo > img { border-radius: inherit; }+.room .photo { aspect-ratio: 16 / 9; }.head-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }.head-split h2 { grid-column: 1 / span 6; }.head-split .lead { grid-column: 8 / span 5; }-.pair__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); align-items: stretch; }-.pair__grid figure { display: grid; gap: var(--space-lg); margin: 0; padding: var(--space-xl); border-radius: var(--radius-card); }-.pair__in { background: var(--color-paper-2); }-.pair figcaption { font-size: var(--text-title); font-weight: var(--display-weight); color: var(--color-ink); letter-spacing: var(--tracking-display); }-.mini { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }-.mini li { display: grid; grid-template-columns: 80px minmax(0, 1fr); white-space: nowrap; align-items: center; gap: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }.mini__track { position: relative; height: 40px; border-radius: var(--radius-inner); background: color-mix(in oklab, var(--color-paper-3) 60%, transparent); overflow: hidden; }-.pair__out .mini__track { background: var(--color-paper-2); }-.mini--full .mini__track b { opacity: 0.85; }/* Questions: rows on the warm band */.qs { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); }@@ -156,12 +148,14 @@ a { color: var(--color-accent); text-underline-offset: 0.2em; }.qs__rows dt { grid-column: span 4; font: var(--display-weight) var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }.qs__rows dd { grid-column: span 4; margin: 0; color: var(--color-ink-2); }-/* Start: the email form beside the recorder screen */+/* Start: the action again beside the recorder screen */.start { padding-block: var(--section-gap) var(--section-gap-s); }.start__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }.start__head { grid-column: 1 / span 6; }-.start__head .lead { margin-top: var(--space-md); max-width: 36ch; }-.start__form { display: grid; gap: var(--space-sm); margin-top: var(--space-2xl); max-width: 520px; }+.start__head h2 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); max-width: 11ch; }+.start__head .lead { margin-top: var(--space-lg); max-width: 36ch; }+.start__acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-2xl); }+.start__help { min-height: 1lh; margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }.rec { grid-column: 8 / span 5; display: grid; justify-items: center; gap: var(--space-lg); padding: var(--space-xl); }.rec__head { display: flex; justify-content: space-between; align-items: center; width: 100%; }.rec__dot { display: grid; place-items: center; width: 148px; height: 148px; margin-top: var(--space-md); border-radius: 50%; background: var(--color-accent-soft); }@@ -173,16 +167,6 @@ a { color: var(--color-accent); text-underline-offset: 0.2em; }.rec__foot { display: flex; justify-content: space-between; width: 100%; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }.rec__chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }.rec__chip--on { background: var(--color-ink); color: var(--color-paper); }-.start__form label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }-.start__row { display: flex; gap: var(--space-sm); }-.start__row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 400 1rem/1 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--dur-short) var(--ease-out); }-.start__row input::placeholder { color: var(--color-muted); }-.start__row input:hover { border-color: var(--color-ink-2); }-.start__row input:focus-visible { outline-color: var(--color-focus); }-.start__row input:active { border-color: var(--color-ink); }-.start__row input:disabled { opacity: 0.55; cursor: not-allowed; }-.start__row input[aria-invalid] { border-color: var(--color-error); }-.start__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }/* Footer: a letter close */.foot { padding-block: var(--section-gap-s) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }@@ -205,13 +189,16 @@ a { color: var(--color-accent); text-underline-offset: 0.2em; }.hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }.hero h1 { max-width: 12ch; }.app { min-height: 0; }- .where__grid, .clock__grid, .start__grid, .qs__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }- .where__fig, .where__text, .clock__fig, .work, .start__head, .rec, .qs__head, .qs__rows { grid-column: 1 / -1; }- .where__fig { order: 2; }- .photo { aspect-ratio: 4 / 3; }+ .build__grid, .start__grid, .qs__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }+ .build__steps, .build__stage, .start__head, .rec, .qs__head, .qs__rows { grid-column: 1 / -1; }+ .build__stage { position: static; margin-top: 0; }+ .build__grid { row-gap: var(--space-xl); }+ .beats { margin-top: var(--space-xl); }+ .beat, .beat:first-child, .js .beat { min-height: 0; padding-block: var(--space-xl); opacity: 1; border-top: var(--rule-hair) solid var(--color-rule); }+ .beat h3 { font-size: var(--text-title); }+ .room .photo { aspect-ratio: 4 / 3; }.head-split { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }.head-split h2, .head-split .lead { grid-column: 1 / -1; }- .pair__grid { grid-template-columns: minmax(0, 1fr); }.foot__base { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }.foot__base nav, .foot__credit { grid-column: 1 / -1; }}@@ -226,7 +213,5 @@ a { color: var(--color-accent); text-underline-offset: 0.2em; }.lane__track { height: 36px; }.qs__rows div { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }.qs__rows dt, .qs__rows dd { grid-column: 1 / -1; }- .start__row { flex-direction: column; }- .pair__grid figure, .work, .rec { padding: var(--space-lg); }- .mini li { grid-template-columns: 56px minmax(0, 1fr); }+ .rec, .desk { padding: var(--space-lg); }}diff --git a/site/themes/cobalt/index.html b/site/themes/cobalt/index.htmlindex 8954b46..9df932f 100644--- a/site/themes/cobalt/index.html+++ b/site/themes/cobalt/index.html@@ -23,29 +23,33 @@<kbd>⌘ K</kbd></button><div class="jump__menu" id="jump" popover aria-label="Sections">- <a href="#in">Sources</a>- <a href="#typed">Types</a>- <a href="#retry">Retries</a>- <a href="#replay">Replay</a>- <a href="#start">Pricing</a>+ <a href="#stream">The console</a>+ <a href="#does">What it does</a>+ <a href="#pricing">Pricing</a>+ <a href="#start">Your handler</a></div>- <a class="btn btn--sm" href="#start">Start free</a>+ <a class="btn btn--sm" href="#pricing">Start free</a></div></header><main id="main"><section class="hero" aria-labelledby="hero-head"><div class="container hero__grid">- <div class="hero__text">- <h1 id="hero-head">Webhooks,<br>typed and replayable.</h1>- <p class="lead">Relay streams any webhook as typed events and retries failed deliveries.</p>+ <h1 id="hero-head">Webhooks, typed and replayable.</h1>+ <div class="hero__side">+ <p class="lead">Relay streams any webhook as typed events, with retries and replay.</p><div class="actions">- <a class="btn btn--primary" href="#start">Start free</a>- <a class="btn" href="#retry">See a retry</a>+ <a class="btn btn--primary" href="#pricing">Start free</a>+ <a class="btn" href="#does">See what it does</a></div>+ <p class="hero__terms">Free up to 100,000 events a month.</p></div>+ </div>+ </section>- <figure class="slot app console" data-slot="hero" data-alt="Your events console, with one delivery retrying and its type open" role="img" aria-label="The Relay events console: six recent events from three providers; invoice.paid from billing.example.com is retrying on its second attempt, and its inferred type is open below.">+ <section class="live" id="stream" aria-label="The events console">+ <div class="container">+ <figure class="slot app console" data-slot="hero" data-alt="Your events console, with one delivery retrying and its type open" role="img" aria-label="The Relay events console: nine recent events from four providers; invoice.paid from billing.example.com is retrying on its second attempt, and its inferred type is open beside it."><div class="ui" aria-hidden="true"><div class="ui__bar"><span class="ui__mark">Relay</span>@@ -57,6 +61,7 @@<span class="ui__tag">All sources</span><span class="ui__tag">Last hour</span></div>+ <div class="console__body"><div class="stream"><div class="stream__row stream__row--head"><span>Time</span><span>Event</span><span>Source</span><span>Status</span></div><div class="stream__row"><code>09:42:31</code><code>order.shipped</code><span>shop.example.com</span><span class="state"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg>Delivered</span></div>@@ -65,6 +70,9 @@<div class="stream__row"><code>09:41:40</code><code>order.created</code><span>shop.example.com</span><span class="state"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg>Delivered</span></div><div class="stream__row"><code>09:41:12</code><code>refund.issued</code><span>billing.example.com</span><span class="state"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg>Delivered, attempt 3</span></div><div class="stream__row"><code>09:40:57</code><code>contact.merged</code><span>crm.example.com</span><span class="state state--failed"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>Failed, 410</span></div>+ <div class="stream__row"><code>09:40:31</code><code>order.created</code><span>shop.example.com</span><span class="state"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg>Delivered</span></div>+ <div class="stream__row"><code>09:40:12</code><code>invoice.paid</code><span>billing.example.com</span><span class="state"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg>Delivered</span></div>+ <div class="stream__row"><code>09:39:40</code><code>form.submitted</code><span>forms.example.com</span><span class="state"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg>Delivered</span></div></div><div class="inspect"><div class="inspect__head">@@ -87,17 +95,28 @@</div></div></div>+ </div></div></figure>+ <p class="live__cap">The events console, with one delivery retrying.</p></div></section>- <section class="sources" id="in" aria-labelledby="s1">+ <section class="does" id="does" aria-labelledby="s1"><div class="container"><div class="head">- <h2 id="s1">One address for each provider</h2>- <p class="lead">Every webhook lands in one stream, whoever sent it.</p>+ <h2 id="s1">Four jobs, one stream</h2>+ <p class="lead">What Relay does between your providers and your endpoint.</p></div>+ <div class="switch" data-switch>+ <div class="tabs" role="tablist" aria-label="What Relay does">+ <button role="tab" id="t-in" aria-controls="p-in" aria-selected="true">Sources</button>+ <button role="tab" id="t-typed" aria-controls="p-typed" aria-selected="false" tabindex="-1">Types</button>+ <button role="tab" id="t-retry" aria-controls="p-retry" aria-selected="false" tabindex="-1">Retries</button>+ <button role="tab" id="t-replay" aria-controls="p-replay" aria-selected="false" tabindex="-1">Replay</button>+ </div>+ <div class="panel" role="tabpanel" id="p-in" aria-labelledby="t-in" tabindex="0">+ <p class="panel__say">One address for each provider. Every webhook lands in one stream, whoever sent it.</p><div class="table-wrap" role="region" aria-labelledby="s1" tabindex="0"><table class="src"><thead><tr><th scope="col">Source</th><th scope="col">Posts to</th><th scope="col">Event types seen</th><th scope="col" class="r">Last event</th></tr></thead>@@ -109,17 +128,11 @@</tbody></table></div>- <p class="src__out">All four deliver to <code>https://example.com/hooks</code></p>- </div>- </section>-- <section class="typed" id="typed" aria-labelledby="s2">- <div class="container">- <div class="head">- <h2 id="s2">It arrives already typed</h2>- <p class="lead">Relay reads each payload and gives every field a type.</p>- </div>- <figure class="pair" data-reveal>+ <p class="src__out">All four deliver to <code>https://example.com/hooks</code></p>+ </div>+ <div class="panel" role="tabpanel" id="p-typed" aria-labelledby="t-typed" tabindex="0">+ <p class="panel__say">Relay reads each payload and gives every field a type.</p>+ <figure class="pair"><div class="pair__pane"><p class="pair__file"><code>evt_1042.json</code><span>Received from billing.example.com</span></p><pre class="code code--lg"><code><span class="p">{</span>@@ -142,29 +155,17 @@};</code></pre></div></figure>- </div>- </section>-- <section class="retry" id="retry" aria-labelledby="s3">- <div class="container">- <div class="head">- <h2 id="s3">503, a timeout, then 200 OK</h2>- <p class="lead">When your endpoint is down, Relay holds <code>evt_1042</code> and tries again.</p>- </div>+ </div>+ <div class="panel" role="tabpanel" id="p-retry" aria-labelledby="t-retry" tabindex="0">+ <p class="panel__say">When your endpoint is down, Relay holds <code>evt_1042</code> and tries again: a 503, a timeout, then 200 OK.</p><ol class="axis" aria-label="Delivery attempts of evt_1042 to example.com/hooks/billing, spaced by time"><li class="axis__at axis__at--bad" style="--at: 0"><span class="axis__fig">503</span><span class="axis__what">Service Unavailable in 2.1 s</span><code>Attempt 1, 09:42:18</code></li><li class="axis__at axis__at--bad" style="--at: 0.3333"><span class="axis__fig">10.0 s</span><span class="axis__what">No answer, timed out</span><code>Attempt 2, 09:42:48</code></li><li class="axis__at axis__at--good" style="--at: 1"><span class="axis__fig">200</span><span class="axis__what">OK in 182 ms</span><code>Attempt 3, 09:43:48</code></li></ol>- </div>- </section>-- <section class="band" id="replay" aria-labelledby="s4">- <div class="container split split--even">- <div class="split__text">- <h2 id="s4">Replayed to billing at 09:58</h2>- <p class="lead">Send any past event to your endpoint again, from the stream.</p>- </div>+ </div>+ <div class="panel panel--replay" role="tabpanel" id="p-replay" aria-labelledby="t-replay" tabindex="0">+ <p class="panel__say">Send any past event to your endpoint again, straight from the stream.</p><figure class="slot replay" data-slot="demo-4" data-alt="The replay panel, sending one past event to your endpoint again" role="img" aria-label="The Relay replay panel: event evt_1042, invoice.paid, sent again to example.com/hooks/billing at 09:58:14 and answered 200 OK in 164 milliseconds."><div class="ui" aria-hidden="true"><div class="rp__head"><span class="rp__title">Replay</span><code>invoice.paid</code><code class="rp__id">evt_1042</code></div>@@ -180,13 +181,18 @@</div></div></figure>+ </div>+ </div></div></section>- <section class="close" id="start" aria-labelledby="s5">- <div class="container close__grid">- <div class="close__head">- <h2 class="close__offer" id="s5">100,000 events a month, free.</h2>+ <section class="offer" id="pricing" aria-labelledby="s5">+ <div class="container offer__grid">+ <div class="offer__head">+ <h2 class="offer__fig" id="s5">100,000 events a month, free.</h2>+ <div class="actions">+ <a class="btn btn--primary" href="#top" data-needs-url="signup">Start free</a>+ </div></div><form class="calc" aria-labelledby="calc-label" onsubmit="return false"><label id="calc-label" for="per-day">Webhooks your providers send a day</label>@@ -196,15 +202,26 @@<span class="calc__meter" aria-hidden="true"><i id="calc-bar" style="--fill: 0.36"></i></span><p class="calc__say" id="calc-say" aria-live="polite">Inside the free 100,000.</p></form>- <form class="signup" data-endpoint="" novalidate>- <p class="lead signup__lead">Point your first webhook at Relay today.</p>- <label for="email">Work email</label>- <div class="signup__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-describedby="email-help">- <button class="btn btn--primary" type="submit">Start free</button>- </div>- <p class="signup__help" id="email-help" aria-live="polite"></p>- </form>+ </div>+ </section>++ <section class="band" id="start" aria-labelledby="s6">+ <div class="container code-close">+ <div class="code-close__text">+ <h2 id="s6">Your handler gets a type</h2>+ <p class="lead">Answer 200 and the event is delivered. Anything else, and Relay tries again.</p>+ </div>+ <figure class="pane" data-reveal>+ <p class="pair__file"><code>app/hooks/billing/route.ts</code><span>Your endpoint</span></p>+<pre class="code code--lg" tabindex="0" aria-label="The handler, in TypeScript"><code><span class="k">import type</span> { <span class="t">InvoicePaid</span> } <span class="k">from</span> <span class="s">"./invoice-paid"</span>;++<span class="k">export async function</span> POST(req: <span class="t">Request</span>) {+ <span class="k">const</span> event = (<span class="k">await</span> req.json()) <span class="k">as</span> <span class="t">InvoicePaid</span>;+<span class="hl"> console.log(event.id, event.amount, event.currency);</span>+ <span class="k">return new</span> <span class="t">Response</span>(<span class="k">null</span>, { status: <span class="s">200</span> });+}</code></pre>+ <figcaption>The type file is the one Relay inferred from <code>evt_1042</code>.</figcaption>+ </figure></div></section></main>@@ -214,11 +231,10 @@<p class="colophon__mark">Relay</p><p class="colophon__text">Relay is an API for backend developers.</p><nav class="colophon__links" aria-label="Footer">- <a href="#in">Sources</a>- <a href="#typed">Types</a>- <a href="#retry">Retries</a>- <a href="#replay">Replay</a>- <a href="#start">Pricing</a>+ <a href="#stream">The console</a>+ <a href="#does">What it does</a>+ <a href="#pricing">Pricing</a>+ <a href="#start">Your handler</a></nav><p class="colophon__legal">© 2026 Relay</p></div>@@ -241,20 +257,15 @@ if (perDay) {const run = () => { const n = Math.max(0, Math.round(Number(perDay.value) || 0)) * 30; out.textContent = fmt.format(n); bar.style.setProperty('--fill', String(Math.min(1, n / 100000))); bar.parentElement.classList.toggle('is-over', n > 100000); say.textContent = n <= 100000 ? 'Inside the free 100,000, with ' + fmt.format(100000 - n) + ' to spare.' : fmt.format(n - 100000) + ' over the free 100,000 a month.'; };perDay.addEventListener('input', run); run();}-document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const input = form.querySelector('input'), help = form.querySelector('[aria-live]'), button = form.querySelector('button');- form.addEventListener('submit', (e) => {- e.preventDefault();- const ok = input.checkValidity();- input.toggleAttribute('aria-invalid', !ok);- if (!ok) { help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- button.setAttribute('aria-busy', 'true');- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'Thanks. Relay will write to ' + input.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })- .finally(() => button.removeAttribute('aria-busy'));+/* The switcher: four real panels; arrow keys move between tabs; without script every panel shows in order */+document.querySelectorAll('[data-switch]').forEach((sw) => {+ const tabs = [...sw.querySelectorAll('[role="tab"]')];+ const pick = (t, focus) => { tabs.forEach((x) => { const on = x === t; x.setAttribute('aria-selected', String(on)); x.tabIndex = on ? 0 : -1; document.getElementById(x.getAttribute('aria-controls')).hidden = !on; }); if (focus) t.focus(); };+ tabs.forEach((t, i) => {+ t.addEventListener('click', () => pick(t));+ t.addEventListener('keydown', (e) => { const d = { ArrowRight: 1, ArrowLeft: -1 }[e.key]; if (d) { e.preventDefault(); pick(tabs[(i + d + tabs.length) % tabs.length], true); } if (e.key === 'Home') { e.preventDefault(); pick(tabs[0], true); } if (e.key === 'End') { e.preventDefault(); pick(tabs[tabs.length - 1], true); } });});+ pick(tabs[0]);});</script></body>diff --git a/site/themes/cobalt/style.css b/site/themes/cobalt/style.cssindex 96b7fc9..06904ca 100644--- a/site/themes/cobalt/style.css+++ b/site/themes/cobalt/style.css@@ -1,5 +1,6 @@-/* Hallmark · shape: Feature Ledger (the console, the sources table, the diff, the retry axis, the replay band, the count) · genre: modern-minimal · theme: Cobalt (by request)- * hero: Stage · nav: search-led bar, the wordmark, a visible jump pill and one outlined action · footer: colophon block · imagery: product sample in hero and demo-4, real code in graphite, the sources as a table, no photographs · signature: the retry axis, three attempts spaced by their real times with each status set at display size+/* Hallmark · job: sign up · shape: Feature Ledger, console first (the stream, the four jobs behind one switch, the free tier worked out, the handler) · genre: modern-minimal · theme: Cobalt (by request)+ * hero: Banner (head on seven columns, line, actions and terms on five; the console starts above the fold) · nav: search-led bar, the wordmark, a visible jump pill and one outlined Start free · footer: colophon block · imagery: product sample in the console and demo-4, real code in graphite, no photographs · samples: hosts are example.com, event names, ids, times and attempts are placeholders of the product's shape · signature: the retry axis, three attempts spaced by their real times+ * sections: hero Banner, Showcase (the events console across twelve columns, no head), Switcher (Sources table, Types diff, Retries axis of figures, Replay panel), Offer on a paper-2 band (the free tier as the head, a working count on the visitor's volume, Start free), Band in graphite (the handler that receives the typed event), colophon* axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.8.0 *//* Hallmark · dismissed 23 · the cobalt fill is a 10px meter on the count, not a viewport field *//* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: V, the console hero stays because it is the theme's best moment; the four look-alike splits under it became a table, a diff, an axis of figures and a working count */@@ -41,20 +42,21 @@.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }.btn[aria-busy="true"] { cursor: progress; }-/* Hero: Stage, the text on five columns and the console on seven */-.hero { display: grid; align-items: center; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-xl); box-sizing: border-box; }-.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-2xl); align-items: center; }-.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }-.hero h1 { max-width: none; line-height: 1.02; }-.hero .lead { max-width: 30ch; color: var(--color-ink-2); }-.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }+/* Hero: Banner, the head on seven columns, the line, the actions and the terms on the other five; the console starts above the fold */+.hero { padding-block: var(--space-2xl) var(--section-gap-s); }+.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.hero h1 { grid-column: 1 / span 7; max-width: 11ch; font-size: clamp(2.75rem, 5.4vw + 0.6rem, 6rem); line-height: 0.98; }+.hero__side { grid-column: 8 / -1; display: grid; gap: var(--space-lg); justify-items: start; padding-bottom: var(--space-2xs); }+.hero .lead { max-width: 36ch; color: var(--color-ink-2); }+.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }+.hero__terms { margin-top: calc(-1 * var(--space-xs)); font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); }/* The built product: one picture whose type follows its own width (viewport units through the page's column maths, never container units, which a resized page can leave stale); inside it every length is in em of ten design pixels */.slot { margin: 0; }.app { border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }.app[data-slot] { background: var(--color-paper); }-.console { --w: calc((var(--cw) - var(--space-2xl)) * 7 / 12); aspect-ratio: 728 / 650; }-.ui { height: 100%; display: flex; flex-direction: column; font-size: calc(var(--w) / 72.8 + 0px * var(--tick, 0)); color: var(--color-ink); font-family: var(--font-body); line-height: 1.35; }+.console { --w: var(--cw); aspect-ratio: 1312 / 600; }+.ui { height: 100%; display: flex; flex-direction: column; font-size: calc(var(--w) / 131.2 + 0px * var(--tick, 0)); color: var(--color-ink); font-family: var(--font-body); line-height: 1.35; }.ui svg { width: 1.4em; height: 1.4em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.ui code, .code { font-family: var(--font-outlier); font-weight: 400; font-variant-numeric: tabular-nums; }@@ -71,7 +73,9 @@.ui__tag { padding: 0.5em 0.9em; border: 1px solid var(--color-rule-2); border-radius: 0.5em; color: var(--color-ink-2); white-space: nowrap; }.stream { padding: 0 2.2em; font-size: 1.3em; }-.stream__row { display: grid; grid-template-columns: 6.4em 10.8em minmax(0, 1fr) 11.6em; align-items: center; column-gap: 1.2em; min-height: 2.75em; border-top: 1px solid var(--color-rule); white-space: nowrap; }+.live { padding-bottom: 0; }+.live__cap { margin-top: var(--space-md); font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); }+.stream__row { display: grid; grid-template-columns: 6.4em 11.6em minmax(0, 1fr) 12.4em; align-items: center; column-gap: 1.2em; min-height: 2.75em; border-top: 1px solid var(--color-rule); white-space: nowrap; }.stream__row--head { min-height: 2.3em; border-top: 0; font-family: var(--font-display); font-size: 0.9em; font-weight: 500; color: var(--color-muted); }.stream__row > span:nth-child(3) { color: var(--color-ink-2); overflow: hidden; text-overflow: ellipsis; }.stream__row.is-on { margin: 0 -0.9em; padding: 0 0.9em; border-top-color: transparent; border-radius: 0.5em; background: var(--color-paper-2); box-shadow: inset 0 0 0 1px var(--color-rule-2); }@@ -81,7 +85,9 @@.state--retry, .state--retry svg { color: var(--color-accent); }.state--failed, .state--failed svg { color: var(--color-error); }-.inspect { flex: 1; display: flex; flex-direction: column; margin: 1.6em 1.2em 1.2em; border-radius: 0.6em; background: var(--color-graphite); color: var(--color-graphite-ink); overflow: hidden; }+.console__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 50em; gap: 1.6em; min-height: 0; padding-bottom: 1.6em; }+.console__body .stream { padding-right: 0; }+.inspect { display: flex; flex-direction: column; margin: 0 2.2em 0 0; border-radius: 0.6em; background: var(--color-graphite); color: var(--color-graphite-ink); overflow: hidden; }.inspect__head { display: flex; align-items: center; gap: 1.2em; padding: 0.9em 1.4em; background: var(--color-graphite-2); font-size: 1.25em; }.inspect__event { font-weight: 500; }.inspect__id { color: var(--color-graphite-muted); }@@ -89,12 +95,12 @@.inspect__tabs span { padding: 0.3em 0.75em; border-radius: 0.4em; }.inspect__tabs .is-on { background: var(--color-graphite); color: var(--color-graphite-ink); }.inspect__replay { padding: 0.35em 0.85em; border: 1px solid var(--color-graphite-muted); border-radius: 0.4em; font-family: var(--font-display); font-weight: 500; }-.inspect__body { flex: 1; display: flex; gap: 2em; padding: 1.4em 1.6em; }+.inspect__body { flex: 1; display: grid; align-content: space-between; gap: 2em; padding: 1.8em 2em; }.code { margin: 0; flex: 1; font-size: 1.3em; line-height: 1.6; white-space: pre; color: var(--color-graphite-ink); }.code .c { color: var(--color-graphite-muted); }.code .k { color: var(--color-graphite-muted); }.code .t, .code .s { color: var(--color-accent-2); }-.tries { display: grid; align-content: start; gap: 0.5em; font-size: 1.2em; }+.tries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6em; font-size: 1.25em; }.tries__row { display: grid; grid-template-columns: 1.6em auto auto; align-items: center; gap: 0.8em; padding: 0.55em 0.8em; border-radius: 0.4em; background: var(--color-graphite-2); white-space: nowrap; }.tries__row b { font-family: var(--font-display); font-weight: 600; color: var(--color-graphite-muted); }.tries__row.is-next span { color: var(--color-accent-2); font-family: var(--font-display); font-weight: 500; }@@ -104,13 +110,24 @@.head h2 { grid-column: 1 / span 6; }.head .lead { grid-column: 8 / -1; color: var(--color-ink-2); }.head .lead code { font: 400 0.9em/1 var(--font-outlier); color: var(--color-ink); }-.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.split__text { display: grid; gap: var(--space-md); grid-column: 1 / span 5; }-.split--even > .split__text { grid-column: 1 / span 5; }-.split--even > .slot { grid-column: 6 / span 7; }++/* The switcher: four jobs behind one segmented control, every panel real */+.does { padding-block: var(--section-gap) var(--section-gap); }+.tabs { display: flex; gap: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule-2); }+html:not(.js) .tabs { display: none; }+.tabs button { margin-bottom: -1px; min-height: 56px; padding: 0; border: 0; background: transparent; box-shadow: inset 0 -2px 0 transparent; color: var(--color-muted); font: 600 var(--text-title)/1 var(--font-display); letter-spacing: -0.015em; cursor: pointer; transition: color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }+.tabs button:hover { color: var(--color-ink); }+.tabs button[aria-selected="true"] { color: var(--color-ink); }+.tabs button[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--color-accent); }+.tabs button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--space-3xs); }+.panel { display: grid; align-content: start; gap: var(--space-xl); min-height: 540px; padding-top: var(--space-2xl); }+.panel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 8px; border-radius: var(--space-3xs); }+html:not(.js) .panel + .panel { margin-top: var(--space-3xl); }+.panel__say { max-width: 52ch; font: 500 var(--text-lead)/1.4 var(--font-display); color: var(--color-ink-2); }+.panel__say code { font: 400 0.9em/1 var(--font-outlier); color: var(--color-ink); }+.panel--replay .replay { width: 100%; }/* Sources: the API as a ruled table */-.sources { padding-top: var(--section-gap-s); }.table-wrap { overflow-x: auto; border-top: var(--rule-hair) solid var(--color-ink); }.table-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }.src { width: 100%; border-collapse: collapse; font-size: var(--text-md); }@@ -124,11 +141,10 @@.src .r { text-align: right; padding-right: 0; }.src tr.is-on > * { background: var(--color-accent-wash); }.src tr.is-on > th { padding-left: var(--space-md); }-.src__out { margin-top: var(--space-lg); font: 500 var(--text-md)/1.4 var(--font-display); color: var(--color-muted); }+.src__out { margin-top: calc(-1 * var(--space-md)); font: 500 var(--text-md)/1.4 var(--font-display); color: var(--color-muted); }.src__out code { font: 500 var(--text-md)/1 var(--font-outlier); color: var(--color-accent); }/* Types: the payload and its type, a diff in graphite */-.typed { padding-top: var(--section-gap-l); }.pair { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius-card); background: var(--color-graphite); color: var(--color-graphite-ink); overflow: hidden; }.pair__pane { min-width: 0; }.pair__pane + .pair__pane { border-left: 1px solid var(--color-graphite-2); }@@ -144,8 +160,7 @@.js [data-reveal].is-in { opacity: 1; transform: none; }/* Retries: three attempts on one axis, spaced by their real times */-.retry { padding-block: var(--section-gap) var(--section-gap-l); }-.axis { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: 0; padding: var(--space-xl) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }+.axis { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: var(--space-xl) 0 0; padding: var(--space-xl) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }.axis__at { position: relative; display: grid; gap: var(--space-xs); align-content: start; }.axis__at::before { content: ""; position: absolute; top: calc(-1 * var(--space-xl) - 7px); width: 13px; height: 13px; border-radius: 50%; background: var(--color-paper); box-shadow: inset 0 0 0 2px currentColor; }.axis__at:nth-child(1) { grid-column: 1 / span 4; }@@ -158,12 +173,10 @@.axis__what { font: 500 var(--text-lead)/1.3 var(--font-display); color: var(--color-ink); }.axis__at code { font: 400 var(--text-sm)/1.4 var(--font-outlier); color: var(--color-muted); }-/* 4. Replay, on the one graphite band */-.band { padding-block: var(--section-gap-s); background: var(--color-graphite); color: var(--color-graphite-ink); }-.band .lead { color: var(--color-graphite-muted); }-.replay { --w: calc(var(--col) * 7 + var(--gap-columns) * 6); aspect-ratio: 752 / 420; border: 1px solid var(--color-graphite-2); border-radius: var(--radius-card); }+/* Replay: the panel in graphite, full width in its tab */+.replay { --w: var(--cw); aspect-ratio: 1312 / 500; border: 1px solid var(--color-graphite-2); border-radius: var(--radius-card); }.replay[data-slot] { background: var(--color-graphite-2); }-.replay .ui { font-size: calc(var(--w) / 70 + 0px * var(--tick, 0)); color: var(--color-graphite-ink); }+.replay .ui { font-size: calc(var(--w) / 104 + 0px * var(--tick, 0)); color: var(--color-graphite-ink); }.rp__head { display: flex; align-items: baseline; gap: 1em; padding: 2.2em 2.6em 1.6em; font-size: 1.35em; }.rp__title { font-family: var(--font-display); font-size: 1.5em; font-weight: 600; letter-spacing: -0.02em; }.rp__id { color: var(--color-graphite-muted); }@@ -179,33 +192,33 @@.rp__line span { font-family: var(--font-display); font-weight: 500; }.rp__line .ok { color: var(--color-accent-2); }-/* The close: the count beside the signup */-.close { padding-block: var(--section-gap) var(--section-gap-s); }-.close__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }-.close__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.close__offer { grid-column: 1 / span 9; max-width: 16ch; font-size: var(--text-display); line-height: 1.0; }-.calc { grid-column: 1 / span 7; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--space-lg); row-gap: var(--space-sm); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }+/* The offer: the free tier as the head, the count worked on the visitor's own number, the action */+.offer { padding-block: var(--section-gap-s); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }+.offer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: stretch; }+.offer__head { grid-column: 1 / span 5; display: grid; align-content: space-between; gap: var(--space-xl); }+.offer__fig { max-width: 9ch; font-size: var(--text-display); line-height: 0.98; }+.calc { grid-column: 7 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--space-lg); row-gap: var(--space-sm); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }.calc label { grid-column: 1 / -1; font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-ink-2); }.calc input { grid-column: 1 / -1; width: 12rem; height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-lg)/1 var(--font-outlier); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }-.calc input:hover { background: var(--color-paper-3); }+.calc input:hover { background: var(--color-paper-2); }.calc input:focus-visible { outline-color: var(--color-focus); }.calc input:disabled { opacity: 0.55; cursor: not-allowed; }-.calc__fig { margin-top: var(--space-lg); font: 600 clamp(3.5rem, 6.4vw, 6.5rem)/0.9 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--color-ink); }+.calc__fig { margin-top: var(--space-xl); font: 600 clamp(3.5rem, 7vw, 7.5rem)/0.9 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--color-ink); }.calc__unit { justify-self: end; font: 500 var(--text-md)/1.4 var(--font-display); color: var(--color-muted); }.calc__meter { grid-column: 1 / -1; position: relative; height: 10px; margin-top: var(--space-sm); border-radius: var(--space-2xs); background: var(--color-accent-wash); overflow: hidden; }.calc__meter i { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: left; transform: scaleX(var(--fill, 0)); background: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }.calc__meter.is-over i { background: var(--color-ink); }.calc__say { grid-column: 1 / -1; min-height: 1lh; font: 500 var(--text-md)/1.4 var(--font-display); color: var(--color-ink-2); }-.signup { grid-column: 9 / -1; align-self: center; display: grid; gap: var(--space-xs); min-width: 0; }-.signup__lead { margin-bottom: var(--space-lg); color: var(--color-ink-2); }-.signup label { font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); }-.signup__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }-.signup input { flex: 1 1 14rem; min-width: 0; width: 100%; height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }-.signup input:hover { background: var(--color-paper-2); }-.signup input:focus-visible { outline-color: var(--color-focus); }-.signup input[aria-invalid] { border-color: var(--color-error); }-.signup input:disabled { opacity: 0.55; cursor: not-allowed; }-.signup__help { min-height: 1lh; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }++/* The close: the handler that receives the typed event, on the one graphite band */+.band { padding-block: var(--section-gap-s); background: var(--color-graphite); color: var(--color-graphite-ink); }+.band h2 { color: var(--color-graphite-ink); }+.band .lead { color: var(--color-graphite-muted); }+.code-close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.code-close__text { grid-column: 1 / span 4; display: grid; gap: var(--space-md); }+.pane { grid-column: 6 / -1; margin: 0; min-width: 0; border: 1px solid var(--color-graphite-2); border-radius: var(--radius-card); overflow: hidden; }+.pane figcaption { padding: var(--space-sm) var(--space-lg); border-top: 1px solid var(--color-graphite-2); font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-graphite-muted); }+.pane figcaption code { font-family: var(--font-outlier); color: var(--color-graphite-ink); }.colophon { padding-block: var(--section-gap-s) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }.colophon__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: start; }.colophon__mark { grid-column: 1 / span 3; font: 600 var(--text-2xl)/1 var(--font-display); letter-spacing: -0.03em; }@@ -220,11 +233,19 @@@media (max-width: 60rem) {.console, .replay { --w: var(--cw); }- .head h2, .head .lead, .close__offer, .close__head .lead, .calc, .signup { grid-column: 1 / -1; }- .head, .close__head { row-gap: var(--space-md); }- .split, .close__grid, .colophon__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .split > .split__text, .split > .slot, .split--even > .split__text, .split--even > .slot, .colophon__grid > * { grid-column: 1 / -1; justify-self: start; }- .split > .slot, .split--even > .slot { justify-self: stretch; }+ .head h2, .head .lead { grid-column: 1 / -1; }+ .head { row-gap: var(--space-md); }+ .offer__grid, .code-close, .colophon__grid, .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .offer__grid > *, .code-close > *, .colophon__grid > *, .hero__grid > * { grid-column: 1 / -1; justify-self: start; }+ .calc, .pane { justify-self: stretch; }+ .console { aspect-ratio: 4 / 3; }+ .console .ui { font-size: calc(var(--w) / 80 + 0px * var(--tick, 0)); }+ .console__body { grid-template-columns: minmax(0, 1fr); }+ .inspect { display: none; }+ .console__body .stream { padding-right: 2.2em; }+ .tabs { gap: var(--space-lg); overflow-x: auto; }+ .tabs button { font-size: var(--text-lg); white-space: nowrap; }+ .panel { min-height: 0; }.pair { grid-template-columns: minmax(0, 1fr); }.pair__pane + .pair__pane { border-left: 0; border-top: 1px solid var(--color-graphite-2); }.axis { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); padding: 0 0 0 var(--space-xl); border-top: 0; border-left: var(--rule-hair) solid var(--color-ink); }@@ -235,15 +256,15 @@.jump { justify-self: end; width: auto; }.jump__long { display: none; }.jump__short { display: inline; }- .hero { min-height: 0; padding-block: var(--space-xl) var(--space-3xl); }- .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .hero { padding-block: var(--space-2xl) var(--space-2xl); }}@media (max-width: 40rem) {.console .ui { font-size: calc(var(--w) / 44 + 0px * var(--tick, 0)); }- .stream__row:nth-child(n+5) { display: none; }- .console { aspect-ratio: 4 / 5; }- .ui__chips .ui__chip:nth-child(n+3), .ui__tag, .stream__row > :nth-child(3), .inspect__tabs, .tries { display: none; }+ .stream__row:nth-child(n+8) { display: none; }+ .console { aspect-ratio: auto; }+ .pane .pair__file span { display: none; }+ .ui__chips .ui__chip:nth-child(n+3), .ui__tag, .stream__row > :nth-child(3) { display: none; }.stream__row { grid-template-columns: 5.6em minmax(0, 1fr) auto; }.replay .ui { font-size: calc(var(--w) / 36 + 0px * var(--tick, 0)); }.replay { aspect-ratio: auto; }diff --git a/site/themes/console/index.html b/site/themes/console/index.htmlindex 82c3537..057936e 100644--- a/site/themes/console/index.html+++ b/site/themes/console/index.html@@ -9,6 +9,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@400;500&family=Atkinson+Hyperlegible+Mono:wght@400;500&display=swap" rel="stylesheet"><link rel="stylesheet" href="style.css">+<script>document.documentElement.classList.add('js');</script></head><body><a class="skip" href="#main">Skip to content</a>@@ -21,8 +22,9 @@<a href="#before">Versions</a><a href="#week">The lab</a><a href="#try">Try one</a>+ <a href="#questions">Questions</a></nav>- <div class="bar__end"><a class="btn btn--line btn--nav" href="#access">Request access</a></div>+ <div class="bar__end"><a class="btn btn--line btn--nav" href="#request" data-to-request>Request access</a></div></div></header>@@ -33,10 +35,14 @@<div class="hero__text"><h1 id="hero-head">Who changed the anneal step?</h1><p class="lead">Benchmark records who changed a protocol, when, and why.</p>- <div class="actions">- <a class="btn btn--amber" href="#access">Request access</a>- <a class="btn btn--line" href="#try">Try a change</a>- </div>+ <form class="ask" id="request" data-endpoint="" novalidate>+ <label class="ask__label" for="email">Work email</label>+ <div class="ask__row">+ <input class="input" id="email" name="email" type="email" autocomplete="email" placeholder="[email protected]" required>+ <button class="btn btn--amber" type="submit">Request access</button>+ </div>+ <p class="ask__help" id="ask-help" aria-live="polite">For research labs, by request. Or <a href="#try">try a change</a> first.</p>+ </form></div><div class="hero__visual">@@ -75,56 +81,95 @@</section><section class="reason" id="reason" aria-labelledby="reason-head">- <div class="container">- <div class="split-head">- <h2 id="reason-head">Every value keeps its reason</h2>- <p class="lead">Change a number and the old one stays, struck through, with who changed it and why.</p>- </div>- <figure class="reading">+ <div class="container reason__grid">+ <figure class="reading" aria-labelledby="reason-head"><p class="reading__was m"><del>100 V</del></p><p class="reading__now m">90<span class="reading__unit">V</span></p>- <figcaption class="reading__sign">- <span class="reading__what">Western blot transfer, step 2</span>- <span class="amber">Lab manager</span>- <span class="m cool">2026-10-08 16:05:12</span>- <q>Bands smeared at 100 V.</q>- </figcaption></figure>+ <div class="reason__side">+ <h2 id="reason-head">Every value keeps its reason</h2>+ <dl class="sign">+ <div><dt>Where</dt><dd>Western blot transfer, step 2</dd></div>+ <div><dt>Who</dt><dd class="amber">Lab manager</dd></div>+ <div><dt>When</dt><dd class="m cool">2026-10-08 16:05:12</dd></div>+ <div><dt>Why</dt><dd class="sign__why">“Bands smeared at 100 V.”</dd></div>+ </dl>+ </div></div></section><section class="before" id="before" aria-labelledby="before-head"><div class="container">- <div class="split-head">- <h2 id="before-head">What did it say before?</h2>- <p class="lead">Every version is kept. Read any two side by side.</p>- </div>- <div class="panels compare" data-slot="compare" data-alt="Two versions of one of your protocols side by side, and the reasons for what changed between them">- <div class="compare__bar">- <span class="compare__name">PCR, 30 cycles</span>- <ol class="vers" aria-label="Versions">- <li><span class="m">v1</span></li>- <li><span class="m">v2</span></li>- <li class="is-pick"><span class="m">v3</span></li>- <li><span class="m">v4</span></li>- <li class="is-pick"><span class="m">v5</span></li>+ <div class="switch" data-switch>+ <div class="before__head">+ <div class="before__text">+ <h2 id="before-head">What did it say before?</h2>+ <p class="lead">Every version is kept. Read any two side by side.</p>+ </div>+ <div class="seg" role="tablist" aria-label="Versions to compare">+ <button type="button" role="tab" id="t-45" aria-controls="p-45" aria-selected="false" tabindex="-1"><span class="m">v4</span> and <span class="m">v5</span></button>+ <button type="button" role="tab" id="t-35" aria-controls="p-35" aria-selected="true"><span class="m">v3</span> and <span class="m">v5</span></button>+ <button type="button" role="tab" id="t-15" aria-controls="p-15" aria-selected="false" tabindex="-1"><span class="m">v1</span> and <span class="m">v5</span></button>+ </div>+ </div>++ <div class="panels compare" role="tabpanel" id="p-45" hidden aria-labelledby="t-45" data-slot="compare-1" data-alt="Two adjacent versions of one of your protocols side by side">+ <div class="compare__bar"><span class="compare__name">PCR, 30 cycles</span><span class="compare__count">One step changed</span></div>+ <table class="diff">+ <caption class="visually-hidden">Version 4 against version 5, sample</caption>+ <thead><tr><th scope="col"><span class="visually-hidden">Change</span></th><th scope="col">Step</th><th scope="col"><span class="m cool">v4</span> 2 Oct, Scientist</th><th scope="col"><span class="m cool">v5</span> 9 Oct, Scientist</th></tr></thead>+ <tbody>+ <tr><td class="g m"></td><th scope="row"><span class="m n">1</span>Initial denaturation</th><td class="m">95 °C, 3 min</td><td class="m">95 °C, 3 min</td></tr>+ <tr><td class="g m"></td><th scope="row"><span class="m n">2</span>Denature</th><td class="m">95 °C, 30 s</td><td class="m">95 °C, 30 s</td></tr>+ <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">3</span>Anneal</th><td class="m was"><del>58 °C</del>, 30 s</td><td class="m now"><ins>60 °C</ins>, 30 s</td></tr>+ <tr><td class="g m"></td><th scope="row"><span class="m n">4</span>Extend</th><td class="m">72 °C, 1 min</td><td class="m">72 °C, 1 min</td></tr>+ <tr><td class="g m"></td><th scope="row"><span class="m n">5</span>Final extension</th><td class="m">72 °C, 5 min</td><td class="m">72 °C, 5 min</td></tr>+ </tbody>+ </table>+ <ol class="between" aria-label="Changes between v4 and v5">+ <li><span class="m cool">v5</span><span class="amber">Scientist</span><span class="m cool">9 Oct</span><q>Primer dimers at 58 °C.</q></li>+ </ol>+ </div>++ <div class="panels compare" role="tabpanel" id="p-35" aria-labelledby="t-35" data-slot="compare-2" data-alt="Two versions of one of your protocols side by side, and the reasons for what changed between them">+ <div class="compare__bar"><span class="compare__name">PCR, 30 cycles</span><span class="compare__count">Two steps changed</span></div>+ <table class="diff">+ <caption class="visually-hidden">Version 3 against version 5, sample</caption>+ <thead><tr><th scope="col"><span class="visually-hidden">Change</span></th><th scope="col">Step</th><th scope="col"><span class="m cool">v3</span> 18 Sep, Lab manager</th><th scope="col"><span class="m cool">v5</span> 9 Oct, Scientist</th></tr></thead>+ <tbody>+ <tr><td class="g m"></td><th scope="row"><span class="m n">1</span>Initial denaturation</th><td class="m">95 °C, 3 min</td><td class="m">95 °C, 3 min</td></tr>+ <tr><td class="g m"></td><th scope="row"><span class="m n">2</span>Denature</th><td class="m">95 °C, 30 s</td><td class="m">95 °C, 30 s</td></tr>+ <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">3</span>Anneal</th><td class="m was"><del>58 °C</del>, 30 s</td><td class="m now"><ins>60 °C</ins>, 30 s</td></tr>+ <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">4</span>Extend</th><td class="m was">72 °C, <del>45 s</del></td><td class="m now">72 °C, <ins>1 min</ins></td></tr>+ <tr><td class="g m"></td><th scope="row"><span class="m n">5</span>Final extension</th><td class="m">72 °C, 5 min</td><td class="m">72 °C, 5 min</td></tr>+ </tbody>+ </table>+ <ol class="between" aria-label="Changes between v3 and v5">+ <li><span class="m cool">v4</span><span class="amber">Scientist</span><span class="m cool">2 Oct</span><q>Extension to 1 min.</q></li>+ <li><span class="m cool">v5</span><span class="amber">Scientist</span><span class="m cool">9 Oct</span><q>Primer dimers at 58 °C.</q></li>+ </ol>+ </div>++ <div class="panels compare" role="tabpanel" id="p-15" hidden aria-labelledby="t-15" data-slot="compare-3" data-alt="The first and the latest version of one of your protocols side by side, with every reason between them">+ <div class="compare__bar"><span class="compare__name">PCR, 30 cycles</span><span class="compare__count">Four steps changed</span></div>+ <table class="diff">+ <caption class="visually-hidden">Version 1 against version 5, sample</caption>+ <thead><tr><th scope="col"><span class="visually-hidden">Change</span></th><th scope="col">Step</th><th scope="col"><span class="m cool">v1</span> 21 Aug, Lab manager</th><th scope="col"><span class="m cool">v5</span> 9 Oct, Scientist</th></tr></thead>+ <tbody>+ <tr><td class="g m"></td><th scope="row"><span class="m n">1</span>Initial denaturation</th><td class="m">95 °C, 3 min</td><td class="m">95 °C, 3 min</td></tr>+ <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">2</span>Denature</th><td class="m was"><del>94 °C</del>, 30 s</td><td class="m now"><ins>95 °C</ins>, 30 s</td></tr>+ <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">3</span>Anneal</th><td class="m was"><del>55 °C</del>, 30 s</td><td class="m now"><ins>60 °C</ins>, 30 s</td></tr>+ <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">4</span>Extend</th><td class="m was">72 °C, <del>45 s</del></td><td class="m now">72 °C, <ins>1 min</ins></td></tr>+ <tr><td class="g m"></td><th scope="row"><span class="m n">5</span>Final extension</th><td class="m">72 °C, 5 min</td><td class="m">72 °C, 5 min</td></tr>+ </tbody>+ </table>+ <ol class="between" aria-label="Changes between v1 and v5">+ <li><span class="m cool">v2</span><span class="amber">Scientist</span><span class="m cool">4 Sep</span><q>Weak bands at 55 °C.</q></li>+ <li><span class="m cool">v3</span><span class="amber">Lab manager</span><span class="m cool">18 Sep</span><q>Denature as the polymerase sheet says.</q></li>+ <li><span class="m cool">v4</span><span class="amber">Scientist</span><span class="m cool">2 Oct</span><q>Extension to 1 min.</q></li>+ <li><span class="m cool">v5</span><span class="amber">Scientist</span><span class="m cool">9 Oct</span><q>Primer dimers at 58 °C.</q></li></ol></div>- <table class="diff">- <caption class="visually-hidden">Version 3 against version 5, sample</caption>- <thead><tr><th scope="col"><span class="visually-hidden">Change</span></th><th scope="col">Step</th><th scope="col"><span class="m cool">v3</span> 18 Sep, Lab manager</th><th scope="col"><span class="m cool">v5</span> 9 Oct, Scientist</th></tr></thead>- <tbody>- <tr><td class="g m"></td><th scope="row"><span class="m n">1</span>Initial denaturation</th><td class="m">95 °C, 3 min</td><td class="m">95 °C, 3 min</td></tr>- <tr><td class="g m"></td><th scope="row"><span class="m n">2</span>Denature</th><td class="m">95 °C, 30 s</td><td class="m">95 °C, 30 s</td></tr>- <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">3</span>Anneal</th><td class="m was"><del>58 °C</del>, 30 s</td><td class="m now"><ins>60 °C</ins>, 30 s</td></tr>- <tr class="is-changed"><td class="g m" aria-label="changed">±</td><th scope="row"><span class="m n">4</span>Extend</th><td class="m was">72 °C, <del>45 s</del></td><td class="m now">72 °C, <ins>1 min</ins></td></tr>- <tr><td class="g m"></td><th scope="row"><span class="m n">5</span>Final extension</th><td class="m">72 °C, 5 min</td><td class="m">72 °C, 5 min</td></tr>- </tbody>- </table>- <ol class="between" aria-label="Changes between v3 and v5">- <li><span class="m cool">v4</span><span class="amber">Scientist</span><span class="m cool">2 Oct</span><q>Extension to 1 min.</q></li>- <li><span class="m cool">v5</span><span class="amber">Scientist</span><span class="m cool">9 Oct</span><q>Primer dimers at 58 °C.</q></li>- </ol></div></div></section>@@ -135,7 +180,7 @@<div class="week__frame" data-slot="photo-1" data-alt="Your own lab: the bench where the protocols are run, no faces needed"><img src="photos/csiro-scienceimage-11401-csiro-researcher-with-pipette-1280.jpg" width="1280" height="1920" loading="lazy" style="object-position: 50% 40%" alt="A gloved hand gripping a pipette at a lab bench, the tip pointing down"></div>- <figcaption>The protocol on the bench is the version in the record.</figcaption>+ <figcaption>The bench runs the version in the record.</figcaption></figure><div class="week__text"><h2 id="week-head">The lab’s week, newest first</h2>@@ -144,17 +189,16 @@<li><p class="trail__top"><b>qPCR, standard curve</b><span class="m cool">v6</span></p><p class="trail__why">“Dilution series to 1:10, five points.”</p><p class="trail__meta"><span class="amber">Scientist</span><span class="m cool">Thu 14:30</span></p></li><li><p class="trail__top"><b>Western blot transfer</b><span class="m cool">v8</span></p><p class="trail__why">“Bands smeared at 100 V.”</p><p class="trail__meta"><span class="amber">Lab manager</span><span class="m cool">Wed 16:05</span></p></li><li><p class="trail__top"><b>Cell passage</b><span class="m cool">v12</span></p><p class="trail__why">“Confluent a day early, split at 80%.”</p><p class="trail__meta"><span class="amber">Scientist</span><span class="m cool">Tue 11:20</span></p></li>- <li><p class="trail__top"><b>Plasmid miniprep</b><span class="m cool">v3</span></p><p class="trail__why">“Elute in 30 µl, not 50.”</p><p class="trail__meta"><span class="amber">Scientist</span><span class="m cool">Mon 10:02</span></p></li></ol></div></div></section><section class="try" id="try" aria-labelledby="try-head">- <div class="container">- <div class="split-head">+ <div class="container try__grid">+ <div class="try__text"><h2 id="try-head">You write the why</h2>- <p class="lead">Benchmark writes the rest. Try it on the anneal step; nothing leaves this page.</p>+ <p class="lead">Benchmark writes the rest. Nothing you type here leaves this page.</p></div><div class="panels pair"><form class="pair__you" novalidate>@@ -176,18 +220,15 @@</div></section>-<section class="access" id="access" aria-labelledby="access-head">- <div class="container access__grid">- <div class="access__text">- <h2 id="access-head">Bring Benchmark to your lab</h2>- <p class="lead">For research labs. Leave a work email and the name of your lab.</p>- </div>- <form class="signup" data-endpoint="" novalidate>- <div class="field"><label for="email">Work email</label><input class="input" id="email" name="email" type="email" autocomplete="email" required></div>- <div class="field"><label for="lab">Lab name</label><input class="input" id="lab" name="lab" type="text" autocomplete="organization" required></div>- <button class="btn btn--amber" type="submit">Request access</button>- <p class="signup__help" id="signup-help" aria-live="polite"></p>- </form>+<section class="questions" id="questions" aria-labelledby="questions-head">+ <div class="container questions__grid">+ <h2 id="questions-head">What a lab asks first</h2>+ <dl class="qa">+ <div><dt>Who is Benchmark for?</dt><dd>Research labs: the scientists who run protocols and the managers who keep them.</dd></div>+ <div><dt>What does a change record?</dt><dd>Who made it, when, and why, on the version it made.</dd></div>+ <div><dt>Is an old version ever lost?</dt><dd>No. Every version stays, to read beside any other.</dd></div>+ <div class="qa__last"><dt>How does a lab start?</dt><dd><span>Ask with a work email.</span> <a class="btn btn--line" href="#request" data-to-request>Request access</a></dd></div>+ </dl></div></section>@@ -196,8 +237,8 @@<footer class="foot"><div class="container foot__in"><p class="foot__sign">Kept by Benchmark.</p>- <p class="foot__date"><time datetime="2026-10-20">20 October 2026</time></p>- <nav class="foot__links" aria-label="Footer"><a href="#reason">The record</a><a href="#before">Versions</a><a href="#week">The lab</a><a href="#try">Try one</a><a href="#access">Request access</a></nav>+ <p class="foot__date"><time datetime="2026-10-21">21 October 2026</time></p>+ <nav class="foot__links" aria-label="Footer"><a href="#reason">The record</a><a href="#before">Versions</a><a href="#week">The lab</a><a href="#try">Try one</a><a href="#questions">Questions</a><a href="#request" data-to-request>Request access</a></nav><p class="foot__legal">© 2026 Benchmark</p><p class="foot__credit" data-credits>Photograph: <a href="https://commons.wikimedia.org/wiki/File:CSIRO_ScienceImage_11401_CSIRO_researcher_with_pipette.jpg">Morgan Brown, CSIRO</a>, CC BY 3.0, on Wikimedia Commons.</p></div>@@ -212,20 +253,55 @@var t = Number(temp.value);var ok = temp.value !== '' && t >= 40 && t <= 80;temp.toggleAttribute('aria-invalid', !ok);- outNew.textContent = ok ? (t % 1 ? t.toFixed(1) : String(t)) + ' °C' : '40 to 80 °C';+ outNew.textContent = ok ? (t % 1 ? t.toFixed(1) : String(t)) + ' °C' : '40 to 80 °C';var reason = why.value.trim();outWhy.textContent = reason ? '“' + reason + '”' : 'A reason is needed before a change is saved.';help.textContent = reason ? '' : 'Say why, in a few words.';}temp.addEventListener('input', sync); why.addEventListener('input', sync); sync();})();+document.querySelectorAll('[data-switch]').forEach(function (sw) {+ var tabs = [].slice.call(sw.querySelectorAll('[role="tab"]'));+ function pick(tab, focus) {+ tabs.forEach(function (t) {+ var on = t === tab;+ t.setAttribute('aria-selected', on); t.tabIndex = on ? 0 : -1;+ document.getElementById(t.getAttribute('aria-controls')).hidden = !on;+ });+ if (focus) tab.focus();+ }+ tabs.forEach(function (t, i) {+ t.addEventListener('click', function () { pick(t); });+ t.addEventListener('keydown', function (e) {+ var d = e.key === 'ArrowRight' ? 1 : e.key === 'ArrowLeft' ? -1 : 0;+ if (e.key === 'Home') { e.preventDefault(); pick(tabs[0], true); }+ else if (e.key === 'End') { e.preventDefault(); pick(tabs[tabs.length - 1], true); }+ else if (d) { e.preventDefault(); pick(tabs[(i + d + tabs.length) % tabs.length], true); }+ });+ });+ pick(tabs.filter(function (t) { return t.getAttribute('aria-selected') === 'true'; })[0] || tabs[0]);+});+document.querySelectorAll('[data-to-request]').forEach(function (a) {+ a.addEventListener('click', function (e) {+ var input = document.getElementById('email');+ if (!input) return;+ e.preventDefault();+ document.getElementById('top').scrollIntoView({ behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth' });+ setTimeout(function () { input.focus({ preventScroll: true }); }, 450);+ });+});document.querySelectorAll('form[data-endpoint]').forEach(function (form) {- var help = form.querySelector('[aria-live]');+ var input = form.querySelector('input'), help = form.querySelector('[aria-live]'), first = help.innerHTML;+ input.addEventListener('input', function () { if (input.hasAttribute('aria-invalid') && input.checkValidity()) { input.removeAttribute('aria-invalid'); help.innerHTML = first; } });form.addEventListener('submit', function (e) {e.preventDefault();- var bad = [].slice.call(form.querySelectorAll('input')).filter(function (i) { var ok = i.checkValidity(); i.toggleAttribute('aria-invalid', !ok); if (!ok) i.setAttribute('aria-describedby', help.id); return !ok; });- if (bad.length) { help.textContent = bad[0].type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : 'Add the name of your lab.'; bad[0].focus(); return; }+ var ok = input.checkValidity();+ input.toggleAttribute('aria-invalid', !ok);+ if (!ok) { input.setAttribute('aria-describedby', help.id); help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })+ .then(function (r) { help.textContent = r.ok ? 'Thanks. The reply goes to ' + input.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })+ .catch(function () { help.textContent = 'That did not go through. Try again in a minute.'; });});});</script>diff --git a/site/themes/console/style.css b/site/themes/console/style.cssindex 1be299f..225edc6 100644--- a/site/themes/console/style.css+++ b/site/themes/console/style.css@@ -1,7 +1,7 @@-/* Hallmark · shape: Audit Trail, custom: the page reads like the record it sells, one change set large, then the versions, the lab's trail and a change you make · genre: modern-minimal · theme: Console (by request) · draw: manual, v2.8 launch pass- * hero: Stage · nav: three-part bar cut as one panel with 1px seams · footer: letter close, a sign-off and a dateline · imagery: product sample in hero, reading, compare, trail, try; photographs, library 1, duotone paper-3 ink · signature: one change set at display size in the measured face, the struck value above it and who, when and why beneath · console: graphite- * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.7.0 */-/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 · weakest: E, every proof is the product at small sizes, so one change is set at display size and the who-writes table became the working form, a person's half beside the system's half */+/* Hallmark · job: sign up · shape: Audit Trail, custom: the page reads like the record it sells, the access request in the hero, one change set large, any two versions compared, the lab's trail, a change you make, the questions a lab asks · genre: modern-minimal · theme: Console (by request) · draw: manual, v2.8 layout fix+ * hero: Stage, the work email and Request access under the head, the record on seven columns · sections: Statement (one reading at display size, its head and signature beside), Switcher (three version pairs as working tabs over one diff panel), Split (bench photograph beside the week's trail), Form (the person's half beside the system's half, head above), Rows (questions on 5 to 12, the last answer holding the action) · nav: three-part bar cut as one panel with 1px seams · footer: letter close, a sign-off and a dateline · imagery: product sample in hero, reading, compare, trail, try (protocol names, values, roles and times are samples); photographs, library 1, duotone paper-3 ink · signature: one change set at display size in the measured face, the struck value above it and who, when and why beside it · console: graphite+ * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.8.0 */+/* Hallmark · close: the questions a lab asks, the last answer sending the visitor back to the hero's request; no email band at the foot, the action already lives in the nav and the hero */@import url("./tokens.css");@import url("./base.css");@@ -36,7 +36,7 @@ q { quotes: "“" "”"; }.bar > * { display: flex; align-items: center; min-height: 60px; padding: 0 var(--space-lg); background: var(--color-paper-2); }.bar__mark { font-size: var(--text-lg); font-weight: 500; letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }.bar__links { gap: var(--space-lg); }-.bar__links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; }+.bar__links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }.bar__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }.bar__end { padding-right: var(--space-xs); }@@ -46,7 +46,15 @@ q { quotes: "“" "”"; }.hero__text { display: grid; gap: var(--space-lg); }.hero h1 { max-width: 15ch; line-height: 1.0; font-size: clamp(2.75rem, 6vw - 1rem, 4.75rem); }.hero .lead { max-width: 30ch; }-.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }+.ask { display: grid; gap: var(--space-xs); max-width: 30rem; margin-top: var(--space-md); }+.ask__label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }+.ask__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs); }+.ask__row .input { min-height: 52px; }+.ask__row .btn { min-height: 52px; }+.ask__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }+.ask__help a { color: var(--color-ink-2); text-decoration-color: var(--color-rule-2); }+.ask__help a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }+.input::placeholder { color: color-mix(in oklab, var(--color-muted) 70%, var(--color-paper-3)); }/* panels cut from one surface */.panels { display: grid; gap: var(--rule-hair); background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; color: var(--color-ink-2); font-size: var(--text-sm); }@@ -81,32 +89,40 @@ q { quotes: "“" "”"; }.change__why { grid-column: 1 / -1; }.change__why dd { font-size: var(--text-lg); }-/* section heads: the head on six columns, its line on five, baselines aligned */-.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }-.split-head h2 { grid-column: 1 / 7; }-.split-head .lead { grid-column: 8 / 13; max-width: 40ch; }--/* the reading: one change at display size */+/* the reading: one change at display size, its head and signature beside it */.reason { padding-top: var(--section-gap); }-.reading { margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; padding: var(--space-2xl) 0 0; border-top: var(--rule-hair) solid var(--color-rule); }-.reading__was { grid-column: 1 / 13; margin: 0; font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem); line-height: 1; }+.reason__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.reason__grid::before { content: ""; grid-column: 1 / -1; height: 0; border-top: var(--rule-hair) solid var(--color-rule); margin-bottom: var(--space-2xl); }+.reading { grid-column: 1 / 8; margin: 0; }+.reading__was { margin: 0; font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem); line-height: 1; }.reading__was del { text-decoration-thickness: 3px; }-.reading__now { grid-column: 1 / 8; margin: var(--space-md) 0 0; font-size: clamp(6rem, 17vw, 15rem); font-weight: 400; line-height: 0.86; letter-spacing: -0.05em; color: var(--color-ink); }+.reading__now { margin: var(--space-md) 0 0; font-size: clamp(6rem, 17vw, 15.5rem); font-weight: 400; line-height: 0.86; letter-spacing: -0.05em; color: var(--color-ink); }.reading__unit { margin-left: 0.12em; font-size: 0.42em; letter-spacing: 0; color: var(--color-ink-2); }-.reading__sign { grid-column: 8 / 13; display: grid; gap: var(--space-sm); padding: var(--space-lg) 0 var(--space-md) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-md); }-.reading__what { color: var(--color-muted); font-size: var(--text-sm); }-.reading__sign q { margin-top: var(--space-xs); font-size: var(--text-title); line-height: 1.25; color: var(--color-ink); }+.reason__side { grid-column: 8 / 13; display: grid; gap: var(--space-xl); padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule-2); }+.reason__side h2 { font-size: clamp(2rem, 2.2vw + 1rem, 3.25rem); }+.sign { margin: 0; display: grid; border-top: var(--rule-hair) solid var(--color-rule); }+.sign > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }+.sign dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.sign dd { margin: 0; color: var(--color-ink-2); }+.sign dd.amber { color: var(--color-accent); }+.sign dd.cool { color: var(--color-cool); }+.sign__why { font-size: var(--text-title); line-height: 1.25; color: var(--color-ink) !important; }/* what did it say before: a diff */.before { padding-top: var(--section-gap-l); }+.before__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }+.before__text { grid-column: 1 / 8; display: grid; gap: var(--space-md); }+.before__head .seg { grid-column: 8 / 13; justify-self: end; }+.seg { display: inline-flex; gap: var(--rule-hair); padding: 0; background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); overflow: hidden; }+.seg button { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; padding: 0 var(--space-md); border: 0; background: var(--color-paper-2); color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }+.seg button .m { font-size: var(--text-sm); color: inherit; }+.seg button:hover { background: var(--color-paper-3); color: var(--color-ink); }+.seg button[aria-selected="true"] { background: var(--color-paper-3); color: var(--color-cool); box-shadow: inset 0 -2px 0 var(--color-cool); }+.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }.compare { grid-template-columns: minmax(0, 1fr); }-.compare__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--space-lg); }+.compare__count { font-size: var(--text-sm); color: var(--color-muted); }+.compare__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding: var(--space-md) var(--space-lg); }.compare__name { font-size: var(--text-lg); font-weight: 500; color: var(--color-ink); letter-spacing: var(--tracking-display); }-.vers { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2xs); }-.vers li { display: grid; place-items: center; min-width: 48px; min-height: 32px; border: var(--rule-hair) solid var(--color-rule); border-radius: 4px; }-.vers li .m { color: var(--color-muted); }-.vers li.is-pick { background: var(--color-cool-soft); border-color: var(--color-cool-soft); }-.vers li.is-pick .m { color: var(--color-cool); }.diff { width: 100%; border-collapse: collapse; table-layout: fixed; }.diff th:first-child { width: 3.5rem; }.diff th:nth-child(2) { width: 26%; }@@ -121,7 +137,7 @@ q { quotes: "“" "”"; }.diff .is-changed .g { background: var(--color-paper-3); }.diff .was { background: var(--color-bad-soft); }.diff .now { background: var(--color-ok-soft); }-.between { list-style: none; margin: 0; padding: var(--space-md) var(--space-lg); display: grid; gap: var(--space-sm); }+.between { list-style: none; margin: 0; padding: var(--space-lg); display: grid; gap: var(--space-sm); }.between li { display: grid; grid-template-columns: 3.5rem 8rem 5rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; }.between q { color: var(--color-ink); }@@ -137,6 +153,8 @@ q { quotes: "“" "”"; }.trail li:last-child { border-bottom: 0; }.trail li::before { content: ""; position: absolute; left: calc(-1 * var(--space-xl) - 4px); top: calc(var(--space-md) + 8px); width: 7px; height: 7px; border-radius: 50%; background: var(--color-paper); border: var(--rule-hair) solid var(--color-cool); }.trail li:first-child::before { background: var(--color-cool); }+.trail li { transition: background-color var(--dur-short) var(--ease-out); }+.trail li:hover::before { background: var(--color-cool); }.trail__top { display: flex; align-items: baseline; gap: var(--space-sm); color: var(--color-ink); font-size: var(--text-lg); }.trail__top b { font-weight: 500; }.trail__why { color: var(--color-ink-2); }@@ -144,6 +162,9 @@ q { quotes: "“" "”"; }/* try: the person's half beside the system's half */.try { padding-top: var(--section-gap); }+.try__text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }+.try__text h2 { grid-column: 1 / 7; }+.try__text .lead { grid-column: 8 / 13; max-width: 40ch; }.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }.pair__who { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-xl); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }.pair__you { display: grid; align-content: start; gap: var(--space-lg); padding: var(--space-xl); }@@ -169,16 +190,19 @@ textarea.input { min-height: 6rem; padding: var(--space-sm) var(--space-md); res.pair__parts dd.amber { color: var(--color-accent); }.pair__parts dd.cool { color: var(--color-cool); }-/* request access: the band */-.access { margin-top: var(--section-gap-l); background: var(--color-paper-3); color: var(--color-ink); padding-block: var(--section-gap-s); border-block: var(--rule-hair) solid var(--color-rule); }-.access__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: end; }-.access__text { display: grid; gap: var(--space-md); }-.access .input { background: var(--color-paper); }-.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: var(--space-sm); align-items: end; }-.signup__help { grid-column: 1 / -1; min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }+/* questions: the head on four columns, the answers on eight, the last one holding the action */+.questions { padding-block: var(--section-gap-l) var(--section-gap); }+.questions__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.questions__grid h2 { grid-column: 1 / 5; max-width: 9ch; position: sticky; top: var(--space-2xl); }+.qa { grid-column: 5 / 13; margin: 0; display: grid; border-top: var(--rule-hair) solid var(--color-rule-2); }+.qa > div { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }+.qa dt { grid-column: 1 / 5; font-size: var(--text-title); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: var(--color-ink); }+.qa dd { grid-column: 5 / 9; margin: 0; color: var(--color-ink-2); }+.qa__last { border-bottom-color: var(--color-rule-2) !important; }+.qa__last dd { display: grid; justify-items: start; gap: var(--space-md); }/* footer: a letter close */-.foot { padding-block: var(--section-gap-s) var(--space-2xl); }+.foot { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-paper-3); border-top: var(--rule-hair) solid var(--color-rule); }.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: baseline; }.foot__sign { margin: 0; font-family: var(--font-display); font-size: var(--text-section); font-weight: 500; letter-spacing: var(--tracking-display); line-height: 1.05; color: var(--color-ink); }.foot__date { color: var(--color-ink-2); }@@ -191,13 +215,16 @@ textarea.input { min-height: 6rem; padding: var(--space-sm) var(--space-md); res.foot__credit a:hover { text-decoration-color: currentColor; }@media (max-width: 60rem) {+ .bar { grid-template-columns: minmax(0, 1fr) auto; }+ .bar__links { display: none; }.hero { min-height: 0; padding-block: var(--space-2xl); }- .hero__grid, .week__grid, .pair, .access__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .hero__grid, .week__grid, .pair { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .reading, .reason__side, .before__text, .before__head .seg, .try__text h2, .try__text .lead, .questions__grid h2, .qa { grid-column: 1 / -1; }+ .reason__side { margin-top: var(--space-2xl); padding-left: 0; border-left: 0; }+ .before__head .seg { justify-self: start; margin-top: var(--space-lg); }+ .try__text .lead { margin-top: var(--space-md); }+ .questions__grid h2 { position: static; max-width: none; margin-bottom: var(--space-xl); }.pair { row-gap: var(--rule-hair); }- .split-head h2, .split-head .lead { grid-column: 1 / -1; }- .split-head .lead { margin-top: var(--space-md); }- .reading__now { grid-column: 1 / -1; }- .reading__sign { grid-column: 1 / -1; margin-top: var(--space-xl); }.between li { grid-template-columns: 3.5rem 8rem minmax(0, 1fr); }.between q { grid-column: 1 / -1; }.week__frame { aspect-ratio: 4 / 3; }@@ -217,7 +244,11 @@ textarea.input { min-height: 6rem; padding: var(--space-sm) var(--space-md); res.between li { grid-template-columns: 3rem minmax(0, 1fr); }.between li > :nth-child(3) { display: none; }.pair__you, .pair > .pair__system { padding: var(--space-lg); }- .signup { grid-template-columns: minmax(0, 1fr); }+ .ask__row { grid-template-columns: minmax(0, 1fr); }+ .seg { width: 100%; }+ .seg button { flex: 1; justify-content: center; padding: 0 var(--space-xs); }+ .qa > div { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); padding-block: var(--space-lg); }+ .qa dt, .qa dd { grid-column: 1 / -1; }.foot__in { grid-template-columns: minmax(0, 1fr); }.week__frame { aspect-ratio: 4 / 5; }}diff --git a/site/themes/coral/index.html b/site/themes/coral/index.htmlindex f47cdc8..6f048f5 100644--- a/site/themes/coral/index.html+++ b/site/themes/coral/index.html@@ -19,6 +19,7 @@<div class="container site__in"><a class="wordmark" href="#top" aria-label="Tilly, back to the top">Tilly</a><nav class="site__nav" aria-label="Page">+ <a class="site__link" href="#chase">How it chases</a><a class="site__link" href="#cost">Pricing</a><a class="btn btn--secondary btn--sm" href="#start">Sign up</a></nav>@@ -32,9 +33,10 @@<h1 id="hero-head">Never write<br><span class="hang">“</span>following up”<br>again.</h1><p class="lead">Invoicing for freelancers that sends reminders, logs replies and marks invoices paid.</p><div class="actions">- <a class="btn btn--primary" href="#start">Start for £8 a month</a>- <a class="btn btn--secondary" href="#receive">See a reminder</a>+ <a class="btn btn--primary" href="#start">Start invoicing</a>+ <a class="btn btn--secondary" href="#chase">See how it chases</a></div>+ <p class="hero__terms">£8 a month, one plan.</p></div><figure class="slot app app--hero lifted" data-slot="hero" data-alt="Your invoices screen, with one late invoice being chased" role="img" aria-label="The Tilly invoices screen: invoice 0042 for Example Kitchen, 380 pounds, due on 2 October, is being chased; its first reminder went on 5 October and the second this morning.">@@ -73,16 +75,64 @@</div></section>- <section class="q q--work" id="chase" aria-labelledby="q1">- <div class="container split split--work">- <div class="split__text">+ <section class="q q--chase" id="chase" aria-labelledby="q1">+ <div class="container">+ <div class="q__head"><h2 id="q1">Do I still have to chase?</h2>- <p class="lead">No. Tilly writes to the client while you get on with the work.</p>+ <p class="lead">No. Here is one late invoice, from the first reminder to paid.</p>+ </div>+ <div class="pin" data-pin>+ <figure class="slot app app--thread lifted pin__visual" data-slot="demo-3" data-alt="One invoice's history in Tilly, from the first reminder to paid" data-step="3" role="img" aria-label="Invoice 0044 for Example Films, 2,150 pounds, in Tilly: due on 30 September, reminder 1 sent on 3 October, the client's reply logged the same morning, then marked paid on 10 October.">+ <div class="ui" aria-hidden="true">+ <div class="ui__bar">+ <span class="ui__mark">Tilly</span>+ <span class="ui__chips"><span class="ui__chip is-on">Invoices</span><span class="ui__chip">Clients</span><span class="ui__chip">Replies</span></span>+ <span class="ui__input"><svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>Search invoices</span>+ </div>+ <div class="inbox">+ <div class="inbox__list">+ <div class="inbox__item is-on"><b>Example Films</b><span class="fig">0044</span><span class="inbox__state"><i class="status status--late" data-at="1">Chasing</i><i class="status" data-at="2">Reply logged</i><i class="status status--done" data-at="3">Paid</i></span></div>+ <div class="inbox__item"><b>Example Press</b><span class="fig">0045</span><span class="inbox__state"><i class="status">Sent</i></span></div>+ <div class="inbox__item"><b>Example Kitchen</b><span class="fig">0042</span><span class="inbox__state"><i class="status status--late">Chasing</i></span></div>+ <div class="inbox__item"><b>Example Bakery</b><span class="fig">0041</span><span class="inbox__state"><i class="status status--done">Paid</i></span></div>+ <div class="inbox__item"><b>Example Gallery</b><span class="fig">0040</span><span class="inbox__state"><i class="status status--done">Paid</i></span></div>+ </div>+ <div class="thread">+ <div class="thread__head">+ <span class="thread__who">Example Films</span>+ <span class="thread__what">Invoice <b class="fig">0044</b><b class="fig">£2,150.00</b></span>+ </div>+ <ol class="thread__steps">+ <li><svg viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg><span>Sent</span><b class="fig">16 Sep</b></li>+ <li><svg viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg><span>Due</span><b class="fig late">30 Sep</b></li>+ <li data-at="1"><svg viewBox="0 0 24 24"><path d="m22 2-7 20-4-9-9-4Z"/><path d="M22 2 11 13"/></svg><span>Reminder 1 sent by Tilly</span><b class="fig">3 Oct, 09:00</b></li>+ <li data-at="2" class="is-reply"><svg viewBox="0 0 24 24"><polyline points="9 17 4 12 9 7"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg><span>Reply logged</span><b class="fig">3 Oct, 11:42</b>+ <blockquote class="thread__quote"><p>Sorry, this slipped through. We’ll pay on Friday.</p><cite>[email protected]</cite></blockquote>+ </li>+ <li data-at="3" class="is-paid"><svg viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg><span>Marked paid, reminders stopped</span><b class="fig">10 Oct</b></li>+ </ol>+ </div>+ </div>+ </div>+ </figure>+ <ol class="pin__panels" role="list">+ <li class="pin__panel" data-step="1">+ <h3>It sends the reminders</h3>+ <p class="pin__hand">On your own, you notice it’s late and draft a careful email.</p>+ <p class="pin__tilly">Tilly writes the reminder and sends it for you.</p>+ </li>+ <li class="pin__panel" data-step="2">+ <h3>It logs the replies</h3>+ <p class="pin__hand">On your own, answers land in your inbox with everything else.</p>+ <p class="pin__tilly">Tilly files each reply with the invoice it answers.</p>+ </li>+ <li class="pin__panel" data-step="3">+ <h3>It marks it paid</h3>+ <p class="pin__hand">On your own, you update your records and hope nothing slipped.</p>+ <p class="pin__tilly">Tilly marks the invoice paid, and the asking stops.</p>+ </li>+ </ol></div>- <figure class="photo" data-slot="photo-1" data-alt="Your own work in progress: the desk, bench or studio you invoice from">- <img src="photos/florist-working-1920.jpg" width="1920" height="1280" loading="lazy" decoding="async"- style="object-position: 55% 45%" alt="Hands gathering green stems into a bouquet at a flower shop counter">- </figure></div></section>@@ -130,102 +180,25 @@</div></section>- <section class="q q--who" id="who" aria-labelledby="q-who">- <div class="container">- <div class="q__head q__head--split">- <h2 id="q-who">Who does the asking?</h2>- <p class="lead">The same three jobs, by hand and by Tilly.</p>- </div>- <table class="compare">- <thead>- <tr><th scope="col">The job</th><th scope="col">On your own</th><th scope="col">With Tilly</th></tr>- </thead>- <tbody>- <tr><th scope="row">Sending reminders</th><td>You spot that it’s late, then draft a careful email.</td><td><i class="status status--late">Chasing</i><span>Tilly writes and sends them.</span></td></tr>- <tr><th scope="row">Reading replies</th><td>Answers land in your inbox with everything else.</td><td><i class="status">Reply logged</i><span>Filed with the invoice they answer.</span></td></tr>- <tr><th scope="row">Marking it paid</th><td>You check the bank and update your records.</td><td><i class="status status--done">Paid</i><span>Marked paid, and the asking stops.</span></td></tr>- </tbody>- </table>- </div>- </section>-- <section class="q q--replies" id="replies" aria-labelledby="q3">- <div class="container split split--replies">- <figure class="slot app app--replies lifted" data-slot="demo-3" data-alt="Your replies screen, with a client's answer filed under its invoice" role="img" aria-label="The Tilly replies screen: Example Films answered the first reminder for invoice 0044 on 3 October, sorry, this slipped through, we will pay on Friday, and the reply sits in the invoice's history under that reminder.">- <div class="ui" aria-hidden="true">- <div class="ui__bar">- <span class="ui__mark">Tilly</span>- <span class="ui__chips"><span class="ui__chip">Invoices</span><span class="ui__chip">Clients</span><span class="ui__chip is-on">Replies<b class="ui__badge">2</b></span></span>- <span class="ui__input"><svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>Search replies</span>- </div>- <div class="inbox">- <div class="inbox__list">- <div class="inbox__item is-on"><b>Example Films</b><span class="fig">0044</span><span class="fig inbox__date">3 Oct</span><span class="inbox__line">“Sorry, this slipped through…”</span></div>- <div class="inbox__item"><b>Example Bakery</b><span class="fig">0041</span><span class="fig inbox__date">30 Sep</span><span class="inbox__line">“Paying this week.”</span></div>- <div class="inbox__item"><b>Example Theatre</b><span class="fig">0039</span><span class="fig inbox__date">15 Sep</span><span class="inbox__line">“Can we settle on the 20th?”</span></div>- <div class="inbox__item"><b>Example Gallery</b><span class="fig">0040</span><span class="fig inbox__date">22 Sep</span><span class="inbox__line">“Paid this morning, thank you.”</span></div>- </div>- <div class="thread">- <div class="thread__head">- <span class="thread__who">Example Films</span>- <span class="thread__what">Invoice <b class="fig">0044</b><b class="fig">£2,150.00</b></span>- <i class="status">Reply logged</i>- </div>- <ol class="thread__steps">- <li><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg><span>Sent</span><b class="fig">16 Sep</b></li>- <li><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg><span>Due</span><b class="fig late">30 Sep</b></li>- <li><svg aria-hidden="true" viewBox="0 0 24 24"><path d="m22 2-7 20-4-9-9-4Z"/><path d="M22 2 11 13"/></svg><span>Reminder 1 sent</span><b class="fig">3 Oct, 09:00</b></li>- <li class="is-reply"><svg aria-hidden="true" viewBox="0 0 24 24"><polyline points="9 17 4 12 9 7"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg><span>Reply logged</span><b class="fig">3 Oct, 11:42</b>- <blockquote class="thread__quote"><p>Sorry, this slipped through. We’ll pay on Friday.</p><cite>[email protected]</cite></blockquote>- </li>- </ol>- </div>- </div>- </div>+ <section class="band offer" id="cost" aria-labelledby="q5">+ <div class="container offer__grid">+ <figure class="photo photo--offer" data-slot="photo-1" data-alt="Your own work in progress: the desk, bench or studio you invoice from">+ <img src="photos/florist-working-1920.jpg" width="1920" height="1280" loading="lazy" decoding="async"+ style="object-position: 62% 50%" alt="Hands gathering green stems into a bouquet at a flower shop counter"></figure>- <div class="split__text">- <h2 id="q3">What if they write back?</h2>- <p class="lead">Tilly files the reply with the invoice it answers, beside every reminder that went out.</p>- </div>- </div>- </section>-- <section class="q q--paid" id="paid" aria-labelledby="q4">- <div class="container rows">- <div class="rows__head">- <h2 id="q4">When does the chasing stop?</h2>- <p class="lead">When it’s paid. Tilly marks the invoice and stops asking.</p>- </div>- <ol class="life" aria-label="Invoice 0041, from sent to paid">- <li><span class="fig life__date">12 Sep</span><span class="life__what">Invoice 0041 sent to Example Bakery</span><i class="status">Sent</i></li>- <li><span class="fig life__date">26 Sep</span><span class="life__what">Due date passes, £960.00 owed</span><i class="status status--late">Overdue</i></li>- <li><span class="fig life__date">29 Sep</span><span class="life__what">Reminder 1 goes out</span><i class="status status--late">Chasing</i></li>- <li><span class="fig life__date">30 Sep</span><span class="life__what">Reply logged: “Paying this week.”</span><i class="status">Reply logged</i></li>- <li><span class="fig life__date">3 Oct</span><span class="life__what">Marked paid</span><i class="status status--done">Paid</i></li>- </ol>- </div>- </section>-- <section class="band" id="cost" aria-labelledby="q5">- <div class="container band__grid">- <div class="band__text">+ <div class="offer__box" id="start"><h2 id="q5">What does it cost?</h2><p class="price"><span class="price__fig">£8</span><span class="price__unit">a month</span></p>- </div>- <div class="band__side"><ul class="inc" role="list" aria-label="What the £8 pays for">- <li>Reminders written and sent</li>- <li>Replies logged with the invoice</li>- <li>Invoices marked paid</li>+ <li>Invoices sent from Tilly</li>+ <li>Reminders written and sent for you</li>+ <li>Replies filed with their invoice</li>+ <li>Paid invoices marked and closed</li></ul>- <form class="signup" id="start" data-endpoint="" novalidate>- <label for="email">Start with your next invoice</label>- <div class="signup__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-describedby="email-help" placeholder="[email protected]">- <button class="btn btn--invert" type="submit">Start for £8 a month</button>- </div>- <p class="signup__help" id="email-help" aria-live="polite"></p>- </form>+ <div class="offer__act">+ <a class="btn btn--invert" href="#start" data-needs-url="signup">Start for £8 a month</a>+ <p class="offer__terms">Start with your next invoice.</p>+ </div></div></div></section>@@ -237,9 +210,8 @@<div class="close__row"><a class="wordmark" href="#top" aria-label="Tilly, back to the top">Tilly</a><nav class="close__links" aria-label="Footer">+ <a href="#chase">How it chases</a><a href="#receive">What clients get</a>- <a href="#who">Who asks</a>- <a href="#replies">Replies</a><a href="#cost">Pricing</a></nav><p class="close__legal">© 2026 Tilly. Invoicing for freelancers.</p>@@ -251,20 +223,16 @@<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });-document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const input = form.querySelector('input'), help = form.querySelector('[aria-live]'), button = form.querySelector('button');- form.addEventListener('submit', (e) => {- e.preventDefault();- const ok = input.checkValidity();- input.toggleAttribute('aria-invalid', !ok);- if (!ok) { help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- button.setAttribute('aria-busy', 'true');- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'Tilly will write to ' + input.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })- .finally(() => button.removeAttribute('aria-busy'));- });+document.documentElement.classList.add('js');+/* The pinned run: the panel nearest the middle of the screen sets the invoice's state */+document.querySelectorAll('[data-pin]').forEach((pin) => {+ const fig = pin.querySelector('.pin__visual'), panels = [...pin.querySelectorAll('.pin__panel')];+ const wide = matchMedia('(min-width: 60rem)');+ const set = (n) => { fig.dataset.step = n; panels.forEach((p) => p.classList.toggle('is-on', p.dataset.step === String(n))); };+ const io = new IntersectionObserver((es) => es.forEach((e) => { if (e.isIntersecting && wide.matches) set(e.target.dataset.step); }), { rootMargin: '-45% 0px -45% 0px' });+ panels.forEach((p) => io.observe(p));+ const sync = () => set(wide.matches ? (panels.find((p) => p.classList.contains('is-on')) || panels[0]).dataset.step : 3);+ wide.addEventListener('change', sync); sync();});</script></body>diff --git a/site/themes/coral/style.css b/site/themes/coral/style.cssindex 6701fff..72475f5 100644--- a/site/themes/coral/style.css+++ b/site/themes/coral/style.css@@ -1,6 +1,6 @@-/* Hallmark · shape: Conversational FAQ, opened by the product · genre: modern-minimal · theme: Coral (by request)- * hero: Stage · nav: edge-aligned, the wordmark at the left, one link and one outlined pill at the right · footer: statement, one closing sentence over the links · imagery: product sample in hero, demo-2 and demo-3, photographs library 1 muted sepia=8 · signature: invoice 0042 being chased, live in the hero- * sections: hero Stage, split with a photograph, showcase of the client's side on a paper well, comparison table, split with the replies screen, one invoice's life as rows, the price on the ink band, footer statement+/* Hallmark · job: sign up · shape: Conversational FAQ, opened by the product · genre: modern-minimal · theme: Coral (by request)+ * hero: Stage, terms line under the actions · nav: edge-aligned, two links and an outlined Sign up pill · footer: statement, one closing sentence over the links · imagery: product sample in hero, demo-2 and demo-3, photographs library 1 muted sepia=8 · samples: clients, invoice numbers, amounts and dates in the built screens are Example placeholders · signature: invoice 0042 being chased, live in the hero+ * sections: hero Stage, Pinned run (one invoice held still while sends, logs and marks paid scroll past, by hand struck through beside Tilly), Showcase of the client's side on a paper well, Offer on the ink band (photograph, the lone price, what it pays for, the start action), footer statement* axes: light/grotesk-sans/warm · posture: restrained · contrast: pass · fold: pass · v2.8.0 */@import url("./tokens.css");@import url("./base.css");@@ -14,7 +14,7 @@.site__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }.wordmark { font: var(--display-weight) var(--text-xl)/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; color: var(--color-ink); }.site__nav { display: flex; align-items: center; gap: var(--space-lg); }-.site__link { font-weight: 500; text-decoration: none; text-decoration-color: transparent; transition: text-decoration-color var(--dur-short) var(--ease-out); }+.site__link { white-space: nowrap; font-weight: 500; text-decoration: none; text-decoration-color: transparent; transition: text-decoration-color var(--dur-short) var(--ease-out); }.site__link:hover { text-decoration: underline; text-decoration-color: var(--color-accent-2); text-underline-offset: 0.3em; }.wordmark:focus-visible, .site__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: var(--space-2xs); border-radius: var(--space-3xs); }@@ -37,6 +37,7 @@.hero h1 { max-width: none; line-height: 1.02; }.hang { margin-left: -0.46em; }.hero .lead { max-width: 34ch; color: var(--color-ink-2); }+.hero__terms { margin-top: calc(-1 * var(--space-xs)); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }/* The built product: one picture that scales as a whole; every inner length is in em of a design pixel times ten */@@ -88,36 +89,14 @@.chase__note { margin-left: auto; color: var(--color-muted); font-weight: 400; }/* The questions, in the order a freelancer asks them */-.q--work { padding-top: var(--section-gap-s); }-.q--receive { margin-top: var(--section-gap); padding-block: var(--section-gap-s); }+.q--chase { padding-block: var(--section-gap-s) var(--section-gap); }+.q--receive { padding-block: var(--section-gap-s); }.well-band { background: var(--color-paper-2); }-.q--who { padding-top: var(--section-gap); }-.q--replies { padding-top: var(--section-gap); }-.q--paid { padding-block: var(--section-gap-l) var(--section-gap); }.q__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }.q__head--split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }.q__head--split h2 { grid-column: 1 / span 6; }.q__head--split .lead { grid-column: 8 / span 5; color: var(--color-ink-2); }-/* Who does the asking: the job by hand against the job by Tilly */-.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }-.compare thead th { padding: 0 0 var(--space-md); text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }-.compare thead th:first-child { width: 30%; }-.compare tbody tr { border-top: 1px solid var(--color-rule); }-.compare tbody tr:first-child { border-top-color: var(--color-ink); }-.compare tbody tr:last-child { border-bottom: 1px solid var(--color-rule); }-.compare tbody th, .compare td { padding: var(--space-xl) var(--space-lg) var(--space-xl) 0; text-align: left; vertical-align: top; }-.compare tbody th { font-size: var(--text-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }-.compare td { font-size: var(--text-lead); line-height: 1.4; color: var(--color-muted); }-.compare td:last-child { display: grid; justify-items: start; gap: var(--space-sm); color: var(--color-ink); font-weight: 500; }-.compare .status { font-size: var(--text-sm); }-.split, .rows, .band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }-.split { align-items: center; }-.split__text { display: grid; gap: var(--space-md); align-content: center; }-.split--work .split__text { grid-column: 1 / span 5; }-.split--work .photo { grid-column: 6 / span 7; }-.split--replies .app--replies { grid-column: 1 / span 8; }-.split--replies .split__text { grid-column: 9 / span 4; }.photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); }.photo > img { border-radius: inherit; outline: 1px solid color-mix(in oklab, var(--color-ink) 6%, transparent); outline-offset: -1px; }@@ -155,23 +134,41 @@.inv__lines .inv__total { border-bottom: 0; font-weight: 600; }.inv__pay { font-size: 1.35em; color: var(--color-muted); }-/* The replies screen */-.app--replies { aspect-ratio: 864 / 500; }-.app--replies .ui { font-size: calc(100cqi / 86.4); }-.inbox { flex: 1; display: grid; grid-template-columns: 30em minmax(0, 1fr); min-height: 0; }+/* The pinned run: one invoice's history held still while three moments scroll past it */+.pin { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.pin__visual { grid-column: 1 / span 7; position: sticky; top: max(var(--space-2xl), calc(50dvh - 280px)); }+.pin__panels { grid-column: 9 / span 4; margin: 0; padding: 0; list-style: none; }+.pin__panel { display: grid; align-content: center; gap: var(--space-md); min-height: 62dvh; padding-left: var(--space-lg); border-left: 1px solid var(--color-rule); transition: border-color var(--dur-long) var(--ease-out); }+.pin__panel:first-child { min-height: 540px; align-content: start; padding-top: var(--space-3xl); }+.pin__panel:last-child { min-height: 540px; align-content: end; padding-bottom: var(--space-3xl); }+.pin__panel h3 { font-size: var(--text-title); letter-spacing: -0.02em; }+.pin__hand { color: var(--color-muted); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--color-muted) 45%, transparent); text-decoration-thickness: 1px; }+.pin__tilly { font-size: var(--text-lead); font-weight: 500; line-height: 1.4; }+@media (min-width: 60rem) {+ .js .pin__panel:not(.is-on) > * { opacity: 0.42; transition: opacity var(--dur-long) var(--ease-out); }+ .js .pin__panel.is-on { border-left-color: var(--color-ink); }+}+.app--thread { aspect-ratio: 74 / 55; }+.app--thread .ui { font-size: calc(100cqi / 74); }+.inbox { flex: 1; display: grid; grid-template-columns: 27em minmax(0, 1fr); min-height: 0; }+.inbox__state { grid-column: 2; grid-row: 2; justify-self: end; }+.inbox__state .status { font-size: 0.85em; }+[data-step] [data-at] { transition: opacity var(--dur-long) var(--ease-out), background-color var(--dur-long) var(--ease-out); }+.inbox__state [data-at] { display: none; }+[data-step="1"] .inbox__state [data-at="1"], [data-step="2"] .inbox__state [data-at="2"], [data-step="3"] .inbox__state [data-at="3"] { display: inline-block; }+[data-step="1"] .thread__steps [data-at="2"], [data-step="1"] .thread__steps [data-at="3"], [data-step="2"] .thread__steps [data-at="3"] { opacity: 0.22; }+[data-step="1"] .thread__steps [data-at="1"], [data-step="2"] .thread__steps [data-at="2"], [data-step="3"] .thread__steps [data-at="3"] { margin-inline: -1em; padding-inline: 1em; border-radius: 0.6em; border-bottom-color: transparent; background: color-mix(in oklab, var(--color-accent) 16%, var(--color-paper)); }+.thread__steps .is-paid svg { color: var(--color-ink); }.inbox__list { display: grid; align-content: start; gap: 0.4em; padding: 1.4em 1.2em; border-right: 1px solid var(--color-rule); }-.inbox__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35em 1em; padding: 1.1em 1.3em; border-radius: 0.6em; font-size: 1.35em; }+.inbox__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.35em 1em; padding: 1.1em 1.3em; border-radius: 0.6em; font-size: 1.35em; }.inbox__item b { font-weight: 600; }.inbox__item .fig { grid-row: 2; color: var(--color-muted); }-.inbox__date { grid-column: 2; grid-row: 1; color: var(--color-muted); }-.inbox__line { grid-column: 1 / -1; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.inbox__item.is-on { background: var(--color-paper-2); }.thread { display: grid; align-content: start; gap: 2.4em; padding: 2.8em 3.2em; }-.thread__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.5em 1em; }+.thread__head { display: grid; gap: 0.5em; }.thread__who { font-size: 2.4em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }-.thread__what { grid-row: 2; display: flex; gap: 1em; font-size: 1.4em; color: var(--color-muted); }+.thread__what { display: flex; gap: 1em; font-size: 1.4em; color: var(--color-muted); }.thread__what b { color: var(--color-ink); font-weight: 400; }-.thread__head .status { grid-row: 1 / span 2; grid-column: 2; font-size: 1.3em; }.thread__steps { list-style: none; margin: 0; padding: 0; font-size: 1.45em; border-top: 1px solid var(--color-ink); }.thread__steps li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr) auto; align-items: center; column-gap: 0.8em; padding: 0.85em 0; border-bottom: 1px solid var(--color-rule); }.thread__steps svg { width: 1.1em; height: 1.1em; color: var(--color-muted); }@@ -182,36 +179,21 @@.thread__quote p { margin: 0; color: var(--color-ink); line-height: 1.45; }.thread__quote cite { display: block; margin-top: 0.5em; font-size: 0.85em; font-style: normal; color: var(--color-muted); }-/* One invoice from sent to paid, as rows */-.rows { align-items: start; }-.rows__head { grid-column: 1 / span 4; display: grid; gap: var(--space-md); }-.life { grid-column: 5 / span 8; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink); }-.life li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: center; column-gap: var(--gap-columns); min-height: 88px; border-bottom: 1px solid var(--color-rule); }-.life__date { font-size: var(--text-lead); color: var(--color-muted); }-.life__what { font-size: var(--text-title); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }-.life .status { font-size: var(--text-sm); }--/* The price, on the one ink band: the figure huge, what it pays for beside it */-.band { margin-top: var(--section-gap-s); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }-.band__grid { align-items: stretch; }-.band__text { grid-column: 1 / span 6; display: grid; gap: var(--space-xl); align-content: space-between; }+/* The offer, on the one ink band: the work it buys time for, then the price, what it pays for and the action */+.band { padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }+.offer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: stretch; }+.photo--offer { grid-column: 1 / span 5; aspect-ratio: 4 / 5; min-height: 440px; }+.photo--offer > img { outline-color: color-mix(in oklab, var(--color-paper) 10%, transparent); }+.offer__box { grid-column: 7 / span 6; display: grid; align-content: space-between; gap: var(--space-xl); min-width: 0; scroll-margin-top: var(--space-3xl); }.band h2 { color: var(--color-paper); }.price { display: flex; align-items: baseline; gap: var(--space-md); color: var(--color-paper); }-.price__fig { font: var(--display-weight) clamp(8rem, 19vw, 17rem)/0.85 var(--font-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; margin-left: -0.04em; }+.price__fig { font: var(--display-weight) clamp(8rem, 17vw, 15rem)/0.85 var(--font-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; margin-left: -0.04em; }.price__unit { font-variant-numeric: tabular-nums; font-size: var(--text-title); font-weight: 500; color: var(--color-paper-3); }-.band__side { grid-column: 8 / span 5; display: grid; gap: var(--space-2xl); min-width: 0; }.inc { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-paper); }.inc li { padding-block: var(--space-md); border-bottom: 1px solid color-mix(in oklab, var(--color-paper) 22%, transparent); font-size: var(--text-lead); font-weight: 500; }-.signup { display: grid; gap: var(--space-xs); min-width: 0; }-.signup label { font-size: var(--text-sm); font-weight: 500; color: var(--color-paper-3); }-.signup__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }-.signup input { flex: 1 1 12rem; min-width: 0; width: 100%; height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }-.signup input::placeholder { color: var(--color-muted); }-.signup input:hover { background: var(--color-paper-2); }-.signup input:focus-visible { outline-color: var(--color-focus); }-.signup input[aria-invalid] { border-color: var(--color-error); }-.signup input:disabled { opacity: 0.55; cursor: not-allowed; }-.signup__help { min-height: 1lh; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-paper-3); }+.offer__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }+.offer__terms { font-size: var(--text-sm); font-weight: 500; color: var(--color-paper-3); }+.btn--invert:focus-visible { outline-color: var(--color-paper); }.btn--invert { background: var(--color-paper); color: var(--color-ink); }.btn--invert:hover { background: var(--color-paper-2); }@@ -232,7 +214,7 @@@container (max-width: 40rem) {.client__in { font-size: calc(100cqi / 48); padding: 1.2em; }.inv, .inbox__list { display: none; }- .app--replies .ui { font-size: calc(100cqi / 48); }+ .app--thread .ui { font-size: calc(100cqi / 48); }.inbox { grid-template-columns: minmax(0, 1fr); }.thread { padding: 2em; }}@@ -244,21 +226,17 @@.ledger__row > :nth-child(1), .ledger__row > :nth-child(3), .ledger__row:nth-child(n+8) { display: none; }.chase { flex-wrap: wrap; row-gap: 0.6em; }}-@media (max-width: 40rem) { .app--hero { aspect-ratio: 4 / 5; } .app--replies { aspect-ratio: 1 / 1; } .hang { margin-left: -0.3em; } .life li { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-2xs); padding-block: var(--space-md); } .life__date { grid-column: 1 / -1; } }+@media (max-width: 40rem) { .app--hero { aspect-ratio: 4 / 5; } .app--thread { aspect-ratio: auto; } .app--thread .thread { padding-bottom: 2.4em; } .hang { margin-left: -0.3em; } .price__fig { font-size: 7rem; } .site__link[href="#chase"] { display: none; } }@media (max-width: 60rem) {.hero { min-height: 0; padding-block: var(--space-xl) var(--space-3xl); }.hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .split, .rows, .band__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .split > *, .rows > *, .band__grid > *, .split--work .split__text, .split--work .photo, .split--replies .app--replies, .split--replies .split__text, .rows__head, .life, .band__text, .signup { grid-column: 1 / -1; }- .split--replies .split__text { order: -1; }+ .pin, .offer__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .pin > *, .offer__grid > * { grid-column: 1 / -1; }+ .pin__visual { position: static; }+ .pin__panel, .pin__panel:first-child, .pin__panel:last-child { min-height: 0; padding: var(--space-lg) 0; border-left: 0; border-top: 1px solid var(--color-rule); align-content: start; }+ .photo--offer { aspect-ratio: 4 / 3; min-height: 0; }.q__head--split { grid-template-columns: minmax(0, 1fr); }- .q__head--split h2, .q__head--split .lead, .band__side { grid-column: 1 / -1; }- .compare thead { display: none; }- .compare, .compare tbody, .compare tr, .compare tbody th, .compare td { display: block; width: auto; }- .compare tbody th { padding: var(--space-lg) 0 var(--space-xs); }- .compare td { padding: 0 0 var(--space-sm); font-size: var(--text-md); }- .compare td:last-child { padding-bottom: var(--space-lg); }+ .q__head--split h2, .q__head--split .lead { grid-column: 1 / -1; }.close__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }- .life li { min-height: 72px; }}diff --git a/site/themes/darkroom/index.html b/site/themes/darkroom/index.htmlindex 1f4828e..7ec00bc 100644--- a/site/themes/darkroom/index.html+++ b/site/themes/darkroom/index.html@@ -18,9 +18,9 @@<a class="wordmark" href="#top" aria-label="Inés Calvo, back to the top">Inés Calvo</a><nav aria-label="Sections"><ul>- <li><a href="#plates">Low Water</a></li>- <li><a href="#sheet">The sheet</a></li>- <li><a href="#enquire">Enquire</a></li>+ <li><a href="#plates">The plates</a></li>+ <li><a href="#edition">The edition</a></li>+ <li><a class="nav__act" href="#print">Ask for a print</a></li></ul></nav></div>@@ -37,7 +37,7 @@<div class="hero__side"><p class="lead">A new series by Inés Calvo, on <span class="nowrap">black-and-white</span> film.</p><div class="actions">- <a class="btn btn--primary" href="#enquire" data-plate="01">Enquire about a print</a>+ <a class="btn btn--primary" href="#print">Choose a print</a><a class="btn" href="#plates">See the plates</a></div><p class="hero__cap">Plate 01</p>@@ -48,100 +48,99 @@<section class="series" id="plates" aria-labelledby="series-title"><div class="container series__head"><h2 id="series-title">The Guadalquivir in August</h2>- <p class="lead">Twelve plates, made when the river runs at its lowest.</p>- </div>- <a class="plate plate--wide" href="#enquire" data-plate="02" aria-label="Plate 02, ask about a print">- <span class="plate__img" data-slot="plate-02" data-alt="Plate 02 of Low Water, printed across the full width">- <img src="photos/fisherman-at-gullmarsvik-mudflats-1920.jpg" width="1920" height="1080" loading="lazy" decoding="async" style="object-position: 50% 10%"- alt="A lone figure wading far out in silver water beyond a wide bank of dark mud">- </span>- <span class="container plate__cap">Plate 02</span>- </a>- </section>-- <section class="edition well grained" aria-labelledby="edition-title">- <div class="container">- <div class="split-head">- <h2 id="edition-title">Printed in the dark</h2>- <p class="lead">Every print is silver gelatin, made from the film negative.</p>- </div>- <dl class="figures">- <div><dt>plates in the series</dt><dd class="figure">12</dd></div>- <div><dt>prints of each plate</dt><dd class="figure">25</dd></div>- <div><dt>prints in all, then the edition closes</dt><dd class="figure">300</dd></div>- </dl>+ <p class="lead">Twelve plates, made when the river runs at its lowest. Choose one to ask for its print.</p></div>+ <ul class="rail" tabindex="0" aria-label="Plates of Low Water, scroll sideways">+ <li>+ <a class="plate" href="#print" data-plate="02" aria-label="Plate 02, ask for a print">+ <span class="plate__img" data-slot="plate-02" data-alt="Plate 02 of Low Water" style="aspect-ratio: 16 / 10">+ <img src="photos/fisherman-at-gullmarsvik-mudflats-1920.jpg" width="1920" height="1080" loading="lazy" decoding="async" style="object-position: 50% 10%"+ alt="A lone figure wading far out in silver water beyond a wide bank of dark mud">+ </span>+ <span class="plate__cap"><span>Plate 02</span><span class="plate__ask">Ask for this print</span></span>+ </a>+ </li>+ <li>+ <a class="plate" href="#print" data-plate="03" aria-label="Plate 03, ask for a print">+ <span class="plate__img" data-slot="plate-03" data-alt="Plate 03 of Low Water" style="aspect-ratio: 4 / 3">+ <img src="photos/yesa-embalse-sequ-a-01-1920.jpg" width="1920" height="1442" loading="lazy" decoding="async" style="object-position: 50% 62%"+ alt="A dried reservoir bed of cracked pale mud running out to a thin line of water">+ </span>+ <span class="plate__cap"><span>Plate 03</span><span class="plate__ask">Ask for this print</span></span>+ </a>+ </li>+ <li>+ <a class="plate" href="#print" data-plate="04" aria-label="Plate 04, ask for a print">+ <span class="plate__img" data-slot="plate-04" data-alt="Plate 04 of Low Water" style="aspect-ratio: 3 / 2">+ <img src="photos/low-tide-in-rivedoux-r-island-august-2015-1920.jpg" width="1920" height="1278" loading="lazy" decoding="async" style="object-position: 47% 62%"+ alt="A small motorboat left on wet sand flats by the tide, marker posts far off">+ </span>+ <span class="plate__cap"><span>Plate 04</span><span class="plate__ask">Ask for this print</span></span>+ </a>+ </li>+ <li>+ <a class="plate" href="#print" data-plate="05" aria-label="Plate 05, ask for a print">+ <span class="plate__img" data-slot="plate-05" data-alt="Plate 05 of Low Water" style="aspect-ratio: 4 / 5">+ <img src="photos/bristol-mmb-d8-river-trym-1920.jpg" width="1920" height="2998" loading="lazy" decoding="async" style="object-position: 50% 70%"+ alt="A small sailing boat resting on a mud bank in a tidal river at low water">+ </span>+ <span class="plate__cap"><span>Plate 05</span><span class="plate__ask">Ask for this print</span></span>+ </a>+ </li>+ <li class="rail__more">+ <a href="#print" data-plate="06">+ <span class="rail__num">06 to 12</span>+ <span class="rail__line">Seven more plates. Ask to see any of them before you choose.</span>+ </a>+ </li>+ </ul></section><section class="maker" aria-labelledby="maker-title">- <div class="container grid">- <div class="maker__text">- <h2 id="maker-title">On film, from Seville</h2>- <p class="lead">Inés Calvo photographs in black and white and prints in silver gelatin. Low Water is her new series.</p>- <a class="textlink" href="#enquire" data-plate="03">Ask about plate 03</a>- </div>- <a class="plate plate--maker" href="#enquire" data-plate="03" aria-label="Plate 03, ask about a print">- <span class="plate__img" data-slot="plate-03" data-alt="Plate 03 of Low Water, landscape">- <img src="photos/yesa-embalse-sequ-a-01-1920.jpg" width="1920" height="1442" loading="lazy" decoding="async" style="object-position: 50% 62%"- alt="A dried reservoir bed of cracked pale mud running out to a thin line of water">- </span>- <span class="plate__cap">Plate 03</span>- </a>+ <div class="container">+ <h2 id="maker-title" class="visually-hidden">The photographer</h2>+ <p class="statement">Inés Calvo works on black-and-white film in Seville, and prints in silver gelatin.</p></div></section>- <section class="sheet-sec" id="sheet" aria-labelledby="sheet-title">+ <section class="edition well grained" id="edition" aria-labelledby="edition-title"><div class="container grid">- <div class="sheet__head">- <h2 id="sheet-title">The collector’s sheet</h2>- <p class="lead">What each print is, before you ask.</p>+ <div class="edition__fig">+ <h2 id="edition-title">The edition</h2>+ <p class="figure" aria-describedby="fig-label">25</p>+ <p class="figure__label" id="fig-label">prints of each plate, and no more</p></div><dl class="sheet"><div><dt>Series</dt><dd>Low Water</dd></div><div><dt>Subject</dt><dd>The Guadalquivir, August</dd></div>+ <div><dt>Plates</dt><dd><span class="num">12</span></dd></div><div><dt>Negative</dt><dd>Black-and-white film</dd></div><div><dt>Print</dt><dd>Silver gelatin</dd></div>- <div><dt>Edition</dt><dd><span class="num">25</span> of each plate</dd></div>- <div><dt>Sizes and prices</dt><dd class="fill" data-fill="sizes-and-prices">On request</dd></div>+ <div><dt>Sizes and prices</dt><dd class="fill" data-fill="sizes-and-prices">Given on request</dd></div></dl></div></section>- <section class="pair" aria-label="Plates 04 and 05">+ <section class="print" id="print" aria-labelledby="print-title"><div class="container grid">- <a class="plate plate--a" href="#enquire" data-plate="04" aria-label="Plate 04, ask about a print">- <span class="plate__img" data-slot="plate-04" data-alt="Plate 04 of Low Water, landscape">- <img src="photos/low-tide-in-rivedoux-r-island-august-2015-1920.jpg" width="1920" height="1278" loading="lazy" decoding="async" style="object-position: 47% 62%"- alt="A small motorboat left on wet sand flats by the tide, marker posts far off">- </span>- <span class="plate__cap">Plate 04</span>- </a>- <a class="plate plate--b" href="#enquire" data-plate="05" aria-label="Plate 05, ask about a print">- <span class="plate__img" data-slot="plate-05" data-alt="Plate 05 of Low Water, portrait">- <img src="photos/bristol-mmb-d8-river-trym-1920.jpg" width="1920" height="2998" loading="lazy" decoding="async" style="object-position: 50% 70%"- alt="A small sailing boat resting on a mud bank in a tidal river at low water">- </span>- <span class="plate__cap">Plate 05</span>- </a>- </div>- </section>-- <section class="enquire" id="enquire" aria-labelledby="enquire-title">- <div class="container grid">- <div class="enquire__head">- <h2 id="enquire-title">Ask about a print</h2>- <p class="lead">Choose a plate and leave an address for the reply.</p>- <p class="chosen"><output class="chosen__num" for="plates-grid" aria-live="polite">01</output><span class="chosen__label">the plate you are asking about</span></p>- </div>- <form class="enquire__form" data-endpoint="" novalidate>+ <figure class="print__visual" aria-live="polite">+ <div class="print__frame">+ <img class="print__img" src="photos/bristol-mmb-d8-river-trym-1920.jpg" width="1920" height="2998" loading="lazy" decoding="async" style="object-position: 50% 70%"+ alt="Plate 05: a small sailing boat resting on a mud bank in a tidal river at low water">+ <p class="print__num" aria-hidden="true">05</p>+ </div>+ <figcaption class="print__cap">Plate <span data-plate-out>05</span>, edition of 25</figcaption>+ </figure>+ <form class="print__form" data-endpoint="" novalidate>+ <h2 id="print-title">Ask for a print</h2><fieldset class="plates"><legend>Plate</legend>- <div class="plates__grid" id="plates-grid">- <input type="radio" name="plate" id="plate-01" value="01" checked><label for="plate-01">01</label>+ <div class="plates__grid">+ <input type="radio" name="plate" id="plate-01" value="01"><label for="plate-01">01</label><input type="radio" name="plate" id="plate-02" value="02"><label for="plate-02">02</label><input type="radio" name="plate" id="plate-03" value="03"><label for="plate-03">03</label><input type="radio" name="plate" id="plate-04" value="04"><label for="plate-04">04</label>- <input type="radio" name="plate" id="plate-05" value="05"><label for="plate-05">05</label>+ <input type="radio" name="plate" id="plate-05" value="05" checked><label for="plate-05">05</label><input type="radio" name="plate" id="plate-06" value="06"><label for="plate-06">06</label><input type="radio" name="plate" id="plate-07" value="07"><label for="plate-07">07</label><input type="radio" name="plate" id="plate-08" value="08"><label for="plate-08">08</label>@@ -151,6 +150,11 @@<input type="radio" name="plate" id="plate-12" value="12"><label for="plate-12">12</label></div></fieldset>+ <dl class="terms">+ <div><dt>Print</dt><dd>Silver gelatin, from the negative</dd></div>+ <div><dt>Edition</dt><dd>25 of each plate</dd></div>+ <div><dt>Size and price</dt><dd>Sent with the reply</dd></div>+ </dl><div class="fields"><div class="field"><label for="name">Your name</label>@@ -160,9 +164,13 @@<label for="email">Email address</label><input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-required="true"></div>+ <div class="field field--wide">+ <label for="note">A question, if you have one <span class="opt">(optional)</span></label>+ <textarea id="note" name="note" rows="3"></textarea>+ </div></div><div class="send">- <button class="btn btn--primary" type="submit">Send the enquiry</button>+ <button class="btn btn--primary" type="submit"><span>Ask for plate <span data-plate-out>05</span></span></button><p class="help" id="form-help" aria-live="polite"></p></div></form>@@ -172,12 +180,12 @@<footer class="foot"><div class="container grid">- <p class="colophon">Low Water is a series by Inés Calvo, a photographer in Seville. Prints are sold by enquiry, one plate at a time.</p>+ <p class="colophon">Low Water is a series by Inés Calvo, a photographer in Seville. Each of its twelve plates is printed in silver gelatin, in an edition of 25.</p><nav class="foot__nav" aria-label="Footer"><ul>- <li><a href="#plates">Low Water</a></li>- <li><a href="#sheet">The sheet</a></li>- <li><a href="#enquire">Enquire</a></li>+ <li><a href="#plates">The plates</a></li>+ <li><a href="#edition">The edition</a></li>+ <li><a href="#print">Ask for a print</a></li></ul></nav><p class="legal">© 2026 Inés Calvo, Seville</p>@@ -188,37 +196,44 @@<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });</script><script>-document.querySelectorAll('a[data-plate]').forEach((a) => a.addEventListener('click', () => {- const r = document.getElementById('plate-' + a.dataset.plate);+/* The print: a plate chosen anywhere on the page shows in the offer; plates without a picture show their number */+const form = document.querySelector('.print__form');+const img = document.querySelector('.print__img'), num = document.querySelector('.print__num'), frame = document.querySelector('.print__frame');+const pick = (v) => {+ const r = document.getElementById('plate-' + v);if (r) r.checked = true;-}));-const chosen = document.querySelector('.chosen__num');-document.querySelectorAll('input[name="plate"]').forEach((r) => r.addEventListener('change', () => { if (r.checked) chosen.textContent = r.value; }));-document.querySelectorAll('a[data-plate]').forEach((a) => a.addEventListener('click', () => { chosen.textContent = a.dataset.plate; }));-document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const help = form.querySelector('[aria-live]');- form.addEventListener('submit', (e) => {- e.preventDefault();- let first = null;- form.querySelectorAll('input[required]').forEach((f) => {- const ok = f.checkValidity();- f.setAttribute('aria-invalid', String(!ok));- if (!ok && !first) first = f;- });- if (first) {- help.textContent = first.type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : 'Add your name, so the reply can use it.';- first.setAttribute('aria-describedby', help.id);- first.focus();- return;- }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- const btn = form.querySelector('[type="submit"]');- btn.setAttribute('aria-busy', 'true');- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'Your enquiry about plate ' + form.plate.value + ' reached Inés.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })- .finally(() => btn.removeAttribute('aria-busy'));+ document.querySelectorAll('[data-plate-out]').forEach((o) => { o.textContent = v; });+ num.textContent = v;+ const src = document.querySelector(`[data-slot="plate-${v}"] > img`);+ if (src) { img.src = src.currentSrc || src.src; img.alt = 'Plate ' + v + ': ' + src.alt.charAt(0).toLowerCase() + src.alt.slice(1); img.style.objectPosition = src.style.objectPosition; frame.classList.remove('is-empty'); }+ else { img.removeAttribute('src'); img.alt = ''; frame.classList.add('is-empty'); }+};+document.querySelectorAll('a[data-plate]').forEach((a) => a.addEventListener('click', () => pick(a.dataset.plate)));+form.addEventListener('change', (e) => { if (e.target.name === 'plate') pick(e.target.value); });+pick(form.plate.value);++form.addEventListener('submit', (e) => {+ e.preventDefault();+ const help = form.querySelector('.help');+ let first = null;+ form.querySelectorAll('input[required]').forEach((f) => {+ const ok = f.checkValidity();+ f.setAttribute('aria-invalid', String(!ok));+ if (!ok && !first) first = f;});+ if (first) {+ help.textContent = first.type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : 'Add your name, so the reply can use it.';+ first.setAttribute('aria-describedby', help.id);+ first.focus();+ return;+ }+ if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ const btn = form.querySelector('[type="submit"]');+ btn.setAttribute('aria-busy', 'true');+ fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })+ .then((r) => { help.textContent = r.ok ? 'Your enquiry about plate ' + form.plate.value + ' reached Inés.' : 'That did not go through. Try again in a minute.'; })+ .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })+ .finally(() => btn.removeAttribute('aria-busy'));});</script></body>diff --git a/site/themes/darkroom/style.css b/site/themes/darkroom/style.cssindex 72ce0df..37551c4 100644--- a/site/themes/darkroom/style.css+++ b/site/themes/darkroom/style.css@@ -1,5 +1,5 @@-/* Hallmark · shape: Photographic (an edition page: five plates, each followed by a section the type carries) · genre: atmospheric · theme: Darkroom (by request) · darkroom: amber- * hero: Poster, plate 01 full-bleed with LOW WATER in hairline capitals at poster size along its foot · sections: showcase, figures on a grained well, split, collector's sheet as rows, pair at 8 and 4, form with a numeral plate picker · nav: edge-aligned on the ground · footer: colophon block · imagery: photographs, library 5, mono, about a quarter of the page below the hero+/* Hallmark · shape: Photographic (an edition page: the plates run as a rail, the type carries the photographer and the edition, the print is offered at the close) · genre: atmospheric · theme: Darkroom (by request) · darkroom: amber · job: buy+ * hero: Poster, plate 01 full-bleed with LOW WATER in hairline capitals at poster size along its foot · sections: rail (plates 01 to 05 and the seven more), statement (the photographer), figure beside the collector's sheet on a grained well, offer (the chosen plate beside the picker, the terms and the enquiry) · nav: edge-aligned on the ground, Ask for a print outlined · footer: colophon block · imagery: photographs, library 5, mono, about a quarter of the page below the hero* axes: dark/display-condensed/chromatic-amber · posture: restrained · contrast: pass · fold: pass · v2.8.0 */@import url("./tokens.css");@import url("./base.css");@@ -32,6 +32,8 @@ h3 { font-weight: 400; text-transform: uppercase; line-height: 1; }.nav ul { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }.nav ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.35em; white-space: nowrap; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }.nav ul a:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }+.nav ul a.nav__act { padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); color: var(--color-ink); font: 400 var(--text-lg)/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }+.nav ul a.nav__act:hover { border-color: var(--color-accent); color: var(--color-accent); }.wordmark:focus-visible, .nav ul a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }/* Controls: display capitals, the one amber fill */@@ -60,94 +62,93 @@ h3 { font-weight: 400; text-transform: uppercase; line-height: 1; }.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }-/* A plate: a linked print with its number beneath; hover lights the number */+/* A plate: a linked print with its number beneath; hover lights the number and shows the ask */.plate { display: block; color: inherit; text-decoration: none; }.plate__img { display: block; }-.plate__cap { display: block; margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; transition: color var(--dur-short) var(--ease-out); }-.plate:hover .plate__cap { color: var(--color-accent); }+.plate__cap { display: flex; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; transition: color var(--dur-short) var(--ease-out); }+.plate__ask { opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }+.plate:hover .plate__cap, .plate:focus-visible .plate__cap { color: var(--color-accent); }+.plate:hover .plate__ask, .plate:focus-visible .plate__ask { opacity: 1; }.plate:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }-/* The series: a head over plate 02 edge to edge */+/* The series: a head over the plates as a rail, printed at one height, the next one cut by the edge */.series { padding-top: var(--section-gap); }.series__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }-.series__head h2 { grid-column: 1 / span 8; }-.series__head .lead { grid-column: 9 / -1; max-width: 30ch; }-.plate--wide .plate__img { aspect-ratio: 21 / 9; }-.plate--wide:focus-visible { outline-offset: -4px; }+.series__head h2 { grid-column: 1 / span 7; }+.series__head .lead { grid-column: 9 / -1; max-width: 32ch; }+.rail { --rail-h: clamp(18rem, 46vh, 30rem); --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));+ display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: var(--gap-columns); margin: 0; padding: 0 var(--edge) var(--space-md); list-style: none;+ overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--color-rule) transparent; }+.rail > li { scroll-snap-align: start; }+.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }+.rail .plate__img { height: var(--rail-h); width: auto; }+.rail__more a { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-md); box-sizing: border-box; width: clamp(16rem, 22vw, 22rem); height: var(--rail-h); padding: var(--space-xl); border: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }+.rail__num { font: 200 var(--text-head)/1 var(--font-display); text-transform: uppercase; font-variant-numeric: tabular-nums; }+.rail__line { max-width: 22ch; color: var(--color-ink-2); }+.rail__more a:hover { border-color: var(--color-accent); }+.rail__more a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }++/* The photographer: one sentence in hairline capitals */+.maker { padding-top: var(--section-gap-l); }+.statement { max-width: 24ch; font: 200 var(--text-head)/1.02 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); color: var(--color-ink); text-wrap: balance; }+.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-short) var(--ease-out); }+.textlink:hover { text-decoration-color: var(--color-accent); }-/* The edition: three figures in the hairline on a grained well */+/* The edition: the one figure beside the collector's sheet, on a grained well */.well { background: var(--color-paper-2); }.grained { position: relative; isolation: isolate; }.grained::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 200px 200px; }-.edition { margin-top: var(--section-gap-s); padding-block: var(--section-gap-s); }-.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.split-head h2 { grid-column: 1 / span 6; }-.split-head .lead { grid-column: 8 / -1; max-width: 34ch; }-.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-3xl) 0 0; border-top: var(--rule-hair) solid var(--color-rule); }-.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-sm); padding: var(--space-xl) var(--space-xl) 0; border-left: var(--rule-hair) solid var(--color-rule); }-.figures > div:first-child { padding-left: 0; border-left: 0; }-.figures dt { font-size: var(--text-sm); color: var(--color-muted); }-.figures dd { margin: 0; font: 200 var(--text-figure)/0.9 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: proportional-nums; color: var(--color-ink); }--/* The photographer, beside plate 03 */-.maker { padding-top: var(--section-gap-l); }-.maker .grid { align-items: center; }-.maker__text { grid-column: 1 / span 4; }-.maker .lead { margin-top: var(--space-lg); max-width: 30ch; }-.plate--maker { grid-column: 6 / -1; }-.plate--maker .plate__img { aspect-ratio: 4 / 3; }-.textlink { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-lg); color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule); text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-short) var(--ease-out); }-.textlink:hover { text-decoration-color: var(--color-accent); }-.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }--/* The collector's sheet: rows under hairlines, values in display capitals */-.sheet-sec { padding-top: var(--section-gap); }-.sheet__head { grid-column: 1 / span 4; align-self: start; }-.sheet__head .lead { margin-top: var(--space-lg); max-width: 22ch; }-.sheet { grid-column: 6 / -1; margin: 0; border-top: var(--rule-hair) solid var(--color-ink-2); }-.sheet > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); align-items: baseline; gap: var(--space-lg); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }+.edition { margin-top: var(--section-gap); padding-block: var(--section-gap-s); }+.edition .grid { align-items: end; }+.edition__fig { grid-column: 1 / span 5; }+.edition .figure { margin-top: var(--space-xl); font: 200 var(--text-figure)/0.82 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: proportional-nums; color: var(--color-ink); }+.figure__label { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }+.sheet { grid-column: 7 / -1; margin: 0; border-top: var(--rule-hair) solid var(--color-ink-2); }+.sheet > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); align-items: baseline; gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }.sheet dt { font-size: var(--text-sm); color: var(--color-muted); }.sheet dd { margin: 0; font: 400 var(--text-item)/1.05 var(--font-display); text-transform: uppercase; color: var(--color-ink); }.sheet dd.fill { color: var(--color-muted); }.sheet .num { font-variant-numeric: proportional-nums; }-/* Two plates hung on one line, at 8 and 4 */-.pair { padding-top: var(--section-gap-l); }-.pair .grid { align-items: end; }-.plate--a { grid-column: 1 / span 8; }-.plate--b { grid-column: 9 / -1; }-.plate--a .plate__img, .plate--b .plate__img { height: var(--pair-h); }--/* The enquiry: a numeral picker beside the head */-.enquire { margin-top: var(--section-gap-s); padding-block: var(--space-3xl) 0; border-top: var(--rule-hair) solid var(--color-rule); }-.enquire .grid { align-items: start; }-.enquire__head { grid-column: 1 / span 5; }-.enquire__head .lead { margin-top: var(--space-lg); max-width: 28ch; }-.nowrap { white-space: nowrap; }-.chosen { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }-.chosen__num { font: 200 var(--text-figure)/0.85 var(--font-display); letter-spacing: -0.02em; color: var(--color-accent); }-.chosen__label { font-size: var(--text-sm); color: var(--color-muted); }-.enquire__form { grid-column: 7 / -1; display: grid; gap: var(--space-xl); }+/* The print: the chosen plate beside its picker, its terms and the enquiry */+.print { padding-top: var(--section-gap-l); }+.print .grid { align-items: start; }+.print__visual { grid-column: 1 / span 5; position: sticky; top: var(--space-2xl); margin: 0; }+.print__frame { position: relative; aspect-ratio: 4 / 5; background: var(--color-paper-2); }+.print__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(0.97); }+.print__num { position: absolute; inset: auto var(--space-xl) var(--space-lg) auto; margin: 0; font: 200 var(--text-figure)/0.85 var(--font-display); letter-spacing: -0.02em; color: var(--color-accent); opacity: 0; }+.print__frame.is-empty .print__img { visibility: hidden; }+.print__frame.is-empty .print__num { opacity: 1; inset: auto auto var(--space-lg) var(--space-xl); }+.print__cap { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }+.print__form { grid-column: 7 / -1; display: grid; gap: var(--space-xl); }+.print h2 { margin-bottom: calc(var(--space-sm) * -1); }.plates { min-width: 0; margin: 0; padding: 0; border: 0; }.plates legend, .field label { display: block; margin-bottom: var(--space-xs); padding: 0; font-size: var(--text-sm); color: var(--color-ink-2); }+.opt { color: var(--color-muted); }.plates__grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); border-left: var(--rule-hair) solid var(--color-rule); }.plates input { position: absolute; width: 1px; height: 1px; opacity: 0; }-.plates label { display: flex; align-items: center; justify-content: center; min-height: 72px; border-right: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); font: 200 var(--text-2xl)/1 var(--font-display); color: var(--color-ink-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }+.plates label { display: flex; align-items: center; justify-content: center; min-height: 64px; border-right: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); font: 200 var(--text-2xl)/1 var(--font-display); color: var(--color-ink-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }.plates label:hover { background: var(--color-paper-2); color: var(--color-ink); }.plates input:checked + label { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 400; }.plates input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: -4px; }.plates input:disabled + label { opacity: 0.55; cursor: not-allowed; }+.terms { margin: 0; border-top: var(--rule-hair) solid var(--color-ink-2); }+.terms > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--space-lg); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }+.terms dt { font-size: var(--text-sm); color: var(--color-muted); }+.terms dd { margin: 0; color: var(--color-ink); }.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }-.field input { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }-.field input:hover { background: var(--color-paper-2); }-.field input:focus-visible { outline-color: var(--color-focus); }+.field--wide { grid-column: 1 / -1; }+.field input, .field textarea { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }+.field textarea { resize: vertical; min-height: 6rem; }+.field input:hover, .field textarea:hover { background: var(--color-paper-2); }+.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }.field [aria-invalid="true"] { border-color: var(--color-error); }.field input:disabled { opacity: 0.55; cursor: not-allowed; }.send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }.help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }/* Footer: a colophon block */-.foot { margin-top: var(--section-gap); padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper-2); }+.foot { margin-top: var(--section-gap-l); padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper-2); }.foot .grid { row-gap: var(--space-xl); }.colophon { grid-column: 1 / span 7; max-width: 44ch; font: 300 var(--text-lead)/1.5 var(--font-body); color: var(--color-ink-2); }.foot__nav { grid-column: 9 / -1; }@@ -162,25 +163,22 @@ h3 { font-weight: 400; text-transform: uppercase; line-height: 1; }@media (max-width: 60rem) {.nav ul { gap: var(--space-md); }- .hero h1, .hero__side, .series__head h2, .series__head .lead, .split-head h2, .split-head .lead, .maker__text, .plate--maker, .sheet__head, .sheet, .plate--a, .plate--b, .enquire__head, .enquire__form, .colophon, .foot__nav, .credits { grid-column: 1 / -1; }- .hero__in, .series__head, .split-head, .maker .grid, .sheet-sec .grid, .pair .grid, .enquire .grid { row-gap: var(--space-xl); }+ .hero h1, .hero__side, .series__head h2, .series__head .lead, .edition__fig, .sheet, .print__visual, .print__form, .colophon, .foot__nav, .credits { grid-column: 1 / -1; }+ .hero__in, .series__head, .edition .grid, .print .grid { row-gap: var(--space-xl); }.hero h1 { margin-bottom: 0; }- .plate--a .plate__img { height: auto; aspect-ratio: 3 / 2; }- .plate--b .plate__img { height: auto; aspect-ratio: 1 / 1; }- .figures > div { padding-inline: var(--space-lg) 0; }- .plate--wide .plate__img { aspect-ratio: 3 / 2; }+ .print__visual { position: static; }+ .rail { --rail-h: clamp(16rem, 52vh, 26rem); }}@media (max-width: 40rem) {- .nav ul li:first-child { display: none; }+ .nav ul li:not(:last-child) { display: none; }.actions .btn { flex: 1 1 100%; }.fields { grid-template-columns: minmax(0, 1fr); }.plates__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }- .sheet > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }- .figures { grid-template-columns: minmax(0, 1fr); }- .figures > div { padding: var(--space-lg) 0; border-left: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }-+ .sheet > div, .terms > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }+ .rail { --rail-h: 12rem; }+ .print__frame { aspect-ratio: 1 / 1; }}@media (prefers-reduced-motion: reduce) {.hero__plate > img { animation: none; }- .btn, .nav ul a, .plate__cap, .textlink, .plates label, .field input, .foot__nav a { transition: none; }+ .btn, .nav ul a, .plate__cap, .plate__ask, .textlink, .plates label, .field input, .field textarea, .foot__nav a, .rail__more a { transition: none; }}diff --git a/site/themes/dose/index.html b/site/themes/dose/index.htmlindex 142dcb3..409bfcb 100644--- a/site/themes/dose/index.html+++ b/site/themes/dose/index.html@@ -34,6 +34,7 @@<a class="btn btn--primary" href="#start">Set up your household</a><a class="btn btn--secondary" href="#day">See a day of doses</a></div>+ <p class="hero__terms">Free for one household.</p></div><div class="hero__visual"><figure class="photo hero__photo" data-slot="photo-1" data-alt="Your parent's hand in yours">@@ -59,145 +60,149 @@</section><section class="day" id="day" aria-labelledby="day-head">- <div class="container">- <div class="grid12 day__head">- <h2 id="day-head">Thursday, as the family sees it</h2>- <p class="lead">Every dose, its time, and who gave it.</p>- </div>- <div class="table-wrap">- <table class="timetable">- <thead><tr><th scope="col">Time</th><th scope="col">Dose</th><th scope="col">Amount</th><th scope="col">Who</th><th scope="col" class="r">State</th></tr></thead>- <tbody>- <tr class="is-given"><td class="tt__time dose">08:00</td><th scope="row">Morning tablets</th><td class="dose">500 mg</td><td>Your brother, at <span class="dose">08:04</span></td><td class="r"><span class="pill">Given</span></td></tr>- <tr class="is-given"><td class="tt__time dose">13:00</td><th scope="row">Lunchtime tablet</th><td class="dose">250 mg</td><td>You, at <span class="dose">13:10</span></td><td class="r"><span class="pill">Given</span></td></tr>- <tr><td class="tt__time dose">20:00</td><th scope="row">Evening tablets</th><td class="dose">500 mg</td><td>Reminder to all three of you</td><td class="r"><span class="pill">Due</span></td></tr>- <tr><td class="tt__time dose">22:00</td><th scope="row">Eye drops</th><td class="dose">1 drop</td><td>Reminder to all three of you</td><td class="r"><span class="pill">Due</span></td></tr>- </tbody>- </table>- </div>+ <div class="container day__head">+ <h2 id="day-head">Thursday, phone by phone</h2>+ <p class="lead">One day of Mum’s doses, as the family’s phones saw it.</p></div>- </section>-- <section class="buzz band" aria-labelledby="buzz-head">- <div class="container grid12 buzz__grid">- <div class="buzz__text">- <h2 id="buzz-head">At 20:00, three phones buzz</h2>- <p class="lead">Whoever is with Mum gives the tablets, then taps Given.</p>- <ol class="steps">- <li><span class="dose">20:00</span>The evening reminder goes out to all of you</li>- <li><span class="dose">20:06</span>Given, and ticked on her list for everyone</li>- </ol>- </div>- <div class="buzz__phones">- <figure class="slot phone" data-slot="demo-2" data-alt="The reminder screen at dose time" role="img" aria-label="The reminder at 20:00 for Mum's evening tablets, 500 mg, with Mark as given and Not yet, sent to you, your brother and your sister.">- <div class="ui ph ph--due" aria-hidden="true">+ <ol class="rail" tabindex="0" aria-label="Thursday's doses, screen by screen">+ <li class="moment">+ <figure class="slot phone" data-slot="demo-2" data-alt="The reminder screen at dose time" role="img" aria-label="The 08:00 reminder for Mum's morning tablets, 500 mg, with Mark as given and Not yet, sent to all three of you.">+ <div class="ui ph" aria-hidden="true"><div class="ph__top"><span class="ph__day">Mum’s tablets</span><span class="ph__title">Due now</span></div>- <div class="due">- <span class="dose due__time">20:00</span>- <span class="due__what">Evening tablets</span>- <span class="dose due__amt">500 mg</span>- </div>- <div class="earlier"><span class="earlier__label">Earlier today</span>- <span class="earlier__row"><span class="dose">08:00</span>Morning tablets<span class="earlier__by">your brother</span></span>- <span class="earlier__row"><span class="dose">13:00</span>Lunchtime tablet<span class="earlier__by">you</span></span>- </div>+ <div class="due"><span class="dose due__time">08:00</span><span class="due__what">Morning tablets</span><span class="dose due__amt">500 mg</span></div><div class="due__acts"><span class="due__go">Mark as given</span><span class="due__wait">Not yet</span></div>- <p class="due__note">Sent to you, your brother and your sister</p>- <div class="ph__tabs"><span class="is-on"><svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/></svg>Today</span><span><svg aria-hidden="true" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M16 2v4"/><path d="M8 2v4"/><path d="M3 10h18"/></svg>Week</span><span><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>Household</span></div>+ <p class="due__note">Sent to all three of you</p></div></figure>- <figure class="slot phone buzz__second" data-slot="demo-3" data-alt="The screen after a dose is ticked" role="img" aria-label="Evening tablets given at 20:06, by you, with an undo, and a note that your brother and your sister can see it now.">- <div class="ui ph ph--given" aria-hidden="true">- <div class="ph__top"><span class="ph__day">Mum’s tablets</span><span class="ph__title">Evening tablets</span></div>+ <p class="moment__cap"><span class="dose">08:00</span> The reminder reaches all three phones.</p>+ </li>+ <li class="moment">+ <figure class="slot phone" data-slot="demo-3" data-alt="The screen after a dose is ticked" role="img" aria-label="Morning tablets given at 08:04 by your brother, with a note that you and your sister can see it now.">+ <div class="ui ph" aria-hidden="true">+ <div class="ph__top"><span class="ph__day">Mum’s tablets</span><span class="ph__title">Morning tablets</span></div><div class="given"><span class="given__mark"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg></span><span class="given__what">Given</span>- <span class="given__when"><span class="dose">20:06</span>, by you</span>- <span class="given__undo">Undo</span>+ <span class="given__when"><span class="dose">08:04</span>, by your brother</span></div>- <p class="given__note">Your brother and your sister can see this now.</p>- <div class="ph__seen"><span>Seen by</span><i>You</i><i>Your brother</i><i>Your sister</i></div>- <div class="ph__tabs"><span class="is-on"><svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/></svg>Today</span><span><svg aria-hidden="true" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M16 2v4"/><path d="M8 2v4"/><path d="M3 10h18"/></svg>Week</span><span><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>Household</span></div>+ <p class="given__note">You and your sister can see this now.</p></div></figure>- </div>+ <p class="moment__cap"><span class="dose">08:04</span> Your brother is there, and taps Given.</p>+ </li>+ <li class="moment">+ <figure class="slot phone phone--lock" data-slot="demo-4" data-alt="A dose reminder on the lock screen" role="img" aria-label="Your lock screen at 13:00 on Thursday, with a Tandem reminder: lunchtime tablet, 250 mg, due for Mum.">+ <div class="ui ph lock" aria-hidden="true">+ <span class="lock__day">Thursday</span>+ <span class="dose lock__time">13:00</span>+ <span class="lock__note"><b>Tandem</b><span>Lunchtime tablet, <span class="dose">250 mg</span>, due for Mum</span></span>+ </div>+ </figure>+ <p class="moment__cap"><span class="dose">13:00</span> At lunch, it waits on your lock screen.</p>+ </li>+ <li class="moment">+ <figure class="slot phone" data-slot="hero-2" data-alt="The Today screen for your parent's tablets" role="img" aria-label="The Today screen at 13:10: morning tablets given by your brother, lunchtime tablet given by you, evening tablets and eye drops still due.">+ <div class="ui ph" aria-hidden="true">+ <div class="ph__top"><span class="ph__day">Thursday</span><span class="ph__title">Mum’s tablets</span></div>+ <ol class="ph__doses">+ <li class="is-given"><span class="dose ph__time">08:00</span><span class="ph__what">Morning tablets<span class="ph__by">your brother</span></span><i class="ph__chip">Given</i></li>+ <li class="is-given"><span class="dose ph__time">13:00</span><span class="ph__what">Lunchtime tablet<span class="ph__by">you, <span class="dose">13:10</span></span></span><i class="ph__chip">Given</i></li>+ <li><span class="dose ph__time">20:00</span><span class="ph__what">Evening tablets</span><i class="ph__chip">Due</i></li>+ <li><span class="dose ph__time">22:00</span><span class="ph__what">Eye drops</span><i class="ph__chip">Due</i></li>+ </ol>+ </div>+ </figure>+ <p class="moment__cap"><span class="dose">13:10</span> You give it, and her list ticks.</p>+ </li>+ <li class="moment">+ <figure class="slot phone" data-slot="demo-5" data-alt="A sister's updates screen, showing who gave each dose" role="img" aria-label="Your sister's updates screen: evening tablets given at 20:06 by you, lunchtime tablet at 13:10 by you, morning tablets at 08:04 by your brother.">+ <div class="ui ph" aria-hidden="true">+ <div class="ph__top"><span class="ph__day">Your sister’s phone</span><span class="ph__title">Updates</span></div>+ <ol class="ph__doses ph__doses--feed">+ <li class="is-given"><span class="ph__what">Evening tablets<span class="ph__by">by you, <span class="dose">20:06</span></span></span><i class="ph__chip">Given</i></li>+ <li class="is-given"><span class="ph__what">Lunchtime tablet<span class="ph__by">by you, <span class="dose">13:10</span></span></span><i class="ph__chip">Given</i></li>+ <li class="is-given"><span class="ph__what">Morning tablets<span class="ph__by">by your brother, <span class="dose">08:04</span></span></span><i class="ph__chip">Given</i></li>+ </ol>+ </div>+ </figure>+ <p class="moment__cap"><span class="dose">20:06</span> Your sister sees it, wherever she lives.</p>+ </li>+ <li class="moment">+ <figure class="slot phone" data-slot="demo-6" data-alt="The week screen, each day's doses" role="img" aria-label="The week screen: Monday and Tuesday four of four given, Wednesday three of four with the eye drops missed, Thursday three of four so far.">+ <div class="ui ph" aria-hidden="true">+ <div class="ph__top"><span class="ph__day">Mum’s tablets</span><span class="ph__title">This week</span></div>+ <ol class="ph__doses ph__doses--feed">+ <li class="is-given"><span class="ph__what">Monday</span><i class="ph__chip">4 of 4</i></li>+ <li class="is-given"><span class="ph__what">Tuesday</span><i class="ph__chip">4 of 4</i></li>+ <li><span class="ph__what">Wednesday<span class="ph__by">eye drops missed</span></span><i class="ph__chip">3 of 4</i></li>+ <li class="is-today"><span class="ph__what">Thursday<span class="ph__by">so far</span></span><i class="ph__chip">3 of 4</i></li>+ </ol>+ </div>+ </figure>+ <p class="moment__cap"><span class="dose">22:00</span> The week, the same on every phone.</p>+ </li>+ </ol>+ </section>++ <section class="say band--ink" aria-labelledby="say-head">+ <div class="container">+ <h2 id="say-head" class="say__line">No more ringing Mum to check.</h2>+ <p class="say__sub">The list already knows.</p></div></section><section class="family" id="family" aria-labelledby="family-head"><div class="container">- <div class="grid12 family__head">- <h2 id="family-head">The same tick on every phone</h2>- <p class="lead">Whoever lives furthest away sees it in the same minute.</p>- </div>+ <h2 id="family-head" class="family__head">The same tick on every phone</h2><div class="bento">- <div class="tile tile--lead">- <figure class="slot phone" data-slot="demo-4" data-alt="A sister's updates screen, showing who gave each dose" role="img" aria-label="Your sister's updates screen: evening tablets given at 20:06 and lunchtime tablet at 13:10 by you, morning tablets at 08:04 by your brother, eye drops due tonight; yesterday the eye drops were not given.">- <div class="ui ph" aria-hidden="true">- <div class="ph__top"><span class="ph__day">Mum’s tablets</span><span class="ph__title">Updates</span></div>- <ol class="ph__doses ph__doses--feed">- <li class="is-given"><span class="ph__what">Evening tablets<span class="ph__by">by you, <span class="dose">20:06</span></span></span><i class="ph__chip">Given</i></li>- <li class="is-given"><span class="ph__what">Lunchtime tablet<span class="ph__by">by you, <span class="dose">13:10</span></span></span><i class="ph__chip">Given</i></li>- <li class="is-given"><span class="ph__what">Morning tablets<span class="ph__by">by your brother, <span class="dose">08:04</span></span></span><i class="ph__chip">Given</i></li>- <li><span class="ph__what">Eye drops<span class="ph__by">due tonight</span></span><i class="ph__chip">Due</i></li>- <li class="ph__divider">Yesterday</li>- <li><span class="ph__what">Eye drops<span class="ph__by">not given</span></span><i class="ph__chip">Missed</i></li>- <li class="is-given"><span class="ph__what">Evening tablets<span class="ph__by">by your brother, <span class="dose">20:02</span></span></span><i class="ph__chip">Given</i></li>- </ol>- <div class="ph__tabs"><span class="is-on"><svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/></svg>Today</span><span><svg aria-hidden="true" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M16 2v4"/><path d="M8 2v4"/><path d="M3 10h18"/></svg>Week</span><span><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>Household</span></div>- </div>- </figure>- <p class="tile__cap">Your sister’s phone, wherever she lives</p>- </div><figure class="tile tile--photo photo" data-slot="photo-2" data-alt="Your family's hands together"><img src="photos/grandmothers-hand-childrens-hands-1920.jpg" width="2210" height="2071" loading="lazy" decoding="async" alt="Small children's hands laid together on their grandmother's hand" style="object-position: 50% 45%"></figure>- <div class="tile tile--week">- <h3>This week</h3>- <ol class="wk">- <li><span>Monday</span><b>4 of 4 given</b></li>- <li><span>Tuesday</span><b>4 of 4 given</b></li>- <li class="is-short"><span>Wednesday</span><b>3 of 4, eye drops missed</b></li>- <li class="is-today"><span>Thursday</span><b>2 of 4 so far</b></li>- </ol>+ <div class="tile tile--dose" role="img" aria-label="One dose from the list, enlarged: evening tablets, 500 mg, given at 20:06 by you.">+ <span class="crop__time dose" aria-hidden="true">20:06</span>+ <span class="crop__row" aria-hidden="true"><span class="crop__what">Evening tablets<span class="dose">500 mg</span></span><i class="crop__chip">Given</i></span>+ <span class="crop__by" aria-hidden="true">by you</span></div><div class="tile tile--seen"><h3>Seen by everyone</h3>- <p>One list for the household, the same on every phone.</p><p class="seen"><span>You</span><span>Your brother</span><span>Your sister</span></p></div>+ <div class="tile tile--missed">+ <h3>A miss stays grey</h3>+ <p><i class="crop__chip crop__chip--missed">Missed</i> Eye drops, Wednesday</p>+ </div></div></div></section>- <section class="say band--ink" aria-labelledby="say-head">- <div class="container">- <h2 id="say-head" class="say__line">No more ringing Mum to check.</h2>- <p class="say__sub">The list already knows.</p>- </div>- </section>-<section class="start" id="start" aria-labelledby="start-head"><div class="container"><div class="grid12 start__grid">- <div class="start__text">+ <form class="start__text setup" data-endpoint="" novalidate><h2 id="start-head">Free for one household</h2>- <p class="lead">Set it up for your parent, then add the family.</p>- </div>- <div class="plan">- <p class="plan__price"><span class="plan__fig">£0</span><span class="plan__for">for one household</span></p>- <ul class="plan__list">- <li>A reminder to the family at every dose time</li>- <li>One list of what was taken, seen by everyone</li>- <li>Who gave each dose, and when</li>- </ul>- <form class="signup" data-endpoint="" novalidate>- <label for="email">Your email</label>- <div class="signup__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-describedby="email-help">- <button class="btn btn--primary" type="submit">Set up your household</button>+ <p class="lead">Start with who the tablets are for, then invite the family.</p>+ <fieldset class="pills">+ <legend>Who is it for?</legend>+ <input type="radio" name="who" id="w-mum" value="Mum" checked><label for="w-mum">Mum</label>+ <input type="radio" name="who" id="w-dad" value="Dad"><label for="w-dad">Dad</label>+ <input type="radio" name="who" id="w-gran" value="Gran"><label for="w-gran">Gran</label>+ <input type="radio" name="who" id="w-grandad" value="Grandad"><label for="w-grandad">Grandad</label>+ </fieldset>+ <button class="btn btn--primary" type="submit">Set up your household</button>+ <p class="setup__help" id="setup-help" aria-live="polite"></p>+ </form>+ <div class="start__phone">+ <figure class="slot phone" data-slot="demo-7" data-alt="The household screen, where the family is added" role="img" aria-label="The household screen: Mum, who the tablets are for, then you, your brother and your sister, and a button to invite someone.">+ <div class="ui ph" aria-hidden="true">+ <div class="ph__top"><span class="ph__day">Set up</span><span class="ph__title"><span data-who>Mum</span>’s household</span></div>+ <ol class="ph__doses ph__doses--feed hh">+ <li class="hh__lead"><span class="ph__what"><span data-who>Mum</span><span class="ph__by">the tablets are for</span></span></li>+ <li><span class="ph__what">You<span class="ph__by">set it up</span></span><i class="ph__chip">Added</i></li>+ <li><span class="ph__what">Your brother</span><i class="ph__chip">Invited</i></li>+ <li><span class="ph__what">Your sister</span><i class="ph__chip">Invited</i></li>+ </ol>+ <span class="hh__add">Invite someone</span></div>- <p class="signup__help" id="email-help" aria-live="polite"></p>- </form>+ </figure></div></div></div></section>@@ -217,19 +222,14 @@<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });-document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const input = form.querySelector('input'), help = form.querySelector('[aria-live]'), button = form.querySelector('button');+document.querySelectorAll('form.setup').forEach((form) => {+ const help = form.querySelector('[aria-live]');+ const names = [...document.querySelectorAll('[data-who]')];+ form.addEventListener('change', (e) => { if (e.target.name === 'who') { names.forEach((n) => { n.textContent = e.target.value; }); help.textContent = ''; } });form.addEventListener('submit', (e) => {e.preventDefault();- const ok = input.checkValidity();- input.toggleAttribute('aria-invalid', !ok);- if (!ok) { help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- button.setAttribute('aria-busy', 'true');- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'Thanks. Tandem will write to ' + input.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })- .finally(() => button.removeAttribute('aria-busy'));+ const who = form.querySelector('input[name="who"]:checked').value;+ help.textContent = form.dataset.endpoint ? '' : 'Nothing was set up yet: this button is not connected. ' + who + '’s household is shown on the right.';});});</script>diff --git a/site/themes/dose/style.css b/site/themes/dose/style.cssindex cc2880c..fab4d34 100644--- a/site/themes/dose/style.css+++ b/site/themes/dose/style.css@@ -1,7 +1,7 @@-/* Hallmark · shape: Care Register (custom: the day as a timetable, the reminder as two phones on a tint band, the family as a bento with one lead phone, a statement on the ink band, the plan as a lifted surface holding the form) · genre: modern-minimal · theme: Dose (by request)- * hero: Settled · nav: docked tray, a tinted rounded bar across the container, the wordmark and two links at the left, the plan and one action at the right · footer: tray close, the same tint closing the page with the wordmark, links, legal and credits · imagery: product sample in hero, demo-2 to demo-4, photographs library 2 natural sat=-15 con=-6 · dose: white+/* Hallmark · job: try · shape: Care Register (custom: one day of doses as a rail of phone screens, the statement on the ink band, the family as a bento with the photograph as its lead, and the set-up as a working first step beside the household screen) · genre: modern-minimal · theme: Dose (by request)+ * hero: Settled, the action with its terms line under it · sections: Rail (six phone screens through Thursday, each with its minute, cut by the right edge, scrolls by touch, wheel and keys), Statement on the ink band, Bento (photograph lead, one dose cropped at twice its size on mint, seen by, a miss in grey), Form on a tint well (who the tablets are for as pills, the household screen beside it answering) · nav: docked tray, a tinted rounded bar across the container, the wordmark and two links at the left, the terms and one action at the right · footer: tray close, the same tint closing the page with the wordmark, links, legal and credits · imagery: product sample in hero, demo-2 to demo-7 (doses, times, family roles and the week are samples), photographs library 2 natural sat=-15 con=-6 · dose: white* axes: light/grotesk-sans/chromatic-green · posture: committed · contrast: pass · fold: pass · v2.8.0 */-/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4 · weakest: V, a phone beside text is this category's habit, so the day is set as a timetable in the material and the phones come in a pair and as a bento lead instead of a pinned stack */+/* Hallmark · close: the set-up's first step, the action again beside one last screen (the household); no email field, the app starts with who the tablets are for */@import url("./tokens.css");@import url("./base.css");@@ -41,6 +41,7 @@.hero h1 { max-width: none; font-size: clamp(2.75rem, 5.4vw + 0.5rem, 6rem); }.hero .lead { max-width: 34ch; color: var(--color-ink-2); }.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }+.hero__terms { margin-top: calc(-1 * var(--space-xs)); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }.hero__visual { --hv: calc((var(--cw) - var(--space-2xl)) / 2); display: grid; align-items: center; }.hero__visual > * { grid-area: 1 / 1; }.hero__photo { justify-self: end; width: calc(var(--hv) * 0.72); }@@ -113,81 +114,73 @@.ph__doses .ph__divider { display: block; }-/* Thursday as a timetable: the time is the first column */-.day { padding-block: var(--section-gap) 0; }-.day__head, .family__head { align-items: end; }-.day__head h2, .family__head h2 { grid-column: 1 / span 6; }-.day__head .lead, .family__head .lead { grid-column: 8 / span 5; color: var(--color-ink-2); }-.table-wrap { margin-top: var(--space-2xl); }-.timetable { width: 100%; border-collapse: collapse; }-.timetable thead th { padding: 0 var(--space-md) var(--space-sm) 0; border-bottom: 1px solid var(--color-ink); font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); text-align: left; }-.timetable td, .timetable tbody th { height: 88px; padding: 0 var(--space-md) 0 0; border-bottom: 1px solid var(--color-rule); vertical-align: middle; font-size: var(--text-lg); color: var(--color-ink-2); }-.timetable tbody th { font-weight: 500; color: var(--color-ink); text-align: left; }-.timetable .tt__time { width: 9rem; font-size: var(--text-title); font-weight: 500; color: var(--color-ink); }-.timetable .is-given .tt__time { color: var(--color-accent); }-.timetable .r { text-align: right; padding-right: 0; }-.pill { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); box-shadow: inset 0 0 0 1px var(--color-rule); }-.is-given .pill { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; }--/* At 20:00: two phones on the tint band */-.band { background: var(--color-paper-2); }-.buzz { margin-top: var(--section-gap); padding-block: var(--section-gap-s); }-.buzz__grid { align-items: center; }-.buzz__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }-.buzz__text .lead { color: var(--color-ink-2); }-.buzz__phones { grid-column: 6 / span 7; display: flex; justify-content: flex-end; align-items: flex-start; gap: var(--gap-columns); }-.buzz__second { margin-top: var(--space-3xl); }-.steps { list-style: none; margin: var(--space-md) 0 0; padding: 0; border-top: 1px solid var(--color-rule); }-.steps li { display: flex; align-items: baseline; gap: var(--space-md); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-rule); font-size: var(--text-lg); color: var(--color-ink); }-.steps .dose { flex-shrink: 0; color: var(--color-accent); }--/* The family: a bento with the sister's phone as its lead */+/* Thursday, phone by phone: a rail of screens past the container's edge */+.day { padding-top: var(--section-gap); }+.day__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }+.day__head h2 { grid-column: 1 / span 6; }+.day__head .lead { grid-column: 8 / span 5; color: var(--color-ink-2); }+.rail { --edge: max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter)); display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: var(--gap-columns); margin: 0; padding: var(--space-md) var(--edge) var(--space-xl); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--color-rule) transparent; }+.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }+.moment { display: grid; gap: var(--space-lg); align-content: start; scroll-snap-align: start; }+.moment .phone { --w: 260px; aspect-ratio: 360 / 680; }+.moment__cap { max-width: 26ch; font-size: var(--text-md); font-weight: 500; color: var(--color-ink); }+.moment__cap .dose { display: block; margin-bottom: var(--space-2xs); font-size: var(--text-title); color: var(--color-accent); }+.ph .due__acts { margin-top: auto; }+.ph .due__note { margin-bottom: 2.2em; }+.ph .given__note { margin-bottom: 2.2em; }+.lock { justify-items: center; align-items: center; padding-top: 6em; background: var(--color-paper-3); text-align: center; }+.lock__day { font-size: 1.5em; font-weight: 500; color: var(--color-ink-2); }+.lock__time { margin-top: 0.1em; font-size: 7.2em; font-weight: 400; line-height: 1; letter-spacing: -0.04em; }+.lock__note { display: grid; gap: 0.3em; width: 100%; margin-top: 4em; padding: 1.3em 1.4em; border-radius: 1.4em; background: var(--color-paper); box-shadow: 0 0 0 1px var(--color-rule); font-size: 1.35em; text-align: left; }+.lock__note b { font-weight: 500; color: var(--color-accent-deep); }+.ph__doses .is-today .ph__chip { box-shadow: inset 0 0 0 1.5px var(--color-accent); color: var(--color-ink); }++/* The statement on the ink band */+.band--ink { margin-top: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }+.say__line { max-width: 16ch; font-size: clamp(3rem, 8.4vw, 9.5rem); line-height: 0.98; letter-spacing: -0.045em; color: var(--color-paper); }+.say__sub { margin-top: var(--space-xl); font: 700 var(--text-section)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-accent-soft); }++/* The family: a bento, the photograph as its lead */.family { padding-block: var(--section-gap-l) var(--section-gap); }-.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 340px 340px; gap: var(--gap-columns); margin-top: var(--space-2xl); }+.family__head { max-width: 14ch; }+.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 320px 280px; gap: var(--gap-columns); margin-top: var(--space-2xl); }.tile { margin: 0; border-radius: var(--radius-card); min-width: 0; }-.tile--lead { grid-column: 1 / span 5; grid-row: 1 / span 2; display: grid; justify-items: center; align-content: center; gap: var(--space-md); padding: var(--space-xl); background: var(--color-paper-3); }-.tile--lead .phone { --w: min(calc(var(--col) * 3 + var(--gap-columns) * 2), 290px); }-.tile__cap { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }-.tile--photo { grid-column: 6 / span 7; grid-row: 1; aspect-ratio: auto; }-.tile--week, .tile--seen { padding: var(--space-xl); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-rule); display: grid; align-content: start; gap: var(--space-md); }-.tile--week { grid-column: 6 / span 4; }-.tile--seen { grid-column: 10 / span 3; align-content: space-between; }+.tile--photo { grid-column: 1 / span 6; grid-row: 1 / span 2; aspect-ratio: auto; }+.tile--dose { grid-column: 7 / span 6; grid-row: 1; display: grid; align-content: center; gap: var(--space-sm); padding: var(--space-xl) var(--space-2xl); background: var(--color-accent-soft); }+.crop__time { font-size: clamp(3rem, 4.4vw, 4.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--color-ink); }+.crop__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) 0; border-block: 1px solid color-mix(in oklab, var(--color-ink) 16%, transparent); }+.crop__what { display: grid; font-size: var(--text-title); font-weight: 500; line-height: 1.2; }+.crop__what .dose { font-size: var(--text-md); font-weight: 400; color: var(--color-ink-2); }+.crop__chip { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-md); font-style: normal; font-weight: 500; }+.crop__by { font-size: var(--text-lg); color: var(--color-ink-2); }+.tile--seen, .tile--missed { display: grid; align-content: space-between; gap: var(--space-md); padding: var(--space-xl); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-rule); }+.tile--seen { grid-column: 7 / span 3; grid-row: 2; }+.tile--missed { grid-column: 10 / span 3; grid-row: 2; }.tile h3 { font-size: var(--text-title); }-.tile--seen p:not(.seen) { color: var(--color-ink-2); }-.wk { list-style: none; margin: 0; padding: 0; }-.wk li { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); font-weight: 500; }-.wk li:last-child { border-bottom: 0; }-.wk b { font-weight: 500; color: var(--color-accent-deep); }-.wk .is-short b { color: var(--color-muted); }-.wk .is-today b { color: var(--color-ink); }+.tile--missed p { display: grid; justify-items: start; gap: var(--space-sm); color: var(--color-ink-2); }+.crop__chip--missed { height: 32px; font-size: var(--text-sm); background: var(--color-paper-3); color: var(--color-muted); }.seen { display: flex; flex-wrap: wrap; gap: var(--space-xs); }.seen span { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent-soft); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }-/* The statement on the ink band */-.band--ink { background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }-.say__line { max-width: 16ch; font-size: clamp(3rem, 8.4vw, 9.5rem); line-height: 0.98; letter-spacing: -0.045em; color: var(--color-paper); }-.say__sub { margin-top: var(--space-xl); font: 700 var(--text-section)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-accent-soft); }--/* The plan: one lifted surface on a tint well, holding the form */-.start { padding-block: var(--section-gap) var(--section-gap-s); }-.start__grid { align-items: center; padding: var(--space-3xl) var(--space-2xl); border-radius: calc(var(--radius-card) * 2); background: var(--color-paper-3); }-.start__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }-.start__text .lead { color: var(--color-ink-2); }-.plan { grid-column: 7 / span 6; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }-.plan__price { display: flex; align-items: baseline; gap: var(--space-md); }-.plan__fig { font: 700 var(--text-display)/0.9 var(--font-display); letter-spacing: -0.04em; color: var(--color-accent); }-.plan__for { font-size: var(--text-lead); font-weight: 500; color: var(--color-ink-2); }-.plan__list { list-style: none; margin: var(--space-xl) 0; padding: 0; border-top: 1px solid var(--color-rule); }-.plan__list li { padding: var(--space-md) 0; border-bottom: 1px solid var(--color-rule); font-size: var(--text-lg); }-.signup { display: grid; gap: var(--space-xs); min-width: 0; }-.signup label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }-.signup__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }-.signup input { flex: 1 1 14rem; min-width: 0; width: 100%; height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }-.signup input:hover { background: var(--color-paper-2); }-.signup input:focus-visible { outline-color: var(--color-focus); }-.signup input[aria-invalid] { border-color: var(--color-error); }-.signup input:disabled { background: var(--color-paper-2); border-color: var(--color-rule); color: var(--color-muted); cursor: not-allowed; }-.signup__help { min-height: 1lh; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }+/* The close: the set-up's first step on a tint well, the household screen answering beside it */+.start { padding-block: 0 var(--section-gap-s); }+.start__grid { align-items: center; padding: var(--space-3xl) var(--space-2xl) 0; border-radius: calc(var(--radius-card) * 2); background: var(--color-paper-3); overflow: hidden; }+.start__text { grid-column: 1 / span 6; display: grid; justify-items: start; gap: var(--space-lg); padding-bottom: var(--space-3xl); }+.start__text .lead { max-width: 30ch; color: var(--color-ink-2); }+.pills { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-sm) 0 var(--space-xs); padding: 0; border: 0; }+.pills legend { width: 100%; margin-bottom: var(--space-sm); padding: 0; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }+.pills input { position: absolute; width: 1px; height: 1px; opacity: 0; }+.pills label { display: inline-flex; align-items: center; height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--color-rule); font-weight: 500; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }+.pills label:hover { box-shadow: inset 0 0 0 1.5px var(--color-accent); }+.pills input:checked + label { background: var(--color-accent-soft); box-shadow: none; }+.pills input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }+.setup__help { min-height: 1lh; max-width: 40ch; font-size: var(--text-sm); color: var(--color-ink-2); }+.start__phone { grid-column: 8 / span 5; align-self: end; display: grid; justify-items: center; }+.start__phone .phone { --w: 320px; aspect-ratio: 360 / 560; border-radius: calc(var(--u) * 3.2) calc(var(--u) * 3.2) 0 0; }+.hh .hh__lead { padding-top: 0.6em; }+.hh .hh__lead .ph__what { font: 700 1.4em/1.1 var(--font-display); }+.hh .hh__lead .ph__by { font: 400 0.6em/1.4 var(--font-body); }+.hh__add { display: grid; place-items: center; height: 3.3em; margin-top: 1.6em; border-radius: 0.55em; box-shadow: inset 0 0 0 1.5px var(--color-accent); color: var(--color-accent-deep); font-size: 1.4em; font-weight: 500; }/* The tray close */.foot { padding-bottom: var(--space-lg); }@@ -211,35 +204,23 @@.hero__visual > * { grid-area: auto; }.hero__phone { order: -1; justify-self: center; }.hero__photo { width: 100%; aspect-ratio: 4 / 3; }- .phone { --w: min(calc(var(--cw) * 0.86), 320px); }- .day__head h2, .day__head .lead, .family__head h2, .family__head .lead, .buzz__text, .buzz__phones, .start__text, .plan { grid-column: 1 / -1; }- .day__head .lead, .family__head .lead { margin-top: var(--space-md); }- .table-wrap { overflow-x: auto; }- .timetable { min-width: 44rem; }- .buzz__phones { justify-content: center; margin-top: var(--space-2xl); }- .buzz__phones .phone { --w: min(calc((var(--cw) - var(--gap-columns)) / 2), 300px); }+ .hero .phone { --w: min(calc(var(--cw) * 0.86), 320px); }+ .day__head h2, .day__head .lead, .start__text, .start__phone { grid-column: 1 / -1; }+ .day__head .lead { margin-top: var(--space-md); }+ .rail { grid-auto-columns: 240px; gap: var(--space-lg); }+ .moment .phone { --w: 240px; }.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }- .tile--lead { grid-column: 1 / -1; grid-row: auto; }- .tile--lead .phone { --w: min(calc(var(--cw) * 0.7), 300px); }.tile--photo { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }- .tile--week, .tile--seen { grid-column: span 1; }- .start__grid { padding: var(--space-2xl) var(--space-lg); }- .plan { margin-top: var(--space-xl); }+ .tile--dose { grid-column: 1 / -1; grid-row: auto; padding: var(--space-xl); }+ .tile--seen, .tile--missed { grid-column: span 1; grid-row: auto; }+ .start__grid { padding: var(--space-2xl) var(--space-lg) 0; }+ .start__text { padding-bottom: var(--space-2xl); }+ .start__phone .phone { --w: min(calc(var(--cw) * 0.8), 300px); }.foot__tray { grid-template-columns: minmax(0, 1fr); }}@media (max-width: 40rem) {- .timetable { min-width: 0; }- .timetable thead { display: none; }- .timetable tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--space-md); align-items: center; padding: var(--space-md) 0; border-bottom: 1px solid var(--color-rule); }- .timetable td, .timetable tbody th { height: auto; padding: 0; border: 0; font-size: var(--text-md); }- .timetable td:nth-child(3), .timetable td:nth-child(4) { grid-column: 2; font-size: var(--text-sm); color: var(--color-muted); }- .timetable .tt__time { width: auto; grid-row: span 3; align-self: start; font-size: var(--text-lg); }- .timetable td.r { grid-column: 3; grid-row: 1; }- .buzz__second { display: none; }- .buzz__phones .phone { --w: min(calc(var(--cw) * 0.86), 320px); }.bento { grid-template-columns: minmax(0, 1fr); }- .tile--week, .tile--seen { grid-column: 1 / -1; }- .start__grid { padding: var(--space-xl) var(--space-md); }- .plan { padding: var(--space-lg); }+ .tile--seen, .tile--missed { grid-column: 1 / -1; }+ .start__grid { padding: var(--space-xl) var(--space-md) 0; }+ .pills label { padding: 0 var(--space-md); }}-.timetable .dose { white-space: nowrap; }diff --git a/site/themes/editorial/index.html b/site/themes/editorial/index.htmlindex cb0ce21..0f91d48 100644--- a/site/themes/editorial/index.html+++ b/site/themes/editorial/index.html@@ -17,8 +17,9 @@<div class="container mast__inner"><p class="mast__date">Issue 9, out 3 October</p><a class="wordmark" href="#top" aria-label="Margin Notes, back to the top">Margin Notes</a>- <nav class="mast__nav" aria-label="Pre-order">- <a href="#preorder">Pre-order</a>+ <nav class="mast__nav" aria-label="Page">+ <a href="#contents">Contents</a>+ <a class="btn btn--primary btn--sm" href="#preorder">Pre-order</a></nav></div></header>@@ -28,15 +29,24 @@<div class="container cover__grid"><div class="cover__text"><h1 id="cover-h">Repair</h1>- <p class="cover__lead">Issue 9 of the independent quarterly on design, out 3 October.</p>+ <p class="cover__lead">The independent quarterly on design and the people behind it.</p>+ <dl class="cover__spec">+ <div><dt>Pages</dt><dd>164</dd></div>+ <div><dt>A copy</dt><dd>£18</dd></div>+ <div><dt>On sale</dt><dd>3 October</dd></div>+ </dl><div class="actions"><a class="btn btn--primary" href="#preorder">Pre-order, £18</a>- <a class="textlink" href="#issue">Inside the issue</a>+ <a class="btn" href="#contents">Inside the issue</a></div></div>- <figure class="photo cover__photo" data-slot="cover" data-alt="The cover photograph of Issue 9, Repair">- <img src="photos/bike-repair-is-taking-place-in-a-workshop-with-focus-on-fixi-1920.jpg" width="1920" height="1277" fetchpriority="high" sizes="60vw"- alt="Hands tightening the stem of a red bicycle in a dark workshop">+ <figure class="issue-cover" aria-label="The cover of Issue 9">+ <div class="photo issue-cover__photo" data-slot="cover" data-alt="The cover photograph of Issue 9, Repair">+ <img src="photos/bike-repair-is-taking-place-in-a-workshop-with-focus-on-fixi-1920.jpg" width="1920" height="1277" fetchpriority="high" sizes="(min-width: 60rem) 34vw, 90vw"+ alt="Hands tightening the stem of a red bicycle in a dark workshop">+ </div>+ <p class="issue-cover__mast" aria-hidden="true">Margin Notes</p>+ <p class="issue-cover__line" aria-hidden="true"><span>Issue 9</span>Repair</p></figure></div></section>@@ -49,85 +59,79 @@</div></section>- <section class="issue" id="issue" aria-labelledby="issue-h">+ <section class="contents" id="contents" aria-labelledby="contents-h"><div class="container"><div class="headblock opens">- <h2 id="issue-h">164 pages on mending things</h2>- <p class="lead">Three questions run through the whole issue.</p>+ <h2 id="contents-h">Inside Issue 9</h2>+ <p class="lead">Sample titles, to show the shape. The full contents run with the issue.</p></div>- <ol class="contents">- <li><h3>What gets fixed</h3><p>The objects, rooms and systems that designers are asked to keep going.</p></li>- <li><h3>Who fixes it</h3><p>The people who do the patient work, and how they learned it.</p></li>- <li><h3>Why it is worth it</h3><p>What a repair costs, what it saves, and what it says about the thing.</p></li>+ <ol class="index">+ <li class="index__lead">+ <p class="index__kind">Report</p>+ <div class="index__body"><h3>The workshops keeping chairs in use</h3><p>A long visit to the benches where furniture comes back.</p></div>+ <figure class="photo index__photo" data-slot="report" data-alt="An opening photograph from the issue's report">+ <img src="photos/wooden-chairs-in-workshop-awaiting-restoration-and-repair-in-1920.jpg" width="1920" height="2876" loading="lazy" sizes="(min-width: 60rem) 30vw, 100vw"+ alt="Wooden chairs part way through restoration, stacked on benches in a furniture workshop">+ </figure>+ </li>+ <li><p class="index__kind">Essay</p><h3>What a mend says about the thing</h3><p>On keeping, and what it costs.</p></li>+ <li><p class="index__kind">Interview</p><h3>A bicycle mechanic on learning by hand</h3><p>Apprenticeship, without the word.</p></li>+ <li><p class="index__kind">Portfolio</p><h3>Tools worn to the shape of a hand</h3><p>Photographed flat, at actual size.</p></li>+ <li><p class="index__kind">Notes</p><h3>Readers’ repairs, sent in</h3><p>Small fixes, and why they mattered.</p></li></ol></div></section><section class="spread" aria-labelledby="spread-h"><div class="container">- <div class="spread__frame">- <figure class="photo spread__photo" data-slot="spread" data-alt="An opening spread from Issue 9, photographed flat">+ <div class="spread__head">+ <h2 id="spread-h">Printed to be kept</h2>+ <p class="lead">164 pages on uncoated stock, made to be read twice.</p>+ </div>+ <figure class="spread__figure">+ <div class="photo spread__photo" data-slot="spread" data-alt="An opening spread from Issue 9, photographed flat"><img src="photos/traditional-hand-plane-china-1920.jpg" width="1920" height="1172" loading="lazy" sizes="(min-width: 1440px) 1312px, 100vw"alt="A worn wooden plane resting in curled shavings on an old workbench">- </figure>- <h2 class="spread__line" id="spread-h">Some things are worth keeping</h2>- </div>- </div>- </section>-- <section class="figures" aria-labelledby="figures-h">- <div class="container">- <div class="headblock">- <h2 id="figures-h">The issue in hand</h2>- <p class="lead">Four times a year, each one a single subject.</p>- </div>- <dl class="figures__row">- <div><dt>Pages</dt><dd>164</dd></div>- <div><dt>A copy</dt><dd>£18</dd></div>- <div><dt>On sale</dt><dd>3 Oct</dd></div>- <div><dt>Issues a year</dt><dd>4</dd></div>- </dl>+ </div>+ <figcaption>From the portfolio: a plane, worn where the hand goes.</figcaption>+ </figure></div></section><section class="preorder" id="preorder" aria-labelledby="preorder-h"><div class="container preorder__grid">- <figure class="photo preorder__photo" data-slot="issue" data-alt="Issue 9 itself, open on a table">- <img src="photos/wooden-chairs-in-workshop-awaiting-restoration-and-repair-in-1920.jpg" width="1920" height="2876" loading="lazy" sizes="(min-width: 60rem) 40vw, 100vw"- alt="Wooden chairs part way through restoration, stacked on benches in a furniture workshop">- </figure>- <div class="preorder__text">- <div class="preorder__head">- <h2 id="preorder-h">Pre-order Issue 9</h2>- <p class="tag">Out 3 October</p>- </div>- <form class="order" data-endpoint="" novalidate>- <table class="spec">- <tbody>- <tr><th scope="row">Issue</th><td>9, Repair</td></tr>- <tr><th scope="row">Pages</th><td>164</td></tr>- <tr><th scope="row">Price</th><td>£18 a copy</td></tr>- </tbody>- </table>- <div class="order__row">- <div class="field field--copies">- <label for="copies">Copies</label>- <select id="copies" name="copies">- <option value="1" selected>1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option>- </select>- </div>- <div class="field">- <label for="email">Email address</label>- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required>- </div>- </div>- <div class="order__foot">- <p class="total"><span class="total__label">Total</span> <output class="total__sum" for="copies" id="total">£18</output></p>- <button class="btn btn--primary" type="submit">Pre-order</button>- </div>- <p class="help" id="order-help" aria-live="polite"></p>- </form>+ <div class="preorder__facts">+ <h2 id="preorder-h">Pre-order Issue 9</h2>+ <table class="spec">+ <tbody>+ <tr><th scope="row">Issue</th><td>9, Repair</td></tr>+ <tr><th scope="row">Pages</th><td>164</td></tr>+ <tr><th scope="row">On sale</th><td>3 October</td></tr>+ <tr><th scope="row">Price</th><td>£18 a copy</td></tr>+ </tbody>+ </table></div>+ <form class="order" data-endpoint="" novalidate>+ <fieldset class="copies">+ <legend>Copies</legend>+ <div class="copies__set">+ <input type="radio" name="copies" id="c1" value="1" checked><label for="c1">1</label>+ <input type="radio" name="copies" id="c2" value="2"><label for="c2">2</label>+ <input type="radio" name="copies" id="c3" value="3"><label for="c3">3</label>+ <input type="radio" name="copies" id="c4" value="4"><label for="c4">4</label>+ <input type="radio" name="copies" id="c5" value="5"><label for="c5">5</label>+ </div>+ </fieldset>+ <div class="field">+ <label for="email">Email address, for the receipt</label>+ <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required>+ </div>+ <div class="order__foot">+ <p class="total"><span class="total__label">Total</span> <output class="total__sum" id="total">£18</output></p>+ <button class="btn btn--primary btn--lg" type="submit">Pre-order</button>+ </div>+ <p class="help" id="order-help" aria-live="polite"></p>+ </form></div></section></main>@@ -136,12 +140,19 @@<div class="container"><div class="foot__close"><p class="foot__line">Repair is out on 3 October.</p>- <a class="btn btn--primary" href="#preorder">Pre-order Issue 9</a>+ <form class="next" data-endpoint="" data-done="We will write to {email} when the next issue is out." novalidate>+ <label for="next-email">Hear when the next issue is out</label>+ <div class="next__row">+ <input id="next-email" name="email" type="email" autocomplete="email" inputmode="email" required>+ <button class="btn" type="submit">Tell me</button>+ </div>+ <p class="help" id="next-help" aria-live="polite"></p>+ </form></div><div class="foot__row"><p class="foot__text"><span class="foot__mark">Margin Notes</span> is an independent quarterly about design and the people behind it. Set in Bricolage Grotesque and Source Serif 4.</p><nav class="foot__nav" aria-label="Footer">- <a href="#issue">Issue 9</a>+ <a href="#contents">Inside Issue 9</a><a href="#preorder">Pre-order</a><a href="#top">Back to the top</a></nav>@@ -154,11 +165,10 @@<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });+const total = document.getElementById('total');+document.querySelectorAll('input[name="copies"]').forEach((r) => r.addEventListener('change', () => { total.value = '£' + (18 * Number(r.value)); }));document.querySelectorAll('form[data-endpoint]').forEach((form) => {const help = form.querySelector('[aria-live]'), email = form.querySelector('input[type=email]');- const copies = form.querySelector('#copies'), total = form.querySelector('#total');- const sum = () => { total.value = '£' + (18 * Number(copies.value)); };- copies.addEventListener('change', sum); sum();form.addEventListener('submit', (e) => {e.preventDefault();const ok = email.checkValidity();@@ -167,7 +177,7 @@ document.querySelectorAll('form[data-endpoint]').forEach((form) => {email.removeAttribute('aria-describedby');if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'Your pre-order is in. The receipt goes to ' + email.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })+ .then((r) => { help.textContent = r.ok ? (form.dataset.done || 'Your pre-order is in. The receipt goes to {email}.').replace('{email}', email.value.trim()) : 'That did not go through. Try again in a minute.'; }).catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });});});diff --git a/site/themes/editorial/style.css b/site/themes/editorial/style.cssindex bb16d98..1e4a323 100644--- a/site/themes/editorial/style.css+++ b/site/themes/editorial/style.css@@ -1,5 +1,7 @@-/* Hallmark · shape: Marquee Hero · genre: editorial · theme: Editorial (by request)- * hero: Stage, Repair set as a lone cover word on five columns beside the cover photograph bleeding off the right edge · nav: masthead, the wordmark centred over a heavy ink rule with the dateline and one link at its edges · footer: statement, the closing line in the condensed head over a heavy rule and the colophon · imagery: photographs, library 3, natural sat=-10 con=4 · range: a serif standfirst, contents rows, figures reversed out of ink, an order with a live total+/* Hallmark · job: listen · shape: Marquee Hero (the current issue: the cover built as an object beside the order, the standfirst at size, the contents as an Index of sample titles, one spread, the order as a spec sheet) · genre: editorial · theme: Editorial (by request)+ * hero: Counter, Repair set as a lone cover word over the issue's spec and its order buttons on seven columns, the built cover (photograph, masthead, cover line on its scrim) standing at 3:4 beside it · sections: Statement (the serif standfirst), Index (contents by kind, the lead row with its photograph), Showcase (one 21:9 spread with its caption), Offer as a spec sheet (copies, live total, pre-order) · nav: masthead, the wordmark centred over a heavy ink rule with the dateline and the pre-order at its edges · footer: statement, the closing line beside a next-issue sign-up, over the colophon · imagery: photographs, library 3, natural sat=-10 con=4+ * samples: the contents titles and kinds are sample shapes the publisher replaces; the page says so under the head+ * job close: a publication ends on the order and, for a quarterly, a line to hear when the next issue is out, so the sign-up stays, small, in the footer* axes: light/display-condensed/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.8 launch pass */@import url("./tokens.css");@import url("./base.css");@@ -40,19 +42,29 @@ small, figcaption, th, nav, label, .btn, .tag, .textlink, dt, .mast__date { font.mast__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--gap-columns); min-height: calc(var(--mast-h) - var(--rule-heavy)); }.mast__date { font-size: var(--text-sm); color: var(--color-muted); }.wordmark { font: 800 2.5rem/1 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }-.mast__nav { justify-self: end; }-.mast__nav a { font-size: var(--text-sm); color: var(--color-ink); text-decoration: underline 1px; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.3em; padding-block: var(--space-xs); transition: text-decoration-color var(--dur-short) var(--ease-out); }-.mast__nav a:hover { text-decoration-color: var(--color-accent); }+.mast__nav { justify-self: end; display: flex; align-items: center; gap: var(--space-lg); }+.mast__nav a:not(.btn) { font-size: var(--text-sm); color: var(--color-ink); text-decoration: underline 1px; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.3em; padding-block: var(--space-xs); transition: text-decoration-color var(--dur-short) var(--ease-out); }+.mast__nav a:not(.btn):hover { text-decoration-color: var(--color-accent); }.mast :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }-/* Cover: the issue word beside the cover photograph */-.cover { min-height: calc(100svh - var(--mast-h)); display: grid; align-items: center; padding-block: var(--space-2xl); box-sizing: border-box; }-.cover__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); align-items: center; }-.cover h1 { font-size: clamp(5rem, 17vw, 15.5rem); line-height: 0.88; letter-spacing: -0.02em; max-width: none; margin-left: -0.04em; }-.cover__lead { margin-top: var(--space-lg); max-width: 22em; font: 400 var(--text-lead)/1.4 var(--font-body); color: var(--color-ink); }-.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }-.cover .cover__photo { height: min(72svh, 46rem); margin-right: calc(-1 * var(--bleed)); }-.cover__photo > img { object-position: 52% 40%; }+/* Cover: the issue word and its order beside the built cover */+.cover { min-height: calc(100svh - var(--mast-h)); display: grid; align-items: center; padding-block: var(--space-xl); box-sizing: border-box; }+.cover__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3xl); align-items: center; }+.cover h1 { font-size: clamp(5rem, 21vw, 19rem); line-height: 0.86; letter-spacing: -0.02em; max-width: none; margin-left: -0.04em; }+.cover__lead { margin-top: var(--space-lg); max-width: 26em; font: 400 var(--text-lead)/1.4 var(--font-body); color: var(--color-ink); }+.cover__spec { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: var(--space-xl) 0 0; border-top: var(--rule-heavy) solid var(--color-ink); }+.cover__spec > div { display: flex; flex-direction: column-reverse; gap: var(--space-2xs); padding: var(--space-md) var(--space-xl) 0 0; }+.cover__spec > div + div { padding-left: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }+.cover__spec dt { font-size: var(--text-sm); color: var(--color-muted); }+.cover__spec dd { margin: 0; font: 800 var(--text-2xl)/1 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; }+.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xl); }+.issue-cover { position: relative; margin: 0; height: clamp(520px, calc(100svh - var(--mast-h) - 140px), 760px); aspect-ratio: 3 / 4; outline: 1px solid var(--color-rule-2); outline-offset: -1px; }+.issue-cover__photo { position: absolute; inset: 0; }+.issue-cover__photo > img { object-position: 48% 40%; }+.issue-cover::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-ink) 55%, transparent) 0%, transparent 22%, transparent 55%, color-mix(in oklab, var(--color-ink) 78%, transparent) 100%); }+.issue-cover__mast { position: absolute; z-index: 3; top: var(--space-lg); left: var(--space-lg); right: var(--space-lg); font: 800 clamp(2.25rem, 3.6vw, 3.5rem)/0.9 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -0.015em; color: var(--color-paper); }+.issue-cover__line { position: absolute; z-index: 3; left: var(--space-lg); bottom: var(--space-lg); display: grid; gap: var(--space-xs); font: 800 clamp(2.5rem, 4.2vw, 4rem)/0.9 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; color: var(--color-paper); }+.issue-cover__line span { justify-self: start; padding: var(--space-3xs) var(--space-xs); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-sm)/1.4 var(--font-display); font-variation-settings: "opsz" 12; }/* Shared */.photo { margin: 0; }@@ -60,65 +72,77 @@ small, figcaption, th, nav, label, .btn, .tag, .textlink, dt, .mast__date { font.headblock { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }.headblock h2 { grid-column: 1 / span 7; }.headblock .lead { grid-column: 9 / span 4; padding-bottom: var(--space-2xs); }+figcaption { padding-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }/* About: the standfirst at size */.about { padding-top: var(--section-gap-s); }.standfirst { max-width: 17em; font: 400 clamp(2.25rem, 4.6vw, 4.5rem)/1.14 var(--font-body); letter-spacing: -0.01em; color: var(--color-ink); text-wrap: balance; }-/* The issue: contents rows */-.issue { padding-top: var(--section-gap); }-.contents { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }-.contents li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }-.contents h3 { grid-column: 1 / span 6; font-size: clamp(2rem, 2.4vw + 0.75rem, 3rem); line-height: 1; max-width: none; }-.contents p { grid-column: 7 / span 5; max-width: 34ch; font-size: var(--text-lead); line-height: 1.4; }+/* Contents: an index by kind, the lead row with its photograph */+.contents { padding-top: var(--section-gap); }+.index { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }+.index li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); transition: background-color var(--dur-short) var(--ease-out); }+.index__kind { grid-column: 1 / span 2; font: 500 var(--text-sm)/1.3 var(--font-display); font-variation-settings: "opsz" 12; color: var(--color-muted); }+.index li > h3 { grid-column: 3 / span 6; font-size: clamp(1.75rem, 1.6vw + 0.9rem, 2.5rem); line-height: 1; max-width: none; }+.index li > p:last-child { grid-column: 9 / span 4; font-size: var(--text-md); line-height: 1.45; }+.index .index__lead { align-items: start; padding-block: var(--space-xl); }+.index__lead .index__kind { color: var(--color-accent); padding-top: var(--space-sm); }+.index__body { grid-column: 3 / span 6; display: grid; gap: var(--space-md); align-self: start; }+.index__body h3 { font-size: var(--text-display-s); line-height: 0.95; max-width: 20ch; }+.index__body p { font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); max-width: 28ch; }+.index__photo { grid-column: 9 / span 4; aspect-ratio: 4 / 3; }+.index__photo > img { object-position: 50% 60%; }-/* Spread: one picture across the measure with its cover line */+/* Spread: one picture across the measure, with its caption */.spread { padding-top: var(--section-gap-l); }-.spread__frame { position: relative; }+.spread__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.spread__head h2 { grid-column: 1 / span 7; }+.spread__head .lead { grid-column: 9 / span 4; padding-bottom: var(--space-2xs); }+.spread__figure { margin: var(--space-2xl) 0 0; }.spread__photo { aspect-ratio: 21 / 9; }.spread__photo > img { object-position: 50% 45%; }-.spread__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--scrim); pointer-events: none; }-.spread__line { position: absolute; left: var(--space-2xl); bottom: var(--space-2xl); z-index: 3; max-width: 13ch; font-size: clamp(3rem, 5.6vw, 5.25rem); line-height: 0.95; color: var(--color-paper); }-/* Figures, reversed out of the ink band */-.figures { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }-.figures h2 { color: var(--color-paper); }-.figures .lead { color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }-.figures__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 30%, var(--color-ink)); }-.figures__row > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-sm); padding: var(--space-xl) var(--space-lg) 0; border-left: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 22%, var(--color-ink)); }-.figures__row > div:first-child { border-left: 0; padding-left: 0; }-.figures__row dd { margin: 0; font: 800 clamp(3.5rem, 7vw, 7.5rem)/0.9 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--color-paper); white-space: nowrap; }-.figures__row dt { font-size: var(--text-md); color: color-mix(in oklab, var(--color-paper) 72%, var(--color-ink)); }--/* Pre-order, on the paper-2 well */-.preorder { padding-block: var(--section-gap-s); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); }-.preorder__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.preorder__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }-.preorder__photo > img { object-position: 50% 60%; }-.preorder__text { grid-column: 7 / span 6; }-.preorder__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-sm) var(--gap-columns); }-.order { display: grid; gap: var(--space-xl); margin-top: var(--space-2xl); }+/* Pre-order: the order as a spec sheet on the paper-2 well */+.preorder { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); }+.preorder__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.preorder__facts { grid-column: 1 / span 6; display: grid; gap: var(--space-2xl); }+.preorder__facts h2 { font-size: var(--text-display); line-height: 0.9; max-width: 8ch; }+.order { grid-column: 8 / span 5; display: grid; gap: var(--space-xl); align-self: end; }.spec { width: 100%; border-collapse: collapse; border-top: var(--rule-heavy) solid var(--color-ink); }-.spec th, .spec td { padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }+.spec th, .spec td { padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); text-align: left; vertical-align: baseline; }.spec th { width: 40%; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }.spec td { font: 800 var(--text-title)/1.1 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; color: var(--color-ink); font-variant-numeric: lining-nums; }-.order__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--space-md) var(--gap-columns); }+.copies { margin: 0; padding: 0; border: 0; }+.copies legend { padding: 0 0 var(--space-xs); font: 500 var(--text-sm)/1.3 var(--font-display); font-variation-settings: "opsz" 12; color: var(--color-muted); }+.copies__set { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: var(--rule-hair) solid var(--color-ink); }+.copies__set input { position: absolute; opacity: 0; width: 1px; height: 1px; }+.copies__set label { display: grid; place-items: center; min-height: 52px; font: 800 var(--text-title)/1 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; color: var(--color-ink); font-variant-numeric: lining-nums; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }+.copies__set label + input + label, .copies__set input + label ~ label { border-left: var(--rule-hair) solid var(--color-rule-2); }+.copies__set label:hover { background: var(--color-paper-3); }+.copies__set input:checked + label { background: var(--color-ink); color: var(--color-paper); }+.copies__set input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; position: relative; z-index: 1; }.field { display: grid; gap: var(--space-xs); }-.field label { font-size: var(--text-sm); color: var(--color-muted); }-.field input, .field select { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; }-.field select { appearance: none; padding-right: var(--space-2xl); background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }-.field input:focus-visible, .field select:focus-visible { outline-color: var(--color-focus); }-.field input[aria-invalid] { border-color: var(--color-error); box-shadow: inset 0 0 0 1px var(--color-error); }-.order__foot { display: flex; align-items: end; justify-content: space-between; gap: var(--gap-columns); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }+.field label, .next label { font: 500 var(--text-sm)/1.3 var(--font-display); font-variation-settings: "opsz" 12; color: var(--color-muted); }+.field input, .next input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--dur-micro) var(--ease-out); }+.field input:hover, .next input:hover { border-color: var(--color-ink); }+.field input:focus-visible, .next input:focus-visible { outline-color: var(--color-focus); }+.field input[aria-invalid], .next input[aria-invalid] { border-color: var(--color-error); box-shadow: inset 0 0 0 1px var(--color-error); }+.order__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-columns); padding-top: var(--space-lg); border-top: var(--rule-heavy) solid var(--color-ink); }.total { display: flex; align-items: baseline; gap: var(--space-md); }.total__label { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 12; font-size: var(--text-sm); color: var(--color-muted); }-.total__sum { font: 800 var(--text-display-s)/1 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -0.015em; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; }+.total__sum { font: 800 var(--text-display)/0.9 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -0.015em; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; }+.btn--lg { min-height: 52px; padding-inline: var(--space-xl); }+.btn--sm { min-height: 44px; padding-inline: var(--space-md); font-size: var(--text-sm); }.help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }/* Footer: the closing line over the colophon */-.foot { padding-block: var(--section-gap-s) var(--space-2xl); }+.foot { padding-block: var(--section-gap) var(--space-2xl); }.foot__close { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg) var(--gap-columns); padding-bottom: var(--space-xl); border-bottom: var(--rule-heavy) solid var(--color-ink); }.foot__line { max-width: 20ch; font: 800 var(--text-display)/0.95 var(--font-display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -0.015em; color: var(--color-ink); text-wrap: balance; }+.next { display: grid; gap: var(--space-xs); width: min(100%, 28rem); }+.next__row { display: flex; gap: var(--space-xs); }+.next input { flex: 1; min-width: 0; }+.next .help { margin: 0; }.foot__mark { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: 1.25em; color: var(--color-ink); }.foot__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); padding-top: var(--space-lg); }.foot__text { grid-column: 1 / span 5; font-size: var(--text-md); }@@ -134,30 +158,30 @@ small, figcaption, th, nav, label, .btn, .tag, .textlink, dt, .mast__date { font@media (max-width: 60rem) {.mast__date { display: none; }.mast__inner { grid-template-columns: auto minmax(0, 1fr); }+ .mast__nav a:not(.btn) { display: none; }.wordmark { font-size: 2rem; }- .cover { min-height: 0; padding-block: var(--space-xl) var(--space-3xl); }- .cover__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .cover { min-height: 0; padding-block: var(--space-xl) 0; }+ .cover__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }.cover h1 { font-size: 24vw; }- .cover .cover__photo { height: auto; aspect-ratio: 4 / 3; margin-right: calc(-1 * var(--gutter)); }- .headblock h2, .headblock .lead { grid-column: 1 / -1; }- .headblock .lead { margin-top: var(--space-md); }- .contents li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }- .contents h3, .contents p { grid-column: 1; }+ .issue-cover { height: auto; width: min(100%, 26rem); }+ .headblock h2, .headblock .lead, .spread__head h2, .spread__head .lead { grid-column: 1 / -1; }+ .headblock .lead, .spread__head .lead { margin-top: var(--space-md); }+ .index li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }+ .index li > *, .index__body, .index__photo { grid-column: 1 !important; }+ .index__photo { margin-top: var(--space-md); aspect-ratio: 4 / 3; }.spread__photo { aspect-ratio: 4 / 3; }- .spread__line { left: var(--space-lg); bottom: var(--space-lg); }- .figures__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }- .figures__row > div:nth-child(3) { border-left: 0; padding-left: 0; }.preorder__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }- .preorder__photo, .preorder__text { grid-column: 1; }- .preorder__photo { aspect-ratio: 4 / 3; }+ .preorder__facts, .order { grid-column: 1; }.foot__row { grid-template-columns: minmax(0, 1fr); }.foot__text, .foot__nav, .foot__legal { grid-column: 1; justify-self: start; }.foot__nav { flex-direction: row; flex-wrap: wrap; gap: var(--space-lg); }}@media (max-width: 40rem) {.cover h1 { font-size: 29vw; }+ .cover__spec > div { padding-right: var(--space-md); }+ .cover__spec > div + div { padding-left: var(--space-md); }+ .cover__spec dd { font-size: var(--text-xl); }.standfirst { font-size: 2rem; }- .order__row { grid-template-columns: minmax(0, 1fr); }.order__foot { flex-wrap: wrap; }- .figures__row > div { padding-inline: var(--space-md) 0; }+ .next__row { flex-direction: column; }}diff --git a/site/themes/formwork/index.html b/site/themes/formwork/index.htmlindex d2fe560..42ce6b0 100644--- a/site/themes/formwork/index.html+++ b/site/themes/formwork/index.html@@ -19,8 +19,8 @@<nav aria-label="Main"><ul class="slab__links"><li class="slab__wide"><a href="#work">The work</a></li>- <li class="slab__wide"><a href="#build">How it gets built</a></li>- <li><a class="btn btn--secondary" href="#site">Send the site</a></li>+ <li class="slab__wide"><a href="#clients">Councils and skaters</a></li>+ <li><a class="btn btn--secondary" href="#contact">Talk to us</a></li></ul></nav></div>@@ -37,7 +37,7 @@<h1 id="hero-head">37 parks, poured to be skated</h1><p class="lead">Skateparks and public concrete for councils, built from Bristol.</p><div class="acts">- <a class="btn btn--primary" href="#site">Start park 38</a>+ <a class="btn btn--primary" href="#contact">Start park 38</a><a class="btn btn--secondary" href="#work">See the work</a></div></div>@@ -45,89 +45,108 @@</div></section>- <section class="count" aria-labelledby="count-head">- <div class="container count__grid">- <div class="card count__plate">- <p class="count__fig">37</p>- <p class="count__unit">Parks built and skated</p>- </div>- <div class="count__text">- <h2 id="count-head">For councils and the people who skate</h2>- <p class="lead">Skateparks and public concrete landscapes, each one poured from Bristol.</p>- <a class="count__link" href="#build">How a park gets built</a>+ <section class="pour" aria-labelledby="pour-head">+ <div class="container pour__grid">+ <p class="pour__fig" aria-describedby="pour-unit"><span class="pour__num">37</span><span class="pour__unit" id="pour-unit">parks built and skated</span></p>+ <div class="pour__text">+ <h2 id="pour-head">What we pour</h2>+ <dl class="rows">+ <div><dt>Skateparks</dt><dd>Bowls, banks and transitions, poured in place.</dd></div>+ <div><dt>Public concrete</dt><dd>Landscapes for squares, paths and parks, made to be used.</dd></div>+ <div><dt>From Bristol</dt><dd>For councils, and for the people who skate what gets built.</dd></div>+ </dl></div></div></section><section class="work" id="work" aria-labelledby="work-head"><div class="container">- <h2 id="work-head">What the parks are made of</h2>+ <div class="work__head">+ <h2 id="work-head">What the parks are made of</h2>+ <p class="lead">Concrete, cast against boards and pumped in from the boom.</p>+ </div><div class="board"><figure class="photo board__lead"><div class="board__pic" data-slot="work-1" data-alt="Board-marked concrete from one of your parks: a wall, a block or a bank, close"><img src="photos/p-rtschach-10-oktober-stra-e-27-telekommunikationsgeb-ude-si-1920.jpg" width="1920" height="1281" loading="lazy" sizes="(min-width: 60rem) 60vw, 100vw" style="object-position: 50% 50%" alt="A concrete wall marked by the boards it was cast against"></div>- <figcaption>Concrete cast against boards.</figcaption>+ <figcaption>Cast against boards: the grain stays in the wall.</figcaption></figure><figure class="photo board__b"><div class="board__pic" data-slot="work-2" data-alt="A pour on one of your parks, concrete going into the forms"><img src="photos/in-situ-concrete-pouring-1920.jpg" width="1920" height="2560" loading="lazy" sizes="(min-width: 60rem) 30vw, 100vw" style="object-position: 45% 50%" alt="A pump boom feeding concrete into a column against a low sun"></div>- <figcaption>Pumped in from the boom, column by column.</figcaption>+ <figcaption>The pour, from the boom.</figcaption></figure></div></div></section>- <section class="build band--cast" id="build" aria-labelledby="build-head">+ <section class="clients band--cast" id="clients" aria-labelledby="clients-head"><div class="container">- <div class="build__head">- <h2 id="build-head">How park 38 gets built</h2>- <p class="lead">From the ground out to the fences down.</p>+ <div class="clients__head">+ <h2 id="clients-head">Two clients for every park</h2>+ <p class="lead">The council owns the ground. The skaters know what rides.</p>+ </div>+ <div class="clients__pair">+ <article class="card plate" aria-labelledby="c-council">+ <h3 id="c-council">Councils</h3>+ <dl class="rows rows--plate">+ <div><dt>You bring</dt><dd>The site and the budget line.</dd></div>+ <div><dt>We bring</dt><dd>The dig, the steel and the pour.</dd></div>+ </dl>+ <a class="plate__go" href="#contact" data-who="council">Send the site as a council</a>+ </article>+ <article class="card plate" aria-labelledby="c-group">+ <h3 id="c-group">Skate groups</h3>+ <dl class="rows rows--plate">+ <div><dt>You bring</dt><dd>The spot you skate now and your council.</dd></div>+ <div><dt>We bring</dt><dd>Thirty-seven parks of knowing what skates.</dd></div>+ </dl>+ <a class="plate__go" href="#contact" data-who="skate group">Send the spot as a skate group</a>+ </article></div>- <ol class="stages" role="list">- <li><span class="stages__n" aria-hidden="true">1</span><h3>Dig</h3><p>The ground comes out to the drawings.</p></li>- <li><span class="stages__n" aria-hidden="true">2</span><h3>Form</h3><p>Steel goes in; edges and transitions are set.</p></li>- <li><span class="stages__n" aria-hidden="true">3</span><h3>Pour</h3><p>Concrete goes in, floated smooth as it sets.</p></li>- <li><span class="stages__n" aria-hidden="true">4</span><h3>Open</h3><p>The fences come down and it is skated.</p></li>- </ol></div></section>- <section class="site" id="site" aria-labelledby="site-head">- <div class="container">- <div class="card site__card">- <div class="site__head">- <h2 id="site-head">Park 38</h2>- <p class="lead">Send us the site.</p>- <dl class="site__who">- <div><dt>Councils</dt><dd>The site and the budget line.</dd></div>- <div><dt>Skate groups</dt><dd>Your council and the spot you skate now.</dd></div>- </dl>+ <section class="contact" id="contact" aria-labelledby="contact-head">+ <div class="container contact__grid">+ <div class="contact__head">+ <h2 id="contact-head">Park 38</h2>+ <p class="lead">Send us the site. A town and a place is enough.</p>+ <dl class="rows rows--contact">+ <div><dt>Office</dt><dd>Bristol</dd></div>+ <div><dt>Email</dt><dd><span class="fill" data-fill="email">The address to write to</span></dd></div>+ </dl>+ </div>+ <form class="form" data-endpoint="" novalidate>+ <fieldset class="seg">+ <legend>Who is asking</legend>+ <div class="seg__opts">+ <input type="radio" name="who" id="w-council" value="council" checked><label for="w-council">A council</label>+ <input type="radio" name="who" id="w-group" value="skate group"><label for="w-group">A skate group</label>+ </div>+ </fieldset>+ <div class="field">+ <label for="f-site" data-label-council="Where is the site" data-label-group="Where do you skate now">Where is the site</label>+ <input id="f-site" name="site" type="text" autocomplete="off" required aria-describedby="site-hint">+ <p class="field__hint" id="site-hint">A town and a place is enough.</p></div>- <form class="form" data-endpoint="" novalidate>- <fieldset class="seg">- <legend>Who is asking</legend>- <div class="seg__opts">- <input type="radio" name="who" id="w-council" value="council" checked><label for="w-council">A council</label>- <input type="radio" name="who" id="w-group" value="skate group"><label for="w-group">A skate group</label>- </div>- </fieldset>+ <div class="field__pair"><div class="field">- <label for="f-site">Where is the site</label>- <input id="f-site" name="site" type="text" autocomplete="off" required aria-describedby="site-hint">- <p class="field__hint" id="site-hint">A town and a place is enough.</p>+ <label for="f-name" data-label-council="Council and your name" data-label-group="Group and your name">Council and your name</label>+ <input id="f-name" name="name" type="text" autocomplete="name" required></div><div class="field"><label for="f-email">Email</label><input id="f-email" name="email" type="email" autocomplete="email" inputmode="email" required></div>- <div class="form__end">- <button class="btn btn--primary" type="submit">Send the site</button>- <p class="form__help" id="form-help" aria-live="polite"></p>- </div>- </form>- </div>+ </div>+ <div class="form__end">+ <button class="btn btn--primary" type="submit">Send the site</button>+ <p class="form__help" id="form-help" aria-live="polite"></p>+ </div>+ </form></div></section></main>@@ -138,8 +157,8 @@<div class="foot__row"><nav class="foot__links" aria-label="Footer"><a href="#work">The work</a>- <a href="#build">How a park gets built</a>- <a href="#site">Send the site</a>+ <a href="#clients">Councils and skaters</a>+ <a href="#contact">Talk to us</a></nav><p class="foot__legal">© 2026 Ashgrove Concrete, Bristol</p></div>@@ -148,24 +167,36 @@</footer><script>-document.querySelectorAll('form[data-endpoint]').forEach((form) => {+/* Who is asking: a plate's link ticks the answer; the labels follow it */+const form = document.querySelector('form[data-endpoint]');+const relabel = () => {+ const g = form.who.value === 'skate group';+ form.querySelectorAll('[data-label-council]').forEach((l) => { l.textContent = g ? l.dataset.labelGroup : l.dataset.labelCouncil; });+ form.querySelector('[type="submit"]').textContent = g ? 'Send the spot' : 'Send the site';+};+form.addEventListener('change', relabel);+document.querySelectorAll('a[data-who]').forEach((a) => a.addEventListener('click', () => {+ const r = form.querySelector(`input[name="who"][value="${a.dataset.who}"]`);+ if (r) { r.checked = true; relabel(); }+ setTimeout(() => form.querySelector('#f-site').focus({ preventScroll: true }), 0);+}));+relabel();+form.addEventListener('submit', (e) => {+ e.preventDefault();const help = form.querySelector('[aria-live]');- form.addEventListener('submit', (e) => {- e.preventDefault();- const fields = [...form.querySelectorAll('input[required]')];- fields.forEach((i) => i.toggleAttribute('aria-invalid', !i.checkValidity()));- const bad = fields.find((i) => !i.checkValidity());- if (bad) {- bad.setAttribute('aria-describedby', help.id);- help.textContent = bad.type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : 'Name the town and the place, so we can find the site.';- bad.focus();- return;- }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'The site reached us.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });- });+ const fields = [...form.querySelectorAll('input[required]')];+ fields.forEach((i) => i.toggleAttribute('aria-invalid', !i.checkValidity()));+ const bad = fields.find((i) => !i.checkValidity());+ if (bad) {+ bad.setAttribute('aria-describedby', help.id);+ help.textContent = bad.type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : bad.name === 'site' ? 'Name the town and the place, so we can find the site.' : 'Add a name, so the reply can use it.';+ bad.focus();+ return;+ }+ if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })+ .then((r) => { help.textContent = r.ok ? 'The site reached us.' : 'That did not go through. Try again in a minute.'; })+ .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });});</script><script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };diff --git a/site/themes/formwork/style.css b/site/themes/formwork/style.cssindex ade9c63..108a5bb 100644--- a/site/themes/formwork/style.css+++ b/site/themes/formwork/style.css@@ -1,6 +1,6 @@-/* Hallmark · shape: Site Board, second pour (named here: a ramp in hard light under the count, the count cast as a plate, the concrete itself in two frames, the four stages across the cast band, the site sheet) · genre: editorial · theme: Formwork (by request) · formwork: cast- * hero: Poster · nav: slab · footer: statement on ink · imagery: photographs, library 3, natural sat=-100 con=35 exp=8 · signature: 37 cast at 18rem on a plate with the hard ink shadow- * axes: mid/display-condensed/warm · posture: restrained · contrast: pass · fold: pass · v2.8.0 */+/* Hallmark · shape: Site Board, third pour (named here: a ramp in hard light under the count, the count cast in the paper beside what gets poured, the concrete itself in two frames, the two clients as plates on the cast band, the contact sheet) · genre: editorial · theme: Formwork (by request) · formwork: cast · job: hire+ * hero: Poster · sections: figure beside rows (37 and what we pour), showcase at 8 and 4, comparison as two plates on the cast band, contact (office, email slot, the site form) · nav: slab, Talk to us pressed in at the right · footer: statement on ink · imagery: photographs, library 3, natural sat=-100 con=35 exp=8 · signature: 37 cast at 20rem in the paper under a 3px ink bar, two client plates with the hard ink shadow+ * fills: the contact email · axes: mid/display-condensed/warm · posture: restrained · contrast: pass · fold: pass · v2.8.0 */@import url("./tokens.css");@import url("./base.css");@@ -63,65 +63,74 @@ body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-e.hero .lead { margin-top: var(--space-lg); max-width: 36ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-plate-ink); }.hero .acts { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }-/* The count, cast as a plate */-.count { padding-top: var(--section-gap); }-.count__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.count__plate { grid-column: 1 / span 6; display: grid; align-content: end; min-height: 0; padding: var(--space-3xl) var(--space-2xl) var(--space-2xl); color: var(--color-ink); }-.count__fig { margin: 0; font: 700 clamp(9rem, 24vw, 22rem)/0.86 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--color-ink); }-.count__unit { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); font: 500 var(--text-lead)/1.3 var(--font-outlier); color: var(--color-ink); }-.count__text { grid-column: 8 / -1; display: grid; justify-items: start; gap: var(--space-lg); }-.count__text h2 { font-size: var(--text-display-s); font-variant-numeric: tabular-nums; }-.count__link { font: 500 var(--text-md)/1.4 var(--font-body); color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }-.count__link:hover { text-decoration-color: var(--color-accent); }+/* Rows: a label in Archivo, the line beside it, hairlines between, the ink bar above */+.rows { margin: 0; border-top: var(--rule-bar) solid var(--color-ink); }+.rows > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-paper-3); }+.rows dt { font: 700 var(--text-title)/1.1 var(--font-display); text-transform: uppercase; color: var(--color-ink); }+.rows dd { margin: 0; font-size: var(--text-md); line-height: 1.5; color: var(--color-ink-2); }++/* What we pour: 37 cast in the paper, the rows beside it */+.pour { padding-top: var(--section-gap); }+.pour__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.pour__fig { grid-column: 1 / span 5; display: grid; margin: 0; }+.pour__num { font: 700 clamp(10rem, 22vw, 20rem)/0.8 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--color-ink); }+.pour__unit { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); font: 500 var(--text-lead)/1.3 var(--font-outlier); color: var(--color-ink); }+.pour__text { grid-column: 7 / -1; }+.pour__text h2 { margin-bottom: var(--space-2xl); font-size: var(--text-display-s); }/* The work: two photographs, eight columns and four, captioned with the material */.work { padding-top: var(--section-gap-l); }-.work h2 { margin-bottom: var(--space-2xl); font-size: var(--text-display-s); }+.work__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }+.work__head h2 { grid-column: 1 / span 7; font-size: var(--text-display-s); }+.work__head .lead { grid-column: 9 / -1; }.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); padding-top: var(--space-xl); border-top: var(--rule-bar) solid var(--color-ink); }.board__lead { grid-column: 1 / span 8; }.board__b { grid-column: 9 / span 4; }.board__pic { height: 600px; }.board__pic > img { outline: 2px solid var(--color-ink); outline-offset: -2px; }-/* How a park is built: four stages across the cast band */-.build { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); }-.build__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }-.build__head h2 { grid-column: 1 / span 7; font-size: var(--text-display-s); }-.build__head .lead { grid-column: 9 / -1; }-.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); }-.stages li { display: grid; align-content: start; gap: var(--space-md); padding: var(--space-xl) var(--gap-columns) var(--space-lg); border-left: var(--rule-hair) solid var(--color-paper-3); }-.stages li:first-child { padding-left: 0; border-left: 0; }-.stages__n { font: 700 clamp(4rem, 6vw, 6.5rem)/0.9 var(--font-display); font-variant-numeric: lining-nums tabular-nums; color: var(--color-ink); }-.stages li:nth-child(3) .stages__n { color: var(--color-accent-deep); }-.stages h3 { font-size: var(--text-2xl); }-.stages p { max-width: 30ch; color: var(--color-ink-2); }--/* Park 38: the site form on a cast card */-.site { padding-block: var(--section-gap) var(--section-gap-s); }-.site__card { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; padding: var(--space-2xl); color: var(--color-ink); }-.site__head { grid-column: 1 / span 5; }-.site__card .form { grid-column: 7 / span 6; }-.site__head h2 { font-size: var(--text-display-s); }-.site__head .lead { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-ink-2); }-.site__who { display: grid; gap: var(--space-md); margin: var(--space-xl) 0 0; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-paper-3); }-.site__who dt { font: 500 var(--text-md)/1.3 var(--font-body); color: var(--color-ink); }-.site__who dd { margin: var(--space-3xs) 0 0; color: var(--color-ink-2); }+/* Two clients: two plates side by side on the cast band, the one action under each */+.clients { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); }+.clients__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }+.clients__head h2 { grid-column: 1 / span 7; font-size: var(--text-display-s); }+.clients__head .lead { grid-column: 9 / -1; }+.clients__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }+.plate { display: grid; grid-template-rows: auto auto 1fr; gap: var(--space-xl); padding: var(--space-2xl); color: var(--color-ink); }+.plate h3 { font-size: var(--text-section); }+.rows--plate > div { padding-block: var(--space-md); }+.rows--plate dt { font: 500 var(--text-sm)/1.3 var(--font-body); text-transform: none; color: var(--color-ink-2); }+.rows--plate dd { font-size: var(--text-lead); line-height: 1.35; color: var(--color-ink); }+.plate__go { justify-self: start; align-self: end; display: inline-flex; align-items: center; min-height: 44px; font: 500 var(--text-md)/1.3 var(--font-body); color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }+.plate__go:hover { text-decoration-color: var(--color-accent); }++/* Park 38: the contact beside the site form */+.contact { padding-block: var(--section-gap) var(--section-gap-s); }+.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.contact__grid::before { content: ""; grid-column: 1 / -1; margin-bottom: var(--space-xl); border-top: var(--rule-bar) solid var(--color-ink); }+.contact__head { grid-column: 1 / span 5; }+.contact__head h2 { font-size: clamp(4rem, 8vw, 8rem); line-height: 0.92; }+.contact__head .lead { margin-top: var(--space-lg); max-width: 26ch; color: var(--color-ink-2); }+.rows--contact { margin-top: var(--space-2xl); }+.rows--contact dd { font-size: var(--text-lead); color: var(--color-ink); }+.fill { padding: 0 0.2em; color: var(--color-ink-2); background: color-mix(in oklch, var(--color-ink) 10%, transparent); }+.contact .form { grid-column: 7 / -1; padding-top: var(--space-md); }.form { display: grid; gap: var(--space-lg); }.field { display: grid; gap: var(--space-xs); }+.field__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }.field label, .seg legend { padding: 0; font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink); }-.field input { box-sizing: border-box; width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); box-shadow: inset 0 2px 3px color-mix(in oklab, var(--color-ink) 22%, transparent); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; transition: background-color var(--dur-short) var(--ease-out); }-.field input:hover { background: var(--color-paper); }+.field input { box-sizing: border-box; width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); box-shadow: inset 0 2px 3px color-mix(in oklab, var(--color-ink) 22%, transparent); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; transition: background-color var(--dur-short) var(--ease-out); }+.field input:hover { background: var(--color-plate); }.field input:focus-visible { outline-color: var(--color-focus); }-.field input:active { background: var(--color-paper); }+.field input:active { background: var(--color-plate); }.field input:disabled { opacity: 0.55; cursor: not-allowed; }-.field input[aria-invalid] { background: var(--color-paper); }+.field input[aria-invalid] { background: var(--color-plate); border-color: var(--color-focus); }.field__hint { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }.seg { display: grid; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }.seg__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }-.seg label { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-md); white-space: nowrap; border: 2px solid var(--color-ink); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }+.seg label { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-md); white-space: nowrap; border: 2px solid var(--color-ink); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }.seg label + input + label { border-left: 0; }-.seg label:hover { background: var(--color-paper); }+.seg label:hover { background: var(--color-plate); }.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }.seg input:disabled + label { opacity: 0.55; cursor: not-allowed; }@@ -144,6 +153,7 @@ body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-e@media (prefers-reduced-motion: reduce) {.btn--primary, .btn--secondary { transition: background-color var(--dur-short) linear; }+ .plate__go, .field input, .seg label { transition: none; }}@media (max-width: 60rem) {@@ -152,16 +162,11 @@ body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-e.hero__fig { position: relative; inset: auto; aspect-ratio: 4 / 3; }.hero__over { padding-block: 0; background: var(--color-ink); color: var(--color-plate-ink); }.hero__text { padding-inline: 0; }- .count__grid, .board, .build__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .count__plate, .count__text, .board__lead, .board__b, .build__head h2, .build__head .lead { grid-column: 1 / -1; }- .count__plate { min-height: 0; }+ .pour__grid, .board, .work__head, .clients__head, .clients__pair, .contact__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .pour__fig, .pour__text, .board__lead, .board__b, .work__head h2, .work__head .lead, .clients__head h2, .clients__head .lead, .contact__head, .contact .form { grid-column: 1 / -1; }.board__lead .board__pic { height: auto; aspect-ratio: 4 / 3; }.board__b .board__pic { height: auto; aspect-ratio: 4 / 5; }- .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }- .stages li:nth-child(3) { padding-left: 0; border-left: 0; }- .stages li:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-paper-3); }- .site__card { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding: var(--space-xl); }- .site__head, .site__card .form { grid-column: 1 / -1; }+ .plate { padding: var(--space-xl); }}@media (max-width: 40rem) {.slab__wide { display: none; }@@ -169,10 +174,9 @@ body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-e.slab__mark { font-size: var(--text-md); }.slab .btn { padding-inline: var(--space-md); }.hero .acts { display: grid; grid-template-columns: minmax(0, 1fr); justify-self: stretch; }- .count__plate { padding: var(--space-lg); }- .stages { grid-template-columns: minmax(0, 1fr); }- .stages li, .stages li:nth-child(3) { padding-inline: 0; border-left: 0; }- .stages li:nth-child(n+2) { border-top: var(--rule-hair) solid var(--color-paper-3); }+ .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }+ .field__pair { grid-template-columns: minmax(0, 1fr); }+ .plate { padding: var(--space-lg); }.seg label { padding: 0 var(--space-xs); }.foot__links { flex-direction: column; gap: var(--space-md); }}diff --git a/site/themes/furrow/index.html b/site/themes/furrow/index.htmlindex ba06d4b..4f7c3f6 100644--- a/site/themes/furrow/index.html+++ b/site/themes/furrow/index.html@@ -35,6 +35,7 @@<a class="btn btn--primary" href="#start">Open a farm book</a><a class="btn" href="#book">See the book</a></div>+ <p class="hero__terms"><span class="num">£12</span> a month per farm.</p></div><div class="hero__visual"><figure class="hero__photo" data-slot="hero" data-alt="Your own stock, on your own ground">@@ -63,59 +64,34 @@<section class="book" id="book" aria-labelledby="book-head"><div class="container">- <div class="book__head">- <h2 id="book-head">Three logs, one book</h2>- <p class="lead">Filed by date and ruled the way an inspector reads it.</p>- </div>- <div class="sheet record" data-slot="demo-2" data-alt="Your farm book: the movement, medicine and field work records">- <div class="record__top">- <span class="record__title">Example Farm</span>- <span class="record__farm">Holding <span class="num">12/345/6789</span></span>- <div class="seg" role="tablist" aria-label="Logs">- <button class="seg__tab" type="button" role="tab" id="t-mov" aria-controls="p-mov" aria-selected="false" tabindex="-1">Movements</button>- <button class="seg__tab" type="button" role="tab" id="t-med" aria-controls="p-med" aria-selected="true">Medicines</button>- <button class="seg__tab" type="button" role="tab" id="t-fld" aria-controls="p-fld" aria-selected="false" tabindex="-1">Field work</button>+ <div class="sheet index" data-slot="demo-2" data-alt="Your farm book: every movement, medicine and field job, newest first">+ <div class="index__top">+ <div class="index__title">+ <h2 id="book-head">The book</h2>+ <p class="index__farm">Example Farm, holding <span class="num">12/345/6789</span></p>+ </div>+ <div class="seg" role="group" aria-label="Show entries from">+ <button class="seg__tab" type="button" aria-pressed="true" data-log="all">All logs</button>+ <button class="seg__tab" type="button" aria-pressed="false" data-log="mov">Movements</button>+ <button class="seg__tab" type="button" aria-pressed="false" data-log="med">Medicines</button>+ <button class="seg__tab" type="button" aria-pressed="false" data-log="fld">Field work</button></div></div>-- <div class="panel" role="tabpanel" id="p-mov" aria-labelledby="t-mov" data-panel>- <table class="tbl tbl--mov">- <caption class="visually-hidden">Movement record, sample</caption>- <thead><tr><th scope="col">Date</th><th scope="col">Time</th><th scope="col">Animals</th><th scope="col">From</th><th scope="col">To</th><th scope="col">Logged by</th></tr></thead>- <tbody>- <tr><td class="num">08 Oct</td><td class="num">07:40</td><td><span class="num">24</span> ewes</td><td>Hill field</td><td>Home paddock</td><td>You</td></tr>- <tr><td class="num">08 Oct</td><td class="num">05:40</td><td><span class="num">2</span> tups</td><td>Home paddock</td><td>The yard</td><td>You</td></tr>- <tr><td class="num">05 Oct</td><td class="num">14:15</td><td><span class="num">30</span> lambs</td><td>Home paddock</td><td>Off the holding, to market</td><td>Farm hand</td></tr>- <tr><td class="num">29 Sep</td><td class="num">08:05</td><td><span class="num">40</span> ewes</td><td>Top meadow</td><td>Hill field</td><td>You</td></tr>- </tbody>- </table>- </div>-- <div class="panel" role="tabpanel" id="p-med" aria-labelledby="t-med" data-panel>- <table class="tbl tbl--med">- <caption class="visually-hidden">Medicine record, sample</caption>- <thead><tr><th scope="col">Date</th><th scope="col">Animal or group</th><th scope="col">Medicine</th><th scope="col" class="r">Dose</th><th scope="col">Batch</th><th scope="col">Withdrawal ends</th><th scope="col">Given by</th></tr></thead>- <tbody>- <tr><td class="num">06 Oct</td><td>Ewe <span class="num">0417</span></td><td>Wormer</td><td class="num r">10 ml</td><td class="num">B2241</td><td><span class="num">03 Nov</span> <i class="chip chip--held">In withdrawal</i></td><td>You</td></tr>- <tr><td class="num">06 Oct</td><td>Ewe <span class="num">0412</span></td><td>Wormer</td><td class="num r">10 ml</td><td class="num">B2241</td><td><span class="num">03 Nov</span> <i class="chip chip--held">In withdrawal</i></td><td>You</td></tr>- <tr><td class="num">01 Oct</td><td><span class="num">12</span> lambs</td><td>Vaccine</td><td class="num r">2 ml each</td><td class="num">V0918</td><td><span class="num">01 Oct</span> <i class="chip chip--ok">Clear</i></td><td>Farm hand</td></tr>- <tr><td class="num">24 Sep</td><td>Tup <span class="num">0033</span></td><td>Antibiotic</td><td class="num r">5 ml</td><td class="num">A7730</td><td><span class="num">22 Oct</span> <i class="chip chip--held">In withdrawal</i></td><td>Vet</td></tr>- </tbody>- </table>- </div>-- <div class="panel" role="tabpanel" id="p-fld" aria-labelledby="t-fld" data-panel>- <table class="tbl tbl--fld">- <caption class="visually-hidden">Field work record, sample</caption>- <thead><tr><th scope="col">Date</th><th scope="col">Field</th><th scope="col">Job</th><th scope="col">Rate</th><th scope="col" class="r">Area</th><th scope="col">Done by</th></tr></thead>- <tbody>- <tr><td class="num">08 Oct</td><td>Long acre</td><td>Rolled</td><td></td><td class="num r">3.6 ha</td><td>You</td></tr>- <tr><td class="num">06 Oct</td><td>Hill field</td><td>Topped</td><td></td><td class="num r">5.2 ha</td><td>Contractor</td></tr>- <tr><td class="num">03 Oct</td><td>Home paddock</td><td>Fertiliser</td><td class="num">125 kg/ha</td><td class="num r">2.1 ha</td><td>You</td></tr>- <tr><td class="num">30 Sep</td><td>Top meadow</td><td>Harrowed</td><td></td><td class="num r">4.0 ha</td><td>You</td></tr>- </tbody>- </table>- </div>+ <table class="tbl">+ <caption class="visually-hidden">The farm book, newest first, sample entries</caption>+ <thead><tr><th scope="col">Date</th><th scope="col">Log</th><th scope="col">Entry</th><th scope="col" class="r">Amount</th><th scope="col">Withdrawal</th><th scope="col">By</th></tr></thead>+ <tbody>+ <tr data-log="mov" class="is-lead"><td class="num">08 Oct <span class="t">07:40</span></td><td><i class="chip">Movement</i></td><th scope="row">Ewes, Hill field to Home paddock</th><td class="num r">24 head</td><td></td><td>You</td></tr>+ <tr data-log="fld"><td class="num">08 Oct <span class="t">06:10</span></td><td><i class="chip">Field work</i></td><th scope="row">Long acre, rolled</th><td class="num r">3.6 ha</td><td></td><td>You</td></tr>+ <tr data-log="mov"><td class="num">08 Oct <span class="t">05:40</span></td><td><i class="chip">Movement</i></td><th scope="row">Tups, Home paddock to the yard</th><td class="num r">2 head</td><td></td><td>You</td></tr>+ <tr data-log="med"><td class="num">06 Oct <span class="t">16:20</span></td><td><i class="chip chip--held">Medicine</i></td><th scope="row">Ewe <span class="num">0417</span>, wormer, batch <span class="num">B2241</span></th><td class="num r">10 ml</td><td><i class="chip chip--held">To <span class="num">03 Nov</span></i></td><td>You</td></tr>+ <tr data-log="fld"><td class="num">06 Oct <span class="t">10:00</span></td><td><i class="chip">Field work</i></td><th scope="row">Hill field, topped</th><td class="num r">5.2 ha</td><td></td><td>Contractor</td></tr>+ <tr data-log="mov"><td class="num">05 Oct <span class="t">14:15</span></td><td><i class="chip">Movement</i></td><th scope="row">Lambs, off the holding to market</th><td class="num r">30 head</td><td></td><td>Farm hand</td></tr>+ <tr data-log="fld"><td class="num">03 Oct <span class="t">09:30</span></td><td><i class="chip">Field work</i></td><th scope="row">Home paddock, fertiliser at <span class="num">125 kg/ha</span></th><td class="num r">2.1 ha</td><td></td><td>You</td></tr>+ <tr data-log="med"><td class="num">01 Oct <span class="t">08:45</span></td><td><i class="chip chip--held">Medicine</i></td><th scope="row">Lambs, vaccine, batch <span class="num">V0918</span></th><td class="num r">2 ml each</td><td><i class="chip chip--ok">Clear</i></td><td>Farm hand</td></tr>+ <tr data-log="med"><td class="num">24 Sep <span class="t">17:05</span></td><td><i class="chip chip--held">Medicine</i></td><th scope="row">Tup <span class="num">0033</span>, antibiotic, batch <span class="num">A7730</span></th><td class="num r">5 ml</td><td><i class="chip chip--held">To <span class="num">22 Oct</span></i></td><td>Vet</td></tr>+ </tbody>+ </table></div></div></section>@@ -129,29 +105,37 @@<h2 id="field-head">Logged in the field, not later</h2></div></div>- <div class="container">- <ol class="places">- <li><b>At the gate</b><span><span class="num">24</span> ewes counted through</span></li>- <li><b>At the pen</b><span>Wormer, <span class="num">10 ml</span>, batch <span class="num">B2241</span></span></li>- <li><b>From the cab</b><span>Long acre rolled, <span class="num">3.6 ha</span></span></li>- </ol>- </div></section><section class="day" id="day" aria-labelledby="day-head">- <div class="container day__grid">+ <div class="container"><div class="day__head">- <h2 id="day-head">One day, as it was logged</h2>- <p class="lead">Every entry keeps the minute it was made.</p>+ <h2 id="day-head">One day, by the hour</h2><p class="day__date">Thursday <span class="num">8 Oct</span>, Example Farm</p></div>- <ol class="times">- <li><time class="num" datetime="05:40">05:40</time><i class="chip">Movement</i><span>Two tups, Home paddock to the yard</span><b class="num">2 head</b></li>- <li><time class="num" datetime="06:10">06:10</time><i class="chip">Field work</i><span>Long acre, rolled</span><b class="num">3.6 ha</b></li>- <li><time class="num" datetime="07:40">07:40</time><i class="chip">Movement</i><span>Ewes, Hill field to Home paddock</span><b class="num">24 head</b></li>- <li><time class="num" datetime="11:20">11:20</time><i class="chip chip--held">Medicine</i><span>Ewe <span class="num">0421</span>, foot spray, batch <span class="num">S0457</span></span><b class="num">1 spray</b></li>- <li><time class="num" datetime="15:30">15:30</time><i class="chip">Field work</i><span>Top meadow, harrowed</span><b class="num">4.0 ha</b></li>- </ol>+ <div class="sched" role="table" aria-label="Thursday 8 October, entries by log and time, sample">+ <div class="sched__scale" role="row" aria-hidden="true"><span class="sched__name"></span><span class="sched__hours"><span class="num" style="--t:0">05:00</span><span class="num" style="--t:2">07:00</span><span class="num" style="--t:4">09:00</span><span class="num" style="--t:6">11:00</span><span class="num" style="--t:8">13:00</span><span class="num" style="--t:10">15:00</span><span class="num" style="--t:12">17:00</span></span></div>+ <div class="sched__row" role="row">+ <span class="sched__name" role="rowheader">Movements</span>+ <span class="sched__track" role="cell">+ <span class="ev" style="--t:0.67"><time class="num" datetime="2026-10-08T05:40">05:40</time><b>Tups to the yard</b><small class="num">2 head</small></span>+ <span class="ev" style="--t:2.67"><time class="num" datetime="2026-10-08T07:40">07:40</time><b>Ewes to Home paddock</b><small class="num">24 head</small></span>+ </span>+ </div>+ <div class="sched__row" role="row">+ <span class="sched__name" role="rowheader">Medicines</span>+ <span class="sched__track" role="cell">+ <span class="ev ev--med" style="--t:6.33"><time class="num" datetime="2026-10-08T11:20">11:20</time><b>Ewe <span class="num">0421</span>, foot spray</b><small class="num">Batch S0457</small></span>+ </span>+ </div>+ <div class="sched__row" role="row">+ <span class="sched__name" role="rowheader">Field work</span>+ <span class="sched__track" role="cell">+ <span class="ev" style="--t:1.17"><time class="num" datetime="2026-10-08T06:10">06:10</time><b>Long acre, rolled</b><small class="num">3.6 ha</small></span>+ <span class="ev ev--last ev--end" style="--t:10.5"><time class="num" datetime="2026-10-08T15:30">15:30</time><b>Top meadow, harrowed</b><small class="num">4.0 ha</small></span>+ </span>+ </div>+ </div></div></section>@@ -189,26 +173,33 @@</div></section>- <section class="band" id="start" aria-labelledby="start-head">+ <section class="band offer" id="start" aria-labelledby="start-head"><div class="container band__grid"><div class="band__text"><h2 id="start-head">One price, the whole book</h2>+ <p class="lead">For one farm, from the first job of the day.</p>+ </div>+ <div class="sheet offer__sheet">+ <div class="offer__bill"><ol class="bill"><li><span>Movement log</span><span>Included</span></li><li><span>Medicine log</span><span>Included</span></li><li><span>Field work log</span><span>Included</span></li>- <li class="bill__total"><span>A month, per farm</span><b>£12</b></li>+ <li><span>Ready for inspection</span><span>Included</span></li></ol>- </div>- <form class="sheet signup" data-endpoint="" novalidate>- <p class="signup__lead">Start the book with today’s first job.</p>- <label for="email">Email address</label>- <div class="signup__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-describedby="email-help">- <button class="btn btn--primary" type="submit">Open a farm book</button>+ <div class="offer__foot">+ <p class="offer__price"><b>£12</b><span>a month, per farm</span></p>+ </div></div>- <p class="signup__help" id="email-help" aria-live="polite"></p>+ <form class="open" data-endpoint="" novalidate aria-labelledby="open-head">+ <p class="open__head" id="open-head">Your farm’s book</p>+ <div class="field"><label for="farm">Farm name</label><input id="farm" name="farm" type="text" autocomplete="organization" required></div>+ <div class="field"><label for="cph">Holding number</label><input class="num" id="cph" name="cph" type="text" inputmode="numeric" placeholder="12/345/6789" pattern="[0-9]{2}/[0-9]{3}/[0-9]{4}" required></div>+ <div class="field"><label for="email">Email address</label><input id="email" name="email" type="email" autocomplete="email" required></div>+ <button class="btn btn--primary" type="submit">Open a farm book</button>+ <p class="open__help" id="open-help" aria-live="polite"></p></form>+ </div></div></section></main>@@ -227,29 +218,24 @@<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });-(() => {- const tabs = [...document.querySelectorAll('[role="tab"]')];- const show = (tab, focus) => {- tabs.forEach((t) => { const on = t === tab; t.setAttribute('aria-selected', String(on)); t.tabIndex = on ? 0 : -1; document.getElementById(t.getAttribute('aria-controls')).hidden = !on; });- if (focus) tab.focus();- };- tabs.forEach((t, i) => {- t.addEventListener('click', () => show(t));- t.addEventListener('keydown', (e) => { const d = e.key === 'ArrowRight' ? 1 : e.key === 'ArrowLeft' ? -1 : 0; if (d) { e.preventDefault(); show(tabs[(i + d + tabs.length) % tabs.length], true); } });- });- const start = tabs.find((t) => t.getAttribute('aria-selected') === 'true');- if (start) show(start);-})();document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const input = form.querySelector('input'), help = form.querySelector('[aria-live]');+ const help = form.querySelector('[aria-live]');+ const say = { farm: 'Add the name of your farm.', cph: 'Write the holding number as 12/345/6789.', email: 'That address looks incomplete. Write it as [email protected].' };form.addEventListener('submit', (e) => {e.preventDefault();- const ok = input.checkValidity();- input.toggleAttribute('aria-invalid', !ok);- if (!ok) { help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }+ const bad = [...form.querySelectorAll('input')].filter((i) => { const ok = i.checkValidity(); i.toggleAttribute('aria-invalid', !ok); if (!ok) i.setAttribute('aria-describedby', help.id); else i.removeAttribute('aria-describedby'); return !ok; });+ if (bad.length) { help.textContent = say[bad[0].name]; bad[0].focus(); return; }if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }});});+(() => {+ const btns = [...document.querySelectorAll('[data-log][aria-pressed]')];+ const rows = [...document.querySelectorAll('tr[data-log]')];+ btns.forEach((b) => b.addEventListener('click', () => {+ btns.forEach((x) => x.setAttribute('aria-pressed', String(x === b)));+ rows.forEach((r) => { r.hidden = b.dataset.log !== 'all' && r.dataset.log !== b.dataset.log; });+ }));+})();</script></body></html>diff --git a/site/themes/furrow/style.css b/site/themes/furrow/style.cssindex 7b91456..acfba23 100644--- a/site/themes/furrow/style.css+++ b/site/themes/furrow/style.css@@ -1,7 +1,7 @@-/* Hallmark · shape: Field Record, custom: the book first, then the field, one logged day, the inspection and the bill · genre: modern-minimal · theme: Furrow (by request) · draw: manual, v2.8 launch pass- * hero: Stage, the log on its white sheet overlapping the ewe's photograph · nav: three-part bar, the wordmark, four section links centred, the price and one outlined action, paper ruled in ink · footer: statement · imagery: photographs library 2 natural con=8 sat=-6, product sample in demo-1 to demo-3 · signature: the log being filled at the gate, laid over the stock it is about- * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.7.0 */-/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 · weakest: E, the old hero led with a ewe and left the product a screen down; now the log lies over the photograph, the book's three tabs work, and a logged day and a ruled bill carry the page in the theme's own rules */+/* Hallmark · job: sign up · shape: Field Record, custom: the whole book as a filtered index, the field, one day by the hour, the inspection and the offer with its account form · genre: modern-minimal · theme: Furrow (by request) · draw: manual, v2.8 layout fix+ * hero: Stage, the log on its white sheet overlapping the ewe's photograph, the price as the terms line · sections: Index (the book, nine entries across three logs, a working log filter), Showcase (full-bleed field photograph under an ink scrim), Schedule (one day, the three logs against the hours, the last entry in tangerine), Split mirrored (the medicine entry on a well beside the three records an inspection reads), Offer on the tangerine field (the bill and the price beside the account form: farm name, holding number, email) · nav: three-part bar, the wordmark, four section links centred, the price and one outlined action, paper ruled in ink · footer: statement · imagery: photographs library 2 natural con=8 sat=-6, product sample in demo-1 to demo-3 (animals, doses, batches, fields and times are samples) · signature: the log being filled at the gate, laid over the stock it is about+ * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.8.0 */+/* Hallmark · close: the offer, price and account form together; it opens a farm's book (farm name, holding number, email), the sign-up itself, not a mailing list *//* Hallmark · dismissed 23 · the tangerine band is the committed posture's one field, a declared surface under posture: committed in the stamp */@import url("./tokens.css");@import url("./base.css");@@ -44,6 +44,8 @@.hero h1 { max-width: 9ch; font-size: clamp(3rem, 1.6rem + 4.4vw, 5.75rem); line-height: 0.98; }.hero .lead { max-width: 30ch; color: var(--color-ink-2); }.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }+.hero__terms { margin-top: calc(-1 * var(--space-xs)); font-size: var(--text-sm); color: var(--color-muted); }+.hero__terms .num { color: var(--color-ink); font-weight: 500; }.hero__visual { position: relative; min-width: 0; }.hero__photo { height: min(76svh, 720px); margin: 0 0 0 26%; border-radius: var(--radius-card); }.hero__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-ink) 8%, transparent); pointer-events: none; }@@ -90,50 +92,65 @@.ph__tabs span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3em; color: var(--color-muted); }.ph__tabs .is-on { color: var(--color-ink); }-/* The book: the three logs on the white sheet, the tabs work */+/* The book: one index of every entry on the white sheet, a working log filter */.book { padding-top: var(--section-gap); }-.book__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }-.book__head h2 { grid-column: 1 / 7; }-.book__head .lead { grid-column: 8 / 13; color: var(--color-muted); }-.record { padding: var(--space-xl) var(--space-xl) var(--space-2xl); }-.record__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); padding-bottom: var(--space-lg); }-.record__title { font: 600 var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }-.record__farm { color: var(--color-muted); }-.seg { display: flex; gap: var(--space-3xs); margin-left: auto; padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-3); }+.index { padding: var(--space-xl) var(--space-xl) var(--space-lg); }+.index__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); padding-bottom: var(--space-xl); }+.index__title { display: grid; gap: var(--space-sm); }+.index__farm { color: var(--color-muted); }+.index__farm .num { color: var(--color-ink); }+.seg { display: flex; gap: var(--space-3xs); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-3); }.seg__tab { min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: 4px; background: transparent; color: var(--color-muted); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }.seg__tab:hover { color: var(--color-ink); background: color-mix(in oklab, var(--color-paper-2) 60%, transparent); }-.seg__tab[aria-selected="true"] { background: var(--color-accent); color: var(--color-accent-ink); }+.seg__tab[aria-pressed="true"] { background: var(--color-accent); color: var(--color-accent-ink); }.seg__tab:active { transform: translateY(1px); }.seg__tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }.seg__tab:disabled { opacity: 0.55; cursor: not-allowed; }-.panel + .panel { margin-top: var(--space-xl); }-.js .panel + .panel { margin-top: 0; }.tbl { width: 100%; border-collapse: collapse; border-top: var(--rule-hair) solid var(--color-ink); }-.tbl th, .tbl td { padding: 0 var(--space-md) 0 0; height: 56px; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; font-weight: 400; white-space: nowrap; }+.tbl th, .tbl td { padding: 0 var(--space-md) 0 0; height: 60px; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; font-weight: 400; white-space: nowrap; }+.tbl tbody tr:last-child > * { border-bottom: 0; }.tbl thead th { height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.tbl tbody th { width: 100%; font-weight: 500; color: var(--color-ink); white-space: normal; }+.tbl tbody th .num { font-weight: 400; font-size: 0.92em; }.tbl tbody td:first-child { color: var(--color-muted); }.tbl tbody tr { transition: background-color var(--dur-short) var(--ease-out); }.tbl tbody tr:hover { background: var(--color-paper); }+.tbl .is-lead th { font: 600 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.02em; }+.tbl .is-lead > * { height: 84px; }.tbl .r { text-align: right; padding-right: var(--space-xl); }.tbl td.num, .tbl .num { font-size: 0.9375rem; }+.tbl td:last-child { color: var(--color-ink-2); }-/* The day: ruled rows, the minute on the left */+/* The day: a schedule, the three logs against the hours, each entry pinned to its minute */.day { padding-top: var(--section-gap); }-.day__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }-.day__head { grid-column: 1 / 5; display: grid; gap: var(--space-md); position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }-.day__head .lead { color: var(--color-muted); max-width: 28ch; }-.day__date { margin-top: var(--space-md); font-weight: 500; color: var(--color-ink); }-.times { grid-column: 5 / 13; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }-.times li { display: grid; grid-template-columns: 5.5rem 7.5rem minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-lg); min-height: 96px; border-bottom: var(--rule-hair) solid var(--color-rule); }-.times time { font-size: var(--text-title); color: var(--color-ink); }-.times .chip { justify-self: start; }-.times span { font-size: var(--text-lg); font-weight: 500; color: var(--color-ink); }-.times span .num { font-size: 0.92em; font-weight: 400; }-.times b { font-size: var(--text-lg); font-weight: 500; color: var(--color-ink); }+.day__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-md) var(--space-xl); margin-bottom: var(--space-2xl); }+.day__date { font-size: var(--text-lead); font-weight: 500; color: var(--color-ink); }+.day__date .num { font-size: 0.92em; }+.sched { --name: 10rem; border-top: var(--rule-hair) solid var(--color-ink); }+.sched__scale, .sched__row { display: grid; grid-template-columns: var(--name) minmax(0, 1fr); }+.sched__hours { position: relative; height: 44px; }+.sched__hours span { position: absolute; top: 50%; left: calc(var(--t) / 12 * 100%); translate: -50% -50%; font-size: var(--text-sm); color: var(--color-muted); }+.sched__hours span:first-child { translate: 0 -50%; }+.sched__hours span:last-child { translate: -100% -50%; }+.sched__row { min-height: 148px; border-top: var(--rule-hair) solid var(--color-rule); }+.sched__name { display: flex; align-items: center; font: 600 var(--text-title)/1.1 var(--font-display); letter-spacing: -0.02em; }+.sched__track { position: relative; background-image: repeating-linear-gradient(90deg, var(--color-rule) 0 1px, transparent 1px calc(100% / 6)); background-size: 100% 100%; }+.ev { position: absolute; top: 50%; left: calc(var(--t) / 12 * 100%); translate: 0 -50%; display: grid; gap: var(--space-3xs); width: max-content; max-width: 13.5rem; padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-md); border-left: 2px solid var(--color-ink); border-radius: 0 var(--radius-pill) var(--radius-pill) 0; background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-rule); transition: background-color var(--dur-short) var(--ease-out); }+.ev:hover { background: var(--color-paper-3); }+.ev time { font-size: var(--text-sm); color: var(--color-muted); }+.ev b { font-size: var(--text-md); font-weight: 500; line-height: 1.3; }+.ev b .num { font-weight: 400; font-size: 0.92em; }+.ev small { font-size: var(--text-sm); color: var(--color-ink-2); }+.ev--med { border-left-color: var(--color-accent); }+.ev--last { background: var(--color-accent); border-left-color: var(--color-ink); }+.ev--last:hover { background: var(--color-accent); }+.ev--last time, .ev--last small { color: var(--color-accent-ink); }+.ev--end { translate: -100% -50%; border-left: 0; border-right: 2px solid var(--color-ink); border-radius: var(--radius-pill) 0 0 var(--radius-pill); text-align: right; }/* Inspection: the three records beside the medicine entry on a well */.inspect { padding-top: var(--section-gap-l); }-.inspect__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: center; }+.inspect__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-3xl); align-items: center; }+.inspect__text { order: 2; }.inspect__text { display: grid; gap: var(--space-md); }.inspect__text .lead { color: var(--color-muted); max-width: 32ch; }.logs { margin: var(--space-xl) 0 0; border-top: var(--rule-hair) solid var(--color-ink); }@@ -150,31 +167,31 @@.field-band__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, color-mix(in oklab, var(--color-ink) 66%, transparent), transparent 58%), linear-gradient(0deg, color-mix(in oklab, var(--color-ink) 40%, transparent), transparent 50%); }.field-band__in { position: relative; z-index: 3; padding-block: var(--space-3xl) var(--space-2xl); }.field-band h2 { max-width: 7em; font-size: clamp(2.5rem, 1rem + 3.4vw, 4.25rem); color: var(--color-paper); }-.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }-.places li { display: grid; gap: var(--space-2xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); }-.places b { font-size: var(--text-lg); font-weight: 500; }-.places span { color: var(--color-muted); }-.places .num { color: var(--color-ink); }--/* The bill on the tangerine field, the form on the white sheet */+/* The offer on the tangerine field: the bill and the price beside the account form, on one white sheet */.band { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); background: var(--color-accent); color: var(--color-accent-ink); }-.band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.band__text { grid-column: 1 / 7; display: grid; gap: var(--space-xl); }+.band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; }+.band__text { grid-column: 1 / 8; display: grid; gap: var(--space-md); }+.band__text .lead { color: var(--color-ink-2); }+.offer__sheet { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); padding: var(--space-2xl) var(--space-xl); color: var(--color-ink); }+.offer__bill { grid-column: 1 / 7; display: grid; align-content: space-between; gap: var(--space-2xl); }.bill { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }-.bill li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 22%, transparent); font-weight: 500; }-.bill li span:last-child { color: var(--color-ink-2); font-weight: 400; }-.bill .bill__total { align-items: end; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 2px solid var(--color-ink); border-bottom: 0; }-.bill__total b { font: 600 var(--text-display)/0.9 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }-.signup { grid-column: 8 / 13; display: grid; gap: var(--space-sm); padding: var(--space-xl); color: var(--color-ink); }-.signup__lead { margin-bottom: var(--space-sm); font: 600 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }-.signup label { font-weight: 500; }-.signup__row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }-.signup input { flex: 1 1 14rem; min-width: 0; height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); caret-color: var(--color-accent); }-.signup input:hover { border-color: var(--color-ink); }-.signup input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }-.signup input[aria-invalid] { border-color: var(--color-error); }-.signup input:disabled { opacity: 0.55; cursor: not-allowed; }-.signup__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }+.bill li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font-weight: 500; }+.bill li span:last-child { color: var(--color-green); font-weight: 500; font-size: var(--text-sm); }+.offer__price { display: flex; align-items: baseline; gap: var(--space-md); padding-top: var(--space-md); border-top: 2px solid var(--color-ink); }+.offer__price b { font: 600 clamp(4.5rem, 3rem + 4vw, 7.5rem)/0.9 var(--font-display); letter-spacing: var(--tracking-display); }+.offer__price span { font-weight: 500; color: var(--color-muted); }+.open { grid-column: 8 / 13; display: grid; gap: var(--space-md); align-content: start; }+.open__head { font: 600 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }+.field { display: grid; gap: var(--space-2xs); }+.field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }+.open input { width: 100%; min-width: 0; height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); caret-color: var(--color-accent); transition: border-color var(--dur-short) var(--ease-out); }+.open input.num { font-size: 0.9375rem; }+.open input::placeholder { color: color-mix(in oklab, var(--color-muted) 60%, var(--color-paper-2)); }+.open input:hover { border-color: var(--color-ink); }+.open input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }+.open input[aria-invalid] { border-color: var(--color-error); }+.open .btn { margin-top: var(--space-xs); width: 100%; min-height: 52px; }+.open__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }/* Footer: one closing line, the links and the legal line beneath */.close { padding-block: var(--section-gap-s) var(--space-2xl); }@@ -197,32 +214,40 @@.hero__photo { height: auto; aspect-ratio: 4 / 3; margin-left: 30%; }.hero__phone { --w: min(42vw, 280px); bottom: -10%; }.hero__visual { margin-bottom: var(--space-3xl); }- .book__head, .day__grid, .band__grid, .places { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }- .book__head h2, .book__head .lead, .day__head, .times, .band__text, .signup { grid-column: 1; }- .day__head { position: static; }+ .band__grid, .offer__sheet { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .band__text, .offer__sheet, .offer__bill, .open { grid-column: 1; }+ .open { padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-ink); }+ .inspect__text { order: 0; }+ .index { padding: var(--space-lg); overflow-x: auto; }.tbl th:last-child, .tbl td:last-child { display: none; }+ .sched { border-top: 0; }+ .sched__scale { display: none; }+ .sched__row { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink); }+ .sched__name { margin-bottom: var(--space-md); }+ .sched__track { display: grid; gap: var(--space-sm); background: none; }+ .ev, .ev--end { position: static; translate: none; width: auto; max-width: none; grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-sm); border-left: 2px solid var(--color-ink); border-right: 0; border-radius: 0 var(--radius-pill) var(--radius-pill) 0; text-align: left; }+ .ev--med { border-left-color: var(--color-accent); }.inspect__phone { --w: min(78vw, 320px); }.seg { margin-left: 0; }- .record { padding: var(--space-lg); overflow-x: auto; }.field-band__pic { aspect-ratio: 4 / 5; max-height: none; }.field-band__photo::after { background: linear-gradient(0deg, color-mix(in oklab, var(--color-ink) 70%, transparent), transparent 60%); }- .times li { grid-template-columns: 4.5rem minmax(0, 1fr) auto; row-gap: var(--space-2xs); padding-block: var(--space-md); }- .times .chip { grid-column: 2; grid-row: 1; }- .times span { grid-column: 2; grid-row: 2; }- .times b { grid-column: 3; grid-row: 1 / 3; }}@media (max-width: 40rem) {.hero__photo { margin-left: 0; aspect-ratio: 4 / 3; }.hero__phone { --w: min(78vw, 290px); position: relative; left: auto; bottom: auto; margin: calc(-1 * var(--space-3xl)) 0 0 auto; }.hero__visual { margin-bottom: 0; }- .tbl--med th:nth-child(4), .tbl--med td:nth-child(4) { display: none; }.close__links { display: grid; grid-template-columns: repeat(2, max-content); gap: var(--space-sm) var(--space-xl); }- .signup { padding: var(--space-lg); }+ .offer__sheet { padding: var(--space-xl) var(--space-lg); }+ .index__top { padding-bottom: var(--space-lg); }.seg { width: 100%; }.seg__tab { flex: 1; padding: 0 var(--space-xs); }- .tbl--med th:nth-child(5), .tbl--med td:nth-child(5), .tbl--med th:nth-child(7), .tbl--med td:nth-child(7), .tbl--mov th:nth-child(2), .tbl--mov td:nth-child(2), .tbl--mov th:nth-child(6), .tbl--mov td:nth-child(6), .tbl--fld th:nth-child(4), .tbl--fld td:nth-child(4), .tbl--fld th:nth-child(6), .tbl--fld td:nth-child(6) { display: none; }+ .tbl th:nth-child(2), .tbl td:nth-child(2), .tbl th:nth-child(5), .tbl td:nth-child(5) { display: none; }+ .tbl .is-lead th { font-size: var(--text-lg); }+ .tbl .t { display: none; }+ .tbl td { white-space: nowrap !important; }+ .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .ev, .ev--end { grid-template-columns: 3.5rem minmax(0, 1fr); }+ .ev small { grid-column: 2; }.tbl th, .tbl td { white-space: normal; padding-right: var(--space-xs); height: auto; padding-block: var(--space-sm); }- .times li { grid-template-columns: 3.5rem minmax(0, 1fr) auto; column-gap: var(--space-sm); }- .times time { font-size: var(--text-lg); }}diff --git a/site/themes/garden/index.html b/site/themes/garden/index.htmlindex 4f35c05..d3eba6f 100644--- a/site/themes/garden/index.html+++ b/site/themes/garden/index.html@@ -14,13 +14,14 @@<a class="skip" href="#main">Skip to content</a><header class="nav">- <p class="nav__banner"><a href="#season">Pick-your-own opens in September<span class="banner__more"> and runs to the end of October</span></a></p>+ <p class="nav__banner"><a href="#season" id="banner">Pick-your-own opens in September<span class="banner__more"> and runs to the end of October</span></a></p><div class="container nav__bar"><a class="wordmark" href="#top" aria-label="Hollins Orchard, home">Hollins Orchard</a><nav aria-label="Main" class="nav__right"><a href="#season">The season</a><a href="#varieties">Varieties</a><a href="#ciders">Ciders</a>+ <a class="nav__visit" href="#visit">Visit</a></nav></div></header>@@ -29,10 +30,10 @@<section class="hero" id="top" aria-labelledby="hero-title"><div class="hero__text"><h1 id="hero-title">Six acres of apples, yours to pick.</h1>- <p class="lead">A Herefordshire cider orchard with 22 varieties, open September to October.</p>+ <p class="lead">A cider orchard in Herefordshire, open for pick-your-own.</p><div class="actions">- <a class="btn btn--primary" href="#season">Plan a visit</a>- <a class="btn btn--quiet" href="#ciders">The three ciders</a>+ <a class="btn btn--primary" href="#visit">Plan a visit</a>+ <a class="btn btn--quiet" href="#season">When to come</a></div></div><figure class="photo hero__photo" data-slot="hero" data-alt="The rows at Hollins Orchard, apples ripe">@@ -40,102 +41,117 @@</figure></section>- <section class="count" aria-labelledby="count-title">+ <section class="season" id="season" aria-labelledby="season-title"><div class="container"><div class="head">- <h2 id="count-title">What grows here</h2>- <p class="lead">One orchard in Herefordshire, planted for cider.</p>+ <h2 id="season-title">Two months on the trees.</h2>+ <p class="lead season__status" id="status" aria-live="polite">Picking runs from September to the end of October.</p></div>- <dl class="figures">- <div><dt>acres of orchard</dt><dd class="figure">6</dd></div>- <div><dt>apple varieties in the rows</dt><dd class="figure">22</dd></div>- <div><dt>ciders to take home</dt><dd class="figure">3</dd></div>- </dl>+ <ol class="months" aria-label="The year, with the pick-your-own months marked">+ <li data-m="0">Jan</li><li data-m="1">Feb</li><li data-m="2">Mar</li><li data-m="3">Apr</li><li data-m="4">May</li><li data-m="5">Jun</li><li data-m="6">Jul</li><li data-m="7">Aug</li>+ <li data-m="8" class="is-open"><b>September</b><span>Pick-your-own</span></li>+ <li data-m="9" class="is-open"><b>October</b><span>Pick-your-own</span></li>+ <li data-m="10">Nov</li><li data-m="11">Dec</li>+ </ol></div></section><section class="rows" aria-labelledby="rows-title"><div class="container">- <div class="head">- <h2 id="rows-title">Walk the rows, pick what’s ripe</h2>- <p class="lead">Reach in, lift and twist: a ripe apple comes away in your hand.</p>- </div><figure class="photo rows__wide" data-slot="photo-1" data-alt="Someone picking in the orchard, seen from behind"><img src="photos/apple-picker-grythengen-toten-norway-1920.jpg" width="4864" height="3647" loading="lazy" decoding="async" alt="A grey-haired picker reaching into an old apple tree, seen from behind" style="object-position: 60% 38%"></figure>- </div>- </section>-- <section class="season" id="season" aria-labelledby="season-title">- <div class="container">- <div class="head">- <h2 id="season-title">The picking season</h2>- <p class="lead">Two months of the year, while the fruit is on the trees.</p>+ <div class="rows__under">+ <h2 id="rows-title">Reach in, lift and twist.</h2>+ <p class="lead">A ripe apple comes away in your hand. One that holds on wants another week.</p></div>- <ol class="months" aria-label="The year, with the pick-your-own months marked">- <li>Jan</li><li>Feb</li><li>Mar</li><li>Apr</li><li>May</li><li>Jun</li><li>Jul</li><li>Aug</li>- <li class="is-open"><b>September</b><span>Pick-your-own</span></li>- <li class="is-open"><b>October</b><span>Pick-your-own</span></li>- <li>Nov</li><li>Dec</li>- </ol>- <dl class="plan">- <div class="plan__row"><dt>Where</dt><dd>Herefordshire, on six acres of cider orchard</dd></div>- <div class="plan__row"><dt>Picking</dt><dd>Straight from the trees, while the fruit is ripe</dd></div>- </dl></div></section><section class="kinds" id="varieties" aria-labelledby="kinds-title"><div class="container kinds__grid">- <div class="kinds__text">- <h2 id="kinds-title">Twenty-two varieties to choose from</h2>- <p class="lead">Taste as you go, then fill your bag from the trees you liked.</p>- </div>- <figure class="photo kinds__photo" data-slot="photo-2" data-alt="A basket of apples just picked, in the grass">- <img src="photos/apples-in-basket-2018-g1-1920.jpg" width="1920" height="1670" loading="lazy" decoding="async" alt="A wicker basket heaped with red apples, standing in the grass" style="object-position: 50% 40%">- </figure>+ <div class="kinds__title"><p class="figure" aria-hidden="true">22</p><h2 id="kinds-title" class="kinds__unit"><span class="visually-hidden">22 </span>Apple varieties in the rows.</h2></div>+ <dl class="kinds__rows">+ <div><dt>Planted for</dt><dd>Cider, on six acres</dd></div>+ <div><dt>In the rows</dt><dd>Taste as you go</dd></div>+ <div><dt>To take home</dt><dd>A bag from the trees you liked</dd></div>+ </dl></div></section><section class="ciders band--ink" id="ciders" aria-labelledby="ciders-title"><div class="container ciders__grid">- <h2 id="ciders-title" class="ciders__line">Three ciders from the orchard, to take home after picking.</h2>- <a class="btn btn--leaf" href="#season">Plan a visit</a>+ <div class="ciders__head">+ <h2 id="ciders-title">Three ciders, to take home after picking.</h2>+ <p class="ciders__note">Prices to come.</p>+ </div>+ <ul class="ciders__list" role="list">+ <li><h3>Dry</h3><p>Crisp, for the table</p></li>+ <li><h3>Medium</h3><p>Rounder, with a little sweetness</p></li>+ <li><h3>Sweet</h3><p>For the end of the day</p></li>+ </ul>+ </div>+ </section>++ <section class="visit" id="visit" aria-labelledby="visit-title">+ <div class="container visit__grid">+ <figure class="photo visit__photo" data-slot="photo-2" data-alt="A basket of apples just picked, in the grass">+ <img src="photos/apples-in-basket-2018-g1-1920.jpg" width="1920" height="1670" loading="lazy" decoding="async" alt="A wicker basket heaped with red apples, standing in the grass" style="object-position: 50% 45%">+ </figure>+ <div class="visit__text">+ <h2 id="visit-title">Plan a visit.</h2>+ <dl class="plan">+ <div class="plan__row"><dt>When</dt><dd>September to the end of October</dd></div>+ <div class="plan__row"><dt>Where</dt><dd>Herefordshire, <span class="fill" data-fill="address">full address to come</span></dd></div>+ <div class="plan__row"><dt>Bring home</dt><dd>Your apples and a bottle of cider</dd></div>+ </dl>+ <form class="signup" data-endpoint="" novalidate>+ <label for="email">Hear when the first rows are ready</label>+ <div class="signup__row">+ <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-describedby="email-help">+ <button class="btn btn--quiet" type="submit">Tell me</button>+ </div>+ <p class="help" id="email-help" aria-live="polite"></p>+ </form>+ </div></div></section></main>-<footer class="foot" aria-labelledby="foot-title">+<footer class="foot"><div class="container foot__grid">- <div class="foot__head">- <h2 id="foot-title">Hear when picking opens</h2>- <p class="lead">Leave an address and the orchard will write when the first rows are ready.</p>- </div>- <form class="signup" data-endpoint="" novalidate>- <label for="email">Email address</label>- <div class="signup__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required aria-describedby="email-help">- <button class="btn btn--primary" type="submit">Tell me</button>- </div>- <p class="help" id="email-help" aria-live="polite"></p>- </form>+ <p class="foot__colophon"><span class="foot__name">Hollins Orchard</span> is a six-acre cider orchard in Herefordshire, with 22 apple varieties and three ciders.</p>+ <nav aria-label="Footer" class="foot__nav">+ <a href="#season">The season</a>+ <a href="#varieties">Varieties</a>+ <a href="#ciders">Ciders</a>+ <a href="#visit">Visit</a>+ </nav><div class="foot__base">- <p class="foot__name">Hollins Orchard, a cider orchard in Herefordshire</p>- <p class="foot__addr">Full address to come</p>- <nav aria-label="Footer">- <a href="#season">The season</a>- <a href="#varieties">Varieties</a>- <a href="#ciders">Ciders</a>- </nav>- <p class="legal">© 2026 Hollins Orchard</p>- </div>+ <p class="legal">© 2026 Hollins Orchard</p><p class="credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:%C3%84pfel_P1260372.jpg">Fischer.H</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Apple_picker_Grythengen_Toten_Norway.jpg">Øyvind Holmstad</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Apples_in_basket_2018_G1.jpg">George Chernilevsky</a> (public domain), via Wikimedia Commons</p>+ </div></div></footer><script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });</script><script>+(() => {+ const m = new Date().getMonth();+ const picking = m === 8 || m === 9;+ const cell = document.querySelector(`.months li[data-m="${m}"]`);+ if (cell) { cell.classList.add('is-now'); cell.setAttribute('aria-current', 'date'); cell.insertAdjacentHTML('beforeend', '<i class="months__now">Now</i>'); }+ const status = document.getElementById('status');+ const banner = document.getElementById('banner');+ if (picking) {+ const until = m === 8 ? 'Picking now, through September and October.' : 'Picking now, until the end of October.';+ status.textContent = until;+ banner.innerHTML = 'Picking now<span class="banner__more">, until the end of October</span>';+ } else {+ status.textContent = 'Picking opens again in September and runs to the end of October.';+ }+})();document.querySelectorAll('form[data-endpoint]').forEach((form) => {const input = form.querySelector('input'), help = form.querySelector('[aria-live]'), button = form.querySelector('button');form.addEventListener('submit', (e) => {@@ -146,7 +162,7 @@ document.querySelectorAll('form[data-endpoint]').forEach((form) => {if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }button.setAttribute('aria-busy', 'true');fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'The orchard will write to ' + input.value.trim() + ' when picking opens.' : 'That did not go through. Try again in a minute.'; })+ .then((r) => { help.textContent = r.ok ? 'The orchard will write to ' + input.value.trim() + ' when the first rows are ready.' : 'That did not go through. Try again in a minute.'; }).catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; }).finally(() => button.removeAttribute('aria-busy'));});diff --git a/site/themes/garden/style.css b/site/themes/garden/style.cssindex 8f4e600..493d3a5 100644--- a/site/themes/garden/style.css+++ b/site/themes/garden/style.css@@ -1,7 +1,9 @@-/* Hallmark · shape: Field Guide (the count, the rows, the season, the varieties, the ciders) · genre: editorial · theme: Garden (by request)- * hero: Stage, the apples bleeding off the right edge · nav: banner over a bar, the season as the banner's one linked line · footer: newsletter-first, the season email leads over the links · imagery: photographs, library 3, natural con=6 sat=-6 · signature: the orchard's three numbers in Vollkorn's old-style figures, then the year as one ruled strip with September and October on the moss+/* Hallmark · shape: Field Guide (the season, the rows, the varieties, the ciders, the visit) · genre: editorial · theme: Garden (by request) · job: visit+ * hero: Stage, the apples bleeding off the right edge · nav: banner over a bar, the season as the banner's one linked line (live in season), Visit as the bar's action · footer: colophon block · imagery: photographs, library 3, natural con=6 sat=-6 · signature: the year as one ruled strip with September and October on the moss and this month marked, then 22 in Vollkorn's old-style figures+ * sections: hero Stage, Schedule (the year as a ruled strip, this month marked, a live picking line), Showcase (the picker, the head beneath), Figure as the section (22 beside three ruled rows), price list on the green ink (the three ciders), visit close (the basket beside when, where and what to bring home, then the first-rows email), footer colophon+ * job: visit, and the close keeps one email field: the orchard opens two months a year, so hearing when the first rows are ready is the visit's own next date+ * samples: the ciders' names (Dry, Medium, Sweet) and notes show the list's shape; the owner replaces them and adds prices* axes: light/roman-serif/chromatic-green · posture: committed · contrast: pass · fold: pass · v2.8.0 */-/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: S, the brief names no varieties, hours, prices or cider names, so the real facts (six acres, 22 varieties, three ciders, the two months, Herefordshire) carry every section and the only missing fact said aloud is the address, once, in the footer */@import url("./tokens.css");@import url("./base.css");@@ -36,6 +38,8 @@ a:hover { text-decoration-color: var(--color-accent); }.nav__right { display: flex; align-items: center; gap: var(--space-xl); }.nav__right a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); text-decoration: underline; text-decoration-color: transparent; white-space: nowrap; }.nav__right a:hover { text-decoration-color: var(--color-accent); }+.nav__right .nav__visit { padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }+.nav__right .nav__visit:hover { background: var(--color-paper-2); border-color: var(--color-ink-2); }/* Photographs: daylight, 4px, a hairline in the rule colour */.photo { position: relative; margin: 0; border-radius: var(--radius-card); }@@ -56,69 +60,83 @@ a:hover { text-decoration-color: var(--color-accent); }.head h2 { grid-column: 1 / span 6; }.head .lead { grid-column: 8 / -1; max-width: 38ch; }-/* The count: three numbers in old-style figures */-.count { padding-top: var(--section-gap); }-.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }-.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-md); padding-top: var(--space-lg); }-.figures > div + div { padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }-.figure { margin: 0; font: 600 clamp(7rem, 15vw, 14rem)/0.82 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: oldstyle-nums proportional-nums; color: var(--color-ink); }-.figures dt { font-size: var(--text-lead); color: var(--color-ink-2); }--/* The rows: one photograph across the container */-.rows { padding-top: var(--section-gap-l); }-.rows__wide { aspect-ratio: 16 / 9; max-height: 46rem; width: 100%; }--/* The season: the year as one ruled strip */-.season { padding-top: var(--section-gap-l); }+/* The season: the year as one ruled strip, this month marked */+.season { padding-top: var(--section-gap); }+.season__status { font-weight: 500; color: var(--color-ink); }.months { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)) minmax(0, 4fr) minmax(0, 4fr) repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: var(--rule-hair) solid var(--color-rule-2); }-.months li { display: grid; align-content: end; min-height: 10rem; padding: var(--space-md) var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.months li { position: relative; display: grid; align-content: end; min-height: 14rem; padding: var(--space-md) var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }.months li + li { border-left: var(--rule-hair) solid var(--color-rule); }.months .is-open { gap: var(--space-xs); padding: var(--space-lg); background: var(--tint-moss); }-.months .is-open b { font: 600 clamp(1.75rem, 2.4vw, 2.5rem)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }+.months .is-open b { font: 600 clamp(2rem, 3vw, 3.25rem)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }.months .is-open span { font-size: var(--text-md); color: var(--color-ink-2); }-.plan { margin: var(--space-xl) 0 0; }-.plan__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.plan dt { grid-column: 1 / span 4; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }-.plan dd { grid-column: 5 / -1; margin: 0; font-size: var(--text-lead); color: var(--color-ink); }+.months .is-now { color: var(--color-ink); }+.months .is-now::before { content: ""; position: absolute; inset: -1px 0 auto; height: 3px; background: var(--color-accent); }+.months__now { position: absolute; top: var(--space-md); left: var(--space-sm); font: 500 var(--text-sm)/1 var(--font-body); font-style: normal; color: var(--color-accent); }+.months .is-open .months__now { left: var(--space-lg); top: var(--space-lg); }-/* The varieties: a split, the basket on six columns */+/* The rows: one photograph across the container, its head beneath on a split */+.rows { padding-top: var(--section-gap-l); }+.rows__wide { aspect-ratio: 21 / 9; width: 100%; min-height: 560px; }+.rows__under { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; margin-top: var(--space-xl); }+.rows__under h2 { grid-column: 1 / span 6; }+.rows__under .lead { grid-column: 8 / -1; max-width: 36ch; }++/* The varieties: 22 as the section, three ruled rows saying what it means */.kinds { padding-block: var(--section-gap-l) var(--section-gap); }-.kinds__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.kinds__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }-.kinds__text h2 { max-width: 12ch; }-.kinds__photo { grid-column: 6 / -1; aspect-ratio: 6 / 5; }+.kinds__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.kinds__title { grid-column: 1 / span 6; display: grid; gap: var(--space-md); max-width: none; }+.kinds__title .figure { font-size: clamp(11rem, 24vw, 21rem); line-height: 0.78; margin-left: -0.04em; }+.kinds__unit { font-size: var(--text-section); line-height: 1.04; }+.kinds__rows { grid-column: 7 / -1; margin: 0 0 var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule-2); }+.kinds__rows > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }+.kinds__rows dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.kinds__rows dd { margin: 0; font: 600 var(--text-title)/1.2 var(--font-display); color: var(--color-ink); }+.figure { margin: 0; font: 600 clamp(7rem, 15vw, 14rem)/0.82 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: oldstyle-nums proportional-nums; color: var(--color-ink); }-/* The ciders: one statement on the green ink */+/* The ciders: a price list on the green ink */.band--ink { background: var(--color-ink); color: var(--color-paper); }.band--ink h2, .band--ink h3 { color: var(--color-paper); }.band--ink p { color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }.ciders { padding-block: var(--section-gap-s); }-.ciders__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }-.ciders__line { grid-column: 1 / span 11; max-width: 24ch; font-size: var(--text-display); line-height: 1.04; }-.btn--leaf { grid-column: 1 / span 4; justify-self: start; background: transparent; border-color: var(--color-accent-2); color: var(--color-accent-2); }-.btn--leaf:hover { background: color-mix(in oklab, var(--color-accent-2) 14%, transparent); }-.btn--leaf:focus-visible { outline-color: var(--color-accent-2); }+.ciders__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.ciders__head { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }+.ciders__head h2 { max-width: 11ch; font-size: var(--text-display-s); line-height: 1.04; }+.ciders__note { font-size: var(--text-sm); }+.ciders__list { grid-column: 7 / -1; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 40%, var(--color-ink)); }+.ciders__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--gap-columns); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 22%, var(--color-ink)); }+.ciders__list h3 { font-size: var(--text-section); line-height: 1; }+.ciders__list p { font: 400 var(--text-lead)/1.3 var(--font-outlier); color: var(--color-accent-2); text-align: right; }-/* Footer: the season email leads */-.foot { padding-block: var(--section-gap) var(--space-2xl); background: var(--color-paper-2); }-.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; }-.foot__head { grid-column: 1 / span 6; display: grid; gap: var(--space-md); }-.foot__head .lead { max-width: 36ch; }-.signup { grid-column: 8 / -1; display: grid; gap: var(--space-xs); min-width: 0; }+/* The visit: the close, the basket beside when, where and what to bring home */+.visit { padding-block: var(--section-gap) var(--section-gap-s); }+.visit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.visit__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; min-height: 520px; }+.visit__text { grid-column: 7 / -1; display: grid; gap: var(--space-xl); }+.visit__text h2 { font-size: var(--text-display); }+.plan { margin: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }+.plan__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }+.plan dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }+.plan dd { margin: 0; font-size: var(--text-lead); color: var(--color-ink); }+.fill { padding: 0 0.2em; border-radius: 2px; color: var(--color-muted); background: color-mix(in oklch, var(--color-muted) 14%, transparent); }+.signup { display: grid; gap: var(--space-xs); min-width: 0; }.signup label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }.signup__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }.signup input { flex: 1 1 14rem; min-width: 0; height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }.signup input:hover { background: color-mix(in oklab, var(--color-paper) 70%, var(--color-paper-2)); }.signup input:focus-visible { outline-color: var(--color-focus); }.signup input[aria-invalid] { border-color: var(--color-error); }-.signup input:disabled { opacity: 0.55; cursor: not-allowed; }.help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }-.foot__base { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; column-gap: var(--gap-columns); row-gap: var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }-.foot__name { font: 600 var(--text-lg)/1.3 var(--font-display); color: var(--color-ink); }-.foot__base nav { display: flex; flex-wrap: wrap; column-gap: var(--space-xl); }-.foot__base nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); white-space: nowrap; }-.legal, .foot__addr { font-size: var(--text-sm); color: var(--color-muted); }-.credits { grid-column: 1 / -1; margin-top: calc(-1 * var(--space-lg)); font-size: var(--text-sm); color: var(--color-muted); max-width: 120ch; }++/* Footer: a colophon block on the second paper */+.foot { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-paper-2); }+.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }+.foot__colophon { grid-column: 1 / span 7; font: 600 var(--text-title)/1.35 var(--font-display); color: var(--color-ink-2); max-width: 34ch; }+.foot__name { color: var(--color-ink); }+.foot__nav { grid-column: 9 / -1; display: grid; grid-template-columns: repeat(2, max-content); column-gap: var(--space-xl); justify-content: end; }+.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); white-space: nowrap; }+.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }+.legal { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }+.credits { font-size: var(--text-sm); color: var(--color-muted); }.credits a { color: inherit; }.nav__right a:focus-visible, .wordmark:focus-visible, .foot a:focus-visible, .nav__banner a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }@@ -127,9 +145,11 @@ a:hover { text-decoration-color: var(--color-accent); }.hero { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); min-height: 0; padding-inline: var(--gutter); }.hero__text, .hero__photo { grid-column: 1; }.hero__photo { margin-left: 0; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-card); }- .head h2, .head .lead, .kinds__text, .kinds__photo, .ciders__line, .foot__head, .signup { grid-column: 1 / -1; }- .head { row-gap: var(--space-md); }- .kinds__grid { row-gap: var(--space-xl); }+ .head h2, .head .lead, .rows__under h2, .rows__under .lead, .kinds__title, .kinds__rows, .ciders__head, .ciders__list, .visit__photo, .visit__text, .foot__colophon, .foot__nav { grid-column: 1 / -1; }+ .head, .rows__under { row-gap: var(--space-md); }+ .rows__wide { aspect-ratio: 4 / 3; min-height: 0; }+ .kinds__grid, .ciders__grid, .visit__grid { row-gap: var(--space-xl); }+ .visit__photo { aspect-ratio: 4 / 3; min-height: 0; }.months { grid-template-columns: repeat(4, minmax(0, 1fr)); }.months li { min-height: 4.5rem; border-top: var(--rule-hair) solid var(--color-rule); }.months li + li { border-left: 0; }@@ -137,16 +157,14 @@ a:hover { text-decoration-color: var(--color-accent); }.months .is-open { grid-column: span 2; min-height: 8rem; }.months .is-open b { font-size: var(--text-2xl); }.months li:nth-child(n + 11) { grid-column: span 2; }- .foot__base { grid-template-columns: minmax(0, 1fr); }- .credits { margin-top: 0; }+ .months .is-now::before { inset: 0 0 auto; }+ .foot__nav { justify-content: start; }}@media (max-width: 40rem) {- .nav__right a:nth-child(-n + 2), .banner__more { display: none; }- .figures { grid-template-columns: minmax(0, 1fr); }- .figures > div + div { padding-left: 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }- .figures > div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: var(--space-lg); padding-block: var(--space-md); }- .figure { font-size: 6rem; min-width: 1.4em; }- .plan dt, .plan dd { grid-column: 1 / -1; }+ .nav__right a:nth-child(-n + 3), .banner__more { display: none; }+ .kinds__rows > div, .plan__row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xs); }+ .ciders__list li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }+ .ciders__list p { text-align: left; }.actions .btn { flex: 1 1 100%; }}@media (prefers-reduced-motion: reduce) { .btn, a, .signup input { transition: none; } }diff --git a/site/themes/hum/index.html b/site/themes/hum/index.htmlindex 01fb828..d11db1b 100644--- a/site/themes/hum/index.html+++ b/site/themes/hum/index.html@@ -7,6 +7,7 @@<meta name="description" content="Sprout is a daily five-minute reading game for kids aged 5 to 8 that grows a little garden as they read. Free for 14 days, then 4 pounds a month."><link href="https://api.fontshare.com/v2/css?f[]=chillax@500,600&display=swap" rel="stylesheet"><link rel="stylesheet" href="style.css">+<script>document.documentElement.classList.add('js');</script></head><body><a class="skip" href="#main">Skip to content</a>@@ -15,11 +16,11 @@<div class="container bar__inner"><a class="wordmark" href="#top" aria-label="Sprout, back to the top">Sprout</a><nav class="knobs" aria-label="Main">+ <a class="knob" href="#round">A round</a><a class="knob" href="#garden">The garden</a>- <a class="knob" href="#five">Five minutes</a>- <a class="knob" href="#try">Price</a>+ <a class="knob" href="#grown-ups">For grown-ups</a></nav>- <a class="btn btn--secondary btn--small" href="#try">Start free</a>+ <a class="btn btn--secondary btn--small" href="#start">Start free</a></div></header>@@ -31,164 +32,210 @@<h1 id="hero-head">Read a little.<br> Grow a garden.</h1><p class="lead">A daily five-minute reading game for kids aged 5 to 8.</p><div class="actions">- <a class="btn btn--primary" href="#try">Start 14 free days</a>- <a class="btn btn--secondary" href="#garden">See the garden</a>+ <a class="btn btn--primary" href="#start">Start 14 free days</a>+ <a class="btn btn--secondary" href="#round">See a round</a></div>+ <p class="terms">Free for 14 days, then <mark>£4 a month</mark>.</p></div>- <figure class="round" data-slot="hero" data-alt="A Sprout reading round in progress: one sentence on screen, the word being read lit up, the minutes left and today's garden">+ <figure class="round" data-slot="hero" data-alt="A Sprout reading round in progress: one sentence on screen, the word being read lit up, the minutes left and today's plant"><div class="round__screen" aria-hidden="true"><div class="round__top">- <span class="round__tag">Today’s round</span>- <span class="round__pages"><span class="round__page is-done"></span><span class="round__page is-done"></span><span class="round__page is-now"></span><span class="round__page"></span><span class="round__page"></span><span class="round__page"></span></span>+ <span class="chip">Today’s round</span>+ <span class="round__pages" style="--p: 0.5"></span><span class="round__time"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="13" r="8"/><path d="M12 9v4l2 2"/><path d="M10 2h4"/></svg>3 min left</span></div>- <p class="round__sentence"><span class="is-read">The fox</span> <mark>ran</mark> <span class="is-next">up the hill.</span></p>+ <p class="round__sentence"><span>The fox</span> <mark>ran</mark> <span class="is-next">up the hill.</span></p><div class="round__bottom">- <span class="round__listen"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 5 6 9H2v6h4l5 4V5z"/><path d="M15.54 8.46a5 5 0 0 1 0 7.07"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14"/></svg>Hear it</span>- <span class="round__gain"><span>Today’s plant: <b>Peas</b></span><span class="plot__grow" style="--g: 0.55"></span></span>- <span class="round__next">Next page</span>+ <span class="chip chip--paper"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 5 6 9H2v6h4l5 4V5z"/><path d="M15.54 8.46a5 5 0 0 1 0 7.07"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14"/></svg>Hear it</span>+ <span class="round__gain"><span>Today’s plant: <b>Peas</b></span><span class="grow" style="--g: 0.55"></span></span>+ <span class="chip chip--ink round__next">Next page</span></div></div>- <figcaption class="visually-hidden">A reading round: page 3 of 6, the sentence “The fox ran up the hill.” with “ran” being read, three minutes left and the peas growing in today’s garden.</figcaption>+ <figcaption class="visually-hidden">A reading round: page 3 of 6, the sentence “The fox ran up the hill.” with “ran” being read, three minutes left and the peas growing.</figcaption></figure></div></section>-<section class="figs" aria-labelledby="figs-head">- <div class="container">- <div class="figs__head">- <h2 id="figs-head">Small enough for every day.</h2>- <p class="lead">Short rounds, a small price, and a garden that keeps growing.</p>- </div>- <dl class="figs__row">- <div><dt>minutes a day</dt><dd>5</dd></div>- <div><dt>years old</dt><dd>5 to 8</dd></div>- <div><dt>days free to try</dt><dd>14</dd></div>- <div><dt>a month after that</dt><dd>£4</dd></div>- </dl>- </div>-</section>--<section class="garden-sec" id="garden" aria-labelledby="garden-head">+<section class="moments" id="round" aria-labelledby="round-head"><div class="container"><div class="split-head">- <h2 id="garden-head">Every round grows the garden.</h2>- <p class="lead">Read a page, water a plant. Their garden is still there tomorrow.</p>+ <h2 id="round-head">One round, four moments.</h2>+ <p class="lead">What your child sees, from the first page to the last.</p></div>- <div class="bento">- <figure class="tile tile--garden garden" data-slot="garden" data-alt="The Sprout garden screen: the plants a child has grown by reading, and what today's round grew">- <div class="garden__screen" aria-hidden="true">- <div class="garden__top"><span class="garden__title">Your garden</span><span class="garden__count">6 plants so far</span></div>- <div class="garden__today">- <span class="garden__today-label"><mark>Grew today</mark></span>- <span class="garden__today-name">Peas</span>- <span class="plot__grow plot__grow--big" style="--g: 0.55"></span>- <span class="garden__today-line">From today’s round, six pages read</span>+ <div class="pin">+ <div class="pin__stage" aria-hidden="true">+ <div class="pin__tabs"></div>+ <div class="pin__screens"></div>+ </div>+ <ol class="pin__panels">+ <li class="moment" id="m-read">+ <figure class="scr scr--read" data-slot="moment-read" data-alt="A Sprout page: one short sentence, the word being read lit in yellow">+ <div class="scr__in" aria-hidden="true">+ <div class="round__top"><span class="chip">Page 2 of 6</span><span class="round__pages" style="--p: 0.33"></span><span class="round__time">4 min left</span></div>+ <p class="round__sentence"><span>A bee</span> <mark>sat</mark> <span class="is-next">on a red hat.</span></p>+ <div class="round__bottom"><span class="chip chip--paper">Hear it</span><span class="chip chip--ink round__next">Next page</span></div>+ </div>+ <figcaption class="visually-hidden">A page with the sentence “A bee sat on a red hat.”, the word “sat” lit up.</figcaption>+ </figure>+ <div class="moment__text">+ <h3 data-tab="Read">Read a page</h3>+ <p>One short sentence at a time, with the word being read lit up.</p></div>- <ul class="garden__beds">- <li class="plot"><span class="plot__name">Sunflower</span><span class="plot__state">In bloom</span><span class="plot__grow" style="--g: 1"></span></li>- <li class="plot"><span class="plot__name">Tomato</span><span class="plot__state">Growing</span><span class="plot__grow" style="--g: 0.7"></span></li>- <li class="plot"><span class="plot__name">Daisy</span><span class="plot__state">In bloom</span><span class="plot__grow" style="--g: 1"></span></li>- <li class="plot"><span class="plot__name">Carrot</span><span class="plot__state">Just planted</span><span class="plot__grow" style="--g: 0.15"></span></li>- <li class="plot"><span class="plot__name">Bean</span><span class="plot__state">Just planted</span><span class="plot__grow" style="--g: 0.2"></span></li>- </ul>- <div class="garden__foot"><span class="garden__next">Next up: a pumpkin</span></div>- </div>- <figcaption class="visually-hidden">The garden: six plants grown by reading, the peas grown in today’s round, a pumpkin next.</figcaption>- </figure>- <figure class="tile tile--pens photo" data-slot="photo-1" data-alt="Your child's hands on the tablet during a round, no face in frame">- <img src="photos/child-draws-on-tablet-while-sitting-indoors-1920.jpg" width="5718" height="3804" loading="lazy" sizes="(min-width: 60rem) 40vw, 100vw" alt="A small child's hands on a tablet, a stylus in one hand, lamplight behind" style="object-position: 45% 85%">- </figure>- <figure class="tile tile--done done" data-slot="done" data-alt="The end of a Sprout round: five minutes done, see you tomorrow">- <div class="done__screen" aria-hidden="true">- <div class="done__main">- <span class="done__title">That’s five minutes.</span>- <span class="done__line">See you tomorrow.</span>- <span class="done__btn">Back to the garden</span>+ </li>+ <li class="moment" id="m-hear">+ <figure class="scr scr--hear" data-slot="moment-hear" data-alt="A Sprout word card: a tricky word, large, with a button to hear it said">+ <div class="scr__in" aria-hidden="true">+ <div class="round__top"><span class="chip">Tricky word</span></div>+ <p class="hear__word"><mark>hill</mark></p>+ <div class="round__bottom"><span class="hear__from">from “The fox ran up the hill.”</span><span class="chip chip--ink"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 5 6 9H2v6h4l5 4V5z"/><path d="M15.54 8.46a5 5 0 0 1 0 7.07"/></svg>Hear it</span></div>+ </div>+ <figcaption class="visually-hidden">A word card showing “hill” with a button to hear it.</figcaption>+ </figure>+ <div class="moment__text">+ <h3 data-tab="Hear">Hear a word</h3>+ <p>Stuck on a word? Tap it and Sprout says it out loud.</p></div>- <dl class="done__stats">- <div><dt>Pages</dt><dd>6</dd></div>- <div><dt>New words</dt><dd>4</dd></div>- <div><dt>Grew</dt><dd>Peas</dd></div>- </dl>- </div>- <figcaption class="visually-hidden">The end of a round: five minutes done, six pages and four new words read, the peas grown, back tomorrow.</figcaption>- </figure>- <figure class="tile tile--word word" data-slot="word" data-alt="A Sprout word card: today's new word, large, ready to be heard">- <div class="word__screen" aria-hidden="true">- <div class="word__side">- <span class="word__tag">New word</span>- <span class="word__from">from “The fox ran up the hill.”</span>- <span class="word__week"><span>This week</span><span class="word__chip">fox</span><span class="word__chip">ran</span><span class="word__chip">up</span></span>+ </li>+ <li class="moment" id="m-grow">+ <figure class="scr scr--grow" data-slot="moment-grow" data-alt="The Sprout garden after a page: today's plant growing a little">+ <div class="scr__in" aria-hidden="true">+ <div class="round__top"><span class="chip chip--paper">Your garden</span></div>+ <div class="grow__card">+ <span class="grow__label">Growing today</span>+ <span class="grow__name">Peas</span>+ <span class="grow grow--big" style="--g: 0.7"></span>+ </div>+ <div class="round__bottom"><span class="chip chip--paper">Sunflower, in bloom</span><span class="chip chip--paper">Tomato, growing</span></div>+ </div>+ <figcaption class="visually-hidden">The garden screen: the peas growing after a page read.</figcaption>+ </figure>+ <div class="moment__text">+ <h3 data-tab="Grow">Grow a plant</h3>+ <p>Every page they read helps today’s plant along.</p></div>- <span class="word__word"><mark>hill</mark></span>- <span class="word__listen"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 5 6 9H2v6h4l5 4V5z"/><path d="M15.54 8.46a5 5 0 0 1 0 7.07"/></svg>Hear it</span>- </div>- <figcaption class="visually-hidden">A word card: the new word “hill”, from today’s sentence, with a button to hear it.</figcaption>- </figure>+ </li>+ <li class="moment" id="m-stop">+ <figure class="scr scr--stop" data-slot="moment-stop" data-alt="The end of a Sprout round: five minutes done, see you tomorrow">+ <div class="scr__in" aria-hidden="true">+ <div class="round__top"><span class="chip chip--line">Round done</span></div>+ <p class="stop__title">That’s five minutes.</p>+ <div class="round__bottom"><span class="stop__line">See you tomorrow.</span><span class="chip chip--line">Back to the garden</span></div>+ </div>+ <figcaption class="visually-hidden">The end of a round: “That’s five minutes. See you tomorrow.”</figcaption>+ </figure>+ <div class="moment__text">+ <h3 data-tab="Stop">Stop at five</h3>+ <p>The round ends itself at five minutes, before anyone gets tired.</p>+ </div>+ </li>+ </ol></div></div></section>-<section class="steps-sec" aria-labelledby="steps-head">- <div class="container">- <div class="split-head">- <h2 id="steps-head">How a round goes.</h2>- <p class="lead">The same three beats, every day.</p>+<section class="garden-sec" id="garden" aria-labelledby="garden-head">+ <div class="container garden-sec__grid">+ <div class="garden-sec__text">+ <h2 id="garden-head">Watch the garden fill.</h2>+ <p class="lead">Plants stay put between rounds, so there is always a reason to come back.</p>+ <div class="seg" role="tablist" aria-label="The garden over the free days">+ <button role="tab" id="g-t1" aria-controls="g-p1" aria-selected="true">First day</button>+ <button role="tab" id="g-t2" aria-controls="g-p2" aria-selected="false" tabindex="-1">One week</button>+ <button role="tab" id="g-t3" aria-controls="g-p3" aria-selected="false" tabindex="-1">Two weeks</button>+ </div>+ </div>+ <div class="garden" data-slot="garden" data-kind="product" data-alt="The Sprout garden screen: the beds a child has planted by reading" data-keep>+ <section class="garden__state" role="tabpanel" id="g-p1" aria-labelledby="g-t1" data-keep>+ <div class="garden__top"><h3 class="garden__title">Your garden</h3><p class="garden__when">After the first round</p></div>+ <ul class="beds">+ <li class="bed"><b>Peas</b><span>Just planted</span><i class="grow" style="--g: 0.15"></i></li>+ <li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li>+ <li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li>+ </ul>+ <p class="garden__next"><span class="chip">Tomorrow’s seed: Sunflower</span></p>+ </section>+ <section class="garden__state" role="tabpanel" id="g-p2" aria-labelledby="g-t2" data-keep>+ <div class="garden__top"><h3 class="garden__title">Your garden</h3><p class="garden__when">After a week of rounds</p></div>+ <ul class="beds">+ <li class="bed"><b>Peas</b><span>In bloom</span><i class="grow" style="--g: 1"></i></li>+ <li class="bed"><b>Sunflower</b><span>Growing</span><i class="grow" style="--g: 0.75"></i></li>+ <li class="bed"><b>Tomato</b><span>Growing</span><i class="grow" style="--g: 0.6"></i></li>+ <li class="bed"><b>Daisy</b><span>Growing</span><i class="grow" style="--g: 0.5"></i></li>+ <li class="bed"><b>Carrot</b><span>Sprouting</span><i class="grow" style="--g: 0.35"></i></li>+ <li class="bed"><b>Bean</b><span>Sprouting</span><i class="grow" style="--g: 0.25"></i></li>+ <li class="bed"><b>Radish</b><span>Just planted</span><i class="grow" style="--g: 0.1"></i></li>+ <li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li><li class="bed bed--empty"></li>+ </ul>+ <p class="garden__next"><span class="chip">Tomorrow’s seed: Lettuce</span></p>+ </section>+ <section class="garden__state" role="tabpanel" id="g-p3" aria-labelledby="g-t3" data-keep>+ <div class="garden__top"><h3 class="garden__title">Your garden</h3><p class="garden__when">After two weeks of rounds</p></div>+ <ul class="beds">+ <li class="bed"><b>Peas</b><span>In bloom</span><i class="grow" style="--g: 1"></i></li>+ <li class="bed"><b>Sunflower</b><span>In bloom</span><i class="grow" style="--g: 1"></i></li>+ <li class="bed"><b>Tomato</b><span>In bloom</span><i class="grow" style="--g: 1"></i></li>+ <li class="bed"><b>Daisy</b><span>In bloom</span><i class="grow" style="--g: 1"></i></li>+ <li class="bed"><b>Carrot</b><span>Growing</span><i class="grow" style="--g: 0.8"></i></li>+ <li class="bed"><b>Bean</b><span>Growing</span><i class="grow" style="--g: 0.75"></i></li>+ <li class="bed"><b>Radish</b><span>Growing</span><i class="grow" style="--g: 0.7"></i></li>+ <li class="bed"><b>Lettuce</b><span>Growing</span><i class="grow" style="--g: 0.6"></i></li>+ <li class="bed"><b>Poppy</b><span>Growing</span><i class="grow" style="--g: 0.5"></i></li>+ <li class="bed"><b>Pumpkin</b><span>Sprouting</span><i class="grow" style="--g: 0.4"></i></li>+ <li class="bed"><b>Onion</b><span>Sprouting</span><i class="grow" style="--g: 0.3"></i></li>+ <li class="bed"><b>Leek</b><span>Sprouting</span><i class="grow" style="--g: 0.25"></i></li>+ <li class="bed"><b>Marigold</b><span>Just planted</span><i class="grow" style="--g: 0.15"></i></li>+ <li class="bed"><b>Strawberry</b><span>Just planted</span><i class="grow" style="--g: 0.1"></i></li>+ </ul>+ <p class="garden__next"><span class="chip">Tomorrow’s seed: Sweet pea</span></p>+ </section></div>- <ol class="steps">- <li class="step">- <h3>Read a page</h3>- <p>Short sentences, one at a time, with the word being read lit up.</p>- <span class="step__bit" aria-hidden="true">The fox <mark>ran</mark></span>- </li>- <li class="step">- <h3>Grow a plant</h3>- <p>Every page they read helps today’s plant along.</p>- <span class="step__bit step__bit--grow" aria-hidden="true">Peas <span class="plot__grow" style="--g: 0.55"></span></span>- </li>- <li class="step">- <h3>Stop at five</h3>- <p>The round ends after five minutes, before anyone gets tired.</p>- <span class="step__bit step__bit--done" aria-hidden="true">That’s five minutes.</span>- </li>- </ol></div></section>-<section class="five" id="five" aria-labelledby="five-head">- <div class="five__grid">- <figure class="photo five__photo" data-slot="photo-3" data-alt="Your child after the round, outdoors, seen from behind, no face in frame">+<section class="grown" id="grown-ups" aria-labelledby="grown-head">+ <div class="grown__grid">+ <figure class="photo grown__photo" data-slot="photo-kite" data-alt="Your child after the round, outdoors, seen from behind, no face in frame"><img src="photos/child-playing-with-a-kite-1920.jpg" width="3093" height="2325" loading="lazy" sizes="(min-width: 60rem) 55vw, 100vw" alt="A boy seen from behind holding up a homemade kite against a blue sky" style="object-position: 45% 45%"></figure>- <div class="five__text">- <h2 id="five-head">Then off they go.</h2>- <p class="lead">One round a day, short enough for a school night.</p>+ <div class="grown__text">+ <h2 id="grown-head">Five minutes, then off they go.</h2>+ <dl class="facts">+ <div><dt>Ages 5 to 8</dt><dd>Made for children who are just starting to read.</dd></div>+ <div><dt>Once a day</dt><dd>One round, short enough for a school night.</dd></div>+ <div><dt>14 days free</dt><dd>Then £4 a month.</dd></div>+ </dl></div></div></section>-<section class="try" id="try" aria-labelledby="try-head">- <div class="container try__grid">- <div class="try__plan">- <h2 id="try-head">Start their first round.</h2>+<section class="start" id="start" aria-labelledby="start-head">+ <div class="container start__grid">+ <div class="start__plan">+ <h2 id="start-head">Start their first round.</h2><fieldset class="pick"><legend>When do they start?</legend><div class="pick__row">- <label class="pill"><input type="radio" name="start" value="0" checked><span>Today</span></label>+ <label class="pill"><input type="radio" name="start" value="today" checked><span>Today</span></label><label class="pill"><input type="radio" name="start" value="sat"><span>Saturday</span></label><label class="pill"><input type="radio" name="start" value="mon"><span>Monday</span></label></div></fieldset><p class="pick__out" aria-live="polite">Free for 14 days, then <mark>£4 a month</mark>.</p>+ <div class="start__go">+ <button class="btn btn--primary" type="button" data-start>Start 14 free days</button>+ <p class="start__note" aria-live="polite"></p>+ </div></div>- <form class="signup" data-endpoint="" novalidate>- <label for="email">A grown-up’s email, for the download link</label>- <input id="email" name="email" type="email" inputmode="email" autocomplete="email" required aria-describedby="email-help">- <button class="btn btn--primary" type="submit">Start free</button>- <p class="signup__help" id="email-help" aria-live="polite"></p>- </form>+ <figure class="first" data-slot="first" data-alt="Sprout's first screen: an empty garden waiting for the first page to be read">+ <div class="first__in" aria-hidden="true">+ <span class="chip chip--well">Day 1</span>+ <p class="first__title">Your garden is ready.</p>+ <div class="first__bed"><span>Read a page to plant your first seed.</span><i class="grow" style="--g: 0"></i></div>+ <span class="chip chip--ink chip--big">Start reading</span>+ </div>+ <figcaption class="visually-hidden">The first screen: an empty garden and a button to start reading.</figcaption>+ </figure></div></section>@@ -200,39 +247,50 @@<div class="mast__row"><p class="mast__line">A daily reading game that grows a garden.</p><nav class="mast__links" aria-label="Footer">+ <a href="#round">A round</a><a href="#garden">The garden</a>- <a href="#five">Five minutes</a>- <a href="#try">Start free</a>+ <a href="#grown-ups">For grown-ups</a>+ <a href="#start">Start free</a></nav><p class="mast__legal">© 2026 Sprout</p></div>- <p class="mast__credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Child_draws_on_tablet_while_sitting_indoors.jpg">Shixart1985</a> (CC BY 2.0), <a href="https://commons.wikimedia.org/wiki/File:Child_playing_with_a_kite.jpg">Wilfredor</a> (CC0), via Wikimedia Commons</p>+ <p class="mast__credits" data-credits>Photograph: <a href="https://commons.wikimedia.org/wiki/File:Child_playing_with_a_kite.jpg">Wilfredor</a> (CC0), via Wikimedia Commons</p></div></footer><script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });</script><script>+/* The pinned round: the moments' screens are cloned onto one sticky stage on wide screens */+(() => {+ const pin = document.querySelector('.pin'); if (!pin) return;+ const stage = pin.querySelector('.pin__screens'), tabs = pin.querySelector('.pin__tabs');+ const moments = [...pin.querySelectorAll('.moment')];+ const shots = moments.map((m) => { const c = m.querySelector('.scr').cloneNode(true); c.removeAttribute('data-slot'); c.querySelector('figcaption')?.remove(); stage.append(c); return c; });+ const pills = moments.map((m) => { const b = document.createElement('a'); b.className = 'pin__tab'; b.href = '#' + m.id; b.tabIndex = -1; b.textContent = m.querySelector('h3').dataset.tab; tabs.append(b); return b; });+ const set = (i) => { moments.forEach((m, k) => m.classList.toggle('is-on', k === i)); shots.forEach((s, k) => s.classList.toggle('is-on', k === i)); pills.forEach((p, k) => p.classList.toggle('is-on', k === i)); };+ set(0);+ const io = new IntersectionObserver((es) => es.forEach((e) => { if (e.isIntersecting) set(moments.indexOf(e.target)); }), { rootMargin: '-45% 0px -45% 0px' });+ moments.forEach((m) => io.observe(m));+ pin.classList.add('is-pinned');+})();+/* The garden switcher */+(() => {+ const tabs = [...document.querySelectorAll('.seg [role="tab"]')]; if (!tabs.length) return;+ const show = (t, focus) => { tabs.forEach((x) => { const on = x === t; x.setAttribute('aria-selected', on); x.tabIndex = on ? 0 : -1; document.getElementById(x.getAttribute('aria-controls')).hidden = !on; }); if (focus) t.focus(); };+ tabs.forEach((t, i) => { t.addEventListener('click', () => show(t)); t.addEventListener('keydown', (e) => { const d = e.key === 'ArrowRight' ? 1 : e.key === 'ArrowLeft' ? -1 : 0; if (d) { e.preventDefault(); show(tabs[(i + d + tabs.length) % tabs.length], true); } }); });+ show(tabs[0]);+})();+/* The start day: the free days counted from the day they begin */(() => {const out = document.querySelector('.pick__out'); if (!out) return;const fmt = (d) => d.toLocaleDateString('en-GB', { weekday: 'short', day: 'numeric', month: 'short' });const startOf = (v) => { const d = new Date(); d.setHours(12, 0, 0, 0); const want = v === 'sat' ? 6 : v === 'mon' ? 1 : null; if (want !== null) { d.setDate(d.getDate() + (((want - d.getDay()) + 7) % 7 || 7)); } return d; };const show = () => { const v = document.querySelector('input[name="start"]:checked').value; const s = startOf(v), e = new Date(s); e.setDate(e.getDate() + 14); out.innerHTML = 'Free from ' + fmt(s) + ' until <mark>' + fmt(e) + '</mark>, then £4 a month.'; };document.querySelectorAll('input[name="start"]').forEach((r) => r.addEventListener('change', show)); show();+ const go = document.querySelector('[data-start]'), note = document.querySelector('.start__note');+ go?.addEventListener('click', () => { note.textContent = 'Not connected yet: the free trial starts here once the app is live.'; });})();-document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const input = form.querySelector('input'), help = form.querySelector('[aria-live]');- form.addEventListener('submit', (e) => {- e.preventDefault();- const ok = input.checkValidity();- input.toggleAttribute('aria-invalid', !ok);- if (!ok) { help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'The link is on its way to ' + input.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });- });-});</script></body></html>diff --git a/site/themes/hum/photos/child-draws-on-tablet-while-sitting-indoors-1920.jpg b/site/themes/hum/photos/child-draws-on-tablet-while-sitting-indoors-1920.jpgdeleted file mode 100644index 5eed8ee..0000000Binary files a/site/themes/hum/photos/child-draws-on-tablet-while-sitting-indoors-1920.jpg and /dev/null differdiff --git a/site/themes/hum/style.css b/site/themes/hum/style.cssindex 7406980..e4ca885 100644--- a/site/themes/hum/style.css+++ b/site/themes/hum/style.css@@ -1,11 +1,11 @@-/* Hallmark · shape: Bento Grid · genre: playful · theme: Hum (by request)- * hero: Settled · nav: a dense bar with rounded knobs · footer: mast, the wordmark large over one line and the links · imagery: photographs, library 2, natural vib=12 exp=4 · product sample in hero, garden, end-of-round, word card and steps · signature: a reading round at full size, the word being read lit in pear · range: figures on the pear field, the product as a bento, steps as wells, a start day as pressable pills · radius: 28px for a children's product- * axes: light/rounded-sans/chromatic-yellow · posture: full-palette · contrast: pass · fold: pass · v2.8 launch pass */-/* Hallmark · answered F7 · the pills outside the button pair are chips inside the built product samples (the round, the word card, the step fragments) and the nav knobs, which are links the size of controls */+/* Hallmark · shape: Workbench · genre: playful · theme: Hum (by request) · job: try+ * hero: Settled · nav: a dense bar with rounded knobs · footer: mast, the wordmark large over one line and the links · sections: Pinned (one round, four moments, the screen held while the panels pass), Switcher (the garden on its first day, after a week, after two weeks), Split (the kite photograph off the left edge beside three ruled facts for grown-ups), Band (the start day, the free days counted, the press, beside the first screen) · imagery: photographs, library 1, natural vib=12 exp=4 · samples: the product built (the round, the word card, the garden and its plants, the end of a round, the first screen); plant names, page counts and garden states are samples of the product's shape · signature: a reading round at full size, the word being read lit in pear · range: the product as pinned screens, a garden as pressable states, a start day as pills · radius: 28px for a children's product+ * axes: light/rounded-sans/chromatic-yellow · posture: full-palette · contrast: pass · fold: pass · layout fix: close is the start, no email */+/* Hallmark · answered F7 · the pills outside the button pair are chips inside the built product samples (the round, the word card, the garden, the first screen), the nav knobs and the stage's moment tabs, which are links the size of controls */@import url("./tokens.css");@import url("./base.css");-:root { --radius-card: 28px; --bar-h: 76px; }+:root { --radius-card: 28px; --bar-h: 76px; --stage-h: min(620px, calc(100svh - 2 * var(--space-2xl))); }body { font-weight: 500; color: var(--color-ink-2); }h1, h2, h3 { font-weight: var(--display-weight); color: var(--color-ink); line-height: 1.05; }@@ -31,6 +31,7 @@ mark { background: color-mix(in oklab, var(--color-accent) 55%, transparent); co@media (prefers-reduced-motion: reduce) { .btn--primary, .btn--primary:hover, .btn--primary:active { transform: none; transition: none; } }/* Nav: a dense bar with rounded knobs */+.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(10px); }.bar__inner { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--bar-h); }.wordmark { margin-right: auto; font: 600 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }.knobs { display: flex; gap: var(--space-xs); }@@ -38,128 +39,133 @@ mark { background: color-mix(in oklab, var(--color-accent) 55%, transparent); co.knob:hover { background: var(--color-paper-3); }.knob:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }+/* Chips inside the built screens */+.chip { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-body); white-space: nowrap; }+.chip--paper { background: var(--color-paper); }+.chip--ink { background: var(--color-ink); color: var(--color-paper); }+.chip--line { background: transparent; box-shadow: inset 0 0 0 2px var(--color-ink); }+.chip--well { background: var(--color-paper-2); }+.chip--big { min-height: 52px; padding: 0 var(--space-lg); font-size: var(--text-md); }+.grow { position: relative; display: block; height: 10px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-mint) 40%, var(--color-paper)); }+.grow::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--g) * 100%); border-radius: inherit; background: var(--color-mint-deep); }+/* Hero: settled, the reading round beside the head */.hero { box-sizing: border-box; min-height: calc(100svh - var(--bar-h)); display: grid; align-content: center; padding-bottom: var(--space-lg); }.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-2xl); align-items: center; }.hero h1 { max-width: none; font-size: clamp(2.75rem, 5.7vw, 5.25rem); }.hero .lead { margin-top: var(--space-lg); max-width: 30ch; }.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }+.terms { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }+.terms mark { padding: 0 0.15em; border-radius: var(--space-2xs); color: var(--color-ink); }/* The product, built: one reading round */.round { margin: 0; border-radius: var(--radius-card); background: var(--color-paper-2); }-.round__screen { box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 600px; padding: var(--space-xl); color: var(--color-ink); }+.round__screen, .scr__in { box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 600px; padding: var(--space-xl); color: var(--color-ink); }.round__top { display: flex; align-items: center; gap: var(--space-md); }-.round__tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); font: 600 var(--text-sm)/1 var(--font-body); }-.round__pages { display: flex; gap: var(--space-2xs); }-.round__page { width: 28px; height: 8px; border-radius: var(--radius-pill); background: var(--color-paper-3); }-.round__page.is-done { background: var(--color-ink); }-.round__page.is-now { background: var(--color-accent-deep); }+.round__pages { position: relative; flex: 0 1 11rem; height: 8px; border-radius: var(--radius-pill); background: var(--color-paper-3); }+.round__pages::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: inherit; background: var(--color-accent-deep); }.round__time { display: inline-flex; align-items: center; gap: var(--space-xs); margin-left: auto; font: 500 var(--text-sm)/1 var(--font-body); color: var(--color-ink-2); }.round__sentence { align-self: center; margin: 0; max-width: none; font: 600 clamp(2.5rem, 4.4vw, 4rem)/1.15 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }.round__sentence mark { padding: 0 0.14em; border-radius: var(--space-xs); background: var(--color-accent); }.round__sentence .is-next { color: var(--color-muted); }.round__bottom { display: flex; align-items: center; gap: var(--space-sm); }-.round__listen, .round__next, .round__gain { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); font: 600 var(--text-sm)/1 var(--font-body); }-.round__listen { background: var(--color-paper); }-.round__gain { display: inline-grid; gap: var(--space-2xs); min-width: 10rem; padding-block: var(--space-xs); background: var(--color-paper); }-.round__gain .plot__grow { margin-top: 0; height: 8px; }-.round__next { margin-left: auto; background: var(--color-ink); color: var(--color-paper); }+.round__gain { display: inline-grid; gap: var(--space-2xs); min-width: 10rem; min-height: 44px; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); font: 600 var(--text-sm)/1 var(--font-body); }+.round__gain .grow { height: 8px; }+.round__next { margin-left: auto; }/* Shared head block: head left, its line right */.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }.split-head h2 { grid-column: 1 / span 7; }.split-head .lead { grid-column: 9 / span 4; padding-bottom: var(--space-2xs); }-/* Figures on the one pear field */-.figs { margin-top: var(--section-gap-s); padding-block: var(--section-gap-s); background: var(--color-accent); color: var(--color-accent-ink); }-.figs__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.figs__head h2 { grid-column: 1 / span 7; }-.figs__head .lead { grid-column: 9 / span 4; color: var(--color-ink-2); padding-bottom: var(--space-2xs); }-.figs__row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 0.95fr); margin: var(--space-2xl) 0 0; }-.figs__row > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-sm); padding: var(--space-lg) var(--space-xl) 0; border-left: 2px solid color-mix(in oklab, var(--color-ink) 18%, var(--color-accent)); }-.figs__row > div:first-child { border-left: 0; padding-left: 0; }-.figs__row dd { margin: 0; font: 600 clamp(3.5rem, 7.2vw, 7.5rem)/0.95 var(--font-display); letter-spacing: -0.04em; color: var(--color-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }-.figs__row dt { font: 500 var(--text-lead)/1.3 var(--font-body); color: var(--color-ink-2); }--/* The product as a bento */-.garden-sec { padding-top: var(--section-gap); }-.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 320px) 300px; gap: var(--gap-columns); margin-top: var(--space-2xl); }-.tile { margin: 0; border-radius: var(--radius-card); background: var(--color-paper-2); }-.tile--garden { grid-column: 1 / 8; grid-row: 1 / 3; }-.tile--pens { grid-column: 8 / -1; grid-row: 1; }-.tile--done { grid-column: 8 / -1; grid-row: 2; }-.tile--word { grid-column: 1 / -1; grid-row: 3; }-.word__screen { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; align-items: center; gap: var(--gap-columns); height: 100%; padding: var(--space-xl) var(--space-2xl); color: var(--color-ink); }-.word__side { display: grid; justify-items: start; gap: var(--space-sm); }-.word__tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); font: 600 var(--text-sm)/1 var(--font-body); }-.word__from { font: 500 var(--text-lead)/1.35 var(--font-body); color: var(--color-ink-2); max-width: 22ch; }-.word__word { font: 600 clamp(5rem, 11vw, 10.5rem)/1 var(--font-display); letter-spacing: -0.04em; }-.word__word mark { padding: 0 0.12em; border-radius: var(--space-md); background: var(--color-accent); }-.word__week { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-top: var(--space-sm); font: 500 var(--text-sm)/1 var(--font-body); color: var(--color-muted); }-.word__week > span:first-child { margin-right: var(--space-2xs); }-.word__chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-3); color: var(--color-ink); font-weight: 600; }-.word__listen { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; }+/* One round, four moments: pinned */+.moments { padding-top: var(--section-gap); }+.pin { margin-top: var(--space-2xl); }+.pin__stage { display: none; }+.pin__panels { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xl); }+.moment { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.moment .scr { grid-column: 1 / span 7; }+.moment__text { grid-column: 9 / -1; }+.moment h3 { font-size: var(--text-display-s); max-width: 12ch; }+.moment__text p { margin-top: var(--space-md); font-size: var(--text-lead); line-height: 1.45; max-width: 30ch; }+.scr { margin: 0; border-radius: var(--radius-card); background: var(--color-paper-2); }+.scr .scr__in { min-height: 520px; height: 100%; }+.scr--grow { background: var(--color-mint); }+.scr--stop { background: var(--color-accent-3); }+.hear__word { align-self: center; margin: 0; font: 600 clamp(6rem, 12vw, 11rem)/1 var(--font-display); letter-spacing: -0.04em; }+.hear__word mark { padding: 0 0.12em; border-radius: var(--space-md); background: var(--color-accent); }+.hear__from { margin-right: auto; font-size: var(--text-lead); color: var(--color-ink-2); }+.grow__card { align-self: center; display: grid; gap: var(--space-sm); padding: var(--space-xl); border-radius: calc(var(--radius-card) - var(--space-sm)); background: var(--color-paper); }+.grow__label { font: 600 var(--text-sm)/1 var(--font-body); color: var(--color-mint-deep); }+.grow__name { font: 600 clamp(4rem, 7vw, 6.5rem)/1 var(--font-display); letter-spacing: -0.04em; }+.grow--big { height: 16px; margin-top: var(--space-xs); }+.stop__title { align-self: center; margin: 0; font: 600 clamp(3.5rem, 6.4vw, 6rem)/1 var(--font-display); letter-spacing: -0.035em; max-width: 9ch; }+.stop__line { margin-right: auto; font: 600 var(--text-2xl)/1.1 var(--font-display); }++@media (min-width: 60.001rem) {+ .js .pin.is-pinned { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }+ .js .pin.is-pinned .pin__stage { grid-column: 1 / span 7; grid-row: 1; position: sticky; top: calc((100svh - var(--stage-h)) / 2 + var(--bar-h) / 2); align-self: start; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--space-md); height: var(--stage-h); }+ .js .pin.is-pinned .pin__panels { grid-column: 9 / -1; grid-row: 1; gap: 0; }+ .js .pin.is-pinned .moment { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 78svh; align-content: center; }+ .js .pin.is-pinned .moment__text { grid-column: 1; }+ .js .pin.is-pinned .moment:first-child { min-height: var(--stage-h); align-content: start; padding-top: var(--space-3xl); }+ .js .pin.is-pinned .moment:last-child { min-height: var(--stage-h); align-content: end; padding-bottom: var(--space-3xl); }+ .js .pin.is-pinned .moment .scr { display: none; }+ .js .pin.is-pinned .moment__text { transition: opacity var(--dur-long) var(--ease-snap); opacity: 0.32; }+ .js .pin.is-pinned .moment.is-on .moment__text { opacity: 1; }+}+.pin__tabs { display: flex; gap: var(--space-xs); }+.pin__tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-body); text-decoration: none; transition: background-color var(--dur-short) var(--ease-snap), color var(--dur-short) var(--ease-snap); }+.pin__tab:hover { background: var(--color-paper-3); }+.pin__tab.is-on { background: var(--color-ink); color: var(--color-paper); }+.pin__screens { position: relative; }+.js .pin__screens .scr { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity var(--dur-long) var(--ease-snap), transform var(--dur-long) var(--ease-snap); }+.js .pin__screens .scr.is-on { opacity: 1; transform: none; }+.pin__screens .scr .scr__in { min-height: 0; }++/* Watch the garden fill: a switcher */+.garden-sec { padding-top: var(--section-gap-l); }+.garden-sec__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.garden-sec__text { grid-column: 1 / span 4; }+.garden-sec__text .lead { margin-top: var(--space-lg); }+.seg { display: inline-flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-xl); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-2); }+.seg button { min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-snap), color var(--dur-short) var(--ease-snap); }+.seg button:hover { background: var(--color-paper-3); }+.seg button[aria-selected="true"] { background: var(--color-paper); box-shadow: inset 0 0 0 2px var(--color-ink); }+.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }+.garden { grid-column: 6 / -1; display: grid; gap: var(--space-xl); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-mint); color: var(--color-ink); }+.garden__state { display: grid; gap: var(--space-lg); }+.garden__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); }+.garden__title { font-size: var(--text-2xl); max-width: none; }+.garden__when { font-size: var(--text-md); color: var(--color-ink-2); }+.garden__next { display: flex; justify-content: flex-end; }+.beds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 132px; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }+.bed { display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-2xs); padding: var(--space-md) var(--space-sm) var(--space-sm); border-radius: calc(var(--radius-card) - var(--space-md)); background: var(--color-paper); }+.bed b { font: 600 var(--text-md)/1.1 var(--font-display); color: var(--color-ink); overflow-wrap: anywhere; }+.bed span { font-size: var(--text-xs); line-height: 1.2; color: var(--color-ink-2); }+.bed .grow { height: 8px; }+.bed--empty { background: color-mix(in oklab, var(--color-paper) 30%, var(--color-mint)); box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--color-paper) 55%, var(--color-mint)); }++/* For grown-ups: the photograph runs off the left edge beside three ruled facts */+.grown { padding-top: var(--section-gap-l); }+.grown__grid { --col: calc((var(--container) - 2 * var(--gutter) - 11 * var(--gap-columns)) / 12);+ display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, calc(7 * var(--col) + 6 * var(--gap-columns))) [mid] minmax(0, calc(5 * var(--col) + 5 * var(--gap-columns))) [content-end] minmax(var(--gutter), 1fr) [full-end]; align-items: center; }+.grown__photo { grid-column: full-start / mid; aspect-ratio: 4 / 3; max-height: 640px; border-radius: 0 var(--radius-card) var(--radius-card) 0; }.photo { margin: 0; }.photo > img { outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 6%, transparent); outline-offset: calc(var(--rule-hair) * -1); }--/* The garden screen, built in type on the one mint field */-.garden { background: var(--color-mint); }-.garden__screen { box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: var(--space-lg); height: 100%; padding: var(--space-xl); color: var(--color-ink); }-.garden__today { display: grid; align-content: center; gap: var(--space-sm); padding: var(--space-lg) var(--space-xl); border-radius: calc(var(--radius-card) - var(--space-sm)); background: var(--color-paper); }-.garden__today-label { font: 600 var(--text-sm)/1 var(--font-body); }-.garden__today-name { font: 600 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); }-.garden__today-line { font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink-2); }-.plot__grow--big { height: 14px; max-width: 28rem; }-.garden__top { display: flex; align-items: baseline; justify-content: space-between; }-.garden__title { font: 600 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }-.garden__count { font: 500 var(--text-sm)/1 var(--font-body); }-.garden__beds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }-.plot { display: grid; gap: var(--space-2xs); padding: var(--space-md); border-radius: calc(var(--radius-card) - var(--space-sm)); background: color-mix(in oklab, var(--color-paper) 88%, var(--color-mint)); }-.plot__name { font: 600 var(--text-md)/1.1 var(--font-display); }-.plot__state { font: 500 var(--text-sm)/1.2 var(--font-body); color: var(--color-ink-2); }-.plot.is-today { background: var(--color-paper); }-.plot__grow { position: relative; height: 10px; margin-top: var(--space-xs); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-mint) 40%, var(--color-paper)); }-.plot__grow::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--g) * 100%); border-radius: inherit; background: color-mix(in oklab, var(--color-mint) 70%, var(--color-ink)); }-.garden__foot { display: flex; justify-content: flex-end; }-.garden__next { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); font-size: var(--text-sm); }--/* The end of a round: the one coral moment */-.done { background: var(--color-accent-3); }-.done__screen { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); height: 100%; padding: var(--space-xl); color: var(--color-ink); }-.done__main { display: grid; justify-items: start; gap: var(--space-sm); }-.done__stats { display: grid; gap: var(--space-sm); margin: 0; padding-left: var(--space-lg); border-left: 2px solid color-mix(in oklab, var(--color-ink) 22%, var(--color-accent-3)); }-.done__stats dt { font: 500 var(--text-sm)/1.1 var(--font-body); }-.done__stats dd { margin: 0; font: 600 var(--text-xl)/1.1 var(--font-display); font-variant-numeric: tabular-nums; }-.done__title { font: 600 var(--text-2xl)/1.05 var(--font-display); letter-spacing: var(--tracking-display); }-.done__line { font: 500 var(--text-md)/1.4 var(--font-body); }-.done__btn { display: inline-flex; align-items: center; min-height: 40px; margin-top: var(--space-xs); padding: 0 var(--space-md); border: 2px solid var(--color-ink); border-radius: var(--radius-pill); color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-body); }--/* Steps as wells */-.steps-sec { padding-top: var(--section-gap-l); }-.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; }-.step { counter-increment: step; display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-sm); min-height: 22rem; box-sizing: border-box; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); }-.step::before { content: counter(step); margin-bottom: var(--space-md); font: 600 var(--text-display-s)/1 var(--font-display); letter-spacing: -0.04em; color: var(--color-mint-deep); }-.step h3 { font-size: var(--text-2xl); }-.step p { max-width: 28ch; color: var(--color-ink-2); }-.step__bit { justify-self: start; align-self: end; display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-paper); font: 600 var(--text-lg)/1 var(--font-display); color: var(--color-ink); }-.step__bit mark { padding: 0 0.12em; border-radius: var(--space-2xs); background: var(--color-accent); }-.step__bit--grow .plot__grow { width: 7rem; margin: 0; }-.step__bit--done { background: var(--color-accent-3); }--/* Then off they go: the photograph runs off the left edge */-.five { padding-top: var(--section-gap-l); }-.five__grid { --col: calc((var(--container) - 2 * var(--gutter) - 11 * var(--gap-columns)) / 12);- display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, calc(7 * var(--col) + 6 * var(--gap-columns))) [mid] minmax(0, calc(5 * var(--col) + 5 * var(--gap-columns))) [content-end] minmax(var(--gutter), 1fr) [full-end]; align-items: center; }-.five__photo { grid-column: full-start / mid; aspect-ratio: 16 / 10; border-radius: 0 var(--radius-card) var(--radius-card) 0; }-.five__text { grid-column: mid / content-end; padding-left: var(--space-3xl); }-.five__text h2 { font-size: var(--text-display-s); }-.five__text .lead { margin-top: var(--space-lg); }--/* The close: an ink band, a start day to pick and the form */-.try { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }-.try h2 { color: var(--color-paper); }-.try__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; }-.try__plan { grid-column: 1 / span 7; }+.grown__text { grid-column: mid / content-end; padding-left: var(--space-3xl); }+.grown__text h2 { font-size: var(--text-section); }+.facts { margin: var(--space-2xl) 0 0; }+.facts > div { display: grid; gap: var(--space-2xs); padding-block: var(--space-lg); border-top: 2px solid var(--color-rule); }+.facts > div:last-child { border-bottom: 2px solid var(--color-rule); }+.facts dt { font: 600 var(--text-2xl)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }+.facts dd { margin: 0; font-size: var(--text-md); color: var(--color-ink-2); }++/* The close: the start, on the ink band, beside the first screen */+.start { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }+.start h2 { color: var(--color-paper); font-size: var(--text-display-s); }+.start__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: center; }+.start__plan { grid-column: 1 / span 6; }.pick { margin: var(--space-2xl) 0 0; padding: 0; border: 0; }.pick legend { padding: 0; margin-bottom: var(--space-sm); font: 500 var(--text-md)/1.3 var(--font-body); color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }.pick__row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }@@ -171,66 +177,67 @@ mark { background: color-mix(in oklab, var(--color-accent) 55%, transparent); co.pill input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 3px; }.pick__out { margin-top: var(--space-xl); font: 600 var(--text-2xl)/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--color-paper); max-width: 26ch; }.pick__out mark { white-space: nowrap; padding: 0 0.12em; border-radius: var(--space-2xs); background: var(--color-accent); color: var(--color-accent-ink); }-.signup { grid-column: 9 / -1; display: grid; gap: var(--space-sm); }-.signup label { font: 500 var(--text-sm)/1.3 var(--font-body); color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }-.signup input { min-width: 0; min-height: 52px; box-sizing: border-box; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; }-.signup input:focus-visible { outline-color: var(--color-accent); }-.signup input[aria-invalid] { border-color: var(--color-error); }-.signup .btn { margin-top: var(--space-xs); }-.signup__help { min-height: 1lh; font-size: var(--text-sm); color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }+.start__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }+.start .btn:focus-visible { outline-color: var(--color-accent); }+.start__note { font-size: var(--text-sm); color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); max-width: 30ch; }+.first { grid-column: 8 / -1; margin: 0; border-radius: var(--radius-card); background: var(--color-paper); }+.first__in { box-sizing: border-box; display: grid; justify-items: start; align-content: space-between; gap: var(--space-xl); min-height: 520px; padding: var(--space-xl); color: var(--color-ink); }+.first__title { font: 600 clamp(3rem, 4.6vw, 4.25rem)/1 var(--font-display); letter-spacing: -0.035em; max-width: 8ch; }+.first__bed { justify-self: stretch; display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: calc(var(--radius-card) - var(--space-sm)); background: color-mix(in oklab, var(--color-paper) 60%, var(--color-mint)); font-size: var(--text-md); }+.first__bed .grow { background: color-mix(in oklab, var(--color-mint) 55%, var(--color-paper)); }/* Footer: the mast */.mast { padding-block: var(--section-gap-s) var(--space-xl); }.mast__word { margin: 0 0 0 -0.04em; font: 600 clamp(5rem, 31.5vw, 28rem)/0.82 var(--font-display); letter-spacing: -0.055em; color: var(--color-ink); white-space: nowrap; }.mast__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: center; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }-.mast__line { grid-column: 1 / span 5; font-weight: 600; color: var(--color-ink); }-.mast__links { grid-column: 6 / span 5; display: flex; flex-wrap: wrap; gap: var(--space-xl); }+.mast__line { grid-column: 1 / span 4; font-weight: 600; color: var(--color-ink); }+.mast__links { grid-column: 5 / span 6; display: flex; flex-wrap: wrap; gap: var(--space-xl); }.mast__links a { font-weight: 600; text-decoration: none; }.mast__links a:hover { text-decoration: underline; }.mast__legal { grid-column: 11 / -1; justify-self: end; font-size: var(--text-sm); color: var(--color-muted); }.mast__credits { margin-top: var(--space-md); max-width: none; font-size: var(--text-sm); line-height: 1.5; color: var(--color-muted); }.mast__credits a { color: inherit; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }+@media (prefers-reduced-motion: reduce) { .js .pin__screens .scr { transform: none; } }+@media (max-width: 60rem) {.hero { min-height: 0; padding-block: var(--space-xl) 0; }.hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }.knobs { display: none; }.round__screen { min-height: 22rem; padding: var(--space-lg); }- .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: auto; }- .tile--garden, .tile--pens, .tile--done, .tile--word { grid-column: 1; grid-row: auto; }- .split-head h2, .split-head .lead, .figs__head h2, .figs__head .lead { grid-column: 1 / -1; }- .split-head .lead, .figs__head .lead { margin-top: var(--space-md); }- .figs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }+ .split-head h2, .split-head .lead { grid-column: 1 / -1; }+ .split-head .lead { margin-top: var(--space-md); }+ .moment { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }+ .moment .scr, .moment__text { grid-column: 1; }+ .moment__text { order: -1; }+ .scr .scr__in { min-height: 22rem; padding: var(--space-lg); }+ .garden-sec__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .garden-sec__text, .garden { grid-column: 1; }+ .beds { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 116px; }+ .grown__grid { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); row-gap: var(--space-xl); }+ .grown__photo { grid-column: 1 / 3; width: 100%; }+ .grown__text { grid-column: 2; padding-left: 0; }+ .start__grid { grid-template-columns: minmax(0, 1fr); }+ .start__plan, .first { grid-column: 1; }+ .first__in { min-height: 22rem; }.mast__word { font-size: 30vw; }- .figs__row > div:nth-child(3) { border-left: 0; padding-left: 0; }- .word__screen { grid-template-columns: minmax(0, 1fr); padding: var(--space-xl); }- .steps { grid-template-columns: minmax(0, 1fr); }- .step { min-height: 0; }.mast__row { grid-template-columns: minmax(0, 1fr); }.mast__line, .mast__links, .mast__legal { grid-column: 1; justify-self: start; }- .tile--garden { min-height: 30rem; }- .tile--pens { aspect-ratio: 16 / 9; }- .tile--done { min-height: 16rem; }- .five__grid { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); row-gap: var(--space-xl); }- .five__photo { grid-column: 1 / 3; width: 100%; height: auto; aspect-ratio: 4 / 3; }- .five__text { grid-column: 2; padding-left: 0; }- .try__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .try__plan, .signup { grid-column: 1; }}@media (max-width: 40rem) {- .bar__inner .btn--small { display: none; }+ .bar__inner .btn--small { min-height: 40px; }.round__gain { display: none; }- .garden__beds { grid-template-columns: minmax(0, 1fr); }- .garden__top { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }- .garden__next { white-space: nowrap; }- .garden__today { padding: var(--space-md); }.round__top { flex-wrap: wrap; gap: var(--space-sm); }.round__pages { order: 3; flex-basis: 100%; }- .round__page { width: 20px; }- .round__tag, .round__next, .round__listen, .done__btn { white-space: nowrap; }- .figs__row dd { font-size: 3.25rem; }- .figs__row > div { padding-inline: var(--space-md) 0; }+ .round__bottom { flex-wrap: wrap; }+ .hear__from { font-size: var(--text-md); flex-basis: 100%; }+ .stop__line { font-size: var(--text-xl); }+ .garden { padding: var(--space-lg); }+ .seg { display: flex; flex-wrap: nowrap; }+ .seg button { flex: 1; padding: 0 var(--space-sm); font-size: var(--text-sm); white-space: nowrap; }+ .beds { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }+ .bed { min-height: 96px; }+ .bed--empty { display: none; }.pick__out { font-size: var(--text-xl); }- .done__screen { grid-template-columns: minmax(0, 1fr); align-content: center; }- .done__stats { display: flex; gap: var(--space-lg); padding: var(--space-sm) 0 0; border-left: 0; border-top: 2px solid color-mix(in oklab, var(--color-ink) 22%, var(--color-accent-3)); }+ .mast__links { gap: var(--space-md) var(--space-lg); }}diff --git a/site/themes/ink/index.html b/site/themes/ink/index.htmlindex d9b9007..23ebd21 100644--- a/site/themes/ink/index.html+++ b/site/themes/ink/index.html@@ -9,6 +9,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600;700&display=swap" rel="stylesheet"><link rel="stylesheet" href="style.css">+<script>document.documentElement.classList.add('js');</script></head><body><a class="skip" href="#main">Skip to content</a>@@ -18,110 +19,86 @@<a class="wordmark" href="#top" aria-label="Barton Road Library of Things, home">Barton Road Library of Things</a><div class="bar__end"><span class="tag tag--neutral" id="state" role="status">Open Saturdays, 10 to 2</span>- <a class="bar__link" href="#join">Join</a>+ <a class="bar__link" href="#first">First visit</a>+ <a class="btn btn--primary btn--sm" href="#join">Join</a></div></div></header><main id="main">- <section class="hero" id="top">+ <section class="hero" id="top" aria-labelledby="hero-h"><div class="container hero__grid">- <figure class="hero__photo photo" data-slot="hero" data-alt="The library's own shelves or tool wall on a Saturday">- <img src="photos/various-tools-hanging-on-a-pegboard-in-a-workshop-setting-wi-1920.jpg" width="1920" height="1282" fetchpriority="high"- style="object-position: 55% 50%" alt="Pliers, spanners and screwdrivers hung in rows on a pegboard wall">- </figure><div class="hero__text">- <h1>410 things to borrow on Barton Road.</h1>- <p class="lead">A lending library of tools and equipment for the street.</p>+ <h1 id="hero-h">410 things to borrow on Barton Road.</h1>+ <p class="lead">Tools and equipment, lent to the street.</p><div class="actions">- <a class="btn btn--primary" href="#join">Become a member</a>- <a class="btn" href="#shelf">See what’s in</a>+ <a class="btn btn--primary" href="#join">Join for £15 a year</a>+ <a class="btn" href="#first">Your first Saturday</a></div></div>- </div>- </section>-- <section class="shelf" id="shelf" aria-labelledby="shelf-h">- <div class="container shelf__grid">- <div class="shelf__head">- <h2 id="shelf-h">What’s on the shelves</h2>- <p class="lead">Type a thing; the list narrows as you go.</p>+ <div class="shelf" aria-label="What is on the shelves"><div class="find"><label for="find">Find a thing</label><input id="find" type="search" autocomplete="off" spellcheck="false" placeholder="Drill, ladder, tent"></div>- </div>- <div class="shelf__list">- <ul class="items" id="things">- <li class="item" data-words="hand tool set tools hammer pliers screwdriver spanner"><h3>Hand tool set</h3><p>Hammer, pliers, spanners, a tester.</p><span class="tag tag--in">In</span></li>- <li class="item" data-words="tent camping dome"><h3>Tent for two</h3><p>A dome tent that sleeps two.</p><span class="tag tag--out">Out until Saturday</span></li>- <li class="item" data-words="drill hammer drill masonry bits"><h3>Drill and bits</h3><p>Hammer drill, bits for brick.</p><span class="tag tag--in">In</span></li>- <li class="item" data-words="bicycle bike cycle"><h3>Bicycle</h3><p>A town bike while yours is mended.</p><span class="tag tag--in">In</span></li>- <li class="item" data-words="ladder step ladder extension"><h3>Ladder</h3><p>Reaches a first floor gutter.</p><span class="tag tag--out">Out until Saturday</span></li>- <li class="item" data-words="paint brushes decorating brush"><h3>Paint brushes</h3><p>Flat and round, for walls.</p><span class="tag tag--in">In</span></li>- </ul>- <p class="things__none" id="none" hidden>Nothing called that on the list yet. Ask at the desk on Saturday.</p>+ <table class="items" id="things">+ <caption class="visually-hidden">A sample of the things on the shelves, with whether each is in</caption>+ <tbody>+ <tr class="item" data-words="hand tool set tools hammer pliers screwdriver spanner tester"><th scope="row">Hand tool set</th><td>Hammer, pliers, spanners.</td><td><span class="tag tag--in">In</span></td></tr>+ <tr class="item" data-words="drill hammer drill masonry bits"><th scope="row">Drill and bits</th><td>Bits for brick.</td><td><span class="tag tag--in">In</span></td></tr>+ <tr class="item" data-words="ladder step ladder extension gutter"><th scope="row">Ladder</th><td>Reaches a first floor.</td><td><span class="tag tag--out">Out</span></td></tr>+ <tr class="item" data-words="tent camping dome"><th scope="row">Tent for two</th><td>A dome that sleeps two.</td><td><span class="tag tag--out">Out</span></td></tr>+ <tr class="item" data-words="bicycle bike cycle"><th scope="row">Bicycle</th><td>While yours is mended.</td><td><span class="tag tag--in">In</span></td></tr>+ <tr class="item" data-words="paint brushes decorating brush walls"><th scope="row">Paint brushes</th><td>Flat and round.</td><td><span class="tag tag--in">In</span></td></tr>+ </tbody>+ </table>+ <p class="things__none" id="none" hidden>Nothing called that on this list. Ask at the desk on Saturday.</p>+ <p class="shelf__note">A sample. All 410 are at the desk.</p></div></div></section>- <section class="shared" aria-labelledby="shared-h">+ <section class="first" id="first" aria-labelledby="first-h"><div class="container"><div class="head-split">- <h2 id="shared-h">Things the street shares</h2>- <p class="lead">Use it, bring it back, pass it on.</p>+ <h2 id="first-h">Your first Saturday</h2>+ <p class="lead">From the door to your own front door, in four moves.</p></div>- <div class="bento">- <figure class="tile tile--lead">- <div class="photo" data-slot="shared-lead" data-alt="The library's own hand tool set, laid out on the desk">- <img src="photos/diy-means-choosing-the-right-tool-for-the-purpose-a-watchmak-1920.jpg" width="1920" height="1280" loading="lazy" style="object-position: 50% 50%" alt="A hammer, pliers, spanners, screwdrivers and a tester laid in a ring on white">- </div>- <figcaption><span>Hand tool set</span><span class="tag tag--in">In</span></figcaption>- </figure>- <div class="tile tile--ink">- <p>The things you need twice a year belong to the whole street.</p>- </div>- <div class="tile tile--well">- <dl class="nums">- <div><dt>things on the shelves</dt><dd>410</dd></div>- <div><dt>a year to borrow any of them</dt><dd>£15</dd></div>- </dl>+ <div class="pin">+ <div class="pin__stage" aria-hidden="true">+ <figure class="pin__shot photo is-on" data-shot="1" data-slot="first-door" data-alt="The library's own shelves on a Saturday morning">+ <img src="photos/various-tools-hanging-on-a-pegboard-in-a-workshop-setting-wi-1920.jpg" width="1920" height="1282" loading="lazy" style="object-position: 55% 50%" alt="">+ </figure>+ <figure class="pin__shot photo" data-shot="2" data-slot="first-desk" data-alt="The library's own hand tool set, laid out on the desk">+ <img src="photos/diy-means-choosing-the-right-tool-for-the-purpose-a-watchmak-1920.jpg" width="1920" height="1280" loading="lazy" alt="">+ </figure>+ <figure class="pin__shot photo" data-shot="3" data-slot="first-in" data-alt="A thing tagged In, ready to go home">+ <img src="photos/ladder-in-gyumri-1920.jpg" width="1920" height="2896" loading="lazy" style="object-position: 50% 22%" alt="">+ </figure>+ <figure class="pin__shot photo" data-shot="4" data-slot="first-back" data-alt="The library's own bicycle, back against the wall on Barton Road">+ <img src="photos/raleigh-lady-s-loop-frame-bicycle-1930s-1920.jpg" width="1920" height="1210" loading="lazy" style="object-position: 50% 60%" alt="">+ </figure></div>- <figure class="tile">- <div class="photo" data-slot="shared-tent" data-alt="The library's own tent, pitched or packed">- <img src="photos/zagedan-ridge-camping-tent-caucasus-mountains-1920.jpg" width="1920" height="1276" loading="lazy" style="object-position: 45% 62%" alt="A small dome tent pitched on a grassy hillside in low sun">- </div>- <figcaption><span>Tent for two</span><span class="tag tag--out">Out until Saturday</span></figcaption>- </figure>- <figure class="tile tile--wide">- <div class="photo" data-slot="shared-bike" data-alt="The library's own bicycle against a wall on Barton Road">- <img src="photos/raleigh-lady-s-loop-frame-bicycle-1930s-1920.jpg" width="1920" height="1210" loading="lazy" style="object-position: 50% 60%" alt="An old black town bicycle leaning on a stone wall">- </div>- <figcaption><span>Bicycle</span><span class="tag tag--in">In</span></figcaption>- </figure>+ <ol class="pin__steps">+ <li data-step="1"><h3>Come between 10 and 2</h3><p>The doors on Barton Road open every Saturday.</p></li>+ <li data-step="2"><h3>Join at the desk</h3><p>One membership covers the year and every thing on the shelves.</p></li>+ <li data-step="3"><h3>Take home what’s in</h3><p>Anything tagged <span class="tag tag--in">In</span> goes home with you that day.</p></li>+ <li data-step="4"><h3>Bring it back on a Saturday</h3><p>It goes straight back on the shelf for the next neighbour.</p></li>+ </ol></div></div></section>- <section class="how" id="how" aria-labelledby="how-h">+ <section class="say" aria-label="Why it exists"><div class="container">- <div class="head-split">- <h2 id="how-h">How borrowing works</h2>- <p class="lead">Four steps, and a Saturday at each end.</p>- </div>- <ol class="steps">- <li><h3>Join</h3><p>One membership covers the whole year.</p></li>- <li><h3>Come on a Saturday</h3><p>Pick things up while the doors are open.</p></li>- <li><h3>Take home what’s in</h3><p>Anything tagged <span class="tag tag--in">In</span> can go home with you.</p></li>- <li><h3>Bring it back</h3><p>Return it on a Saturday for the next neighbour.</p></li>- </ol>+ <p class="say__line">The things you need twice a year belong to the whole street.</p></div></section><section class="days" id="days" aria-labelledby="days-h"><div class="container days__grid"><div class="days__head">- <h2 id="days-h">Saturdays,<br>10 to 2</h2>+ <h2 id="days-h">Saturdays, 10 to 2</h2><p class="lead">At the library on Barton Road, <span class="fill" data-fill="address">street number to come</span>.</p></div><ol class="days__list" id="saturdays">@@ -137,7 +114,12 @@<div class="container join-band__grid"><div class="join-band__head"><h2 id="join-h">£15 covers a whole year</h2>- <p class="lead">Leave your name and email, and the desk will have your card on Saturday.</p>+ <p class="lead">Leave your name, and your card waits at the desk on Saturday.</p>+ </div>+ <div class="card" aria-hidden="true">+ <p class="card__org">Barton Road Library of Things</p>+ <p class="card__name" id="card-name">Your name</p>+ <div class="card__foot"><span>Member for a year</span><span class="tag tag--in">Valid</span></div></div><form class="join" data-endpoint="" novalidate><div class="f">@@ -161,12 +143,12 @@<div class="container foot__grid"><p class="foot__colophon"><strong>Barton Road Library of Things</strong> is a community lending library of tools and equipment on Barton Road, open Saturdays from 10 to 2. Membership is £15 a year.</p><nav class="foot__links" aria-label="This page">- <a href="#shelf">What’s in</a>- <a href="#how">How it works</a>+ <a href="#top">What’s in</a>+ <a href="#first">First visit</a><a href="#days">Saturdays</a><a href="#join">Join</a></nav>- <p class="foot__credit" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Various_tools_hanging_on_a_pegboard_in_a_workshop_setting_with_natural_light_filtering_in.jpg">Shixart1985</a>, CC BY 2.0; <a href="https://commons.wikimedia.org/wiki/File:DIY_means_choosing_the_right_tool_for_the_purpose_-_a_watchmaker%27s_nightmare.jpg">Franz van Duns</a>, CC BY-SA 4.0; <a href="https://commons.wikimedia.org/wiki/File:Zagedan_Ridge,_Camping_tent,_Caucasus_Mountains.jpg">Vyacheslav Argenberg</a>, CC BY 4.0; <a href="https://commons.wikimedia.org/wiki/File:Raleigh_lady%27s_loop_frame_bicycle_1930s.jpg">DeFacto</a>, CC BY-SA 4.0, all on Wikimedia Commons. © 2026</p>+ <p class="foot__credit" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Various_tools_hanging_on_a_pegboard_in_a_workshop_setting_with_natural_light_filtering_in.jpg">Shixart1985</a>, CC BY 2.0; <a href="https://commons.wikimedia.org/wiki/File:DIY_means_choosing_the_right_tool_for_the_purpose_-_a_watchmaker%27s_nightmare.jpg">Franz van Duns</a>, CC BY-SA 4.0; <a href="https://commons.wikimedia.org/wiki/File:Ladder_in_Gyumri.jpg">Araqangaraq</a>, CC BY-SA 4.0; <a href="https://commons.wikimedia.org/wiki/File:Raleigh_lady%27s_loop_frame_bicycle_1930s.jpg">DeFacto</a>, CC BY-SA 4.0, all on Wikimedia Commons. © 2026</p></div></footer>@@ -207,6 +189,15 @@none.hidden = shown > 0;});+ // your first Saturday: the picture follows the step in view+ const shots = [...document.querySelectorAll('.pin__shot')];+ const io = new IntersectionObserver((es) => es.forEach((e) => { if (e.isIntersecting) { const n = e.target.dataset.step; shots.forEach((s) => s.classList.toggle('is-on', s.dataset.shot === n)); document.querySelectorAll('.pin__steps li').forEach((l) => l.classList.toggle('is-on', l === e.target)); } }), { rootMargin: '-45% 0px -45% 0px' });+ document.querySelectorAll('.pin__steps li').forEach((l) => io.observe(l));++ // the card takes the name as it is typed+ const cardName = document.getElementById('card-name');+ document.getElementById('j-name').addEventListener('input', (e) => { cardName.textContent = e.target.value.trim() || 'Your name'; });+// the join form posts nowhere yetconst form = document.querySelector('.join');const help = document.getElementById('join-help');@@ -217,6 +208,7 @@const bad = fields.find((i) => !i.checkValidity());if (bad) { bad.setAttribute('aria-invalid', 'true'); bad.setAttribute('aria-describedby', 'join-help'); help.textContent = bad.type === 'email' ? 'That email looks incomplete. Write it as [email protected].' : 'Write your name so the desk knows who joined.'; bad.focus(); return; }if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) }).then((r) => { help.textContent = r.ok ? 'Your card will be at the desk on Saturday.' : 'That did not go through. Try again in a minute.'; }).catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });});})();</script>diff --git a/site/themes/ink/photos/ladder-in-gyumri-1920.jpg b/site/themes/ink/photos/ladder-in-gyumri-1920.jpgnew file mode 100644index 0000000..fc41a9fBinary files /dev/null and b/site/themes/ink/photos/ladder-in-gyumri-1920.jpg differdiff --git a/site/themes/ink/photos/zagedan-ridge-camping-tent-caucasus-mountains-1920.jpg b/site/themes/ink/photos/zagedan-ridge-camping-tent-caucasus-mountains-1920.jpgdeleted file mode 100644index d11487f..0000000Binary files a/site/themes/ink/photos/zagedan-ridge-camping-tent-caucasus-mountains-1920.jpg and /dev/null differdiff --git a/site/themes/ink/style.css b/site/themes/ink/style.cssindex c0dc5bd..d52a2df 100644--- a/site/themes/ink/style.css+++ b/site/themes/ink/style.css@@ -1,8 +1,9 @@-/* Hallmark · shape: Catalogue · genre: editorial · theme: Ink (v2.8 launch pass)- * hero: Settled, mirrored · nav: edge-aligned, the wordmark and a live open or closed sign that reads the London clock · footer: colophon block, the library in one paragraph, the links and the credits · imagery: photographs, library 4, muted · signature: the shelf as a ruled list, every thing with its in or out pill, narrowing as you type · ink: paper+/* Hallmark · job: join (a membership library: join, then a first Saturday) · shape: Catalogue · genre: editorial · theme: Ink (v2.8 launch pass)+ * hero: Index, the shelf itself as the first screen's visual (a filterable ruled list with in and out pills) beside the head and the join action · sections: Pinned (your first Saturday, four steps scrolling past one held picture that changes with each), Statement (the street's line), Schedule (the next four Saturdays from the clock, the next one inked), Form beside a built membership card that takes the name as it is typed · nav: edge-aligned, the wordmark, a live open or closed sign that reads the London clock, first visit and the join button · footer: colophon block, the library in one paragraph, the links and the credits · imagery: photographs, library 4, muted · signature: the shelf as a ruled list, every thing with its in or out pill, narrowing as you type · ink: paper+ * job close: a membership library ends on joining, the one place a sign-up field is the job itself; the card makes it a membership, not a newsletter* axes: light/grotesk-sans/chromatic-teal · posture: restrained · contrast: pass · fold: pass · v2.8.0 *//* Hallmark · waive 22 · ink and greys at zero chroma · a notice board is printed in plain black, so the greys carry no hue at all */-/* Hallmark · gap: the things and their states are library stand-ins with sample states; the library's own list, photographs and live states replace them */+/* Hallmark · gap: the things and their states are a sample with sample states, marked on the page; the library's own list, photographs and live states replace them */@import url("./tokens.css");@import url("./base.css");@@ -47,70 +48,61 @@ a:hover { text-decoration-color: var(--color-accent); }.bar__link { white-space: nowrap; }.wordmark:focus-visible, .bar__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-control); }-/* the hero: Settled, the tool wall on the left, the words on the right */+/* the hero: Index, the head beside the shelf itself */.hero { min-height: calc(100dvh - var(--bar-h) - var(--rule-hair)); display: grid; align-items: center; padding-block: var(--space-xl); box-sizing: border-box; }-.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3xl); align-items: center; }-.hero__text h1 { font-size: var(--text-display); max-width: 12ch; }-.hero .lead { margin-top: var(--space-lg); max-width: 32ch; }+.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.hero__text { grid-column: 1 / span 5; }+.hero__text h1 { font-size: clamp(3rem, 4.6vw + 0.5rem, 5.5rem); line-height: 1; max-width: 10ch; }+.hero .lead { margin-top: var(--space-lg); max-width: 30ch; }.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }+.btn--sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }.photo { margin: 0; border-radius: var(--radius-card); }.photo > img { border-radius: var(--radius-card); outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }-.hero__photo { aspect-ratio: 4 / 5; max-height: 72dvh; width: 100%; }-.hero__text h1 { font-size: clamp(3rem, 5.4vw + 0.5rem, 6rem); line-height: 1; }/* shared heads: the head on 1 to 6, its line on 8 to 12 */.head-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }.head-split h2 { grid-column: 1 / span 6; }.head-split .lead { grid-column: 8 / span 5; }-/* the shelf as a ruled list: the head and the filter on 1 to 4, the rows on 5 to 12 */-.shelf { padding-top: var(--section-gap-s); }-.shelf__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }-.shelf__head { grid-column: 1 / span 4; display: grid; gap: var(--space-md); }-.find { display: grid; gap: var(--space-xs); margin-top: var(--space-xl); }+/* the shelf as a ruled list, the filter above it */+.shelf { grid-column: 7 / -1; }+.find { display: grid; gap: var(--space-xs); margin-bottom: var(--space-lg); }.find label { font-size: var(--text-sm); color: var(--color-ink-2); }-.find input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.2 var(--font-body); caret-color: var(--color-accent); outline: 2px solid transparent; outline-offset: 2px; }+.find input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.2 var(--font-body); caret-color: var(--color-accent); outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--dur-micro) var(--ease-out); }+.find input:hover { border-color: var(--color-ink); }.find input::placeholder { color: var(--color-muted); opacity: 1; }.find input:focus-visible { outline-color: var(--color-focus); }-.shelf__list { grid-column: 6 / -1; }-.items { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }-.item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 9.5rem; column-gap: var(--gap-columns); align-items: center; min-height: 80px; border-bottom: var(--rule-hair) solid var(--color-rule); transition: background-color var(--dur-micro) var(--ease-out); }+.items { width: 100%; border-collapse: collapse; border-top: var(--rule-hair) solid var(--color-ink); }.item[hidden] { display: none; }-.item h3 { font-size: var(--text-xl); letter-spacing: -0.025em; }-.item p { color: var(--color-ink-2); }-.item .tag { justify-self: end; }+.item th, .item td { height: 68px; padding: 0 var(--space-md) 0 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: middle; }+.item th { width: 40%; font: 700 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.025em; color: var(--color-ink); }+.item td { color: var(--color-ink-2); }+.item td:last-child { padding-right: 0; text-align: right; }.things__none { padding-block: var(--space-lg); color: var(--color-ink-2); }+.shelf__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }-/* things the street shares: a bento, one lead photograph */-.shared { padding-top: var(--section-gap); }-.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(3, 320px); gap: var(--gap-columns); }-.tile { margin: 0; min-width: 0; border-radius: var(--radius-card); }-figure.tile { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-sm); }-figure.tile .photo { height: 100%; }-figure.tile figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); font-weight: 600; color: var(--color-ink); }-.tile--lead { grid-column: 1 / span 7; grid-row: 1 / span 2; }-.tile--ink { grid-column: 8 / span 5; grid-row: 1; display: flex; align-items: flex-end; padding: var(--space-xl); background: var(--color-ink); color: var(--color-paper); }-.tile--ink p { max-width: 28ch; font: 700 var(--text-2xl)/1.1 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }-.tile--well { grid-column: 8 / span 5; grid-row: 2; padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }-.bento > figure.tile:nth-of-type(2) { grid-column: 1 / span 5; grid-row: 3; }-.tile--wide { grid-column: 6 / span 7; grid-row: 3; }-.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: 100%; margin: 0; }-.nums > div { display: flex; flex-direction: column-reverse; justify-content: flex-start; gap: var(--space-sm); }-.nums > div + div { padding-left: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }-.nums dd { margin: 0; font: 700 clamp(3.5rem, 6vw, 6rem)/0.95 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); font-variant-numeric: tabular-nums; }-.nums dt { max-width: 18ch; font-size: var(--text-sm); color: var(--color-ink-2); }+/* your first Saturday: one picture held while the steps scroll past */+.first { padding-top: var(--section-gap); }+.pin { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.pin__stage { grid-column: 1 / span 6; position: sticky; top: calc(50dvh - min(30dvh, 280px)); height: min(60dvh, 560px); }+.pin__shot { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }+.pin__shot.is-on, html:not(.js) .pin__shot[data-shot="1"] { opacity: 1; }+.pin__steps { grid-column: 8 / -1; margin: 0; padding: 0; list-style: none; counter-reset: step; }+.pin__steps li { display: grid; align-content: center; gap: var(--space-sm); min-height: min(52dvh, 460px); counter-increment: step; color: var(--color-muted); transition: color var(--dur-short) var(--ease-out); }+.pin__steps li + li { border-top: var(--rule-hair) solid var(--color-rule); }+.pin__steps li::before { content: counter(step); margin-bottom: var(--space-md); font: 700 clamp(4rem, 7vw, 7rem)/0.9 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-rule); font-variant-numeric: tabular-nums; transition: color var(--dur-short) var(--ease-out); }+.pin__steps li.is-on, html:not(.js) .pin__steps li { color: var(--color-ink-2); }+.pin__steps li.is-on::before, html:not(.js) .pin__steps li::before { color: var(--color-ink); }+.pin__steps h3 { font-size: var(--text-section); letter-spacing: -0.03em; line-height: 1.05; }+.pin__steps p { max-width: 30ch; font-size: var(--text-lead); line-height: 1.45; }+.pin__steps .tag { min-height: 0; padding: 0.05em 0.35em; font-size: 0.8em; vertical-align: 0.06em; }-/* how borrowing works: four numbered stages across the columns */-.how { padding-top: var(--section-gap-l); }-.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: step; }-.steps li { display: grid; align-content: start; gap: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink); counter-increment: step; }-.steps li::before { content: counter(step); margin-bottom: var(--space-xl); font: 700 clamp(4rem, 7vw, 7rem)/0.9 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); font-variant-numeric: tabular-nums; }-.steps h3 { font-size: var(--text-title); letter-spacing: -0.025em; }-.steps p { max-width: 28ch; }-.steps .tag { min-height: 24px; vertical-align: 0.1em; }+/* the street's line */+.say { padding-top: var(--section-gap); }+.say__line { max-width: 20ch; font: 700 var(--text-display)/1.02 var(--font-display); letter-spacing: -0.035em; color: var(--color-ink); text-wrap: balance; }/* Saturdays, 10 to 2 */-.days { padding-top: var(--section-gap); }+.days { padding-top: var(--section-gap-l); }.days__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }.days__head { grid-column: 1 / span 4; }.days__head h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1; }@@ -122,19 +114,25 @@ figure.tile figcaption { display: flex; align-items: center; justify-content: sp.days__date { font: 700 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.025em; color: var(--color-ink); }.fill { padding: 0 0.2em; border-radius: 2px; color: var(--color-muted); background: color-mix(in oklch, var(--color-muted) 14%, transparent); }-/* join: the paper-2 band */+/* join: the paper-2 band, the card beside the form */.join-band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }-.join-band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.join-band__head { grid-column: 1 / span 6; }-.join-band__head .lead { margin-top: var(--space-md); max-width: 40ch; }-.join { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-md); row-gap: var(--space-md); }+.join-band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: center; }+.join-band__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; }+.join-band__head h2 { grid-column: 1 / span 6; }+.join-band__head .lead { grid-column: 8 / span 5; max-width: 40ch; }+.card { grid-column: 1 / span 5; display: grid; grid-template-rows: auto 1fr auto; aspect-ratio: 85.6 / 54; padding: var(--space-xl); border-radius: 18px; background: var(--color-ink); color: var(--color-paper); }+.card__org { font: 600 var(--text-md)/1.3 var(--font-display); max-width: 18ch; color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }+.card__name { align-self: center; font: 700 clamp(2rem, 3vw, 3rem)/1.05 var(--font-display); letter-spacing: -0.035em; overflow-wrap: anywhere; }+.card__foot { display: flex; align-items: center; justify-content: space-between; font-size: var(--text-sm); color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }+.join { grid-column: 7 / span 6; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }.f { display: grid; gap: var(--space-xs); min-width: 0; }.f label { font-size: var(--text-sm); color: var(--color-ink-2); }-.f input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.2 var(--font-body); caret-color: var(--color-accent); outline: 2px solid transparent; outline-offset: 2px; }+.f input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.2 var(--font-body); caret-color: var(--color-accent); outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--dur-micro) var(--ease-out); }+.f input:hover { border-color: var(--color-ink); }.f input:focus-visible { outline-color: var(--color-focus); }.f input[aria-invalid="true"] { border-color: var(--color-ink); }.f input:disabled { opacity: 0.55; cursor: not-allowed; }-.join__go { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); }+.join__go { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); }.join__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }/* footer: a colophon block */@@ -149,39 +147,32 @@ figure.tile figcaption { display: flex; align-items: center; justify-content: sp.foot__credit a:hover { text-decoration-color: currentColor; }@media (max-width: 60rem) {+ .bar__link { display: none; }.hero { min-height: 0; padding-block: var(--space-2xl); }- .hero__grid, .shelf__grid, .days__grid, .join-band__grid, .head-split { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .hero__grid, .days__grid, .join-band__grid, .head-split, .pin { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }.head-split { row-gap: var(--space-md); }- .hero__text { order: -1; }- .hero__photo { aspect-ratio: 4 / 3; max-height: none; }- .shelf__head, .shelf__list, .days__head, .days__list, .join-band__head, .join, .head-split h2, .head-split .lead { grid-column: 1; }- .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }- .tile--lead { grid-column: 1 / -1; grid-row: auto; }- .tile--ink, .tile--well, .bento > figure.tile:nth-of-type(2), .tile--wide { grid-column: auto / span 1; grid-row: auto; }- .tile--ink, .tile--well { padding: var(--space-lg); }- .tile--ink p { font-size: var(--text-xl); }- .nums { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }- .nums > div + div { padding-left: 0; padding-top: var(--space-md); border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }- .nums dd { font-size: var(--text-section); }- figure.tile .photo { height: auto; aspect-ratio: 4 / 3; }- .tile--ink { min-height: 240px; }- .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-2xl); }+ .hero__text, .shelf, .days__head, .days__list, .join-band__head, .card, .join, .head-split h2, .head-split .lead, .pin__stage, .pin__steps { grid-column: 1; }+ .join-band__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }+ .join-band__head h2, .join-band__head .lead { grid-column: 1; }+ .card { max-width: 26rem; }+ .pin__stage { position: relative; top: auto; height: auto; aspect-ratio: 4 / 3; }+ .pin__shot:not([data-shot="1"]) { display: none; }+ .pin__shot[data-shot="1"] { opacity: 1; }+ .pin__steps li { min-height: 0; padding-block: var(--space-xl); color: var(--color-ink-2); }+ .pin__steps li::before { color: var(--color-ink); font-size: 3.5rem; }+ .pin__steps h3 { font-size: var(--text-2xl); }.foot__colophon, .foot__links { grid-column: 1 / -1; }.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }}@media (max-width: 40rem) {.bar__in { flex-wrap: wrap; padding-block: var(--space-sm); }.wordmark { font-size: var(--text-md); }- .item { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-2xs); padding-block: var(--space-md); }- .item p { grid-column: 1 / -1; grid-row: 2; }- .item .tag { grid-column: 2; grid-row: 1; }- .tile--ink, .tile--well, .bento > figure.tile:nth-of-type(2), .tile--wide { grid-column: 1 / -1; }- .steps { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }- .steps li { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-lg); align-items: start; }- .steps li::before { grid-row: span 2; margin: 0; font-size: 3.5rem; }- .join { grid-template-columns: minmax(0, 1fr); }+ .item th { width: auto; font-size: var(--text-lg); }+ .item td:nth-child(2) { display: none; }+ .bar__end .btn--sm { display: none; }.days__list li:first-child .days__date { font-size: var(--text-xl); }+ .card { padding: var(--space-lg); }}@media (prefers-reduced-motion: reduce) {- a, .btn { transition: none; }+ a, .btn, .pin__shot, .pin__steps li { transition: none; }}diff --git a/site/themes/ledger/index.html b/site/themes/ledger/index.htmlindex c85314e..67fb5fa 100644--- a/site/themes/ledger/index.html+++ b/site/themes/ledger/index.html@@ -17,9 +17,9 @@<div class="container slab__in"><a class="wordmark" href="#top" aria-label="Closewise, home">Closewise</a><nav class="slab__links" aria-label="Main">- <a href="#nightly">Every night</a><a href="#flag">The flag</a>- <a href="#close">Month end</a>+ <a href="#ways">Two ways</a>+ <a href="#close">October</a></nav><a class="btn btn--line btn--nav" href="#walkthrough">Book a walkthrough</a></div>@@ -28,27 +28,23 @@<main id="main"><section class="hero" id="top" aria-labelledby="hero-head">- <div class="container hero__grid">- <div class="hero__text">- <h1 id="hero-head">Month end, already reconciled.</h1>- <p class="lead">Closewise checks every bank account against your ledger, every night.</p>+ <div class="container">+ <div class="hero__head">+ <div class="hero__text">+ <h1 id="hero-head">Month end, already reconciled.</h1>+ <p class="lead">Closewise checks every bank account against your ledger, every night.</p>+ </div><div class="actions"><a class="btn btn--bone" href="#walkthrough">Book a walkthrough</a>- <a class="btn btn--line" href="#nightly">How a night runs</a>+ <a class="btn btn--line" href="#flag">See a flag</a></div></div>-- <div class="hero__visual">- <div class="app" data-slot="hero" data-alt="Your last night's run: each bank line set against its ledger entry, with the totals and the one flag">- <div class="app__bar">- <span class="app__mark">Closewise</span>- <span class="app__tabs"><span class="is-on">Last night</span><span>Month end</span><span>Accounts</span></span>- <span class="app__when"><span>Tuesday 14 October</span><span>Run at <span class="num">02:00</span></span></span>- </div>- <div class="app__accounts">- <span class="acct is-on">Current account</span><span class="acct">Card</span><span class="acct">Savings</span>- <span class="app__tally"><span><span class="num">6</span> matched</span><span class="tally-flag"><span class="num">1</span> flagged</span></span>- </div>+ <div class="page" data-slot="hero" data-alt="Your last night's run: each bank line set against its ledger entry, with the totals and the one flag">+ <div class="page__head">+ <p class="page__title">Last night’s run</p>+ <p class="page__accts"><span class="is-on">Current account</span><span>Card</span><span>Savings</span></p>+ <p class="page__when"><span>Wednesday 14 October, run at <span class="num">02:00</span></span><span class="page__tally"><span class="num">6</span> matched, <b><span class="num">1</span> flagged</b></span></p>+ </div><table class="run"><caption class="visually-hidden">Last night’s run on the current account, sample</caption><thead><tr><th scope="col" class="d">Date</th><th scope="col">Bank line</th><th scope="col">Ledger entry</th><th scope="col" class="r">In</th><th scope="col" class="r">Out</th><th scope="col">Status</th></tr></thead>@@ -63,25 +59,10 @@</tbody><tfoot><tr><td class="d"></td><th scope="row">Totals</th><td></td><td class="num cr" data-label="In">4,100.00</td><td class="num dr" data-label="Out">10,026.00</td><td></td></tr></tfoot></table>- </div></div></div></section>-<section class="night" id="nightly" aria-labelledby="night-head">- <div class="container">- <div class="night__head">- <h2 id="night-head">How a night becomes a short list.</h2>- <p class="lead">Every account, every night, while the team is away.</p>- </div>- <ol class="night__steps" role="list">- <li><span class="night__n num" aria-hidden="true">1</span><h3>Overnight</h3><p>Every bank line is set against its ledger entry, on every account.</p></li>- <li><span class="night__n num" aria-hidden="true">2</span><h3>By morning</h3><p>Anything that does not match waits as a flag, with both sides shown.</p></li>- <li><span class="night__n num" aria-hidden="true">3</span><h3>Before month end</h3><p>Flags are cleared as they come, so the close starts from a short list.</p></li>- </ol>- </div>-</section>-<section class="row row--flag" id="flag" aria-labelledby="flag-head"><div class="container row__grid row__grid--5-7"><div class="row__text">@@ -115,11 +96,11 @@</div></section>-<section class="ways" aria-labelledby="ways-head">+<section class="ways" id="ways" aria-labelledby="ways-head"><div class="container"><div class="ways__head"><h2 id="ways-head">Month end, two ways.</h2>- <p class="lead">The same month, checked once at the end or every night.</p>+ <p class="lead">Checked once at the end, or every night.</p></div><div class="t" role="table" aria-labelledby="ways-head"><div class="t__row t__row--head" role="row"><span class="visually-hidden" role="columnheader">Question</span><span class="t__side t__side--by" role="columnheader">By hand, at month end</span><span class="t__side" role="columnheader">Closewise, every night</span></div>@@ -131,51 +112,55 @@</div></section>-<section class="team" aria-labelledby="team-head">- <div class="container team__grid">- <p class="team__fig figure" aria-hidden="true">3<span class="team__to">to</span>30</p>- <div class="team__text">- <h2 id="team-head">For finance teams of 3 to 30.</h2>- <p class="lead">One run a night covers every account the team looks after.</p>- </div>- </div>-</section>--<section class="close" id="close" aria-labelledby="close-head">+<section class="month" id="close" aria-labelledby="month-head"><div class="container">- <div class="close__head">- <h2 id="close-head">October, before the close.</h2>- <p class="lead">Three flags left, each with its difference, footing as it goes.</p>+ <div class="month__head">+ <h2 id="month-head">October, night by night.</h2>+ <p class="lead">Every night ran. Three flagged, and all three are still open.</p></div>- <figure class="proof proof--wide">- <div class="well" data-slot="close" data-alt="Your month-end list: every open flag across your accounts and what they add up to">- <div class="well__head"><span class="well__title">Open flags on 29 October</span><span class="well__state">All accounts</span></div>+ <div class="month__grid">+ <div class="cal-wrap" role="region" aria-labelledby="month-head" tabindex="0">+ <table class="cal">+ <caption class="visually-hidden">October runs, sample: flags on the 3rd, 14th and 22nd; the last run on the 29th; month end on the 31st</caption>+ <thead><tr><th scope="col">Mon</th><th scope="col">Tue</th><th scope="col">Wed</th><th scope="col">Thu</th><th scope="col">Fri</th><th scope="col">Sat</th><th scope="col">Sun</th></tr></thead>+ <tbody>+ <tr><td class="is-out"></td><td class="is-out"></td><td class="is-out"></td><td><span class="cal__d num">1</span></td><td><span class="cal__d num">2</span></td><td class="is-flag"><span class="cal__d num">3</span><span class="cal__note">Flag <span class="num">24.00</span></span></td><td><span class="cal__d num">4</span></td></tr>+ <tr><td><span class="cal__d num">5</span></td><td><span class="cal__d num">6</span></td><td><span class="cal__d num">7</span></td><td><span class="cal__d num">8</span></td><td><span class="cal__d num">9</span></td><td><span class="cal__d num">10</span></td><td><span class="cal__d num">11</span></td></tr>+ <tr><td><span class="cal__d num">12</span></td><td><span class="cal__d num">13</span></td><td class="is-flag"><span class="cal__d num">14</span><span class="cal__note">Flag <span class="num">180.00</span></span></td><td><span class="cal__d num">15</span></td><td><span class="cal__d num">16</span></td><td><span class="cal__d num">17</span></td><td><span class="cal__d num">18</span></td></tr>+ <tr><td><span class="cal__d num">19</span></td><td><span class="cal__d num">20</span></td><td><span class="cal__d num">21</span></td><td class="is-flag"><span class="cal__d num">22</span><span class="cal__note">Flag <span class="num">90.00</span></span></td><td><span class="cal__d num">23</span></td><td><span class="cal__d num">24</span></td><td><span class="cal__d num">25</span></td></tr>+ <tr><td><span class="cal__d num">26</span></td><td><span class="cal__d num">27</span></td><td><span class="cal__d num">28</span></td><td class="is-last"><span class="cal__d num">29</span><span class="cal__note">Last night</span></td><td class="is-next"><span class="cal__d num">30</span><span class="cal__note">Tonight</span></td><td class="is-end"><span class="cal__d num">31</span><span class="cal__note">Month end</span></td><td class="is-out"></td></tr>+ </tbody>+ </table>+ </div>+ <figure class="proof">+ <div class="well" data-slot="close" data-alt="Your month-end list: every open flag across your accounts and what they add up to">+ <div class="well__head"><span class="well__title">Open on 29 October</span><span class="well__state">All accounts</span></div><table class="flags"><caption class="visually-hidden">Open flags before the October close, sample</caption>- <thead><tr><th scope="col">Flagged</th><th scope="col">Bank line</th><th scope="col">Why</th><th scope="col" class="r">Difference</th><th scope="col" class="r">Running</th></tr></thead>+ <thead><tr><th scope="col">Flagged</th><th scope="col">Bank line</th><th scope="col" class="r">Difference</th><th scope="col" class="r">Running</th></tr></thead><tbody>- <tr><td class="d num">03 Oct</td><th scope="row">Example Bank fee</th><td>Not in the ledger</td><td class="num">24.00</td><td class="num run-t">24.00</td></tr>- <tr><td class="d num">14 Oct</td><th scope="row">Example Hosting</th><td>Amount differs</td><td class="num">180.00</td><td class="num run-t">204.00</td></tr>- <tr><td class="d num">22 Oct</td><th scope="row">Example Client Co</th><td>Amount differs</td><td class="num">90.00</td><td class="num run-t">294.00</td></tr>+ <tr><td class="d num">03 Oct</td><th scope="row">Example Bank fee</th><td class="num">24.00</td><td class="num run-t">24.00</td></tr>+ <tr><td class="d num">14 Oct</td><th scope="row">Example Hosting</th><td class="num">180.00</td><td class="num run-t">204.00</td></tr>+ <tr><td class="d num">22 Oct</td><th scope="row">Example Client Co</th><td class="num">90.00</td><td class="num run-t">294.00</td></tr></tbody>- <tfoot><tr><td></td><th scope="row" colspan="2">Three flags to clear</th><td class="num">294.00</td><td></td></tr></tfoot>+ <tfoot><tr><td></td><th scope="row">Three flags to clear</th><td class="num">294.00</td><td></td></tr></tfoot></table>- </div>- </figure>+ </div>+ </figure>+ </div></div></section>-<section class="book-s" id="walkthrough" aria-labelledby="book-head">- <div class="container book-s__grid">- <div class="book-s__text">+<section class="closeband" id="walkthrough" aria-labelledby="book-head">+ <div class="container closeband__grid">+ <p class="team__fig" aria-hidden="true"><span class="num">3</span><span class="team__to">to</span><span class="num">30</span></p>+ <div class="closeband__text"><h2 id="book-head">See one month, start to close.</h2>- <p class="lead">A walkthrough of the runs, the flags and the short list they leave.</p>+ <p class="lead">For finance teams of 3 to 30: a walkthrough of the runs, the flags and the short list they leave.</p>+ <div class="actions">+ <a class="btn btn--bone" href="#walkthrough" data-needs-url="walkthrough booking">Book a walkthrough</a>+ </div></div>- <form class="book well" data-endpoint="" novalidate>- <div class="field"><label for="email">Work email</label><input class="input" id="email" name="email" type="email" autocomplete="email" required></div>- <div class="field"><label for="company">Company</label><input class="input" id="company" name="company" type="text" autocomplete="organization" required></div>- <div class="book__foot"><button class="btn btn--bone" type="submit">Book a walkthrough</button><p class="book__help" id="book-help" aria-live="polite"></p></div>- </form></div></section>@@ -186,24 +171,12 @@<p class="foot__mark">Closewise</p><div class="foot__base"><p class="foot__line">Every bank account against the ledger, every night.</p>- <nav class="foot__links" aria-label="Footer"><a href="#nightly">Every night</a><a href="#flag">The flag</a><a href="#close">Month end</a><a href="#walkthrough">Walkthrough</a></nav>+ <nav class="foot__links" aria-label="Footer"><a href="#top">Last night</a><a href="#flag">The flag</a><a href="#ways">Two ways</a><a href="#close">October</a><a href="#walkthrough">Walkthrough</a></nav><p class="foot__legal">© 2026 Closewise</p></div></div></footer>-<script>-document.querySelectorAll('form[data-endpoint]').forEach(function (form) {- var help = form.querySelector('[aria-live]');- form.addEventListener('submit', function (e) {- e.preventDefault();- var bad = [].slice.call(form.querySelectorAll('input')).filter(function (i) { var ok = i.checkValidity(); i.toggleAttribute('aria-invalid', !ok); if (!ok) i.setAttribute('aria-describedby', help.id); return !ok; });- if (bad.length) { help.textContent = bad[0].type === 'email' ? 'That address looks incomplete. Write it as [email protected].' : 'Add the company name so we know who to expect.'; bad[0].focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- });-});-</script>-<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });</script></body>diff --git a/site/themes/ledger/style.css b/site/themes/ledger/style.cssindex 298c37d..5c24374 100644--- a/site/themes/ledger/style.css+++ b/site/themes/ledger/style.css@@ -1,6 +1,6 @@-/* Hallmark · shape: Narrative Workflow · genre: modern-minimal · theme: Ledger (by request) · v2.8 launch pass- * hero: Stage · sections: steps on a columnar band, split (the flag), T-account comparison, a figure in mono, statement of account with a running total, form as a slip · nav: slab closed on a double rule · footer: mast over a double rule · ledger: bordeaux/teal-brass/columnar- * imagery: product sample in hero, flag and close; no photographs (the library has no honest picture of the work, and a generic desk fails the deletion test)+/* Hallmark · job: sign up · shape: Narrative Workflow, one month in the book · genre: modern-minimal · theme: Ledger (by request) · v2.8 launch pass+ * hero: Index (the head set small over last night's run, ruled straight on the binding, footing on a double rule) · sections: hero Index, Split (the flag, both sides and the difference), T-account comparison, Schedule (October as a ruled calendar of nights beside the open flags footing as a statement of account), Band (3 to 30 in mono beside the walkthrough) · nav: slab closed on a double rule · footer: mast over a double rule · ledger: bordeaux/teal-brass/columnar+ * imagery: product sample in hero, flag and the month; no photographs · samples: payees, entries, amounts, dates and flags are Example placeholders of the product's shape* axes: dark/grotesk-sans/chromatic-teal · posture: committed · contrast: pass · fold: pass · v2.8.0 *//* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: V, a dark finance page; the binding, the mono figures and every total footing on a double rule keep it a book, never a console */@import url("./tokens.css");@@ -38,30 +38,30 @@ h1, h2, h3 { font-weight: 600; }.slab__links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; }.slab__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }-/* hero: Stage, last night's run bleeding off the right edge */-.hero { min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; padding-block: var(--space-xl) var(--space-2xl); }-.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-2xl); align-items: center; }-.hero__text { display: grid; gap: var(--space-lg); }-.hero h1 { line-height: 1.02; }-.hero .lead { max-width: 30ch; }+/* hero: Index, the head set small over last night's run, ruled straight on the binding */+.hero { min-height: calc(100svh - var(--nav-h)); display: grid; align-content: center; padding-block: var(--space-xl) var(--space-2xl); box-sizing: border-box; }+.hero__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-xl); }+.hero__text { grid-column: 1 / span 8; display: grid; gap: var(--space-md); }+.hero h1 { max-width: none; font-size: var(--text-display-s); line-height: 1.02; }+.hero .lead { max-width: 44ch; }+.hero__head .actions { grid-column: 9 / -1; justify-content: flex-end; margin: 0; }.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }-.hero__visual { min-width: 0; margin-right: calc(var(--gutter) * -1); }-/* the product: last night's run */-.app { background: var(--color-paper-2); color: var(--color-ink-2); border: var(--rule-hair) solid var(--color-rule); border-right: 0; border-radius: var(--radius-card) 0 0 var(--radius-card); box-shadow: var(--shadow-card); font-size: var(--text-sm); overflow: hidden; }-.app__bar { display: flex; align-items: center; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.app__mark { font-weight: 600; color: var(--color-ink); }-.app__tabs { display: flex; gap: var(--space-2xs); }-.app__tabs span { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-input); color: var(--color-muted); }-.app__tabs .is-on { background: var(--color-paper-3); color: var(--color-ink); }-.app__when { margin-left: auto; display: flex; gap: var(--space-md); color: var(--color-muted); }-.app__accounts { display: flex; align-items: center; gap: var(--space-lg); padding: 0 var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.acct { padding: var(--space-sm) 0; border-bottom: 2px solid transparent; color: var(--color-muted); }-.acct.is-on { border-bottom-color: var(--color-ink); color: var(--color-ink); }-.app__tally { margin-left: auto; display: flex; gap: var(--space-md); color: var(--color-ink-2); }+/* the product: last night's run as a page of the book */+.page { color: var(--color-ink-2); font-size: var(--text-sm); border-top: var(--rule-total) double var(--color-ink); }+.page[data-slot] { background: transparent; overflow: visible; }+.page__head { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; column-gap: var(--space-xl); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-ink); }+.page__title { font-size: var(--text-lg); font-weight: 600; color: var(--color-ink); }+.page__accts { display: flex; gap: var(--space-lg); color: var(--color-muted); }+.page__accts .is-on { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }+.page__when { justify-self: end; display: flex; gap: var(--space-xl); color: var(--color-muted); }+.page__tally { color: var(--color-ink-2); }+.page__tally b { margin-left: var(--space-xs); padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); font-weight: 500; color: var(--color-ink); }.run { width: 100%; border-collapse: collapse; }.run th, .run td { padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; font-weight: 400; white-space: nowrap; }-.run th:first-child, .run td:first-child { padding-left: var(--space-lg); }+.run th:first-child, .run td:first-child { padding-left: 0; }+.run th:last-child, .run td:last-child { padding-right: 0; }+.run tbody tr:hover > * { background: var(--color-paper-2); }.run thead th { font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }.run tbody th { font-weight: 500; color: var(--color-ink); }.run .d { font-size: var(--text-xs); color: var(--color-muted); }@@ -70,26 +70,23 @@ h1, h2, h3 { font-weight: 600; }.run th.num, .run td.num { text-align: right; }.run .is-flag td:last-child b { font-weight: 600; color: var(--color-ink); }.run tr.is-flag > * { border-top: var(--rule-hair) solid var(--color-ink); border-bottom: var(--rule-hair) solid var(--color-ink); }-.run tr.is-flag > :first-child { box-shadow: inset var(--rule-hair) 0 0 var(--color-ink); }-.tally-flag { padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); color: var(--color-ink); }.run tfoot th, .run tfoot td { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); border-bottom: var(--rule-total) double var(--color-ink); font-weight: 500; color: var(--color-ink); }.run tfoot .cr { color: var(--color-accent); }.run tfoot .dr { color: var(--color-accent-2); }@media (max-width: 60rem) {.hero { min-height: 0; padding-block: var(--space-2xl); }- .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .hero__visual { margin-right: 0; }- .app { border-right: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }- .app__when { display: none; }+ .hero__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }+ .hero__text, .hero__head .actions { grid-column: 1 / -1; justify-content: flex-start; }+ .page__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }+ .page__when { justify-self: start; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }}@media (max-width: 40rem) {.slab__links { display: none; }.slab__in { justify-content: space-between; }- .app__tabs span:not(.is-on) { display: none; }.run thead { display: none; }.run, .run tbody, .run tfoot { display: block; }- .run tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-md); row-gap: var(--space-3xs); padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }+ .run tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-md); row-gap: var(--space-3xs); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }.run th, .run td { padding: 0; border: 0; }.run .d, .run td:empty { display: none; }.run tbody th { grid-column: 1; grid-row: 1; }@@ -103,7 +100,6 @@ h1, h2, h3 { font-weight: 600; }.run tfoot tr { border-top: var(--rule-hair) solid var(--color-ink); border-bottom: var(--rule-total) double var(--color-ink); }.run tfoot th, .run tfoot td { border: 0; padding: 0; }.run tfoot td.num { grid-column: 2; text-align: right; }- .app__accounts { flex-wrap: wrap; }}/* the flag: a split, the claim beside its proof */@@ -117,19 +113,6 @@ h1, h2, h3 { font-weight: 600; }.well__title { font-weight: 600; color: var(--color-ink); }.well__state { color: var(--color-ink); }-/* a night as a day book: three stages on a band ruled in columns */-.night { margin-top: 0; padding-block: var(--section-gap-s); background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); }-.night__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }-.night__head h2 { grid-column: 1 / span 7; }-.night__head .lead { grid-column: 9 / span 4; padding-bottom: var(--space-2xs); }-.night__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }-.night__steps li { display: grid; align-content: start; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) var(--space-lg); min-height: 320px; }-.night__steps li:first-child { padding-left: 0; }-.night__steps li + li { border-left: var(--rule-hair) solid var(--color-rule); }-.night__n { font-size: var(--text-display); font-weight: 500; line-height: 0.9; letter-spacing: -0.03em; color: var(--color-ink); margin-bottom: var(--space-xl); }-.night__steps h3 { font-size: var(--text-title); }-.night__steps p { color: var(--color-ink-2); max-width: 30ch; }-/* the flag: both sides and the difference */.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.side { display: grid; gap: var(--space-2xs); padding: var(--space-xl) var(--space-lg) var(--space-lg); }@@ -159,16 +142,43 @@ h1, h2, h3 { font-weight: 600; }.t__row--total { border-bottom: var(--rule-total) double var(--color-ink); }.t__row--total .t__side { font-size: var(--text-2xl); font-weight: 600; letter-spacing: var(--tracking-display); }-/* the team: a figure in mono, set as the statement */-.team { padding-top: var(--section-gap-l); }-.team__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.team__fig { grid-column: 1 / span 8; margin: 0; padding-bottom: var(--space-lg); border-bottom: var(--rule-total) double var(--color-ink); font-family: var(--font-outlier); font-size: clamp(4.5rem, 12vw, 11rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; color: var(--color-ink); white-space: nowrap; }+/* the close: the figure in mono beside the walkthrough, on the one band */+.closeband { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); color: var(--color-ink); border-block: var(--rule-hair) solid var(--color-rule); }+.closeband__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.team__fig { grid-column: 1 / span 7; margin: 0; padding-bottom: var(--space-lg); border-bottom: var(--rule-total) double var(--color-ink); font-family: var(--font-outlier); font-size: clamp(4.5rem, 12vw, 11rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; color: var(--color-ink); white-space: nowrap; }.team__to { margin-inline: 0.18em; font-family: var(--font-body); font-size: 0.32em; font-weight: 500; letter-spacing: 0; color: var(--color-muted); vertical-align: 0.9em; }-.team__text { grid-column: 9 / span 4; display: grid; gap: var(--space-md); padding-bottom: var(--space-lg); }-.team__text h2 { font-size: var(--text-2xl); line-height: 1.1; }--/* the close: open flags as a statement of account, footing as it runs */-.close { padding-top: var(--section-gap); }+.closeband__text { grid-column: 9 / -1; display: grid; gap: var(--space-md); padding-bottom: var(--space-lg); }+.closeband__text h2 { font-size: var(--text-2xl); line-height: 1.1; }+.closeband .actions { margin-top: var(--space-sm); }++/* October: the month as a schedule of nights, the open flags footing beside it */+.month { padding-top: var(--section-gap-l); }+.month__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }+.month__head h2 { grid-column: 1 / span 6; }+.month__head .lead { grid-column: 8 / -1; padding-bottom: var(--space-2xs); }+.month__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.cal-wrap { grid-column: 1 / span 7; min-width: 0; }+.month .proof { grid-column: 8 / -1; }+.cal-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }+.cal { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: var(--rule-hair) solid var(--color-ink); border-bottom: var(--rule-total) double var(--color-ink); }+.cal th { padding: var(--space-sm) var(--space-sm); font-size: var(--text-xs); font-weight: 500; text-align: left; color: var(--color-muted); border-bottom: var(--rule-hair) solid var(--color-rule); }+.cal td { height: 84px; padding: var(--space-sm); vertical-align: top; border-bottom: var(--rule-hair) solid var(--color-rule); }+.cal td + td, .cal th + th { border-left: var(--rule-hair) solid var(--color-rule); }+.cal tr:last-child td { border-bottom: 0; }+.cal__d { display: block; font-size: var(--text-md); color: var(--color-muted); }+.cal__note { display: block; margin-top: var(--space-xs); font-size: var(--text-xs); font-weight: 500; line-height: 1.3; color: var(--color-ink); }+.cal__note .num { display: block; font-size: var(--text-sm); }+.cal td.is-out { background: var(--color-paper-3); }+.cal td.is-flag { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-ink); }+.cal td.is-flag .cal__d, .cal td.is-last .cal__d, .cal td.is-end .cal__d { color: var(--color-ink); }+.cal td.is-last { background: var(--color-paper-2); }+.cal td.is-next .cal__note { color: var(--color-muted); }+.cal td.is-end { box-shadow: inset 0 calc(-1 * var(--rule-total)) 0 var(--color-ink); }+.month .proof { align-self: stretch; }+.month .well { display: flex; flex-direction: column; height: 100%; }+.month .flags { flex: 1; }+.month .flags tfoot td.num { font-size: var(--text-lg); }+.month .flags th, .month .flags td { padding: var(--space-md); }.flags { width: 100%; border-collapse: collapse; }.flags th, .flags td { padding: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; font-weight: 400; }.flags thead th { padding-block: var(--space-sm); font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); }@@ -180,26 +190,9 @@ h1, h2, h3 { font-weight: 600; }.flags td.run-t { color: var(--color-muted); }.flags tfoot th, .flags tfoot td { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink); border-bottom: var(--rule-total) double var(--color-ink); font-weight: 500; color: var(--color-ink); }.flags tfoot td.num { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }-.close__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }-.close__head .lead { padding-bottom: var(--space-2xs); }--/* the walkthrough: the form as a slip */-.book-s { padding-top: var(--section-gap-l); }-.book-s__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); align-items: center; }-.book-s__text { display: grid; gap: var(--space-md); }-.book { display: grid; padding: var(--space-xl); gap: var(--space-lg); font-size: var(--text-md); }-.field { display: grid; gap: var(--space-xs); min-width: 0; }-.field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }-.input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-short) var(--ease-out); }-.input:hover { background: var(--color-paper-3); }-.input:focus-visible { outline-color: var(--color-focus); }-.input[aria-invalid] { border-color: var(--color-error); }-.input:disabled { opacity: 0.55; cursor: not-allowed; }-.book__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink); }-.book__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }/* footer: the mast over a double rule */-.foot { margin-top: var(--section-gap); padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }+.foot { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }.foot__mark { margin: 0; font-family: var(--font-display); font-size: clamp(4rem, 13vw, 12rem); font-weight: 600; line-height: 0.85; letter-spacing: -0.045em; color: var(--color-ink); }.foot__base { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xl); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-total) double var(--color-ink); }.foot__line { color: var(--color-ink-2); }@@ -209,13 +202,9 @@ h1, h2, h3 { font-weight: 600; }.foot__legal { font-size: var(--text-sm); color: var(--color-muted); }@media (max-width: 60rem) {- .row__grid--5-7, .close__head, .book-s__grid, .team__grid, .night__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .close__head, .night__head { row-gap: var(--space-md); }- .night__head h2, .night__head .lead, .team__fig, .team__text { grid-column: 1; }- .night__steps { grid-template-columns: minmax(0, 1fr); }- .night__steps li { min-height: 0; padding: var(--space-xl) 0; }- .night__steps li + li { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }- .night__n { font-size: var(--text-section); margin-bottom: var(--space-sm); }+ .row__grid--5-7, .month__head, .month__grid, .closeband__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .month__head { row-gap: var(--space-md); }+ .month__head h2, .month__head .lead, .cal-wrap, .month .proof, .team__fig, .closeband__text { grid-column: 1 / -1; }.team__fig { font-size: clamp(4rem, 22vw, 9rem); }.foot__links { margin-left: 0; }}@@ -237,21 +226,21 @@ h1, h2, h3 { font-weight: 600; }.flags tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-md); row-gap: var(--space-3xs); padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }.flags th, .flags td { padding: 0; border: 0; }.flags td.d { grid-column: 1; grid-row: 2; font-size: var(--text-xs); }- .flags tbody td:nth-child(3) { grid-column: 2; grid-row: 2; font-size: var(--text-xs); color: var(--color-muted); text-align: right; }.flags tbody th { grid-row: 1; grid-column: 1; }.flags td.num:not(.d):not(.run-t) { grid-row: 1; grid-column: 2; }.flags td.run-t { display: none; }.flags tfoot tr { border-top: var(--rule-hair) solid var(--color-ink); border-bottom: var(--rule-total) double var(--color-ink); }.flags tfoot td:empty { display: none; }.flags tfoot th, .flags tfoot td { border: 0; padding: 0; }- .book { padding: var(--space-lg); }-}-@media (min-width: 90.0625rem) {- .app { border-right: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }+ .cal td { height: 64px; padding: var(--space-xs); }+ .cal th { padding-inline: var(--space-xs); }+ .cal__note { font-size: 0.6875rem; }+ .cal__note .num { font-size: 0.625rem; letter-spacing: -0.02em; }+ .month .flags th, .month .flags td { padding: 0; }+ .month .flags tr { padding-block: var(--space-md); }}@media (min-width: 40.0625rem) and (max-width: 87.5rem) {.run .d { display: none; }.run th, .run td { padding-inline: var(--space-sm); }- .run th:first-child, .run td:first-child { padding-left: var(--space-md); }- .run tr.is-flag > th { box-shadow: inset var(--rule-hair) 0 0 var(--color-ink); }+ .run th:first-child, .run td:first-child { padding-left: 0; }}diff --git a/site/themes/lumen/index.html b/site/themes/lumen/index.htmlindex 18adde2..8108933 100644--- a/site/themes/lumen/index.html+++ b/site/themes/lumen/index.html@@ -19,9 +19,9 @@<div class="bar__pill"><a class="bar__mark" href="#top">quarry</a><nav class="bar__links" aria-label="Sections">- <a href="#path">the path</a>+ <a href="#warm">the console</a><a href="#rate">the rate</a>- <a href="#request">a request</a>+ <a href="#key">a request</a></nav><a class="btn btn--primary btn--sm" href="#key">get an api key</a></div>@@ -29,16 +29,47 @@<main id="main"><section class="hero" id="top" aria-labelledby="hero-title">- <div class="container hero__grid">- <div class="hero__text">+ <div class="container hero__in">+ <figure class="diagram well blueprint hero__field" aria-label="Diagram of a request on two paths: scaled to zero, and reserved on Quarry">+ <div class="track track--slow">+ <p class="track__name">scaled to zero</p>+ <ol class="track__nodes">+ <li>request</li>+ <li>find a free gpu</li>+ <li>load the weights</li>+ <li>warm up</li>+ <li class="track__end">first token</li>+ </ol>+ </div>+ <div class="track track--fast">+ <p class="track__name">quarry, reserved</p>+ <ol class="track__nodes">+ <li>request</li>+ <li class="track__skip" aria-label="no wait: the model is already loaded on your gpus"><span>already loaded on your gpus</span></li>+ <li class="track__end">first token</li>+ </ol>+ </div>+ <figcaption><span>scaled to zero against reserved:</span> each box is a step the request waits on. The reserved path has two.</figcaption>+ </figure>+ <div class="hero__foot"><h1 id="hero-title">the model <span class="nb"><span class="verb">waits</span>,</span> not you.</h1>- <p class="lead">Open models on reserved GPUs, at one fixed price per million tokens.</p>- <div class="actions">- <a class="btn btn--primary" href="#key">get an api key</a>- <a class="btn btn--secondary" href="#request">read a request</a>+ <div class="hero__side">+ <p class="lead">Open models on reserved GPUs, at one fixed price per million tokens.</p>+ <div class="actions">+ <a class="btn btn--primary" href="#key">get an api key</a>+ <a class="btn btn--secondary" href="#warm">see the console</a>+ </div></div></div>+ </div>+ </section>+ <section class="warm" id="warm" aria-labelledby="warm-title">+ <div class="container warm__grid">+ <div class="warm__text">+ <h2 id="warm-title">already warm, every call.</h2>+ <p class="lead">Each deployment keeps its model loaded on its own reserved GPUs, so the first request answers like the hundredth.</p>+ </div><div class="console" data-slot="console" data-kind="product" data-alt="The Quarry console: one deployment, its model, its reserved GPUs and its live requests"><div class="console__bar"><span class="readout">example-project / deployments</span>@@ -81,79 +112,44 @@</div></section>- <section class="path" id="path" aria-labelledby="path-title">+ <section class="rate" id="rate" aria-labelledby="rate-title"><div class="container"><div class="head">- <h2 id="path-title">two paths to a first token</h2>- <p class="lead">A model scaled to zero loads before it answers. A reserved one is already loaded.</p>+ <h2 id="rate-title">the rate holds at 3 a.m.</h2>+ <p class="lead">Traffic moves. The price per million tokens doesn’t.</p></div>- <figure class="diagram well blueprint" aria-label="Diagram of a request on two paths: scaled to zero, and reserved on Quarry">- <div class="track track--slow">- <p class="track__name">scaled to zero</p>- <ol class="track__nodes">- <li>request</li>- <li>find a free gpu</li>- <li>load the weights</li>- <li>warm up</li>- <li class="track__end">first token</li>- </ol>+ <div class="bento">+ <figure class="tile tile--chart well blueprint" aria-label="Chart of a sample day: traffic rises and falls under a flat price line">+ <div class="chart__plot" data-day></div>+ <div class="chart__axis readout" aria-hidden="true"><span>00:00</span><span>06:00</span><span>12:00</span><span>18:00</span><span>24:00</span></div>+ <figcaption><span class="legend"><span class="key key--load"></span>a sample day of traffic</span><span class="legend"><span class="key key--rate"></span>your price per million tokens</span></figcaption>+ </figure>+ <div class="tile tile--fig well">+ <p class="tile__label readout">cold start</p>+ <p class="tile__fig">0<span class="tile__unit">s</span></p>+ <p class="tile__line">The weights stay loaded between calls, so no request waits for a GPU.</p></div>- <div class="track track--fast">- <p class="track__name">quarry, reserved</p>- <ol class="track__nodes">- <li>request</li>- <li class="track__skip" aria-label="no wait: the model is already loaded on your gpus"><span>already loaded on your gpus</span></li>- <li class="track__end">first token</li>- </ol>- </div>- <figcaption>Each box is a step the request waits on. The reserved path has two.</figcaption>- </figure>- </div>- </section>-- <section class="aisle" aria-labelledby="aisle-title">- <div class="container">- <div class="head">- <h2 id="aisle-title">reserved, never shared.</h2>- <p class="lead">The GPUs hold your model and nobody else’s, so it stays loaded between calls.</p>- </div>- <figure class="aisle__fig">- <div class="aisle__photo" data-slot="aisle" data-alt="The racks where Quarry's reserved GPUs run">- <img src="photos/virginia-tech-data-center-1920.jpg" width="1920" height="1440" loading="lazy" decoding="async" style="object-position: 50% 62%"- alt="A long aisle between black server racks under a white ceiling in a data centre">+ <div class="tile tile--fig well">+ <p class="tile__label readout">price per million tokens</p>+ <p class="tile__fig">fixed</p>+ <p class="tile__line">One figure for every token, whatever the traffic did.</p></div>- <figcaption>Server racks in a data centre aisle, the kind of hardware a reservation holds for you.</figcaption>- </figure>- </div>- </section>-- <section class="rate" id="rate" aria-labelledby="rate-title">- <div class="container rate__grid">- <div class="rate__text">- <h2 id="rate-title">the rate holds at 3 a.m.</h2>- <p class="lead">One price per million tokens. Traffic moves; the price doesn’t.</p>- <table class="card">- <caption class="visually-hidden">What moves and what holds</caption>- <tbody>- <tr><th scope="row">requests a minute</th><td>move with your users</td></tr>- <tr><th scope="row">price per million tokens</th><td class="is-brass">holds</td></tr>- <tr><th scope="row">cold starts</th><td>none</td></tr>- </tbody>- </table>+ <figure class="tile tile--photo">+ <div class="aisle__photo" data-slot="aisle" data-alt="The racks where Quarry's reserved GPUs run">+ <img src="photos/virginia-tech-data-center-1920.jpg" width="1920" height="1440" loading="lazy" decoding="async" style="object-position: 50% 58%"+ alt="A long aisle between black server racks under a white ceiling in a data centre">+ </div>+ <figcaption>Reserved, never shared: the GPUs hold your model and nobody else’s.</figcaption>+ </figure></div>- <figure class="chart well blueprint" aria-label="Chart of a sample day: traffic rises and falls under a flat price line">- <div class="chart__plot" data-day></div>- <div class="chart__axis readout" aria-hidden="true"><span>00:00</span><span>06:00</span><span>12:00</span><span>18:00</span><span>24:00</span></div>- <figcaption><span class="legend"><span class="key key--load"></span>a sample day of traffic</span><span class="legend"><span class="key key--rate"></span>your price per million tokens</span></figcaption>- </figure></div></section>- <section class="request" id="request" aria-labelledby="req-title">+ <section class="request" id="key" aria-labelledby="req-title"><div class="container"><div class="head"><h2 id="req-title">one request, plain https.</h2>- <p class="lead">To your own deployment, already warm. No client library to install.</p>+ <p class="lead">To your own warm deployment. No client library to install.</p></div><div class="code well"><div class="code__tabs" role="tablist" aria-label="Language">@@ -190,23 +186,10 @@ console.log((<i>await</i> r.json()).output);</code></pre></div></div></div>- </div>- </section>-- <section class="getkey blueprint" id="key" aria-labelledby="key-title">- <div class="container getkey__grid">- <div class="getkey__head">- <h2 id="key-title">start with one key.</h2>- <p class="lead">Leave a work address and the key comes back to it.</p>+ <div class="request__go">+ <a class="btn btn--primary" href="#key" data-needs-url="signup">get an api key</a>+ <a class="btn btn--secondary" href="#top">back to the path</a></div>- <form class="getkey__form" data-endpoint="" novalidate>- <label for="email">work email</label>- <div class="getkey__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" placeholder="[email protected]" required aria-required="true" aria-describedby="key-help">- <button class="btn btn--primary" type="submit">get an api key</button>- </div>- <p class="help" id="key-help" aria-live="polite"></p>- </form></div></section></main>@@ -215,7 +198,7 @@ console.log((<i>await</i> r.json()).output);</code></pre><div class="container foot__in"><p class="foot__mark">quarry</p><p class="foot__line">An inference API for open models on reserved GPUs, at a fixed price per million tokens.</p>- <nav aria-label="Footer"><a href="#path">the path</a><a href="#rate">the rate</a><a href="#request">a request</a><a href="#key">get an api key</a></nav>+ <nav aria-label="Footer"><a href="#top">the path</a><a href="#warm">the console</a><a href="#rate">the rate</a><a href="#key">a request</a></nav><p class="foot__legal">© 2026 quarry</p><p class="foot__credits" data-credits>Photograph: <a href="https://commons.wikimedia.org/wiki/File:Virginia_Tech_-_data_center.jpg">Christopher Bowns</a> (CC BY-SA 2.0), via Wikimedia Commons.</p></div>diff --git a/site/themes/lumen/page.js b/site/themes/lumen/page.jsindex 0ea57bc..a4ae3d9 100644--- a/site/themes/lumen/page.js+++ b/site/themes/lumen/page.js@@ -1,4 +1,4 @@-// quarry: the answer streams in once, a sample day of traffic under one flat price line, code tabs and copy, the key form.+// quarry: the answer streams in once, a sample day of traffic under one flat price line, code tabs and copy.(() => {const still = matchMedia('(prefers-reduced-motion: reduce)').matches;@@ -47,22 +47,4 @@try { await navigator.clipboard.writeText(pre.textContent); copy.classList.add('is-done'); copy.setAttribute('aria-label', 'Copied'); setTimeout(() => { copy.classList.remove('is-done'); copy.setAttribute('aria-label', 'Copy the request'); }, 1400); } catch (e) {}});- // the key form: honest until it is wired- document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const help = form.querySelector('[aria-live]');- const input = form.querySelector('input[type="email"]');- form.addEventListener('submit', (e) => {- e.preventDefault();- const ok = input.checkValidity();- input.setAttribute('aria-invalid', String(!ok));- if (!ok) { help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }- const btn = form.querySelector('[type="submit"]');- btn.setAttribute('aria-busy', 'true');- fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'Request received for ' + input.value + '.' : 'That did not go through. Try again in a minute.'; })- .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; })- .finally(() => btn.removeAttribute('aria-busy'));- });- });})();diff --git a/site/themes/lumen/style.css b/site/themes/lumen/style.cssindex fceba7a..f9c55a8 100644--- a/site/themes/lumen/style.css+++ b/site/themes/lumen/style.css@@ -1,9 +1,9 @@-/* Hallmark · shape: Map / Diagram (a request drawn on two paths organises the page; the console, the racks, the rate and the request prove each node) · genre: atmospheric · theme: Lumen (by request, v2.8 pass) · lumen: night- * hero: Settled, the head left and the console built on seven tracks · sections: path diagram, showcase, split with a rate card and a chart, the request well, form band · nav: floating pill, lowercase · footer: colophon block · imagery: the product built in the hero, request and chart; one library photograph, duotone · signature: the one rose verb beside a console reading cold start 0 s in brass+/* Hallmark · job: sign up · shape: Map / Diagram (the two paths are the hero; the console, the rate and the request prove each node) · genre: atmospheric · theme: Lumen (by request, v2.8 pass) · lumen: night+ * hero: Ledge, the path diagram as the field above and the head resting at its foot · sections: hero Ledge, Split (the console on eight columns beside its line), Bento (the sample day chart leading, cold start 0 s, the fixed rate, the racks), the request well as the close with get an api key · nav: floating pill, lowercase · footer: colophon block · imagery: the product built in the console, request and chart; one library photograph, duotone · samples: deployment names, model id, token counts and times are placeholders of the product's shape · signature: the one rose verb over the two paths* axes: dark/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.8.0 *//* Hallmark · waive 38iii · one verb, waits, in the hero head only, in the rose accent · the theme's declared material *//* Hallmark · dismissed F7 · pills mark controls and tags (nav links, tabs, the warm state, the skip link), the theme's control shape; wells take the card radius */-/* Hallmark · waive 47c · the blueprint grid inside the path well, the chart well and the key band · the theme's declared texture */+/* Hallmark · waive 47c · the blueprint grid inside the hero's path well and the chart tile · the theme's declared texture */@import url("tokens.css");@import url("base.css");@@ -47,14 +47,19 @@ h2 { font-size: var(--text-display-s); line-height: 0.98; }.bar__links a:hover { background: var(--color-paper-3); color: var(--color-ink); }.bar .btn--sm { min-height: 46px; }-/* hero */-.hero { display: grid; align-items: center; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-xl) var(--space-2xl); box-sizing: border-box; }-.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-2xl); align-items: center; }-.hero h1 { max-width: 8ch; font-size: clamp(4rem, 6.4vw + 0.5rem, 8rem); line-height: 0.92; }-.hero .lead { margin-top: var(--space-lg); max-width: 30ch; font-size: var(--text-lead); }+/* hero: a ledge, the two paths drawn as the field above, the head resting at its foot */+.hero { min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-md) var(--space-2xl); box-sizing: border-box; display: grid; }+.hero__in { display: flex; flex-direction: column; gap: var(--space-2xl); }+.hero__field { flex: 1; display: grid; align-content: center; min-height: 360px; max-height: 560px; }+.hero__in { justify-content: space-between; }+.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.hero h1 { grid-column: 1 / span 8; max-width: none; font-size: clamp(3.5rem, 7.2vw, 9.5rem); line-height: 0.9; }+.hero__side { grid-column: 9 / -1; padding-bottom: var(--space-xs); }+.hero .lead { max-width: 30ch; font-size: var(--text-lead); }+.hero .actions { margin-top: var(--space-lg); }/* the console, built */-.console { display: grid; grid-template-rows: auto 1fr; min-height: 560px; border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule), var(--shadow-card); overflow: hidden; }+.console { display: grid; grid-template-rows: auto 1fr; min-height: 560px; min-width: 0; border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule), var(--shadow-card); overflow: hidden; }.console__bar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }.console__bar .readout { color: var(--color-muted); }.console__live { display: inline-flex; align-items: center; gap: var(--space-xs); font: 400 0.8125rem/1 var(--font-outlier); color: var(--color-ink-2); }@@ -96,10 +101,9 @@ h2 { font-size: var(--text-display-s); line-height: 0.98; }.blueprint { background-image: linear-gradient(var(--rule-blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px); background-size: 48px 48px; }/* two paths to a first token */-.path { padding-top: var(--section-gap); }-.diagram { padding: var(--space-3xl) var(--space-2xl) var(--space-2xl); }+.diagram { padding: var(--space-2xl) var(--space-2xl) var(--space-lg); }.track { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); align-items: center; column-gap: var(--space-xl); }-.track + .track { margin-top: var(--space-3xl); }+.track + .track { margin-top: var(--space-2xl); }.track__name { font: 400 var(--text-title)/1.1 var(--font-display); color: var(--color-ink); text-transform: lowercase; }.track--slow .track__name { color: var(--color-muted); }.track__nodes { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }@@ -111,40 +115,46 @@ h2 { font-size: var(--text-display-s); line-height: 0.98; }.track--fast .track__nodes .track__skip { grid-column: 2 / span 3; background: transparent; box-shadow: none; }.track--fast .track__skip span { padding: 0 var(--space-md); background: var(--color-paper-2); color: var(--color-accent); }.track--fast .track__end { grid-column: 5; }-.diagram figcaption { margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }--/* the racks */-.aisle { padding-top: var(--section-gap-l); }-.aisle__fig { margin: 0; }-.aisle__photo { aspect-ratio: 21 / 9; border-radius: var(--radius-card); }-.aisle__fig figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }--/* the rate */-.rate { padding-top: var(--section-gap); }-.rate__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.rate__text { grid-column: 1 / span 5; }-.rate .lead { margin-top: var(--space-lg); max-width: 32ch; }-.card { width: 100%; margin-top: var(--space-2xl); border-collapse: collapse; }-.card th, .card td { padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); text-align: left; font-size: var(--text-md); }-.card tr:last-child th, .card tr:last-child td { border-bottom: var(--rule-hair) solid var(--color-rule); }-.card th { font-weight: 400; color: var(--color-muted); text-transform: lowercase; }-.card td { text-align: right; color: var(--color-ink); }-.card td.is-brass { color: var(--color-accent); }-.chart { grid-column: 7 / -1; padding: var(--space-xl); }-.chart__plot { position: relative; height: 320px; }+.diagram figcaption span { color: var(--color-ink-2); }+.diagram figcaption { margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }++/* already warm: the console beside its line */+.warm { padding-top: var(--section-gap); }+.warm__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }+.warm__text { grid-column: 1 / span 4; }+.warm .lead { margin-top: var(--space-lg); max-width: 30ch; }+.warm .console { grid-column: 5 / -1; }++/* the rate: a bento, the chart leading, two figures, the racks */+.rate { padding-top: var(--section-gap-l); }+.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(320px, auto); gap: var(--gap-columns); }+.tile { margin: 0; min-width: 0; }+.tile--chart { grid-column: span 8; display: grid; grid-template-rows: 1fr auto auto; padding: var(--space-xl); }+.tile--fig { grid-column: span 4; display: grid; grid-template-rows: auto 1fr auto; padding: var(--space-xl); }+.bento > :nth-child(3) { grid-column: 1 / span 4; }+.tile--photo { grid-column: span 8; display: grid; grid-template-rows: 1fr auto; }+.tile__label { color: var(--color-muted); }+.tile__fig { align-self: center; font: 400 clamp(5rem, 9vw, 9rem)/0.9 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }+.tile__unit { margin-left: 0.25em; font: 400 1.5rem/1 var(--font-outlier); color: var(--color-accent); vertical-align: baseline; }+.tile__line { max-width: 32ch; color: var(--color-ink-2); }+.aisle__photo { min-height: 280px; height: 100%; border-radius: var(--radius-card); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }+.tile--photo figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }+.chart__plot { position: relative; min-height: 220px; }.chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }.chart__area { fill: color-mix(in oklab, var(--color-ink-2) 9%, transparent); }.chart__load { fill: none; stroke: color-mix(in oklab, var(--color-ink-2) 55%, transparent); stroke-width: 1.5; }.chart__rate { stroke: var(--color-accent); stroke-width: 2; }.chart__axis { display: flex; justify-content: space-between; margin-top: var(--space-sm); font-size: 0.75rem; color: var(--color-muted); }-.chart figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }+.tile--chart figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }.legend { display: inline-flex; align-items: center; gap: var(--space-sm); }.key { display: inline-block; width: 18px; height: 2px; }.key--load { background: color-mix(in oklab, var(--color-ink-2) 55%, transparent); }.key--rate { background: var(--color-accent); }/* the request */-.request { padding-top: var(--section-gap-l); }+.request { padding-block: var(--section-gap-l) var(--section-gap); }+.request__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-xl); }+.request__go .readout { color: var(--color-muted); }.code { overflow: hidden; }.code__tabs { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }.code__tabs [role="tab"] { appearance: none; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font: 400 var(--text-sm)/1 var(--font-outlier); cursor: pointer; }@@ -165,25 +175,8 @@ h2 { font-size: var(--text-display-s); line-height: 0.98; }.code__status dt { margin-bottom: var(--space-xs); color: var(--color-muted); }.code__status dd { margin: 0; color: var(--color-ink); }-/* the key band */-.getkey { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); background-color: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }-.getkey__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.getkey__head { grid-column: 1 / span 6; }-.getkey__head h2 { font-size: var(--text-display); line-height: 0.92; }-.getkey .lead { margin-top: var(--space-lg); max-width: 30ch; }-.getkey__form { grid-column: 8 / -1; }-.getkey__form label { display: block; margin-bottom: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); text-transform: lowercase; }-.getkey__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-sm); }-.getkey__row input { min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); transition: border-color var(--dur-short) var(--ease-out); }-.getkey__row input::placeholder { color: var(--color-muted); }-.getkey__row input:hover { border-color: var(--color-ink-2); }-.getkey__row input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }-.getkey__row input[aria-invalid="true"] { border-color: var(--color-error); }-.getkey__row .btn { min-height: 52px; }-.help { min-height: 1.5em; margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }-/* footer: a colophon block */-.foot { padding-block: var(--space-3xl) var(--space-2xl); }+.foot { padding-block: var(--space-3xl) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }.foot__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: baseline; }.foot__mark { grid-column: 1 / span 3; font: 400 3rem/1 var(--font-display); color: var(--color-ink); }.foot__line { grid-column: 4 / span 5; max-width: 44ch; color: var(--color-ink-2); }@@ -198,11 +191,17 @@ h2 { font-size: var(--text-display-s); line-height: 0.98; }@media (max-width: 60rem) {.bar__links { display: none; }.bar__pill { gap: var(--space-lg); }- .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }+ .hero { min-height: 0; }+ .hero__foot, .warm__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }+ .hero h1, .hero__side, .warm__text, .warm .console { grid-column: 1 / -1; }+ .hero__field { order: 2; min-height: 0; max-height: none; }.console { min-height: 0; }- .head h2, .head .lead, .rate__text, .chart, .getkey__head, .getkey__form { grid-column: 1 / -1; }+ .head h2, .head .lead { grid-column: 1 / -1; }.head .lead { margin-top: var(--space-md); padding-bottom: 0; }- .rate__grid, .getkey__grid { row-gap: var(--space-2xl); }+ .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }+ .bento > *, .bento > :nth-child(3) { grid-column: 1 / -1; }+ .tile--fig { row-gap: var(--space-lg); }+ .aisle__photo { aspect-ratio: 16 / 9; min-height: 0; }.diagram { padding: var(--space-xl) var(--space-lg); }.track { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }.track__nodes { column-gap: var(--space-sm); }@@ -221,9 +220,8 @@ h2 { font-size: var(--text-display-s); line-height: 0.98; }.track__nodes, .track--fast .track__nodes { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }.track__nodes::before { left: 50%; right: auto; top: 0; bottom: 0; width: var(--rule-hair); height: auto; }.track--fast .track__nodes::before { width: 2px; height: auto; margin-top: 0; }- .track--fast .track__skip, .track--fast .track__end { grid-column: 1; }+ .track--fast .track__nodes .track__skip, .track--fast .track__nodes .track__end { grid-column: 1; }.track--fast .track__nodes .track__skip { min-height: 72px; }- .getkey__row { grid-template-columns: minmax(0, 1fr); }.code pre { padding: var(--space-lg); font-size: 0.8125rem; }}@media (prefers-reduced-motion: reduce) { .verb::after { animation: none; } }diff --git a/site/themes/manifesto/index.html b/site/themes/manifesto/index.htmlindex 3b474e5..b7a6453 100644--- a/site/themes/manifesto/index.html+++ b/site/themes/manifesto/index.html@@ -18,7 +18,8 @@<a class="wordmark" href="#top" aria-label="Right to Repair Coalition, back to the top">Right to Repair Coalition</a><nav class="slab__nav" aria-label="Sections"><a class="slab__link" href="#demands">The demands</a>- <a class="btn btn--primary btn--sm" href="#sign">Add your name</a>+ <a class="slab__link" href="#vote">The vote</a>+ <a class="btn btn--primary btn--sm" href="#sign" data-focus="p-name">Add your name</a></nav></div></header>@@ -26,14 +27,23 @@<main id="main"><section class="hero" id="top" aria-labelledby="hero-head"><div class="container hero__in">- <h1 class="display hero__head" id="hero-head"><span class="reveal" style="--i: 0">Sell the parts.</span><span class="reveal" style="--i: 1">Publish the</span><span class="reveal" style="--i: 2"><span class="hot">manuals</span>.</span></h1>- <div class="hero__foot">- <p class="lead">Five demands to every electronics maker, carried by petition to a vote.</p>- <div class="actions">- <a class="btn btn--primary" href="#sign">Add your name</a>- <a class="btn btn--secondary" href="#demands">Read the demands</a>+ <h1 class="display hero__head" id="hero-head"><span class="reveal" style="--i: 0">Sell the parts.</span><span class="reveal" style="--i: 1">Publish the <span class="hot">manuals</span>.</span></h1>+ <form class="pledge" id="sign" data-endpoint="" novalidate>+ <h2 class="visually-hidden">Sign the petition</h2>+ <p class="pledge__line">+ <span aria-hidden="true">I,</span>+ <label class="visually-hidden" for="p-name">Your name</label>+ <input class="pledge__name" id="p-name" name="name" type="text" autocomplete="name" required placeholder="your name"><span aria-hidden="true">, back the five demands.</span>+ </p>+ <div class="pledge__field">+ <label for="p-email">Email address</label>+ <div class="pledge__row">+ <input class="pledge__email" id="p-email" name="email" type="email" inputmode="email" autocomplete="email" required>+ <button class="btn btn--sign" type="submit">Add my name</button>+ </div>+ <p class="pledge__help" id="pledge-help" aria-live="polite">The petition goes to a vote on 12 March.</p></div>- </div>+ </form></div></section>@@ -55,16 +65,8 @@<p class="record__line">The instructions that show how to open them and fix them.</p></li><li class="record__row record__row--open">- <span class="record__no" aria-hidden="true">3</span>- <p class="record__line"><span class="fill" data-fill="demand-3">Demand three, in the coalition’s words</span></p>- </li>- <li class="record__row record__row--open">- <span class="record__no" aria-hidden="true">4</span>- <p class="record__line"><span class="fill" data-fill="demand-4">Demand four, in the coalition’s words</span></p>- </li>- <li class="record__row record__row--open">- <span class="record__no" aria-hidden="true">5</span>- <p class="record__line"><span class="fill" data-fill="demand-5">Demand five, in the coalition’s words</span></p>+ <span class="record__no" aria-hidden="true">3 to 5</span>+ <p class="record__line"><span class="fill" data-fill="demands-3-5">Demands three, four and five, in the coalition’s words</span></p></li></ol></div>@@ -87,38 +89,18 @@</figure></section>- <section class="vote" aria-labelledby="vote-head">+ <section class="vote" id="vote" aria-labelledby="vote-head"><div class="container">- <div class="vote__head">- <h2 class="display vote__date" id="vote-head"><span>12 March</span></h2>- <p class="lead">The petition goes to the vote. Three steps put your name in it.</p>- </div>- <ol class="steps">- <li><span class="steps__no" aria-hidden="true">1</span><h3>Sign</h3><p>Write your name and email in the pledge below.</p></li>- <li><span class="steps__no" aria-hidden="true">2</span><h3>Count</h3><p>Each sign-up adds one name to the petition.</p></li>- <li><span class="steps__no" aria-hidden="true">3</span><h3>Vote</h3><p>The petition, with every name on it, is put to the vote.</p></li>+ <h2 class="display vote__date" id="vote-head"><span>12 March</span></h2>+ <ol class="timeline">+ <li class="is-now"><p class="timeline__when">Until then</p><p class="timeline__what">Every name goes on the petition.</p></li>+ <li><p class="timeline__when">12 March</p><p class="timeline__what">The petition is put to the vote.</p></li></ol>- </div>- </section>-- <section class="sign" id="sign" aria-labelledby="sign-head">- <div class="container">- <h2 class="visually-hidden" id="sign-head">Sign the petition</h2>- <form class="pledge" data-endpoint="" novalidate>- <p class="pledge__line">- <span aria-hidden="true">I,</span>- <label class="visually-hidden" for="p-name">Your name</label>- <input class="pledge__name" id="p-name" name="name" type="text" autocomplete="name" required placeholder="your name"><span aria-hidden="true">, back these demands.</span>- </p>- <div class="pledge__field">- <label for="p-email">Email address</label>- <div class="pledge__row">- <input class="pledge__email" id="p-email" name="email" type="email" inputmode="email" autocomplete="email" required>- <button class="btn btn--sign" type="submit">Add my name</button>- </div>- <p class="pledge__help" id="pledge-help" aria-live="polite"></p>- </div>- </form>+ <div class="vote__acts">+ <a class="btn btn--primary" href="#sign" data-focus="p-name">Add your name</a>+ <button class="btn btn--secondary" type="button" data-copy>Copy the link to pass it on</button>+ </div>+ <p class="vote__help" aria-live="polite"></p></div></section></main>@@ -129,6 +111,7 @@<div class="mast__row"><nav class="mast__links" aria-label="Footer"><a href="#demands">The demands</a>+ <a href="#vote">The vote, 12 March</a><a href="#sign">Add your name</a></nav><small>© 2026 Right to Repair Coalition</small>@@ -138,6 +121,12 @@</footer><script>+document.querySelectorAll('[data-focus]').forEach((a) => a.addEventListener('click', () => { const t = document.getElementById(a.dataset.focus); if (t) setTimeout(() => t.focus({ preventScroll: true }), 300); }));+document.querySelectorAll('[data-copy]').forEach((b) => b.addEventListener('click', async () => {+ const out = b.closest('.container').querySelector('.vote__help');+ try { await navigator.clipboard.writeText(location.href.split('#')[0]); out.textContent = 'The link is copied. Send it to someone with a broken phone.'; }+ catch { out.textContent = 'Copy this address: ' + location.href.split('#')[0]; }+}));document.querySelectorAll('form[data-endpoint]').forEach((form) => {const help = form.querySelector('[aria-live]');form.addEventListener('submit', (e) => {diff --git a/site/themes/manifesto/style.css b/site/themes/manifesto/style.cssindex f1f7138..16a831e 100644--- a/site/themes/manifesto/style.css+++ b/site/themes/manifesto/style.css@@ -1,5 +1,6 @@-/* Hallmark · shape: Manifesto · genre: editorial · theme: Manifesto (by request)- * hero: Ledge, no picture, the two named demands in Anton at poster size resting on the foot of the screen, MANUALS in red · sections: rows (the record of five demands), statement (the stacked creed), showcase (one board full-bleed), poster line (the vote date) over steps, red band with the pledge form · nav: slab, a paper-2 bar on a 4px ink rule with one red block · footer: mast, the coalition's name across the width · imagery: one library photograph, duotone paper ink+/* Hallmark · job: join (a campaign: sign the petition) · shape: Manifesto · genre: editorial · theme: Manifesto (by request)+ * hero: Ledge, no picture, the two named demands in Anton at poster size resting on the red pledge plate, the signature itself (name blank in the sentence, email, Add my name) as the foot of the first screen, MANUALS in red · sections: rows (the record of the demands), statement (the stacked creed), showcase (one board full-bleed), poster line (the vote date) over a two-step timeline with the signature again and a working copy-the-link · nav: slab, a paper-2 bar on a 4px ink rule with one red block · footer: mast, the coalition's name across the width · imagery: one library photograph, duotone paper ink+ * job close: a petition is signed where it is asked, so the form moved into the hero; the page ends on the vote date, the hero's action again and a way to pass it on, not a second form* axes: dark/display-condensed/warm · posture: committed · contrast: pass · fold: pass · v2.8.0 *//* Hallmark · waive 38iii · one red word, MANUALS, inside the hero head and nowhere else · the Manifesto theme spends its red word once on the demand it names *//* Hallmark · waive 39b · the name blank stands taller because it sits inside the pledge line at display size; the email field and its button stay 52px · the visitor signs the declaration in its own display type */@@ -27,7 +28,7 @@ a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }.display { max-width: none; line-height: var(--lh-tight); }.display > span { display: block; white-space: nowrap; }.hot { display: inline; color: var(--color-accent-text); }-.hero__in, .creed .container, .vote__head, .mast .container { container-type: inline-size; }+.hero__in, .creed .container, .mast .container { container-type: inline-size; }/* Nav: a slab, a paper-2 bar on a heavy ink rule */.slab { background: var(--color-paper-2); border-bottom: var(--rule-bar) solid var(--color-ink); }@@ -49,12 +50,29 @@ a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }.btn--secondary { border-color: var(--color-ink-2); color: var(--color-ink); }.btn--secondary:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }-/* Hero: Ledge, the head resting on the foot of the screen */-.hero__in { display: grid; align-content: end; min-height: calc(100dvh - var(--nav-h) - var(--rule-bar)); padding-block: var(--space-3xl) var(--space-2xl); box-sizing: border-box; }-.hero__head { font-size: min(16.5cqi, var(--text-display)); }-.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }-.hero__foot .lead { grid-column: 1 / span 6; max-width: 36ch; }-.hero__foot .actions { grid-column: 8 / -1; justify-content: flex-end; }+/* Hero: Ledge, the head resting on the red pledge plate */+.hero__in { display: grid; align-content: end; min-height: calc(100dvh - var(--nav-h) - var(--rule-bar)); padding-block: var(--space-2xl) var(--space-xl); box-sizing: border-box; }+.hero__head { font-size: min(11.2cqi, var(--text-display)); }++/* The pledge: the page's one red surface, the signature in its display line */+.pledge { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-top: var(--space-xl); padding: var(--space-xl) var(--space-xl) var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); }+.pledge__line { grid-column: 1 / span 7; margin: 0; font: 400 clamp(2.25rem, 3.4vw + 0.5rem, 4rem)/1.04 var(--font-display); text-transform: uppercase; color: var(--color-accent-ink); }+.pledge__name { width: 5.2em; margin-left: 0.2em; padding: 0 0 var(--space-3xs); border: 0; border-bottom: 4px solid var(--color-accent-ink); border-radius: 0; background: transparent; color: var(--color-accent-ink); font: inherit; text-transform: none; outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--dur-short) var(--ease-out); }+.pledge__name::placeholder { color: color-mix(in oklch, var(--color-accent-ink) 72%, var(--color-accent)); text-transform: uppercase; }+.pledge__name:hover { border-bottom-color: var(--color-paper); }+.pledge__name:focus-visible { outline-color: var(--color-accent-ink); }+.pledge__field { grid-column: 8 / -1; }+.pledge__field label { display: block; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; }+.pledge__row { display: flex; gap: var(--space-xs); }+.pledge__email { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-accent-ink); border-radius: 0; background: transparent; color: var(--color-accent-ink); outline: 2px solid transparent; outline-offset: -4px; }+.pledge__email:hover { background: color-mix(in oklch, var(--color-paper) 12%, transparent); }+.pledge__email:focus-visible { outline-color: var(--color-accent-ink); }+.pledge input[aria-invalid] { border-color: var(--color-paper); }+.pledge input:disabled { opacity: 0.55; cursor: not-allowed; }+.btn--sign { background: var(--color-paper); color: var(--color-ink); }+.btn--sign:hover { background: var(--color-paper-3); }+.btn--sign:focus-visible { outline-color: var(--color-accent-ink); }+.pledge__help { min-height: 1lh; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-accent-ink); }/* Five demands: the record */.demands { padding-top: var(--section-gap); }@@ -63,11 +81,11 @@ a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }.demands__head .lead { grid-column: 9 / -1; }.record { margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); }.record__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.record__no { grid-column: 1 / span 1; font: 400 clamp(2.5rem, 3vw + 1rem, 4.25rem)/1 var(--font-display); color: var(--color-muted); }-.record__head { grid-column: 2 / span 6; font-size: clamp(2rem, 2vw + 1rem, 3.25rem); }+.record__no { grid-column: 1 / span 2; font: 400 clamp(2.5rem, 3vw + 1rem, 4.25rem)/1 var(--font-display); color: var(--color-muted); }+.record__head { grid-column: 3 / span 5; font-size: clamp(2rem, 2vw + 1rem, 3.25rem); }.record__line { grid-column: 8 / -1; font-size: var(--text-lead); color: var(--color-ink-2); }-.record__row--open .record__line { grid-column: 2 / -1; }-.record__row--open .record__no { color: var(--color-rule); }+.record__row--open .record__line { grid-column: 3 / -1; }+.record__row--open .record__no { color: var(--color-muted); white-space: nowrap; }.fill { padding: 0 0.2em; color: var(--color-muted); background: color-mix(in oklch, var(--color-muted) 14%, transparent); }/* The creed: three lines stacked at the size of the sheet */@@ -83,37 +101,18 @@ a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }.photo > img { outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }.board__photo { margin-top: var(--space-2xl); aspect-ratio: 21 / 8; }-/* The vote: the date as a poster line over three steps */+/* The vote: the date as a poster line over the two steps left */.vote { padding-top: var(--section-gap); }-.vote__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.vote__date { grid-column: 1 / span 8; font-size: min(17cqi, 14rem); }-.vote__head .lead { grid-column: 9 / -1; padding-bottom: var(--space-md); }-.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); }-.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-lg); align-content: start; padding: var(--space-xl) var(--space-xl) 0; border-left: var(--rule-hair) solid var(--color-rule); }-.steps li:first-child { padding-left: 0; border-left: 0; }-.steps__no { grid-row: span 2; font: 400 clamp(3rem, 3vw + 1.5rem, 5rem)/0.9 var(--font-display); color: var(--color-muted); }-.steps h3 { font-size: var(--text-2xl); }-.steps p { margin-top: var(--space-xs); max-width: 28ch; }--/* Sign: the page's one red surface; the pledge is its display line */-.sign { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-accent); color: var(--color-accent-ink); }-.pledge__line { margin: 0; font: 400 clamp(2.75rem, 5.4vw + 0.5rem, 6rem)/1.04 var(--font-display); text-transform: uppercase; color: var(--color-accent-ink); }-.pledge__name { width: 5.4em; margin-left: 0.2em; padding: 0 0 var(--space-3xs); border: 0; border-bottom: 4px solid var(--color-accent-ink); border-radius: 0; background: transparent; color: var(--color-accent-ink); font: inherit; text-transform: none; outline: 2px solid transparent; outline-offset: 2px; }-.pledge__name::placeholder { color: color-mix(in oklch, var(--color-accent-ink) 78%, var(--color-accent)); text-transform: uppercase; }-.pledge__name:hover { border-bottom-color: var(--color-paper); }-.pledge__name:focus-visible { outline-color: var(--color-accent-ink); }-.pledge__field { max-width: 40rem; margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: var(--rule-hair) solid color-mix(in oklch, var(--color-accent-ink) 45%, transparent); }-.pledge__field label { display: block; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; }-.pledge__row { display: flex; gap: var(--space-xs); }-.pledge__email { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-accent-ink); border-radius: 0; background: transparent; color: var(--color-accent-ink); outline: 2px solid transparent; outline-offset: -4px; }-.pledge__email:hover { background: color-mix(in oklch, var(--color-paper) 12%, transparent); }-.pledge__email:focus-visible { outline-color: var(--color-accent-ink); }-.pledge input[aria-invalid] { border-color: var(--color-paper); }-.pledge input:disabled { opacity: 0.55; cursor: not-allowed; }-.btn--sign { background: var(--color-paper); color: var(--color-ink); }-.btn--sign:hover { background: var(--color-paper-3); }-.btn--sign:focus-visible { outline-color: var(--color-accent-ink); }-.pledge__help { min-height: 1lh; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-accent-ink); }+.vote .container { container-type: inline-size; }+.vote__date { font-size: min(27cqi, 22rem); }+.timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--space-xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); }+.timeline li { display: grid; gap: var(--space-xs); padding: var(--space-lg) var(--space-xl) 0 0; }+.timeline li + li { padding-left: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }+.timeline__when { font: 400 var(--text-2xl)/1 var(--font-display); text-transform: uppercase; color: var(--color-muted); }+.timeline .is-now .timeline__when { color: var(--color-accent-text); }+.timeline__what { font-size: var(--text-lead); color: var(--color-ink); }+.vote__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-sm); margin-top: var(--space-2xl); }+.vote__help { margin-top: var(--space-sm); min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }/* Footer: the mast, the coalition's name across the sheet */.mast { padding-block: var(--section-gap-s) var(--space-2xl); }@@ -135,14 +134,13 @@ a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }:root { --nav-h: 64px; }.slab__link { display: none; }.hero__in { min-height: 0; padding-block: var(--space-3xl) var(--space-2xl); }- .hero__foot .lead, .hero__foot .actions, .demands__head h2, .demands__head .lead, .board__head h2, .board__head .lead, .vote__date, .vote__head .lead { grid-column: 1 / -1; }- .hero__foot .actions { justify-content: flex-start; margin-top: var(--space-lg); }- .demands__head .lead, .board__head .lead, .vote__head .lead { margin-top: var(--space-md); }- .vote__date { font-size: 22cqi; }- .record__head, .record__line { grid-column: 2 / -1; }+ .demands__head h2, .demands__head .lead, .board__head h2, .board__head .lead, .pledge__line, .pledge__field { grid-column: 1 / -1; }+ .pledge { padding: var(--space-lg); row-gap: var(--space-xl); }+ .demands__head .lead, .board__head .lead { margin-top: var(--space-md); }+ .record__head, .record__line, .record__row--open .record__line { grid-column: 3 / -1; }.record__line { margin-top: var(--space-xs); }- .steps { grid-template-columns: minmax(0, 1fr); }- .steps li { padding: var(--space-lg) 0; border-left: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }+ .timeline { grid-template-columns: minmax(0, 1fr); }+ .timeline li, .timeline li + li { padding: var(--space-lg) 0; border-left: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }.board__photo { aspect-ratio: 3 / 2; }}@media (max-width: 40rem) {diff --git a/site/themes/newsprint/index.html b/site/themes/newsprint/index.htmlindex b61ba0d..755d7be 100644--- a/site/themes/newsprint/index.html+++ b/site/themes/newsprint/index.html@@ -9,6 +9,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@700&family=Spectral:ital,wght@0,400;0,500;1,400&display=swap" rel="stylesheet"><link rel="stylesheet" href="style.css">+ <script>document.documentElement.classList.add('js');</script></head><body id="top"><a class="skip" href="#main">Skip to content</a>@@ -17,8 +18,9 @@<div class="container"><div class="folio__bar"><a class="wordmark" href="#top" aria-label="The Lantern, home">The Lantern</a>+ <p class="folio__dateline">Hebden Bridge, weekly, by email</p><nav class="folio__links" aria-label="Page">- <a href="#inside">In the email</a>+ <a href="#edition">The edition</a><a href="#who-pays">Who pays</a><a class="btn btn--primary btn--sm" href="#subscribe">Subscribe free</a></nav>@@ -29,50 +31,112 @@<main id="main"><section class="hero" aria-labelledby="hero-head">- <div class="container hero__grid">- <div class="hero__text">- <h1 id="hero-head">Hebden Bridge news, in one weekly email.</h1>- <p class="lead">Free to read, and paid for by the readers who choose to.</p>- <form class="signup" id="subscribe" data-endpoint="" novalidate>- <label for="s-email">Email address</label>- <div class="signup__row">+ <div class="container hero__sheet">+ <h1 id="hero-head">The week in Hebden Bridge.</h1>+ <hr class="rule--double hero__rule">+ <div class="hero__col">+ <p class="hero__deck">Local news in one email, free to read, paid for by readers.</p>+ <nav class="hero__inside" aria-label="Inside every edition">+ <p>Inside every edition</p>+ <ul>+ <li><a href="#edition" data-tab="t-plan">Planning</a></li>+ <li><a href="#edition" data-tab="t-council">The council</a></li>+ <li><a href="#edition" data-tab="t-on">What’s on</a></li>+ <li><a href="#edition" data-tab="t-letters">Letters</a></li>+ </ul>+ </nav>+ <div class="hero__box">+ <form class="signup signup--box" id="subscribe" data-endpoint="" novalidate>+ <h2 class="hero__ask">Get it every week.</h2>+ <label for="s-email">Your email address</label><input id="s-email" name="email" type="email" inputmode="email" autocomplete="email" required>- <button class="btn btn--primary" type="submit">Subscribe free</button>- </div>- <p class="signup__help" id="s-help" aria-live="polite"></p>- </form>+ <button class="btn btn--primary btn--block" type="submit">Subscribe free</button>+ <p class="signup__help" id="s-help" aria-live="polite"></p>+ </form>+ <p class="hero__terms">Join 4,800 readers. Free unless you choose otherwise.</p>+ </div></div><figure class="hero__lead"><div class="photo hero__photo" data-slot="lead" data-alt="Your own lead photograph of Hebden Bridge: the town in the valley, a street in the rain, the canal; black and white"><img src="photos/hebden-bridge-53190059068-1920.jpg" width="2407" height="3009"- alt="A narrowboat moored on the canal below a tall stone mill" style="object-position: 50% 62%" fetchpriority="high">+ alt="A narrowboat moored on the canal below a tall stone mill" style="object-position: 50% 58%" fetchpriority="high"></div>- <figcaption>The canal, by the mill.</figcaption>+ <figcaption>Hebden Bridge: a narrowboat on the canal, below the mill.</figcaption></figure></div></section>- <section class="inside" id="inside" aria-labelledby="inside-head">- <div class="container inside__grid">- <div class="inside__head">- <h2 id="inside-head">In every edition.</h2>- <p class="lead">The town’s week, in the order it matters.</p>+ <section class="edition" id="edition" aria-labelledby="edition-head">+ <div class="container">+ <div class="edition__head">+ <h2 id="edition-head">A sample edition.</h2>+ <p class="lead">Four parts, every week. Pick one.</p>+ </div>+ <div class="switch" data-switch>+ <div class="tabs" role="tablist" aria-label="Parts of the edition">+ <button role="tab" id="t-plan" aria-controls="p-plan" aria-selected="true">Planning</button>+ <button role="tab" id="t-council" aria-controls="p-council" aria-selected="false" tabindex="-1">The council</button>+ <button role="tab" id="t-on" aria-controls="p-on" aria-selected="false" tabindex="-1">What’s on</button>+ <button role="tab" id="t-letters" aria-controls="p-letters" aria-selected="false" tabindex="-1">Letters</button>+ </div>++ <section class="panel" role="tabpanel" id="p-plan" aria-labelledby="t-plan">+ <div class="panel__intro">+ <h3 class="panel__name">Planning</h3>+ <p>Each application, and where to comment.</p>+ </div>+ <ol class="items">+ <li class="items__lead"><h4>Flats on an old mill floor</h4><p>What is proposed, and how to have your say.</p></li>+ <li><h4>A rear extension on a terrace</h4><a href="#subscribe">Read the plans</a></li>+ <li><h4>A dormer in the conservation area</h4><a href="#subscribe">Read the plans</a></li>+ <li><h4>A tree to come down by the river</h4><a href="#subscribe">Read the plans</a></li>+ </ol>+ </section>++ <section class="panel" role="tabpanel" id="p-council" aria-labelledby="t-council">+ <div class="panel__intro">+ <h3 class="panel__name">The council</h3>+ <p>What was decided, and what comes up next.</p>+ </div>+ <ol class="items">+ <li class="items__lead"><h4>What the meeting decided</h4><p>Each vote in one line, and the minutes for the rest.</p></li>+ <li><h4>The next agenda, item by item</h4><a href="#subscribe">Read the agenda</a></li>+ <li><h4>A reader’s question, answered</h4><a href="#subscribe">Read the reply</a></li>+ </ol>+ </section>++ <section class="panel" role="tabpanel" id="p-on" aria-labelledby="t-on">+ <div class="panel__intro">+ <h3 class="panel__name">What’s on</h3>+ <p>The weekend’s listings, from the town hall to the pubs.</p>+ </div>+ <div class="days">+ <div><h4>Friday</h4><ul><li>A film night</li><li>Live music, in a pub</li></ul></div>+ <div><h4>Saturday</h4><ul><li>The market</li><li>A walk up from the station</li><li>A quiz</li></ul></div>+ <div><h4>Sunday</h4><ul><li>A talk at the library</li><li>A choir in a chapel</li></ul></div>+ </div>+ </section>++ <section class="panel" role="tabpanel" id="p-letters" aria-labelledby="t-letters">+ <div class="panel__intro">+ <h3 class="panel__name">Letters</h3>+ <p>Readers answer last week’s edition by replying to it.</p>+ </div>+ <ol class="items">+ <li class="items__lead"><h4>On the mill flats</h4><p>A neighbour of the mill on parking, light and the river.</p></li>+ <li><h4>On market day traffic</h4><a href="#subscribe">Read the letter</a></li>+ <li><h4>On the library’s hours</h4><a href="#subscribe">Read the letter</a></li>+ </ol>+ </section></div>- <ol class="rows">- <li><h3>Planning</h3><p>The week’s applications, and where to comment on them.</p></li>- <li><h3>The council</h3><p>What was decided, and what comes up next.</p></li>- <li><h3>What’s on</h3><p>The weekend’s listings, from the town hall to the pubs.</p></li>- <li><h3>Letters</h3><p>Readers answer last week’s edition, by replying to it.</p></li>- </ol></div></section><section class="street" aria-labelledby="street-head"><div class="container">- <hr class="rule--double"><div class="street__head">- <h2 id="street-head">The town, as it is.</h2>- <p class="lead">Rain, queues and planning notices: the paper follows the week on foot.</p>+ <h2 id="street-head">Reported on foot.</h2>+ <p class="lead">Rain, queues and notices on lampposts: the week as the town lives it.</p></div><figure class="street__wide"><div class="photo" data-slot="street" data-alt="Your own photograph of a Hebden Bridge street on an ordinary day, people from behind; black and white">@@ -93,7 +157,7 @@<div class="cols"><p class="dropcap">The Lantern goes to 4,800 inboxes in Hebden Bridge every week, and nobody pays to read it.</p><p>The cost of reporting the town is carried by the readers who choose to support it, at £5 a month.</p>- <p>Those who cannot, or would rather not, get exactly the same email on the same day.</p>+ <p>Those who do not pay get the same email, on the same day.</p></div><dl class="score"><div><dt>subscribers, every week</dt><dd>4,800</dd></div>@@ -107,20 +171,24 @@<section class="notice" id="support" aria-labelledby="notice-head"><div class="container notice__grid"><div class="notice__text">- <h2 id="notice-head">Keep The Lantern lit.</h2>- <p class="lead">Support the town’s weekly news, and keep it free for everyone else.</p>- </div>- <div class="notice__form">- <p class="notice__price"><span class="notice__fig">£5</span><span class="notice__per">a month</span></p>- <form class="signup signup--ink" data-endpoint="" data-done="We will email {email} to set up your 5 pounds a month." novalidate>- <label for="p-email">Email address</label>- <div class="signup__row">- <input id="p-email" name="email" type="email" inputmode="email" autocomplete="email" required>- <button class="btn btn--paper" type="submit">Support it</button>- </div>- <p class="signup__help" id="p-help" aria-live="polite"></p>- </form>+ <h2 id="notice-head">Read it free, or keep it lit.</h2>+ <p class="lead">Same email, same day, either way.</p></div>+ <form class="offer" data-endpoint="" novalidate>+ <fieldset class="offer__choice">+ <legend class="visually-hidden">How you take it</legend>+ <input type="radio" name="plan" id="o-free" value="free" checked data-label="Subscribe free" data-done="The next edition goes to {email}.">+ <label for="o-free"><span class="offer__fig">Free</span><span class="offer__line">The whole edition, every week.</span></label>+ <input type="radio" name="plan" id="o-support" value="support" data-label="Support it at £5 a month" data-done="We will email {email} to set up your 5 pounds a month.">+ <label for="o-support"><span class="offer__fig">£5 <small>a month</small></span><span class="offer__line">The same email, and the reporting paid for.</span></label>+ </fieldset>+ <label class="offer__label" for="p-email">Your email address</label>+ <div class="offer__row">+ <input id="p-email" name="email" type="email" inputmode="email" autocomplete="email" required>+ <button class="btn btn--paper" type="submit" data-offer-btn>Subscribe free</button>+ </div>+ <p class="signup__help" id="p-help" aria-live="polite"></p>+ </form></div></section></main>@@ -133,7 +201,7 @@<nav class="imprint__links" aria-label="Footer"><a href="#subscribe">Subscribe free</a><a href="#support">Support it</a>- <a href="#inside">In the email</a>+ <a href="#edition">The edition</a></nav></div><p class="imprint__credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Hebden_Bridge_-_53190059068.jpg">Tim Green</a> (CC BY 2.0), <a href="https://commons.wikimedia.org/wiki/File:English_queue_-_Flickr_-_gagilas.jpg">Petras Gagilas</a> (CC BY-SA 2.0), both via Wikimedia Commons. © 2026 The Lantern.</p>@@ -143,8 +211,36 @@<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });++/* the edition's parts: tabs move with the arrow keys; without script every part shows in order */+document.querySelectorAll('[data-switch]').forEach((sw) => {+ const tabs = [...sw.querySelectorAll('[role="tab"]')];+ const show = (t, focus) => {+ tabs.forEach((x) => { const on = x === t; x.setAttribute('aria-selected', on); x.tabIndex = on ? 0 : -1; document.getElementById(x.getAttribute('aria-controls')).hidden = !on; });+ if (focus) t.focus();+ };+ tabs.forEach((t, i) => {+ t.addEventListener('click', () => show(t));+ t.addEventListener('keydown', (e) => {+ const d = { ArrowRight: 1, ArrowLeft: -1 }[e.key];+ if (d) { e.preventDefault(); show(tabs[(i + d + tabs.length) % tabs.length], true); }+ if (e.key === 'Home') { e.preventDefault(); show(tabs[0], true); }+ if (e.key === 'End') { e.preventDefault(); show(tabs[tabs.length - 1], true); }+ });+ });+ show(tabs[0]);+ document.querySelectorAll('[data-tab]').forEach((a) => a.addEventListener('click', () => { const t = document.getElementById(a.dataset.tab); if (t) show(t); }));+});++/* the close: the button names the choice */+document.querySelectorAll('.offer').forEach((f) => {+ const btn = f.querySelector('[data-offer-btn]');+ f.querySelectorAll('input[name="plan"]').forEach((r) => r.addEventListener('change', () => { btn.textContent = r.dataset.label; f.dataset.done = r.dataset.done; }));+ f.dataset.done = f.querySelector('input[name="plan"]:checked').dataset.done;+});+document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const input = form.querySelector('input'), help = form.querySelector('[aria-live]');+ const input = form.querySelector('input[type="email"]'), help = form.querySelector('[aria-live]');form.addEventListener('submit', (e) => {e.preventDefault();const ok = input.checkValidity();diff --git a/site/themes/newsprint/style.css b/site/themes/newsprint/style.cssindex ac90cec..c2fec68 100644--- a/site/themes/newsprint/style.css+++ b/site/themes/newsprint/style.css@@ -1,7 +1,8 @@-/* Hallmark · shape: Broadsheet Front (custom: the headline beside the lead photograph, the edition's contents as ruled rows, the town in one wide picture, who pays set as a front page in three justified columns with its box score, the support notice reversed on the ink band) · genre: editorial · theme: Newsprint (by request)- * hero: Stage, the headline on five columns and the lead photograph on seven · nav: folio bar, the nameplate at the left and the edition's links with the subscribe control at the right, over the double rule · footer: imprint, the paper's one-line imprint, its links and the credits · imagery: photographs, library 2, mono+/* Hallmark · job: subscribe · shape: Broadsheet Front (custom: the headline across the page with the subscribe box beside the lead photograph, a sample edition behind ruled tabs, the town in one wide picture, who pays set as a front page in three justified columns with its box score, the close reversed on ink as free or supported with one field) · genre: editorial · theme: Newsprint (by request)+ * hero: Counter, the headline across twelve columns over the double rule, the subscribe box on four beside the lead photograph on eight · sections: Switcher (a sample edition, four parts), Showcase (one 21:9 street picture), Statement in three justified columns over Figures (the box score), Band with Offer and Form (free or 5 pounds a month, one field) · nav: folio bar, nameplate left, dateline centred, links and subscribe right, over a double rule · footer: imprint · imagery: photographs, library 2, mono+ * samples: the edition's items (planning, council, listings, letters) are shapes of a local weekly, not news; the page heads them "A sample edition"+ * job close: subscribe is the one job whose close may be an email field; here it is the offer, free or supported, so the field stays at the end* axes: light/slab-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.8.0 */-/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: S, the library holds one real Hebden Bridge frame, so it leads and the second picture is a street captioned only by what it shows; the off-subject valley and puddle frames were cut and their room given to the columns and the box score */@import url("./tokens.css");@import url("./base.css");@@ -36,39 +37,75 @@ a:hover { text-decoration-thickness: 2px; }.folio__links a:not(.btn):hover { text-decoration-color: var(--color-accent); }.wordmark:focus-visible, .folio__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }-/* Hero: the headline on five columns, the lead photograph on seven */-.hero { min-height: calc(100dvh - var(--nav-h)); display: grid; align-items: center; padding-block: var(--space-xl); }-.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); align-items: center; }-.hero__text { display: grid; gap: var(--space-lg); align-content: center; }-.hero h1 { max-width: 12ch; font-size: var(--text-display); line-height: 1.02; }-.hero .lead { max-width: 30ch; }-.hero__lead { margin: 0; }+.folio__dateline { flex: 1; text-align: center; font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); }++/* Hero: the headline across the page, the subscribe box on four columns beside the lead photograph on eight */+.hero { min-height: calc(100dvh - var(--nav-h)); display: grid; align-content: center; padding-block: var(--space-xl); }+.hero__sheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: stretch; }+.hero h1 { grid-column: 1 / -1; max-width: none; font-size: var(--text-display); line-height: 1; letter-spacing: -0.03em; }+.hero__rule { grid-column: 1 / -1; margin-top: var(--space-lg); margin-bottom: var(--space-xl); }+.hero__col { grid-column: 1 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); }+.hero__deck { font-size: var(--text-xl); line-height: 1.35; color: var(--color-ink-2); max-width: 30ch; }+.hero__inside p { font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); padding-bottom: var(--space-xs); }+.hero__inside ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-lg); }+.hero__inside li { border-top: var(--rule-hair) solid var(--color-rule); }+.hero__inside a { display: block; padding-block: var(--space-xs); font: 700 1.0625rem/1.4 var(--font-display); color: var(--color-ink); text-decoration: none; }+.hero__inside a:hover { color: var(--color-accent); }+.hero__box { display: grid; gap: var(--space-md); }+.hero__lead { grid-column: 5 / -1; margin: 0; }+.hero__photo { height: clamp(440px, calc(100dvh - var(--nav-h) - 270px), 640px); }+.hero__ask { font-size: var(--text-2xl); line-height: 1.1; max-width: none; }+.hero__terms { font: 400 var(--text-sm)/1.45 var(--font-body); color: var(--color-muted); max-width: 34ch; }.photo { position: relative; overflow: hidden; margin: 0; }.photo > img { border: var(--rule-hair) solid var(--color-rule); box-sizing: border-box; }-.hero__photo { height: min(68dvh, 620px); }figcaption { padding-top: var(--space-xs); font: 500 var(--text-sm)/1.4 var(--font-body); color: var(--color-muted); }-.signup { display: grid; gap: var(--space-xs); margin-top: var(--space-sm); }-.signup label { font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink-2); }-.signup__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }-.signup input { flex: 1 1 14rem; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; }-.signup input:focus-visible { outline-color: var(--color-focus); }-.signup input[aria-invalid] { border-color: var(--color-error); }-.signup input:disabled { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; }+.signup { display: grid; gap: var(--space-sm); }+.signup--box { padding: var(--space-lg) 0 var(--space-md); border-block: var(--rule-hair) solid var(--color-ink); }+.signup label, .offer__label { font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink-2); }+.signup input, .offer input[type="email"] { width: 100%; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); font: 400 var(--text-lead)/1 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; transition: background-color var(--dur-micro) var(--ease-out); }+.signup input:hover { background: var(--color-paper-3); }+.signup input:focus-visible, .offer input[type="email"]:focus-visible { outline-color: var(--color-focus); background: var(--color-paper); }+.signup input[aria-invalid], .offer input[aria-invalid] { border-color: var(--color-error); }+.btn--block { width: 100%; min-height: 52px; font-size: 1.0625rem; }.signup__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }-/* In every edition: the head beside four ruled rows */-.inside { padding-block: var(--section-gap) 0; }-.inside__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }-.inside__head { grid-column: 1 / span 4; display: grid; gap: var(--space-md); position: sticky; top: var(--space-xl); }-.rows { grid-column: 5 / span 8; list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-ink); }-.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }-.rows h3 { font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem); line-height: 1.05; }-.rows p { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }+/* A sample edition: the four parts behind ruled tabs */+.edition { padding-top: var(--section-gap); }+.edition__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.edition__head h2 { grid-column: 1 / span 6; }+.edition__head .lead { grid-column: 8 / span 5; }+.tabs { display: flex; margin-top: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-ink); overflow-x: auto; scrollbar-width: none; }+.tabs button { position: relative; flex: 1 1 0; min-height: 64px; padding: var(--space-md) var(--space-lg) var(--space-md) 0; border: 0; background: none; color: var(--color-muted); font: 700 var(--text-title)/1.1 var(--font-display); letter-spacing: -0.01em; text-align: left; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }+.tabs button + button { padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }+.tabs button:hover { color: var(--color-ink-2); }+.tabs button[aria-selected="true"] { color: var(--color-ink); }+.tabs button[aria-selected="true"] { box-shadow: inset 0 -4px 0 var(--color-ink); }+.tabs button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }+.panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; padding-top: var(--space-2xl); }+html:not(.js) .panel + .panel { margin-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }+.js .panel { min-height: 460px; }+.panel__intro { grid-column: 1 / span 4; display: grid; gap: var(--space-md); }+.panel__name { font-size: var(--text-section); line-height: 1; max-width: none; }+.panel__intro p { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 28ch; }+.items { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; }+.items li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }+.items li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }+.items h4 { margin: 0; font: 700 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.01em; }+.items a { flex: none; font: 500 var(--text-md)/1.3 var(--font-body); }+.items .items__lead { display: grid; gap: var(--space-sm); padding-top: 0; padding-bottom: var(--space-xl); border-top: 0; }+.items__lead h4 { font-size: var(--text-display-s); line-height: 1.02; letter-spacing: -0.025em; }+.items__lead p { max-width: 52ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }+.days { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-ink); }+.days > div { padding: var(--space-lg) var(--space-lg) 0 0; }+.days > div + div { padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }+.days h4 { margin: 0 0 var(--space-md); font: 700 var(--text-display-s)/1 var(--font-display); letter-spacing: -0.025em; }+.days ul { list-style: none; margin: 0; padding: 0; }+.days li { padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lead); line-height: 1.35; }-/* The town, as it is: one wide picture */-.street { padding-top: var(--section-gap); }-.street__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-top: var(--space-2xl); }+/* Reported on foot: one wide picture */+.street { padding-top: var(--section-gap-l); }+.street__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }.street__head h2 { grid-column: 1 / span 6; }.street__head .lead { grid-column: 8 / span 5; }.street__wide { margin: var(--space-2xl) 0 0; }@@ -90,18 +127,27 @@ figcaption { padding-top: var(--space-xs); font: 500 var(--text-sm)/1.4 var(--fo.score dd { margin: 0; font: 700 clamp(4rem, 7vw, 7.5rem)/0.9 var(--font-display); letter-spacing: -0.035em; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; }.score dt { font: 500 var(--text-md)/1.35 var(--font-body); color: var(--color-ink-2); }-/* The notice, reversed on the ink band */+/* The close, reversed on the ink band: free or supported, one field */.notice { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); border-top: 3px solid var(--color-accent); }.notice__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.notice__text { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }-.notice h2 { color: var(--color-paper); font-size: var(--text-display); line-height: 1; max-width: 12ch; }+.notice__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }+.notice h2 { color: var(--color-paper); font-size: var(--text-display); line-height: 1; max-width: 11ch; }.notice .lead { color: color-mix(in oklab, var(--color-paper) 82%, var(--color-ink)); max-width: 34ch; }-.notice__form { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); }-.notice__price { display: flex; align-items: baseline; gap: var(--space-md); padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 30%, var(--color-ink)); }-.notice__fig { font: 700 clamp(5rem, 9vw, 9rem)/0.85 var(--font-display); letter-spacing: -0.04em; }-.notice__per { font: 500 var(--text-lead)/1.2 var(--font-body); }-.signup--ink label, .signup--ink .signup__help { color: color-mix(in oklab, var(--color-paper) 85%, var(--color-ink)); }-.signup--ink input { background: var(--color-paper); border-color: var(--color-paper); }+.offer { grid-column: 7 / -1; display: grid; gap: var(--space-sm); }+.offer__choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: 0 0 var(--space-lg); padding: 0; border: 0; }+.offer__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }+.offer__choice label { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-lg); border-top: 1px solid color-mix(in oklab, var(--color-paper) 30%, var(--color-ink)); color: color-mix(in oklab, var(--color-paper) 55%, var(--color-ink)); cursor: pointer; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }+.offer__choice label:hover { color: color-mix(in oklab, var(--color-paper) 80%, var(--color-ink)); }+.offer__choice input:checked + label { color: var(--color-paper); border-top: 1px solid var(--color-paper); box-shadow: inset 0 3px 0 var(--color-paper); }+.offer__choice input:focus-visible + label { outline: 2px solid var(--color-paper); outline-offset: 6px; }+.offer__fig { font: 700 clamp(3.5rem, 6vw, 6rem)/0.9 var(--font-display); letter-spacing: -0.04em; }+.offer__fig small { font: 500 var(--text-lead)/1 var(--font-body); letter-spacing: 0; }+.offer__line { font: 400 var(--text-md)/1.45 var(--font-body); }+.offer__label { color: color-mix(in oklab, var(--color-paper) 85%, var(--color-ink)); }+.offer__row { display: flex; gap: var(--space-xs); }+.offer input[type="email"] { flex: 1; background: var(--color-paper); border-color: var(--color-paper); }+.offer .btn { min-height: 52px; font-size: 1.0625rem; }+.offer .signup__help { color: color-mix(in oklab, var(--color-paper) 85%, var(--color-ink)); }.notice :focus-visible { outline-color: var(--color-paper); }/* The imprint */@@ -116,24 +162,36 @@ figcaption { padding-top: var(--space-xs); font: 500 var(--text-sm)/1.4 var(--fo@media (max-width: 60rem) {:root { --nav-h: 80px; }- .folio__links a:not(.btn) { display: none; }+ .folio__links a:not(.btn), .folio__dateline { display: none; }.wordmark { font-size: 1.875rem; }.hero { min-height: 0; }- .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }+ .hero__sheet { row-gap: 0; }+ .hero__col, .hero__lead { grid-column: 1 / -1; }+ .hero__inside { display: none; }+ .hero__lead { margin-top: var(--space-2xl); }.hero__photo { height: auto; aspect-ratio: 4 / 3; }- .inside__head, .rows, .street__head h2, .street__head .lead, .notice__text, .notice__form, .imprint__name, .imprint__line, .imprint__links { grid-column: 1 / -1; }- .inside__head { position: static; margin-bottom: var(--space-2xl); }- .street__head .lead { margin-top: var(--space-md); }+ .edition__head h2, .edition__head .lead, .panel__intro, .items, .days, .street__head h2, .street__head .lead, .notice__text, .offer, .imprint__name, .imprint__line, .imprint__links { grid-column: 1 / -1; }+ .edition__head .lead, .street__head .lead { margin-top: var(--space-md); }+ .panel__intro { margin-bottom: var(--space-xl); }+ .js .panel { min-height: 0; }.street__wide .photo { aspect-ratio: 16 / 9; }.cols { grid-template-columns: minmax(0, 1fr); }.cols p, .cols p + p { padding: 0 0 var(--space-md); border-left: 0; }- .notice__form { margin-top: var(--space-2xl); }+ .offer { margin-top: var(--space-2xl); }}@media (max-width: 40rem) {- .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-lg); }+ .hero h1 { font-size: 2.75rem; line-height: 1.02; }+ .tabs { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }+ .tabs button { flex: none; padding-right: var(--space-md); }+ .tabs button + button { padding-left: var(--space-md); }+ .items li { flex-direction: column; gap: var(--space-2xs); }+ .days { grid-template-columns: minmax(0, 1fr); }+ .days > div, .days > div + div { padding: var(--space-lg) 0 0; border-left: 0; }.cols p { text-align: left; }.score { grid-template-columns: minmax(0, 1fr); }.score > div, .score > div + div { padding: var(--space-lg) 0; border-left: 0; }.score > div + div { border-top: var(--rule-hair) solid var(--color-rule); }.street__wide .photo { aspect-ratio: 4 / 3; }+ .offer__choice { column-gap: var(--space-md); }+ .offer__row { flex-direction: column; }}diff --git a/site/themes/overprint/index.html b/site/themes/overprint/index.htmlindex 19ec4ba..0ceecb4 100644--- a/site/themes/overprint/index.html+++ b/site/themes/overprint/index.html@@ -19,10 +19,9 @@<nav class="slab__nav" aria-label="Main"><ul class="slab__links"><li><a href="#this-month">This month</a></li>- <li><a href="#tickets">Tickets</a></li>- <li><a href="#hull">Hull</a></li>+ <li><a href="#find-us">Find us</a></li></ul>- <a class="btn btn--primary" href="#on-sales">On-sales</a>+ <a class="btn btn--primary" href="#tickets">Tickets</a></nav></div></header>@@ -35,10 +34,10 @@<div class="hero__scrim" aria-hidden="true"></div><div class="container hero__inner"><h1 id="hero-head" class="hero__head">Doors 7pm.<br>First band 8pm.</h1>- <p class="lead hero__lead">A 200-capacity music venue in Hull. Gigs and tickets below.</p>+ <p class="lead hero__lead">A 200-capacity music venue in Hull, with every gig’s tickets sold here.</p><div class="hero__actions"><a class="btn btn--primary" href="#this-month">This month’s gigs</a>- <a class="btn btn--knock" href="#tickets">How tickets work</a>+ <a class="btn btn--knock" href="#find-us">Find us</a></div></div></section>@@ -46,20 +45,19 @@<section id="this-month" class="bill pass-2 grain" aria-labelledby="month-head"><div class="container"><div class="bill__head">- <h2 id="month-head">This month at the Boiler Room</h2>- <p class="lead">Each gig goes up here as it is booked, with its night, its act and its price.</p>+ <h2 id="month-head"><span data-month>This month</span></h2>+ <p class="lead">Each gig goes up on the bill as it is booked, with its act and its night.</p></div><table class="bill__table"><caption class="visually-hidden">Gigs at the Boiler Room this month</caption><thead>- <tr><th scope="col">Night and act</th><th scope="col">Doors</th><th scope="col">First band</th><th scope="col">Tickets</th></tr>+ <tr><th scope="col">Night</th><th scope="col">Act</th><th scope="col">Tickets</th></tr></thead><tbody><tr>+ <td class="bill__night">On the bill soon</td><td class="bill__act"><span class="fill" data-fill="line-up">This month’s line-up to be announced</span></td>- <td class="bill__time" data-label="Doors">7pm</td>- <td class="bill__time" data-label="First band">8pm</td>- <td class="bill__tix"><a href="#on-sales">Get on-sale emails</a></td>+ <td class="bill__tix"><a href="#news">Hear when it goes on sale</a></td></tr></tbody></table>@@ -76,64 +74,49 @@</div></section>- <section id="tickets" class="steps" aria-labelledby="tickets-head">- <div class="container">- <div class="steps__head">- <h2 id="tickets-head">Tickets, gig by gig</h2>- <p class="lead">Every ticket for every night is sold on this page.</p>+ <section id="tickets" class="tix" aria-labelledby="tickets-head">+ <div class="container"><div class="tix__grid">+ <div class="tix__text">+ <h2 id="tickets-head">Your ticket, from this page</h2>+ <p class="lead">Every gig goes on sale here, one night at a time.</p>+ <a class="btn btn--secondary" href="#this-month">See the bill</a></div>- <ol class="steps__list">- <li class="steps__cell pass-1">- <div class="steps__text">- <h3>Booked</h3>- <p>The night goes up on this page with its act and its price.</p>- </div>- </li>- <li class="steps__cell pass-2">- <div class="steps__text">- <h3>On sale</h3>- <p>Tickets go on sale here, and on-sale emails go out first.</p>- </div>- </li>- <li class="steps__cell pass-1">- <div class="steps__text">- <h3>Doors</h3>- <p>Come for doors to stand at the front; the first band is on an hour later.</p>+ <figure class="ticket" data-slot="ticket" data-kind="product" data-alt="A Boiler Room gig ticket: the act, the night, doors and first band, printed in two passes" data-keep>+ <div class="ticket__body pass-2 grain" aria-hidden="true">+ <p class="ticket__venue">The Boiler Room, Hull</p>+ <p class="ticket__act">Act name</p>+ <div class="ticket__times">+ <p><span>Doors</span><b>7PM</b></p>+ <p><span>First band</span><b>8PM</b></p></div>- </li>- </ol>- </div>+ </div>+ <div class="ticket__stub pass-1 grain" aria-hidden="true">+ <p class="ticket__admit">Admit one</p>+ <p class="ticket__night">Night of the gig</p>+ </div>+ <figcaption class="visually-hidden">A sample ticket: the venue, the act, doors at 7pm and the first band at 8pm, with a stub to admit one.</figcaption>+ </figure>+ </div></div></section>- <section id="hull" class="hull" aria-labelledby="hull-head">- <div class="container hull__grid">- <div class="photo photo--hull pass-2 grain" data-slot="bar" data-alt="The bar at the Boiler Room on a gig night, from inside">- <img src="photos/cure-cocktail-bar-new-orleans-2011-1920.jpg" width="4752" height="3168" loading="lazy" alt="A dim bar with lit shelves of bottles and a bartender at work" style="object-position: 30% 40%">- </div>- <div class="hull__text">- <h2 id="hull-head">Find us in Hull</h2>+ <section id="find-us" class="visit grain" aria-labelledby="visit-head">+ <div class="container visit__grid">+ <div class="visit__text">+ <h2 id="visit-head">Find us in Hull</h2><dl class="facts"><div><dt>Where</dt><dd>Hull, <span class="fill" data-fill="address">street address to be announced</span></dd></div>- <div><dt>Room</dt><dd>200 capacity</dd></div>- <div><dt>Tickets</dt><dd>On this page</dd></div>+ <div><dt>The room</dt><dd>200 capacity</dd></div>+ <div><dt>Tickets</dt><dd>Sold on this page</dd></div></dl></div>- </div>- </section>-- <section id="on-sales" class="onsales grain" aria-labelledby="onsales-head">- <div class="container onsales__grid">- <div class="onsales__text">- <h2 id="onsales-head">Hear first when it’s on sale</h2>- <p class="lead">One email each time a gig at the Boiler Room goes on sale.</p>- </div>- <form class="onsale" data-endpoint="" novalidate>+ <form class="onsale" id="news" data-endpoint="" novalidate>+ <h3 class="onsale__head">Hear when a gig goes on sale</h3><label for="onsale-email">Email address</label><div class="onsale__row"><input id="onsale-email" name="email" type="email" inputmode="email" autocomplete="email" required><button class="btn btn--primary" type="submit">Send me on-sales</button></div>- <p class="onsale__help" id="onsale-help" aria-live="polite"></p>+ <p class="onsale__help" id="onsale-help" aria-live="polite">One email each time, nothing else.</p></form></div></section>@@ -147,17 +130,18 @@<ul class="mast__links"><li><a href="#this-month">This month</a></li><li><a href="#tickets">Tickets</a></li>- <li><a href="#hull">Hull</a></li>- <li><a href="#on-sales">On-sale emails</a></li>+ <li><a href="#find-us">Find us</a></li>+ <li><a href="#news">On-sale emails</a></li></ul></nav><p class="mast__note">A 200-capacity music venue in Hull. © 2026 The Boiler Room</p></div>- <p class="mast__credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Lights_(2011-04-24_by_Ian_T._McFarland).jpg">Ian T. McFarland</a> <span>(CC BY-SA 2.0)</span>, <a href="https://commons.wikimedia.org/wiki/File:Ansambel_SkaMeika%C2%B4.jpg">Enel Lepik</a> <span>(CC BY-SA 4.0)</span>, <a href="https://commons.wikimedia.org/wiki/File:Cure_cocktail_bar_New_Orleans_2011.jpg">Chelsea Marie Hicks</a> <span>(CC BY 2.0)</span>, all via Wikimedia Commons.</p>+ <p class="mast__credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Lights_(2011-04-24_by_Ian_T._McFarland).jpg">Ian T. McFarland</a> <span>(CC BY-SA 2.0)</span>, <a href="https://commons.wikimedia.org/wiki/File:Ansambel_SkaMeika%C2%B4.jpg">Enel Lepik</a> <span>(CC BY-SA 4.0)</span>, both via Wikimedia Commons.</p></div></footer><script>+document.querySelectorAll('[data-month]').forEach((el) => { el.textContent = new Date().toLocaleDateString('en-GB', { month: 'long' }); });document.querySelectorAll('form[data-endpoint]').forEach((form) => {const input = form.querySelector('input'), help = form.querySelector('[aria-live]');form.addEventListener('submit', (e) => {diff --git a/site/themes/overprint/photos/cure-cocktail-bar-new-orleans-2011-1920.jpg b/site/themes/overprint/photos/cure-cocktail-bar-new-orleans-2011-1920.jpgdeleted file mode 100644index e7d894a..0000000Binary files a/site/themes/overprint/photos/cure-cocktail-bar-new-orleans-2011-1920.jpg and /dev/null differdiff --git a/site/themes/overprint/style.css b/site/themes/overprint/style.cssindex 4822c3d..02a8e17 100644--- a/site/themes/overprint/style.css+++ b/site/themes/overprint/style.css@@ -1,6 +1,8 @@-/* Hallmark · shape: Marquee Hero · genre: playful · theme: Overprint (v2.8 launch pass)- * hero: Poster · nav: slab, the ink bar with the wordmark in stock colour, three links and a pass-1 on-sale control · footer: mast, the wordmark across the container over the bar rule · imagery: photographs, library 3, mono pulled through one pass each · signature: the bill printed on an orange pass field, and three ticket steps flooded teal, orange, teal whose overlaps print moss · overprint: newsprint- * axes: light/grotesk-heavy/cool · posture: full-palette · contrast: pass · fold: pass · v2.8.0 */+/* Hallmark · shape: Marquee Hero · genre: playful · theme: Overprint · job: visit+ * hero: Poster, the hours as the head · nav: slab, the ink bar with the wordmark in stock colour, two links and a pass-1 tickets control · footer: mast, the wordmark across the container over the bar rule · imagery: photographs, library 2, mono pulled through one pass each · signature: the month's bill printed on an orange pass field, and the ticket itself in two passes whose stub crosses the body at the tear and prints moss · overprint: newsprint+ * sections: Poster hero, Index (the month's bill on the orange pass, the month named from the visitor's date), Showcase (the room through the teal pass), Offer (the ticket, built, beside its head), Band (find us in Hull beside the on-sale field, on the ink) · samples: the ticket's act name and night are placeholders of its shape · fills: the line-up, the address+ * job: visit, a venue whose next dates recur, so the page ends on the address and the on-sale list for what is on next+ * axes: light/grotesk-heavy/cool · posture: full-palette · contrast: pass · fold: pass · layout fix */@import url("./tokens.css");@import url("./base.css");@@ -62,12 +64,13 @@ h1, h2, h3 { font-weight: 900; font-stretch: var(--display-stretch); text-transf/* the bill: this month printed on the orange pass, the times in wide figures */.bill { padding-block: var(--section-gap-s); mix-blend-mode: normal; }.bill__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.bill__head h2 { grid-column: 1 / 9; max-width: none; font-size: var(--text-bill); line-height: 1; }-.bill__head .lead { grid-column: 9 / 13; color: var(--color-ink); }+.bill__head h2 { grid-column: 1 / -1; max-width: none; font-size: clamp(2rem, 9.6vw, 8rem); line-height: 0.92; white-space: nowrap; }+.bill__head .lead { grid-column: 1 / span 6; margin-top: var(--space-lg); color: var(--color-ink); }.bill__table { width: 100%; margin-top: var(--space-2xl); border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); border-bottom: var(--rule-bar) solid var(--color-ink); font-variant-numeric: tabular-nums; }.bill__table th { padding: var(--space-md) var(--space-lg) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-ink); font: 600 var(--text-sm)/1.2 var(--font-outlier); text-align: left; white-space: nowrap; }.bill__table td { padding: var(--space-xl) var(--space-lg) var(--space-xl) 0; vertical-align: middle; }-.bill__table th:first-child, .bill__act { width: 46%; }+.bill__table th:nth-child(2), .bill__act { width: 52%; }+.bill__night { font: 900 var(--text-title)/1.1 var(--font-display); font-stretch: 130%; text-transform: uppercase; white-space: nowrap; }.bill__act .fill { font-size: var(--text-lead); color: var(--color-ink-2); background: color-mix(in oklch, var(--color-ink) 12%, transparent); }.bill__time { font: 900 var(--text-section)/1 var(--font-display); font-stretch: 150%; text-transform: uppercase; letter-spacing: var(--tracking-display); white-space: nowrap; }.bill__tix { padding-right: 0; }@@ -82,47 +85,44 @@ h1, h2, h3 { font-weight: 900; font-stretch: var(--display-stretch); text-transf.room__head .lead { grid-column: 8 / 13; }.photo { position: relative; margin: 0; }.photo--wide { aspect-ratio: 2 / 1; width: 100%; }-.photo--hull { aspect-ratio: 4 / 5; }-/* tickets: three numbered bills, flooded teal, orange, teal; where two cross the stock prints moss */-.steps { padding-top: var(--section-gap); isolation: isolate; }-.steps__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); }-.steps__head h2 { grid-column: 1 / 8; }-.steps__head .lead { grid-column: 8 / 13; }-.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; counter-reset: step; isolation: isolate; }-.steps__cell { position: relative; display: grid; grid-template-rows: auto auto; align-content: space-between; gap: var(--space-xl); min-height: 30rem; padding: var(--space-xl) calc(var(--overlap) + var(--space-lg)) var(--space-xl) var(--space-xl); counter-increment: step; }-.steps__cell + .steps__cell { margin-left: calc(-1 * var(--overlap)); padding-left: calc(var(--overlap) + var(--space-xl)); }-.steps__cell:last-child { padding-right: var(--space-xl); }-.steps__cell::before { content: counter(step); font: 900 var(--text-figure)/0.8 var(--font-display); font-stretch: 150%; letter-spacing: var(--tracking-display); }-.steps__cell h3 { font-size: var(--text-section); max-width: none; line-height: 1; }-.steps__cell p { margin-top: var(--space-sm); max-width: 30ch; font-size: var(--text-md); }+/* tickets: the ticket itself, printed in two passes; the stub's teal crosses the body's orange at the tear and prints moss */+.tix { padding-top: var(--section-gap); }+.tix__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; padding-top: var(--space-xl); border-top: var(--rule-bar) solid var(--color-ink); }+.tix__text { grid-column: 1 / span 5; display: grid; justify-items: start; gap: var(--space-lg); }+.tix__text .btn { margin-top: var(--space-sm); }+.ticket { grid-column: 6 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 12rem); margin: 0; isolation: isolate; background: none; overflow: visible; }+.ticket__body { display: grid; align-content: space-between; gap: var(--space-xl); min-height: 30rem; padding: var(--space-xl) calc(var(--overlap) + var(--space-xl)) var(--space-xl) var(--space-xl); }+.ticket__stub { display: grid; align-content: space-between; margin-left: calc(-1 * var(--overlap)); padding: var(--space-xl) var(--space-xl) var(--space-xl) calc(var(--overlap) + var(--space-lg)); }+.ticket p { margin: 0; }+.ticket__venue, .ticket__night, .ticket__times span { font: 600 var(--text-sm)/1.2 var(--font-outlier); }+.ticket__act { font: 900 clamp(2.25rem, 4.2vw, 4rem)/0.98 var(--font-display); font-stretch: 150%; text-transform: uppercase; letter-spacing: var(--tracking-display); max-width: 8ch; }+.ticket__times { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); }+.ticket__times p { display: grid; gap: var(--space-xs); }+.ticket__times b { font: 900 clamp(2rem, 3.4vw, 3.25rem)/1 var(--font-display); font-stretch: 150%; font-variant-numeric: tabular-nums; }+.ticket__admit { font: 900 var(--text-2xl)/1 var(--font-display); font-stretch: 140%; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); justify-self: start; }-/* hull: the photograph on the other side, the facts as rows under the bar */-.hull { padding-block: var(--section-gap) var(--section-gap); }-.hull__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.hull__grid > .photo { grid-column: 1 / 7; }-.hull__text { grid-column: 8 / 13; }-.facts { margin: var(--space-2xl) 0 0; border-top: var(--rule-bar) solid var(--color-ink); }-.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.facts dt { font: 600 var(--text-sm)/1.5 var(--font-outlier); }-.facts dd { margin: 0; font: 900 var(--text-xl)/1.15 var(--font-display); font-stretch: 115%; text-transform: uppercase; }-.facts dd .fill { font-size: var(--text-md); }--/* on-sales: the ink band, stock type, the on-sale field */-.onsales { padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }-.onsales__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.onsales__text { grid-column: 1 / 7; }-.onsales__text h2 { line-height: 1; }-.onsales__text .lead { margin-top: var(--space-lg); max-width: 40ch; }-.onsale { grid-column: 8 / 13; }+/* find us: the ink band, the facts under a stock bar beside the on-sale field */+.visit { margin-top: var(--section-gap-l); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }+.visit h2 { color: var(--color-paper); }+.visit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; }+.visit__text { grid-column: 1 / span 6; }+.facts { margin: var(--space-2xl) 0 0; border-top: var(--rule-bar) solid var(--color-paper); }+.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 28%, var(--color-ink)); }+.facts dt { font: 600 var(--text-sm)/1.5 var(--font-outlier); color: var(--color-paper-3); }+.facts dd { margin: 0; font: 900 var(--text-xl)/1.15 var(--font-display); font-stretch: 120%; text-transform: uppercase; }+.facts dd .fill { font-size: var(--text-md); color: var(--color-paper-3); background: color-mix(in oklch, var(--color-paper) 16%, transparent); }+.onsale { grid-column: 8 / -1; }+.onsale__head { margin-bottom: var(--space-lg); font-size: var(--text-xl); font-stretch: 120%; color: var(--color-paper); max-width: 18ch; }.onsale label { display: block; margin-bottom: var(--space-xs); font: 600 var(--text-sm)/1.2 var(--font-outlier); }.onsale__row { display: flex; gap: var(--space-xs); }.onsale input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: 0; border-radius: 0; background: var(--color-ink); color: var(--color-paper); box-shadow: inset 0 0 0 2px var(--color-paper); font: 400 var(--text-md) var(--font-body); outline: 2px solid transparent; outline-offset: 2px; }+.onsale input:hover { box-shadow: inset 0 0 0 2px var(--color-accent); }.onsale .btn { min-height: 52px; }.onsale input:focus-visible { outline-color: var(--color-accent); }.onsale input[aria-invalid] { box-shadow: inset 0 0 0 2px var(--color-error); }.onsale__help { min-height: 1lh; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-paper-3); }-.onsales :focus-visible { outline-color: var(--color-accent); }+.visit :focus-visible { outline-color: var(--color-accent); }/* footer: the mast */.mast { padding-block: var(--section-gap-s) var(--space-2xl); }@@ -140,20 +140,10 @@ h1, h2, h3 { font-weight: 900; font-stretch: var(--display-stretch); text-transf@media (max-width: 60rem) {.slab__links { display: none; }.hero { min-height: calc(92dvh - var(--nav-h)); }- .bill__head h2, .bill__head .lead, .room__head h2, .room__head .lead, .steps__head h2, .steps__head .lead, .hull__grid > .photo, .hull__text, .onsales__text, .onsale { grid-column: 1 / -1; }- .bill__head .lead, .room__head .lead, .steps__head .lead, .onsale { margin-top: var(--space-lg); }- .hull__text { margin-top: var(--space-2xl); }- .photo--hull { aspect-ratio: 4 / 3; }+ .bill__head h2, .bill__head .lead, .room__head h2, .room__head .lead, .tix__text, .ticket, .visit__text, .onsale { grid-column: 1 / -1; }+ .ticket { margin-top: var(--space-2xl); }+ .bill__head .lead, .room__head .lead { margin-top: var(--space-lg); }.photo--wide { aspect-ratio: 4 / 3; }- .steps__list { grid-template-columns: minmax(0, 1fr); }- .steps__cell { min-height: 0; padding: var(--space-xl) var(--space-xl) calc(var(--overlap) + var(--space-lg)); }- .steps__cell + .steps__cell { margin: calc(-1 * var(--overlap)) 0 0; padding: calc(var(--overlap) + var(--space-lg)) var(--space-xl) calc(var(--overlap) + var(--space-lg)); }- .steps__cell:last-child { padding-bottom: var(--space-xl); }- .steps__cell { grid-template-columns: auto 1fr; align-items: end; column-gap: var(--space-xl); }- .steps__cell::before { grid-row: span 2; font-size: clamp(4.5rem, 18vw, 7rem); }- .steps__cell .steps__text { grid-column: 2; }- .steps__cell h3 { font-size: var(--text-xl); }- .steps__cell { gap: var(--space-xs) var(--space-xl); }}@media (max-width: 40rem) {.wordmark { font-size: 1rem; }@@ -165,10 +155,17 @@ h1, h2, h3 { font-weight: 900; font-stretch: var(--display-stretch); text-transf.bill__table td.bill__time::before { content: attr(data-label); display: block; margin-bottom: var(--space-xs); font: 600 var(--text-sm)/1.2 var(--font-outlier); text-transform: none; }.bill__table td:last-child { border-bottom: 0; }.bill__act { width: auto; }- .steps__cell { grid-template-columns: minmax(0, 1fr); }- .steps__cell::before { grid-row: auto; }- .steps__cell .steps__text { grid-column: 1; }+ .bill__table td.bill__night { border-bottom: 0; padding-bottom: 0; }+ .ticket { grid-template-columns: minmax(0, 1fr); }+ .ticket__body { min-height: 0; padding: var(--space-lg) var(--space-lg) calc(var(--overlap) + var(--space-lg)); }+ .ticket__stub { margin: calc(-1 * var(--overlap)) 0 0; padding: calc(var(--overlap) + var(--space-md)) var(--space-lg) var(--space-lg); display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); }+ .ticket__admit { writing-mode: horizontal-tb; transform: none; font-size: var(--text-lg); }+ .ticket__times { gap: var(--space-xl); }.facts dd { font-size: var(--text-lg); }.facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }.onsale__row { flex-direction: column; }}+@media (max-width: 75rem) and (min-width: 60.001rem) {+ .tix__text, .ticket { grid-column: 1 / -1; }+ .ticket { margin-top: var(--space-2xl); }+}diff --git a/site/themes/spore/index.html b/site/themes/spore/index.htmlindex 81f93a4..2407449 100644--- a/site/themes/spore/index.html+++ b/site/themes/spore/index.html@@ -18,11 +18,11 @@<nav class="nav__pill" aria-label="Main"><a class="wordmark" href="#top" aria-label="Night Cellar, home">Night Cellar</a><ul class="nav__links" role="list">- <li><a href="#list">The list</a></li>- <li><a href="#week">Hours</a></li>+ <li><a href="#shelf">The shelf</a></li><li><a href="#tastings">Tastings</a></li>+ <li><a href="#find">Find us</a></li></ul>- <p class="nav__door" role="status" id="door">Open Thursday to Sunday</p>+ <a class="nav__door" href="#find" id="door"><span id="door-text">Open Thursday to Sunday</span></a></nav></header>@@ -31,10 +31,10 @@<div class="hero__grid"><div class="hero__text"><h1 id="hero-title">Natural wine after five.</h1>- <p class="lead">A natural wine shop and bar with 140 bottles on the list.</p>+ <p class="lead">A natural wine shop and bar, open Thursday to Sunday from 5pm.</p><div class="actions">- <a class="btn btn--primary" href="#tastings">Get the tasting date</a>- <a class="btn btn--secondary" href="#list">How the list works</a>+ <a class="btn btn--primary" href="#find">Find us</a>+ <a class="btn btn--secondary" href="#shelf">See the shelf</a></div></div><figure class="photo hero__photo" data-slot="hero" data-alt="A bottle poured at the bar after five">@@ -43,19 +43,19 @@</div></section>- <section class="list" id="list" aria-labelledby="list-title">- <div class="container">- <div class="list__well grained">- <p class="list__figure"><span class="figure">140</span><span class="list__unit">bottles on the list</span></p>- <div class="list__side">- <h2 id="list-title">One list, two ways.</h2>- <dl class="ways">- <div><dt>At the bar</dt><dd>Choose from the shelf and we open it here.</dd></div>- <div><dt>From the shop</dt><dd>The same bottles, to take home tonight.</dd></div>- </dl>- </div>- </div>+ <section class="shelf" id="shelf" aria-labelledby="shelf-title">+ <div class="container shelf__head">+ <h2 id="shelf-title" class="shelf__title"><span class="figure shelf__figure">140</span><span class="shelf__unit">bottles on the list</span></h2>+ <p class="lead shelf__line">Natural wine only, set out on the shelf by style.</p></div>+ <ul class="rail" tabindex="0" aria-label="The shelf, by style" role="list">+ <li class="label grained"><h3>Pét-nat</h3><p class="label__second">pétillant naturel</p><p class="label__line">Bottled early, so it sparkles.</p></li>+ <li class="label grained"><h3>Skin contact</h3><p class="label__second">orange wine</p><p class="label__line">White grapes left on their skins.</p></li>+ <li class="label grained"><h3>Fresh white</h3><p class="label__second">pressed straight off</p><p class="label__line">Bright and lean, for the first glass.</p></li>+ <li class="label grained"><h3>Rosé</h3><p class="label__second">a night on the skins</p><p class="label__line">Pale, dry, and gone by closing.</p></li>+ <li class="label grained"><h3>Light red</h3><p class="label__second">served cool</p><p class="label__line">Juicy, poured from the fridge.</p></li>+ <li class="label grained"><h3>Deep red</h3><p class="label__second">for the late hours</p><p class="label__line">Darker fruit, for a slower glass.</p></li>+ </ul></section><section class="racks" aria-labelledby="racks-title">@@ -64,61 +64,64 @@</figure><div class="racks__over"><div class="container">- <h2 id="racks-title" class="statement">Every bottle on the shelf is natural.</h2>+ <h2 id="racks-title" class="statement">Open a bottle here, or take it home.</h2></div></div></section>- <section class="week" id="week" aria-labelledby="week-title">- <div class="container week__grid">- <div class="week__head">- <h2 id="week-title">Four nights a week.</h2>- <p class="lead">The shop and the bar open together.</p>+ <section class="tastings" id="tastings" aria-labelledby="tastings-title">+ <div class="container">+ <div class="tastings__well grained">+ <p class="price"><span class="price__figure figure">£25</span><span class="price__unit">a place at the monthly tasting</span></p>+ <div class="tastings__text">+ <h2 id="tastings-title">A tasting, once a month.</h2>+ <p class="tastings__next">Next tasting: <span class="fill" data-fill="date">date to be announced</span></p>+ <form class="signup" data-endpoint="" novalidate>+ <label for="email">Your email, for the date</label>+ <div class="signup__row">+ <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required>+ <button class="btn btn--secondary" type="submit">Send me the date</button>+ </div>+ <p class="signup__help" id="email-help" aria-live="polite"></p>+ </form>+ </div></div>- <table class="days">- <caption class="visually-hidden">Opening days</caption>- <tbody>- <tr data-day="1" class="is-closed"><th scope="row">Monday</th><td>Closed</td><td class="days__now"></td></tr>- <tr data-day="2" class="is-closed"><th scope="row">Tuesday</th><td>Closed</td><td class="days__now"></td></tr>- <tr data-day="3" class="is-closed"><th scope="row">Wednesday</th><td>Closed</td><td class="days__now"></td></tr>- <tr data-day="4"><th scope="row">Thursday</th><td>From 5pm</td><td class="days__now"></td></tr>- <tr data-day="5"><th scope="row">Friday</th><td>From 5pm</td><td class="days__now"></td></tr>- <tr data-day="6"><th scope="row">Saturday</th><td>From 5pm</td><td class="days__now"></td></tr>- <tr data-day="0"><th scope="row">Sunday</th><td>From 5pm</td><td class="days__now"></td></tr>- </tbody>- </table></div></section>- <section class="tastings grained" id="tastings" aria-labelledby="tastings-title">- <div class="container tastings__grid">- <figure class="photo tastings__photo" data-slot="photo-2" data-alt="The bar laid for a tasting">- <img src="photos/paris-a-waiter-lighting-candles-in-a-bar-3418-1920.jpg" width="4368" height="2912" loading="lazy" sizes="(max-width: 60rem) 100vw, 45vw" alt="Candles in red glass lit along a dark bar counter" style="object-position: 34% 70%">- </figure>- <div class="tastings__text">- <h2 id="tastings-title">A tasting, once a month.</h2>- <p class="price"><span class="price__figure figure">£25</span><span>a place</span></p>- <form class="signup" data-endpoint="" novalidate>- <label for="email">Your email, for the next date</label>- <div class="signup__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required>- <button class="btn btn--primary" type="submit">Send me the date</button>- </div>- <p class="signup__help" id="email-help" aria-live="polite"></p>- </form>+ <section class="find grained" id="find" aria-labelledby="find-title">+ <div class="container">+ <div class="find__head">+ <div class="find__text">+ <h2 id="find-title">Find us.</h2>+ <p class="find__where"><span class="fill" data-fill="address">Address to come</span></p>+ <p class="find__note">The shop and the bar open together.</p>+ </div>+ <figure class="photo find__photo" data-slot="photo-2" data-alt="The bar after dark, candles lit">+ <img src="photos/paris-a-waiter-lighting-candles-in-a-bar-3418-1920.jpg" width="4368" height="2912" loading="lazy" sizes="(max-width: 60rem) 100vw, 55vw" alt="Candles in red glass lit along a dark bar counter" style="object-position: 40% 66%">+ </figure></div>+ <ol class="week" role="list" aria-label="Opening days">+ <li data-day="1" class="is-closed"><span class="week__day">Monday</span><span class="week__time">Closed</span></li>+ <li data-day="2" class="is-closed"><span class="week__day">Tuesday</span><span class="week__time">Closed</span></li>+ <li data-day="3" class="is-closed"><span class="week__day">Wednesday</span><span class="week__time">Closed</span></li>+ <li data-day="4"><span class="week__day">Thursday</span><span class="week__time"><small>From</small> 5pm</span></li>+ <li data-day="5"><span class="week__day">Friday</span><span class="week__time"><small>From</small> 5pm</span></li>+ <li data-day="6"><span class="week__day">Saturday</span><span class="week__time"><small>From</small> 5pm</span></li>+ <li data-day="0"><span class="week__day">Sunday</span><span class="week__time"><small>From</small> 5pm</span></li>+ </ol></div></section></main>-<footer class="footer" id="find">+<footer class="footer"><div class="container"><div class="footer__top">- <p class="footer__where"><span class="fill" data-fill="address">Address to come</span></p>+ <p class="footer__line">Natural wine, after dark.</p><ul class="footer__links" role="list">- <li><a href="#list">The list</a></li>- <li><a href="#week">Hours</a></li>+ <li><a href="#shelf">The shelf</a></li><li><a href="#tastings">Tastings</a></li>+ <li><a href="#find">Find us</a></li></ul></div><p class="footer__mast" aria-hidden="true">Night Cellar</p>@@ -135,10 +138,10 @@ document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete &(() => {const day = new Date().getDay();const open = [4, 5, 6, 0].includes(day);- const door = document.getElementById('door');- if (door) door.textContent = open ? 'Open tonight from 5pm' : 'Opens Thursday at 5pm';- const row = document.querySelector(`.days tr[data-day="${day}"]`);- if (row) { row.classList.add('is-today'); row.querySelector('.days__now').innerHTML = `<span class="chip">${open ? 'Tonight' : 'Today'}</span>`; }+ const door = document.getElementById('door-text');+ if (door) { door.textContent = open ? 'Open tonight from 5pm' : 'Opens Thursday at 5pm'; door.parentElement.classList.toggle('is-open', open); }+ const cell = document.querySelector(`.week li[data-day="${day}"]`);+ if (cell) { cell.classList.add('is-today'); cell.setAttribute('aria-current', 'date'); cell.insertAdjacentHTML('afterbegin', `<span class="chip">${open ? 'Tonight' : 'Today'}</span>`); }document.querySelectorAll('form[data-endpoint]').forEach((form) => {const input = form.querySelector('input'), help = form.querySelector('[aria-live]');form.addEventListener('submit', (e) => {diff --git a/site/themes/spore/style.css b/site/themes/spore/style.cssindex 33e937d..b39c0dc 100644--- a/site/themes/spore/style.css+++ b/site/themes/spore/style.css@@ -1,6 +1,7 @@-/* Hallmark · shape: Photographic · genre: atmospheric · theme: Spore (by request)- * hero: Stage · nav: floating pill · footer: mast · imagery: photographs, library 3, warm con=6 exp=-4 · signature: the count of the list set huge on a grained well, and the week as a timetable with tonight lifted · spore: cellar- * sections: hero Stage, figure well with two ways, full-bleed statement on the racks, timetable, grained band with price and form beside a photograph, footer mast+/* Hallmark · shape: Photographic · genre: atmospheric · theme: Spore (by request) · job: visit+ * hero: Stage · nav: floating pill with the live door chip · footer: mast · imagery: photographs, library 3, warm con=6 exp=-4 · signature: the count of the list set as the shelf's head over a scrolling rail of labels, and the week as a timetable with tonight lifted · spore: cellar+ * sections: hero Stage, shelf Rail (the count as its head, six style labels), full-bleed statement on the racks, tastings price as the section on a grained well with the date field, find us band (the room beside the address, the week as a seven-day strip, tonight lifted), footer mast+ * samples: the six style labels on the shelf rail show the list's shape; the owner replaces them with the real list* axes: dark/roman-serif/warm · posture: committed · contrast: pass · fold: pass · v2.8.0 *//* Hallmark · dismissed 23 · the tasting price is the one figure the theme sets in pink (spore.md, Type, Figures) */@import url("./tokens.css");@@ -32,7 +33,11 @@.nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }.nav__links a:active { color: var(--color-accent-2); }.wordmark:focus-visible, .nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-pill); }-.nav__door { margin: 0; padding-right: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }+.nav__door { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--color-rule); transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }+.nav__door:hover { background: var(--color-paper-3); color: var(--color-ink); }+.nav__door.is-open { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; font-weight: 600; }+.nav__door.is-open:hover { background: var(--color-accent-2); }+.nav__door:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }/* Photographs */.photo { position: relative; margin: 0; border-radius: var(--radius-card); }@@ -63,55 +68,41 @@background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }.grained > * { position: relative; z-index: var(--z-raised); }-/* The list: the count set huge on a grained well, the two ways beside it */-.list { padding-top: var(--section-gap-s); }-.list__well { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap-columns); align-items: end; padding: var(--space-3xl) var(--space-3xl) var(--space-2xl); border-radius: var(--radius-card); background: var(--color-paper-2); }-.list__figure { display: grid; gap: var(--space-md); }-.list__figure .figure { font-variant-numeric: lining-nums tabular-nums; font-size: clamp(9rem, 22vw, 20rem); color: var(--color-ink); margin-left: -0.04em; }-.list__unit { font: 400 var(--text-title)/1.2 var(--font-display); color: var(--color-ink-2); }-.list__side { display: grid; gap: var(--space-xl); padding-bottom: var(--space-xs); }-.list__side h2 { max-width: 10ch; }-.ways { margin: 0; border-top: var(--rule-hair) solid var(--color-rule); }-.ways > div { display: grid; gap: var(--space-2xs); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.ways dt { font: 400 var(--text-title)/1.2 var(--font-display); color: var(--color-ink); }-.ways dd { margin: 0; color: var(--color-ink-2); }+/* The shelf: the count as the head, then a rail of labels past the container's edge */+.shelf { padding-top: var(--section-gap); }+.shelf__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap-columns); align-items: end; }+.shelf__title { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-lg); max-width: none; }+.shelf__figure { font-size: clamp(7rem, 15vw, 14rem); color: var(--color-ink); margin-left: -0.05em; }+.shelf__unit { font-size: var(--text-section); line-height: 1.02; color: var(--color-ink-2); }+.shelf__line { max-width: 30ch; padding-bottom: var(--space-sm); color: var(--color-ink-2); }+.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17rem, calc((min(100vw, var(--container)) - 2 * var(--gutter) - 3 * var(--gap-columns)) / 3.6)); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0 0 var(--space-lg); padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--color-rule) transparent; }+.rail > * { scroll-snap-align: start; }+.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; border-radius: var(--radius-card); }+.label { display: grid; grid-template-rows: auto auto 1fr; align-content: start; min-height: 360px; padding: var(--space-xl) var(--space-xl) var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); transition: background-color var(--dur-micro) var(--ease-out); }+.label:hover { background: var(--color-paper-3); }+.label h3 { font-size: var(--text-section); line-height: 1.02; max-width: 8ch; }+.label__second { margin-top: var(--space-sm); font-style: italic; font-size: var(--text-lead); color: var(--color-ink-2); }+.label__line { align-self: end; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); max-width: 26ch; }/* The racks: edge to edge, the statement on the photograph's dark foot */.racks { position: relative; margin-top: var(--section-gap); }.racks__photo { width: 100%; aspect-ratio: 21 / 9; max-height: 720px; border-radius: 0; }.racks__photo > img { outline: 0; }.racks__over { position: absolute; inset: auto 0 0 0; z-index: var(--z-raised); padding-block: var(--space-4xl) var(--space-2xl); background: linear-gradient(to top, color-mix(in oklab, var(--color-paper) 80%, transparent) 20%, color-mix(in oklab, var(--color-paper) 0%, transparent)); }-.statement { max-width: 17ch; font-size: var(--text-display); line-height: 1.02; }+.statement { max-width: 20ch; font-size: var(--text-display); line-height: 1.02; }-/* The week: a head beside seven ruled rows, tonight lifted a step */-.week { padding-block: var(--section-gap) var(--section-gap-s); }-.week__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: start; }-.week__head { display: grid; gap: var(--space-lg); position: sticky; top: var(--space-4xl); }-.week__head h2 { max-width: 8ch; }-.week__head .lead { color: var(--color-ink-2); max-width: 22ch; }-.days { width: 100%; border-collapse: collapse; border-top: var(--rule-hair) solid var(--color-rule); }-.days tr { border-bottom: var(--rule-hair) solid var(--color-rule); }-.days th, .days td { padding-block: var(--space-lg); text-align: left; vertical-align: baseline; }-.days th { width: 52%; padding-left: var(--space-lg); font: 400 var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.days td { font-size: var(--text-lead); color: var(--color-ink-2); }-.days .days__now { text-align: right; padding-right: var(--space-lg); }-.days tr.is-closed th { font-size: var(--text-title); color: var(--color-muted); }-.days tr.is-closed td { font-size: var(--text-md); color: var(--color-muted); }-.days tr.is-closed th, .days tr.is-closed td { padding-block: var(--space-md); }-.days tr.is-today { background: var(--color-paper-3); }-.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 600; }--/* Tastings: the one band, grained, the price in pink beside the candles */-.tastings { margin-top: var(--section-gap-s); padding-block: var(--section-gap-s); background: var(--color-paper-3); }-.tastings__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--gap-columns); align-items: center; }-.tastings__photo { aspect-ratio: 1 / 1; max-height: 680px; }-.tastings__text { display: grid; gap: var(--space-xl); padding-left: var(--space-2xl); }-.tastings__text h2 { max-width: 13ch; }-.price { display: flex; align-items: baseline; gap: var(--space-md); color: var(--color-ink-2); font-size: var(--text-lead); }-.price__figure { font-variant-numeric: lining-nums tabular-nums; font-size: clamp(6rem, 11vw, 10rem); color: var(--color-accent); }+/* Tastings: the price as the section, huge in pink on a grained well, the date field beside it */+.tastings { padding-block: var(--section-gap); }+.tastings__well { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--gap-columns); align-items: center; padding: var(--space-3xl) var(--space-3xl); border-radius: var(--radius-card); background: var(--color-paper-2); }+.price { display: grid; gap: var(--space-md); }+.price__figure { font-variant-numeric: lining-nums tabular-nums; font-size: clamp(8rem, 19vw, 17rem); color: var(--color-accent); margin-left: -0.04em; }+.price__unit { font: 400 var(--text-title)/1.2 var(--font-display); color: var(--color-ink-2); }+.tastings__text { display: grid; gap: var(--space-lg); }+.tastings__text h2 { max-width: 12ch; }+.tastings__next { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }.fill { padding: 0 0.2em; border-radius: 2px; color: var(--color-muted); background: color-mix(in oklch, var(--color-muted) 14%, transparent); }-.signup { display: grid; gap: var(--space-xs); }+.signup { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }.signup label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }.signup__row { display: flex; gap: var(--space-xs); }.signup input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: 1.5px solid var(--color-ink-2); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -4px; }@@ -121,10 +112,31 @@.signup .btn { min-height: 52px; }.signup__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }+/* Find us: the close, a grained band with the address over the week as a strip, tonight lifted */+.find { padding-block: var(--section-gap-s); background: var(--color-paper-2); }+.find__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); align-items: center; margin-bottom: var(--space-3xl); }+.find__text { display: grid; gap: var(--space-lg); }+.find__head h2 { font-size: var(--text-display); }+.find__where { font: 400 var(--text-title)/1.3 var(--font-display); color: var(--color-ink); }+.find__note { color: var(--color-ink-2); }+.find__photo { aspect-ratio: 16 / 10; min-height: 440px; }+.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); }+.week li { position: relative; display: grid; grid-template-rows: 1fr auto; gap: var(--space-xl); min-height: 300px; padding: var(--space-3xl) var(--space-md) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); transition: background-color var(--dur-micro) var(--ease-out); }+.week li:first-child { border-left: 0; }+.week__day { align-self: start; font: 400 var(--text-title)/1.1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }+.week__time { font-size: var(--text-lead); color: var(--color-ink-2); }+.week li.is-closed .week__day, .week li.is-closed .week__time { color: var(--color-muted); }+.week li:not(.is-closed) .week__time { display: grid; font: 400 var(--text-display-s)/0.9 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); font-variant-numeric: lining-nums; }+.week__time small { font: 500 var(--text-sm)/1.4 var(--font-body); letter-spacing: 0; color: var(--color-muted); }+.week li.is-closed .week__time { font-size: var(--text-md); }+.week li.is-today { background: var(--color-paper-3); }+.week .chip { position: absolute; top: var(--space-lg); left: var(--space-md); }+.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 600; }+/* Footer: a mast, the wordmark across the width */.footer { padding-block: var(--section-gap) var(--space-2xl); }.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }-.footer__where { color: var(--color-ink-2); }+.footer__line { font: 400 var(--text-title)/1.2 var(--font-display); color: var(--color-ink-2); }.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }.footer__links a { color: var(--color-ink); text-decoration-color: var(--color-muted); white-space: nowrap; }.footer__links a:hover { text-decoration-color: var(--color-accent); }@@ -138,23 +150,27 @@.credits a:hover { text-decoration-color: var(--color-accent); }@media (max-width: 60rem) {- .list__well { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding: var(--space-2xl) var(--space-lg) var(--space-lg); }+ .shelf__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }+ .shelf__line { padding-bottom: 0; }+ .rail { grid-auto-columns: minmax(15rem, 72%); margin-top: var(--space-xl); }+ .label { min-height: 300px; padding: var(--space-lg); }.racks__photo { aspect-ratio: 4 / 3; }.racks__over { padding-block: var(--space-2xl) var(--space-lg); }.statement { font-size: var(--text-section); }- .week__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }- .week__head { position: static; }- .week__head h2, .list__side h2 { max-width: none; }- .days th { font-size: var(--text-title); padding-left: var(--space-md); }- .days td { font-size: var(--text-md); }- .days .days__now { padding-right: var(--space-md); }- .tastings__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }- .tastings__photo { aspect-ratio: 4 / 3; }- .tastings__text { padding-left: 0; }+ .tastings__well { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding: var(--space-2xl) var(--space-lg) var(--space-lg); }+ .find__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); margin-bottom: var(--space-xl); }+ .find__photo { aspect-ratio: 4 / 3; min-height: 0; }+ .week { grid-template-columns: minmax(0, 1fr); }+ .week li { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--space-sm); grid-template-rows: auto; align-items: baseline; min-height: 0; padding: var(--space-md); border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }+ .week li:first-child { border-top: 0; }+ .week .chip { position: static; order: 2; justify-self: start; align-self: center; min-height: 28px; }+ .week__day { order: 1; }+ .week__time { order: 3; grid-column: 3; }+ .week li:not(.is-closed) .week__time { display: block; font-size: var(--text-title); }+ .week__time small { font-size: var(--text-md); color: var(--color-ink-2); }.footer__base { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }.credits { justify-self: start; text-align: left; }}@media (max-width: 40rem) {.signup__row { flex-direction: column; }- .days th { width: auto; }}diff --git a/site/themes/squeeze/index.html b/site/themes/squeeze/index.htmlindex 05b5e97..f327701 100644--- a/site/themes/squeeze/index.html+++ b/site/themes/squeeze/index.html@@ -18,10 +18,9 @@<a class="wordmark" href="#top" aria-label="Peachy, home">Peachy</a><nav aria-label="Main"><ul class="knobs" role="list">- <li><a class="knob" href="#sizes">Sizes</a></li><li><a class="knob" href="#fruit">The fruit</a></li><li><a class="knob" href="#thursdays">Thursdays</a></li>- <li><a class="knob knob--action" href="#start">Start a box</a></li>+ <li><a class="knob knob--action" href="#box">Start a box</a></li></ul></nav></div>@@ -33,10 +32,29 @@<div class="hero__text"><h1 id="hero-title">Whatever’s ripest, every Thursday.</h1><p class="lead">A weekly fruit box for London families.</p>- <div class="actions">- <a class="btn btn--primary" href="#start">Start a box</a>- <a class="btn btn--secondary" href="#sizes">See the sizes</a>- </div>+ <form class="card box" id="box" data-endpoint="" novalidate aria-labelledby="box-title">+ <h2 id="box-title" class="visually-hidden">Start your box</h2>+ <fieldset class="seg seg--4">+ <legend>Box size</legend>+ <input type="radio" name="size" id="size-0" value="Small" checked><label for="size-0">Small</label>+ <input type="radio" name="size" id="size-1" value="Medium"><label for="size-1">Medium</label>+ <input type="radio" name="size" id="size-2" value="Large"><label for="size-2">Large</label>+ <input type="radio" name="size" id="size-3" value="Extra large"><label for="size-3">Extra large</label>+ </fieldset>+ <fieldset class="seg seg--4">+ <legend>First Thursday</legend>+ <input type="radio" name="first" id="first-0" value="" checked><label for="first-0"><span class="chip__wd">Thu</span> <span class="chip__date" data-week="0">22 Oct</span></label>+ <input type="radio" name="first" id="first-1" value=""><label for="first-1"><span class="chip__wd">Thu</span> <span class="chip__date" data-week="1">29 Oct</span></label>+ <input type="radio" name="first" id="first-2" value=""><label for="first-2"><span class="chip__wd">Thu</span> <span class="chip__date" data-week="2">5 Nov</span></label>+ <input type="radio" name="first" id="first-3" value=""><label for="first-3"><span class="chip__wd">Thu</span> <span class="chip__date" data-week="3">12 Nov</span></label>+ </fieldset>+ <div class="box__foot">+ <p class="box__price"><span class="box__from">from</span> <span class="box__figure">£12</span></p>+ <button class="btn btn--primary" type="submit">Start my box</button>+ </div>+ <p class="box__sum" aria-live="polite"><span data-sum-size>Small</span> box, first one on <span data-sum-day>Thursday 22 October</span>.</p>+ <p class="box__help" id="box-help" aria-live="polite"></p>+ </form></div><figure class="photo hero__photo" data-slot="hero" data-alt="A handful of this week's ripest fruit, held out"><img src="photos/javier-shows-part-of-the-grape-harvest-in-his-lysekil-vineya-1920.jpg" width="3948" height="2534" fetchpriority="high" alt="Two hands holding out fresh-cut bunches of green grapes" style="object-position: 42% 50%">@@ -44,20 +62,12 @@</div></section>- <section class="sizes" id="sizes" aria-labelledby="sizes-title">- <div class="container sizes__grid">- <p class="sizes__figure" aria-hidden="true"><span class="sizes__from">from</span>£12</p>- <div class="sizes__text">- <h2 id="sizes-title">Four sizes, starting small.</h2>- <p class="lead">The smallest box is twelve pounds. You pick the size that fits your fruit bowl when you start.</p>- <a class="btn btn--primary" href="#start">Pick a size</a>- </div>- </div>- </section>-<section class="fruit" id="fruit" aria-labelledby="fruit-title"><div class="container">- <h2 id="fruit-title">No fixed list, just ripe fruit.</h2>+ <div class="fruit__head">+ <h2 id="fruit-title">No fixed list, just ripe fruit.</h2>+ <p class="lead">The box changes with the season, week by week.</p>+ </div><div class="bento"><figure class="photo tile tile--lead" data-slot="photo-1" data-alt="A week's fruit, heaped close"><img src="photos/alaska-wild-berries-1920.jpg" width="2401" height="1563" loading="lazy" alt="Blueberries and red cloudberries heaped together, close up" style="object-position: 50% 50%">@@ -66,69 +76,55 @@<img src="photos/winterswijk-nl-wochenmarkt-2016-4139-1920.jpg" width="5472" height="3648" loading="lazy" alt="Market crates heaped with bright oranges" style="object-position: 50% 40%"></figure><div class="tile tile--type">- <h3>Ripe goes in.</h3>- <p>If it isn’t ready this week, it waits for the next box.</p>+ <p class="tile__figure">4</p>+ <p class="tile__line">sizes, so the box fits your fruit bowl.</p></div></div></div></section>- <section class="days" id="thursdays" aria-labelledby="days-title">- <div class="container days__grid">- <div class="days__head">- <h2 id="days-title">Pick your first Thursday.</h2>- <p class="lead">We deliver across the city, once a week from then on.</p>- </div>- <fieldset class="days__list">- <legend class="visually-hidden">Your first delivery Thursday</legend>- <label class="day"><input type="radio" name="first" value="2026-10-22" checked><span class="day__wd">Thursday</span><span class="day__date">22 October</span><span class="day__pick">First box</span></label>- <label class="day"><input type="radio" name="first" value="2026-10-29"><span class="day__wd">Thursday</span><span class="day__date">29 October</span><span class="day__pick">First box</span></label>- <label class="day"><input type="radio" name="first" value="2026-11-05"><span class="day__wd">Thursday</span><span class="day__date">5 November</span><span class="day__pick">First box</span></label>- <label class="day"><input type="radio" name="first" value="2026-11-12"><span class="day__wd">Thursday</span><span class="day__date">12 November</span><span class="day__pick">First box</span></label>- </fieldset>+ <section class="promise" aria-labelledby="promise-title">+ <div class="container">+ <h2 id="promise-title" class="promise__line">If it isn’t ripe this week, it waits for the next box.</h2></div></section>- <section class="season" aria-labelledby="season-title">- <div class="container">- <div class="season__head">- <h2 id="season-title">The season packs the box.</h2>- <p class="lead">What’s ripe changes week to week, so the box does too.</p>+ <section class="terms" id="thursdays" aria-labelledby="terms-title">+ <div class="container terms__grid">+ <h2 id="terms-title" class="terms__head">How Thursdays work.</h2>+ <dl class="terms__rows">+ <div><dt>When it comes</dt><dd>Every Thursday, starting on the one you pick.</dd></div>+ <div><dt>Where we deliver</dt><dd>Across London.</dd></div>+ <div><dt>What’s inside</dt><dd>Whatever is ripest that week.</dd></div>+ <div><dt>Which size</dt><dd>One of four, chosen when you start.</dd></div>+ </dl>+ </div>+ </section>++ <section class="again" aria-labelledby="again-title">+ <div class="container again__grid">+ <p class="again__figure" aria-hidden="true"><span class="again__from">from</span>£12</p>+ <div class="again__text">+ <h2 id="again-title">Start with the next Thursday.</h2>+ <p class="lead" data-again>That is <span data-next>22 October</span>, and every Thursday after.</p>+ <a class="btn btn--primary" href="#box">Start a box</a></div>- <figure class="photo season__photo" data-slot="photo-3" data-alt="The week's fruit in crates, straight from the grower">- <img src="photos/crates-of-peaches-in-the-orchard-delta-county-colo-lccn20178-1920.jpg" width="1920" height="1352" loading="lazy" alt="Crates of ripe peaches packed in rows in an orchard shed" style="object-position: 50% 55%">- </figure></div></section></main>-<footer class="foot" id="start" aria-labelledby="start-title">+<footer class="foot"><div class="container foot__grid">- <div class="card">- <h2 id="start-title">Start your box.</h2>- <p class="card__line">Your first box comes on <strong data-first>Thursday 22 October</strong>.</p>- <form class="signup" data-endpoint="" novalidate>- <input type="hidden" name="first" value="2026-10-22" data-first-input>- <label for="email">Email address</label>- <div class="signup__row">- <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required>- <button class="btn btn--primary" type="submit">Start my box</button>- </div>- <p class="signup__help" id="email-help" aria-live="polite"></p>- </form>- </div>- <div class="foot__side">- <p class="foot__mark">Peachy</p>- <ul class="foot__links" role="list">- <li><a href="#sizes">Sizes</a></li>- <li><a href="#fruit">The fruit</a></li>- <li><a href="#thursdays">Thursdays</a></li>- </ul>- </div>+ <p class="foot__mark">Peachy</p>+ <ul class="foot__links" role="list">+ <li><a href="#fruit">The fruit</a></li>+ <li><a href="#thursdays">Thursdays</a></li>+ <li><a href="#box">Start a box</a></li>+ </ul></div><div class="container"><p class="legal">© 2026 Peachy, London</p>- <p class="credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Javier_shows_part_of_the_grape_harvest_in_his_Lysekil_vineyard_1_-_cropped.jpg">W.carter</a> (CC0), <a href="https://commons.wikimedia.org/wiki/File:Alaska_wild_berries.jpg">U.S. Fish and Wildlife Service</a> (public domain), <a href="https://commons.wikimedia.org/wiki/File:Winterswijk_(NL),_Wochenmarkt_--_2016_--_4139.jpg">Dietmar Rabich</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Crates_of_peaches_in_the_orchard,_Delta_County,_Colo._LCCN2017877605.jpg">Russell Lee</a> (public domain), all via Wikimedia Commons.</p>+ <p class="credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Javier_shows_part_of_the_grape_harvest_in_his_Lysekil_vineyard_1_-_cropped.jpg">W.carter</a> (CC0), <a href="https://commons.wikimedia.org/wiki/File:Alaska_wild_berries.jpg">U.S. Fish and Wildlife Service</a> (public domain), <a href="https://commons.wikimedia.org/wiki/File:Winterswijk_(NL),_Wochenmarkt_--_2016_--_4139.jpg">Dietmar Rabich</a> (CC BY-SA 4.0), all via Wikimedia Commons.</p></div></footer>@@ -137,32 +133,34 @@ document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete &<script>(() => {const months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];- const radios = [...document.querySelectorAll('input[name="first"][type="radio"]')];- const shown = document.querySelector('[data-first]'), hidden = document.querySelector('[data-first-input]');+ const form = document.getElementById('box');const d = new Date(); d.setHours(12, 0, 0, 0); d.setDate(d.getDate() + ((4 - d.getDay() + 7) % 7 || 7));- radios.forEach((r, i) => {+ const days = [...form.querySelectorAll('input[name="first"]')];+ days.forEach((r, i) => {const t = new Date(d); t.setDate(d.getDate() + i * 7);r.value = `${t.getFullYear()}-${String(t.getMonth() + 1).padStart(2, '0')}-${String(t.getDate()).padStart(2, '0')}`;r.dataset.label = `${t.getDate()} ${months[t.getMonth()]}`;- r.parentElement.querySelector('.day__date').textContent = r.dataset.label;+ form.querySelector(`[data-week="${i}"]`).textContent = `${t.getDate()} ${months[t.getMonth()].slice(0, 3)}`;});- const sync = () => { const r = radios.find((x) => x.checked) || radios[0]; shown.textContent = `Thursday ${r.dataset.label}`; hidden.value = r.value; };- radios.forEach((r) => r.addEventListener('change', sync));+ const sizeOut = form.querySelector('[data-sum-size]'), dayOut = form.querySelector('[data-sum-day]');+ const sync = () => {+ const r = days.find((x) => x.checked) || days[0];+ sizeOut.textContent = form.elements.size.value;+ dayOut.textContent = `Thursday ${r.dataset.label}`;+ };+ form.addEventListener('change', sync);sync();- })();- document.querySelectorAll('form[data-endpoint]').forEach((form) => {- const input = form.querySelector('input[type="email"]'), help = form.querySelector('[aria-live]');+ const next = document.querySelector('[data-next]');+ if (next) next.textContent = days[0].dataset.label;+ const help = form.querySelector('#box-help');form.addEventListener('submit', (e) => {e.preventDefault();- const ok = input.checkValidity();- input.toggleAttribute('aria-invalid', !ok);- if (!ok) { input.setAttribute('aria-describedby', help.id); help.textContent = 'That address looks incomplete. Write it as [email protected].'; input.focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: the box is not connected to a checkout yet.'; return; }fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'The next step is on its way to ' + input.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })+ .then((r) => { help.textContent = r.ok ? 'Your box is started.' : 'That did not go through. Try again in a minute.'; }).catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });});- });+ })();</script></body></html>diff --git a/site/themes/squeeze/photos/crates-of-peaches-in-the-orchard-delta-county-colo-lccn20178-1920.jpg b/site/themes/squeeze/photos/crates-of-peaches-in-the-orchard-delta-county-colo-lccn20178-1920.jpgdeleted file mode 100644index 3f3800c..0000000Binary files a/site/themes/squeeze/photos/crates-of-peaches-in-the-orchard-delta-county-colo-lccn20178-1920.jpg and /dev/null differdiff --git a/site/themes/squeeze/style.css b/site/themes/squeeze/style.cssindex 7741444..765f50c 100644--- a/site/themes/squeeze/style.css+++ b/site/themes/squeeze/style.css@@ -1,8 +1,9 @@-/* Hallmark · shape: Bento Grid · genre: playful · theme: Squeeze (by request) · v2.8 launch pass- * hero: Stage · sections: figure split on the deeper green, bento, timetable rows that choose the first Thursday, showcase · nav: dense bar of pill knobs · footer: form-first card- * imagery: photographs, library 4, natural vib=12 con=4 · photo share held near a quarter: the price and the Thursdays are set in Gabarito, not pictured+/* Hallmark · shape: Bento Grid · genre: playful · theme: Squeeze (by request) · job: buy · v2.8 launch pass+ * hero: Counter (the buy box on the one warm-white card under the head, the grapes beside it) · nav: dense bar of pill knobs, Start a box as the action · footer: mast+ * sections: hero Counter (size and first Thursday as joined chips, the price, the action), bento (two photographs and a figure tile), statement on the deeper green (the ripeness promise), plain terms as rows beside a head, the offer again (the price as the figure, the next Thursday, the action), footer mast+ * samples: the four box sizes' names (Small to Extra large) show the choice's shape; only the twelve pounds is real, so no size carries its own price+ * imagery: photographs, library 3, natural vib=12 con=4 · the price and the Thursdays are set in Gabarito, not pictured* axes: mid/geometric-sans/warm · posture: drenched · contrast: pass · fold: pass · v2.8.0 */-/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, any fruit box promises ripe fruit; the page sets the brief's own twelve pounds and Thursdays as material a visitor can use */@import url("./tokens.css");@import url("./base.css");@@ -43,14 +44,38 @@ body { color: var(--color-ink); font-weight: 500; }.photo { position: relative; margin: 0; border-radius: var(--radius-card); }.photo > img { border-radius: inherit; }-/* Hero: Stage, the strawberries held out and running off the right edge */+/* Hero: Counter, the head over the buy box on the warm-white card, the grapes beside it */.hero { display: grid; align-items: center; min-height: calc(100dvh - var(--bar-h)); padding-block: var(--space-xl); }.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.hero__text { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }-.hero__text h1 { max-width: none; font-size: clamp(2.75rem, 4.6vw + 0.5rem, 4.75rem); }+.hero__text { grid-column: 1 / span 6; display: grid; gap: var(--space-md); }+.hero__text h1 { max-width: none; font-size: clamp(2.75rem, 4.2vw + 0.5rem, 4.5rem); }.hero__text .lead { max-width: 30ch; color: var(--color-muted); }-.hero__text .actions { margin-top: var(--space-sm); }-.hero__photo { grid-column: 7 / -1; margin-right: calc(-1 * var(--gutter)); aspect-ratio: 11 / 10; max-height: calc(100dvh - var(--bar-h) - var(--space-3xl)); border-radius: var(--radius-card) 0 0 var(--radius-card); }+.hero__photo { grid-column: 7 / -1; margin-right: calc(-1 * var(--gutter)); height: min(calc(100dvh - var(--bar-h) - var(--space-3xl)), 780px); min-height: 520px; border-radius: var(--radius-card) 0 0 var(--radius-card); }+.hero__photo > img { object-position: 30% 50% !important; }++/* The buy box: the one warm-white card */+.card { background: var(--color-card); color: var(--color-card-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }+.box { display: grid; gap: var(--space-lg); margin-top: var(--space-md); padding: var(--space-xl); }+.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border: 0; min-width: 0; }+.seg legend { padding: 0; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 700; color: var(--color-card-ink); }+.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }+.seg label { display: flex; align-items: center; justify-content: center; gap: 0.3em; min-height: 52px; padding: 0 var(--space-sm); border: var(--rule-bar) solid color-mix(in oklab, var(--color-card-ink) 22%, var(--color-card)); margin-left: calc(-1 * var(--rule-bar)); font-weight: 700; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }+.seg label:first-of-type { margin-left: 0; border-radius: var(--radius-control) 0 0 var(--radius-control); }+.seg label:last-of-type { border-radius: 0 var(--radius-control) var(--radius-control) 0; }+.seg label:hover { background: color-mix(in oklab, var(--color-card-ink) 6%, var(--color-card)); }+.seg label:active { transform: translateY(1px); }+.seg input:checked + label { position: relative; z-index: 1; background: var(--color-accent); border-color: var(--color-accent-ink); color: var(--color-accent-ink); }+.seg input:focus-visible + label { position: relative; z-index: 2; outline: 3px solid var(--color-card-ink); outline-offset: 2px; }+.chip__wd { font-weight: 500; color: color-mix(in oklab, var(--color-card-ink) 70%, var(--color-card)); }+.seg input:checked + label .chip__wd { color: var(--color-accent-ink); }+.box__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-card-ink) 18%, var(--color-card)); }+.box__price { display: flex; align-items: baseline; gap: var(--space-xs); }+.box__from { font-weight: 700; }+.box__figure { font: var(--display-weight) var(--text-section)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }+.box .btn { min-width: 12rem; }+.box .btn:focus-visible { outline-color: var(--color-card-ink); }+.box__sum { font-size: var(--text-sm); margin-top: calc(-1 * var(--space-sm)); }+.box__help { min-height: 1lh; margin-top: calc(-1 * var(--space-md)); font-size: var(--text-sm); font-weight: 700; }@media (min-width: 90.0625rem) {.hero__photo { margin-right: 0; border-radius: var(--radius-card); }@@ -60,108 +85,86 @@ body { color: var(--color-ink); font-weight: 500; }.hero { min-height: 0; padding-block: var(--space-2xl); }.hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }.hero__text, .hero__photo { grid-column: 1; }- .hero__photo { margin-right: 0; max-height: none; border-radius: var(--radius-card); }+ .hero__photo { margin-right: 0; height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); }}/* Sections: the theme's three gaps, mixed */section h2 { font-size: var(--text-section); }-/* Sizes: the price set as the figure, on the deeper green band */-.sizes { padding-block: var(--section-gap-s); background: var(--color-paper-3); }-.sizes__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }-.sizes__figure { grid-column: 1 / span 7; position: relative; margin: 0; font: var(--display-weight) clamp(8rem, 28vw, 26rem)/0.8 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: lining-nums tabular-nums; color: var(--color-ink); white-space: nowrap; }-.sizes__from { display: block; margin-bottom: var(--space-md); font: 700 var(--text-lead)/1 var(--font-body); letter-spacing: 0; color: var(--color-muted); }-.sizes__text { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); justify-items: start; padding-bottom: var(--space-md); }-.sizes__text .lead { color: var(--color-muted); max-width: 30ch; }-/* The fruit: the stall, two photographs and one tile of type */.fruit { padding-top: var(--section-gap); }-.fruit h2 { margin-bottom: var(--space-2xl); }+.fruit__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }+.fruit__head h2 { grid-column: 1 / span 7; }+.fruit__head .lead { grid-column: 8 / span 5; color: var(--color-muted); }.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 320px); gap: var(--gap-columns); }.tile { margin: 0; border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }.tile--lead { grid-column: 1 / span 7; grid-row: 1 / span 2; }.tile--a { grid-column: 8 / span 5; grid-row: 1; }-.tile--type { grid-column: 8 / span 5; grid-row: 2; display: grid; align-content: end; gap: var(--space-sm); padding: var(--space-xl); }-.tile--type h3 { max-width: none; font-size: var(--text-section); line-height: 1; }-.tile--type p { color: var(--color-muted); font-size: var(--text-lead); max-width: 28ch; }+.tile--type { grid-column: 8 / span 5; grid-row: 2; display: grid; align-content: space-between; gap: var(--space-sm); padding: var(--space-xl); }+.tile__figure { font: var(--display-weight) clamp(6rem, 10vw, 10rem)/0.8 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: lining-nums; color: var(--color-ink); }+.tile__line { color: var(--color-ink); font: var(--display-weight) var(--text-2xl)/1.05 var(--font-display); letter-spacing: var(--tracking-display); max-width: 14ch; }++/* The promise: one sentence on the deeper green band */+.promise { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-3); }+.promise__line { max-width: 18ch; font-size: var(--text-display); line-height: 1; }-/* Thursdays: the timetable as rows that choose the first box */-.days { padding-top: var(--section-gap-l); }-.days__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }-.days__head { grid-column: 1 / span 4; display: grid; gap: var(--space-lg); position: sticky; top: calc(var(--bar-h) + var(--space-xl)); }-.days__head .lead { color: var(--color-muted); }-.days__list { grid-column: 5 / -1; display: grid; margin: 0; padding: 0; border: 0; min-width: 0; }-.day { position: relative; display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-lg); min-height: 120px; padding: var(--space-md) var(--space-xl); border-radius: var(--radius-card); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }-.day + .day { margin-top: var(--space-xs); }-.day + .day::before { content: ""; position: absolute; inset-inline: var(--space-xl); top: calc(-1 * var(--space-2xs) - 1px); border-top: var(--rule-hair) solid var(--color-rule); }-.day:hover { background: var(--color-paper-2); }-.day:has(:checked) { background: var(--color-paper-3); box-shadow: inset 0 0 0 3px var(--color-accent); }-.day:has(:checked)::before, .day:has(:checked) + .day::before { opacity: 0; }-.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }-.day:has(:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }-.day__wd { font-size: var(--text-md); font-weight: 700; color: var(--color-muted); }-.day__date { font: var(--display-weight) var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: lining-nums tabular-nums; color: var(--color-ink); }-.day__pick { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-md); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }-.day:has(:checked) .day__pick { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }-.day:not(:has(:checked)) .day__pick { visibility: hidden; }-.day:not(:has(:checked)):hover .day__pick { visibility: visible; }+/* Plain terms: Gabarito titles beside Manrope answers, hair rules between */+.terms { padding-top: var(--section-gap); }+.terms__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }+.terms__head { grid-column: 1 / span 4; max-width: 8ch; position: sticky; top: calc(var(--bar-h) + var(--space-xl)); }+.terms__rows { grid-column: 5 / -1; margin: 0; border-top: var(--rule-bar) solid var(--color-rule); }+.terms__rows > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }+.terms__rows dt { font: var(--display-weight) var(--text-2xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }+.terms__rows dd { margin: 0; font-size: var(--text-lead); color: var(--color-muted); }-/* The season: one photograph across the grid, the head split above it */-.season { padding-top: var(--section-gap-l); }-.season__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }-.season__head h2 { grid-column: 1 / span 6; }-.season__head .lead { grid-column: 8 / span 5; color: var(--color-muted); }-.season__photo { aspect-ratio: 21 / 9; }+/* The offer again: the price as the figure on the lighter green, the next Thursday, the action */+.again { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); }+.again__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }+.again__figure { grid-column: 1 / span 7; margin: 0; font: var(--display-weight) clamp(8rem, 26vw, 24rem)/0.8 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: lining-nums tabular-nums; color: var(--color-ink); white-space: nowrap; }+.again__from { display: block; margin-bottom: var(--space-md); font: 700 var(--text-lead)/1 var(--font-body); letter-spacing: 0; color: var(--color-muted); }+.again__text { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); justify-items: start; padding-bottom: var(--space-md); }+.again__text .lead { color: var(--color-muted); max-width: 30ch; }+.again__text .lead span { color: var(--color-ink); font-weight: 700; }-/* Footer, form first: the one warm-white card leads */+/* Footer: a mast, the wordmark large over the links */.foot { padding-block: var(--section-gap) var(--space-2xl); }-.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }-.card { grid-column: 1 / span 7; display: grid; gap: var(--space-md); padding: var(--space-2xl); border-radius: var(--radius-card); background: var(--color-card); color: var(--color-card-ink); box-shadow: var(--shadow-card); }-.card h2 { font-size: var(--text-section); color: var(--color-card-ink); }-.card__line { color: var(--color-card-ink); font-size: var(--text-lead); max-width: 34ch; }-.card__line strong { font-weight: 700; }-.signup { display: grid; gap: var(--space-xs); margin-top: var(--space-sm); }-.signup label { font-size: var(--text-sm); font-weight: 700; color: var(--color-card-ink); }-.signup__row { display: flex; gap: var(--space-xs); }-.signup input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-control); background: var(--color-card); color: var(--color-card-ink); outline: 3px solid transparent; outline-offset: 2px; }-.signup input:hover { border-color: var(--color-paper); }-.signup input:focus-visible { outline-color: var(--color-card-ink); }-.signup input[aria-invalid] { border-color: var(--color-error); }-.signup input:disabled { opacity: 0.55; cursor: not-allowed; }-.card .btn:focus-visible { outline-color: var(--color-card-ink); }-.signup__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-card-ink); }-.foot__side { grid-column: 9 / span 4; display: grid; gap: var(--space-lg); }-.foot__mark { font: var(--display-weight) var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }-.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }+.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-lg); }+.foot__mark { font: var(--display-weight) clamp(5rem, 16vw, 15rem)/0.82 var(--font-display); letter-spacing: -0.04em; color: var(--color-ink); }+.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0 0 var(--space-md); padding: 0; list-style: none; }.foot__links a { color: var(--color-ink); font-weight: 700; text-decoration-color: var(--color-muted); text-underline-offset: 0.2em; white-space: nowrap; }.foot__links a:hover { text-decoration-color: var(--color-accent); }.foot__links a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }.credits { margin-top: var(--space-sm); max-width: 120ch; font-size: var(--text-sm); line-height: 1.6; color: var(--color-muted); }.credits a { color: inherit; text-decoration-color: color-mix(in oklab, var(--color-muted) 50%, transparent); text-underline-offset: 0.2em; }.credits a:hover { color: var(--color-ink); }-.legal { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }+.legal { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }@media (max-width: 60rem) {- .sizes__grid, .days__grid, .season__head, .foot__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }- .sizes__figure, .sizes__text, .days__head, .days__list, .season__head h2, .season__head .lead, .card, .foot__side { grid-column: 1; }- .sizes__figure { font-size: clamp(7rem, 34vw, 14rem); }- .days__head { position: static; }- .season__head { row-gap: var(--space-md); }+ .fruit__head, .terms__grid, .again__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }+ .fruit__head h2, .fruit__head .lead, .terms__head, .terms__rows, .again__figure, .again__text { grid-column: 1; }+ .terms__head { position: static; max-width: none; margin-bottom: var(--space-lg); }+ .again__figure { font-size: clamp(7rem, 34vw, 14rem); }+ .again__grid { row-gap: var(--space-xl); }+ .promise__line { font-size: var(--text-section); }.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 240px; }.tile--lead { grid-column: 1 / -1; grid-row: span 2; }.tile--a, .tile--type { grid-column: span 1; grid-row: auto; }.tile--type { padding: var(--space-lg); }- .tile--type h3 { font-size: var(--text-2xl); }- .season__photo { aspect-ratio: 4 / 3; }- .card { padding: var(--space-lg); }+ .box { padding: var(--space-lg); }}@media (max-width: 40rem) {.bento { grid-template-columns: minmax(0, 1fr); }.tile--a, .tile--type { grid-column: 1; }- .day { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; min-height: 96px; padding: var(--space-md) var(--space-lg); row-gap: var(--space-2xs); }- .day__wd { grid-column: 1; grid-row: 1; }- .day__date { grid-column: 1; grid-row: 2; font-size: var(--text-xl); white-space: nowrap; }- .day__pick { grid-column: 2; grid-row: 1 / span 2; }- .day + .day::before { inset-inline: var(--space-lg); }- .signup__row { flex-direction: column; }+ .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .seg label { margin-left: 0; margin-top: calc(-1 * var(--rule-bar)); }+ .seg label:nth-of-type(2n) { margin-left: calc(-1 * var(--rule-bar)); }+ .seg label:nth-of-type(-n + 2) { margin-top: 0; }+ .seg label:first-of-type { border-radius: var(--radius-control) 0 0 0; }+ .seg label:nth-of-type(2) { border-radius: 0 var(--radius-control) 0 0; }+ .seg label:nth-of-type(3) { border-radius: 0 0 0 var(--radius-control); }+ .seg label:last-of-type { border-radius: 0 0 var(--radius-control) 0; }+ .box__foot { flex-wrap: wrap; }+ .box .btn { flex: 1 1 100%; }+ .terms__rows > div { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); padding-block: var(--space-lg); }+ .foot__grid { display: grid; }}diff --git a/site/themes/vellum/index.html b/site/themes/vellum/index.htmlindex ade7adc..83d70a7 100644--- a/site/themes/vellum/index.html+++ b/site/themes/vellum/index.html@@ -30,9 +30,9 @@<div class="container hero__inner"><div class="plate fibre"><h1 id="hero-h">Roasted in York<br> since 1921</h1>- <p class="lead">Six coffees a week, sold by the bag or by subscription.</p>+ <p class="lead">Six coffees a week, sold in 250 g bags or by subscription.</p><div class="actions">- <a class="btn btn--primary" href="#order" data-kind="sub">Start a subscription</a>+ <a class="btn btn--primary" href="#order">Order a bag</a><a class="btn" href="#week">See this week’s six</a></div></div>@@ -43,20 +43,20 @@<div class="container"><div class="split week__head"><h2 id="week-h">This week’s six</h2>- <p class="lead">Buy any of them by the bag, or by subscription.</p>+ <p class="lead">Roasted this week in York. Choose a row to order it.</p></div><div class="ledger-wrap"><table class="ledger"><thead>- <tr><th scope="col" class="idx">No.</th><th scope="col">Coffee</th><th scope="col">Process</th><th scope="col">Roast</th><th scope="col" class="r">Brew it for</th></tr>+ <tr><th scope="col" class="idx">No.</th><th scope="col">Coffee</th><th scope="col">Process</th><th scope="col">Roast</th><th scope="col">Brew it for</th><th scope="col" class="r"><span class="visually-hidden">Order</span></th></tr></thead><tbody>- <tr><td class="idx">1</td><th scope="row">Yirgacheffe, Ethiopia</th><td>Washed</td><td>Light</td><td class="r">Filter</td></tr>- <tr><td class="idx">2</td><th scope="row">Huila, Colombia</th><td>Washed</td><td>Medium</td><td class="r">Filter</td></tr>- <tr><td class="idx">3</td><th scope="row">Cerrado, Brazil</th><td>Natural</td><td>Medium</td><td class="r">Espresso</td></tr>- <tr><td class="idx">4</td><th scope="row">Antigua, Guatemala</th><td>Washed</td><td>Medium</td><td class="r">Filter</td></tr>- <tr><td class="idx">5</td><th scope="row">Kiambu, Kenya</th><td>Washed</td><td>Light</td><td class="r">Filter</td></tr>- <tr><td class="idx">6</td><th scope="row">The York blend</th><td>Washed and natural</td><td>Dark</td><td class="r">Espresso</td></tr>+ <tr><td class="idx">1</td><th scope="row">Yirgacheffe, Ethiopia</th><td>Washed</td><td>Light</td><td>Filter</td><td class="r"><a class="pick" href="#order" data-coffee="1">Order<span class="visually-hidden"> Yirgacheffe, Ethiopia</span></a></td></tr>+ <tr><td class="idx">2</td><th scope="row">Huila, Colombia</th><td>Washed</td><td>Medium</td><td>Filter</td><td class="r"><a class="pick" href="#order" data-coffee="2">Order<span class="visually-hidden"> Huila, Colombia</span></a></td></tr>+ <tr><td class="idx">3</td><th scope="row">Cerrado, Brazil</th><td>Natural</td><td>Medium</td><td>Espresso</td><td class="r"><a class="pick" href="#order" data-coffee="3">Order<span class="visually-hidden"> Cerrado, Brazil</span></a></td></tr>+ <tr><td class="idx">4</td><th scope="row">Antigua, Guatemala</th><td>Washed</td><td>Medium</td><td>Filter</td><td class="r"><a class="pick" href="#order" data-coffee="4">Order<span class="visually-hidden"> Antigua, Guatemala</span></a></td></tr>+ <tr><td class="idx">5</td><th scope="row">Kiambu, Kenya</th><td>Washed</td><td>Light</td><td>Filter</td><td class="r"><a class="pick" href="#order" data-coffee="5">Order<span class="visually-hidden"> Kiambu, Kenya</span></a></td></tr>+ <tr><td class="idx">6</td><th scope="row">The York blend</th><td>Washed and natural</td><td>Dark</td><td>Espresso</td><td class="r"><a class="pick" href="#order" data-coffee="6">Order<span class="visually-hidden"> The York blend</span></a></td></tr></tbody></table></div>@@ -71,25 +71,24 @@</figure><div class="drum__text"><h2 id="drum-h">Every bag roasted in York</h2>- <p class="lead">The week’s six go through the drum here before they are bagged.</p>+ <p class="lead">The week’s six go through the drum here, then into their bags.</p><dl class="facts"><div><dt>Roastery</dt><dd>York</dd></div><div><dt>Roasting since</dt><dd>1921</dd></div>- <div><dt>Coffees each week</dt><dd>Six, listed above</dd></div>+ <div><dt>Each week</dt><dd>Six coffees, listed above</dd></div></dl></div></div></section>- <section class="house band fibre" aria-labelledby="house-h">+ <section class="ways band fibre" aria-labelledby="ways-h"><div class="container">- <h2 id="house-h" class="visually-hidden">The house in figures</h2>- <p class="statement">A York roastery that keeps to six coffees a week, and sells every one by the bag.</p>- <dl class="figures">- <div><dt>Roasting in York since</dt><dd>1921</dd></div>- <div><dt>Coffees roasted each week</dt><dd>6</dd></div>- <div><dt>In every bag</dt><dd>250 g</dd></div>- </dl>+ <p class="statement">Two ways to buy, and the same six coffees either way.</p>+ <h2 id="ways-h" class="visually-hidden">Ways to buy</h2>+ <ol class="ways__rows" role="list">+ <li><h3 class="ways__title">By the bag</h3><p>One bag of any of the week’s six, or two, or three.</p><a class="ways__go" href="#order" data-kind="bag">Order a bag</a></li>+ <li><h3 class="ways__title">By subscription</h3><p>The same bags, sent on a rhythm you choose.</p><a class="ways__go" href="#order" data-kind="subscription">Start one</a></li>+ </ol></div></section>@@ -99,10 +98,6 @@<h2 id="cup-h">From the sack to the cup</h2><p class="lead">Green coffee goes in, the week’s six come out, and the brewing is yours.</p></div>- <figure class="photo cup__wide" data-slot="shop" data-alt="The roastery’s shop counter, the week’s coffees in their bins">- <img src="photos/dulmen-privatrosterei-schroer-2018-0553-1920.jpg" width="1920" height="1280" loading="lazy"- alt="A wall of brass scoop bins filled with roasted coffee" style="object-position: 45% 55%">- </figure><div class="split cup__pair"><figure class="cup__a"><div class="photo" data-slot="green" data-alt="Green coffee in its sack before roasting">@@ -112,7 +107,7 @@<figcaption>Green coffee, before the drum</figcaption></figure><figure class="cup__b">- <div class="photo" data-slot="cup" data-alt="A cup of the week’s coffee at the counter">+ <div class="photo" data-slot="cup" data-alt="A cup of the week’s coffee"><img src="photos/espresso-coffee-pouring-from-retro-espresso-machine-1920.jpg" width="1920" height="2876" loading="lazy"alt="Espresso streaming from a chrome machine into two glass cups" style="object-position: 50% 62%"></div>@@ -126,42 +121,52 @@<div class="container"><form class="split order" data-endpoint="" novalidate><div class="order__text">- <h2 id="order-h">250 g bags, or a subscription</h2>- <fieldset class="cells" data-group="kind">- <legend>How you buy</legend>- <div class="cells__row cells__row--2">- <input type="radio" name="kind" id="kind-bag" value="bag" checked><label for="kind-bag">One bag</label>- <input type="radio" name="kind" id="kind-sub" value="subscription"><label for="kind-sub">A subscription</label>- </div>- </fieldset>- <fieldset class="cells" data-group="bags">- <legend>Bags each time</legend>+ <h2 id="order-h">Order from this week</h2>+ <fieldset class="cells" data-group="coffee">+ <legend>Coffee</legend><div class="cells__row cells__row--3">- <input type="radio" name="bags" id="bags-1" value="1" checked><label for="bags-1">1</label>- <input type="radio" name="bags" id="bags-2" value="2"><label for="bags-2">2</label>- <input type="radio" name="bags" id="bags-3" value="3"><label for="bags-3">3</label>+ <input type="radio" name="coffee" id="coffee-1" value="Yirgacheffe, Ethiopia" checked><label for="coffee-1"><span class="cells__no">1</span> Yirgacheffe</label>+ <input type="radio" name="coffee" id="coffee-2" value="Huila, Colombia"><label for="coffee-2"><span class="cells__no">2</span> Huila</label>+ <input type="radio" name="coffee" id="coffee-3" value="Cerrado, Brazil"><label for="coffee-3"><span class="cells__no">3</span> Cerrado</label>+ <input type="radio" name="coffee" id="coffee-4" value="Antigua, Guatemala"><label for="coffee-4"><span class="cells__no">4</span> Antigua</label>+ <input type="radio" name="coffee" id="coffee-5" value="Kiambu, Kenya"><label for="coffee-5"><span class="cells__no">5</span> Kiambu</label>+ <input type="radio" name="coffee" id="coffee-6" value="The York blend"><label for="coffee-6"><span class="cells__no">6</span> York blend</label></div></fieldset>- <fieldset class="cells" data-group="often" disabled>- <legend>How often</legend>- <div class="cells__row cells__row--3">- <input type="radio" name="often" id="often-w" value="every week" checked><label for="often-w">Weekly</label>- <input type="radio" name="often" id="often-f" value="every fortnight"><label for="often-f">Fortnightly</label>- <input type="radio" name="often" id="often-m" value="every month"><label for="often-m">Monthly</label>+ <fieldset class="cells" data-group="kind">+ <legend>How you buy</legend>+ <div class="cells__row cells__row--2">+ <input type="radio" name="kind" id="kind-bag" value="bag" checked><label for="kind-bag">By the bag</label>+ <input type="radio" name="kind" id="kind-sub" value="subscription"><label for="kind-sub">By subscription</label></div></fieldset>- </div>- <div class="order__fields">- <p class="tally" aria-live="polite"><span class="tally__g">250 g</span> <span class="tally__when">once</span></p>- <div class="field">- <label for="order-name">Full name</label>- <input id="order-name" name="name" type="text" autocomplete="name" required>- </div>- <div class="field">- <label for="order-email">Email address</label>- <input id="order-email" name="email" type="email" autocomplete="email" inputmode="email" required>+ <div class="cells__pair">+ <fieldset class="cells" data-group="bags">+ <legend>Bags each time</legend>+ <div class="cells__row cells__row--3">+ <input type="radio" name="bags" id="bags-1" value="1" checked><label for="bags-1">1</label>+ <input type="radio" name="bags" id="bags-2" value="2"><label for="bags-2">2</label>+ <input type="radio" name="bags" id="bags-3" value="3"><label for="bags-3">3</label>+ </div>+ </fieldset>+ <fieldset class="cells" data-group="often" disabled>+ <legend>How often</legend>+ <div class="cells__row cells__row--3">+ <input type="radio" name="often" id="often-w" value="every week" checked><label for="often-w">Weekly</label>+ <input type="radio" name="often" id="often-f" value="every fortnight"><label for="often-f">Fortnightly</label>+ <input type="radio" name="often" id="often-m" value="every month"><label for="often-m">Monthly</label>+ </div>+ </fieldset></div>- <button class="btn btn--on-field" type="submit">Send the order</button>+ </div>+ <div class="order__sum">+ <p class="order__label">Your order</p>+ <p class="tally" aria-live="polite"><span class="tally__g">250 g</span> <span class="tally__of">of <span class="tally__coffee">Yirgacheffe, Ethiopia</span></span> <span class="tally__when">once</span></p>+ <dl class="order__terms">+ <div><dt>Bag</dt><dd>250 g, roasted in York</dd></div>+ <div><dt>Price</dt><dd><span class="fill" data-fill="price">price to come</span></dd></div>+ </dl>+ <button class="btn btn--on-field" type="submit">Place the order</button><p class="help" id="order-help" aria-live="polite"></p></div></form>@@ -169,6 +174,13 @@</section></main>+<aside class="buybar" aria-label="Order" hidden>+ <div class="container buybar__inner">+ <p class="buybar__text"><span class="buybar__name">This week’s six</span> <span class="buybar__terms">by the bag, or by subscription</span></p>+ <a class="btn btn--primary" href="#order">Order a bag</a>+ </div>+</aside>+<footer class="letter"><div class="container letter__inner"><p class="letter__sign">With thanks from the roastery,</p>@@ -180,7 +192,7 @@<a href="#order">Order</a></nav><p class="legal">York, since 1921</p>- <p class="letter__credit" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Cooling_time_for_coffee.jpg">Jameswasswa</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Coffee_roasting_machine,_The_Roastery,_Coaltown_Coffee,_Ammanford,_Wales.jpg">Vouliagmeni</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:D%C3%BClmen,_Privatr%C3%B6sterei_Schr%C3%B6er_--_2018_--_0553.jpg">Dietmar Rabich</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Green_Bean_Coffee.jpg">DeaPeaJay</a> (CC BY-SA 2.0), <a href="https://commons.wikimedia.org/wiki/File:Espresso_coffee_pouring_from_retro_espresso_machine.jpg">Shixart1985</a> (CC BY 2.0), all on Wikimedia Commons.</p>+ <p class="letter__credit" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Cooling_time_for_coffee.jpg">Jameswasswa</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Coffee_roasting_machine,_The_Roastery,_Coaltown_Coffee,_Ammanford,_Wales.jpg">Vouliagmeni</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Green_Bean_Coffee.jpg">DeaPeaJay</a> (CC BY-SA 2.0), <a href="https://commons.wikimedia.org/wiki/File:Espresso_coffee_pouring_from_retro_espresso_machine.jpg">Shixart1985</a> (CC BY 2.0), all on Wikimedia Commons.</p></div></div></footer>@@ -191,29 +203,37 @@ document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete &(() => {const form = document.querySelector('form.order');const often = form.querySelector('[data-group="often"]');- const g = form.querySelector('.tally__g'), when = form.querySelector('.tally__when');+ const g = form.querySelector('.tally__g'), when = form.querySelector('.tally__when'), coffee = form.querySelector('.tally__coffee');+ const submit = form.querySelector('button[type="submit"]');const tally = () => {const sub = form.elements.kind.value === 'subscription';often.disabled = !sub;const grams = 250 * Number(form.elements.bags.value);- g.textContent = grams >= 1000 ? `${grams / 1000} kg` : `${grams} g`;+ g.textContent = grams >= 1000 ? `${grams / 1000} kg` : `${grams} g`;+ coffee.textContent = form.elements.coffee.value;when.textContent = sub ? form.elements.often.value : 'once';+ submit.textContent = sub ? 'Start the subscription' : 'Place the order';};form.addEventListener('change', tally);- document.querySelectorAll('[data-kind="sub"]').forEach((a) => a.addEventListener('click', () => { form.elements.kind.value = 'subscription'; tally(); }));+ document.querySelectorAll('[data-kind]').forEach((a) => a.addEventListener('click', () => { form.elements.kind.value = a.dataset.kind; tally(); }));+ document.querySelectorAll('[data-coffee]').forEach((a) => a.addEventListener('click', () => { form.elements.coffee.value = form.querySelector(`#coffee-${a.dataset.coffee}`).value; tally(); }));tally();const help = form.querySelector('#order-help');- const fields = [...form.querySelectorAll('input[required]')];form.addEventListener('submit', (e) => {e.preventDefault();- const bad = fields.filter((i) => !i.checkValidity());- fields.forEach((i) => { i.toggleAttribute('aria-invalid', bad.includes(i)); if (bad.includes(i)) i.setAttribute('aria-describedby', help.id); else i.removeAttribute('aria-describedby'); });- if (bad.length) { help.textContent = bad[0].type === 'email' ? 'That email address looks incomplete. Write it as [email protected].' : 'Add your name, so the roastery knows who the coffee is for.'; bad[0].focus(); return; }- if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }+ if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: the order is not connected to a shop yet.'; return; }fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })- .then((r) => { help.textContent = r.ok ? 'The roastery has your order and will write to ' + form.elements.email.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })+ .then((r) => { help.textContent = r.ok ? 'The roastery has your order.' : 'That did not go through. Try again in a minute.'; }).catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });});+ const bar = document.querySelector('.buybar'), hero = document.querySelector('.hero'), order = document.getElementById('order');+ if (bar && 'IntersectionObserver' in window) {+ bar.hidden = false;+ const seen = { hero: true, order: false };+ const sync = () => bar.classList.toggle('is-up', !seen.hero && !seen.order);+ new IntersectionObserver(([e]) => { seen.hero = e.isIntersecting; sync(); }).observe(hero);+ new IntersectionObserver(([e]) => { seen.order = e.isIntersecting; sync(); }, { rootMargin: '0px 0px -20% 0px' }).observe(order);+ }})();</script></body>diff --git a/site/themes/vellum/photos/dulmen-privatrosterei-schroer-2018-0553-1920.jpg b/site/themes/vellum/photos/dulmen-privatrosterei-schroer-2018-0553-1920.jpgdeleted file mode 100644index dfa45f2..0000000Binary files a/site/themes/vellum/photos/dulmen-privatrosterei-schroer-2018-0553-1920.jpg and /dev/null differdiff --git a/site/themes/vellum/style.css b/site/themes/vellum/style.cssindex 7110e57..fb9de35 100644--- a/site/themes/vellum/style.css+++ b/site/themes/vellum/style.css@@ -1,7 +1,8 @@-/* Hallmark · shape: Trade Ledger (custom: the roast as a Poster, the week's six as a day book, the drum beside its facts, the house as a statement with its figures on the fibre band, sack to cup as a spread, the order and its running tally on the pigment) · genre: editorial · theme: Vellum (by request)- * hero: Poster · nav: masthead, the blackletter wordmark centred over a double rule, one link at each end · footer: letter close · imagery: photographs, library 5, warm con=6 · sample: the six coffees in the day book are stand-ins for the week's list · vellum: parchment+/* Hallmark · shape: Trade Ledger (custom: the roast as a Poster, the week's six as a day book you order from, the drum beside its facts, two ways to buy on the fibre band, sack to cup as a pair, the order as the Offer on the pigment) · genre: editorial · theme: Vellum (by request) · job: buy+ * hero: Poster · nav: masthead, the blackletter wordmark centred over a double rule, one link at each end · sticky: a buy bar after the hero, gone over the order · footer: letter close · imagery: photographs, library 4, warm con=6 · vellum: parchment+ * sections: hero Poster, Table (the day book, an Order link on every row that fills the order), Split (the drum beside three ruled facts), Rows on the fibre band (a statement, then the two ways to buy), Showcase pair at 7 and 5 (sack and cup), Offer on the pigment (coffee, way, bags and rhythm as joined cells, the running answer, the price slot, the action), footer letter close+ * samples: the six coffees in the day book and the order are stand-ins for the week's list; the subscription's three rhythms show the shape of the choice; the price waits on the owner* axes: light/blackletter/cool · posture: committed · contrast: pass · fold: pass · v2.8.0 */-/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: S, the brief gives few facts, so the week's six are named stand-ins and the house's three numbers are set once, large, rather than echoed in every section *//* Hallmark · answered F4 · the order field inverts the primary to parchment on pigment, as the theme's own hint sets it for its one field */@import url("./tokens.css");@import url("./base.css");@@ -68,13 +69,19 @@ figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--fon.ledger td, .ledger tbody th { height: 72px; padding: 0 var(--space-md) 0 0; border-top: var(--rule-hair) solid var(--color-rule); vertical-align: middle; color: var(--color-ink-2); }.ledger tbody tr:first-child > * { border-top: 0; }.ledger tbody tr:last-child > * { border-bottom: var(--rule-hair) solid var(--color-ink); }-.ledger tbody th { width: 40%; font: 600 var(--text-title)/1.2 var(--font-body); color: var(--color-ink); text-align: left; }+.ledger tbody th { width: 34%; font: 600 var(--text-title)/1.2 var(--font-body); color: var(--color-ink); text-align: left; }.ledger .idx { width: 4.5rem; }.ledger td.idx { padding-left: var(--space-xs); font: 600 var(--text-title)/1 var(--font-body); color: var(--color-accent); font-variant-numeric: tabular-nums; }.ledger .r { text-align: right; padding-right: var(--space-xs); }.ledger .num { font-variant-numeric: tabular-nums; color: var(--color-ink); }.ledger tbody tr { transition: background-color var(--dur-micro) var(--ease-out); }.ledger tbody tr:hover { background: var(--color-accent-soft); }+.ledger tbody tr:has(.pick:focus-visible) { background: var(--color-accent-soft); }+.pick { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-card); font: 500 var(--text-sm)/1 var(--font-body); color: var(--color-ink); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }+.ledger tbody tr:hover .pick { border-color: var(--color-accent); color: var(--color-accent); }+.pick:hover { background: var(--color-accent); color: var(--color-accent-ink) !important; }+.pick:active { transform: translateY(1px); }+.pick:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }/* The drum: the photograph on the left, the facts beside it */.drum { padding-top: var(--section-gap-l); padding-bottom: var(--section-gap); }@@ -87,26 +94,27 @@ figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--fon.facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }.facts dd { margin: 0; font-size: var(--text-lg); font-weight: 500; color: var(--color-ink); }-/* The house: one sentence in Grenze, its three figures in the gothic, on the fibre band */-.house { border-top: var(--rule-double) double var(--color-ink); }+/* Two ways to buy: one sentence in Grenze, then the ways as an index in the gothic, on the fibre band */+.ways { border-top: var(--rule-double) double var(--color-ink); }.statement { max-width: calc(10 / 12 * 100%); font: 400 clamp(2.5rem, 4vw + 1rem, 5.25rem)/1.02 var(--font-outlier); letter-spacing: -0.01em; color: var(--color-ink); text-wrap: balance; }-.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-3xl) 0 0; border-top: var(--rule-hair) solid var(--color-ink); }-.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-sm); padding: var(--space-xl) var(--space-xl) 0; border-left: var(--rule-hair) solid var(--color-rule); }-.figures > div:first-child { padding-left: 0; border-left: 0; }-.figures dd { margin: 0; font: 600 clamp(4rem, 6vw + 1rem, 7.5rem)/0.9 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-accent); font-variant-numeric: lining-nums; }-.figures dt { font-size: var(--text-md); font-weight: 500; color: var(--color-ink-2); }+.ways__rows { margin: var(--space-3xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }+.ways__rows li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }+.ways__title { grid-column: 1 / span 5; font: 600 var(--text-section)/0.92 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }+.ways__rows p { grid-column: 6 / span 5; font-size: var(--text-lead); color: var(--color-ink-2); max-width: 34ch; }+.ways__go { grid-column: 11 / span 2; justify-self: end; font: 600 var(--text-md)/1 var(--font-body); color: var(--color-ink); text-decoration: underline 1px; text-decoration-color: var(--color-rule); text-underline-offset: 0.3em; white-space: nowrap; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-micro) var(--ease-out); }+.ways__go:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }+.ways__go:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }/* Sack to cup: one wide frame, then a pair at 7 and 5 */.cup { padding-top: var(--section-gap); }.cup__head { align-items: end; }.cup__head h2 { grid-column: 1 / span 6; }.cup__head .lead { grid-column: 8 / span 5; }-.cup__wide { margin-top: var(--space-2xl); aspect-ratio: 21 / 9; }-.cup__pair { margin-top: var(--gap-columns); }+.cup__pair { margin-top: var(--space-2xl); }.cup__pair > figure { margin: 0; }.cup__a { grid-column: 1 / span 7; }.cup__b { grid-column: 8 / span 5; }-.cup__pair .photo { height: 26rem; }+.cup__pair .photo { height: 36rem; }/* The order, on the one pigment field, with its running tally */.order-band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-field); color: var(--color-accent-ink); }@@ -114,9 +122,19 @@ figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--fon.order-band :focus-visible { outline-color: var(--color-accent-ink); }.order { align-items: start; }.order__text { grid-column: 1 / span 6; }-.order__fields { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); }-.cells { margin: var(--space-xl) 0 0; padding: 0; border: 0; min-width: 0; }-.cells + .cells { margin-top: var(--space-lg); }+.order__text { display: grid; gap: var(--space-lg); }+.order__text h2 { margin-bottom: var(--space-xs); }+.order__sum { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); position: sticky; top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-double) double var(--color-accent-ink); }+.order__label { font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-accent-ink); }+.order__terms { margin: 0; }+.order__terms > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-accent-ink) 30%, transparent); }+.order__terms dt { font-size: var(--text-sm); font-weight: 500; }+.order__terms dd { margin: 0; }+.order-band .fill { padding: 0 0.2em; border-radius: 2px; color: var(--color-accent-ink); background: color-mix(in oklab, var(--color-accent-ink) 18%, transparent); }+.cells__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }+.cells__pair .cells + .cells { margin-top: 0; }+.cells__no { font-variant-numeric: tabular-nums; opacity: 0.7; margin-right: var(--space-2xs); }+.cells { margin: 0; padding: 0; border: 0; min-width: 0; }.cells legend { padding: 0; margin-bottom: var(--space-xs); font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-accent-ink); }.cells:disabled label, .cells:disabled input:checked + label { background: var(--color-accent-deep); border-color: color-mix(in oklab, var(--color-accent-ink) 35%, var(--color-accent)); color: color-mix(in oklab, var(--color-accent-ink) 55%, var(--color-accent)); cursor: not-allowed; }.cells__row { display: grid; }@@ -125,13 +143,14 @@ figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--fon.cells input { position: absolute; width: 1px; height: 1px; opacity: 0; }.cells label { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-accent-ink); margin-left: calc(-1 * var(--rule-hair)); font-weight: 500; cursor: pointer;transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }-.cells label:first-of-type { margin-left: 0; border-radius: var(--radius-card) 0 0 var(--radius-card); }-.cells label:last-of-type { border-radius: 0 var(--radius-card) var(--radius-card) 0; }+.cells__row--2 label:nth-of-type(2n + 1), .cells__row--3 label:nth-of-type(3n + 1) { margin-left: 0; }+.cells__row--3 label:nth-of-type(n + 4) { margin-top: calc(-1 * var(--rule-hair)); }.cells label:hover { background: var(--color-accent-deep); }.cells input:checked + label { background: var(--color-accent-ink); color: var(--color-accent); }.cells input:focus-visible + label { outline: 2px solid var(--color-accent-ink); outline-offset: 2px; position: relative; }.cells:disabled label:hover { background: var(--color-accent-deep); }-.tally { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-accent-ink) 45%, transparent); }+.tally { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); }+.tally__of { flex-basis: 100%; font: 400 var(--text-2xl)/1.1 var(--font-outlier); }.tally__g { font: 600 var(--text-display)/0.9 var(--font-display); letter-spacing: var(--tracking-display); }.tally__when { font: 400 var(--text-2xl)/1.1 var(--font-outlier); }.field { display: grid; gap: var(--space-xs); }@@ -143,8 +162,16 @@ figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--fon.btn--on-field:hover { background: var(--color-paper-2); border-color: var(--color-paper-2); }.help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-accent-ink); }+/* The buy bar: up after the hero, gone over the order */+.buybar { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); background: var(--color-paper); border-top: var(--rule-double) double var(--color-ink); transform: translateY(110%); transition: transform var(--dur-long) var(--ease-out); }+.buybar.is-up { transform: none; }+.buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }+.buybar__name { font: 600 var(--text-xl)/1 var(--font-display); color: var(--color-ink); margin-right: var(--space-sm); }+.buybar__terms { color: var(--color-ink-2); }+@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }+/* The letter close */-.letter { padding-block: var(--section-gap-s) var(--space-2xl); }+.letter { padding-block: var(--section-gap-s) calc(var(--space-2xl) + 72px); }.letter__inner { padding-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-ink); }.letter__sign { font: 400 var(--text-2xl)/1.2 var(--font-outlier); color: var(--color-ink-2); }.letter__name { margin-top: var(--space-xs); font: 600 var(--text-display)/0.92 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }@@ -165,15 +192,16 @@ figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--fon.plate { width: 100%; padding: var(--space-xl) 0 0; background: none; border-top: 0; }.plate.fibre::before { display: none; }.wordmark { font-size: 1.875rem; }- .week__head h2, .week__head .lead, .drum__photo, .drum__text, .cup__head h2, .cup__head .lead, .order__text, .order__fields { grid-column: 1 / -1; }+ .week__head h2, .week__head .lead, .drum__photo, .drum__text, .cup__head h2, .cup__head .lead, .order__text, .order__sum { grid-column: 1 / -1; }.week__head .lead, .cup__head .lead { margin-top: var(--space-md); }.drum__text { margin-top: var(--space-xl); }.drum__photo { aspect-ratio: 4 / 3; }- .cup__wide { aspect-ratio: 16 / 9; }.cup__pair .photo { height: 18rem; }- .order__fields { margin-top: var(--space-2xl); }+ .order__sum { margin-top: var(--space-2xl); position: static; }+ .ways__title, .ways__rows p, .ways__go { grid-column: 1 / -1; justify-self: start; }+ .ways__rows li { row-gap: var(--space-sm); }.ledger-wrap { overflow-x: auto; }- .ledger { min-width: 40rem; }+ .ledger { min-width: 44rem; }}@media (max-width: 40rem) {.mast__bar { grid-template-columns: auto; justify-items: center; padding-block: var(--space-xs); }@@ -187,8 +215,9 @@ figcaption { margin-top: var(--space-sm); font: 500 var(--text-sm)/1.4 var(--fon.cup__a, .cup__b { grid-column: 1 / -1; }.cup__pair { row-gap: var(--space-xl); }.cup__pair .photo { height: auto; aspect-ratio: 4 / 3; }- .figures { grid-template-columns: minmax(0, 1fr); }- .figures > div { padding: var(--space-lg) 0; border-left: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }+ .cells__pair { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }+ .buybar__terms { display: none; }+ .ledger thead th:nth-child(4), .ledger td:nth-child(4) { display: none; }.facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }.cells__row--3 label { padding: 0 var(--space-xs); }}diff --git a/site/themes/werkstatt/index.html b/site/themes/werkstatt/index.htmlindex 1be0b70..b06499e 100644--- a/site/themes/werkstatt/index.html+++ b/site/themes/werkstatt/index.html@@ -9,6 +9,7 @@<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Jost:wght@700&family=Karla:wght@400;600&display=swap" rel="stylesheet"><link rel="stylesheet" href="style.css">+<script>document.documentElement.classList.add('js');</script></head><body><a class="skip" href="#main">Skip to content</a>@@ -19,7 +20,7 @@<nav class="bar__nav" aria-label="Main"><a class="bar__link" href="#shops">The shops</a><a class="bar__link" href="#dates">Dates</a>- <a class="btn btn--primary btn--bar" href="#apply">Apply</a>+ <a class="btn btn--primary btn--bar" href="#apply">Apply<span class="bar__by"> by 15 March</span></a></nav></div></header>@@ -30,8 +31,12 @@<div class="hero__text"><h1 id="hero-h">A summer of making in Weimar</h1><p class="lead">Furniture, print and ceramics, from 1 to 28 July.</p>+ <dl class="boxes">+ <div><dt>Places</dt><dd>36</dd></div>+ <div><dt>Applications close</dt><dd>15 March</dd></div>+ </dl><div class="actions">- <a class="btn btn--primary" href="#apply">Apply by 15 March</a>+ <a class="btn btn--primary" href="#apply">Apply for a place</a><a class="btn btn--outline" href="#shops">See the three shops</a></div></div>@@ -40,65 +45,84 @@<img src="photos/woodshop-1920.jpg" width="1920" height="1274" sizes="(min-width: 60rem) 46vw, 100vw" fetchpriority="high" style="object-position: 35% 55%" alt="A long daylit woodshop of workbenches and machines"></figure><nav class="hero__codes" aria-label="The three shops">- <a class="code code--furniture" href="#furniture">Furniture</a>- <a class="code code--print" href="#print">Print</a>- <a class="code code--ceramics" href="#ceramics">Ceramics</a>+ <a class="code code--furniture" href="#furniture" data-open="furniture">Furniture</a>+ <a class="code code--print" href="#print" data-open="print">Print</a>+ <a class="code code--ceramics" href="#ceramics" data-open="ceramics">Ceramics</a></nav></div></div></section>- <section class="figs" aria-labelledby="figs-h">- <div class="container">- <h2 id="figs-h">The course in three numbers</h2>- <dl class="figs__row">- <div><dt>Weeks in July</dt><dd>4</dd></div>- <div><dt>Shops, one course</dt><dd>3</dd></div>- <div><dt>Places in all</dt><dd>36</dd></div>- </dl>- </div>- </section>-<section class="shops" id="shops" aria-labelledby="shops-h"><div class="container"><div class="head-split"><h2 id="shops-h">Three shops, one course</h2>- <p class="lead">Each shop keeps one colour wherever it appears on this page.</p>+ <p class="lead">Choose the one you want first. Each keeps its colour on this page.</p></div>- <div class="shops__grid">- <article class="shop shop--lead" id="furniture" aria-labelledby="furniture-h">+ <div class="switch">+ <div class="tabs" role="tablist" aria-label="The three shops"><button role="tab" class="tab tab--furniture" id="t-furniture" aria-controls="furniture" aria-selected="true">Furniture</button><button role="tab" class="tab tab--print" id="t-print" aria-controls="print" aria-selected="false" tabindex="-1">Print</button><button role="tab" class="tab tab--ceramics" id="t-ceramics" aria-controls="ceramics" aria-selected="false" tabindex="-1">Ceramics</button></div>+ <article class="shop" role="tabpanel" id="furniture" aria-labelledby="t-furniture"><figure class="photo shop__photo" data-slot="furniture" data-alt="The furniture shop at work: hands at a bench, a lathe or a joint">- <img src="photos/woodturning-indonesia-1920.jpg" width="1920" height="1280" sizes="(min-width: 90rem) 1312px, 100vw" loading="lazy" style="object-position: 40% 50%" alt="Hands steadying a gouge against a lathe as the shavings fly">+ <img src="photos/woodturning-indonesia-1920.jpg" width="1920" height="1280" sizes="(min-width: 60rem) 56vw, 100vw" loading="lazy" style="object-position: 40% 50%" alt="Hands steadying a gouge against a lathe as the shavings fly"></figure>- <div class="shop__cell code--furniture"><h3 id="furniture-h">Furniture</h3><p>Frames, joints and finishes in wood.</p></div>+ <div class="shop__cell code--furniture">+ <h3>Furniture</h3>+ <ul class="shop__covers"><li>Joints</li><li>Frames</li><li>Finishes</li></ul>+ <a class="shop__go" href="#apply" data-pick="furniture">Apply with furniture first</a>+ </div></article>- <article class="shop" id="print" aria-labelledby="print-h">+ <article class="shop" role="tabpanel" id="print" aria-labelledby="t-print"><figure class="photo shop__photo" data-slot="print" data-alt="The print shop at work: type, ink and a press, a sheet being pulled"><img src="photos/american-french-tool-24x48-etching-press-1280.jpg" width="1280" height="1342" sizes="(min-width: 60rem) 56vw, 100vw" loading="lazy" style="object-position: 50% 55%" alt="A spoked etching press standing in a bare print room"></figure>- <div class="shop__cell code--print"><h3 id="print-h">Print</h3><p>Paper, ink and the press.</p></div>+ <div class="shop__cell code--print">+ <h3>Print</h3>+ <ul class="shop__covers"><li>Paper</li><li>Ink</li><li>The press</li></ul>+ <a class="shop__go" href="#apply" data-pick="print">Apply with print first</a>+ </div></article>- <article class="shop" id="ceramics" aria-labelledby="ceramics-h">+ <article class="shop" role="tabpanel" id="ceramics" aria-labelledby="t-ceramics"><figure class="photo shop__photo" data-slot="ceramics" data-alt="The ceramics shop at work: the wheel, the clay and the tools">- <img src="photos/pottery-workshop-at-odisha-crafts-museum-02-1920.jpg" width="1920" height="1280" sizes="(min-width: 60rem) 40vw, 100vw" loading="lazy" style="object-position: 52% 45%" alt="A potter's hands closing a clay cone on a fast spinning wheel">+ <img src="photos/pottery-workshop-at-odisha-crafts-museum-02-1920.jpg" width="1920" height="1280" sizes="(min-width: 60rem) 56vw, 100vw" loading="lazy" style="object-position: 52% 45%" alt="A potter's hands closing a clay cone on a fast spinning wheel"></figure>- <div class="shop__cell code--ceramics"><h3 id="ceramics-h">Ceramics</h3><p>Clay, glaze and the kiln.</p></div>+ <div class="shop__cell code--ceramics">+ <h3>Ceramics</h3>+ <ul class="shop__covers"><li>Clay</li><li>Glaze</li><li>The kiln</li></ul>+ <a class="shop__go" href="#apply" data-pick="ceramics">Apply with ceramics first</a>+ </div></article></div></div></section>- <section class="dates" id="dates" aria-labelledby="dates-h">- <div class="container dates__grid">- <div class="dates__head">- <h2 id="dates-h">Three dates to keep</h2>- <p class="lead">Apply first; the shops open in July.</p>+ <section class="cal" id="dates" aria-labelledby="dates-h">+ <div class="container">+ <div class="head-split">+ <h2 id="dates-h">From March to July</h2>+ <p class="lead">Apply first. Then four weeks at the bench, all three shops at once.</p>+ </div>+ <div class="cal__grid">+ <div class="cal__deadline is-next">+ <p class="cal__tag">Next</p>+ <p class="cal__day">15 March</p>+ <p class="cal__what">Applications close</p>+ </div>+ <div class="cal__july">+ <p class="cal__tag">Next</p>+ <ol class="cal__weeks" aria-label="The four weeks of July">+ <li><b>Week 1</b><span>1 to 7 July</span></li>+ <li><b>Week 2</b><span>8 to 14 July</span></li>+ <li><b>Week 3</b><span>15 to 21 July</span></li>+ <li><b>Week 4</b><span>22 to 28 July</span></li>+ </ol>+ <ul class="cal__shops" aria-label="Shops open through July">+ <li class="code--furniture">Furniture</li>+ <li class="code--print">Print</li>+ <li class="code--ceramics">Ceramics</li>+ </ul>+ <div class="cal__ends"><span>1 July, the shops open</span><span>28 July, the last day</span></div>+ </div></div>- <ol class="dates__rows">- <li><time datetime="03-15">15 March</time><p>Applications close</p></li>- <li><time datetime="07-01">1 July</time><p>The three shops open</p></li>- <li><time datetime="07-28">28 July</time><p>The last day at the bench</p></li>- </ol></div></section>@@ -106,7 +130,13 @@<div class="container apply__grid"><div class="apply__head"><h2 id="apply-h">Apply for a place</h2>- <p class="lead">For students, and for anyone changing career. Name the shop you want first.</p>+ <p class="lead">For students, and for anyone changing career.</p>+ <dl class="facts">+ <div><dt>Where</dt><dd>Weimar</dd></div>+ <div><dt>When</dt><dd>1 to 28 July</dd></div>+ <div><dt>Places</dt><dd>36</dd></div>+ <div><dt>Closes</dt><dd>15 March</dd></div>+ </dl></div><form class="sheet" data-endpoint="" novalidate><div class="sheet__cell">@@ -132,6 +162,10 @@<input type="radio" name="who" id="w-change" value="changing career"><label for="w-change">Changing career</label></div></fieldset>+ <div class="sheet__cell sheet__cell--wide">+ <label for="a-why">What would you like to make?</label>+ <textarea id="a-why" name="why" rows="3"></textarea>+ </div><div class="sheet__foot"><button class="btn btn--paper" type="submit">Apply for a place</button><p class="apply__help" id="apply-help" aria-live="polite"></p>@@ -143,12 +177,10 @@<footer class="foot"><div class="container">- <p class="foot__line">Wood, ink and clay. Weimar, every July.</p>+ <p class="foot__line">Wood, ink and clay. Weimar, in July.</p><div class="foot__row"><nav class="foot__links" aria-label="This page">- <a href="#furniture">Furniture</a>- <a href="#print">Print</a>- <a href="#ceramics">Ceramics</a>+ <a href="#shops">The shops</a><a href="#dates">Dates</a><a href="#apply">Apply</a></nav>@@ -159,6 +191,19 @@</footer><script>+(() => {+ const tabs = [...document.querySelectorAll('.tabs [role="tab"]')]; if (!tabs.length) return;+ const show = (t, focus) => { tabs.forEach((x) => { const on = x === t; x.setAttribute('aria-selected', on); x.tabIndex = on ? 0 : -1; document.getElementById(x.getAttribute('aria-controls')).hidden = !on; }); if (focus) t.focus(); };+ tabs.forEach((t, i) => { t.addEventListener('click', () => show(t)); t.addEventListener('keydown', (e) => { const d = e.key === 'ArrowRight' ? 1 : e.key === 'ArrowLeft' ? -1 : 0; if (d) { e.preventDefault(); show(tabs[(i + d + tabs.length) % tabs.length], true); } }); });+ show(tabs[0]);+ document.querySelectorAll('[data-open]').forEach((a) => a.addEventListener('click', (e) => { e.preventDefault(); show(document.getElementById('t-' + a.dataset.open)); document.getElementById('shops').scrollIntoView({ behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth' }); }));+ document.querySelectorAll('[data-pick]').forEach((a) => a.addEventListener('click', () => { const r = document.getElementById('s-' + a.dataset.pick); if (r) r.checked = true; }));+ /* the next date on the calendar, from the visitor's own date */+ const now = new Date(), m = now.getMonth(), d = now.getDate();+ const july = (m === 6 && d <= 28), toJuly = (m === 2 && d > 15) || m === 3 || m === 4 || m === 5;+ const dl = document.querySelector('.cal__deadline'), jl = document.querySelector('.cal__july');+ if (dl && jl) { dl.classList.toggle('is-next', !july && !toJuly); jl.classList.toggle('is-next', july || toJuly); jl.querySelector('.cal__tag').textContent = july ? 'Now' : 'Next'; }+})();(() => {const form = document.querySelector('.sheet');const help = document.getElementById('apply-help');diff --git a/site/themes/werkstatt/style.css b/site/themes/werkstatt/style.cssindex ec2fcdb..dc9612f 100644--- a/site/themes/werkstatt/style.css+++ b/site/themes/werkstatt/style.css@@ -1,8 +1,8 @@-/* Hallmark · shape: Catalogue · genre: playful · theme: Werkstatt (by request) · draw: 4ba0eb (nav swapped from a banner, taken by this batch's Blueprint, to edge-aligned; first section swapped from Showcase to boxed figures so the hero's photograph is not followed by a second; footer swapped from newsletter-first to a statement: the brief offers no newsletter)- * hero: Settled · nav: edge-aligned, the wordmark and an ink Apply over a 2px rule · footer: statement · imagery: photographs, library 4, mono · signature: the three shops coded flush in their primaries under the woodshop, the code kept everywhere after · werkstatt: putty- * sections (the three shops as one coded set, the facts boxed around them): settled hero with the coded strip, boxed figures, showcase 12 over 7 and 5 with primary cells, dates as ruled rows, application as a ruled sheet on the blackboard band, statement footer- * axes: mid/geometric-sans/cool · posture: full-palette · contrast: pass · fold: pass · v2.8 launch pass */-/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: E, the library has no print room at work; the press stands in until the school's own photographs arrive */+/* Hallmark · shape: Catalogue · genre: playful · theme: Werkstatt (by request) · job: book+ * hero: Settled, the places and the deadline boxed under the head · nav: edge-aligned, the wordmark and an ink Apply by 15 March over a 2px rule · footer: statement · imagery: photographs, library 4, mono, one shop shown at a time · signature: the three shops coded flush in their primaries under the woodshop, the code kept everywhere after · werkstatt: putty+ * sections: Settled hero with the coded strip, Switcher (the three shops behind primary tabs, each a photograph beside its cell and an apply link that sets the form), Schedule (the deadline boxed beside July's four weeks with the three shops running through them, the next date marked from the visitor's own date), Form (the application as a ruled sheet beside where, when, places and the deadline, on the blackboard band), statement footer · samples: what each shop covers+ * job: book (a course taken by application), so the action sits in the nav, the hero and beside every shop, and the page ends on the application itself; no mailing list+ * axes: mid/geometric-sans/cool · posture: full-palette · contrast: pass · fold: pass · layout fix */@import url("./tokens.css");@import url("./base.css");@@ -63,53 +63,75 @@ a:hover { text-decoration-thickness: 3px; }.head-split h2 { grid-column: 1 / span 7; }.head-split .lead { grid-column: 9 / span 4; }-/* Figures: three real numbers, each boxed in 3px ink */-.figs { padding-top: var(--section-gap); }-.figs h2 { margin-bottom: var(--space-2xl); }-.figs__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: var(--rule-box) solid var(--color-ink); }-.figs__row div { display: flex; flex-direction: column-reverse; justify-content: space-between; gap: var(--space-lg); min-height: 320px; padding: var(--space-xl); }-.figs__row div + div { border-left: var(--rule-box) solid var(--color-ink); }-.figs__row dd { margin: 0; font: 700 clamp(7rem, 15vw, 13rem)/0.8 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--color-ink); }-.figs__row dt { padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); font-weight: 600; font-size: var(--text-lead); color: var(--color-ink); }+/* Hero facts: two boxed cells, the places and the deadline */+.boxes { display: grid; width: fit-content; max-width: 100%; grid-template-columns: repeat(2, minmax(0, max-content)); margin: var(--space-xl) 0 0; border: var(--rule-box) solid var(--color-ink); }+.boxes > div { display: grid; gap: var(--space-xs); padding: var(--space-md) var(--space-xl) var(--space-lg) var(--space-lg); }+.boxes > div + div { border-left: var(--rule-box) solid var(--color-ink); }+.boxes dt { font-weight: 600; font-size: var(--text-sm); color: var(--color-muted); }+.boxes dd { margin: 0; font: 700 var(--text-3xl)/1 var(--font-display); text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--color-ink); white-space: nowrap; }-/* Shops: the furniture shop across twelve, print on seven and ceramics on five */-.shops { padding-top: var(--section-gap-l); }-.shops__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }-.shop { display: grid; grid-template-rows: auto 1fr; border: var(--rule-box) solid var(--color-ink); }-.shop--lead { grid-column: 1 / -1; }-.shop:nth-child(2) { grid-column: 1 / span 7; }-.shop:nth-child(3) { grid-column: 8 / span 5; }-.shop__photo { border: 0; border-bottom: var(--rule-box) solid var(--color-ink); }-.shop--lead .shop__photo { aspect-ratio: 21 / 9; }-.shop:not(.shop--lead) .shop__photo { aspect-ratio: auto; height: 420px; }-.shop__cell { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-lg); padding: var(--space-lg) var(--space-xl); }-.shop__cell h3 { font-size: var(--text-section); }-.shop__cell p { font-weight: 600; max-width: 30ch; text-align: right; }-.shop:not(.shop--lead) .shop__cell { flex-direction: column; justify-content: flex-start; gap: var(--space-sm); }-.shop:not(.shop--lead) .shop__cell p { text-align: left; }+/* Shops: a switcher coded in the primaries */+.shops { padding-top: var(--section-gap); }+.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule-box) solid var(--color-ink); border-bottom: 0; }+.tab { display: flex; align-items: center; gap: var(--space-md); min-height: 80px; padding: 0 var(--space-xl); border: 0; border-bottom: var(--rule-box) solid var(--color-ink); background: transparent; color: var(--color-ink); font: 700 var(--text-2xl)/1 var(--font-display); text-transform: uppercase; text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }+.tab + .tab { border-left: var(--rule-box) solid var(--color-ink); }+.tab::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--code); }+.tab--furniture { --code: var(--color-accent-3); --code-ink: var(--color-ink); }+.tab--print { --code: var(--color-accent-2-deep); --code-ink: var(--color-accent-ink); }+.tab--ceramics { --code: var(--color-accent); --code-ink: var(--color-accent-ink); }+.tab:hover { background: var(--color-paper-3); }+.tab[aria-selected="true"] { background: var(--code); color: var(--code-ink); border-bottom-color: var(--code); }+.tab[aria-selected="true"]::before { background: var(--code-ink); }+.tab:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -8px; }+.shop { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: var(--rule-box) solid var(--color-ink); border-top: 0; }+.shop + .shop { border-top: var(--rule-box) solid var(--color-ink); }+.js .shop + .shop { border-top: 0; }+.shop__photo { aspect-ratio: 4 / 3; border: 0; border-right: var(--rule-box) solid var(--color-ink); }+.shop__cell { display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-xl); padding: var(--space-xl); }+.shop__cell h3 { font-size: var(--text-display-s); }+.shop__covers { margin: 0; padding: 0; list-style: none; align-self: center; border-top: var(--rule-bar) solid currentColor; }+.shop__covers li { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid currentColor; font: 700 var(--text-2xl)/1.1 var(--font-display); text-transform: uppercase; }+.shop__go { justify-self: start; font-weight: 600; color: inherit; }-/* Dates: three rows of capitals as large as a head */-.dates { padding-block: var(--section-gap-l) var(--section-gap); }-.dates__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }-.dates__head { grid-column: 1 / span 4; }-.dates__head .lead { margin-top: var(--space-md); max-width: 24ch; }-.dates__rows { grid-column: 5 / span 8; margin: 0; padding: 0; list-style: none; border-top: var(--rule-box) solid var(--color-ink); }-.dates__rows li { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-bar) solid var(--color-ink); }-.dates__rows time { grid-column: span 5; font: 700 clamp(3rem, 5.6vw, 5.25rem)/0.95 var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--color-ink); }-.dates__rows p { grid-column: span 3; font-size: var(--text-lead); font-weight: 600; color: var(--color-ink); }+/* The calendar: the deadline boxed beside July's four weeks, the three shops running through them */+.cal { padding-top: var(--section-gap-l); }+.cal__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border: var(--rule-box) solid var(--color-ink); }+.cal__deadline { display: grid; align-content: space-between; gap: var(--space-lg); padding: var(--space-xl); border-right: var(--rule-box) solid var(--color-ink); }+.cal__tag { justify-self: start; padding: var(--space-2xs) var(--space-sm); border: var(--rule-bar) solid currentColor; font-weight: 600; font-size: var(--text-sm); visibility: hidden; }+.is-next > .cal__tag { visibility: visible; }+.cal__deadline.is-next { background: var(--color-ink); color: var(--color-paper); }+.cal__day { font: 700 clamp(3rem, 5.4vw, 5rem)/0.95 var(--font-display); text-transform: uppercase; font-variant-numeric: tabular-nums; }+.cal__what { font-size: var(--text-lead); font-weight: 600; }+.cal__july { display: grid; grid-template-rows: auto auto 1fr auto; }+.cal__july > .cal__tag { margin: var(--space-lg) 0 0 var(--space-lg); }+.cal__july:not(.is-next) > .cal__tag { display: none; }+.cal__weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: var(--rule-bar) solid var(--color-ink); }+.cal__weeks li { display: grid; gap: var(--space-xs); padding: var(--space-lg); }+.cal__weeks li + li { border-left: var(--rule-hair) solid var(--color-rule); }+.cal__weeks b { font: 700 var(--text-2xl)/1 var(--font-display); text-transform: uppercase; }+.cal__weeks span { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); font-variant-numeric: tabular-nums; }+.cal__shops { display: grid; gap: var(--space-xs); margin: 0; padding: var(--space-lg); list-style: none; align-content: center; }+.cal__shops li { display: flex; align-items: center; min-height: 56px; padding: 0 var(--space-lg); font: 700 var(--text-lg)/1 var(--font-display); text-transform: uppercase; }+.cal__ends { display: flex; justify-content: space-between; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-weight: 600; font-size: var(--text-sm); }/* Apply: the blackboard band, the form as a ruled sheet */-.apply { padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }+.apply { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }.apply :focus-visible { outline-color: var(--color-paper) !important; }.apply__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }.apply__head { grid-column: 1 / span 5; }.apply__head h2 { color: var(--color-paper); }.apply__head .lead { margin-top: var(--space-lg); max-width: 32ch; color: var(--color-paper-3); }+.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; border-top: var(--rule-bar) solid var(--color-paper); }+.facts > div { display: grid; gap: var(--space-2xs); padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-muted); }+.facts dt { font-weight: 600; font-size: var(--text-sm); color: var(--color-paper-3); }+.facts dd { margin: 0; font: 700 var(--text-2xl)/1 var(--font-display); text-transform: uppercase; color: var(--color-paper); font-variant-numeric: tabular-nums; }.sheet { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: var(--rule-box) solid var(--color-paper); }.sheet__cell { display: grid; gap: var(--space-sm); margin: 0; padding: var(--space-lg); border: 0; border-bottom: var(--rule-bar) solid var(--color-paper); min-width: 0; }.sheet__cell:first-child { border-right: var(--rule-bar) solid var(--color-paper); }.sheet__cell--wide { grid-column: 1 / -1; }.sheet label:not(.pick label), .pick legend { float: left; width: 100%; padding: 0 0 var(--space-sm); font-weight: 600; font-size: var(--text-sm); color: var(--color-paper); }+.sheet textarea { min-height: 112px; padding: var(--space-sm) var(--space-md); border: var(--rule-bar) solid var(--color-paper); border-radius: 0; background: var(--color-ink-2); color: var(--color-paper); font: 400 var(--text-md)/1.5 var(--font-body); resize: vertical; outline: 2px solid transparent; outline-offset: 3px; }+.sheet textarea:hover { background: var(--color-ink); }.sheet input[type="text"], .sheet input[type="email"] { min-height: 48px; padding: 0 var(--space-md); border: var(--rule-bar) solid var(--color-paper); border-radius: 0; background: var(--color-ink-2); color: var(--color-paper); font: 400 var(--text-md)/1.2 var(--font-body); caret-color: var(--color-accent-3); outline: 2px solid transparent; outline-offset: 3px; transition: background-color var(--dur-short) var(--ease-out); }.sheet input[type="text"]:hover, .sheet input[type="email"]:hover { background: var(--color-ink); }.sheet input[type="text"]:active, .sheet input[type="email"]:active { background: var(--color-ink); }@@ -149,29 +171,33 @@ a:hover { text-decoration-thickness: 3px; }.bar__link { display: none; }.hero { min-height: 0; padding-block: var(--space-2xl) var(--space-3xl); }.hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }- .head-split, .dates__grid, .apply__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }- .head-split h2, .head-split .lead, .dates__head, .dates__rows, .apply__head, .sheet { grid-column: 1 / -1; }- .dates__rows { margin-top: var(--space-xl); }- .shop:nth-child(2), .shop:nth-child(3) { grid-column: 1 / -1; }- .shop:not(.shop--lead) .shop__photo { height: auto; aspect-ratio: 4 / 3; }- .shop--lead .shop__photo { aspect-ratio: 16 / 9; }- .figs__row div { min-height: 240px; padding: var(--space-lg); }+ .head-split, .apply__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }+ .head-split h2, .head-split .lead, .apply__head, .sheet { grid-column: 1 / -1; }+ .shop { grid-template-columns: minmax(0, 1fr); }+ .shop__photo { border-right: 0; border-bottom: var(--rule-box) solid var(--color-ink); }+ .tab { min-height: 64px; padding: 0 var(--space-md); font-size: var(--text-lg); }+ .cal__grid { grid-template-columns: minmax(0, 1fr); }+ .cal__deadline { border-right: 0; border-bottom: var(--rule-box) solid var(--color-ink); }.apply__grid { row-gap: var(--space-2xl); }}@media (max-width: 40rem) {.wordmark { font-size: 0.875rem; }+ .bar__by { display: none; }.bar__nav { gap: var(--space-sm); }.btn--bar { padding: 0 var(--space-md); }.code { min-height: 52px; padding: 0 var(--space-sm); font-size: var(--text-md); }- .figs__row { grid-template-columns: minmax(0, 1fr); }- .figs__row div { min-height: 0; flex-direction: row-reverse; align-items: flex-end; }- .figs__row div + div { border-left: 0; border-top: var(--rule-box) solid var(--color-ink); }- .figs__row dd { font-size: 6rem; }- .figs__row dt { border-top: 0; padding-top: 0; font-size: var(--text-md); }- .shop__cell { flex-direction: column; align-items: flex-start; gap: var(--space-xs); padding: var(--space-lg); }- .shop__cell p { text-align: left; }- .dates__rows li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); padding-block: var(--space-lg); }- .dates__rows time, .dates__rows p { grid-column: 1 / -1; }+ .shop__cell { padding: var(--space-lg); gap: var(--space-lg); }+ .shop__covers li { font-size: var(--text-xl); }+ .tab { justify-content: center; padding: 0 var(--space-xs); font-size: var(--text-sm); gap: var(--space-xs); }+ .tab::before { width: 12px; height: 12px; }+ .boxes dd { font-size: var(--text-2xl); }+ .boxes > div { padding: var(--space-sm) var(--space-md); }+ .cal__weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }+ .cal__weeks b { font-size: var(--text-xl); white-space: nowrap; }+ .cal__weeks li:nth-child(3) { border-left: 0; }+ .cal__weeks li:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }+ .cal__ends { flex-direction: column; gap: var(--space-xs); }+ .facts dd { font-size: var(--text-xl); }.sheet { grid-template-columns: minmax(0, 1fr); }.sheet__cell:first-child { border-right: 0; }.pick__row { grid-template-columns: minmax(0, 1fr); }diff --git a/skills/hallmark/references/themes/arcade.jpg b/skills/hallmark/references/themes/arcade.jpgindex 318d73d..dd3be43 100644Binary files a/skills/hallmark/references/themes/arcade.jpg and b/skills/hallmark/references/themes/arcade.jpg differdiff --git a/skills/hallmark/references/themes/atelier.jpg b/skills/hallmark/references/themes/atelier.jpgindex c43f5d7..5749121 100644Binary files a/skills/hallmark/references/themes/atelier.jpg and b/skills/hallmark/references/themes/atelier.jpg differdiff --git a/skills/hallmark/references/themes/bloom.jpg b/skills/hallmark/references/themes/bloom.jpgindex 77468c0..af4d4f1 100644Binary files a/skills/hallmark/references/themes/bloom.jpg and b/skills/hallmark/references/themes/bloom.jpg differdiff --git a/skills/hallmark/references/themes/cobalt.jpg b/skills/hallmark/references/themes/cobalt.jpgindex ad82546..df56323 100644Binary files a/skills/hallmark/references/themes/cobalt.jpg and b/skills/hallmark/references/themes/cobalt.jpg differdiff --git a/skills/hallmark/references/themes/console.jpg b/skills/hallmark/references/themes/console.jpgindex 564e19b..d972ce6 100644Binary files a/skills/hallmark/references/themes/console.jpg and b/skills/hallmark/references/themes/console.jpg differdiff --git a/skills/hallmark/references/themes/coral.jpg b/skills/hallmark/references/themes/coral.jpgindex 5266c8a..9fdf1e2 100644Binary files a/skills/hallmark/references/themes/coral.jpg and b/skills/hallmark/references/themes/coral.jpg differdiff --git a/skills/hallmark/references/themes/darkroom.jpg b/skills/hallmark/references/themes/darkroom.jpgindex d387dd2..b73ae40 100644Binary files a/skills/hallmark/references/themes/darkroom.jpg and b/skills/hallmark/references/themes/darkroom.jpg differdiff --git a/skills/hallmark/references/themes/dose.jpg b/skills/hallmark/references/themes/dose.jpgindex cab3664..a6aa38b 100644Binary files a/skills/hallmark/references/themes/dose.jpg and b/skills/hallmark/references/themes/dose.jpg differdiff --git a/skills/hallmark/references/themes/editorial.jpg b/skills/hallmark/references/themes/editorial.jpgindex a1bfb5d..f25d823 100644Binary files a/skills/hallmark/references/themes/editorial.jpg and b/skills/hallmark/references/themes/editorial.jpg differdiff --git a/skills/hallmark/references/themes/formwork.jpg b/skills/hallmark/references/themes/formwork.jpgindex b831e51..875e234 100644Binary files a/skills/hallmark/references/themes/formwork.jpg and b/skills/hallmark/references/themes/formwork.jpg differdiff --git a/skills/hallmark/references/themes/furrow.jpg b/skills/hallmark/references/themes/furrow.jpgindex 4b17ca4..4cda12a 100644Binary files a/skills/hallmark/references/themes/furrow.jpg and b/skills/hallmark/references/themes/furrow.jpg differdiff --git a/skills/hallmark/references/themes/garden.jpg b/skills/hallmark/references/themes/garden.jpgindex cad29f4..2051ae5 100644Binary files a/skills/hallmark/references/themes/garden.jpg and b/skills/hallmark/references/themes/garden.jpg differdiff --git a/skills/hallmark/references/themes/hum.jpg b/skills/hallmark/references/themes/hum.jpgindex 928c4ad..f5c08b2 100644Binary files a/skills/hallmark/references/themes/hum.jpg and b/skills/hallmark/references/themes/hum.jpg differdiff --git a/skills/hallmark/references/themes/hum.md b/skills/hallmark/references/themes/hum.mdindex 2f9e066..ea87b0c 100644--- a/skills/hallmark/references/themes/hum.md+++ b/skills/hallmark/references/themes/hum.md@@ -9,7 +9,7 @@ posture: full-palettekeywords: daily, habit, streak, practice, learning, reading, curiosity, mood, energy, friendship, community, kids, family, parents, school, game, puzzle, creative, playful, alivematerial: cream paper pulled toward pear-yellow, blue-black ink, Chillax throughout, round corners and a press you can feel, three accents that never blend and a mint for growthphoto: natural vib=12 exp=4-pictured: Bento Grid, Settled hero+pictured: Workbench, Settled hero---# Humdiff --git a/skills/hallmark/references/themes/index.json b/skills/hallmark/references/themes/index.jsonindex 7e25848..a4697f7 100644--- a/skills/hallmark/references/themes/index.json+++ b/skills/hallmark/references/themes/index.json@@ -971,7 +971,7 @@"material": "cream paper pulled toward pear-yellow, blue-black ink, Chillax throughout, round corners and a press you can feel, three accents that never blend and a mint for growth","file": "references/themes/hum.md","photo": "natural vib=12 exp=4",- "pictured": "Bento Grid, Settled hero",+ "pictured": "Workbench, Settled hero","picture": "references/themes/hum.jpg"},{diff --git a/skills/hallmark/references/themes/ink.jpg b/skills/hallmark/references/themes/ink.jpgindex 5cfea1c..64b6a59 100644Binary files a/skills/hallmark/references/themes/ink.jpg and b/skills/hallmark/references/themes/ink.jpg differdiff --git a/skills/hallmark/references/themes/ledger.jpg b/skills/hallmark/references/themes/ledger.jpgindex 457941a..8149d95 100644Binary files a/skills/hallmark/references/themes/ledger.jpg and b/skills/hallmark/references/themes/ledger.jpg differdiff --git a/skills/hallmark/references/themes/lumen.jpg b/skills/hallmark/references/themes/lumen.jpgindex bdd2af1..78856d2 100644Binary files a/skills/hallmark/references/themes/lumen.jpg and b/skills/hallmark/references/themes/lumen.jpg differdiff --git a/skills/hallmark/references/themes/manifesto.jpg b/skills/hallmark/references/themes/manifesto.jpgindex e526d9e..312f380 100644Binary files a/skills/hallmark/references/themes/manifesto.jpg and b/skills/hallmark/references/themes/manifesto.jpg differdiff --git a/skills/hallmark/references/themes/newsprint.jpg b/skills/hallmark/references/themes/newsprint.jpgindex 4e6acc8..923c7fb 100644Binary files a/skills/hallmark/references/themes/newsprint.jpg and b/skills/hallmark/references/themes/newsprint.jpg differdiff --git a/skills/hallmark/references/themes/overprint.jpg b/skills/hallmark/references/themes/overprint.jpgindex 32461de..0540301 100644Binary files a/skills/hallmark/references/themes/overprint.jpg and b/skills/hallmark/references/themes/overprint.jpg differdiff --git a/skills/hallmark/references/themes/spore.jpg b/skills/hallmark/references/themes/spore.jpgindex 538e81c..c59e0b4 100644Binary files a/skills/hallmark/references/themes/spore.jpg and b/skills/hallmark/references/themes/spore.jpg differdiff --git a/skills/hallmark/references/themes/squeeze.jpg b/skills/hallmark/references/themes/squeeze.jpgindex fbca85c..66c3374 100644Binary files a/skills/hallmark/references/themes/squeeze.jpg and b/skills/hallmark/references/themes/squeeze.jpg differdiff --git a/skills/hallmark/references/themes/vellum.jpg b/skills/hallmark/references/themes/vellum.jpgindex ba5ec16..d1515bf 100644Binary files a/skills/hallmark/references/themes/vellum.jpg and b/skills/hallmark/references/themes/vellum.jpg differdiff --git a/skills/hallmark/references/themes/werkstatt.jpg b/skills/hallmark/references/themes/werkstatt.jpgindex 4f9b7dd..4b277c5 100644Binary files a/skills/hallmark/references/themes/werkstatt.jpg and b/skills/hallmark/references/themes/werkstatt.jpg differdiff --git a/skills/hallmark/scripts/sloplint-render.mjs b/skills/hallmark/scripts/sloplint-render.mjsindex a72b779..0cfefc6 100644--- a/skills/hallmark/scripts/sloplint-render.mjs+++ b/skills/hallmark/scripts/sloplint-render.mjs@@ -949,7 +949,8 @@ function observeSpace(atLaptop, heroOnly, heroPosture, photoShape, job) {}return out;};- const span = (ls) => ls.reduce((a, b) => ({ left: Math.min(a.left, b.left), right: Math.max(a.right, b.right) }), { left: Infinity, right: -Infinity });+ // content a rail scrolls past the screen's edge does not widen the page's measure+ const span = (ls) => ls.filter((b) => b.right > 0 && b.left < vw).reduce((a, b) => ({ left: Math.min(a.left, Math.max(0, b.left)), right: Math.max(a.right, Math.min(vw, b.right)) }), { left: Infinity, right: -Infinity });const all = span([...(hero ? [hero] : []), ...below].flatMap(leavesOf));const W = all.right - all.left;const h1fs = h1 ? parseFloat(getComputedStyle(h1).fontSize) : 0;