/* claudecommunity.nl
 *
 * Warm paper, clay orange and a touch of Delft blue. Body text is set in a
 * sans-serif for comfortable reading. The character of the site comes from
 * typed and stitched art: titles and pictures cross-stitched out of x's like
 * a Dutch embroidery sampler, a skyline typed in plain ASCII, small
 * monospaced labels, double-line borders and hard offset shadows.
 *
 * Reference points, checked against anthropic.com and claude.com:
 *   borrowed   an off-white page with near-black ink (theirs: #faf9f5 on
 *              #141413) and its dark mirror image; serif headings at a
 *              medium weight with slightly tight tracking; 17px sans-serif
 *              body text; muted grey for secondary text; clay as the accent.
 *   our own    a yellower paper tone, Fraunces and Instrument Sans instead of
 *              the Anthropic typefaces, Delft blue as a second accent, square
 *              corners with double borders and hard shadows instead of soft
 *              pills, cross-stitched titles and tulips, and no logo, mascot or
 *              other artwork of Claude or Anthropic.
 */

/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */

:root {
  color-scheme: light dark;

  --bg: #f5f0e6;
  --surface: #fcf9f3;
  --tint: #ece5d6;
  --ink: #1c1a17;
  --ink-soft: #57524a;
  --line: #d6ccb8;
  --clay: #d97757;
  --clay-text: #a4452a;
  --delft: #1f3f93;
  --delft-tint: #dde3f4;
  --on-clay: #1c1a17;
  --shadow: #1c1a17;
  --stem: #4d7c4a;
  --tulip: #c8334a;
  --thread: #b3492b;

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 4px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --surface: #201e1b;
    --tint: #1e1c19;
    --ink: #efe9dd;
    --ink-soft: #aba395;
    --line: #3b372f;
    --clay: #e08663;
    --clay-text: #f0a383;
    --delft: #a9bcf5;
    --delft-tint: #252d49;
    --on-clay: #171614;
    --shadow: #8c4a32;
    --stem: #7fae7b;
    --tulip: #e4576d;
    --thread: #e58a69;
  }
}

/* ----------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--clay-text);
}

:focus-visible {
  outline: 2px solid var(--delft);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--clay);
  color: var(--on-clay);
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--bg);
}

.muted {
  color: var(--ink-soft);
}

.lead {
  max-width: 38rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* --------------------------------------------------------------- stitches */

/* Lettering and pictures are cross-stitched: App\Ascii\Stitch draws every
   cell as an "x". The colours are set here, per thread. */

.stitched {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.stitch--ink {
  stroke: var(--ink);
}

.stitch--thread {
  stroke: var(--thread);
}

.stitch--blue {
  stroke: var(--delft);
}

.stitch--bloom {
  stroke: var(--tulip);
}

.stitch--leaf {
  stroke: var(--stem);
}

/* The windmill has its sails in two positions; one shows at a time. */
.sails--b {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .sails--a {
    animation: sails 2.4s steps(1) infinite;
  }

  .sails--b {
    animation: sails 2.4s steps(1) -1.2s infinite;
  }
}

@keyframes sails {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* --------------------------------------------------------------- header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  width: 1.55rem;
  stroke-width: 3.4;
}

.brand__tld {
  color: var(--clay-text);
}

.site-nav {
  display: flex;
  /* Room for the brackets around the current page. */
  padding-inline: 0.75em;
  gap: clamp(0.9rem, 3vw, 1.75rem);
  font-family: var(--mono);
  font-size: 0.875rem;
}

.site-nav a {
  position: relative;
  padding-block: 0.3rem;
  text-decoration: none;
}

.site-nav a[aria-current] {
  color: var(--clay-text);
}

/* The current page is wrapped in brackets, like a selected option in a terminal. */
.site-nav a[aria-current]::before,
.site-nav a[aria-current]::after {
  position: absolute;
  color: var(--clay);
}

.site-nav a[aria-current]::before {
  content: "[";
  left: -0.75em;
}

.site-nav a[aria-current]::after {
  content: "]";
  right: -0.75em;
}

/* -------------------------------------------------------------- buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.62rem 1.05rem;
  border: 1.5px solid var(--shadow);
  border-radius: var(--radius);
  background: var(--clay);
  box-shadow: 3px 3px 0 var(--shadow);
  color: var(--on-clay);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.button:hover {
  color: var(--on-clay);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--shadow);
}

.button:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--shadow);
}

.button--quiet {
  border-color: var(--ink);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-weight: 400;
}

.button--quiet:hover {
  background: var(--ink);
  box-shadow: none;
  color: var(--bg);
  transform: none;
}

/* ----------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem);
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 11px 11px;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 23rem;
    gap: 4rem;
    align-items: center;
  }
}

.hello {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  margin-bottom: 1.75rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--clay);
  border-radius: 6px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.hello__mark {
  color: var(--thread);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 1.6rem + 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__title em {
  color: var(--thread);
  font-style: italic;
}

.hero .lead {
  margin-bottom: 2rem;
}

.hero .lead,
.hero .hello,
.hero__title {
  /* Keep text readable on top of the dotted background. */
  box-shadow: 0 0 0 6px var(--bg);
  background: var(--bg);
}

