/* Layout: a framed 1200px sheet of paper. Full-width dashed rules between bands,
   dashed verticals at the sheet edges and between columns. Single light theme by choice. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../vendor/fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../vendor/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../vendor/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../vendor/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../vendor/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e2;
  --ink: #141412;
  --muted: #5f5c55;
  --line: #cbc6bb;
  --line-strong: #9a958a;

  --font-sans: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --h-hero: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
  --h-big: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --h-mid: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --wrap: 1200px;
  --dash: 1px dashed var(--line);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

#ink {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, p, dl, dd, ol, ul, blockquote, figure { margin: 0; }
h1, h2 { font-weight: 300; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-weight: 400; font-size: 1.05rem; letter-spacing: -0.01em; }
a { color: inherit; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.small-text { font-size: 0.95rem; max-width: 34ch; }
.label { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; }
.label.tight { margin: 2rem 0 0; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Bands and the sheet */
.band {
  position: relative;
  z-index: 1;
  border-top: var(--dash);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  border-left: var(--dash);
  border-right: var(--dash);
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1rem, 2.2vw, 1.75rem);
}

/* Top bar */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--paper);
}
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: var(--paper);
  border-bottom: var(--dash);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.7rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; }
.mark { width: 1.15rem; height: 1.15rem; flex: none; }
.mark rect { fill: var(--ink); }
.mark path { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linejoin: round; }
.mark circle { fill: var(--paper); }
.topbar nav { display: flex; gap: 2rem; margin-left: auto; }
.topbar nav a { text-decoration: none; font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.topbar nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn:hover { background: #2d2c28; }
.btn.small { padding: 0.5rem 0.9rem; font-size: 0.82rem; }
.link-arrow { text-decoration: none; font-size: 0.9rem; display: inline-flex; gap: 0.4rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow.back::after { content: none; }
.link-arrow.back::before { content: "←"; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }

/* Hero */
.hero { border-top: 0; }
.hero .wrap { padding-bottom: 0; text-align: center; }
.hero-who { font-size: 0.78rem; color: var(--muted); margin: 0 0 1.2rem; letter-spacing: 0.02em; }
.hero-title { font-size: var(--h-hero); line-height: 1.08; }
.hero-title span, h2 span { display: inline-block; }
.hero-title span { display: block; }
.hero .wrap { padding-top: clamp(2rem, 5vw, 4rem); }
.hero-art { height: clamp(300px, 40vw, 470px); margin-top: 0.25rem; }

.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.intro-row { padding-block: 1.75rem; }

.big { font-size: var(--h-big); line-height: 1.08; }
.mid { font-size: var(--h-mid); line-height: 1.12; }
h2 span { display: block; }

/* Columns with dashed dividers: the dividers are borders on the cells. */
.cols-problem, .cols-steps, .cols-about {
  display: grid;
  padding: 0;
}
.cols-problem { grid-template-columns: 3fr 1fr; }
.cols-problem > * { padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 2.2vw, 1.75rem); }
.cols-problem > p { border-left: var(--dash); align-self: stretch; display: flex; align-items: center; }

.cols-steps { grid-template-columns: 1fr 3fr; }
.cols-steps > * { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 2.2vw, 1.75rem); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-left: var(--dash); }
.step { display: grid; gap: 0.5rem; align-content: start; }
.step-art { height: 190px; margin-bottom: 1rem; }
.numeral { font-size: 0.75rem; color: var(--muted); font-family: Georgia, "Times New Roman", serif; }
.step p { font-size: 0.9rem; max-width: 30ch; }

.split-even { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.split-even > * { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 2.2vw, 1.75rem); min-width: 0; }
.split-even > * + * { border-left: var(--dash); }
.now-left { display: grid; gap: 1.2rem; align-content: start; }
.now-left .label { margin-bottom: 0; }

/* Request record */
.record { border: 1px solid var(--line); background: var(--paper); margin-top: 0.8rem; }
.record-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.72rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.record-rows { list-style: none; padding: 0; font-size: 0.74rem; }
.record-rows li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  border-left: 2px solid transparent;
  border-bottom: 1px dashed var(--line);
  transition: background 0.35s, border-color 0.35s, color 0.35s;
  color: var(--muted);
}
.record-rows li .k { color: var(--muted); }
.record-rows li.on { background: var(--paper-2); border-left-color: var(--ink); color: var(--ink); }
.record-rows li.on span:last-child::after { content: " ·"; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.record-foot { font-size: 0.78rem; padding: 0.9rem 1rem; }

.features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
}
.features li {
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2.2vw, 1.75rem);
  border-bottom: var(--dash);
  display: grid;
  gap: 0.45rem;
  align-content: start;
  cursor: default;
  transition: background 0.25s;
}
.features li:nth-child(odd) { border-right: var(--dash); }
.features li:nth-last-child(-n+2) { border-bottom: 0; }
.features li:hover, .features li.on { background: var(--paper-2); }
.features svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.4rem; }
.features p { font-size: 0.86rem; }

