# Product Scope Blocks > Free, copy-and-paste website sections (hero, case-study panels, ledger, mosaic, FAQ and more) built from plain HTML and CSS with no JavaScript, no dependencies and no build step. Every colour, font and shape is a CSS variable, so a theme is one small file. Made by David Lortal of Product Scope. MIT licence. Site: https://resources.productscope.uk/blocks Repository: https://github.com/DavidLortalPM/product-scope-resources (folder blocks/) ## How to use it - Add `https://resources.productscope.uk/blocks/kit/blocks.css` (or copy dist/blocks.css) and optionally one theme file. - Paste a block's HTML. Replace the placeholder text. Change tokens, not the block's own CSS. - Everything is prefixed blk-. Nothing restyles the rest of the page. ## Blocks - [Site footer](https://resources.productscope.uk/blocks/blocks/site-footer): A dark footer with a brand statement, two link columns and a legal line with a back-to-top link. - [Site header](https://resources.productscope.uk/blocks/blocks/site-header): A sticky dark navigation bar with an accent line on top, a brand mark and wordmark, links, and one call-to-action button. On a phone the links fold into a Menu button that needs no JavaScript. - [Page title](https://resources.productscope.uk/blocks/blocks/page-title): The opening for an inner page: a large heading with the accent bar under it and one lead sentence, on the plain page background. - [Hero with proof](https://resources.productscope.uk/blocks/blocks/hero-proof): A dark opening section: one clear headline, one sentence of explanation, two buttons and three numbers that back the claim up. - [Page banner](https://resources.productscope.uk/blocks/blocks/page-banner): A dark full-width banner for inner pages: page title, one sentence and a button over a gradient (or a photo). Left-aligned by default, centred with a modifier. - [Section header](https://resources.productscope.uk/blocks/blocks/section-header): The standard title for any section: a heading with a short accent bar under it, an intro line and an optional button that links to the full list. - [Feature rows](https://resources.productscope.uk/blocks/blocks/feature-rows): A two-column list of short points, each with a line icon, a heading and one or two sentences, separated by thin rules. - [Split feature](https://resources.productscope.uk/blocks/blocks/split-feature): Text on one side and a picture or mock-up on the other, with a label, a heading, two short paragraphs and buttons. It stacks on a phone. - [Numbered columns](https://resources.productscope.uk/blocks/blocks/numbered-columns): A rounded tinted panel holding three numbered columns, each with an accent rule across the top, a number, a heading and a short paragraph. - [FAQ accordion](https://resources.productscope.uk/blocks/blocks/faq): Questions and answers in native details elements. No JavaScript. It opens and closes smoothly in browsers that support it and still works in those that do not. - [Checklist panel](https://resources.productscope.uk/blocks/blocks/checklist): A heading and intro beside a ticked checklist in a bordered card, with a short highlighted note underneath. Stacks on a phone. - [Service cards](https://resources.productscope.uk/blocks/blocks/service-cards): A grid of six whole-card links, each with a coloured icon tile, a title, a short description and a 'Learn more' cue. Two columns on tablet, three on desktop. - [Case-study panels](https://resources.productscope.uk/blocks/blocks/case-panels): Four tall dark panels on a dark band. Each panel is one whole link: a small label and a title. A swipe rail on phones, a four-column grid on desktop. - [Dated ledger](https://resources.productscope.uk/blocks/blocks/ledger): A short list of current work as dated rows on a tinted band. Each row has a date, a live status pill, a title and a sentence. The rows lift on hover. - [Showcase mosaic](https://resources.productscope.uk/blocks/blocks/mosaic): A dark rounded box holding one large tile and two smaller ones. Use it for projects, products or anything you built yourself. - [Showcase box](https://resources.productscope.uk/blocks/blocks/showcase-box): A rounded, tinted box holding a short description beside a browser-frame mock-up. Built for the top of a project or product page. - [Rating strip](https://resources.productscope.uk/blocks/blocks/rating-strip): A compact trust bar: gold stars, a score, how many reviews it is based on and a link to read them. Sits in a rounded tinted box, in one row on desktop. - [Quote columns](https://resources.productscope.uk/blocks/blocks/testimonial-columns): Four short, plain quotes side by side with no card around them. Each has a round initials badge, a name and a one-line detail, with a thin accent rule on top. - [Testimonial rail](https://resources.productscope.uk/blocks/blocks/testimonial-rail): A sideways scroll-snap row of review cards, each with a star rating, a quote and a named author. Three across on desktop, one with the next peeking in on a phone. - [Facts card](https://resources.productscope.uk/blocks/blocks/facts-card): A small tinted card with a titled list of key facts, each with an icon, a label and one line of detail. Made for the side of a case study or project page. - [Article body](https://resources.productscope.uk/blocks/blocks/article-body): Readable long-form text: a lead paragraph, headings, lists, a pull quote, a table and a code sample, set on a comfortable line length. - [Callout](https://resources.productscope.uk/blocks/blocks/callout): A tinted note with a coloured edge and a short heading. A cool version for tips and a warm version for warnings. - [Featured guide with list](https://resources.productscope.uk/blocks/blocks/featured-guides): One large featured guide beside a stack of smaller guides with square pictures, on a champagne band. - [Photo rail](https://resources.productscope.uk/blocks/blocks/photo-rail): A full-width sideways strip of photo tiles with short captions. Gradient tiles stand in until you add pictures. Swipe or scroll on any screen, with the strip bleeding off the page edge. - [Pull quote](https://resources.productscope.uk/blocks/blocks/pull-quote): One large serif quotation centred on a full-width dark band, with a short attribution under a small accent rule. - [Review form](https://resources.productscope.uk/blocks/blocks/review-form): A client review form with a CSS-only star rating (a radio group that fills left to right), text fields, a consent tick and a submit button, inside a bordered card. - [Article cards](https://resources.productscope.uk/blocks/blocks/post-cards): A grid of article cards, each with a picture, a date, a title and a summary, plus a row of topic pills above it. Three columns on desktop, one on a phone. - [Article closing](https://resources.productscope.uk/blocks/blocks/article-closing): What goes under a finished article: a solid call-to-action box, a short related-reading list and previous/next links, all inside the reading column. - [Article with sidebar](https://resources.productscope.uk/blocks/blocks/article-sidebar): A reading layout: a narrow article column with a sticky sidebar holding a search box, a topic list and a few recent posts. The sidebar drops below the article on tablets and phones. - [Table of contents](https://resources.productscope.uk/blocks/blocks/contents): A numbered list of in-page links, separated by hairlines, with serif titles and an accent number. - [Numbered index](https://resources.productscope.uk/blocks/blocks/numbered-index): A plain list of articles as numbered rows separated by hairlines: number, serif title with a summary line, and a category with reading time. Each row is one whole link. - [Pricing cards](https://resources.productscope.uk/blocks/blocks/pricing-cards): Three centred price cards on a tinted band. The middle card is featured in the accent colour with a badge, and each card has a native show/hide list of what is included. - [Fact panel](https://resources.productscope.uk/blocks/blocks/fact-panel): A dark rounded panel of four key facts. Each is a small label over a large serif value. - [Photo filmstrip](https://resources.productscope.uk/blocks/blocks/filmstrip): A sideways rail of tall pictures with captions that snaps card by card. Scrolls with touch, trackpad or the keyboard. - [Picture list](https://resources.productscope.uk/blocks/blocks/pack-list): A vertical list of cards, each with a square picture, a serif title and a one-line reason. A packing list, a gear list or a recommended-products list. - [Photo spread](https://resources.productscope.uk/blocks/blocks/photo-spread): A big picture across the full width with a caption, followed by a pair of smaller pictures side by side. - [Picture tiles](https://resources.productscope.uk/blocks/blocks/picture-tiles): Large numbered tiles led by the picture, with an oversized serif name and a one-line description. Each tile is one whole link. - [Marquee strip](https://resources.productscope.uk/blocks/blocks/marquee-strip): A slow, endless sideways ticker of short items, such as client types, tools or keywords. It pauses when someone hovers or focuses it. - [Scroll reveal cards](https://resources.productscope.uk/blocks/blocks/reveal-cards): Cards that fade and rise into place one after another as they scroll into view. Pure CSS, using the browser's scroll-driven animations. - [Shimmer headline](https://resources.productscope.uk/blocks/blocks/shimmer-text): A large headline with a soft band of light that sweeps across the key words, and a button with the same shimmer. - [Loading skeletons](https://resources.productscope.uk/blocks/blocks/skeleton-cards): Placeholder cards with a shimmer sweeping across grey shapes, the pattern used while content is loading. - [Closing call to action](https://resources.productscope.uk/blocks/blocks/cta-band): A full-width coloured band that closes a page: a question or promise on the left, the main action on the right. ## Themes - oxblood (oxblood): - Ocean (ocean): Teal accent on deep navy, cool pale bands. - Forest (forest): Deep green accent on charcoal, soft sage and sand bands. - Sunrise (sunrise): Burnt orange accent on warm charcoal, peach and cream bands. - Graphite (graphite): Near-monochrome: ink-blue accent, neutral greys. A calm base to build your own brand on. ## Font packs - Classic (classic): Poppins headings with DM Sans body text. The Product Scope pairing: clear, modern and friendly. - Modern (modern): Inter throughout, with Lora for quotes. Neutral and highly legible; suits products, dashboards and documentation. - Editorial (editorial): Playfair Display headings with Source Sans 3 body text. Authoritative and refined; suits law, finance and advice. - Warm (warm): Lora headings with Inter body text. A friendly, bookish voice with a clean reading face; suits guides, health and hospitality. - Travel (travel): DM Serif Display headings with Space Grotesk body text. Editorial and a little unexpected; suits travel, culture and personal sites. - Friendly (friendly): Montserrat headings with DM Sans body text. Geometric and confident; suits services and professional practices. ## Docs - [Full reference for AI assistants](https://resources.productscope.uk/blocks/llms-full.txt) - [Using with AI](https://resources.productscope.uk/blocks/using-with-ai) --- ## Rules for AI assistants building with these blocks 1. Include `blocks.css` once. Add at most one theme file and set `data-blk-theme` on `` or ``. 2. Paste block HTML as given. Keep the class names. Change the text, links and (where noted) add an ``. 3. Customise with tokens (CSS custom properties beginning --blk-), never by editing a block's CSS or adding inline styles. Blocks use no inline styles and no scripts, so they work under a strict Content-Security-Policy. 4. Do not invent numbers, clients or quotes. If a block asks for proof you do not have, remove that part. 5. One section header per section, one filled button per page, outline buttons for links to other pages. 6. Keep to the order a visitor needs: hero, explain, proof, questions, call to action. ## Tokens | Token | Default | Notes | | --- | --- | --- | | --blk-accent | #800020 | | | --blk-accent-dark | #5e0018 | hover and pressed | | --blk-on-accent | #ffffff | text on a filled accent button | | --blk-bg | #ffffff | | | --blk-dark | #1b2329 | dark rounded boxes, dark buttons | | --blk-darker | #141a1f | the darkest box surface | | --blk-deep | #080c12 | full-width dark band behind the case-study panels | | --blk-band-a | #f4e6e6 | tinted band one (warm) | | --blk-band-b | #dde6ef | tinted band two (cool) | | --blk-band-c | #efe6d2 | tinted band three (champagne) | | --blk-surface | #ffffff | cards and panels that sit on a tinted band | | --blk-cta | #1e3a5f | closing call-to-action band | | --blk-secondary | #1e3a5f | second accent: dates, row markers | | --blk-highlight | #c9a227 | third accent: row markers, ratings | | --blk-heading | #20282d | | | --blk-ink | #263037 | | | --blk-muted | #54606a | | | --blk-line | #e3e8ea | | | --blk-on-dark | #ffffff | | | --blk-on-dark-muted | #d3dce5 | body text on dark surfaces | | --blk-on-dark-accent | #ff9fb2 | small caps labels on dark surfaces | | --blk-panel-1 | #5e0018 | | | --blk-panel-2 | #1e3a5f | | | --blk-panel-3 | #3b2a52 | | | --blk-panel-4 | #6b4e12 | | | --blk-font-heading | "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif | | | --blk-font-body | "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif | | | --blk-heading-weight | 600 | 400 for display serifs that have one weight | | --blk-font-serif | "DM Serif Display", Georgia, "Times New Roman", serif | display and quote type | | --blk-radius | 8px | | | --blk-radius-lg | 16px | | | --blk-radius-xl | 22px | | | --blk-container | 1200px | | | --blk-container-narrow | 820px | reading measure | | --blk-shadow | 0 10px 30px rgba(0, 0, 0, 0.08) | | ## Themes ### oxblood (oxblood) --blk-accent: #800020 --blk-accent-dark: #5e0018 --blk-dark: #1b2329 --blk-darker: #141a1f --blk-deep: #080c12 --blk-band-a: #f4e6e6 --blk-band-b: #dde6ef --blk-band-c: #efe6d2 --blk-cta: #1e3a5f --blk-secondary: #1e3a5f --blk-highlight: #c9a227 --blk-heading: #20282d --blk-ink: #263037 --blk-muted: #54606a --blk-line: #e3e8ea --blk-on-dark-accent: #ff9fb2 --blk-panel-1: #5e0018 --blk-panel-2: #1e3a5f --blk-panel-3: #3b2a52 --blk-panel-4: #6b4e12 ### Ocean (ocean) Teal accent on deep navy, cool pale bands. --blk-accent: #0b6e8a --blk-accent-dark: #084f63 --blk-dark: #0f2233 --blk-darker: #0a1824 --blk-deep: #06111b --blk-band-a: #e0f0f3 --blk-band-b: #dde8f4 --blk-band-c: #e3ecee --blk-cta: #0b3a5c --blk-secondary: #0b3a5c --blk-highlight: #d98e04 --blk-heading: #0f2233 --blk-ink: #22343f --blk-muted: #4b5f6b --blk-line: #dbe5ea --blk-on-dark-accent: #7fd6e8 --blk-panel-1: #0b6e8a --blk-panel-2: #123c6b --blk-panel-3: #1f5a52 --blk-panel-4: #4a3f7a ### Forest (forest) Deep green accent on charcoal, soft sage and sand bands. --blk-accent: #1f6b4a --blk-accent-dark: #14503a --blk-dark: #17221d --blk-darker: #101915 --blk-deep: #0a110e --blk-band-a: #e4efe6 --blk-band-b: #efe9d6 --blk-band-c: #e8efe0 --blk-cta: #1d4a38 --blk-secondary: #1d4a38 --blk-highlight: #b8860b --blk-heading: #17221d --blk-ink: #26332c --blk-muted: #4f5f56 --blk-line: #dfe7e1 --blk-on-dark-accent: #9bdcb8 --blk-panel-1: #1f6b4a --blk-panel-2: #3d5a2a --blk-panel-3: #16505e --blk-panel-4: #6b5214 ### Sunrise (sunrise) Burnt orange accent on warm charcoal, peach and cream bands. --blk-accent: #b3430a --blk-accent-dark: #8a3207 --blk-dark: #26201c --blk-darker: #1c1714 --blk-deep: #110d0b --blk-band-a: #fbe9db --blk-band-b: #f3ecdf --blk-band-c: #f4e8c8 --blk-cta: #5a2a12 --blk-secondary: #7a3a14 --blk-highlight: #c9a227 --blk-heading: #26201c --blk-ink: #35302b --blk-muted: #625a52 --blk-line: #eadfd4 --blk-on-dark-accent: #ffb98a --blk-panel-1: #b3430a --blk-panel-2: #7a3a14 --blk-panel-3: #6d2a4a --blk-panel-4: #8a6a12 ### Graphite (graphite) Near-monochrome: ink-blue accent, neutral greys. A calm base to build your own brand on. --blk-accent: #2d3a8c --blk-accent-dark: #1f2a68 --blk-dark: #1d1f24 --blk-darker: #15171b --blk-deep: #0c0d10 --blk-band-a: #ececf2 --blk-band-b: #e6e9ee --blk-band-c: #e8e8ea --blk-cta: #20263f --blk-secondary: #20263f --blk-highlight: #8a8f9c --blk-heading: #16181c --blk-ink: #2a2d33 --blk-muted: #565b66 --blk-line: #e2e4e9 --blk-on-dark-accent: #b4bdf5 --blk-panel-1: #2d3a8c --blk-panel-2: #3a3f4a --blk-panel-3: #4a3a6b --blk-panel-4: #2f5254 ## Font packs A font pack sets the font tokens under [data-blk-fonts="id"]. It is separate from a theme. The font files must be loaded by the page (self-host them; see docs/fonts-and-icons.md). ### Classic (classic) Poppins headings with DM Sans body text. The Product Scope pairing: clear, modern and friendly. [data-blk-fonts="classic"] { --blk-font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-serif: "DM Serif Display", Georgia, "Times New Roman", serif; --blk-heading-weight: 600; } Fonts to host: Poppins 400/500/600/700, DM Sans 400/500/600/700, DM Serif Display 400 ### Modern (modern) Inter throughout, with Lora for quotes. Neutral and highly legible; suits products, dashboards and documentation. [data-blk-fonts="modern"] { --blk-font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-serif: "Lora", Georgia, "Times New Roman", serif; --blk-heading-weight: 700; } Fonts to host: Inter 400/600/700, Lora 400/600 ### Editorial (editorial) Playfair Display headings with Source Sans 3 body text. Authoritative and refined; suits law, finance and advice. [data-blk-fonts="editorial"] { --blk-font-heading: "Playfair Display", Georgia, "Times New Roman", serif; --blk-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-serif: "Playfair Display", Georgia, "Times New Roman", serif; --blk-heading-weight: 700; } Fonts to host: Playfair Display 500/700, Source Sans 3 400/600 ### Warm (warm) Lora headings with Inter body text. A friendly, bookish voice with a clean reading face; suits guides, health and hospitality. [data-blk-fonts="warm"] { --blk-font-heading: "Lora", Georgia, "Times New Roman", serif; --blk-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-serif: "Lora", Georgia, "Times New Roman", serif; --blk-heading-weight: 600; } Fonts to host: Lora 400/600, Inter 400/600/700 ### Travel (travel) DM Serif Display headings with Space Grotesk body text. Editorial and a little unexpected; suits travel, culture and personal sites. [data-blk-fonts="travel"] { --blk-font-heading: "DM Serif Display", Georgia, "Times New Roman", serif; --blk-font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-serif: "DM Serif Display", Georgia, "Times New Roman", serif; --blk-heading-weight: 400; } Fonts to host: DM Serif Display 400, Space Grotesk 400/500/700 ### Friendly (friendly) Montserrat headings with DM Sans body text. Geometric and confident; suits services and professional practices. [data-blk-fonts="friendly"] { --blk-font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-serif: "DM Serif Display", Georgia, "Times New Roman", serif; --blk-heading-weight: 600; } Fonts to host: Montserrat 500/600/700, DM Sans 400/500/600/700, DM Serif Display 400 ## Blocks ### Site footer (site-footer) A dark footer with a brand statement, two link columns and a legal line with a back-to-top link. When to use: Use it once, at the bottom of every page. Keep the legal line truthful: company name, number and address if you are a registered business. HTML: ```html ``` How to customise: - Write one or two sentences in the brand column. Say what you do, not a slogan. - Use two link columns: the main pages, and the legal or resource pages. - Keep the legal line to facts: copyright, company number, address. - Link colours are set from tokens, so a theme changes them with the rest. ### Site header (site-header) A sticky dark navigation bar with an accent line on top, a brand mark and wordmark, links, and one call-to-action button. On a phone the links fold into a Menu button that needs no JavaScript. When to use: Use it once, at the top of every page. Mark the link for the current page with aria-current="page". HTML: ```html
Your Brand
``` How to customise: - Replace the wordmark and the mark. The mark is inline SVG using currentColor, so it takes the text colour. - Keep five or six links at most. Put the one action you want in the button on the right. - The mobile menu is a native details element, so it works with no script. The link list appears twice in the markup, once for each size; keep both lists the same. - Mark the current page with aria-current="page" and the link gets its underline. ### Page title (page-title) The opening for an inner page: a large heading with the accent bar under it and one lead sentence, on the plain page background. When to use: Use it at the top of every page except the home page. Keep the lead to one or two sentences. HTML: ```html

