Article hero

Three variants of src/components/sections/Hero.astro — real component renders, fed by live post entries. The same component handles all three via variant + category.

Featured (homepage) — review featured post

Prop: variant="featured". Used by src/pages/index.astro for the lead post. Text-left + image-right grid, pills overlap the image top edge, the headline is a stretched link covering the whole block. Because this featured post is a review, it also picks up the .is-review treatment (radial mint glow + heavier grain).

Article — news style

AMD NYHETER 2026

AM5 lever til 2029, og 7700X3D lanseres snart

AMD supporterer AM5 helt til 2029, og slipper samtidig Ryzen 7 7700X3D
Et nervepirrende øyeblikk under PC-bygging | Foto: Fidel Fernando / Unsplash

To deilige AMD-nyheter (foreløpig) fra Computex 2026: AMD forlenger den offisielle støtten for AM5-plattformen heeeeelt til 2029, og lanserer samtidig Ryzen 7 7700X3D med 8 kjerner, 16 tråder, 120 W TDP og 104 MB cache. Salgsstart internasjonalt 16. juli, for 329$. Norsk pris ukjent.

Kay Tomas Bertheussen
2. juni 2026

Prop: variant="article" with category in news, video, portfolio, quick-look. Internal flag isNewsArticle triggers the flipped grid (image left, meta right). Full-width title + eyebrow render above the 2-col layout.

Article — review style

CORSAIR MAKR PRO 75 TEST 2026

Tungt, i aluminium, og en fryd å skrive på

Corsair MAKR PRO 75 er et tungt Hall Effect-tastatur i heldekkende aluminium med hot-swap magnetbrytere, en knob, og det støtter både Corsair WebHub og iCUE.

Kay Tomas Bertheussen
4. juni 2026
6 min. lesetid
Veldig bra, anbefales
Anmeldelse
Corsair MAKR PRO 75 ISO test: Corsairs ordentlige entusiasttastatur, og et godt et
RØYK! MAKR PRO 75 svever over en mystisk røyk. | Kreditt kaytomas.com

Prop: variant="article" with category in review or interview. Adds .is-review which paints a radial-gradient glow and a grain overlay at var(--grain-opacity-hero) with mix-blend-mode: overlay. Rating badge anchors top-left of the image.

Rating dice (terningkast)

Reviews score on a 1–6 dice scale (Norwegian terningkast convention). The hero badge keeps its mint→white gradient square; the inner content is an SVG die from src/components/ui/Dice.astro. Pip colour comes from the article's pre-computed accent via getArticleAccent(slug) so each review's die echoes its hero image.

Die SVG fills a 1:1 container. Pips fixed at cx,cy on a 3×3 grid in a 0 0 24 24 viewBox. The face value determines pip layout per the standard die convention; color sets fill on each <circle>. A 6/6 (terningkast 6) is reserved for exceptional verdicts.

Badge shadow is intentionally tighter, darker and higher-opacity than a typical elevation shadow so it reads on the dark hero background — no glow, editorial not app-like. Applied via filter: drop-shadow() using these overridable tokens: --die-shadow-x (0), --die-shadow-y (4), --die-shadow-blur (12), --die-shadow-opacity (0.45), --die-shadow-color (0 0 0, RGB triplet). On article heroes the badge plays a once-per-load die-settle entrance (450ms rotate/scale overshoot, Hero.astro) — transform-only, skipped under prefers-reduced-motion.

On review cards, the same dice appears bottom-right of the image at 32px, translated 50% downward so half overlaps the image and half drops into the content area. Hidden on the compact variants (card--latest, card--mobile-compact) where badges are already suppressed.

On hover, the card and hero dice reveal a localized one-line tooltip explaining the value (e.g. a 6 is "a product I love and would buy"). Source strings live in src/lib/i18n.ts as rating_meaning_1…rating_meaning_6 (EN + NO), read via the ratingMeaning() helper; the shared bubble style is .die-tooltip in global.css. CSS-only, no JS. The badge takes pointer-events: auto so hover fires, but the die stays inside the card link so a click still opens the article; the tooltip itself is pointer-events: none. Meaning is also folded into the die's aria-label for assistive tech.

Cards

Real <Card> renders (src/components/ui/Card.astro) fed by live post entries. Standard, top-pick, and quick-look variants.

Pills are absolutely positioned and sit -10px above the image edge so they overlap. Title gradient uses linear-gradient(19deg, --color-text 0%, --color-accent 60%) text-clip. Hover lifts and tilts the whole card in 3D (translateY(-6px) rotateX(4deg) rotateY(-3deg)), bumps image saturation/brightness, and floats tag pills forward (translateZ(14px)) ahead of the title (translateZ(10px)). Disabled under prefers-reduced-motion: reduce.