/* Lists (blog) */
.list-head { align-items: end; margin-bottom: 2.5rem; }
.rows { list-style: none; padding: 0; border-top: var(--dash); margin-inline: calc(-1 * clamp(1rem, 2.2vw, 1.75rem)); }
.rows li { border-bottom: var(--dash); }
.rows a {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 11rem;
  gap: 2rem;
  align-items: center;
  padding: 1.4rem clamp(1rem, 2.2vw, 1.75rem);
  text-decoration: none;
  transition: background 0.2s;
}
.rows a:hover { background: var(--paper-2); }
.rows .r-title { font-size: 1.05rem; }
.rows .r-sum { font-size: 0.88rem; color: var(--muted); }
.rows .r-tags { display: block; margin-top: 0.35rem; font-size: 0.7rem; letter-spacing: 0.02em; }
.rows .r-meta { font-size: 0.75rem; color: var(--muted); white-space: nowrap; display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; }
.rows .r-meta::after { content: "→"; color: var(--ink); font-size: 0.95rem; transition: transform 0.2s; }
.rows a:hover .r-meta::after { transform: translateX(3px); }
.row-empty { padding: 1.4rem clamp(1rem, 2.2vw, 1.75rem); }

/* About with tabs */
.cols-about { grid-template-columns: 1.35fr 2fr; }
.cols-about > * { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 2.2vw, 1.75rem); }
.about-side { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 60px; align-self: start; }
.about-head h1 { margin: 0; }
.role { font-size: 0.78rem; color: var(--muted); margin: 0.6rem 0 0; letter-spacing: 0.02em; }
.about-side .label { margin-bottom: 0; }
.portrait { display: block; width: 100%; height: auto; max-width: 100%; }
.portrait.reveal { transition: clip-path 1.8s cubic-bezier(.3,.6,.2,1), opacity 1.2s ease, transform 1.8s cubic-bezier(.2,.7,.2,1); clip-path: inset(0 0 0 0); }
.portrait.reveal.pending { clip-path: inset(0 0 100% 0); opacity: 0.2; transform: translateY(12px); }
.about-main { border-left: var(--dash); display: grid; gap: 1.2rem; align-content: start; }
.bio { display: grid; gap: 1.4rem; border-top: var(--dash); padding-top: 2rem; margin-top: 0.5rem; }
.bio h2 { font-size: 0.72rem; font-weight: 400; color: var(--muted); margin: 0 0 0.4rem; letter-spacing: 0.02em; }
.bio p { margin: 0; max-width: 60ch; }
.contact-line { margin: 0; }
.contact-line a { color: var(--ink); }
.quote { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); font-weight: 300; line-height: 1.25; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: var(--dash); padding-top: 2rem; margin-top: 1.5rem; }
.facts dt { font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; }
.facts dd { font-size: 0.85rem; }
.certs { border-top: var(--dash); padding-top: 2rem; margin-top: 2.5rem; }
.certs ul { list-style: none; margin: 0; padding: 0; }
.certs li { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: var(--dash); font-size: 0.95rem; }
.certs li:last-child { border-bottom: 0; }
.certs .mono { font-size: 0.78rem; color: var(--muted); }
.certs li.old .c-name, .certs li.old .mono:first-child { color: var(--muted); }
.certs .tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 0.05rem 0.35rem; margin-left: 0.4rem; white-space: nowrap; vertical-align: 0.1em; }