About this page

One or two sentences that say what the visitor will find here and why it matters to them.

``` How to customise: - One h1 per page. This block is the only place it should appear. - The lead explains what the visitor will find. Do not repeat the heading. - To put the page title on a tinted band, add a background with --blk-band-a or --blk-band-b to the section. - Put a section header block, not another page title, below it. ### Hero with proof (hero-proof) A dark opening section: one clear headline, one sentence of explanation, two buttons and three numbers that back the claim up. When to use: Put it at the top of a home page when you can show real results. Numbers beat adjectives, so use facts you can defend. HTML: ```html

We help teams ship products that people use

Product management, delivery and automation for organisations whose systems, teams and processes need to work together.

``` How to customise: - Write the headline as what you do for whom, not a slogan. - Keep exactly three proof points. Each is a short figure and one line that says what it measures. - Never invent numbers. If you do not have three real ones, delete the proof list and keep the buttons. - The glow in the corner uses `--blk-accent`, so a new theme recolours it automatically. ### Page banner (page-banner) A dark full-width banner for inner pages: page title, one sentence and a button over a gradient (or a photo). Left-aligned by default, centred with a modifier. When to use: Use it at the top of inner pages such as About, Services or a single article. It is quieter than the home page hero and keeps the title as the page's h1. HTML: ```html

About our practice

Who we are, how we work and what you can expect when you get in touch.

``` How to customise: - Use one h1 per page and keep it short. If this block is on a page that already has an h1, change the tag to an h2. - For a photo, add `` as the first child of the section. The CSS covers the banner with it and darkens it so the title stays readable. - Add the class `blk-banner--centred` to the section to centre the title and text. - The gradient runs from `--blk-panel-1` into `--blk-deep`. Switch to `--blk-panel-2` for a cooler banner. ### Section header (section-header) The standard title for any section: a heading with a short accent bar under it, an intro line and an optional button that links to the full list. When to use: Open every section with it so the page reads as one system. On a dark band it flips to white by itself. HTML: ```html

Section title

One or two sentences that say what this section is for and why someone should keep reading.

View all
``` How to customise: - Change the title and the single intro sentence. Keep the intro to one or two sentences. - The accent bar is drawn by CSS (`.blk-head__main h2::after`), so it follows `--blk-accent`. Do not add an image or an eyebrow label above the title. - Remove the button for a section that has no page to link to. The header then centres on the text. - Use the outline button for a link to another page and keep the filled button for the one main action on the page. ### Feature rows (feature-rows) A two-column list of short points, each with a line icon, a heading and one or two sentences, separated by thin rules. When to use: Use it to explain how you work or what someone gets. It is quieter than cards, so it suits an intro section. HTML: ```html

How I help

I start with the problem rather than a preferred technology.

``` How to customise: - Four to six rows reads best. An odd number leaves a gap on desktop, so keep it even. - Icons are inline SVG with `stroke="currentColor"`, so they take `--blk-accent`. Use simple line icons at 24 by 24. - Keep each description to two sentences at most. - Put a section header above it. Do not add a button to every row. ### Split feature (split-feature) Text on one side and a picture or mock-up on the other, with a label, a heading, two short paragraphs and buttons. It stacks on a phone. When to use: Use it to explain one thing properly: a product, a service or a method. Two or three of them down a page is plenty. HTML: ```html

Product

Explain one thing properly

Say what it is and who it is for in two sentences. Lead with the benefit, then say how it works.

A second short paragraph can carry the detail that answers the obvious question.

``` How to customise: - Add the class blk-split--reverse to the section's grid to put the picture on the left. - The picture area is a gradient. Replace it with an img as the first child of blk-split__media. Give the image a real alt if it carries meaning. - Keep the label to two or three words. Keep each paragraph to two sentences. - Use one filled button and one outline button at most. ### Numbered columns (numbered-columns) A rounded tinted panel holding three numbered columns, each with an accent rule across the top, a number, a heading and a short paragraph. When to use: Use it for a process or a set of deliverables: three steps, three principles, three things you get. HTML: ```html

How it works

Three steps from first conversation to something working.

  1. 01

    Understand

    Start with the problem and who it affects, before choosing any tool.

  2. 02

    Build

    Deliver in small releases so you see progress early and can change direction.

  3. 03

    Hand over

    Leave the team with documentation and a way to keep going without you.

``` How to customise: - Keep it to three columns. Four is the most that fits comfortably. - Number the columns only when the order matters. Otherwise delete the numbers. - Change the panel tint with --blk-band-a or --blk-band-b by editing the background on blk-numpanel. - Write each paragraph as one or two sentences. ### FAQ accordion (faq) Questions and answers in native details elements. No JavaScript. It opens and closes smoothly in browsers that support it and still works in those that do not. When to use: Use it near the end of a page to answer the objections that stop people getting in touch. HTML: ```html

Frequently asked questions

The things people ask before they get in touch.

How do we start?

Send a short note about the problem. We agree what a first piece of work looks like before anything is committed.

How long does a typical project take?

Most start with a one to two week discovery, then move into delivery in small releases so you see progress early.

Do you work with our existing team?

Yes. I usually work alongside in-house people and suppliers, and leave things documented so they can carry on.

What does it cost?

It depends on scope. After the first conversation I give a fixed price for discovery and a range for the rest.

``` How to customise: - Write each question the way a customer would ask it. Keep each answer to a short paragraph. - Add `open` to the first `details` to show one answer by default. - Because it uses the browser's own `details` element, keyboard and screen-reader support comes built in. - Do not wrap the summary text in a heading. The summary is already the control. ### Checklist panel (checklist) A heading and intro beside a ticked checklist in a bordered card, with a short highlighted note underneath. Stacks on a phone. When to use: Use it for requirements, documents to bring, or what is included. A tick list is easier to scan than a paragraph and the note carries the one caveat that matters. HTML: ```html

What you need to bring

Have these ready before your appointment and we can usually finish in a single session.

Download the full list
  • A valid photo ID
  • Proof of address
  • Your reference number
  • Recent correspondence
  • Any previous decisions
  • A list of your questions
  • Contact details for others involved
  • Your preferred dates

Good to know: If something is missing, bring what you have. We can usually help you find the rest.

``` How to customise: - Keep each tick to one short line. Put detail on the page the list belongs to. - Six to ten ticks work best. The list runs in two columns on wide screens and one on a phone. - Rewrite or remove the note. It is for one thing the reader must not miss, not for general advice. - Switch the band with `--blk-band-a` or `--blk-band-b`, or remove the band class for a white section. ### Service cards (service-cards) A grid of six whole-card links, each with a coloured icon tile, a title, a short description and a 'Learn more' cue. Two columns on tablet, three on desktop. When to use: Use it to list what you offer and send people to the right page. Each card is one link, so the whole card is easy to hit on a phone. HTML: ```html

How we can help

