:root{
  --mono: "IBM Plex Mono",
          ui-monospace,
          SFMono-Regular,
          Menlo,
          Monaco,
          Consolas,
          "Liberation Mono",
          "Courier New",
          monospace;
}

/* Reset léger */
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html, body{
  font-family: var(--mono);
  background: #fff;
  color: #111;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.brand{
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.links a{
  margin-left: 1.5rem;
  text-decoration: none;
  color: inherit;
  opacity: .75;
}

.links a:hover{
  opacity: 1;
}

.links .pill{
  padding: .4rem .8rem;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
}

/* Layout */
.wrap{
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Hero */
.hero{
  text-align: center;
  margin-bottom: 5rem;
}

/* AVATAR — POINT IMPORTANT */
.avatar{
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-image: url("assets/avatar.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0,0,0,.1);
}

/* Titres */
h1, h2, h3{
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

.hero h1{
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: .75rem;
}

/* Sous-titre */
.subtitle{
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 400;
  opacity: .7;
}

/* Boutons */
.cta{
  margin-top: 2rem;
}

.btn{
  display: inline-block;
  margin: 0 .5rem;
  padding: .6rem 1.2rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  font-size: .85rem;
}

.btn.ghost{
  border-color: transparent;
  opacity: .7;
}

.btn:hover{
  opacity: 1;
}

/* Sections */
.section{
  margin-bottom: 4rem;
}

.section h2{
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section p{
  line-height: 1.75;
  font-size: .95rem;
  letter-spacing: -0.01em;
  opacity: .85;
}

/* Work cards */
.grid{
  display: grid;
  gap: 1.5rem;
}

.card{
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
}

.card .k{
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .5;
  margin-bottom: .5rem;
}

.card h3{
  font-size: 1rem;
  margin-bottom: .5rem;
}

.card p{
  font-size: .9rem;
}

/* Mono utilitaire */
.mono{
  font-family: var(--mono);
}

/* Footer */
.footer{
  margin-top: 4rem;
  text-align: center;
  font-size: .8rem;
  opacity: .5;
}