Size variants

Cards default to a vertical layout. The homepage grid (HomepageGrid.astro) passes a size prop that scales the title/description and, for latest, switches the whole card to a horizontal thumb + headline row.

  • default — the standard vertical card above. Used on hubs and the /news, /review indexes.
  • feature — vertical, slightly smaller title. The homepage trio/stack default.
  • hero / spotlight / strip — vertical, progressively larger title; for the big homepage slots (8-col hero, 8-col banner, 12-col panoramic).
  • latest — horizontal: square thumb left with an accent-colored right border, headline right. Description, date, overlay pills and the 3D tilt are all dropped. This is the homepage LATEST / SISTE ticker. Live render below.

Mobile-compact rule (homepage news)

A mobile-only behavior, not a separate component — it reuses the horizontal anatomy of latest above.

The rule: on the homepage at max-width: 719px, after the first two big cards in document order, every news-category card collapses to the compact horizontal row (square thumb, accent line, headline). It keeps the News / Nyheter kicker rather than the LATEST label, and hides the description, date and overlay pills. HomepageGrid.astro walks the resolved layout, counts big cards (anything that isn’t the latest strip), and sets mobileCompact on qualifying news cards; Card.astro turns that into .card--mobile-compact, which only does anything below 720px. Desktop (≥720px) is unaffected — the same cards stay full vertical cards. Purpose: shorten the mobile scroll and break the wall-of-big-cards rhythm without changing what’s shown. Item count is identical; only the height of those news cards changes.

Shorts

Live <ShortsRail> render (src/components/sections/ShortsRail.astro), fed by the shorts collection for this site. While .com has no clips of its own, its rail shows the Norwegian ones under the label “Norwegian shorts” and links to kaytomas.no. Renders nothing when there are no shorts at all. Full reference: README § Shorts.

Shorts

167 000 visninger totalt på YouTube, TikTok, Instagram og Snapchat

Section label: the mono uppercase label shared with the “Upcoming content” list (--font-mono, 0.7rem, 0.14em tracking, --color-text-muted) with a mint play glyph, on a --color-border hairline. Channel logos sit right: <PlatformIcon>, --color-text-muted, mint on hover.

Short card (.short-card): 9:16, square corners, poster object-fit: cover. Bottom scrim (black 85% to transparent) under a Syne semibold title in plain --color-text, not the heading gradient, so it stays legible on footage. Duration chip top right: mono 0.65rem on rgba(17,17,17,0.8). Hover: poster scales to 1.04, a 3px mint bar appears left of the title, and on mouse devices the clip plays muted over the poster after 200ms.

Rail: native horizontal scroller with scroll-snap; card width leaves a slice of the next card visible (44% mobile, 28% tablet, 4.6 across on desktop). Round mint chevrons (--radius-full, --color-accent on --color-bg) appear on hover-capable screens only. The grid layout (used on /shorts) wraps 2 / 4 / 5 across instead.

Player (/shorts/<slug>)

Full-viewport page, styles scoped to src/pages/shorts/[slug].astro. Platform marks, as used in the rail header and on the player’s round buttons:

  • Stage — mobile: video fills the screen (object-fit: cover). Desktop: centred 9:16 with --radius-md and --shadow-lg, over the poster blurred 40px at 45% brightness.
  • Round buttons (.sp-btn) — 2.75rem, --radius-full, rgba(26,26,26,0.8); mint fill with dark icon on hover. Used for close, previous/next, sound and the per-clip platform links.
  • Title block — Syne semibold --text-h4 in plain white with a soft text shadow; mono date in --color-text-muted.
  • Call-to-action button (.sp-related) — solid mint, dark mono uppercase label, square corners. “Read the full review” or a per-clip cta.
  • Seek bar (.sp-seek) — a range input drawn as a 3px line: mint for played, white 25% for the rest, with a 0.75rem mint thumb on hover, focus and touch.
  • “Tap for sound” badge — mono uppercase on rgba(17,17,17,0.85) with a 3px mint left bar; shown only when the browser refused sound.
  • End card — --gradient-heading title, outlined mint mono buttons per channel, a quieter --color-border button to all shorts.

Homepage grid — what’s shown on the front page

The front page is data-driven from one file: src/content/homepage.ts. Edit that file to change what appears — no component changes needed. It is a list of rows; each row holds cells whose span values sum to 12 (a 12-column grid). homepageResolver.ts turns the config into resolved posts, then HomepageGrid.astro renders them.

