/* ==================================================================
   À PROPOS
   ================================================================== */
.about-intro { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0%; border-radius: var(--r-lg); background: var(--cabinet); }
.portrait::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: var(--line) solid var(--ink); border-radius: var(--r-lg); z-index: -1; }
.about-intro h1 { font-size: var(--fs-3xl); margin-bottom: 1.5rem; }
.about-intro .prose p { max-width: 62ch; color: var(--ink-2); }
.about-intro .prose p:first-child { color: var(--ink); font-size: var(--fs-lg); line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 2rem; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--sheet); overflow: hidden; }
.facts div { padding: .75rem 1.1rem; border-left: 1px solid var(--rule); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: var(--fs-xs); color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 650; font-size: var(--fs-sm); }
@media (max-width: 800px) {
  .about-intro { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }
  .facts { grid-template-columns: 1fr; width: 100%; }
  .facts div { border-left: 0; border-top: 1px solid var(--rule); }
  .facts div:first-child { border-top: 0; }
}

/* Parcours personnel : frise verticale */
.path { list-style: none; position: relative; display: grid; gap: 0; max-width: 820px; }
.path li { position: relative; display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.5rem; padding-bottom: 2rem; }
.path li::before { content: ""; position: absolute; left: calc(8.5rem + .75rem - 1px); top: .5rem; bottom: -.4rem; width: 2px; background: var(--rule); }
.path li:last-child::before { background: repeating-linear-gradient(var(--rule) 0 5px, transparent 5px 10px); }
.path-when { font-size: var(--fs-sm); color: var(--ink-2); padding-top: .1rem; text-align: right; padding-right: 1.25rem; }
.path-body { position: relative; padding-left: 1.25rem; }
.path-body::before { content: ""; position: absolute; left: calc(-.75rem - 6px); top: .35rem; width: 12px; height: 12px; border: var(--line) solid var(--ink); background: var(--sheet); border-radius: 2px; }
.path li.is-now .path-body::before { background: var(--signal); }
.path-body h3 { font-size: var(--fs-lg); font-weight: 650; margin-bottom: .3rem; }
.path-body p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); max-width: 58ch; }
@media (max-width: 600px) {
  .path li { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.75rem; }
  .path li::before { left: 5px; }
  .path-when { text-align: left; padding: 0; }
  .path-body { padding-left: 0; }
  .path-body::before { left: -1.75rem; }
}
/* Compétences perso */
.skills-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.skills-grid > div { padding: 1.75rem; border-left: 1px solid var(--rule); }
.skills-grid > div:first-child { border-left: 0; }
.skills-grid h3 { font-size: var(--fs-md); font-weight: 700; margin-bottom: 1rem; }
.lang-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.lang-grid figure { margin: 0; display: grid; justify-items: center; gap: .4rem; font-size: var(--fs-xs); color: var(--ink-2); }
.lang-grid img { width: 52px; height: 52px; object-fit: contain; padding: 6px; background: var(--paper); border: 1px solid var(--cabinet); border-radius: var(--r-md); }
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: 1fr; }
  .skills-grid > div { border-left: 0; border-top: 1px solid var(--rule); }
  .skills-grid > div:first-child { border-top: 0; }
  .lang-grid { grid-template-columns: repeat(5, minmax(0, 64px)); }
}
.side-projects { display: grid; gap: 0; border-top: var(--line) solid var(--ink); }
.side-projects article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.side-projects h3 { font-size: var(--fs-lg); font-weight: 650; }
.side-projects p { margin: 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 700px) { .side-projects article { grid-template-columns: 1fr; gap: .5rem; } }
