/* ==========================================================================
   gdmde.com
   Layout idea: a type specimen. Thin rules, small mono labels in a left
   column, large serif type, a lot of paper. One accent colour (cyan).
   ========================================================================== */

/* ---------- Fonts (self-hosted, open licence) ---------- */
@font-face{font-family:"Redaction 35";src:url(fonts/redaction-35-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Redaction";src:url(fonts/redaction-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Redaction";src:url(fonts/redaction-latin-400-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Redaction";src:url(fonts/redaction-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Commit Mono";src:url(fonts/commit-mono-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}

/* ---------- Tokens: change colours and fonts here ---------- */
:root{
  --paper:#F4F3EF;
  --ink:#161618;
  --muted:#5F5F59;
  --rule:#C9C8C0;
  --accent:#0096D6;          /* process cyan */
  --bitmap:"Redaction 35", Georgia, serif;
  --serif:"Redaction", Georgia, "Times New Roman", serif;
  --mono:"Commit Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter:clamp(16px, 4vw, 56px);
  --max:1280px;
  --gap:clamp(16px,2vw,32px);
  color-scheme:light;
}

*{box-sizing:border-box;margin:0;padding:0}
p,li,dd{text-wrap:pretty}
/* the paper colour also fills the space behind the browser's own bars (Safari on iPhone and iPad) */
html{-webkit-text-size-adjust:100%;background:var(--paper)}
body{background:var(--paper);color:var(--ink);font:400 17px/1.65 var(--serif);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit}
img{display:block;max-width:100%;height:auto}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
::selection{background:var(--accent);color:#fff}
/* keyboard users can jump past the header; the link only shows when focused */
.skip{position:absolute;left:-9999px;top:8px;z-index:30;background:var(--paper);font:400 13px/1 var(--mono);padding:10px 12px;border:1px solid var(--ink)}
.skip:focus{left:var(--gutter)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Same left axis on every page: full width with gutters, like the home page */
.wrap{padding:0 var(--gutter)}
.mono{font-family:var(--mono)}
.label{font:400 13px/1.5 var(--mono);color:var(--muted);letter-spacing:.01em}
.rule{border:0;border-top:1px solid var(--ink)}
.rule.light{border-top-color:var(--rule)}

/* ---------- One grid on every page: five equal columns. Labels in column 1, content from column 2.
   Every multi-column block (case study sheet, skills, case study list) snaps to the same columns. ---------- */
.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:var(--gap)}
.grid > *{grid-column:2 / -1}
.grid > .side{grid-column:1 / 2;padding-top:.35em}
@media (max-width:760px){.grid > *,.grid > .side{grid-column:1 / -1}.grid > .side{padding-top:0;margin-bottom:8px}}

/* ==========================================================================
   Home: one screen, built like a specimen page.
   One huge letter, everything else small. Every element hangs from the same
   left axis: label, name, letter, headline.
   ========================================================================== */
.home main{--px:2px;--pad:clamp(20px,4.5vh,44px);position:relative;height:100vh;height:100svh;min-height:520px;overflow:hidden;display:flex;align-items:flex-end;gap:var(--gap);padding:var(--pad) var(--gutter);
  --avail:calc(100svh - 2 * var(--pad))}
/* The g alone, full height. Metrics (Redaction 35): glyph height .77em, it starts .275em below the
   top of the line box and ends .045em below it; the ear overhangs the advance by .07em. */
/* Side by side, the g is as tall as the screen, unless the window gets too narrow to leave 420px for the
   text: then it shrinks with the width (the g is about .6em wide with its ear), anchored to the top left */
.h-g{display:block;font:400 min(calc(var(--avail) / .77),calc((100vw - 2 * var(--gutter) - var(--gap) - 420px) / .6))/1 var(--bitmap);margin:-.275em .07em .045em 0;user-select:none;flex:none;align-self:flex-start}
/* Idea 1 (base): text at the bottom right, aligned right. Every rule is as wide as the text it
   belongs to: it starts at the right margin and stops with the text, never reaching the g. */
.h-block{flex:1;min-width:0;display:flex;justify-content:flex-end}
.h-text{width:max-content;max-width:100%;text-align:right;border-top:1px solid var(--ink);padding-top:10px}
.h-block .label{display:block}
/* Fixed sizes: the text never shrinks or grows with the window, only the layout changes */
.h-block h1{font:400 24px/1.15 var(--serif);letter-spacing:-.005em;margin-top:6px}
.h-block .headline{font:italic 400 16px/1.4 var(--serif);margin-top:12px;padding-bottom:14px;border-bottom:1px solid var(--ink)}
.h-block ul{list-style:none;padding-top:10px}
.h-block li{font:400 13px/1.85 var(--mono)}
.h-block a{text-decoration:none}
/* Idea 2: the same text in three columns under one rule: who, what, where to go */
@media (min-width:761px){
  .v2 .h-text{display:grid;grid-template-columns:repeat(3,max-content);justify-content:end;width:auto;column-gap:clamp(28px,3.2vw,60px);align-items:start;padding-top:12px}
  .v2 .h-block h1{margin-top:4px;white-space:nowrap}
  .v2 .h-block .headline{margin-top:0;padding-bottom:0;border-bottom:0;line-height:1.3;max-width:18ch;min-width:16ch;text-wrap:balance}
  .v2 .h-block ul{padding-top:0}
  .v2 .h-block li{line-height:1.6;white-space:nowrap}
}
@media (min-width:761px) and (max-width:1180px){.v2 .h-block h1{white-space:normal}}
/* Ideas 3 and 4: the links move to the top right, at the same place as the header of the inner pages,
   with a rule under them. Label, name and headline stay at the bottom right, under a rule.
   Idea 3: the rules stop with the text. Idea 4: the rules run on until they meet the g. */
.v3 .h-block{align-self:stretch;flex-direction:column;justify-content:space-between;align-items:flex-end}
/* the links sit exactly where the header of the inner pages puts them: same baseline (set by an invisible g
   of the header's size), same rule height */
.v3 .h-nav{display:flex;align-items:baseline;justify-content:flex-end;margin-top:calc(-1 * var(--pad));padding-top:14px;height:70px;border-bottom:1px solid var(--ink)}
.v3 .h-nav ul{display:flex;gap:clamp(14px,3vw,36px);padding:0}
.v3 .h-nav li{font:400 13px/1 var(--mono)}
.v3 .h-nav a{display:block;padding:6px 0}
.v3 .h-block .headline{padding-bottom:0;border-bottom:0}
/* Idea 4: each rule runs towards the g and stops one page margin away from its outline at that height.
   Without JavaScript: the lower rule runs .07em further, since the bowl ends .07em left of the ear. */
.v4 main{gap:var(--gutter)}
.v4 .h-block{align-items:stretch}
.v4 .h-nav ul{justify-content:flex-end}
.v4 .h-text{width:auto;max-width:none}
@media (min-width:761px){.v4 .h-text{margin-left:calc(var(--avail) / .77 * -.07)}}
/* site.js then measures the g's outline at the height of each rule and sets both gaps to exactly one page margin */
/* Idea 5: idea 1 with the links on top, above the rule that opens the name block */
.v5 .h-text{border-top:0;padding-top:0}
.v5 .h-block ul{padding:0 0 12px}
.v5 .h-id{border-top:1px solid var(--ink);padding-top:10px}
.v5 .h-block .headline{padding-bottom:0;border-bottom:0}
/* Idea 6: idea 4, with a baseline under the headline, level with the foot of the g,
   and a rule under the links that stops with them */
.v6 .h-nav{align-self:flex-end}
.v6 .h-text{border-bottom:1px solid var(--ink);padding-bottom:14px}
/* Idea 7: idea 3 with a rule under the headline, level with the foot of the g, as wide as the text */
.v7 .h-text{border-bottom:1px solid var(--ink);padding-bottom:14px}
/* Idea 8: idea 5 with a rule under the headline, level with the foot of the g, as wide as the text */
.v8 .h-text{border-bottom:1px solid var(--ink);padding-bottom:14px}
/* 404: same composition, the digits are .7em tall, from .1em to .8em of the line box */
.lost .h-g{font-size:min(calc(var(--avail) / .7),calc((100vw - 2 * var(--gutter)) * .55 / 1.79));margin:-.1em 0 -.2em -.035em}
/* Phones held sideways: side by side, as on a computer, fitted to the short screen without scrolling */
@media (orientation:landscape) and (max-height:500px){
  .home main{min-height:0;--pad:20px}
}
/* Stacked (phones and tablets held upright, very narrow windows): one layout for every idea and every size.
   The g, smaller, at the top left with white space under it. At the bottom, everything aligned left:
   links, rule, label, name, headline, rule. */
@media (max-width:600px), (max-width:1100px) and (orientation:portrait){
  .home main{flex-direction:column;align-items:flex-start;justify-content:space-between;padding-bottom:max(40px,6vh)}
  /* at most half the height, at most 62% of the width */
  .h-g{font-size:min(calc(var(--avail) * .5 / .77),calc((100vw - 2 * var(--gutter)) * .62 / .6))}
  .home .h-block{flex:none;width:100%;align-self:stretch;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
  .home .h-text{display:flex;flex-direction:column;width:auto;max-width:none;margin:0;text-align:left;border-top:0;padding-top:0;border-bottom:1px solid var(--ink);padding-bottom:14px}
  .home .h-text nav{order:-1}
  .home .h-nav{display:block;margin:0;padding:0;height:auto;border-bottom:0;align-self:stretch}
  .home .h-nav .strut{display:none}
  .home .h-block ul{display:flex;flex-wrap:wrap;gap:0 24px;padding:0 0 6px;justify-content:flex-start}
  .home .h-block li{font:400 14px/1.4 var(--mono)}
  .home .h-block li a{display:block;padding:6px 0}
  .home .h-id{border-top:1px solid var(--ink);padding-top:10px}
  .home .h-block .headline{border-bottom:0;padding-bottom:0}
  .lost .h-g{font-size:calc((100vw - 2 * var(--gutter)) * .8 / 1.79)}
}
/* Hover: a misregistered print plate. The cyan plate slips a little behind the black one. */
.print-hover{transition:text-shadow .3s ease}
/* any link split into letters by site.js */
.print-hover:not(.split):hover,.print-hover:not(.split):focus-visible{text-shadow:1.5px 1px 0 var(--accent)}
/* letter by letter: the cyan plate slides across the word */
.print-hover .ch{transition:text-shadow .2s ease var(--t)}
.print-hover:hover .ch,.print-hover:focus-visible .ch{text-shadow:1.5px 1px 0 var(--accent);transition-delay:var(--t)}
@media (prefers-reduced-motion:reduce){.print-hover{transition:none}}

/* Entrance. Plays each time a page opens (html.anim is set in <head>),
   never for visitors who turn animations off. Order: 1 the rule draws, 2 the label types, 3 the text fades in.
   Home and 404: the g prints in pixel by pixel (site.js), then the text fades in. The header only moves on the
   first page of a visit. */
@keyframes fade{from{opacity:0}}
@keyframes draw{from{transform:scaleX(0)}}
.anim .h-g{opacity:0}
.anim .home :is(.h-text,.h-nav){animation:fade .7s .75s both}
.anim main :is(section.block,.sheet,.index,.skills > div,.page-end){position:relative;border-top-color:transparent}
.anim main :is(section.block,.sheet,.index,.page-end){--rc:var(--ink)}
.anim main .skills > div{--rc:var(--rule)}
.anim main section.block.no-rule{--rc:transparent}
/* the thin rules inside a block arrive with its text */
.anim main :is(.sheet dl > div,.index a){border-bottom-color:transparent}
.anim main :is(.sheet.on dl > div,.index.on a){border-bottom-color:var(--rule);transition:border-color .7s ease calc(var(--d,0s) + .45s)}
.anim main :is(section.block,.sheet,.index,.skills > div,.page-end)::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--rc);transform:scaleX(0);transform-origin:left center;transition:transform .9s cubic-bezier(.2,.7,.2,1) var(--d,0s)}
.anim main :is(section.block,.sheet,.index,.skills > div,.page-end).on::before{transform:none}
/* blocks below the first screen are shown as they are, without animation */
.anim main .still,.anim main .still *,.anim main .still::before{transition:none!important}
/* the note under the case study list fades in after the list */
.anim main .more{opacity:0}
.anim main .more.on{opacity:1;transition:opacity .7s ease calc(var(--d,0s) + .45s)}
.anim main :is(section.block > .side :is(h2,.label),.sheet dt,.skills h3,.page-head .crumb){clip-path:inset(0 100% 0 0)}
.anim main :is(section.block.on > .side :is(h2,.label),.sheet.on dt,.skills > div.on h3,.page-head.on .crumb){clip-path:inset(0);transition:clip-path calc(var(--n,12) * 26ms) steps(var(--n,12)) calc(var(--d,0s) + .3s)}
.anim main :is(section.block > :not(.side),.sheet dd,.skills p,.index a > *,.page-head h1,.page-end > *){opacity:0}
.anim main :is(section.block.on > :not(.side),.sheet.on dd,.skills > div.on p,.index.on a > *,.page-head.on h1,.page-end.on > *){opacity:1;transition:opacity .7s ease calc(var(--d,0s) + .45s)}

/* ==========================================================================
   Inner pages
   ========================================================================== */
/* Header: same height, link position and spacing as before (70px, links on a baseline 44px from the top).
   The g is set on the rule: the line stops on each side of the letter and its tail hangs below it.
   Scrolling text disappears a few pixels under the tail, not at the rule. */
.top{--mpx:3px;--row:18;position:sticky;top:0;z-index:10;background:var(--paper)}
/* the edge where scrolling text disappears: invisible, just under the g's tail (the glyph is 22 pixels tall,
   the rule crosses it at --row), so the tail never touches the text */
.top::before{content:"";position:absolute;left:0;right:0;top:100%;height:calc((22 - var(--row)) * var(--mpx) + 6px);background:var(--paper);pointer-events:none}
.top::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--ink);transform-origin:left center}
/* the links' baseline is set by an invisible g (the .strut), exactly as on the home page, so both menus line up */
.top .wrap{position:relative;display:flex;align-items:baseline;justify-content:space-between;padding-top:14px;height:70px}
.strut{font:400 calc(2px / .035)/1 var(--bitmap);display:inline-block;width:0;margin:-.275em 0 .045em;visibility:hidden}
/* The mark: the same bitmap g as the home page. Its pixels are 35 font units, so at --mpx / .035 each of them
   is exactly --mpx screen pixels and the edges stay sharp. It is placed so that the rule crosses it --row pixels
   below its top (the glyph starts .275em below the top of its line box). */
.mark{position:absolute;z-index:1;left:var(--gutter);top:calc(70px - var(--row) * var(--mpx) - .275em);font:400 calc(var(--mpx) / .035)/1 var(--bitmap);text-decoration:none}
/* the paper behind the g breaks the rule on each side of the letter */
.mark::before{content:"";position:absolute;z-index:-1;left:-12px;right:-12px;top:.275em;bottom:calc(.725em - var(--row) * var(--mpx));background:var(--paper)}
/* on phones the margin is too narrow for a line on the left of the g: the line starts at the g */
@media (max-width:760px){.mark::before{left:calc(-1 * var(--gutter))}}
.top nav ul{display:flex;gap:clamp(14px,3vw,36px);list-style:none}
.top nav li{font:400 13px/1 var(--mono)}
.top nav a{display:block;text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.top nav a[aria-current="page"]{border-bottom-color:var(--accent)}
/* Arriving from a page without a header (the home page, the 404, another site): the g prints in first,
   then the rule draws in underneath it, then the page follows (site.js). Moving between pages that share the
   header, it stays still. */
.head-in .top::after{animation:draw .7s .45s cubic-bezier(.2,.7,.2,1) both}
.head-in .mark{color:transparent}
@media (max-width:420px){.top nav a{font-size:14px}}

.page-head{padding:clamp(36px,6vh,72px) 0 clamp(20px,3vh,32px)}
.page-head h1{font:400 clamp(32px,3.6vw,52px)/1.05 var(--serif);letter-spacing:-.02em;text-wrap:balance}
.page-head .crumb{margin-bottom:18px;display:block}
.page-head .crumb a{text-decoration:none;border-bottom:1px solid var(--rule)}
.page-head .crumb a:hover{border-bottom-color:var(--accent)}
.page-head.case h1{font-size:clamp(28px,3vw,44px);max-width:24ch}

section.block{border-top:1px solid var(--ink);padding:22px 0 clamp(36px,5vw,64px)}
section.block.no-rule{border-top:0}
section.block h2{font:400 13px/1.5 var(--mono);color:var(--muted)}
.prose{max-width:66ch}
.prose > * + *{margin-top:.85em}
.prose h3{font:700 17px/1.35 var(--serif);margin-top:1.4em}
.prose ul,.prose ol{padding-left:1.15em}
.prose li + li{margin-top:.4em}
.prose li::marker{color:var(--muted)}
.prose strong{font-weight:700}
.lead{font-size:clamp(18px,1.4vw,20px);line-height:1.5}
.intro{font:italic 400 clamp(19px,1.7vw,23px)/1.4 var(--serif)}
.prose .intro + p{margin-top:1.4em}

/* Spec sheet (case study header, timeline, skills) */
.spec{width:100%;border-collapse:collapse}
.spec th,.spec td{text-align:left;vertical-align:top;padding:12px 16px 12px 0;border-bottom:1px solid var(--rule)}
.spec th{font:400 13px/1.5 var(--mono);color:var(--muted);width:24%;padding-top:15px}
.spec td{font-size:16px;line-height:1.5}
.spec tr:first-child th,.spec tr:first-child td{border-top:1px solid var(--rule)}
.spec .num{font:400 13px/1.5 var(--mono);color:var(--muted);white-space:nowrap}
@media (max-width:560px){.spec th,.spec td{display:block;width:auto;padding-right:0}.spec th{border-bottom:0;padding-bottom:0}.spec tr:first-child td{border-top:0}}

.sheet{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:var(--gap);border-top:1px solid var(--ink)}
.sheet dl > div{padding:12px 0 16px;border-bottom:1px solid var(--rule);height:100%}
@media (max-width:760px){.sheet{grid-template-columns:1fr 1fr}}
.sheet dt{font:400 13px/1.5 var(--mono);color:var(--muted);margin-bottom:6px}
.sheet dd{font-size:15px;line-height:1.45}

/* Data tables inside case studies */
.data{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;margin-top:1.2em}
.data th{font:400 13px/1.5 var(--mono);color:var(--muted);text-align:left;padding:8px 14px 8px 0;border-bottom:1px solid var(--ink)}
.data td{padding:10px 14px 10px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.table-scroll{overflow-x:auto}

/* Case study index */
.index{border-top:1px solid var(--ink);margin-bottom:clamp(48px,8vw,120px)}
.index + .page-end{margin-top:0}
/* a short note under the list, so a single case study reads as a start, not a gap */
.index + .more{margin:calc(-1 * clamp(48px,8vw,120px) + 18px) 0 clamp(48px,8vw,120px)}
.index a{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:var(--gap);row-gap:10px;padding:clamp(20px,3vw,32px) 0;border-bottom:1px solid var(--rule);text-decoration:none}
.index .t{grid-column:1 / 4;font:400 clamp(22px,2vw,28px)/1.15 var(--serif);letter-spacing:-.01em;text-wrap:balance}
.index .t .ch{transition:text-shadow .2s ease var(--t)}
.index a:hover .t .ch,.index a:focus-visible .t .ch{text-shadow:1.5px 1px 0 var(--accent);transition-delay:var(--t)}
.index .s{font:400 13px/1.65 var(--mono);color:var(--ink);grid-column:1 / 4}
.index dl{grid-column:4 / -1;grid-row:1 / span 2;display:grid;grid-template-columns:auto 1fr;gap:4px 14px;font:400 13px/1.5 var(--mono);align-content:start;padding-top:.5em}
.index dt{color:var(--muted)}
@media (max-width:760px){.index a{grid-template-columns:1fr}.index .t,.index .s,.index dl{grid-column:1;grid-row:auto}.index dl{padding-top:0}}

/* Bitmap figure with scroll-linked colour reveal */
figure.reveal{margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);align-items:start}
.reveal .frame{grid-column:1 / 4;position:relative;border:1px solid var(--ink);background:var(--ink)}
.reveal .frame img{width:100%}
.reveal .frame .bitmap{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;image-rendering:crisp-edges}
.reveal figcaption{grid-column:4;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
@media (max-width:760px){figure.reveal{display:block}.reveal figcaption{margin-top:10px;flex-direction:row;flex-wrap:wrap;justify-content:space-between}}
.reveal button{font:400 13px/1 var(--mono);color:var(--ink);background:transparent;border:1px solid var(--rule);padding:8px 12px;cursor:pointer}
.reveal button:hover{border-color:var(--accent)}
@media (prefers-reduced-motion:reduce){.reveal .frame .bitmap{display:none}.reveal button{display:none}}

/* About */
.skills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 var(--gap)}
.skills > div{border-top:1px solid var(--rule);padding-top:12px}
.skills h3{font:400 13px/1.5 var(--mono);color:var(--muted);margin-bottom:8px}
.skills p{font-size:16px;line-height:1.5}
.skills p.proof{font:400 13px/1.6 var(--mono);color:var(--muted);margin-top:10px}
@media (max-width:760px){.skills{grid-template-columns:1fr;row-gap:20px}}
.principles{list-style:none;counter-reset:p}
.principles li{font:400 clamp(17px,1.3vw,19px)/1.35 var(--serif);padding:12px 0;border-bottom:1px solid var(--rule)}
.principles li:first-child{border-top:1px solid var(--rule)}
.principles li small{display:block;font:400 13px/1.6 var(--mono);color:var(--muted);margin-top:6px}

/* Contact */
form.contact{display:grid;gap:22px;max-width:640px}
form.contact label{display:block;font:400 13px/1.5 var(--mono);color:var(--muted);margin-bottom:6px}
form.contact input,form.contact textarea{width:100%;font:400 17px/1.45 var(--serif);color:var(--ink);background:transparent;border:0;border-bottom:1px solid var(--ink);padding:8px 0;border-radius:0}
form.contact textarea{min-height:180px;resize:vertical;border:1px solid var(--ink);padding:10px 12px}
form.contact input:focus,form.contact textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 1px 0 var(--accent)}
form.contact .hp{position:absolute;left:-9999px}
form.contact button{justify-self:start;font:400 13px/1 var(--mono);color:var(--paper);background:var(--ink);border:1px solid var(--ink);padding:14px 22px;cursor:pointer}
form.contact button:hover{background:var(--accent);border-color:var(--accent)}
/* messages after sending: set like the text of the page, no box */
.notice{font:400 17px/1.55 var(--serif);max-width:640px;margin-bottom:22px}
form.contact[hidden]{display:none}
.notice[hidden]{display:none}
.fine{font:400 13px/1.7 var(--mono);color:var(--muted);max-width:64ch}
.fine a{color:var(--ink)}

/* 404 */


.page-end{border-top:1px solid var(--ink);padding:20px 0 56px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.page-end a{font:400 13px/1.4 var(--mono);text-decoration:none;border-bottom:1px solid var(--rule)}
.page-end a:hover{border-bottom-color:var(--accent)}
.page-end .reach{display:flex;gap:clamp(18px,2.5vw,32px)}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