Cell types

  • { type: 'card', span, content } — a single post card. Optional size (feature default), aspect (16:9 default), showDescription.
  • { type: 'stack', span, items: [...] } — a vertical column of cards in one cell; each item takes its own content + optional size/aspect/showDescription.
  • { type: 'news_list', span, content: { rule } } — the text-only news list (no images). The cheapest way to surface many items.

Content sources — how a slot is filled

  • Pin a specific post: content: { pin: 'the-slug', fallback?: 'showcase' | 'news' | 'any' }. If the slug isn’t found, the fallback chain fills the slot so the grid never renders a hole. Cross-language pins resolve via translationSlug.
  • Auto-fill by rule: content: { rule, count?, minDays?, maxDays? } where rule is newest_news, older_news (windowed by minDays/maxDays), or newest_any. Rules pull live from the collection, newest first.

A post is reserved the moment it’s placed, so the same article can never appear twice across the page — pins, rules and the news list all dedupe against each other automatically. To add items: append a row, add a card to a stack, or raise a news_list count. To resize: change span values (keep each row summing to 12). To swap a feature: change a cell’s pin slug.

Current layout (mobile order = top to bottom)

  • Row 1 — latest ticker (newest post, any category)
  • Row 2 — hero (8) + stack (4): pinned showcase + newest news
  • Row 3 — stack (4): two newest news + spotlight (8): pinned review
  • Row 4 — trio (4·4·4): news · pinned review · news
  • Row 5 — spotlight (8): pinned + news_list (4): older news
  • Row 6 — panoramic strip (12): pinned

On mobile every cell stacks full-width in this order, and the mobile-compact rule (see Cards above) collapses news cards past the first two big ones. On desktop the spans take over at ≥720px. Source: src/content/homepage.ts, src/lib/homepageResolver.ts, src/components/sections/HomepageGrid.astro.

Content components

Real renders of every MDX-usable component that appears in posts.

UrlLink (preferred) / ReadMyReview (legacy)

Link-card primitive used across 46 posts. Auto-detects internal vs external URLs — internal pulls the linked post's title + heroImage, external fetches OG image + title at build time. <UrlLink> is a thin alias around <ReadMyReview> with a neutral default label="Read more". Use <UrlLink> in new posts; existing posts keep using <ReadMyReview> unchanged.

Read moreCorsair MAKR PRO 75 ISO test: Corsairs ordentlige entusiasttastatur, og et godt et

Source: src/components/UrlLink.astro (wrapper) → src/components/ReadMyReview.astro (implementation). MDX usage in new posts: <UrlLink url="/review/the-slug" /> or <UrlLink url="https://example.com" label="Read the source" />.

ProsAndCons

Two-column block fed by an exported reviewProsCons object in the post’s MDX.

Bra
  • Lightweight 56 g chassis with a familiar ergonomic shape
  • 8000 Hz polling rate over wireless, no dongle compromises
  • Solid 100-hour battery life at 1000 Hz
Mindre bra
  • Side buttons remain on the small side
  • No DPI indicator on the body

Source: src/components/ProsAndCons.astro. MDX pattern: export const reviewProsCons = { pros, cons } + <ProsAndCons /> picks it up via the export.

Gallery

Multi-image grid used across 30+ reviews and news posts. Each image opens in the lazy-loaded GLightbox modal.

Square 3-up variant via columns={3} + square (forces a 1:1 crop with object-fit: cover).

Carousel variant via carousel: one large image at a time (16:10, uncropped) on a scroll-snap track, mint arrow buttons and a thumbnail strip with the active one outlined. Swipes without JS; a small script adds the arrows and thumbnails. Good for a run of screenshots.

Source: src/components/Gallery.astro. MDX: <Gallery images={[image1, image2]} /> where each image is imported at the top of the file. Optional props: columns (grid columns), square (1:1 crop) and carousel (one image at a time with thumbnails).

SourceLine

End-of-article source credit. Mono uppercase Kilde/Kilder eyebrow (from i18n) above a hairline rule, with muted links that go accent on hover. Replaces the ad-hoc --- + italic *Kilde: …* pattern.

Source: src/components/SourceLine.astro. MDX: <SourceLine sources={[{ label, url }]} />. Optional label prop overrides the eyebrow; default is singular/plural by source count.

YouTube embed

Play

From astro-embed. MDX: import { YouTube } from 'astro-embed'; then <YouTube id="VIDEO_ID" />.

Inline image + caption

Standard markdown image followed by an italic line — Markdown renders the italic as <em>, which the global stylesheet styles as a caption.

Sample inline image

Caption sits directly under the image. IBM Plex Mono, --caption-font-size, #cccccc.