Six areas of work, each with a fixed scope and a clear price.

All services
``` How to customise: - Use three, six or nine cards so the grid fills evenly. Keep each description to one sentence. - Each icon tile holds one character. Swap it for a short symbol or a letter, or put an inline SVG inside the tile. - The tile colour cycles through `--blk-accent`, `--blk-secondary` and `--blk-heading`. Change it by editing the `nth-child` rules. - Do not put a second link inside a card. The title link covers the whole card. ### Case-study panels (case-panels) Four tall dark panels on a dark band. Each panel is one whole link: a small label and a title. A swipe rail on phones, a four-column grid on desktop. When to use: Use it to put your best work first. Title only keeps it scannable; the detail belongs on the page each panel links to. HTML: ```html

Case studies

Four recent pieces of work, each with the problem, the decisions and the result.

All case studies
``` How to customise: - Each panel is a gradient built from `--blk-panel-1` to `--blk-panel-4`. For photography, add `` as the first child of the article: the CSS already covers the panel with it and keeps the text readable. - Keep the label short (a year and a client). Keep the title under about eight words. - The whole panel is clickable through the title link. Do not add a second link inside it. - Use four panels on desktop. On a phone they become a sideways swipe rail with the next panel peeking in. ### Dated ledger (ledger) A short list of current work as dated rows on a tinted band. Each row has a date, a live status pill, a title and a sentence. The rows lift on hover. When to use: Use it for "what we are working on now". The date and status make it feel current, so keep it up to date or remove it. HTML: ```html

Current work

A snapshot of what is in progress right now.

  1. In progress

    Ticketing and seating integration

    Seat selection, digital wallet passes and guest-data sync for a live ticketing system.

  2. In progress

    Connectors for AI assistants

    Secure connectors that let AI assistants work with existing platform data.

  3. In progress

    Diversity-data prototypes

    Configurable forms and tools to explore how diversity data is captured.

``` How to customise: - Keep it to three rows. The row markers use `--blk-accent`, `--blk-secondary` and `--blk-highlight`, in that order. - Change the band with `--blk-band-a` or switch the section to `--blk-band-b` for a cooler tone. - The status pill pulses. The pulse stops when the visitor prefers reduced motion. - On a phone the rows become a sideways swipe rail. ### Showcase mosaic (mosaic) A dark rounded box holding one large tile and two smaller ones. Use it for projects, products or anything you built yourself. When to use: Use it when you have one standout item and two supporting ones. The large tile earns the attention, so put your strongest work there. HTML: ```html

Projects

Things I built myself to learn, test an idea or fix my own problem.

All projects
``` How to customise: - Exactly three tiles: `--a` large, `--b` and `--c` small. Only the large tile carries a sentence. - Replace a gradient with a screenshot by adding `` as the first child of the tile. - The box sits inside the page width. For a full-width band instead, move the `blk-dark` class to the section and remove the `blk-box` wrapper. - On a phone the tiles become a swipe rail, like the case-study panels. ### Showcase box (showcase-box) A rounded, tinted box holding a short description beside a browser-frame mock-up. Built for the top of a project or product page. When to use: Use it to introduce one project or product, with a screenshot or live demo in the frame. HTML: ```html

Project name

One paragraph that says what the project is, what problem it solves and where it stands today.

example.com/project
``` How to customise: - Replace the placeholder bars in the frame with an img (one child of blk-frame__view), or leave it as a loading-state sketch. - Change the web address in the bar. It is only text. - The tint is --blk-band-b. Change it in a theme, not here. - Add the section below it with no top padding so the box and the content below feel connected. ### Rating strip (rating-strip) A compact trust bar: gold stars, a score, how many reviews it is based on and a link to read them. Sits in a rounded tinted box, in one row on desktop. When to use: Use it under a hero or above a form to give a quick, honest signal of reputation. Only use real figures you can point to. HTML: ```html

4.9 out of 5

Based on 120 verified client reviews.

Read the reviews
``` How to customise: - Use a real score and review count, and link to the page where they can be checked. - The stars are decoration with a text label. Change the `aria-label` to match the score. - Swap the tint with `--blk-band-b` or `--blk-band-c` in `block.css`. - On a phone the parts stack and centre. ### Quote columns (testimonial-columns) Four short, plain quotes side by side with no card around them. Each has a round initials badge, a name and a one-line detail, with a thin accent rule on top. When to use: Use it for short, punchy endorsements where a full card would feel heavy. It sits well straight after a hero or above a call to action. HTML: ```html

Trusted by people like you

A few words from recent clients.

``` How to customise: - Keep each quote to one or two sentences. Longer reviews belong in the testimonial rail. - The round badge shows initials on a gradient from `--blk-panel-1` to `--blk-panel-4`. For a photo, replace the badge text with `` as its only child; the CSS crops it round. - Use two or four quotes. Three leaves an empty cell on desktop. - On a tablet the quotes become two columns, on a phone one. ### Testimonial rail (testimonial-rail) A sideways scroll-snap row of review cards, each with a star rating, a quote and a named author. Three across on desktop, one with the next peeking in on a phone. When to use: Use it when you have more reviews than fit in a grid. It scrolls by touch, trackpad or keyboard with no JavaScript, so add as many cards as you like. HTML: ```html

What clients say

Reviews from people we have worked with.