.about-teaser { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); padding-block: clamp(2rem, 4vw, 3rem); }
.teaser-portrait { width: 112px; height: 112px; }
.teaser-body .label { margin-bottom: 0.5rem; }
.teaser-text { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.35; max-width: 38ch; margin: 0; }
.about-side .back { color: var(--muted); }
.topbar nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.shelf-side .back { color: var(--muted); }
.cols-shelf { display: grid; grid-template-columns: 1.35fr 2fr; grid-template-rows: auto 1fr; grid-template-areas: "side stage" "list stage"; padding: 0; }
.cols-shelf > * { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 2.2vw, 1.75rem); min-width: 0; }
.shelf-side { grid-area: side; padding-bottom: 0; }
.shelf-list { grid-area: list; padding-top: 1.5rem; }
.shelf-stage { grid-area: stage; }
.shelf-side { display: flex; flex-direction: column; gap: 1.5rem; }
.shelf-side .label { margin-bottom: 0; }
.book-list { list-style: none; margin: 0; padding: 0; border-top: var(--dash); }
.book-list li { border-bottom: var(--dash); }
.book-list button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 1fr; column-gap: 0.8rem; padding: 0.65rem 0.5rem; cursor: pointer; transition: background 0.2s; }
.book-list button:focus-visible { outline: 1px solid var(--ink); outline-offset: -1px; }
.book-list .mono { font-size: 0.72rem; color: var(--muted); padding-top: 0.2rem; grid-row: span 2; }
.book-list .b-title { font-size: 0.95rem; }
.book-list button:has(.mono) { grid-template-columns: 3rem 1fr; }
.book-list .b-author { font-size: 0.78rem; }
.book-list .b-group { border-bottom: 0; padding: 1.4rem 0.5rem 0.4rem; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.book-list .b-group:first-child { padding-top: 0.8rem; }
.book-list .b-note { grid-column: -2 / -1; display: none; font-size: 0.84rem; color: var(--muted); line-height: 1.5; margin-top: 0.4rem; }
.book-list li.on button { background: var(--paper-2); }
/* The stack stays in view while the list scrolls past it. */
.shelf-side, .shelf-list { border-right: var(--dash); }
.shelf-stage { position: sticky; top: 60px; align-self: start; height: calc(100vh - 60px); min-height: 560px; max-height: 820px; }
.book-info { position: absolute; right: clamp(1rem, 2.2vw, 1.75rem); bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 19rem; padding-right: 1rem; border-right: 1px solid var(--ink); text-align: right; pointer-events: none; display: grid; gap: 0.35rem; }
.book-info p { margin: 0; }
.bi-hint { font-size: 0.72rem; color: var(--muted); }
.bi-title { font-size: 1.35rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }
.bi-author { font-size: 0.72rem; color: var(--muted); }
.bi-note { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.cta { align-items: end; }
.cta-side { display: grid; gap: 1.5rem; align-content: end; }

/* Footer */
.footer .wrap { padding: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.footer-cols > * { padding: clamp(2.5rem, 5vw, 4rem) 1.5rem; display: grid; gap: 0.7rem; align-content: start; justify-items: center; text-align: center; font-size: 0.88rem; }
.footer-cols > * + * { border-left: var(--dash); }
.footer-cols h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.footer-cols a { text-decoration: none; color: var(--muted); }
.footer-cols a:hover { color: var(--ink); }
.footer-brand { gap: 0.4rem; }
.big-mark { width: 2.4rem; height: 2.4rem; }
.footer-name { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.03em; }
.mesh-art { height: clamp(220px, 28vw, 380px); margin-top: -3rem; }

/* Reader */
.reader { border-top: 0; min-height: 100vh; }
.reader .back { margin-bottom: 2.5rem; color: var(--muted); }
.post-end { margin-top: 3.5rem; padding-top: 2rem; border-top: var(--dash); }
.post-end .rows { margin-inline: 0; }
.post-end .rows a { grid-template-columns: 1fr; gap: 0.3rem; padding-inline: 0; }
.share { margin-bottom: 2.5rem; }
.share a { color: var(--ink); }
.link-button { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.link-button:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.prose { max-width: 44rem; margin: 0 auto; }
.prose > :first-child { margin-top: 0; }
.prose .post-meta { display: block; font: 0.75rem var(--font-mono); color: var(--muted); margin-bottom: 1rem; }
.prose h1 { font-size: var(--h-big); line-height: 1.08; margin-bottom: 2rem; }
.prose h2 { font-size: 1.6rem; font-weight: 400; margin: 2.5rem 0 0.8rem; }
.prose h3 { margin: 2rem 0 0.5rem; font-weight: 500; }
.prose p, .prose ul, .prose ol, .prose pre, .prose blockquote { margin: 0 0 1.1rem; }
.prose p, .prose li { max-width: 65ch; line-height: 1.7; }
.prose strong { font-weight: 500; }
.prose a { text-underline-offset: 3px; }
.prose code { font: 0.86em var(--font-mono); background: var(--paper-2); padding: 0.1em 0.35em; }
.prose pre { border: 1px solid var(--line); padding: 1rem 1.2rem; overflow-x: auto; font-size: 0.85rem; background: var(--paper); }
.prose pre code { background: none; padding: 0; }
.prose blockquote { border-left: 1px solid var(--ink); padding-left: 1.2rem; color: var(--muted); }
.prose img { max-width: 100%; }

/* Scroll reveals. Only elements below the fold at load get .pending (set by JS). */
.reveal.pending { opacity: 0; transform: translateY(24px); }
.reveal { transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal-lines span { transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1), clip-path 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal-lines.pending span { opacity: 0; transform: translateY(0.6em); clip-path: inset(0 0 100% 0); }
.reveal-lines span:nth-child(2) { transition-delay: 0.12s; }
.reveal-lines span:nth-child(3) { transition-delay: 0.24s; }
.intro .hero-title span { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.intro .hero-title span:nth-child(2) { animation-delay: 0.15s; }
.intro .topbar { animation: fade 1.2s 0.4s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(0.5em); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .reveal.pending, .reveal-lines.pending span { opacity: 1; transform: none; clip-path: none; }
  .portrait.reveal.pending { opacity: 1; transform: none; clip-path: none; }
  .intro .hero-title span, .intro .topbar { animation: none; }
}

@media (max-width: 900px) {
  /* only the links to own pages stay in the bar on small screens */
  .topbar nav { gap: 1.1rem; }
  .topbar nav a { white-space: nowrap; }
  .topbar nav a:not(.nav-page) { display: none; }
  .cols-problem, .cols-steps, .cols-about, .split-even { grid-template-columns: 1fr; }
  .cols-problem > p, .steps, .about-main, .split-even > * + * { border-left: 0; border-top: var(--dash); }
  .steps { grid-template-columns: 1fr; gap: 3rem; }
  .step-art { height: 220px; }
  .features { grid-template-columns: 1fr; }
  .features li:nth-child(odd) { border-right: 0; }
  .features li:nth-last-child(2) { border-bottom: var(--dash); }
  .rows a { grid-template-columns: 1fr; gap: 0.4rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; border-bottom: var(--dash); }
  .footer-cols > :nth-child(2) { border-left: 0; }
  .about-side { position: static; }
  /* the building blocks as a compact list: icon beside the name */
  .features li { grid-template-columns: 22px 1fr; column-gap: 0.8rem; row-gap: 0.15rem; padding: 1rem clamp(1rem, 2.2vw, 1.75rem); }
  .features svg { grid-row: span 2; margin: 0.15rem 0 0; }
  .features h3 { font-size: 0.95rem; margin: 0; }
  .features p { font-size: 0.82rem; margin: 0; }
  /* on phones the chosen book's note opens right under it in the list */
  .book-list li.picked .b-note { display: block; }
  .portrait { max-width: 360px; align-self: center; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .about-teaser { grid-template-columns: auto 1fr; }
  .about-teaser .link-arrow { grid-column: 2; }
  .teaser-portrait { width: 84px; height: 84px; grid-row: span 2; align-self: start; }
  .cols-shelf { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "side" "list" "stage"; }
  .shelf-list { padding-top: 0; }
  .shelf-side { padding-bottom: 1.5rem; }
  .shelf-side, .shelf-list { border-right: 0; }
  .shelf-stage { position: relative; top: auto; height: auto; min-height: 520px; max-height: none; }
  .book-info { left: clamp(1rem, 2.2vw, 1.75rem); max-width: none; }
  .certs li { grid-template-columns: 4.6rem 1fr auto; gap: 0.7rem; font-size: 0.88rem; }
}

@media (max-width: 520px) {
  /* narrow phones: the mark stands in for the name so the menu and the contact button fit */
  .topbar-inner { gap: 0.9rem; }
  .brand span { display: none; }
  .topbar nav { gap: 0.85rem; }
  .topbar nav a { font-size: 0.8rem; }
  .topbar .btn.small { padding-inline: 0.75rem; }
}