MDX pattern: ![alt](./file.jpg) on its own line followed by *caption*. Article images are automatically wrapped by <Lightbox /> for click-to-zoom.

Image callout (figure beside text)

For a small image (e.g. a Steam store card) that would look upscaled at full content width. It sits at a fixed card width (340px) on the left with its credit caption directly beneath it (same width, wraps when longer), beside a vertically centered text panel. The prose uses Syne at default weight, slightly larger, with a first-line indent. Stacks on narrow screens; the image opts out of the full-width .post-content img rule.

Sample callout image

Caption / credit line | Credit Source
The text panel sits beside the image, vertically centered against it, with left-aligned prose.

Global class in global.css. MDX: inside <figure class="figure-callout"> put a <div class="figure-callout__media"> wrapping the markdown ![alt](./file.png) (blank lines around it) plus a .figure-callout__credit caption span below it, then a <figcaption class="figure-callout__caption"> holding the .figure-callout__text prose.

Lightbox

Source: src/components/Lightbox.astro. No props — drop the component into a layout and it script-wraps every article img (excluding gallery images and .no-lightbox). GLightbox CSS + JS are lazy-loaded on first click. Already mounted on every article page via PageComponent.astro.

ToC (Table of Contents)

Source: src/components/ToC.astro. The sidebar to the right of this page is a live render — it scanned every h2/h3 inside [data-article-content] on this page and built itself. Opt-in per post via toc: true frontmatter; mobile gets a FAB-triggered drawer.

AudioPlayer

Accent-ring play/pause control over a native <audio> element, with a label and a live MM:SS readout. Two uses: (1) inline in review MDX for sound tests, and (2) the :focus-visible + compact hero-meta variant used by the text-to-speech “Hear summary” trial — when a post sets audioSummary frontmatter, Hero.astro renders a 30px-button version beside the date / reading time.

Default (inline / sound-test):

Listen to the sound test · --:--

Compact hero-meta variant (“Hear summary”):

Hear summary · --:--

Source: src/components/AudioPlayer.astro (styles in global.css). MDX inline: import AudioPlayer from '@components/AudioPlayer.astro' + <AudioPlayer src={mp3} label="…" />. TTS variant: set audioSummary: "/audio/<date>-<slug>-<lang>.mp3" in frontmatter; audio is generated offline via npm run tts (scripts/generate-tts.mjs).

Pills, chips & tags

Review News Quick look

.category — solid mint chip, uppercase, var(--text-xs). Used in article headers and post metadata.

#keyboards #mice #razer #quick-look

.tag — mint text, no background, var(--text-sm). Used as #tag chips in the post-tags row at the bottom of every article. Cards use a separate .card-tag class.

Featured Keyboards

.hero-badge — overlay pills anchored to the hero image (Hero.astro, featured variant). .featured uses --color-variation-4 (pink); the second pill uses --color-accent-tertiary for the first post tag.

Review Top pick

.hero-badge-pill — mint accent pill on review/interview hero images. Used for the REVIEW tag and the TOP PICK marker.

Keyboards Razer

.card-tag — overlay pill anchored top-left of card images. Smaller (0.625rem) than hero badges, same purple --color-accent-tertiary. One pill per post tag, capped via maxTags.

Top pick Quick look

.top-pick-badge is anchored top-right of card images, opposite the .card-tag stack. .quick-look-badge sits bottom-right, overlapping the image edge in the same slot the review dice (.card-rating) would occupy — a quick look has no rating, so the spot is free.

Game of the Year Best Art Best Debut

.nga-award-tag (Nordic Game Awards) — flat ceremony pills in the amber palette. Default is black fill with a 1px amber outline + amber text; the single Game of the Year tag inverts via .nga-award-tag--goty (amber fill, dark text). Shared by the awards page and the homepage highlight segment.

Aktiv giveaway Reklame Sponset av Keychron Kommende Trukket ANSI

.vinn-pill (/vinn, kaytomas.no only) is the .nga-award-tag ceremony pill (black fill, 1px amber outline, amber text), lifted to --text-sm mono because /vinn has no text below --text-sm. Gold marks what can be won right now. The pills sit above the title of every open giveaway, in place of the hero eyebrow: .vinn-pill--solid (amber fill, dark text) is the single AKTIV GIVEAWAY pill, with a --nga-amber-hi highlight that sweeps across it every 3.6s (transform only, off under prefers-reduced-motion). The outline .vinn-pill follows it only when origin: sponset, as two pills: "Reklame" and "Sponset av [produsent]". .vinn-pill--quiet is the grey outline version (1px --color-border, muted text) for upcoming and past giveaways: Kommende, Stengt, Trukket, Reklame, Sponset av [produsent]. Status is computed at build time by getGiveawayStatus in src/lib/vinn.ts. .vinn-pill--layout (bone fill, dark bold text, --text-base) marks a keyboard layout from the giveaway's layout field (e.g. ANSI): next to AKTIV GIVEAWAY on an open giveaway, and on the upcoming tile, where it is the only element left at full contrast. Upcoming giveaways render as compact full-width tiles (dashed border, 360px greyscale image with a KOMMENDE ribbon, muted text).

