/* Mesures relevées sur la référence : 1440 px de large, marges de 96 px, contenu de 1248 px. */
:root {
  --ink: #0F1111;
  --muted: #5d6060;
  --paper: #FFFFFF;
  --blue: #0047CC;
  --blue-bg: #DCE9FB;
  --lime: #C9F27B;
  --gutter: 96px;
  --gap: 24px;
  --radius: 20px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --serif: "Crimson Pro", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pixel: "VT323", ui-monospace, monospace;
  --hand: "Homemade Apple", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #95E78E; color: #062C02; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px var(--gutter) 0;
  height: 111px;
}
.avatar { display: block; width: 107px; height: 121px; margin: -20px 0 0 -17px; }
/* Trois images « crayon » pré-rendues côte à côte ; on fait glisser la bande par sauts (transform, géré par le GPU) */
.avatar { overflow: hidden; }
.avatar-frames {
  display: block; width: 300%; height: 100%;
  background: url("assets/avatar-sprite.png") 0 0 / 100% 100% no-repeat;
  animation: boil .36s steps(1) infinite;
}
@keyframes boil { 0% { transform: translateX(0); } 33.33% { transform: translateX(-33.333%); } 66.66% { transform: translateX(-66.666%); } }

.btn {
  margin-top: 21px;
  padding: 10px 20px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.09;
  letter-spacing: -0.05em;
  transition: transform .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); background: #2a2d2d; }

main { padding: 0 var(--gutter); }
.top, main, .foot { max-width: calc(1248px + 2 * var(--gutter)); margin-left: auto; margin-right: auto; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.09;
  letter-spacing: -0.05em;
}
.hero em { font-style: italic; }
.hl { color: var(--blue); background: var(--blue-bg); padding: 0 2px; margin-left: -2px; }
.glyph { width: 0.56em; height: 0.56em; vertical-align: -0.02em; margin: 0 0.12em; fill: currentColor; }
.lede {
  margin-top: 36px;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  rotate: 2.5deg;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.4);
}
.portrait:hover { rotate: 0deg; scale: 1.02; }
.portrait picture, .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Cartes, socle commun */
.card {
  position: relative;
  display: block;
  aspect-ratio: var(--ar, auto);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
a.card { transition: transform .5s var(--ease); }
a.card:hover { transform: scale(.99); }
a.card img { transition: transform .8s var(--ease); }
a.card:hover img { transform: scale(1.03); }
/* Grain léger sur les fonds unis, pour éviter l'effet aplat. */
.card::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.card-tag {
  position: absolute;
  left: 20px; bottom: 18px;
  z-index: 4;
  display: inline-flex; align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* Digital contributions */
.contrib { padding: 20px 0 150px; }
.projects { display: flex; flex-direction: column; gap: var(--gap); }
.projects-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.projects-row { align-items: start; }
.projects-row .card-coach { aspect-ratio: 612 / 700; }

/* Argil : employé n°5, YC, deux ans */
.card-argil {
  aspect-ratio: 1248 / 680;
  overflow: visible; /* le post LinkedIn peut dépasser du cadre */
  padding: 44px 48px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  background: radial-gradient(80% 120% at 92% 120%, #7B3FE4 0%, #3A1D7A 35%, #120F24 72%), #0E0C1A;
}
.argil-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -0.02em; }
.chip-dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); transition: background .25s ease; }
.chip-dark:hover { background: rgba(255,255,255,.18); }
.yc-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: 14px; letter-spacing: -0.02em;
}
.yc-badge img { width: 26px; height: 26px; border-radius: 6px; }
.yc-badge b { color: #F26522; font-weight: 600; }
.argil-mid { display: flex; align-items: flex-end; gap: 48px; }
.argil-num {
  font-family: var(--serif); font-weight: 300;
  font-size: 250px; line-height: .78; letter-spacing: -0.06em;
}
.argil-num span { font-size: .45em; vertical-align: .9em; opacity: .55; margin-right: .04em; }
.argil-say {
  max-width: 560px;
  padding-bottom: 12px;
  font-family: var(--serif); font-weight: 300;
  font-size: 36px; line-height: 1.1; letter-spacing: -0.04em;
}
.ticks {
  height: 7px; margin-bottom: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px calc(100% / 24));
}
.tenure-bar { display: flex; gap: 6px; }
/* Chaque segment : une piste grise en ::before, remplie par le dégradé de fond quand la carte apparaît. */
.seg {
  flex: var(--w);
  position: relative;
  padding-top: 24px;
  border-radius: 5px;
  background: linear-gradient(90deg, #B79CFF, #fff) 0 0 / 0 10px no-repeat;
  transition: background-size 1.1s var(--ease) var(--d);
}
.seg::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  z-index: -1;
  height: 10px; border-radius: 5px;
  background: rgba(255,255,255,.14);
}
.card-argil.in .seg, html:not(.js) .seg { background-size: 100% 10px; }
.seg b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.03em; }
.seg span { display: block; margin-top: 4px; font-family: var(--mono); font-weight: 300; font-size: 12px; letter-spacing: -0.04em; opacity: .7; }
.tenure-ends {
  display: flex; justify-content: space-between;
  margin-top: 20px;
  font-family: var(--mono); font-weight: 300; font-size: 12px; opacity: .7;
}

