@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root,
[data-theme="noir"] {
  --fond: #000000;
  --texte: #ffffff;
  --doux: #b0b0b0;
  --surface: #171717;
  --filet: #3d3d3d;
  --bord: #6b6b6b;
  --plein: #ffffff;
  --sur-plein: #000000;
  --sur-plein-doux: #474747;
  --souci: #ff9d8a;
}
[data-theme="clair"] {
  --fond: #ffffff;
  --texte: #000000;
  --doux: #555555;
  --surface: #f0f0f0;
  --filet: #cfcfcf;
  --bord: #8a8a8a;
  --plein: #000000;
  --sur-plein: #ffffff;
  --sur-plein-doux: #c2c2c2;
  --souci: #b3261e;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--fond);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--texte);
  background: var(--fond);
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  font-size: 16.5px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--texte);
  outline-offset: 3px;
}

.entre {
  opacity: 0;
}
.pret .entre {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.tete {
  position: relative;
}
.portrait {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  background: var(--surface);
  -webkit-mask-image: linear-gradient(#000 52%, transparent 97%);
  mask-image: linear-gradient(#000 52%, transparent 97%);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.nom {
  position: relative;
  margin: -74px 22px 0;
  font-size: clamp(44px, 15vw, 64px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.bio {
  margin: 14px 22px 0;
  max-width: 28ch;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  white-space: pre-line;
}

@media (prefers-reduced-motion: reduce) {
  .entre,
  .pret .entre {
    opacity: 1;
    transition: none;
  }
}