Editorial headlines (Syne)

Default <h1>–<h6> use system-ui bold + accent color. Syne is opted into selectively via .hero-title / .card-title. Bold-word emphasis inside heroHeadline uses Syne 700 with the heading gradient.

Hero title — Syne 500, with **word** emphasis → Syne 700 gradient

Why the Keychron M4 is the mouse I actually keep using

.hero-title var(--font-display), 500, var(--text-h1)

Used on review and news hero blocks. Markdown-style **word** in heroHeadline frontmatter becomes <strong> rendered at 700 with the heading gradient applied to that word.

Card title — Syne 500, h3 scale

Razer Pro Type Ergo quick look

.card-title var(--font-display), 500, var(--text-h3)

Used on every <Card> across grids: ContentGrid, TopicSection, UpcomingSection.

Vinn masthead, Syne 500 display with **word** emphasis

Gratis giveaways

Vinn utstyret jeg har testet

Ja, jeg gir faktisk bort noen av tingene jeg har testet. Helt gratis, ingen abonnement og ingenting med liten skrift.

.vinn-masthead-title var(--font-display), 500, clamp(3rem, 9vw, 6.5rem), line-height 0.95

Top of /vinn (kaytomas.no only) and the page's only h1: mono amber eyebrow at --text-sm, display headline one step above --text-h1, lead at --text-lg. The thesis word from renderHeadline() gets a flat white to --nga-amber sweep, no animation. Every open giveaway below it is a full Hero.astro block (h2) in gold: amber corner glow, the same amber thesis word, the pill through Hero's eyebrow slot, and the odds, the article link and the gold frame through its below slot. Upcoming giveaways reuse the hero rhythm as large greyed rows (Syne title, / teaser). Copy lives in src/vinn/copy.no.ts.

Vinn odds

Påmeldte
12
Sjanse for at akkurat du vinner!
7,7%

Melder du deg på nå, er du 1 av 13 i trekningen. Sjansen endrer seg etter hvert som flere melder seg på.

.vinn-odds numerals: var(--font-display), clamp(2.5rem, 4.6vw, 3.75rem); chance 700; all text --color-text; bar 6px --color-accent

Open giveaways on /vinn, full width above the article link. Live numbers from /api/vinn/odds (a public, cached count of entries): the number of entries and the visitor's chance, both in white, with the percent sign set at 0.55em as a unit. Labels are white mono. Only the bar is mint, the one mint element inside the gold giveaway. The chance is 1 divided by the number of people in the draw including the visitor: entries + 1 before entering, entries once entered. The sentence beside it spells that out. The bar is the visitor's share of the draw, in --color-accent on an 18% track. It fills from zero to the visitor's share the first time the bar itself is well in view (2200ms after a 250ms pause, even pace), then stays still. Transform only, and no motion under prefers-reduced-motion. For a visitor who is already entered the numbers switch to 1 of N and the sentence says so. The block is hidden without JavaScript and when the API is unreachable. Copy lives in oddsCopy in src/vinn/copy.no.ts.

Vinn gold frame

Produsent
Keychron
Modell
G5
Verdi
1200 kr
Trekkes
26/10/2026 - om 13 dager, 10 timer
Tilstand
Testeksemplar

Premien er et brukt testeksemplar som jeg har fått av Keychron for å teste.

Jeg gir den bort rett og slett fordi jeg har for mange mus og vil dele med dere der ute.

Du er påmeldt i denne trekningen.

.vinn-entry solid --color-bg, 1px --nga-amber at 45%, padding --space-8, square, no shadow

Open giveaways on /vinn. The gold frame spans the full site width under the hero's two columns. Top row: facts as mono labels over --text-base values (Produsent and Modell from manufacturer and model, Verdi, Trekkes, Tilstand), closed by an amber hairline (--nga-amber at 25%). Trekkes is a short slash date followed by a live countdown in the same white ("om 13 dager, 10 timer"), filled in by a small inline script and refreshed every minute, absent without JavaScript. Below: the age checkbox, the Vipps button and the privacy line on the left, the prize disclosure (body size, no / mark) and Kay's own reason (reason) on the right. On mobile everything stacks and the countdown gets its own line. Second demo, the entered state: a visitor who is already in the draw sees "Du er påmeldt i denne trekningen." at --text-lg, the Vipps button greyed out (grayscale, 35% opacity, the form is inert), and "Meld meg av" and "Min side" as .vinn-button--secondary. Withdrawing takes two steps (.vinn-button--danger to confirm) and is possible until the draw. The state shows at once from a localStorage hint (src/vinn/lib/entered.ts) and is corrected by /api/vinn/me. Right above the frame, at the same full width, the article is linked with the regular <ReadMyReview> card, recoloured amber. The block has no byline and no spec list.