/* The sampler: a piece of embroidery in a frame. */
.hero__sampler {
  justify-self: center;
  width: 100%;
  max-width: 23rem;
  padding: clamp(0.9rem, 3vw, 1.4rem);
  border: 3px double var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 3px double var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
}

@media (min-width: 44rem) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stats__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.15rem;
  padding: 1rem 1.25rem;
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

@media (max-width: 43.99rem) {
  .stats__item:nth-child(2n) {
    border-right: 0;
  }

  .stats__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (min-width: 44rem) {
  .stats__item {
    border-bottom: 0;
  }

  .stats__item:last-child {
    border-right: 0;
  }
}

.stats dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.stats dd {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
}

/* ------------------------------------------------------------- sections */

.section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section--tight {
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.section--tinted {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.section--last {
  padding-top: 0;
}

.section--tinted + .section--last {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section-head h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.5rem;
  color: var(--clay-text);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.kicker::before {
  content: "──";
  color: var(--clay);
  letter-spacing: -0.1em;
}

.more {
  font-family: var(--mono);
  font-size: 0.875rem;
  white-space: nowrap;
}

/* ---------------------------------------------- shared bits: meta, tags */

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.meta__sep {
  color: var(--clay);
}

.badge {
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  background: var(--delft);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge--quiet {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-weight: 400;
}

.tag {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 3px;
  background: var(--delft-tint);
  color: var(--delft);
  font-family: var(--mono);
  font-size: 0.75rem;
}

/* A picture with small corner marks, like crop marks around a screenshot. */
.frame {
  position: relative;
  display: block;
}

.frame > img,
.frame > svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--tint);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border: 0 solid var(--clay);
  pointer-events: none;
}

.frame::before {
  top: -5px;
  left: -5px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.frame::after {
  right: -5px;
  bottom: -5px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

.facts {
  display: grid;
  gap: 0.3rem;
}

.facts > div {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.facts dt {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.facts--stacked {
  gap: 0;
}

.facts--stacked > div {
  grid-template-columns: 6.5rem minmax(0, 1fr);
  padding-block: 0.65rem;
  border-bottom: 1px dashed var(--line);
}

.facts--stacked > div:last-child {
  border-bottom: 0;
}

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.9375rem;
}

.people__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3.75rem;
  aspect-ratio: 1;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--clay);
  box-shadow: 3px 3px 0 var(--shadow);
  color: var(--on-clay);
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.avatar--small {
  width: 1.6rem;
  border-width: 1px;
  border-radius: 3px;
  box-shadow: none;
  font-size: 0.625rem;
}

.avatar--large {
  width: clamp(4.5rem, 12vw, 6.5rem);
  box-shadow: 5px 5px 0 var(--shadow);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

/* Alternate avatar colours so a row of them does not look uniform. */
:is(.ambassador-grid, .people) > :nth-child(3n + 2) .avatar {
  background: var(--delft);
  color: var(--bg);
}

:is(.ambassador-grid, .people) > :nth-child(3n + 3) .avatar {
  background: var(--surface);
  color: var(--ink);
}

/* ------------------------------------------------------ upcoming meetups */

.feature-list {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.feature {
  display: grid;
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 3px double var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
}

@media (min-width: 52rem) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }
}

.feature__body {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.feature__title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
}

.feature__title a,
.meetup-card__title a,
.ambassador-card__name a {
  text-decoration: none;
}

.feature__title a:hover,
.meetup-card__title a:hover,
.ambassador-card__name a:hover {
  text-decoration: underline;
  text-decoration-color: var(--clay);
}

.feature__summary {
  color: var(--ink-soft);
  text-wrap: pretty;
}

.feature .actions {
  margin-top: 0.4rem;
}

/* ---------------------------------------------------------- meetup cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
}

.meetup-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.1rem;
}

.meetup-card__body {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.meetup-card__title {
  font-size: 1.3125rem;
}

.meetup-card__summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.meetup-card .people {
  margin-top: 0.25rem;
}

.meetup-card__media > img,
.meetup-card__media > svg {
  transition: transform 0.15s ease;
}

.meetup-card:hover .meetup-card__media > :is(img, svg),
.feature:hover .feature__media > :is(img, svg) {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--shadow);
}

.year {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.section-head + .year {
  margin-top: 0;
}

/* A rule that runs from the year to the count, like ── 2026 ──────── 9 meetups */
.year::before,
.year > span:first-child::after {
  content: "";
  height: 0;
  border-top: 1px solid var(--ink);
}

.year::before {
  width: 1.5rem;
}

.year > span:first-child {
  display: contents;
}

.year > span:first-child::after {
  flex: 1;
}

.year__count {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 400;
}

/* ------------------------------------------------------------ ambassadors */

.ambassador-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 1.25rem;
}

.ambassador-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ambassador-card__body {
  display: grid;
  gap: 0.4rem;
  justify-items: start;
}

.ambassador-card__name {
  font-size: 1.3125rem;
}

.ambassador-card__link {
  grid-column: 1 / -1;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.summary-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------- callout */

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
}

.callout > div {
  flex: 1 1 24rem;
  max-width: 40rem;
}

.callout__title {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.callout p {
  opacity: 0.85;
}

.callout .button {
  border-color: var(--bg);
  box-shadow: 3px 3px 0 var(--bg);
}

.callout :focus-visible {
  outline-color: var(--bg);
}

.callout .button:hover {
  box-shadow: 2px 2px 0 var(--bg);
}

.empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed var(--ink-soft);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

.empty p {
  flex: 1 1 18rem;
  max-width: 36rem;
}

.empty strong {
  color: var(--ink);
}

.empty__motif {
  flex: none;
  width: 3rem;
}

/* ------------------------------------------------------------- page head */

.page-head {
  padding-block: clamp(2.25rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
}

.page-head__title {
  margin-bottom: 1.5rem;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.25rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.filter__label {
  margin-right: 0.35rem;
  color: var(--ink-soft);
}

.filter__label::after {
  content: ":";
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
}

.chip:hover {
  border-color: var(--ink);
  color: inherit;
}

.chip[aria-current] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.chip__count {
  opacity: 0.75;
  font-size: 0.75rem;
}

/* ----------------------------------------------------------- detail pages */

.detail {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}

.crumbs {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.detail__head {
  display: grid;
  gap: 0.8rem;
  max-width: 50rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.detail__title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  line-height: 1.08;
}

.detail__subtitle {
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.detail__subtitle--next {
  margin-top: 3rem;
}

.detail__grid {
  display: grid;
  gap: 2.5rem clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 56rem) {
  .detail__grid {
    grid-template-columns: minmax(0, 1fr) 21rem;
  }
}

.detail__main {
  min-width: 0;
}

.detail__media {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.detail__summary {
  max-width: 40rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.panel {
  padding: 0 1.25rem 1.25rem;
  border: 3px double var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
}

/* The title sits on the top border, like a labelled box in a terminal UI. */
.panel__title {
  display: table;
  margin: -0.72em 0 0.3rem -0.5rem;
  padding-inline: 0.5rem;
  background: var(--surface);
  color: var(--clay-text);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.panel__actions {
  margin-top: 1.1rem;
}

.panel__actions .button {
  width: 100%;
  justify-content: center;
}

.panel__note {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.panel .people {
  flex-direction: column;
}

.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pager__link {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  text-decoration: none;
}

.pager__link--next {
  grid-column: 2;
  text-align: right;
}

.pager__label,
.pager__meta {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.pager__title {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.25;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem clamp(1.25rem, 4vw, 2rem);
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.profile > div {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}

/* -------------------------------------------------------------- timeline */

.timeline {
  display: grid;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0 1.75rem;
  padding-bottom: 1.5rem;
}

/* The rail: a vertical line with a square marker for every meetup. */
.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  bottom: -0.55rem;
  left: calc(6.25rem + 0.875rem);
  border-left: 1px solid var(--line);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__item::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: calc(6.25rem + 0.875rem - 4px);
  width: 9px;
  height: 9px;
  background: var(--ink);
}

.timeline__item.is-upcoming::after {
  background: var(--bg);
  outline: 2px solid var(--clay);
  outline-offset: -2px;
}

.timeline__date {
  padding-top: 0.15rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-align: right;
  white-space: nowrap;
}

.timeline__body {
  display: grid;
  gap: 0.1rem;
}

.timeline__title {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.timeline__title:hover {
  text-decoration: underline;
}

.timeline__place {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------ about page */

.about {
  display: grid;
  gap: 3rem clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

@media (min-width: 56rem) {
  .about {
    grid-template-columns: minmax(0, 1fr) 19rem;
  }
}

.about__aside {
  display: grid;
  gap: 2rem;
  padding-top: 0.75rem;
}

.about__motif {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
  border-bottom: 2px dashed var(--ink);
}

.about__motif .motif--tulip {
  width: 2.6rem;
}

.about__motif .motif--mill {
  width: 5.5rem;
}

.prose {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  max-width: 41rem;
}

.prose section {
  display: grid;
  gap: 1rem;
}

.prose h2 {
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
  scroll-margin-top: 1.5rem;
}

.prose p,
.prose li,
.prose dd {
  text-wrap: pretty;
}

.prose ul {
  display: grid;
  gap: 0.45rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.6rem;
}

.prose ul li::before {
  content: "x";
  position: absolute;
  left: 0.15rem;
  color: var(--thread);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 0.875em;
}

.steps {
  display: grid;
  border-top: 1px dashed var(--line);
  counter-reset: step;
}

.steps > div {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.2rem 0.75rem;
  padding-block: 1rem;
  border-bottom: 1px dashed var(--line);
  counter-increment: step;
}

.steps > div::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 0.2rem;
  color: var(--clay-text);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.steps dt {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 500;
}

.steps dd {
  grid-column: 2;
  color: var(--ink-soft);
}

.tally {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.6rem;
}

.tally li {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9375rem;
}

.tally__bar {
  overflow: hidden;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.tally__count {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------ error page */

.error-page {
  padding-block: clamp(3rem, 9vw, 6rem);
}

.error-page .wrap {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.error-page__art {
  display: flex;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.error-page__banner {
  width: clamp(9rem, 36vw, 13rem);
}

.error-page__bike {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.15;
}

.error-page .actions {
  margin-top: 0.75rem;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  margin-top: clamp(1rem, 4vw, 2rem);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.skyline {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.skyline__art {
  flex: none;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.2;
  user-select: none;
}

.site-footer__body {
  padding-block: clamp(2rem, 5vw, 3rem) 1.5rem;
  background: var(--tint);
}

.site-footer__grid {
  display: grid;
  gap: 1.75rem 3rem;
}

@media (min-width: 52rem) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 5fr);
  }
}

.site-footer__name {
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 700;
}

.site-footer__nav {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  justify-items: start;
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.site-footer__note {
  font-size: 0.875rem;
}

.site-footer__colophon {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.site-footer__colophon span[aria-hidden] {
  color: var(--thread);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---------------------------------------------------------------- posters */

.poster-defs {
  position: absolute;
}

.poster {
  --p-bg: #ece5d6;
  --p-thread: #b3492b;
  --p-text: #1c1a17;
  --p-bloom: #c8334a;
  --p-leaf: #4d7c4a;
}

.poster--delft {
  --p-bg: #1f3f93;
  --p-thread: #f5f0e6;
  --p-text: #f5f0e6;
  --p-bloom: #f5a98d;
  --p-leaf: #a9c7a4;
}

.poster--ink {
  --p-bg: #1c1a17;
  --p-thread: #e58a69;
  --p-text: #f5f0e6;
  --p-bloom: #e4576d;
  --p-leaf: #7fae7b;
}

.poster__bg {
  fill: var(--p-bg);
}

.poster__dot--paper {
  fill: #d5cab3;
}

.poster__dot--delft {
  fill: #3a5ab0;
}

.poster__dot--ink {
  fill: #3a362f;
}

.poster .stitch {
  stroke-width: 3;
}

.poster .stitch--thread {
  stroke: var(--p-thread);
}

.poster .stitch--bloom {
  stroke: var(--p-bloom);
}

.poster .stitch--leaf {
  stroke: var(--p-leaf);
}

.poster__label,
.poster__date {
  fill: var(--p-text);
  font-family: var(--mono);
}

.poster__label {
  font-size: 19px;
  letter-spacing: 0.14em;
}

.poster__date {
  font-size: 34px;
  font-weight: 700;
}

.poster__ground {
  stroke: var(--p-text);
}

/* ------------------------------------------------------------------ print */

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .filter,
  .pager {
    display: none;
  }
}