``` How to customise: - Use real, attributed reviews. Keep each quote to two or three sentences and give a name plus a role or place. - Add or remove cards freely. Each card is one `
  • ` and the rail scrolls to fit. - The stars are text characters with an `aria-label`. Change the label to match the score, for example `4 out of 5 stars`. - Switch the band with `--blk-band-b` or `--blk-band-c`, or make the section white by removing the band class. ### Facts card (facts-card) A small tinted card with a titled list of key facts, each with an icon, a label and one line of detail. Made for the side of a case study or project page. When to use: Use it beside long content to give the quick facts: client, role, dates, tools, result. HTML: ```html
    ``` How to customise: - Keep it to four or five facts. Each detail is one short line. - Icons are inline SVG that use currentColor, so they take the accent. Draw them 24 by 24 with a thin stroke. - Put it in a narrow column beside your content. It is not meant to be full width. - The card background is --blk-band-a. Change it in a theme. ### Article body (article-body) Readable long-form text: a lead paragraph, headings, lists, a pull quote, a table and a code sample, set on a comfortable line length. When to use: Use it for the body of an article or guide. Wrap your own content in blk-prose and every element inside is styled. HTML: ```html

    A lead paragraph in a larger size, saying what the article covers in a sentence or two.

    A section heading

    Body text is set at a comfortable measure so it stays easy to read. Links look like this and stay underlined.

    • Lists keep their spacing and markers.
    • Use them for steps, options or short facts.
    A quote or key point that deserves a pause, set apart from the text around it.

    A sub-section

    Tables get a clear header row and thin rules between rows.

    OptionBest for
    FirstThe common case
    SecondThe unusual case
    npm run build
    ``` How to customise: - Wrap any article content in blk-prose. You do not add classes to the paragraphs, lists or headings. - Use h2 for sections and h3 for sub-sections. The page title is the only h1. - The lead paragraph class is blk-prose__lead. Use it once, for the first paragraph. - Links inside the text are underlined and take the accent colour. Keep link text meaningful. ### Callout (callout) A tinted note with a coloured edge and a short heading. A cool version for tips and a warm version for warnings. When to use: Use it inside an article to lift out one tip or caution. Use sparingly; if everything is a callout, nothing is. HTML: ```html
    ``` How to customise: - Use the plain version for tips and add `blk-callout--warn` for cautions. - Keep the body to two or three sentences. - The tints come from `--blk-band-a` and `--blk-band-b`; change those in your theme to recolour them. - Give each callout its own heading text and a unique id on the heading. ### Featured guide with list (featured-guides) One large featured guide beside a stack of smaller guides with square pictures, on a champagne band. When to use: Use it to promote one flagship piece of content while still showing a few others. Good for a guides or resources landing page. HTML: ```html

    Guides

    Start with the featured guide, or pick a shorter read.

    ``` How to customise: - Add a photo to the featured card by putting `` as its first child, and to a row by putting an `` inside its picture box. - The whole featured card is clickable through its title link; do not add another link in it. - Change the band with `--blk-band-c`, or switch the class to use `--blk-band-a` or `--blk-band-b` instead. - Keep to three small guides beside the feature; more makes the column taller than the card. ### Photo rail (photo-rail) A full-width sideways strip of photo tiles with short captions. Gradient tiles stand in until you add pictures. Swipe or scroll on any screen, with the strip bleeding off the page edge. When to use: Use it for a gallery, places, team or process photos. It adds visual rhythm between text sections and needs no JavaScript. HTML: ```html

    A look around

    Scroll through a few moments from our work and our place.

    ``` How to customise: - For photos, add `A useful description` as the first child of each `
    `. Add real alt text, or `alt=""` if the caption already says it. - Keep captions to a few words. They sit over a dark fade at the bottom of each tile. - Add as many tiles as you like. The strip scrolls and snaps; on desktop about four show at once. - Tile colours cycle through `--blk-panel-1` to `--blk-panel-4`. ### Pull quote (pull-quote) One large serif quotation centred on a full-width dark band, with a short attribution under a small accent rule. When to use: Use it to break up a long page with a single memorable line. One quote per band; make it short enough to read at a glance. HTML: ```html

    The best part of the whole trip was the hour we spent with nothing planned.

    A traveller, on the slow route
    ``` How to customise: - For a photo background add `` as the first child of the section: the CSS covers the band with it and adds a dark veil so the text stays readable. - Keep the quote under about fifteen words. The width is capped so it breaks into short, balanced lines. - Change the gradient by swapping `--blk-panel-2` for `--blk-panel-1`, `--blk-panel-3` or `--blk-panel-4`. - Leave the attribution out entirely if the quote is your own words. ### Review form (review-form) A client review form with a CSS-only star rating (a radio group that fills left to right), text fields, a consent tick and a submit button, inside a bordered card. When to use: Use it on a page where clients leave a review or feedback. Point the form action at your own form service; the stars work without JavaScript. HTML: ```html

    Leave a review

    Two minutes is all it takes. Your feedback helps others decide.

    Your rating
    ``` How to customise: - Set the form `action` and `method` to your form service. The demo uses `#` so nothing is sent. - Keep the radio inputs in their current order (5 stars first). The CSS reverses the row so the stars fill left to right. - Keep a visible label for every field and the consent line. Add or remove text fields by copying a `blk-field` block. - Add a hidden spam-trap field on the server side or with your form provider, not with inline styles. ### Article cards (post-cards) A grid of article cards, each with a picture, a date, a title and a summary, plus a row of topic pills above it. Three columns on desktop, one on a phone. When to use: Use it for a blog index or a short list of recent articles on the home page. Three or six cards look best. HTML: ```html

    Latest articles

    Short, practical write-ups of what I learned doing the work.

    All articles
    ``` How to customise: - Replace a card's gradient picture with an img as the first child of blk-card__media. Give it a 16 to 10 shape. - The whole card is one link, through the title. Do not add a second link inside it. - The topic pills are plain links. Mark the current topic with aria-current="page" to fill it. - Keep titles under about ten words and summaries to one or two sentences. ### Article closing (article-closing) What goes under a finished article: a solid call-to-action box, a short related-reading list and previous/next links, all inside the reading column. When to use: Use it at the foot of every article so readers have somewhere to go. The call to action answers 'what now?', the related list keeps them reading. HTML: ```html

    Ready to talk it through?

    Book a short, free call and we will tell you honestly what is involved and what it costs.

    Book a call
    ``` How to customise: - Make the call to action one clear next step, such as booking a call or getting a quote. Keep it to one sentence and one button. - Link two to four related articles. Use plain titles, not teasers. - The previous and next links should point to the neighbouring articles in your list. Remove the one that does not exist at either end. - The box uses `--blk-accent`. For a calmer look, change it to `--blk-cta` in `block.css`. ### Article with sidebar (article-sidebar) A reading layout: a narrow article column with a sticky sidebar holding a search box, a topic list and a few recent posts. The sidebar drops below the article on tablets and phones. When to use: Use it for long-form articles or guides where readers may want to move on to related reading. The search is a plain form that submits to your own search page. HTML: ```html

    · 6 minute read

    How to prepare before your first appointment

    A short, practical guide to what to gather, what to ask and what to expect, so the first conversation is productive.

    Start with the paperwork

    Gather the documents you already have in one place. A simple folder with clear file names saves time for you and for anyone helping you, and it makes gaps easy to spot early.

    Write down your questions

    Keep a running list as you think of them. Put the most important one first, so it gets answered even if time runs short.

    Ten minutes of preparation usually saves an hour of back and forth.

    Know what happens next

    Ask for the next steps, the timeline and the cost in writing. Then you can plan around them with confidence.

    ``` How to customise: - Replace the article text with your own. Keep paragraphs short and headings plain. - Point the search form `action` at your own search page. Without one, remove the whole search block. - For a thumbnail on a recent post, add `` inside the `blk-aside__thumb` span; the CSS crops it to the gradient tile. - The sidebar sticks while the article scrolls on wide screens and sits under the article on narrow ones. ### Table of contents (contents) A numbered list of in-page links, separated by hairlines, with serif titles and an accent number. When to use: Use it at the top of a long guide or article so readers can jump to the part they need. Point each link at a section id further down the page. HTML: ```html
    ``` How to customise: - Change each `href="#"` to the id of a heading on your page, for example `href="#getting-there"`. - Numbers are generated by the CSS, so you can add or remove items without renumbering. - Keep it to four to eight items. For a longer page, group the sections first. - It sits in the narrow reading width. Remove `blk-container--narrow` to span the page. ### Numbered index (numbered-index) A plain list of articles as numbered rows separated by hairlines: number, serif title with a summary line, and a category with reading time. Each row is one whole link. When to use: Use it for an archive or blog index where you want a calm, text-first list instead of a card grid. HTML: ```html

    Latest stories

    Recent writing, newest first.

    1. 01

      A short story about a place

      One sentence that tells you whether it is worth the read.

      Travel · 6 min
    2. 02

      What the second week taught us

      An honest account of what changed once the novelty wore off.

      Notes · 4 min
    3. 03

      A practical guide to the first day

      The checklist we wish we had, in the order that works.

      Guide · 9 min
    ``` How to customise: - Each row is clickable through the title link. Change `href="#"` to the article address. - Add or remove rows freely; the numbers are plain text, so renumber them by hand. - Replace the category and time with a date if you prefer, for example `12 Nov 2026`. - On a phone the category line sits under the summary. ### Pricing cards (pricing-cards) Three centred price cards on a tinted band. The middle card is featured in the accent colour with a badge, and each card has a native show/hide list of what is included. When to use: Use it for fixed-price services or plans. The include lists use details/summary, so they open and close without JavaScript. HTML: ```html

    Simple, fixed prices

    Pick the level of support you need. Every price is agreed before we start.

    Starter

    £99one-off

    A short session to answer your questions and agree a plan.

    What is included
    • A 30 minute call
    • A written summary
    • One follow-up question
    Choose Starter

    Complete

    £499one-off

    Full support, including anything that comes up after you submit.

    What is included
    • Everything in Standard
    • Priority replies
    • Help with follow-up requests
    • Support for 90 days
    Choose Complete
    ``` How to customise: - Change the three titles, prices and one-line descriptions. Keep the descriptions about the same length so the cards line up. - Move the featured card by moving the `blk-price--featured` class and the badge to another card. Keep only one featured card. - Add `open` to a `
    ` element to show its list by default. - The featured card uses `--blk-accent`, the badge uses `--blk-highlight`. On a phone the cards stack. ### Fact panel (fact-panel) A dark rounded panel of four key facts. Each is a small label over a large serif value. When to use: Use it at the top of a guide, product or place page to give the essentials at a glance: when, how much, how long. HTML: ```html

    At a glance

    Best time
    April to June
    Daily budget
    From 60 a day
    Getting around
    Train and bus
    Stay for
    One to two weeks
    ``` How to customise: - Keep to four facts for a clean row on desktop. Two or six also work; they wrap into columns. - Keep values to a few words. Longer detail belongs in the page text. - Swap the panel colour by changing `--blk-darker` in your theme. - On a phone the facts sit in two columns. ### Photo filmstrip (filmstrip) A sideways rail of tall pictures with captions that snaps card by card. Scrolls with touch, trackpad or the keyboard. When to use: Use it for a gallery of five to eight photos when you do not want to give each a full row. It saves vertical space. HTML: ```html

    From the road

    Swipe or scroll sideways for more.

    • First light over the harbour
    • The market before it opens
    • A long lunch on the terrace
    • The last train home
    • An evening walk
    ``` How to customise: - Add photos by putting `...` as the first child of each `blk-strip__ph` box. - The rail takes focus with the Tab key and then scrolls with the arrow keys. - Make the pictures wider by changing `aspect-ratio: 4 / 5` to `3 / 2` in the CSS. - Add or remove list items freely; the rail grows to fit. ### Picture list (pack-list) A vertical list of cards, each with a square picture, a serif title and a one-line reason. A packing list, a gear list or a recommended-products list. When to use: Use it for recommended items with a short justification. Keep it to three to eight entries; it reads as a checklist of picks. HTML: ```html

    What to pack

    A short list of the things worth carrying, with a line on why.

    • A light rain jacket

      Folds small and covers every season.

    • A universal adapter

      One plug that works in every country on the route.

    • A refillable bottle

      Saves money and plastic from the first day.

    ``` How to customise: - Add a photo by putting `...` as the first child of the square picture box. It is cropped to fit. - Make a title a link by wrapping it in an anchor; links pick up the standard accent colour and focus ring. - The container is the narrow reading width. Remove `blk-container--narrow` for a full-width list. - Keep each reason to one sentence. ### Photo spread (photo-spread) A big picture across the full width with a caption, followed by a pair of smaller pictures side by side. When to use: Use it inside an article or guide to let the photography carry the page. Each figure has a one-line caption. HTML: ```html

    A day on the road

    Big pictures, short captions, plenty of room.

    A wide opening scene, with one line saying where we are.
    A detail from the morning.
    A quieter moment after lunch.
    ``` How to customise: - Where a photo goes, add `...` as the first child of each `blk-spread__ph` box: the CSS crops it to fit and it covers the gradient. - Delete the wide figure for a simple pair, or repeat the pair for a longer gallery. - Write captions that say something the picture does not: where, when, or why it mattered. - On a phone the pictures stack in a single column. ### Picture tiles (picture-tiles) Large numbered tiles led by the picture, with an oversized serif name and a one-line description. Each tile is one whole link. When to use: Use it to introduce places, categories or collections where the image does the selling. Three or five tiles work best, with the last one wide. HTML: ```html

    Places to start

    Three places, each one a good first stop.

    All places
    1. 01

      A coastal town

      Slow mornings and the best seafood on the list.

    2. 02

      A mountain village

      Cool air, quiet streets, great for focused work.

    3. 03

      A river city

      Cafes, trains and enough going on for a month.

    ``` How to customise: - For photography add `` as the first child of each list item; the CSS covers the tile and keeps the text readable. - The whole tile is clickable through the title link. Do not add a second link inside it. - Remove `blk-ptile--wide` for an even two-column grid, or add it to any tile to stretch it across. - Keep titles to one to three words so the large type fits. ### Marquee strip (marquee-strip) A slow, endless sideways ticker of short items, such as client types, tools or keywords. It pauses when someone hovers or focuses it. When to use: Use it for a long list of names or tools that would otherwise take up a lot of room. Keep each item to a word or two. HTML: ```html
    • Media
    • Finance
    • Membership
    • Events
    • Legal
    • Travel
    • Automation
    • AI
    ``` How to customise: - List each item once in the first list. The second list is a copy that makes the loop seamless and is hidden from screen readers, so keep both lists the same. - Change the speed by editing the animation duration (30s) in block.css. Longer is calmer. - With reduced motion the strip stops and wraps onto several lines so every item is still readable. - All motion stops when the visitor has asked their device for reduced motion, because base.css switches animations off. ### Scroll reveal cards (reveal-cards) Cards that fade and rise into place one after another as they scroll into view. Pure CSS, using the browser's scroll-driven animations. When to use: Use it for a short list that you want to feel alive as someone scrolls. Three or four cards is plenty. HTML: ```html

    How we work

    Scroll to see each step arrive.

    1. 01

      Listen

      Start with the problem and the people it affects.

    2. 02

      Shape

      Agree the smallest useful thing and how we will know it works.

    3. 03

      Build

      Deliver in small releases you can see and try.

    4. 04

      Hand over

      Leave a team that can carry on without me.

    ``` How to customise: - It uses animation-timeline: view(), supported in current Chrome, Edge and Safari. Browsers without it simply show the cards with no animation. - The stagger comes from the animation-range on each card. Change the offsets in block.css to make it quicker or slower. - Never hide important content behind motion. The cards are fully visible without it. - All motion stops when the visitor has asked their device for reduced motion, because base.css switches animations off. ### Shimmer headline (shimmer-text) A large headline with a soft band of light that sweeps across the key words, and a button with the same shimmer. When to use: Use it once, on the one phrase you want people to read. Motion draws the eye, so more than one shimmer on a page cancels itself out. HTML: ```html

    Ideas that actually ship

    One short line that follows the headline and says what you do.

    Start a project
    ``` How to customise: - Wrap only the key words in blk-shimmer__text. The rest of the headline stays still. - The sweep colour comes from --blk-accent, so a theme recolours it. - Slow it down or speed it up by changing the animation duration (6s) in block.css. - All motion stops when the visitor has asked their device for reduced motion, because base.css switches animations off. ### Loading skeletons (skeleton-cards) Placeholder cards with a shimmer sweeping across grey shapes, the pattern used while content is loading. When to use: Use it to show that content is on its way, in place of a spinner. Replace each placeholder with the real card when it arrives. HTML: ```html

    Loading state

    Placeholders that hold the layout while the real content loads.

    ``` How to customise: - Match the number and shape of the placeholders to the real content so nothing jumps when it loads. - The list is hidden from screen readers. Add a visually hidden message such as Loading articles inside the live region around it. - Remove the shimmer by deleting the animation line if you want static placeholders. - All motion stops when the visitor has asked their device for reduced motion, because base.css switches animations off. ### Closing call to action (cta-band) A full-width coloured band that closes a page: a question or promise on the left, the main action on the right. When to use: End every page with it. One band, one action. Do not repeat it in the middle of the page. HTML: ```html

    Working on something that needs to work better?

    Tell me what you are trying to do and I will help work out the right approach, then take it into delivery.

    ``` How to customise: - Write the heading as the situation the visitor is in, then the paragraph as what happens next. - On the dark band the filled button turns white with accent text, so it always has contrast. Change the band colour with `--blk-cta`. - Keep to one filled button and at most one outline button. - The text sits left and the buttons right on desktop. On a phone they stack. ## CSS (blocks.css) ```css /* Product Scope Blocks (https://resources.productscope.uk/blocks) - tokens, base and all blocks. MIT licence. Generated: do not edit by hand. */ /* Product Scope Blocks: design tokens. Every colour, font and radius a block uses comes from here. To re-theme a site, override these variables (see themes/). Blocks never hard-code a brand colour. */ :root { /* Accent: links, buttons, rules, highlights. Must reach 4.5:1 on --blk-bg. */ --blk-accent: #800020; --blk-accent-dark: #5e0018; /* hover and pressed */ --blk-on-accent: #ffffff; /* text on a filled accent button */ /* Surfaces */ --blk-bg: #ffffff; --blk-dark: #1b2329; /* dark rounded boxes, dark buttons */ --blk-darker: #141a1f; /* the darkest box surface */ --blk-deep: #080c12; /* full-width dark band behind the case-study panels */ --blk-band-a: #f4e6e6; /* tinted band one (warm) */ --blk-band-b: #dde6ef; /* tinted band two (cool) */ --blk-band-c: #efe6d2; /* tinted band three (champagne) */ --blk-surface: #ffffff; /* cards and panels that sit on a tinted band */ --blk-cta: #1e3a5f; /* closing call-to-action band */ --blk-secondary: #1e3a5f; /* second accent: dates, row markers */ --blk-highlight: #c9a227; /* third accent: row markers, ratings */ /* Text */ --blk-heading: #20282d; --blk-ink: #263037; --blk-muted: #54606a; --blk-line: #e3e8ea; --blk-on-dark: #ffffff; --blk-on-dark-muted: #d3dce5; /* body text on dark surfaces */ --blk-on-dark-accent: #ff9fb2; /* small caps labels on dark surfaces */ /* Panels and tiles (gradients that stand in for photography) */ --blk-panel-1: #5e0018; --blk-panel-2: #1e3a5f; --blk-panel-3: #3b2a52; --blk-panel-4: #6b4e12; /* Type */ --blk-font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --blk-heading-weight: 600; /* 400 for display serifs that have one weight */ --blk-font-serif: "DM Serif Display", Georgia, "Times New Roman", serif; /* display and quote type */ /* Shape */ --blk-radius: 8px; --blk-radius-lg: 16px; --blk-radius-xl: 22px; --blk-container: 1200px; --blk-container-narrow: 820px; /* reading measure */ --blk-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); } /* Product Scope Blocks: base layer. Shared by every block: sizing, the container, section spacing, headings and buttons. Class-based on purpose, so it never restyles the rest of your page. */ .blk-section, .blk-section *, .blk-section *::before, .blk-section *::after { box-sizing: border-box; } .blk-section { font-synthesis-weight: none; font-family: var(--blk-font-body); color: var(--blk-ink); line-height: 1.65; padding: clamp(44px, 5.5vw, 76px) 0; background: var(--blk-bg); } .blk-container { width: 100%; max-width: var(--blk-container); margin-inline: auto; padding-inline: 24px; } .blk-section h1, .blk-section h2, .blk-section h3, .blk-section p { margin: 0; } .blk-section h1, .blk-section h2, .blk-section h3 { font-family: var(--blk-font-heading); color: var(--blk-heading); font-weight: var(--blk-heading-weight); line-height: 1.25; text-wrap: balance; } .blk-section h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); } .blk-dark h1, .blk-dark h2, .blk-dark h3 { color: var(--blk-on-dark); } .blk-section a:focus-visible, .blk-section summary:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: 3px; border-radius: 2px; } .blk-dark :focus-visible { outline-color: #fff; } /* Buttons: filled (primary) and outline (the standard link to another page) */ .blk-btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--blk-font-heading); font-weight: 600; font-size: .9rem; letter-spacing: .02em; padding: 14px 30px; border-radius: 4px; border: 2px solid transparent; text-decoration: none; text-align: center; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; } .blk-btn--primary { background: var(--blk-accent); border-color: var(--blk-accent); color: var(--blk-on-accent); } .blk-btn--primary:hover { background: var(--blk-accent-dark); border-color: var(--blk-accent-dark); color: var(--blk-on-accent); } .blk-btn--outline { background: transparent; border-color: var(--blk-accent); color: var(--blk-accent); } .blk-btn--outline:hover { background: var(--blk-accent); color: var(--blk-on-accent); } .blk-btn-row { display: flex; flex-wrap: wrap; gap: 14px; } /* On any dark surface the buttons flip to white so they keep their contrast */ .blk-dark .blk-btn--outline { border-color: rgba(255,255,255,.7); color: #fff; } .blk-dark .blk-btn--outline:hover { background: #fff; border-color: #fff; color: var(--blk-accent); } .blk-dark .blk-btn--primary { background: #fff; border-color: #fff; color: var(--blk-accent); } .blk-dark .blk-btn--primary:hover { background: #f0e6e9; border-color: #f0e6e9; color: var(--blk-accent-dark); } @media (prefers-reduced-motion: reduce) { .blk-section *, .blk-section *::before, .blk-section *::after { transition: none !important; animation: none !important; } } /* Icons: line icons use stroke="currentColor"; filled icons (for example Material Symbols) add this class */ .blk-icon--fill { fill: currentColor; stroke: none; } /* Site footer */ .blk-sitefoot.blk-section { background: var(--blk-dark); padding: clamp(48px, 6vw, 72px) 0 0; font-size: .95rem; } .blk-sitefoot__main { display: grid; gap: 36px clamp(32px, 5vw, 64px); } .blk-sitefoot__brand p { color: var(--blk-on-dark-muted); max-width: 40ch; margin-top: 16px; } .blk-sitefoot__col h2 { font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; color: var(--blk-on-dark); } .blk-sitefoot__col ul { list-style: none; margin: 0; padding: 0; } .blk-sitefoot__col li { margin-bottom: 11px; } .blk-sitefoot a { color: var(--blk-on-dark-muted); text-decoration: none; transition: color .2s ease; } .blk-sitefoot a:hover { color: var(--blk-on-dark); } .blk-sitefoot .blk-brand { color: var(--blk-on-dark); } .blk-sitefoot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(36px, 5vw, 56px); padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.12); color: var(--blk-on-dark-muted); font-size: .88rem; } @media (min-width: 860px) { .blk-sitefoot__main { grid-template-columns: 1.6fr 1fr 1fr; } } /* Site header */ .blk-sitehead.blk-section { position: sticky; top: 0; z-index: 50; padding: 0; background: var(--blk-dark); border-top: 4px solid var(--blk-accent); } .blk-sitehead__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; } .blk-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blk-on-dark); text-decoration: none; } .blk-brand__mark { width: 38px; height: 38px; flex: 0 0 auto; stroke-linecap: butt; } .blk-brand__name { font-family: var(--blk-font-heading); font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; } .blk-nav__list { list-style: none; margin: 0; padding: 0; display: none; align-items: center; gap: 28px; } .blk-nav__list a:not(.blk-btn), .blk-nav__menu a { position: relative; color: var(--blk-on-dark); text-decoration: none; font-family: var(--blk-font-heading); font-weight: 500; font-size: .92rem; padding: 6px 0; } .blk-nav__list a:not(.blk-btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blk-on-dark); transition: width .25s ease; } .blk-nav__list a:not(.blk-btn):hover::after, .blk-nav__list a[aria-current="page"]::after { width: 100%; } .blk-nav__list .blk-btn { padding: 8px 18px; font-size: .85rem; } .blk-nav__menu { position: relative; } .blk-nav__menu summary { list-style: none; cursor: pointer; font-family: var(--blk-font-heading); font-weight: 600; font-size: .9rem; color: var(--blk-on-dark); border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 9px 16px; } .blk-nav__menu summary::-webkit-details-marker { display: none; } .blk-nav__menu[open] summary { background: rgba(255,255,255,.12); } .blk-nav__menu ul { list-style: none; margin: 0; padding: 8px 0; position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: var(--blk-dark); border: 1px solid rgba(255,255,255,.18); border-radius: var(--blk-radius); box-shadow: var(--blk-shadow); } .blk-nav__menu li a { display: block; padding: 12px 20px; } .blk-nav__menu a[aria-current="page"] { color: var(--blk-on-dark-accent); } @media (min-width: 900px) { .blk-nav__list { display: flex; } .blk-nav__menu { display: none; } } .blk-nav { display: flex; align-items: center; } /* Page title */ .blk-pagetitle.blk-section { padding: clamp(56px, 7vw, 100px) 0 clamp(18px, 2.4vw, 32px); } .blk-pagetitle h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); } .blk-pagetitle h1::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--blk-accent); margin-top: 20px; } .blk-pagetitle__lead { max-width: 52rem; margin-top: 20px; font-family: var(--blk-font-heading); font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--blk-muted); } /* Hero with proof */ .blk-hero { background: radial-gradient(900px 420px at 88% -10%, color-mix(in srgb, var(--blk-accent) 55%, transparent), transparent 70%), var(--blk-dark); color: var(--blk-on-dark); padding: clamp(60px, 8vw, 112px) 0 clamp(44px, 6vw, 80px); } .blk-hero__title { color: var(--blk-on-dark); font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; } .blk-section.blk-hero h1 { color: var(--blk-on-dark); } .blk-hero__lead { margin-top: 20px; max-width: 58ch; font-family: var(--blk-font-heading); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--blk-on-dark-muted); } .blk-hero__actions { margin-top: 30px; } .blk-proof { list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.3); } .blk-proof li { padding: 20px clamp(14px, 2.4vw, 30px) 0; border-left: 1px solid rgba(255,255,255,.22); } .blk-proof li:first-child { padding-left: 0; border-left: 0; } .blk-proof strong { display: block; font-family: var(--blk-font-heading); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.05; color: var(--blk-on-dark); } .blk-proof span { display: block; margin-top: 8px; color: var(--blk-on-dark-muted); font-size: .95rem; line-height: 1.45; } @media (max-width: 640px) { .blk-proof { grid-template-columns: 1fr; } .blk-proof li { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); } .blk-proof li:first-child { border-top: 0; } } /* Page banner */ .blk-banner { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 11vw, 120px) 0; background: radial-gradient(120% 140% at 10% 0%, var(--blk-panel-1), var(--blk-deep)); color: var(--blk-on-dark); } .blk-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .blk-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,13,19,.82) 10%, rgba(8,13,19,.35) 90%); } .blk-banner__inner { max-width: 640px; } .blk-banner h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin-bottom: .35em; } .blk-banner p { font-family: var(--blk-font-heading); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.5; color: var(--blk-on-dark-muted); margin-bottom: 1.6em; } .blk-banner--centred .blk-banner__inner { max-width: var(--blk-container-narrow); margin-inline: auto; text-align: center; } .blk-banner--centred .blk-btn-row { justify-content: center; } /* Section header */ .blk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(26px, 4vw, 42px); } .blk-head__main { max-width: 52rem; } .blk-head__main h2::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--blk-accent); margin-top: 16px; } .blk-head__main p { font-family: var(--blk-font-heading); font-weight: 400; font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--blk-muted); margin-top: 16px; } .blk-head__btn { flex: 0 0 auto; white-space: nowrap; } .blk-dark .blk-head__main h2 { color: var(--blk-on-dark); } .blk-dark .blk-head__main h2::after { background: var(--blk-on-dark); } .blk-dark .blk-head__main p { color: var(--blk-on-dark-muted); } @media (max-width: 720px) { .blk-head { flex-direction: column; align-items: flex-start; } } /* Feature rows */ .blk-features { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(24px, 3vw, 38px) clamp(40px, 6vw, 80px); } .blk-feature { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--blk-line); padding-top: clamp(20px, 2.2vw, 26px); } .blk-feature__icon { flex: 0 0 auto; color: var(--blk-accent); line-height: 0; } .blk-feature__icon svg { width: 30px; height: 30px; stroke-width: 1.6; } .blk-feature h3 { font-size: 1.08rem; margin-bottom: .45em; } .blk-feature p { color: var(--blk-muted); font-size: .95rem; line-height: 1.6; } @media (min-width: 720px) { .blk-features { grid-template-columns: 1fr 1fr; } } /* Split feature */ .blk-split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; } .blk-split__label { font-family: var(--blk-font-heading); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blk-accent); margin-bottom: 14px; } .blk-split__body h2 { margin-bottom: .6em; } .blk-split__body p + p { margin-top: 1em; } .blk-split__actions { margin-top: 1.8em; } .blk-split__media { position: relative; min-height: 300px; border-radius: var(--blk-radius-lg); overflow: hidden; background: radial-gradient(120% 100% at 100% 0%, var(--blk-panel-2), var(--blk-dark)); } .blk-split__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } @media (min-width: 860px) { .blk-split { grid-template-columns: 1fr 1fr; } .blk-split--reverse .blk-split__media { order: -1; } .blk-split__media { min-height: 380px; } } /* Numbered columns */ .blk-numpanel { background: var(--blk-band-a); border-radius: var(--blk-radius-lg); padding: clamp(28px, 4vw, 56px); } .blk-numcols { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(30px, 4vw, 56px); } .blk-numcol { border-top: 2px solid var(--blk-accent); padding-top: 22px; } .blk-numcol__n { display: block; font-family: var(--blk-font-heading); font-weight: 700; font-size: 1.35rem; color: var(--blk-accent); margin-bottom: 10px; } .blk-numcol h3 { font-size: 1.3rem; margin-bottom: .5em; } .blk-numcol p { font-size: 1rem; line-height: 1.6; } @media (min-width: 800px) { .blk-numcols { grid-template-columns: repeat(3, 1fr); } } /* FAQ accordion */ .blk-faq { max-width: 880px; } .blk-faq__item { border-bottom: 1px solid var(--blk-line); } .blk-faq__item:first-child { border-top: 1px solid var(--blk-line); } .blk-faq__item summary { display: block; cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-family: var(--blk-font-heading); font-weight: 600; font-size: 1.12rem; color: var(--blk-heading); transition: color .15s ease; } .blk-faq__item summary::-webkit-details-marker { display: none; } .blk-faq__item summary:hover, .blk-faq__item[open] > summary { color: var(--blk-accent); } .blk-faq__item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--blk-accent); } .blk-faq__item[open] > summary::after { content: "\2212"; } .blk-faq__item p { margin: 0 0 24px; max-width: 72ch; } @supports (interpolate-size: allow-keywords) { .blk-faq { interpolate-size: allow-keywords; } .blk-faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .32s ease, content-visibility .32s allow-discrete; } .blk-faq__item[open]::details-content { block-size: auto; } } /* Checklist panel */ .blk-check-band { background: var(--blk-band-c); } .blk-check { display: grid; gap: 32px; align-items: start; } .blk-check__intro h2::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--blk-accent); margin: 16px 0; } .blk-check__intro p { color: var(--blk-muted); margin-bottom: 22px; } .blk-check__card { padding: clamp(22px, 3.5vw, 36px); background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius-lg); box-shadow: var(--blk-shadow); } .blk-check__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; } .blk-check__list li { position: relative; padding-left: 32px; color: var(--blk-ink); } .blk-check__list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: .75rem; font-weight: 700; color: var(--blk-accent); background: color-mix(in srgb, var(--blk-accent) 12%, transparent); } .blk-check__note { margin-top: 24px; padding: 14px 18px; border-left: 4px solid var(--blk-highlight); border-radius: var(--blk-radius); background: color-mix(in srgb, var(--blk-highlight) 14%, transparent); font-size: .96rem; color: var(--blk-ink); } @media (min-width: 640px) { .blk-check__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 960px) { .blk-check { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } } /* Service cards */ .blk-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; } .blk-service { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 26px 24px; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius-lg); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; } .blk-service:hover { transform: translateY(-4px); box-shadow: var(--blk-shadow); border-color: color-mix(in srgb, var(--blk-accent) 40%, var(--blk-line)); } .blk-service:focus-within { outline: 3px solid var(--blk-accent); outline-offset: 3px; } .blk-service__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; font-size: 1.35rem; line-height: 1; color: var(--blk-on-accent); background: var(--blk-accent); } .blk-service:nth-child(3n+2) .blk-service__icon { background: var(--blk-secondary); } .blk-service:nth-child(3n) .blk-service__icon { background: var(--blk-heading); } .blk-service h3 { font-size: 1.2rem; margin-bottom: .4em; } .blk-service h3 a { color: inherit; text-decoration: none; } .blk-service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--blk-radius-lg); } .blk-service h3 a:focus-visible { outline: none; } .blk-service p { color: var(--blk-muted); font-size: .98rem; } .blk-service__more { margin-top: auto; padding-top: 16px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .88rem; color: var(--blk-accent); } .blk-service:hover .blk-service__more { text-decoration: underline; text-underline-offset: 3px; } @media (min-width: 640px) { .blk-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 1000px) { .blk-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (prefers-reduced-motion: reduce) { .blk-service:hover { transform: none; } } /* Case-study panels */ .blk-panels-band { background: var(--blk-deep); } .blk-panels { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; scrollbar-color: #fff transparent; } .blk-panel { position: relative; isolation: isolate; flex: 0 0 82%; max-width: 380px; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; scroll-snap-align: start; border-radius: var(--blk-radius-lg); border: 1px solid rgba(255,255,255,.12); color: var(--blk-on-dark); background: radial-gradient(130% 95% at 15% 0%, var(--panel, var(--blk-panel-1)), var(--blk-deep)); } .blk-panel--1 { --panel: var(--blk-panel-1); } .blk-panel--2 { --panel: var(--blk-panel-2); } .blk-panel--3 { --panel: var(--blk-panel-3); } .blk-panel--4 { --panel: var(--blk-panel-4); } .blk-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .blk-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,13,19,.94) 6%, rgba(8,13,19,.5) 50%, rgba(8,13,19,.05) 85%); } .blk-panel__body { padding: 22px; width: 100%; } .blk-panel__meta { margin-bottom: 8px; font-family: var(--blk-font-heading); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blk-on-dark-accent); } .blk-panel h3 { font-size: 1.18rem; line-height: 1.25; color: var(--blk-on-dark); } .blk-panel h3 a { color: inherit; text-decoration: none; } .blk-panel h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; } .blk-panel:focus-within { outline: 3px solid #fff; outline-offset: 3px; } .blk-panel h3 a:focus-visible { outline: none; } .blk-panel:hover { border-color: rgba(255,255,255,.4); } @media (min-width: 900px) { .blk-panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; } .blk-panel { max-width: none; min-height: 440px; } .blk-panel__body { padding: 22px 20px; } } /* Dated ledger */ .blk-ledger-band { background: var(--blk-band-a); } .blk-ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .blk-ledger__row { position: relative; display: grid; gap: 6px 32px; align-items: center; padding: 20px 24px 20px 28px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.55); border: 1px solid color-mix(in srgb, var(--blk-accent) 14%, transparent); transition: background .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.22,.61,.36,1); } .blk-ledger__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blk-accent); transform: scaleY(.45); transition: transform .45s cubic-bezier(.22,.61,.36,1); } .blk-ledger__row:nth-child(2)::before { background: var(--blk-secondary); } .blk-ledger__row:nth-child(3)::before { background: var(--blk-highlight); } .blk-ledger__row:hover { background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.12); transform: translateY(-3px); } .blk-ledger__row:hover::before { transform: scaleY(1); } .blk-ledger__date { display: flex; align-items: center; gap: 12px; font-family: var(--blk-font-heading); font-weight: 600; font-size: 1.05rem; color: var(--blk-secondary); } .blk-ledger__date span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--blk-accent) 28%, transparent); font-weight: 600; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blk-accent); } .blk-ledger__date span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blk-accent); animation: blk-pulse 2.4s ease-in-out infinite; } .blk-ledger h3 { font-size: 1.2rem; } .blk-ledger__text { font-size: .98rem; line-height: 1.6; } @keyframes blk-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.65); } } @media (min-width: 900px) { .blk-ledger__row { grid-template-columns: 230px 1fr 1.35fr; } .blk-ledger__date { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 1.15rem; } } @media (max-width: 899px) { .blk-ledger { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 12px; margin-inline: -24px; scroll-padding-inline: 24px; scrollbar-color: var(--blk-accent) transparent; } .blk-ledger__row { flex: 0 0 82%; max-width: 380px; scroll-snap-align: start; align-content: start; } } /* Showcase mosaic */ .blk-box { background: var(--blk-darker); color: var(--blk-on-dark); border-radius: var(--blk-radius-xl); padding: clamp(26px, 4vw, 52px); } .blk-mosaic { display: grid; gap: 14px; } .blk-tile { position: relative; isolation: isolate; min-height: 300px; overflow: hidden; border-radius: var(--blk-radius); color: var(--blk-on-dark); background: radial-gradient(120% 100% at 100% 0%, var(--tile, var(--blk-panel-1)), var(--blk-dark)); } .blk-tile--a { --tile: var(--blk-panel-1); } .blk-tile--b { --tile: var(--blk-panel-2); } .blk-tile--c { --tile: var(--blk-panel-3); } .blk-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .blk-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,14,18,.86) 0%, rgba(10,14,18,.5) 42%, rgba(10,14,18,0) 82%); } .blk-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; } .blk-tile h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--blk-on-dark); } .blk-tile h3 a { color: inherit; text-decoration: none; } .blk-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } .blk-tile h3 a:focus-visible { outline: none; } .blk-tile:focus-within { outline: 3px solid #fff; outline-offset: 3px; } .blk-tile p { margin-top: 10px; max-width: 52ch; font-size: .95rem; line-height: 1.5; color: var(--blk-on-dark-muted); } @media (min-width: 900px) { .blk-mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 210px); } .blk-tile { min-height: 0; } .blk-tile--a { grid-column: 1 / 8; grid-row: 1 / 3; } .blk-tile--b { grid-column: 8 / 13; grid-row: 1; } .blk-tile--c { grid-column: 8 / 13; grid-row: 2; } .blk-tile__body { padding: 26px 28px; } .blk-tile--a h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.05rem); line-height: 1.15; max-width: 22ch; } } @media (max-width: 899px) { .blk-mosaic { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(-1 * clamp(26px, 4vw, 52px)); padding-inline: clamp(26px, 4vw, 52px); scroll-padding-inline: clamp(26px, 4vw, 52px); scrollbar-color: #fff transparent; } .blk-tile { flex: 0 0 82%; max-width: 380px; min-height: 380px; scroll-snap-align: start; } } /* Showcase box */ .blk-showbox { display: grid; gap: clamp(28px, 4vw, 52px); align-items: center; background: var(--blk-band-b); border-radius: var(--blk-radius-lg); padding: clamp(28px, 4vw, 52px); } .blk-showbox__text h2 { margin-bottom: .5em; } .blk-showbox__text .blk-btn-row { margin-top: 1.6em; } .blk-frame { margin: 0; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: 14px; overflow: hidden; box-shadow: var(--blk-shadow); } .blk-frame__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--blk-line); background: var(--blk-surface); } .blk-frame__dots { display: inline-flex; gap: 6px; } .blk-frame__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--blk-line); } .blk-frame__addr { flex: 1; min-width: 0; padding: 4px 12px; border-radius: 999px; background: var(--blk-band-b); color: var(--blk-muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .blk-frame__view { position: relative; display: grid; gap: 12px; padding: 18px; min-height: 240px; align-content: start; } .blk-frame__view > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .blk-frame__bar1, .blk-frame__bar2, .blk-frame__bar3 { display: block; height: 14px; border-radius: 7px; background: var(--blk-band-b); } .blk-frame__bar1 { width: 45%; height: 20px; background: var(--blk-accent); opacity: .85; } .blk-frame__bar2 { width: 90%; } .blk-frame__bar3 { width: 70%; } @media (min-width: 900px) { .blk-showbox { grid-template-columns: 1fr 1.25fr; } } /* Rating strip */ .blk-rating-wrap { padding-block: clamp(28px, 4vw, 44px); } .blk-rating { display: flex; flex-direction: column; align-items: center; gap: 14px 28px; padding: 26px 24px; text-align: center; background: var(--blk-band-a); border-radius: var(--blk-radius-xl); } .blk-rating__stars { font-size: 1.9rem; letter-spacing: 4px; line-height: 1; color: var(--blk-highlight); } .blk-rating__text h2 { font-size: 1.5rem; } .blk-rating__text p { color: var(--blk-muted); font-size: .96rem; } @media (min-width: 800px) { .blk-rating { flex-direction: row; justify-content: center; text-align: left; padding-inline: 40px; } } /* Quote columns */ .blk-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 36px; } .blk-quote { display: flex; flex-direction: column; padding-top: 20px; border-top: 3px solid var(--blk-accent); } .blk-quote__text { margin: 0 0 18px; flex: 1 0 auto; font-size: 1.02rem; color: var(--blk-ink); } .blk-quote__who { display: flex; align-items: center; gap: 12px; } .blk-quote__badge { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; font-family: var(--blk-font-heading); font-weight: 600; font-size: .82rem; color: var(--blk-on-dark); background: var(--blk-panel-1); } .blk-quote__badge--1 { background: var(--blk-panel-1); } .blk-quote__badge--2 { background: var(--blk-panel-2); } .blk-quote__badge--3 { background: var(--blk-panel-3); } .blk-quote__badge--4 { background: var(--blk-panel-4); } .blk-quote__badge img { width: 100%; height: 100%; object-fit: cover; } .blk-quote__name { display: flex; flex-direction: column; line-height: 1.3; font-size: .85rem; color: var(--blk-muted); } .blk-quote__name strong { font-family: var(--blk-font-heading); font-size: .98rem; color: var(--blk-heading); } @media (min-width: 640px) { .blk-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 1000px) { .blk-quotes { grid-template-columns: repeat(4, minmax(0, 1fr)); } } /* Testimonial rail */ .blk-rail-band { background: var(--blk-band-a); } .blk-rail { list-style: none; display: flex; gap: 20px; margin: 0 -24px; padding: 4px 24px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-color: var(--blk-accent) transparent; } .blk-rail:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: -3px; } .blk-review { flex: 0 0 84%; max-width: 400px; scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius); box-shadow: var(--blk-shadow); } .blk-review__stars { color: var(--blk-highlight); font-size: 1.1rem; letter-spacing: 3px; line-height: 1; margin-bottom: 14px; } .blk-review__quote { margin: 0 0 18px; flex: 1 0 auto; font-size: 1.02rem; font-style: italic; color: var(--blk-ink); } .blk-review__who { display: flex; flex-direction: column; line-height: 1.35; font-size: .88rem; color: var(--blk-muted); } .blk-review__who strong { font-family: var(--blk-font-heading); font-size: .98rem; color: var(--blk-accent); } @media (min-width: 900px) { .blk-rail { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } .blk-review { flex-basis: calc((100% - 40px) / 3); max-width: none; } } /* Facts card */ .blk-factscard { max-width: 420px; background: var(--blk-band-a); border-radius: var(--blk-radius-lg); padding: clamp(24px, 3vw, 32px); } .blk-factscard h2 { font-size: 1.15rem; margin-bottom: 22px; } .blk-factscard h2::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--blk-accent); margin-top: 12px; } .blk-facts { list-style: none; margin: 0; padding: 0; } .blk-facts li { display: flex; gap: 13px; align-items: flex-start; } .blk-facts li + li { margin-top: 20px; } .blk-fact__icon { flex: 0 0 auto; color: var(--blk-accent); line-height: 0; margin-top: 2px; } .blk-fact__icon svg { width: 21px; height: 21px; stroke-width: 1.7; } .blk-fact__t { display: block; font-family: var(--blk-font-heading); font-weight: 600; font-size: .95rem; color: var(--blk-heading); } .blk-fact__d { display: block; font-size: .93rem; line-height: 1.4; color: var(--blk-ink); } /* Article body */ .blk-prose { max-width: var(--blk-container-narrow); } .blk-prose > * + * { margin-top: 1.1em; } .blk-prose__lead { font-family: var(--blk-font-heading); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; color: var(--blk-heading); } .blk-prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 1.8em; } .blk-prose h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-top: 1.5em; } .blk-prose a { color: var(--blk-accent); text-decoration: underline; text-underline-offset: 3px; } .blk-prose a:hover { color: var(--blk-accent-dark); } .blk-prose ul, .blk-prose ol { padding-left: 1.4em; } .blk-prose li + li { margin-top: .5em; } .blk-prose li::marker { color: var(--blk-accent); } .blk-prose blockquote { margin-left: 0; padding: 1em 1.4em; border-left: 4px solid var(--blk-accent); background: var(--blk-band-a); border-radius: 0 var(--blk-radius) var(--blk-radius) 0; font-family: var(--blk-font-heading); font-size: 1.1rem; color: var(--blk-heading); } .blk-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; } .blk-prose th, .blk-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--blk-line); } .blk-prose th { font-family: var(--blk-font-heading); font-weight: 600; color: var(--blk-heading); border-bottom: 2px solid var(--blk-heading); } .blk-prose pre { overflow-x: auto; padding: 14px 16px; border-radius: var(--blk-radius); background: var(--blk-dark); color: var(--blk-on-dark); font-size: .88rem; } /* Callout */ .blk-container--narrow { max-width: var(--blk-container-narrow); } .blk-callout { position: relative; padding: 22px 26px 22px 30px; border-radius: var(--blk-radius-lg); background: var(--blk-band-b); color: var(--blk-ink); } .blk-callout + .blk-callout { margin-top: 18px; } .blk-callout::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 3px 3px 0; background: var(--blk-secondary); } .blk-callout--warn { background: var(--blk-band-a); } .blk-callout--warn::before { background: var(--blk-accent); } .blk-section .blk-callout__title { font-size: 1.05rem; margin-bottom: 8px; } .blk-callout--warn .blk-callout__title { color: var(--blk-accent); } .blk-callout p { font-size: 1rem; line-height: 1.6; } /* Featured guide with list */ .blk-guides-band { background: var(--blk-band-c); } .blk-guides { display: grid; gap: 28px; } .blk-guides__feat { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: clamp(24px, 3vw, 36px); border-radius: var(--blk-radius-xl); color: var(--blk-on-dark); background: radial-gradient(120% 110% at 0% 0%, var(--blk-panel-1), var(--blk-deep)); } .blk-guides__feat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .blk-guides__feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,12,18,.85) 0%, rgba(8,12,18,.3) 65%, rgba(8,12,18,0) 100%); } p.blk-guides__meta { font-family: var(--blk-font-heading); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blk-on-dark-accent); margin-bottom: 10px; } .blk-guides__feat h3 { font-family: var(--blk-font-serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.05; color: var(--blk-on-dark); } .blk-guides__feat h3 a { color: inherit; text-decoration: none; } .blk-guides__feat h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } .blk-guides__feat h3 a:focus-visible { outline: none; } .blk-guides__feat:focus-within { outline: 3px solid var(--blk-accent); outline-offset: 3px; } p.blk-guides__lead { margin-top: 12px; max-width: 46ch; color: var(--blk-on-dark-muted); } .blk-guides__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; justify-content: center; } .blk-guides__row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; } .blk-guides__ph { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--blk-radius); background: radial-gradient(120% 100% at 0% 0%, var(--ph, var(--blk-panel-2)), var(--blk-dark)); } .blk-guides__ph--a { --ph: var(--blk-panel-2); } .blk-guides__ph--b { --ph: var(--blk-panel-3); } .blk-guides__ph--c { --ph: var(--blk-panel-4); } .blk-guides__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .blk-guides__row h3 { font-family: var(--blk-font-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; } .blk-guides__row h3 a { color: var(--blk-heading); text-decoration: none; } .blk-guides__row h3 a:hover { color: var(--blk-accent); } .blk-guides__row p { margin-top: 4px; font-size: .95rem; color: var(--blk-muted); } @media (min-width: 900px) { .blk-guides { grid-template-columns: 1.4fr 1fr; gap: 36px; } .blk-guides__feat { min-height: 520px; } } /* Photo rail */ .blk-photos { list-style: none; display: flex; gap: 12px; margin: 0; padding: 4px 24px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-color: var(--blk-accent) transparent; } .blk-photos:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: -3px; } .blk-photos > li { flex: 0 0 78%; max-width: 340px; scroll-snap-align: start; } .blk-photo { position: relative; isolation: isolate; display: flex; align-items: flex-end; height: 340px; margin: 0; overflow: hidden; border-radius: var(--blk-radius-lg); color: var(--blk-on-dark); background: linear-gradient(150deg, var(--blk-panel-1), var(--blk-deep)); } .blk-photo--1 { background: linear-gradient(150deg, var(--blk-panel-1), var(--blk-deep)); } .blk-photo--2 { background: linear-gradient(150deg, var(--blk-panel-2), var(--blk-deep)); } .blk-photo--3 { background: linear-gradient(150deg, var(--blk-panel-3), var(--blk-deep)); } .blk-photo--4 { background: linear-gradient(150deg, var(--blk-panel-4), var(--blk-deep)); } .blk-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; } .blk-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,13,19,.8) 0%, rgba(8,13,19,0) 55%); } .blk-photo figcaption { padding: 18px 20px; font-family: var(--blk-font-heading); font-weight: 500; font-size: .95rem; } .blk-photo:hover > img { transform: scale(1.05); } @media (min-width: 900px) { .blk-photos { padding-inline: max(24px, calc((100vw - var(--blk-container)) / 2 + 24px)); scroll-padding-inline: max(24px, calc((100vw - var(--blk-container)) / 2 + 24px)); } .blk-photos > li { flex-basis: 280px; } } @media (prefers-reduced-motion: reduce) { .blk-photo:hover > img { transform: none; } } /* Pull quote */ .blk-pullquote { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(320px, 52vw, 560px); background: radial-gradient(120% 120% at 20% 0%, var(--blk-panel-2), var(--blk-deep)); } .blk-pullquote > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .blk-pullquote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8,12,18,.5); } .blk-pullquote .blk-container { display: flex; justify-content: center; } .blk-pullquote__fig { margin: 0; text-align: center; max-width: 22ch; } .blk-pullquote__text { margin: 0; } .blk-pullquote__text p { font-family: var(--blk-font-serif); font-size: clamp(1.9rem, 4.6vw, 3.8rem); line-height: 1.15; color: var(--blk-on-dark); text-wrap: balance; } .blk-pullquote__by { margin-top: 24px; font-family: var(--blk-font-heading); font-size: .9rem; font-weight: 500; color: var(--blk-on-dark-muted); } .blk-pullquote__by::before { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--blk-on-dark-accent); margin: 0 auto 16px; } /* Review form */ .blk-reviewform-band { background: var(--blk-band-b); } .blk-form { max-width: 640px; margin-inline: auto; padding: clamp(22px, 4vw, 38px); background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius-lg); box-shadow: var(--blk-shadow); } .blk-field { margin: 0 0 22px; padding: 0; border: 0; min-inline-size: 0; } .blk-field label, .blk-field legend { display: block; padding: 0; margin-bottom: 8px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .95rem; color: var(--blk-heading); } .blk-field__hint { font-weight: 400; font-size: .85rem; color: var(--blk-muted); } .blk-field input[type="text"], .blk-field input[type="email"], .blk-field select, .blk-field textarea { width: 100%; padding: 12px 14px; font-family: var(--blk-font-body); font-size: 1rem; color: var(--blk-ink); background: var(--blk-surface); border: 1px solid var(--blk-muted); border-radius: var(--blk-radius); } .blk-field textarea { min-height: 150px; resize: vertical; } .blk-field input:focus-visible, .blk-field select:focus-visible, .blk-field textarea:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: 2px; border-color: var(--blk-accent); } .blk-field--consent { display: flex; align-items: flex-start; gap: 10px; } .blk-field--consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blk-accent); } .blk-field--consent label { margin: 0; font-family: var(--blk-font-body); font-weight: 400; font-size: .94rem; color: var(--blk-ink); } .blk-stars__row { display: inline-flex; flex-direction: row-reverse; gap: 4px; } .blk-stars input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } .blk-stars label { margin: 0; font-size: 2.3rem; line-height: 1; color: var(--blk-line); cursor: pointer; transition: color .12s ease; } .blk-stars label:hover, .blk-stars label:hover ~ label, .blk-stars input:checked ~ label { color: var(--blk-highlight); } .blk-stars input:focus-visible + label { outline: 3px solid var(--blk-accent); outline-offset: 3px; border-radius: 3px; } .blk-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* Article cards */ .blk-pills { list-style: none; margin: 0 0 clamp(26px, 4vw, 40px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; } .blk-pills a { display: inline-flex; padding: 8px 18px; border: 1.5px solid var(--blk-line); border-radius: 999px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .85rem; color: var(--blk-heading); text-decoration: none; transition: border-color .2s ease, color .2s ease; } .blk-pills a:hover { border-color: var(--blk-accent); color: var(--blk-accent); } .blk-pills a[aria-current="page"] { background: var(--blk-accent); border-color: var(--blk-accent); color: var(--blk-on-accent); } .blk-cards { display: grid; gap: 26px; } .blk-card { position: relative; display: flex; flex-direction: column; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; } .blk-card:hover { transform: translateY(-4px); box-shadow: var(--blk-shadow); } .blk-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 100% at 0% 0%, var(--card, var(--blk-panel-1)), var(--blk-dark)); } .blk-card__media--1 { --card: var(--blk-panel-1); } .blk-card__media--2 { --card: var(--blk-panel-2); } .blk-card__media--3 { --card: var(--blk-panel-3); } .blk-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .blk-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; } .blk-card__date { font-size: .82rem; color: var(--blk-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; } .blk-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 10px; } .blk-card h3 a { color: var(--blk-heading); text-decoration: none; } .blk-card h3 a::after { content: ""; position: absolute; inset: 0; } .blk-card:hover h3 a { color: var(--blk-accent); } .blk-card h3 a:focus-visible { outline: none; } .blk-card:focus-within { outline: 3px solid var(--blk-accent); outline-offset: 3px; } .blk-card__body p { font-size: .95rem; margin-bottom: 16px; } .blk-card__more { margin-top: auto; align-self: flex-start; padding: 8px 18px; border: 2px solid var(--blk-accent); border-radius: 4px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .85rem; color: var(--blk-accent); transition: background .2s ease, color .2s ease; } .blk-card:hover .blk-card__more { background: var(--blk-accent); color: var(--blk-on-accent); } @media (min-width: 720px) { .blk-cards { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .blk-cards { grid-template-columns: repeat(3, 1fr); } } /* Article closing */ .blk-closing { max-width: var(--blk-container-narrow); margin-inline: auto; } .blk-closing__cta { padding: clamp(26px, 4vw, 44px); background: var(--blk-accent); border-radius: var(--blk-radius-lg); color: var(--blk-on-accent); } .blk-closing__cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--blk-on-accent); margin-bottom: .4em; } .blk-closing__cta p { margin-bottom: 1.4em; color: color-mix(in srgb, var(--blk-on-accent) 90%, transparent); } .blk-closing__cta .blk-btn { background: var(--blk-on-accent); border-color: var(--blk-on-accent); color: var(--blk-accent); } .blk-closing__cta .blk-btn:hover { background: color-mix(in srgb, var(--blk-on-accent) 88%, var(--blk-accent)); border-color: transparent; color: var(--blk-accent-dark); } .blk-closing__cta :focus-visible { outline-color: var(--blk-on-accent); } .blk-closing__related { margin-top: 40px; } .blk-closing__related h3 { font-size: 1.3rem; margin-bottom: .6em; } .blk-closing__related ul { margin: 0; padding-left: 1.2em; } .blk-closing__related li { margin-bottom: .5em; } .blk-closing__related a { color: var(--blk-accent); text-underline-offset: 3px; } .blk-closing__related a:hover { color: var(--blk-accent-dark); } .blk-closing__pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--blk-line); } .blk-closing__pager a { font-family: var(--blk-font-heading); font-weight: 600; font-size: .92rem; color: var(--blk-accent); text-decoration: none; } .blk-closing__pager a:hover { color: var(--blk-accent-dark); text-decoration: underline; text-underline-offset: 3px; } .blk-closing__prev { margin-right: auto; } .blk-closing__next { margin-left: auto; text-align: right; } @media (max-width: 480px) { .blk-closing__pager { flex-direction: column; } .blk-closing__next { margin-left: 0; text-align: left; } } /* Article with sidebar */ .blk-reading { display: grid; gap: 44px; align-items: start; } .blk-reading__main { min-width: 0; max-width: var(--blk-container-narrow); } .blk-reading__meta { font-family: var(--blk-font-heading); font-size: .85rem; color: var(--blk-muted); margin-bottom: 10px; } .blk-reading__main h2::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--blk-accent); margin-top: 16px; } .blk-reading__lead { font-size: 1.18rem; color: var(--blk-heading); margin: 20px 0 8px; } .blk-reading__main h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; } .blk-reading__main p + p { margin-top: 1em; } .blk-reading__main h3 + p { margin-top: 0; } .blk-reading__pull { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--blk-accent); font-family: var(--blk-font-serif); font-size: 1.5rem; line-height: 1.35; color: var(--blk-heading); } .blk-aside { display: grid; gap: 30px; } .blk-aside__block { min-width: 0; } .blk-aside h3 { font-size: 1.05rem; margin-bottom: 14px; } .blk-aside__search label { display: block; margin-bottom: 8px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .9rem; color: var(--blk-heading); } .blk-aside__field { display: flex; gap: 8px; } .blk-aside__field input { flex: 1 1 auto; min-width: 0; padding: 11px 12px; font-family: var(--blk-font-body); font-size: 1rem; color: var(--blk-ink); background: var(--blk-surface); border: 1px solid var(--blk-muted); border-radius: var(--blk-radius); } .blk-aside__field input:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: 2px; } .blk-aside__field .blk-btn { padding: 10px 18px; } .blk-aside__topics, .blk-aside__posts { list-style: none; margin: 0; padding: 0; } .blk-aside__topics li { border-bottom: 1px solid var(--blk-line); } .blk-aside__topics a { display: block; padding: 10px 0; color: var(--blk-ink); text-decoration: none; } .blk-aside__topics a:hover { color: var(--blk-accent); } .blk-aside__posts { display: grid; gap: 18px; } .blk-aside__post { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--blk-heading); } .blk-aside__thumb { flex: 0 0 76px; height: 58px; overflow: hidden; border-radius: var(--blk-radius); background: linear-gradient(135deg, var(--blk-panel-1), var(--blk-panel-2)); } .blk-aside__thumb--1 { background: linear-gradient(135deg, var(--blk-panel-1), var(--blk-panel-2)); } .blk-aside__thumb--2 { background: linear-gradient(135deg, var(--blk-panel-2), var(--blk-panel-3)); } .blk-aside__thumb--3 { background: linear-gradient(135deg, var(--blk-panel-3), var(--blk-panel-1)); } .blk-aside__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .blk-aside__text { display: flex; flex-direction: column; line-height: 1.35; } .blk-aside__text time { font-size: .78rem; color: var(--blk-muted); } .blk-aside__text strong { font-family: var(--blk-font-heading); font-weight: 600; font-size: .95rem; } .blk-aside__post:hover strong { color: var(--blk-accent); } @media (min-width: 960px) { .blk-reading { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .blk-aside { position: sticky; top: 24px; } } /* Table of contents */ .blk-container--narrow { max-width: var(--blk-container-narrow); } .blk-toc { margin: 0; } .blk-section .blk-toc__title { font-family: var(--blk-font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blk-muted); margin-bottom: 8px; } .blk-toc__list { list-style: none; counter-reset: blk-toc; margin: 0; padding: 0; } .blk-toc__list li { counter-increment: blk-toc; border-top: 1px solid var(--blk-line); } .blk-toc__list li:last-child { border-bottom: 1px solid var(--blk-line); } .blk-toc__list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 4px; color: var(--blk-heading); font-family: var(--blk-font-serif); font-size: 1.3rem; text-decoration: none; transition: padding .2s ease, color .2s ease; } .blk-toc__list a::before { content: counter(blk-toc, decimal-leading-zero); flex: none; font-family: var(--blk-font-heading); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--blk-accent); } .blk-toc__list a:hover { color: var(--blk-accent); padding-left: 14px; } /* Numbered index */ .blk-index { list-style: none; margin: 0; padding: 0; } .blk-index__row { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 6px 18px; padding: 24px 0; border-top: 1px solid var(--blk-line); } .blk-index__row:last-child { border-bottom: 1px solid var(--blk-line); } .blk-index__no { font-family: var(--blk-font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; color: var(--blk-accent); padding-top: 8px; } .blk-index h3 { font-family: var(--blk-font-serif); font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; } .blk-index h3 a { color: var(--blk-heading); text-decoration: none; } .blk-index h3 a::after { content: ""; position: absolute; inset: 0; } .blk-index h3 a:hover { color: var(--blk-accent); } .blk-index__main p { margin-top: 6px; color: var(--blk-muted); max-width: 60ch; } .blk-index__meta { grid-column: 2; font-family: var(--blk-font-heading); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blk-muted); } @media (min-width: 800px) { .blk-index__row { grid-template-columns: 64px 1fr 180px; align-items: center; gap: 26px; } .blk-index__meta { grid-column: auto; text-align: right; } } /* Pricing cards */ .blk-price-band { background: var(--blk-band-b); } .blk-prices { display: grid; gap: 28px; align-items: stretch; } .blk-price { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 26px 28px; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius-lg); transition: transform .3s ease, box-shadow .3s ease; } .blk-price:hover { transform: translateY(-5px); box-shadow: var(--blk-shadow); } .blk-price__title { font-size: 1.2rem; } .blk-price__amount { display: inline-flex; align-items: flex-start; gap: 3px; margin: 10px 0 8px; font-family: var(--blk-font-heading); font-weight: 700; color: var(--blk-heading); line-height: 1; } .blk-price__cur { font-size: 1.1rem; margin-top: .35em; } .blk-price__num { font-size: 2.8rem; line-height: .9; } .blk-price__per { align-self: flex-end; margin: 0 0 .3em 4px; font-size: .8rem; font-weight: 500; color: var(--blk-muted); } .blk-price__desc { color: var(--blk-muted); font-size: .96rem; margin-bottom: 20px; } .blk-price__more { width: 100%; margin-bottom: 24px; } .blk-price__more summary { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--blk-line); border-radius: 999px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .85rem; color: var(--blk-accent); cursor: pointer; list-style: none; } .blk-price__more summary::-webkit-details-marker { display: none; } .blk-price__more summary::after { content: "+"; font-size: 1.2em; line-height: 1; } .blk-price__more[open] summary::after { content: "\2212"; } .blk-price__more summary:hover { border-color: var(--blk-accent); } .blk-price__list { list-style: none; margin: 18px auto 0; padding: 0; max-width: 260px; display: grid; gap: 12px; text-align: left; font-size: .93rem; } .blk-price__list li { position: relative; padding-left: 28px; } .blk-price__list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; font-weight: 700; color: var(--blk-accent); background: color-mix(in srgb, var(--blk-accent) 12%, transparent); } .blk-price__btn { margin-top: auto; } .blk-price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--blk-highlight); color: var(--blk-heading); font-family: var(--blk-font-heading); font-weight: 600; font-size: .72rem; letter-spacing: .04em; white-space: nowrap; } .blk-price--featured { background: var(--blk-accent); border-color: var(--blk-accent); box-shadow: var(--blk-shadow); } .blk-price--featured h3, .blk-price--featured .blk-price__amount { color: var(--blk-on-accent); } .blk-price--featured .blk-price__per, .blk-price--featured .blk-price__desc { color: color-mix(in srgb, var(--blk-on-accent) 85%, transparent); } .blk-price--featured .blk-price__more summary { color: var(--blk-on-accent); border-color: color-mix(in srgb, var(--blk-on-accent) 50%, transparent); } .blk-price--featured .blk-price__more summary:hover { border-color: var(--blk-on-accent); } .blk-price--featured .blk-price__list { color: var(--blk-on-accent); } .blk-price--featured .blk-price__list li::before { color: var(--blk-on-accent); background: color-mix(in srgb, var(--blk-on-accent) 22%, transparent); } .blk-price--featured .blk-btn--primary { background: var(--blk-on-accent); border-color: var(--blk-on-accent); color: var(--blk-accent); } .blk-price--featured .blk-btn--primary:hover { background: color-mix(in srgb, var(--blk-on-accent) 88%, var(--blk-accent)); } .blk-price--featured :focus-visible { outline-color: var(--blk-on-accent); } .blk-price__more summary:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: 3px; } @media (min-width: 900px) { .blk-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (prefers-reduced-motion: reduce) { .blk-price:hover { transform: none; } } /* Fact panel */ .blk-facts { background: var(--blk-darker); color: var(--blk-on-dark); border-radius: var(--blk-radius-xl); padding: clamp(26px, 4vw, 52px); } .blk-section .blk-facts__title { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 16px; margin-bottom: 28px; } .blk-facts__title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18); } .blk-facts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin: 0; } .blk-facts__item { margin: 0; } .blk-facts dt { font-family: var(--blk-font-heading); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blk-on-dark-accent); margin-bottom: 8px; } .blk-facts dd { margin: 0; font-family: var(--blk-font-serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15; color: var(--blk-on-dark); } @media (min-width: 900px) { .blk-facts__list { grid-template-columns: repeat(4, 1fr); } } /* Photo filmstrip */ .blk-strip { list-style: none; display: flex; gap: 14px; margin: 0 -24px; padding: 4px 24px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-color: var(--blk-accent) transparent; } .blk-strip:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: -3px; } .blk-strip__item { flex: 0 0 72%; max-width: 360px; scroll-snap-align: start; } .blk-strip figure { margin: 0; } .blk-strip__ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--blk-radius); background: radial-gradient(120% 100% at 0% 0%, var(--ph, var(--blk-panel-1)), var(--blk-dark)); } .blk-strip__ph--a { --ph: var(--blk-panel-1); } .blk-strip__ph--b { --ph: var(--blk-panel-2); } .blk-strip__ph--c { --ph: var(--blk-panel-3); } .blk-strip__ph--d { --ph: var(--blk-panel-4); } .blk-strip__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .blk-strip figcaption { margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--blk-muted); } @media (min-width: 900px) { .blk-strip__item { flex-basis: 300px; } } /* Picture list */ .blk-container--narrow { max-width: var(--blk-container-narrow); } .blk-pack { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; } .blk-pack__item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--blk-line); border-radius: var(--blk-radius-lg); background: var(--blk-surface); } .blk-pack__ph { position: relative; overflow: hidden; width: 88px; aspect-ratio: 1; border-radius: var(--blk-radius); background: radial-gradient(120% 100% at 0% 0%, var(--ph, var(--blk-panel-1)), var(--blk-dark)); } .blk-pack__ph--a { --ph: var(--blk-panel-1); } .blk-pack__ph--b { --ph: var(--blk-panel-2); } .blk-pack__ph--c { --ph: var(--blk-panel-4); } .blk-pack__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .blk-pack__body h3 { font-family: var(--blk-font-serif); font-weight: 400; font-size: 1.3rem; } .blk-pack__body p { margin-top: 4px; font-size: .95rem; color: var(--blk-muted); } @media (min-width: 700px) { .blk-pack__item { grid-template-columns: 120px 1fr; gap: 24px; padding: 16px; } .blk-pack__ph { width: 120px; } } /* Photo spread */ .blk-spread { display: grid; gap: 28px 18px; } .blk-spread__item { margin: 0; } .blk-spread__ph { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--blk-radius); background: radial-gradient(120% 100% at 0% 0%, var(--ph, var(--blk-panel-1)), var(--blk-dark)); } .blk-spread__ph--a { --ph: var(--blk-panel-2); } .blk-spread__ph--b { --ph: var(--blk-panel-3); } .blk-spread__ph--c { --ph: var(--blk-panel-4); } .blk-spread__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .blk-spread figcaption { margin-top: 12px; max-width: 60ch; font-size: .92rem; line-height: 1.5; color: var(--blk-muted); } .blk-spread__item--wide .blk-spread__ph { aspect-ratio: 16 / 9; } @media (min-width: 700px) { .blk-spread { grid-template-columns: 1fr 1fr; } .blk-spread__item--wide { grid-column: 1 / -1; } } /* Picture tiles */ .blk-ptiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; } .blk-ptile { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; border-radius: var(--blk-radius-lg); color: var(--blk-on-dark); background: radial-gradient(120% 100% at 100% 0%, var(--tile, var(--blk-panel-1)), var(--blk-dark)); } .blk-ptile--a { --tile: var(--blk-panel-1); } .blk-ptile--b { --tile: var(--blk-panel-2); } .blk-ptile--c { --tile: var(--blk-panel-3); } .blk-ptile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .blk-ptile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,14,18,.82) 0%, rgba(10,14,18,.3) 55%, rgba(10,14,18,0) 85%); } .blk-ptile__no { position: absolute; top: 22px; left: 26px; font-family: var(--blk-font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .14em; color: var(--blk-on-dark-accent); } .blk-ptile__cap { padding: 26px; width: 100%; } .blk-ptile h3 { font-family: var(--blk-font-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--blk-on-dark); } .blk-ptile h3 a { color: inherit; text-decoration: none; } .blk-ptile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } .blk-ptile h3 a:focus-visible { outline: none; } .blk-ptile:focus-within { outline: 3px solid var(--blk-accent); outline-offset: 3px; } .blk-ptile p { margin-top: 10px; max-width: 44ch; font-size: .98rem; color: var(--blk-on-dark-muted); } @media (min-width: 800px) { .blk-ptiles { grid-template-columns: 1fr 1fr; } .blk-ptile { min-height: 440px; } .blk-ptile--wide { grid-column: 1 / -1; min-height: 380px; } } /* Marquee strip */ .blk-marquee.blk-section { padding: 22px 0; background: var(--blk-band-a); overflow: hidden; } .blk-marquee__track { display: flex; width: max-content; animation: blk-marquee 30s linear infinite; } .blk-marquee:hover .blk-marquee__track, .blk-marquee:focus-within .blk-marquee__track { animation-play-state: paused; } .blk-marquee__list { display: flex; flex: 0 0 auto; list-style: none; margin: 0; padding: 0; } .blk-marquee__list li { padding: 0 28px; font-family: var(--blk-font-heading); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--blk-heading); white-space: nowrap; } .blk-marquee__list li::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 56px; border-radius: 50%; background: var(--blk-accent); vertical-align: middle; } @keyframes blk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } } @media (prefers-reduced-motion: reduce) { .blk-marquee__track { width: auto; flex-wrap: wrap; justify-content: center; } .blk-marquee__list { flex-wrap: wrap; justify-content: center; } .blk-marquee__list + .blk-marquee__list { display: none; } } /* Scroll reveal cards */ .blk-reveal { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; } .blk-reveal__card { background: var(--blk-surface); border: 1px solid var(--blk-line); border-top: 3px solid var(--blk-accent); border-radius: var(--blk-radius-lg); padding: 24px; box-shadow: var(--blk-shadow); } .blk-reveal__n { display: block; font-family: var(--blk-font-heading); font-weight: 700; font-size: 1.3rem; color: var(--blk-accent); margin-bottom: 8px; } .blk-reveal__card h3 { font-size: 1.25rem; margin-bottom: .4em; } @keyframes blk-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } } @supports (animation-timeline: view()) { .blk-reveal__card { animation: blk-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; } } @media (min-width: 720px) { .blk-reveal { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .blk-reveal { grid-template-columns: repeat(4, 1fr); } } /* Shimmer headline */ .blk-shimmer.blk-section { text-align: center; padding-block: clamp(56px, 8vw, 110px); } .blk-shimmer h2 { font-size: clamp(2.2rem, 6vw, 4rem); } .blk-shimmer__text { background: linear-gradient(100deg, var(--blk-accent-dark) 0%, var(--blk-accent) 35%, color-mix(in srgb, var(--blk-accent) 40%, #fff) 50%, var(--blk-accent) 65%, var(--blk-accent-dark) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: blk-shimmer-sweep 6s linear infinite; } .blk-shimmer .blk-shimmer__lead { max-width: 44ch; margin: 18px auto 30px; font-size: 1.15rem; color: var(--blk-muted); } .blk-shimmer__btn { position: relative; overflow: hidden; } .blk-shimmer__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: blk-shimmer-btn 3.5s ease-in-out infinite; } @keyframes blk-shimmer-sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } } @keyframes blk-shimmer-btn { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } /* Loading skeletons */ .blk-skel { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; } .blk-skel__card { display: grid; gap: 12px; padding: 16px; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius); } .blk-skel__img, .blk-skel__line { display: block; border-radius: 6px; background: linear-gradient(100deg, var(--blk-band-a) 30%, color-mix(in srgb, var(--blk-band-a) 40%, #fff) 50%, var(--blk-band-a) 70%); background-size: 300% 100%; animation: blk-skel-sweep 1.8s ease-in-out infinite; } .blk-skel__img { aspect-ratio: 16 / 10; border-radius: var(--blk-radius); } .blk-skel__line { height: 14px; } .blk-skel__line--short { width: 40%; } .blk-skel__line--mid { width: 70%; } @keyframes blk-skel-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } } @media (min-width: 720px) { .blk-skel { grid-template-columns: repeat(3, 1fr); } } /* Closing call to action */ .blk-cta { background: var(--blk-cta); color: var(--blk-on-dark); } .blk-cta h2 { color: var(--blk-on-dark); margin-bottom: .4em; } .blk-cta p { color: var(--blk-on-dark-muted); } .blk-cta__row { display: flex; justify-content: space-between; align-items: center; gap: 36px; } .blk-cta__text { max-width: 820px; } .blk-cta .blk-btn-row { flex: 0 0 auto; } @media (max-width: 820px) { .blk-cta__row { flex-direction: column; align-items: flex-start; gap: 26px; } } ```