Vinn page title, Syne 500 with optional **word** emphasis

Min side

.vinn-page-title var(--font-display), 500, var(--text-h1)

Static /vinn sub-pages that don't render through Hero.astro (pameldt, min-side). The legal page /vinn/vilkar does not use this title: it is styled exactly like /om (bold 135deg gradient h1, h2 with a hairline under, muted body text). Same treatment as .hero-title; <strong> from renderHeadline() gets --gradient-heading, which is white to gold on pameldt and min-side because <main> carries .vinn-theme-gold. The legal page (/vinn/vilkar, one page with the anchors #vilkar and #personvern) does not carry it and keeps the standard mint. That scope class (global.css) points --color-accent, --color-accent-rgb, --gradient-heading, --gradient-heading-prose and --hero-glow-color at the amber palette, so buttons, the checkbox, focus rings, the notify block and the confirmation hero turn gold with no overrides of their own. The site header and footer sit outside it and stay mint, and so does the legal page. /vinn itself uses the real article hero: category: 'giveaway' gets the review layout and glow, without review pill or rating die.

Vinn confirmation hero, Syne 500 display with **word** emphasis

Keychron G5 giveaway

Du er med!

Påmeldingen din til Keychron G5 er registrert. Nå er det bare å krysse fingrene.

.vinn-confirm-title var(--font-display), 500, clamp(2.75rem, 9vw, 6rem), line-height 0.95; clamp(2.75rem, 6.5vw, 5.25rem) beside the image

/vinn/pameldt (kaytomas.no only). A celebration moment in the review-hero language, in gold through .vinn-theme-gold: amber radial glow + --grain-opacity-hero grain, giveaway title as mono amber eyebrow, short headline with the --gradient-heading thesis word, lead at --text-lg, "Trekkes 26. oktober kl 20:00" in the .vinn-fact mono style, and the giveaway's article hero image on the right (image on top, full bleed, on mobile). Every ?s= code (ok, already, not_open, closed, not_found, age, feil) has its own headline from pameldtStates in src/vinn/copy.no.ts; dead ends get one .vinn-button--large "Se giveawayene". Headline rises in (transform + opacity, 560ms) only under prefers-reduced-motion: no-preference.

Hero summary — Syne 400, 1.26rem, letter-spacing 0.04em

A short editorial summary sits below the hero title. Looser tracking and lighter weight keep it from competing with the headline.

.hero-summary p var(--font-display), 400, 1.26rem

Hero summary paragraph (src/components/sections/Hero.astro).

Project series divider — mono 600, mint rule with off-center name

DIY Steam Machine

.project-series-divider var(--font-mono), 600, var(--text-sm), mint rule

Series anchor (grouped by projectName) on the /projects index (src/components/sections/ProjectSeriesDivider.astro). Name parks at the left third: short leading rule, long trailing rule. Reuses --color-accent + the eyebrow type stack — no new tokens.

Type scale — headings (defaults)

These are the global defaults: system-ui, bold, accent color. Component-level overrides (above) opt into Syne.

Heading 1 — page titles

--text-h1 clamp(2.5rem, 5vw, 4rem)

Page titles (about, hero post titles)

Heading 2 — section headings

--text-h2 clamp(1.5rem, 2.5vw, 2rem)

Section headings in articles, hubs

Heading 3 — subsections

--text-h3 clamp(1.25rem, 1.75vw, 1.5rem)

Subsections, card-group titles

Heading 4

--text-h4 1.25rem

Inner subheads in articles

Heading 5
--text-h5 1.125rem

Rare — inline minor subheads

Type scale — body

Large lead text used for intros.

--text-lg 1.5rem

Lead paragraphs, hero descriptions

Medium body text.

--text-m 1.125rem

Slightly emphasized body, callouts

Default body copy size.

--text-base 1rem

Default for everything not overridden

Small text for meta and labels.

--text-sm 0.875rem

Meta info, breadcrumbs, footer

Extra small text.

--text-xs 0.75rem

Tags, micro-labels

Caption text under images.

--caption-font-size 0.65rem

