@charset "UTF-8";
/* Editorial theme: paper, ink, one vermilion accent. Mobile first. Generated pages: see build/build.py */
/* This file is compiled from assets/scss/ by `make css` (Sass and mithril-scss): edit the SCSS, not this file */
*,
*::before,
*::after {
  box-sizing: border-box;
}

*:focus:not(:focus-visible) {
  outline: none;
}

html {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.375;
  text-size-adjust: 100%;
}

html,
body {
  min-height: 100dvh;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  border: none;
}

svg:not(:root) {
  overflow: hidden;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

a {
  background-color: transparent;
  cursor: pointer;
}

a:active,
a:hover {
  outline: 0;
}

pre {
  overflow: auto;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
  line-height: normal;
  color: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
details,
input[type=button],
input[type=checkbox],
input[type=file],
input[type=image],
input[type=radio],
input[type=range],
input[type=reset],
input[type=submit],
label,
select {
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

fieldset {
  margin: 0 2px;
  padding: 6px 12px 10px;
  border: 1px solid #c0c0c0;
}

legend {
  display: table;
  box-sizing: border-box;
  max-width: 100%;
  padding: 0;
  border: 0;
  white-space: normal;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

[hidden],
template {
  display: none;
}

/* Editorial theme: paper, ink, one vermilion accent. Mobile first. Generated pages: see build/build.py */
/* Fonts are hosted here (see assets/fonts/README.md): no request to a third party */
@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-normal-2.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  font-style: italic;
}
@font-face {
  font-family: Roboto;
  src: url("/assets/fonts/roboto-400.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Roboto;
  src: url("/assets/fonts/roboto-500.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: Roboto;
  src: url("/assets/fonts/roboto-700.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 800;
  font-style: normal;
}
:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --ink: #16130f;
  --muted: #5f574b;
  --acc: #b8371c;
  --acc-soft: #d9482b;
  --line: #cfc6b4;
  --on-acc: #fff;
  --band: #16130f;
  --band-ink: #f4efe6;
  --band-muted: #bdb4a3;
  --serif: fraunces, 'Iowan Old Style', georgia, serif;
  --sans: roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, menlo, consolas, monospace;
  --gutter: 1rem;
  color-scheme: light;
}
:root[data-theme=dark] {
  --paper: #14110e;
  --paper-2: #1e1a15;
  --ink: #f1ebe0;
  --muted: #b3a998;
  --acc: #ff8a65;
  --acc-soft: #ff7a55;
  --line: #3a342b;
  --on-acc: #14110e;
  --band: #0c0a08;
  --band-ink: #f1ebe0;
  --band-muted: #b3a998;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme=auto] {
    --paper: #14110e;
    --paper-2: #1e1a15;
    --ink: #f1ebe0;
    --muted: #b3a998;
    --acc: #ff8a65;
    --acc-soft: #ff7a55;
    --line: #3a342b;
    --on-acc: #14110e;
    --band: #0c0a08;
    --band-ink: #f1ebe0;
    --band-muted: #b3a998;
    color-scheme: dark;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem;
}

body {
  /* room for the floating menu button on mobile */
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: inherit;
  overflow-wrap: break-word;
  color: var(--ink);
  background: var(--paper);
}

img {
  height: auto;
}

a {
  text-decoration-color: var(--acc);
  text-underline-offset: 0.1875rem;
  color: inherit;
}
a:hover {
  color: var(--acc);
}

:focus-visible {
  border-radius: 0.125rem 0.125rem 0.125rem 0.125rem;
  outline: 0.1875rem solid var(--acc);
  outline-offset: 0.1875rem;
}

p {
  margin: 0 0 0.75rem;
}

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

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

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

.skip {
  position: absolute;
  top: 0.5rem;
  left: -62.4375rem;
  z-index: 100;
  padding: 0.5rem 0.875rem;
  color: var(--paper);
  background: var(--ink);
}
.skip:focus {
  left: 0.5rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 0.09375rem solid var(--ink);
  background: var(--paper);
}
.site-header-in {
  display: grid;
  justify-content: space-between;
  align-items: center;
  grid-auto-flow: column;
  gap: 0.75rem;
  min-height: 4rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: inherit;
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}

/* mobile: the button floats at the bottom right (thumb zone), the menu rises above it */
.nav-toggle {
  position: fixed;
  right: var(--gutter);
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-grid;
  place-content: center;
  place-items: center;
  gap: 0.3125rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0.09375rem solid var(--ink);
  border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 0.125rem;
  background: var(--ink);
}

/* a popover (top layer, closed by default): a sheet above the button */
.site-nav {
  position: fixed;
  inset: auto var(--gutter) calc(4.5rem + env(safe-area-inset-bottom));
  width: auto;
  max-height: calc(100dvh - 6rem);
  margin: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  border: 0.09375rem solid var(--ink);
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  color: inherit;
  background: var(--paper);
  overflow: auto;
  /* the page under the menu is darkened */
}
.site-nav::backdrop {
  background: rgba(22, 19, 15, 0.55);
}
.site-nav ul {
  display: grid;
  margin-bottom: 1rem;
}
.site-nav li a {
  display: block;
  padding: 0.8125rem 0;
  border-bottom: 0.0625rem solid var(--line);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: inherit;
  text-decoration: none;
}
.site-nav-tools {
  display: grid;
  justify-content: start;
  align-items: center;
  grid-auto-flow: column;
  gap: 0.75rem;
}

/* the page does not scroll while the menu is open */
html:has(.site-nav:popover-open) {
  overflow: hidden;
}

.lang {
  display: inline-grid;
  grid-auto-flow: column;
  border: 0.09375rem solid var(--ink);
  border-radius: 624.9375rem 624.9375rem 624.9375rem 624.9375rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: inherit;
  overflow: hidden;
}
.lang-item {
  min-width: 2.75rem;
  padding: 0.6875rem 1rem;
  text-align: center;
  text-decoration: none;
}
.lang-item-on {
  color: var(--paper);
  background: var(--ink);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0.09375rem solid var(--ink);
  border-radius: 50% 50% 50% 50%;
  color: var(--ink);
  background: none;
  cursor: pointer;
}
.theme-toggle-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  border: 0.125rem solid currentcolor;
  border-radius: 50% 50% 50% 50%;
  background: linear-gradient(90deg, currentcolor 50%, transparent 50%);
}

/* ---------- common blocks ---------- */
.kicker {
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
}

.btn {
  display: inline-grid;
  place-content: center;
  place-items: center;
  grid-auto-flow: column;
  min-height: 3rem;
  padding: 0 1.5rem;
  border: 0.09375rem solid var(--ink);
  text-decoration: none;
  border-radius: 624.9375rem 624.9375rem 624.9375rem 624.9375rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: inherit;
}
.btn-solid {
  color: var(--paper);
  background: var(--ink);
}
.btn-solid:hover {
  border-color: var(--acc);
  color: var(--on-acc);
  background: var(--acc);
}
.btn-ghost {
  background: none;
}
.btn-ghost:hover {
  border-color: var(--acc);
}
.btn-accent {
  border-color: #ff8a65;
  color: #14110e;
  background: #ff8a65;
}
.btn-accent:hover {
  color: #14110e;
  filter: brightness(1.08);
}
.btn-ghost-light {
  border-color: var(--band-muted);
  color: var(--band-ink);
}
.btn-ghost-light:hover {
  border-color: var(--band-ink);
  color: var(--band-ink);
}

.section {
  padding-block: 3.5rem;
}
.section-tint {
  background: var(--paper-2);
}
.section-t {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
}
.section-t em {
  font-weight: 400;
  color: var(--muted);
}

.section-t,
.dossier-h1,
.contact-title,
.quote-q p {
  text-wrap: balance;
}

/* ---------- hero ---------- */
.hero {
  padding-block: 2.5rem 3rem;
}
.hero-in {
  display: grid;
  gap: 2rem;
}
.hero-h1 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  text-wrap: balance;
}
.hero-bar {
  width: min(33.75rem, 70%);
  height: 0.625rem;
  margin-bottom: 1.5rem;
  background: var(--acc-soft);
}
.hero-lead {
  max-width: 40em;
  margin-bottom: 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-card {
  align-self: start;
  padding: 1.5rem;
  border-radius: 0.25rem 0.25rem 0.25rem 0.25rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: inherit;
  background: var(--paper-2);
}
.hero-card p {
  margin-bottom: 0.5rem;
}
.hero-photo {
  display: block;
  width: 8rem;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  border: 0.1875rem solid var(--ink);
  border-radius: 50% 50% 50% 50%;
  overflow: hidden;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: inherit;
}

/* ---------- metrics ---------- */
.metrics {
  border-block: 0.09375rem solid var(--ink);
}
.metrics-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.metric {
  padding: 1.5rem 1rem 1.5rem 0;
  border-bottom: 0.0625rem solid var(--line);
}
.metric:nth-child(odd) {
  border-right: 0.0625rem solid var(--line);
}
.metric:nth-child(even) {
  padding-left: 1rem;
}
.metric:nth-last-child(-n+2) {
  border-bottom: 0;
}
.metric-v {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 8vw, 2.9rem);
  white-space: nowrap;
}
.metric-v small {
  padding-left: 0.12em;
  font-size: 0.42em;
  letter-spacing: 0;
}
.metric-l {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.metric-d {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: inherit;
  color: var(--muted);
}

/* ---------- ledger (parcours) ---------- */
.fold {
  margin: 0 0 1rem;
  text-align: right;
}
.fold-btn {
  display: inline-grid;
  align-items: center;
  grid-auto-flow: column;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 0.09375rem solid var(--ink);
  border-radius: 624.9375rem 624.9375rem 624.9375rem 624.9375rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: inherit;
  color: var(--ink);
  background: none;
  cursor: pointer;
}
.fold-btn:hover {
  border-color: var(--acc);
  color: var(--acc);
}
.fold-sym::before {
  content: "+";
  font-weight: 700;
  color: var(--acc);
}
.fold-btn[aria-expanded=true] .fold-sym::before {
  content: "−";
}

.ledger:has(+ .fold-bottom) {
  margin-bottom: 1rem;
}

.fold-bottom {
  margin: 0;
}

.ledger {
  border-top: 0.09375rem solid var(--ink);
}

.row {
  border-bottom: 0.0625rem solid var(--line);
}
.row-main {
  display: grid;
  align-items: baseline;
  grid-template-columns: 3.25rem 1fr 2rem;
  grid-template-areas: "y co s" ". d d";
  gap: 0.125rem 0.5rem;
  padding: 1rem 0;
  list-style: none;
  color: inherit;
  cursor: pointer;
}
.row-main::-webkit-details-marker {
  display: none;
}
.row-year {
  grid-area: y;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: inherit;
  white-space: nowrap;
  color: var(--acc);
}
.row-co {
  display: grid;
  justify-content: start;
  align-items: center;
  grid-auto-flow: column;
  grid-area: co;
  gap: 0.625rem;
  min-width: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: inherit;
}
.row-co > span {
  display: grid;
  gap: 0.25rem;
}
.row-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
}
.row-desc {
  grid-area: d;
  font-size: 0.95rem;
  color: var(--muted);
}
.row-static {
  grid-template-columns: 6.25rem 1fr;
  grid-template-areas: "y co" ". d";
  cursor: default;
}
.row-static:hover .row-co {
  color: inherit;
}

.logo.logo-none {
  border-color: transparent;
  background: none;
}

.edu-list {
  margin-bottom: 1.25rem;
}

.edu-lang {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: inherit;
  color: var(--muted);
}
.edu-lang strong {
  padding-right: 0.5em;
  font-weight: 600;
  color: var(--ink);
}

.row-sym {
  grid-area: s;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: inherit;
  text-align: right;
  color: var(--acc);
}
.row-sym::before {
  content: "+";
}

details[open] > .row-main .row-sym::before {
  content: "−";
}

.row-main:hover .row-co {
  color: var(--acc);
}

.row details[open] {
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  background: var(--paper-2);
}

.row-body {
  padding: 0.25rem 0 1.375rem 3.75rem;
}

.row-role {
  margin: 0 0 0.25rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: inherit;
}

.row-about {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.points {
  display: grid;
  gap: 0.875rem;
  margin: 0 0 1rem;
}

.point-t {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: inherit;
}

.point-d {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.row-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: inherit;
  color: var(--muted);
}
.row-meta:not(:last-child) {
  margin-bottom: 1.25rem;
}

.row-go {
  margin: 0;
}

.btn-sm {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.9rem;
}

/* ---------- logos ---------- */
.logo {
  display: block;
  aspect-ratio: 1;
  border: 0.0625rem solid var(--line);
  border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
  background: #fff;
  overflow: hidden;
}
.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-sm {
  width: 2rem;
}
.logo-lg {
  width: 4rem;
  border-width: 0.09375rem;
  border-color: var(--ink);
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
}

.dossier-title {
  display: grid;
  justify-content: start;
  align-items: center;
  grid-auto-flow: column;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.dossier-title .dossier-h1 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.dossier-alias {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: inherit;
  overflow-wrap: anywhere;
  color: var(--muted);
}

/* ---------- project and technology logos ---------- */
.logo-md {
  width: 2.75rem;
  border-radius: 0.625rem 0.625rem 0.625rem 0.625rem;
}

.logo-xl {
  width: 4.5rem;
  border-radius: 0.875rem 0.875rem 0.875rem 0.875rem;
}

.card-head {
  display: grid;
  justify-content: start;
  align-items: center;
  grid-auto-flow: column;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.card-head .card-t {
  margin: 0;
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  padding: 1.375rem;
  border: 0.09375rem solid var(--ink);
  border-radius: 0.25rem 0.25rem 0.25rem 0.25rem;
  background: var(--paper);
}
.card-tag {
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
}
.card-t {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: inherit;
}
.card-d {
  margin-bottom: 1.65rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.card-items {
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  list-style: none;
}
.card-items li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  border-top: 0.0625rem solid var(--line);
}
.card-items li::before {
  content: "";
  position: absolute;
  top: 0.95em;
  left: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50% 50% 50% 50%;
  background: var(--acc);
}
.card-meta {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: inherit;
}

.pkg-wrap {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.pkg-h {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
}

/* ---------- packages as a list ---------- */
.pkgl {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pkgl-item {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo name meta" ". body body";
  gap: 1rem 1.5rem;
  padding: 1.375rem 0;
  border-bottom: 0.0625rem solid var(--line);
}
.pkgl-logo {
  grid-area: logo;
  width: 3.5rem;
  aspect-ratio: 1;
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  background: var(--paper-2);
  overflow: hidden;
}
.pkgl-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pkgl-body {
  display: grid;
  align-self: start;
  grid-area: body;
  gap: 0.5rem;
  min-width: 0;
}
.pkgl-name {
  grid-area: name;
  margin: 0;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: inherit;
  overflow-wrap: anywhere;
}
.pkgl-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}
.pkgl-links {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: inherit;
}
.pkgl-links a {
  white-space: nowrap;
}
.pkgl-links a + a {
  margin-left: 1.25rem;
}
.pkgl-meta {
  display: grid;
  justify-items: end;
  grid-area: meta;
  gap: 0.375rem;
  min-width: 8.25rem;
}
.pkgl-ver {
  padding: 0.1875rem 0.75rem;
  border: 0.09375rem solid var(--ink);
  border-radius: 624.9375rem 624.9375rem 624.9375rem 624.9375rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: inherit;
}
.pkgl-date {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: inherit;
  color: var(--muted);
}

/* ---------- stack ---------- */
.stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.stack-col {
  padding-top: 0.875rem;
  border-top: 0.09375rem solid var(--ink);
}
.stack-col h3 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: inherit;
}

/* ---------- testimonial / contact / footer ---------- */
.quote {
  padding-block: 4rem;
}
.quote-fig {
  max-width: 52em;
  margin: 0;
}
.quote-q {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  border-left: 0.25rem solid var(--acc-soft);
}
.quote-q p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
}
.quote-by {
  display: grid;
  justify-content: start;
  align-items: center;
  grid-auto-flow: column;
  gap: 0.875rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.quote-src {
  font-size: 0.8rem;
  color: var(--muted);
}
.quote-photo {
  width: 4rem;
  aspect-ratio: 1;
  border: 0.125rem solid var(--ink);
  border-radius: 50% 50% 50% 50%;
  overflow: hidden;
}
.quote-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  padding-block: 4rem;
  color: var(--band-ink);
  background: var(--band);
}
.contact-title {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
}
.contact-lead {
  max-width: 48em;
  margin-bottom: 1.5rem;
  color: var(--band-muted);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.contact-more {
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: inherit;
  color: var(--band-muted);
}
.contact-links {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: inherit;
  color: var(--band-muted);
}
.contact a {
  color: var(--band-ink);
}
.contact .btn-accent {
  color: #14110e;
}

.site-footer {
  padding-block: 1.75rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: inherit;
}
.site-footer p {
  margin: 0 0 0.25rem;
}

/* ---------- contact form (popup) ---------- */
.tally {
  width: min(40rem, 94vw);
  max-width: none;
  height: fit-content;
  max-height: 90dvh;
  padding: 0;
  border: 0.09375rem solid var(--ink);
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.tally::backdrop {
  background: rgba(10, 8, 6, 0.65);
}
.tally[open] {
  display: flex;
  flex-direction: column;
}
.tally-bar {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.5rem 0.375rem 1.125rem;
  border-bottom: 0.09375rem solid var(--ink);
}
.tally-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: inherit;
}
.tally-frame {
  display: block;
  flex: 0 1 auto;
  width: 100%;
  height: 17.5rem;
  min-height: 0;
  border: 0;
  background: #fff;
}
.tally-close {
  width: 2.75rem;
  height: 2.75rem;
  border: 0.09375rem solid var(--ink);
  border-radius: 50% 50% 50% 50%;
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: inherit;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.tally-close:hover {
  border-color: var(--acc);
  color: var(--acc);
}

html:has(.tally[open]) {
  overflow: hidden;
}

/* ---------- dossier ---------- */
.dossier {
  padding-block: 1.75rem 3.5rem;
}
.dossier-head {
  padding-bottom: 0;
}
.dossier-rest {
  padding-top: 0;
}
.dossier-head:has(+ .metrics-dossier) {
  margin-bottom: 2rem;
}

.metrics-dossier {
  margin: 0 0 1rem;
}

.crumbs {
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: inherit;
  color: var(--muted);
}

.dossier-h1 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-size: clamp(2.6rem, 11vw, 5.5rem);
}

.dossier-role {
  margin-bottom: 0.25rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: inherit;
}

.dossier-lead {
  max-width: 46em;
  font-size: 1.05rem;
  color: var(--muted);
}

.dsec {
  display: grid;
  gap: 0.625rem;
  padding-block: 1.5rem;
  border-bottom: 0.0625rem solid var(--line);
}
.dsec-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
}
.dsec-c p {
  font-size: 1.02rem;
}

.work {
  counter-reset: w;
  display: grid;
  gap: 0.25rem;
}
.work > li {
  counter-increment: w;
  position: relative;
  padding: 0.875rem 0;
  padding-left: 2.25rem;
  border-bottom: 0.0625rem solid var(--line);
}
.work > li:last-child {
  border-bottom: 0;
}
.work > li::before {
  content: counter(w);
  position: absolute;
  top: 1.0625rem;
  left: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: inherit;
  color: var(--acc);
}
.work h3 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: inherit;
}
.work p, .work-items {
  max-width: 68ch;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.work-items {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.1rem;
  list-style: disc;
}
.work-items li::marker {
  color: var(--acc);
}

.work :is(h3, p):has(+ .work-items) {
  margin-bottom: 0.6rem;
}

.dsec:has(+ .pns) {
  margin-bottom: 2.5rem;
}

.dsec-c > p {
  max-width: 68ch;
}

.dsec-c > .work-items {
  margin-bottom: 1rem;
}

.chips {
  --chip-h: 1.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* technology badges, in the stack, in the rows and in the case files */
.chips li {
  display: inline-grid;
  align-items: center;
  grid-auto-flow: column;
  gap: 0.5rem;
  min-height: var(--chip-h);
  padding: 0 0.5rem 0 0;
  border: 0.075rem solid var(--ink);
  border-radius: 624.9375rem 624.9375rem 624.9375rem 624.9375rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: inherit;
  overflow: hidden;
}

.chips li:not(:has(.tech-box)) {
  padding: 0.3125rem 0.75rem;
}

/* the icon sits on a white block as high as the badge, flush with its left edge: the block stretches to the height of the
   badge and takes the width of its image plus its padding, the badge (overflow hidden) rounds the left side and the right
   side stays straight, and the left padding pushes the logo away from the curve. The image keeps its ratio. */
.tech-box {
  display: grid;
  align-items: center;
  align-self: stretch;
  padding: 0 0.25rem 0 0.5rem;
  background: #fff;
}
.tech-box img {
  display: block;
  /* the size comes from here only (no width or height attribute): the badge height minus 6px, centred in the block */
  height: calc(var(--chip-h) - 0.375rem);
  aspect-ratio: 1;
  object-fit: contain;
}

.chips-stack li {
  border-color: var(--line);
}

.chips-sm {
  margin: 0 0 0.6rem;
}

.pns {
  display: grid;
  gap: 0.75rem;
}

.pn {
  display: grid;
  align-content: start;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 1.125rem 1.25rem;
  border: 0.09375rem solid var(--ink);
  border-radius: 0.25rem 0.25rem 0.25rem 0.25rem;
  text-decoration: none;
}
.pn:hover {
  border-color: var(--acc);
}
.pn-next {
  text-align: right;
}
.pn-mid {
  justify-items: center;
  order: 3;
  border-style: dashed;
  text-align: center;
}
.pn-k {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
}
.pn-t {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: inherit;
}

/* ---------- tablet ---------- */
@media (min-width: 45rem) {
  :root {
    --gutter: 2rem;
  }
  .section {
    padding-block: 5rem;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .stack {
    grid-template-columns: 1fr 1fr;
  }
  .points {
    grid-template-columns: 1fr 1fr;
  }
  .pns {
    grid-template-columns: 1fr auto 1fr;
  }
  .pn-mid {
    align-content: center;
    order: 0;
    padding-inline: 1.75rem;
  }
  .dsec {
    grid-template-columns: 12.5rem 1fr;
    gap: 2rem;
  }
}
/* ---------- desktop ---------- */
@media (min-width: 60rem) {
  :root {
    --gutter: clamp(2rem, 6vw, 4.5rem);
  }
  body {
    padding-bottom: 0;
  }
  .nav-toggle {
    display: none;
  }
  .site-nav {
    position: static;
    inset: auto;
    display: grid;
    justify-content: start;
    align-items: center;
    grid-auto-flow: column;
    gap: 1.75rem;
    max-height: none;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
  }
  .site-nav ul {
    display: grid;
    grid-auto-flow: column;
    gap: 1.375rem;
    margin-bottom: 0;
  }
  .site-nav li a {
    padding: 0.375rem 0;
    border: 0;
    font-size: 0.82rem;
  }
  .site-nav li a:hover {
    color: var(--acc);
  }
  .site-nav-tools {
    margin: 0;
  }
  .lang-item {
    min-width: 2.5rem;
    padding: 0.5rem 0.75rem;
  }
  .hero-in {
    align-items: start;
    grid-template-columns: 1.8fr 1fr;
    gap: 3.5rem;
  }
  .hero {
    padding-block: 4rem 4.5rem;
  }
  .metrics-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .metric {
    padding: 1.75rem 1.5rem;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0.0625rem solid var(--line);
  }
  .metric:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .metric:nth-child(even) {
    padding-left: 1.5rem;
  }
  .row-main {
    align-items: center;
    grid-template-columns: 6.25rem 19.375rem 1fr 2.25rem;
    grid-template-areas: "y co d s";
    column-gap: 1rem;
    padding: 0.875rem 0.75rem;
  }
  .row-co {
    font-size: 1.35rem;
  }
  .row-static {
    grid-template-columns: 6.25rem 28.75rem 1fr;
    grid-template-areas: "y co d";
  }
  .row-body {
    padding: 0.25rem 0.75rem 1.625rem calc(6.25rem + 1.75rem);
  }
  .logo-lg {
    width: 5.5rem;
    border-radius: 1rem 1rem 1rem 1rem;
  }
  .dossier-title {
    gap: 1.5rem;
  }
  .row details[open] {
    margin-inline: 0;
    padding-inline: 0;
  }
  .points {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .points-1 {
    grid-template-columns: 1fr;
  }
  .points-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .points-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack {
    grid-template-columns: repeat(3, 1fr);
  }
  .dsec {
    grid-template-columns: 15rem 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .nav-toggle,
  .theme-toggle,
  .contact-actions,
  .skip {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .fold {
    display: none !important;
  }
}
.dsec-c strong,
.row-about strong,
.point-d strong,
.dossier-lead strong {
  font-weight: 700;
  color: var(--ink);
}

.dsec-c code,
.row-about code,
.point-d code,
.dossier-lead code {
  padding: 0.12em 0.3em;
  border-radius: 0.25rem 0.25rem 0.25rem 0.25rem;
  font-family: var(--mono);
  font-size: 0.86em;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: inherit;
  white-space: nowrap;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 9%, transparent);
}

.links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.links a {
  font-weight: 600;
}

/* Text links get a 44 px touch target on touch screens, without changing how they look. */
@media (pointer: coarse) {
  .links a,
  .contact-links a,
  .contact-more a,
  .crumbs a,
  .quote-src a {
    display: inline-grid;
    align-items: center;
    min-height: 2.75rem;
  }
}
/* An odd number of figures on two columns: the last one takes the whole row. */
.metric:last-child:nth-child(odd) {
  grid-column: 1/-1;
  border-right: 0;
}

.metric:nth-child(even):nth-last-child(2) {
  border-bottom: 0.0625rem solid var(--line);
}

/* Exactly three figures from a medium screen: one row of three, not two plus one. */
@media (min-width: 37.5rem) {
  .metrics-list:has(> .metric:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
  .metrics-list:has(> .metric:nth-child(3):last-child) .metric {
    grid-column: auto;
    padding: 1.5rem 1rem;
    border-right: 0.0625rem solid var(--line);
    border-bottom: 0;
  }
  .metrics-list:has(> .metric:nth-child(3):last-child) .metric:first-child {
    padding-left: 0;
  }
  .metrics-list:has(> .metric:nth-child(3):last-child) .metric:last-child {
    border-right: 0;
  }
}
/* A number of figures that is not 4 still fills the width of the band. */
@media (min-width: 60rem) {
  .metrics-list,
  .metrics-list:has(> .metric:nth-child(3):last-child) {
    grid-template-columns: none;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
  }
  .metric:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .metrics-list:has(> .metric:nth-child(3):last-child) .metric {
    padding: 1.75rem 1.5rem;
  }
  .metrics-list:has(> .metric:nth-child(3):last-child) .metric:first-child {
    padding-left: 0;
  }
}