/* Coach : photo argentique, titre par-dessus */
.card-coach { color: #fff; background: #1d1a2a; }
.coach-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%;
}
.card-coach::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,20,.55) 0%, rgba(10,10,20,.1) 45%, rgba(10,10,20,0) 60%, rgba(10,10,20,.35) 100%);
}
.coach-text { position: absolute; left: 40px; right: 40px; top: 40px; z-index: 2; }
.coach-kicker {
  font-family: var(--serif); font-weight: 300;
  font-size: 64px; line-height: 1; letter-spacing: -0.05em;
}
.coach-sub {
  max-width: 400px;
  margin-top: 14px;
  font-size: 16px; line-height: 1.5; letter-spacing: -0.02em;
  opacity: .92;
}

/* Coach : « coming soon », l'email ouvre le passage d'un coureur à l'écran */
.coach-cta { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 3; }
.cta-btn, .cta-form button {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px; font-weight: 500; letter-spacing: -0.02em;
  transition: transform .25s ease, background .25s ease;
}
.cta-btn { padding: 13px 20px; min-height: 44px; }
.cta-btn:hover, .cta-form button:hover { transform: translateY(-2px); background: #F1F1EF; }
.cta-form {
  display: none;
  max-width: 420px;
  padding: 5px 5px 5px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.cta-form input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  background: transparent;
  font: inherit; font-size: 15px; color: var(--ink);
}
.cta-form button { padding: 11px 18px; min-height: 42px; background: var(--ink); color: #fff; }
.cta-form button:hover { background: #2a2d2d; }
.coach-cta.open .cta-btn { display: none; }
.cta-note { display: none; margin: 8px 0 0 18px; font-size: 12px; color: rgba(255,255,255,.85); }
.coach-cta.open:not(.done) .cta-note { display: block; }
.coach-cta.open .cta-form { display: flex; animation: pop-in .45s cubic-bezier(.34,1.56,.64,1); }
.coach-cta.done .cta-form { display: none; }
.cta-done { display: none; }
.coach-cta.error .cta-done {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #B42318;
  font-size: 13px; font-weight: 500;
}
.cta-form button:disabled { opacity: .6; cursor: progress; transform: none; }
.coach-cta.done .cta-done {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #11140a;
  font-size: 14px; font-weight: 500;
  animation: pop-in .45s cubic-bezier(.34,1.56,.64,1);
}
.coach-cta.invalid .cta-form { animation: shake .35s; }
@keyframes pop-in { from { scale: .8; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes shake { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.runner-lane {
  position: fixed; left: 0; bottom: 5vh;
  z-index: 100;
  pointer-events: none;
  animation: cross 2.8s cubic-bezier(.35,.05,.65,.95) forwards;
}
@keyframes cross { from { translate: -180px 0; } to { translate: calc(100vw + 60px) 0; } }
.runner { display: block; width: 170px; height: 198px; animation: stride-bob .19s ease-in-out infinite alternate; }
.runner .limb { transform-box: view-box; animation: swing .38s ease-in-out infinite alternate; }
/* Bras et jambe opposés vont ensemble : la jambe avant part avec le bras arrière */
.runner .leg-a, .runner .leg-b { transform-origin: 52px 72px; }
.runner .arm-a, .runner .arm-b { transform-origin: 58px 40px; }
.runner .leg-b, .runner .arm-b { animation-delay: -.38s; }
.runner .speed { animation: speed .3s linear infinite; }
@keyframes stride-bob { to { translate: 0 -6px; } }
@keyframes swing { from { rotate: 38deg; } to { rotate: -38deg; } }
@keyframes speed { from { opacity: .7; translate: 0 0; } to { opacity: 0; translate: -18px 0; } }

/* Recent adventures : à droite du coach, une ligne qui se remplit avec le scroll */
.adventures { padding: 6px 0 0 8px; }
.adv-title { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 18px; font-weight: 300; }
.adv-doodle { width: 50px; height: 50px; margin-bottom: 6px; }
.adv-words { display: flex; flex-direction: column; line-height: .95; }
.adv-1 { font-family: var(--sans); font-weight: 300; font-size: 32px; letter-spacing: -0.06em; }
.adv-2 { font-family: var(--sans); font-weight: 300; font-style: italic; font-size: 44px; letter-spacing: -0.05em; }

.steps-wrap { position: relative; padding-left: 40px; }
.rail { position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: #E6E6E1; }
.rail-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(var(--p, 1)); will-change: transform; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "role when" "org when";
  column-gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ECECE8;
}
.step:last-child { border-bottom: 0; }
.step::before {
  content: "";
  position: absolute; left: -40px; top: 18px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #CFCFCA;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.step b { grid-area: role; font-family: var(--serif); font-weight: 300; font-size: 23px; line-height: 1.09; letter-spacing: -0.05em; }
.step .org { grid-area: org; margin-top: 4px; font-size: 14px; color: var(--muted); letter-spacing: -0.03em; }
.step .when { grid-area: when; padding-top: 5px; font-family: var(--mono); font-weight: 300; font-size: 12px; letter-spacing: -0.04em; white-space: nowrap; }
.js .step { opacity: .25; translate: 8px 0; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.js .step.on { opacity: 1; translate: 0 0; }
.step.on::before { background: var(--ink); border-color: var(--ink); }
.step.current::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(0,71,204,.14); }

/* Frise Argil : épingles datées, le post LinkedIn surgit au survol */
.tenure { position: relative; padding-top: 72px; }
.pins { position: absolute; left: 0; right: 0; top: 0; }
.pin { position: absolute; top: 0; left: calc(var(--x) * 1%); }
.pin::before {
  content: "";
  position: absolute; left: 0; top: calc(22px + var(--row, 0) * 30px);
  width: 1px; height: calc(64px - var(--row, 0) * 30px);
  background: rgba(255,255,255,.45);
}
.pin-hit { position: relative; display: block; padding-top: calc(var(--row, 0) * 30px); }
.pin-label {
  display: inline-block;
  margin-left: -10px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-family: var(--mono); font-size: 11px; letter-spacing: -0.03em;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}
.pin-dot {
  position: absolute; left: -6px; top: 86px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
}
.pin-dot::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid #B79CFF;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { scale: .6; opacity: 1; } 80%, 100% { scale: 1.8; opacity: 0; } }
.pin:hover .pin-label, .pin:focus-within .pin-label { background: #fff; color: var(--ink); }

.post {
  position: absolute;
  bottom: 34px;
  z-index: 20;
  width: 300px;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transform-origin: 10% 100%;
  scale: .6;
  rotate: -4deg;
  translate: 0 18px;
  transition: opacity .18s ease, scale .5s cubic-bezier(.34,1.56,.64,1), rotate .5s cubic-bezier(.34,1.56,.64,1), translate .5s cubic-bezier(.34,1.56,.64,1);
}
.pin-left .post { left: -14px; }
.pin-center .post { left: -150px; transform-origin: 50% 100%; }
.pin:hover .post, .pin:focus-within .post { opacity: 1; pointer-events: auto; scale: 1; rotate: 0deg; translate: 0 0; }
.pin:hover { z-index: 30; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.post-initials {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #EDE7FF; color: #4B2A9E;
  font-size: 12px; font-weight: 700;
}
.post-head b { display: block; font-size: 13px; font-weight: 500; }
.post-head span span { font-size: 11px; color: var(--muted); }
.post-text { font-size: 13px; line-height: 1.45; letter-spacing: -0.01em; }
.post-img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.post-meta { font-size: 11px; color: var(--muted); }

/* More stuff I made */
.more { padding: 50px 0 100px; }
.more-label {
  display: flex; align-items: center; gap: 7px;
  padding-bottom: 40px;
  font-family: var(--pixel); font-weight: 400; font-size: 24px; letter-spacing: -0.05em;
}
.sq { width: 16px; height: 16px; border-radius: 3px; background: var(--ink); }
.wall { display: flex; flex-direction: column; gap: var(--gap); }
.wall-row { display: grid; gap: var(--gap); }
.wall-2 { grid-template-columns: 1fr 1fr; }
.wall-mix {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "press press sf" "todo free north";
}
.wall-mix .card-press { grid-area: press; height: 390px; }
.wall-mix .card-sf { grid-area: sf; height: 390px; }
.wall-mix .card-todo { grid-area: todo; height: 320px; }
.wall-mix .card-freelance { grid-area: free; height: 320px; }
.wall-mix .card-north { grid-area: north; height: 320px; }

.card-track { color: #FFF6E0; }
.track { position: absolute; inset: 0; width: 100%; height: 100%; }
.stats {
  position: absolute; left: 44px; top: 40px; bottom: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.stats dt { margin-bottom: 6px; font-family: var(--mono); font-weight: 300; font-size: 13px; letter-spacing: -0.04em; opacity: .85; }
.stats dd { font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: 1; letter-spacing: -0.05em; }
.stats div:last-child dd { font-style: italic; }

.card-paper { background: #E7DFD0; }
.paper {
  position: absolute; inset: 8% 9%;
  display: flex; flex-direction: column;
  padding: 26px 28px;
  background: #FAF6EC;
  box-shadow: 0 30px 50px -25px rgba(70,50,20,.4);
  rotate: -2deg;
  overflow: hidden;
}
/* Survol : le journal se redresse et se soulève, le tampon se pose */
.paper { transition: rotate .6s var(--ease), translate .6s var(--ease), scale .6s var(--ease), box-shadow .6s var(--ease); }
.paper-stamp { transition: rotate .5s cubic-bezier(.34,1.56,.64,1), scale .5s cubic-bezier(.34,1.56,.64,1); }
.card-paper:hover .paper { rotate: 0deg; translate: 0 -8px; scale: 1.02; box-shadow: 0 44px 70px -28px rgba(70,50,20,.5); }
.card-paper:hover .paper-stamp { rotate: -6deg; scale: 1.08; }
.paper-top { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #1d1a14; font-family: var(--mono); font-size: 11px; letter-spacing: -0.03em; color: #5c5446; }
.paper-mast { margin: 16px 0 10px; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.05em; }
.paper-rule { margin-bottom: 16px; border-top: 3px double #1d1a14; }
.paper-head { margin-bottom: 16px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; }
.paper-cols { flex: 1; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 14px; }
.paper-cols .lines { background: repeating-linear-gradient(#D9D1C1 0 6px, transparent 6px 14px); }
.paper-stamp {
  align-self: start;
  padding: 10px;
  border: 2px solid #B8321F; border-radius: 8px;
  color: #B8321F;
  font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: -0.03em; text-align: center;
  rotate: 4deg;
}
.paper-stamp b { font-weight: 400; text-transform: uppercase; }
.paper-foot { margin-top: 10px; padding-top: 8px; border-top: 1px solid #1d1a14; font-family: var(--mono); font-size: 11px; letter-spacing: -0.03em; color: #5c5446; }

.card-yt { background: #111; color: #fff; }
.player { position: absolute; inset: 10% 8%; display: flex; flex-direction: column; }
.player-screen {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  border-radius: 14px;
  background: radial-gradient(100% 80% at 30% 20%, #3b3b3b, #161616);
  text-align: center;
}
.player-screen p { max-width: 80%; text-wrap: balance; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.09; letter-spacing: -0.05em; }
.play { position: relative; width: 74px; height: 52px; border-radius: 14px; background: #FF0033; }
.play::after { content: ""; position: absolute; left: 30px; top: 15px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.player-bar { height: 4px; margin: 18px 0 16px; border-radius: 2px; background: #3a3a3a; overflow: hidden; }
.player-bar span { display: block; width: 100%; height: 100%; background: #FF0033; transform-origin: left; animation: progress 8s linear infinite; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.player-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; letter-spacing: -0.03em; }
.player-meta b { font-weight: 500; }
.player-meta span { color: #a8a8a8; }

/* Le Monde : deux coupures qui flottent, se déploient au survol et s'ouvrent au clic */
.card-press {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px;
  background: #ECE9E1;
}
.press-label, .press-foot { font-family: var(--mono); font-weight: 300; font-size: 12px; letter-spacing: -0.04em; color: #4d4a42; }
.press-foot { font-size: 13px; color: var(--ink); }
.clips { position: relative; flex: 1; margin: 14px 0; }
.clip {
  position: absolute;
  width: 57%;
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 16px 14px;
  border: 1px solid #DDD8CB;
  border-radius: 6px;
  background: #FBFAF6;
  box-shadow: 0 14px 26px -14px rgba(40,30,10,.4);
  transition: rotate .45s var(--ease), scale .45s var(--ease), translate .45s var(--ease), box-shadow .45s var(--ease);
}
.clip-1 { left: 3%; top: 2%; rotate: -5deg; z-index: 1; animation: bob 5s ease-in-out infinite; }
.clip-2 { right: 3%; top: 20%; rotate: 4deg; z-index: 2; animation: bob 5s ease-in-out -2.5s infinite; }
@keyframes bob { 50% { translate: 0 -8px; } }
.card-press:hover .clip { animation: none; }
.card-press:hover .clip-1 { rotate: -9deg; translate: -10px 0; }
.card-press:hover .clip-2 { rotate: 8deg; translate: 10px 6px; }
.card-press .clip:hover, .card-press .clip:focus-visible { rotate: 0deg; scale: 1.05; translate: 0 -6px; z-index: 3; box-shadow: 0 26px 44px -18px rgba(40,30,10,.5); }
.clip-date { font-family: var(--mono); font-size: 11px; color: #8a8374; letter-spacing: -0.03em; }
.clip-title {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.15; letter-spacing: -0.02em;
}
.clip-read { font-size: 12px; font-weight: 500; color: var(--blue); letter-spacing: -0.02em; }
.clip:hover .clip-read { text-decoration: underline; text-underline-offset: 3px; }

.card-todo { display: flex; flex-direction: column; justify-content: space-between; padding: 30px 26px 26px; background: #FFF1A8; }
.todo li { position: relative; margin-bottom: 12px; padding-left: 30px; font-size: 17px; letter-spacing: -0.04em; }
.todo li::before { content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border: 1.5px solid var(--ink); border-radius: 4px; }
.todo li.done { text-decoration: line-through; text-decoration-thickness: 1.5px; color: #6b6440; }
.todo li.done::after { content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; }
.todo-foot, .north-text { font-family: var(--mono); font-weight: 300; font-size: 13px; line-height: 1.7; letter-spacing: -0.05em; }

.card-north { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; color: #EAF3FF; background: linear-gradient(160deg, #0B2A5B 0%, #1E4F99 60%, #7FB0E8 100%); }
.north-coord { font-family: var(--pixel); font-size: 46px; line-height: .95; letter-spacing: -0.02em; }
.flake { position: absolute; right: 24px; top: 24px; width: 42px; height: 42px; animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.card-sf .sf { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-freelance {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px;
  color: #F2F7EE;
  background: linear-gradient(160deg, #1F4B3A 0%, #2E6B4F 65%, #6FA355 100%);
}
.free-title { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -0.05em; }
.free-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.free-tags li {
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 13px; letter-spacing: -0.02em;
}
.free-foot { font-family: var(--mono); font-weight: 300; font-size: 13px; letter-spacing: -0.05em; }
.free-foot a { text-decoration: underline; text-underline-offset: 3px; }

/* Bio */
.bio {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: 0 48px;
  padding: 100px 64px 110px;
}
.bio-title { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1.09; letter-spacing: -0.05em; }
.bio-col p { margin-bottom: 25px; font-family: var(--mono); font-weight: 300; font-size: 14px; line-height: 1.8; letter-spacing: -0.05em; }
.bio-col .signature {
  margin-top: 10px;
  font-family: var(--hand); font-size: 30px; line-height: 1.2; letter-spacing: 0;
  color: #3d4040;
  text-align: right;
  rotate: -4deg;
}

/* Outro */
.dashed { height: 2px; margin: 0 0 34px; border: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 24px); }
.big {
  font-family: var(--serif); font-weight: 300;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 7.2), 173px); line-height: 1; letter-spacing: -0.05em;
  white-space: nowrap;
}
.big em { font-style: italic; }

/* Footer */
.foot { display: flex; justify-content: space-between; align-items: center; padding: 50px var(--gutter) 40px; }
.socials { display: flex; }
.socials a, .to-top { font-size: 15px; font-weight: 500; letter-spacing: -0.05em; }
.socials a { width: 144px; }
.socials a:hover, .to-top:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Hors écran, les animations en boucle sont mises en pause (le JS pose .is-live) */
.js [data-live]:not(.is-live), .js [data-live]:not(.is-live) *,
.js [data-live]:not(.is-live) *::before, .js [data-live]:not(.is-live) *::after { animation-play-state: paused !important; }

/* Apparition au scroll, seulement si le JS tourne */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease), rotate .6s var(--ease), scale .6s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Tablette : référence à 810 px, marges de 48 px */
@media (max-width: 1199px) {
  :root { --gutter: 48px; }
  .hero { grid-template-columns: 1fr 240px; gap: 32px; }
  .card-argil { aspect-ratio: auto; padding: 32px; gap: 40px; }
  .argil-num { font-size: 170px; }
  .argil-say { font-size: 28px; }
  .projects-row { grid-template-columns: 1fr; }
  .adventures { padding: 40px 0 0; }
  .projects-row .card-coach { aspect-ratio: 714 / 560; }
  .wall-mix { grid-template-columns: 1fr 1fr; grid-template-areas: "press press" "sf free" "todo north"; }
  .wall-mix .card-sf { height: 330px; }
  .wall-mix .card-todo, .wall-mix .card-north, .wall-mix .card-freelance { height: 330px; }
  .card-track { --ar: 714 / 340 !important; }
  .stats dd { font-size: 36px; }
  .paper-mast { font-size: 40px; }
  .paper-stamp { font-size: 9px; padding: 6px; }
  .paper-foot { display: none; }
  .north-coord { font-size: 36px; }
  .bio { grid-template-columns: 1fr 1fr; gap: 24px 40px; padding: 100px 0 110px; }
  .bio-title { grid-column: 1 / -1; margin-bottom: 20px; }
}

/* Mobile : référence à 390 px, marges de 16 px */
@media (max-width: 809px) {
  :root { --gutter: 16px; --gap: 10px; }
  .top { height: 100px; padding-top: 13px; }
  .avatar { width: 80px; height: 90px; margin: -10px 0 0 -8px; }
  .btn { margin-top: 0; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 21px; padding-bottom: 40px; }
  .hero h1 { font-size: 28px; }
  .lede { margin-top: 22px; font-size: 14px; }
  .portrait { width: 70%; justify-self: center; }
  .contrib { padding: 30px 0 100px; }
  .card-argil { padding: 22px 20px 24px; gap: 28px; }
  .argil-mid { flex-direction: column; align-items: flex-start; gap: 16px; }
  .argil-num { font-size: 120px; }
  .argil-say { font-size: 22px; padding-bottom: 0; }
  .yc-badge { font-size: 12px; }
  .tenure-bar { flex-direction: column; gap: 14px; }
  .seg { flex: none; }
  .ticks { display: none; }
  .tenure { padding-top: 0; }
  .pins { position: static; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .pin { position: static; }
  .pin::before, .pin-dot, .post { display: none; }
  .pin-hit { padding-top: 0; }
  .pin-label { margin-left: 0; }
  .projects-row { gap: var(--gap); }
  .projects-row .card-coach { aspect-ratio: 358 / 520; }
  .coach-text { left: 20px; right: 20px; top: 22px; }
  .coach-kicker { font-size: 40px; }
  .coach-sub { font-size: 14px; }
  .card-tag { left: 12px; bottom: 12px; font-size: 12px; }
  .adventures { padding: 30px 0 0; }
  .steps-wrap { padding-left: 34px; }
  .coach-cta { left: 20px; right: 20px; bottom: 20px; }
  .cta-btn { font-size: 13px; }
  .step { padding: 20px 0; grid-template-columns: 1fr; grid-template-areas: "when" "role" "org"; }
  .step::before { left: -34px; top: 18px; }
  .step b { font-size: 22px; }
  .step .when { padding: 0 0 6px; font-size: 12px; }
  .more { padding: 50px 0 60px; }
  .more-label { padding-bottom: 30px; }
  .wall-2 { grid-template-columns: 1fr; }
  .wall-mix { grid-template-columns: 1fr; grid-template-areas: "press" "sf" "todo" "free" "north"; }
  .wall-mix .card { height: auto; min-height: 280px; }
  .wall-mix .card-press { min-height: 420px; }
  .wall-mix .card-sf { min-height: 360px; }
  .clip { width: 78%; }
  .clip-2 { top: 30%; }
  .card-track { --ar: 358 / 260 !important; }
  .card-track .lanes { opacity: .5; }
  .stats { left: 20px; top: 20px; bottom: 20px; }
  .stats dd { font-size: 30px; }
  .card-paper, .card-yt { --ar: 358 / 368 !important; }
  .paper { inset: 7%; padding: 16px; }
  .paper-mast { font-size: 30px; margin: 10px 0 6px; }
  .paper-head { font-size: 17px; margin-bottom: 10px; }
  .paper-foot { display: block; }
  .player-screen p { font-size: 22px; }
  .player-meta { font-size: 13px; }
  .bio { grid-template-columns: 1fr; gap: 0; padding: 80px 34px; }
  .bio-title { font-size: 30px; margin-bottom: 20px; }
  .bio-col .signature { text-align: left; }
  .dashed { margin-bottom: 20px; }
  .big { font-size: calc((100vw - 32px) / 7.2); }
  .foot { flex-direction: column; align-items: flex-start; gap: 30px; }
  .socials { width: 100%; justify-content: space-between; }
  .socials a { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .step { opacity: 1; translate: 0 0; }
  .seg { background-size: 100% 10px; }
  html { scroll-behavior: auto; }
}

/* Écrans tactiles : pas de survol, l'étiquette ouvre directement le post */
@media (hover: none) { .post { display: none; } }