Image captions (mono, #cccccc)

Font families

--font-display

The quick brown fox jumps over the lazy dog 0123456789

Syne Variable — h1–h6, brand display

body (system-ui)

The quick brown fox jumps over the lazy dog 0123456789

system-ui stack — paragraphs, default body

--font-mono

The quick brown fox jumps over the lazy dog 0123456789

IBM Plex Mono — captions, code, tags, token labels

Font weights

The quick brown fox

--font-weight-normal 400

The quick brown fox

--font-weight-medium 500

The quick brown fox

--font-weight-semibold 600

The quick brown fox

--font-weight-bold 700

Line heights

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

--line-height-tight 1.2

Headings

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

--line-height-normal 1.5

Default text

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

--line-height-relaxed 1.6

Long-form prose, paragraphs

Colors

Backgrounds

--color-bg #111111

Body background everywhere

--color-bg-elevated #1a1a1a

Elevated surfaces: dropdowns, ToC drawer, modal sheets

--color-bg-subtle #151515

Subtle alt sections (rarely), card background

--color-surface #1a1a1a

Inline code + pre blocks in prose (same plane as elevated)

Text

--color-text #f5f5f5

Primary body text, headlines on light contexts

--color-text-muted #c8c8c8

Paragraph body across about, posts, descriptions

--color-text-subtle #707070

Meta info, timestamps, tertiary labels

Accents

--color-accent #99FFCC

Brand mint — headings, links, tags, category chips, hover underlines, ::selection

--color-accent-rgb 153, 255, 204

RGB twin of --color-accent for rgba() glows (hero glow, ToC FAB, menu ambients) — edit together with the accent

--color-accent-alt #ff006e

Hot pink — secondary accent (rare highlights)

--color-accent-tertiary #4800fb

Purple — card tag pills, tertiary accent

--color-accent-hover #7fddbb

Muted mint — hover state on accent elements

--color-variation-4 #cc33cc

Magenta variation (decorative)

Borders

--color-border rgba(255,255,255,0.1)

Card edges, hr, section dividers

--color-border-subtle rgba(255,255,255,0.05)

Faint internal separators

NGA amber

--nga-amber #FFB340

Core ceremony amber — Nordic Game Awards page + homepage highlight (titles, pills, winner borders). Also the gold on every /vinn page, through the .vinn-theme-gold scope: pill, thesis words, gold frame, buttons, checkbox, notify block, winner names

--nga-amber-bright #FFCD78

Lighter step — hovers, mid gradient stops

--nga-amber-hi #FFE9C2

Warm specular highlight (near-cream). The sweep across the AKTIV GIVEAWAY pill on /vinn

--nga-amber-deep #C77A14

Deep metallic mid-tone

--nga-amber-shadow #3a2408

Darkest stop in the spinning winner-border ramps

Vipps

--color-vipps #FF5B24

Vipps brand orange: /vinn no-JS fallback submit button only (shown while the official <vipps-mobilepay-button> is undefined). Not part of the editorial palette

--color-vipps-hover #e6501f

Hover state for the Vipps fallback button

Gradient

Heading gradient

--gradient-heading · linear-gradient(90deg, var(--color-text) 0%, var(--color-accent) 100%) · Used on: large hero/page titles (about page h1, etc.)

Prose heading gradient

--gradient-heading-prose · linear-gradient(19deg, var(--color-text) 0%, var(--color-accent) 60%) · Used on: prose h2/h3, card titles, related-posts heading — quieter sweep, mint arrives by 60%

Other components

Sample inline link

Default link with mint underline

inline code

Inline <code>

"A blockquote of decent length to show the styling treatment."

<blockquote> in articles

Vipps on /vinn and /vinn/min-side (kaytomas.no only) is the official <vipps-mobilepay-button brand="vipps" language="no" variant="primary" type="submit"> web component (src/vinn/components/VippsButton.astro), verb="register" by default and verb="login" once the vinn_known=1 cookie is set. rounded is left unset, so it is square like the rest of the site. Its script loads only on pages that render it. Shown here is the square no-JS fallback (.vipps-fallback, --color-vipps), visible only while the custom element is :not(:defined).

Every /vinn action speaks the .hero-cta language (mono uppercase, underline bar that grows on hover); rank is carried by size and bar colour, never a new shape. .vinn-button is primary (mint 1px bar, --text-sm). --large is the page's one dominant action (notify opt-in, "Se giveawayene"): display size, 3px bar that grows to half the cap height. --secondary is muted text on a --color-text-subtle bar; --danger is --color-accent-alt. Busy = aria-disabled + aria-busy (60% opacity, bar frozen) so focus stays put. The age checkbox (.vinn-age-consent) and .vinn-input are square, 1px --color-border on --color-bg-elevated, mint check and mint focus ring. Shared set in global.css; not used outside /vinn.

Vinn e-mail alert block

<VinnNotify> (src/vinn/components/VinnNotify.astro, wired by src/vinn/lib/notify.ts). The one thing we want people to do after entering, on /vinn/pameldt and /vinn/min-side. Centred, square, 1px --color-border on --color-bg-subtle with site grain, and four mint crop marks in the corners (the signature: a print "cut here" frame). Mono accent eyebrow, Syne headline clamp(2rem, 6vw, 3.25rem) with a gradient thesis word, the e-mail in mono so the reader sees exactly where it goes, and ONE .vinn-button--large. Nothing is pre-selected: the button is the consent (markedsføringsloven § 15). After success the block flips to the confirmed view (house checkmark eyebrow, smaller headline, quiet --secondary undo) and focus lands on its heading; errors show in a polite live region with a --color-accent-alt / mark. Already subscribed on load = confirmed view directly.

Neste giveaway

Vil du vite når neste giveaway åpner?

Da sender jeg en e-post til du@epost.no når en ny giveaway åpner. Ikke noe nyhetsbrev, og du kan skru det av når du vil.

Varsel på

Du får e-post når neste giveaway åpner

Varselet går til du@epost.no.

Card accent symbols

A single coloured glyph in the bottom-right of each card, tinted with a dominant colour extracted from the post’s heroImage. Quiet per-post flourish that picks up the image palette.

▲ ▽ • ✽ ▰ ▱ ◇ ✦ ✱ ▴ ▾ ◆ ◈ ◉ ◎ ○ ● □ ■ ▪ ▫ △ ▵ ✧ ✺ ✶ ✷ ✵ ‣ ▸ ▹ ◊ ⬡ ❖ ※ ◐ 🜁︎ 🜃︎ 🜍︎ 🜚︎ -

Source: src/lib/cardAccent.ts + scripts/extract-card-colors.mjs. Colours are pre-extracted at build time, keyed by slug in src/data/card-accents.json. Symbol is chosen deterministically per slug via FNV-1a hash mod pool length. Roughly 20% of cards skip the symbol entirely (also slug-deterministic) so the grid breathes. The thin rule above the card date (.card-date border-top) also takes the tuned hero colour, via --card-line-color, and is never skipped, so it always matches the article page's accent mark even on cards without a symbol. Cards without an extracted colour fall back to --color-accent.

Spacing scale

4px base unit. Bars are sized to each token.

--space-1 4px
--space-2 8px
--space-3 12px
--space-4 16px
--space-5 24px
--space-6 32px
--space-8 48px
--space-10 64px
--space-12 96px

Radii

--radius-sm 4px

Default subtle rounding — tag chips, code pills, swatches

--radius-md 8px

Card-shaped surfaces — family blocks, lh-block, shadow-card

--radius-full 9999px

Circular buttons — ToC FAB, search button

Shadows

--shadow-lg

Cards, prominent surfaces

--shadow-tag

Tag chips

Transitions

Hover the buttons to feel the difference.

Film grain

Grain at --grain-opacity: 0.08

Layered over backgrounds site-wide for analogue texture.

Hero treatment

Grain at --grain-opacity-hero: 0.18

Heavier grain scoped to review and interview hero sections via the .hero.is-review modifier — layered over a radial mint glow.

Radial glow --hero-glow-color: rgba(var(--color-accent-rgb), 0.18), 500px radius

Radial gradient fading from this color in the bottom-right corner of .hero.is-review to transparent at 60%.

Interview Q&A

Four components for the interview template. Authors write <Q>, <A>, <PullQuote attribution="…"> and <Note>. Each turn opens with the speaker's name as a run-in label: asker / responder from frontmatter (override per turn with name="…"). Question label in --color-text-muted with a semibold question, answer label in --color-accent with normal body text. Used for written / e-mail Q&As; recorded conversations are written as reportage with quotes in the prose instead (see writing/WRITER.md § DRAFT INTERVIEW). The Note label is i18n: Editor's note (EN) / Kommentar (NO).

Kay:
How does the speaker turn render?
Calder:
The name floats as a run-in label on the first line, so the answer reads like a normal paragraph. No markers, no rules, no indent. Pure CSS, no JS.
Pull quotes sit between turns, not inside answers. Same mint top-bar treatment as standard article blockquotes.
Demo attribution

Layout widths

--layout-max-width 1200px

Outer page container

--hero-max-width 1150px

Hero sections

--content-max-width 680px

Article body for readability